(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function ls(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _0={exports:{}},bl={},z0={exports:{}},re={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var cs=Symbol.for("react.element"),xC=Symbol.for("react.portal"),wC=Symbol.for("react.fragment"),kC=Symbol.for("react.strict_mode"),CC=Symbol.for("react.profiler"),SC=Symbol.for("react.provider"),EC=Symbol.for("react.context"),TC=Symbol.for("react.forward_ref"),PC=Symbol.for("react.suspense"),AC=Symbol.for("react.memo"),LC=Symbol.for("react.lazy"),Nf=Symbol.iterator;function IC(e){return e===null||typeof e!="object"?null:(e=Nf&&e[Nf]||e["@@iterator"],typeof e=="function"?e:null)}var M0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B0=Object.assign,j0={};function jo(e,t,n){this.props=e,this.context=t,this.refs=j0,this.updater=n||M0}jo.prototype.isReactComponent={};jo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};jo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function V0(){}V0.prototype=jo.prototype;function bh(e,t,n){this.props=e,this.context=t,this.refs=j0,this.updater=n||M0}var vh=bh.prototype=new V0;vh.constructor=bh;B0(vh,jo.prototype);vh.isPureReactComponent=!0;var Uf=Array.isArray,F0=Object.prototype.hasOwnProperty,yh={current:null},H0={key:!0,ref:!0,__self:!0,__source:!0};function N0(e,t,n){var i,o={},r=null,s=null;if(t!=null)for(i in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(r=""+t.key),t)F0.call(t,i)&&!H0.hasOwnProperty(i)&&(o[i]=t[i]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,F=I[_];if(0>>1;_o(ye,O))oeo(Pe,ye)?(I[_]=Pe,I[oe]=O,_=oe):(I[_]=ye,I[J]=O,_=J);else if(oeo(Pe,O))I[_]=Pe,I[oe]=O,_=oe;else break e}}return $}function o(I,$){var O=I.sortIndex-$.sortIndex;return O!==0?O:I.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var r=performance;e.unstable_now=function(){return r.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],c=[],d=1,u=null,h=3,p=!1,f=!1,m=!1,x=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(I){for(var $=n(c);$!==null;){if($.callback===null)i(c);else if($.startTime<=I)i(c),$.sortIndex=$.expirationTime,t(l,$);else break;$=n(c)}}function w(I){if(m=!1,v(I),!f)if(n(l)!==null)f=!0,Z(E);else{var $=n(c);$!==null&&Q(w,$.startTime-I)}}function E(I,$){f=!1,m&&(m=!1,b(C),C=-1),p=!0;var O=h;try{for(v($),u=n(l);u!==null&&(!(u.expirationTime>$)||I&&!R());){var _=u.callback;if(typeof _=="function"){u.callback=null,h=u.priorityLevel;var F=_(u.expirationTime<=$);$=e.unstable_now(),typeof F=="function"?u.callback=F:u===n(l)&&i(l),v($)}else i(l);u=n(l)}if(u!==null)var te=!0;else{var J=n(c);J!==null&&Q(w,J.startTime-$),te=!1}return te}finally{u=null,h=O,p=!1}}var S=!1,k=null,C=-1,A=5,D=-1;function R(){return!(e.unstable_now()-DI||125_?(I.sortIndex=O,t(c,I),n(l)===null&&I===n(c)&&(m?(b(C),C=-1):m=!0,Q(w,O-_))):(I.sortIndex=F,t(l,I),f||p||(f=!0,Z(E))),I},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(I){var $=h;return function(){var O=h;h=$;try{return I.apply(this,arguments)}finally{h=O}}}})(Y0);q0.exports=Y0;var FC=q0.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var K0=q,xt=FC;function z(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$d=Object.prototype.hasOwnProperty,HC=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,qf={},Yf={};function NC(e){return $d.call(Yf,e)?!0:$d.call(qf,e)?!1:HC.test(e)?Yf[e]=!0:(qf[e]=!0,!1)}function UC(e,t,n,i){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return i?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function WC(e,t,n,i){if(t===null||typeof t>"u"||UC(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function rt(e,t,n,i,o,r,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=s}var Ye={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ye[e]=new rt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ye[t]=new rt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ye[e]=new rt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ye[e]=new rt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ye[e]=new rt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ye[e]=new rt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ye[e]=new rt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ye[e]=new rt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ye[e]=new rt(e,5,!1,e.toLowerCase(),null,!1,!1)});var wh=/[\-:]([a-z])/g;function kh(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(wh,kh);Ye[t]=new rt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(wh,kh);Ye[t]=new rt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(wh,kh);Ye[t]=new rt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ye[e]=new rt(e,1,!1,e.toLowerCase(),null,!1,!1)});Ye.xlinkHref=new rt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ye[e]=new rt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ch(e,t,n,i){var o=Ye.hasOwnProperty(t)?Ye[t]:null;(o!==null?o.type!==0:i||!(2a||o[s]!==r[a]){var l=` `+o[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Ic=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?dr(e):""}function qC(e){switch(e.tag){case 5:return dr(e.type);case 16:return dr("Lazy");case 13:return dr("Suspense");case 19:return dr("SuspenseList");case 0:case 2:case 15:return e=Oc(e.type,!1),e;case 11:return e=Oc(e.type.render,!1),e;case 1:return e=Oc(e.type,!0),e;default:return""}}function Bd(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case no:return"Fragment";case to:return"Portal";case _d:return"Profiler";case Sh:return"StrictMode";case zd:return"Suspense";case Md:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Q0:return(e.displayName||"Context")+".Consumer";case G0:return(e._context.displayName||"Context")+".Provider";case Eh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Th:return t=e.displayName||null,t!==null?t:Bd(e.type)||"Memo";case $n:t=e._payload,e=e._init;try{return Bd(e(t))}catch{}}return null}function YC(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Bd(t);case 8:return t===Sh?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Zn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function J0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function KC(e){var t=J0(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,r=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){i=""+s,r.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(s){i=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function As(e){e._valueTracker||(e._valueTracker=KC(e))}function ev(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=J0(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function Sa(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function jd(e,t){var n=t.checked;return Te({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xf(e,t){var n=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;n=Zn(t.value!=null?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function tv(e,t){t=t.checked,t!=null&&Ch(e,"checked",t,!1)}function Vd(e,t){tv(e,t);var n=Zn(t.value),i=t.type;if(n!=null)i==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Fd(e,t.type,n):t.hasOwnProperty("defaultValue")&&Fd(e,t.type,Zn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Gf(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!(i!=="submit"&&i!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Fd(e,t,n){(t!=="number"||Sa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ur=Array.isArray;function vo(e,t,n,i){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Ls.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function $r(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var gr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},XC=["Webkit","ms","Moz","O"];Object.keys(gr).forEach(function(e){XC.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),gr[t]=gr[e]})});function rv(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||gr.hasOwnProperty(e)&&gr[e]?(""+t).trim():t+"px"}function sv(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=n.indexOf("--")===0,o=rv(n,t[n],i);n==="float"&&(n="cssFloat"),i?e.setProperty(n,o):e[n]=o}}var GC=Te({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ud(e,t){if(t){if(GC[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(z(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(z(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(z(61))}if(t.style!=null&&typeof t.style!="object")throw Error(z(62))}}function Wd(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var qd=null;function Ph(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yd=null,yo=null,xo=null;function Jf(e){if(e=hs(e)){if(typeof Yd!="function")throw Error(z(280));var t=e.stateNode;t&&(t=kl(t),Yd(e.stateNode,e.type,t))}}function av(e){yo?xo?xo.push(e):xo=[e]:yo=e}function lv(){if(yo){var e=yo,t=xo;if(xo=yo=null,Jf(e),t)for(e=0;e>>=0,e===0?32:31-(aS(e)/lS|0)|0}var Is=64,Os=4194304;function hr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Aa(e,t){var n=e.pendingLanes;if(n===0)return 0;var i=0,o=e.suspendedLanes,r=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?i=hr(a):(r&=s,r!==0&&(i=hr(r)))}else s=n&~o,s!==0?i=hr(s):r!==0&&(i=hr(r));if(i===0)return 0;if(t!==0&&t!==i&&!(t&o)&&(o=i&-i,r=t&-t,o>=r||o===16&&(r&4194240)!==0))return t;if(i&4&&(i|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0n;n++)t.push(e);return t}function ds(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Kt(t),e[t]=n}function hS(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var i=e.eventTimes;for(e=e.expirationTimes;0=vr),lm=" ",cm=!1;function Av(e,t){switch(e){case"keyup":return VS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var io=!1;function HS(e,t){switch(e){case"compositionend":return Lv(t);case"keypress":return t.which!==32?null:(cm=!0,lm);case"textInput":return e=t.data,e===lm&&cm?null:e;default:return null}}function NS(e,t){if(io)return e==="compositionend"||!_h&&Av(e,t)?(e=Tv(),ra=Rh=Vn=null,io=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=pm(n)}}function Dv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Dv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function $v(){for(var e=window,t=Sa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Sa(e.document)}return t}function zh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function ZS(e){var t=$v(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Dv(n.ownerDocument.documentElement,n)){if(i!==null&&zh(n)){if(t=i.start,e=i.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,r=Math.min(i.start,o);i=i.end===void 0?r:Math.min(i.end,o),!e.extend&&r>i&&(o=i,i=r,r=o),o=fm(n,r);var s=fm(n,i);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),r>i?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,oo=null,Jd=null,xr=null,eu=!1;function mm(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;eu||oo==null||oo!==Sa(i)||(i=oo,"selectionStart"in i&&zh(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),xr&&Vr(xr,i)||(xr=i,i=Oa(Jd,"onSelect"),0ao||(e.current=su[ao],su[ao]=null,ao--)}function fe(e,t){ao++,su[ao]=e.current,e.current=t}var Jn={},et=ai(Jn),dt=ai(!1),Pi=Jn;function Po(e,t){var n=e.type.contextTypes;if(!n)return Jn;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var o={},r;for(r in n)o[r]=t[r];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ut(e){return e=e.childContextTypes,e!=null}function Da(){be(dt),be(et)}function km(e,t,n){if(et.current!==Jn)throw Error(z(168));fe(et,t),fe(dt,n)}function Nv(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var o in i)if(!(o in t))throw Error(z(108,YC(e)||"Unknown",o));return Te({},n,i)}function $a(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Jn,Pi=et.current,fe(et,e),fe(dt,dt.current),!0}function Cm(e,t,n){var i=e.stateNode;if(!i)throw Error(z(169));n?(e=Nv(e,t,Pi),i.__reactInternalMemoizedMergedChildContext=e,be(dt),be(et),fe(et,e)):be(dt),fe(dt,n)}var cn=null,Cl=!1,Wc=!1;function Uv(e){cn===null?cn=[e]:cn.push(e)}function dE(e){Cl=!0,Uv(e)}function li(){if(!Wc&&cn!==null){Wc=!0;var e=0,t=ce;try{var n=cn;for(ce=1;e>=s,o-=s,hn=1<<32-Kt(t)+o|n<C?(A=k,k=null):A=k.sibling;var D=h(b,k,v[C],w);if(D===null){k===null&&(k=A);break}e&&k&&D.alternate===null&&t(b,k),g=r(D,g,C),S===null?E=D:S.sibling=D,S=D,k=A}if(C===v.length)return n(b,k),we&&pi(b,C),E;if(k===null){for(;CC?(A=k,k=null):A=k.sibling;var R=h(b,k,D.value,w);if(R===null){k===null&&(k=A);break}e&&k&&R.alternate===null&&t(b,k),g=r(R,g,C),S===null?E=R:S.sibling=R,S=R,k=A}if(D.done)return n(b,k),we&&pi(b,C),E;if(k===null){for(;!D.done;C++,D=v.next())D=u(b,D.value,w),D!==null&&(g=r(D,g,C),S===null?E=D:S.sibling=D,S=D);return we&&pi(b,C),E}for(k=i(b,k);!D.done;C++,D=v.next())D=p(k,b,C,D.value,w),D!==null&&(e&&D.alternate!==null&&k.delete(D.key===null?C:D.key),g=r(D,g,C),S===null?E=D:S.sibling=D,S=D);return e&&k.forEach(function(V){return t(b,V)}),we&&pi(b,C),E}function x(b,g,v,w){if(typeof v=="object"&&v!==null&&v.type===no&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Ps:e:{for(var E=v.key,S=g;S!==null;){if(S.key===E){if(E=v.type,E===no){if(S.tag===7){n(b,S.sibling),g=o(S,v.props.children),g.return=b,b=g;break e}}else if(S.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===$n&&Im(E)===S.type){n(b,S.sibling),g=o(S,v.props),g.ref=nr(b,S,v),g.return=b,b=g;break e}n(b,S);break}else t(b,S);S=S.sibling}v.type===no?(g=Ei(v.props.children,b.mode,w,v.key),g.return=b,b=g):(w=pa(v.type,v.key,v.props,null,b.mode,w),w.ref=nr(b,g,v),w.return=b,b=w)}return s(b);case to:e:{for(S=v.key;g!==null;){if(g.key===S)if(g.tag===4&&g.stateNode.containerInfo===v.containerInfo&&g.stateNode.implementation===v.implementation){n(b,g.sibling),g=o(g,v.children||[]),g.return=b,b=g;break e}else{n(b,g);break}else t(b,g);g=g.sibling}g=Jc(v,b.mode,w),g.return=b,b=g}return s(b);case $n:return S=v._init,x(b,g,S(v._payload),w)}if(ur(v))return f(b,g,v,w);if(Qo(v))return m(b,g,v,w);Bs(b,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,g!==null&&g.tag===6?(n(b,g.sibling),g=o(g,v),g.return=b,b=g):(n(b,g),g=Zc(v,b.mode,w),g.return=b,b=g),s(b)):n(b,g)}return x}var Lo=Zv(!0),Jv=Zv(!1),ps={},on=ai(ps),Ur=ai(ps),Wr=ai(ps);function xi(e){if(e===ps)throw Error(z(174));return e}function Wh(e,t){switch(fe(Wr,t),fe(Ur,e),fe(on,ps),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Nd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Nd(t,e)}be(on),fe(on,t)}function Io(){be(on),be(Ur),be(Wr)}function ey(e){xi(Wr.current);var t=xi(on.current),n=Nd(t,e.type);t!==n&&(fe(Ur,e),fe(on,n))}function qh(e){Ur.current===e&&(be(on),be(Ur))}var Ce=ai(0);function Va(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var qc=[];function Yh(){for(var e=0;en?n:4,e(!0);var i=Yc.transition;Yc.transition={};try{e(!1),t()}finally{ce=n,Yc.transition=i}}function gy(){return Vt().memoizedState}function fE(e,t,n){var i=Kn(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},by(e))vy(t,n);else if(n=Kv(e,t,n,i),n!==null){var o=it();Xt(n,e,i,o),yy(n,t,i)}}function mE(e,t,n){var i=Kn(e),o={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(by(e))vy(t,o);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null))try{var s=t.lastRenderedState,a=r(s,n);if(o.hasEagerState=!0,o.eagerState=a,Qt(a,s)){var l=t.interleaved;l===null?(o.next=o,Nh(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Kv(e,t,o,i),n!==null&&(o=it(),Xt(n,e,i,o),yy(n,t,i))}}function by(e){var t=e.alternate;return e===Ee||t!==null&&t===Ee}function vy(e,t){wr=Fa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yy(e,t,n){if(n&4194240){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,Lh(e,n)}}var Ha={readContext:jt,useCallback:Ge,useContext:Ge,useEffect:Ge,useImperativeHandle:Ge,useInsertionEffect:Ge,useLayoutEffect:Ge,useMemo:Ge,useReducer:Ge,useRef:Ge,useState:Ge,useDebugValue:Ge,useDeferredValue:Ge,useTransition:Ge,useMutableSource:Ge,useSyncExternalStore:Ge,useId:Ge,unstable_isNewReconciler:!1},gE={readContext:jt,useCallback:function(e,t){return Jt().memoizedState=[e,t===void 0?null:t],e},useContext:jt,useEffect:Rm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ca(4194308,4,uy.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ca(4194308,4,e,t)},useInsertionEffect:function(e,t){return ca(4,2,e,t)},useMemo:function(e,t){var n=Jt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=Jt();return t=n!==void 0?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=fE.bind(null,Ee,e),[i.memoizedState,e]},useRef:function(e){var t=Jt();return e={current:e},t.memoizedState=e},useState:Om,useDebugValue:Zh,useDeferredValue:function(e){return Jt().memoizedState=e},useTransition:function(){var e=Om(!1),t=e[0];return e=pE.bind(null,e[1]),Jt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Ee,o=Jt();if(we){if(n===void 0)throw Error(z(407));n=n()}else{if(n=t(),Fe===null)throw Error(z(349));Li&30||iy(i,t,n)}o.memoizedState=n;var r={value:n,getSnapshot:t};return o.queue=r,Rm(ry.bind(null,i,r,e),[e]),i.flags|=2048,Kr(9,oy.bind(null,i,r,n,t),void 0,null),n},useId:function(){var e=Jt(),t=Fe.identifierPrefix;if(we){var n=pn,i=hn;n=(i&~(1<<32-Kt(i)-1)).toString(32)+n,t=":"+t+"R"+n,n=qr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=s.createElement(n,{is:i.is}):(e=s.createElement(n),n==="select"&&(s=e,i.multiple?s.multiple=!0:i.size&&(s.size=i.size))):e=s.createElementNS(e,n),e[en]=t,e[Nr]=i,Ay(e,t,!1,!1),t.stateNode=e;e:{switch(s=Wd(n,i),n){case"dialog":ge("cancel",e),ge("close",e),o=i;break;case"iframe":case"object":case"embed":ge("load",e),o=i;break;case"video":case"audio":for(o=0;oRo&&(t.flags|=128,i=!0,ir(r,!1),t.lanes=4194304)}else{if(!i)if(e=Va(s),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ir(r,!0),r.tail===null&&r.tailMode==="hidden"&&!s.alternate&&!we)return Qe(t),null}else 2*Oe()-r.renderingStartTime>Ro&&n!==1073741824&&(t.flags|=128,i=!0,ir(r,!1),t.lanes=4194304);r.isBackwards?(s.sibling=t.child,t.child=s):(n=r.last,n!==null?n.sibling=s:t.child=s,r.last=s)}return r.tail!==null?(t=r.tail,r.rendering=t,r.tail=t.sibling,r.renderingStartTime=Oe(),t.sibling=null,n=Ce.current,fe(Ce,i?n&1|2:n&1),t):(Qe(t),null);case 22:case 23:return op(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?gt&1073741824&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),null;case 24:return null;case 25:return null}throw Error(z(156,t.tag))}function SE(e,t){switch(Bh(t),t.tag){case 1:return ut(t.type)&&Da(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Io(),be(dt),be(et),Yh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return qh(t),null;case 13:if(be(Ce),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(z(340));Ao()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return be(Ce),null;case 4:return Io(),null;case 10:return Hh(t.type._context),null;case 22:case 23:return op(),null;case 24:return null;default:return null}}var Vs=!1,Je=!1,EE=typeof WeakSet=="function"?WeakSet:Set,N=null;function ho(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){Le(e,t,i)}else n.current=null}function vu(e,t,n){try{n()}catch(i){Le(e,t,i)}}var Fm=!1;function TE(e,t){if(tu=La,e=$v(),zh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var o=i.anchorOffset,r=i.focusNode;i=i.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,d=0,u=e,h=null;t:for(;;){for(var p;u!==n||o!==0&&u.nodeType!==3||(a=s+o),u!==r||i!==0&&u.nodeType!==3||(l=s+i),u.nodeType===3&&(s+=u.nodeValue.length),(p=u.firstChild)!==null;)h=u,u=p;for(;;){if(u===e)break t;if(h===n&&++c===o&&(a=s),h===r&&++d===i&&(l=s),(p=u.nextSibling)!==null)break;u=h,h=u.parentNode}u=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(nu={focusedElem:e,selectionRange:n},La=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var f=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(f!==null){var m=f.memoizedProps,x=f.memoizedState,b=t.stateNode,g=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:Wt(t.type,m),x);b.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(z(163))}}catch(w){Le(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return f=Fm,Fm=!1,f}function kr(e,t,n){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var o=i=i.next;do{if((o.tag&e)===e){var r=o.destroy;o.destroy=void 0,r!==void 0&&vu(t,n,r)}o=o.next}while(o!==i)}}function Tl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function yu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Oy(e){var t=e.alternate;t!==null&&(e.alternate=null,Oy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[en],delete t[Nr],delete t[ru],delete t[lE],delete t[cE])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ry(e){return e.tag===5||e.tag===3||e.tag===4}function Hm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ry(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function xu(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ra));else if(i!==4&&(e=e.child,e!==null))for(xu(e,t,n),e=e.sibling;e!==null;)xu(e,t,n),e=e.sibling}function wu(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(wu(e,t,n),e=e.sibling;e!==null;)wu(e,t,n),e=e.sibling}var We=null,qt=!1;function On(e,t,n){for(n=n.child;n!==null;)Dy(e,t,n),n=n.sibling}function Dy(e,t,n){if(nn&&typeof nn.onCommitFiberUnmount=="function")try{nn.onCommitFiberUnmount(vl,n)}catch{}switch(n.tag){case 5:Je||ho(n,t);case 6:var i=We,o=qt;We=null,On(e,t,n),We=i,qt=o,We!==null&&(qt?(e=We,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):We.removeChild(n.stateNode));break;case 18:We!==null&&(qt?(e=We,n=n.stateNode,e.nodeType===8?Uc(e.parentNode,n):e.nodeType===1&&Uc(e,n),Br(e)):Uc(We,n.stateNode));break;case 4:i=We,o=qt,We=n.stateNode.containerInfo,qt=!0,On(e,t,n),We=i,qt=o;break;case 0:case 11:case 14:case 15:if(!Je&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){o=i=i.next;do{var r=o,s=r.destroy;r=r.tag,s!==void 0&&(r&2||r&4)&&vu(n,t,s),o=o.next}while(o!==i)}On(e,t,n);break;case 1:if(!Je&&(ho(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(a){Le(n,t,a)}On(e,t,n);break;case 21:On(e,t,n);break;case 22:n.mode&1?(Je=(i=Je)||n.memoizedState!==null,On(e,t,n),Je=i):On(e,t,n);break;default:On(e,t,n)}}function Nm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new EE),t.forEach(function(i){var o=_E.bind(null,e,i);n.has(i)||(n.add(i),i.then(o,o))})}}function Nt(e,t){var n=t.deletions;if(n!==null)for(var i=0;io&&(o=s),i&=~r}if(i=o,i=Oe()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*AE(i/1960))-i,10e?16:e,Fn===null)var i=!1;else{if(e=Fn,Fn=null,Wa=0,ae&6)throw Error(z(331));var o=ae;for(ae|=4,N=e.current;N!==null;){var r=N,s=r.child;if(N.flags&16){var a=r.deletions;if(a!==null){for(var l=0;lOe()-np?Si(e,0):tp|=n),ht(e,t)}function Fy(e,t){t===0&&(e.mode&1?(t=Os,Os<<=1,!(Os&130023424)&&(Os=4194304)):t=1);var n=it();e=Cn(e,t),e!==null&&(ds(e,t,n),ht(e,n))}function $E(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Fy(e,n)}function _E(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(z(314))}i!==null&&i.delete(t),Fy(e,n)}var Hy;Hy=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||dt.current)lt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return lt=!1,kE(e,t,n);lt=!!(e.flags&131072)}else lt=!1,we&&t.flags&1048576&&Wv(t,za,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;da(e,t),e=t.pendingProps;var o=Po(t,et.current);ko(t,n),o=Xh(null,t,i,e,o,n);var r=Gh();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ut(i)?(r=!0,$a(t)):r=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Uh(t),o.updater=Sl,t.stateNode=o,o._reactInternals=t,uu(t,i,e,n),t=fu(null,t,i,!0,r,n)):(t.tag=0,we&&r&&Mh(t),nt(null,t,o,n),t=t.child),t;case 16:i=t.elementType;e:{switch(da(e,t),e=t.pendingProps,o=i._init,i=o(i._payload),t.type=i,o=t.tag=ME(i),e=Wt(i,e),o){case 0:t=pu(null,t,i,e,n);break e;case 1:t=Bm(null,t,i,e,n);break e;case 11:t=zm(null,t,i,e,n);break e;case 14:t=Mm(null,t,i,Wt(i.type,e),n);break e}throw Error(z(306,i,""))}return t;case 0:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Wt(i,o),pu(e,t,i,o,n);case 1:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Wt(i,o),Bm(e,t,i,o,n);case 3:e:{if(Ey(t),e===null)throw Error(z(387));i=t.pendingProps,r=t.memoizedState,o=r.element,Xv(e,t),ja(t,i,null,n);var s=t.memoizedState;if(i=s.element,r.isDehydrated)if(r={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=r,t.memoizedState=r,t.flags&256){o=Oo(Error(z(423)),t),t=jm(e,t,i,n,o);break e}else if(i!==o){o=Oo(Error(z(424)),t),t=jm(e,t,i,n,o);break e}else for(vt=Wn(t.stateNode.containerInfo.firstChild),yt=t,we=!0,Yt=null,n=Jv(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ao(),i===o){t=Sn(e,t,n);break e}nt(e,t,i,n)}t=t.child}return t;case 5:return ey(t),e===null&&lu(t),i=t.type,o=t.pendingProps,r=e!==null?e.memoizedProps:null,s=o.children,iu(i,o)?s=null:r!==null&&iu(i,r)&&(t.flags|=32),Sy(e,t),nt(e,t,s,n),t.child;case 6:return e===null&&lu(t),null;case 13:return Ty(e,t,n);case 4:return Wh(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Lo(t,null,i,n):nt(e,t,i,n),t.child;case 11:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Wt(i,o),zm(e,t,i,o,n);case 7:return nt(e,t,t.pendingProps,n),t.child;case 8:return nt(e,t,t.pendingProps.children,n),t.child;case 12:return nt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,o=t.pendingProps,r=t.memoizedProps,s=o.value,fe(Ma,i._currentValue),i._currentValue=s,r!==null)if(Qt(r.value,s)){if(r.children===o.children&&!dt.current){t=Sn(e,t,n);break e}}else for(r=t.child,r!==null&&(r.return=t);r!==null;){var a=r.dependencies;if(a!==null){s=r.child;for(var l=a.firstContext;l!==null;){if(l.context===i){if(r.tag===1){l=gn(-1,n&-n),l.tag=2;var c=r.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}r.lanes|=n,l=r.alternate,l!==null&&(l.lanes|=n),cu(r.return,n,t),a.lanes|=n;break}l=l.next}}else if(r.tag===10)s=r.type===t.type?null:r.child;else if(r.tag===18){if(s=r.return,s===null)throw Error(z(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),cu(s,n,t),s=r.sibling}else s=r.child;if(s!==null)s.return=r;else for(s=r;s!==null;){if(s===t){s=null;break}if(r=s.sibling,r!==null){r.return=s.return,s=r;break}s=s.return}r=s}nt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,i=t.pendingProps.children,ko(t,n),o=jt(o),i=i(o),t.flags|=1,nt(e,t,i,n),t.child;case 14:return i=t.type,o=Wt(i,t.pendingProps),o=Wt(i.type,o),Mm(e,t,i,o,n);case 15:return ky(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Wt(i,o),da(e,t),t.tag=1,ut(i)?(e=!0,$a(t)):e=!1,ko(t,n),Qv(t,i,o),uu(t,i,o,n),fu(null,t,i,!0,e,n);case 19:return Py(e,t,n);case 22:return Cy(e,t,n)}throw Error(z(156,t.tag))};function Ny(e,t){return mv(e,t)}function zE(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function _t(e,t,n,i){return new zE(e,t,n,i)}function sp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ME(e){if(typeof e=="function")return sp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Eh)return 11;if(e===Th)return 14}return 2}function Xn(e,t){var n=e.alternate;return n===null?(n=_t(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function pa(e,t,n,i,o,r){var s=2;if(i=e,typeof e=="function")sp(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case no:return Ei(n.children,o,r,t);case Sh:s=8,o|=8;break;case _d:return e=_t(12,n,t,o|2),e.elementType=_d,e.lanes=r,e;case zd:return e=_t(13,n,t,o),e.elementType=zd,e.lanes=r,e;case Md:return e=_t(19,n,t,o),e.elementType=Md,e.lanes=r,e;case Z0:return Al(n,o,r,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case G0:s=10;break e;case Q0:s=9;break e;case Eh:s=11;break e;case Th:s=14;break e;case $n:s=16,i=null;break e}throw Error(z(130,e==null?e:typeof e,""))}return t=_t(s,n,t,o),t.elementType=e,t.type=i,t.lanes=r,t}function Ei(e,t,n,i){return e=_t(7,e,i,t),e.lanes=n,e}function Al(e,t,n,i){return e=_t(22,e,i,t),e.elementType=Z0,e.lanes=n,e.stateNode={isHidden:!1},e}function Zc(e,t,n){return e=_t(6,e,null,t),e.lanes=n,e}function Jc(e,t,n){return t=_t(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function BE(e,t,n,i,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Dc(0),this.expirationTimes=Dc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dc(0),this.identifierPrefix=i,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ap(e,t,n,i,o,r,s,a,l){return e=new BE(e,t,n,a,l),t===1?(t=1,r===!0&&(t|=8)):t=0,r=_t(3,null,null,t),e.current=r,r.stateNode=e,r.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Uh(r),e}function jE(e,t,n){var i=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Yy)}catch(e){console.error(e)}}Yy(),W0.exports=kt;var up=W0.exports;const UE=ls(up);var Ky,Qm=up;Ky=Qm.createRoot,Qm.hydrateRoot;const WE="modulepreload",qE=function(e){return"/"+e},Zm={},$t=function(t,n,i){let o=Promise.resolve();if(n&&n.length>0){const r=document.getElementsByTagName("link");o=Promise.all(n.map(s=>{if(s=qE(s),s in Zm)return;Zm[s]=!0;const a=s.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(!!i)for(let u=r.length-1;u>=0;u--){const h=r[u];if(h.href===s&&(!a||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${l}`))return;const d=document.createElement("link");if(d.rel=a?"stylesheet":WE,a||(d.as="script",d.crossOrigin=""),d.href=s,document.head.appendChild(d),a)return new Promise((u,h)=>{d.addEventListener("load",u),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${s}`)))})}))}return o.then(()=>t()).catch(r=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=r,window.dispatchEvent(s),!s.defaultPrevented)throw r})},bi={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1};let Zi,Xy,Dl,Gy=!1,Ka=!1,hp=!1,bt=!1,Jm=null,Tu=!1;const YE={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},Qy=e=>{const t=new URL(e,He.$resourcesUrl$);return t.origin!==ms.location.origin?t.href:t.pathname},Ri=(e,t="")=>()=>{},KE="slot-fb{display:contents}slot-fb[hidden]{display:none}",eg="http://www.w3.org/1999/xlink",tg={},XE="http://www.w3.org/2000/svg",GE="http://www.w3.org/1999/xhtml",QE=e=>e!=null,pp=e=>(e=typeof e,e==="object"||e==="function");function ZE(e){var t,n,i;return(i=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&i!==void 0?i:void 0}const y=(e,t,...n)=>{let i=null,o=null,r=null,s=!1,a=!1;const l=[],c=u=>{for(let h=0;hu[h]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,e2);const d=Xa(e,null);return d.$attrs$=t,l.length>0&&(d.$children$=l),d.$key$=o,d.$name$=r,d},Xa=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n.$name$=null,n},ee={},JE=e=>e&&e.$tag$===ee,e2={forEach:(e,t)=>e.map(ng).forEach(t),map:(e,t)=>e.map(ng).map(t).map(t2)},ng=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),t2=e=>{if(typeof e.vtag=="function"){const n=Object.assign({},e.vattrs);return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),y(e.vtag,n,...e.vchildren||[])}const t=Xa(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},n2=e=>cx.map(t=>t(e)).find(t=>!!t),i2=e=>cx.push(e),o2=e=>Vi(e).$modeName$,r2=(e,t)=>e!=null&&!pp(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,s2=e=>e,B=(e,t,n)=>{const i=s2(e);return{emit:o=>a2(i,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:o})}},a2=(e,t,n)=>{const i=He.ce(t,n);return e.dispatchEvent(i),i},ig=new WeakMap,l2=(e,t,n)=>{let i=Qa.get(e);_2&&n?(i=i||new CSSStyleSheet,typeof i=="string"?i=t:i.replaceSync(t)):i=t,Qa.set(e,i)},c2=(e,t,n)=>{var i;const o=Zy(t,n),r=Qa.get(o);if(e=e.nodeType===11?e:Gt,r)if(typeof r=="string"){e=e.head||e;let s=ig.get(e),a;if(s||ig.set(e,s=new Set),!s.has(o)){{a=Gt.createElement("style"),a.innerHTML=r;const l=(i=He.$nonce$)!==null&&i!==void 0?i:ZE(Gt);l!=null&&a.setAttribute("nonce",l),e.insertBefore(a,e.querySelector("link"))}t.$flags$&4&&(a.innerHTML+=KE),s&&s.add(o)}}else e.adoptedStyleSheets.includes(r)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]);return o},d2=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,i=t.$flags$,o=Ri("attachStyles",t.$tagName$),r=c2(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$);i&10&&(n["s-sc"]=r,n.classList.add(r+"-h"),i&2&&n.classList.add(r+"-s")),o()},Zy=(e,t)=>"sc-"+(t&&e.$flags$&32?e.$tagName$+"-"+t:e.$tagName$),og=(e,t,n,i,o,r)=>{if(n!==i){let s=cg(e,t),a=t.toLowerCase();if(t==="class"){const l=e.classList,c=rg(n),d=rg(i);l.remove(...c.filter(u=>u&&!d.includes(u))),l.add(...d.filter(u=>u&&!c.includes(u)))}else if(t==="style"){for(const l in n)(!i||i[l]==null)&&(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in i)(!n||i[l]!==n[l])&&(l.includes("-")?e.style.setProperty(l,i[l]):e.style[l]=i[l])}else if(t!=="key")if(t==="ref")i&&i(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):cg(ms,a)?t=a.slice(2):t=a[2]+t.slice(3),n||i){const l=t.endsWith(Jy);t=t.replace(h2,""),n&&He.rel(e,t,n,l),i&&He.ael(e,t,i,l)}}else{const l=pp(i);if((s||l&&i!==null)&&!o)try{if(e.tagName.includes("-"))e[t]=i;else{const d=i??"";t==="list"?s=!1:(n==null||e[t]!=d)&&(e[t]=d)}}catch{}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),i==null||i===!1?(i!==!1||e.getAttribute(t)==="")&&(c?e.removeAttributeNS(eg,t):e.removeAttribute(t)):(!s||r&4||o)&&!l&&(i=i===!0?"":i,c?e.setAttributeNS(eg,t,i):e.setAttribute(t,i))}}},u2=/\s/,rg=e=>e?e.split(u2):[],Jy="Capture",h2=new RegExp(Jy+"$"),ex=(e,t,n,i)=>{const o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||tg,s=t.$attrs$||tg;for(i in r)i in s||og(o,i,r[i],void 0,n,t.$flags$);for(i in s)og(o,i,r[i],s[i],n,t.$flags$)},Ga=(e,t,n,i)=>{var o;const r=t.$children$[n];let s=0,a,l,c;if(Gy||(hp=!0,r.$tag$==="slot"&&(Zi&&i.classList.add(Zi+"-s"),r.$flags$|=r.$children$?2:1)),r.$text$!==null)a=r.$elm$=Gt.createTextNode(r.$text$);else if(r.$flags$&1)a=r.$elm$=Gt.createTextNode("");else{if(bt||(bt=r.$tag$==="svg"),a=r.$elm$=Gt.createElementNS(bt?XE:GE,r.$flags$&2?"slot-fb":r.$tag$),bt&&r.$tag$==="foreignObject"&&(bt=!1),ex(null,r,bt),QE(Zi)&&a["s-si"]!==Zi&&a.classList.add(a["s-si"]=Zi),r.$children$)for(s=0;s{var n;He.$flags$|=1;const i=e.childNodes;for(let o=i.length-1;o>=0;o--){const r=i[o];r["s-hn"]!==Dl&&r["s-ol"]&&(ix(r).insertBefore(r,fp(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,r.nodeType===1&&r.setAttribute("slot",(n=r["s-sn"])!==null&&n!==void 0?n:""),hp=!0),t&&Gr(r,t)}He.$flags$&=-2},tx=(e,t,n,i,o,r)=>{let s=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(s.shadowRoot&&s.tagName===Dl&&(s=s.shadowRoot);o<=r;++o)i[o]&&(a=Ga(null,n,o,e),a&&(i[o].$elm$=a,s.insertBefore(a,fp(t))))},nx=(e,t,n)=>{for(let i=t;i<=n;++i){const o=e[i];if(o){const r=o.$elm$;sx(o),r&&(Ka=!0,r["s-ol"]?r["s-ol"].remove():Gr(r,!0),r.remove())}}},p2=(e,t,n,i,o=!1)=>{let r=0,s=0,a=0,l=0,c=t.length-1,d=t[0],u=t[c],h=i.length-1,p=i[0],f=i[h],m,x;for(;r<=c&&s<=h;)if(d==null)d=t[++r];else if(u==null)u=t[--c];else if(p==null)p=i[++s];else if(f==null)f=i[--h];else if(Ns(d,p,o))Ji(d,p,o),d=t[++r],p=i[++s];else if(Ns(u,f,o))Ji(u,f,o),u=t[--c],f=i[--h];else if(Ns(d,f,o))(d.$tag$==="slot"||f.$tag$==="slot")&&Gr(d.$elm$.parentNode,!1),Ji(d,f,o),e.insertBefore(d.$elm$,u.$elm$.nextSibling),d=t[++r],f=i[--h];else if(Ns(u,p,o))(d.$tag$==="slot"||f.$tag$==="slot")&&Gr(u.$elm$.parentNode,!1),Ji(u,p,o),e.insertBefore(u.$elm$,d.$elm$),u=t[--c],p=i[++s];else{for(a=-1,l=r;l<=c;++l)if(t[l]&&t[l].$key$!==null&&t[l].$key$===p.$key$){a=l;break}a>=0?(x=t[a],x.$tag$!==p.$tag$?m=Ga(t&&t[s],n,a,e):(Ji(x,p,o),t[a]=void 0,m=x.$elm$),p=i[++s]):(m=Ga(t&&t[s],n,s,e),p=i[++s]),m&&ix(d.$elm$).insertBefore(m,fp(d.$elm$))}r>c?tx(e,i[h+1]==null?null:i[h+1].$elm$,n,i,s,h):s>h&&nx(t,r,c)},Ns=(e,t,n=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:n?!0:e.$key$===t.$key$:!1,fp=e=>e&&e["s-ol"]||e,ix=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Ji=(e,t,n=!1)=>{const i=t.$elm$=e.$elm$,o=e.$children$,r=t.$children$,s=t.$tag$,a=t.$text$;let l;a===null?(bt=s==="svg"?!0:s==="foreignObject"?!1:bt,s==="slot"||ex(e,t,bt),o!==null&&r!==null?p2(i,o,t,r,n):r!==null?(e.$text$!==null&&(i.textContent=""),tx(i,null,t,r,0,r.length-1)):o!==null&&nx(o,0,o.length-1),bt&&s==="svg"&&(bt=!1)):(l=i["s-cr"])?l.parentNode.textContent=a:e.$text$!==a&&(i.data=a)},ox=e=>{const t=e.childNodes;for(const n of t)if(n.nodeType===1){if(n["s-sr"]){const i=n["s-sn"];n.hidden=!1;for(const o of t)if(o!==n){if(o["s-hn"]!==n["s-hn"]||i!==""){if(o.nodeType===1&&(i===o.getAttribute("slot")||i===o["s-sn"])){n.hidden=!0;break}}else if(o.nodeType===1||o.nodeType===3&&o.textContent.trim()!==""){n.hidden=!0;break}}}ox(n)}},dn=[],rx=e=>{let t,n,i;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const r=o["s-sn"];for(i=n.length-1;i>=0;i--)if(t=n[i],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"]&&!bi.experimentalSlotFixes)if(sg(t,r)){let s=dn.find(a=>a.$nodeToRelocate$===t);Ka=!0,t["s-sn"]=t["s-sn"]||r,s?(s.$nodeToRelocate$["s-sh"]=o["s-hn"],s.$slotRefNode$=o):(t["s-sh"]=o["s-hn"],dn.push({$slotRefNode$:o,$nodeToRelocate$:t})),t["s-sr"]&&dn.map(a=>{sg(a.$nodeToRelocate$,t["s-sn"])&&(s=dn.find(l=>l.$nodeToRelocate$===t),s&&!a.$slotRefNode$&&(a.$slotRefNode$=s.$slotRefNode$))})}else dn.some(s=>s.$nodeToRelocate$===t)||dn.push({$nodeToRelocate$:t})}o.nodeType===1&&rx(o)}},sg=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",sx=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(sx)},f2=(e,t,n=!1)=>{var i,o,r,s;const a=e.$hostElement$,l=e.$cmpMeta$,c=e.$vnode$||Xa(null,null),d=JE(t)?t:y(null,null,t);if(Dl=a.tagName,l.$attrsToReflect$&&(d.$attrs$=d.$attrs$||{},l.$attrsToReflect$.map(([u,h])=>d.$attrs$[h]=a[u])),n&&d.$attrs$)for(const u of Object.keys(d.$attrs$))a.hasAttribute(u)&&!["key","ref","style","class"].includes(u)&&(d.$attrs$[u]=a[u]);d.$tag$=null,d.$flags$|=4,e.$vnode$=d,d.$elm$=c.$elm$=a.shadowRoot||a,Zi=a["s-sc"],Xy=a["s-cr"],Gy=(l.$flags$&1)!==0,Ka=!1,Ji(c,d,n);{if(He.$flags$|=1,hp){rx(d.$elm$);for(const u of dn){const h=u.$nodeToRelocate$;if(!h["s-ol"]){const p=Gt.createTextNode("");p["s-nr"]=h,h.parentNode.insertBefore(h["s-ol"]=p,h)}}for(const u of dn){const h=u.$nodeToRelocate$,p=u.$slotRefNode$;if(p){const f=p.parentNode;let m=p.nextSibling;{let x=(i=h["s-ol"])===null||i===void 0?void 0:i.previousSibling;for(;x;){let b=(o=x["s-nr"])!==null&&o!==void 0?o:null;if(b&&b["s-sn"]===h["s-sn"]&&f===b.parentNode&&(b=b.nextSibling,!b||!b["s-nr"])){m=b;break}x=x.previousSibling}}(!m&&f!==h.parentNode||h.nextSibling!==m)&&h!==m&&(!h["s-hn"]&&h["s-ol"]&&(h["s-hn"]=h["s-ol"].parentNode.nodeName),f.insertBefore(h,m),h.nodeType===1&&(h.hidden=(r=h["s-ih"])!==null&&r!==void 0?r:!1))}else h.nodeType===1&&(n&&(h["s-ih"]=(s=h.hidden)!==null&&s!==void 0?s:!1),h.hidden=!0)}}Ka&&ox(d.$elm$),He.$flags$&=-2,dn.length=0}},m2=(e,t)=>{},mp=(e,t)=>(e.$flags$|=16,m2(e,e.$ancestorComponent$),Ft(()=>g2(e,t))),g2=(e,t)=>{const n=e.$hostElement$,i=Ri("scheduleUpdate",e.$cmpMeta$.$tagName$),o=n;let r;return t?r=So(o,"componentWillLoad"):r=So(o,"componentWillUpdate"),r=ag(r,()=>So(o,"componentWillRender")),i(),ag(r,()=>v2(e,o,t))},ag=(e,t)=>b2(e)?e.then(t):t(),b2=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",v2=async(e,t,n)=>{const i=e.$hostElement$,o=Ri("update",e.$cmpMeta$.$tagName$);i["s-rc"],n&&d2(e);const r=Ri("render",e.$cmpMeta$.$tagName$);y2(e,t,i,n),r(),o(),x2(e)},y2=(e,t,n,i)=>{try{Jm=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(bi.hasRenderFn||bi.reflect)&&(bi.vdomRender||bi.reflect)&&(bi.hydrateServerSide||f2(e,t,i))}catch(l){fs(l,e.$hostElement$)}return Jm=null,null},x2=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,i=Ri("postUpdate",t),o=n;e.$ancestorComponent$,So(o,"componentDidRender"),e.$flags$&64?(So(o,"componentDidUpdate"),i()):(e.$flags$|=64,So(o,"componentDidLoad"),i())},En=e=>{{const t=Vi(e),n=t.$hostElement$.isConnected;return n&&(t.$flags$&18)===2&&mp(t,!1),n}},So=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(i){fs(i)}},w2=(e,t)=>Vi(e).$instanceValues$.get(t),k2=(e,t,n,i)=>{const o=Vi(e),r=e,s=o.$instanceValues$.get(t),a=o.$flags$,l=r;n=r2(n,i.$members$[t][0]);const c=Number.isNaN(s)&&Number.isNaN(n);if(n!==s&&!c){o.$instanceValues$.set(t,n);{if(i.$watchers$&&a&128){const u=i.$watchers$[t];u&&u.map(h=>{try{l[h](n,s,t)}catch(p){fs(p,r)}})}if((a&18)===2){if(l.componentShouldUpdate&&l.componentShouldUpdate(n,s,t)===!1)return;mp(o,!1)}}}},C2=(e,t,n)=>{var i;const o=e.prototype;if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const r=Object.entries(t.$members$);r.map(([s,[a]])=>{(a&31||a&32)&&Object.defineProperty(o,s,{get(){return w2(this,s)},set(l){k2(this,s,l,t)},configurable:!0,enumerable:!0})});{const s=new Map;o.attributeChangedCallback=function(a,l,c){He.jmp(()=>{var d;const u=s.get(a);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(o.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const h=Vi(this),p=h==null?void 0:h.$flags$;if(p&&!(p&8)&&p&128&&c!==l){const m=this,x=(d=t.$watchers$)===null||d===void 0?void 0:d[a];x==null||x.forEach(b=>{m[b]!=null&&m[b].call(m,c,l,a)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.$watchers$)!==null&&i!==void 0?i:{}),...r.filter(([a,l])=>l[0]&15).map(([a,l])=>{var c;const d=l[1]||a;return s.set(d,a),l[0]&512&&((c=t.$attrsToReflect$)===null||c===void 0||c.push([a,d])),d})]))}}return e},S2=async(e,t,n,i)=>{let o;if(!(t.$flags$&32)&&(t.$flags$|=32,o=e.constructor,customElements.whenDefined(n.$tagName$).then(()=>t.$flags$|=128),o.style)){let s=o.style;typeof s!="string"&&(s=s[t.$modeName$=n2(e)]);const a=Zy(n,t.$modeName$);if(!Qa.has(a)){const l=Ri("registerStyles",n.$tagName$);l2(a,s,!!(n.$flags$&1)),l()}}t.$ancestorComponent$,mp(t,!0)},lg=e=>{},E2=e=>{if(!(He.$flags$&1)){const t=Vi(e),n=t.$cmpMeta$,i=Ri("connectedCallback",n.$tagName$);t.$flags$&1?(ax(e,t,n.$listeners$),t!=null&&t.$lazyInstance$?lg(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>lg(t.$lazyInstance$))):(t.$flags$|=1,n.$flags$&12&&T2(e),n.$members$&&Object.entries(n.$members$).map(([o,[r]])=>{if(r&31&&e.hasOwnProperty(o)){const s=e[o];delete e[o],e[o]=s}}),S2(e,t,n)),i()}},T2=e=>{const t=e["s-cr"]=Gt.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},P2=async e=>{if(!(He.$flags$&1)){const t=Vi(e);t.$rmListeners$&&(t.$rmListeners$.map(n=>n()),t.$rmListeners$=void 0)}},ne=(e,t)=>{const n={$flags$:t[0],$tagName$:t[1]};n.$members$=t[2],n.$listeners$=t[3],n.$watchers$=e.$watchers$,n.$attrsToReflect$=[];const i=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__registerHost(){O2(this,n)},connectedCallback(){E2(this),i&&i.call(this)},disconnectedCallback(){P2(this),o&&o.call(this)},__attachShadow(){this.attachShadow({mode:"open",delegatesFocus:!!(n.$flags$&16)})}}),e.is=n.$tagName$,C2(e,n)},ax=(e,t,n,i)=>{n&&n.map(([o,r,s])=>{const a=L2(e,o),l=A2(t,s),c=I2(o);He.ael(a,r,l,c),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>He.rel(a,r,l,c))})},A2=(e,t)=>n=>{try{bi.lazyLoad||e.$hostElement$[t](n)}catch(i){fs(i)}},L2=(e,t)=>t&4?Gt:t&8?ms:t&16?Gt.body:e,I2=e=>D2?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0,lx=new WeakMap,Vi=e=>lx.get(e),O2=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return ax(e,n,t.$listeners$),lx.set(e,n)},cg=(e,t)=>t in e,fs=(e,t)=>(0,console.error)(e,t),Qa=new Map,cx=[],ms=typeof window<"u"?window:{},Gt=ms.document||{head:{}},ie=ms.HTMLElement||class{},He={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,i)=>e.addEventListener(t,n,i),rel:(e,t,n,i)=>e.removeEventListener(t,n,i),ce:(e,t)=>new CustomEvent(e,t)},R2=e=>{Object.assign(He,e)},D2=(()=>{let e=!1;try{Gt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),$2=e=>Promise.resolve(e),_2=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),Pu=[],dx=[],ux=(e,t)=>n=>{e.push(n),Tu||(Tu=!0,t&&He.$flags$&4?z2(Au):He.raf(Au))},dg=e=>{for(let t=0;t{dg(Pu),dg(dx),(Tu=Pu.length>0)&&He.raf(Au)},z2=e=>$2().then(e),Do=ux(Pu,!1),Ft=ux(dx,!0);/*! * (C) Ionic http://ionicframework.com - MIT License */const Ae=typeof window<"u"?window:void 0,Gn=typeof document<"u"?document:void 0;/*! * (C) Ionic http://ionicframework.com - MIT License */const ei=(e,t)=>{e.componentOnReady?e.componentOnReady().then(n=>t(n)):Ie(()=>t(e))},Qr=e=>e.componentOnReady!==void 0,Ho=(e,t=[])=>{const n={};return t.forEach(i=>{e.hasAttribute(i)&&(e.getAttribute(i)!==null&&(n[i]=e.getAttribute(i)),e.removeAttribute(i))}),n},M2=["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"],No=(e,t)=>{let n=M2;return t&&t.length>0&&(n=n.filter(i=>!t.includes(i))),Ho(e,n)},gp=(e,t,n,i)=>{var o;if(typeof window<"u"){const r=window,s=(o=r==null?void 0:r.Ionic)===null||o===void 0?void 0:o.config;if(s){const a=s.get("_ael");if(a)return a(e,t,n,i);if(s._ael)return s._ael(e,t,n,i)}}return e.addEventListener(t,n,i)},hx=(e,t,n,i)=>{var o;if(typeof window<"u"){const r=window,s=(o=r==null?void 0:r.Ionic)===null||o===void 0?void 0:o.config;if(s){const a=s.get("_rel");if(a)return a(e,t,n,i);if(s._rel)return s._rel(e,t,n,i)}}return e.removeEventListener(t,n,i)},pt=(e,t=e)=>e.shadowRoot||t,Ie=e=>typeof __zone_symbol__requestAnimationFrame=="function"?__zone_symbol__requestAnimationFrame(e):typeof requestAnimationFrame=="function"?requestAnimationFrame(e):setTimeout(e),px=e=>!!e.shadowRoot&&!!e.attachShadow,bp=e=>{const t=e.closest("ion-item");return t?t.querySelector("ion-label"):null},Lu=e=>{if(e.focus(),e.classList.contains("ion-focusable")){const t=e.closest("ion-app");t&&t.setFocus([e])}},Zr=(e,t)=>{let n;const i=e.getAttribute("aria-labelledby"),o=e.id;let r=i!==null&&i.trim()!==""?i:t+"-lbl",s=i!==null&&i.trim()!==""?document.getElementById(i):bp(e);return s?(i===null&&(s.id=r),n=s.textContent,s.setAttribute("aria-hidden","true")):o.trim()!==""&&(s=document.querySelector(`label[for="${o}"]`),s&&(s.id!==""?r=s.id:s.id=r=`${o}-lbl`,n=s.textContent)),{label:s,labelId:r,labelText:n}},Di=(e,t,n,i,o)=>{if(e||px(t)){let r=t.querySelector("input.aux-input");r||(r=t.ownerDocument.createElement("input"),r.type="hidden",r.classList.add("aux-input"),t.appendChild(r)),r.disabled=o,r.name=n,r.value=i||""}},at=(e,t,n)=>Math.max(e,Math.min(t,n)),je=(e,t)=>{if(!e){const n="ASSERT: "+t;console.error(n);debugger;throw new Error(n)}},Mz=e=>e.timeStamp||Date.now(),Bz=e=>{if(e){const t=e.changedTouches;if(t&&t.length>0){const n=t[0];return{x:n.clientX,y:n.clientY}}if(e.pageX!==void 0)return{x:e.pageX,y:e.pageY}}return{x:0,y:0}},ug=e=>{const t=document.dir==="rtl";switch(e){case"start":return t;case"end":return!t;default:throw new Error(`"${e}" is not a valid value for [side]. Use "start" or "end" instead.`)}},B2=(e,t)=>{const n=e._original||e;return{_original:e,emit:j2(n.emit.bind(n),t)}},j2=(e,t=0)=>{let n;return(...i)=>{clearTimeout(n),n=setTimeout(e,t,...i)}},fx=(e,t)=>{if(e??(e={}),t??(t={}),e===t)return!0;const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(const i of n)if(!(i in t)||e[i]!==t[i])return!1;return!0};/*! * (C) Ionic http://ionicframework.com - MIT License */let ed;const V2=e=>(e.forEach(t=>{for(const n in t)if(t.hasOwnProperty(n)){const i=t[n];if(n==="easing"){const o="animation-timing-function";t[o]=i,delete t[n]}else{const o=F2(n);o!==n&&(t[o]=i,delete t[n])}}}),e),F2=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),vp=e=>{if(ed===void 0){const t=e.style.animationName!==void 0,n=e.style.webkitAnimationName!==void 0;ed=!t&&n?"-webkit-":""}return ed},xe=(e,t,n)=>{const i=t.startsWith("animation")?vp(e):"";e.style.setProperty(i+t,n)},Ut=(e,t)=>{const n=t.startsWith("animation")?vp(e):"";e.style.removeProperty(n+t)},H2=(e,t)=>{let n;const i={passive:!0},o=()=>{n&&n()},r=s=>{e===s.target&&(o(),t(s))};return e&&(e.addEventListener("webkitAnimationEnd",r,i),e.addEventListener("animationend",r,i),n=()=>{e.removeEventListener("webkitAnimationEnd",r,i),e.removeEventListener("animationend",r,i)}),o},N2=(e=[])=>e.map(t=>{const n=t.offset,i=[];for(const o in t)t.hasOwnProperty(o)&&o!=="offset"&&i.push(`${o}: ${t[o]};`);return`${n*100}% { ${i.join(" ")} }`}).join(" "),hg=[],U2=e=>{let t=hg.indexOf(e);return t<0&&(t=hg.push(e)-1),`ion-animation-${t}`},W2=e=>{const t=e.getRootNode!==void 0?e.getRootNode():e;return t.head||t},q2=(e,t,n)=>{var i;const o=W2(n),r=vp(n),s=o.querySelector("#"+e);if(s)return s;const a=((i=n.ownerDocument)!==null&&i!==void 0?i:document).createElement("style");return a.id=e,a.textContent=`@${r}keyframes ${e} { ${t} } @${r}keyframes ${e}-alt { ${t} }`,o.appendChild(a),a},Us=(e=[],t)=>{if(t!==void 0){const n=Array.isArray(t)?t:[t];return[...e,...n]}return e},U=e=>{let t,n,i,o,r,s,a=[],l=[],c=[],d=!1,u,h={},p=[],f=[],m={},x=0,b=!1,g=!1,v,w,E,S,k=!0,C=!1,A=!0,D,R,V=!1;const Y=e,K=[],G=[],Z=[],Q=[],I=[],$=[],O=[],_=[],F=[],te=[],J=[],ye=typeof AnimationEffect=="function"||Ae!==void 0&&typeof Ae.AnimationEffect=="function",oe=typeof Element=="function"&&typeof Element.prototype.animate=="function"&&ye,Pe=100,Tt=()=>J,Ln=T=>(I.forEach(M=>{M.destroy(T)}),qi(T),Q.length=0,I.length=0,a.length=0,z1(),d=!1,A=!0,R),qi=T=>{$f(),T&&_f()},an=()=>{b=!1,g=!1,A=!0,w=void 0,E=void 0,S=void 0,x=0,C=!1,k=!0,V=!1},Rf=()=>x!==0&&!V,Df=(T,M)=>{const H=M.findIndex(he=>he.c===T);H>-1&&M.splice(H,1)},_1=(T,M)=>(Z.push({c:T,o:M}),R),Tc=(T,M)=>((M!=null&&M.oneTimeCallback?G:K).push({c:T,o:M}),R),z1=()=>(K.length=0,G.length=0,R),$f=()=>{if(oe)J.forEach(T=>{T.cancel()}),J.length=0;else{const T=Q.slice();Ie(()=>{T.forEach(M=>{Ut(M,"animation-name"),Ut(M,"animation-duration"),Ut(M,"animation-timing-function"),Ut(M,"animation-iteration-count"),Ut(M,"animation-delay"),Ut(M,"animation-play-state"),Ut(M,"animation-fill-mode"),Ut(M,"animation-direction")})})}},_f=()=>{$.forEach(T=>{T!=null&&T.parentNode&&T.parentNode.removeChild(T)}),$.length=0},M1=T=>(O.push(T),R),B1=T=>(_.push(T),R),j1=T=>(F.push(T),R),V1=T=>(te.push(T),R),F1=T=>(l=Us(l,T),R),H1=T=>(c=Us(c,T),R),N1=(T={})=>(h=T,R),U1=(T=[])=>{for(const M of T)h[M]="";return R},W1=T=>(p=Us(p,T),R),q1=T=>(f=Us(f,T),R),Y1=(T={})=>(m=T,R),K1=(T=[])=>{for(const M of T)m[M]="";return R},Ko=()=>r!==void 0?r:u?u.getFill():"both",Yi=()=>w!==void 0?w:s!==void 0?s:u?u.getDirection():"normal",Xo=()=>b?"linear":i!==void 0?i:u?u.getEasing():"linear",Ht=()=>g?0:E!==void 0?E:n!==void 0?n:u?u.getDuration():0,In=()=>o!==void 0?o:u?u.getIterations():1,Ki=()=>S!==void 0?S:t!==void 0?t:u?u.getDelay():0,X1=()=>a,G1=T=>(s=T,Pt(!0),R),Q1=T=>(r=T,Pt(!0),R),Z1=T=>(t=T,Pt(!0),R),J1=T=>(i=T,Pt(!0),R),eC=T=>(!oe&&T===0&&(T=1),n=T,Pt(!0),R),tC=T=>(o=T,Pt(!0),R),nC=T=>(u=T,R),iC=T=>{if(T!=null)if(T.nodeType===1)Q.push(T);else if(T.length>=0)for(let M=0;M{if(T!=null)if(Array.isArray(T))for(const M of T)M.parent(R),I.push(M);else T.parent(R),I.push(T);return R},rC=T=>{const M=a!==T;return a=T,M&&sC(a),R},sC=T=>{oe?Tt().forEach(M=>{const H=M.effect;if(H.setKeyframes)H.setKeyframes(T);else{const he=new KeyframeEffect(H.target,T,H.getTiming());M.effect=he}}):zf()},aC=()=>{O.forEach(he=>he()),_.forEach(he=>he());const T=l,M=c,H=h;Q.forEach(he=>{const ze=he.classList;T.forEach(At=>ze.add(At)),M.forEach(At=>ze.remove(At));for(const At in H)H.hasOwnProperty(At)&&xe(he,At,H[At])})},lC=()=>{Pc(),F.forEach(ze=>ze()),te.forEach(ze=>ze());const T=k?1:0,M=p,H=f,he=m;Q.forEach(ze=>{const At=ze.classList;M.forEach(di=>At.add(di)),H.forEach(di=>At.remove(di));for(const di in he)he.hasOwnProperty(di)&&xe(ze,di,he[di])}),E=void 0,w=void 0,S=void 0,K.forEach(ze=>ze.c(T,R)),G.forEach(ze=>ze.c(T,R)),G.length=0,A=!0,k&&(C=!0),k=!0},Xi=()=>{x!==0&&(x--,x===0&&(lC(),u&&u.animationFinish()))},zf=(T=!0)=>{_f();const M=V2(a);Q.forEach(H=>{if(M.length>0){const he=N2(M);D=e!==void 0?e:U2(he);const ze=q2(D,he,H);$.push(ze),xe(H,"animation-duration",`${Ht()}ms`),xe(H,"animation-timing-function",Xo()),xe(H,"animation-delay",`${Ki()}ms`),xe(H,"animation-fill-mode",Ko()),xe(H,"animation-direction",Yi());const At=In()===1/0?"infinite":In().toString();xe(H,"animation-iteration-count",At),xe(H,"animation-play-state","paused"),T&&xe(H,"animation-name",`${ze.id}-alt`),Ie(()=>{xe(H,"animation-name",ze.id||null)})}})},cC=()=>{Q.forEach(T=>{const M=T.animate(a,{id:Y,delay:Ki(),duration:Ht(),easing:Xo(),iterations:In(),fill:Ko(),direction:Yi()});M.pause(),J.push(M)}),J.length>0&&(J[0].onfinish=()=>{Xi()})},Mf=(T=!0)=>{aC(),a.length>0&&(oe?cC():zf(T)),d=!0},Go=T=>{if(T=Math.min(Math.max(T,0),.9999),oe)J.forEach(M=>{M.currentTime=M.effect.getComputedTiming().delay+Ht()*T,M.pause()});else{const M=`-${Ht()*T}ms`;Q.forEach(H=>{a.length>0&&(xe(H,"animation-delay",M),xe(H,"animation-play-state","paused"))})}},Bf=T=>{J.forEach(M=>{M.effect.updateTiming({delay:Ki(),duration:Ht(),easing:Xo(),iterations:In(),fill:Ko(),direction:Yi()})}),T!==void 0&&Go(T)},jf=(T=!0,M)=>{Ie(()=>{Q.forEach(H=>{xe(H,"animation-name",D||null),xe(H,"animation-duration",`${Ht()}ms`),xe(H,"animation-timing-function",Xo()),xe(H,"animation-delay",M!==void 0?`-${M*Ht()}ms`:`${Ki()}ms`),xe(H,"animation-fill-mode",Ko()||null),xe(H,"animation-direction",Yi()||null);const he=In()===1/0?"infinite":In().toString();xe(H,"animation-iteration-count",he),T&&xe(H,"animation-name",`${D}-alt`),Ie(()=>{xe(H,"animation-name",D||null)})})})},Pt=(T=!1,M=!0,H)=>(T&&I.forEach(he=>{he.update(T,M,H)}),oe?Bf(H):jf(M,H),R),dC=(T=!1,M)=>(I.forEach(H=>{H.progressStart(T,M)}),Vf(),b=T,d||Mf(),Pt(!1,!0,M),R),uC=T=>(I.forEach(M=>{M.progressStep(T)}),Go(T),R),hC=(T,M,H)=>(b=!1,I.forEach(he=>{he.progressEnd(T,M,H)}),H!==void 0&&(E=H),C=!1,k=!0,T===0?(w=Yi()==="reverse"?"normal":"reverse",w==="reverse"&&(k=!1),oe?(Pt(),Go(1-M)):(S=(1-M)*Ht()*-1,Pt(!1,!1))):T===1&&(oe?(Pt(),Go(M)):(S=M*Ht()*-1,Pt(!1,!1))),T!==void 0&&!u&&Ff(),R),Vf=()=>{d&&(oe?J.forEach(T=>{T.pause()}):Q.forEach(T=>{xe(T,"animation-play-state","paused")}),V=!0)},pC=()=>(I.forEach(T=>{T.pause()}),Vf(),R),fC=()=>{v=void 0,Xi()},Pc=()=>{v&&clearTimeout(v)},mC=()=>{if(Pc(),Ie(()=>{Q.forEach(T=>{a.length>0&&xe(T,"animation-play-state","running")})}),a.length===0||Q.length===0)Xi();else{const T=Ki()||0,M=Ht()||0,H=In()||1;isFinite(H)&&(v=setTimeout(fC,T+M*H+Pe)),H2(Q[0],()=>{Pc(),Ie(()=>{gC(),Ie(Xi)})})}},gC=()=>{Q.forEach(T=>{Ut(T,"animation-duration"),Ut(T,"animation-delay"),Ut(T,"animation-play-state")})},bC=()=>{J.forEach(T=>{T.play()}),(a.length===0||Q.length===0)&&Xi()},vC=()=>{oe?(Go(0),Bf()):jf()},Ff=T=>new Promise(M=>{T!=null&&T.sync&&(g=!0,Tc(()=>g=!1,{oneTimeCallback:!0})),d||Mf(),C&&(vC(),C=!1),A&&(x=I.length+1,A=!1);const H=()=>{Df(he,G),M()},he=()=>{Df(H,Z),M()};Tc(he,{oneTimeCallback:!0}),_1(H,{oneTimeCallback:!0}),I.forEach(ze=>{ze.play()}),oe?bC():mC(),V=!1}),yC=()=>{I.forEach(T=>{T.stop()}),d&&($f(),d=!1),an(),Z.forEach(T=>T.c(0,R)),Z.length=0},Hf=(T,M)=>{const H=a[0];return H!==void 0&&(H.offset===void 0||H.offset===0)?H[T]=M:a=[{offset:0,[T]:M},...a],R};return R={parentAnimation:u,elements:Q,childAnimations:I,id:Y,animationFinish:Xi,from:Hf,to:(T,M)=>{const H=a[a.length-1];return H!==void 0&&(H.offset===void 0||H.offset===1)?H[T]=M:a=[...a,{offset:1,[T]:M}],R},fromTo:(T,M,H)=>Hf(T,M).to(T,H),parent:nC,play:Ff,pause:pC,stop:yC,destroy:Ln,keyframes:rC,addAnimation:oC,addElement:iC,update:Pt,fill:Q1,direction:G1,iterations:tC,duration:eC,easing:J1,delay:Z1,getWebAnimations:Tt,getKeyframes:X1,getFill:Ko,getDirection:Yi,getDelay:Ki,getIterations:In,getEasing:Xo,getDuration:Ht,afterAddRead:j1,afterAddWrite:V1,afterClearStyles:K1,afterStyles:Y1,afterRemoveClass:q1,afterAddClass:W1,beforeAddRead:M1,beforeAddWrite:B1,beforeClearStyles:U1,beforeStyles:N1,beforeRemoveClass:H1,beforeAddClass:F1,onFinish:Tc,isRunning:Rf,progressStart:dC,progressStep:uC,progressEnd:hC}},Y2="ionViewWillEnter",K2="ionViewDidEnter",mx="ionViewWillLeave",gx="ionViewDidLeave",td="ionViewWillUnload",X2=()=>$t(()=>import("./ios.transition-UMER0La9.js"),__vite__mapDeps([])),G2=()=>$t(()=>import("./md.transition-xCmsygAo.js"),__vite__mapDeps([])),bx=e=>new Promise((t,n)=>{Ft(()=>{Q2(e),Z2(e).then(i=>{i.animation&&i.animation.destroy(),pg(e),t(i)},i=>{pg(e),n(i)})})}),Q2=e=>{const t=e.enteringEl,n=e.leavingEl;oT(t,n,e.direction),e.showGoBack?t.classList.add("can-go-back"):t.classList.remove("can-go-back"),Iu(t,!1),t.style.setProperty("pointer-events","none"),n&&(Iu(n,!1),n.style.setProperty("pointer-events","none"))},Z2=async e=>{const t=await J2(e);return t&&YE.isBrowser?eT(t,e):tT(e)},pg=e=>{const t=e.enteringEl,n=e.leavingEl;t.classList.remove("ion-page-invisible"),t.style.removeProperty("pointer-events"),n!==void 0&&(n.classList.remove("ion-page-invisible"),n.style.removeProperty("pointer-events"))},J2=async e=>!e.leavingEl||!e.animated||e.duration===0?void 0:e.animationBuilder?e.animationBuilder:e.mode==="ios"?(await X2()).iosTransitionAnimation:(await G2()).mdTransitionAnimation,eT=async(e,t)=>{await vx(t,!0);const n=e(t.baseEl,t);yx(t.enteringEl,t.leavingEl);const i=await iT(n,t);return t.progressCallback&&t.progressCallback(void 0),i&&xx(t.enteringEl,t.leavingEl),{hasCompleted:i,animation:n}},tT=async e=>{const t=e.enteringEl,n=e.leavingEl;return await vx(e,!1),yx(t,n),xx(t,n),{hasCompleted:!0}},vx=async(e,t)=>{(e.deepWait!==void 0?e.deepWait:t)&&await Promise.all([Jr(e.enteringEl),Jr(e.leavingEl)]),await nT(e.viewIsReady,e.enteringEl)},nT=async(e,t)=>{e&&await e(t)},iT=(e,t)=>{const n=t.progressCallback,i=new Promise(o=>{e.onFinish(r=>o(r===1))});return n?(e.progressStart(!0),n(e)):e.play(),i},yx=(e,t)=>{un(t,mx),un(e,Y2)},xx=(e,t)=>{un(e,K2),un(t,gx)},un=(e,t)=>{if(e){const n=new CustomEvent(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(n)}},wx=()=>new Promise(e=>Ie(()=>Ie(()=>e()))),Jr=async e=>{const t=e;if(t){if(t.componentOnReady!=null){if(await t.componentOnReady()!=null)return}else if(t.__registerHost!=null){await new Promise(i=>Ie(i));return}await Promise.all(Array.from(t.children).map(Jr))}},Iu=(e,t)=>{t?(e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden")):(e.hidden=!1,e.removeAttribute("aria-hidden"),e.classList.remove("ion-page-hidden"))},oT=(e,t,n)=>{e!==void 0&&(e.style.zIndex=n==="back"?"99":"101"),t!==void 0&&(t.style.zIndex="100")},jz=e=>{if(e.classList.contains("ion-page"))return e;const t=e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs");return t||e};/*! * (C) Ionic http://ionicframework.com - MIT License */const $i=(e,t,n,i,o)=>sT(e[1],t[1],n[1],i[1],o).map(r=>rT(e[0],t[0],n[0],i[0],r)),rT=(e,t,n,i,o)=>{const r=3*t*Math.pow(o-1,2),s=-3*n*o+3*n+i*o,a=e*Math.pow(o-1,3);return o*(r+o*s)-a},sT=(e,t,n,i,o)=>(e-=o,t-=o,n-=o,i-=o,lT(i-3*n+3*t-e,3*n-6*t+3*e,3*t-3*e,e).filter(s=>s>=0&&s<=1)),aT=(e,t,n)=>{const i=t*t-4*e*n;return i<0?[]:[(-t+Math.sqrt(i))/(2*e),(-t-Math.sqrt(i))/(2*e)]},lT=(e,t,n,i)=>{if(e===0)return aT(t,n,i);t/=e,n/=e,i/=e;const o=(3*n-t*t)/3,r=(2*t*t*t-9*t*n+27*i)/27;if(o===0)return[Math.pow(-r,1/3)];if(r===0)return[Math.sqrt(-o),-Math.sqrt(-o)];const s=Math.pow(r/2,2)+Math.pow(o/3,3);if(s===0)return[Math.pow(r/2,1/2)-t/3];if(s>0)return[Math.pow(-(r/2)+Math.sqrt(s),1/3)-Math.pow(r/2+Math.sqrt(s),1/3)-t/3];const a=Math.sqrt(Math.pow(-(o/3),3)),l=Math.acos(-(r/(2*Math.sqrt(Math.pow(-(o/3),3))))),c=2*Math.pow(a,1/3);return[c*Math.cos(l/3)-t/3,c*Math.cos((l+2*Math.PI)/3)-t/3,c*Math.cos((l+4*Math.PI)/3)-t/3]};/*! * (C) Ionic http://ionicframework.com - MIT License */class cT{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(t){var n;return new dT(this,this.newID(),t.name,(n=t.priority)!==null&&n!==void 0?n:0,!!t.disableScroll)}createBlocker(t={}){return new uT(this,this.newID(),t.disable,!!t.disableScroll)}start(t,n,i){return this.canStart(t)?(this.requestedStart.set(n,i),!0):(this.requestedStart.delete(n),!1)}capture(t,n,i){if(!this.start(t,n,i))return!1;const o=this.requestedStart;let r=-1e4;if(o.forEach(s=>{r=Math.max(r,s)}),r===i){this.capturedId=n,o.clear();const s=new CustomEvent("ionGestureCaptured",{detail:{gestureName:t}});return document.dispatchEvent(s),!0}return o.delete(n),!1}release(t){this.requestedStart.delete(t),this.capturedId===t&&(this.capturedId=void 0)}disableGesture(t,n){let i=this.disabledGestures.get(t);i===void 0&&(i=new Set,this.disabledGestures.set(t,i)),i.add(n)}enableGesture(t,n){const i=this.disabledGestures.get(t);i!==void 0&&i.delete(n)}disableScroll(t){this.disabledScroll.add(t),this.disabledScroll.size===1&&document.body.classList.add(fg)}enableScroll(t){this.disabledScroll.delete(t),this.disabledScroll.size===0&&document.body.classList.remove(fg)}canStart(t){return!(this.capturedId!==void 0||this.isDisabled(t))}isCaptured(){return this.capturedId!==void 0}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(t){const n=this.disabledGestures.get(t);return!!(n&&n.size>0)}newID(){return this.gestureId++,this.gestureId}}class dT{constructor(t,n,i,o,r){this.id=n,this.name=i,this.disableScroll=r,this.priority=o*1e6+n,this.ctrl=t}canStart(){return this.ctrl?this.ctrl.canStart(this.name):!1}start(){return this.ctrl?this.ctrl.start(this.name,this.id,this.priority):!1}capture(){if(!this.ctrl)return!1;const t=this.ctrl.capture(this.name,this.id,this.priority);return t&&this.disableScroll&&this.ctrl.disableScroll(this.id),t}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class uT{constructor(t,n,i,o){this.id=n,this.disable=i,this.disableScroll=o,this.ctrl=t}block(){if(this.ctrl){if(this.disable)for(const t of this.disable)this.ctrl.disableGesture(t,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const t of this.disable)this.ctrl.enableGesture(t,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const fg="backdrop-no-scroll",$l=new cT;/*! * (C) Ionic http://ionicframework.com - MIT License */const ui=(e,t,n,i)=>{const o=hT(e)?{capture:!!i.capture,passive:!!i.passive}:!!i.capture;let r,s;return e.__zone_symbol__addEventListener?(r="__zone_symbol__addEventListener",s="__zone_symbol__removeEventListener"):(r="addEventListener",s="removeEventListener"),e[r](t,n,o),()=>{e[s](t,n,o)}},hT=e=>{if(Ws===void 0)try{const t=Object.defineProperty({},"passive",{get:()=>{Ws=!0}});e.addEventListener("optsTest",()=>{},t)}catch{Ws=!1}return!!Ws};let Ws;const pT=2e3,fT=(e,t,n,i,o)=>{let r,s,a,l,c,d,u,h=0;const p=S=>{h=Date.now()+pT,t(S)&&(!s&&n&&(s=ui(e,"touchmove",n,o)),a||(a=ui(S.target,"touchend",m,o)),l||(l=ui(S.target,"touchcancel",m,o)))},f=S=>{h>Date.now()||t(S)&&(!d&&n&&(d=ui(mg(e),"mousemove",n,o)),u||(u=ui(mg(e),"mouseup",x,o)))},m=S=>{b(),i&&i(S)},x=S=>{g(),i&&i(S)},b=()=>{s&&s(),a&&a(),l&&l(),s=a=l=void 0},g=()=>{d&&d(),u&&u(),d=u=void 0},v=()=>{b(),g()},w=(S=!0)=>{S?(r||(r=ui(e,"touchstart",p,o)),c||(c=ui(e,"mousedown",f,o))):(r&&r(),c&&c(),r=c=void 0,v())};return{enable:w,stop:v,destroy:()=>{w(!1),i=n=t=void 0}}},mg=e=>e instanceof Document?e:e.ownerDocument,mT=(e,t,n)=>{const i=n*(Math.PI/180),o=e==="x",r=Math.cos(i),s=t*t;let a=0,l=0,c=!1,d=0;return{start(u,h){a=u,l=h,d=0,c=!0},detect(u,h){if(!c)return!1;const p=u-a,f=h-l,m=p*p+f*f;if(mr?d=1:b<-r?d=-1:d=0,c=!1,!0},isGesture(){return d!==0},getDirection(){return d}}},_l=e=>{let t=!1,n=!1,i=!0,o=!1;const r=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},e),s=r.canStart,a=r.onWillStart,l=r.onStart,c=r.onEnd,d=r.notCaptured,u=r.onMove,h=r.threshold,p=r.passive,f=r.blurOnStart,m={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},x=mT(r.direction,r.threshold,r.maxAngle),b=$l.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),g=V=>{const Y=Cx(V);return n||!i||(kx(V,m),m.startX=m.currentX,m.startY=m.currentY,m.startTime=m.currentTime=Y,m.velocityX=m.velocityY=m.deltaX=m.deltaY=0,m.event=V,s&&s(m)===!1)||(b.release(),!b.start())?!1:(n=!0,h===0?E():(x.start(m.startX,m.startY),!0))},v=V=>{if(t){!o&&i&&(o=!0,nd(m,V),requestAnimationFrame(w));return}nd(m,V),x.detect(m.currentX,m.currentY)&&(!x.isGesture()||!E())&&R()},w=()=>{t&&(o=!1,u&&u(m))},E=()=>b.capture()?(t=!0,i=!1,m.startX=m.currentX,m.startY=m.currentY,m.startTime=m.currentTime,a?a(m).then(k):k(),!0):!1,S=()=>{if(typeof document<"u"){const V=document.activeElement;V!=null&&V.blur&&V.blur()}},k=()=>{f&&S(),l&&l(m),i=!0},C=()=>{t=!1,n=!1,o=!1,i=!0,b.release()},A=V=>{const Y=t,K=i;if(C(),!!K){if(nd(m,V),Y){c&&c(m);return}d&&d(m)}},D=fT(r.el,g,v,A,{capture:!1,passive:p}),R=()=>{C(),D.stop(),d&&d(m)};return{enable(V=!0){V||(t&&A(void 0),C()),D.enable(V)},destroy(){b.destroy(),D.destroy()}}},nd=(e,t)=>{if(!t)return;const n=e.currentX,i=e.currentY,o=e.currentTime;kx(t,e);const r=e.currentX,s=e.currentY,l=(e.currentTime=Cx(t))-o;if(l>0&&l<100){const c=(r-n)/l,d=(s-i)/l;e.velocityX=c*.7+e.velocityX*.3,e.velocityY=d*.7+e.velocityY*.3}e.deltaX=r-e.startX,e.deltaY=s-e.startY,e.event=t},kx=(e,t)=>{let n=0,i=0;if(e){const o=e.changedTouches;if(o&&o.length>0){const r=o[0];n=r.clientX,i=r.clientY}else e.pageX!==void 0&&(n=e.pageX,i=e.pageY)}t.currentX=n,t.currentY=i},Cx=e=>e.timeStamp||Date.now(),Sx=Object.freeze(Object.defineProperty({__proto__:null,GESTURE_CONTROLLER:$l,createGesture:_l},Symbol.toStringTag,{value:"Module"}));/*! * (C) Ionic http://ionicframework.com - MIT License */class gT{constructor(){this.m=new Map}reset(t){this.m=new Map(Object.entries(t))}get(t,n){const i=this.m.get(t);return i!==void 0?i:n}getBoolean(t,n=!1){const i=this.m.get(t);return i===void 0?n:typeof i=="string"?i==="true":!!i}getNumber(t,n){const i=parseFloat(this.m.get(t));return isNaN(i)?n!==void 0?n:NaN:i}set(t,n){this.m.set(t,n)}}const le=new gT,bT=e=>{try{const t=e.sessionStorage.getItem(Ex);return t!==null?JSON.parse(t):{}}catch{return{}}},vT=(e,t)=>{try{e.sessionStorage.setItem(Ex,JSON.stringify(t))}catch{return}},yT=e=>{const t={};return e.location.search.slice(1).split("&").map(n=>n.split("=")).map(([n,i])=>[decodeURIComponent(n),decodeURIComponent(i)]).filter(([n])=>xT(n,gg)).map(([n,i])=>[n.slice(gg.length),i]).forEach(([n,i])=>{t[n]=i}),t},xT=(e,t)=>e.substr(0,t.length)===t,gg="ionic:",Ex="ionic-persist-config",wT=e=>Tx(e),fn=(e,t)=>(typeof e=="string"&&(t=e,e=void 0),wT(e).includes(t)),Tx=(e=window)=>{if(typeof e>"u")return[];e.Ionic=e.Ionic||{};let t=e.Ionic.platforms;return t==null&&(t=e.Ionic.platforms=kT(e),t.forEach(n=>e.document.documentElement.classList.add(`plt-${n}`))),t},kT=e=>{const t=le.get("platform");return Object.keys(bg).filter(n=>{const i=t==null?void 0:t[n];return typeof i=="function"?i(e):bg[n](e)})},CT=e=>zl(e)&&!Ax(e),yp=e=>!!(_i(e,/iPad/i)||_i(e,/Macintosh/i)&&zl(e)),ST=e=>_i(e,/iPhone/i),ET=e=>_i(e,/iPhone|iPod/i)||yp(e),Px=e=>_i(e,/android|sink/i),TT=e=>Px(e)&&!_i(e,/mobile/i),PT=e=>{const t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),o=Math.max(t,n);return i>390&&i<520&&o>620&&o<800},AT=e=>{const t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),o=Math.max(t,n);return yp(e)||TT(e)||i>460&&i<820&&o>780&&o<1400},zl=e=>RT(e,"(any-pointer:coarse)"),LT=e=>!zl(e),Ax=e=>Lx(e)||Ix(e),Lx=e=>!!(e.cordova||e.phonegap||e.PhoneGap),Ix=e=>{const t=e.Capacitor;return!!(t!=null&&t.isNative)},IT=e=>_i(e,/electron/i),OT=e=>{var t;return!!(!((t=e.matchMedia)===null||t===void 0)&&t.call(e,"(display-mode: standalone)").matches||e.navigator.standalone)},_i=(e,t)=>t.test(e.navigator.userAgent),RT=(e,t)=>{var n;return(n=e.matchMedia)===null||n===void 0?void 0:n.call(e,t).matches},bg={ipad:yp,iphone:ST,ios:ET,android:Px,phablet:PT,tablet:AT,cordova:Lx,capacitor:Ix,electron:IT,pwa:OT,mobile:zl,mobileweb:CT,desktop:LT,hybrid:Ax};let eo;const W=e=>e&&o2(e)||eo,DT=(e={})=>{if(typeof window>"u")return;const t=window.document,n=window,i=n.Ionic=n.Ionic||{},o={};e._ael&&(o.ael=e._ael),e._rel&&(o.rel=e._rel),e._ce&&(o.ce=e._ce),R2(o);const r=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},bT(n)),{persistConfig:!1}),i.config),yT(n)),e);le.reset(r),le.getBoolean("persistConfig")&&vT(n,r),Tx(n),i.config=le,i.mode=eo=le.get("mode",t.documentElement.getAttribute("mode")||(fn(n,"ios")?"ios":"md")),le.set("mode",eo),t.documentElement.setAttribute("mode",eo),t.documentElement.classList.add(eo),le.getBoolean("_testing")&&le.set("animated",!1);const s=l=>{var c;return(c=l.tagName)===null||c===void 0?void 0:c.startsWith("ION-")},a=l=>["ios","md"].includes(l);i2(l=>{for(;l;){const c=l.mode||l.getAttribute("mode");if(c){if(a(c))return c;s(l)&&console.warn('Invalid ionic mode: "'+c+'", expected: "ios" or "md"')}l=l.parentElement}return eo})};/*! * (C) Ionic http://ionicframework.com - MIT License */const $T=e=>{try{if(e instanceof BT)return e.value;if(!_T()||typeof e!="string"||e==="")return e;if(e.includes("onload="))return"";const t=document.createDocumentFragment(),n=document.createElement("div");t.appendChild(n),n.innerHTML=e,MT.forEach(s=>{const a=t.querySelectorAll(s);for(let l=a.length-1;l>=0;l--){const c=a[l];c.parentNode?c.parentNode.removeChild(c):t.removeChild(c);const d=Ru(c);for(let u=0;u{if(e.nodeType&&e.nodeType!==1)return;if(typeof NamedNodeMap<"u"&&!(e.attributes instanceof NamedNodeMap)){e.remove();return}for(let n=e.attributes.length-1;n>=0;n--){const i=e.attributes.item(n),o=i.name;if(!zT.includes(o.toLowerCase())){e.removeAttribute(o);continue}const r=i.value,s=e[o];(r!=null&&r.toLowerCase().includes("javascript:")||s!=null&&s.toLowerCase().includes("javascript:"))&&e.removeAttribute(o)}const t=Ru(e);for(let n=0;ne.children!=null?e.children:e.childNodes,_T=()=>{var e;const t=window,n=(e=t==null?void 0:t.Ionic)===null||e===void 0?void 0:e.config;return n?n.get?n.get("sanitizerEnabled",!0):n.sanitizerEnabled===!0||n.sanitizerEnabled===void 0:!0},zT=["class","id","href","src","name","slot"],MT=["script","style","iframe","meta","link","object","embed"];class BT{constructor(t){this.value=t}}const jT=!1;/*! * (C) Ionic http://ionicframework.com - MIT License */const De=(e,t)=>t.closest(e)!==null,Ke=(e,t)=>typeof e=="string"&&e.length>0?Object.assign({"ion-color":!0,[`ion-color-${e}`]:!0},t):t,VT=e=>e!==void 0?(Array.isArray(e)?e:e.split(" ")).filter(n=>n!=null).map(n=>n.trim()).filter(n=>n!==""):[],Mt=e=>{const t={};return VT(e).forEach(n=>t[n]=!0),t},FT=/^[a-z][a-z0-9+\-.]*:/,Ox=async(e,t,n,i)=>{if(e!=null&&e[0]!=="#"&&!FT.test(e)){const o=document.querySelector("ion-router");if(o)return t!=null&&t.preventDefault(),o.push(e,n,i)}return!1};/*! * (C) Ionic http://ionicframework.com - MIT License */const HT=()=>{document.addEventListener("backbutton",()=>{})},NT=()=>{const e=document;let t=!1;e.addEventListener("backbutton",()=>{if(t)return;let n=0,i=[];const o=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(a,l){i.push({priority:a,handler:l,id:n++})}}});e.dispatchEvent(o);const r=async a=>{try{if(a!=null&&a.handler){const l=a.handler(s);l!=null&&await l}}catch(l){console.error(l)}},s=()=>{if(i.length>0){let a={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};i.forEach(l=>{l.priority>=a.priority&&(a=l)}),t=!0,i=i.filter(l=>l.id!==a.id),r(a).then(()=>t=!1)}};s()})},Rx=100,Dx=99,UT=Object.freeze(Object.defineProperty({__proto__:null,MENU_BACK_BUTTON_PRIORITY:Dx,OVERLAY_BACK_BUTTON_PRIORITY:Rx,blockHardwareBackButton:HT,startHardwareBackButton:NT},Symbol.toStringTag,{value:"Module"}));/*! * (C) Ionic http://ionicframework.com - MIT License */const pe=(e,...t)=>console.warn(`[Ionic Warning]: ${e}`,...t),WT=(e,...t)=>console.error(`[Ionic Error]: ${e}`,...t),qT=(e,...t)=>console.error(`<${e.tagName.toLowerCase()}> must be used inside ${t.join(" or ")}.`);/*! * (C) Ionic http://ionicframework.com - MIT License */const xp=e=>U().duration(e?400:300),YT=e=>{let t,n;const i=e.width+8,o=U(),r=U();e.isEndSide?(t=i+"px",n="0px"):(t=-i+"px",n="0px"),o.addElement(e.menuInnerEl).fromTo("transform",`translateX(${t})`,`translateX(${n})`);const a=W(e)==="ios",l=a?.2:.25;return r.addElement(e.backdropEl).fromTo("opacity",.01,l),xp(a).addAnimation([o,r])},KT=e=>{let t,n;const i=W(e),o=e.width;e.isEndSide?(t=-o+"px",n=o+"px"):(t=o+"px",n=-o+"px");const r=U().addElement(e.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),s=U().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${t})`),a=U().addElement(e.backdropEl).fromTo("opacity",.01,.32);return xp(i==="ios").addAnimation([r,s,a])},XT=e=>{const t=W(e),n=e.width*(e.isEndSide?-1:1)+"px",i=U().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);return xp(t==="ios").addAnimation(i)},GT=()=>{const e=new Map,t=[],n=async k=>{const C=await c(k,!0);return C?C.open():!1},i=async k=>{const C=await(k!==void 0?c(k,!0):d());return C!==void 0?C.close():!1},o=async k=>{const C=await c(k,!0);return C?C.toggle():!1},r=async(k,C)=>{const A=await c(C);return A&&(A.disabled=!k),A},s=async(k,C)=>{const A=await c(C);return A&&(A.swipeGesture=k),A},a=async k=>{if(k!=null){const C=await c(k);return C!==void 0&&C.isOpen()}else return await d()!==void 0},l=async k=>{const C=await c(k);return C?!C.disabled:!1},c=async(k,C=!1)=>{if(await S(),k==="start"||k==="end"){const D=t.filter(V=>V.side===k&&!V.disabled);if(D.length>=1)return D.length>1&&C&&pe(`menuController queried for a menu on the "${k}" side, but ${D.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.`,D.map(V=>V.el)),D[0].el;const R=t.filter(V=>V.side===k);if(R.length>=1)return R.length>1&&C&&pe(`menuController queried for a menu on the "${k}" side, but ${R.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.`,R.map(V=>V.el)),R[0].el}else if(k!=null)return E(D=>D.menuId===k);const A=E(D=>!D.disabled);return A||(t.length>0?t[0].el:void 0)},d=async()=>(await S(),g()),u=async()=>(await S(),v()),h=async()=>(await S(),w()),p=(k,C)=>{e.set(k,C)},f=k=>{t.indexOf(k)<0&&t.push(k)},m=k=>{const C=t.indexOf(k);C>-1&&t.splice(C,1)},x=async(k,C,A)=>{if(w())return!1;if(C){const D=await d();D&&k.el!==D&&await D.setOpen(!1,!1)}return k._setOpen(C,A)},b=(k,C)=>{const A=e.get(k);if(!A)throw new Error("animation not registered");return A(C)},g=()=>E(k=>k._isOpen),v=()=>t.map(k=>k.el),w=()=>t.some(k=>k.isAnimating),E=k=>{const C=t.find(k);if(C!==void 0)return C.el},S=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(k=>new Promise(C=>ei(k,C))));return p("reveal",XT),p("push",KT),p("overlay",YT),Gn==null||Gn.addEventListener("ionBackButton",k=>{const C=g();C&&k.detail.register(Dx,()=>C.close())}),{registerAnimation:p,get:c,getMenus:u,getOpen:d,isEnabled:l,swipeGesture:s,isAnimating:h,isOpen:a,enable:r,toggle:o,close:i,open:n,_getOpenSync:g,_createAnimation:b,_register:f,_unregister:m,_setOpen:x}},jn=GT();/*! * (C) Ionic http://ionicframework.com - MIT License */const Ml=async(e,t,n,i,o,r)=>{var s;if(e)return e.attachViewToDom(t,n,o,i);if(!r&&typeof n!="string"&&!(n instanceof HTMLElement))throw new Error("framework delegate is missing");const a=typeof n=="string"?(s=t.ownerDocument)===null||s===void 0?void 0:s.createElement(n):n;return i&&i.forEach(l=>a.classList.add(l)),o&&Object.assign(a,o),t.appendChild(a),await new Promise(l=>ei(a,l)),a},wp=(e,t)=>{if(t){if(e){const n=t.parentElement;return e.removeViewFromDom(n,t)}t.remove()}return Promise.resolve()},kp=()=>{let e,t;return{attachViewToDom:async(o,r,s={},a=[])=>{var l,c;e=o;let d;if(r){const h=typeof r=="string"?(l=e.ownerDocument)===null||l===void 0?void 0:l.createElement(r):r;a.forEach(p=>h.classList.add(p)),Object.assign(h,s),e.appendChild(h),d=h,await new Promise(p=>ei(h,p))}else if(e.children.length>0&&(e.tagName==="ION-MODAL"||e.tagName==="ION-POPOVER")&&!(d=e.children[0]).classList.contains("ion-delegate-host")){const p=(c=e.ownerDocument)===null||c===void 0?void 0:c.createElement("div");p.classList.add("ion-delegate-host"),a.forEach(f=>p.classList.add(f)),p.append(...e.children),e.appendChild(p),d=p}const u=document.querySelector("ion-app")||document.body;return t=document.createComment("ionic teleport"),e.parentNode.insertBefore(t,e),u.appendChild(e),d??e},removeViewFromDom:()=>(e&&t&&(t.parentNode.insertBefore(e,t),t.remove()),Promise.resolve())}};/*! * (C) Ionic http://ionicframework.com - MIT License */let Du=0,QT=0;const Za=new WeakMap,Cp=e=>({create(t){return tP(e,t)},dismiss(t,n,i){return rP(document,t,n,e,i)},async getTop(){return $o(document,e)}}),ZT=Cp("ion-alert"),JT=Cp("ion-action-sheet"),eP=Cp("ion-popover"),Bl=e=>{typeof document<"u"&&oP(document);const t=Du++;e.overlayIndex=t},jl=e=>(e.hasAttribute("id")||(e.id=`ion-overlay-${++QT}`),e.id),tP=(e,t)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(e).then(()=>{const n=document.createElement(e);return n.classList.add("overlay-hidden"),Object.assign(n,Object.assign(Object.assign({},t),{hasController:!0})),zx(document).appendChild(n),new Promise(i=>ei(n,i))}):Promise.resolve(),es='[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])',$u=(e,t)=>{let n=e.querySelector(es);const i=n==null?void 0:n.shadowRoot;i&&(n=i.querySelector(es)||n),n?Lu(n):t.focus()},nP=e=>e.classList.contains("overlay-hidden"),vg=(e,t)=>{const n=Array.from(e.querySelectorAll(es));let i=n.length>0?n[n.length-1]:null;const o=i==null?void 0:i.shadowRoot;o&&(i=o.querySelector(es)||i),i?i.focus():t.focus()},iP=(e,t)=>{const n=$o(t,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),i=e.target;if(!n||!i||n.classList.contains("ion-disable-focus-trap"))return;const o=()=>{if(n===i)n.lastFocus=void 0;else{const s=pt(n);if(!s.contains(i))return;const a=s.querySelector(".ion-overlay-wrapper");if(!a)return;if(a.contains(i)||i===s.querySelector("ion-backdrop"))n.lastFocus=i;else{const l=n.lastFocus;$u(a,n),l===t.activeElement&&vg(a,n),n.lastFocus=t.activeElement}}},r=()=>{if(n.contains(i))n.lastFocus=i;else{const s=n.lastFocus;$u(n,n),s===t.activeElement&&vg(n,n),n.lastFocus=t.activeElement}};n.shadowRoot?r():o()},oP=e=>{Du===0&&(Du=1,e.addEventListener("focus",t=>{iP(t,e)},!0),e.addEventListener("ionBackButton",t=>{const n=$o(e);n!=null&&n.backdropDismiss&&t.detail.register(Rx,()=>n.dismiss(void 0,zi))}),e.addEventListener("keydown",t=>{if(t.key==="Escape"){const n=$o(e);n!=null&&n.backdropDismiss&&n.dismiss(void 0,zi)}}))},rP=(e,t,n,i,o)=>{const r=$o(e,i,o);return r?r.dismiss(t,n):Promise.reject("overlay does not exist")},sP=(e,t)=>(t===void 0&&(t="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(e.querySelectorAll(t)).filter(n=>n.overlayIndex>0)),$x=(e,t)=>sP(e,t).filter(n=>!nP(n)),$o=(e,t,n)=>{const i=$x(e,t);return n===void 0?i[i.length-1]:i.find(o=>o.id===n)},_x=(e=!1)=>{const n=zx(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");n&&(e?n.setAttribute("aria-hidden","true"):n.removeAttribute("aria-hidden"))},Vl=async(e,t,n,i,o)=>{var r,s;if(e.presented)return;_x(!0),e.presented=!0,e.willPresent.emit(),(r=e.willPresentShorthand)===null||r===void 0||r.emit();const a=W(e),l=e.enterAnimation?e.enterAnimation:le.get(t,a==="ios"?n:i);await Mx(e,l,e.el,o)&&(e.didPresent.emit(),(s=e.didPresentShorthand)===null||s===void 0||s.emit()),e.el.tagName!=="ION-TOAST"&&aP(e.el),e.keyboardClose&&(document.activeElement===null||!e.el.contains(document.activeElement))&&e.el.focus()},aP=async e=>{let t=document.activeElement;if(!t)return;const n=t==null?void 0:t.shadowRoot;n&&(t=n.querySelector(es)||t),await e.onDidDismiss(),t.focus()},Fl=async(e,t,n,i,o,r,s)=>{var a,l;if(!e.presented)return!1;Gn!==void 0&&$x(Gn).length===1&&_x(!1),e.presented=!1;try{e.el.style.setProperty("pointer-events","none"),e.willDismiss.emit({data:t,role:n}),(a=e.willDismissShorthand)===null||a===void 0||a.emit({data:t,role:n});const c=W(e),d=e.leaveAnimation?e.leaveAnimation:le.get(i,c==="ios"?o:r);n!==Tr&&await Mx(e,d,e.el,s),e.didDismiss.emit({data:t,role:n}),(l=e.didDismissShorthand)===null||l===void 0||l.emit({data:t,role:n}),Za.delete(e),e.el.classList.add("overlay-hidden"),e.el.style.removeProperty("pointer-events"),e.el.lastFocus!==void 0&&(e.el.lastFocus=void 0)}catch(c){console.error(c)}return e.el.remove(),!0},zx=e=>e.querySelector("ion-app")||e.body,Mx=async(e,t,n,i)=>{n.classList.remove("overlay-hidden");const o=e.el,r=t(o,i);(!e.animated||!le.getBoolean("animated",!0))&&r.duration(0),e.keyboardClose&&r.beforeAddWrite(()=>{const a=n.ownerDocument.activeElement;a!=null&&a.matches("input,ion-input, ion-textarea")&&a.blur()});const s=Za.get(e)||[];return Za.set(e,[...s,r]),await r.play(),!0},ti=(e,t)=>{let n;const i=new Promise(o=>n=o);return lP(e,t,o=>{n(o.detail)}),i},lP=(e,t,n)=>{const i=o=>{hx(e,t,i),n(o)};gp(e,t,i)},Ja=e=>e==="cancel"||e===zi,cP=e=>e(),Er=(e,t)=>{if(typeof e=="function")return le.get("_zoneGate",cP)(()=>{try{return e(t)}catch(i){throw i}})},zi="backdrop",Tr="gesture",dP=39,Bx=e=>{let t=!1,n;const i=kp(),o=(a=!1)=>{if(n&&!a)return{delegate:n,inline:t};const{el:l,hasController:c,delegate:d}=e;return t=l.parentNode!==null&&!c,n=t?d||i:d,{inline:t,delegate:n}};return{attachViewToDom:async a=>{const{delegate:l}=o(!0);if(l)return await l.attachViewToDom(e.el,a);const{hasController:c}=e;if(c&&a!==void 0)throw new Error("framework delegate is missing");return null},removeViewFromDom:()=>{const{delegate:a}=o();a&&e.el!==void 0&&a.removeViewFromDom(e.el.parentElement,e.el)}}},Sp=()=>{let e;const t=()=>{e&&(e(),e=void 0)};return{addClickListener:(i,o)=>{t();const r=o!==void 0?document.getElementById(o):null;if(!r){pe(`A trigger element with the ID "${o}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,i);return}e=((a,l)=>{const c=()=>{l.present()};return a.addEventListener("click",c),()=>{a.removeEventListener("click",c)}})(r,i)},removeClickListener:t}};function Xe(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(e);o{if(typeof window>"u")return new Map;if(!id){const e=window;e.Ionicons=e.Ionicons||{},id=e.Ionicons.map=e.Ionicons.map||new Map}return id},gP=e=>{let t=od(e.src);return t||(t=jx(e.name,e.icon,e.mode,e.ios,e.md),t?bP(t,e):e.icon&&(t=od(e.icon),t||(t=od(e.icon[e.mode]),t))?t:null)},bP=(e,t)=>{const n=mP().get(e);if(n)return n;try{return Qy(`svg/${e}.svg`)}catch{console.warn(`[Ionicons Warning]: Could not load icon with name "${e}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,t)}},jx=(e,t,n,i,o)=>(n=(n&&qs(n))==="ios"?"ios":"md",i&&n==="ios"?e=qs(i):o&&n==="md"?e=qs(o):(!e&&t&&!Vx(t)&&(e=t),el(e)&&(e=qs(e))),!el(e)||e.trim()===""||e.replace(/[a-z]|-|\d/gi,"")!==""?null:e),od=e=>el(e)&&(e=e.trim(),Vx(e))?e:null,Vx=e=>e.length>0&&/(\/|\.)/.test(e),el=e=>typeof e=="string",qs=e=>e.toLowerCase(),vP=(e,t=[])=>{const n={};return t.forEach(i=>{e.hasAttribute(i)&&(e.getAttribute(i)!==null&&(n[i]=e.getAttribute(i)),e.removeAttribute(i))}),n},yP=e=>e&&e.dir!==""?e.dir.toLowerCase()==="rtl":(document==null?void 0:document.dir.toLowerCase())==="rtl",xP=e=>{const t=document.createElement("div");t.innerHTML=e;for(let i=t.childNodes.length-1;i>=0;i--)t.childNodes[i].nodeName.toLowerCase()!=="svg"&&t.removeChild(t.childNodes[i]);const n=t.firstElementChild;if(n&&n.nodeName.toLowerCase()==="svg"){const i=n.getAttribute("class")||"";if(n.setAttribute("class",(i+" s-ion-icon").trim()),Fx(n))return t.innerHTML}return""},Fx=e=>{if(e.nodeType===1){if(e.nodeName.toLowerCase()==="script")return!1;for(let t=0;te.startsWith("data:image/svg+xml"),kP=e=>e.indexOf(";utf8,")!==-1,wi=new Map,xg=new Map;let rd;const CP=(e,t)=>{let n=xg.get(e);if(!n)if(typeof fetch<"u"&&typeof document<"u")if(wP(e)&&kP(e)){rd||(rd=new DOMParser);const o=rd.parseFromString(e,"text/html").querySelector("svg");return o&&wi.set(e,o.outerHTML),Promise.resolve()}else n=fetch(e).then(i=>{if(i.ok)return i.text().then(o=>{o&&t!==!1&&(o=xP(o)),wi.set(e,o||"")});wi.set(e,"")}),xg.set(e,n);else return wi.set(e,""),Promise.resolve();return n},SP=":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)}",EP=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.didLoadIcon=!1,this.svgContent=void 0,this.isVisible=!1,this.mode=TP(),this.color=void 0,this.ios=void 0,this.md=void 0,this.flipRtl=void 0,this.name=void 0,this.src=void 0,this.icon=void 0,this.size=void 0,this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=vP(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(t,n,i){if(this.lazy&&typeof window<"u"&&window.IntersectionObserver){const o=this.io=new window.IntersectionObserver(r=>{r[0].isIntersecting&&(o.disconnect(),this.io=void 0,i())},{rootMargin:n});o.observe(t)}else i()}loadIcon(){if(this.isVisible){const t=gP(this);t&&(wi.has(t)?this.svgContent=wi.get(t):CP(t,this.sanitize).then(()=>this.svgContent=wi.get(t)),this.didLoadIcon=!0)}this.iconName=jx(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:t,iconName:n,inheritedAttributes:i,el:o}=this,r=this.mode||"md",s=n?(n.includes("arrow")||n.includes("chevron"))&&t!==!1:!1,a=t||s;return y(ee,Object.assign({role:"img",class:Object.assign(Object.assign({[r]:!0},PP(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":a,"icon-rtl":a&&yP(o)})},i),this.svgContent?y("div",{class:"icon-inner",innerHTML:this.svgContent}):y("div",{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}static get style(){return SP}},[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]},void 0,{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}]),TP=()=>typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",PP=e=>e?{"ion-color":!0,[`ion-color-${e}`]:!0}:null;function gs(){if(typeof customElements>"u")return;["ion-icon"].forEach(t=>{switch(t){case"ion-icon":customElements.get(t)||customElements.define(t,EP);break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const AP=":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)}",LP=":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)}",IP=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionBackdropTap=B(this,"ionBackdropTap",7),this.blocker=$l.createBlocker({disableScroll:!0}),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}connectedCallback(){this.stopPropagation&&this.blocker.block()}disconnectedCallback(){this.blocker.unblock()}onMouseDown(t){this.emitTap(t)}emitTap(t){this.stopPropagation&&(t.preventDefault(),t.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){const t=W(this);return y(ee,{tabindex:"-1","aria-hidden":"true",class:{[t]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}static get style(){return{ios:AP,md:LP}}},[33,"ion-backdrop",{visible:[4],tappable:[4],stopPropagation:[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]);function Uo(){if(typeof customElements>"u")return;["ion-backdrop"].forEach(t=>{switch(t){case"ion-backdrop":customElements.get(t)||customElements.define(t,IP);break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const OP=".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}",RP=".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}",DP=ne(class extends ie{constructor(){super(),this.__registerHost(),this.collapse=!1}render(){const t=W(this);return y(ee,{class:{[t]:!0,"buttons-collapse":this.collapse}})}static get style(){return{ios:OP,md:RP}}},[34,"ion-buttons",{collapse:[4]}]);function $P(){if(typeof customElements>"u")return;["ion-buttons"].forEach(t=>{switch(t){case"ion-buttons":customElements.get(t)||customElements.define(t,DP);break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const _P=$P;/*! * (C) Ionic http://ionicframework.com - MIT License */const Hl=e=>{const t=e;let n;return{hasLegacyControl:()=>{if(n===void 0){const o=t.label!==void 0||zP(t),r=t.hasAttribute("aria-label")||t.hasAttribute("aria-labelledby")&&t.shadowRoot===null,s=bp(t);n=t.legacy===!0||!o&&!r&&s!==null}return n}}},zP=e=>!!(MP.includes(e.tagName)&&e.querySelector('[slot="label"]')!==null||BP.includes(e.tagName)&&e.textContent!==""),MP=["ION-INPUT","ION-TEXTAREA","ION-SELECT","ION-RANGE"],BP=["ION-TOGGLE","ION-CHECKBOX","ION-RADIO"];/*! * (C) Ionic http://ionicframework.com - MIT License */const jP=":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}",VP=":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}",FP=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionChange=B(this,"ionChange",7),this.ionFocus=B(this,"ionFocus",7),this.ionBlur=B(this,"ionBlur",7),this.ionStyle=B(this,"ionStyle",7),this.inputId=`ion-cb-${HP++}`,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.setChecked=t=>{const n=this.checked=t;this.ionChange.emit({checked:n,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=Hl(this.el)}componentWillLoad(){this.emitStyle(),this.legacyFormController.hasLegacyControl()||(this.inheritedAttributes=Object.assign({},No(this.el)))}styleChanged(){this.emitStyle()}emitStyle(){const t={"interactive-disabled":this.disabled,legacy:!!this.legacy};this.legacyFormController.hasLegacyControl()&&(t["checkbox-checked"]=this.checked),this.ionStyle.emit(t)}setFocus(){this.focusEl&&this.focusEl.focus()}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacyCheckbox():this.renderCheckbox()}renderCheckbox(){const{color:t,checked:n,disabled:i,el:o,getSVGPath:r,indeterminate:s,inheritedAttributes:a,inputId:l,justify:c,labelPlacement:d,name:u,value:h,alignment:p}=this,f=W(this),m=r(f,s);return Di(!0,o,u,n?h:"",i),y(ee,{class:Ke(t,{[f]:!0,"in-item":De("ion-item",o),"checkbox-checked":n,"checkbox-disabled":i,"checkbox-indeterminate":s,interactive:!0,[`checkbox-justify-${c}`]:!0,[`checkbox-alignment-${p}`]:!0,[`checkbox-label-placement-${d}`]:!0}),onClick:this.onClick},y("label",{class:"checkbox-wrapper"},y("input",Object.assign({type:"checkbox",checked:n?!0:void 0,disabled:i,id:l,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:x=>this.focusEl=x},a)),y("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":o.textContent===""},part:"label"},y("slot",null)),y("div",{class:"native-wrapper"},y("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},m))))}renderLegacyCheckbox(){this.hasLoggedDeprecationWarning||(pe(`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. Example: Label Example with aria-label: Developers 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&&pe(`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. Developers 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:t,checked:n,disabled:i,el:o,getSVGPath:r,indeterminate:s,inputId:a,name:l,value:c}=this,d=W(this),{label:u,labelId:h,labelText:p}=Zr(o,a),f=r(d,s);return Di(!0,o,l,n?c:"",i),y(ee,{"aria-labelledby":u?h:null,"aria-checked":`${n}`,"aria-hidden":i?"true":null,role:"checkbox",class:Ke(t,{[d]:!0,"in-item":De("ion-item",o),"checkbox-checked":n,"checkbox-disabled":i,"checkbox-indeterminate":s,"legacy-checkbox":!0,interactive:!0}),onClick:this.onClick},y("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},f),y("label",{htmlFor:a},p),y("input",{type:"checkbox","aria-checked":`${n}`,disabled:i,id:a,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:m=>this.focusEl=m}))}getSVGPath(t,n){let i=n?y("path",{d:"M6 12L18 12",part:"mark"}):y("path",{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return t==="md"&&(i=n?y("path",{d:"M2 12H22",part:"mark"}):y("path",{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})),i}get el(){return this}static get watchers(){return{checked:["styleChanged"],disabled:["styleChanged"]}}static get style(){return{ios:jP,md:VP}}},[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]},void 0,{checked:["styleChanged"],disabled:["styleChanged"]}]);let HP=0;function Hx(){if(typeof customElements>"u")return;["ion-checkbox"].forEach(t=>{switch(t){case"ion-checkbox":customElements.get(t)||customElements.define(t,FP);break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const NP=":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}}",UP=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.type="bounded"}async addRipple(t,n){return new Promise(i=>{Do(()=>{const o=this.el.getBoundingClientRect(),r=o.width,s=o.height,a=Math.sqrt(r*r+s*s),l=Math.max(s,r),c=this.unbounded?l:a+qP,d=Math.floor(l*YP),u=c/d;let h=t-o.left,p=n-o.top;this.unbounded&&(h=r*.5,p=s*.5);const f=h-d*.5,m=p-d*.5,x=r*.5-h,b=s*.5-p;Ft(()=>{const g=document.createElement("div");g.classList.add("ripple-effect");const v=g.style;v.top=m+"px",v.left=f+"px",v.width=v.height=d+"px",v.setProperty("--final-scale",`${u}`),v.setProperty("--translate-end",`${x}px, ${b}px`),(this.el.shadowRoot||this.el).appendChild(g),setTimeout(()=>{i(()=>{WP(g)})},325)})})})}get unbounded(){return this.type==="unbounded"}render(){const t=W(this);return y(ee,{role:"presentation",class:{[t]:!0,unbounded:this.unbounded}})}get el(){return this}static get style(){return NP}},[1,"ion-ripple-effect",{type:[1],addRipple:[64]}]),WP=e=>{e.classList.add("fade-out"),setTimeout(()=>{e.remove()},200)},qP=10,YP=.5;function Fi(){if(typeof customElements>"u")return;["ion-ripple-effect"].forEach(t=>{switch(t){case"ion-ripple-effect":customElements.get(t)||customElements.define(t,UP);break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const KP={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"},XP=e=>{if(e===void 0||e==="")return!0;if(window.matchMedia){const t=KP[e];return window.matchMedia(t).matches}return!1},GP=":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))}}",Ys=typeof window<"u"?window:void 0,wg=Ys&&!!(Ys.CSS&&Ys.CSS.supports&&Ys.CSS.supports("--a: 0")),QP=["","xs","sm","md","lg","xl"],ZP=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),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(){En(this)}getColumns(t){let n;for(const i of QP){const o=XP(i),r=this[t+i.charAt(0).toUpperCase()+i.slice(1)];o&&r!==void 0&&(n=r)}return n}calculateSize(){const t=this.getColumns("size");if(!t||t==="")return;const n=t==="auto"?"auto":wg?`calc(calc(${t} / var(--ion-grid-columns, 12)) * 100%)`:t/12*100+"%";return{flex:`0 0 ${n}`,width:`${n}`,"max-width":`${n}`}}calculatePosition(t,n){const i=this.getColumns(t);if(!i)return;const o=wg?`calc(calc(${i} / var(--ion-grid-columns, 12)) * 100%)`:i>0&&i<12?i/12*100+"%":"auto";return{[n]:o}}calculateOffset(t){return this.calculatePosition("offset",t?"margin-right":"margin-left")}calculatePull(t){return this.calculatePosition("pull",t?"left":"right")}calculatePush(t){return this.calculatePosition("push",t?"right":"left")}render(){const t=document.dir==="rtl",n=W(this);return y(ee,{class:{[n]:!0},style:Object.assign(Object.assign(Object.assign(Object.assign({},this.calculateOffset(t)),this.calculatePull(t)),this.calculatePush(t)),this.calculateSize())},y("slot",null))}static get style(){return GP}},[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"]]]);function JP(){if(typeof customElements>"u")return;["ion-col"].forEach(t=>{switch(t){case"ion-col":customElements.get(t)||customElements.define(t,ZP);break}})}const eA=JP;/*! * (C) Ionic http://ionicframework.com - MIT License */const Pr=e=>e&&e.dir!==""?e.dir.toLowerCase()==="rtl":(document==null?void 0:document.dir.toLowerCase())==="rtl";/*! * (C) Ionic http://ionicframework.com - MIT License */const tA=':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)}',nA=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionScrollStart=B(this,"ionScrollStart",7),this.ionScroll=B(this,"ionScroll",7),this.ionScrollEnd=B(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=this.el.closest("ion-menu, ion-popover, ion-modal")===null,Qr(this.el)){const t=this.tabsElement=this.el.closest("ion-tabs");t!==null&&(this.tabsLoadCallback=()=>this.resize(),t.addEventListener("ionTabBarLoaded",this.tabsLoadCallback))}}disconnectedCallback(){if(this.onScrollEnd(),Qr(this.el)){const{tabsElement:t,tabsLoadCallback:n}=this;t!==null&&n!==void 0&&t.removeEventListener("ionTabBarLoaded",n),this.tabsElement=null,this.tabsLoadCallback=void 0}}onResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=null),this.resizeTimeout=setTimeout(()=>{this.el.offsetParent!==null&&this.resize()},100)}shouldForceOverscroll(){const{forceOverscroll:t}=this,n=W(this);return t===void 0?n==="ios"&&fn("ios"):t}resize(){this.fullscreen?Do(()=>this.readDimensions()):(this.cTop!==0||this.cBottom!==0)&&(this.cTop=this.cBottom=0,En(this))}readDimensions(){const t=oA(this.el),n=Math.max(this.el.offsetTop,0),i=Math.max(t.offsetHeight-n-this.el.offsetHeight,0);(n!==this.cTop||i!==this.cBottom)&&(this.cTop=n,this.cBottom=i,En(this))}onScroll(t){const n=Date.now(),i=!this.isScrolling;this.lastScroll=n,i&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,Do(o=>{this.queued=!1,this.detail.event=t,rA(this.detail,this.scrollEl,o,i),this.ionScroll.emit(this.detail)}))}async getScrollElement(){return this.scrollEl||await new Promise(t=>ei(this.el,t)),Promise.resolve(this.scrollEl)}async getBackgroundElement(){return this.backgroundContentEl||await new Promise(t=>ei(this.el,t)),Promise.resolve(this.backgroundContentEl)}scrollToTop(t=0){return this.scrollToPoint(void 0,0,t)}async scrollToBottom(t=0){const n=await this.getScrollElement(),i=n.scrollHeight-n.clientHeight;return this.scrollToPoint(void 0,i,t)}async scrollByPoint(t,n,i){const o=await this.getScrollElement();return this.scrollToPoint(t+o.scrollLeft,n+o.scrollTop,i)}async scrollToPoint(t,n,i=0){const o=await this.getScrollElement();if(i<32){n!=null&&(o.scrollTop=n),t!=null&&(o.scrollLeft=t);return}let r,s=0;const a=new Promise(p=>r=p),l=o.scrollTop,c=o.scrollLeft,d=n!=null?n-l:0,u=t!=null?t-c:0,h=p=>{const f=Math.min(1,(p-s)/i)-1,m=Math.pow(f,3)+1;d!==0&&(o.scrollTop=Math.floor(m*d+l)),u!==0&&(o.scrollLeft=Math.floor(m*u+c)),m<1?requestAnimationFrame(h):r()};return requestAnimationFrame(p=>{s=p,h(p)}),a}onScrollStart(){this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval(()=>{this.lastScrollthis.backgroundContentEl=d,id:"background-content",part:"background"}),y(c,{class:{"inner-scroll":!0,"scroll-x":n,"scroll-y":i,overscroll:(n||i)&&a},ref:d=>this.scrollEl=d,onScroll:this.scrollEvents?d=>this.onScroll(d):void 0,part:"scroll"},y("slot",null)),l?y("div",{class:"transition-effect"},y("div",{class:"transition-cover"}),y("div",{class:"transition-shadow"})):null,y("slot",{name:"fixed"}))}get el(){return this}static get style(){return tA}},[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"]]]),iA=e=>{var t;return e.parentElement?e.parentElement:!((t=e.parentNode)===null||t===void 0)&&t.host?e.parentNode.host:null},oA=e=>{const t=e.closest("ion-tabs");if(t)return t;const n=e.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content");return n||iA(e)},rA=(e,t,n,i)=>{const o=e.currentX,r=e.currentY,s=e.currentTime,a=t.scrollLeft,l=t.scrollTop,c=n-s;if(i&&(e.startTime=n,e.startX=a,e.startY=l,e.velocityX=e.velocityY=0),e.currentTime=n,e.currentX=e.scrollLeft=a,e.currentY=e.scrollTop=l,e.deltaX=a-e.startX,e.deltaY=l-e.startY,c>0&&c<100){const d=(a-o)/c,u=(l-r)/c;e.velocityX=d*.7+e.velocityX*.3,e.velocityY=u*.7+e.velocityY*.3}};function sA(){if(typeof customElements>"u")return;["ion-content"].forEach(t=>{switch(t){case"ion-content":customElements.get(t)||customElements.define(t,nA);break}})}const aA=sA;/*! * (C) Ionic http://ionicframework.com - MIT License */const lA=':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)}',cA=`: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), background-color 15ms linear, 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)}}`,dA=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionFocus=B(this,"ionFocus",7),this.ionBlur=B(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;this.type==="button"?Ox(this.href,t,this.routerDirection,this.routerAnimation):px(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:t}=this;this.formButtonEl&&(this.formButtonEl.disabled=t)}renderHiddenButton(){const t=this.formEl=this.findForm();if(t){const{formButtonEl:n}=this;if(n!==null&&t.contains(n))return;const i=this.formButtonEl=document.createElement("button");i.type=this.type,i.style.display="none",i.disabled=this.disabled,t.appendChild(i)}}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=No(this.el)}get hasIconOnly(){return!!this.el.querySelector('[slot="icon-only"]')}get rippleType(){return(this.fill===void 0||this.fill==="clear")&&this.hasIconOnly&&this.inToolbar?"unbounded":"bounded"}findForm(){const{form:t}=this;if(t instanceof HTMLFormElement)return t;if(typeof t=="string"){const n=document.getElementById(t);return n?n instanceof HTMLFormElement?n:(pe(`Form with selector: "#${t}" could not be found. Verify that the id is attached to a
element.`,this.el),null):(pe(`Form with selector: "#${t}" could not be found. Verify that the id is correct and the form is rendered in the DOM.`,this.el),null)}return t!==void 0?(pe('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(t){this.formEl&&this.formButtonEl&&(t.preventDefault(),this.formButtonEl.click())}render(){const t=W(this),{buttonType:n,type:i,disabled:o,rel:r,target:s,size:a,href:l,color:c,expand:d,hasIconOnly:u,shape:h,strong:p,inheritedAttributes:f}=this,m=a===void 0&&this.inItem?"small":a,x=l===void 0?"button":"a",b=x==="button"?{type:i}:{download:this.download,href:l,rel:r,target:s};let g=this.fill;return g==null&&(g=this.inToolbar||this.inListHeader?"clear":"solid"),i!=="button"&&this.renderHiddenButton(),y(ee,{onClick:this.handleClick,"aria-disabled":o?"true":null,class:Ke(c,{[t]:!0,[n]:!0,[`${n}-${d}`]:d!==void 0,[`${n}-${m}`]:m!==void 0,[`${n}-${h}`]:h!==void 0,[`${n}-${g}`]:!0,[`${n}-strong`]:p,"in-toolbar":De("ion-toolbar",this.el),"in-toolbar-color":De("ion-toolbar[color]",this.el),"in-buttons":De("ion-buttons",this.el),"button-has-icon-only":u,"button-disabled":o,"ion-activatable":!0,"ion-focusable":!0})},y(x,Object.assign({},b,{class:"button-native",part:"native",disabled:o,onFocus:this.onFocus,onBlur:this.onBlur},f),y("span",{class:"button-inner"},y("slot",{name:"icon-only"}),y("slot",{name:"start"}),y("slot",null),y("slot",{name:"end"})),t==="md"&&y("ion-ripple-effect",{type:this.rippleType})))}get el(){return this}static get watchers(){return{disabled:["disabledChanged"]}}static get style(){return{ios:lA,md:cA}}},[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]},void 0,{disabled:["disabledChanged"]}]);/*! * (C) Ionic http://ionicframework.com - MIT License */const uA=":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)}",hA=":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}",pA=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.color=void 0}render(){const t=W(this);return y(ee,{class:Ke(this.color,{[t]:!0})},y("slot",null))}static get style(){return{ios:uA,md:hA}}},[33,"ion-note",{color:[513]}]);function Nl(){if(typeof customElements>"u")return;["ion-note"].forEach(t=>{switch(t){case"ion-note":customElements.get(t)||customElements.define(t,pA);break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const fA=':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}',mA=':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}',Nx=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),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=yg,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:n}=this;n===void 0&&(this.labelColorStyles=t.detail)}itemStyle(t){t.stopPropagation();const n=t.target.tagName,i=t.detail,o={},r=this.itemStyles.get(n)||{};let s=!1;Object.keys(i).forEach(a=>{if(i[a]){const l=`item-${a}`;r[l]||(s=!0),o[l]=!0}}),!s&&Object.keys(o).length!==Object.keys(r).length&&(s=!0),s&&(this.itemStyles.set(n,o),En(this))}connectedCallback(){this.counter&&this.updateCounterOutput(this.getFirstInput()),this.hasStartEl()}componentWillLoad(){this.inheritedAriaAttributes=Ho(this.el,["aria-label"])}componentDidLoad(){const{el:t,counter:n,counterFormatter:i,fill:o,shape:r}=this;t.querySelector('[slot="helper"]')!==null&&pe('The "helper" slot has been deprecated in favor of using the "helperText" property on ion-input or ion-textarea.',t),t.querySelector('[slot="error"]')!==null&&pe('The "error" slot has been deprecated in favor of using the "errorText" property on ion-input or ion-textarea.',t),n===!0&&pe('The "counter" property has been deprecated in favor of using the "counter" property on ion-input or ion-textarea.',t),i!==void 0&&pe('The "counterFormatter" property has been deprecated in favor of using the "counterFormatter" property on ion-input or ion-textarea.',t),o!==void 0&&pe('The "fill" property has been deprecated in favor of using the "fill" property on ion-input or ion-textarea.',t),r!==void 0&&pe('The "shape" property has been deprecated in favor of using the "shape" property on ion-input or ion-textarea.',t),Ie(()=>{this.setMultipleInputs(),this.focusable=this.isFocusable()})}setMultipleInputs(){const t=this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"),n=this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"),i=this.el.querySelectorAll("ion-anchor, ion-button, a, button");this.multipleInputs=t.length+n.length>1||t.length+i.length>1||t.length>0&&this.isClickable()}hasCover(){return this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio").length===1&&!this.multipleInputs}isClickable(){return this.href!==void 0||this.button}canActivate(){return this.isClickable()||this.hasCover()}isFocusable(){const t=this.el.querySelector(".ion-focusable");return this.canActivate()||t!==null}getFirstInput(){return this.el.querySelectorAll("ion-input, ion-textarea")[0]}updateCounterOutput(t){var n,i;const{counter:o,counterFormatter:r,defaultCounterFormatter:s}=this;if(o&&!this.multipleInputs&&(t==null?void 0:t.maxlength)!==void 0){const a=(i=(n=t==null?void 0:t.value)===null||n===void 0?void 0:n.toString().length)!==null&&i!==void 0?i:0;if(r===void 0)this.counterString=s(a,t.maxlength);else try{this.counterString=r(a,t.maxlength)}catch(l){WT("Exception in provided `counterFormatter`.",l),this.counterString=s(a,t.maxlength)}}}defaultCounterFormatter(t,n){return`${t} / ${n}`}hasStartEl(){this.el.querySelector('[slot="start"]')!==null&&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:n,detailIcon:i,download:o,fill:r,labelColorStyles:s,lines:a,disabled:l,href:c,rel:d,shape:u,target:h,routerAnimation:p,routerDirection:f,inheritedAriaAttributes:m,multipleInputs:x}=this,b={},g=W(this),v=this.isClickable(),w=this.canActivate(),E=v?c===void 0?"button":"a":"div",S=E==="button"?{type:this.type}:{download:o,href:c,rel:d,target:h};let k={};const C=this.getFirstInteractive();(v||C!==void 0&&!x)&&(k={onClick:Y=>{if(v&&Ox(c,Y,f,p),C!==void 0&&!x){const G=Y.composedPath()[0];Y.isTrusted&&this.el.shadowRoot.contains(G)&&C.click()}}});const A=n!==void 0?n:g==="ios"&&v;this.itemStyles.forEach(Y=>{Object.assign(b,Y)});const D=l||b["item-interactive-disabled"]?"true":null,R=r||"none",V=De("ion-list",this.el)&&!De("ion-radio-group",this.el);return y(ee,{"aria-disabled":D,class:Object.assign(Object.assign(Object.assign({},b),s),Ke(this.color,{item:!0,[g]:!0,"item-lines-default":a===void 0,[`item-lines-${a}`]:a!==void 0,[`item-fill-${R}`]:!0,[`item-shape-${u}`]:u!==void 0,"item-has-interactive-control":C!==void 0,"item-disabled":l,"in-list":V,"item-multiple-inputs":this.multipleInputs,"ion-activatable":w,"ion-focusable":this.focusable,"item-rtl":document.dir==="rtl"})),role:V?"listitem":null},y(E,Object.assign({},S,m,{class:"item-native",part:"native",disabled:l},k),y("slot",{name:"start"}),y("div",{class:"item-inner"},y("div",{class:"input-wrapper"},y("slot",null)),y("slot",{name:"end"}),A&&y("ion-icon",{icon:i,lazy:!1,class:"item-detail-icon",part:"detail-icon","aria-hidden":"true","flip-rtl":i===yg}),y("div",{class:"item-inner-highlight"})),w&&g==="md"&&y("ion-ripple-effect",null),y("div",{class:"item-highlight"})),y("div",{class:"item-bottom"},y("slot",{name:"error"}),y("slot",{name:"helper"}),t&&y("ion-note",{class:"item-counter"},t)))}static get delegatesFocus(){return!0}get el(){return this}static get watchers(){return{counterFormatter:["counterFormatterChanged"]}}static get style(){return{ios:fA,md:mA}}},[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"]}]);function Ux(){if(typeof customElements>"u")return;["ion-item","ion-icon","ion-note","ion-ripple-effect"].forEach(t=>{switch(t){case"ion-item":customElements.get(t)||customElements.define(t,Nx);break;case"ion-icon":customElements.get(t)||gs();break;case"ion-note":customElements.get(t)||Nl();break;case"ion-ripple-effect":customElements.get(t)||Fi();break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const gA=".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}",bA='.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}',vA=ne(class extends ie{constructor(){super(),this.__registerHost(),this.ionColor=B(this,"ionColor",7),this.ionStyle=B(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=this.position==="floating",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":t!==void 0,[`ion-color-${t}`]:t!==void 0})}emitStyle(){const{inRange:t,position:n}=this;t||this.ionStyle.emit({label:!0,[`label-${n}`]:n!==void 0})}render(){const t=this.position,n=W(this);return y(ee,{class:Ke(this.color,{[n]:!0,"in-item-color":De("ion-item.ion-color",this.el),[`label-${t}`]:t!==void 0,"label-no-animate":this.noAnimate,"label-rtl":document.dir==="rtl"})})}get el(){return this}static get watchers(){return{color:["colorChanged"],position:["positionChanged"]}}static get style(){return{ios:gA,md:bA}}},[34,"ion-label",{color:[513],position:[1],noAnimate:[32]},void 0,{color:["colorChanged"],position:["positionChanged"]}]);function Ep(){if(typeof customElements>"u")return;["ion-label"].forEach(t=>{switch(t){case"ion-label":customElements.get(t)||customElements.define(t,vA);break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const Eo=()=>{if(Ae!==void 0)return Ae.Capacitor};/*! * (C) Ionic http://ionicframework.com - MIT License */var _u;(function(e){e.Heavy="HEAVY",e.Medium="MEDIUM",e.Light="LIGHT"})(_u||(_u={}));var kg;(function(e){e.Success="SUCCESS",e.Warning="WARNING",e.Error="ERROR"})(kg||(kg={}));const Ul={getEngine(){const e=window.TapticEngine;if(e)return e;const t=Eo();if(t!=null&&t.isPluginAvailable("Haptics"))return t.Plugins.Haptics},available(){if(!this.getEngine())return!1;const t=Eo();return(t==null?void 0:t.getPlatform())==="web"?typeof navigator<"u"&&navigator.vibrate!==void 0:!0},isCordova(){return window.TapticEngine!==void 0},isCapacitor(){return Eo()!==void 0},impact(e){const t=this.getEngine();if(!t)return;const n=this.isCapacitor()?e.style:e.style.toLowerCase();t.impact({style:n})},notification(e){const t=this.getEngine();if(!t)return;const n=this.isCapacitor()?e.type:e.type.toLowerCase();t.notification({type:n})},selection(){const e=this.isCapacitor()?_u.Light:"light";this.impact({style:e})},selectionStart(){const e=this.getEngine();e&&(this.isCapacitor()?e.selectionStart():e.gestureSelectionStart())},selectionChanged(){const e=this.getEngine();e&&(this.isCapacitor()?e.selectionChanged():e.gestureSelectionChanged())},selectionEnd(){const e=this.getEngine();e&&(this.isCapacitor()?e.selectionEnd():e.gestureSelectionEnd())}},Tp=()=>Ul.available(),yA=()=>{Tp()&&Ul.selectionStart()},xA=()=>{Tp()&&Ul.selectionChanged()},wA=()=>{Tp()&&Ul.selectionEnd()};/*! * (C) Ionic http://ionicframework.com - MIT License */const bs=()=>{let e;return{lock:async()=>{const n=e;let i;return e=new Promise(o=>i=o),n!==void 0&&await n,i}}};/*! * (C) Ionic http://ionicframework.com - MIT License */const kA=e=>{if(!e)return{arrowWidth:0,arrowHeight:0};const{width:t,height:n}=e.getBoundingClientRect();return{arrowWidth:t,arrowHeight:n}},Wx=(e,t,n)=>{const i=t.getBoundingClientRect(),o=i.height;let r=i.width;return e==="cover"&&n&&(r=n.getBoundingClientRect().width),{contentWidth:r,contentHeight:o}},CA=(e,t,n,i)=>{let o=[];const s=pt(i).querySelector(".popover-content");switch(t){case"hover":o=[{eventName:"mouseenter",callback:a=>{document.elementFromPoint(a.clientX,a.clientY)!==e&&n.dismiss(void 0,void 0,!1)}}];break;case"context-menu":case"click":default:o=[{eventName:"click",callback:a=>{if(a.target.closest("[data-ion-popover-trigger]")===e){a.stopPropagation();return}n.dismiss(void 0,void 0,!1)}}];break}return o.forEach(({eventName:a,callback:l})=>s.addEventListener(a,l)),()=>{o.forEach(({eventName:a,callback:l})=>s.removeEventListener(a,l))}},SA=(e,t,n)=>{let i=[];switch(t){case"hover":let o;i=[{eventName:"mouseenter",callback:async r=>{r.stopPropagation(),o&&clearTimeout(o),o=setTimeout(()=>{Ie(()=>{n.presentFromTrigger(r),o=void 0})},100)}},{eventName:"mouseleave",callback:r=>{o&&clearTimeout(o);const s=r.relatedTarget;s&&s.closest("ion-popover")!==n&&n.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:r=>r.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:r=>n.presentFromTrigger(r,!0)}];break;case"context-menu":i=[{eventName:"contextmenu",callback:r=>{r.preventDefault(),n.presentFromTrigger(r)}},{eventName:"click",callback:r=>r.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:r=>n.presentFromTrigger(r,!0)}];break;case"click":default:i=[{eventName:"click",callback:r=>n.presentFromTrigger(r)},{eventName:"ionPopoverActivateTrigger",callback:r=>n.presentFromTrigger(r,!0)}];break}return i.forEach(({eventName:o,callback:r})=>e.addEventListener(o,r)),e.setAttribute("data-ion-popover-trigger","true"),()=>{i.forEach(({eventName:o,callback:r})=>e.removeEventListener(o,r)),e.removeAttribute("data-ion-popover-trigger")}},qx=(e,t)=>!t||t.tagName!=="ION-ITEM"?-1:e.findIndex(n=>n===t),EA=(e,t)=>{const n=qx(e,t);return e[n+1]},TA=(e,t)=>{const n=qx(e,t);return e[n-1]},Ks=e=>{const n=pt(e).querySelector("button");n&&Ie(()=>n.focus())},PA=e=>e.hasAttribute("data-ion-popover-trigger"),AA=e=>{const t=async n=>{var i;const o=document.activeElement;let r=[];const s=(i=n.target)===null||i===void 0?void 0:i.tagName;if(!(s!=="ION-POPOVER"&&s!=="ION-ITEM")){try{r=Array.from(e.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(n.key){case"ArrowLeft":await e.getParentPopover()&&e.dismiss(void 0,void 0,!1);break;case"ArrowDown":n.preventDefault();const l=EA(r,o);l!==void 0&&Ks(l);break;case"ArrowUp":n.preventDefault();const c=TA(r,o);c!==void 0&&Ks(c);break;case"Home":n.preventDefault();const d=r[0];d!==void 0&&Ks(d);break;case"End":n.preventDefault();const u=r[r.length-1];u!==void 0&&Ks(u);break;case"ArrowRight":case" ":case"Enter":if(o&&PA(o)){const h=new CustomEvent("ionPopoverActivateTrigger");o.dispatchEvent(h)}break}}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)},Yx=(e,t,n,i,o,r,s,a,l,c,d)=>{var u;let h={top:0,left:0,width:0,height:0};switch(r){case"event":if(!d)return l;const E=d;h={top:E.clientY,left:E.clientX,width:1,height:1};break;case"trigger":default:const S=d,k=c||((u=S==null?void 0:S.detail)===null||u===void 0?void 0:u.ionShadowTarget)||(S==null?void 0:S.target);if(!k)return l;const C=k.getBoundingClientRect();h={top:C.top,left:C.left,width:C.width,height:C.height};break}const p=OA(s,h,t,n,i,o,e),f=RA(a,s,h,t,n),m=p.top+f.top,x=p.left+f.left,{arrowTop:b,arrowLeft:g}=IA(s,i,o,m,x,t,n,e),{originX:v,originY:w}=LA(s,a,e);return{top:m,left:x,referenceCoordinates:h,arrowTop:b,arrowLeft:g,originX:v,originY:w}},LA=(e,t,n)=>{switch(e){case"top":return{originX:Cg(t),originY:"bottom"};case"bottom":return{originX:Cg(t),originY:"top"};case"left":return{originX:"right",originY:Xs(t)};case"right":return{originX:"left",originY:Xs(t)};case"start":return{originX:n?"left":"right",originY:Xs(t)};case"end":return{originX:n?"right":"left",originY:Xs(t)}}},Cg=e=>{switch(e){case"start":return"left";case"center":return"center";case"end":return"right"}},Xs=e=>{switch(e){case"start":return"top";case"center":return"center";case"end":return"bottom"}},IA=(e,t,n,i,o,r,s,a)=>{const l={arrowTop:i+s/2-t/2,arrowLeft:o+r-t/2},c={arrowTop:i+s/2-t/2,arrowLeft:o-t*1.5};switch(e){case"top":return{arrowTop:i+s,arrowLeft:o+r/2-t/2};case"bottom":return{arrowTop:i-n,arrowLeft:o+r/2-t/2};case"left":return l;case"right":return c;case"start":return a?c:l;case"end":return a?l:c;default:return{arrowTop:0,arrowLeft:0}}},OA=(e,t,n,i,o,r,s)=>{const a={top:t.top,left:t.left-n-o},l={top:t.top,left:t.left+t.width+o};switch(e){case"top":return{top:t.top-i-r,left:t.left};case"right":return l;case"bottom":return{top:t.top+t.height+r,left:t.left};case"left":return a;case"start":return s?l:a;case"end":return s?a:l}},RA=(e,t,n,i,o)=>{switch(e){case"center":return $A(t,n,i,o);case"end":return DA(t,n,i,o);case"start":default:return{top:0,left:0}}},DA=(e,t,n,i)=>{switch(e){case"start":case"end":case"left":case"right":return{top:-(i-t.height),left:0};case"top":case"bottom":default:return{top:0,left:-(n-t.width)}}},$A=(e,t,n,i)=>{switch(e){case"start":case"end":case"left":case"right":return{top:-(i/2-t.height/2),left:0};case"top":case"bottom":default:return{top:0,left:-(n/2-t.width/2)}}},Kx=(e,t,n,i,o,r,s,a,l,c,d,u,h=0,p=0,f=0)=>{let m=h;const x=p;let b=n,g=t,v,w=c,E=d,S=!1,k=!1;const C=u?u.top+u.height:r/2-a/2,A=u?u.height:0;let D=!1;return bo&&(k=!0,b=o-s-i,w="right"),C+A+a>r&&(e==="top"||e==="bottom")&&(C-a>0?(g=Math.max(12,C-a-A-(f-1)),m=g+a,E="bottom",D=!0):v=i),{top:g,left:b,bottom:v,originX:w,originY:E,checkSafeAreaLeft:S,checkSafeAreaRight:k,arrowTop:m,arrowLeft:x,addPopoverBottomClass:D}},_A=(e,t=!1,n,i)=>!(!n&&!i||e!=="top"&&e!=="bottom"&&t),zA=5,MA=(e,t)=>{var n;const{event:i,size:o,trigger:r,reference:s,side:a,align:l}=t,c=e.ownerDocument,d=c.dir==="rtl",u=c.defaultView.innerWidth,h=c.defaultView.innerHeight,p=pt(e),f=p.querySelector(".popover-content"),m=p.querySelector(".popover-arrow"),x=r||((n=i==null?void 0:i.detail)===null||n===void 0?void 0:n.ionShadowTarget)||(i==null?void 0:i.target),{contentWidth:b,contentHeight:g}=Wx(o,f,x),{arrowWidth:v,arrowHeight:w}=kA(m),E={top:h/2-g/2,left:u/2-b/2,originX:d?"right":"left",originY:"top"},S=Yx(d,b,g,v,w,s,a,l,E,r,i),k=o==="cover"?0:zA,C=o==="cover"?0:25,{originX:A,originY:D,top:R,left:V,bottom:Y,checkSafeAreaLeft:K,checkSafeAreaRight:G,arrowTop:Z,arrowLeft:Q,addPopoverBottomClass:I}=Kx(a,S.top,S.left,k,u,h,b,g,C,S.originX,S.originY,S.referenceCoordinates,S.arrowTop,S.arrowLeft,w),$=U(),O=U(),_=U();return O.addElement(p.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),_.addElement(p.querySelector(".popover-arrow")).addElement(p.querySelector(".popover-content")).fromTo("opacity",.01,1),$.easing("ease").duration(100).beforeAddWrite(()=>{o==="cover"&&e.style.setProperty("--width",`${b}px`),I&&e.classList.add("popover-bottom"),Y!==void 0&&f.style.setProperty("bottom",`${Y}px`);const F=" + var(--ion-safe-area-left, 0)",te=" - var(--ion-safe-area-right, 0)";let J=`${V}px`;if(K&&(J=`${V}px${F}`),G&&(J=`${V}px${te}`),f.style.setProperty("top",`calc(${R}px + var(--offset-y, 0))`),f.style.setProperty("left",`calc(${J} + var(--offset-x, 0))`),f.style.setProperty("transform-origin",`${D} ${A}`),m!==null){const ye=S.top!==R||S.left!==V;_A(a,ye,i,r)?(m.style.setProperty("top",`calc(${Z}px + var(--offset-y, 0))`),m.style.setProperty("left",`calc(${Q}px + var(--offset-x, 0))`)):m.style.setProperty("display","none")}}).addAnimation([O,_])},BA=e=>{const t=pt(e),n=t.querySelector(".popover-content"),i=t.querySelector(".popover-arrow"),o=U(),r=U(),s=U();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(t.querySelector(".popover-arrow")).addElement(t.querySelector(".popover-content")).fromTo("opacity",.99,0),o.easing("ease").afterAddWrite(()=>{e.style.removeProperty("--width"),e.classList.remove("popover-bottom"),n.style.removeProperty("top"),n.style.removeProperty("left"),n.style.removeProperty("bottom"),n.style.removeProperty("transform-origin"),i&&(i.style.removeProperty("top"),i.style.removeProperty("left"),i.style.removeProperty("display"))}).duration(300).addAnimation([r,s])},jA=12,VA=(e,t)=>{var n;const{event:i,size:o,trigger:r,reference:s,side:a,align:l}=t,c=e.ownerDocument,d=c.dir==="rtl",u=c.defaultView.innerWidth,h=c.defaultView.innerHeight,p=pt(e),f=p.querySelector(".popover-content"),m=r||((n=i==null?void 0:i.detail)===null||n===void 0?void 0:n.ionShadowTarget)||(i==null?void 0:i.target),{contentWidth:x,contentHeight:b}=Wx(o,f,m),g={top:h/2-b/2,left:u/2-x/2,originX:d?"right":"left",originY:"top"},v=Yx(d,x,b,0,0,s,a,l,g,r,i),w=o==="cover"?0:jA,{originX:E,originY:S,top:k,left:C,bottom:A}=Kx(a,v.top,v.left,w,u,h,x,b,0,v.originX,v.originY,v.referenceCoordinates),D=U(),R=U(),V=U(),Y=U(),K=U();return R.addElement(p.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),V.addElement(p.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),Y.addElement(f).beforeStyles({top:`calc(${k}px + var(--offset-y, 0px))`,left:`calc(${C}px + var(--offset-x, 0px))`,"transform-origin":`${S} ${E}`}).beforeAddWrite(()=>{A!==void 0&&f.style.setProperty("bottom",`${A}px`)}).fromTo("transform","scale(0.8)","scale(1)"),K.addElement(p.querySelector(".popover-viewport")).fromTo("opacity",.01,1),D.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite(()=>{o==="cover"&&e.style.setProperty("--width",`${x}px`),S==="bottom"&&e.classList.add("popover-bottom")}).addAnimation([R,V,Y,K])},FA=e=>{const t=pt(e),n=t.querySelector(".popover-content"),i=U(),o=U(),r=U();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(t.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),i.easing("ease").afterAddWrite(()=>{e.style.removeProperty("--width"),e.classList.remove("popover-bottom"),n.style.removeProperty("top"),n.style.removeProperty("left"),n.style.removeProperty("bottom"),n.style.removeProperty("transform-origin")}).duration(150).addAnimation([o,r])},HA=':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)}}',NA=":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}",UA=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=B(this,"ionPopoverDidPresent",7),this.willPresent=B(this,"ionPopoverWillPresent",7),this.willDismiss=B(this,"ionPopoverWillDismiss",7),this.didDismiss=B(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=B(this,"didPresent",7),this.willPresentShorthand=B(this,"willPresent",7),this.willDismissShorthand=B(this,"willDismiss",7),this.didDismissShorthand=B(this,"didDismiss",7),this.ionMount=B(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=kp(),this.lockController=bs(),this.inline=!1,this.focusDescendantOnPresent=!1,this.onBackdropTap=()=>{this.dismiss(void 0,zi)},this.onLifecycle=t=>{const n=this.usersElement,i=WA[t.type];if(n&&i){const o=new CustomEvent(i,{bubbles:!1,cancelable:!1,detail:t.detail});n.dispatchEvent(o)}},this.configureTriggerInteraction=()=>{const{trigger:t,triggerAction:n,el:i,destroyTriggerInteraction:o}=this;if(o&&o(),t===void 0)return;const r=this.triggerEl=t!==void 0?document.getElementById(t):null;if(!r){pe(`A trigger element with the ID "${t}" 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);return}this.destroyTriggerInteraction=SA(r,n,i)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:t,el:n}=this;t&&t(),this.destroyKeyboardInteraction=AA(n)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:t,parentPopover:n,triggerAction:i,triggerEl:o,el:r}=this;!n||!o||(t&&t(),this.destroyDismissInteraction=CA(o,i,r,n))},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,n){t===!0&&n===!1?this.present():t===!1&&n===!0&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:t,el:n}=this;Bl(n),t()}disconnectedCallback(){const{destroyTriggerInteraction:t}=this;t&&t()}componentWillLoad(){const{el:t}=this,n=jl(t);this.parentPopover=t.closest(`ion-popover:not(#${n})`),this.alignment===void 0&&(this.alignment=W(this)==="ios"?"center":"start")}componentDidLoad(){const{parentPopover:t,isOpen:n}=this;n===!0&&Ie(()=>this.present()),t&&gp(t,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)}),this.configureTriggerInteraction()}async presentFromTrigger(t,n=!1){this.focusDescendantOnPresent=n,await this.present(t),this.focusDescendantOnPresent=!1}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const n=this.el.parentNode,i=this.inline=n!==null&&!this.hasController,o=this.workingDelegate=i?this.delegate||this.coreDelegate:this.delegate;return{inline:i,delegate:o}}async present(t){const n=await this.lockController.lock();if(this.presented){n();return}const{el:i}=this,{inline:o,delegate:r}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=await Ml(r,i,this.component,["popover-viewport"],this.componentProps,o),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),Qr(i)?await Jr(this.usersElement):this.keepContentsMounted||await wx(),await Vl(this,"popoverEnter",MA,VA,{event:t||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),this.focusDescendantOnPresent&&$u(this.el,this.el),n()}async dismiss(t,n,i=!0){const o=await this.lockController.lock(),{destroyKeyboardInteraction:r,destroyDismissInteraction:s}=this;i&&this.parentPopover&&this.parentPopover.dismiss(t,n,i);const a=await Fl(this,t,n,"popoverLeave",BA,FA,this.event);if(a){r&&(r(),this.destroyKeyboardInteraction=void 0),s&&(s(),this.destroyDismissInteraction=void 0);const{delegate:l}=this.getDelegate();await wp(l,this.usersElement)}return o(),a}async getParentPopover(){return this.parentPopover}onDidDismiss(){return ti(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return ti(this.el,"ionPopoverWillDismiss")}render(){const t=W(this),{onLifecycle:n,parentPopover:i,dismissOnSelect:o,side:r,arrow:s,htmlAttributes:a}=this,l=fn("desktop"),c=s&&!i;return y(ee,Object.assign({"aria-modal":"true","no-router":!0,tabindex:"-1"},a,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({},Mt(this.cssClass)),{[t]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":l,[`popover-side-${r}`]:!0,"popover-nested":!!i}),onIonPopoverDidPresent:n,onIonPopoverWillPresent:n,onIonPopoverWillDismiss:n,onIonPopoverDidDismiss:n,onIonBackdropTap:this.onBackdropTap}),!i&&y("ion-backdrop",{tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),y("div",{class:"popover-wrapper ion-overlay-wrapper",onClick:o?()=>this.dismiss():void 0},c&&y("div",{class:"popover-arrow",part:"arrow"}),y("div",{class:"popover-content",part:"content"},y("slot",null))))}get el(){return this}static get watchers(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}}static get style(){return{ios:HA,md:NA}}},[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]},void 0,{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}]),WA={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};function qA(){if(typeof customElements>"u")return;["ion-popover","ion-backdrop"].forEach(t=>{switch(t){case"ion-popover":customElements.get(t)||customElements.define(t,UA);break;case"ion-backdrop":customElements.get(t)||Uo();break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const YA="ION-CONTENT",Xx="ion-content",Gx=".ion-content-scroll-host",Qx=`${Xx}, ${Gx}`,Mi=e=>e.tagName===YA,Sg=async e=>Mi(e)?(await new Promise(t=>ei(e,t)),e.getScrollElement()):e,zu=e=>{const t=e.querySelector(Gx);return t||e.querySelector(Qx)},Zx=e=>e.closest(Qx),Zz=(e,t)=>Mi(e)?e.scrollToTop(t):Promise.resolve(e.scrollTo({top:0,left:0,behavior:t>0?"smooth":"auto"})),Jz=(e,t,n,i)=>Mi(e)?e.scrollByPoint(t,n,i):Promise.resolve(e.scrollBy({top:n,left:t,behavior:i>0?"smooth":"auto"})),Mu=e=>qT(e,Xx),Bu=e=>{if(Mi(e)){const t=e,n=t.scrollY;return t.scrollY=!1,n}else return e.style.setProperty("overflow","hidden"),!0},Jx=(e,t)=>{Mi(e)?e.scrollY=t:e.style.removeProperty("overflow")};/*! * (C) Ionic http://ionicframework.com - MIT License */var ju;(function(e){e.Unimplemented="UNIMPLEMENTED",e.Unavailable="UNAVAILABLE"})(ju||(ju={}));var Vu;(function(e){e.Body="body",e.Ionic="ionic",e.Native="native",e.None="none"})(Vu||(Vu={}));const ew={getEngine(){const e=Eo();if(e!=null&&e.isPluginAvailable("Keyboard"))return e.Plugins.Keyboard},getResizeMode(){const e=this.getEngine();return e!=null&&e.getResizeMode?e.getResizeMode().catch(t=>{if(t.code!==ju.Unimplemented)throw t}):Promise.resolve(void 0)}};/*! * (C) Ionic http://ionicframework.com - MIT License */const tw=e=>{if(Gn===void 0||e===Vu.None||e===void 0)return null;const t=Gn.querySelector("ion-app");return t??Gn.body},Eg=e=>{const t=tw(e);return t===null?0:t.clientHeight},KA=async e=>{let t,n,i,o;const r=async()=>{const d=await ew.getResizeMode(),u=d===void 0?void 0:d.mode;t=()=>{o===void 0&&(o=Eg(u)),i=!0,s(i,u)},n=()=>{i=!1,s(i,u)},Ae==null||Ae.addEventListener("keyboardWillShow",t),Ae==null||Ae.addEventListener("keyboardWillHide",n)},s=(d,u)=>{e&&e(d,a(u))},a=d=>{if(o===0||o===Eg(d))return;const u=tw(d);if(u!==null)return new Promise(h=>{const p=()=>{u.clientHeight===o&&(f.disconnect(),h())},f=new ResizeObserver(p);f.observe(u)})},l=()=>{Ae==null||Ae.removeEventListener("keyboardWillShow",t),Ae==null||Ae.removeEventListener("keyboardWillHide",n),t=n=void 0},c=()=>i;return await r(),{init:r,destroy:l,isKeyboardVisible:c}};/*! * (C) Ionic http://ionicframework.com - MIT License */const XA=":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}",GA=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.fixed=!1}render(){const t=W(this);return y(ee,{class:{[t]:!0,"grid-fixed":this.fixed}},y("slot",null))}static get style(){return XA}},[1,"ion-grid",{fixed:[4]}]);function QA(){if(typeof customElements>"u")return;["ion-grid"].forEach(t=>{switch(t){case"ion-grid":customElements.get(t)||customElements.define(t,GA);break}})}const ZA=QA;/*! * (C) Ionic http://ionicframework.com - MIT License */const JA="all 0.2s ease-in-out",Tg=e=>{const t=document.querySelector(`${e}.ion-cloned-element`);if(t!==null)return t;const n=document.createElement(e);return n.classList.add("ion-cloned-element"),n.style.setProperty("display","none"),document.body.appendChild(n),n},Pg=e=>{if(!e)return;const t=e.querySelectorAll("ion-toolbar");return{el:e,toolbars:Array.from(t).map(n=>{const i=n.querySelector("ion-title");return{el:n,background:n.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:i,innerTitleEl:i?i.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(n.querySelectorAll("ion-buttons"))}})}},eL=(e,t,n)=>{Do(()=>{const i=e.scrollTop,o=at(1,1+-i/500,1.1);n.querySelector("ion-refresher.refresher-native")===null&&Ft(()=>{iL(t.toolbars,o)})})},Pp=(e,t)=>{e.collapse!=="fade"&&(t===void 0?e.style.removeProperty("--opacity-scale"):e.style.setProperty("--opacity-scale",t.toString()))},tL=(e,t,n)=>{if(!e[0].isIntersecting)return;const i=e[0].intersectionRatio>.9||n<=0?0:(1-e[0].intersectionRatio)*100/75;Pp(t.el,i===1?void 0:i)},nL=(e,t,n,i)=>{Ft(()=>{const o=i.scrollTop;tL(e,t,o);const r=e[0],s=r.intersectionRect,a=s.width*s.height,l=r.rootBounds.width*r.rootBounds.height,c=a===0&&l===0,d=Math.abs(s.left-r.boundingClientRect.left),u=Math.abs(s.right-r.boundingClientRect.right),h=a>0&&(d>=5||u>=5);c||h||(r.isIntersecting?(fr(t,!1),fr(n)):(s.x===0&&s.y===0||s.width!==0&&s.height!==0)&&o>0&&(fr(t),fr(n,!1),Pp(t.el)))})},fr=(e,t=!0)=>{const n=e.el;t?(n.classList.remove("header-collapse-condense-inactive"),n.removeAttribute("aria-hidden")):(n.classList.add("header-collapse-condense-inactive"),n.setAttribute("aria-hidden","true"))},iL=(e=[],t=1,n=!1)=>{e.forEach(i=>{const o=i.ionTitleEl,r=i.innerTitleEl;!o||o.size!=="large"||(r.style.transition=n?JA:"",r.style.transform=`scale3d(${t}, ${t}, 1)`)})},Ag=(e,t,n)=>{Do(()=>{const i=e.scrollTop,o=t.clientHeight,r=n?n.clientHeight:0;if(n!==null&&i{e.style.removeProperty("clip-path"),t.style.setProperty("--opacity-scale",l.toString())})})},oL="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}",rL="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}",sL=ne(class extends ie{constructor(){super(),this.__registerHost(),this.inheritedAttributes={},this.setupFadeHeader=async(t,n)=>{const i=this.scrollEl=await Sg(t);this.contentScrollCallback=()=>{Ag(this.scrollEl,this.el,n)},i.addEventListener("scroll",this.contentScrollCallback),Ag(this.scrollEl,this.el,n)},this.collapse=void 0,this.translucent=!1}componentWillLoad(){this.inheritedAttributes=No(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}async checkCollapsibleHeader(){if(W(this)!=="ios")return;const{collapse:n}=this,i=n==="condense",o=n==="fade";if(this.destroyCollapsibleHeader(),i){const r=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),s=r?zu(r):null;Ft(()=>{const a=Tg("ion-title");a.size="large",Tg("ion-back-button")}),await this.setupCondenseHeader(s,r)}else if(o){const r=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),s=r?zu(r):null;if(!s){Mu(this.el);return}const a=s.querySelector('ion-header[collapse="condense"]');await this.setupFadeHeader(s,a)}}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)}async setupCondenseHeader(t,n){if(!t||!n){Mu(this.el);return}if(typeof IntersectionObserver>"u")return;this.scrollEl=await Sg(t);const i=n.querySelectorAll("ion-header");if(this.collapsibleMainHeader=Array.from(i).find(a=>a.collapse!=="condense"),!this.collapsibleMainHeader)return;const o=Pg(this.collapsibleMainHeader),r=Pg(this.el);if(!o||!r)return;fr(o,!1),Pp(o.el,0);const s=a=>{nL(a,o,r,this.scrollEl)};this.intersectionObserver=new IntersectionObserver(s,{root:t,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),this.intersectionObserver.observe(r.toolbars[r.toolbars.length-1].el),this.contentScrollCallback=()=>{eL(this.scrollEl,r,t)},this.scrollEl.addEventListener("scroll",this.contentScrollCallback),Ft(()=>{this.collapsibleMainHeader!==void 0&&this.collapsibleMainHeader.classList.add("header-collapse-main")})}render(){const{translucent:t,inheritedAttributes:n}=this,i=W(this),o=this.collapse||"none",r=De("ion-menu",this.el)?"none":"banner";return y(ee,Object.assign({role:r,class:{[i]:!0,[`header-${i}`]:!0,"header-translucent":this.translucent,[`header-collapse-${o}`]:!0,[`header-translucent-${i}`]:this.translucent}},n),i==="ios"&&t&&y("div",{class:"header-background"}),y("slot",null))}get el(){return this}static get style(){return{ios:oL,md:rL}}},[36,"ion-header",{collapse:[1],translucent:[4]}]);function aL(){if(typeof customElements>"u")return;["ion-header"].forEach(t=>{switch(t){case"ion-header":customElements.get(t)||customElements.define(t,sL);break}})}const lL=aL;/*! * (C) Ionic http://ionicframework.com - MIT License */const cL=":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}",dL=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionImgWillLoad=B(this,"ionImgWillLoad",7),this.ionImgDidLoad=B(this,"ionImgDidLoad",7),this.ionError=B(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=Ho(this.el,["draggable"])}componentDidLoad(){this.addIO()}addIO(){this.src!==void 0&&(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:n,onLoad:i,loadError:o,inheritedAttributes:r}=this,{draggable:s}=r;return y(ee,{class:W(this)},y("img",{decoding:"async",src:t,alt:n,onLoad:i,onError:o,part:"image",draggable:uL(s)}))}get el(){return this}static get watchers(){return{src:["srcChanged"]}}static get style(){return cL}},[1,"ion-img",{alt:[1],src:[1],loadSrc:[32],loadError:[32]},void 0,{src:["srcChanged"]}]),uL=e=>{switch(e){case"true":return!0;case"false":return!1;default:return}};function hL(){if(typeof customElements>"u")return;["ion-img"].forEach(t=>{switch(t){case"ion-img":customElements.get(t)||customElements.define(t,dL);break}})}const pL=hL;/*! * (C) Ionic http://ionicframework.com - MIT License */const fL=(e,t,n)=>{let i;const o=()=>!(t()===void 0||e.label!==void 0||n()===null),r=()=>{o()&&Ie(()=>{s()})},s=()=>{const l=t();if(l===void 0)return;if(!o()){l.style.removeProperty("width");return}const c=n().scrollWidth;if(c===0&&l.offsetParent===null&&Ae!==void 0&&"IntersectionObserver"in Ae){if(i!==void 0)return;const d=i=new IntersectionObserver(u=>{u[0].intersectionRatio===1&&(s(),d.disconnect(),i=void 0)},{threshold:.01,root:e});d.observe(l);return}l.style.setProperty("width",`${c*.75}px`)};return{calculateNotchWidth:r,destroy:()=>{i&&(i.disconnect(),i=void 0)}}};/*! * (C) Ionic http://ionicframework.com - MIT License */const mL=(e,t,n)=>{if(typeof MutationObserver>"u")return;const i=new MutationObserver(o=>{n(gL(o,t))});return i.observe(e,{childList:!0,subtree:!0}),i},gL=(e,t)=>{let n;return e.forEach(i=>{for(let o=0;o{if(e.nodeType!==1)return;const n=e;return(n.tagName===t.toUpperCase()?[n]:Array.from(n.querySelectorAll(t))).find(o=>o.value===n.value)};/*! * (C) Ionic http://ionicframework.com - MIT License */const vL=Ep;/*! * (C) Ionic http://ionicframework.com - MIT License */const yL="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}",xL="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}",wL=ne(class extends ie{constructor(){super(),this.__registerHost(),this.lines=void 0,this.inset=!1}async closeSlidingItems(){const t=this.el.querySelector("ion-item-sliding");return t!=null&&t.closeOpened?t.closeOpened():!1}render(){const t=W(this),{lines:n,inset:i}=this;return y(ee,{role:"list",class:{[t]:!0,[`list-${t}`]:!0,"list-inset":i,[`list-lines-${n}`]:n!==void 0,[`list-${t}-lines-${n}`]:n!==void 0}})}get el(){return this}static get style(){return{ios:yL,md:xL}}},[32,"ion-list",{lines:[1],inset:[4],closeSlidingItems:[64]}]);function Ap(){if(typeof customElements>"u")return;["ion-list"].forEach(t=>{switch(t){case"ion-list":customElements.get(t)||customElements.define(t,wL);break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const kL=Ap;/*! * (C) Ionic http://ionicframework.com - MIT License */const CL=":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}",SL=":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}",EL=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.color=void 0,this.lines=void 0}render(){const{lines:t}=this,n=W(this);return y(ee,{class:Ke(this.color,{[n]:!0,[`list-header-lines-${t}`]:t!==void 0})},y("div",{class:"list-header-inner"},y("slot",null)))}static get style(){return{ios:CL,md:SL}}},[33,"ion-list-header",{color:[513],lines:[1]}]);function Lp(){if(typeof customElements>"u")return;["ion-list-header"].forEach(t=>{switch(t){case"ion-list-header":customElements.get(t)||customElements.define(t,EL);break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const TL=Lp,PL=":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}",AL=":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)}",LL="cubic-bezier(0.32,0.72,0,1)",IL="cubic-bezier(0.0,0.0,0.2,1)",OL="cubic-bezier(1, 0, 0.68, 0.28)",RL="cubic-bezier(0.4, 0, 0.6, 1)",Lg='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',DL=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionWillOpen=B(this,"ionWillOpen",7),this.ionWillClose=B(this,"ionWillClose",7),this.ionDidOpen=B(this,"ionDidOpen",7),this.ionDidClose=B(this,"ionDidClose",7),this.ionMenuChange=B(this,"ionMenuChange",7),this.lastOnEnd=0,this.blocker=$l.createBlocker({disableScroll:!0}),this.didLoad=!1,this.operationCancelled=!1,this.isAnimating=!1,this._isOpen=!1,this.inheritedAttributes={},this.handleFocus=t=>{const n=$o(document);n&&!n.contains(this.el)||this.trapKeyboardFocus(t,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,n){const i=this.contentEl;i&&(n!==void 0&&i.classList.remove(`menu-content-${n}`),i.classList.add(`menu-content-${t}`),i.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=ug(this.side),this.animation=void 0}swipeGestureChanged(){this.updateState()}async connectedCallback(){typeof customElements<"u"&&customElements!=null&&await customElements.whenDefined("ion-menu"),this.type===void 0&&(this.type=le.get("menuType","overlay"));const t=this.contentId!==void 0?document.getElementById(this.contentId):null;if(t===null){console.error('Menu: must have a "content" element to listen for drag events on.');return}this.el.contains(t)&&console.error(`Menu: "contentId" should refer to the main view's ion-content, not the ion-content inside of the ion-menu.`),this.contentEl=t,t.classList.add("menu-content"),this.typeChanged(this.type,void 0),this.sideChanged(),jn._register(this),this.menuChanged(),this.gesture=(await $t(()=>Promise.resolve().then(()=>Sx),void 0)).createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:!0,canStart:n=>this.canStart(n),onWillStart:()=>this.onWillStart(),onStart:()=>this.onStart(),onMove:n=>this.onMove(n),onEnd:n=>this.onEnd(n)}),this.updateState()}componentWillLoad(){this.inheritedAttributes=No(this.el)}async componentDidLoad(){this.didLoad=!0,this.menuChanged(),this.updateState()}menuChanged(){this.didLoad&&this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}async disconnectedCallback(){await this.close(!1),this.blocker.destroy(),jn._unregister(this),this.animation&&this.animation.destroy(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.animation=void 0,this.contentEl=void 0}onSplitPaneChanged(t){const{target:n}=t,i=this.el.closest("ion-split-pane");n===i&&(this.isPaneVisible=t.detail.isPane(this.el),this.updateState())}onBackdropClick(t){this._isOpen&&this.lastOnEnd0?n[n.length-1]:null;i?i.focus():t.focus()}trapKeyboardFocus(t,n){const i=t.target;i&&(this.el.contains(i)?this.lastFocus=i:(this.focusFirstDescendant(),this.lastFocus===n.activeElement&&this.focusLastDescendant()))}async _setOpen(t,n=!0){return!this._isActive()||this.isAnimating||t===this._isOpen?!1:(this.beforeAnimation(t),await this.loadAnimation(),await this.startAnimation(t,n),this.operationCancelled?(this.operationCancelled=!1,!1):(this.afterAnimation(t),!0))}async loadAnimation(){const t=this.menuInnerEl.offsetWidth,n=ug(this.side);if(t===this.width&&this.animation!==void 0&&n===this.isEndSide)return;this.width=t,this.isEndSide=n,this.animation&&(this.animation.destroy(),this.animation=void 0);const i=this.animation=await jn._createAnimation(this.type,this);le.getBoolean("animated",!0)||i.duration(0),i.fill("both")}async startAnimation(t,n){const i=!t,o=W(this),r=o==="ios"?LL:IL,s=o==="ios"?OL:RL,a=this.animation.direction(i?"reverse":"normal").easing(i?s:r);n?await a.play():a.play({sync:!0}),a.getDirection()==="reverse"&&a.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()?!1:this._isOpen?!0:jn._getOpenSync()?!1:$L(window,t.currentX,this.isEndSide,this.maxEdgeStart)}onWillStart(){return this.beforeAnimation(!this._isOpen),this.loadAnimation()}onStart(){if(!this.isAnimating||!this.animation){je(!1,"isAnimating has to be true");return}this.animation.progressStart(!0,this._isOpen?1:0)}onMove(t){if(!this.isAnimating||!this.animation){je(!1,"isAnimating has to be true");return}const i=Ig(t.deltaX,this._isOpen,this.isEndSide)/this.width;this.animation.progressStep(this._isOpen?1-i:i)}onEnd(t){if(!this.isAnimating||!this.animation){je(!1,"isAnimating has to be true");return}const n=this._isOpen,i=this.isEndSide,o=Ig(t.deltaX,n,i),r=this.width,s=o/r,a=t.velocityX,l=r/2,c=a>=0&&(a>.2||t.deltaX>l),d=a<=0&&(a<-.2||t.deltaX<-l),u=n?i?c:d:i?d:c;let h=!n&&u;n&&!u&&(h=!0),this.lastOnEnd=t.currentTime;let p=u?.001:-.001;const f=s<0?.01:s;p+=$i([0,0],[.4,0],[.6,1],[1,1],at(0,f,.9999))[0]||0;const m=this._isOpen?!u:u;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish(()=>this.afterAnimation(h),{oneTimeCallback:!0}).progressEnd(m?1:0,this._isOpen?1-p:p,300)}beforeAnimation(t){je(!this.isAnimating,"_before() should not be called while animating"),this.el.classList.add(Og),this.el.setAttribute("tabindex","0"),this.backdropEl&&this.backdropEl.classList.add(Rg),this.contentEl&&(this.contentEl.classList.add(Dg),this.contentEl.setAttribute("aria-hidden","true")),this.blocker.block(),this.isAnimating=!0,t?this.ionWillOpen.emit():this.ionWillClose.emit()}afterAnimation(t){var n;this._isOpen=t,this.isAnimating=!1,this._isOpen||this.blocker.unblock(),t?(this.ionDidOpen.emit(),((n=document.activeElement)===null||n===void 0?void 0:n.closest("ion-menu"))!==this.el&&this.el.focus(),document.addEventListener("focus",this.handleFocus,!0)):(this.el.classList.remove(Og),this.el.removeAttribute("tabindex"),this.contentEl&&(this.contentEl.classList.remove(Dg),this.contentEl.removeAttribute("aria-hidden")),this.backdropEl&&this.backdropEl.classList.remove(Rg),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:n,isPaneVisible:i,inheritedAttributes:o,side:r}=this,s=W(this);return y(ee,{role:"navigation","aria-label":o["aria-label"]||"menu",class:{[s]:!0,[`menu-type-${t}`]:!0,"menu-enabled":!n,[`menu-side-${r}`]:!0,"menu-pane-visible":i}},y("div",{class:"menu-inner",part:"container",ref:a=>this.menuInnerEl=a},y("slot",null)),y("ion-backdrop",{ref:a=>this.backdropEl=a,class:"menu-backdrop",tappable:!1,stopPropagation:!1,part:"backdrop"}))}get el(){return this}static get watchers(){return{type:["typeChanged"],disabled:["disabledChanged"],side:["sideChanged"],swipeGesture:["swipeGestureChanged"]}}static get style(){return{ios:PL,md:AL}}},[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"]}]),Ig=(e,t,n)=>Math.max(0,t!==n?-e:e),$L=(e,t,n,i)=>n?t>=e.innerWidth-i:t<=i,Og="show-menu",Rg="show-backdrop",Dg="menu-content-open";function _L(){if(typeof customElements>"u")return;["ion-menu","ion-backdrop"].forEach(t=>{switch(t){case"ion-menu":customElements.get(t)||customElements.define(t,DL);break;case"ion-backdrop":customElements.get(t)||Uo();break}})}const zL=_L;/*! * (C) Ionic http://ionicframework.com - MIT License */const nw=async e=>{const t=await jn.get(e);return!!(t&&await t.isActive())};/*! * (C) Ionic http://ionicframework.com - MIT License */const ML=':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}}',BL=':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)}}',jL=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.inheritedAttributes={},this.onClick=async()=>jn.toggle(this.menu),this.visible=!1,this.color=void 0,this.disabled=!1,this.menu=void 0,this.autoHide=!0,this.type="button"}componentWillLoad(){this.inheritedAttributes=No(this.el)}componentDidLoad(){this.visibilityChanged()}async visibilityChanged(){this.visible=await nw(this.menu)}render(){const{color:t,disabled:n,inheritedAttributes:i}=this,o=W(this),r=le.get("menuIcon",o==="ios"?pP:fP),s=this.autoHide&&!this.visible,a={type:this.type},l=i["aria-label"]||"menu";return y(ee,{onClick:this.onClick,"aria-disabled":n?"true":null,"aria-hidden":s?"true":null,class:Ke(t,{[o]:!0,button:!0,"menu-button-hidden":s,"menu-button-disabled":n,"in-toolbar":De("ion-toolbar",this.el),"in-toolbar-color":De("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0})},y("button",Object.assign({},a,{disabled:n,class:"button-native",part:"native","aria-label":l}),y("span",{class:"button-inner"},y("slot",null,y("ion-icon",{part:"icon",icon:r,mode:o,lazy:!1,"aria-hidden":"true"}))),o==="md"&&y("ion-ripple-effect",{type:"unbounded"})))}get el(){return this}static get style(){return{ios:ML,md:BL}}},[33,"ion-menu-button",{color:[513],disabled:[4],menu:[1],autoHide:[4,"auto-hide"],type:[1],visible:[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]);function VL(){if(typeof customElements>"u")return;["ion-menu-button","ion-icon","ion-ripple-effect"].forEach(t=>{switch(t){case"ion-menu-button":customElements.get(t)||customElements.define(t,jL);break;case"ion-icon":customElements.get(t)||gs();break;case"ion-ripple-effect":customElements.get(t)||Fi();break}})}const FL=VL;/*! * (C) Ionic http://ionicframework.com - MIT License */const HL=":host(.menu-toggle-hidden){display:none}",NL=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.onClick=()=>jn.toggle(this.menu),this.visible=!1,this.menu=void 0,this.autoHide=!0}connectedCallback(){this.visibilityChanged()}async visibilityChanged(){this.visible=await nw(this.menu)}render(){const t=W(this),n=this.autoHide&&!this.visible;return y(ee,{onClick:this.onClick,"aria-hidden":n?"true":null,class:{[t]:!0,"menu-toggle-hidden":n}},y("slot",null))}static get style(){return HL}},[1,"ion-menu-toggle",{menu:[1],autoHide:[4,"auto-hide"],visible:[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]);function UL(){if(typeof customElements>"u")return;["ion-menu-toggle"].forEach(t=>{switch(t){case"ion-menu-toggle":customElements.get(t)||customElements.define(t,NL);break}})}const WL=UL,iw=1,ow=2,tl=3;class Fu{constructor(t,n){this.component=t,this.params=n,this.state=iw}async init(t){if(this.state=ow,!this.element){const n=this.component;this.element=await Ml(this.delegate,t,n,["ion-page","ion-page-invisible"],this.params)}}_destroy(){je(this.state!==tl,"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=tl}}const $g=(e,t,n)=>!e||e.component!==t?!1:fx(e.params,n),_g=(e,t)=>e?e instanceof Fu?e:new Fu(e,t):null,qL=e=>e.map(t=>t instanceof Fu?t:"component"in t?_g(t.component,t.componentProps===null?void 0:t.componentProps):_g(t,void 0)).filter(t=>t!==null),YL=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}",KL=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=B(this,"ionNavWillLoad",7),this.ionNavWillChange=B(this,"ionNavWillChange",3),this.ionNavDidChange=B(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(this.swipeGesture===!0)}rootChanged(){this.root!==void 0&&this.didLoad!==!1&&(this.useRouter||this.root!==void 0&&this.setRoot(this.root,this.rootParams))}componentWillLoad(){if(this.useRouter=document.querySelector("ion-router")!==null&&this.el.closest("[no-router]")===null,this.swipeGesture===void 0){const t=W(this);this.swipeGesture=le.getBoolean("swipeBackEnabled",t==="ios")}this.ionNavWillLoad.emit()}async componentDidLoad(){this.didLoad=!0,this.rootChanged(),this.gesture=(await $t(()=>import("./swipe-back-S1YpX5EA.js"),__vite__mapDeps([]))).createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this)),this.swipeGestureChanged()}connectedCallback(){this.destroyed=!1}disconnectedCallback(){for(const t of this.views)un(t.element,td),t._destroy();this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0}push(t,n,i,o){return this.insert(-1,t,n,i,o)}insert(t,n,i,o,r){return this.insertPages(t,[{component:n,componentProps:i}],o,r)}insertPages(t,n,i,o){return this.queueTrns({insertStart:t,insertViews:n,opts:i},o)}pop(t,n){return this.removeIndex(-1,1,t,n)}popTo(t,n,i){const o={removeStart:-1,removeCount:-1,opts:n};return typeof t=="object"&&t.component?(o.removeView=t,o.removeStart=1):typeof t=="number"&&(o.removeStart=t+1),this.queueTrns(o,i)}popToRoot(t,n){return this.removeIndex(1,-1,t,n)}removeIndex(t,n=1,i,o){return this.queueTrns({removeStart:t,removeCount:n,opts:i},o)}setRoot(t,n,i,o){return this.setPages([{component:t,componentProps:n}],i,o)}setPages(t,n,i){return n??(n={}),n.animated!==!0&&(n.animated=!1),this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:n},i)}setRouteId(t,n,i,o){const r=this.getActiveSync();if($g(r,t,n))return Promise.resolve({changed:!1,element:r.element});let s;const a=new Promise(d=>s=d);let l;const c={updateURL:!1,viewIsReady:d=>{let u;const h=new Promise(p=>u=p);return s({changed:!0,element:d,markVisible:async()=>{u(),await l}}),h}};if(i==="root")l=this.setRoot(t,n,c);else{const d=this.views.find(u=>$g(u,t,n));d?l=this.popTo(d,Object.assign(Object.assign({},c),{direction:"back",animationBuilder:o})):i==="forward"?l=this.push(t,n,Object.assign(Object.assign({},c),{animationBuilder:o})):i==="back"&&(l=this.setRoot(t,n,Object.assign(Object.assign({},c),{direction:"back",animated:!0,animationBuilder:o})))}return a}async getRouteId(){const t=this.getActiveSync();if(t)return{id:t.element.tagName,params:t.params,element:t.element}}async getActive(){return this.getActiveSync()}async getByIndex(t){return this.views[t]}async canGoBack(t){return this.canGoBackSync(t)}async getPrevious(t){return this.getPreviousSync(t)}getLength(){return this.views.length}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(t=this.getActiveSync()){return!!(t&&this.getPreviousSync(t))}getPreviousSync(t=this.getActiveSync()){if(!t)return;const n=this.views,i=n.indexOf(t);return i>0?n[i-1]:void 0}async queueTrns(t,n){var i,o;if(this.isTransitioning&&(!((i=t.opts)===null||i===void 0)&&i.skipIfBusy))return!1;const r=new Promise((s,a)=>{t.resolve=s,t.reject=a});if(t.done=n,t.opts&&t.opts.updateURL!==!1&&this.useRouter){const s=document.querySelector("ion-router");if(s){const a=await s.canTransition();if(a===!1)return!1;if(typeof a=="string")return s.push(a,t.opts.direction||"back"),!1}}return((o=t.insertViews)===null||o===void 0?void 0:o.length)===0&&(t.insertViews=void 0),this.transInstr.push(t),this.nextTrns(),r}success(t,n){if(this.destroyed){this.fireError("nav controller was destroyed",n);return}if(n.done&&n.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction),n.resolve(t.hasCompleted),n.opts.updateURL!==!1&&this.useRouter){const i=document.querySelector("ion-router");if(i){const o=t.direction==="back"?"back":"forward";i.navChanged(o)}}}failed(t,n){if(this.destroyed){this.fireError("nav controller was destroyed",n);return}this.transInstr.length=0,this.fireError(t,n)}fireError(t,n){n.done&&n.done(!1,!1,t),n.reject&&!this.destroyed?n.reject(t):n.resolve(!1)}nextTrns(){if(this.isTransitioning)return!1;const t=this.transInstr.shift();return t?(this.runTransition(t),!0):!1}async runTransition(t){try{this.ionNavWillChange.emit(),this.isTransitioning=!0,this.prepareTI(t);const n=this.getActiveSync(),i=this.getEnteringView(t,n);if(!n&&!i)throw new Error("no views in the stack to be removed");i&&i.state===iw&&await i.init(this.el),this.postViewInit(i,n,t);const o=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&i!==n;o&&t.opts&&n&&(t.opts.direction==="back"&&(t.opts.animationBuilder=t.opts.animationBuilder||(i==null?void 0:i.animationBuilder)),n.animationBuilder=t.opts.animationBuilder);let r;o?r=await this.transition(i,n,t):r={hasCompleted:!0,requiresTransition:!1},this.success(r,t),this.ionNavDidChange.emit()}catch(n){this.failed(n,t)}this.isTransitioning=!1,this.nextTrns()}prepareTI(t){var n,i,o;const r=this.views.length;if((n=t.opts)!==null&&n!==void 0||(t.opts={}),(i=(o=t.opts).delegate)!==null&&i!==void 0||(o.delegate=this.delegate),t.removeView!==void 0){je(t.removeStart!==void 0,"removeView needs removeStart"),je(t.removeCount!==void 0,"removeView needs removeCount");const l=this.views.indexOf(t.removeView);if(l<0)throw new Error("removeView was not found");t.removeStart+=l}t.removeStart!==void 0&&(t.removeStart<0&&(t.removeStart=r-1),t.removeCount<0&&(t.removeCount=r-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===r),t.insertViews&&((t.insertStart<0||t.insertStart>r)&&(t.insertStart=r),t.enteringRequiresTransition=t.insertStart===r);const s=t.insertViews;if(!s)return;je(s.length>0,"length can not be zero");const a=qL(s);if(a.length===0)throw new Error("invalid views to insert");for(const l of a){l.delegate=t.opts.delegate;const c=l.nav;if(c&&c!==this)throw new Error("inserted view was already inserted");if(l.state===tl)throw new Error("inserted view was already destroyed")}t.insertViews=a}getEnteringView(t,n){const i=t.insertViews;if(i!==void 0)return i[i.length-1];const o=t.removeStart;if(o!==void 0){const r=this.views,s=o+t.removeCount;for(let a=r.length-1;a>=0;a--){const l=r[a];if((a=s)&&l!==n)return l}}}postViewInit(t,n,i){var o,r,s;je(n||t,"Both leavingView and enteringView are null"),je(i.resolve,"resolve must be valid"),je(i.reject,"reject must be valid");const a=i.opts,{insertViews:l,removeStart:c,removeCount:d}=i;let u;if(c!==void 0&&d!==void 0){je(c>=0,"removeStart can not be negative"),je(d>=0,"removeCount can not be negative"),u=[];for(let p=c;p=0,"final balance can not be negative"),h===0)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(l){let p=i.insertStart;for(const f of l)this.insertViewAt(f,p),p++;i.enteringRequiresTransition&&((s=a.direction)!==null&&s!==void 0||(a.direction="forward"))}if(u&&u.length>0){for(const p of u)un(p.element,mx),un(p.element,gx),un(p.element,td);for(const p of u)this.destroyView(p)}}async transition(t,n,i){const o=i.opts,r=o.progressAnimation?u=>{u!==void 0&&!this.gestureOrAnimationInProgress?(this.gestureOrAnimationInProgress=!0,u.onFinish(()=>{this.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0}),u.progressEnd(0,0,0)):this.sbAni=u}:void 0,s=W(this),a=t.element,l=n&&n.element,c=Object.assign(Object.assign({mode:s,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:r,animated:this.animated&&le.getBoolean("animated",!0),enteringEl:a,leavingEl:l},o),{animationBuilder:o.animationBuilder||this.animation||le.get("navAnimation")}),{hasCompleted:d}=await bx(c);return this.transitionFinish(d,t,n,o)}transitionFinish(t,n,i,o){const r=t?n:i;return r&&this.unmountInactiveViews(r),{hasCompleted:t,requiresTransition:!0,enteringView:n,leavingView:i,direction:o.direction}}insertViewAt(t,n){const i=this.views,o=i.indexOf(t);o>-1?(je(t.nav===this,"view is not part of the nav"),i.splice(o,1),i.splice(n,0,t)):(je(!t.nav,"nav is used"),t.nav=this,i.splice(n,0,t))}removeView(t){je(t.state===ow||t.state===tl,"view state should be loaded or destroyed");const n=this.views,i=n.indexOf(t);je(i>-1,"view must be part of the stack"),i>=0&&n.splice(i,1)}destroyView(t){t._destroy(),this.removeView(t)}unmountInactiveViews(t){if(this.destroyed)return;const n=this.views,i=n.indexOf(t);for(let o=n.length-1;o>=0;o--){const r=n[o],s=r.element;s&&(o>i?(un(s,td),this.destroyView(r)):o{this.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0});let o=t?-.001:.001;t?o+=$i([0,0],[.32,.72],[0,1],[1,1],n)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),o+=$i([0,0],[1,0],[.68,.28],[1,1],n)[0]),this.sbAni.progressEnd(t?1:0,o,i)}else this.gestureOrAnimationInProgress=!1}render(){return y("slot",null)}get el(){return this}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}static get style(){return YL}},[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]},void 0,{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}]);function XL(){if(typeof customElements>"u")return;["ion-nav"].forEach(t=>{switch(t){case"ion-nav":customElements.get(t)||customElements.define(t,KL);break}})}const GL=XL;/*! * (C) Ionic http://ionicframework.com - MIT License */const QL=Nl;/*! * (C) Ionic http://ionicframework.com - MIT License */const Hu=(e,t,n)=>typeof n=="function"?n(e,t):typeof n=="string"?e[n]===t[n]:Array.isArray(t)?t.includes(e):e===t,fa=(e,t,n)=>e===void 0?!1:Array.isArray(e)?e.some(i=>Hu(i,t,n)):Hu(e,t,n),ZL=':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}',JL=':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}',eI=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionStyle=B(this,"ionStyle",7),this.ionFocus=B(this,"ionFocus",7),this.ionBlur=B(this,"ionBlur",7),this.inputId=`ion-rb-${tI++}`,this.radioGroup=null,this.hasLoggedDeprecationWarning=!1,this.updateState=()=>{if(this.radioGroup){const{compareWith:t,value:n}=this.radioGroup;this.checked=fa(n,this.value,t)}},this.onClick=()=>{const{radioGroup:t,checked:n,disabled:i}=this;if(!i){if(this.legacyFormController.hasLegacyControl()){this.checked=this.nativeInput.checked;return}n&&(t!=null&&t.allowEmptySelection)?this.checked=!1:this.checked=!0}},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()}async setFocus(t){t.stopPropagation(),t.preventDefault(),this.el.focus()}async setButtonTabindex(t){this.buttonTabindex=t}connectedCallback(){this.legacyFormController=Hl(this.el),this.value===void 0&&(this.value=this.inputId);const t=this.radioGroup=this.el.closest("ion-radio-group");t&&(this.updateState(),gp(t,"ionValueChange",this.updateState))}disconnectedCallback(){const t=this.radioGroup;t&&(hx(t,"ionValueChange",this.updateState),this.radioGroup=null)}componentWillLoad(){this.emitStyle()}styleChanged(){this.emitStyle()}emitStyle(){const t={"interactive-disabled":this.disabled,legacy:!!this.legacy};this.legacyFormController.hasLegacyControl()&&(t["radio-checked"]=this.checked),this.ionStyle.emit(t)}get hasLabel(){return this.el.textContent!==""}renderRadioControl(){return y("div",{class:"radio-icon",part:"container"},y("div",{class:"radio-inner",part:"mark"}),y("div",{class:"radio-ripple"}))}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacyRadio():this.renderRadio()}renderRadio(){const{checked:t,disabled:n,color:i,el:o,justify:r,labelPlacement:s,hasLabel:a,buttonTabindex:l,alignment:c}=this,d=W(this),u=De("ion-item",o);return y(ee,{onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:Ke(i,{[d]:!0,"in-item":u,"radio-checked":t,"radio-disabled":n,[`radio-justify-${r}`]:!0,[`radio-alignment-${c}`]:!0,[`radio-label-placement-${s}`]:!0,"ion-activatable":!u,"ion-focusable":!u}),role:"radio","aria-checked":t?"true":"false","aria-disabled":n?"true":null,tabindex:l},y("label",{class:"radio-wrapper"},y("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!a},part:"label"},y("slot",null)),y("div",{class:"native-wrapper"},this.renderRadioControl())))}renderLegacyRadio(){this.hasLoggedDeprecationWarning||(pe(`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. Example: Option Label Example with aria-label: Developers 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&&pe(`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. Developers 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:t,disabled:n,checked:i,color:o,el:r,buttonTabindex:s}=this,a=W(this),{label:l,labelId:c,labelText:d}=Zr(r,t);return y(ee,{"aria-checked":`${i}`,"aria-hidden":n?"true":null,"aria-labelledby":l?c:null,role:"radio",tabindex:s,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:Ke(o,{[a]:!0,"in-item":De("ion-item",r),interactive:!0,"radio-checked":i,"radio-disabled":n,"legacy-radio":!0})},this.renderRadioControl(),y("label",{htmlFor:t},d),y("input",{type:"radio",checked:i,disabled:n,tabindex:"-1",id:t,ref:u=>this.nativeInput=u}))}get el(){return this}static get watchers(){return{value:["valueChanged"],checked:["styleChanged"],color:["styleChanged"],disabled:["styleChanged"]}}static get style(){return{ios:ZL,md:JL}}},[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]},void 0,{value:["valueChanged"],checked:["styleChanged"],color:["styleChanged"],disabled:["styleChanged"]}]);let tI=0;function rw(){if(typeof customElements>"u")return;["ion-radio"].forEach(t=>{switch(t){case"ion-radio":customElements.get(t)||customElements.define(t,eI);break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const nI=ne(class extends ie{constructor(){super(),this.__registerHost(),this.ionChange=B(this,"ionChange",7),this.ionValueChange=B(this,"ionValueChange",7),this.inputId=`ion-rg-${iI++}`,this.labelId=`${this.inputId}-lbl`,this.setRadioTabindex=t=>{const n=this.getRadios(),i=n.find(s=>!s.disabled),o=n.find(s=>s.value===t&&!s.disabled);if(!i&&!o)return;const r=o||i;for(const s of n){const a=s===r?0:-1;s.setButtonTabindex(a)}},this.onClick=t=>{t.preventDefault();const n=t.target&&t.target.closest("ion-radio");if(n&&!n.disabled){const i=this.value,o=n.value;o!==i?(this.value=o,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(t){this.setRadioTabindex(t),this.ionValueChange.emit({value:t})}componentDidLoad(){this.valueChanged(this.value)}async connectedCallback(){const t=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(t){const n=this.label=t.querySelector("ion-label");n&&(this.labelId=n.id=this.name+"-lbl")}}getRadios(){return Array.from(this.el.querySelectorAll("ion-radio"))}emitValueChange(t){const{value:n}=this;this.ionChange.emit({value:n,event:t})}onKeydown(t){const n=!!this.el.closest("ion-select-popover");if(t.target&&!this.el.contains(t.target))return;const i=this.getRadios().filter(o=>!o.disabled);if(t.target&&i.includes(t.target)){const o=i.findIndex(a=>a===t.target),r=i[o];let s;if(["ArrowDown","ArrowRight"].includes(t.key)&&(s=o===i.length-1?i[0]:i[o+1]),["ArrowUp","ArrowLeft"].includes(t.key)&&(s=o===0?i[i.length-1]:i[o-1]),s&&i.includes(s)&&(s.setFocus(t),n||(this.value=s.value,this.emitValueChange(t))),[" "].includes(t.key)){const a=this.value;this.value=this.allowEmptySelection&&this.value!==void 0?void 0:r.value,(a!==this.value||this.allowEmptySelection)&&this.emitValueChange(t),t.preventDefault()}}}render(){const{label:t,labelId:n,el:i,name:o,value:r}=this,s=W(this);return Di(!0,i,o,r,!1),y(ee,{role:"radiogroup","aria-labelledby":t?n:null,onClick:this.onClick,class:s})}get el(){return this}static get watchers(){return{value:["valueChanged"]}}},[0,"ion-radio-group",{allowEmptySelection:[4,"allow-empty-selection"],compareWith:[1,"compare-with"],name:[1],value:[1032]},[[4,"keydown","onKeydown"]],{value:["valueChanged"]}]);let iI=0;function sw(){if(typeof customElements>"u")return;["ion-radio-group"].forEach(t=>{switch(t){case"ion-radio-group":customElements.get(t)||customElements.define(t,nI);break}})}function oI(e){return e%1===0?0:e.toString().split(".")[1].length}function rI(e,...t){const n=Math.max(...t.map(i=>oI(i)));return Number(e.toFixed(n))}const sI=":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}",aI=':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}',lI=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionChange=B(this,"ionChange",7),this.ionInput=B(this,"ionInput",7),this.ionStyle=B(this,"ionStyle",7),this.ionFocus=B(this,"ionFocus",7),this.ionBlur=B(this,"ionBlur",7),this.ionKnobMoveStart=B(this,"ionKnobMoveStart",7),this.ionKnobMoveEnd=B(this,"ionKnobMoveEnd",7),this.rangeId=`ion-r-${cI++}`,this.didLoad=!1,this.noUpdate=!1,this.hasFocus=!1,this.inheritedAttributes={},this.contentEl=null,this.initialContentScrollY=!0,this.hasLoggedDeprecationWarning=!1,this.clampBounds=t=>at(this.min,t,this.max),this.ensureValueInBounds=t=>this.dualKnobs?{lower:this.clampBounds(t.lower),upper:this.clampBounds(t.upper)}:this.clampBounds(t),this.setupGesture=async()=>{const t=this.rangeSlider;t&&(this.gesture=(await $t(()=>Promise.resolve().then(()=>Sx),void 0)).createGesture({el:t,gestureName:"range",gesturePriority:100,threshold:0,onStart:n=>this.onStart(n),onMove:n=>this.onMove(n),onEnd:n=>this.onEnd(n)}),this.gesture.enable(!this.disabled))},this.handleKeyboard=(t,n)=>{const{ensureValueInBounds:i}=this;let o=this.step;o=o>0?o:1,o=o/(this.max-this.min),n||(o*=-1),t==="A"?this.ratioA=at(0,this.ratioA+o,1):this.ratioB=at(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=t=>Math.round(t),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:n,originalIonInput:i}=this;this.ionInput=n===void 0?i??t:B2(t,n)}minChanged(){this.noUpdate||this.updateRatio()}maxChanged(){this.noUpdate||this.updateRatio()}activeBarStartChanged(){const{activeBarStart:t}=this;t!==void 0&&(t>this.max?(pe(`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
Example with aria-label: Developers 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&&pe(`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. Developers 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:n,disabled:i,pin:o,rangeId:r}=this,s=W(this);return Di(!0,t,this.name,JSON.stringify(this.getValue()),i),y(ee,{onFocusin:this.onFocus,onFocusout:this.onBlur,id:r,class:Ke(this.color,{[s]:!0,"in-item":De("ion-item",t),"range-disabled":i,"range-pressed":n!==void 0,"range-has-pin":o,"legacy-range":!0})},y("slot",{name:"start"}),this.renderRangeSlider(),y("slot",{name:"end"}))}get hasStartSlotContent(){return this.el.querySelector('[slot="start"]')!==null}get hasEndSlotContent(){return this.el.querySelector('[slot="end"]')!==null}renderRange(){const{disabled:t,el:n,hasLabel:i,rangeId:o,pin:r,pressedKnob:s,labelPlacement:a,label:l}=this,c=De("ion-item",n),d=i&&(a==="start"||a==="fixed")||this.hasStartSlotContent,u=c&&!d,h=i&&a==="end"||this.hasEndSlotContent,p=c&&!h,f=W(this);return Di(!0,n,this.name,JSON.stringify(this.getValue()),t),y(ee,{onFocusin:this.onFocus,onFocusout:this.onBlur,id:o,class:Ke(this.color,{[f]:!0,"in-item":c,"range-disabled":t,"range-pressed":s!==void 0,"range-has-pin":r,[`range-label-placement-${a}`]:!0,"range-item-start-adjustment":u,"range-item-end-adjustment":p})},y("label",{class:"range-wrapper",id:"range-label"},y("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!i},part:"label"},l!==void 0?y("div",{class:"label-text"},l):y("slot",{name:"label"})),y("div",{class:"native-wrapper"},y("slot",{name:"start"}),this.renderRangeSlider(),y("slot",{name:"end"}))))}get hasLabel(){return this.label!==void 0||this.el.querySelector('[slot="label"]')!==null}renderRangeSlider(){var t;const{min:n,max:i,step:o,el:r,handleKeyboard:s,pressedKnob:a,disabled:l,pin:c,ratioLower:d,ratioUpper:u,inheritedAttributes:h,rangeId:p,pinFormatter:f}=this;let{labelText:m}=Zr(r,p);m==null&&(m=h["aria-label"]);let x=`${d*100}%`,b=`${100-u*100}%`;const g=Pr(this.el),v=g?"right":"left",w=g?"left":"right",E=A=>({[v]:A[v]});this.dualKnobs===!1&&(this.valA<((t=this.activeBarStart)!==null&&t!==void 0?t:this.min)?(x=`${u*100}%`,b=`${100-d*100}%`):(x=`${d*100}%`,b=`${100-u*100}%`));const S={[v]:x,[w]:b},k=[];if(this.snaps&&this.ticks)for(let A=n;A<=i;A+=o){const D=Qi(A,n,i),R=Math.min(d,u),V=Math.max(d,u),Y={ratio:D,active:D>=R&&D<=V};Y[v]=`${D*100}%`,k.push(Y)}let C;return!this.legacyFormController.hasLegacyControl()&&this.hasLabel&&(C="range-label"),y("div",{class:"range-slider",ref:A=>this.rangeSlider=A},k.map(A=>y("div",{style:E(A),role:"presentation",class:{"range-tick":!0,"range-tick-active":A.active},part:A.active?"tick-active":"tick"})),y("div",{class:"range-bar-container"},y("div",{class:"range-bar",role:"presentation",part:"bar"}),y("div",{class:{"range-bar":!0,"range-bar-active":!0,"has-ticks":k.length>0},role:"presentation",style:S,part:"bar-active"})),zg(g,{knob:"A",pressed:a==="A",value:this.valA,ratio:this.ratioA,pin:c,pinFormatter:f,disabled:l,handleKeyboard:s,min:n,max:i,labelText:m,labelledBy:C}),this.dualKnobs&&zg(g,{knob:"B",pressed:a==="B",value:this.valB,ratio:this.ratioB,pin:c,pinFormatter:f,disabled:l,handleKeyboard:s,min:n,max:i,labelText:m,labelledBy:C}))}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacyRange():this.renderRange()}get el(){return this}static get watchers(){return{debounce:["debounceChanged"],min:["minChanged"],max:["maxChanged"],activeBarStart:["activeBarStartChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}static get style(){return{ios:sI,md:aI}}},[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]},void 0,{debounce:["debounceChanged"],min:["minChanged"],max:["maxChanged"],activeBarStart:["activeBarStartChanged"],disabled:["disabledChanged"],value:["valueChanged"]}]),zg=(e,{knob:t,value:n,ratio:i,min:o,max:r,disabled:s,pressed:a,pin:l,handleKeyboard:c,labelText:d,labelledBy:u,pinFormatter:h})=>{const p=e?"right":"left";return y("div",{onKeyDown:m=>{const x=m.key;x==="ArrowLeft"||x==="ArrowDown"?(c(t,!1),m.preventDefault(),m.stopPropagation()):(x==="ArrowRight"||x==="ArrowUp")&&(c(t,!0),m.preventDefault(),m.stopPropagation())},class:{"range-knob-handle":!0,"range-knob-a":t==="A","range-knob-b":t==="B","range-knob-pressed":a,"range-knob-min":n===o,"range-knob-max":n===r,"ion-activatable":!0,"ion-focusable":!0},style:(()=>{const m={};return m[p]=`${i*100}%`,m})(),role:"slider",tabindex:s?-1:0,"aria-label":u===void 0?d:null,"aria-labelledby":u!==void 0?u:null,"aria-valuemin":o,"aria-valuemax":r,"aria-disabled":s?"true":null,"aria-valuenow":n},l&&y("div",{class:"range-pin",role:"presentation",part:"pin"},h(n)),y("div",{class:"range-knob",role:"presentation",part:"knob"}))},sd=(e,t,n,i)=>{let o=(n-t)*e;i>0&&(o=Math.round(o/i)*i+t);const r=at(t,o,n);return rI(r,t,n,i)},Qi=(e,t,n)=>at(0,(e-t)/(n-t),1);let cI=0;function dI(){if(typeof customElements>"u")return;["ion-range"].forEach(t=>{switch(t){case"ion-range":customElements.get(t)||customElements.define(t,lI);break}})}const uI=dI;/*! * (C) Ionic http://ionicframework.com - MIT License */const hI=":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}",pI=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){return y(ee,{class:W(this)},y("slot",null))}static get style(){return hI}},[1,"ion-row"]);function fI(){if(typeof customElements>"u")return;["ion-row"].forEach(t=>{switch(t){case"ion-row":customElements.get(t)||customElements.define(t,pI);break}})}const mI=fI;/*! * (C) Ionic http://ionicframework.com - MIT License */const aw=(e,t)=>{let n,i;const o=(a,l,c)=>{if(typeof document>"u")return;const d=document.elementFromPoint(a,l);if(!d||!t(d)){s();return}d!==n&&(s(),r(d,c))},r=(a,l)=>{n=a,i||(i=n);const c=n;Ft(()=>c.classList.add("ion-activated")),l()},s=(a=!1)=>{if(!n)return;const l=n;Ft(()=>l.classList.remove("ion-activated")),a&&i!==n&&n.click(),n=void 0};return _l({el:e,gestureName:"buttonActiveDrag",threshold:0,onStart:a=>o(a.currentX,a.currentY,yA),onMove:a=>o(a.currentX,a.currentY,xA),onEnd:()=>{s(!0),wA(),i=void 0}})};/*! * (C) Ionic http://ionicframework.com - MIT License */const gI=e=>{const t=U(),n=U(),i=U();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(e.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),t.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([n,i])},bI=e=>{const t=U(),n=U(),i=U();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(e.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),t.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([n,i])},vI=e=>{const t=U(),n=U(),i=U();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(e.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),t.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([n,i])},yI=e=>{const t=U(),n=U(),i=U();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(e.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),t.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([n,i])},xI='.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)}}',wI='.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}',kI=ne(class extends ie{constructor(){super(),this.__registerHost(),this.didPresent=B(this,"ionActionSheetDidPresent",7),this.willPresent=B(this,"ionActionSheetWillPresent",7),this.willDismiss=B(this,"ionActionSheetWillDismiss",7),this.didDismiss=B(this,"ionActionSheetDidDismiss",7),this.didPresentShorthand=B(this,"didPresent",7),this.willPresentShorthand=B(this,"willPresent",7),this.willDismissShorthand=B(this,"willDismiss",7),this.didDismissShorthand=B(this,"didDismiss",7),this.delegateController=Bx(this),this.lockController=bs(),this.triggerController=Sp(),this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,zi)},this.dispatchCancelHandler=t=>{const n=t.detail.role;if(Ja(n)){const i=this.getButtons().find(o=>o.role==="cancel");this.callButtonHandler(i)}},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.buttons=[],this.cssClass=void 0,this.backdropDismiss=!0,this.header=void 0,this.subHeader=void 0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,n){t===!0&&n===!1?this.present():t===!1&&n===!0&&this.dismiss()}triggerChanged(){const{trigger:t,el:n,triggerController:i}=this;t&&i.addClickListener(n,t)}async present(){const t=await this.lockController.lock();await this.delegateController.attachViewToDom(),await Vl(this,"actionSheetEnter",gI,vI),t()}async dismiss(t,n){const i=await this.lockController.lock(),o=await Fl(this,t,n,"actionSheetLeave",bI,yI);return o&&this.delegateController.removeViewFromDom(),i(),o}onDidDismiss(){return ti(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return ti(this.el,"ionActionSheetWillDismiss")}async buttonClick(t){const n=t.role;return Ja(n)?this.dismiss(t.data,n):await this.callButtonHandler(t)?this.dismiss(t.data,t.role):Promise.resolve()}async callButtonHandler(t){return!(t&&await Er(t.handler)===!1)}getButtons(){return this.buttons.map(t=>typeof t=="string"?{text:t}:t)}connectedCallback(){Bl(this.el),this.triggerChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.triggerController.removeClickListener()}componentWillLoad(){jl(this.el)}componentDidLoad(){const{groupEl:t,wrapperEl:n}=this;!this.gesture&&W(this)==="ios"&&n&&t&&Do(()=>{t.scrollHeight>t.clientHeight||(this.gesture=aw(n,o=>o.classList.contains("action-sheet-button")),this.gesture.enable(!0))}),this.isOpen===!0&&Ie(()=>this.present()),this.triggerChanged()}render(){const{header:t,htmlAttributes:n,overlayIndex:i}=this,o=W(this),r=this.getButtons(),s=r.find(c=>c.role==="cancel"),a=r.filter(c=>c.role!=="cancel"),l=`action-sheet-${i}-header`;return y(ee,Object.assign({role:"dialog","aria-modal":"true","aria-labelledby":t!==void 0?l:null,tabindex:"-1"},n,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({[o]:!0},Mt(this.cssClass)),{"overlay-hidden":!0,"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),y("ion-backdrop",{tappable:this.backdropDismiss}),y("div",{tabindex:"0"}),y("div",{class:"action-sheet-wrapper ion-overlay-wrapper",ref:c=>this.wrapperEl=c},y("div",{class:"action-sheet-container"},y("div",{class:"action-sheet-group",ref:c=>this.groupEl=c},t!==void 0&&y("div",{id:l,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":this.subHeader!==void 0}},t,this.subHeader&&y("div",{class:"action-sheet-sub-title"},this.subHeader)),a.map(c=>y("button",Object.assign({},c.htmlAttributes,{type:"button",id:c.id,class:Mg(c),onClick:()=>this.buttonClick(c)}),y("span",{class:"action-sheet-button-inner"},c.icon&&y("ion-icon",{icon:c.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),c.text),o==="md"&&y("ion-ripple-effect",null)))),s&&y("div",{class:"action-sheet-group action-sheet-group-cancel"},y("button",Object.assign({},s.htmlAttributes,{type:"button",class:Mg(s),onClick:()=>this.buttonClick(s)}),y("span",{class:"action-sheet-button-inner"},s.icon&&y("ion-icon",{icon:s.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),s.text),o==="md"&&y("ion-ripple-effect",null))))),y("div",{tabindex:"0"}))}get el(){return this}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}static get style(){return{ios:xI,md:wI}}},[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]},void 0,{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}]),Mg=e=>Object.assign({"action-sheet-button":!0,"ion-activatable":!0,"ion-focusable":!0,[`action-sheet-${e.role}`]:e.role!==void 0},Mt(e.cssClass));function CI(){if(typeof customElements>"u")return;["ion-action-sheet","ion-backdrop","ion-icon","ion-ripple-effect"].forEach(t=>{switch(t){case"ion-action-sheet":customElements.get(t)||customElements.define(t,kI);break;case"ion-backdrop":customElements.get(t)||Uo();break;case"ion-icon":customElements.get(t)||gs();break;case"ion-ripple-effect":customElements.get(t)||Fi();break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const SI=e=>{const t=U(),n=U(),i=U();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(e.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(1.1)"},{offset:1,opacity:"1",transform:"scale(1)"}]),t.addElement(e).easing("ease-in-out").duration(200).addAnimation([n,i])},EI=e=>{const t=U(),n=U(),i=U();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(e.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),t.addElement(e).easing("ease-in-out").duration(200).addAnimation([n,i])},TI=e=>{const t=U(),n=U(),i=U();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(e.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(0.9)"},{offset:1,opacity:"1",transform:"scale(1)"}]),t.addElement(e).easing("ease-in-out").duration(150).addAnimation([n,i])},PI=e=>{const t=U(),n=U(),i=U();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(e.querySelector(".alert-wrapper")).fromTo("opacity",.99,0),t.addElement(e).easing("ease-in-out").duration(150).addAnimation([n,i])},AI=".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)}",LI=".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)}}",II=ne(class extends ie{constructor(){super(),this.__registerHost(),this.didPresent=B(this,"ionAlertDidPresent",7),this.willPresent=B(this,"ionAlertWillPresent",7),this.willDismiss=B(this,"ionAlertWillDismiss",7),this.didDismiss=B(this,"ionAlertDidDismiss",7),this.didPresentShorthand=B(this,"didPresent",7),this.willPresentShorthand=B(this,"willPresent",7),this.willDismissShorthand=B(this,"willDismiss",7),this.didDismissShorthand=B(this,"didDismiss",7),this.delegateController=Bx(this),this.lockController=bs(),this.triggerController=Sp(),this.customHTMLEnabled=le.get("innerHTMLTemplatesEnabled",jT),this.processedInputs=[],this.processedButtons=[],this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,zi)},this.dispatchCancelHandler=t=>{const n=t.detail.role;if(Ja(n)){const i=this.processedButtons.find(o=>o.role==="cancel");this.callButtonHandler(i)}},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,n){t===!0&&n===!1?this.present():t===!1&&n===!0&&this.dismiss()}triggerChanged(){const{trigger:t,el:n,triggerController:i}=this;t&&i.addClickListener(n,t)}onKeydown(t){const n=new Set(this.processedInputs.map(a=>a.type));if(n.has("checkbox")&&t.key==="Enter"){t.preventDefault();return}if(!n.has("radio")||t.target&&!this.el.contains(t.target)||t.target.classList.contains("alert-button"))return;const i=this.el.querySelectorAll(".alert-radio"),o=Array.from(i).filter(a=>!a.disabled),r=o.findIndex(a=>a.id===t.target.id);let s;if(["ArrowDown","ArrowRight"].includes(t.key)&&(s=r===o.length-1?o[0]:o[r+1]),["ArrowUp","ArrowLeft"].includes(t.key)&&(s=r===0?o[o.length-1]:o[r-1]),s&&o.includes(s)){const a=this.processedInputs.find(l=>l.id===(s==null?void 0:s.id));a&&(this.rbClick(a),s.focus())}}buttonsChanged(){const t=this.buttons;this.processedButtons=t.map(n=>typeof n=="string"?{text:n,role:n.toLowerCase()==="cancel"?"cancel":void 0}:n)}inputsChanged(){const t=this.inputs,n=t.find(s=>!s.disabled),o=t.find(s=>s.checked&&!s.disabled)||n,r=new Set(t.map(s=>s.type));r.has("checkbox")&&r.has("radio")&&console.warn(`Alert cannot mix input types: ${Array.from(r.values()).join("/")}. Please see alert docs for more info.`),this.inputType=r.values().next().value,this.processedInputs=t.map((s,a)=>{var l;return{type:s.type||"text",name:s.name||`${a}`,placeholder:s.placeholder||"",value:s.value,label:s.label,checked:!!s.checked,disabled:!!s.disabled,id:s.id||`alert-input-${this.overlayIndex}-${a}`,handler:s.handler,min:s.min,max:s.max,cssClass:(l=s.cssClass)!==null&&l!==void 0?l:"",attributes:s.attributes||{},tabindex:s.type==="radio"&&s!==o?-1:0}})}connectedCallback(){Bl(this.el),this.triggerChanged()}componentWillLoad(){jl(this.el),this.inputsChanged(),this.buttonsChanged()}disconnectedCallback(){this.triggerController.removeClickListener(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentDidLoad(){!this.gesture&&W(this)==="ios"&&this.wrapperEl&&(this.gesture=aw(this.wrapperEl,t=>t.classList.contains("alert-button")),this.gesture.enable(!0)),this.isOpen===!0&&Ie(()=>this.present()),this.triggerChanged()}async present(){const t=await this.lockController.lock();await this.delegateController.attachViewToDom(),await Vl(this,"alertEnter",SI,TI),t()}async dismiss(t,n){const i=await this.lockController.lock(),o=await Fl(this,t,n,"alertLeave",EI,PI);return o&&this.delegateController.removeViewFromDom(),i(),o}onDidDismiss(){return ti(this.el,"ionAlertDidDismiss")}onWillDismiss(){return ti(this.el,"ionAlertWillDismiss")}rbClick(t){for(const n of this.processedInputs)n.checked=n===t,n.tabindex=n===t?0:-1;this.activeId=t.id,Er(t.handler,t),En(this)}cbClick(t){t.checked=!t.checked,Er(t.handler,t),En(this)}async buttonClick(t){const n=t.role,i=this.getValues();if(Ja(n))return this.dismiss({values:i},n);const o=await this.callButtonHandler(t,i);return o!==!1?this.dismiss(Object.assign({values:i},o),t.role):!1}async callButtonHandler(t,n){if(t!=null&&t.handler){const i=await Er(t.handler,n);if(i===!1)return!1;if(typeof i=="object")return i}return{}}getValues(){if(this.processedInputs.length===0)return;if(this.inputType==="radio"){const n=this.processedInputs.find(i=>!!i.checked);return n?n.value:void 0}if(this.inputType==="checkbox")return this.processedInputs.filter(n=>n.checked).map(n=>n.value);const t={};return this.processedInputs.forEach(n=>{t[n.name]=n.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,n=W(this);return t.length===0?null:y("div",{class:"alert-checkbox-group"},t.map(i=>y("button",{type:"button",onClick:()=>this.cbClick(i),"aria-checked":`${i.checked}`,id:i.id,disabled:i.disabled,tabIndex:i.tabindex,role:"checkbox",class:Object.assign(Object.assign({},Mt(i.cssClass)),{"alert-tappable":!0,"alert-checkbox":!0,"alert-checkbox-button":!0,"ion-focusable":!0,"alert-checkbox-button-disabled":i.disabled||!1})},y("div",{class:"alert-button-inner"},y("div",{class:"alert-checkbox-icon"},y("div",{class:"alert-checkbox-inner"})),y("div",{class:"alert-checkbox-label"},i.label)),n==="md"&&y("ion-ripple-effect",null))))}renderRadio(){const t=this.processedInputs;return t.length===0?null:y("div",{class:"alert-radio-group",role:"radiogroup","aria-activedescendant":this.activeId},t.map(n=>y("button",{type:"button",onClick:()=>this.rbClick(n),"aria-checked":`${n.checked}`,disabled:n.disabled,id:n.id,tabIndex:n.tabindex,class:Object.assign(Object.assign({},Mt(n.cssClass)),{"alert-radio-button":!0,"alert-tappable":!0,"alert-radio":!0,"ion-focusable":!0,"alert-radio-button-disabled":n.disabled||!1}),role:"radio"},y("div",{class:"alert-button-inner"},y("div",{class:"alert-radio-icon"},y("div",{class:"alert-radio-inner"})),y("div",{class:"alert-radio-label"},n.label)))))}renderInput(){const t=this.processedInputs;return t.length===0?null:y("div",{class:"alert-input-group"},t.map(n=>{var i,o,r,s;return n.type==="textarea"?y("div",{class:"alert-input-wrapper"},y("textarea",Object.assign({placeholder:n.placeholder,value:n.value,id:n.id,tabIndex:n.tabindex},n.attributes,{disabled:(o=(i=n.attributes)===null||i===void 0?void 0:i.disabled)!==null&&o!==void 0?o:n.disabled,class:Bg(n),onInput:a=>{var l;n.value=a.target.value,!((l=n.attributes)===null||l===void 0)&&l.onInput&&n.attributes.onInput(a)}}))):y("div",{class:"alert-input-wrapper"},y("input",Object.assign({placeholder:n.placeholder,type:n.type,min:n.min,max:n.max,value:n.value,id:n.id,tabIndex:n.tabindex},n.attributes,{disabled:(s=(r=n.attributes)===null||r===void 0?void 0:r.disabled)!==null&&s!==void 0?s:n.disabled,class:Bg(n),onInput:a=>{var l;n.value=a.target.value,!((l=n.attributes)===null||l===void 0)&&l.onInput&&n.attributes.onInput(a)}})))}))}renderAlertButtons(){const t=this.processedButtons,n=W(this),i={"alert-button-group":!0,"alert-button-group-vertical":t.length>2};return y("div",{class:i},t.map(o=>y("button",Object.assign({},o.htmlAttributes,{type:"button",id:o.id,class:OI(o),tabIndex:0,onClick:()=>this.buttonClick(o)}),y("span",{class:"alert-button-inner"},o.text),n==="md"&&y("ion-ripple-effect",null))))}renderAlertMessage(t){const{customHTMLEnabled:n,message:i}=this;return n?y("div",{id:t,class:"alert-message",innerHTML:$T(i)}):y("div",{id:t,class:"alert-message"},i)}render(){const{overlayIndex:t,header:n,subHeader:i,message:o,htmlAttributes:r}=this,s=W(this),a=`alert-${t}-hdr`,l=`alert-${t}-sub-hdr`,c=`alert-${t}-msg`,d=this.inputs.length>0||this.buttons.length>0?"alertdialog":"alert";return y(ee,Object.assign({role:d,"aria-modal":"true","aria-labelledby":n?a:i?l:null,"aria-describedby":o!==void 0?c:null,tabindex:"-1"},r,{style:{zIndex:`${2e4+t}`},class:Object.assign(Object.assign({},Mt(this.cssClass)),{[s]:!0,"overlay-hidden":!0,"alert-translucent":this.translucent}),onIonAlertWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),y("ion-backdrop",{tappable:this.backdropDismiss}),y("div",{tabindex:"0"}),y("div",{class:"alert-wrapper ion-overlay-wrapper",ref:h=>this.wrapperEl=h},y("div",{class:"alert-head"},n&&y("h2",{id:a,class:"alert-title"},n),i&&y("h2",{id:l,class:"alert-sub-title"},i)),this.renderAlertMessage(c),this.renderAlertInputs(),this.renderAlertButtons()),y("div",{tabindex:"0"}))}get el(){return this}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"],buttons:["buttonsChanged"],inputs:["inputsChanged"]}}static get style(){return{ios:AI,md:LI}}},[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"]}]),Bg=e=>{var t,n,i;return Object.assign(Object.assign({"alert-input":!0,"alert-input-disabled":((n=(t=e.attributes)===null||t===void 0?void 0:t.disabled)!==null&&n!==void 0?n:e.disabled)||!1},Mt(e.cssClass)),Mt(e.attributes?(i=e.attributes.class)===null||i===void 0?void 0:i.toString():""))},OI=e=>Object.assign({"alert-button":!0,"ion-focusable":!0,"ion-activatable":!0,[`alert-button-role-${e.role}`]:e.role!==void 0},Mt(e.cssClass));function RI(){if(typeof customElements>"u")return;["ion-alert","ion-backdrop","ion-ripple-effect"].forEach(t=>{switch(t){case"ion-alert":customElements.get(t)||customElements.define(t,II);break;case"ion-backdrop":customElements.get(t)||Uo();break;case"ion-ripple-effect":customElements.get(t)||Fi();break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const DI=".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}",$I=".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)}",_I=ne(class extends ie{constructor(){super(),this.__registerHost(),this.header=void 0,this.subHeader=void 0,this.message=void 0,this.multiple=void 0,this.options=[]}findOptionFromEvent(t){const{options:n}=this;return n.find(i=>i.value===t.target.value)}callOptionHandler(t){const n=this.findOptionFromEvent(t),i=this.getValues(t);n!=null&&n.handler&&Er(n.handler,i)}dismissParentPopover(){const t=this.el.closest("ion-popover");t&&t.dismiss()}setChecked(t){const{multiple:n}=this,i=this.findOptionFromEvent(t);n&&i&&(i.checked=t.detail.checked)}getValues(t){const{multiple:n,options:i}=this;if(n)return i.filter(r=>r.checked).map(r=>r.value);const o=this.findOptionFromEvent(t);return o?o.value:void 0}renderOptions(t){const{multiple:n}=this;switch(n){case!0:return this.renderCheckboxOptions(t);default:return this.renderRadioOptions(t)}}renderCheckboxOptions(t){return t.map(n=>y("ion-item",{class:Object.assign({"item-checkbox-checked":n.checked},Mt(n.cssClass))},y("ion-checkbox",{value:n.value,disabled:n.disabled,checked:n.checked,justify:"start",labelPlacement:"end",onIonChange:i=>{this.setChecked(i),this.callOptionHandler(i),En(this)}},n.text)))}renderRadioOptions(t){const n=t.filter(i=>i.checked).map(i=>i.value)[0];return y("ion-radio-group",{value:n,onIonChange:i=>this.callOptionHandler(i)},t.map(i=>y("ion-item",{class:Object.assign({"item-radio-checked":i.value===n},Mt(i.cssClass))},y("ion-radio",{value:i.value,disabled:i.disabled,onClick:()=>this.dismissParentPopover(),onKeyUp:o=>{o.key===" "&&this.dismissParentPopover()}},i.text))))}render(){const{header:t,message:n,options:i,subHeader:o}=this,r=o!==void 0||n!==void 0;return y(ee,{class:W(this)},y("ion-list",null,t!==void 0&&y("ion-list-header",null,t),r&&y("ion-item",null,y("ion-label",{class:"ion-text-wrap"},o!==void 0&&y("h3",null,o),n!==void 0&&y("p",null,n))),this.renderOptions(i)))}get el(){return this}static get style(){return{ios:DI,md:$I}}},[34,"ion-select-popover",{header:[1],subHeader:[1,"sub-header"],message:[1],multiple:[4],options:[16]}]);function zI(){if(typeof customElements>"u")return;["ion-select-popover","ion-checkbox","ion-icon","ion-item","ion-label","ion-list","ion-list-header","ion-note","ion-radio","ion-radio-group","ion-ripple-effect"].forEach(t=>{switch(t){case"ion-select-popover":customElements.get(t)||customElements.define(t,_I);break;case"ion-checkbox":customElements.get(t)||Hx();break;case"ion-icon":customElements.get(t)||gs();break;case"ion-item":customElements.get(t)||Ux();break;case"ion-label":customElements.get(t)||Ep();break;case"ion-list":customElements.get(t)||Ap();break;case"ion-list-header":customElements.get(t)||Lp();break;case"ion-note":customElements.get(t)||Nl();break;case"ion-radio":customElements.get(t)||rw();break;case"ion-radio-group":customElements.get(t)||sw();break;case"ion-ripple-effect":customElements.get(t)||Fi();break}})}/*! * (C) Ionic http://ionicframework.com - MIT License */const MI=":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}",BI=":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}",jI=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionChange=B(this,"ionChange",7),this.ionCancel=B(this,"ionCancel",7),this.ionDismiss=B(this,"ionDismiss",7),this.ionFocus=B(this,"ionFocus",7),this.ionBlur=B(this,"ionBlur",7),this.ionStyle=B(this,"ionStyle",7),this.inputId=`ion-sel-${FI++}`,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.onClick=t=>{const n=t.target,i=n.closest('[slot="start"], [slot="end"]');n===this.el||i===null?(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(t){this.value=t,this.ionChange.emit({value:t})}componentWillLoad(){this.inheritedAttributes=Ho(this.el,["aria-label"])}async connectedCallback(){const{el:t}=this;this.legacyFormController=Hl(t),this.notchController=fL(t,()=>this.notchSpacerEl,()=>this.labelSlot),this.updateOverlayOptions(),this.emitStyle(),this.mutationO=mL(this.el,"ion-select-option",async()=>{this.updateOverlayOptions(),En(this)})}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}async open(t){if(this.disabled||this.isExpanded)return;this.isExpanded=!0;const n=this.overlay=await this.createOverlay(t);if(n.onDidDismiss().then(()=>{this.overlay=void 0,this.isExpanded=!1,this.ionDismiss.emit(),this.setFocus()}),await n.present(),this.interface==="popover"){const i=this.childOpts.map(o=>o.value).indexOf(this.value);if(i>-1){const o=n.querySelector(`.select-interface-option:nth-child(${i+1})`);if(o){Lu(o);const r=o.querySelector("ion-radio, ion-checkbox");r&&r.focus()}}else{const o=n.querySelector("ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)");o&&(Lu(o.closest("ion-item")),o.focus())}}return n}createOverlay(t){let n=this.interface;return n==="action-sheet"&&this.multiple&&(console.warn(`Select interface cannot be "${n}" with a multi-value select. Using the "alert" interface instead.`),n="alert"),n==="popover"&&!t&&(console.warn(`Select interface cannot be a "${n}" without passing an event. Using the "alert" interface instead.`),n="alert"),n==="action-sheet"?this.openActionSheet():n==="popover"?this.openPopover(t):this.openAlert()}updateOverlayOptions(){const t=this.overlay;if(!t)return;const n=this.childOpts,i=this.value;switch(this.interface){case"action-sheet":t.buttons=this.createActionSheetButtons(n,i);break;case"popover":const o=t.querySelector("ion-select-popover");o&&(o.options=this.createPopoverOptions(n,i));break;case"alert":const r=this.multiple?"checkbox":"radio";t.inputs=this.createAlertInputs(n,r,i);break}}createActionSheetButtons(t,n){const i=t.map(o=>{const r=ma(o),s=Array.from(o.classList).filter(l=>l!=="hydrated").join(" "),a=`${ad} ${s}`;return{role:fa(n,r,this.compareWith)?"selected":"",text:o.textContent,cssClass:a,handler:()=>{this.setValue(r)}}});return i.push({text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}}),i}createAlertInputs(t,n,i){return t.map(r=>{const s=ma(r),a=Array.from(r.classList).filter(c=>c!=="hydrated").join(" "),l=`${ad} ${a}`;return{type:n,cssClass:l,label:r.textContent||"",value:s,checked:fa(i,s,this.compareWith),disabled:r.disabled}})}createPopoverOptions(t,n){return t.map(o=>{const r=ma(o),s=Array.from(o.classList).filter(l=>l!=="hydrated").join(" "),a=`${ad} ${s}`;return{text:o.textContent||"",cssClass:a,value:r,checked:fa(n,r,this.compareWith),disabled:o.disabled,handler:l=>{this.setValue(l),this.multiple||this.close()}}})}async openPopover(t){const{fill:n,labelPlacement:i}=this,o=this.interfaceOptions,r=W(this),s=r!=="md",a=this.multiple,l=this.value;let c=t,d="auto";if(this.legacyFormController.hasLegacyControl()){const h=this.el.closest("ion-item");h&&(h.classList.contains("item-label-floating")||h.classList.contains("item-label-stacked"))&&(c=Object.assign(Object.assign({},t),{detail:{ionShadowTarget:h}}),d="cover")}else i==="floating"||i==="stacked"||r==="md"&&n!==void 0?d="cover":c=Object.assign(Object.assign({},t),{detail:{ionShadowTarget:this.nativeWrapperEl}});const u=Object.assign(Object.assign({mode:r,event:c,alignment:"center",size:d,showBackdrop:s},o),{component:"ion-select-popover",cssClass:["select-popover",o.cssClass],componentProps:{header:o.header,subHeader:o.subHeader,message:o.message,multiple:a,value:l,options:this.createPopoverOptions(this.childOpts,l)}});return eP.create(u)}async openActionSheet(){const t=W(this),n=this.interfaceOptions,i=Object.assign(Object.assign({mode:t},n),{buttons:this.createActionSheetButtons(this.childOpts,this.value),cssClass:["select-action-sheet",n.cssClass]});return JT.create(i)}async openAlert(){let t,n;this.legacyFormController.hasLegacyControl()?(t=this.getLabel(),n=t?t.textContent:null):n=this.labelText;const i=this.interfaceOptions,o=this.multiple?"checkbox":"radio",r=W(this),s=Object.assign(Object.assign({mode:r},i),{header:i.header?i.header:n,inputs:this.createAlertInputs(this.childOpts,o,this.value),buttons:[{text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}},{text:this.okText,handler:a=>{this.setValue(a)}}],cssClass:["select-alert",i.cssClass,this.multiple?"multiple-select-alert":"single-select-alert"]});return ZT.create(s)}close(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}getLabel(){return bp(this.el)}hasValue(){return this.getText()!==""}get childOpts(){return Array.from(this.el.querySelectorAll("ion-select-option"))}get labelText(){const{label:t}=this;if(t!==void 0)return t;const{labelSlot:n}=this;if(n!==null)return n.textContent}getText(){const t=this.selectedText;return t!=null&&t!==""?t:VI(this.childOpts,this.value,this.compareWith)}setFocus(){this.focusEl&&this.focusEl.focus()}emitStyle(){const{disabled:t}=this,n={"interactive-disabled":t};this.legacyFormController.hasLegacyControl()&&(n.interactive=!0,n.select=!0,n["select-disabled"]=t,n["has-placeholder"]=this.placeholder!==void 0,n["has-value"]=this.hasValue(),n["has-focus"]=this.isExpanded,n.legacy=!!this.legacy),this.ionStyle.emit(n)}renderLabel(){const{label:t}=this;return y("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},t===void 0?y("slot",{name:"label"}):y("div",{class:"label-text"},t))}componentDidRender(){var t;(t=this.notchController)===null||t===void 0||t.calculateNotchWidth()}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return this.label!==void 0||this.labelSlot!==null}renderLabelContainer(){return W(this)==="md"&&this.fill==="outline"?[y("div",{class:"select-outline-container"},y("div",{class:"select-outline-start"}),y("div",{class:{"select-outline-notch":!0,"select-outline-notch-hidden":!this.hasLabel}},y("div",{class:"notch-spacer","aria-hidden":"true",ref:i=>this.notchSpacerEl=i},this.label)),y("div",{class:"select-outline-end"})),this.renderLabel()]:this.renderLabel()}renderSelect(){const{disabled:t,el:n,isExpanded:i,expandedIcon:o,labelPlacement:r,justify:s,placeholder:a,fill:l,shape:c,name:d,value:u}=this,h=W(this),p=r==="floating"||r==="stacked",f=!p,m=Pr(n)?"rtl":"ltr",x=De("ion-item",this.el),b=h==="md"&&l!=="outline"&&!x,g=this.hasValue(),v=n.querySelector('[slot="start"], [slot="end"]')!==null;Di(!0,n,d,jg(u),t);const w=r==="stacked"||r==="floating"&&(g||i||v);return y(ee,{onClick:this.onClick,class:Ke(this.color,{[h]:!0,"in-item":x,"in-item-color":De("ion-item.ion-color",n),"select-disabled":t,"select-expanded":i,"has-expanded-icon":o!==void 0,"has-value":g,"label-floating":w,"has-placeholder":a!==void 0,"ion-focusable":!0,[`select-${m}`]:!0,[`select-fill-${l}`]:l!==void 0,[`select-justify-${s}`]:f,[`select-shape-${c}`]:c!==void 0,[`select-label-placement-${r}`]:!0})},y("label",{class:"select-wrapper",id:"select-label"},this.renderLabelContainer(),y("div",{class:"select-wrapper-inner"},y("slot",{name:"start"}),y("div",{class:"native-wrapper",ref:E=>this.nativeWrapperEl=E,part:"container"},this.renderSelectText(),this.renderListbox()),y("slot",{name:"end"}),!p&&this.renderSelectIcon()),p&&this.renderSelectIcon(),b&&y("div",{class:"select-highlight"})))}renderLegacySelect(){this.hasLoggedDeprecationWarning||(pe(`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. Example: ... Example with aria-label: ... Developers 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&&pe(`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. 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:t,el:n,inputId:i,isExpanded:o,expandedIcon:r,name:s,placeholder:a,value:l}=this,c=W(this),{labelText:d,labelId:u}=Zr(n,i);Di(!0,n,s,jg(l),t);let p=this.getText();p===""&&a!==void 0&&(p=a);const f=d!==void 0?p!==""?`${p}, ${d}`:d:p;return y(ee,{onClick:this.onClick,role:"button","aria-haspopup":"listbox","aria-disabled":t?"true":null,"aria-label":f,class:{[c]:!0,"in-item":De("ion-item",n),"in-item-color":De("ion-item.ion-color",n),"select-disabled":t,"select-expanded":o,"has-expanded-icon":r!==void 0,"legacy-select":!0}},this.renderSelectText(),this.renderSelectIcon(),y("label",{id:u},f),this.renderListbox())}renderSelectText(){const{placeholder:t}=this,n=this.getText();let i=!1,o=n;return o===""&&t!==void 0&&(o=t,i=!0),y("div",{"aria-hidden":"true",class:{"select-text":!0,"select-placeholder":i},part:i?"placeholder":"text"},o)}renderSelectIcon(){const t=W(this),{isExpanded:n,toggleIcon:i,expandedIcon:o}=this;let r;return n&&o!==void 0?r=o:r=i??(t==="ios"?hP:uP),y("ion-icon",{class:"select-icon",part:"icon","aria-hidden":"true",icon:r})}get ariaLabel(){var t,n;const{placeholder:i,el:o,inputId:r,inheritedAttributes:s}=this,a=this.getText(),{labelText:l}=Zr(o,r),c=(n=(t=this.labelText)!==null&&t!==void 0?t:s["aria-label"])!==null&&n!==void 0?n:l;let d=a;return d===""&&i!==void 0&&(d=i),c!==void 0&&(d=d===""?c:`${c}, ${d}`),d}renderListbox(){const{disabled:t,inputId:n,isExpanded:i}=this;return y("button",{disabled:t,id:n,"aria-label":this.ariaLabel,"aria-haspopup":"dialog","aria-expanded":`${i}`,onFocus:this.onFocus,onBlur:this.onBlur,ref:o=>this.focusEl=o})}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacySelect():this.renderSelect()}get el(){return this}static get watchers(){return{disabled:["styleChanged"],isExpanded:["styleChanged"],placeholder:["styleChanged"],value:["styleChanged"]}}static get style(){return{ios:MI,md:BI}}},[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]},void 0,{disabled:["styleChanged"],isExpanded:["styleChanged"],placeholder:["styleChanged"],value:["styleChanged"]}]),ma=e=>{const t=e.value;return t===void 0?e.textContent||"":t},jg=e=>{if(e!=null)return Array.isArray(e)?e.join(","):e.toString()},VI=(e,t,n)=>t===void 0?"":Array.isArray(t)?t.map(i=>Vg(e,i,n)).filter(i=>i!==null).join(", "):Vg(e,t,n)||"",Vg=(e,t,n)=>{const i=e.find(o=>Hu(t,ma(o),n));return i?i.textContent:null};let FI=0;const ad="select-interface-option";function HI(){if(typeof customElements>"u")return;["ion-select","ion-action-sheet","ion-alert","ion-backdrop","ion-checkbox","ion-icon","ion-item","ion-label","ion-list","ion-list-header","ion-note","ion-popover","ion-radio","ion-radio-group","ion-ripple-effect","ion-select-popover"].forEach(t=>{switch(t){case"ion-select":customElements.get(t)||customElements.define(t,jI);break;case"ion-action-sheet":customElements.get(t)||CI();break;case"ion-alert":customElements.get(t)||RI();break;case"ion-backdrop":customElements.get(t)||Uo();break;case"ion-checkbox":customElements.get(t)||Hx();break;case"ion-icon":customElements.get(t)||gs();break;case"ion-item":customElements.get(t)||Ux();break;case"ion-label":customElements.get(t)||Ep();break;case"ion-list":customElements.get(t)||Ap();break;case"ion-list-header":customElements.get(t)||Lp();break;case"ion-note":customElements.get(t)||Nl();break;case"ion-popover":customElements.get(t)||qA();break;case"ion-radio":customElements.get(t)||rw();break;case"ion-radio-group":customElements.get(t)||sw();break;case"ion-ripple-effect":customElements.get(t)||Fi();break;case"ion-select-popover":customElements.get(t)||zI();break}})}const NI=HI;/*! * (C) Ionic http://ionicframework.com - MIT License */const UI=":host{display:none}",WI=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.inputId=`ion-selopt-${qI++}`,this.disabled=!1,this.value=void 0}render(){return y(ee,{role:"option",id:this.inputId,class:W(this)})}get el(){return this}static get style(){return UI}},[1,"ion-select-option",{disabled:[4],value:[8]}]);let qI=0;function YI(){if(typeof customElements>"u")return;["ion-select-option"].forEach(t=>{switch(t){case"ion-select-option":customElements.get(t)||customElements.define(t,WI);break}})}const KI=YI;/*! * (C) Ionic http://ionicframework.com - MIT License */const XI=":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)}",GI=":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)}",Fg="split-pane-main",Nu="split-pane-side",Hg={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""},QI=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionSplitPaneVisible=B(this,"ionSplitPaneVisible",7),this.visible=!1,this.contentId=void 0,this.disabled=!1,this.when=Hg.lg}visibleChanged(t){const n={visible:t,isPane:this.isPane.bind(this)};this.ionSplitPaneVisible.emit(n)}async connectedCallback(){typeof customElements<"u"&&customElements!=null&&await customElements.whenDefined("ion-split-pane"),this.styleChildren(),this.updateState()}disconnectedCallback(){this.rmL&&(this.rmL(),this.rmL=void 0)}updateState(){if(this.rmL&&(this.rmL(),this.rmL=void 0),this.disabled){this.visible=!1;return}const t=this.when;if(typeof t=="boolean"){this.visible=t;return}const n=Hg[t]||t;if(n.length===0){this.visible=!1;return}if(window.matchMedia){const i=r=>{this.visible=r.matches},o=window.matchMedia(n);o.addListener(i),this.rmL=()=>o.removeListener(i),this.visible=o.matches}}isPane(t){return this.visible?t.parentElement===this.el&&t.classList.contains(Nu):!1}styleChildren(){const t=this.contentId,n=this.el.children,i=this.el.childElementCount;let o=!1;for(let r=0;r{let n,i;t?(n=Fg,i=Nu):(n=Nu,i=Fg);const o=e.classList;o.add(n),o.remove(i)};function JI(){if(typeof customElements>"u")return;["ion-split-pane"].forEach(t=>{switch(t){case"ion-split-pane":customElements.get(t)||customElements.define(t,QI);break}})}const eO=JI;/*! * (C) Ionic http://ionicframework.com - MIT License */const tO=":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)}}",nO=":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}",iO=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionStyle=B(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 this.size!==void 0?this.size:"default"}render(){const t=W(this),n=this.getSize();return y(ee,{class:Ke(this.color,{[t]:!0,[`title-${n}`]:!0,"title-rtl":document.dir==="rtl"})},y("div",{class:"toolbar-title"},y("slot",null)))}get el(){return this}static get watchers(){return{size:["sizeChanged"]}}static get style(){return{ios:tO,md:nO}}},[33,"ion-title",{color:[513],size:[1]},void 0,{size:["sizeChanged"]}]);function oO(){if(typeof customElements>"u")return;["ion-title"].forEach(t=>{switch(t){case"ion-title":customElements.get(t)||customElements.define(t,iO);break}})}const rO=oO;/*! * (C) Ionic http://ionicframework.com - MIT License */const sO=":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%}",aO=":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}",lO=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.childrenStyles=new Map,this.color=void 0}componentWillLoad(){const t=Array.from(this.el.querySelectorAll("ion-buttons")),n=t.find(r=>r.slot==="start");n&&n.classList.add("buttons-first-slot");const i=t.reverse(),o=i.find(r=>r.slot==="end")||i.find(r=>r.slot==="primary")||i.find(r=>r.slot==="secondary");o&&o.classList.add("buttons-last-slot")}childrenStyle(t){t.stopPropagation();const n=t.target.tagName,i=t.detail,o={},r=this.childrenStyles.get(n)||{};let s=!1;Object.keys(i).forEach(a=>{const l=`toolbar-${a}`,c=i[a];c!==r[l]&&(s=!0),c&&(o[l]=!0)}),s&&(this.childrenStyles.set(n,o),En(this))}render(){const t=W(this),n={};return this.childrenStyles.forEach(i=>{Object.assign(n,i)}),y(ee,{class:Object.assign(Object.assign({},n),Ke(this.color,{[t]:!0,"in-toolbar":De("ion-toolbar",this.el)}))},y("div",{class:"toolbar-background"}),y("div",{class:"toolbar-container"},y("slot",{name:"start"}),y("slot",{name:"secondary"}),y("div",{class:"toolbar-content"},y("slot",null)),y("slot",{name:"primary"}),y("slot",{name:"end"})))}get el(){return this}static get style(){return{ios:sO,md:aO}}},[33,"ion-toolbar",{color:[513]},[[0,"ionStyle","childrenStyle"]]]);function cO(){if(typeof customElements>"u")return;["ion-toolbar"].forEach(t=>{switch(t){case"ion-toolbar":customElements.get(t)||customElements.define(t,lO);break}})}const dO=cO;/*! * (C) Ionic http://ionicframework.com - MIT License */const uO=dA;/*! * (C) Ionic http://ionicframework.com - MIT License */const hO=Nx;/*! * (C) Ionic http://ionicframework.com - MIT License */const nl="ionKeyboardDidShow",lw="ionKeyboardDidHide",pO=150;let il={},bn={},Wo=!1;const fO=()=>{il={},bn={},Wo=!1},mO=e=>{if(ew.getEngine())gO(e);else{if(!e.visualViewport)return;bn=Dp(e.visualViewport),e.visualViewport.onresize=()=>{uw(e),cw()||dw(e)?Ip(e):Rp(e)&&Op(e)}}},gO=e=>{e.addEventListener("keyboardDidShow",t=>Ip(e,t)),e.addEventListener("keyboardDidHide",()=>Op(e))},Ip=(e,t)=>{bO(e,t),Wo=!0},Op=e=>{vO(e),Wo=!1},cw=()=>{const e=(il.height-bn.height)*bn.scale;return!Wo&&il.width===bn.width&&e>pO},dw=e=>Wo&&!Rp(e),Rp=e=>Wo&&bn.height===e.innerHeight,bO=(e,t)=>{const n=t?t.keyboardHeight:e.innerHeight-bn.height,i=new CustomEvent(nl,{detail:{keyboardHeight:n}});e.dispatchEvent(i)},vO=e=>{const t=new CustomEvent(lw);e.dispatchEvent(t)},uw=e=>{il=Object.assign({},bn),bn=Dp(e.visualViewport)},Dp=e=>({width:Math.round(e.width),height:Math.round(e.height),offsetTop:e.offsetTop,offsetLeft:e.offsetLeft,pageTop:e.pageTop,pageLeft:e.pageLeft,scale:e.scale}),yO=Object.freeze(Object.defineProperty({__proto__:null,KEYBOARD_DID_CLOSE:lw,KEYBOARD_DID_OPEN:nl,copyVisualViewport:Dp,keyboardDidClose:Rp,keyboardDidOpen:cw,keyboardDidResize:dw,resetKeyboardAssist:fO,setKeyboardClose:Op,setKeyboardOpen:Ip,startKeyboardAssist:mO,trackViewportChanges:uw},Symbol.toStringTag,{value:"Module"}));/*! * (C) Ionic http://ionicframework.com - MIT License */var _o;(function(e){e.Dark="DARK",e.Light="LIGHT",e.Default="DEFAULT"})(_o||(_o={}));const ts={getEngine(){const e=Eo();if(e!=null&&e.isPluginAvailable("StatusBar"))return e.Plugins.StatusBar},supportsDefaultStatusBarStyle(){const e=Eo();return!!(e!=null&&e.PluginHeaders)},setStyle(e){const t=this.getEngine();t&&t.setStyle(e)},getStyle:async function(){const e=this.getEngine();if(!e)return _o.Default;const{style:t}=await e.getInfo();return t}},Uu=(e,t)=>{if(t===1)return 0;const n=1/(1-t),i=-(t*n);return e*n+i},hw=()=>{!Ae||Ae.innerWidth>=768||!ts.supportsDefaultStatusBarStyle()||ts.setStyle({style:_o.Dark})},Wu=(e=_o.Default)=>{!Ae||Ae.innerWidth>=768||!ts.supportsDefaultStatusBarStyle()||ts.setStyle({style:e})},pw=async(e,t)=>{typeof e.canDismiss!="function"||!await e.canDismiss(void 0,Tr)||(t.isRunning()?t.onFinish(()=>{e.dismiss(void 0,"handler")},{oneTimeCallback:!0}):e.dismiss(void 0,"handler"))},qu=e=>.00255275*2.71828**(-14.9619*e)-1.00255*2.71828**(-.0380968*e)+1,ol={MIN_PRESENTING_SCALE:.93},xO=(e,t,n,i)=>{const r=e.offsetHeight;let s=!1,a=!1,l=null,c=null;const d=.2;let u=!0,h=0;const p=()=>l&&Mi(l)?l.scrollY:!0,g=_l({el:e,gestureName:"modalSwipeToClose",gesturePriority:dP,direction:"y",threshold:10,canStart:v=>{const w=v.event.target;return w===null||!w.closest?!0:(l=Zx(w),l?(Mi(l)?c=pt(l).querySelector(".inner-scroll"):c=l,!!!l.querySelector("ion-refresher")&&c.scrollTop===0):w.closest("ion-footer")===null)},onStart:v=>{const{deltaY:w}=v;u=p(),a=e.canDismiss!==void 0&&e.canDismiss!==!0,w>0&&l&&Bu(l),t.progressStart(!0,s?1:0)},onMove:v=>{const{deltaY:w}=v;w>0&&l&&Bu(l);const E=v.deltaY/r,S=E>=0&&a,k=S?d:.9999,C=S?qu(E/k):E,A=at(1e-4,C,k);t.progressStep(A),A>=.5&&h<.5?Wu(n):A<.5&&h>=.5&&hw(),h=A},onEnd:v=>{const w=v.velocityY,E=v.deltaY/r,S=E>=0&&a,k=S?d:.9999,C=S?qu(E/k):E,A=at(1e-4,C,k),D=(v.deltaY+w*1e3)/r,R=!S&&D>=.5;let V=R?-.001:.001;R?(t.easing("cubic-bezier(0.32, 0.72, 0, 1)"),V+=$i([0,0],[.32,.72],[0,1],[1,1],A)[0]):(t.easing("cubic-bezier(1, 0, 0.68, 0.28)"),V+=$i([0,0],[1,0],[.68,.28],[1,1],A)[0]);const Y=Ng(R?E*r:(1-A)*r,w);s=R,g.enable(!1),l&&Jx(l,u),t.onFinish(()=>{R||g.enable(!0)}).progressEnd(R?1:0,V,Y),S&&A>k/4?pw(e,t):R&&i()}});return g},Ng=(e,t)=>at(400,e/Math.abs(t*1.1),500),fw=e=>{const{currentBreakpoint:t,backdropBreakpoint:n}=e,i=n===void 0||n{const{currentBreakpoint:t,backdropBreakpoint:n}=e,i=`calc(var(--backdrop-opacity) * ${Uu(t,n)})`,o=[{offset:0,opacity:i},{offset:1,opacity:0}],r=[{offset:0,opacity:i},{offset:n,opacity:0},{offset:1,opacity:0}],s=U("backdropAnimation").keyframes(n!==0?r:o);return{wrapperAnimation:U("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-t*100}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:s}},wO=()=>{const e=U().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),t=U().fromTo("transform","translateY(100vh)","translateY(0vh)");return{backdropAnimation:e,wrapperAnimation:t}},Ug=(e,t)=>{const{presentingEl:n,currentBreakpoint:i}=t,o=pt(e),{wrapperAnimation:r,backdropAnimation:s}=i!==void 0?fw(t):wO();s.addElement(o.querySelector("ion-backdrop")),r.addElement(o.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const a=U("entering-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(r);if(n){const l=window.innerWidth<768,c=n.tagName==="ION-MODAL"&&n.presentingElement!==void 0,d=pt(n),u=U().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),h=document.body;if(l){const p=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",f=c?"-10px":p,m=ol.MIN_PRESENTING_SCALE,x=`translateY(${f}) scale(${m})`;u.afterStyles({transform:x}).beforeAddWrite(()=>h.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:x,borderRadius:"10px 10px 0 0"}]),a.addAnimation(u)}else if(a.addAnimation(s),!c)r.fromTo("opacity","0","1");else{const f=`translateY(-10px) scale(${c?ol.MIN_PRESENTING_SCALE:1})`;u.afterStyles({transform:f}).addElement(d.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:f}]);const m=U().afterStyles({transform:f}).addElement(d.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:f}]);a.addAnimation([u,m])}}else a.addAnimation(s);return a},kO=()=>{const e=U().fromTo("opacity","var(--backdrop-opacity)",0),t=U().fromTo("transform","translateY(0vh)","translateY(100vh)");return{backdropAnimation:e,wrapperAnimation:t}},Wg=(e,t,n=500)=>{const{presentingEl:i,currentBreakpoint:o}=t,r=pt(e),{wrapperAnimation:s,backdropAnimation:a}=o!==void 0?mw(t):kO();a.addElement(r.querySelector("ion-backdrop")),s.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const l=U("leaving-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(n).addAnimation(s);if(i){const c=window.innerWidth<768,d=i.tagName==="ION-MODAL"&&i.presentingElement!==void 0,u=pt(i),h=U().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(f=>{if(f!==1)return;i.style.setProperty("overflow",""),Array.from(p.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter(x=>x.presentingElement!==void 0).length<=1&&p.style.setProperty("background-color","")}),p=document.body;if(c){const f=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",m=d?"-10px":f,x=ol.MIN_PRESENTING_SCALE,b=`translateY(${m}) scale(${x})`;h.addElement(i).keyframes([{offset:0,filter:"contrast(0.85)",transform:b,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),l.addAnimation(h)}else if(l.addAnimation(a),!d)s.fromTo("opacity","1","0");else{const m=`translateY(-10px) scale(${d?ol.MIN_PRESENTING_SCALE:1})`;h.addElement(u.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:m},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const x=U().addElement(u.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:m},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);l.addAnimation([h,x])}}else l.addAnimation(a);return l},CO=()=>{const e=U().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),t=U().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]);return{backdropAnimation:e,wrapperAnimation:t}},SO=(e,t)=>{const{currentBreakpoint:n}=t,i=pt(e),{wrapperAnimation:o,backdropAnimation:r}=n!==void 0?fw(t):CO();return r.addElement(i.querySelector("ion-backdrop")),o.addElement(i.querySelector(".modal-wrapper")),U().addElement(e).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([r,o])},EO=()=>{const e=U().fromTo("opacity","var(--backdrop-opacity)",0),t=U().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}]);return{backdropAnimation:e,wrapperAnimation:t}},TO=(e,t)=>{const{currentBreakpoint:n}=t,i=pt(e),{wrapperAnimation:o,backdropAnimation:r}=n!==void 0?mw(t):EO();return r.addElement(i.querySelector("ion-backdrop")),o.addElement(i.querySelector(".modal-wrapper")),U().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([r,o])},PO=(e,t,n,i,o,r,s=[],a,l,c)=>{const d=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}],u=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-o,opacity:0},{offset:1,opacity:0}],h={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:o!==0?u:d},p=e.querySelector("ion-content"),f=n.clientHeight;let m=i,x=0,b=!1;const g=.95,v=r.childAnimations.find(G=>G.id==="wrapperAnimation"),w=r.childAnimations.find(G=>G.id==="backdropAnimation"),E=s[s.length-1],S=s[0],k=()=>{e.style.setProperty("pointer-events","auto"),t.style.setProperty("pointer-events","auto"),e.classList.remove("ion-disable-focus-trap")},C=()=>{e.style.setProperty("pointer-events","none"),t.style.setProperty("pointer-events","none"),e.classList.add("ion-disable-focus-trap")};v&&w&&(v.keyframes([...h.WRAPPER_KEYFRAMES]),w.keyframes([...h.BACKDROP_KEYFRAMES]),r.progressStart(!0,1-m),m>o?k():C()),p&&m!==E&&(p.scrollY=!1);const A=G=>{const Z=G.event.target.closest("ion-content");return m=a(),!(m===1&&Z)},D=()=>{b=e.canDismiss!==void 0&&e.canDismiss!==!0&&S===0,p&&(p.scrollY=!1),Ie(()=>{e.focus()}),r.progressStart(!0,1-m)},R=G=>{const Z=1-m,Q=s.length>1?1-s[1]:void 0,I=Z+G.deltaY/f,$=Q!==void 0&&I>=Q&&b,O=$?g:.9999,_=$&&Q!==void 0?Q+qu((I-Q)/(O-Q)):I;x=at(1e-4,_,O),r.progressStep(x)},V=G=>{const Z=G.velocityY,Q=(G.deltaY+Z*350)/f,I=m-Q,$=s.reduce((O,_)=>Math.abs(_-I){const{breakpoint:Z,canDismiss:Q,breakpointOffset:I,animated:$}=G,O=Q&&Z===0,_=O?m:Z,F=_!==0;return m=0,v&&w&&(v.keyframes([{offset:0,transform:`translateY(${I*100}%)`},{offset:1,transform:`translateY(${(1-_)*100}%)`}]),w.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${Uu(1-I,o)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${Uu(_,o)})`}]),r.progressStep(0)),K.enable(!1),O?pw(e,r):F||l(),new Promise(te=>{r.onFinish(()=>{F?v&&w?Ie(()=>{v.keyframes([...h.WRAPPER_KEYFRAMES]),w.keyframes([...h.BACKDROP_KEYFRAMES]),r.progressStart(!0,1-_),m=_,c(m),p&&m===s[s.length-1]&&(p.scrollY=!0),m>o?k():C(),K.enable(!0),te()}):(K.enable(!0),te()):te()},{oneTimeCallback:!0}).progressEnd(1,0,$?500:0)})},K=_l({el:n,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:A,onStart:D,onMove:R,onEnd:V});return{gesture:K,moveSheetToBreakpoint:Y}},AO=':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}}',LO=':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}',IO=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=B(this,"ionModalDidPresent",7),this.willPresent=B(this,"ionModalWillPresent",7),this.willDismiss=B(this,"ionModalWillDismiss",7),this.didDismiss=B(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=B(this,"ionBreakpointDidChange",7),this.didPresentShorthand=B(this,"didPresent",7),this.willPresentShorthand=B(this,"willPresent",7),this.willDismissShorthand=B(this,"willDismiss",7),this.didDismissShorthand=B(this,"didDismiss",7),this.ionMount=B(this,"ionMount",7),this.lockController=bs(),this.triggerController=Sp(),this.coreDelegate=kp(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.onHandleClick=()=>{const{sheetTransition:t,handleBehavior:n}=this;n!=="cycle"||t!==void 0||this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:t}=this;t===void 0&&this.dismiss(void 0,zi)},this.onLifecycle=t=>{const n=this.usersElement,i=OO[t.type];if(n&&i){const o=new CustomEvent(i,{bubbles:!1,cancelable:!1,detail:t.detail});n.dispatchEvent(o)}},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(t,n){t===!0&&n===!1?this.present():t===!1&&n===!0&&this.dismiss()}triggerChanged(){const{trigger:t,el:n,triggerController:i}=this;t&&i.addClickListener(n,t)}breakpointsChanged(t){t!==void 0&&(this.sortedBreakpoints=t.sort((n,i)=>n-i))}connectedCallback(){const{el:t}=this;Bl(t),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){const{breakpoints:t,initialBreakpoint:n,el:i}=this,o=this.isSheetModal=t!==void 0&&n!==void 0;this.inheritedAttributes=Ho(i,["aria-label","role"]),o&&(this.currentBreakpoint=this.initialBreakpoint),t!==void 0&&n!==void 0&&!t.includes(n)&&pe("Your breakpoints array must include the initialBreakpoint value."),jl(i)}componentDidLoad(){this.isOpen===!0&&Ie(()=>this.present()),this.breakpointsChanged(this.breakpoints),this.triggerChanged()}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const n=this.el.parentNode,i=this.inline=n!==null&&!this.hasController,o=this.workingDelegate=i?this.delegate||this.coreDelegate:this.delegate;return{inline:i,delegate:o}}async checkCanDismiss(t,n){const{canDismiss:i}=this;return typeof i=="function"?i(t,n):i}async present(){const t=await this.lockController.lock();if(this.presented){t();return}const{presentingElement:n,el:i}=this;this.currentBreakpoint=this.initialBreakpoint;const{inline:o,delegate:r}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=await Ml(r,i,this.component,["ion-page"],this.componentProps,o),Qr(i)?await Jr(this.usersElement):this.keepContentsMounted||await wx(),Ft(()=>this.el.classList.add("show-modal"));const s=n!==void 0;s&&W(this)==="ios"&&(this.statusBarStyle=await ts.getStyle(),hw()),await Vl(this,"modalEnter",Ug,SO,{presentingEl:n,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint}),typeof window<"u"&&(this.keyboardOpenCallback=()=>{this.gesture&&(this.gesture.enable(!1),Ie(()=>{this.gesture&&this.gesture.enable(!0)}))},window.addEventListener(nl,this.keyboardOpenCallback)),this.isSheetModal?this.initSheetGesture():s&&this.initSwipeToClose(),t()}initSwipeToClose(){var t;if(W(this)!=="ios")return;const{el:n}=this,i=this.leaveAnimation||le.get("modalLeave",Wg),o=this.animation=i(n,{presentingEl:this.presentingElement});if(!zu(n)){Mu(n);return}const s=(t=this.statusBarStyle)!==null&&t!==void 0?t:_o.Default;this.gesture=xO(n,o,s,()=>{this.gestureAnimationDismissing=!0,Wu(this.statusBarStyle),this.animation.onFinish(async()=>{await this.dismiss(void 0,Tr),this.gestureAnimationDismissing=!1})}),this.gesture.enable(!0)}initSheetGesture(){const{wrapperEl:t,initialBreakpoint:n,backdropBreakpoint:i}=this;if(!t||n===void 0)return;const o=this.enterAnimation||le.get("modalEnter",Ug),r=this.animation=o(this.el,{presentingEl:this.presentingElement,currentBreakpoint:n,backdropBreakpoint:i});r.progressStart(!0,1);const{gesture:s,moveSheetToBreakpoint:a}=PO(this.el,this.backdropEl,t,n,i,r,this.sortedBreakpoints,()=>{var l;return(l=this.currentBreakpoint)!==null&&l!==void 0?l:0},()=>this.sheetOnDismiss(),l=>{this.currentBreakpoint!==l&&(this.currentBreakpoint=l,this.ionBreakpointDidChange.emit({breakpoint:l}))});this.gesture=s,this.moveSheetToBreakpoint=a,this.gesture.enable(!0)}sheetOnDismiss(){this.gestureAnimationDismissing=!0,this.animation.onFinish(async()=>{this.currentBreakpoint=0,this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint}),await this.dismiss(void 0,Tr),this.gestureAnimationDismissing=!1})}async dismiss(t,n){var i;if(this.gestureAnimationDismissing&&n!==Tr)return!1;const o=await this.lockController.lock();if(n!=="handler"&&!await this.checkCanDismiss(t,n))return o(),!1;const{presentingElement:r}=this;r!==void 0&&W(this)==="ios"&&Wu(this.statusBarStyle),typeof window<"u"&&this.keyboardOpenCallback&&(window.removeEventListener(nl,this.keyboardOpenCallback),this.keyboardOpenCallback=void 0);const a=Za.get(this)||[],l=await Fl(this,t,n,"modalLeave",Wg,TO,{presentingEl:r,currentBreakpoint:(i=this.currentBreakpoint)!==null&&i!==void 0?i:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint});if(l){const{delegate:c}=this.getDelegate();await wp(c,this.usersElement),Ft(()=>this.el.classList.remove("show-modal")),this.animation&&this.animation.destroy(),this.gesture&&this.gesture.destroy(),a.forEach(d=>d.destroy())}return this.currentBreakpoint=void 0,this.animation=void 0,o(),l}onDidDismiss(){return ti(this.el,"ionModalDidDismiss")}onWillDismiss(){return ti(this.el,"ionModalWillDismiss")}async setCurrentBreakpoint(t){if(!this.isSheetModal){pe("setCurrentBreakpoint is only supported on sheet modals.");return}if(!this.breakpoints.includes(t)){pe(`Attempted to set invalid breakpoint value ${t}. Please double check that the breakpoint value is part of your defined breakpoints.`);return}const{currentBreakpoint:n,moveSheetToBreakpoint:i,canDismiss:o,breakpoints:r,animated:s}=this;n!==t&&i&&(this.sheetTransition=i({breakpoint:t,breakpointOffset:1-n,canDismiss:o!==void 0&&o!==!0&&r[0]===0,animated:s}),await this.sheetTransition,this.sheetTransition=void 0)}async getCurrentBreakpoint(){return this.currentBreakpoint}async moveToNextBreakpoint(){const{breakpoints:t,currentBreakpoint:n}=this;if(!t||n==null)return!1;const i=t.filter(a=>a!==0),r=(i.indexOf(n)+1)%i.length,s=i[r];return await this.setCurrentBreakpoint(s),!0}render(){const{handle:t,isSheetModal:n,presentingElement:i,htmlAttributes:o,handleBehavior:r,inheritedAttributes:s}=this,a=t!==!1&&n,l=W(this),c=i!==void 0&&l==="ios",d=r==="cycle";return y(ee,Object.assign({"no-router":!0,tabindex:"-1"},o,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[l]:!0,"modal-default":!c&&!n,"modal-card":c,"modal-sheet":n,"overlay-hidden":!0},Mt(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),y("ion-backdrop",{ref:u=>this.backdropEl=u,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),l==="ios"&&y("div",{class:"modal-shadow"}),y("div",Object.assign({role:"dialog"},s,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:u=>this.wrapperEl=u}),a&&y("button",{class:"modal-handle",tabIndex:d?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:d?this.onHandleClick:void 0,part:"handle"}),y("slot",null)))}get el(){return this}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}static get style(){return{ios:AO,md:LO}}},[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]},void 0,{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}]),OO={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};function RO(){if(typeof customElements>"u")return;["ion-modal","ion-backdrop"].forEach(t=>{switch(t){case"ion-modal":customElements.get(t)||customElements.define(t,IO);break;case"ion-backdrop":customElements.get(t)||Uo();break}})}const DO=RO,$O="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}",_O=ne(class extends ie{constructor(){super(),this.__registerHost()}componentDidLoad(){MO(async()=>{const t=fn(window,"hybrid");if(le.getBoolean("_testing")||$t(()=>import("./index9-oNsgZWLC.js"),__vite__mapDeps([])).then(i=>i.startTapClick(le)),le.getBoolean("statusTap",t)&&$t(()=>import("./status-tap-VNhLC2FT.js"),__vite__mapDeps([])).then(i=>i.startStatusTap()),le.getBoolean("inputShims",zO())){const i=fn(window,"ios")?"ios":"android";$t(()=>import("./input-shims-9x0vNp-N.js"),__vite__mapDeps([])).then(o=>o.startInputShims(le,i))}const n=await $t(()=>Promise.resolve().then(()=>UT),void 0);le.getBoolean("hardwareBackButton",t)?n.startHardwareBackButton():n.blockHardwareBackButton(),typeof window<"u"&&$t(()=>Promise.resolve().then(()=>yO),void 0).then(i=>i.startKeyboardAssist(window)),$t(()=>import("./focus-visible-Pz59kC95.js"),__vite__mapDeps([])).then(i=>this.focusVisible=i.startFocusVisible())})}async setFocus(t){this.focusVisible&&this.focusVisible.setFocus(t)}render(){const t=W(this);return y(ee,{class:{[t]:!0,"ion-page":!0,"force-statusbar-padding":le.getBoolean("_forceStatusbarPadding")}})}get el(){return this}static get style(){return $O}},[0,"ion-app",{setFocus:[64]}]),zO=()=>!!(fn(window,"ios")&&fn(window,"mobile")||fn(window,"android")&&fn(window,"mobileweb")),MO=e=>{"requestIdleCallback"in window?window.requestIdleCallback(e):setTimeout(e,32)};function BO(){if(typeof customElements>"u")return;["ion-app"].forEach(t=>{switch(t){case"ion-app":customElements.get(t)||customElements.define(t,_O);break}})}const jO=BO,VO=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}",FO=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=B(this,"ionNavWillLoad",7),this.ionNavWillChange=B(this,"ionNavWillChange",3),this.ionNavDidChange=B(this,"ionNavDidChange",3),this.lockController=bs(),this.gestureOrAnimationInProgress=!1,this.mode=W(this),this.delegate=void 0,this.animated=!0,this.animation=void 0,this.swipeHandler=void 0}swipeHandlerChanged(){this.gesture&&this.gesture.enable(this.swipeHandler!==void 0)}async connectedCallback(){const t=()=>{this.gestureOrAnimationInProgress=!0,this.swipeHandler&&this.swipeHandler.onStart()};this.gesture=(await $t(()=>import("./swipe-back-S1YpX5EA.js"),__vite__mapDeps([]))).createSwipeBackGesture(this.el,()=>!this.gestureOrAnimationInProgress&&!!this.swipeHandler&&this.swipeHandler.canStart(),()=>t(),n=>{var i;return(i=this.ani)===null||i===void 0?void 0:i.progressStep(n)},(n,i,o)=>{if(this.ani){this.ani.onFinish(()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(n)},{oneTimeCallback:!0});let r=n?-.001:.001;n?r+=$i([0,0],[.32,.72],[0,1],[1,1],i)[0]:(this.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),r+=$i([0,0],[1,0],[.68,.28],[1,1],i)[0]),this.ani.progressEnd(n?1:0,r,o)}else this.gestureOrAnimationInProgress=!1}),this.swipeHandlerChanged()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}async commit(t,n,i){const o=await this.lockController.lock();let r=!1;try{r=await this.transition(t,n,i)}catch(s){console.error(s)}return o(),r}async setRouteId(t,n,i,o){return{changed:await this.setRoot(t,n,{duration:i==="root"?0:void 0,direction:i==="back"?"back":"forward",animationBuilder:o}),element:this.activeEl}}async getRouteId(){const t=this.activeEl;return t?{id:t.tagName,element:t,params:this.activeParams}:void 0}async setRoot(t,n,i){if(this.activeComponent===t&&fx(n,this.activeParams))return!1;const o=this.activeEl,r=await Ml(this.delegate,this.el,t,["ion-page","ion-page-invisible"],n);return this.activeComponent=t,this.activeEl=r,this.activeParams=n,await this.commit(r,o,i),await wp(this.delegate,o),!0}async transition(t,n,i={}){if(n===t)return!1;this.ionNavWillChange.emit();const{el:o,mode:r}=this,s=this.animated&&le.getBoolean("animated",!0),a=i.animationBuilder||this.animation||le.get("navAnimation");return await bx(Object.assign(Object.assign({mode:r,animated:s,enteringEl:t,leavingEl:n,baseEl:o,deepWait:Qr(o),progressCallback:i.progressAnimation?l=>{l!==void 0&&!this.gestureOrAnimationInProgress?(this.gestureOrAnimationInProgress=!0,l.onFinish(()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(!1)},{oneTimeCallback:!0}),l.progressEnd(0,0,0)):this.ani=l}:void 0},i),{animationBuilder:a})),this.ionNavDidChange.emit(),!0}render(){return y("slot",null)}get el(){return this}static get watchers(){return{swipeHandler:["swipeHandlerChanged"]}}static get style(){return VO}},[1,"ion-router-outlet",{mode:[1025],delegate:[16],animated:[4],animation:[16],swipeHandler:[16],commit:[64],setRouteId:[64],getRouteId:[64]},void 0,{swipeHandler:["swipeHandlerChanged"]}]);function HO(){if(typeof customElements>"u")return;["ion-router-outlet"].forEach(t=>{switch(t){case"ion-router-outlet":customElements.get(t)||customElements.define(t,FO);break}})}const NO=HO;/*! * (C) Ionic http://ionicframework.com - MIT License */const UO=":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)}}",WO=":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}",qO=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabBarChanged=B(this,"ionTabBarChanged",7),this.ionTabBarLoaded=B(this,"ionTabBarLoaded",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.color=void 0,this.selectedTab=void 0,this.translucent=!1}selectedTabChanged(){this.selectedTab!==void 0&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}async connectedCallback(){this.keyboardCtrl=await KA(async(t,n)=>{t===!1&&n!==void 0&&await n,this.keyboardVisible=t})}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}componentDidLoad(){this.ionTabBarLoaded.emit()}render(){const{color:t,translucent:n,keyboardVisible:i}=this,o=W(this),r=i&&this.el.getAttribute("slot")!=="top";return y(ee,{role:"tablist","aria-hidden":r?"true":null,class:Ke(t,{[o]:!0,"tab-bar-translucent":n,"tab-bar-hidden":r})},y("slot",null))}get el(){return this}static get watchers(){return{selectedTab:["selectedTabChanged"]}}static get style(){return{ios:UO,md:WO}}},[33,"ion-tab-bar",{color:[513],selectedTab:[1,"selected-tab"],translucent:[4],keyboardVisible:[32]},void 0,{selectedTab:["selectedTabChanged"]}]);function YO(){if(typeof customElements>"u")return;["ion-tab-bar"].forEach(t=>{switch(t){case"ion-tab-bar":customElements.get(t)||customElements.define(t,qO);break}})}const KO=YO;/*! * (C) Ionic http://ionicframework.com - MIT License */const XO=':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}',GO=':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}',QO=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabButtonClick=B(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.onKeyUp=t=>{(t.key==="Enter"||t.key===" ")&&this.selectTab(t)},this.onClick=t=>{this.selectTab(t)},this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.layout=void 0,this.selected=!1,this.tab=void 0,this.target=void 0}onTabBarChanged(t){const n=t.target,i=this.el.parentElement;(t.composedPath().includes(i)||n!=null&&n.contains(this.el))&&(this.selected=this.tab===t.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},Ho(this.el,["aria-label"])),this.layout===void 0&&(this.layout=le.get("tabButtonLayout","icon-top"))}selectTab(t){this.tab!==void 0&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),t.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:t,hasIcon:n,hasLabel:i,href:o,rel:r,target:s,layout:a,selected:l,tab:c,inheritedAttributes:d}=this,u=W(this),h={download:this.download,href:o,rel:r,target:s};return y(ee,{onClick:this.onClick,onKeyup:this.onKeyUp,id:c!==void 0?`tab-button-${c}`:null,class:{[u]:!0,"tab-selected":l,"tab-disabled":t,"tab-has-label":i,"tab-has-icon":n,"tab-has-label-only":i&&!n,"tab-has-icon-only":n&&!i,[`tab-layout-${a}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},y("a",Object.assign({},h,{class:"button-native",part:"native",role:"tab","aria-selected":l?"true":null,"aria-disabled":t?"true":null,tabindex:t?"-1":void 0},d),y("span",{class:"button-inner"},y("slot",null)),u==="md"&&y("ion-ripple-effect",{type:"unbounded"})))}get el(){return this}static get style(){return{ios:XO,md:GO}}},[33,"ion-tab-button",{disabled:[4],download:[1],href:[1],rel:[1],layout:[1025],selected:[1028],tab:[1],target:[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]]);function ZO(){if(typeof customElements>"u")return;["ion-tab-button","ion-ripple-effect"].forEach(t=>{switch(t){case"ion-tab-button":customElements.get(t)||customElements.define(t,QO);break;case"ion-ripple-effect":customElements.get(t)||Fi();break}})}const JO=ZO;let ld;const eR=()=>{if(typeof window>"u")return new Map;if(!ld){const e=window;e.Ionicons=e.Ionicons||{},ld=e.Ionicons.map=e.Ionicons.map||new Map}return ld},tR=e=>{let t=cd(e.src);return t||(t=gw(e.name,e.icon,e.mode,e.ios,e.md),t?nR(t,e):e.icon&&(t=cd(e.icon),t||(t=cd(e.icon[e.mode]),t))?t:null)},nR=(e,t)=>{const n=eR().get(e);if(n)return n;try{return Qy(`svg/${e}.svg`)}catch{console.warn(`[Ionicons Warning]: Could not load icon with name "${e}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,t)}},gw=(e,t,n,i,o)=>(n=(n&&Gs(n))==="ios"?"ios":"md",i&&n==="ios"?e=Gs(i):o&&n==="md"?e=Gs(o):(!e&&t&&!bw(t)&&(e=t),rl(e)&&(e=Gs(e))),!rl(e)||e.trim()===""||e.replace(/[a-z]|-|\d/gi,"")!==""?null:e),cd=e=>rl(e)&&(e=e.trim(),bw(e))?e:null,bw=e=>e.length>0&&/(\/|\.)/.test(e),rl=e=>typeof e=="string",Gs=e=>e.toLowerCase(),iR=(e,t=[])=>{const n={};return t.forEach(i=>{e.hasAttribute(i)&&(e.getAttribute(i)!==null&&(n[i]=e.getAttribute(i)),e.removeAttribute(i))}),n},oR=e=>e&&e.dir!==""?e.dir.toLowerCase()==="rtl":(document==null?void 0:document.dir.toLowerCase())==="rtl",rR=e=>{const t=document.createElement("div");t.innerHTML=e;for(let i=t.childNodes.length-1;i>=0;i--)t.childNodes[i].nodeName.toLowerCase()!=="svg"&&t.removeChild(t.childNodes[i]);const n=t.firstElementChild;if(n&&n.nodeName.toLowerCase()==="svg"){const i=n.getAttribute("class")||"";if(n.setAttribute("class",(i+" s-ion-icon").trim()),vw(n))return t.innerHTML}return""},vw=e=>{if(e.nodeType===1){if(e.nodeName.toLowerCase()==="script")return!1;for(let t=0;te.startsWith("data:image/svg+xml"),aR=e=>e.indexOf(";utf8,")!==-1,ki=new Map,qg=new Map;let dd;const lR=(e,t)=>{let n=qg.get(e);if(!n)if(typeof fetch<"u"&&typeof document<"u")if(sR(e)&&aR(e)){dd||(dd=new DOMParser);const o=dd.parseFromString(e,"text/html").querySelector("svg");return o&&ki.set(e,o.outerHTML),Promise.resolve()}else n=fetch(e).then(i=>{if(i.ok)return i.text().then(o=>{o&&t!==!1&&(o=rR(o)),ki.set(e,o||"")});ki.set(e,"")}),qg.set(e,n);else return ki.set(e,""),Promise.resolve();return n},cR=":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)}",dR=ne(class extends ie{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.didLoadIcon=!1,this.svgContent=void 0,this.isVisible=!1,this.mode=uR(),this.color=void 0,this.ios=void 0,this.md=void 0,this.flipRtl=void 0,this.name=void 0,this.src=void 0,this.icon=void 0,this.size=void 0,this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=iR(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(t,n,i){if(this.lazy&&typeof window<"u"&&window.IntersectionObserver){const o=this.io=new window.IntersectionObserver(r=>{r[0].isIntersecting&&(o.disconnect(),this.io=void 0,i())},{rootMargin:n});o.observe(t)}else i()}loadIcon(){if(this.isVisible){const t=tR(this);t&&(ki.has(t)?this.svgContent=ki.get(t):lR(t,this.sanitize).then(()=>this.svgContent=ki.get(t)),this.didLoadIcon=!0)}this.iconName=gw(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:t,iconName:n,inheritedAttributes:i,el:o}=this,r=this.mode||"md",s=n?(n.includes("arrow")||n.includes("chevron"))&&t!==!1:!1,a=t||s;return y(ee,Object.assign({role:"img",class:Object.assign(Object.assign({[r]:!0},hR(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":a,"icon-rtl":a&&oR(o)})},i),this.svgContent?y("div",{class:"icon-inner",innerHTML:this.svgContent}):y("div",{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}static get style(){return cR}},[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]}]),uR=()=>typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",hR=e=>e?{"ion-color":!0,[`ion-color-${e}`]:!0}:null;function pR(){if(typeof customElements>"u")return;["ion-icon"].forEach(t=>{switch(t){case"ion-icon":customElements.get(t)||customElements.define(t,dR);break}})}const fR=pR,$p=P.createContext({onIonViewWillEnter:()=>{},ionViewWillEnter:()=>{},onIonViewDidEnter:()=>{},ionViewDidEnter:()=>{},onIonViewWillLeave:()=>{},ionViewWillLeave:()=>{},onIonViewDidLeave:()=>{},ionViewDidLeave:()=>{},cleanupIonViewWillEnter:()=>{},cleanupIonViewDidEnter:()=>{},cleanupIonViewWillLeave:()=>{},cleanupIonViewDidLeave:()=>{}}),mR=class{constructor(){this.ionViewWillEnterCallbacks=[],this.ionViewDidEnterCallbacks=[],this.ionViewWillLeaveCallbacks=[],this.ionViewDidLeaveCallbacks=[],this.ionViewWillEnterDestructorCallbacks=[],this.ionViewDidEnterDestructorCallbacks=[],this.ionViewWillLeaveDestructorCallbacks=[],this.ionViewDidLeaveDestructorCallbacks=[]}onIonViewWillEnter(e){if(e.id){const t=this.ionViewWillEnterCallbacks.findIndex(n=>n.id===e.id);t>-1?this.ionViewWillEnterCallbacks[t]=e:this.ionViewWillEnterCallbacks.push(e)}else this.ionViewWillEnterCallbacks.push(e)}teardownCallback(e,t){const n=t.filter(i=>i.id===e.id);n.length!==0&&(n.forEach(i=>{i&&typeof i.destructor=="function"&&i.destructor()}),t=t.filter(i=>i.id!==e.id))}cleanupIonViewWillEnter(e){this.teardownCallback(e,this.ionViewWillEnterDestructorCallbacks)}cleanupIonViewDidEnter(e){this.teardownCallback(e,this.ionViewDidEnterDestructorCallbacks)}cleanupIonViewWillLeave(e){this.teardownCallback(e,this.ionViewWillLeaveDestructorCallbacks)}cleanupIonViewDidLeave(e){this.teardownCallback(e,this.ionViewDidLeaveDestructorCallbacks)}ionViewWillEnter(){this.ionViewWillEnterCallbacks.forEach(e=>{const t=e();e.id&&this.ionViewWillEnterDestructorCallbacks.push({id:e.id,destructor:t})})}onIonViewDidEnter(e){if(e.id){const t=this.ionViewDidEnterCallbacks.findIndex(n=>n.id===e.id);t>-1?this.ionViewDidEnterCallbacks[t]=e:this.ionViewDidEnterCallbacks.push(e)}else this.ionViewDidEnterCallbacks.push(e)}ionViewDidEnter(){this.ionViewDidEnterCallbacks.forEach(e=>{const t=e();e.id&&this.ionViewDidEnterDestructorCallbacks.push({id:e.id,destructor:t})})}onIonViewWillLeave(e){if(e.id){const t=this.ionViewWillLeaveCallbacks.findIndex(n=>n.id===e.id);t>-1?this.ionViewWillLeaveCallbacks[t]=e:this.ionViewWillLeaveCallbacks.push(e)}else this.ionViewWillLeaveCallbacks.push(e)}ionViewWillLeave(){this.ionViewWillLeaveCallbacks.forEach(e=>{const t=e();e.id&&this.ionViewWillLeaveDestructorCallbacks.push({id:e.id,destructor:t})})}onIonViewDidLeave(e){if(e.id){const t=this.ionViewDidLeaveCallbacks.findIndex(n=>n.id===e.id);t>-1?this.ionViewDidLeaveCallbacks[t]=e:this.ionViewDidLeaveCallbacks.push(e)}else this.ionViewDidLeaveCallbacks.push(e)}ionViewDidLeave(){this.ionViewDidLeaveCallbacks.forEach(e=>{const t=e();e.id&&this.ionViewDidLeaveDestructorCallbacks.push({id:e.id,destructor:t})}),this.componentCanBeDestroyed()}onComponentCanBeDestroyed(e){this.componentCanBeDestroyedCallback=e}componentCanBeDestroyed(){this.componentCanBeDestroyedCallback&&this.componentCanBeDestroyedCallback()}},An=P.createContext({getIonRedirect:()=>{},getIonRoute:()=>{},getPageManager:()=>{},getStackManager:()=>{},goBack:e=>{typeof window<"u"&&(typeof e=="string"?window.location.pathname=e:window.history.back())},navigate:e=>{typeof window<"u"&&(window.location.pathname=e)},hasIonicRouter:()=>!1,routeInfo:void 0,setCurrentTab:()=>{},changeTab:(e,t)=>{typeof window<"u"&&(window.location.pathname=t)},resetTab:(e,t)=>{typeof window<"u"&&(window.location.pathname=t)}}),_p=e=>e.toLowerCase().split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),Wl=e=>e.replace(/([A-Z])/g,t=>`-${t[0].toLowerCase()}`),zp=(e,t,n={})=>{if(e instanceof Element){const i=gR(e.classList,t,n);i!==""&&(e.className=i),Object.keys(t).forEach(o=>{if(!(o==="children"||o==="style"||o==="ref"||o==="class"||o==="className"||o==="forwardedRef"))if(o.indexOf("on")===0&&o[2]===o[2].toUpperCase()){const r=o.substring(2),s=r[0].toLowerCase()+r.substring(1);vs(s)||vR(e,s,t[o])}else e[o]=t[o],typeof t[o]==="string"&&e.setAttribute(Wl(o),t[o])})}},gR=(e,t,n)=>{const i=t.className||t.class,o=n.className||n.class,r=ud(e),s=ud(i?i.split(" "):[]),a=ud(o?o.split(" "):[]),l=[];return r.forEach(c=>{s.has(c)?(l.push(c),s.delete(c)):a.has(c)||l.push(c)}),s.forEach(c=>l.push(c)),l.join(" ")},bR=e=>{switch(e){case"doubleclick":return"dblclick"}return e};/** * Checks if an event is supported in the current execution environment. * @license Modernizr 3.0.0pre (Custom Build) | MIT */const vs=e=>{if(typeof document>"u")return!0;{const t="on"+bR(e);let n=t in document;if(!n){const i=document.createElement("div");i.setAttribute(t,"return;"),n=typeof i[t]=="function"}return n}},vR=(e,t,n)=>{const i=e.__events||(e.__events={}),o=i[t];o&&e.removeEventListener(t,o),e.addEventListener(t,i[t]=function(s){n&&n.call(this,s)})},ud=e=>{const t=new Map;return e.forEach(n=>t.set(n,n)),t},yR=(e,t)=>{typeof e=="function"?e(t):e!=null&&(e.current=t)},ql=(...e)=>t=>{e.forEach(n=>{yR(n,t)})},xR=(e,t)=>{const n=(i,o)=>P.createElement(e,Object.assign({},i,{forwardedRef:o}));return n.displayName=t,P.forwardRef(n)},wR=(e,t)=>{t!==void 0&&typeof customElements<"u"&&!customElements.get(e)&&customElements.define(e,t)},me=(e,t,n,i)=>{i!==void 0&&i();const o=_p(e),r=class extends P.Component{constructor(s){super(s),this.setComponentElRef=a=>{this.componentEl=a}}componentDidMount(){this.componentDidUpdate(this.props)}componentDidUpdate(s){zp(this.componentEl,this.props,s)}render(){const s=this.props,{children:a,forwardedRef:l,style:c,className:d,ref:u}=s,h=Xe(s,["children","forwardedRef","style","className","ref"]);let p=Object.keys(h).reduce((m,x)=>{const b=h[x];if(x.indexOf("on")===0&&x[2]===x[2].toUpperCase()){const g=x.substring(2).toLowerCase();typeof document<"u"&&vs(g)&&(m[x]=b)}else{const g=typeof b;(g==="string"||g==="boolean"||g==="number")&&(m[Wl(x)]=b)}return m},{});n&&(p=n(this.props,p));const f=Object.assign(Object.assign({},p),{ref:ql(l,this.setComponentElRef),style:c});return q.createElement(e,f,a)}static get displayName(){return o}};return t&&(r.contextType=t),xR(r,o)},yw=me("ion-buttons",void 0,void 0,_P),Yg=me("ion-col",void 0,void 0,eA),xw=me("ion-content",void 0,void 0,aA),kR=me("ion-grid",void 0,void 0,ZA),ww=me("ion-header",void 0,void 0,lL),Yu=me("ion-img",void 0,void 0,pL),CR=me("ion-label",void 0,void 0,vL),Ku=me("ion-list",void 0,void 0,kL),SR=me("ion-list-header",void 0,void 0,TL),ER=me("ion-menu",void 0,void 0,zL),TR=me("ion-menu-button",void 0,void 0,FL),PR=me("ion-menu-toggle",void 0,void 0,WL),AR=me("ion-note",void 0,void 0,QL),LR=me("ion-range",void 0,void 0,uI),IR=me("ion-row",void 0,void 0,mI),Kg=me("ion-select",void 0,void 0,NI),rr=me("ion-select-option",void 0,void 0,KI),OR=me("ion-split-pane",void 0,void 0,eO),Mp=me("ion-title",void 0,void 0,rO),Bp=me("ion-toolbar",void 0,void 0,dO),Hi=(e,t)=>{const n=(i,o)=>P.createElement(e,Object.assign({},i,{forwardedRef:o}));return n.displayName=t,P.forwardRef(n)},jp=()=>{if(typeof window<"u"){const e=window.Ionic;if(e&&e.config)return e.config}return null},kw=(e,t)=>{wR(e,t);const n=_p(e),i=class extends P.Component{constructor(o){super(o),this.handleClick=r=>{const{routerLink:s,routerDirection:a,routerOptions:l,routerAnimation:c}=this.props;s!==void 0&&(r.preventDefault(),this.context.navigate(s,a,void 0,c,l))},this.ref=P.createRef(),this.stableMergedRefs=ql(this.ref,this.props.forwardedRef)}componentDidMount(){this.componentDidUpdate(this.props)}componentDidUpdate(o){const r=this.ref.current;zp(r,this.props,o)}render(){const o=this.props,{children:r,forwardedRef:s,style:a,className:l,ref:c}=o,d=Xe(o,["children","forwardedRef","style","className","ref"]),u=Object.keys(d).reduce((p,f)=>{if(f.indexOf("on")===0&&f[2]===f[2].toUpperCase()){const m=f.substring(2).toLowerCase();vs(m)&&(p[f]=d[f])}else["string","boolean","number"].includes(typeof d[f])&&(p[Wl(f)]=d[f]);return p},{}),h=Object.assign(Object.assign({},u),{ref:this.stableMergedRefs,style:a});if(this.props.routerLink&&!this.props.href&&(h.href=this.props.routerLink),h.onClick){const p=h.onClick;h.onClick=f=>{p(f),f.defaultPrevented||this.handleClick(f)}}else h.onClick=this.handleClick;return q.createElement(e,h,r)}static get displayName(){return n}static get contextType(){return An}};return Hi(i,n)},Xu=kw("ion-button",uO),ga=kw("ion-item",hO),RR=(e,t)=>{e instanceof Element&&Object.keys(t).forEach(n=>{if(n.indexOf("on")===0&&n[2]===n[2].toUpperCase()){const i=n.substring(2),o=i[0].toLowerCase()+i.substring(1);vs(o)||DR(e,o)}})},DR=(e,t)=>{const n=e.__events||(e.__events={}),i=n[t];i&&(e.removeEventListener(t,i),n[t]=void 0)},$R=(e,t,n)=>{t&&t();const i=_p(e),o=class extends P.Component{constructor(r){super(r),this.handleIonMount=()=>{this.setState({isOpen:!0})},this.handleWillPresent=s=>{this.setState({isOpen:!0}),this.props.onWillPresent&&this.props.onWillPresent(s)},this.handleDidDismiss=s=>{const a=this.wrapperRef.current,l=this.ref.current;a&&l&&(l.append(a),this.setState({isOpen:!1})),this.props.onDidDismiss&&this.props.onDidDismiss(s)},this.ref=P.createRef(),this.stableMergedRefs=ql(this.ref,this.props.forwardedRef),this.state={isOpen:!1},this.wrapperRef=P.createRef()}componentDidMount(){var r,s,a;this.componentDidUpdate(this.props),(r=this.ref.current)===null||r===void 0||r.addEventListener("ionMount",this.handleIonMount),(s=this.ref.current)===null||s===void 0||s.addEventListener("willPresent",this.handleWillPresent),(a=this.ref.current)===null||a===void 0||a.addEventListener("didDismiss",this.handleDidDismiss)}componentDidUpdate(r){const s=this.ref.current,a=this.props,l=Xe(a,["onDidDismiss","onWillPresent"]);zp(s,l,r)}componentWillUnmount(){const r=this.ref.current;r&&this.state.isOpen&&(r.removeEventListener("didDismiss",this.handleDidDismiss),r.remove(),RR(r,this.props))}render(){const r=this.props,{children:s,forwardedRef:a,style:l,className:c,ref:d}=r,u=Xe(r,["children","forwardedRef","style","className","ref"]),h=Object.keys(u).reduce((m,x)=>{if(x.indexOf("on")===0&&x[2]===x[2].toUpperCase()){const b=x.substring(2).toLowerCase();vs(b)&&(m[x]=u[x])}else["string","boolean","number"].includes(typeof u[x])&&(m[Wl(x)]=u[x]);return m},{}),p=Object.assign(Object.assign({},h),{ref:this.stableMergedRefs,style:l}),f=()=>n?`${Xg} ion-page`:Xg;return q.createElement("template",{},q.createElement(e,p,this.state.isOpen||this.props.keepContentsMounted?q.createElement("div",{ref:this.wrapperRef,className:f()},s):null))}static get displayName(){return i}};return Hi(o,i)},Xg="ion-delegate-host",_R=$R("ion-modal",DO,!0),zR=P.createContext({addOverlay:()=>{},removeOverlay:()=>{}}),MR=({onAddOverlay:e,onRemoveOverlay:t})=>{const[n,i]=q.useState({}),o=q.useRef({});q.useEffect(()=>{e(r),t(s)},[]);const r=(l,c,d)=>{const u=Object.assign({},o.current);u[l]={component:c,containerElement:d},o.current=u,i(u)},s=l=>{const c=Object.assign({},o.current);delete c[l],o.current=c,i(c)},a=Object.keys(n);return P.createElement(P.Fragment,null,a.map(l=>{const c=n[l];return UE.createPortal(c.component,c.containerElement,`overlay-${l}`)}))},BR=me("ion-tab-button",void 0,void 0,JO),jR=me("ion-tab-bar",void 0,void 0,KO),Gu=me("ion-router-outlet",void 0,void 0,NO),VR=me("ion-app",void 0,void 0,jO),FR=me("ion-icon",void 0,void 0,fR),HR=class extends P.Component{constructor(e){super(e),this.ionContext={addOverlay:(t,n,i)=>{this.addOverlayCallback&&this.addOverlayCallback(t,n,i)},removeOverlay:t=>{this.removeOverlayCallback&&this.removeOverlayCallback(t)}}}render(){return P.createElement(zR.Provider,{value:this.ionContext},P.createElement(VR,Object.assign({},this.props),this.props.children),P.createElement(MR,{onAddOverlay:e=>{this.addOverlayCallback=e},onRemoveOverlay:e=>{this.removeOverlayCallback=e}}))}static get displayName(){return"IonApp"}},Vp=P.createContext({registerIonPage:()=>{},isInOutlet:()=>!1});class Cw extends P.PureComponent{constructor(t){super(t),this.ionPageElementRef=P.createRef(),this.stableMergedRefs=ql(this.ionPageElementRef,this.props.forwardedRef),this.ionViewWillEnterHandler=this.ionViewWillEnterHandler.bind(this),this.ionViewDidEnterHandler=this.ionViewDidEnterHandler.bind(this),this.ionViewWillLeaveHandler=this.ionViewWillLeaveHandler.bind(this),this.ionViewDidLeaveHandler=this.ionViewDidLeaveHandler.bind(this)}componentDidMount(){this.ionPageElementRef.current&&(this.context.isInOutlet()&&this.ionPageElementRef.current.classList.add("ion-page-invisible"),this.context.registerIonPage(this.ionPageElementRef.current,this.props.routeInfo),this.ionPageElementRef.current.addEventListener("ionViewWillEnter",this.ionViewWillEnterHandler),this.ionPageElementRef.current.addEventListener("ionViewDidEnter",this.ionViewDidEnterHandler),this.ionPageElementRef.current.addEventListener("ionViewWillLeave",this.ionViewWillLeaveHandler),this.ionPageElementRef.current.addEventListener("ionViewDidLeave",this.ionViewDidLeaveHandler))}componentWillUnmount(){this.ionPageElementRef.current&&(this.ionPageElementRef.current.removeEventListener("ionViewWillEnter",this.ionViewWillEnterHandler),this.ionPageElementRef.current.removeEventListener("ionViewDidEnter",this.ionViewDidEnterHandler),this.ionPageElementRef.current.removeEventListener("ionViewWillLeave",this.ionViewWillLeaveHandler),this.ionPageElementRef.current.removeEventListener("ionViewDidLeave",this.ionViewDidLeaveHandler))}ionViewWillEnterHandler(){this.ionLifeCycleContext.ionViewWillEnter()}ionViewDidEnterHandler(){this.ionLifeCycleContext.ionViewDidEnter()}ionViewWillLeaveHandler(){this.ionLifeCycleContext.ionViewWillLeave()}ionViewDidLeaveHandler(){this.ionLifeCycleContext.ionViewDidLeave()}render(){const t=this.props,{className:n,children:i,routeInfo:o,forwardedRef:r}=t,s=Xe(t,["className","children","routeInfo","forwardedRef"]);return P.createElement($p.Consumer,null,a=>(this.ionLifeCycleContext=a,P.createElement("div",Object.assign({className:n?`${n} ion-page`:"ion-page",ref:this.stableMergedRefs},s),i)))}static get contextType(){return Vp}}class NR extends P.Component{constructor(t){super(t)}render(){const t=this.props,{className:n,children:i,forwardedRef:o}=t,r=Xe(t,["className","children","forwardedRef"]);return this.context.hasIonicRouter()?P.createElement(Cw,Object.assign({className:n?`${n}`:"",routeInfo:this.context.routeInfo,forwardedRef:o},r),i):P.createElement("div",Object.assign({className:n?`ion-page ${n}`:"ion-page",ref:o},r),i)}static get displayName(){return"IonPage"}static get contextType(){return An}}const UR=Hi(NR,"IonPage"),Gg={main:0},ns=(e="main")=>{var t;const n=((t=Gg[e])!==null&&t!==void 0?t:0)+1;return Gg[e]=n,n.toString()},WR=(e,t)=>{const n=new WeakMap,i=`react-delegate-${ns()}`;let o=0;return{attachViewToDom:async(a,l,c,d)=>{const u=document.createElement("div");d&&u.classList.add(...d),a.appendChild(u);const h=l(c),p=`${i}-${o++}`,f=up.createPortal(h,u,p);return n.set(u,f),e(f),Promise.resolve(u)},removeViewFromDom:(a,l)=>{const c=n.get(l);return c&&t(c),l.remove(),Promise.resolve()}}},qR=me("ion-nav",void 0,void 0,GL),YR=e=>{var{children:t,forwardedRef:n}=e,i=Xe(e,["children","forwardedRef"]);const[o,r]=q.useState([]),s=c=>r(d=>[...d,c]),a=c=>r(d=>d.filter(u=>u!==c)),l=q.useMemo(()=>WR(s,a),[]);return P.createElement(qR,Object.assign({delegate:l,ref:n},i),o)};Hi(YR,"IonNav");P.createContext({activeTab:void 0,selectTab:()=>!1});const KR=typeof HTMLElement<"u"?HTMLElement:class{};class XR extends P.Component{constructor(t){super(t),this.outletIsReady=!1,this.ionViewWillEnterHandler=this.ionViewWillEnterHandler.bind(this),this.ionViewDidEnterHandler=this.ionViewDidEnterHandler.bind(this),this.ionViewWillLeaveHandler=this.ionViewWillLeaveHandler.bind(this),this.ionViewDidLeaveHandler=this.ionViewDidLeaveHandler.bind(this)}componentDidMount(){this.ionRouterOutlet&&(this.outletIsReady||ei(this.ionRouterOutlet,()=>{this.outletIsReady=!0,this.context.registerIonPage(this.ionRouterOutlet,this.props.routeInfo)}),this.ionRouterOutlet.addEventListener("ionViewWillEnter",this.ionViewWillEnterHandler),this.ionRouterOutlet.addEventListener("ionViewDidEnter",this.ionViewDidEnterHandler),this.ionRouterOutlet.addEventListener("ionViewWillLeave",this.ionViewWillLeaveHandler),this.ionRouterOutlet.addEventListener("ionViewDidLeave",this.ionViewDidLeaveHandler))}componentWillUnmount(){this.ionRouterOutlet&&(this.ionRouterOutlet.removeEventListener("ionViewWillEnter",this.ionViewWillEnterHandler),this.ionRouterOutlet.removeEventListener("ionViewDidEnter",this.ionViewDidEnterHandler),this.ionRouterOutlet.removeEventListener("ionViewWillLeave",this.ionViewWillLeaveHandler),this.ionRouterOutlet.removeEventListener("ionViewDidLeave",this.ionViewDidLeaveHandler))}ionViewWillEnterHandler(){this.ionLifeCycleContext.ionViewWillEnter()}ionViewDidEnterHandler(){this.ionLifeCycleContext.ionViewDidEnter()}ionViewWillLeaveHandler(){this.ionLifeCycleContext.ionViewWillLeave()}ionViewDidLeaveHandler(){this.ionLifeCycleContext.ionViewDidLeave()}render(){const t=this.props,{StackManager:n,children:i,routeInfo:o}=t,r=Xe(t,["StackManager","children","routeInfo"]);return P.createElement($p.Consumer,null,s=>(this.ionLifeCycleContext=s,P.createElement(n,{routeInfo:o},P.createElement(Gu,Object.assign({setRef:a=>this.ionRouterOutlet=a},r),i))))}static get contextType(){return Vp}}class GR extends P.Component{constructor(t){super(t)}render(){const t=this.context.getStackManager(),n=this.props,{children:i,forwardedRef:o}=n,r=Xe(n,["children","forwardedRef"]);return this.context.hasIonicRouter()?r.ionPage?P.createElement(XR,Object.assign({StackManager:t,routeInfo:this.context.routeInfo},r),i):P.createElement(t,{routeInfo:this.context.routeInfo},P.createElement(Gu,Object.assign({},r,{forwardedRef:o}),i)):P.createElement(Gu,Object.assign({ref:o},this.props),this.props.children)}static get contextType(){return An}}const QR=Hi(GR,"IonRouterOutlet"),hd=class extends P.Component{constructor(e){super(e),this.handleIonTabButtonClick=this.handleIonTabButtonClick.bind(this)}handleIonTabButtonClick(){this.props.onClick&&this.props.onClick(new CustomEvent("ionTabButtonClick",{detail:{tab:this.props.tab,href:this.props.href,routeOptions:this.props.routerOptions}}))}render(){const e=this.props,t=Xe(e,["onClick"]);return P.createElement(BR,Object.assign({onIonTabButtonClick:this.handleIonTabButtonClick},t))}static get displayName(){return"IonTabButton"}};class ZR extends P.PureComponent{constructor(t){super(t),this.setActiveTabOnContext=i=>{};const n={};P.Children.forEach(t.children,i=>{var o,r,s,a;i!=null&&typeof i=="object"&&i.props&&(i.type===hd||i.type.isTabButton)&&(n[i.props.tab]={originalHref:i.props.href,currentHref:i.props.href,originalRouteOptions:i.props.href===((o=t.routeInfo)===null||o===void 0?void 0:o.pathname)?(r=t.routeInfo)===null||r===void 0?void 0:r.routeOptions:void 0,currentRouteOptions:i.props.href===((s=t.routeInfo)===null||s===void 0?void 0:s.pathname)?(a=t.routeInfo)===null||a===void 0?void 0:a.routeOptions:void 0})}),this.state={tabs:n},this.onTabButtonClick=this.onTabButtonClick.bind(this),this.renderTabButton=this.renderTabButton.bind(this),this.setActiveTabOnContext=this.setActiveTabOnContext.bind(this),this.selectTab=this.selectTab.bind(this)}componentDidMount(){const t=this.state.tabs,i=Object.keys(t).find(o=>{const r=t[o].originalHref;return this.props.routeInfo.pathname.startsWith(r)});i&&this.setState({activeTab:i})}componentDidUpdate(){this.state.activeTab&&this.setActiveTabOnContext(this.state.activeTab)}selectTab(t){const n=this.state.tabs[t];return n?(this.onTabButtonClick(new CustomEvent("ionTabButtonClick",{detail:{href:n.currentHref,tab:t,selected:t===this.state.activeTab,routeOptions:void 0}})),!0):!1}static getDerivedStateFromProps(t,n){var i,o,r;const s=Object.assign({},n.tabs),l=Object.keys(n.tabs).find(d=>{const u=n.tabs[d].originalHref;return t.routeInfo.pathname.startsWith(u)});P.Children.forEach(t.children,d=>{if(d!=null&&typeof d=="object"&&d.props&&(d.type===hd||d.type.isTabButton)){const u=s[d.props.tab];(!u||u.originalHref!==d.props.href)&&(s[d.props.tab]={originalHref:d.props.href,currentHref:d.props.href,originalRouteOptions:d.props.routeOptions,currentRouteOptions:d.props.routeOptions})}});const{activeTab:c}=n;if(l&&c){const d=n.tabs[c].currentHref,u=n.tabs[c].currentRouteOptions;(l!==c||d!==((i=t.routeInfo)===null||i===void 0?void 0:i.pathname)||u!==((o=t.routeInfo)===null||o===void 0?void 0:o.routeOptions))&&(s[l]={originalHref:s[l].originalHref,currentHref:t.routeInfo.pathname+(t.routeInfo.search||""),originalRouteOptions:s[l].originalRouteOptions,currentRouteOptions:(r=t.routeInfo)===null||r===void 0?void 0:r.routeOptions},t.routeInfo.routeAction==="pop"&&l!==c&&(s[c]={originalHref:s[c].originalHref,currentHref:s[c].originalHref,originalRouteOptions:s[c].originalRouteOptions,currentRouteOptions:s[c].currentRouteOptions}))}return l&&t.onSetCurrentTab(l,t.routeInfo),{activeTab:l,tabs:s}}onTabButtonClick(t,n){const i=this.state.tabs[t.detail.tab],o=i.originalHref,r=t.detail.href,{activeTab:s}=this.state;n&&n(t),s===t.detail.tab?o!==r&&this.context.resetTab(t.detail.tab,o,i.originalRouteOptions):(this.props.onIonTabsWillChange&&this.props.onIonTabsWillChange(new CustomEvent("ionTabWillChange",{detail:{tab:t.detail.tab}})),this.props.onIonTabsDidChange&&this.props.onIonTabsDidChange(new CustomEvent("ionTabDidChange",{detail:{tab:t.detail.tab}})),this.setActiveTabOnContext(t.detail.tab),this.context.changeTab(t.detail.tab,r,t.detail.routeOptions))}renderTabButton(t){return n=>{var i,o;if(n!=null&&n.props&&(n.type===hd||n.type.isTabButton)){const r=n.props.tab===t?(i=this.props.routeInfo)===null||i===void 0?void 0:i.pathname:this.state.tabs[n.props.tab].currentHref,s=n.props.tab===t?(o=this.props.routeInfo)===null||o===void 0?void 0:o.routeOptions:this.state.tabs[n.props.tab].currentRouteOptions;return P.cloneElement(n,{href:r,routeOptions:s,onClick:a=>this.onTabButtonClick(a,n.props.onClick)})}return null}}render(){const{activeTab:t}=this.state;return P.createElement(jR,Object.assign({},this.props,{selectedTab:t}),P.Children.map(this.props.children,this.renderTabButton(t)))}static get contextType(){return An}}const JR=P.memo(e=>{var{forwardedRef:t}=e,n=Xe(e,["forwardedRef"]);const i=q.useContext(An);return P.createElement(ZR,Object.assign({ref:t},n,{routeInfo:n.routeInfo||i.routeInfo||{pathname:window.location.pathname},onSetCurrentTab:i.setCurrentTab}),n.children)});Hi(JR,"IonTabBar");class e5 extends KR{constructor(){super()}}typeof window<"u"&&window.customElements&&(window.customElements.get("ion-tabs")||window.customElements.define("ion-tabs",e5));class t5 extends P.PureComponent{constructor(t){super(t),this.props.name&&console.warn('In Ionic React, you import icons from "ionicons/icons" and set the icon you imported to the "icon" property. Setting the "name" property has no effect.')}render(){var t,n;const i=this.props,{icon:o,ios:r,md:s,mode:a}=i,l=Xe(i,["icon","ios","md","mode"]);let c;const d=jp(),u=a||(d==null?void 0:d.get("mode"));return r||s?u==="ios"?c=(t=r??s)!==null&&t!==void 0?t:o:c=(n=s??r)!==null&&n!==void 0?n:o:c=o,P.createElement(FR,Object.assign({ref:this.props.forwardedRef,icon:c},l),this.props.children)}static get contextType(){return An}}const n5=Hi(t5,"IonIcon");class Fp extends P.PureComponent{render(){const t=this.context.getIonRoute();return!this.context.hasIonicRouter()||!Fp?(console.error("You either do not have an Ionic Router package, or your router does not support using "),null):P.createElement(t,Object.assign({},this.props))}static get contextType(){return An}}class Sw extends P.PureComponent{render(){const t=this.context.getIonRedirect();return!this.context.hasIonicRouter()||!Sw?(console.error("You either do not have an Ionic Router package, or your router does not support using "),null):P.createElement(t,Object.assign({},this.props))}static get contextType(){return An}}const i5=P.createContext({routeInfo:void 0,push:()=>{throw new Error("An Ionic Router is required for IonRouterContext")},back:()=>{throw new Error("An Ionic Router is required for IonRouterContext")},canGoBack:()=>{throw new Error("An Ionic Router is required for IonRouterContext")},nativeBack:()=>{throw new Error("An Ionic Router is required for IonRouterContext")}});class PM extends P.PureComponent{constructor(t){super(t),this.nodes=new Map,this.animation=U(t.id)}setupAnimation(t){const n=this.animation;this.nodes.size>0&&n.addElement(Array.from(this.nodes.values())),Qg(n,t),Zg(n,t)}componentDidMount(){const t=this.props;this.setupAnimation(t)}componentDidUpdate(t){const n=this.animation,i=this.props;Qg(n,i,t),o5(n,i,t),Zg(n,i,t)}render(){const{children:t}=this.props;return P.createElement(P.Fragment,null,P.Children.map(t,(n,i)=>P.cloneElement(n,{ref:o=>this.nodes.set(i,o)})))}}const Qg=(e,t={},n={})=>{const i=["children","progressStart","progressStep","progressEnd","pause","stop","destroy","play","from","to","fromTo","onFinish"];for(const l in t)t.hasOwnProperty(l)&&!i.includes(l)&&t[l]!==n[l]&&e[l](t[l]);const o=t.from;o&&o!==n.from&&(Array.isArray(o)?o:[o]).forEach(c=>e.from(c.property,c.value));const r=t.to;r&&r!==n.to&&(Array.isArray(r)?r:[r]).forEach(c=>e.to(c.property,c.value));const s=t.fromTo;s&&s!==n.fromTo&&(Array.isArray(s)?s:[s]).forEach(c=>e.fromTo(c.property,c.fromValue,c.toValue));const a=t.onFinish;a&&a!==n.onFinish&&(Array.isArray(a)?a:[a]).forEach(c=>e.onFinish(c.callback,c.opts))},o5=(e,t={},n={})=>{var i,o,r,s,a;const{progressStart:l,progressStep:c,progressEnd:d}=t;l&&(((i=n.progressStart)===null||i===void 0?void 0:i.forceLinearEasing)!==(l==null?void 0:l.forceLinearEasing)||((o=n.progressStart)===null||o===void 0?void 0:o.step)!==(l==null?void 0:l.step))&&e.progressStart(l.forceLinearEasing,l.step),c&&((r=n.progressStep)===null||r===void 0?void 0:r.step)!==(c==null?void 0:c.step)&&e.progressStep(c.step),d&&(((s=n.progressEnd)===null||s===void 0?void 0:s.playTo)!==(d==null?void 0:d.playTo)||((a=n.progressEnd)===null||a===void 0?void 0:a.step)!==(d==null?void 0:d.step)||(n==null?void 0:n.dur)!==(d==null?void 0:d.dur))&&e.progressEnd(d.playTo,d.step,d.dur)},Zg=(e,t={},n={})=>{!n.play&&t.play&&e.play(),!n.pause&&t.pause&&e.pause(),!n.stop&&t.stop&&e.stop(),!n.destroy&&t.destroy&&e.destroy()},r5=(e={})=>{typeof document<"u"&&document.documentElement.classList.add("ion-ce"),DT(Object.assign({},e))},Ew=P.createContext({addViewItem:()=>{},canGoBack:()=>{},clearOutlet:()=>{},createViewItem:()=>{},findViewItemByPathname:()=>{},findLeavingViewItemByRouteInfo:()=>{},findViewItemByRouteInfo:()=>{},getChildrenToRender:()=>{},goBack:()=>{},unMountViewItem:()=>{}});class Jg extends P.Component{constructor(t){super(t),this.ionLifeCycleContext=new mR,this._isMounted=!1,this.ionLifeCycleContext.onComponentCanBeDestroyed(()=>{this.props.mount||this._isMounted&&this.setState({show:!1},()=>this.props.removeView())}),this.state={show:!0}}componentDidMount(){this._isMounted=!0}componentWillUnmount(){this._isMounted=!1}render(){const{show:t}=this.state;return P.createElement($p.Provider,{value:this.ionLifeCycleContext},t&&this.props.children)}}class s5{constructor(){this.locationHistory=[],this.tabHistory={}}add(t){t.routeAction==="push"||t.routeAction==null?this._add(t):t.routeAction==="pop"?this._pop(t):t.routeAction==="replace"&&this._replace(t),t.routeDirection==="root"&&(this._clear(),this._add(t))}clearTabStack(t){const n=this._getRouteInfosByKey(t);n&&(n.forEach(i=>{this.locationHistory=this.locationHistory.filter(o=>o.id!==i.id)}),this.tabHistory[t]=[])}update(t){const n=this.locationHistory.findIndex(o=>o.id===t.id);n>-1&&this.locationHistory.splice(n,1,t);const i=this.tabHistory[t.tab||""];if(i){const o=i.findIndex(r=>r.id===t.id);o>-1?i.splice(o,1,t):i.push(t)}else t.tab&&(this.tabHistory[t.tab]=[t])}_add(t){const n=this._getRouteInfosByKey(t.tab);n&&(this._areRoutesEqual(n[n.length-1],t)&&n.pop(),n.push(t)),this.locationHistory.push(t)}_areRoutesEqual(t,n){return!t||!n?!1:t.pathname===n.pathname&&t.search===n.search}_pop(t){const n=this._getRouteInfosByKey(t.tab);n&&(n.pop(),n.pop(),n.push(t)),this.locationHistory.pop(),this.locationHistory.pop(),this.locationHistory.push(t)}_replace(t){const n=this._getRouteInfosByKey(t.tab);n&&n.pop(),this.locationHistory.pop(),this._add(t)}_clear(){Object.keys(this.tabHistory).forEach(n=>this.tabHistory[n]=[]),this.locationHistory=[]}_getRouteInfosByKey(t){let n;return t&&(n=this.tabHistory[t],n||(n=this.tabHistory[t]=[])),n}getFirstRouteInfoForTab(t){const n=this._getRouteInfosByKey(t);if(n)return n[0]}getCurrentRouteInfoForTab(t){const n=this._getRouteInfosByKey(t);if(n)return n[n.length-1]}findLastLocation(t){const n=this._getRouteInfosByKey(t.tab);if(n)for(let i=n.length-2;i>=0;i--){const o=n[i];if(o&&o.pathname===t.pushedByRoute)return o}for(let i=this.locationHistory.length-2;i>=0;i--){const o=this.locationHistory[i];if(o&&o.pathname===t.pushedByRoute)return o}}previous(){return this.locationHistory[this.locationHistory.length-2]||this.locationHistory[this.locationHistory.length-1]}current(){return this.locationHistory[this.locationHistory.length-1]}canGoBack(){return this.locationHistory.length>1}}class a5 extends P.PureComponent{constructor(t){super(t),this.ionRouterContextValue={push:(n,i,o,r,s)=>{this.navigate(n,i,o,s,r)},back:n=>{this.goBack(void 0,n)},canGoBack:()=>this.props.locationHistory.canGoBack(),nativeBack:()=>this.props.onNativeBack(),routeInfo:this.props.routeInfo},this.state={goBack:this.goBack.bind(this),hasIonicRouter:()=>!0,navigate:this.navigate.bind(this),getIonRedirect:this.getIonRedirect.bind(this),getIonRoute:this.getIonRoute.bind(this),getStackManager:this.getStackManager.bind(this),getPageManager:this.getPageManager.bind(this),routeInfo:this.props.routeInfo,setCurrentTab:this.props.onSetCurrentTab,changeTab:this.props.onChangeTab,resetTab:this.props.onResetTab}}componentDidMount(){typeof document<"u"&&(this.handleHardwareBackButton=this.handleHardwareBackButton.bind(this),document.addEventListener("ionBackButton",this.handleHardwareBackButton))}componentWillUnmount(){typeof document<"u"&&document.removeEventListener("ionBackButton",this.handleHardwareBackButton)}handleHardwareBackButton(t){t.detail.register(0,n=>{this.nativeGoBack(),n()})}goBack(t,n){this.props.onNavigateBack(t,n)}nativeGoBack(){this.props.onNativeBack()}navigate(t,n="forward",i="push",o,r,s){this.props.onNavigate(t,i,n,o,r,s)}getPageManager(){return Cw}getIonRedirect(){return this.props.ionRedirect}getIonRoute(){return this.props.ionRoute}getStackManager(){return this.props.stackManager}render(){return P.createElement(An.Provider,{value:Object.assign(Object.assign({},this.state),{routeInfo:this.props.routeInfo})},P.createElement(i5.Provider,{value:Object.assign(Object.assign({},this.ionRouterContextValue),{routeInfo:this.props.routeInfo})},this.props.children))}}class l5{constructor(){this.viewStacks={},this.add=this.add.bind(this),this.clear=this.clear.bind(this),this.getViewItemsForOutlet=this.getViewItemsForOutlet.bind(this),this.remove=this.remove.bind(this)}add(t){const{outletId:n}=t;this.viewStacks[n]?this.viewStacks[n].push(t):this.viewStacks[n]=[t]}clear(t){return setTimeout(()=>{delete this.viewStacks[t]},500)}getViewItemsForOutlet(t){return this.viewStacks[t]||[]}remove(t){const{outletId:n}=t,i=this.viewStacks[n];if(i){const o=i.find(r=>r.id===t.id);o&&(o.mount=!1,this.viewStacks[n]=i.filter(r=>r.id!==o.id))}}getStackIds(){return Object.keys(this.viewStacks)}getAllViewItems(){const t=this.getStackIds(),n=[];return t.forEach(i=>{n.push(...this.viewStacks[i])}),n}}function ft(){return ft=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0;d--){var u=i[d];u==="."?pd(i,d):u===".."?(pd(i,d),c++):c&&(pd(i,d),c--)}if(!s)for(;c--;c)i.unshift("..");s&&i[0]!==""&&(!i[0]||!Qs(i[0]))&&i.unshift("");var h=i.join("/");return a&&h.substr(-1)!=="/"&&(h+="/"),h}function eb(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function ba(e,t){if(e===t)return!0;if(e==null||t==null)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(o,r){return ba(o,t[r])});if(typeof e=="object"||typeof t=="object"){var n=eb(e),i=eb(t);return n!==e||i!==t?ba(n,i):Object.keys(Object.assign({},e,t)).every(function(o){return ba(e[o],t[o])})}return!1}var d5="Invariant failed";function Ni(e,t){if(!e)throw new Error(d5)}function Ar(e){return e.charAt(0)==="/"?e:"/"+e}function tb(e){return e.charAt(0)==="/"?e.substr(1):e}function u5(e,t){return e.toLowerCase().indexOf(t.toLowerCase())===0&&"/?#".indexOf(e.charAt(t.length))!==-1}function Tw(e,t){return u5(e,t)?e.substr(t.length):e}function Pw(e){return e.charAt(e.length-1)==="/"?e.slice(0,-1):e}function h5(e){var t=e||"/",n="",i="",o=t.indexOf("#");o!==-1&&(i=t.substr(o),t=t.substr(0,o));var r=t.indexOf("?");return r!==-1&&(n=t.substr(r),t=t.substr(0,r)),{pathname:t,search:n==="?"?"":n,hash:i==="#"?"":i}}function Ot(e){var t=e.pathname,n=e.search,i=e.hash,o=t||"/";return n&&n!=="?"&&(o+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(o+=i.charAt(0)==="#"?i:"#"+i),o}function ct(e,t,n,i){var o;typeof e=="string"?(o=h5(e),o.state=t):(o=ft({},e),o.pathname===void 0&&(o.pathname=""),o.search?o.search.charAt(0)!=="?"&&(o.search="?"+o.search):o.search="",o.hash?o.hash.charAt(0)!=="#"&&(o.hash="#"+o.hash):o.hash="",t!==void 0&&o.state===void 0&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(r){throw r instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):r}return n&&(o.key=n),i?o.pathname?o.pathname.charAt(0)!=="/"&&(o.pathname=c5(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o}function p5(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&ba(e.state,t.state)}function Hp(){var e=null;function t(s){return e=s,function(){e===s&&(e=null)}}function n(s,a,l,c){if(e!=null){var d=typeof e=="function"?e(s,a):e;typeof d=="string"?typeof l=="function"?l(d,c):c(!0):c(d!==!1)}else c(!0)}var i=[];function o(s){var a=!0;function l(){a&&s.apply(void 0,arguments)}return i.push(l),function(){a=!1,i=i.filter(function(c){return c!==l})}}function r(){for(var s=arguments.length,a=new Array(s),l=0;lK?G.splice(K,G.length-K,R):G.push(R),d({action:D,location:R,index:K,entries:G})}})}function x(C,A){var D="REPLACE",R=ct(C,A,u(),k.location);c.confirmTransitionTo(R,D,n,function(V){V&&(k.entries[k.index]=R,d({action:D,location:R}))})}function b(C){var A=sb(k.index+C,0,k.entries.length-1),D="POP",R=k.entries[A];c.confirmTransitionTo(R,D,n,function(V){V?d({action:D,location:R,index:A}):d()})}function g(){b(-1)}function v(){b(1)}function w(C){var A=k.index+C;return A>=0&&A=0)&&(n[o]=e[o]);return n}var Vw={exports:{}},de={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Ue=typeof Symbol=="function"&&Symbol.for,Xp=Ue?Symbol.for("react.element"):60103,Gp=Ue?Symbol.for("react.portal"):60106,ic=Ue?Symbol.for("react.fragment"):60107,oc=Ue?Symbol.for("react.strict_mode"):60108,rc=Ue?Symbol.for("react.profiler"):60114,sc=Ue?Symbol.for("react.provider"):60109,ac=Ue?Symbol.for("react.context"):60110,Qp=Ue?Symbol.for("react.async_mode"):60111,lc=Ue?Symbol.for("react.concurrent_mode"):60111,cc=Ue?Symbol.for("react.forward_ref"):60112,dc=Ue?Symbol.for("react.suspense"):60113,N5=Ue?Symbol.for("react.suspense_list"):60120,uc=Ue?Symbol.for("react.memo"):60115,hc=Ue?Symbol.for("react.lazy"):60116,U5=Ue?Symbol.for("react.block"):60121,W5=Ue?Symbol.for("react.fundamental"):60117,q5=Ue?Symbol.for("react.responder"):60118,Y5=Ue?Symbol.for("react.scope"):60119;function Et(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Xp:switch(e=e.type,e){case Qp:case lc:case ic:case rc:case oc:case dc:return e;default:switch(e=e&&e.$$typeof,e){case ac:case cc:case hc:case uc:case sc:return e;default:return t}}case Gp:return t}}}function Fw(e){return Et(e)===lc}de.AsyncMode=Qp;de.ConcurrentMode=lc;de.ContextConsumer=ac;de.ContextProvider=sc;de.Element=Xp;de.ForwardRef=cc;de.Fragment=ic;de.Lazy=hc;de.Memo=uc;de.Portal=Gp;de.Profiler=rc;de.StrictMode=oc;de.Suspense=dc;de.isAsyncMode=function(e){return Fw(e)||Et(e)===Qp};de.isConcurrentMode=Fw;de.isContextConsumer=function(e){return Et(e)===ac};de.isContextProvider=function(e){return Et(e)===sc};de.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Xp};de.isForwardRef=function(e){return Et(e)===cc};de.isFragment=function(e){return Et(e)===ic};de.isLazy=function(e){return Et(e)===hc};de.isMemo=function(e){return Et(e)===uc};de.isPortal=function(e){return Et(e)===Gp};de.isProfiler=function(e){return Et(e)===rc};de.isStrictMode=function(e){return Et(e)===oc};de.isSuspense=function(e){return Et(e)===dc};de.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ic||e===lc||e===rc||e===oc||e===dc||e===N5||typeof e=="object"&&e!==null&&(e.$$typeof===hc||e.$$typeof===uc||e.$$typeof===sc||e.$$typeof===ac||e.$$typeof===cc||e.$$typeof===W5||e.$$typeof===q5||e.$$typeof===Y5||e.$$typeof===U5)};de.typeOf=Et;Vw.exports=de;var K5=Vw.exports,Zp=K5,X5={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},G5={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Q5={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Hw={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Jp={};Jp[Zp.ForwardRef]=Q5;Jp[Zp.Memo]=Hw;function lb(e){return Zp.isMemo(e)?Hw:Jp[e.$$typeof]||X5}var Z5=Object.defineProperty,J5=Object.getOwnPropertyNames,cb=Object.getOwnPropertySymbols,eD=Object.getOwnPropertyDescriptor,tD=Object.getPrototypeOf,db=Object.prototype;function Nw(e,t,n){if(typeof t!="string"){if(db){var i=tD(t);i&&i!==db&&Nw(e,i,n)}var o=J5(t);cb&&(o=o.concat(cb(t)));for(var r=lb(e),s=lb(t),a=0;a{const{exact:n,component:i}=t,o=t.path||t.from,s=ef(e,{exact:n,path:o,component:i});return s||!1};class SD extends l5{constructor(){super(),this.createViewItem=this.createViewItem.bind(this),this.findViewItemByRouteInfo=this.findViewItemByRouteInfo.bind(this),this.findLeavingViewItemByRouteInfo=this.findLeavingViewItemByRouteInfo.bind(this),this.getChildrenToRender=this.getChildrenToRender.bind(this),this.findViewItemByPathname=this.findViewItemByPathname.bind(this)}createViewItem(t,n,i,o){const r={id:ns("viewItem"),outletId:t,ionPageElement:o,reactElement:n,mount:!0,ionRoute:!1};return n.type===Fp&&(r.ionRoute=!0,r.disableIonPageManagement=n.props.disableIonPageManagement),r.routeData={match:is({pathname:i.pathname,componentProps:n.props}),childProps:n.props},r}getChildrenToRender(t,n,i){const o=this.getViewItemsForOutlet(t);return P.Children.forEach(n.props.children,s=>{const a=o.find(l=>vb(s,l.routeData.childProps.path||l.routeData.childProps.from));a&&(a.reactElement=s)}),o.map(s=>{let a;if(s.ionRoute&&!s.disableIonPageManagement)a=P.createElement(Jg,{key:`view-${s.id}`,mount:s.mount,removeView:()=>this.remove(s)},P.cloneElement(s.reactElement,{computedMatch:s.routeData.match}));else{const l=vb(s.reactElement,i.pathname);a=P.createElement(Jg,{key:`view-${s.id}`,mount:s.mount,removeView:()=>this.remove(s)},P.cloneElement(s.reactElement,{computedMatch:s.routeData.match})),!l&&s.routeData.match&&(s.routeData.match=void 0,s.mount=!1)}return a})}findViewItemByRouteInfo(t,n,i){const{viewItem:o,match:r}=this.findViewItemByPath(t.pathname,n);return(i===void 0||i===!0)&&o&&r&&(o.routeData.match=r),o}findLeavingViewItemByRouteInfo(t,n,i=!0){const{viewItem:o}=this.findViewItemByPath(t.lastPathname,n,i);return o}findViewItemByPathname(t,n){const{viewItem:i}=this.findViewItemByPath(t,n);return i}findViewItemByPath(t,n,i){let o,r,s;if(n)s=this.getViewItemsForOutlet(n),s.some(a),o||s.some(l);else{const c=this.getAllViewItems();c.some(a),o||c.some(l)}return{viewItem:o,match:r};function a(c){var d,u;if(i&&!c.ionRoute)return!1;if(r=is({pathname:t,componentProps:c.routeData.childProps}),r){const h=r.path.includes(":");if(!h||h&&r.url===((u=(d=c.routeData)===null||d===void 0?void 0:d.match)===null||u===void 0?void 0:u.url))return o=c,!0}return!1}function l(c){return!c.routeData.childProps.path&&!c.routeData.childProps.from?(r={path:t,url:t,isExact:!0,params:{}},o=c,!0):!1}}}function vb(e,t){return is({pathname:t,componentProps:e.props})}function ED(e){let t;if(typeof e=="string"?t=e:t=e.outerHTML,document){const n=document.createElement("div");n.innerHTML=t,n.style.zIndex="";const i=n.getElementsByTagName("ion-back-button");return i[0]&&i[0].remove(),n.firstChild}}const yb=e=>!e.classList.contains("ion-page-invisible")&&!e.classList.contains("ion-page-hidden");class TD extends P.PureComponent{constructor(t){super(t),this.stackContextValue={registerIonPage:this.registerIonPage.bind(this),isInOutlet:()=>!0},this.pendingPageTransition=!1,this.registerIonPage=this.registerIonPage.bind(this),this.transitionPage=this.transitionPage.bind(this),this.handlePageTransition=this.handlePageTransition.bind(this),this.id=ns("routerOutlet"),this.prevProps=void 0,this.skipTransition=!1}componentDidMount(){this.clearOutletTimeout&&clearTimeout(this.clearOutletTimeout),this.routerOutletElement&&(this.setupRouterOutlet(this.routerOutletElement),this.handlePageTransition(this.props.routeInfo))}componentDidUpdate(t){const{pathname:n}=this.props.routeInfo,{pathname:i}=t.routeInfo;n!==i?(this.prevProps=t,this.handlePageTransition(this.props.routeInfo)):this.pendingPageTransition&&(this.handlePageTransition(this.props.routeInfo),this.pendingPageTransition=!1)}componentWillUnmount(){this.clearOutletTimeout=this.context.clearOutlet(this.id)}async handlePageTransition(t){var n,i;if(!this.routerOutletElement||!this.routerOutletElement.commit)this.pendingPageTransition=!0;else{let o=this.context.findViewItemByRouteInfo(t,this.id),r=this.context.findLeavingViewItemByRouteInfo(t,this.id);!r&&t.prevRouteLastPathname&&(r=this.context.findViewItemByPathname(t.prevRouteLastPathname,this.id)),r&&(t.routeAction==="replace"?r.mount=!1:t.routeAction==="push"&&t.routeDirection==="forward"?!((n=t.routeOptions)===null||n===void 0)&&n.unmount&&(r.mount=!1):t.routeDirection!=="none"&&o!==r&&(r.mount=!1));const s=PD((i=this.ionRouterOutlet)===null||i===void 0?void 0:i.props.children,t);if(o?o.reactElement=s:s&&(o=this.context.createViewItem(this.id,s,t),this.context.addViewItem(o)),o&&o.ionPageElement){if(o===r&&o.routeData.match.url!==t.pathname||(!r&&this.props.routeInfo.prevRouteLastPathname&&(r=this.context.findViewItemByPathname(this.props.routeInfo.prevRouteLastPathname,this.id)),yb(o.ionPageElement)&&r!==void 0&&!yb(r.ionPageElement)))return;this.transitionPage(t,o,r)}else r&&!s&&!o&&r.ionPageElement&&(r.ionPageElement.classList.add("ion-page-hidden"),r.ionPageElement.setAttribute("aria-hidden","true"));this.forceUpdate()}}registerIonPage(t,n){const i=this.context.findViewItemByRouteInfo(n,this.id);if(i){const o=i.ionPageElement;if(i.ionPageElement=t,i.ionRoute=!0,o===t)return}this.handlePageTransition(n)}async setupRouterOutlet(t){const n=()=>{const r=jp();if(!(r&&r.get("swipeBackEnabled",t.mode==="ios")))return!1;const{routeInfo:a}=this.props,l=this.prevProps&&this.prevProps.routeInfo.pathname===a.pushedByRoute?this.prevProps.routeInfo:{pathname:a.pushedByRoute||""},c=this.context.findViewItemByRouteInfo(l,this.id,!1);return!!c&&c.mount&&c.routeData.match.path!==a.pathname},i=async()=>{const{routeInfo:r}=this.props,s=this.prevProps&&this.prevProps.routeInfo.pathname===r.pushedByRoute?this.prevProps.routeInfo:{pathname:r.pushedByRoute||""},a=this.context.findViewItemByRouteInfo(s,this.id,!1),l=this.context.findViewItemByRouteInfo(r,this.id,!1);return a&&l&&await this.transitionPage(r,a,l,"back",!0),Promise.resolve()},o=r=>{if(r)this.skipTransition=!0,this.context.goBack();else{const{routeInfo:s}=this.props,a=this.prevProps&&this.prevProps.routeInfo.pathname===s.pushedByRoute?this.prevProps.routeInfo:{pathname:s.pushedByRoute||""},l=this.context.findViewItemByRouteInfo(a,this.id,!1),c=this.context.findViewItemByRouteInfo(s,this.id,!1);if(l!==c&&(l==null?void 0:l.ionPageElement)!==void 0){const{ionPageElement:d}=l;d.setAttribute("aria-hidden","true"),d.classList.add("ion-page-hidden")}}};t.swipeHandler={canStart:n,onStart:i,onEnd:o}}async transitionPage(t,n,i,o,r=!1){const s=async(d,u)=>{const h=this.skipTransition;h?this.skipTransition=!1:(d.classList.add("ion-page"),d.classList.add("ion-page-invisible")),await a.commit(d,u,{duration:h||c===void 0?0:void 0,direction:c,showGoBack:!!t.pushedByRoute,progressAnimation:r,animationBuilder:t.routeAnimation})},a=this.routerOutletElement,l=t.routeDirection==="none"||t.routeDirection==="root"?void 0:t.routeDirection,c=o??l;if(n&&n.ionPageElement&&this.routerOutletElement)if(i&&i.ionPageElement&&n===i)if(AD(i.reactElement,t.pathname,!0)){const u=ED(i.ionPageElement.outerHTML);u&&(this.routerOutletElement.appendChild(u),await s(n.ionPageElement,u),this.routerOutletElement.removeChild(u))}else await s(n.ionPageElement,void 0);else await s(n.ionPageElement,i==null?void 0:i.ionPageElement),i&&i.ionPageElement&&!r&&(i.ionPageElement.classList.add("ion-page-hidden"),i.ionPageElement.setAttribute("aria-hidden","true"))}render(){const{children:t}=this.props,n=P.Children.only(t);this.ionRouterOutlet=n;const i=this.context.getChildrenToRender(this.id,this.ionRouterOutlet,this.props.routeInfo,()=>{this.forceUpdate()});return P.createElement(Vp.Provider,{value:this.stackContextValue},P.cloneElement(n,{ref:o=>{n.props.setRef&&n.props.setRef(o),n.props.forwardedRef&&(n.props.forwardedRef.current=o),this.routerOutletElement=o;const{ref:r}=n;typeof r=="function"&&r(o)}},i))}static get contextType(){return Ew}}function PD(e,t){let n;return P.Children.forEach(e,i=>{is({pathname:t.pathname,componentProps:i.props})&&(n=i)}),n||(P.Children.forEach(e,i=>{i.props.path||i.props.from||(n=i)}),n)}function AD(e,t,n){return is({pathname:t,componentProps:Object.assign(Object.assign({},e.props),{exact:n})})}class LD extends P.PureComponent{constructor(t){super(t),this.exitViewFromOtherOutletHandlers=[],this.locationHistory=new s5,this.viewStack=new SD,this.routeMangerContextState={canGoBack:()=>this.locationHistory.canGoBack(),clearOutlet:this.viewStack.clear,findViewItemByPathname:this.viewStack.findViewItemByPathname,getChildrenToRender:this.viewStack.getChildrenToRender,goBack:()=>this.handleNavigateBack(),createViewItem:this.viewStack.createViewItem,findViewItemByRouteInfo:this.viewStack.findViewItemByRouteInfo,findLeavingViewItemByRouteInfo:this.viewStack.findLeavingViewItemByRouteInfo,addViewItem:this.viewStack.add,unMountViewItem:this.viewStack.remove};const n={id:ns("routeInfo"),pathname:this.props.location.pathname,search:this.props.location.search};this.locationHistory.add(n),this.handleChangeTab=this.handleChangeTab.bind(this),this.handleResetTab=this.handleResetTab.bind(this),this.handleNativeBack=this.handleNativeBack.bind(this),this.handleNavigate=this.handleNavigate.bind(this),this.handleNavigateBack=this.handleNavigateBack.bind(this),this.props.registerHistoryListener(this.handleHistoryChange.bind(this)),this.handleSetCurrentTab=this.handleSetCurrentTab.bind(this),this.state={routeInfo:n}}handleChangeTab(t,n,i){if(!n)return;const o=this.locationHistory.getCurrentRouteInfoForTab(t),[r,s]=n.split("?");o?(this.incomingRouteParams=Object.assign(Object.assign({},o),{routeAction:"push",routeDirection:"none"}),o.pathname===r?(this.incomingRouteParams.routeOptions=i,this.props.history.push(o.pathname+(o.search||""))):(this.incomingRouteParams.pathname=r,this.incomingRouteParams.search=s?"?"+s:void 0,this.incomingRouteParams.routeOptions=i,this.props.history.push(r+(s?"?"+s:"")))):this.handleNavigate(r,"push","none",void 0,i,t)}handleHistoryChange(t,n){var i,o,r;let s;if(this.incomingRouteParams?this.incomingRouteParams.routeAction==="replace"?s=this.locationHistory.previous():s=this.locationHistory.current():s=this.locationHistory.current(),s.pathname+s.search!==t.pathname){if(!this.incomingRouteParams){if(n==="REPLACE"&&(this.incomingRouteParams={routeAction:"replace",routeDirection:"none",tab:this.currentTab}),n==="POP"){const c=this.locationHistory.current();if(c&&c.pushedByRoute){const d=this.locationHistory.findLastLocation(c);this.incomingRouteParams=Object.assign(Object.assign({},d),{routeAction:"pop",routeDirection:"back"})}else this.incomingRouteParams={routeAction:"pop",routeDirection:"none",tab:this.currentTab}}this.incomingRouteParams||(this.incomingRouteParams={routeAction:"push",routeDirection:((i=t.state)===null||i===void 0?void 0:i.direction)||"forward",routeOptions:(o=t.state)===null||o===void 0?void 0:o.routerOptions,tab:this.currentTab})}let l;if(!((r=this.incomingRouteParams)===null||r===void 0)&&r.id)l=Object.assign(Object.assign({},this.incomingRouteParams),{lastPathname:s.pathname}),this.locationHistory.add(l);else{const c=this.incomingRouteParams.routeAction==="push"&&this.incomingRouteParams.routeDirection==="forward";if(l=Object.assign(Object.assign({id:ns("routeInfo")},this.incomingRouteParams),{lastPathname:s.pathname,pathname:t.pathname,search:t.search,params:this.props.match.params,prevRouteLastPathname:s.lastPathname}),c)l.tab=s.tab,l.pushedByRoute=s.pathname;else if(l.routeAction==="pop"){const d=this.locationHistory.findLastLocation(l);l.pushedByRoute=d==null?void 0:d.pushedByRoute}else if(l.routeAction==="push"&&l.tab!==s.tab){const d=this.locationHistory.getCurrentRouteInfoForTab(l.tab);l.pushedByRoute=d==null?void 0:d.pushedByRoute}else if(l.routeAction==="replace"){const d=this.locationHistory.current(),u=d==null?void 0:d.pushedByRoute,h=u!==void 0&&u!==l.pathname?u:l.pushedByRoute;l.lastPathname=(d==null?void 0:d.pathname)||l.lastPathname,l.prevRouteLastPathname=d==null?void 0:d.lastPathname,l.pushedByRoute=h,l.routeDirection=l.routeDirection||(d==null?void 0:d.routeDirection),l.routeAnimation=l.routeAnimation||(d==null?void 0:d.routeAnimation)}this.locationHistory.add(l)}this.setState({routeInfo:l})}this.incomingRouteParams=void 0}handleNativeBack(){const t=this.props.history;(t.goBack||t.back)()}handleNavigate(t,n,i,o,r,s){this.incomingRouteParams=Object.assign(this.incomingRouteParams||{},{routeAction:n,routeDirection:i,routeOptions:r,routeAnimation:o,tab:s}),n==="push"?this.props.history.push(t):this.props.history.replace(t)}handleNavigateBack(t="/",n){const i=jp();t=t||i&&i.get("backButtonDefaultHref");const o=this.locationHistory.current();if(o&&o.pushedByRoute){const r=this.locationHistory.findLastLocation(o);if(r){const s=n||o.routeAnimation;if(this.incomingRouteParams=Object.assign(Object.assign({},r),{routeAction:"pop",routeDirection:"back",routeAnimation:s}),o.lastPathname===o.pushedByRoute||r.pathname===o.pushedByRoute&&o.tab===""&&r.tab===""){const a=this.props.history;(a.goBack||a.back)()}else this.handleNavigate(r.pathname+(r.search||""),"pop","back",s)}else this.handleNavigate(t,"pop","back",n)}else this.handleNavigate(t,"pop","back",n)}handleResetTab(t,n,i){const o=this.locationHistory.getFirstRouteInfoForTab(t);if(o){const r=Object.assign({},o);r.pathname=n,r.routeOptions=i,this.incomingRouteParams=Object.assign(Object.assign({},r),{routeAction:"pop",routeDirection:"back"}),this.props.history.push(r.pathname+(r.search||""))}}handleSetCurrentTab(t){this.currentTab=t;const n=Object.assign({},this.locationHistory.current());n.tab!==t&&(n.tab=t,this.locationHistory.update(n))}render(){return P.createElement(Ew.Provider,{value:this.routeMangerContextState},P.createElement(a5,{ionRoute:CD,ionRedirect:{},stackManager:TD,routeInfo:this.state.routeInfo,onNativeBack:this.handleNativeBack,onNavigateBack:this.handleNavigateBack,onNavigate:this.handleNavigate,onSetCurrentTab:this.handleSetCurrentTab,onChangeTab:this.handleChangeTab,onResetTab:this.handleResetTab,locationHistory:this.locationHistory},this.props.children))}}const pc=xD(LD);pc.displayName="IonRouter";class ID extends P.Component{constructor(t){super(t);const{history:n}=t,i=Xe(t,["history"]);this.history=n||v5(i),this.history.listen(this.handleHistoryChange.bind(this)),this.registerHistoryListener=this.registerHistoryListener.bind(this)}handleHistoryChange(t,n){const i=t.location||t,o=t.action||n;this.historyListenHandler&&this.historyListenHandler(i,o)}registerHistoryListener(t){this.historyListenHandler=t}render(){const t=this.props,{children:n}=t,i=Xe(t,["children"]);return P.createElement(ys,Object.assign({history:this.history},i),P.createElement(pc,{registerHistoryListener:this.registerHistoryListener},n))}}class AM extends P.Component{constructor(t){super(t),this.history=t.history,this.history.listen(this.handleHistoryChange.bind(this)),this.registerHistoryListener=this.registerHistoryListener.bind(this)}handleHistoryChange(t,n){const i=t.location||t,o=t.action||n;this.historyListenHandler&&this.historyListenHandler(i,o)}registerHistoryListener(t){this.historyListenHandler=t}render(){const t=this.props,{children:n}=t,i=Xe(t,["children"]);return P.createElement(ys,Object.assign({},i),P.createElement(pc,{registerHistoryListener:this.registerHistoryListener},n))}}class LM extends P.Component{constructor(t){super(t);const{history:n}=t,i=Xe(t,["history"]);this.history=n||w5(i),this.history.listen(this.handleHistoryChange.bind(this)),this.registerHistoryListener=this.registerHistoryListener.bind(this)}handleHistoryChange(t,n){const i=t.location||t,o=t.action||n;this.historyListenHandler&&this.historyListenHandler(i,o)}registerHistoryListener(t){this.historyListenHandler=t}render(){const t=this.props,{children:n}=t,i=Xe(t,["children"]);return P.createElement(ys,Object.assign({history:this.history},i),P.createElement(pc,{registerHistoryListener:this.registerHistoryListener},n))}}const OD="data:image/svg+xml;utf8,",RD="data:image/svg+xml;utf8,";function DD(){return["CartPole-v1","LunarLander-v2","ConnectFour"]}function $D(e){return e.map(t=>({title:t,url:"/folder/"+t,iosIcon:OD,mdIcon:RD}))}const _D=()=>{const e=wD(),t=DD(),n=$D(t);return j.jsx(ER,{type:"overlay",id:"ion-menu",children:j.jsx(xw,{children:j.jsxs(Ku,{id:"inbox-list",children:[j.jsx(SR,{children:"LitRL Demo"}),j.jsx(AR,{children:j.jsx("a",{href:"https://github.com/c-gohlke/LightningRL",children:"Github"})}),n.map((i,o)=>j.jsx(PR,{autoHide:!1,children:j.jsxs(ga,{className:e.pathname===i.url?"selected":"",routerLink:i.url,routerDirection:"none",lines:"none",detail:!1,children:[j.jsx(n5,{"aria-hidden":"true",slot:"start",ios:i.iosIcon,md:i.mdIcon}),j.jsx(CR,{children:i.title})]})},o))]})})})};function qw(e,t){return function(){return e.apply(t,arguments)}}const{toString:zD}=Object.prototype,{getPrototypeOf:nf}=Object,fc=(e=>t=>{const n=zD.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),sn=e=>(e=e.toLowerCase(),t=>fc(t)===e),mc=e=>t=>typeof t===e,{isArray:Yo}=Array,os=mc("undefined");function MD(e){return e!==null&&!os(e)&&e.constructor!==null&&!os(e.constructor)&&Bt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Yw=sn("ArrayBuffer");function BD(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Yw(e.buffer),t}const jD=mc("string"),Bt=mc("function"),Kw=mc("number"),gc=e=>e!==null&&typeof e=="object",VD=e=>e===!0||e===!1,ya=e=>{if(fc(e)!=="object")return!1;const t=nf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},FD=sn("Date"),HD=sn("File"),ND=sn("Blob"),UD=sn("FileList"),WD=e=>gc(e)&&Bt(e.pipe),qD=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Bt(e.append)&&((t=fc(e))==="formdata"||t==="object"&&Bt(e.toString)&&e.toString()==="[object FormData]"))},YD=sn("URLSearchParams"),KD=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function xs(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,o;if(typeof e!="object"&&(e=[e]),Yo(e))for(i=0,o=e.length;i0;)if(o=n[i],t===o.toLowerCase())return o;return null}const Gw=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Qw=e=>!os(e)&&e!==Gw;function Ju(){const{caseless:e}=Qw(this)&&this||{},t={},n=(i,o)=>{const r=e&&Xw(t,o)||o;ya(t[r])&&ya(i)?t[r]=Ju(t[r],i):ya(i)?t[r]=Ju({},i):Yo(i)?t[r]=i.slice():t[r]=i};for(let i=0,o=arguments.length;i(xs(t,(o,r)=>{n&&Bt(o)?e[r]=qw(o,n):e[r]=o},{allOwnKeys:i}),e),GD=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),QD=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},ZD=(e,t,n,i)=>{let o,r,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),r=o.length;r-- >0;)s=o[r],(!i||i(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&nf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},JD=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return i!==-1&&i===n},e3=e=>{if(!e)return null;if(Yo(e))return e;let t=e.length;if(!Kw(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},t3=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&nf(Uint8Array)),n3=(e,t)=>{const i=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=i.next())&&!o.done;){const r=o.value;t.call(e,r[0],r[1])}},i3=(e,t)=>{let n;const i=[];for(;(n=e.exec(t))!==null;)i.push(n);return i},o3=sn("HTMLFormElement"),r3=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),xb=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),s3=sn("RegExp"),Zw=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};xs(n,(o,r)=>{let s;(s=t(o,r,e))!==!1&&(i[r]=s||o)}),Object.defineProperties(e,i)},a3=e=>{Zw(e,(t,n)=>{if(Bt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=e[n];if(Bt(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},l3=(e,t)=>{const n={},i=o=>{o.forEach(r=>{n[r]=!0})};return Yo(e)?i(e):i(String(e).split(t)),n},c3=()=>{},d3=(e,t)=>(e=+e,Number.isFinite(e)?e:t),vd="abcdefghijklmnopqrstuvwxyz",wb="0123456789",Jw={DIGIT:wb,ALPHA:vd,ALPHA_DIGIT:vd+vd.toUpperCase()+wb},u3=(e=16,t=Jw.ALPHA_DIGIT)=>{let n="";const{length:i}=t;for(;e--;)n+=t[Math.random()*i|0];return n};function h3(e){return!!(e&&Bt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const p3=e=>{const t=new Array(10),n=(i,o)=>{if(gc(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[o]=i;const r=Yo(i)?[]:{};return xs(i,(s,a)=>{const l=n(s,o+1);!os(l)&&(r[a]=l)}),t[o]=void 0,r}}return i};return n(e,0)},f3=sn("AsyncFunction"),m3=e=>e&&(gc(e)||Bt(e))&&Bt(e.then)&&Bt(e.catch),L={isArray:Yo,isArrayBuffer:Yw,isBuffer:MD,isFormData:qD,isArrayBufferView:BD,isString:jD,isNumber:Kw,isBoolean:VD,isObject:gc,isPlainObject:ya,isUndefined:os,isDate:FD,isFile:HD,isBlob:ND,isRegExp:s3,isFunction:Bt,isStream:WD,isURLSearchParams:YD,isTypedArray:t3,isFileList:UD,forEach:xs,merge:Ju,extend:XD,trim:KD,stripBOM:GD,inherits:QD,toFlatObject:ZD,kindOf:fc,kindOfTest:sn,endsWith:JD,toArray:e3,forEachEntry:n3,matchAll:i3,isHTMLForm:o3,hasOwnProperty:xb,hasOwnProp:xb,reduceDescriptors:Zw,freezeMethods:a3,toObjectSet:l3,toCamelCase:r3,noop:c3,toFiniteNumber:d3,findKey:Xw,global:Gw,isContextDefined:Qw,ALPHABET:Jw,generateString:u3,isSpecCompliantForm:h3,toJSONObject:p3,isAsyncFn:f3,isThenable:m3};function se(e,t,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o)}L.inherits(se,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:L.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ek=se.prototype,tk={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{tk[e]={value:e}});Object.defineProperties(se,tk);Object.defineProperty(ek,"isAxiosError",{value:!0});se.from=(e,t,n,i,o,r)=>{const s=Object.create(ek);return L.toFlatObject(e,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),se.call(s,e.message,t,n,i,o),s.cause=e,s.name=e.name,r&&Object.assign(s,r),s};const g3=null;function eh(e){return L.isPlainObject(e)||L.isArray(e)}function nk(e){return L.endsWith(e,"[]")?e.slice(0,-2):e}function kb(e,t,n){return e?e.concat(t).map(function(o,r){return o=nk(o),!n&&r?"["+o+"]":o}).join(n?".":""):t}function b3(e){return L.isArray(e)&&!e.some(eh)}const v3=L.toFlatObject(L,{},null,function(t){return/^is[A-Z]/.test(t)});function bc(e,t,n){if(!L.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=L.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,x){return!L.isUndefined(x[m])});const i=n.metaTokens,o=n.visitor||d,r=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&L.isSpecCompliantForm(t);if(!L.isFunction(o))throw new TypeError("visitor must be a function");function c(f){if(f===null)return"";if(L.isDate(f))return f.toISOString();if(!l&&L.isBlob(f))throw new se("Blob is not supported. Use a Buffer instead.");return L.isArrayBuffer(f)||L.isTypedArray(f)?l&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function d(f,m,x){let b=f;if(f&&!x&&typeof f=="object"){if(L.endsWith(m,"{}"))m=i?m:m.slice(0,-2),f=JSON.stringify(f);else if(L.isArray(f)&&b3(f)||(L.isFileList(f)||L.endsWith(m,"[]"))&&(b=L.toArray(f)))return m=nk(m),b.forEach(function(v,w){!(L.isUndefined(v)||v===null)&&t.append(s===!0?kb([m],w,r):s===null?m:m+"[]",c(v))}),!1}return eh(f)?!0:(t.append(kb(x,m,r),c(f)),!1)}const u=[],h=Object.assign(v3,{defaultVisitor:d,convertValue:c,isVisitable:eh});function p(f,m){if(!L.isUndefined(f)){if(u.indexOf(f)!==-1)throw Error("Circular reference detected in "+m.join("."));u.push(f),L.forEach(f,function(b,g){(!(L.isUndefined(b)||b===null)&&o.call(t,b,L.isString(g)?g.trim():g,m,h))===!0&&p(b,m?m.concat(g):[g])}),u.pop()}}if(!L.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Cb(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function of(e,t){this._pairs=[],e&&bc(e,this,t)}const ik=of.prototype;ik.append=function(t,n){this._pairs.push([t,n])};ik.toString=function(t){const n=t?function(i){return t.call(this,i,Cb)}:Cb;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function y3(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ok(e,t,n){if(!t)return e;const i=n&&n.encode||y3,o=n&&n.serialize;let r;if(o?r=o(t,n):r=L.isURLSearchParams(t)?t.toString():new of(t,n).toString(i),r){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}class Sb{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){L.forEach(this.handlers,function(i){i!==null&&t(i)})}}const rk={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},x3=typeof URLSearchParams<"u"?URLSearchParams:of,w3=typeof FormData<"u"?FormData:null,k3=typeof Blob<"u"?Blob:null,C3={isBrowser:!0,classes:{URLSearchParams:x3,FormData:w3,Blob:k3},protocols:["http","https","file","blob","url","data"]},sk=typeof window<"u"&&typeof document<"u",S3=(e=>sk&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),E3=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",T3=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:sk,hasStandardBrowserEnv:S3,hasStandardBrowserWebWorkerEnv:E3},Symbol.toStringTag,{value:"Module"})),tn={...T3,...C3};function P3(e,t){return bc(e,new tn.classes.URLSearchParams,Object.assign({visitor:function(n,i,o,r){return tn.isNode&&L.isBuffer(n)?(this.append(i,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function A3(e){return L.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function L3(e){const t={},n=Object.keys(e);let i;const o=n.length;let r;for(i=0;i=n.length;return s=!s&&L.isArray(o)?o.length:s,l?(L.hasOwnProp(o,s)?o[s]=[o[s],i]:o[s]=i,!a):((!o[s]||!L.isObject(o[s]))&&(o[s]=[]),t(n,i,o[s],r)&&L.isArray(o[s])&&(o[s]=L3(o[s])),!a)}if(L.isFormData(e)&&L.isFunction(e.entries)){const n={};return L.forEachEntry(e,(i,o)=>{t(A3(i),o,n,0)}),n}return null}function I3(e,t,n){if(L.isString(e))try{return(t||JSON.parse)(e),L.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}const rf={transitional:rk,adapter:["xhr","http"],transformRequest:[function(t,n){const i=n.getContentType()||"",o=i.indexOf("application/json")>-1,r=L.isObject(t);if(r&&L.isHTMLForm(t)&&(t=new FormData(t)),L.isFormData(t))return o&&o?JSON.stringify(ak(t)):t;if(L.isArrayBuffer(t)||L.isBuffer(t)||L.isStream(t)||L.isFile(t)||L.isBlob(t))return t;if(L.isArrayBufferView(t))return t.buffer;if(L.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(r){if(i.indexOf("application/x-www-form-urlencoded")>-1)return P3(t,this.formSerializer).toString();if((a=L.isFileList(t))||i.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return bc(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),I3(t)):t}],transformResponse:[function(t){const n=this.transitional||rf.transitional,i=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&L.isString(t)&&(i&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?se.from(a,se.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tn.classes.FormData,Blob:tn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};L.forEach(["delete","get","head","post","put","patch"],e=>{rf.headers[e]={}});const sf=rf,O3=L.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),R3=e=>{const t={};let n,i,o;return e&&e.split(` `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),i=s.substring(o+1).trim(),!(!n||t[n]&&O3[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t},Eb=Symbol("internals");function ar(e){return e&&String(e).trim().toLowerCase()}function xa(e){return e===!1||e==null?e:L.isArray(e)?e.map(xa):String(e)}function D3(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const $3=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function yd(e,t,n,i,o){if(L.isFunction(i))return i.call(this,t,n);if(o&&(t=n),!!L.isString(t)){if(L.isString(i))return t.indexOf(i)!==-1;if(L.isRegExp(i))return i.test(t)}}function _3(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function z3(e,t){const n=L.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(o,r,s){return this[i].call(this,t,o,r,s)},configurable:!0})})}class vc{constructor(t){t&&this.set(t)}set(t,n,i){const o=this;function r(a,l,c){const d=ar(l);if(!d)throw new Error("header name must be a non-empty string");const u=L.findKey(o,d);(!u||o[u]===void 0||c===!0||c===void 0&&o[u]!==!1)&&(o[u||l]=xa(a))}const s=(a,l)=>L.forEach(a,(c,d)=>r(c,d,l));return L.isPlainObject(t)||t instanceof this.constructor?s(t,n):L.isString(t)&&(t=t.trim())&&!$3(t)?s(R3(t),n):t!=null&&r(n,t,i),this}get(t,n){if(t=ar(t),t){const i=L.findKey(this,t);if(i){const o=this[i];if(!n)return o;if(n===!0)return D3(o);if(L.isFunction(n))return n.call(this,o,i);if(L.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ar(t),t){const i=L.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||yd(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let o=!1;function r(s){if(s=ar(s),s){const a=L.findKey(i,s);a&&(!n||yd(i,i[a],a,n))&&(delete i[a],o=!0)}}return L.isArray(t)?t.forEach(r):r(t),o}clear(t){const n=Object.keys(this);let i=n.length,o=!1;for(;i--;){const r=n[i];(!t||yd(this,this[r],r,t,!0))&&(delete this[r],o=!0)}return o}normalize(t){const n=this,i={};return L.forEach(this,(o,r)=>{const s=L.findKey(i,r);if(s){n[s]=xa(o),delete n[r];return}const a=t?_3(r):String(r).trim();a!==r&&delete n[r],n[a]=xa(o),i[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return L.forEach(this,(i,o)=>{i!=null&&i!==!1&&(n[o]=t&&L.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const i=new this(t);return n.forEach(o=>i.set(o)),i}static accessor(t){const i=(this[Eb]=this[Eb]={accessors:{}}).accessors,o=this.prototype;function r(s){const a=ar(s);i[a]||(z3(o,s),i[a]=!0)}return L.isArray(t)?t.forEach(r):r(t),this}}vc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);L.reduceDescriptors(vc.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[n]=i}}});L.freezeMethods(vc);const vn=vc;function xd(e,t){const n=this||sf,i=t||n,o=vn.from(i.headers);let r=i.data;return L.forEach(e,function(a){r=a.call(n,r,o.normalize(),t?t.status:void 0)}),o.normalize(),r}function lk(e){return!!(e&&e.__CANCEL__)}function ws(e,t,n){se.call(this,e??"canceled",se.ERR_CANCELED,t,n),this.name="CanceledError"}L.inherits(ws,se,{__CANCEL__:!0});function M3(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new se("Request failed with status code "+n.status,[se.ERR_BAD_REQUEST,se.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const B3=tn.hasStandardBrowserEnv?{write(e,t,n,i,o,r){const s=[e+"="+encodeURIComponent(t)];L.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),L.isString(i)&&s.push("path="+i),L.isString(o)&&s.push("domain="+o),r===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function j3(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function V3(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ck(e,t){return e&&!j3(t)?V3(e,t):t}const F3=tn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let i;function o(r){let s=r;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=o(window.location.href),function(s){const a=L.isString(s)?o(s):s;return a.protocol===i.protocol&&a.host===i.host}}():function(){return function(){return!0}}();function H3(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function N3(e,t){e=e||10;const n=new Array(e),i=new Array(e);let o=0,r=0,s;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=i[r];s||(s=c),n[o]=l,i[o]=c;let u=r,h=0;for(;u!==o;)h+=n[u++],u=u%e;if(o=(o+1)%e,o===r&&(r=(r+1)%e),c-s{const r=o.loaded,s=o.lengthComputable?o.total:void 0,a=r-n,l=i(a),c=r<=s;n=r;const d={loaded:r,total:s,progress:s?r/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&c?(s-r)/l:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const U3=typeof XMLHttpRequest<"u",W3=U3&&function(e){return new Promise(function(n,i){let o=e.data;const r=vn.from(e.headers).normalize();let{responseType:s,withXSRFToken:a}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let d;if(L.isFormData(o)){if(tn.hasStandardBrowserEnv||tn.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if((d=r.getContentType())!==!1){const[m,...x]=d?d.split(";").map(b=>b.trim()).filter(Boolean):[];r.setContentType([m||"multipart/form-data",...x].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.set("Authorization","Basic "+btoa(m+":"+x))}const h=ck(e.baseURL,e.url);u.open(e.method.toUpperCase(),ok(h,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function p(){if(!u)return;const m=vn.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),b={data:!s||s==="text"||s==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:m,config:e,request:u};M3(function(v){n(v),c()},function(v){i(v),c()},b),u=null}if("onloadend"in u?u.onloadend=p:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(p)},u.onabort=function(){u&&(i(new se("Request aborted",se.ECONNABORTED,e,u)),u=null)},u.onerror=function(){i(new se("Network Error",se.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let x=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const b=e.transitional||rk;e.timeoutErrorMessage&&(x=e.timeoutErrorMessage),i(new se(x,b.clarifyTimeoutError?se.ETIMEDOUT:se.ECONNABORTED,e,u)),u=null},tn.hasStandardBrowserEnv&&(a&&L.isFunction(a)&&(a=a(e)),a||a!==!1&&F3(h))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&B3.read(e.xsrfCookieName);m&&r.set(e.xsrfHeaderName,m)}o===void 0&&r.setContentType(null),"setRequestHeader"in u&&L.forEach(r.toJSON(),function(x,b){u.setRequestHeader(b,x)}),L.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),s&&s!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",Tb(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",Tb(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=m=>{u&&(i(!m||m.type?new ws(null,e,u):m),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const f=H3(h);if(f&&tn.protocols.indexOf(f)===-1){i(new se("Unsupported protocol "+f+":",se.ERR_BAD_REQUEST,e));return}u.send(o||null)})},th={http:g3,xhr:W3};L.forEach(th,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Pb=e=>`- ${e}`,q3=e=>L.isFunction(e)||e===null||e===!1,dk={getAdapter:e=>{e=L.isArray(e)?e:[e];const{length:t}=e;let n,i;const o={};for(let r=0;r`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?r.length>1?`since : `+r.map(Pb).join(` `):" "+Pb(r[0]):"as no adapter specified";throw new se("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return i},adapters:th};function wd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ws(null,e)}function Ab(e){return wd(e),e.headers=vn.from(e.headers),e.data=xd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),dk.getAdapter(e.adapter||sf.adapter)(e).then(function(i){return wd(e),i.data=xd.call(e,e.transformResponse,i),i.headers=vn.from(i.headers),i},function(i){return lk(i)||(wd(e),i&&i.response&&(i.response.data=xd.call(e,e.transformResponse,i.response),i.response.headers=vn.from(i.response.headers))),Promise.reject(i)})}const Lb=e=>e instanceof vn?e.toJSON():e;function zo(e,t){t=t||{};const n={};function i(c,d,u){return L.isPlainObject(c)&&L.isPlainObject(d)?L.merge.call({caseless:u},c,d):L.isPlainObject(d)?L.merge({},d):L.isArray(d)?d.slice():d}function o(c,d,u){if(L.isUndefined(d)){if(!L.isUndefined(c))return i(void 0,c,u)}else return i(c,d,u)}function r(c,d){if(!L.isUndefined(d))return i(void 0,d)}function s(c,d){if(L.isUndefined(d)){if(!L.isUndefined(c))return i(void 0,c)}else return i(void 0,d)}function a(c,d,u){if(u in t)return i(c,d);if(u in e)return i(void 0,c)}const l={url:r,method:r,data:r,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,d)=>o(Lb(c),Lb(d),!0)};return L.forEach(Object.keys(Object.assign({},e,t)),function(d){const u=l[d]||o,h=u(e[d],t[d],d);L.isUndefined(h)&&u!==a||(n[d]=h)}),n}const uk="1.6.5",af={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{af[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const Ib={};af.transitional=function(t,n,i){function o(r,s){return"[Axios v"+uk+"] Transitional option '"+r+"'"+s+(i?". "+i:"")}return(r,s,a)=>{if(t===!1)throw new se(o(s," has been removed"+(n?" in "+n:"")),se.ERR_DEPRECATED);return n&&!Ib[s]&&(Ib[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,s,a):!0}};function Y3(e,t,n){if(typeof e!="object")throw new se("options must be an object",se.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const r=i[o],s=t[r];if(s){const a=e[r],l=a===void 0||s(a,r,e);if(l!==!0)throw new se("option "+r+" must be "+l,se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new se("Unknown option "+r,se.ERR_BAD_OPTION)}}const nh={assertOptions:Y3,validators:af},Rn=nh.validators;class al{constructor(t){this.defaults=t,this.interceptors={request:new Sb,response:new Sb}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=zo(this.defaults,n);const{transitional:i,paramsSerializer:o,headers:r}=n;i!==void 0&&nh.assertOptions(i,{silentJSONParsing:Rn.transitional(Rn.boolean),forcedJSONParsing:Rn.transitional(Rn.boolean),clarifyTimeoutError:Rn.transitional(Rn.boolean)},!1),o!=null&&(L.isFunction(o)?n.paramsSerializer={serialize:o}:nh.assertOptions(o,{encode:Rn.function,serialize:Rn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=r&&L.merge(r.common,r[n.method]);r&&L.forEach(["delete","get","head","post","put","patch","common"],f=>{delete r[f]}),n.headers=vn.concat(s,r);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let d,u=0,h;if(!l){const f=[Ab.bind(this),void 0];for(f.unshift.apply(f,a),f.push.apply(f,c),h=f.length,d=Promise.resolve(n);u{if(!i._listeners)return;let r=i._listeners.length;for(;r-- >0;)i._listeners[r](o);i._listeners=null}),this.promise.then=o=>{let r;const s=new Promise(a=>{i.subscribe(a),r=a}).then(o);return s.cancel=function(){i.unsubscribe(r)},s},t(function(r,s,a){i.reason||(i.reason=new ws(r,s,a),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new lf(function(o){t=o}),cancel:t}}}const K3=lf;function X3(e){return function(n){return e.apply(null,n)}}function G3(e){return L.isObject(e)&&e.isAxiosError===!0}const ih={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ih).forEach(([e,t])=>{ih[t]=e});const Q3=ih;function hk(e){const t=new wa(e),n=qw(wa.prototype.request,t);return L.extend(n,wa.prototype,t,{allOwnKeys:!0}),L.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return hk(zo(e,o))},n}const ke=hk(sf);ke.Axios=wa;ke.CanceledError=ws;ke.CancelToken=K3;ke.isCancel=lk;ke.VERSION=uk;ke.toFormData=bc;ke.AxiosError=se;ke.Cancel=ke.CanceledError;ke.all=function(t){return Promise.all(t)};ke.spread=X3;ke.isAxiosError=G3;ke.mergeConfig=zo;ke.AxiosHeaders=vn;ke.formToJSON=e=>ak(L.isHTMLForm(e)?new FormData(e):e);ke.getAdapter=dk.getAdapter;ke.HttpStatusCode=Q3;ke.default=ke;const Z3="https://c-gohlke-litrl-api.hf.space";async function J3(e){try{return(await ke.get(e,{responseType:"blob",headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})).data}catch(t){throw console.error("Error fetching blob:",t),t}}const e$=({name:e})=>{const t=q.useRef(null);return q.useEffect(()=>{(async()=>{const i=Z3+"/get_huggingface_video?env_id="+e;console.log("getting blob from",i);const o=await J3(i),r=URL.createObjectURL(o);t.current.src=r})()},[]),j.jsx("div",{children:j.jsx("video",{ref:t,controls:!0,autoPlay:!0,loop:!0,muted:!0})})},t$="data:image/svg+xml,%3csvg%20width='70%20'%20height='70%20'%20viewBox='0%200%20126%20126'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='63'%20cy='63'%20r='61'%20fill='black'%20fill-opacity='0.6'/%3e%3ccircle%20cx='63'%20cy='63'%20r='61'%20fill='%23FD6687'%20fill-opacity='0.5'/%3e%3ccircle%20cx='63'%20cy='63'%20r='61'%20stroke='black'%20stroke-width='6'/%3e%3cpath%20d='M122%2064C122%2093.5472%2095.4529%20122%2062.592%20122C29.731%20122%204%2093.5472%204%2064C4%2034.4528%2029.731%2015%2062.592%2015C95.4529%2015%20122%2034.4528%20122%2064Z'%20fill='%23FD6687'/%3e%3c/svg%3e",n$="data:image/svg+xml,%3csvg%20width='70'%20height='70'%20viewBox='0%200%20126%20126'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='63'%20cy='63'%20r='61'%20fill='black'%20fill-opacity='0.6'/%3e%3ccircle%20cx='63'%20cy='63'%20r='61'%20fill='%23FFCE67'%20fill-opacity='0.5'/%3e%3ccircle%20cx='63'%20cy='63'%20r='61'%20stroke='black'%20stroke-width='6'/%3e%3cpath%20d='M122%2064C122%2093.5472%2095.4529%20122%2062.592%20122C29.731%20122%204%2093.5472%204%2064C4%2034.4528%2029.731%2015%2062.592%2015C95.4529%2015%20122%2034.4528%20122%2064Z'%20fill='%23FFCE67'/%3e%3c/svg%3e",i$="data:image/svg+xml,%3csvg%20width='37'%20height='36'%20viewBox='0%200%2037%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0.999998%2015.9476L0.999999%205C0.999999%202.79086%202.79086%201%205%201L32%201C34.2091%201%2036%202.79086%2036%205L36%2015.9704C36%2017.2427%2035.3947%2018.4392%2034.3696%2019.1929L20.9877%2029.0328C19.5866%2030.0631%2017.6804%2030.07%2016.2719%2029.0499L2.65376%2019.1872C1.61501%2018.4349%200.999997%2017.2302%200.999998%2015.9476Z'%20fill='black'%20stroke='black'%20stroke-width='3'/%3e%3cpath%20d='M0.999998%2019.9476L0.999999%209C0.999999%206.79086%202.79086%205%205%205L32%205C34.2091%205%2036%206.79086%2036%209L36%2019.9704C36%2021.2427%2035.3947%2022.4392%2034.3696%2023.1929L20.9877%2033.0328C19.5866%2034.0631%2017.6804%2034.07%2016.2719%2033.0499L2.65376%2023.1872C1.61501%2022.4349%200.999997%2021.2302%200.999998%2019.9476Z'%20fill='%23FD6687'%20stroke='black'%20stroke-width='3'/%3e%3c/svg%3e",o$="data:image/svg+xml,%3csvg%20width='37'%20height='36'%20viewBox='0%200%2037%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0.999998%2015.9476L0.999999%205C0.999999%202.79086%202.79086%201%205%201L32%201C34.2091%201%2036%202.79086%2036%205L36%2015.9704C36%2017.2427%2035.3947%2018.4392%2034.3696%2019.1929L20.9877%2029.0328C19.5866%2030.0631%2017.6804%2030.07%2016.2719%2029.0499L2.65376%2019.1872C1.61501%2018.4349%200.999997%2017.2302%200.999998%2015.9476Z'%20fill='black'%20stroke='black'%20stroke-width='3'/%3e%3cpath%20d='M0.999998%2019.9476L0.999999%209C0.999999%206.79086%202.79086%205%205%205L32%205C34.2091%205%2036%206.79086%2036%209L36%2019.9704C36%2021.2427%2035.3947%2022.4392%2034.3696%2023.1929L20.9877%2033.0328C19.5866%2034.0631%2017.6804%2034.07%2016.2719%2033.0499L2.65376%2023.1872C1.61501%2022.4349%200.999997%2021.2302%200.999998%2019.9476Z'%20fill='%23FFCE67'%20stroke='black'%20stroke-width='3'/%3e%3c/svg%3e",pk=q.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),yc=q.createContext({}),cf=q.createContext(null),xc=typeof document<"u",r$=xc?q.useLayoutEffect:q.useEffect,fk=q.createContext({strict:!1}),df=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s$="framerAppearId",mk="data-"+df(s$);function a$(e,t,n,i){const{visualElement:o}=q.useContext(yc),r=q.useContext(fk),s=q.useContext(cf),a=q.useContext(pk).reducedMotion,l=q.useRef();i=i||r.renderer,!l.current&&i&&(l.current=i(e,{visualState:t,parent:o,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:a}));const c=l.current;q.useInsertionEffect(()=>{c&&c.update(n,s)});const d=q.useRef(!!(n[mk]&&!window.HandoffComplete));return r$(()=>{c&&(c.render(),d.current&&c.animationState&&c.animationState.animateChanges())}),q.useEffect(()=>{c&&(c.updateFeatures(),!d.current&&c.animationState&&c.animationState.animateChanges(),d.current&&(d.current=!1,window.HandoffComplete=!0))}),c}function fo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function l$(e,t,n){return q.useCallback(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),n&&(typeof n=="function"?n(i):fo(n)&&(n.current=i))},[t])}function rs(e){return typeof e=="string"||Array.isArray(e)}function wc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const uf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],hf=["initial",...uf];function kc(e){return wc(e.animate)||hf.some(t=>rs(e[t]))}function gk(e){return!!(kc(e)||e.variants)}function c$(e,t){if(kc(e)){const{initial:n,animate:i}=e;return{initial:n===!1||rs(n)?n:void 0,animate:rs(i)?i:void 0}}return e.inherit!==!1?t:{}}function d$(e){const{initial:t,animate:n}=c$(e,q.useContext(yc));return q.useMemo(()=>({initial:t,animate:n}),[Ob(t),Ob(n)])}function Ob(e){return Array.isArray(e)?e.join(" "):e}const Rb={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ss={};for(const e in Rb)ss[e]={isEnabled:t=>Rb[e].some(n=>!!t[n])};function u$(e){for(const t in e)ss[t]={...ss[t],...e[t]}}const bk=q.createContext({}),vk=q.createContext({}),h$=Symbol.for("motionComponentSymbol");function p$({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:o}){e&&u$(e);function r(a,l){let c;const d={...q.useContext(pk),...a,layoutId:f$(a)},{isStatic:u}=d,h=d$(a),p=i(a,u);if(!u&&xc){h.visualElement=a$(o,p,d,t);const f=q.useContext(vk),m=q.useContext(fk).strict;h.visualElement&&(c=h.visualElement.loadFeatures(d,m,e,f))}return q.createElement(yc.Provider,{value:h},c&&h.visualElement?q.createElement(c,{visualElement:h.visualElement,...d}):null,n(o,a,l$(p,h.visualElement,l),p,u,h.visualElement))}const s=q.forwardRef(r);return s[h$]=o,s}function f$({layoutId:e}){const t=q.useContext(bk).id;return t&&e!==void 0?t+"-"+e:e}function m$(e){function t(i,o={}){return p$(e(i,o))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(i,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const g$=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function pf(e){return typeof e!="string"||e.includes("-")?!1:!!(g$.indexOf(e)>-1||/[A-Z]/.test(e))}const ll={};function b$(e){Object.assign(ll,e)}const ks=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ui=new Set(ks);function yk(e,{layout:t,layoutId:n}){return Ui.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ll[e]||e==="opacity")}const mt=e=>!!(e&&e.getVelocity),v$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},y$=ks.length;function x$(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},i,o){let r="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e),wk=xk("--"),oh=xk("var(--"),w$=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,k$=(e,t)=>t&&typeof e=="number"?t.transform(e):e,oi=(e,t,n)=>Math.min(Math.max(n,e),t),Wi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Lr={...Wi,transform:e=>oi(0,1,e)},Zs={...Wi,default:1},Ir=e=>Math.round(e*1e5)/1e5,Cc=/(-)?([\d]*\.?[\d])+/g,kk=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,C$=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Cs(e){return typeof e=="string"}const Ss=e=>({test:t=>Cs(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Dn=Ss("deg"),rn=Ss("%"),X=Ss("px"),S$=Ss("vh"),E$=Ss("vw"),Db={...rn,parse:e=>rn.parse(e)/100,transform:e=>rn.transform(e*100)},$b={...Wi,transform:Math.round},Ck={borderWidth:X,borderTopWidth:X,borderRightWidth:X,borderBottomWidth:X,borderLeftWidth:X,borderRadius:X,radius:X,borderTopLeftRadius:X,borderTopRightRadius:X,borderBottomRightRadius:X,borderBottomLeftRadius:X,width:X,maxWidth:X,height:X,maxHeight:X,size:X,top:X,right:X,bottom:X,left:X,padding:X,paddingTop:X,paddingRight:X,paddingBottom:X,paddingLeft:X,margin:X,marginTop:X,marginRight:X,marginBottom:X,marginLeft:X,rotate:Dn,rotateX:Dn,rotateY:Dn,rotateZ:Dn,scale:Zs,scaleX:Zs,scaleY:Zs,scaleZ:Zs,skew:Dn,skewX:Dn,skewY:Dn,distance:X,translateX:X,translateY:X,translateZ:X,x:X,y:X,z:X,perspective:X,transformPerspective:X,opacity:Lr,originX:Db,originY:Db,originZ:X,zIndex:$b,fillOpacity:Lr,strokeOpacity:Lr,numOctaves:$b};function ff(e,t,n,i){const{style:o,vars:r,transform:s,transformOrigin:a}=e;let l=!1,c=!1,d=!0;for(const u in t){const h=t[u];if(wk(u)){r[u]=h;continue}const p=Ck[u],f=k$(h,p);if(Ui.has(u)){if(l=!0,s[u]=f,!d)continue;h!==(p.default||0)&&(d=!1)}else u.startsWith("origin")?(c=!0,a[u]=f):o[u]=f}if(t.transform||(l||i?o.transform=x$(e.transform,n,d,i):o.transform&&(o.transform="none")),c){const{originX:u="50%",originY:h="50%",originZ:p=0}=a;o.transformOrigin=`${u} ${h} ${p}`}}const mf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Sk(e,t,n){for(const i in t)!mt(t[i])&&!yk(i,n)&&(e[i]=t[i])}function T$({transformTemplate:e},t,n){return q.useMemo(()=>{const i=mf();return ff(i,t,{enableHardwareAcceleration:!n},e),Object.assign({},i.vars,i.style)},[t])}function P$(e,t,n){const i=e.style||{},o={};return Sk(o,i,e),Object.assign(o,T$(e,t,n)),e.transformValues?e.transformValues(o):o}function A$(e,t,n){const i={},o=P$(e,t,n);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i}const L$=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function cl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||L$.has(e)}let Ek=e=>!cl(e);function I$(e){e&&(Ek=t=>t.startsWith("on")?!cl(t):e(t))}try{I$(require("@emotion/is-prop-valid").default)}catch{}function O$(e,t,n){const i={};for(const o in e)o==="values"&&typeof e.values=="object"||(Ek(o)||n===!0&&cl(o)||!t&&!cl(o)||e.draggable&&o.startsWith("onDrag"))&&(i[o]=e[o]);return i}function _b(e,t,n){return typeof e=="string"?e:X.transform(t+n*e)}function R$(e,t,n){const i=_b(t,e.x,e.width),o=_b(n,e.y,e.height);return`${i} ${o}`}const D$={offset:"stroke-dashoffset",array:"stroke-dasharray"},$$={offset:"strokeDashoffset",array:"strokeDasharray"};function _$(e,t,n=1,i=0,o=!0){e.pathLength=1;const r=o?D$:$$;e[r.offset]=X.transform(-i);const s=X.transform(t),a=X.transform(n);e[r.array]=`${s} ${a}`}function gf(e,{attrX:t,attrY:n,attrScale:i,originX:o,originY:r,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},d,u,h){if(ff(e,c,d,h),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:f,dimensions:m}=e;p.transform&&(m&&(f.transform=p.transform),delete p.transform),m&&(o!==void 0||r!==void 0||f.transform)&&(f.transformOrigin=R$(m,o!==void 0?o:.5,r!==void 0?r:.5)),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),i!==void 0&&(p.scale=i),s!==void 0&&_$(p,s,a,l,!1)}const Tk=()=>({...mf(),attrs:{}}),bf=e=>typeof e=="string"&&e.toLowerCase()==="svg";function z$(e,t,n,i){const o=q.useMemo(()=>{const r=Tk();return gf(r,t,{enableHardwareAcceleration:!1},bf(i),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};Sk(r,e.style,e),o.style={...r,...o.style}}return o}function M$(e=!1){return(n,i,o,{latestValues:r},s)=>{const l=(pf(n)?z$:A$)(i,r,s,n),d={...O$(i,typeof n=="string",e),...l,ref:o},{children:u}=i,h=q.useMemo(()=>mt(u)?u.get():u,[u]);return q.createElement(n,{...d,children:h})}}function Pk(e,{style:t,vars:n},i,o){Object.assign(e.style,t,o&&o.getProjectionStyles(i));for(const r in n)e.style.setProperty(r,n[r])}const Ak=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Lk(e,t,n,i){Pk(e,t,void 0,i);for(const o in t.attrs)e.setAttribute(Ak.has(o)?o:df(o),t.attrs[o])}function vf(e,t){const{style:n}=e,i={};for(const o in n)(mt(n[o])||t.style&&mt(t.style[o])||yk(o,e))&&(i[o]=n[o]);return i}function Ik(e,t){const n=vf(e,t);for(const i in e)if(mt(e[i])||mt(t[i])){const o=ks.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=e[i]}return n}function yf(e,t,n,i={},o={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,i,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,i,o)),t}function B$(e){const t=q.useRef(null);return t.current===null&&(t.current=e()),t.current}const dl=e=>Array.isArray(e),j$=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),V$=e=>dl(e)?e[e.length-1]||0:e;function ka(e){const t=mt(e)?e.get():e;return j$(t)?t.toValue():t}function F$({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},i,o,r){const s={latestValues:H$(i,o,r,e),renderState:t()};return n&&(s.mount=a=>n(i,a,s)),s}const Ok=e=>(t,n)=>{const i=q.useContext(yc),o=q.useContext(cf),r=()=>F$(e,t,i,o);return n?r():B$(r)};function H$(e,t,n,i){const o={},r=i(e,{});for(const h in r)o[h]=ka(r[h]);let{initial:s,animate:a}=e;const l=kc(e),c=gk(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let d=n?n.initial===!1:!1;d=d||s===!1;const u=d?a:s;return u&&typeof u!="boolean"&&!wc(u)&&(Array.isArray(u)?u:[u]).forEach(p=>{const f=yf(e,p);if(!f)return;const{transitionEnd:m,transition:x,...b}=f;for(const g in b){let v=b[g];if(Array.isArray(v)){const w=d?v.length-1:0;v=v[w]}v!==null&&(o[g]=v)}for(const g in m)o[g]=m[g]}),o}const Re=e=>e;class zb{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function N$(e){let t=new zb,n=new zb,i=0,o=!1,r=!1;const s=new WeakSet,a={schedule:(l,c=!1,d=!1)=>{const u=d&&o,h=u?t:n;return c&&s.add(l),h.add(l)&&u&&o&&(i=t.order.length),l},cancel:l=>{n.remove(l),s.delete(l)},process:l=>{if(o){r=!0;return}if(o=!0,[t,n]=[n,t],n.clear(),i=t.order.length,i)for(let c=0;c(u[h]=N$(()=>n=!0),u),{}),s=u=>r[u].process(o),a=()=>{const u=performance.now();n=!1,o.delta=i?1e3/60:Math.max(Math.min(u-o.timestamp,U$),1),o.timestamp=u,o.isProcessing=!0,Js.forEach(s),o.isProcessing=!1,n&&t&&(i=!1,e(a))},l=()=>{n=!0,i=!0,o.isProcessing||e(a)};return{schedule:Js.reduce((u,h)=>{const p=r[h];return u[h]=(f,m=!1,x=!1)=>(n||l(),p.schedule(f,m,x)),u},{}),cancel:u=>Js.forEach(h=>r[h].cancel(u)),state:o,steps:r}}const{schedule:ve,cancel:Tn,state:Ze,steps:kd}=W$(typeof requestAnimationFrame<"u"?requestAnimationFrame:Re,!0),q$={useVisualState:Ok({scrapeMotionValuesFromProps:Ik,createRenderState:Tk,onMount:(e,t,{renderState:n,latestValues:i})=>{ve.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),ve.render(()=>{gf(n,i,{enableHardwareAcceleration:!1},bf(t.tagName),e.transformTemplate),Lk(t,n)})}})},Y$={useVisualState:Ok({scrapeMotionValuesFromProps:vf,createRenderState:mf})};function K$(e,{forwardMotionProps:t=!1},n,i){return{...pf(e)?q$:Y$,preloadedFeatures:n,useRender:M$(t),createVisualElement:i,Component:e}}function mn(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}const Rk=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Sc(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const X$=e=>t=>Rk(t)&&e(t,Sc(t));function yn(e,t,n,i){return mn(e,t,X$(n),i)}const G$=(e,t)=>n=>t(e(n)),Qn=(...e)=>e.reduce(G$);function Dk(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Mb=Dk("dragHorizontal"),Bb=Dk("dragVertical");function $k(e){let t=!1;if(e==="y")t=Bb();else if(e==="x")t=Mb();else{const n=Mb(),i=Bb();n&&i?t=()=>{n(),i()}:(n&&n(),i&&i())}return t}function _k(){const e=$k(!0);return e?(e(),!1):!0}class ci{constructor(t){this.isMounted=!1,this.node=t}update(){}}function jb(e,t){const n="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End"),o=(r,s)=>{if(r.pointerType==="touch"||_k())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t),a[i]&&ve.update(()=>a[i](r,s))};return yn(e.current,n,o,{passive:!e.getProps()[i]})}class Q$ extends ci{mount(){this.unmount=Qn(jb(this.node,!0),jb(this.node,!1))}unmount(){}}class Z$ extends ci{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Qn(mn(this.node.current,"focus",()=>this.onFocus()),mn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const zk=(e,t)=>t?e===t?!0:zk(e,t.parentElement):!1;function Cd(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Sc(n))}class J$ extends ci{constructor(){super(...arguments),this.removeStartListeners=Re,this.removeEndListeners=Re,this.removeAccessibleListeners=Re,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;const i=this.node.getProps(),r=yn(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:c,onTapCancel:d}=this.node.getProps();ve.update(()=>{zk(this.node.current,a.target)?c&&c(a,l):d&&d(a,l)})},{passive:!(i.onTap||i.onPointerUp)}),s=yn(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=Qn(r,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=r=>{if(r.key!=="Enter"||this.isPressing)return;const s=a=>{a.key!=="Enter"||!this.checkPressEnd()||Cd("up",(l,c)=>{const{onTap:d}=this.node.getProps();d&&ve.update(()=>d(l,c))})};this.removeEndListeners(),this.removeEndListeners=mn(this.node.current,"keyup",s),Cd("down",(a,l)=>{this.startPress(a,l)})},n=mn(this.node.current,"keydown",t),i=()=>{this.isPressing&&Cd("cancel",(r,s)=>this.cancelPress(r,s))},o=mn(this.node.current,"blur",i);this.removeAccessibleListeners=Qn(n,o)}}startPress(t,n){this.isPressing=!0;const{onTapStart:i,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&ve.update(()=>i(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!_k()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&ve.update(()=>i(t,n))}mount(){const t=this.node.getProps(),n=yn(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=mn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Qn(n,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const rh=new WeakMap,Sd=new WeakMap,e6=e=>{const t=rh.get(e.target);t&&t(e)},t6=e=>{e.forEach(e6)};function n6({root:e,...t}){const n=e||document;Sd.has(n)||Sd.set(n,{});const i=Sd.get(n),o=JSON.stringify(t);return i[o]||(i[o]=new IntersectionObserver(t6,{root:e,...t})),i[o]}function i6(e,t,n){const i=n6(t);return rh.set(e,n),i.observe(e),()=>{rh.delete(e),i.unobserve(e)}}const o6={some:0,all:1};class r6 extends ci{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:i,amount:o="some",once:r}=t,s={root:n?n.current:void 0,rootMargin:i,threshold:typeof o=="number"?o:o6[o]},a=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,r&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:d,onViewportLeave:u}=this.node.getProps(),h=c?d:u;h&&h(l)};return i6(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(s6(t,n))&&this.startObserver()}unmount(){}}function s6({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const a6={inView:{Feature:r6},tap:{Feature:J$},focus:{Feature:Z$},hover:{Feature:Q$}};function Mk(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;it[i]=n.get()),t}function c6(e){const t={};return e.values.forEach((n,i)=>t[i]=n.getVelocity()),t}function Ec(e,t,n){const i=e.getProps();return yf(i,t,n!==void 0?n:i.custom,l6(e),c6(e))}let xf=Re;const Ti=e=>e*1e3,xn=e=>e/1e3,d6={current:!1},Bk=e=>Array.isArray(e)&&typeof e[0]=="number";function jk(e){return!!(!e||typeof e=="string"&&Vk[e]||Bk(e)||Array.isArray(e)&&e.every(jk))}const mr=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,Vk={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:mr([0,.65,.55,1]),circOut:mr([.55,0,1,.45]),backIn:mr([.31,.01,.66,-.59]),backOut:mr([.33,1.53,.69,.99])};function Fk(e){if(e)return Bk(e)?mr(e):Array.isArray(e)?e.map(Fk):Vk[e]}function u6(e,t,n,{delay:i=0,duration:o,repeat:r=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const d=Fk(a);return Array.isArray(d)&&(c.easing=d),e.animate(c,{delay:i,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:r+1,direction:s==="reverse"?"alternate":"normal"})}function h6(e,{repeat:t,repeatType:n="loop"}){const i=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[i]}const Hk=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,p6=1e-7,f6=12;function m6(e,t,n,i,o){let r,s,a=0;do s=t+(n-t)/2,r=Hk(s,i,o)-e,r>0?n=s:t=s;while(Math.abs(r)>p6&&++am6(r,0,1,e,n);return r=>r===0||r===1?r:Hk(o(r),t,i)}const g6=Es(.42,0,1,1),b6=Es(0,0,.58,1),Nk=Es(.42,0,.58,1),v6=e=>Array.isArray(e)&&typeof e[0]!="number",Uk=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Wk=e=>t=>1-e(1-t),wf=e=>1-Math.sin(Math.acos(e)),qk=Wk(wf),y6=Uk(wf),Yk=Es(.33,1.53,.69,.99),kf=Wk(Yk),x6=Uk(kf),w6=e=>(e*=2)<1?.5*kf(e):.5*(2-Math.pow(2,-10*(e-1))),k6={linear:Re,easeIn:g6,easeInOut:Nk,easeOut:b6,circIn:wf,circInOut:y6,circOut:qk,backIn:kf,backInOut:x6,backOut:Yk,anticipate:w6},Vb=e=>{if(Array.isArray(e)){xf(e.length===4);const[t,n,i,o]=e;return Es(t,n,i,o)}else if(typeof e=="string")return k6[e];return e},Cf=(e,t)=>n=>!!(Cs(n)&&C$.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Kk=(e,t,n)=>i=>{if(!Cs(i))return i;const[o,r,s,a]=i.match(Cc);return{[e]:parseFloat(o),[t]:parseFloat(r),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},C6=e=>oi(0,255,e),Ed={...Wi,transform:e=>Math.round(C6(e))},Ci={test:Cf("rgb","red"),parse:Kk("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+Ed.transform(e)+", "+Ed.transform(t)+", "+Ed.transform(n)+", "+Ir(Lr.transform(i))+")"};function S6(e){let t="",n="",i="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,i+=i,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:o?parseInt(o,16)/255:1}}const sh={test:Cf("#"),parse:S6,transform:Ci.transform},mo={test:Cf("hsl","hue"),parse:Kk("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+rn.transform(Ir(t))+", "+rn.transform(Ir(n))+", "+Ir(Lr.transform(i))+")"},tt={test:e=>Ci.test(e)||sh.test(e)||mo.test(e),parse:e=>Ci.test(e)?Ci.parse(e):mo.test(e)?mo.parse(e):sh.parse(e),transform:e=>Cs(e)?e:e.hasOwnProperty("red")?Ci.transform(e):mo.transform(e)},Se=(e,t,n)=>-n*e+n*t+e;function Td(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function E6({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let o=0,r=0,s=0;if(!t)o=r=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=Td(l,a,e+1/3),r=Td(l,a,e),s=Td(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:i}}const Pd=(e,t,n)=>{const i=e*e;return Math.sqrt(Math.max(0,n*(t*t-i)+i))},T6=[sh,Ci,mo],P6=e=>T6.find(t=>t.test(e));function Fb(e){const t=P6(e);let n=t.parse(e);return t===mo&&(n=E6(n)),n}const Xk=(e,t)=>{const n=Fb(e),i=Fb(t),o={...n};return r=>(o.red=Pd(n.red,i.red,r),o.green=Pd(n.green,i.green,r),o.blue=Pd(n.blue,i.blue,r),o.alpha=Se(n.alpha,i.alpha,r),Ci.transform(o))};function A6(e){var t,n;return isNaN(e)&&Cs(e)&&(((t=e.match(Cc))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(kk))===null||n===void 0?void 0:n.length)||0)>0}const Gk={regex:w$,countKey:"Vars",token:"${v}",parse:Re},Qk={regex:kk,countKey:"Colors",token:"${c}",parse:tt.parse},Zk={regex:Cc,countKey:"Numbers",token:"${n}",parse:Wi.parse};function Ad(e,{regex:t,countKey:n,token:i,parse:o}){const r=e.tokenised.match(t);r&&(e["num"+n]=r.length,e.tokenised=e.tokenised.replace(t,i),e.values.push(...r.map(o)))}function ul(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Ad(n,Gk),Ad(n,Qk),Ad(n,Zk),n}function Jk(e){return ul(e).values}function e1(e){const{values:t,numColors:n,numVars:i,tokenised:o}=ul(e),r=t.length;return s=>{let a=o;for(let l=0;ltypeof e=="number"?0:e;function I6(e){const t=Jk(e);return e1(e)(t.map(L6))}const ri={test:A6,parse:Jk,createTransformer:e1,getAnimatableNone:I6},t1=(e,t)=>n=>`${n>0?t:e}`;function n1(e,t){return typeof e=="number"?n=>Se(e,t,n):tt.test(e)?Xk(e,t):e.startsWith("var(")?t1(e,t):o1(e,t)}const i1=(e,t)=>{const n=[...e],i=n.length,o=e.map((r,s)=>n1(r,t[s]));return r=>{for(let s=0;s{const n={...e,...t},i={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(i[o]=n1(e[o],t[o]));return o=>{for(const r in i)n[r]=i[r](o);return n}},o1=(e,t)=>{const n=ri.createTransformer(t),i=ul(e),o=ul(t);return i.numVars===o.numVars&&i.numColors===o.numColors&&i.numNumbers>=o.numNumbers?Qn(i1(i.values,o.values),n):t1(e,t)},as=(e,t,n)=>{const i=t-e;return i===0?1:(n-e)/i},Hb=(e,t)=>n=>Se(e,t,n);function R6(e){return typeof e=="number"?Hb:typeof e=="string"?tt.test(e)?Xk:o1:Array.isArray(e)?i1:typeof e=="object"?O6:Hb}function D6(e,t,n){const i=[],o=n||R6(e[0]),r=e.length-1;for(let s=0;st[0];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=D6(t,i,o),a=s.length,l=c=>{let d=0;if(a>1)for(;dl(oi(e[0],e[r-1],c)):l}function $6(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const o=as(0,t,i);e.push(Se(n,1,o))}}function _6(e){const t=[0];return $6(t,e.length-1),t}function z6(e,t){return e.map(n=>n*t)}function M6(e,t){return e.map(()=>t||Nk).splice(0,e.length-1)}function hl({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const o=v6(i)?i.map(Vb):Vb(i),r={done:!1,value:t[0]},s=z6(n&&n.length===t.length?n:_6(t),e),a=r1(s,t,{ease:Array.isArray(o)?o:M6(t,o)});return{calculatedDuration:e,next:l=>(r.value=a(l),r.done=l>=e,r)}}function s1(e,t){return t?e*(1e3/t):0}const B6=5;function a1(e,t,n){const i=Math.max(t-B6,0);return s1(n-e(i),t-i)}const Ld=.001,j6=.01,V6=10,F6=.05,H6=1;function N6({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let o,r,s=1-t;s=oi(F6,H6,s),e=oi(j6,V6,xn(e)),s<1?(o=c=>{const d=c*s,u=d*e,h=d-n,p=ah(c,s),f=Math.exp(-u);return Ld-h/p*f},r=c=>{const u=c*s*e,h=u*n+n,p=Math.pow(s,2)*Math.pow(c,2)*e,f=Math.exp(-u),m=ah(Math.pow(c,2),s);return(-o(c)+Ld>0?-1:1)*((h-p)*f)/m}):(o=c=>{const d=Math.exp(-c*e),u=(c-n)*e+1;return-Ld+d*u},r=c=>{const d=Math.exp(-c*e),u=(n-c)*(e*e);return d*u});const a=5/e,l=W6(o,r,a);if(e=Ti(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*i;return{stiffness:c,damping:s*2*Math.sqrt(i*c),duration:e}}}const U6=12;function W6(e,t,n){let i=n;for(let o=1;oe[n]!==void 0)}function K6(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Nb(e,Y6)&&Nb(e,q6)){const n=N6(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function l1({keyframes:e,restDelta:t,restSpeed:n,...i}){const o=e[0],r=e[e.length-1],s={done:!1,value:o},{stiffness:a,damping:l,mass:c,duration:d,velocity:u,isResolvedFromDuration:h}=K6({...i,velocity:-xn(i.velocity||0)}),p=u||0,f=l/(2*Math.sqrt(a*c)),m=r-o,x=xn(Math.sqrt(a/c)),b=Math.abs(m)<5;n||(n=b?.01:2),t||(t=b?.005:.5);let g;if(f<1){const v=ah(x,f);g=w=>{const E=Math.exp(-f*x*w);return r-E*((p+f*x*m)/v*Math.sin(v*w)+m*Math.cos(v*w))}}else if(f===1)g=v=>r-Math.exp(-x*v)*(m+(p+x*m)*v);else{const v=x*Math.sqrt(f*f-1);g=w=>{const E=Math.exp(-f*x*w),S=Math.min(v*w,300);return r-E*((p+f*x*m)*Math.sinh(S)+v*m*Math.cosh(S))/v}}return{calculatedDuration:h&&d||null,next:v=>{const w=g(v);if(h)s.done=v>=d;else{let E=p;v!==0&&(f<1?E=a1(g,v,w):E=0);const S=Math.abs(E)<=n,k=Math.abs(r-w)<=t;s.done=S&&k}return s.value=s.done?r:w,s}}}function Ub({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:r=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:d}){const u=e[0],h={done:!1,value:u},p=C=>a!==void 0&&Cl,f=C=>a===void 0?l:l===void 0||Math.abs(a-C)-m*Math.exp(-C/i),v=C=>b+g(C),w=C=>{const A=g(C),D=v(C);h.done=Math.abs(A)<=c,h.value=h.done?b:D};let E,S;const k=C=>{p(h.value)&&(E=C,S=l1({keyframes:[h.value,f(h.value)],velocity:a1(v,C,h.value),damping:o,stiffness:r,restDelta:c,restSpeed:d}))};return k(0),{calculatedDuration:null,next:C=>{let A=!1;return!S&&E===void 0&&(A=!0,w(C),k(C)),E!==void 0&&C>E?S.next(C-E):(!A&&w(C),h)}}}const X6=e=>{const t=({timestamp:n})=>e(n);return{start:()=>ve.update(t,!0),stop:()=>Tn(t),now:()=>Ze.isProcessing?Ze.timestamp:performance.now()}},Wb=2e4;function qb(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t=Wb?1/0:t}const G6={decay:Ub,inertia:Ub,tween:hl,keyframes:hl,spring:l1};function pl({autoplay:e=!0,delay:t=0,driver:n=X6,keyframes:i,type:o="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:d,onUpdate:u,...h}){let p=1,f=!1,m,x;const b=()=>{x=new Promise(_=>{m=_})};b();let g;const v=G6[o]||hl;let w;v!==hl&&typeof i[0]!="number"&&(w=r1([0,100],i,{clamp:!1}),i=[0,100]);const E=v({...h,keyframes:i});let S;a==="mirror"&&(S=v({...h,keyframes:[...i].reverse(),velocity:-(h.velocity||0)}));let k="idle",C=null,A=null,D=null;E.calculatedDuration===null&&r&&(E.calculatedDuration=qb(E));const{calculatedDuration:R}=E;let V=1/0,Y=1/0;R!==null&&(V=R+s,Y=V*(r+1)-s);let K=0;const G=_=>{if(A===null)return;p>0&&(A=Math.min(A,_)),p<0&&(A=Math.min(_-Y/p,A)),C!==null?K=C:K=Math.round(_-A)*p;const F=K-t*(p>=0?1:-1),te=p>=0?F<0:F>Y;K=Math.max(F,0),k==="finished"&&C===null&&(K=Y);let J=K,ye=E;if(r){const Ln=Math.min(K,Y)/V;let qi=Math.floor(Ln),an=Ln%1;!an&&Ln>=1&&(an=1),an===1&&qi--,qi=Math.min(qi,r+1),!!(qi%2)&&(a==="reverse"?(an=1-an,s&&(an-=s/V)):a==="mirror"&&(ye=S)),J=oi(0,1,an)*V}const oe=te?{done:!1,value:i[0]}:ye.next(J);w&&(oe.value=w(oe.value));let{done:Pe}=oe;!te&&R!==null&&(Pe=p>=0?K>=Y:K<=0);const Tt=C===null&&(k==="finished"||k==="running"&&Pe);return u&&u(oe.value),Tt&&I(),oe},Z=()=>{g&&g.stop(),g=void 0},Q=()=>{k="idle",Z(),m(),b(),A=D=null},I=()=>{k="finished",d&&d(),Z(),m()},$=()=>{if(f)return;g||(g=n(G));const _=g.now();l&&l(),C!==null?A=_-C:(!A||k==="finished")&&(A=_),k==="finished"&&b(),D=A,C=null,k="running",g.start()};e&&$();const O={then(_,F){return x.then(_,F)},get time(){return xn(K)},set time(_){_=Ti(_),K=_,C!==null||!g||p===0?C=_:A=g.now()-_/p},get duration(){const _=E.calculatedDuration===null?qb(E):E.calculatedDuration;return xn(_)},get speed(){return p},set speed(_){_===p||!g||(p=_,O.time=xn(K))},get state(){return k},play:$,pause:()=>{k="paused",C=K},stop:()=>{f=!0,k!=="idle"&&(k="idle",c&&c(),Q())},cancel:()=>{D!==null&&G(D),Q()},complete:()=>{k="finished"},sample:_=>(A=0,G(_))};return O}function Q6(e){let t;return()=>(t===void 0&&(t=e()),t)}const Z6=Q6(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),J6=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),ea=10,e_=2e4,t_=(e,t)=>t.type==="spring"||e==="backgroundColor"||!jk(t.ease);function n_(e,t,{onUpdate:n,onComplete:i,...o}){if(!(Z6()&&J6.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let s=!1,a,l,c=!1;const d=()=>{l=new Promise(v=>{a=v})};d();let{keyframes:u,duration:h=300,ease:p,times:f}=o;if(t_(t,o)){const v=pl({...o,repeat:0,delay:0});let w={done:!1,value:u[0]};const E=[];let S=0;for(;!w.done&&S{c=!1,m.cancel()},b=()=>{c=!0,ve.update(x),a(),d()};return m.onfinish=()=>{c||(e.set(h6(u,o)),i&&i(),b())},{then(v,w){return l.then(v,w)},attachTimeline(v){return m.timeline=v,m.onfinish=null,Re},get time(){return xn(m.currentTime||0)},set time(v){m.currentTime=Ti(v)},get speed(){return m.playbackRate},set speed(v){m.playbackRate=v},get duration(){return xn(h)},play:()=>{s||(m.play(),Tn(x))},pause:()=>m.pause(),stop:()=>{if(s=!0,m.playState==="idle")return;const{currentTime:v}=m;if(v){const w=pl({...o,autoplay:!1});e.setWithVelocity(w.sample(v-ea).value,w.sample(v).value,ea)}b()},complete:()=>{c||m.finish()},cancel:b}}function i_({keyframes:e,delay:t,onUpdate:n,onComplete:i}){const o=()=>(n&&n(e[e.length-1]),i&&i(),{time:0,speed:1,duration:0,play:Re,pause:Re,stop:Re,then:r=>(r(),Promise.resolve()),cancel:Re,complete:Re});return t?pl({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const o_={type:"spring",stiffness:500,damping:25,restSpeed:10},r_=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),s_={type:"keyframes",duration:.8},a_={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},l_=(e,{keyframes:t})=>t.length>2?s_:Ui.has(e)?e.startsWith("scale")?r_(t[1]):o_:a_,lh=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(ri.test(t)||t==="0")&&!t.startsWith("url(")),c_=new Set(["brightness","contrast","saturate","opacity"]);function d_(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=n.match(Cc)||[];if(!i)return e;const o=n.replace(i,"");let r=c_.has(t)?1:0;return i!==n&&(r*=100),t+"("+r+o+")"}const u_=/([a-z-]*)\(.*?\)/g,ch={...ri,getAnimatableNone:e=>{const t=e.match(u_);return t?t.map(d_).join(" "):e}},h_={...Ck,color:tt,backgroundColor:tt,outlineColor:tt,fill:tt,stroke:tt,borderColor:tt,borderTopColor:tt,borderRightColor:tt,borderBottomColor:tt,borderLeftColor:tt,filter:ch,WebkitFilter:ch},Sf=e=>h_[e];function c1(e,t){let n=Sf(e);return n!==ch&&(n=ri),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const d1=e=>/^0[^.\s]+$/.test(e);function p_(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||d1(e)}function f_(e,t,n,i){const o=lh(t,n);let r;Array.isArray(n)?r=[...n]:r=[null,n];const s=i.from!==void 0?i.from:e.get();let a;const l=[];for(let c=0;co=>{const r=Ef(i,e)||{},s=r.delay||i.delay||0;let{elapsed:a=0}=i;a=a-Ti(s);const l=f_(t,e,n,r),c=l[0],d=l[l.length-1],u=lh(e,c),h=lh(e,d);let p={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...r,delay:-a,onUpdate:f=>{t.set(f),r.onUpdate&&r.onUpdate(f)},onComplete:()=>{o(),r.onComplete&&r.onComplete()}};if(m_(r)||(p={...p,...l_(e,p)}),p.duration&&(p.duration=Ti(p.duration)),p.repeatDelay&&(p.repeatDelay=Ti(p.repeatDelay)),!u||!h||d6.current||r.type===!1||g_.skipAnimations)return i_(p);if(!i.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const f=n_(t,e,p);if(f)return f}return pl(p)};function fl(e){return!!(mt(e)&&e.add)}const u1=e=>/^\-?\d*\.?\d+$/.test(e);function Pf(e,t){e.indexOf(t)===-1&&e.push(t)}function Af(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Lf{constructor(){this.subscriptions=[]}add(t){return Pf(this.subscriptions,t),()=>Af(this.subscriptions,t)}notify(t,n,i){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,i);else for(let r=0;r!isNaN(parseFloat(e));class v_{constructor(t,n={}){this.version="10.17.12",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(i,o=!0)=>{this.prev=this.current,this.current=i;const{delta:r,timestamp:s}=Ze;this.lastUpdated!==s&&(this.timeDelta=r,this.lastUpdated=s,ve.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>ve.postRender(this.velocityCheck),this.velocityCheck=({timestamp:i})=>{i!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=b_(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Lf);const i=this.events[t].add(n);return t==="change"?()=>{i(),ve.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,i){this.set(n),this.prev=t,this.timeDelta=i}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?s1(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Mo(e,t){return new v_(e,t)}const h1=e=>t=>t.test(e),y_={test:e=>e==="auto",parse:e=>e},p1=[Wi,X,rn,Dn,E$,S$,y_],lr=e=>p1.find(h1(e)),x_=[...p1,tt,ri],w_=e=>x_.find(h1(e));function k_(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Mo(n))}function C_(e,t){const n=Ec(e,t);let{transitionEnd:i={},transition:o={},...r}=n?e.makeTargetAnimatable(n,!1):{};r={...r,...i};for(const s in r){const a=V$(r[s]);k_(e,s,a)}}function S_(e,t,n){var i,o;const r=Object.keys(t).filter(a=>!e.hasValue(a)),s=r.length;if(s)for(let a=0;al.remove(u))),c.push(x)}return s&&Promise.all(c).then(()=>{s&&C_(e,s)}),c}function dh(e,t,n={}){const i=Ec(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const r=i?()=>Promise.all(f1(e,i,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:u}=o;return L_(e,t,c+l,d,u,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[l,c]=a==="beforeChildren"?[r,s]:[s,r];return l().then(()=>c())}else return Promise.all([r(),s(n.delay)])}function L_(e,t,n=0,i=0,o=1,r){const s=[],a=(e.variantChildren.size-1)*i,l=o===1?(c=0)=>c*i:(c=0)=>a-c*i;return Array.from(e.variantChildren).sort(I_).forEach((c,d)=>{c.notify("AnimationStart",t),s.push(dh(c,t,{...r,delay:n+l(d)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function I_(e,t){return e.sortNodePosition(t)}function O_(e,t,n={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const o=t.map(r=>dh(e,r,n));i=Promise.all(o)}else if(typeof t=="string")i=dh(e,t,n);else{const o=typeof t=="function"?Ec(e,t,n.custom):t;i=Promise.all(f1(e,o,n))}return i.then(()=>e.notify("AnimationComplete",t))}const R_=[...uf].reverse(),D_=uf.length;function $_(e){return t=>Promise.all(t.map(({animation:n,options:i})=>O_(e,n,i)))}function __(e){let t=$_(e);const n=M_();let i=!0;const o=(l,c)=>{const d=Ec(e,c);if(d){const{transition:u,transitionEnd:h,...p}=d;l={...l,...p,...h}}return l};function r(l){t=l(e)}function s(l,c){const d=e.getProps(),u=e.getVariantContext(!0)||{},h=[],p=new Set;let f={},m=1/0;for(let b=0;bm&&E,D=!1;const R=Array.isArray(w)?w:[w];let V=R.reduce(o,{});S===!1&&(V={});const{prevResolvedValues:Y={}}=v,K={...Y,...V},G=Z=>{A=!0,p.has(Z)&&(D=!0,p.delete(Z)),v.needsAnimating[Z]=!0};for(const Z in K){const Q=V[Z],I=Y[Z];if(f.hasOwnProperty(Z))continue;let $=!1;dl(Q)&&dl(I)?$=!Mk(Q,I):$=Q!==I,$?Q!==void 0?G(Z):p.add(Z):Q!==void 0&&p.has(Z)?G(Z):v.protectedKeys[Z]=!0}v.prevProp=w,v.prevResolvedValues=V,v.isActive&&(f={...f,...V}),i&&e.blockInitialAnimation&&(A=!1),A&&(!k||D)&&h.push(...R.map(Z=>({animation:Z,options:{type:g,...l}})))}if(p.size){const b={};p.forEach(g=>{const v=e.getBaseTarget(g);v!==void 0&&(b[g]=v)}),h.push({animation:b})}let x=!!h.length;return i&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(x=!1),i=!1,x?t(h):Promise.resolve()}function a(l,c,d){var u;if(n[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(p=>{var f;return(f=p.animationState)===null||f===void 0?void 0:f.setActive(l,c)}),n[l].isActive=c;const h=s(d,l);for(const p in n)n[p].protectedKeys={};return h}return{animateChanges:s,setActive:a,setAnimateFunction:r,getState:()=>n}}function z_(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Mk(t,e):!1}function hi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function M_(){return{animate:hi(!0),whileInView:hi(),whileHover:hi(),whileTap:hi(),whileDrag:hi(),whileFocus:hi(),exit:hi()}}class B_ extends ci{constructor(t){super(t),t.animationState||(t.animationState=__(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),wc(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let j_=0;class V_ extends ci{constructor(){super(...arguments),this.id=j_++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:i}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const r=this.node.animationState.setActive("exit",!t,{custom:i??this.node.getProps().custom});n&&!t&&r.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const F_={animation:{Feature:B_},exit:{Feature:V_}},Yb=(e,t)=>Math.abs(e-t);function H_(e,t){const n=Yb(e.x,t.x),i=Yb(e.y,t.y);return Math.sqrt(n**2+i**2)}class m1{constructor(t,n,{transformPagePoint:i,contextWindow:o,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=Od(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,p=H_(u.offset,{x:0,y:0})>=3;if(!h&&!p)return;const{point:f}=u,{timestamp:m}=Ze;this.history.push({...f,timestamp:m});const{onStart:x,onMove:b}=this.handlers;h||(x&&x(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,u)},this.handlePointerMove=(u,h)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=Id(h,this.transformPagePoint),ve.update(this.updatePoint,!0)},this.handlePointerUp=(u,h)=>{this.end();const{onEnd:p,onSessionEnd:f,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=Od(u.type==="pointercancel"?this.lastMoveEventInfo:Id(h,this.transformPagePoint),this.history);this.startEvent&&p&&p(u,x),f&&f(u,x)},!Rk(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=i,this.contextWindow=o||window;const s=Sc(t),a=Id(s,this.transformPagePoint),{point:l}=a,{timestamp:c}=Ze;this.history=[{...l,timestamp:c}];const{onSessionStart:d}=n;d&&d(t,Od(a,this.history)),this.removeListeners=Qn(yn(this.contextWindow,"pointermove",this.handlePointerMove),yn(this.contextWindow,"pointerup",this.handlePointerUp),yn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Tn(this.updatePoint)}}function Id(e,t){return t?{point:t(e.point)}:e}function Kb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Od({point:e},t){return{point:e,delta:Kb(e,g1(t)),offset:Kb(e,N_(t)),velocity:U_(t,.1)}}function N_(e){return e[0]}function g1(e){return e[e.length-1]}function U_(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const o=g1(e);for(;n>=0&&(i=e[n],!(o.timestamp-i.timestamp>Ti(t)));)n--;if(!i)return{x:0,y:0};const r=xn(o.timestamp-i.timestamp);if(r===0)return{x:0,y:0};const s={x:(o.x-i.x)/r,y:(o.y-i.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function wt(e){return e.max-e.min}function uh(e,t=0,n=.01){return Math.abs(e-t)<=n}function Xb(e,t,n,i=.5){e.origin=i,e.originPoint=Se(t.min,t.max,e.origin),e.scale=wt(n)/wt(t),(uh(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Se(n.min,n.max,e.origin)-e.originPoint,(uh(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Or(e,t,n,i){Xb(e.x,t.x,n.x,i?i.originX:void 0),Xb(e.y,t.y,n.y,i?i.originY:void 0)}function Gb(e,t,n){e.min=n.min+t.min,e.max=e.min+wt(t)}function W_(e,t,n){Gb(e.x,t.x,n.x),Gb(e.y,t.y,n.y)}function Qb(e,t,n){e.min=t.min-n.min,e.max=e.min+wt(t)}function Rr(e,t,n){Qb(e.x,t.x,n.x),Qb(e.y,t.y,n.y)}function q_(e,{min:t,max:n},i){return t!==void 0&&en&&(e=i?Se(n,e,i.max):Math.min(e,n)),e}function Zb(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Y_(e,{top:t,left:n,bottom:i,right:o}){return{x:Zb(e.x,n,o),y:Zb(e.y,t,i)}}function Jb(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.mini?n=as(t.min,t.max-i,e.min):i>o&&(n=as(e.min,e.max-o,t.min)),oi(0,1,n)}function G_(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const hh=.35;function Q_(e=hh){return e===!1?e=0:e===!0&&(e=hh),{x:e0(e,"left","right"),y:e0(e,"top","bottom")}}function e0(e,t,n){return{min:t0(e,t),max:t0(e,n)}}function t0(e,t){return typeof e=="number"?e:e[t]||0}const n0=()=>({translate:0,scale:1,origin:0,originPoint:0}),go=()=>({x:n0(),y:n0()}),i0=()=>({min:0,max:0}),$e=()=>({x:i0(),y:i0()});function It(e){return[e("x"),e("y")]}function b1({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function Z_({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function J_(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function Rd(e){return e===void 0||e===1}function ph({scale:e,scaleX:t,scaleY:n}){return!Rd(e)||!Rd(t)||!Rd(n)}function mi(e){return ph(e)||v1(e)||e.z||e.rotate||e.rotateX||e.rotateY}function v1(e){return o0(e.x)||o0(e.y)}function o0(e){return e&&e!=="0%"}function ml(e,t,n){const i=e-n,o=t*i;return n+o}function r0(e,t,n,i,o){return o!==void 0&&(e=ml(e,o,i)),ml(e,n,i)+t}function fh(e,t=0,n=1,i,o){e.min=r0(e.min,t,n,i,o),e.max=r0(e.max,t,n,i,o)}function y1(e,{x:t,y:n}){fh(e.x,t.translate,t.scale,t.originPoint),fh(e.y,n.translate,n.scale,n.originPoint)}function e4(e,t,n,i=!1){const o=n.length;if(!o)return;t.x=t.y=1;let r,s;for(let a=0;a1.0000000000001||e<.999999999999?e:1}function zn(e,t){e.min=e.min+t,e.max=e.max+t}function a0(e,t,[n,i,o]){const r=t[o]!==void 0?t[o]:.5,s=Se(e.min,e.max,r);fh(e,t[n],t[i],s,t.scale)}const t4=["x","scaleX","originX"],n4=["y","scaleY","originY"];function bo(e,t){a0(e.x,t,t4),a0(e.y,t,n4)}function x1(e,t){return b1(J_(e.getBoundingClientRect(),t))}function i4(e,t,n){const i=x1(e,n),{scroll:o}=t;return o&&(zn(i.x,o.offset.x),zn(i.y,o.offset.y)),i}const w1=({current:e})=>e?e.ownerDocument.defaultView:null,o4=new WeakMap;class r4{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=$e(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=d=>{const{dragSnapToOrigin:u}=this.getProps();u?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Sc(d,"page").point)},r=(d,u)=>{const{drag:h,dragPropagation:p,onDragStart:f}=this.getProps();if(h&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=$k(h),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),It(x=>{let b=this.getAxisMotionValue(x).get()||0;if(rn.test(b)){const{projection:g}=this.visualElement;if(g&&g.layout){const v=g.layout.layoutBox[x];v&&(b=wt(v)*(parseFloat(b)/100))}}this.originPoint[x]=b}),f&&ve.update(()=>f(d,u),!1,!0);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},s=(d,u)=>{const{dragPropagation:h,dragDirectionLock:p,onDirectionLock:f,onDrag:m}=this.getProps();if(!h&&!this.openGlobalLock)return;const{offset:x}=u;if(p&&this.currentDirection===null){this.currentDirection=s4(x),this.currentDirection!==null&&f&&f(this.currentDirection);return}this.updateAxis("x",u.point,x),this.updateAxis("y",u.point,x),this.visualElement.render(),m&&m(d,u)},a=(d,u)=>this.stop(d,u),l=()=>It(d=>{var u;return this.getAnimationState(d)==="paused"&&((u=this.getAxisMotionValue(d).animation)===null||u===void 0?void 0:u.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new m1(t,{onSessionStart:o,onStart:r,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:w1(this.visualElement)})}stop(t,n){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&ve.update(()=>r(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,i){const{drag:o}=this.getProps();if(!i||!ta(t,o,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=q_(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:i}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,r=this.constraints;n&&fo(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=Y_(o.layoutBox,n):this.constraints=!1,this.elastic=Q_(i),r!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&It(s=>{this.getAxisMotionValue(s)&&(this.constraints[s]=G_(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!fo(t))return!1;const i=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const r=i4(i,o.root,this.visualElement.getTransformPagePoint());let s=K_(o.layout.layoutBox,r);if(n){const a=n(Z_(s));this.hasMutatedConstraints=!!a,a&&(s=b1(a))}return s}startAnimation(t){const{drag:n,dragMomentum:i,dragElastic:o,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=It(d=>{if(!ta(d,n,this.currentDirection))return;let u=l&&l[d]||{};s&&(u={min:0,max:0});const h=o?200:1e6,p=o?40:1e7,f={type:"inertia",velocity:i?t[d]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...r,...u};return this.startAxisValueAnimation(d,f)});return Promise.all(c).then(a)}startAxisValueAnimation(t,n){const i=this.getAxisMotionValue(t);return i.start(Tf(t,i,0,n))}stopAnimation(){It(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){It(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),i=this.visualElement.getProps(),o=i[n];return o||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){It(n=>{const{drag:i}=this.getProps();if(!ta(n,i,this.currentDirection))return;const{projection:o}=this.visualElement,r=this.getAxisMotionValue(n);if(o&&o.layout){const{min:s,max:a}=o.layout.layoutBox[n];r.set(t[n]-Se(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!fo(n)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};It(s=>{const a=this.getAxisMotionValue(s);if(a){const l=a.get();o[s]=X_({min:l,max:l},this.constraints[s])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),It(s=>{if(!ta(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];a.set(Se(l,c,o[s]))})}addListeners(){if(!this.visualElement.current)return;o4.set(this.visualElement,this);const t=this.visualElement.current,n=yn(t,"pointerdown",l=>{const{drag:c,dragListener:d=!0}=this.getProps();c&&d&&this.start(l)}),i=()=>{const{dragConstraints:l}=this.getProps();fo(l)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,r=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),i();const s=mn(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(It(d=>{const u=this.getAxisMotionValue(d);u&&(this.originPoint[d]+=l[d].translate,u.set(u.get()+l[d].translate))}),this.visualElement.render())});return()=>{s(),n(),r(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:o=!1,dragConstraints:r=!1,dragElastic:s=hh,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:i,dragPropagation:o,dragConstraints:r,dragElastic:s,dragMomentum:a}}}function ta(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function s4(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class a4 extends ci{constructor(t){super(t),this.removeGroupControls=Re,this.removeListeners=Re,this.controls=new r4(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Re}unmount(){this.removeGroupControls(),this.removeListeners()}}const l0=e=>(t,n)=>{e&&ve.update(()=>e(t,n))};class l4 extends ci{constructor(){super(...arguments),this.removePointerDownListener=Re}onPointerDown(t){this.session=new m1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:w1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:i,onPanEnd:o}=this.node.getProps();return{onSessionStart:l0(t),onStart:l0(n),onMove:i,onEnd:(r,s)=>{delete this.session,o&&ve.update(()=>o(r,s))}}}mount(){this.removePointerDownListener=yn(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function c4(){const e=q.useContext(cf);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:i}=e,o=q.useId();return q.useEffect(()=>i(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}const Ca={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function c0(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const cr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(X.test(e))e=parseFloat(e);else return e;const n=c0(e,t.target.x),i=c0(e,t.target.y);return`${n}% ${i}%`}},d4={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,o=ri.parse(e);if(o.length>5)return i;const r=ri.createTransformer(e),s=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const c=Se(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=c),typeof o[3+s]=="number"&&(o[3+s]/=c),r(o)}};class u4 extends P.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i,layoutId:o}=this.props,{projection:r}=t;b$(h4),r&&(n.group&&n.group.add(r),i&&i.register&&o&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Ca.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:i,drag:o,isPresent:r}=this.props,s=i.projection;return s&&(s.isPresent=r,o||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||ve.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),i&&i.deregister&&i.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function k1(e){const[t,n]=c4(),i=q.useContext(bk);return P.createElement(u4,{...e,layoutGroup:i,switchLayoutGroup:q.useContext(vk),isPresent:t,safeToRemove:n})}const h4={borderRadius:{...cr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:cr,borderTopRightRadius:cr,borderBottomLeftRadius:cr,borderBottomRightRadius:cr,boxShadow:d4},C1=["TopLeft","TopRight","BottomLeft","BottomRight"],p4=C1.length,d0=e=>typeof e=="string"?parseFloat(e):e,u0=e=>typeof e=="number"||X.test(e);function f4(e,t,n,i,o,r){o?(e.opacity=Se(0,n.opacity!==void 0?n.opacity:1,m4(i)),e.opacityExit=Se(t.opacity!==void 0?t.opacity:1,0,g4(i))):r&&(e.opacity=Se(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let s=0;sit?1:n(as(e,t,i))}function p0(e,t){e.min=t.min,e.max=t.max}function Lt(e,t){p0(e.x,t.x),p0(e.y,t.y)}function f0(e,t,n,i,o){return e-=t,e=ml(e,1/n,i),o!==void 0&&(e=ml(e,1/o,i)),e}function b4(e,t=0,n=1,i=.5,o,r=e,s=e){if(rn.test(t)&&(t=parseFloat(t),t=Se(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=Se(r.min,r.max,i);e===r&&(a-=t),e.min=f0(e.min,t,n,a,o),e.max=f0(e.max,t,n,a,o)}function m0(e,t,[n,i,o],r,s){b4(e,t[n],t[i],t[o],t.scale,r,s)}const v4=["x","scaleX","originX"],y4=["y","scaleY","originY"];function g0(e,t,n,i){m0(e.x,t,v4,n?n.x:void 0,i?i.x:void 0),m0(e.y,t,y4,n?n.y:void 0,i?i.y:void 0)}function b0(e){return e.translate===0&&e.scale===1}function E1(e){return b0(e.x)&&b0(e.y)}function x4(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function T1(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function v0(e){return wt(e.x)/wt(e.y)}class w4{constructor(){this.members=[]}add(t){Pf(this.members,t),t.scheduleRender()}remove(t){if(Af(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let i;for(let o=n;o>=0;o--){const r=this.members[o];if(r.isPresent!==!1){i=r;break}}return i?(this.promote(i),!0):!1}promote(t,n){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:i}=t;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function y0(e,t,n){let i="";const o=e.x.translate/t.x,r=e.y.translate/t.y;if((o||r)&&(i=`translate3d(${o}px, ${r}px, 0) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:c,rotateY:d}=n;l&&(i+=`rotate(${l}deg) `),c&&(i+=`rotateX(${c}deg) `),d&&(i+=`rotateY(${d}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return(s!==1||a!==1)&&(i+=`scale(${s}, ${a})`),i||"none"}const k4=(e,t)=>e.depth-t.depth;class C4{constructor(){this.children=[],this.isDirty=!1}add(t){Pf(this.children,t),this.isDirty=!0}remove(t){Af(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(k4),this.isDirty=!1,this.children.forEach(t)}}function S4(e,t){const n=performance.now(),i=({timestamp:o})=>{const r=o-n;r>=t&&(Tn(i),e(r-t))};return ve.read(i,!0),()=>Tn(i)}function E4(e){window.MotionDebug&&window.MotionDebug.record(e)}function T4(e){return e instanceof SVGElement&&e.tagName!=="svg"}function P4(e,t,n){const i=mt(e)?e:Mo(e);return i.start(Tf("",i,t,n)),i.animation}const x0=["","X","Y","Z"],A4={visibility:"hidden"},w0=1e3;let L4=0;const gi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function P1({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(s={},a=t==null?void 0:t()){this.id=L4++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,gi.totalNodes=gi.resolvedTargetDeltas=gi.recalculatedProjection=0,this.nodes.forEach(R4),this.nodes.forEach(M4),this.nodes.forEach(B4),this.nodes.forEach(D4),E4(gi)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,u&&u(),u=S4(h,250),Ca.hasAnimatedSinceResize&&(Ca.hasAnimatedSinceResize=!1,this.nodes.forEach(C0))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&d&&(l||c)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:h,hasRelativeTargetChanged:p,layout:f})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||d.getDefaultTransition()||N4,{onLayoutAnimationStart:x,onLayoutAnimationComplete:b}=d.getProps(),g=!this.targetLayout||!T1(this.targetLayout,f)||p,v=!h&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||h&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(u,v);const w={...Ef(m,"layout"),onPlay:x,onComplete:b};(d.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else h||C0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=f})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Tn(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(j4),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;dthis.update()))}clearAllSnapshots(){this.nodes.forEach($4),this.sharedNodes.forEach(V4)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ve.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ve.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const E=w/1e3;S0(u.x,s.x,E),S0(u.y,s.y,E),this.setTargetDelta(u),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Rr(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),F4(this.relativeTarget,this.relativeTargetOrigin,h,E),v&&x4(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=$e()),Lt(v,this.relativeTarget)),m&&(this.animationValues=d,f4(d,c,this.latestValues,E,g,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Tn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ve.update(()=>{Ca.hasAnimatedSinceResize=!0,this.currentAnimation=P4(0,w0,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(w0),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:d}=s;if(!(!a||!l||!c)){if(this!==s&&this.layout&&c&&A1(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||$e();const u=wt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+u;const h=wt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+h}Lt(a,l),bo(a,d),Or(this.projectionDeltaWithTransform,this.layoutCorrected,a,d)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new w4),this.sharedNodes.get(s).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(a=!0),!a)return;const c={};for(let d=0;d{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(k0),this.root.sharedNodes.clear()}}}function I4(e){e.updateLayout()}function O4(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:o}=e.layout,{animationType:r}=e.options,s=n.source!==e.layout.source;r==="size"?It(u=>{const h=s?n.measuredBox[u]:n.layoutBox[u],p=wt(h);h.min=i[u].min,h.max=h.min+p}):A1(r,n.layoutBox,i)&&It(u=>{const h=s?n.measuredBox[u]:n.layoutBox[u],p=wt(i[u]);h.max=h.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[u].max=e.relativeTarget[u].min+p)});const a=go();Or(a,i,n.layoutBox);const l=go();s?Or(l,e.applyTransform(o,!0),n.measuredBox):Or(l,i,n.layoutBox);const c=!E1(a);let d=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:h,layout:p}=u;if(h&&p){const f=$e();Rr(f,n.layoutBox,h.layoutBox);const m=$e();Rr(m,i,p.layoutBox),T1(f,m)||(d=!0),u.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=f,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeTargetChanged:d})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function R4(e){gi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function D4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function $4(e){e.clearSnapshot()}function k0(e){e.clearMeasurements()}function _4(e){e.isLayoutDirty=!1}function z4(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function C0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function M4(e){e.resolveTargetDelta()}function B4(e){e.calcProjection()}function j4(e){e.resetRotation()}function V4(e){e.removeLeadSnapshot()}function S0(e,t,n){e.translate=Se(t.translate,0,n),e.scale=Se(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function E0(e,t,n,i){e.min=Se(t.min,n.min,i),e.max=Se(t.max,n.max,i)}function F4(e,t,n,i){E0(e.x,t.x,n.x,i),E0(e.y,t.y,n.y,i)}function H4(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const N4={duration:.45,ease:[.4,0,.1,1]},T0=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),P0=T0("applewebkit/")&&!T0("chrome/")?Math.round:Re;function A0(e){e.min=P0(e.min),e.max=P0(e.max)}function U4(e){A0(e.x),A0(e.y)}function A1(e,t,n){return e==="position"||e==="preserve-aspect"&&!uh(v0(t),v0(n),.2)}const W4=P1({attachResizeListener:(e,t)=>mn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Dd={current:void 0},L1=P1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Dd.current){const e=new W4({});e.mount(window),e.setOptions({layoutScroll:!0}),Dd.current=e}return Dd.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),q4={pan:{Feature:l4},drag:{Feature:a4,ProjectionNode:L1,MeasureLayout:k1}},Y4=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function K4(e){const t=Y4.exec(e);if(!t)return[,];const[,n,i]=t;return[n,i]}function mh(e,t,n=1){const[i,o]=K4(e);if(!i)return;const r=window.getComputedStyle(t).getPropertyValue(i);if(r){const s=r.trim();return u1(s)?parseFloat(s):s}else return oh(o)?mh(o,t,n+1):o}function X4(e,{...t},n){const i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(o=>{const r=o.get();if(!oh(r))return;const s=mh(r,i);s&&o.set(s)});for(const o in t){const r=t[o];if(!oh(r))continue;const s=mh(r,i);s&&(t[o]=s,n||(n={}),n[o]===void 0&&(n[o]=r))}return{target:t,transitionEnd:n}}const G4=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),I1=e=>G4.has(e),Q4=e=>Object.keys(e).some(I1),L0=e=>e===Wi||e===X,I0=(e,t)=>parseFloat(e.split(", ")[t]),O0=(e,t)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/);if(o)return I0(o[1],t);{const r=i.match(/^matrix\((.+)\)$/);return r?I0(r[1],e):0}},Z4=new Set(["x","y","z"]),J4=ks.filter(e=>!Z4.has(e));function ez(e){const t=[];return J4.forEach(n=>{const i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Bo={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:O0(4,13),y:O0(5,14)};Bo.translateX=Bo.x;Bo.translateY=Bo.y;const tz=(e,t,n)=>{const i=t.measureViewportBox(),o=t.current,r=getComputedStyle(o),{display:s}=r,a={};s==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(c=>{a[c]=Bo[c](i,r)}),t.render();const l=t.measureViewportBox();return n.forEach(c=>{const d=t.getValue(c);d&&d.jump(a[c]),e[c]=Bo[c](l,r)}),e},nz=(e,t,n={},i={})=>{t={...t},i={...i};const o=Object.keys(t).filter(I1);let r=[],s=!1;const a=[];if(o.forEach(l=>{const c=e.getValue(l);if(!e.hasValue(l))return;let d=n[l],u=lr(d);const h=t[l];let p;if(dl(h)){const f=h.length,m=h[0]===null?1:0;d=h[m],u=lr(d);for(let x=m;x=0?window.pageYOffset:null,c=tz(t,e,a);return r.length&&r.forEach(([d,u])=>{e.getValue(d).set(u)}),e.render(),xc&&l!==null&&window.scrollTo({top:l}),{target:c,transitionEnd:i}}else return{target:t,transitionEnd:i}};function iz(e,t,n,i){return Q4(t)?nz(e,t,n,i):{target:t,transitionEnd:i}}const oz=(e,t,n,i)=>{const o=X4(e,t,i);return t=o.target,i=o.transitionEnd,iz(e,t,n,i)},gh={current:null},O1={current:!1};function rz(){if(O1.current=!0,!!xc)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>gh.current=e.matches;e.addListener(t),t()}else gh.current=!1}function sz(e,t,n){const{willChange:i}=t;for(const o in t){const r=t[o],s=n[o];if(mt(r))e.addValue(o,r),fl(i)&&i.add(o);else if(mt(s))e.addValue(o,Mo(r,{owner:e})),fl(i)&&i.remove(o);else if(s!==r)if(e.hasValue(o)){const a=e.getValue(o);!a.hasAnimated&&a.set(r)}else{const a=e.getStaticValue(o);e.addValue(o,Mo(a!==void 0?a:r,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const R0=new WeakMap,R1=Object.keys(ss),az=R1.length,D0=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],lz=hf.length;class cz{constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:o,visualState:r},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>ve.render(this.render,!1,!0);const{latestValues:a,renderState:l}=r;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.isControllingVariants=kc(n),this.isVariantNode=gk(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{});for(const u in d){const h=d[u];a[u]!==void 0&&mt(h)&&(h.set(a[u],!1),fl(c)&&c.add(u))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,R0.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),O1.current||rz(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:gh.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){R0.delete(this.current),this.projection&&this.projection.unmount(),Tn(this.notifyUpdate),Tn(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const i=Ui.has(t),o=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ve.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),r=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),r()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},i,o,r){let s,a;for(let l=0;lthis.scheduleRender(),animationType:typeof c=="string"?c:"both",initialPromotionConfig:r,layoutScroll:h,layoutRoot:p})}return a}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):$e()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;in.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&n!==void 0&&(i=Mo(n,{owner:this}),this.addValue(t,i)),i}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:i}=this.props,o=typeof i=="string"||typeof i=="object"?(n=yf(this.props,i))===null||n===void 0?void 0:n[t]:void 0;if(i&&o!==void 0)return o;const r=this.getBaseTargetFromProps(this.props,t);return r!==void 0&&!mt(r)?r:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Lf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class D1 extends cz{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...i},{transformValues:o},r){let s=T_(i,t||{},this);if(o&&(n&&(n=o(n)),i&&(i=o(i)),s&&(s=o(s))),r){S_(this,i,s);const a=oz(this,i,s,n);n=a.transitionEnd,i=a.target}return{transition:t,transitionEnd:n,...i}}}function dz(e){return window.getComputedStyle(e)}class uz extends D1{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(Ui.has(n)){const i=Sf(n);return i&&i.default||0}else{const i=dz(t),o=(wk(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return x1(t,n)}build(t,n,i,o){ff(t,n,i,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return vf(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;mt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,i,o){Pk(t,n,i,o)}}class hz extends D1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ui.has(n)){const i=Sf(n);return i&&i.default||0}return n=Ak.has(n)?n:df(n),t.getAttribute(n)}measureInstanceViewportBox(){return $e()}scrapeMotionValuesFromProps(t,n){return Ik(t,n)}build(t,n,i,o){gf(t,n,i,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,i,o){Lk(t,n,i,o)}mount(t){this.isSVGTag=bf(t.tagName),super.mount(t)}}const pz=(e,t)=>pf(e)?new hz(t,{enableHardwareAcceleration:!1}):new uz(t,{enableHardwareAcceleration:!0}),fz={layout:{ProjectionNode:L1,MeasureLayout:k1}},mz={...F_,...a6,...q4,...fz},gz=m$((e,t)=>K$(e,t,mz,pz));function bz(e,t,n,i){t(e.detail.value),n(o=>({...o,agentType:e.detail.value})),e.detail.value==="mcts"?i(!0):i(!1)}function vz(e,t,n){t(e.detail.value),n(i=>({...i,rolloutPolicy:e.detail.value}))}function yz({setCpuConfig:e}){var h;const[t,n]=P.useState("random"),[i,o]=P.useState(!1),[r,s]=P.useState("random"),[a,l]=P.useState(500),c=q.useRef(null);function d(){var p;(p=c.current)==null||p.dismiss()}function u(){return j.jsx(j.Fragment,{children:j.jsxs(Ku,{children:[j.jsx(ga,{children:j.jsx(LR,{"aria-label":"Custom range",min:50,max:5e3,value:a,pin:!0,ticks:!0,snaps:!0,label:"Amount of simulations",onIonChange:p=>{l(Number(p.detail.value)),e(f=>({...f,simulations:Number(p.detail.value)}))}})}),j.jsx(ga,{children:j.jsxs(Kg,{value:r,placeholder:"Select rollout policy",interface:"popover",onIonChange:p=>{vz(p,s,e)},children:[j.jsx(rr,{value:"random",children:"Random"}),j.jsx(rr,{value:"sac",children:"SAC"})]})})]})})}return j.jsx(j.Fragment,{children:j.jsx(_R,{className:"custom-modal-class",id:"example-modal",ref:c,trigger:"open-modal",style:{left:(h=document.getElementById("ion-menu"))==null?void 0:h.clientWidth},children:j.jsxs("div",{className:"wrapper",children:[j.jsxs(Bp,{children:[j.jsx(Mp,{children:"Modal"}),j.jsx(yw,{slot:"end",children:j.jsx(Xu,{color:"light",onClick:()=>d(),children:"Close"})})]}),j.jsxs(Ku,{children:[j.jsx(ga,{children:j.jsxs(Kg,{value:t,interface:"popover",onIonChange:p=>{bz(p,n,e,o)},children:[j.jsx(rr,{value:"random",children:"Random"}),j.jsx(rr,{value:"mcts",children:"MCTS"}),j.jsx(rr,{value:"sac",children:"SAC"})]})}),i?j.jsx(u,{}):null]})]})})})}const xz="/assets/board-white-zmHgxZbl.svg",wz="/assets/board-black-W3529IXs.svg",gl="https://c-gohlke-litrl-api.hf.space";async function kz(e,t){let n=await ke.get(gl+"/connect_four/reset");console.log("response post action is",n),e(n.data.grid),t(n.data.done)}async function Cz(e,t,n,i){let o={headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"},params:{action:e}},r=await ke.post(gl+"/connect_four/play","",o);if(console.log("response post action is",r),t(r.data.grid),n(r.data.done),!r.data.done){let s={headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}};r=await ke.post(gl+"/connect_four/bot_play",{agent_type:i.agentType,rollout_policy:i.rolloutPolicy,simulations:i.simulations},s),console.log("response from bot is",r),t(r.data.grid),n(r.data.done)}}const If=2.5,Of=13.9,Sz=4,$1=14.8;function Ez(e,t){if(t===null)return null;let n;if(e===1)n=i$;else if(e===2)n=o$;else return null;return j.jsx("div",{className:"marker",style:{left:If+t*Of+"%",top:"0%"},children:j.jsx(Yu,{src:n})})}function Tz(e,t,n){let i;if(console.log("animating disk",n),n==1)i=t$;else if(n==2)i=n$;else return null;const o=11.5,r=11.5,s=Sz+t*$1+"%";return j.jsx(gz.img,{src:i,className:"disk",animate:{top:["0%",s],transition:{duration:.5}},style:{left:If+e*Of+"%",width:o+"%",height:r+"%",position:"absolute"}},e+"|"+t)}function Pz(e){return e===null?null:e.map((t,n)=>t.map((i,o)=>{let r;if(i[0]===1)r=2;else if(i[1]===1)r=1;else return null;return j.jsx("div",{children:Tz(o,n,r)})}))}const Az=()=>{const[e,t]=q.useState(null),[n,i]=q.useState(null),[o,r]=q.useState(null),[s,a]=P.useState({agentType:"random"});return q.useEffect(()=>{ke.get(gl+"/connect_four/observe").then(c=>{console.log("observation response is",c),i(c.data.grid),r(c.data.done)})},[]),j.jsxs(j.Fragment,{children:[j.jsx(kR,{children:j.jsxs(IR,{children:[j.jsx(Yg,{children:j.jsx(Xu,{id:"open-modal",expand:"block",style:{maxWidth:"80%",margin:"auto"},children:"Config"})}),j.jsx(Yg,{children:j.jsx(Xu,{id:"restart-game",expand:"block",style:{maxWidth:"80%",margin:"auto"},onClick:()=>{kz(i,r)},children:"Restart"})})]})}),j.jsxs("div",{className:"grid-stack",children:[j.jsx(Yu,{src:xz,className:"board white-board"}),j.jsx(Yu,{src:wz,className:"board black-board"}),Array.from({length:7}).map((c,d)=>j.jsx("svg",{className:"column",style:{left:If+d*Of+"%",width:$1+"%"},onMouseLeave:()=>t(null),onMouseOver:()=>t(d),onClick:()=>{o?console.log("Game is done"):Cz(d,i,r,s)}},d)),!o&&Ez(1,e),j.jsx(j.Fragment,{children:Pz(n)}),j.jsx(yz,{setCpuConfig:a})]})]})},Lz=({name:e})=>j.jsx(ww,{children:j.jsxs(Bp,{children:[j.jsx(yw,{slot:"start",children:j.jsx(TR,{})}),j.jsx(Mp,{children:e})]})}),Iz=({name:e})=>j.jsx(ww,{collapse:"condense",children:j.jsx(Bp,{children:j.jsx(Mp,{size:"large",children:e})})}),$0=({name:e,Container:t})=>j.jsxs(UR,{children:[j.jsx(Lz,{name:e}),j.jsxs(xw,{fullscreen:!0,children:[j.jsx(Iz,{name:e}),j.jsx(t,{name:e})]})]}),Oz=()=>{const{name:e}=kD();if(["CartPole-v1","LunarLander-v2"].includes(e))return j.jsx($0,{name:e,Container:e$});if(e=="ConnectFour")return j.jsx($0,{name:e,Container:Az});throw Error("Page not found")};r5();const Rz=()=>j.jsx(HR,{children:j.jsx(ID,{children:j.jsxs(OR,{contentId:"main",children:[j.jsx(_D,{}),j.jsxs(QR,{id:"main",children:[j.jsx(Zu,{path:"/",exact:!0,children:j.jsx(fD,{to:"/folder/LunarLander-v2"})}),j.jsx(Zu,{path:"/folder/:name",exact:!0,children:j.jsx(Oz,{})})]})]})})}),Dz=document.getElementById("root"),$z=Ky(Dz);$z.render(j.jsx(P.StrictMode,{children:j.jsx(Rz,{})}));export{ew as K,at as a,ei as b,_l as c,Gn as d,gp as e,Zx as f,hx as g,Vu as h,Pr as i,Ae as j,Ie as k,Sg as l,Jz as m,Mz as n,U as o,Bz as p,jz as q,Do as r,Zz as s,Ft as w}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) }