@hotwax/dxp-components 1.7.0 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.cjs CHANGED
@@ -1,101 +1,109 @@
1
- "use strict";var T1=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("vue");require("vue-router");var Dc=!1;function $i(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function Ho(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function Mh(){return Lc().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Lc(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const Rh=typeof Proxy=="function",Fh="devtools-plugin:setup",Vh="plugin:settings:set";let Dn,Tr;function Uh(){var e;return Dn!==void 0||(typeof window<"u"&&window.performance?(Dn=!0,Tr=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(Dn=!0,Tr=global.perf_hooks.performance):Dn=!1),Dn}function zh(){return Uh()?Tr.now():Date.now()}class Bh{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const i={};if(t.settings)for(const s in t.settings){const a=t.settings[s];i[s]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},i);try{const s=localStorage.getItem(o),a=JSON.parse(s);Object.assign(r,a)}catch{}this.fallbacks={getSettings(){return r},setSettings(s){try{localStorage.setItem(o,JSON.stringify(s))}catch{}r=s},now(){return zh()}},n&&n.on(Vh,(s,a)=>{s===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(s,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(s,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function gs(e,t){const n=e,i=Lc(),o=Mh(),r=Rh&&n.enableEarlyProxy;if(o&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(Fh,e,t);else{const s=r?new Bh(n,o):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}/*!
1
+ "use strict";var pT=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("vue");require("vue-router");var Gc=!1;function Mo(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function Yi(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function Zh(){return qc().__VUE_DEVTOOLS_GLOBAL_HOOK__}function qc(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const Jh=typeof Proxy=="function",Qh="devtools-plugin:setup",em="plugin:settings:set";let Pn,Dr;function tm(){var e;return Pn!==void 0||(typeof window<"u"&&window.performance?(Pn=!0,Dr=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(Pn=!0,Dr=global.perf_hooks.performance):Pn=!1),Pn}function nm(){return tm()?Dr.now():Date.now()}class om{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const o={};if(t.settings)for(const s in t.settings){const a=t.settings[s];o[s]=a.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},o);try{const s=localStorage.getItem(i),a=JSON.parse(s);Object.assign(r,a)}catch{}this.fallbacks={getSettings(){return r},setSettings(s){try{localStorage.setItem(i,JSON.stringify(s))}catch{}r=s},now(){return nm()}},n&&n.on(em,(s,a)=>{s===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(s,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(s,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function _s(e,t){const n=e,o=qc(),i=Zh(),r=Jh&&n.enableEarlyProxy;if(i&&(o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))i.emit(Qh,e,t);else{const s=r?new om(n,i):null;(o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}/*!
2
2
  * pinia v2.0.36
3
3
  * (c) 2023 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */let li;const gi=e=>li=e,$c=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function bn(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Tt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Tt||(Tt={}));const ko=typeof window<"u",ui=(process.env.NODE_ENV!=="production"||!1)&&process.env.NODE_ENV!=="test"&&ko,_a=(()=>typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null})();function Hh(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}function bs(e,t,n){const i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){Rc(i.response,t,n)},i.onerror=function(){console.error("could not download file")},i.send()}function Pc(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function Zi(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}const Ji=typeof navigator=="object"?navigator:{userAgent:""},Mc=(()=>/Macintosh/.test(Ji.userAgent)&&/AppleWebKit/.test(Ji.userAgent)&&!/Safari/.test(Ji.userAgent))(),Rc=ko?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!Mc?Wh:"msSaveOrOpenBlob"in Ji?jh:Yh:()=>{};function Wh(e,t="download",n){const i=document.createElement("a");i.download=t,i.rel="noopener",typeof e=="string"?(i.href=e,i.origin!==location.origin?Pc(i.href)?bs(e,t,n):(i.target="_blank",Zi(i)):Zi(i)):(i.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(i.href)},4e4),setTimeout(function(){Zi(i)},0))}function jh(e,t="download",n){if(typeof e=="string")if(Pc(e))bs(e,t,n);else{const i=document.createElement("a");i.href=e,i.target="_blank",setTimeout(function(){Zi(i)})}else navigator.msSaveOrOpenBlob(Hh(e,n),t)}function Yh(e,t,n,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),typeof e=="string")return bs(e,t,n);const o=e.type==="application/octet-stream",r=/constructor/i.test(String(_a.HTMLElement))||"safari"in _a,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||o&&r||Mc)&&typeof FileReader<"u"){const a=new FileReader;a.onloadend=function(){let l=a.result;if(typeof l!="string")throw i=null,new Error("Wrong reader.result type");l=s?l:l.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=l:location.assign(l),i=null},a.readAsDataURL(e)}else{const a=URL.createObjectURL(e);i?i.location.assign(a):location.href=a,i=null,setTimeout(function(){URL.revokeObjectURL(a)},4e4)}}function Te(e,t){const n="🍍 "+e;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(n,t):t==="error"?console.error(n):t==="warn"?console.warn(n):console.log(n)}function vs(e){return"_a"in e&&"install"in e}function Fc(){if(!("clipboard"in navigator))return Te("Your browser doesn't support the Clipboard API","error"),!0}function Vc(e){return e instanceof Error&&e.message.toLowerCase().includes("document is not focused")?(Te('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}async function Gh(e){if(!Fc())try{await navigator.clipboard.writeText(JSON.stringify(e.state.value)),Te("Global state copied to clipboard.")}catch(t){if(Vc(t))return;Te("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}async function qh(e){if(!Fc())try{e.state.value=JSON.parse(await navigator.clipboard.readText()),Te("Global state pasted from clipboard.")}catch(t){if(Vc(t))return;Te("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}async function Kh(e){try{Rc(new Blob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){Te("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}let $t;function Xh(){$t||($t=document.createElement("input"),$t.type="file",$t.accept=".json");function e(){return new Promise((t,n)=>{$t.onchange=async()=>{const i=$t.files;if(!i)return t(null);const o=i.item(0);return t(o?{text:await o.text(),file:o}:null)},$t.oncancel=()=>t(null),$t.onerror=n,$t.click()})}return e}async function Zh(e){try{const n=await(await Xh())();if(!n)return;const{text:i,file:o}=n;e.state.value=JSON.parse(i),Te(`Global state imported from "${o.name}".`)}catch(t){Te("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}function ft(e){return{_custom:{display:e}}}const Uc="🍍 Pinia (root)",Ir="_root";function Jh(e){return vs(e)?{id:Ir,label:Uc}:{id:e.$id,label:e.$id}}function Qh(e){if(vs(e)){const n=Array.from(e._s.keys()),i=e._s;return{state:n.map(r=>({editable:!0,key:r,value:e.state.value[r]})),getters:n.filter(r=>i.get(r)._getters).map(r=>{const s=i.get(r);return{editable:!1,key:r,value:s._getters.reduce((a,l)=>(a[l]=s[l],a),{})}})}}const t={state:Object.keys(e.$state).map(n=>({editable:!0,key:n,value:e.$state[n]}))};return e._getters&&e._getters.length&&(t.getters=e._getters.map(n=>({editable:!1,key:n,value:e[n]}))),e._customProperties.size&&(t.customProperties=Array.from(e._customProperties).map(n=>({editable:!0,key:n,value:e[n]}))),t}function em(e){return e?Array.isArray(e)?e.reduce((t,n)=>(t.keys.push(n.key),t.operations.push(n.type),t.oldValue[n.key]=n.oldValue,t.newValue[n.key]=n.newValue,t),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:ft(e.type),key:ft(e.key),oldValue:e.oldValue,newValue:e.newValue}:{}}function tm(e){switch(e){case Tt.direct:return"mutation";case Tt.patchFunction:return"$patch";case Tt.patchObject:return"$patch";default:return"unknown"}}let zn=!0;const Qi=[],cn="pinia:mutations",Le="pinia",{assign:nm}=Object,oo=e=>"🍍 "+e;function im(e,t){gs({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Qi,app:e},n=>{typeof n.now!="function"&&Te("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:cn,label:"Pinia 🍍",color:15064968}),n.addInspector({id:Le,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{Gh(t)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await qh(t),n.sendInspectorTree(Le),n.sendInspectorState(Le)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{Kh(t)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await Zh(t),n.sendInspectorTree(Le),n.sendInspectorState(Le)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:"Reset the state (option store only)",action:i=>{const o=t._s.get(i);o?o._isOptionsAPI?(o.$reset(),Te(`Store "${i}" reset.`)):Te(`Cannot reset "${i}" store because it's a setup store.`,"warn"):Te(`Cannot reset "${i}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent((i,o)=>{const r=i.componentInstance&&i.componentInstance.proxy;if(r&&r._pStores){const s=i.componentInstance.proxy._pStores;Object.values(s).forEach(a=>{i.instanceData.state.push({type:oo(a.$id),key:"state",editable:!0,value:a._isOptionsAPI?{_custom:{value:m.toRaw(a.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>a.$reset()}]}}:Object.keys(a.$state).reduce((l,c)=>(l[c]=a.$state[c],l),{})}),a._getters&&a._getters.length&&i.instanceData.state.push({type:oo(a.$id),key:"getters",editable:!1,value:a._getters.reduce((l,c)=>{try{l[c]=a[c]}catch(d){l[c]=d}return l},{})})})}}),n.on.getInspectorTree(i=>{if(i.app===e&&i.inspectorId===Le){let o=[t];o=o.concat(Array.from(t._s.values())),i.rootNodes=(i.filter?o.filter(r=>"$id"in r?r.$id.toLowerCase().includes(i.filter.toLowerCase()):Uc.toLowerCase().includes(i.filter.toLowerCase())):o).map(Jh)}}),n.on.getInspectorState(i=>{if(i.app===e&&i.inspectorId===Le){const o=i.nodeId===Ir?t:t._s.get(i.nodeId);if(!o)return;o&&(i.state=Qh(o))}}),n.on.editInspectorState((i,o)=>{if(i.app===e&&i.inspectorId===Le){const r=i.nodeId===Ir?t:t._s.get(i.nodeId);if(!r)return Te(`store "${i.nodeId}" not found`,"error");const{path:s}=i;vs(r)?s.unshift("state"):(s.length!==1||!r._customProperties.has(s[0])||s[0]in r.$state)&&s.unshift("$state"),zn=!1,i.set(r,s,i.state.value),zn=!0}}),n.on.editComponentState(i=>{if(i.type.startsWith("🍍")){const o=i.type.replace(/^🍍\s*/,""),r=t._s.get(o);if(!r)return Te(`store "${o}" not found`,"error");const{path:s}=i;if(s[0]!=="state")return Te(`Invalid path for store "${o}":
5
+ */let uo;const yo=e=>uo=e,Kc=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function yn(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var St;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(St||(St={}));const Ei=typeof window<"u",mo=(process.env.NODE_ENV!=="production"||!1)&&process.env.NODE_ENV!=="test"&&Ei,Ra=(()=>typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null})();function im(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}function Es(e,t,n){const o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){Jc(o.response,t,n)},o.onerror=function(){console.error("could not download file")},o.send()}function Xc(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function ei(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}const ti=typeof navigator=="object"?navigator:{userAgent:""},Zc=(()=>/Macintosh/.test(ti.userAgent)&&/AppleWebKit/.test(ti.userAgent)&&!/Safari/.test(ti.userAgent))(),Jc=Ei?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!Zc?rm:"msSaveOrOpenBlob"in ti?sm:am:()=>{};function rm(e,t="download",n){const o=document.createElement("a");o.download=t,o.rel="noopener",typeof e=="string"?(o.href=e,o.origin!==location.origin?Xc(o.href)?Es(e,t,n):(o.target="_blank",ei(o)):ei(o)):(o.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(o.href)},4e4),setTimeout(function(){ei(o)},0))}function sm(e,t="download",n){if(typeof e=="string")if(Xc(e))Es(e,t,n);else{const o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){ei(o)})}else navigator.msSaveOrOpenBlob(im(e,n),t)}function am(e,t,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof e=="string")return Es(e,t,n);const i=e.type==="application/octet-stream",r=/constructor/i.test(String(Ra.HTMLElement))||"safari"in Ra,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||i&&r||Zc)&&typeof FileReader<"u"){const a=new FileReader;a.onloadend=function(){let l=a.result;if(typeof l!="string")throw o=null,new Error("Wrong reader.result type");l=s?l:l.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=l:location.assign(l),o=null},a.readAsDataURL(e)}else{const a=URL.createObjectURL(e);o?o.location.assign(a):location.href=a,o=null,setTimeout(function(){URL.revokeObjectURL(a)},4e4)}}function Te(e,t){const n="🍍 "+e;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(n,t):t==="error"?console.error(n):t==="warn"?console.warn(n):console.log(n)}function Ts(e){return"_a"in e&&"install"in e}function Qc(){if(!("clipboard"in navigator))return Te("Your browser doesn't support the Clipboard API","error"),!0}function ed(e){return e instanceof Error&&e.message.toLowerCase().includes("document is not focused")?(Te('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}async function lm(e){if(!Qc())try{await navigator.clipboard.writeText(JSON.stringify(e.state.value)),Te("Global state copied to clipboard.")}catch(t){if(ed(t))return;Te("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}async function cm(e){if(!Qc())try{e.state.value=JSON.parse(await navigator.clipboard.readText()),Te("Global state pasted from clipboard.")}catch(t){if(ed(t))return;Te("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}async function dm(e){try{Jc(new Blob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){Te("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}let Mt;function um(){Mt||(Mt=document.createElement("input"),Mt.type="file",Mt.accept=".json");function e(){return new Promise((t,n)=>{Mt.onchange=async()=>{const o=Mt.files;if(!o)return t(null);const i=o.item(0);return t(i?{text:await i.text(),file:i}:null)},Mt.oncancel=()=>t(null),Mt.onerror=n,Mt.click()})}return e}async function fm(e){try{const n=await(await um())();if(!n)return;const{text:o,file:i}=n;e.state.value=JSON.parse(o),Te(`Global state imported from "${i.name}".`)}catch(t){Te("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}function ht(e){return{_custom:{display:e}}}const td="🍍 Pinia (root)",Nr="_root";function hm(e){return Ts(e)?{id:Nr,label:td}:{id:e.$id,label:e.$id}}function mm(e){if(Ts(e)){const n=Array.from(e._s.keys()),o=e._s;return{state:n.map(r=>({editable:!0,key:r,value:e.state.value[r]})),getters:n.filter(r=>o.get(r)._getters).map(r=>{const s=o.get(r);return{editable:!1,key:r,value:s._getters.reduce((a,l)=>(a[l]=s[l],a),{})}})}}const t={state:Object.keys(e.$state).map(n=>({editable:!0,key:n,value:e.$state[n]}))};return e._getters&&e._getters.length&&(t.getters=e._getters.map(n=>({editable:!1,key:n,value:e[n]}))),e._customProperties.size&&(t.customProperties=Array.from(e._customProperties).map(n=>({editable:!0,key:n,value:e[n]}))),t}function pm(e){return e?Array.isArray(e)?e.reduce((t,n)=>(t.keys.push(n.key),t.operations.push(n.type),t.oldValue[n.key]=n.oldValue,t.newValue[n.key]=n.newValue,t),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:ht(e.type),key:ht(e.key),oldValue:e.oldValue,newValue:e.newValue}:{}}function gm(e){switch(e){case St.direct:return"mutation";case St.patchFunction:return"$patch";case St.patchObject:return"$patch";default:return"unknown"}}let jn=!0;const ni=[],dn="pinia:mutations",$e="pinia",{assign:bm}=Object,ai=e=>"🍍 "+e;function vm(e,t){_s({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:ni,app:e},n=>{typeof n.now!="function"&&Te("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:dn,label:"Pinia 🍍",color:15064968}),n.addInspector({id:$e,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{lm(t)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await cm(t),n.sendInspectorTree($e),n.sendInspectorState($e)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{dm(t)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await fm(t),n.sendInspectorTree($e),n.sendInspectorState($e)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:"Reset the state (option store only)",action:o=>{const i=t._s.get(o);i?i._isOptionsAPI?(i.$reset(),Te(`Store "${o}" reset.`)):Te(`Cannot reset "${o}" store because it's a setup store.`,"warn"):Te(`Cannot reset "${o}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent((o,i)=>{const r=o.componentInstance&&o.componentInstance.proxy;if(r&&r._pStores){const s=o.componentInstance.proxy._pStores;Object.values(s).forEach(a=>{o.instanceData.state.push({type:ai(a.$id),key:"state",editable:!0,value:a._isOptionsAPI?{_custom:{value:h.toRaw(a.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>a.$reset()}]}}:Object.keys(a.$state).reduce((l,c)=>(l[c]=a.$state[c],l),{})}),a._getters&&a._getters.length&&o.instanceData.state.push({type:ai(a.$id),key:"getters",editable:!1,value:a._getters.reduce((l,c)=>{try{l[c]=a[c]}catch(d){l[c]=d}return l},{})})})}}),n.on.getInspectorTree(o=>{if(o.app===e&&o.inspectorId===$e){let i=[t];i=i.concat(Array.from(t._s.values())),o.rootNodes=(o.filter?i.filter(r=>"$id"in r?r.$id.toLowerCase().includes(o.filter.toLowerCase()):td.toLowerCase().includes(o.filter.toLowerCase())):i).map(hm)}}),n.on.getInspectorState(o=>{if(o.app===e&&o.inspectorId===$e){const i=o.nodeId===Nr?t:t._s.get(o.nodeId);if(!i)return;i&&(o.state=mm(i))}}),n.on.editInspectorState((o,i)=>{if(o.app===e&&o.inspectorId===$e){const r=o.nodeId===Nr?t:t._s.get(o.nodeId);if(!r)return Te(`store "${o.nodeId}" not found`,"error");const{path:s}=o;Ts(r)?s.unshift("state"):(s.length!==1||!r._customProperties.has(s[0])||s[0]in r.$state)&&s.unshift("$state"),jn=!1,o.set(r,s,o.state.value),jn=!0}}),n.on.editComponentState(o=>{if(o.type.startsWith("🍍")){const i=o.type.replace(/^🍍\s*/,""),r=t._s.get(i);if(!r)return Te(`store "${i}" not found`,"error");const{path:s}=o;if(s[0]!=="state")return Te(`Invalid path for store "${i}":
6
6
  ${s}
7
- Only state can be modified.`);s[0]="$state",zn=!1,i.set(r,s,i.state.value),zn=!0}})})}function om(e,t){Qi.includes(oo(t.$id))||Qi.push(oo(t.$id)),gs({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Qi,app:e,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},n=>{const i=typeof n.now=="function"?n.now.bind(n):Date.now;t.$onAction(({after:s,onError:a,name:l,args:c})=>{const d=zc++;n.addTimelineEvent({layerId:cn,event:{time:i(),title:"🛫 "+l,subtitle:"start",data:{store:ft(t.$id),action:ft(l),args:c},groupId:d}}),s(u=>{un=void 0,n.addTimelineEvent({layerId:cn,event:{time:i(),title:"🛬 "+l,subtitle:"end",data:{store:ft(t.$id),action:ft(l),args:c,result:u},groupId:d}})}),a(u=>{un=void 0,n.addTimelineEvent({layerId:cn,event:{time:i(),logType:"error",title:"💥 "+l,subtitle:"end",data:{store:ft(t.$id),action:ft(l),args:c,error:u},groupId:d}})})},!0),t._customProperties.forEach(s=>{m.watch(()=>m.unref(t[s]),(a,l)=>{n.notifyComponentUpdate(),n.sendInspectorState(Le),zn&&n.addTimelineEvent({layerId:cn,event:{time:i(),title:"Change",subtitle:s,data:{newValue:a,oldValue:l},groupId:un}})},{deep:!0})}),t.$subscribe(({events:s,type:a},l)=>{if(n.notifyComponentUpdate(),n.sendInspectorState(Le),!zn)return;const c={time:i(),title:tm(a),data:nm({store:ft(t.$id)},em(s)),groupId:un};un=void 0,a===Tt.patchFunction?c.subtitle="⤵️":a===Tt.patchObject?c.subtitle="🧩":s&&!Array.isArray(s)&&(c.subtitle=s.type),s&&(c.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:s}}),n.addTimelineEvent({layerId:cn,event:c})},{detached:!0,flush:"sync"});const o=t._hotUpdate;t._hotUpdate=m.markRaw(s=>{o(s),n.addTimelineEvent({layerId:cn,event:{time:i(),title:"🔥 "+t.$id,subtitle:"HMR update",data:{store:ft(t.$id),info:ft("HMR update")}}}),n.notifyComponentUpdate(),n.sendInspectorTree(Le),n.sendInspectorState(Le)});const{$dispose:r}=t;t.$dispose=()=>{r(),n.notifyComponentUpdate(),n.sendInspectorTree(Le),n.sendInspectorState(Le),n.getSettings().logStoreChanges&&Te(`Disposed "${t.$id}" store 🗑`)},n.notifyComponentUpdate(),n.sendInspectorTree(Le),n.sendInspectorState(Le),n.getSettings().logStoreChanges&&Te(`"${t.$id}" store installed 🆕`)})}let zc=0,un;function Ea(e,t){const n=t.reduce((i,o)=>(i[o]=m.toRaw(e)[o],i),{});for(const i in n)e[i]=function(){const o=zc,r=new Proxy(e,{get(...s){return un=o,Reflect.get(...s)},set(...s){return un=o,Reflect.set(...s)}});return n[i].apply(r,arguments)}}function rm({app:e,store:t,options:n}){if(!t.$id.startsWith("__hot:")){if(n.state&&(t._isOptionsAPI=!0),typeof n.state=="function"){Ea(t,Object.keys(n.actions));const i=t._hotUpdate;m.toRaw(t)._hotUpdate=function(o){i.apply(this,arguments),Ea(t,Object.keys(o._hmrPayload.actions))}}om(e,t)}}function sm(){const e=m.effectScope(!0),t=e.run(()=>m.ref({}));let n=[],i=[];const o=m.markRaw({install(r){gi(o),o._a=r,r.provide($c,o),r.config.globalProperties.$pinia=o,ui&&im(r,o),i.forEach(s=>n.push(s)),i=[]},use(r){return!this._a&&!Dc?i.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return ui&&typeof Proxy<"u"&&o.use(rm),o}function Bc(e,t){for(const n in t){const i=t[n];if(!(n in e))continue;const o=e[n];bn(o)&&bn(i)&&!m.isRef(i)&&!m.isReactive(i)?e[n]=Bc(o,i):e[n]=i}return e}const Hc=()=>{};function Ta(e,t,n,i=Hc){e.push(t);const o=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),i())};return!n&&m.getCurrentScope()&&m.onScopeDispose(o),o}function Ln(e,...t){e.slice().forEach(n=>{n(...t)})}function Sr(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,i)=>e.set(i,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const i=t[n],o=e[n];bn(o)&&bn(i)&&e.hasOwnProperty(n)&&!m.isRef(i)&&!m.isReactive(i)?e[n]=Sr(o,i):e[n]=i}return e}const am=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function lm(e){return!bn(e)||!e.hasOwnProperty(am)}const{assign:et}=Object;function Ia(e){return!!(m.isRef(e)&&e.effect)}function Sa(e,t,n,i){const{state:o,actions:r,getters:s}=t,a=n.state.value[e];let l;function c(){!a&&(process.env.NODE_ENV==="production"||!i)&&(n.state.value[e]=o?o():{});const d=process.env.NODE_ENV!=="production"&&i?m.toRefs(m.ref(o?o():{}).value):m.toRefs(n.state.value[e]);return et(d,r,Object.keys(s||{}).reduce((u,f)=>(process.env.NODE_ENV!=="production"&&f in d&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${f}" in store "${e}".`),u[f]=m.markRaw(m.computed(()=>{gi(n);const b=n._s.get(e);return s[f].call(b,b)})),u),{}))}return l=Or(e,c,t,n,i,!0),l}function Or(e,t,n={},i,o,r){let s;const a=et({actions:{}},n);if(process.env.NODE_ENV!=="production"&&!i._e.active)throw new Error("Pinia destroyed");const l={deep:!0};process.env.NODE_ENV!=="production"&&!Dc&&(l.onTrigger=A=>{c?b=A:c==!1&&!w._hotUpdating&&(Array.isArray(b)?b.push(A):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let c,d,u=m.markRaw([]),f=m.markRaw([]),b;const I=i.state.value[e];!r&&!I&&(process.env.NODE_ENV==="production"||!o)&&(i.state.value[e]={});const x=m.ref({});let O;function g(A){let D;c=d=!1,process.env.NODE_ENV!=="production"&&(b=[]),typeof A=="function"?(A(i.state.value[e]),D={type:Tt.patchFunction,storeId:e,events:b}):(Sr(i.state.value[e],A),D={type:Tt.patchObject,payload:A,storeId:e,events:b});const $=O=Symbol();m.nextTick().then(()=>{O===$&&(c=!0)}),d=!0,Ln(u,D,i.state.value[e])}const y=r?function(){const{state:D}=n,$=D?D():{};this.$patch(z=>{et(z,$)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`)}:Hc;function S(){s.stop(),u=[],f=[],i._s.delete(e)}function k(A,D){return function(){gi(i);const $=Array.from(arguments),z=[],ne=[];function ye(K){z.push(K)}function ze(K){ne.push(K)}Ln(f,{args:$,name:A,store:w,after:ye,onError:ze});let q;try{q=D.apply(this&&this.$id===e?this:w,$)}catch(K){throw Ln(ne,K),K}return q instanceof Promise?q.then(K=>(Ln(z,K),K)).catch(K=>(Ln(ne,K),Promise.reject(K))):(Ln(z,q),q)}}const N=m.markRaw({actions:{},getters:{},state:[],hotState:x}),v={_p:i,$id:e,$onAction:Ta.bind(null,f),$patch:g,$reset:y,$subscribe(A,D={}){const $=Ta(u,A,D.detached,()=>z()),z=s.run(()=>m.watch(()=>i.state.value[e],ne=>{(D.flush==="sync"?d:c)&&A({storeId:e,type:Tt.direct,events:b},ne)},et({},l,D)));return $},$dispose:S},w=m.reactive(process.env.NODE_ENV!=="production"||ui?et({_hmrPayload:N,_customProperties:m.markRaw(new Set)},v):v);i._s.set(e,w);const P=i._e.run(()=>(s=m.effectScope(),s.run(()=>t())));for(const A in P){const D=P[A];if(m.isRef(D)&&!Ia(D)||m.isReactive(D))process.env.NODE_ENV!=="production"&&o?$i(x.value,A,m.toRef(P,A)):r||(I&&lm(D)&&(m.isRef(D)?D.value=I[A]:Sr(D,I[A])),i.state.value[e][A]=D),process.env.NODE_ENV!=="production"&&N.state.push(A);else if(typeof D=="function"){const $=process.env.NODE_ENV!=="production"&&o?D:k(A,D);P[A]=$,process.env.NODE_ENV!=="production"&&(N.actions[A]=D),a.actions[A]=D}else process.env.NODE_ENV!=="production"&&Ia(D)&&(N.getters[A]=r?n.getters[A]:D,ko&&(P._getters||(P._getters=m.markRaw([]))).push(A))}if(et(w,P),et(m.toRaw(w),P),Object.defineProperty(w,"$state",{get:()=>process.env.NODE_ENV!=="production"&&o?x.value:i.state.value[e],set:A=>{if(process.env.NODE_ENV!=="production"&&o)throw new Error("cannot set hotState");g(D=>{et(D,A)})}}),process.env.NODE_ENV!=="production"&&(w._hotUpdate=m.markRaw(A=>{w._hotUpdating=!0,A._hmrPayload.state.forEach(D=>{if(D in w.$state){const $=A.$state[D],z=w.$state[D];typeof $=="object"&&bn($)&&bn(z)?Bc($,z):A.$state[D]=z}$i(w,D,m.toRef(A.$state,D))}),Object.keys(w.$state).forEach(D=>{D in A.$state||Ho(w,D)}),c=!1,d=!1,i.state.value[e]=m.toRef(A._hmrPayload,"hotState"),d=!0,m.nextTick().then(()=>{c=!0});for(const D in A._hmrPayload.actions){const $=A[D];$i(w,D,k(D,$))}for(const D in A._hmrPayload.getters){const $=A._hmrPayload.getters[D],z=r?m.computed(()=>(gi(i),$.call(w,w))):$;$i(w,D,z)}Object.keys(w._hmrPayload.getters).forEach(D=>{D in A._hmrPayload.getters||Ho(w,D)}),Object.keys(w._hmrPayload.actions).forEach(D=>{D in A._hmrPayload.actions||Ho(w,D)}),w._hmrPayload=A._hmrPayload,w._getters=A._getters,w._hotUpdating=!1})),ui){const A={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(D=>{Object.defineProperty(w,D,et({value:w[D]},A))})}return i._p.forEach(A=>{if(ui){const D=s.run(()=>A({store:w,app:i._a,pinia:i,options:a}));Object.keys(D||{}).forEach($=>w._customProperties.add($)),et(w,D)}else et(w,s.run(()=>A({store:w,app:i._a,pinia:i,options:a})))}),process.env.NODE_ENV!=="production"&&w.$state&&typeof w.$state=="object"&&typeof w.$state.constructor=="function"&&!w.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
7
+ Only state can be modified.`);s[0]="$state",jn=!1,o.set(r,s,o.state.value),jn=!0}})})}function ym(e,t){ni.includes(ai(t.$id))||ni.push(ai(t.$id)),_s({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:ni,app:e,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},n=>{const o=typeof n.now=="function"?n.now.bind(n):Date.now;t.$onAction(({after:s,onError:a,name:l,args:c})=>{const d=nd++;n.addTimelineEvent({layerId:dn,event:{time:o(),title:"🛫 "+l,subtitle:"start",data:{store:ht(t.$id),action:ht(l),args:c},groupId:d}}),s(u=>{fn=void 0,n.addTimelineEvent({layerId:dn,event:{time:o(),title:"🛬 "+l,subtitle:"end",data:{store:ht(t.$id),action:ht(l),args:c,result:u},groupId:d}})}),a(u=>{fn=void 0,n.addTimelineEvent({layerId:dn,event:{time:o(),logType:"error",title:"💥 "+l,subtitle:"end",data:{store:ht(t.$id),action:ht(l),args:c,error:u},groupId:d}})})},!0),t._customProperties.forEach(s=>{h.watch(()=>h.unref(t[s]),(a,l)=>{n.notifyComponentUpdate(),n.sendInspectorState($e),jn&&n.addTimelineEvent({layerId:dn,event:{time:o(),title:"Change",subtitle:s,data:{newValue:a,oldValue:l},groupId:fn}})},{deep:!0})}),t.$subscribe(({events:s,type:a},l)=>{if(n.notifyComponentUpdate(),n.sendInspectorState($e),!jn)return;const c={time:o(),title:gm(a),data:bm({store:ht(t.$id)},pm(s)),groupId:fn};fn=void 0,a===St.patchFunction?c.subtitle="⤵️":a===St.patchObject?c.subtitle="🧩":s&&!Array.isArray(s)&&(c.subtitle=s.type),s&&(c.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:s}}),n.addTimelineEvent({layerId:dn,event:c})},{detached:!0,flush:"sync"});const i=t._hotUpdate;t._hotUpdate=h.markRaw(s=>{i(s),n.addTimelineEvent({layerId:dn,event:{time:o(),title:"🔥 "+t.$id,subtitle:"HMR update",data:{store:ht(t.$id),info:ht("HMR update")}}}),n.notifyComponentUpdate(),n.sendInspectorTree($e),n.sendInspectorState($e)});const{$dispose:r}=t;t.$dispose=()=>{r(),n.notifyComponentUpdate(),n.sendInspectorTree($e),n.sendInspectorState($e),n.getSettings().logStoreChanges&&Te(`Disposed "${t.$id}" store 🗑`)},n.notifyComponentUpdate(),n.sendInspectorTree($e),n.sendInspectorState($e),n.getSettings().logStoreChanges&&Te(`"${t.$id}" store installed 🆕`)})}let nd=0,fn;function Fa(e,t){const n=t.reduce((o,i)=>(o[i]=h.toRaw(e)[i],o),{});for(const o in n)e[o]=function(){const i=nd,r=new Proxy(e,{get(...s){return fn=i,Reflect.get(...s)},set(...s){return fn=i,Reflect.set(...s)}});return n[o].apply(r,arguments)}}function wm({app:e,store:t,options:n}){if(!t.$id.startsWith("__hot:")){if(n.state&&(t._isOptionsAPI=!0),typeof n.state=="function"){Fa(t,Object.keys(n.actions));const o=t._hotUpdate;h.toRaw(t)._hotUpdate=function(i){o.apply(this,arguments),Fa(t,Object.keys(i._hmrPayload.actions))}}ym(e,t)}}function km(){const e=h.effectScope(!0),t=e.run(()=>h.ref({}));let n=[],o=[];const i=h.markRaw({install(r){yo(i),i._a=r,r.provide(Kc,i),r.config.globalProperties.$pinia=i,mo&&vm(r,i),o.forEach(s=>n.push(s)),o=[]},use(r){return!this._a&&!Gc?o.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return mo&&typeof Proxy<"u"&&i.use(wm),i}function od(e,t){for(const n in t){const o=t[n];if(!(n in e))continue;const i=e[n];yn(i)&&yn(o)&&!h.isRef(o)&&!h.isReactive(o)?e[n]=od(i,o):e[n]=o}return e}const id=()=>{};function Va(e,t,n,o=id){e.push(t);const i=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),o())};return!n&&h.getCurrentScope()&&h.onScopeDispose(i),i}function Mn(e,...t){e.slice().forEach(n=>{n(...t)})}function $r(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],i=e[n];yn(i)&&yn(o)&&e.hasOwnProperty(n)&&!h.isRef(o)&&!h.isReactive(o)?e[n]=$r(i,o):e[n]=o}return e}const xm=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function _m(e){return!yn(e)||!e.hasOwnProperty(xm)}const{assign:et}=Object;function za(e){return!!(h.isRef(e)&&e.effect)}function Ua(e,t,n,o){const{state:i,actions:r,getters:s}=t,a=n.state.value[e];let l;function c(){!a&&(process.env.NODE_ENV==="production"||!o)&&(n.state.value[e]=i?i():{});const d=process.env.NODE_ENV!=="production"&&o?h.toRefs(h.ref(i?i():{}).value):h.toRefs(n.state.value[e]);return et(d,r,Object.keys(s||{}).reduce((u,f)=>(process.env.NODE_ENV!=="production"&&f in d&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${f}" in store "${e}".`),u[f]=h.markRaw(h.computed(()=>{yo(n);const b=n._s.get(e);return s[f].call(b,b)})),u),{}))}return l=Lr(e,c,t,n,o,!0),l}function Lr(e,t,n={},o,i,r){let s;const a=et({actions:{}},n);if(process.env.NODE_ENV!=="production"&&!o._e.active)throw new Error("Pinia destroyed");const l={deep:!0};process.env.NODE_ENV!=="production"&&!Gc&&(l.onTrigger=A=>{c?b=A:c==!1&&!w._hotUpdating&&(Array.isArray(b)?b.push(A):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let c,d,u=h.markRaw([]),f=h.markRaw([]),b;const T=o.state.value[e];!r&&!T&&(process.env.NODE_ENV==="production"||!i)&&(o.state.value[e]={});const x=h.ref({});let C;function p(A){let N;c=d=!1,process.env.NODE_ENV!=="production"&&(b=[]),typeof A=="function"?(A(o.state.value[e]),N={type:St.patchFunction,storeId:e,events:b}):($r(o.state.value[e],A),N={type:St.patchObject,payload:A,storeId:e,events:b});const L=C=Symbol();h.nextTick().then(()=>{C===L&&(c=!0)}),d=!0,Mn(u,N,o.state.value[e])}const y=r?function(){const{state:N}=n,L=N?N():{};this.$patch(U=>{et(U,L)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`)}:id;function S(){s.stop(),u=[],f=[],o._s.delete(e)}function k(A,N){return function(){yo(o);const L=Array.from(arguments),U=[],oe=[];function ye(X){U.push(X)}function Ue(X){oe.push(X)}Mn(f,{args:L,name:A,store:w,after:ye,onError:Ue});let K;try{K=N.apply(this&&this.$id===e?this:w,L)}catch(X){throw Mn(oe,X),X}return K instanceof Promise?K.then(X=>(Mn(U,X),X)).catch(X=>(Mn(oe,X),Promise.reject(X))):(Mn(U,K),K)}}const D=h.markRaw({actions:{},getters:{},state:[],hotState:x}),v={_p:o,$id:e,$onAction:Va.bind(null,f),$patch:p,$reset:y,$subscribe(A,N={}){const L=Va(u,A,N.detached,()=>U()),U=s.run(()=>h.watch(()=>o.state.value[e],oe=>{(N.flush==="sync"?d:c)&&A({storeId:e,type:St.direct,events:b},oe)},et({},l,N)));return L},$dispose:S},w=h.reactive(process.env.NODE_ENV!=="production"||mo?et({_hmrPayload:D,_customProperties:h.markRaw(new Set)},v):v);o._s.set(e,w);const P=o._e.run(()=>(s=h.effectScope(),s.run(()=>t())));for(const A in P){const N=P[A];if(h.isRef(N)&&!za(N)||h.isReactive(N))process.env.NODE_ENV!=="production"&&i?Mo(x.value,A,h.toRef(P,A)):r||(T&&_m(N)&&(h.isRef(N)?N.value=T[A]:$r(N,T[A])),o.state.value[e][A]=N),process.env.NODE_ENV!=="production"&&D.state.push(A);else if(typeof N=="function"){const L=process.env.NODE_ENV!=="production"&&i?N:k(A,N);P[A]=L,process.env.NODE_ENV!=="production"&&(D.actions[A]=N),a.actions[A]=N}else process.env.NODE_ENV!=="production"&&za(N)&&(D.getters[A]=r?n.getters[A]:N,Ei&&(P._getters||(P._getters=h.markRaw([]))).push(A))}if(et(w,P),et(h.toRaw(w),P),Object.defineProperty(w,"$state",{get:()=>process.env.NODE_ENV!=="production"&&i?x.value:o.state.value[e],set:A=>{if(process.env.NODE_ENV!=="production"&&i)throw new Error("cannot set hotState");p(N=>{et(N,A)})}}),process.env.NODE_ENV!=="production"&&(w._hotUpdate=h.markRaw(A=>{w._hotUpdating=!0,A._hmrPayload.state.forEach(N=>{if(N in w.$state){const L=A.$state[N],U=w.$state[N];typeof L=="object"&&yn(L)&&yn(U)?od(L,U):A.$state[N]=U}Mo(w,N,h.toRef(A.$state,N))}),Object.keys(w.$state).forEach(N=>{N in A.$state||Yi(w,N)}),c=!1,d=!1,o.state.value[e]=h.toRef(A._hmrPayload,"hotState"),d=!0,h.nextTick().then(()=>{c=!0});for(const N in A._hmrPayload.actions){const L=A[N];Mo(w,N,k(N,L))}for(const N in A._hmrPayload.getters){const L=A._hmrPayload.getters[N],U=r?h.computed(()=>(yo(o),L.call(w,w))):L;Mo(w,N,U)}Object.keys(w._hmrPayload.getters).forEach(N=>{N in A._hmrPayload.getters||Yi(w,N)}),Object.keys(w._hmrPayload.actions).forEach(N=>{N in A._hmrPayload.actions||Yi(w,N)}),w._hmrPayload=A._hmrPayload,w._getters=A._getters,w._hotUpdating=!1})),mo){const A={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(N=>{Object.defineProperty(w,N,et({value:w[N]},A))})}return o._p.forEach(A=>{if(mo){const N=s.run(()=>A({store:w,app:o._a,pinia:o,options:a}));Object.keys(N||{}).forEach(L=>w._customProperties.add(L)),et(w,N)}else et(w,s.run(()=>A({store:w,app:o._a,pinia:o,options:a})))}),process.env.NODE_ENV!=="production"&&w.$state&&typeof w.$state=="object"&&typeof w.$state.constructor=="function"&&!w.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
8
8
  state: () => new MyClass()
9
- Found in store "${w.$id}".`),I&&r&&n.hydrate&&n.hydrate(w.$state,I),c=!0,d=!0,w}function ys(e,t,n){let i,o;const r=typeof t=="function";if(typeof e=="string")i=e,o=r?n:t;else if(o=e,i=e.id,process.env.NODE_ENV!=="production"&&typeof i!="string")throw new Error('[🍍]: "defineStore()" must be passed a store id as its first argument.');function s(a,l){const c=m.getCurrentInstance();if(a=(process.env.NODE_ENV==="test"&&li&&li._testing?null:a)||c&&m.inject($c,null),a&&gi(a),process.env.NODE_ENV!=="production"&&!li)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia?
9
+ Found in store "${w.$id}".`),T&&r&&n.hydrate&&n.hydrate(w.$state,T),c=!0,d=!0,w}function Is(e,t,n){let o,i;const r=typeof t=="function";if(typeof e=="string")o=e,i=r?n:t;else if(i=e,o=e.id,process.env.NODE_ENV!=="production"&&typeof o!="string")throw new Error('[🍍]: "defineStore()" must be passed a store id as its first argument.');function s(a,l){const c=h.getCurrentInstance();if(a=(process.env.NODE_ENV==="test"&&uo&&uo._testing?null:a)||c&&h.inject(Kc,null),a&&yo(a),process.env.NODE_ENV!=="production"&&!uo)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia?
10
10
  const pinia = createPinia()
11
11
  app.use(pinia)
12
- This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),process.env.NODE_ENV!=="production"&&(s._pinia=a));const d=a._s.get(i);if(process.env.NODE_ENV!=="production"&&l){const u="__hot:"+i,f=r?Or(u,t,o,a,!0):Sa(u,et({},o),a,!0);l._hotUpdate(f),delete a.state.value[u],a._s.delete(u)}if(process.env.NODE_ENV!=="production"&&ko&&c&&c.proxy&&!l){const u=c.proxy,f="_pStores"in u?u._pStores:u._pStores={};f[i]=d}return d}return s.$id=i,s}const Wc=ys("productIdentification",{state:()=>({productIdentificationPref:{primaryId:"",secondaryId:""},productIdentificationOptions:["productId","groupId","groupName","internalName","parentProductName","primaryProductCategoryName","productId","sku","title","SHOPIFY_PROD_SKU"]}),getters:{getProductIdentificationPref:e=>e.productIdentificationPref,getProductIdentificationOptions:e=>e.productIdentificationOptions},actions:{async setProductIdentificationPref(e,t,n){const i=JSON.parse(JSON.stringify(this.getProductIdentificationPref));if(!n){this.productIdentificationPref=i;return}i[e]=t;try{this.productIdentificationPref=await Ti.setProductIdentificationPref(n,i)}catch(o){console.log("error",o)}},async getIdentificationPref(e){if(!e)return this.productIdentificationPref={primaryId:"productId",secondaryId:""};this.productIdentificationPref=await Ti.getProductIdentificationPref(e)}}});class Cn extends Error{}class cm extends Cn{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class dm extends Cn{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class um extends Cn{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ci extends Cn{}class jc extends Cn{constructor(t){super(`Invalid unit ${t}`)}}class tt extends Cn{}class Wt extends Cn{constructor(){super("Zone is an abstract class")}}const F="numeric",vt="short",Ge="long",ro={year:F,month:F,day:F},Yc={year:F,month:vt,day:F},fm={year:F,month:vt,day:F,weekday:vt},Gc={year:F,month:Ge,day:F},qc={year:F,month:Ge,day:F,weekday:Ge},Kc={hour:F,minute:F},Xc={hour:F,minute:F,second:F},Zc={hour:F,minute:F,second:F,timeZoneName:vt},Jc={hour:F,minute:F,second:F,timeZoneName:Ge},Qc={hour:F,minute:F,hourCycle:"h23"},ed={hour:F,minute:F,second:F,hourCycle:"h23"},td={hour:F,minute:F,second:F,hourCycle:"h23",timeZoneName:vt},nd={hour:F,minute:F,second:F,hourCycle:"h23",timeZoneName:Ge},id={year:F,month:F,day:F,hour:F,minute:F},od={year:F,month:F,day:F,hour:F,minute:F,second:F},rd={year:F,month:vt,day:F,hour:F,minute:F},sd={year:F,month:vt,day:F,hour:F,minute:F,second:F},hm={year:F,month:vt,day:F,weekday:vt,hour:F,minute:F},ad={year:F,month:Ge,day:F,hour:F,minute:F,timeZoneName:vt},ld={year:F,month:Ge,day:F,hour:F,minute:F,second:F,timeZoneName:vt},cd={year:F,month:Ge,day:F,weekday:Ge,hour:F,minute:F,timeZoneName:Ge},dd={year:F,month:Ge,day:F,weekday:Ge,hour:F,minute:F,second:F,timeZoneName:Ge};class Ii{get type(){throw new Wt}get name(){throw new Wt}get ianaName(){return this.name}get isUniversal(){throw new Wt}offsetName(t,n){throw new Wt}formatOffset(t,n){throw new Wt}offset(t){throw new Wt}equals(t){throw new Wt}get isValid(){throw new Wt}}let Wo=null;class xo extends Ii{static get instance(){return Wo===null&&(Wo=new xo),Wo}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:i}){return fd(t,n,i)}formatOffset(t,n){return hi(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let eo={};function mm(e){return eo[e]||(eo[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),eo[e]}const pm={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function gm(e,t){const n=e.format(t).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,o,r,s,a,l,c,d]=i;return[s,o,r,a,l,c,d]}function bm(e,t){const n=e.formatToParts(t),i=[];for(let o=0;o<n.length;o++){const{type:r,value:s}=n[o],a=pm[r];r==="era"?i[a]=s:X(a)||(i[a]=parseInt(s,10))}return i}let Pi={};class zt extends Ii{static create(t){return Pi[t]||(Pi[t]=new zt(t)),Pi[t]}static resetCache(){Pi={},eo={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=zt.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:i}){return fd(t,n,i,this.name)}formatOffset(t,n){return hi(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const i=mm(this.name);let[o,r,s,a,l,c,d]=i.formatToParts?bm(i,n):gm(i,n);a==="BC"&&(o=-Math.abs(o)+1);const f=Eo({year:o,month:r,day:s,hour:l===24?0:l,minute:c,second:d,millisecond:0});let b=+n;const I=b%1e3;return b-=I>=0?I:1e3+I,(f-b)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let Oa={};function vm(e,t={}){const n=JSON.stringify([e,t]);let i=Oa[n];return i||(i=new Intl.ListFormat(e,t),Oa[n]=i),i}let Cr={};function Ar(e,t={}){const n=JSON.stringify([e,t]);let i=Cr[n];return i||(i=new Intl.DateTimeFormat(e,t),Cr[n]=i),i}let Nr={};function ym(e,t={}){const n=JSON.stringify([e,t]);let i=Nr[n];return i||(i=new Intl.NumberFormat(e,t),Nr[n]=i),i}let Dr={};function wm(e,t={}){const{base:n,...i}=t,o=JSON.stringify([e,i]);let r=Dr[o];return r||(r=new Intl.RelativeTimeFormat(e,t),Dr[o]=r),r}let di=null;function km(){return di||(di=new Intl.DateTimeFormat().resolvedOptions().locale,di)}function xm(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let i,o;try{i=Ar(e).resolvedOptions(),o=e}catch{const l=e.substring(0,n);i=Ar(l).resolvedOptions(),o=l}const{numberingSystem:r,calendar:s}=i;return[o,r,s]}}function _m(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function Em(e){const t=[];for(let n=1;n<=12;n++){const i=j.utc(2009,n,1);t.push(e(i))}return t}function Tm(e){const t=[];for(let n=1;n<=7;n++){const i=j.utc(2016,11,13+n);t.push(e(i))}return t}function Mi(e,t,n,i){const o=e.listingMode();return o==="error"?null:o==="en"?n(t):i(t)}function Im(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class Sm{constructor(t,n,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:o,floor:r,...s}=i;if(!n||Object.keys(s).length>0){const a={useGrouping:!1,...i};i.padTo>0&&(a.minimumIntegerDigits=i.padTo),this.inf=ym(t,a)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):ks(t,3);return be(n,this.padTo)}}}class Om{constructor(t,n,i){this.opts=i,this.originalZone=void 0;let o;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const s=-1*(t.offset/60),a=s>=0?`Etc/GMT+${s}`:`Etc/GMT${s}`;t.offset!==0&&zt.create(a).valid?(o=a,this.dt=t):(o="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,o=t.zone.name):(o="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||o,this.dtf=Ar(n,r)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const i=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:i}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Cm{constructor(t,n,i){this.opts={style:"long",...i},!n&&ud()&&(this.rtf=wm(t,i))}format(t,n){return this.rtf?this.rtf.format(t,n):Ym(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}class ae{static fromOpts(t){return ae.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,n,i,o=!1){const r=t||ge.defaultLocale,s=r||(o?"en-US":km()),a=n||ge.defaultNumberingSystem,l=i||ge.defaultOutputCalendar;return new ae(s,a,l,r)}static resetCache(){di=null,Cr={},Nr={},Dr={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:i}={}){return ae.create(t,n,i)}constructor(t,n,i,o){const[r,s,a]=xm(t);this.locale=r,this.numberingSystem=n||s||null,this.outputCalendar=i||a||null,this.intl=_m(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Im(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:ae.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return Mi(this,t,pd,()=>{const i=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=Em(r=>this.extract(r,i,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1){return Mi(this,t,vd,()=>{const i=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},o=n?"format":"standalone";return this.weekdaysCache[o][t]||(this.weekdaysCache[o][t]=Tm(r=>this.extract(r,i,"weekday"))),this.weekdaysCache[o][t]})}meridiems(){return Mi(this,void 0,()=>yd,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[j.utc(2016,11,13,9),j.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Mi(this,t,wd,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[j.utc(-40,1,1),j.utc(2017,1,1)].map(i=>this.extract(i,n,"era"))),this.eraCache[t]})}extract(t,n,i){const o=this.dtFormatter(t,n),r=o.formatToParts(),s=r.find(a=>a.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Sm(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new Om(t,this.intl,n)}relFormatter(t={}){return new Cm(this.intl,this.isEnglish(),t)}listFormatter(t={}){return vm(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let jo=null;class Ue extends Ii{static get utcInstance(){return jo===null&&(jo=new Ue(0)),jo}static instance(t){return t===0?Ue.utcInstance:new Ue(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Ue(To(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${hi(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${hi(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return hi(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class Am extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Kt(e,t){if(X(e)||e===null)return t;if(e instanceof Ii)return e;if(Nm(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?xo.instance:n==="utc"||n==="gmt"?Ue.utcInstance:Ue.parseSpecifier(n)||zt.create(e)}else return gn(e)?Ue.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new Am(e)}let Ca=()=>Date.now(),Aa="system",Na=null,Da=null,La=null,$a=60,Pa;class ge{static get now(){return Ca}static set now(t){Ca=t}static set defaultZone(t){Aa=t}static get defaultZone(){return Kt(Aa,xo.instance)}static get defaultLocale(){return Na}static set defaultLocale(t){Na=t}static get defaultNumberingSystem(){return Da}static set defaultNumberingSystem(t){Da=t}static get defaultOutputCalendar(){return La}static set defaultOutputCalendar(t){La=t}static get twoDigitCutoffYear(){return $a}static set twoDigitCutoffYear(t){$a=t%100}static get throwOnInvalid(){return Pa}static set throwOnInvalid(t){Pa=t}static resetCaches(){ae.resetCache(),zt.resetCache()}}function X(e){return typeof e>"u"}function gn(e){return typeof e=="number"}function _o(e){return typeof e=="number"&&e%1===0}function Nm(e){return typeof e=="string"}function Dm(e){return Object.prototype.toString.call(e)==="[object Date]"}function ud(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Lm(e){return Array.isArray(e)?e:[e]}function Ma(e,t,n){if(e.length!==0)return e.reduce((i,o)=>{const r=[t(o),o];return i&&n(i[0],r[0])===i[0]?i:r},null)[1]}function $m(e,t){return t.reduce((n,i)=>(n[i]=e[i],n),{})}function jn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ft(e,t,n){return _o(e)&&e>=t&&e<=n}function Pm(e,t){return e-t*Math.floor(e/t)}function be(e,t=2){const n=e<0;let i;return n?i="-"+(""+-e).padStart(t,"0"):i=(""+e).padStart(t,"0"),i}function qt(e){if(!(X(e)||e===null||e===""))return parseInt(e,10)}function sn(e){if(!(X(e)||e===null||e===""))return parseFloat(e)}function ws(e){if(!(X(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function ks(e,t,n=!1){const i=10**t;return(n?Math.trunc:Math.round)(e*i)/i}function Si(e){return e%4===0&&(e%100!==0||e%400===0)}function fi(e){return Si(e)?366:365}function so(e,t){const n=Pm(t-1,12)+1,i=e+(t-n)/12;return n===2?Si(i)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Eo(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function ao(e){const t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,i=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return t===4||i===3?53:52}function Lr(e){return e>99?e:e>ge.twoDigitCutoffYear?1900+e:2e3+e}function fd(e,t,n,i=null){const o=new Date(e),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(r.timeZone=i);const s={timeZoneName:t,...r},a=new Intl.DateTimeFormat(n,s).formatToParts(o).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function To(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const i=parseInt(t,10)||0,o=n<0||Object.is(n,-0)?-i:i;return n*60+o}function hd(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new tt(`Invalid unit value ${e}`);return t}function lo(e,t){const n={};for(const i in e)if(jn(e,i)){const o=e[i];if(o==null)continue;n[t(i)]=hd(o)}return n}function hi(e,t){const n=Math.trunc(Math.abs(e/60)),i=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${be(n,2)}:${be(i,2)}`;case"narrow":return`${o}${n}${i>0?`:${i}`:""}`;case"techie":return`${o}${be(n,2)}${be(i,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Io(e){return $m(e,["hour","minute","second","millisecond"])}const Mm=["January","February","March","April","May","June","July","August","September","October","November","December"],md=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Rm=["J","F","M","A","M","J","J","A","S","O","N","D"];function pd(e){switch(e){case"narrow":return[...Rm];case"short":return[...md];case"long":return[...Mm];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const gd=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],bd=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Fm=["M","T","W","T","F","S","S"];function vd(e){switch(e){case"narrow":return[...Fm];case"short":return[...bd];case"long":return[...gd];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const yd=["AM","PM"],Vm=["Before Christ","Anno Domini"],Um=["BC","AD"],zm=["B","A"];function wd(e){switch(e){case"narrow":return[...zm];case"short":return[...Um];case"long":return[...Vm];default:return null}}function Bm(e){return yd[e.hour<12?0:1]}function Hm(e,t){return vd(t)[e.weekday-1]}function Wm(e,t){return pd(t)[e.month-1]}function jm(e,t){return wd(t)[e.year<0?0:1]}function Ym(e,t,n="always",i=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&r){const u=e==="days";switch(t){case 1:return u?"tomorrow":`next ${o[e][0]}`;case-1:return u?"yesterday":`last ${o[e][0]}`;case 0:return u?"today":`this ${o[e][0]}`}}const s=Object.is(t,-0)||t<0,a=Math.abs(t),l=a===1,c=o[e],d=i?l?c[1]:c[2]||c[1]:l?o[e][0]:e;return s?`${a} ${d} ago`:`in ${a} ${d}`}function Ra(e,t){let n="";for(const i of e)i.literal?n+=i.val:n+=t(i.val);return n}const Gm={D:ro,DD:Yc,DDD:Gc,DDDD:qc,t:Kc,tt:Xc,ttt:Zc,tttt:Jc,T:Qc,TT:ed,TTT:td,TTTT:nd,f:id,ff:rd,fff:ad,ffff:cd,F:od,FF:sd,FFF:ld,FFFF:dd};class Pe{static create(t,n={}){return new Pe(t,n)}static parseFormat(t){let n=null,i="",o=!1;const r=[];for(let s=0;s<t.length;s++){const a=t.charAt(s);a==="'"?(i.length>0&&r.push({literal:o||/^\s+$/.test(i),val:i}),n=null,i="",o=!o):o||a===n?i+=a:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=a,n=a)}return i.length>0&&r.push({literal:o||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Gm[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}dtFormatter(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n})}formatDateTime(t,n){return this.dtFormatter(t,n).format()}formatDateTimeParts(t,n){return this.dtFormatter(t,n).formatToParts()}formatInterval(t,n){return this.dtFormatter(t.start,n).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n){return this.dtFormatter(t,n).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return be(t,n);const i={...this.opts};return n>0&&(i.padTo=n),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,n){const i=this.loc.listingMode()==="en",o=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",r=(b,I)=>this.loc.extract(t,b,I),s=b=>t.isOffsetFixed&&t.offset===0&&b.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,b.format):"",a=()=>i?Bm(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(b,I)=>i?Wm(t,b):r(I?{month:b}:{month:b,day:"numeric"},"month"),c=(b,I)=>i?Hm(t,b):r(I?{weekday:b}:{weekday:b,month:"long",day:"numeric"},"weekday"),d=b=>{const I=Pe.macroTokenToFormatOpts(b);return I?this.formatWithSystemDefault(t,I):b},u=b=>i?jm(t,b):r({era:b},"era"),f=b=>{switch(b){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return a();case"d":return o?r({day:"numeric"},"day"):this.num(t.day);case"dd":return o?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return o?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return o?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return o?r({month:"numeric"},"month"):this.num(t.month);case"MM":return o?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return o?r({year:"numeric"},"year"):this.num(t.year);case"yy":return o?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return o?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return o?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return u("short");case"GG":return u("long");case"GGGGG":return u("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(b)}};return Ra(Pe.parseFormat(n),f)}formatDurationFromString(t,n){const i=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},o=l=>c=>{const d=i(c);return d?this.num(l.get(d),c.length):c},r=Pe.parseFormat(n),s=r.reduce((l,{literal:c,val:d})=>c?l:l.concat(d),[]),a=t.shiftTo(...s.map(i).filter(l=>l));return Ra(r,o(a))}}class pt{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kd=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Kn(...e){const t=e.reduce((n,i)=>n+i.source,"");return RegExp(`^${t}$`)}function Xn(...e){return t=>e.reduce(([n,i,o],r)=>{const[s,a,l]=r(t,o);return[{...n,...s},a||i,l]},[{},null,1]).slice(0,2)}function Zn(e,...t){if(e==null)return[null,null];for(const[n,i]of t){const o=n.exec(e);if(o)return i(o)}return[null,null]}function xd(...e){return(t,n)=>{const i={};let o;for(o=0;o<e.length;o++)i[e[o]]=qt(t[n+o]);return[i,null,n+o]}}const _d=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,qm=`(?:${_d.source}?(?:\\[(${kd.source})\\])?)?`,xs=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ed=RegExp(`${xs.source}${qm}`),_s=RegExp(`(?:T${Ed.source})?`),Km=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Xm=/(\d{4})-?W(\d\d)(?:-?(\d))?/,Zm=/(\d{4})-?(\d{3})/,Jm=xd("weekYear","weekNumber","weekDay"),Qm=xd("year","ordinal"),ep=/(\d{4})-(\d\d)-(\d\d)/,Td=RegExp(`${xs.source} ?(?:${_d.source}|(${kd.source}))?`),tp=RegExp(`(?: ${Td.source})?`);function Hn(e,t,n){const i=e[t];return X(i)?n:qt(i)}function np(e,t){return[{year:Hn(e,t),month:Hn(e,t+1,1),day:Hn(e,t+2,1)},null,t+3]}function Jn(e,t){return[{hours:Hn(e,t,0),minutes:Hn(e,t+1,0),seconds:Hn(e,t+2,0),milliseconds:ws(e[t+3])},null,t+4]}function Oi(e,t){const n=!e[t]&&!e[t+1],i=To(e[t+1],e[t+2]),o=n?null:Ue.instance(i);return[{},o,t+3]}function Ci(e,t){const n=e[t]?zt.create(e[t]):null;return[{},n,t+1]}const ip=RegExp(`^T?${xs.source}$`),op=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function rp(e){const[t,n,i,o,r,s,a,l,c]=e,d=t[0]==="-",u=l&&l[0]==="-",f=(b,I=!1)=>b!==void 0&&(I||b&&d)?-b:b;return[{years:f(sn(n)),months:f(sn(i)),weeks:f(sn(o)),days:f(sn(r)),hours:f(sn(s)),minutes:f(sn(a)),seconds:f(sn(l),l==="-0"),milliseconds:f(ws(c),u)}]}const sp={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Es(e,t,n,i,o,r,s){const a={year:t.length===2?Lr(qt(t)):qt(t),month:md.indexOf(n)+1,day:qt(i),hour:qt(o),minute:qt(r)};return s&&(a.second=qt(s)),e&&(a.weekday=e.length>3?gd.indexOf(e)+1:bd.indexOf(e)+1),a}const ap=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function lp(e){const[,t,n,i,o,r,s,a,l,c,d,u]=e,f=Es(t,o,i,n,r,s,a);let b;return l?b=sp[l]:c?b=0:b=To(d,u),[f,new Ue(b)]}function cp(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const dp=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,up=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,fp=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Fa(e){const[,t,n,i,o,r,s,a]=e;return[Es(t,o,i,n,r,s,a),Ue.utcInstance]}function hp(e){const[,t,n,i,o,r,s,a]=e;return[Es(t,a,n,i,o,r,s),Ue.utcInstance]}const mp=Kn(Km,_s),pp=Kn(Xm,_s),gp=Kn(Zm,_s),bp=Kn(Ed),Id=Xn(np,Jn,Oi,Ci),vp=Xn(Jm,Jn,Oi,Ci),yp=Xn(Qm,Jn,Oi,Ci),wp=Xn(Jn,Oi,Ci);function kp(e){return Zn(e,[mp,Id],[pp,vp],[gp,yp],[bp,wp])}function xp(e){return Zn(cp(e),[ap,lp])}function _p(e){return Zn(e,[dp,Fa],[up,Fa],[fp,hp])}function Ep(e){return Zn(e,[op,rp])}const Tp=Xn(Jn);function Ip(e){return Zn(e,[ip,Tp])}const Sp=Kn(ep,tp),Op=Kn(Td),Cp=Xn(Jn,Oi,Ci);function Ap(e){return Zn(e,[Sp,Id],[Op,Cp])}const Va="Invalid Duration",Sd={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Np={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...Sd},Qe=146097/400,$n=146097/4800,Dp={years:{quarters:4,months:12,weeks:Qe/7,days:Qe,hours:Qe*24,minutes:Qe*24*60,seconds:Qe*24*60*60,milliseconds:Qe*24*60*60*1e3},quarters:{months:3,weeks:Qe/28,days:Qe/4,hours:Qe*24/4,minutes:Qe*24*60/4,seconds:Qe*24*60*60/4,milliseconds:Qe*24*60*60*1e3/4},months:{weeks:$n/7,days:$n,hours:$n*24,minutes:$n*24*60,seconds:$n*24*60*60,milliseconds:$n*24*60*60*1e3},...Sd},fn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Lp=fn.slice(0).reverse();function jt(e,t,n=!1){const i={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new ee(i)}function Od(e,t){let n=t.milliseconds??0;for(const i of Lp.slice(1))t[i]&&(n+=t[i]*e[i].milliseconds);return n}function Ua(e,t){const n=Od(e,t)<0?-1:1;fn.reduceRight((i,o)=>{if(X(t[o]))return i;if(i){const r=t[i]*n,s=e[o][i],a=Math.floor(r/s);t[o]+=a*n,t[i]-=a*s*n}return o},null),fn.reduce((i,o)=>{if(X(t[o]))return i;if(i){const r=t[i]%1;t[i]-=r,t[o]+=r*e[i][o]}return o},null)}function $p(e){const t={};for(const[n,i]of Object.entries(e))i!==0&&(t[n]=i);return t}class ee{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let i=n?Dp:Np;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ae.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,n){return ee.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new tt(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new ee({values:lo(t,ee.normalizeUnit),loc:ae.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(gn(t))return ee.fromMillis(t);if(ee.isDuration(t))return t;if(typeof t=="object")return ee.fromObject(t);throw new tt(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[i]=Ep(t);return i?ee.fromObject(i,n):ee.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[i]=Ip(t);return i?ee.fromObject(i,n):ee.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new tt("need to specify a reason the Duration is invalid");const i=t instanceof pt?t:new pt(t,n);if(ge.throwOnInvalid)throw new um(i);return new ee({invalid:i})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new jc(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const i={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?Pe.create(this.loc,i).formatDurationFromString(this,t):Va}toHuman(t={}){if(!this.isValid)return Va;const n=fn.map(i=>{const o=this.values[i];return X(o)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:i.slice(0,-1)}).format(o)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=ks(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},j.fromMillis(n,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.isValid?Od(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=ee.fromDurationLike(t),i={};for(const o of fn)(jn(n.values,o)||jn(this.values,o))&&(i[o]=n.get(o)+this.get(o));return jt(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const n=ee.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const i of Object.keys(this.values))n[i]=hd(t(this.values[i],i));return jt(this,{values:n},!0)}get(t){return this[ee.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...lo(t,ee.normalizeUnit)};return jt(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:i,matrix:o}={}){const s={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:o,conversionAccuracy:i};return jt(this,s)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Ua(this.matrix,t),jt(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=$p(this.normalize().shiftToAll().toObject());return jt(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(s=>ee.normalizeUnit(s));const n={},i={},o=this.toObject();let r;for(const s of fn)if(t.indexOf(s)>=0){r=s;let a=0;for(const c in i)a+=this.matrix[c][s]*i[c],i[c]=0;gn(o[s])&&(a+=o[s]);const l=Math.trunc(a);n[s]=l,i[s]=(a*1e3-l*1e3)/1e3}else gn(o[s])&&(i[s]=o[s]);for(const s in i)i[s]!==0&&(n[r]+=s===r?i[s]:i[s]/this.matrix[r][s]);return Ua(this.matrix,n),jt(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return jt(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(i,o){return i===void 0||i===0?o===void 0||o===0:i===o}for(const i of fn)if(!n(this.values[i],t.values[i]))return!1;return!0}}const Pn="Invalid Interval";function Pp(e,t){return!e||!e.isValid?ue.invalid("missing or invalid start"):!t||!t.isValid?ue.invalid("missing or invalid end"):t<e?ue.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class ue{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new tt("need to specify a reason the Interval is invalid");const i=t instanceof pt?t:new pt(t,n);if(ge.throwOnInvalid)throw new dm(i);return new ue({invalid:i})}static fromDateTimes(t,n){const i=si(t),o=si(n),r=Pp(i,o);return r??new ue({start:i,end:o})}static after(t,n){const i=ee.fromDurationLike(n),o=si(t);return ue.fromDateTimes(o,o.plus(i))}static before(t,n){const i=ee.fromDurationLike(n),o=si(t);return ue.fromDateTimes(o.minus(i),o)}static fromISO(t,n){const[i,o]=(t||"").split("/",2);if(i&&o){let r,s;try{r=j.fromISO(i,n),s=r.isValid}catch{s=!1}let a,l;try{a=j.fromISO(o,n),l=a.isValid}catch{l=!1}if(s&&l)return ue.fromDateTimes(r,a);if(s){const c=ee.fromISO(o,n);if(c.isValid)return ue.after(r,c)}else if(l){const c=ee.fromISO(i,n);if(c.isValid)return ue.before(a,c)}}return ue.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds"){if(!this.isValid)return NaN;const n=this.start.startOf(t),i=this.end.startOf(t);return Math.floor(i.diff(n,t).get(t))+(i.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?ue.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(si).filter(s=>this.contains(s)).sort(),i=[];let{s:o}=this,r=0;for(;o<this.e;){const s=n[r]||this.e,a=+s>+this.e?this.e:s;i.push(ue.fromDateTimes(o,a)),o=a,r+=1}return i}splitBy(t){const n=ee.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:i}=this,o=1,r;const s=[];for(;i<this.e;){const a=this.start.plus(n.mapUnits(l=>l*o));r=+a>+this.e?this.e:a,s.push(ue.fromDateTimes(i,r)),i=r,o+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return n>=i?null:ue.fromDateTimes(n,i)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return ue.fromDateTimes(n,i)}static merge(t){const[n,i]=t.sort((o,r)=>o.s-r.s).reduce(([o,r],s)=>r?r.overlaps(s)||r.abutsStart(s)?[o,r.union(s)]:[o.concat([r]),s]:[o,s],[[],null]);return i&&n.push(i),n}static xor(t){let n=null,i=0;const o=[],r=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),s=Array.prototype.concat(...r),a=s.sort((l,c)=>l.time-c.time);for(const l of a)i+=l.type==="s"?1:-1,i===1?n=l.time:(n&&+n!=+l.time&&o.push(ue.fromDateTimes(n,l.time)),n=null);return ue.merge(o)}difference(...t){return ue.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Pn}toLocaleString(t=ro,n={}){return this.isValid?Pe.create(this.s.loc.clone(n),t).formatInterval(this):Pn}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Pn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Pn}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Pn}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Pn}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):ee.invalid(this.invalidReason)}mapEndpoints(t){return ue.fromDateTimes(t(this.s),t(this.e))}}class Ri{static hasDST(t=ge.defaultZone){const n=j.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return zt.isValidZone(t)}static normalizeZone(t){return Kt(t,ge.defaultZone)}static months(t="long",{locale:n=null,numberingSystem:i=null,locObj:o=null,outputCalendar:r="gregory"}={}){return(o||ae.create(n,i,r)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:i=null,locObj:o=null,outputCalendar:r="gregory"}={}){return(o||ae.create(n,i,r)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:i=null,locObj:o=null}={}){return(o||ae.create(n,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:i=null,locObj:o=null}={}){return(o||ae.create(n,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ae.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return ae.create(n,null,"gregory").eras(t)}static features(){return{relative:ud()}}}function za(e,t){const n=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),i=n(t)-n(e);return Math.floor(ee.fromMillis(i).as("days"))}function Mp(e,t,n){const i=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{const d=za(l,c);return(d-d%7)/7}],["days",za]],o={},r=e;let s,a;for(const[l,c]of i)n.indexOf(l)>=0&&(s=l,o[l]=c(e,t),a=r.plus(o),a>t?(o[l]--,e=r.plus(o),e>t&&(a=e,o[l]--,e=r.plus(o))):e=a);return[e,o,a,s]}function Rp(e,t,n,i){let[o,r,s,a]=Mp(e,t,n);const l=t-o,c=n.filter(u=>["hours","minutes","seconds","milliseconds"].indexOf(u)>=0);c.length===0&&(s<t&&(s=o.plus({[a]:1})),s!==o&&(r[a]=(r[a]||0)+l/(s-o)));const d=ee.fromObject(r,i);return c.length>0?ee.fromMillis(l,i).shiftTo(...c).plus(d):d}const Ts={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Ba={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Fp=Ts.hanidec.replace(/[\[|\]]/g,"").split("");function Vp(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);if(e[n].search(Ts.hanidec)!==-1)t+=Fp.indexOf(e[n]);else for(const o in Ba){const[r,s]=Ba[o];i>=r&&i<=s&&(t+=i-r)}}return parseInt(t,10)}else return t}function ct({numberingSystem:e},t=""){return new RegExp(`${Ts[e||"latn"]}${t}`)}const Up="missing Intl.DateTimeFormat.formatToParts support";function ie(e,t=n=>n){return{regex:e,deser:([n])=>t(Vp(n))}}const zp=String.fromCharCode(160),Cd=`[ ${zp}]`,Ad=new RegExp(Cd,"g");function Bp(e){return e.replace(/\./g,"\\.?").replace(Ad,Cd)}function Ha(e){return e.replace(/\./g,"").replace(Ad," ").toLowerCase()}function dt(e,t){return e===null?null:{regex:RegExp(e.map(Bp).join("|")),deser:([n])=>e.findIndex(i=>Ha(n)===Ha(i))+t}}function Wa(e,t){return{regex:e,deser:([,n,i])=>To(n,i),groups:t}}function Fi(e){return{regex:e,deser:([t])=>t}}function Hp(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Wp(e,t){const n=ct(t),i=ct(t,"{2}"),o=ct(t,"{3}"),r=ct(t,"{4}"),s=ct(t,"{6}"),a=ct(t,"{1,2}"),l=ct(t,"{1,3}"),c=ct(t,"{1,6}"),d=ct(t,"{1,9}"),u=ct(t,"{2,4}"),f=ct(t,"{4,6}"),b=O=>({regex:RegExp(Hp(O.val)),deser:([g])=>g,literal:!0}),x=(O=>{if(e.literal)return b(O);switch(O.val){case"G":return dt(t.eras("short"),0);case"GG":return dt(t.eras("long"),0);case"y":return ie(c);case"yy":return ie(u,Lr);case"yyyy":return ie(r);case"yyyyy":return ie(f);case"yyyyyy":return ie(s);case"M":return ie(a);case"MM":return ie(i);case"MMM":return dt(t.months("short",!0),1);case"MMMM":return dt(t.months("long",!0),1);case"L":return ie(a);case"LL":return ie(i);case"LLL":return dt(t.months("short",!1),1);case"LLLL":return dt(t.months("long",!1),1);case"d":return ie(a);case"dd":return ie(i);case"o":return ie(l);case"ooo":return ie(o);case"HH":return ie(i);case"H":return ie(a);case"hh":return ie(i);case"h":return ie(a);case"mm":return ie(i);case"m":return ie(a);case"q":return ie(a);case"qq":return ie(i);case"s":return ie(a);case"ss":return ie(i);case"S":return ie(l);case"SSS":return ie(o);case"u":return Fi(d);case"uu":return Fi(a);case"uuu":return ie(n);case"a":return dt(t.meridiems(),0);case"kkkk":return ie(r);case"kk":return ie(u,Lr);case"W":return ie(a);case"WW":return ie(i);case"E":case"c":return ie(n);case"EEE":return dt(t.weekdays("short",!1),1);case"EEEE":return dt(t.weekdays("long",!1),1);case"ccc":return dt(t.weekdays("short",!0),1);case"cccc":return dt(t.weekdays("long",!0),1);case"Z":case"ZZ":return Wa(new RegExp(`([+-]${a.source})(?::(${i.source}))?`),2);case"ZZZ":return Wa(new RegExp(`([+-]${a.source})(${i.source})?`),2);case"z":return Fi(/[a-z_+-/]{1,256}?/i);case" ":return Fi(/[^\S\n\r]/);default:return b(O)}})(e)||{invalidReason:Up};return x.token=e,x}const jp={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function Yp(e,t,n){const{type:i,value:o}=e;if(i==="literal"){const l=/^\s+$/.test(o);return{literal:!l,val:l?" ":o}}const r=t[i];let s=i;i==="hour"&&(t.hour12!=null?s=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?s="hour12":s="hour24":s=n.hour12?"hour12":"hour24");let a=jp[s];if(typeof a=="object"&&(a=a[r]),a)return{literal:!1,val:a}}function Gp(e){return[`^${e.map(n=>n.regex).reduce((n,i)=>`${n}(${i.source})`,"")}$`,e]}function qp(e,t,n){const i=e.match(t);if(i){const o={};let r=1;for(const s in n)if(jn(n,s)){const a=n[s],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(o[a.token.val[0]]=a.deser(i.slice(r,r+l))),r+=l}return[i,o]}else return[i,{}]}function Kp(e){const t=r=>{switch(r){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,i;return X(e.z)||(n=zt.create(e.z)),X(e.Z)||(n||(n=new Ue(e.Z)),i=e.Z),X(e.q)||(e.M=(e.q-1)*3+1),X(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),X(e.u)||(e.S=ws(e.u)),[Object.keys(e).reduce((r,s)=>{const a=t(s);return a&&(r[a]=e[s]),r},{}),n,i]}let Yo=null;function Xp(){return Yo||(Yo=j.fromMillis(1555555555555)),Yo}function Zp(e,t){if(e.literal)return e;const n=Pe.macroTokenToFormatOpts(e.val),i=Ld(n,t);return i==null||i.includes(void 0)?e:i}function Nd(e,t){return Array.prototype.concat(...e.map(n=>Zp(n,t)))}function Dd(e,t,n){const i=Nd(Pe.parseFormat(n),e),o=i.map(s=>Wp(s,e)),r=o.find(s=>s.invalidReason);if(r)return{input:t,tokens:i,invalidReason:r.invalidReason};{const[s,a]=Gp(o),l=RegExp(s,"i"),[c,d]=qp(t,l,a),[u,f,b]=d?Kp(d):[null,null,void 0];if(jn(d,"a")&&jn(d,"H"))throw new ci("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:i,regex:l,rawMatches:c,matches:d,result:u,zone:f,specificOffset:b}}}function Jp(e,t,n){const{result:i,zone:o,specificOffset:r,invalidReason:s}=Dd(e,t,n);return[i,o,r,s]}function Ld(e,t){if(!e)return null;const i=Pe.create(t,e).dtFormatter(Xp()),o=i.formatToParts(),r=i.resolvedOptions();return o.map(s=>Yp(s,e,r))}const $d=[0,31,59,90,120,151,181,212,243,273,304,334],Pd=[0,31,60,91,121,152,182,213,244,274,305,335];function nt(e,t){return new pt("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Md(e,t,n){const i=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&i.setUTCFullYear(i.getUTCFullYear()-1900);const o=i.getUTCDay();return o===0?7:o}function Rd(e,t,n){return n+(Si(e)?Pd:$d)[t-1]}function Fd(e,t){const n=Si(e)?Pd:$d,i=n.findIndex(r=>r<t),o=t-n[i];return{month:i+1,day:o}}function $r(e){const{year:t,month:n,day:i}=e,o=Rd(t,n,i),r=Md(t,n,i);let s=Math.floor((o-r+10)/7),a;return s<1?(a=t-1,s=ao(a)):s>ao(t)?(a=t+1,s=1):a=t,{weekYear:a,weekNumber:s,weekday:r,...Io(e)}}function ja(e){const{weekYear:t,weekNumber:n,weekday:i}=e,o=Md(t,1,4),r=fi(t);let s=n*7+i-o-3,a;s<1?(a=t-1,s+=fi(a)):s>r?(a=t+1,s-=fi(t)):a=t;const{month:l,day:c}=Fd(a,s);return{year:a,month:l,day:c,...Io(e)}}function Go(e){const{year:t,month:n,day:i}=e,o=Rd(t,n,i);return{year:t,ordinal:o,...Io(e)}}function Ya(e){const{year:t,ordinal:n}=e,{month:i,day:o}=Fd(t,n);return{year:t,month:i,day:o,...Io(e)}}function Qp(e){const t=_o(e.weekYear),n=Ft(e.weekNumber,1,ao(e.weekYear)),i=Ft(e.weekday,1,7);return t?n?i?!1:nt("weekday",e.weekday):nt("week",e.week):nt("weekYear",e.weekYear)}function eg(e){const t=_o(e.year),n=Ft(e.ordinal,1,fi(e.year));return t?n?!1:nt("ordinal",e.ordinal):nt("year",e.year)}function Vd(e){const t=_o(e.year),n=Ft(e.month,1,12),i=Ft(e.day,1,so(e.year,e.month));return t?n?i?!1:nt("day",e.day):nt("month",e.month):nt("year",e.year)}function Ud(e){const{hour:t,minute:n,second:i,millisecond:o}=e,r=Ft(t,0,23)||t===24&&n===0&&i===0&&o===0,s=Ft(n,0,59),a=Ft(i,0,59),l=Ft(o,0,999);return r?s?a?l?!1:nt("millisecond",o):nt("second",i):nt("minute",n):nt("hour",t)}const qo="Invalid DateTime",Ga=864e13;function Vi(e){return new pt("unsupported zone",`the zone "${e.name}" is not supported`)}function Ko(e){return e.weekData===null&&(e.weekData=$r(e.c)),e.weekData}function an(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new j({...n,...t,old:n})}function zd(e,t,n){let i=e-t*60*1e3;const o=n.offset(i);if(t===o)return[i,t];i-=(o-t)*60*1e3;const r=n.offset(i);return o===r?[i,o]:[e-Math.min(o,r)*60*1e3,Math.max(o,r)]}function Ui(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function to(e,t,n){return zd(Eo(e),t,n)}function qa(e,t){const n=e.o,i=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,r={...e.c,year:i,month:o,day:Math.min(e.c.day,so(i,o))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},s=ee.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=Eo(r);let[l,c]=zd(a,n,e.zone);return s!==0&&(l+=s,c=e.zone.offset(l)),{ts:l,o:c}}function ri(e,t,n,i,o,r){const{setZone:s,zone:a}=n;if(e&&Object.keys(e).length!==0||t){const l=t||a,c=j.fromObject(e,{...n,zone:l,specificOffset:r});return s?c:c.setZone(a)}else return j.invalid(new pt("unparsable",`the input "${o}" can't be parsed as ${i}`))}function zi(e,t,n=!0){return e.isValid?Pe.create(ae.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Xo(e,t){const n=e.c.year>9999||e.c.year<0;let i="";return n&&e.c.year>=0&&(i+="+"),i+=be(e.c.year,n?6:4),t?(i+="-",i+=be(e.c.month),i+="-",i+=be(e.c.day)):(i+=be(e.c.month),i+=be(e.c.day)),i}function Ka(e,t,n,i,o,r){let s=be(e.c.hour);return t?(s+=":",s+=be(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(s+=":")):s+=be(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(s+=be(e.c.second),(e.c.millisecond!==0||!i)&&(s+=".",s+=be(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!r?s+="Z":e.o<0?(s+="-",s+=be(Math.trunc(-e.o/60)),s+=":",s+=be(Math.trunc(-e.o%60))):(s+="+",s+=be(Math.trunc(e.o/60)),s+=":",s+=be(Math.trunc(e.o%60)))),r&&(s+="["+e.zone.ianaName+"]"),s}const Bd={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},tg={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ng={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Hd=["year","month","day","hour","minute","second","millisecond"],ig=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],og=["year","ordinal","hour","minute","second","millisecond"];function Xa(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new jc(e);return t}function Za(e,t){const n=Kt(t.zone,ge.defaultZone),i=ae.fromObject(t),o=ge.now();let r,s;if(X(e.year))r=o;else{for(const c of Hd)X(e[c])&&(e[c]=Bd[c]);const a=Vd(e)||Ud(e);if(a)return j.invalid(a);const l=n.offset(o);[r,s]=to(e,l,n)}return new j({ts:r,zone:n,loc:i,o:s})}function Ja(e,t,n){const i=X(n.round)?!0:n.round,o=(s,a)=>(s=ks(s,i||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(s,a)),r=s=>n.calendary?t.hasSame(e,s)?0:t.startOf(s).diff(e.startOf(s),s).get(s):t.diff(e,s).get(s);if(n.unit)return o(r(n.unit),n.unit);for(const s of n.units){const a=r(s);if(Math.abs(a)>=1)return o(a,s)}return o(e>t?-0:0,n.units[n.units.length-1])}function Qa(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}class j{constructor(t){const n=t.zone||ge.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new pt("invalid input"):null)||(n.isValid?null:Vi(n));this.ts=X(t.ts)?ge.now():t.ts;let o=null,r=null;if(!i)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,r]=[t.old.c,t.old.o];else{const a=n.offset(this.ts);o=Ui(this.ts,a),i=Number.isNaN(o.year)?new pt("invalid input"):null,o=i?null:o,r=i?null:a}this._zone=n,this.loc=t.loc||ae.create(),this.invalid=i,this.weekData=null,this.c=o,this.o=r,this.isLuxonDateTime=!0}static now(){return new j({})}static local(){const[t,n]=Qa(arguments),[i,o,r,s,a,l,c]=n;return Za({year:i,month:o,day:r,hour:s,minute:a,second:l,millisecond:c},t)}static utc(){const[t,n]=Qa(arguments),[i,o,r,s,a,l,c]=n;return t.zone=Ue.utcInstance,Za({year:i,month:o,day:r,hour:s,minute:a,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const i=Dm(t)?t.valueOf():NaN;if(Number.isNaN(i))return j.invalid("invalid input");const o=Kt(n.zone,ge.defaultZone);return o.isValid?new j({ts:i,zone:o,loc:ae.fromObject(n)}):j.invalid(Vi(o))}static fromMillis(t,n={}){if(gn(t))return t<-Ga||t>Ga?j.invalid("Timestamp out of range"):new j({ts:t,zone:Kt(n.zone,ge.defaultZone),loc:ae.fromObject(n)});throw new tt(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(gn(t))return new j({ts:t*1e3,zone:Kt(n.zone,ge.defaultZone),loc:ae.fromObject(n)});throw new tt("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const i=Kt(n.zone,ge.defaultZone);if(!i.isValid)return j.invalid(Vi(i));const o=ge.now(),r=X(n.specificOffset)?i.offset(o):n.specificOffset,s=lo(t,Xa),a=!X(s.ordinal),l=!X(s.year),c=!X(s.month)||!X(s.day),d=l||c,u=s.weekYear||s.weekNumber,f=ae.fromObject(n);if((d||a)&&u)throw new ci("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new ci("Can't mix ordinal dates with month/day");const b=u||s.weekday&&!d;let I,x,O=Ui(o,r);b?(I=ig,x=tg,O=$r(O)):a?(I=og,x=ng,O=Go(O)):(I=Hd,x=Bd);let g=!1;for(const P of I){const A=s[P];X(A)?g?s[P]=x[P]:s[P]=O[P]:g=!0}const y=b?Qp(s):a?eg(s):Vd(s),S=y||Ud(s);if(S)return j.invalid(S);const k=b?ja(s):a?Ya(s):s,[N,v]=to(k,r,i),w=new j({ts:N,zone:i,o:v,loc:f});return s.weekday&&d&&t.weekday!==w.weekday?j.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${w.toISO()}`):w}static fromISO(t,n={}){const[i,o]=kp(t);return ri(i,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[i,o]=xp(t);return ri(i,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[i,o]=_p(t);return ri(i,o,n,"HTTP",n)}static fromFormat(t,n,i={}){if(X(t)||X(n))throw new tt("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:r=null}=i,s=ae.fromOpts({locale:o,numberingSystem:r,defaultToEN:!0}),[a,l,c,d]=Jp(s,t,n);return d?j.invalid(d):ri(a,l,i,`format ${n}`,t,c)}static fromString(t,n,i={}){return j.fromFormat(t,n,i)}static fromSQL(t,n={}){const[i,o]=Ap(t);return ri(i,o,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new tt("need to specify a reason the DateTime is invalid");const i=t instanceof pt?t:new pt(t,n);if(ge.throwOnInvalid)throw new cm(i);return new j({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const i=Ld(t,ae.fromObject(n));return i?i.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return Nd(Pe.parseFormat(t),ae.fromObject(n)).map(o=>o.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ko(this).weekYear:NaN}get weekNumber(){return this.isValid?Ko(this).weekNumber:NaN}get weekday(){return this.isValid?Ko(this).weekday:NaN}get ordinal(){return this.isValid?Go(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ri.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ri.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ri.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ri.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,n=6e4,i=Eo(this.c),o=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-o*n),a=this.zone.offset(i-r*n);if(s===a)return[this];const l=i-s*n,c=i-a*n,d=Ui(l,s),u=Ui(c,a);return d.hour===u.hour&&d.minute===u.minute&&d.second===u.second&&d.millisecond===u.millisecond?[an(this,{ts:l}),an(this,{ts:c})]:[this]}get isInLeapYear(){return Si(this.year)}get daysInMonth(){return so(this.year,this.month)}get daysInYear(){return this.isValid?fi(this.year):NaN}get weeksInWeekYear(){return this.isValid?ao(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:i,calendar:o}=Pe.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:i,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(Ue.instance(t),n)}toLocal(){return this.setZone(ge.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:i=!1}={}){if(t=Kt(t,ge.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||i){const r=t.offset(this.ts),s=this.toObject();[o]=to(s,r,t)}return an(this,{ts:o,zone:t})}else return j.invalid(Vi(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:i}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:i});return an(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=lo(t,Xa),i=!X(n.weekYear)||!X(n.weekNumber)||!X(n.weekday),o=!X(n.ordinal),r=!X(n.year),s=!X(n.month)||!X(n.day),a=r||s,l=n.weekYear||n.weekNumber;if((a||o)&&l)throw new ci("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(s&&o)throw new ci("Can't mix ordinal dates with month/day");let c;i?c=ja({...$r(this.c),...n}):X(n.ordinal)?(c={...this.toObject(),...n},X(n.day)&&(c.day=Math.min(so(c.year,c.month),c.day))):c=Ya({...Go(this.c),...n});const[d,u]=to(c,this.o,this.zone);return an(this,{ts:d,o:u})}plus(t){if(!this.isValid)return this;const n=ee.fromDurationLike(t);return an(this,qa(this,n))}minus(t){if(!this.isValid)return this;const n=ee.fromDurationLike(t).negate();return an(this,qa(this,n))}startOf(t){if(!this.isValid)return this;const n={},i=ee.normalizeUnit(t);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(i==="weeks"&&(n.weekday=1),i==="quarters"){const o=Math.ceil(this.month/3);n.month=(o-1)*3+1}return this.set(n)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,n={}){return this.isValid?Pe.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):qo}toLocaleString(t=ro,n={}){return this.isValid?Pe.create(this.loc.clone(n),t).formatDateTime(this):qo}toLocaleParts(t={}){return this.isValid?Pe.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:i=!1,includeOffset:o=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s=t==="extended";let a=Xo(this,s);return a+="T",a+=Ka(this,s,n,i,o,r),a}toISODate({format:t="extended"}={}){return this.isValid?Xo(this,t==="extended"):null}toISOWeekDate(){return zi(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:i=!0,includePrefix:o=!1,extendedZone:r=!1,format:s="extended"}={}){return this.isValid?(o?"T":"")+Ka(this,s==="extended",n,t,i,r):null}toRFC2822(){return zi(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zi(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xo(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:i=!0}={}){let o="HH:mm:ss.SSS";return(n||t)&&(i&&(o+=" "),n?o+="z":t&&(o+="ZZ")),zi(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():qo}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",i={}){if(!this.isValid||!t.isValid)return ee.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=Lm(n).map(ee.normalizeUnit),s=t.valueOf()>this.valueOf(),a=s?this:t,l=s?t:this,c=Rp(a,l,r,o);return s?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(j.now(),t,n)}until(t){return this.isValid?ue.fromDateTimes(this,t):this}hasSame(t,n){if(!this.isValid)return!1;const i=t.valueOf(),o=this.setZone(t.zone,{keepLocalTime:!0});return o.startOf(n)<=i&&i<=o.endOf(n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||j.fromObject({},{zone:this.zone}),i=t.padding?this<n?-t.padding:t.padding:0;let o=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(o=t.unit,r=void 0),Ja(n,this.plus(i),{...t,numeric:"always",units:o,unit:r})}toRelativeCalendar(t={}){return this.isValid?Ja(t.base||j.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(j.isDateTime))throw new tt("min requires all arguments be DateTimes");return Ma(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(j.isDateTime))throw new tt("max requires all arguments be DateTimes");return Ma(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,i={}){const{locale:o=null,numberingSystem:r=null}=i,s=ae.fromOpts({locale:o,numberingSystem:r,defaultToEN:!0});return Dd(s,t,n)}static fromStringExplain(t,n,i={}){return j.fromFormatExplain(t,n,i)}static get DATE_SHORT(){return ro}static get DATE_MED(){return Yc}static get DATE_MED_WITH_WEEKDAY(){return fm}static get DATE_FULL(){return Gc}static get DATE_HUGE(){return qc}static get TIME_SIMPLE(){return Kc}static get TIME_WITH_SECONDS(){return Xc}static get TIME_WITH_SHORT_OFFSET(){return Zc}static get TIME_WITH_LONG_OFFSET(){return Jc}static get TIME_24_SIMPLE(){return Qc}static get TIME_24_WITH_SECONDS(){return ed}static get TIME_24_WITH_SHORT_OFFSET(){return td}static get TIME_24_WITH_LONG_OFFSET(){return nd}static get DATETIME_SHORT(){return id}static get DATETIME_SHORT_WITH_SECONDS(){return od}static get DATETIME_MED(){return rd}static get DATETIME_MED_WITH_SECONDS(){return sd}static get DATETIME_MED_WITH_WEEKDAY(){return hm}static get DATETIME_FULL(){return ad}static get DATETIME_FULL_WITH_SECONDS(){return ld}static get DATETIME_HUGE(){return cd}static get DATETIME_HUGE_WITH_SECONDS(){return dd}}function si(e){if(j.isDateTime(e))return e;if(e&&e.valueOf&&gn(e.valueOf()))return j.fromJSDate(e);if(e&&typeof e=="object")return j.fromObject(e);throw new tt(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const Wd=ys("userAuth",{state:()=>({token:{value:"",expiration:void 0},oms:""}),getters:{getToken:e=>e.token,getOms:e=>e.oms,isAuthenticated:e=>{let t=!1;if(e.token.expiration){const n=j.now().toMillis();t=e.token.expiration<n}return e.token.value&&!t}},persist:!0});const Mn={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,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,safari10:!1,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,cssVarShim:!1,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,dynamicImportShim:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0};let Rn,jd,So,Yd=!1,co=!1,Is=!1,We=!1,el=null,Pr=!1;const rg=e=>{const t=new URL(e,Ae.$resourcesUrl$);return t.origin!==Ni.location.origin?t.href:t.pathname},vn=(e,t="")=>()=>{},tl="http://www.w3.org/1999/xlink",nl={},sg="http://www.w3.org/2000/svg",ag="http://www.w3.org/1999/xhtml",lg=e=>e!=null,Ss=e=>(e=typeof e,e==="object"||e==="function");function cg(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 T=(e,t,...n)=>{let i=null,o=null,r=null,s=!1,a=!1;const l=[],c=u=>{for(let f=0;f<u.length;f++)i=u[f],Array.isArray(i)?c(i):i!=null&&typeof i!="boolean"&&((s=typeof e!="function"&&!Ss(i))&&(i=String(i)),s&&a?l[l.length-1].$text$+=i:l.push(s?uo(null,i):i),a=s)};if(c(n),t){t.key&&(o=t.key),t.name&&(r=t.name);{const u=t.className||t.class;u&&(t.class=typeof u!="object"?u:Object.keys(u).filter(f=>u[f]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,ug);const d=uo(e,null);return d.$attrs$=t,l.length>0&&(d.$children$=l),d.$key$=o,d.$name$=r,d},uo=(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},ce={},dg=e=>e&&e.$tag$===ce,ug={forEach:(e,t)=>e.map(il).forEach(t),map:(e,t)=>e.map(il).map(t).map(fg)},il=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),fg=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),T(e.vtag,n,...e.vchildren||[])}const t=uo(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},hg=e=>zg.map(t=>t(e)).find(t=>!!t),mg=e=>Qn(e).$modeName$,pg=(e,t)=>e!=null&&!Ss(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,gg=e=>e,J=(e,t,n)=>{const i=gg(e);return{emit:o=>bg(i,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:o})}},bg=(e,t,n)=>{const i=Ae.ce(t,n);return e.dispatchEvent(i),i},ol=new WeakMap,vg=(e,t,n)=>{let i=mo.get(e);Wg&&n?(i=i||new CSSStyleSheet,typeof i=="string"?i=t:i.replaceSync(t)):i=t,mo.set(e,i)},yg=(e,t,n,i)=>{var o;let r=Gd(t,n);const s=mo.get(r);if(e=e.nodeType===11?e:gt,s)if(typeof s=="string"){e=e.head||e;let a=ol.get(e),l;if(a||ol.set(e,a=new Set),!a.has(r)){{l=gt.createElement("style"),l.innerHTML=s;const c=(o=Ae.$nonce$)!==null&&o!==void 0?o:cg(gt);c!=null&&l.setAttribute("nonce",c),e.insertBefore(l,e.querySelector("link"))}a&&a.add(r)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return r},wg=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,i=t.$flags$,o=vn("attachStyles",t.$tagName$),r=yg(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()},Gd=(e,t)=>"sc-"+(t&&e.$flags$&32?e.$tagName$+"-"+t:e.$tagName$),rl=(e,t,n,i,o,r)=>{if(n!==i){let s=cl(e,t),a=t.toLowerCase();if(t==="class"){const l=e.classList,c=sl(n),d=sl(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")t[2]==="-"?t=t.slice(3):cl(Ni,a)?t=a.slice(2):t=a[2]+t.slice(3),n&&Ae.rel(e,t,n,!1),i&&Ae.ael(e,t,i,!1);else{const l=Ss(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(tl,t):e.removeAttribute(t)):(!s||r&4||o)&&!l&&(i=i===!0?"":i,c?e.setAttributeNS(tl,t,i):e.setAttribute(t,i))}}},kg=/\s/,sl=e=>e?e.split(kg):[],qd=(e,t,n,i)=>{const o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||nl,s=t.$attrs$||nl;for(i in r)i in s||rl(o,i,r[i],void 0,n,t.$flags$);for(i in s)rl(o,i,r[i],s[i],n,t.$flags$)},fo=(e,t,n,i)=>{const o=t.$children$[n];let r=0,s,a,l;if(Yd||(Is=!0,o.$tag$==="slot"&&(Rn&&i.classList.add(Rn+"-s"),o.$flags$|=o.$children$?2:1)),o.$text$!==null)s=o.$elm$=gt.createTextNode(o.$text$);else if(o.$flags$&1)s=o.$elm$=gt.createTextNode("");else{if(We||(We=o.$tag$==="svg"),s=o.$elm$=gt.createElementNS(We?sg:ag,o.$flags$&2?"slot-fb":o.$tag$),We&&o.$tag$==="foreignObject"&&(We=!1),qd(null,o,We),lg(Rn)&&s["s-si"]!==Rn&&s.classList.add(s["s-si"]=Rn),o.$children$)for(r=0;r<o.$children$.length;++r)a=fo(e,o,r,s),a&&s.appendChild(a);o.$tag$==="svg"?We=!1:s.tagName==="foreignObject"&&(We=!0)}return s["s-hn"]=So,o.$flags$&3&&(s["s-sr"]=!0,s["s-cr"]=jd,s["s-sn"]=o.$name$||"",l=e&&e.$children$&&e.$children$[n],l&&l.$tag$===o.$tag$&&e.$elm$&&bi(e.$elm$,!1)),s},bi=(e,t)=>{Ae.$flags$|=1;const n=e.childNodes;for(let i=n.length-1;i>=0;i--){const o=n[i];o["s-hn"]!==So&&o["s-ol"]&&(Zd(o).insertBefore(o,Os(o)),o["s-ol"].remove(),o["s-ol"]=void 0,Is=!0),t&&bi(o,t)}Ae.$flags$&=-2},Kd=(e,t,n,i,o,r)=>{let s=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(s.shadowRoot&&s.tagName===So&&(s=s.shadowRoot);o<=r;++o)i[o]&&(a=fo(null,n,o,e),a&&(i[o].$elm$=a,s.insertBefore(a,Os(t))))},Xd=(e,t,n,i,o)=>{for(;t<=n;++t)(i=e[t])&&(o=i.$elm$,eu(i),co=!0,o["s-ol"]?o["s-ol"].remove():bi(o,!0),o.remove())},xg=(e,t,n,i)=>{let o=0,r=0,s=0,a=0,l=t.length-1,c=t[0],d=t[l],u=i.length-1,f=i[0],b=i[u],I,x;for(;o<=l&&r<=u;)if(c==null)c=t[++o];else if(d==null)d=t[--l];else if(f==null)f=i[++r];else if(b==null)b=i[--u];else if(Bi(c,f))Fn(c,f),c=t[++o],f=i[++r];else if(Bi(d,b))Fn(d,b),d=t[--l],b=i[--u];else if(Bi(c,b))(c.$tag$==="slot"||b.$tag$==="slot")&&bi(c.$elm$.parentNode,!1),Fn(c,b),e.insertBefore(c.$elm$,d.$elm$.nextSibling),c=t[++o],b=i[--u];else if(Bi(d,f))(c.$tag$==="slot"||b.$tag$==="slot")&&bi(d.$elm$.parentNode,!1),Fn(d,f),e.insertBefore(d.$elm$,c.$elm$),d=t[--l],f=i[++r];else{for(s=-1,a=o;a<=l;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===f.$key$){s=a;break}s>=0?(x=t[s],x.$tag$!==f.$tag$?I=fo(t&&t[r],n,s,e):(Fn(x,f),t[s]=void 0,I=x.$elm$),f=i[++r]):(I=fo(t&&t[r],n,r,e),f=i[++r]),I&&Zd(c.$elm$).insertBefore(I,Os(c.$elm$))}o>l?Kd(e,i[u+1]==null?null:i[u+1].$elm$,n,i,r,u):r>u&&Xd(t,o,l)},Bi=(e,t)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:e.$key$===t.$key$:!1,Os=e=>e&&e["s-ol"]||e,Zd=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Fn=(e,t)=>{const n=t.$elm$=e.$elm$,i=e.$children$,o=t.$children$,r=t.$tag$,s=t.$text$;let a;s===null?(We=r==="svg"?!0:r==="foreignObject"?!1:We,r==="slot"||qd(e,t,We),i!==null&&o!==null?xg(n,i,t,o):o!==null?(e.$text$!==null&&(n.textContent=""),Kd(n,null,t,o,0,o.length-1)):i!==null&&Xd(i,0,i.length-1),We&&r==="svg"&&(We=!1)):(a=n["s-cr"])?a.parentNode.textContent=s:e.$text$!==s&&(n.data=s)},Jd=e=>{const t=e.childNodes;let n,i,o,r,s,a;for(i=0,o=t.length;i<o;i++)if(n=t[i],n.nodeType===1){if(n["s-sr"]){for(s=n["s-sn"],n.hidden=!1,r=0;r<o;r++)if(a=t[r].nodeType,t[r]["s-hn"]!==n["s-hn"]||s!==""){if(a===1&&s===t[r].getAttribute("slot")){n.hidden=!0;break}}else if(a===1||a===3&&t[r].textContent.trim()!==""){n.hidden=!0;break}}Jd(n)}},ht=[],Qd=e=>{let t,n,i,o,r,s,a=0;const l=e.childNodes,c=l.length;for(;a<c;a++){if(t=l[a],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(i=n.parentNode.childNodes,o=t["s-sn"],s=i.length-1;s>=0;s--)n=i[s],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]&&(al(n,o)?(r=ht.find(d=>d.$nodeToRelocate$===n),co=!0,n["s-sn"]=n["s-sn"]||o,r?r.$slotRefNode$=t:ht.push({$slotRefNode$:t,$nodeToRelocate$:n}),n["s-sr"]&&ht.map(d=>{al(d.$nodeToRelocate$,n["s-sn"])&&(r=ht.find(u=>u.$nodeToRelocate$===n),r&&!d.$slotRefNode$&&(d.$slotRefNode$=r.$slotRefNode$))})):ht.some(d=>d.$nodeToRelocate$===n)||ht.push({$nodeToRelocate$:n}));t.nodeType===1&&Qd(t)}},al=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",eu=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(eu)},_g=(e,t)=>{const n=e.$hostElement$,i=e.$cmpMeta$,o=e.$vnode$||uo(null,null),r=dg(t)?t:T(null,null,t);So=n.tagName,i.$attrsToReflect$&&(r.$attrs$=r.$attrs$||{},i.$attrsToReflect$.map(([s,a])=>r.$attrs$[a]=n[s])),r.$tag$=null,r.$flags$|=4,e.$vnode$=r,r.$elm$=o.$elm$=n.shadowRoot||n,Rn=n["s-sc"],jd=n["s-cr"],Yd=(i.$flags$&1)!==0,co=!1,Fn(o,r);{if(Ae.$flags$|=1,Is){Qd(r.$elm$);let s,a,l,c,d,u,f=0;for(;f<ht.length;f++)s=ht[f],a=s.$nodeToRelocate$,a["s-ol"]||(l=gt.createTextNode(""),l["s-nr"]=a,a.parentNode.insertBefore(a["s-ol"]=l,a));for(f=0;f<ht.length;f++)if(s=ht[f],a=s.$nodeToRelocate$,s.$slotRefNode$){for(c=s.$slotRefNode$.parentNode,d=s.$slotRefNode$.nextSibling,l=a["s-ol"];l=l.previousSibling;)if(u=l["s-nr"],u&&u["s-sn"]===a["s-sn"]&&c===u.parentNode&&(u=u.nextSibling,!u||!u["s-nr"])){d=u;break}(!d&&c!==a.parentNode||a.nextSibling!==d)&&a!==d&&(!a["s-hn"]&&a["s-ol"]&&(a["s-hn"]=a["s-ol"].parentNode.nodeName),c.insertBefore(a,d))}else a.nodeType===1&&(a.hidden=!0)}co&&Jd(r.$elm$),Ae.$flags$&=-2,ht.length=0}},Eg=(e,t)=>{},Cs=(e,t)=>(e.$flags$|=16,Eg(e,e.$ancestorComponent$),po(()=>Tg(e,t))),Tg=(e,t)=>{const n=e.$hostElement$,i=vn("scheduleUpdate",e.$cmpMeta$.$tagName$),o=n;let r;return t?r=Wn(o,"componentWillLoad"):r=Wn(o,"componentWillUpdate"),r=ll(r,()=>Wn(o,"componentWillRender")),i(),ll(r,()=>Ig(e,o,t))},Ig=async(e,t,n)=>{const i=e.$hostElement$,o=vn("update",e.$cmpMeta$.$tagName$);i["s-rc"],n&&wg(e);const r=vn("render",e.$cmpMeta$.$tagName$);Sg(e,t,i),r(),o(),Og(e)},Sg=(e,t,n)=>{try{el=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(Mn.hasRenderFn||Mn.reflect)&&(Mn.vdomRender||Mn.reflect)&&(Mn.hydrateServerSide||_g(e,t))}catch(a){Ai(a,e.$hostElement$)}return el=null,null},Og=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,i=vn("postUpdate",t),o=n;e.$ancestorComponent$,Wn(o,"componentDidRender"),e.$flags$&64?(Wn(o,"componentDidUpdate"),i()):(e.$flags$|=64,Wn(o,"componentDidLoad"),i())},ho=e=>{{const t=Qn(e),n=t.$hostElement$.isConnected;return n&&(t.$flags$&18)===2&&Cs(t,!1),n}},Wn=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(i){Ai(i)}},ll=(e,t)=>e&&e.then?e.then(t):t(),Cg=(e,t)=>Qn(e).$instanceValues$.get(t),Ag=(e,t,n,i)=>{const o=Qn(e),r=e,s=o.$instanceValues$.get(t),a=o.$flags$,l=r;n=pg(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(f=>{try{l[f](n,s,t)}catch(b){Ai(b,r)}})}if((a&18)===2){if(l.componentShouldUpdate&&l.componentShouldUpdate(n,s,t)===!1)return;Cs(o,!1)}}}},Ng=(e,t,n)=>{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const i=Object.entries(t.$members$),o=e.prototype;i.map(([r,[s]])=>{(s&31||s&32)&&Object.defineProperty(o,r,{get(){return Cg(this,r)},set(a){Ag(this,r,a,t)},configurable:!0,enumerable:!0})});{const r=new Map;o.attributeChangedCallback=function(s,a,l){Ae.jmp(()=>{const c=r.get(s);if(this.hasOwnProperty(c))l=this[c],delete this[c];else if(o.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==l)return;this[c]=l===null&&typeof this[c]=="boolean"?!1:l})},e.observedAttributes=i.filter(([s,a])=>a[0]&15).map(([s,a])=>{const l=a[1]||s;return r.set(l,s),a[0]&512&&t.$attrsToReflect$.push([s,l]),l})}}return e},Dg=async(e,t,n,i,o)=>{if(!(t.$flags$&32)&&(o=e.constructor,t.$flags$|=32,customElements.whenDefined(n.$tagName$).then(()=>t.$flags$|=128),o.style)){let s=o.style;typeof s!="string"&&(s=s[t.$modeName$=hg(e)]);const a=Gd(n,t.$modeName$);if(!mo.has(a)){const l=vn("registerStyles",n.$tagName$);vg(a,s,!!(n.$flags$&1)),l()}}t.$ancestorComponent$,(()=>Cs(t,!0))()},Lg=e=>{},$g=e=>{if(!(Ae.$flags$&1)){const t=Qn(e),n=t.$cmpMeta$,i=vn("connectedCallback",n.$tagName$);t.$flags$&1?(tu(e,t,n.$listeners$),Lg(t.$lazyInstance$)):(t.$flags$|=1,n.$flags$&12&&Pg(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}}),Dg(e,t,n)),i()}},Pg=e=>{const t=e["s-cr"]=gt.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},Mg=e=>{if(!(Ae.$flags$&1)){const t=Qn(e);t.$rmListeners$&&(t.$rmListeners$.map(n=>n()),t.$rmListeners$=void 0)}},me=(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(){Ug(this,n)},connectedCallback(){$g(this),i&&i.call(this)},disconnectedCallback(){Mg(this),o&&o.call(this)},__attachShadow(){this.attachShadow({mode:"open",delegatesFocus:!!(n.$flags$&16)})}}),e.is=n.$tagName$,Ng(e,n)},tu=(e,t,n,i)=>{n&&n.map(([o,r,s])=>{const a=Fg(e,o),l=Rg(t,s),c=Vg(o);Ae.ael(a,r,l,c),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>Ae.rel(a,r,l,c))})},Rg=(e,t)=>n=>{try{Mn.lazyLoad||e.$hostElement$[t](n)}catch(i){Ai(i)}},Fg=(e,t)=>t&4?gt:t&8?Ni:t&16?gt.body:e,Vg=e=>Bg?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0,nu=new WeakMap,Qn=e=>nu.get(e),Ug=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return tu(e,n,t.$listeners$),nu.set(e,n)},cl=(e,t)=>t in e,Ai=(e,t)=>(0,console.error)(e,t),mo=new Map,zg=[],Ni=typeof window<"u"?window:{},gt=Ni.document||{head:{}},pe=Ni.HTMLElement||class{},Ae={$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)},Bg=(()=>{let e=!1;try{gt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),Hg=e=>Promise.resolve(e),Wg=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),Mr=[],iu=[],ou=(e,t)=>n=>{e.push(n),Pr||(Pr=!0,t&&Ae.$flags$&4?jg(Rr):Ae.raf(Rr))},dl=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){Ai(n)}e.length=0},Rr=()=>{dl(Mr),dl(iu),(Pr=Mr.length>0)&&Ae.raf(Rr)},jg=e=>Hg().then(e),ru=ou(Mr,!1),po=ou(iu,!0);/*!
12
+ This will fail in production.`);a=uo,a._s.has(o)||(r?Lr(o,t,i,a):Ua(o,i,a),process.env.NODE_ENV!=="production"&&(s._pinia=a));const d=a._s.get(o);if(process.env.NODE_ENV!=="production"&&l){const u="__hot:"+o,f=r?Lr(u,t,i,a,!0):Ua(u,et({},i),a,!0);l._hotUpdate(f),delete a.state.value[u],a._s.delete(u)}if(process.env.NODE_ENV!=="production"&&Ei&&c&&c.proxy&&!l){const u=c.proxy,f="_pStores"in u?u._pStores:u._pStores={};f[o]=d}return d}return s.$id=o,s}const rd=Is("productIdentification",{state:()=>({productIdentificationPref:{primaryId:"",secondaryId:""},productIdentificationOptions:["productId","groupId","groupName","internalName","parentProductName","primaryProductCategoryName","productId","sku","title","SHOPIFY_PROD_SKU"]}),getters:{getProductIdentificationPref:e=>e.productIdentificationPref,getProductIdentificationOptions:e=>e.productIdentificationOptions},actions:{async setProductIdentificationPref(e,t,n){const o=JSON.parse(JSON.stringify(this.getProductIdentificationPref));if(!n){this.productIdentificationPref=o;return}o[e]=t;try{this.productIdentificationPref=await Co.setProductIdentificationPref(n,o)}catch(i){console.log("error",i)}},async getIdentificationPref(e){if(!e)return this.productIdentificationPref={primaryId:"productId",secondaryId:""};this.productIdentificationPref=await Co.getProductIdentificationPref(e)}}});class Dn extends Error{}class Em extends Dn{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Tm extends Dn{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Im extends Dn{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fo extends Dn{}class sd extends Dn{constructor(t){super(`Invalid unit ${t}`)}}class tt extends Dn{}class Wt extends Dn{constructor(){super("Zone is an abstract class")}}const F="numeric",yt="short",Ge="long",li={year:F,month:F,day:F},ad={year:F,month:yt,day:F},Sm={year:F,month:yt,day:F,weekday:yt},ld={year:F,month:Ge,day:F},cd={year:F,month:Ge,day:F,weekday:Ge},dd={hour:F,minute:F},ud={hour:F,minute:F,second:F},fd={hour:F,minute:F,second:F,timeZoneName:yt},hd={hour:F,minute:F,second:F,timeZoneName:Ge},md={hour:F,minute:F,hourCycle:"h23"},pd={hour:F,minute:F,second:F,hourCycle:"h23"},gd={hour:F,minute:F,second:F,hourCycle:"h23",timeZoneName:yt},bd={hour:F,minute:F,second:F,hourCycle:"h23",timeZoneName:Ge},vd={year:F,month:F,day:F,hour:F,minute:F},yd={year:F,month:F,day:F,hour:F,minute:F,second:F},wd={year:F,month:yt,day:F,hour:F,minute:F},kd={year:F,month:yt,day:F,hour:F,minute:F,second:F},Cm={year:F,month:yt,day:F,weekday:yt,hour:F,minute:F},xd={year:F,month:Ge,day:F,hour:F,minute:F,timeZoneName:yt},_d={year:F,month:Ge,day:F,hour:F,minute:F,second:F,timeZoneName:yt},Ed={year:F,month:Ge,day:F,weekday:Ge,hour:F,minute:F,timeZoneName:Ge},Td={year:F,month:Ge,day:F,weekday:Ge,hour:F,minute:F,second:F,timeZoneName:Ge};class Oo{get type(){throw new Wt}get name(){throw new Wt}get ianaName(){return this.name}get isUniversal(){throw new Wt}offsetName(t,n){throw new Wt}formatOffset(t,n){throw new Wt}offset(t){throw new Wt}equals(t){throw new Wt}get isValid(){throw new Wt}}let Gi=null;class Ti extends Oo{static get instance(){return Gi===null&&(Gi=new Ti),Gi}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:o}){return Sd(t,n,o)}formatOffset(t,n){return go(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let oi={};function Om(e){return oi[e]||(oi[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),oi[e]}const Am={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Dm(e,t){const n=e.format(t).replace(/\u200E/g,""),o=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,i,r,s,a,l,c,d]=o;return[s,i,r,a,l,c,d]}function Nm(e,t){const n=e.formatToParts(t),o=[];for(let i=0;i<n.length;i++){const{type:r,value:s}=n[i],a=Am[r];r==="era"?o[a]=s:Z(a)||(o[a]=parseInt(s,10))}return o}let Ro={};class Bt extends Oo{static create(t){return Ro[t]||(Ro[t]=new Bt(t)),Ro[t]}static resetCache(){Ro={},oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=Bt.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:o}){return Sd(t,n,o,this.name)}formatOffset(t,n){return go(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const o=Om(this.name);let[i,r,s,a,l,c,d]=o.formatToParts?Nm(o,n):Dm(o,n);a==="BC"&&(i=-Math.abs(i)+1);const f=Si({year:i,month:r,day:s,hour:l===24?0:l,minute:c,second:d,millisecond:0});let b=+n;const T=b%1e3;return b-=T>=0?T:1e3+T,(f-b)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let Ba={};function $m(e,t={}){const n=JSON.stringify([e,t]);let o=Ba[n];return o||(o=new Intl.ListFormat(e,t),Ba[n]=o),o}let Pr={};function Mr(e,t={}){const n=JSON.stringify([e,t]);let o=Pr[n];return o||(o=new Intl.DateTimeFormat(e,t),Pr[n]=o),o}let Rr={};function Lm(e,t={}){const n=JSON.stringify([e,t]);let o=Rr[n];return o||(o=new Intl.NumberFormat(e,t),Rr[n]=o),o}let Fr={};function Pm(e,t={}){const{base:n,...o}=t,i=JSON.stringify([e,o]);let r=Fr[i];return r||(r=new Intl.RelativeTimeFormat(e,t),Fr[i]=r),r}let ho=null;function Mm(){return ho||(ho=new Intl.DateTimeFormat().resolvedOptions().locale,ho)}function Rm(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let o,i;try{o=Mr(e).resolvedOptions(),i=e}catch{const l=e.substring(0,n);o=Mr(l).resolvedOptions(),i=l}const{numberingSystem:r,calendar:s}=o;return[i,r,s]}}function Fm(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function Vm(e){const t=[];for(let n=1;n<=12;n++){const o=W.utc(2009,n,1);t.push(e(o))}return t}function zm(e){const t=[];for(let n=1;n<=7;n++){const o=W.utc(2016,11,13+n);t.push(e(o))}return t}function Fo(e,t,n,o){const i=e.listingMode();return i==="error"?null:i==="en"?n(t):o(t)}function Um(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class Bm{constructor(t,n,o){this.padTo=o.padTo||0,this.floor=o.floor||!1;const{padTo:i,floor:r,...s}=o;if(!n||Object.keys(s).length>0){const a={useGrouping:!1,...o};o.padTo>0&&(a.minimumIntegerDigits=o.padTo),this.inf=Lm(t,a)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):Cs(t,3);return be(n,this.padTo)}}}class Hm{constructor(t,n,o){this.opts=o,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const s=-1*(t.offset/60),a=s>=0?`Etc/GMT+${s}`:`Etc/GMT${s}`;t.offset!==0&&Bt.create(a).valid?(i=a,this.dt=t):(i="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,i=t.zone.name):(i="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||i,this.dtf=Mr(n,r)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const o=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:o}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class jm{constructor(t,n,o){this.opts={style:"long",...o},!n&&Id()&&(this.rtf=Pm(t,o))}format(t,n){return this.rtf?this.rtf.format(t,n):ap(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}class le{static fromOpts(t){return le.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,n,o,i=!1){const r=t||ge.defaultLocale,s=r||(i?"en-US":Mm()),a=n||ge.defaultNumberingSystem,l=o||ge.defaultOutputCalendar;return new le(s,a,l,r)}static resetCache(){ho=null,Pr={},Rr={},Fr={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:o}={}){return le.create(t,n,o)}constructor(t,n,o,i){const[r,s,a]=Rm(t);this.locale=r,this.numberingSystem=n||s||null,this.outputCalendar=o||a||null,this.intl=Fm(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Um(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:le.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return Fo(this,t,Ad,()=>{const o=n?{month:t,day:"numeric"}:{month:t},i=n?"format":"standalone";return this.monthsCache[i][t]||(this.monthsCache[i][t]=Vm(r=>this.extract(r,o,"month"))),this.monthsCache[i][t]})}weekdays(t,n=!1){return Fo(this,t,$d,()=>{const o=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},i=n?"format":"standalone";return this.weekdaysCache[i][t]||(this.weekdaysCache[i][t]=zm(r=>this.extract(r,o,"weekday"))),this.weekdaysCache[i][t]})}meridiems(){return Fo(this,void 0,()=>Ld,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[W.utc(2016,11,13,9),W.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Fo(this,t,Pd,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[W.utc(-40,1,1),W.utc(2017,1,1)].map(o=>this.extract(o,n,"era"))),this.eraCache[t]})}extract(t,n,o){const i=this.dtFormatter(t,n),r=i.formatToParts(),s=r.find(a=>a.type.toLowerCase()===o);return s?s.value:null}numberFormatter(t={}){return new Bm(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new Hm(t,this.intl,n)}relFormatter(t={}){return new jm(this.intl,this.isEnglish(),t)}listFormatter(t={}){return $m(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let qi=null;class ze extends Oo{static get utcInstance(){return qi===null&&(qi=new ze(0)),qi}static instance(t){return t===0?ze.utcInstance:new ze(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new ze(Ci(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${go(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${go(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return go(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class Wm extends Oo{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Xt(e,t){if(Z(e)||e===null)return t;if(e instanceof Oo)return e;if(Ym(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?Ti.instance:n==="utc"||n==="gmt"?ze.utcInstance:ze.parseSpecifier(n)||Bt.create(e)}else return vn(e)?ze.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new Wm(e)}let Ha=()=>Date.now(),ja="system",Wa=null,Ya=null,Ga=null,qa=60,Ka;class ge{static get now(){return Ha}static set now(t){Ha=t}static set defaultZone(t){ja=t}static get defaultZone(){return Xt(ja,Ti.instance)}static get defaultLocale(){return Wa}static set defaultLocale(t){Wa=t}static get defaultNumberingSystem(){return Ya}static set defaultNumberingSystem(t){Ya=t}static get defaultOutputCalendar(){return Ga}static set defaultOutputCalendar(t){Ga=t}static get twoDigitCutoffYear(){return qa}static set twoDigitCutoffYear(t){qa=t%100}static get throwOnInvalid(){return Ka}static set throwOnInvalid(t){Ka=t}static resetCaches(){le.resetCache(),Bt.resetCache()}}function Z(e){return typeof e>"u"}function vn(e){return typeof e=="number"}function Ii(e){return typeof e=="number"&&e%1===0}function Ym(e){return typeof e=="string"}function Gm(e){return Object.prototype.toString.call(e)==="[object Date]"}function Id(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function qm(e){return Array.isArray(e)?e:[e]}function Xa(e,t,n){if(e.length!==0)return e.reduce((o,i)=>{const r=[t(i),i];return o&&n(o[0],r[0])===o[0]?o:r},null)[1]}function Km(e,t){return t.reduce((n,o)=>(n[o]=e[o],n),{})}function qn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function zt(e,t,n){return Ii(e)&&e>=t&&e<=n}function Xm(e,t){return e-t*Math.floor(e/t)}function be(e,t=2){const n=e<0;let o;return n?o="-"+(""+-e).padStart(t,"0"):o=(""+e).padStart(t,"0"),o}function Kt(e){if(!(Z(e)||e===null||e===""))return parseInt(e,10)}function an(e){if(!(Z(e)||e===null||e===""))return parseFloat(e)}function Ss(e){if(!(Z(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function Cs(e,t,n=!1){const o=10**t;return(n?Math.trunc:Math.round)(e*o)/o}function Ao(e){return e%4===0&&(e%100!==0||e%400===0)}function po(e){return Ao(e)?366:365}function ci(e,t){const n=Xm(t-1,12)+1,o=e+(t-n)/12;return n===2?Ao(o)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Si(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function di(e){const t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,o=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return t===4||o===3?53:52}function Vr(e){return e>99?e:e>ge.twoDigitCutoffYear?1900+e:2e3+e}function Sd(e,t,n,o=null){const i=new Date(e),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};o&&(r.timeZone=o);const s={timeZoneName:t,...r},a=new Intl.DateTimeFormat(n,s).formatToParts(i).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function Ci(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const o=parseInt(t,10)||0,i=n<0||Object.is(n,-0)?-o:o;return n*60+i}function Cd(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new tt(`Invalid unit value ${e}`);return t}function ui(e,t){const n={};for(const o in e)if(qn(e,o)){const i=e[o];if(i==null)continue;n[t(o)]=Cd(i)}return n}function go(e,t){const n=Math.trunc(Math.abs(e/60)),o=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return`${i}${be(n,2)}:${be(o,2)}`;case"narrow":return`${i}${n}${o>0?`:${o}`:""}`;case"techie":return`${i}${be(n,2)}${be(o,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Oi(e){return Km(e,["hour","minute","second","millisecond"])}const Zm=["January","February","March","April","May","June","July","August","September","October","November","December"],Od=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Jm=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ad(e){switch(e){case"narrow":return[...Jm];case"short":return[...Od];case"long":return[...Zm];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Dd=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Nd=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Qm=["M","T","W","T","F","S","S"];function $d(e){switch(e){case"narrow":return[...Qm];case"short":return[...Nd];case"long":return[...Dd];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ld=["AM","PM"],ep=["Before Christ","Anno Domini"],tp=["BC","AD"],np=["B","A"];function Pd(e){switch(e){case"narrow":return[...np];case"short":return[...tp];case"long":return[...ep];default:return null}}function op(e){return Ld[e.hour<12?0:1]}function ip(e,t){return $d(t)[e.weekday-1]}function rp(e,t){return Ad(t)[e.month-1]}function sp(e,t){return Pd(t)[e.year<0?0:1]}function ap(e,t,n="always",o=!1){const i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&r){const u=e==="days";switch(t){case 1:return u?"tomorrow":`next ${i[e][0]}`;case-1:return u?"yesterday":`last ${i[e][0]}`;case 0:return u?"today":`this ${i[e][0]}`}}const s=Object.is(t,-0)||t<0,a=Math.abs(t),l=a===1,c=i[e],d=o?l?c[1]:c[2]||c[1]:l?i[e][0]:e;return s?`${a} ${d} ago`:`in ${a} ${d}`}function Za(e,t){let n="";for(const o of e)o.literal?n+=o.val:n+=t(o.val);return n}const lp={D:li,DD:ad,DDD:ld,DDDD:cd,t:dd,tt:ud,ttt:fd,tttt:hd,T:md,TT:pd,TTT:gd,TTTT:bd,f:vd,ff:wd,fff:xd,ffff:Ed,F:yd,FF:kd,FFF:_d,FFFF:Td};class Pe{static create(t,n={}){return new Pe(t,n)}static parseFormat(t){let n=null,o="",i=!1;const r=[];for(let s=0;s<t.length;s++){const a=t.charAt(s);a==="'"?(o.length>0&&r.push({literal:i||/^\s+$/.test(o),val:o}),n=null,o="",i=!i):i||a===n?o+=a:(o.length>0&&r.push({literal:/^\s+$/.test(o),val:o}),o=a,n=a)}return o.length>0&&r.push({literal:i||/^\s+$/.test(o),val:o}),r}static macroTokenToFormatOpts(t){return lp[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}dtFormatter(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n})}formatDateTime(t,n){return this.dtFormatter(t,n).format()}formatDateTimeParts(t,n){return this.dtFormatter(t,n).formatToParts()}formatInterval(t,n){return this.dtFormatter(t.start,n).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n){return this.dtFormatter(t,n).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return be(t,n);const o={...this.opts};return n>0&&(o.padTo=n),this.loc.numberFormatter(o).format(t)}formatDateTimeFromString(t,n){const o=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",r=(b,T)=>this.loc.extract(t,b,T),s=b=>t.isOffsetFixed&&t.offset===0&&b.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,b.format):"",a=()=>o?op(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(b,T)=>o?rp(t,b):r(T?{month:b}:{month:b,day:"numeric"},"month"),c=(b,T)=>o?ip(t,b):r(T?{weekday:b}:{weekday:b,month:"long",day:"numeric"},"weekday"),d=b=>{const T=Pe.macroTokenToFormatOpts(b);return T?this.formatWithSystemDefault(t,T):b},u=b=>o?sp(t,b):r({era:b},"era"),f=b=>{switch(b){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return a();case"d":return i?r({day:"numeric"},"day"):this.num(t.day);case"dd":return i?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return i?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return i?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return i?r({month:"numeric"},"month"):this.num(t.month);case"MM":return i?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return i?r({year:"numeric"},"year"):this.num(t.year);case"yy":return i?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return i?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return i?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return u("short");case"GG":return u("long");case"GGGGG":return u("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(b)}};return Za(Pe.parseFormat(n),f)}formatDurationFromString(t,n){const o=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},i=l=>c=>{const d=o(c);return d?this.num(l.get(d),c.length):c},r=Pe.parseFormat(n),s=r.reduce((l,{literal:c,val:d})=>c?l:l.concat(d),[]),a=t.shiftTo(...s.map(o).filter(l=>l));return Za(r,i(a))}}class gt{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Md=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Jn(...e){const t=e.reduce((n,o)=>n+o.source,"");return RegExp(`^${t}$`)}function Qn(...e){return t=>e.reduce(([n,o,i],r)=>{const[s,a,l]=r(t,i);return[{...n,...s},a||o,l]},[{},null,1]).slice(0,2)}function eo(e,...t){if(e==null)return[null,null];for(const[n,o]of t){const i=n.exec(e);if(i)return o(i)}return[null,null]}function Rd(...e){return(t,n)=>{const o={};let i;for(i=0;i<e.length;i++)o[e[i]]=Kt(t[n+i]);return[o,null,n+i]}}const Fd=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,cp=`(?:${Fd.source}?(?:\\[(${Md.source})\\])?)?`,Os=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Vd=RegExp(`${Os.source}${cp}`),As=RegExp(`(?:T${Vd.source})?`),dp=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,up=/(\d{4})-?W(\d\d)(?:-?(\d))?/,fp=/(\d{4})-?(\d{3})/,hp=Rd("weekYear","weekNumber","weekDay"),mp=Rd("year","ordinal"),pp=/(\d{4})-(\d\d)-(\d\d)/,zd=RegExp(`${Os.source} ?(?:${Fd.source}|(${Md.source}))?`),gp=RegExp(`(?: ${zd.source})?`);function Yn(e,t,n){const o=e[t];return Z(o)?n:Kt(o)}function bp(e,t){return[{year:Yn(e,t),month:Yn(e,t+1,1),day:Yn(e,t+2,1)},null,t+3]}function to(e,t){return[{hours:Yn(e,t,0),minutes:Yn(e,t+1,0),seconds:Yn(e,t+2,0),milliseconds:Ss(e[t+3])},null,t+4]}function Do(e,t){const n=!e[t]&&!e[t+1],o=Ci(e[t+1],e[t+2]),i=n?null:ze.instance(o);return[{},i,t+3]}function No(e,t){const n=e[t]?Bt.create(e[t]):null;return[{},n,t+1]}const vp=RegExp(`^T?${Os.source}$`),yp=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function wp(e){const[t,n,o,i,r,s,a,l,c]=e,d=t[0]==="-",u=l&&l[0]==="-",f=(b,T=!1)=>b!==void 0&&(T||b&&d)?-b:b;return[{years:f(an(n)),months:f(an(o)),weeks:f(an(i)),days:f(an(r)),hours:f(an(s)),minutes:f(an(a)),seconds:f(an(l),l==="-0"),milliseconds:f(Ss(c),u)}]}const kp={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Ds(e,t,n,o,i,r,s){const a={year:t.length===2?Vr(Kt(t)):Kt(t),month:Od.indexOf(n)+1,day:Kt(o),hour:Kt(i),minute:Kt(r)};return s&&(a.second=Kt(s)),e&&(a.weekday=e.length>3?Dd.indexOf(e)+1:Nd.indexOf(e)+1),a}const xp=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function _p(e){const[,t,n,o,i,r,s,a,l,c,d,u]=e,f=Ds(t,i,o,n,r,s,a);let b;return l?b=kp[l]:c?b=0:b=Ci(d,u),[f,new ze(b)]}function Ep(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const Tp=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ip=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Sp=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ja(e){const[,t,n,o,i,r,s,a]=e;return[Ds(t,i,o,n,r,s,a),ze.utcInstance]}function Cp(e){const[,t,n,o,i,r,s,a]=e;return[Ds(t,a,n,o,i,r,s),ze.utcInstance]}const Op=Jn(dp,As),Ap=Jn(up,As),Dp=Jn(fp,As),Np=Jn(Vd),Ud=Qn(bp,to,Do,No),$p=Qn(hp,to,Do,No),Lp=Qn(mp,to,Do,No),Pp=Qn(to,Do,No);function Mp(e){return eo(e,[Op,Ud],[Ap,$p],[Dp,Lp],[Np,Pp])}function Rp(e){return eo(Ep(e),[xp,_p])}function Fp(e){return eo(e,[Tp,Ja],[Ip,Ja],[Sp,Cp])}function Vp(e){return eo(e,[yp,wp])}const zp=Qn(to);function Up(e){return eo(e,[vp,zp])}const Bp=Jn(pp,gp),Hp=Jn(zd),jp=Qn(to,Do,No);function Wp(e){return eo(e,[Bp,Ud],[Hp,jp])}const Qa="Invalid Duration",Bd={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Yp={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...Bd},Qe=146097/400,Rn=146097/4800,Gp={years:{quarters:4,months:12,weeks:Qe/7,days:Qe,hours:Qe*24,minutes:Qe*24*60,seconds:Qe*24*60*60,milliseconds:Qe*24*60*60*1e3},quarters:{months:3,weeks:Qe/28,days:Qe/4,hours:Qe*24/4,minutes:Qe*24*60/4,seconds:Qe*24*60*60/4,milliseconds:Qe*24*60*60*1e3/4},months:{weeks:Rn/7,days:Rn,hours:Rn*24,minutes:Rn*24*60,seconds:Rn*24*60*60,milliseconds:Rn*24*60*60*1e3},...Bd},hn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],qp=hn.slice(0).reverse();function Yt(e,t,n=!1){const o={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new ee(o)}function Hd(e,t){let n=t.milliseconds??0;for(const o of qp.slice(1))t[o]&&(n+=t[o]*e[o].milliseconds);return n}function el(e,t){const n=Hd(e,t)<0?-1:1;hn.reduceRight((o,i)=>{if(Z(t[i]))return o;if(o){const r=t[o]*n,s=e[i][o],a=Math.floor(r/s);t[i]+=a*n,t[o]-=a*s*n}return i},null),hn.reduce((o,i)=>{if(Z(t[i]))return o;if(o){const r=t[o]%1;t[o]-=r,t[i]+=r*e[o][i]}return i},null)}function Kp(e){const t={};for(const[n,o]of Object.entries(e))o!==0&&(t[n]=o);return t}class ee{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let o=n?Gp:Yp;t.matrix&&(o=t.matrix),this.values=t.values,this.loc=t.loc||le.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=o,this.isLuxonDuration=!0}static fromMillis(t,n){return ee.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new tt(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new ee({values:ui(t,ee.normalizeUnit),loc:le.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(vn(t))return ee.fromMillis(t);if(ee.isDuration(t))return t;if(typeof t=="object")return ee.fromObject(t);throw new tt(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[o]=Vp(t);return o?ee.fromObject(o,n):ee.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[o]=Up(t);return o?ee.fromObject(o,n):ee.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new tt("need to specify a reason the Duration is invalid");const o=t instanceof gt?t:new gt(t,n);if(ge.throwOnInvalid)throw new Im(o);return new ee({invalid:o})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new sd(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const o={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?Pe.create(this.loc,o).formatDurationFromString(this,t):Qa}toHuman(t={}){if(!this.isValid)return Qa;const n=hn.map(o=>{const i=this.values[o];return Z(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:o.slice(0,-1)}).format(i)}).filter(o=>o);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},W.fromMillis(n,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.isValid?Hd(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=ee.fromDurationLike(t),o={};for(const i of hn)(qn(n.values,i)||qn(this.values,i))&&(o[i]=n.get(i)+this.get(i));return Yt(this,{values:o},!0)}minus(t){if(!this.isValid)return this;const n=ee.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const o of Object.keys(this.values))n[o]=Cd(t(this.values[o],o));return Yt(this,{values:n},!0)}get(t){return this[ee.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...ui(t,ee.normalizeUnit)};return Yt(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:o,matrix:i}={}){const s={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:i,conversionAccuracy:o};return Yt(this,s)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return el(this.matrix,t),Yt(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=Kp(this.normalize().shiftToAll().toObject());return Yt(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(s=>ee.normalizeUnit(s));const n={},o={},i=this.toObject();let r;for(const s of hn)if(t.indexOf(s)>=0){r=s;let a=0;for(const c in o)a+=this.matrix[c][s]*o[c],o[c]=0;vn(i[s])&&(a+=i[s]);const l=Math.trunc(a);n[s]=l,o[s]=(a*1e3-l*1e3)/1e3}else vn(i[s])&&(o[s]=i[s]);for(const s in o)o[s]!==0&&(n[r]+=s===r?o[s]:o[s]/this.matrix[r][s]);return el(this.matrix,n),Yt(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return Yt(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(o,i){return o===void 0||o===0?i===void 0||i===0:o===i}for(const o of hn)if(!n(this.values[o],t.values[o]))return!1;return!0}}const Fn="Invalid Interval";function Xp(e,t){return!e||!e.isValid?he.invalid("missing or invalid start"):!t||!t.isValid?he.invalid("missing or invalid end"):t<e?he.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class he{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new tt("need to specify a reason the Interval is invalid");const o=t instanceof gt?t:new gt(t,n);if(ge.throwOnInvalid)throw new Tm(o);return new he({invalid:o})}static fromDateTimes(t,n){const o=lo(t),i=lo(n),r=Xp(o,i);return r??new he({start:o,end:i})}static after(t,n){const o=ee.fromDurationLike(n),i=lo(t);return he.fromDateTimes(i,i.plus(o))}static before(t,n){const o=ee.fromDurationLike(n),i=lo(t);return he.fromDateTimes(i.minus(o),i)}static fromISO(t,n){const[o,i]=(t||"").split("/",2);if(o&&i){let r,s;try{r=W.fromISO(o,n),s=r.isValid}catch{s=!1}let a,l;try{a=W.fromISO(i,n),l=a.isValid}catch{l=!1}if(s&&l)return he.fromDateTimes(r,a);if(s){const c=ee.fromISO(i,n);if(c.isValid)return he.after(r,c)}else if(l){const c=ee.fromISO(o,n);if(c.isValid)return he.before(a,c)}}return he.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds"){if(!this.isValid)return NaN;const n=this.start.startOf(t),o=this.end.startOf(t);return Math.floor(o.diff(n,t).get(t))+(o.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?he.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(lo).filter(s=>this.contains(s)).sort(),o=[];let{s:i}=this,r=0;for(;i<this.e;){const s=n[r]||this.e,a=+s>+this.e?this.e:s;o.push(he.fromDateTimes(i,a)),i=a,r+=1}return o}splitBy(t){const n=ee.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:o}=this,i=1,r;const s=[];for(;o<this.e;){const a=this.start.plus(n.mapUnits(l=>l*i));r=+a>+this.e?this.e:a,s.push(he.fromDateTimes(o,r)),o=r,i+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,o=this.e<t.e?this.e:t.e;return n>=o?null:he.fromDateTimes(n,o)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,o=this.e>t.e?this.e:t.e;return he.fromDateTimes(n,o)}static merge(t){const[n,o]=t.sort((i,r)=>i.s-r.s).reduce(([i,r],s)=>r?r.overlaps(s)||r.abutsStart(s)?[i,r.union(s)]:[i.concat([r]),s]:[i,s],[[],null]);return o&&n.push(o),n}static xor(t){let n=null,o=0;const i=[],r=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),s=Array.prototype.concat(...r),a=s.sort((l,c)=>l.time-c.time);for(const l of a)o+=l.type==="s"?1:-1,o===1?n=l.time:(n&&+n!=+l.time&&i.push(he.fromDateTimes(n,l.time)),n=null);return he.merge(i)}difference(...t){return he.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Fn}toLocaleString(t=li,n={}){return this.isValid?Pe.create(this.s.loc.clone(n),t).formatInterval(this):Fn}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Fn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Fn}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Fn}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Fn}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):ee.invalid(this.invalidReason)}mapEndpoints(t){return he.fromDateTimes(t(this.s),t(this.e))}}class Vo{static hasDST(t=ge.defaultZone){const n=W.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Bt.isValidZone(t)}static normalizeZone(t){return Xt(t,ge.defaultZone)}static months(t="long",{locale:n=null,numberingSystem:o=null,locObj:i=null,outputCalendar:r="gregory"}={}){return(i||le.create(n,o,r)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:o=null,locObj:i=null,outputCalendar:r="gregory"}={}){return(i||le.create(n,o,r)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:o=null,locObj:i=null}={}){return(i||le.create(n,o,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:o=null,locObj:i=null}={}){return(i||le.create(n,o,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return le.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return le.create(n,null,"gregory").eras(t)}static features(){return{relative:Id()}}}function tl(e,t){const n=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),o=n(t)-n(e);return Math.floor(ee.fromMillis(o).as("days"))}function Zp(e,t,n){const o=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{const d=tl(l,c);return(d-d%7)/7}],["days",tl]],i={},r=e;let s,a;for(const[l,c]of o)n.indexOf(l)>=0&&(s=l,i[l]=c(e,t),a=r.plus(i),a>t?(i[l]--,e=r.plus(i),e>t&&(a=e,i[l]--,e=r.plus(i))):e=a);return[e,i,a,s]}function Jp(e,t,n,o){let[i,r,s,a]=Zp(e,t,n);const l=t-i,c=n.filter(u=>["hours","minutes","seconds","milliseconds"].indexOf(u)>=0);c.length===0&&(s<t&&(s=i.plus({[a]:1})),s!==i&&(r[a]=(r[a]||0)+l/(s-i)));const d=ee.fromObject(r,o);return c.length>0?ee.fromMillis(l,o).shiftTo(...c).plus(d):d}const Ns={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},nl={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Qp=Ns.hanidec.replace(/[\[|\]]/g,"").split("");function eg(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const o=e.charCodeAt(n);if(e[n].search(Ns.hanidec)!==-1)t+=Qp.indexOf(e[n]);else for(const i in nl){const[r,s]=nl[i];o>=r&&o<=s&&(t+=o-r)}}return parseInt(t,10)}else return t}function dt({numberingSystem:e},t=""){return new RegExp(`${Ns[e||"latn"]}${t}`)}const tg="missing Intl.DateTimeFormat.formatToParts support";function ie(e,t=n=>n){return{regex:e,deser:([n])=>t(eg(n))}}const ng=String.fromCharCode(160),jd=`[ ${ng}]`,Wd=new RegExp(jd,"g");function og(e){return e.replace(/\./g,"\\.?").replace(Wd,jd)}function ol(e){return e.replace(/\./g,"").replace(Wd," ").toLowerCase()}function ut(e,t){return e===null?null:{regex:RegExp(e.map(og).join("|")),deser:([n])=>e.findIndex(o=>ol(n)===ol(o))+t}}function il(e,t){return{regex:e,deser:([,n,o])=>Ci(n,o),groups:t}}function zo(e){return{regex:e,deser:([t])=>t}}function ig(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function rg(e,t){const n=dt(t),o=dt(t,"{2}"),i=dt(t,"{3}"),r=dt(t,"{4}"),s=dt(t,"{6}"),a=dt(t,"{1,2}"),l=dt(t,"{1,3}"),c=dt(t,"{1,6}"),d=dt(t,"{1,9}"),u=dt(t,"{2,4}"),f=dt(t,"{4,6}"),b=C=>({regex:RegExp(ig(C.val)),deser:([p])=>p,literal:!0}),x=(C=>{if(e.literal)return b(C);switch(C.val){case"G":return ut(t.eras("short"),0);case"GG":return ut(t.eras("long"),0);case"y":return ie(c);case"yy":return ie(u,Vr);case"yyyy":return ie(r);case"yyyyy":return ie(f);case"yyyyyy":return ie(s);case"M":return ie(a);case"MM":return ie(o);case"MMM":return ut(t.months("short",!0),1);case"MMMM":return ut(t.months("long",!0),1);case"L":return ie(a);case"LL":return ie(o);case"LLL":return ut(t.months("short",!1),1);case"LLLL":return ut(t.months("long",!1),1);case"d":return ie(a);case"dd":return ie(o);case"o":return ie(l);case"ooo":return ie(i);case"HH":return ie(o);case"H":return ie(a);case"hh":return ie(o);case"h":return ie(a);case"mm":return ie(o);case"m":return ie(a);case"q":return ie(a);case"qq":return ie(o);case"s":return ie(a);case"ss":return ie(o);case"S":return ie(l);case"SSS":return ie(i);case"u":return zo(d);case"uu":return zo(a);case"uuu":return ie(n);case"a":return ut(t.meridiems(),0);case"kkkk":return ie(r);case"kk":return ie(u,Vr);case"W":return ie(a);case"WW":return ie(o);case"E":case"c":return ie(n);case"EEE":return ut(t.weekdays("short",!1),1);case"EEEE":return ut(t.weekdays("long",!1),1);case"ccc":return ut(t.weekdays("short",!0),1);case"cccc":return ut(t.weekdays("long",!0),1);case"Z":case"ZZ":return il(new RegExp(`([+-]${a.source})(?::(${o.source}))?`),2);case"ZZZ":return il(new RegExp(`([+-]${a.source})(${o.source})?`),2);case"z":return zo(/[a-z_+-/]{1,256}?/i);case" ":return zo(/[^\S\n\r]/);default:return b(C)}})(e)||{invalidReason:tg};return x.token=e,x}const sg={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function ag(e,t,n){const{type:o,value:i}=e;if(o==="literal"){const l=/^\s+$/.test(i);return{literal:!l,val:l?" ":i}}const r=t[o];let s=o;o==="hour"&&(t.hour12!=null?s=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?s="hour12":s="hour24":s=n.hour12?"hour12":"hour24");let a=sg[s];if(typeof a=="object"&&(a=a[r]),a)return{literal:!1,val:a}}function lg(e){return[`^${e.map(n=>n.regex).reduce((n,o)=>`${n}(${o.source})`,"")}$`,e]}function cg(e,t,n){const o=e.match(t);if(o){const i={};let r=1;for(const s in n)if(qn(n,s)){const a=n[s],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(i[a.token.val[0]]=a.deser(o.slice(r,r+l))),r+=l}return[o,i]}else return[o,{}]}function dg(e){const t=r=>{switch(r){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,o;return Z(e.z)||(n=Bt.create(e.z)),Z(e.Z)||(n||(n=new ze(e.Z)),o=e.Z),Z(e.q)||(e.M=(e.q-1)*3+1),Z(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),Z(e.u)||(e.S=Ss(e.u)),[Object.keys(e).reduce((r,s)=>{const a=t(s);return a&&(r[a]=e[s]),r},{}),n,o]}let Ki=null;function ug(){return Ki||(Ki=W.fromMillis(1555555555555)),Ki}function fg(e,t){if(e.literal)return e;const n=Pe.macroTokenToFormatOpts(e.val),o=qd(n,t);return o==null||o.includes(void 0)?e:o}function Yd(e,t){return Array.prototype.concat(...e.map(n=>fg(n,t)))}function Gd(e,t,n){const o=Yd(Pe.parseFormat(n),e),i=o.map(s=>rg(s,e)),r=i.find(s=>s.invalidReason);if(r)return{input:t,tokens:o,invalidReason:r.invalidReason};{const[s,a]=lg(i),l=RegExp(s,"i"),[c,d]=cg(t,l,a),[u,f,b]=d?dg(d):[null,null,void 0];if(qn(d,"a")&&qn(d,"H"))throw new fo("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:o,regex:l,rawMatches:c,matches:d,result:u,zone:f,specificOffset:b}}}function hg(e,t,n){const{result:o,zone:i,specificOffset:r,invalidReason:s}=Gd(e,t,n);return[o,i,r,s]}function qd(e,t){if(!e)return null;const o=Pe.create(t,e).dtFormatter(ug()),i=o.formatToParts(),r=o.resolvedOptions();return i.map(s=>ag(s,e,r))}const Kd=[0,31,59,90,120,151,181,212,243,273,304,334],Xd=[0,31,60,91,121,152,182,213,244,274,305,335];function nt(e,t){return new gt("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Zd(e,t,n){const o=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&o.setUTCFullYear(o.getUTCFullYear()-1900);const i=o.getUTCDay();return i===0?7:i}function Jd(e,t,n){return n+(Ao(e)?Xd:Kd)[t-1]}function Qd(e,t){const n=Ao(e)?Xd:Kd,o=n.findIndex(r=>r<t),i=t-n[o];return{month:o+1,day:i}}function zr(e){const{year:t,month:n,day:o}=e,i=Jd(t,n,o),r=Zd(t,n,o);let s=Math.floor((i-r+10)/7),a;return s<1?(a=t-1,s=di(a)):s>di(t)?(a=t+1,s=1):a=t,{weekYear:a,weekNumber:s,weekday:r,...Oi(e)}}function rl(e){const{weekYear:t,weekNumber:n,weekday:o}=e,i=Zd(t,1,4),r=po(t);let s=n*7+o-i-3,a;s<1?(a=t-1,s+=po(a)):s>r?(a=t+1,s-=po(t)):a=t;const{month:l,day:c}=Qd(a,s);return{year:a,month:l,day:c,...Oi(e)}}function Xi(e){const{year:t,month:n,day:o}=e,i=Jd(t,n,o);return{year:t,ordinal:i,...Oi(e)}}function sl(e){const{year:t,ordinal:n}=e,{month:o,day:i}=Qd(t,n);return{year:t,month:o,day:i,...Oi(e)}}function mg(e){const t=Ii(e.weekYear),n=zt(e.weekNumber,1,di(e.weekYear)),o=zt(e.weekday,1,7);return t?n?o?!1:nt("weekday",e.weekday):nt("week",e.week):nt("weekYear",e.weekYear)}function pg(e){const t=Ii(e.year),n=zt(e.ordinal,1,po(e.year));return t?n?!1:nt("ordinal",e.ordinal):nt("year",e.year)}function eu(e){const t=Ii(e.year),n=zt(e.month,1,12),o=zt(e.day,1,ci(e.year,e.month));return t?n?o?!1:nt("day",e.day):nt("month",e.month):nt("year",e.year)}function tu(e){const{hour:t,minute:n,second:o,millisecond:i}=e,r=zt(t,0,23)||t===24&&n===0&&o===0&&i===0,s=zt(n,0,59),a=zt(o,0,59),l=zt(i,0,999);return r?s?a?l?!1:nt("millisecond",i):nt("second",o):nt("minute",n):nt("hour",t)}const Zi="Invalid DateTime",al=864e13;function Uo(e){return new gt("unsupported zone",`the zone "${e.name}" is not supported`)}function Ji(e){return e.weekData===null&&(e.weekData=zr(e.c)),e.weekData}function ln(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new W({...n,...t,old:n})}function nu(e,t,n){let o=e-t*60*1e3;const i=n.offset(o);if(t===i)return[o,t];o-=(i-t)*60*1e3;const r=n.offset(o);return i===r?[o,i]:[e-Math.min(i,r)*60*1e3,Math.max(i,r)]}function Bo(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function ii(e,t,n){return nu(Si(e),t,n)}function ll(e,t){const n=e.o,o=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,r={...e.c,year:o,month:i,day:Math.min(e.c.day,ci(o,i))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},s=ee.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=Si(r);let[l,c]=nu(a,n,e.zone);return s!==0&&(l+=s,c=e.zone.offset(l)),{ts:l,o:c}}function ao(e,t,n,o,i,r){const{setZone:s,zone:a}=n;if(e&&Object.keys(e).length!==0||t){const l=t||a,c=W.fromObject(e,{...n,zone:l,specificOffset:r});return s?c:c.setZone(a)}else return W.invalid(new gt("unparsable",`the input "${i}" can't be parsed as ${o}`))}function Ho(e,t,n=!0){return e.isValid?Pe.create(le.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Qi(e,t){const n=e.c.year>9999||e.c.year<0;let o="";return n&&e.c.year>=0&&(o+="+"),o+=be(e.c.year,n?6:4),t?(o+="-",o+=be(e.c.month),o+="-",o+=be(e.c.day)):(o+=be(e.c.month),o+=be(e.c.day)),o}function cl(e,t,n,o,i,r){let s=be(e.c.hour);return t?(s+=":",s+=be(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(s+=":")):s+=be(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(s+=be(e.c.second),(e.c.millisecond!==0||!o)&&(s+=".",s+=be(e.c.millisecond,3))),i&&(e.isOffsetFixed&&e.offset===0&&!r?s+="Z":e.o<0?(s+="-",s+=be(Math.trunc(-e.o/60)),s+=":",s+=be(Math.trunc(-e.o%60))):(s+="+",s+=be(Math.trunc(e.o/60)),s+=":",s+=be(Math.trunc(e.o%60)))),r&&(s+="["+e.zone.ianaName+"]"),s}const ou={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},gg={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},bg={ordinal:1,hour:0,minute:0,second:0,millisecond:0},iu=["year","month","day","hour","minute","second","millisecond"],vg=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],yg=["year","ordinal","hour","minute","second","millisecond"];function dl(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new sd(e);return t}function ul(e,t){const n=Xt(t.zone,ge.defaultZone),o=le.fromObject(t),i=ge.now();let r,s;if(Z(e.year))r=i;else{for(const c of iu)Z(e[c])&&(e[c]=ou[c]);const a=eu(e)||tu(e);if(a)return W.invalid(a);const l=n.offset(i);[r,s]=ii(e,l,n)}return new W({ts:r,zone:n,loc:o,o:s})}function fl(e,t,n){const o=Z(n.round)?!0:n.round,i=(s,a)=>(s=Cs(s,o||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(s,a)),r=s=>n.calendary?t.hasSame(e,s)?0:t.startOf(s).diff(e.startOf(s),s).get(s):t.diff(e,s).get(s);if(n.unit)return i(r(n.unit),n.unit);for(const s of n.units){const a=r(s);if(Math.abs(a)>=1)return i(a,s)}return i(e>t?-0:0,n.units[n.units.length-1])}function hl(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}class W{constructor(t){const n=t.zone||ge.defaultZone;let o=t.invalid||(Number.isNaN(t.ts)?new gt("invalid input"):null)||(n.isValid?null:Uo(n));this.ts=Z(t.ts)?ge.now():t.ts;let i=null,r=null;if(!o)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[i,r]=[t.old.c,t.old.o];else{const a=n.offset(this.ts);i=Bo(this.ts,a),o=Number.isNaN(i.year)?new gt("invalid input"):null,i=o?null:i,r=o?null:a}this._zone=n,this.loc=t.loc||le.create(),this.invalid=o,this.weekData=null,this.c=i,this.o=r,this.isLuxonDateTime=!0}static now(){return new W({})}static local(){const[t,n]=hl(arguments),[o,i,r,s,a,l,c]=n;return ul({year:o,month:i,day:r,hour:s,minute:a,second:l,millisecond:c},t)}static utc(){const[t,n]=hl(arguments),[o,i,r,s,a,l,c]=n;return t.zone=ze.utcInstance,ul({year:o,month:i,day:r,hour:s,minute:a,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const o=Gm(t)?t.valueOf():NaN;if(Number.isNaN(o))return W.invalid("invalid input");const i=Xt(n.zone,ge.defaultZone);return i.isValid?new W({ts:o,zone:i,loc:le.fromObject(n)}):W.invalid(Uo(i))}static fromMillis(t,n={}){if(vn(t))return t<-al||t>al?W.invalid("Timestamp out of range"):new W({ts:t,zone:Xt(n.zone,ge.defaultZone),loc:le.fromObject(n)});throw new tt(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(vn(t))return new W({ts:t*1e3,zone:Xt(n.zone,ge.defaultZone),loc:le.fromObject(n)});throw new tt("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const o=Xt(n.zone,ge.defaultZone);if(!o.isValid)return W.invalid(Uo(o));const i=ge.now(),r=Z(n.specificOffset)?o.offset(i):n.specificOffset,s=ui(t,dl),a=!Z(s.ordinal),l=!Z(s.year),c=!Z(s.month)||!Z(s.day),d=l||c,u=s.weekYear||s.weekNumber,f=le.fromObject(n);if((d||a)&&u)throw new fo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new fo("Can't mix ordinal dates with month/day");const b=u||s.weekday&&!d;let T,x,C=Bo(i,r);b?(T=vg,x=gg,C=zr(C)):a?(T=yg,x=bg,C=Xi(C)):(T=iu,x=ou);let p=!1;for(const P of T){const A=s[P];Z(A)?p?s[P]=x[P]:s[P]=C[P]:p=!0}const y=b?mg(s):a?pg(s):eu(s),S=y||tu(s);if(S)return W.invalid(S);const k=b?rl(s):a?sl(s):s,[D,v]=ii(k,r,o),w=new W({ts:D,zone:o,o:v,loc:f});return s.weekday&&d&&t.weekday!==w.weekday?W.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${w.toISO()}`):w}static fromISO(t,n={}){const[o,i]=Mp(t);return ao(o,i,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[o,i]=Rp(t);return ao(o,i,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[o,i]=Fp(t);return ao(o,i,n,"HTTP",n)}static fromFormat(t,n,o={}){if(Z(t)||Z(n))throw new tt("fromFormat requires an input string and a format");const{locale:i=null,numberingSystem:r=null}=o,s=le.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0}),[a,l,c,d]=hg(s,t,n);return d?W.invalid(d):ao(a,l,o,`format ${n}`,t,c)}static fromString(t,n,o={}){return W.fromFormat(t,n,o)}static fromSQL(t,n={}){const[o,i]=Wp(t);return ao(o,i,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new tt("need to specify a reason the DateTime is invalid");const o=t instanceof gt?t:new gt(t,n);if(ge.throwOnInvalid)throw new Em(o);return new W({invalid:o})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const o=qd(t,le.fromObject(n));return o?o.map(i=>i?i.val:null).join(""):null}static expandFormat(t,n={}){return Yd(Pe.parseFormat(t),le.fromObject(n)).map(i=>i.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ji(this).weekYear:NaN}get weekNumber(){return this.isValid?Ji(this).weekNumber:NaN}get weekday(){return this.isValid?Ji(this).weekday:NaN}get ordinal(){return this.isValid?Xi(this.c).ordinal:NaN}get monthShort(){return this.isValid?Vo.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Vo.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Vo.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Vo.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,n=6e4,o=Si(this.c),i=this.zone.offset(o-t),r=this.zone.offset(o+t),s=this.zone.offset(o-i*n),a=this.zone.offset(o-r*n);if(s===a)return[this];const l=o-s*n,c=o-a*n,d=Bo(l,s),u=Bo(c,a);return d.hour===u.hour&&d.minute===u.minute&&d.second===u.second&&d.millisecond===u.millisecond?[ln(this,{ts:l}),ln(this,{ts:c})]:[this]}get isInLeapYear(){return Ao(this.year)}get daysInMonth(){return ci(this.year,this.month)}get daysInYear(){return this.isValid?po(this.year):NaN}get weeksInWeekYear(){return this.isValid?di(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:o,calendar:i}=Pe.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:o,outputCalendar:i}}toUTC(t=0,n={}){return this.setZone(ze.instance(t),n)}toLocal(){return this.setZone(ge.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:o=!1}={}){if(t=Xt(t,ge.defaultZone),t.equals(this.zone))return this;if(t.isValid){let i=this.ts;if(n||o){const r=t.offset(this.ts),s=this.toObject();[i]=ii(s,r,t)}return ln(this,{ts:i,zone:t})}else return W.invalid(Uo(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:o}={}){const i=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:o});return ln(this,{loc:i})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=ui(t,dl),o=!Z(n.weekYear)||!Z(n.weekNumber)||!Z(n.weekday),i=!Z(n.ordinal),r=!Z(n.year),s=!Z(n.month)||!Z(n.day),a=r||s,l=n.weekYear||n.weekNumber;if((a||i)&&l)throw new fo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(s&&i)throw new fo("Can't mix ordinal dates with month/day");let c;o?c=rl({...zr(this.c),...n}):Z(n.ordinal)?(c={...this.toObject(),...n},Z(n.day)&&(c.day=Math.min(ci(c.year,c.month),c.day))):c=sl({...Xi(this.c),...n});const[d,u]=ii(c,this.o,this.zone);return ln(this,{ts:d,o:u})}plus(t){if(!this.isValid)return this;const n=ee.fromDurationLike(t);return ln(this,ll(this,n))}minus(t){if(!this.isValid)return this;const n=ee.fromDurationLike(t).negate();return ln(this,ll(this,n))}startOf(t){if(!this.isValid)return this;const n={},o=ee.normalizeUnit(t);switch(o){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(o==="weeks"&&(n.weekday=1),o==="quarters"){const i=Math.ceil(this.month/3);n.month=(i-1)*3+1}return this.set(n)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,n={}){return this.isValid?Pe.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):Zi}toLocaleString(t=li,n={}){return this.isValid?Pe.create(this.loc.clone(n),t).formatDateTime(this):Zi}toLocaleParts(t={}){return this.isValid?Pe.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:o=!1,includeOffset:i=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s=t==="extended";let a=Qi(this,s);return a+="T",a+=cl(this,s,n,o,i,r),a}toISODate({format:t="extended"}={}){return this.isValid?Qi(this,t==="extended"):null}toISOWeekDate(){return Ho(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:o=!0,includePrefix:i=!1,extendedZone:r=!1,format:s="extended"}={}){return this.isValid?(i?"T":"")+cl(this,s==="extended",n,t,o,r):null}toRFC2822(){return Ho(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ho(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qi(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:o=!0}={}){let i="HH:mm:ss.SSS";return(n||t)&&(o&&(i+=" "),n?i+="z":t&&(i+="ZZ")),Ho(this,i,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Zi}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",o={}){if(!this.isValid||!t.isValid)return ee.invalid("created by diffing an invalid DateTime");const i={locale:this.locale,numberingSystem:this.numberingSystem,...o},r=qm(n).map(ee.normalizeUnit),s=t.valueOf()>this.valueOf(),a=s?this:t,l=s?t:this,c=Jp(a,l,r,i);return s?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(W.now(),t,n)}until(t){return this.isValid?he.fromDateTimes(this,t):this}hasSame(t,n){if(!this.isValid)return!1;const o=t.valueOf(),i=this.setZone(t.zone,{keepLocalTime:!0});return i.startOf(n)<=o&&o<=i.endOf(n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||W.fromObject({},{zone:this.zone}),o=t.padding?this<n?-t.padding:t.padding:0;let i=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(i=t.unit,r=void 0),fl(n,this.plus(o),{...t,numeric:"always",units:i,unit:r})}toRelativeCalendar(t={}){return this.isValid?fl(t.base||W.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(W.isDateTime))throw new tt("min requires all arguments be DateTimes");return Xa(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(W.isDateTime))throw new tt("max requires all arguments be DateTimes");return Xa(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,o={}){const{locale:i=null,numberingSystem:r=null}=o,s=le.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0});return Gd(s,t,n)}static fromStringExplain(t,n,o={}){return W.fromFormatExplain(t,n,o)}static get DATE_SHORT(){return li}static get DATE_MED(){return ad}static get DATE_MED_WITH_WEEKDAY(){return Sm}static get DATE_FULL(){return ld}static get DATE_HUGE(){return cd}static get TIME_SIMPLE(){return dd}static get TIME_WITH_SECONDS(){return ud}static get TIME_WITH_SHORT_OFFSET(){return fd}static get TIME_WITH_LONG_OFFSET(){return hd}static get TIME_24_SIMPLE(){return md}static get TIME_24_WITH_SECONDS(){return pd}static get TIME_24_WITH_SHORT_OFFSET(){return gd}static get TIME_24_WITH_LONG_OFFSET(){return bd}static get DATETIME_SHORT(){return vd}static get DATETIME_SHORT_WITH_SECONDS(){return yd}static get DATETIME_MED(){return wd}static get DATETIME_MED_WITH_SECONDS(){return kd}static get DATETIME_MED_WITH_WEEKDAY(){return Cm}static get DATETIME_FULL(){return xd}static get DATETIME_FULL_WITH_SECONDS(){return _d}static get DATETIME_HUGE(){return Ed}static get DATETIME_HUGE_WITH_SECONDS(){return Td}}function lo(e){if(W.isDateTime(e))return e;if(e&&e.valueOf&&vn(e.valueOf()))return W.fromJSDate(e);if(e&&typeof e=="object")return W.fromObject(e);throw new tt(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const $s=Is("userAuth",{state:()=>({token:{value:"",expiration:void 0},oms:""}),getters:{getToken:e=>e.token,getOms:e=>e.oms,isAuthenticated:e=>{let t=!1;if(e.token.expiration){const n=W.now().toMillis();t=e.token.expiration<n}return e.token.value&&!t}},persist:!0});const Vn={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,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,safari10:!1,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,cssVarShim:!1,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,dynamicImportShim:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0};let zn,ru,Ai,su=!1,fi=!1,Ls=!1,je=!1,ml=null,Ur=!1;const au=e=>{const t=new URL(e,Ae.$resourcesUrl$);return t.origin!==Lo.location.origin?t.href:t.pathname},wn=(e,t="")=>()=>{},pl="http://www.w3.org/1999/xlink",gl={},wg="http://www.w3.org/2000/svg",kg="http://www.w3.org/1999/xhtml",xg=e=>e!=null,Ps=e=>(e=typeof e,e==="object"||e==="function");function _g(e){var t,n,o;return(o=(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&&o!==void 0?o:void 0}const _=(e,t,...n)=>{let o=null,i=null,r=null,s=!1,a=!1;const l=[],c=u=>{for(let f=0;f<u.length;f++)o=u[f],Array.isArray(o)?c(o):o!=null&&typeof o!="boolean"&&((s=typeof e!="function"&&!Ps(o))&&(o=String(o)),s&&a?l[l.length-1].$text$+=o:l.push(s?hi(null,o):o),a=s)};if(c(n),t){t.key&&(i=t.key),t.name&&(r=t.name);{const u=t.className||t.class;u&&(t.class=typeof u!="object"?u:Object.keys(u).filter(f=>u[f]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,Tg);const d=hi(e,null);return d.$attrs$=t,l.length>0&&(d.$children$=l),d.$key$=i,d.$name$=r,d},hi=(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},se={},Eg=e=>e&&e.$tag$===se,Tg={forEach:(e,t)=>e.map(bl).forEach(t),map:(e,t)=>e.map(bl).map(t).map(Ig)},bl=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Ig=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),_(e.vtag,n,...e.vchildren||[])}const t=hi(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},Sg=e=>tb.map(t=>t(e)).find(t=>!!t),Cg=e=>no(e).$modeName$,Og=(e,t)=>e!=null&&!Ps(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Ag=e=>e,q=(e,t,n)=>{const o=Ag(e);return{emit:i=>Dg(o,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:i})}},Dg=(e,t,n)=>{const o=Ae.ce(t,n);return e.dispatchEvent(o),o},vl=new WeakMap,Ng=(e,t,n)=>{let o=gi.get(e);ib&&n?(o=o||new CSSStyleSheet,typeof o=="string"?o=t:o.replaceSync(t)):o=t,gi.set(e,o)},$g=(e,t,n,o)=>{var i;let r=lu(t,n);const s=gi.get(r);if(e=e.nodeType===11?e:bt,s)if(typeof s=="string"){e=e.head||e;let a=vl.get(e),l;if(a||vl.set(e,a=new Set),!a.has(r)){{l=bt.createElement("style"),l.innerHTML=s;const c=(i=Ae.$nonce$)!==null&&i!==void 0?i:_g(bt);c!=null&&l.setAttribute("nonce",c),e.insertBefore(l,e.querySelector("link"))}a&&a.add(r)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return r},Lg=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,o=t.$flags$,i=wn("attachStyles",t.$tagName$),r=$g(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$);o&10&&(n["s-sc"]=r,n.classList.add(r+"-h"),o&2&&n.classList.add(r+"-s")),i()},lu=(e,t)=>"sc-"+(t&&e.$flags$&32?e.$tagName$+"-"+t:e.$tagName$),yl=(e,t,n,o,i,r)=>{if(n!==o){let s=_l(e,t),a=t.toLowerCase();if(t==="class"){const l=e.classList,c=wl(n),d=wl(o);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)(!o||o[l]==null)&&(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in o)(!n||o[l]!==n[l])&&(l.includes("-")?e.style.setProperty(l,o[l]):e.style[l]=o[l])}else if(t!=="key")if(t==="ref")o&&o(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n")t[2]==="-"?t=t.slice(3):_l(Lo,a)?t=a.slice(2):t=a[2]+t.slice(3),n&&Ae.rel(e,t,n,!1),o&&Ae.ael(e,t,o,!1);else{const l=Ps(o);if((s||l&&o!==null)&&!i)try{if(e.tagName.includes("-"))e[t]=o;else{const d=o??"";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),o==null||o===!1?(o!==!1||e.getAttribute(t)==="")&&(c?e.removeAttributeNS(pl,t):e.removeAttribute(t)):(!s||r&4||i)&&!l&&(o=o===!0?"":o,c?e.setAttributeNS(pl,t,o):e.setAttribute(t,o))}}},Pg=/\s/,wl=e=>e?e.split(Pg):[],cu=(e,t,n,o)=>{const i=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||gl,s=t.$attrs$||gl;for(o in r)o in s||yl(i,o,r[o],void 0,n,t.$flags$);for(o in s)yl(i,o,r[o],s[o],n,t.$flags$)},mi=(e,t,n,o)=>{const i=t.$children$[n];let r=0,s,a,l;if(su||(Ls=!0,i.$tag$==="slot"&&(zn&&o.classList.add(zn+"-s"),i.$flags$|=i.$children$?2:1)),i.$text$!==null)s=i.$elm$=bt.createTextNode(i.$text$);else if(i.$flags$&1)s=i.$elm$=bt.createTextNode("");else{if(je||(je=i.$tag$==="svg"),s=i.$elm$=bt.createElementNS(je?wg:kg,i.$flags$&2?"slot-fb":i.$tag$),je&&i.$tag$==="foreignObject"&&(je=!1),cu(null,i,je),xg(zn)&&s["s-si"]!==zn&&s.classList.add(s["s-si"]=zn),i.$children$)for(r=0;r<i.$children$.length;++r)a=mi(e,i,r,s),a&&s.appendChild(a);i.$tag$==="svg"?je=!1:s.tagName==="foreignObject"&&(je=!0)}return s["s-hn"]=Ai,i.$flags$&3&&(s["s-sr"]=!0,s["s-cr"]=ru,s["s-sn"]=i.$name$||"",l=e&&e.$children$&&e.$children$[n],l&&l.$tag$===i.$tag$&&e.$elm$&&wo(e.$elm$,!1)),s},wo=(e,t)=>{Ae.$flags$|=1;const n=e.childNodes;for(let o=n.length-1;o>=0;o--){const i=n[o];i["s-hn"]!==Ai&&i["s-ol"]&&(fu(i).insertBefore(i,Ms(i)),i["s-ol"].remove(),i["s-ol"]=void 0,Ls=!0),t&&wo(i,t)}Ae.$flags$&=-2},du=(e,t,n,o,i,r)=>{let s=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(s.shadowRoot&&s.tagName===Ai&&(s=s.shadowRoot);i<=r;++i)o[i]&&(a=mi(null,n,i,e),a&&(o[i].$elm$=a,s.insertBefore(a,Ms(t))))},uu=(e,t,n,o,i)=>{for(;t<=n;++t)(o=e[t])&&(i=o.$elm$,pu(o),fi=!0,i["s-ol"]?i["s-ol"].remove():wo(i,!0),i.remove())},Mg=(e,t,n,o)=>{let i=0,r=0,s=0,a=0,l=t.length-1,c=t[0],d=t[l],u=o.length-1,f=o[0],b=o[u],T,x;for(;i<=l&&r<=u;)if(c==null)c=t[++i];else if(d==null)d=t[--l];else if(f==null)f=o[++r];else if(b==null)b=o[--u];else if(jo(c,f))Un(c,f),c=t[++i],f=o[++r];else if(jo(d,b))Un(d,b),d=t[--l],b=o[--u];else if(jo(c,b))(c.$tag$==="slot"||b.$tag$==="slot")&&wo(c.$elm$.parentNode,!1),Un(c,b),e.insertBefore(c.$elm$,d.$elm$.nextSibling),c=t[++i],b=o[--u];else if(jo(d,f))(c.$tag$==="slot"||b.$tag$==="slot")&&wo(d.$elm$.parentNode,!1),Un(d,f),e.insertBefore(d.$elm$,c.$elm$),d=t[--l],f=o[++r];else{for(s=-1,a=i;a<=l;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===f.$key$){s=a;break}s>=0?(x=t[s],x.$tag$!==f.$tag$?T=mi(t&&t[r],n,s,e):(Un(x,f),t[s]=void 0,T=x.$elm$),f=o[++r]):(T=mi(t&&t[r],n,r,e),f=o[++r]),T&&fu(c.$elm$).insertBefore(T,Ms(c.$elm$))}i>l?du(e,o[u+1]==null?null:o[u+1].$elm$,n,o,r,u):r>u&&uu(t,i,l)},jo=(e,t)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:e.$key$===t.$key$:!1,Ms=e=>e&&e["s-ol"]||e,fu=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Un=(e,t)=>{const n=t.$elm$=e.$elm$,o=e.$children$,i=t.$children$,r=t.$tag$,s=t.$text$;let a;s===null?(je=r==="svg"?!0:r==="foreignObject"?!1:je,r==="slot"||cu(e,t,je),o!==null&&i!==null?Mg(n,o,t,i):i!==null?(e.$text$!==null&&(n.textContent=""),du(n,null,t,i,0,i.length-1)):o!==null&&uu(o,0,o.length-1),je&&r==="svg"&&(je=!1)):(a=n["s-cr"])?a.parentNode.textContent=s:e.$text$!==s&&(n.data=s)},hu=e=>{const t=e.childNodes;let n,o,i,r,s,a;for(o=0,i=t.length;o<i;o++)if(n=t[o],n.nodeType===1){if(n["s-sr"]){for(s=n["s-sn"],n.hidden=!1,r=0;r<i;r++)if(a=t[r].nodeType,t[r]["s-hn"]!==n["s-hn"]||s!==""){if(a===1&&s===t[r].getAttribute("slot")){n.hidden=!0;break}}else if(a===1||a===3&&t[r].textContent.trim()!==""){n.hidden=!0;break}}hu(n)}},mt=[],mu=e=>{let t,n,o,i,r,s,a=0;const l=e.childNodes,c=l.length;for(;a<c;a++){if(t=l[a],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(o=n.parentNode.childNodes,i=t["s-sn"],s=o.length-1;s>=0;s--)n=o[s],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]&&(kl(n,i)?(r=mt.find(d=>d.$nodeToRelocate$===n),fi=!0,n["s-sn"]=n["s-sn"]||i,r?r.$slotRefNode$=t:mt.push({$slotRefNode$:t,$nodeToRelocate$:n}),n["s-sr"]&&mt.map(d=>{kl(d.$nodeToRelocate$,n["s-sn"])&&(r=mt.find(u=>u.$nodeToRelocate$===n),r&&!d.$slotRefNode$&&(d.$slotRefNode$=r.$slotRefNode$))})):mt.some(d=>d.$nodeToRelocate$===n)||mt.push({$nodeToRelocate$:n}));t.nodeType===1&&mu(t)}},kl=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",pu=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(pu)},Rg=(e,t)=>{const n=e.$hostElement$,o=e.$cmpMeta$,i=e.$vnode$||hi(null,null),r=Eg(t)?t:_(null,null,t);Ai=n.tagName,o.$attrsToReflect$&&(r.$attrs$=r.$attrs$||{},o.$attrsToReflect$.map(([s,a])=>r.$attrs$[a]=n[s])),r.$tag$=null,r.$flags$|=4,e.$vnode$=r,r.$elm$=i.$elm$=n.shadowRoot||n,zn=n["s-sc"],ru=n["s-cr"],su=(o.$flags$&1)!==0,fi=!1,Un(i,r);{if(Ae.$flags$|=1,Ls){mu(r.$elm$);let s,a,l,c,d,u,f=0;for(;f<mt.length;f++)s=mt[f],a=s.$nodeToRelocate$,a["s-ol"]||(l=bt.createTextNode(""),l["s-nr"]=a,a.parentNode.insertBefore(a["s-ol"]=l,a));for(f=0;f<mt.length;f++)if(s=mt[f],a=s.$nodeToRelocate$,s.$slotRefNode$){for(c=s.$slotRefNode$.parentNode,d=s.$slotRefNode$.nextSibling,l=a["s-ol"];l=l.previousSibling;)if(u=l["s-nr"],u&&u["s-sn"]===a["s-sn"]&&c===u.parentNode&&(u=u.nextSibling,!u||!u["s-nr"])){d=u;break}(!d&&c!==a.parentNode||a.nextSibling!==d)&&a!==d&&(!a["s-hn"]&&a["s-ol"]&&(a["s-hn"]=a["s-ol"].parentNode.nodeName),c.insertBefore(a,d))}else a.nodeType===1&&(a.hidden=!0)}fi&&hu(r.$elm$),Ae.$flags$&=-2,mt.length=0}},Fg=(e,t)=>{},Rs=(e,t)=>(e.$flags$|=16,Fg(e,e.$ancestorComponent$),bi(()=>Vg(e,t))),Vg=(e,t)=>{const n=e.$hostElement$,o=wn("scheduleUpdate",e.$cmpMeta$.$tagName$),i=n;let r;return t?r=Gn(i,"componentWillLoad"):r=Gn(i,"componentWillUpdate"),r=xl(r,()=>Gn(i,"componentWillRender")),o(),xl(r,()=>zg(e,i,t))},zg=async(e,t,n)=>{const o=e.$hostElement$,i=wn("update",e.$cmpMeta$.$tagName$);o["s-rc"],n&&Lg(e);const r=wn("render",e.$cmpMeta$.$tagName$);Ug(e,t,o),r(),i(),Bg(e)},Ug=(e,t,n)=>{try{ml=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(Vn.hasRenderFn||Vn.reflect)&&(Vn.vdomRender||Vn.reflect)&&(Vn.hydrateServerSide||Rg(e,t))}catch(a){$o(a,e.$hostElement$)}return ml=null,null},Bg=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,o=wn("postUpdate",t),i=n;e.$ancestorComponent$,Gn(i,"componentDidRender"),e.$flags$&64?(Gn(i,"componentDidUpdate"),o()):(e.$flags$|=64,Gn(i,"componentDidLoad"),o())},pi=e=>{{const t=no(e),n=t.$hostElement$.isConnected;return n&&(t.$flags$&18)===2&&Rs(t,!1),n}},Gn=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(o){$o(o)}},xl=(e,t)=>e&&e.then?e.then(t):t(),Hg=(e,t)=>no(e).$instanceValues$.get(t),jg=(e,t,n,o)=>{const i=no(e),r=e,s=i.$instanceValues$.get(t),a=i.$flags$,l=r;n=Og(n,o.$members$[t][0]);const c=Number.isNaN(s)&&Number.isNaN(n);if(n!==s&&!c){i.$instanceValues$.set(t,n);{if(o.$watchers$&&a&128){const u=o.$watchers$[t];u&&u.map(f=>{try{l[f](n,s,t)}catch(b){$o(b,r)}})}if((a&18)===2){if(l.componentShouldUpdate&&l.componentShouldUpdate(n,s,t)===!1)return;Rs(i,!1)}}}},Wg=(e,t,n)=>{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const o=Object.entries(t.$members$),i=e.prototype;o.map(([r,[s]])=>{(s&31||s&32)&&Object.defineProperty(i,r,{get(){return Hg(this,r)},set(a){jg(this,r,a,t)},configurable:!0,enumerable:!0})});{const r=new Map;i.attributeChangedCallback=function(s,a,l){Ae.jmp(()=>{const c=r.get(s);if(this.hasOwnProperty(c))l=this[c],delete this[c];else if(i.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==l)return;this[c]=l===null&&typeof this[c]=="boolean"?!1:l})},e.observedAttributes=o.filter(([s,a])=>a[0]&15).map(([s,a])=>{const l=a[1]||s;return r.set(l,s),a[0]&512&&t.$attrsToReflect$.push([s,l]),l})}}return e},Yg=async(e,t,n,o,i)=>{if(!(t.$flags$&32)&&(i=e.constructor,t.$flags$|=32,customElements.whenDefined(n.$tagName$).then(()=>t.$flags$|=128),i.style)){let s=i.style;typeof s!="string"&&(s=s[t.$modeName$=Sg(e)]);const a=lu(n,t.$modeName$);if(!gi.has(a)){const l=wn("registerStyles",n.$tagName$);Ng(a,s,!!(n.$flags$&1)),l()}}t.$ancestorComponent$,(()=>Rs(t,!0))()},Gg=e=>{},qg=e=>{if(!(Ae.$flags$&1)){const t=no(e),n=t.$cmpMeta$,o=wn("connectedCallback",n.$tagName$);t.$flags$&1?(gu(e,t,n.$listeners$),Gg(t.$lazyInstance$)):(t.$flags$|=1,n.$flags$&12&&Kg(e),n.$members$&&Object.entries(n.$members$).map(([i,[r]])=>{if(r&31&&e.hasOwnProperty(i)){const s=e[i];delete e[i],e[i]=s}}),Yg(e,t,n)),o()}},Kg=e=>{const t=e["s-cr"]=bt.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},Xg=e=>{if(!(Ae.$flags$&1)){const t=no(e);t.$rmListeners$&&(t.$rmListeners$.map(n=>n()),t.$rmListeners$=void 0)}},ce=(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 o=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__registerHost(){eb(this,n)},connectedCallback(){qg(this),o&&o.call(this)},disconnectedCallback(){Xg(this),i&&i.call(this)},__attachShadow(){this.attachShadow({mode:"open",delegatesFocus:!!(n.$flags$&16)})}}),e.is=n.$tagName$,Wg(e,n)},gu=(e,t,n,o)=>{n&&n.map(([i,r,s])=>{const a=Jg(e,i),l=Zg(t,s),c=Qg(i);Ae.ael(a,r,l,c),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>Ae.rel(a,r,l,c))})},Zg=(e,t)=>n=>{try{Vn.lazyLoad||e.$hostElement$[t](n)}catch(o){$o(o)}},Jg=(e,t)=>t&4?bt:t&8?Lo:t&16?bt.body:e,Qg=e=>nb?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0,bu=new WeakMap,no=e=>bu.get(e),eb=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return gu(e,n,t.$listeners$),bu.set(e,n)},_l=(e,t)=>t in e,$o=(e,t)=>(0,console.error)(e,t),gi=new Map,tb=[],Lo=typeof window<"u"?window:{},bt=Lo.document||{head:{}},de=Lo.HTMLElement||class{},Ae={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},nb=(()=>{let e=!1;try{bt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),ob=e=>Promise.resolve(e),ib=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),Br=[],vu=[],yu=(e,t)=>n=>{e.push(n),Ur||(Ur=!0,t&&Ae.$flags$&4?rb(Hr):Ae.raf(Hr))},El=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){$o(n)}e.length=0},Hr=()=>{El(Br),El(vu),(Ur=Br.length>0)&&Ae.raf(Hr)},rb=e=>ob().then(e),wu=yu(Br,!1),bi=yu(vu,!0);/*!
13
13
  * (C) Ionic http://ionicframework.com - MIT License
14
- */const ul="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";/*!
14
+ */const Tl="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";/*!
15
15
  * (C) Ionic http://ionicframework.com - MIT License
16
- */class Yg{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 ei=new Yg,Gg=e=>Kg(e),qg=(e,t)=>(typeof e=="string"&&(t=e,e=void 0),Gg(e).includes(t)),Kg=(e=window)=>{if(typeof e>"u")return[];e.Ionic=e.Ionic||{};let t=e.Ionic.platforms;return t==null&&(t=e.Ionic.platforms=Xg(e),t.forEach(n=>e.document.documentElement.classList.add(`plt-${n}`))),t},Xg=e=>{const t=ei.get("platform");return Object.keys(fl).filter(n=>{const i=t==null?void 0:t[n];return typeof i=="function"?i(e):fl[n](e)})},Zg=e=>Oo(e)&&!au(e),As=e=>!!(yn(e,/iPad/i)||yn(e,/Macintosh/i)&&Oo(e)),Jg=e=>yn(e,/iPhone/i),Qg=e=>yn(e,/iPhone|iPod/i)||As(e),su=e=>yn(e,/android|sink/i),eb=e=>su(e)&&!yn(e,/mobile/i),tb=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},nb=e=>{const t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),o=Math.max(t,n);return As(e)||eb(e)||i>460&&i<820&&o>780&&o<1400},Oo=e=>sb(e,"(any-pointer:coarse)"),ib=e=>!Oo(e),au=e=>lu(e)||cu(e),lu=e=>!!(e.cordova||e.phonegap||e.PhoneGap),cu=e=>{const t=e.Capacitor;return!!(t!=null&&t.isNative)},ob=e=>yn(e,/electron/i),rb=e=>{var t;return!!(!((t=e.matchMedia)===null||t===void 0)&&t.call(e,"(display-mode: standalone)").matches||e.navigator.standalone)},yn=(e,t)=>t.test(e.navigator.userAgent),sb=(e,t)=>{var n;return(n=e.matchMedia)===null||n===void 0?void 0:n.call(e,t).matches},fl={ipad:As,iphone:Jg,ios:Qg,android:su,phablet:tb,tablet:nb,cordova:lu,capacitor:cu,electron:ob,pwa:rb,mobile:Oo,mobileweb:Zg,desktop:ib,hybrid:au};let ab;const oe=e=>e&&mg(e)||ab;/*!
16
+ */class sb{constructor(){this.m=new Map}reset(t){this.m=new Map(Object.entries(t))}get(t,n){const o=this.m.get(t);return o!==void 0?o:n}getBoolean(t,n=!1){const o=this.m.get(t);return o===void 0?n:typeof o=="string"?o==="true":!!o}getNumber(t,n){const o=parseFloat(this.m.get(t));return isNaN(o)?n!==void 0?n:NaN:o}set(t,n){this.m.set(t,n)}}const oo=new sb,ab=e=>cb(e),lb=(e,t)=>(typeof e=="string"&&(t=e,e=void 0),ab(e).includes(t)),cb=(e=window)=>{if(typeof e>"u")return[];e.Ionic=e.Ionic||{};let t=e.Ionic.platforms;return t==null&&(t=e.Ionic.platforms=db(e),t.forEach(n=>e.document.documentElement.classList.add(`plt-${n}`))),t},db=e=>{const t=oo.get("platform");return Object.keys(Il).filter(n=>{const o=t==null?void 0:t[n];return typeof o=="function"?o(e):Il[n](e)})},ub=e=>Di(e)&&!xu(e),Fs=e=>!!(kn(e,/iPad/i)||kn(e,/Macintosh/i)&&Di(e)),fb=e=>kn(e,/iPhone/i),hb=e=>kn(e,/iPhone|iPod/i)||Fs(e),ku=e=>kn(e,/android|sink/i),mb=e=>ku(e)&&!kn(e,/mobile/i),pb=e=>{const t=e.innerWidth,n=e.innerHeight,o=Math.min(t,n),i=Math.max(t,n);return o>390&&o<520&&i>620&&i<800},gb=e=>{const t=e.innerWidth,n=e.innerHeight,o=Math.min(t,n),i=Math.max(t,n);return Fs(e)||mb(e)||o>460&&o<820&&i>780&&i<1400},Di=e=>wb(e,"(any-pointer:coarse)"),bb=e=>!Di(e),xu=e=>_u(e)||Eu(e),_u=e=>!!(e.cordova||e.phonegap||e.PhoneGap),Eu=e=>{const t=e.Capacitor;return!!(t!=null&&t.isNative)},vb=e=>kn(e,/electron/i),yb=e=>{var t;return!!(!((t=e.matchMedia)===null||t===void 0)&&t.call(e,"(display-mode: standalone)").matches||e.navigator.standalone)},kn=(e,t)=>t.test(e.navigator.userAgent),wb=(e,t)=>{var n;return(n=e.matchMedia)===null||n===void 0?void 0:n.call(e,t).matches},Il={ipad:Fs,iphone:fb,ios:hb,android:ku,phablet:pb,tablet:gb,cordova:_u,capacitor:Eu,electron:vb,pwa:yb,mobile:Di,mobileweb:ub,desktop:bb,hybrid:xu};let kb;const te=e=>e&&Cg(e)||kb;/*!
17
17
  * (C) Ionic http://ionicframework.com - MIT License
18
- */const Ns=(e,t)=>{e.componentOnReady?e.componentOnReady().then(n=>t(n)):$e(()=>t(e))},du=(e,t=[])=>{const n={};return t.forEach(i=>{e.hasAttribute(i)&&(e.getAttribute(i)!==null&&(n[i]=e.getAttribute(i)),e.removeAttribute(i))}),n},Ds=(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)},uu=(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)},An=(e,t=e)=>e.shadowRoot||t,$e=e=>typeof __zone_symbol__requestAnimationFrame=="function"?__zone_symbol__requestAnimationFrame(e):typeof requestAnimationFrame=="function"?requestAnimationFrame(e):setTimeout(e),lb=e=>!!e.shadowRoot&&!!e.attachShadow,fu=e=>{const t=e.closest("ion-item");return t?t.querySelector("ion-label"):null},hu=e=>{if(e.focus(),e.classList.contains("ion-focusable")){const t=e.closest("ion-app");t&&t.setFocus([e])}},Ls=(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):fu(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}},$s=(e,t,n,i,o)=>{if(e||lb(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||""}};/*!
18
+ */const Vs=(e,t)=>{e.componentOnReady?e.componentOnReady().then(n=>t(n)):Le(()=>t(e))},zs=(e,t=[])=>{const n={};return t.forEach(o=>{e.hasAttribute(o)&&(e.getAttribute(o)!==null&&(n[o]=e.getAttribute(o)),e.removeAttribute(o))}),n},xb=["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"],_b=(e,t)=>{let n=xb;return t&&t.length>0&&(n=n.filter(o=>!t.includes(o))),zs(e,n)},Us=(e,t,n,o)=>{var i;if(typeof window<"u"){const r=window,s=(i=r==null?void 0:r.Ionic)===null||i===void 0?void 0:i.config;if(s){const a=s.get("_ael");if(a)return a(e,t,n,o);if(s._ael)return s._ael(e,t,n,o)}}return e.addEventListener(t,n,o)},Tu=(e,t,n,o)=>{var i;if(typeof window<"u"){const r=window,s=(i=r==null?void 0:r.Ionic)===null||i===void 0?void 0:i.config;if(s){const a=s.get("_rel");if(a)return a(e,t,n,o);if(s._rel)return s._rel(e,t,n,o)}}return e.removeEventListener(t,n,o)},Nn=(e,t=e)=>e.shadowRoot||t,Le=e=>typeof __zone_symbol__requestAnimationFrame=="function"?__zone_symbol__requestAnimationFrame(e):typeof requestAnimationFrame=="function"?requestAnimationFrame(e):setTimeout(e),Iu=e=>!!e.shadowRoot&&!!e.attachShadow,Su=e=>{const t=e.closest("ion-item");return t?t.querySelector("ion-label"):null},Cu=e=>{if(e.focus(),e.classList.contains("ion-focusable")){const t=e.closest("ion-app");t&&t.setFocus([e])}},Bs=(e,t)=>{let n;const o=e.getAttribute("aria-labelledby"),i=e.id;let r=o!==null&&o.trim()!==""?o:t+"-lbl",s=o!==null&&o.trim()!==""?document.getElementById(o):Su(e);return s?(o===null&&(s.id=r),n=s.textContent,s.setAttribute("aria-hidden","true")):i.trim()!==""&&(s=document.querySelector(`label[for="${i}"]`),s&&(s.id!==""?r=s.id:s.id=r=`${i}-lbl`,n=s.textContent)),{label:s,labelId:r,labelText:n}},Hs=(e,t,n,o,i)=>{if(e||Iu(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=i,r.name=n,r.value=o||""}};/*!
19
19
  * (C) Ionic http://ionicframework.com - MIT License
20
- */let Zo;const cb=()=>{if(typeof window>"u")return new Map;if(!Zo){const e=window;e.Ionicons=e.Ionicons||{},Zo=e.Ionicons.map=e.Ionicons.map||new Map}return Zo},db=e=>{let t=Jo(e.src);return t||(t=mu(e.name,e.icon,e.mode,e.ios,e.md),t?ub(t):e.icon&&(t=Jo(e.icon),t||(t=Jo(e.icon[e.mode]),t))?t:null)},ub=e=>{const t=cb().get(e);return t||rg(`svg/${e}.svg`)},mu=(e,t,n,i,o)=>(n=(n&&Hi(n))==="ios"?"ios":"md",i&&n==="ios"?e=Hi(i):o&&n==="md"?e=Hi(o):(!e&&t&&!pu(t)&&(e=t),go(e)&&(e=Hi(e))),!go(e)||e.trim()===""||e.replace(/[a-z]|-|\d/gi,"")!==""?null:e),Jo=e=>go(e)&&(e=e.trim(),pu(e))?e:null,pu=e=>e.length>0&&/(\/|\.)/.test(e),go=e=>typeof e=="string",Hi=e=>e.toLowerCase(),fb=(e,t=[])=>{const n={};return t.forEach(i=>{e.hasAttribute(i)&&(e.getAttribute(i)!==null&&(n[i]=e.getAttribute(i)),e.removeAttribute(i))}),n},hb=e=>e&&e.dir!==""?e.dir.toLowerCase()==="rtl":(document==null?void 0:document.dir.toLowerCase())==="rtl",mb=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()),gu(n))return t.innerHTML}return""},gu=e=>{if(e.nodeType===1){if(e.nodeName.toLowerCase()==="script")return!1;for(let t=0;t<e.attributes.length;t++){const n=e.attributes[t].name;if(go(n)&&n.toLowerCase().indexOf("on")===0)return!1}for(let t=0;t<e.childNodes.length;t++)if(!gu(e.childNodes[t]))return!1}return!0},pb=e=>e.startsWith("data:image/svg+xml"),gb=e=>e.indexOf(";utf8,")!==-1,hn=new Map,hl=new Map;let Qo;const bb=(e,t)=>{let n=hl.get(e);if(!n)if(typeof fetch<"u"&&typeof document<"u")if(pb(e)&&gb(e)){Qo||(Qo=new DOMParser);const o=Qo.parseFromString(e,"text/html").querySelector("svg");return o&&hn.set(e,o.outerHTML),Promise.resolve()}else n=fetch(e).then(i=>{if(i.ok)return i.text().then(o=>{o&&t!==!1&&(o=mb(o)),hn.set(e,o||"")});hn.set(e,"")}),hl.set(e,n);else return hn.set(e,""),Promise.resolve();return n},vb=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}",yb=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.isVisible=!1,this.mode=wb(),this.lazy=!1,this.sanitize=!0,this.hasAriaHidden=()=>{const{el:e}=this;return e.hasAttribute("aria-hidden")&&e.getAttribute("aria-hidden")==="true"}}componentWillLoad(){this.inheritedAttributes=fb(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(e,t,n){if(this.lazy&&typeof window<"u"&&window.IntersectionObserver){const i=this.io=new window.IntersectionObserver(o=>{o[0].isIntersecting&&(i.disconnect(),this.io=void 0,n())},{rootMargin:t});i.observe(e)}else n()}loadIcon(){if(this.isVisible){const t=db(this);t&&(hn.has(t)?this.svgContent=hn.get(t):bb(t,this.sanitize).then(()=>this.svgContent=hn.get(t)))}const e=this.iconName=mu(this.name,this.icon,this.mode,this.ios,this.md);e&&(this.ariaLabel=e.replace(/\-/g," "))}render(){const{iconName:e,ariaLabel:t,el:n,inheritedAttributes:i}=this,o=this.mode||"md",r=this.flipRtl||e&&(e.indexOf("arrow")>-1||e.indexOf("chevron")>-1)&&this.flipRtl!==!1;return T(ce,Object.assign({"aria-label":t!==void 0&&!this.hasAriaHidden()?t:null,role:"img",class:Object.assign(Object.assign({[o]:!0},kb(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":!!r&&hb(n)})},i),this.svgContent?T("div",{class:"icon-inner",innerHTML:this.svgContent}):T("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 vb}},[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],ariaLabel:[32]}]),wb=()=>typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",kb=e=>e?{"ion-color":!0,[`ion-color-${e}`]:!0}:null;function Co(){if(typeof customElements>"u")return;["ion-icon"].forEach(t=>{switch(t){case"ion-icon":customElements.get(t)||customElements.define(t,yb);break}})}/*!
20
+ */let er;const Eb=()=>{if(typeof window>"u")return new Map;if(!er){const e=window;e.Ionicons=e.Ionicons||{},er=e.Ionicons.map=e.Ionicons.map||new Map}return er},Tb=e=>{let t=tr(e.src);return t||(t=Ou(e.name,e.icon,e.mode,e.ios,e.md),t?Ib(t):e.icon&&(t=tr(e.icon),t||(t=tr(e.icon[e.mode]),t))?t:null)},Ib=e=>{const t=Eb().get(e);return t||au(`svg/${e}.svg`)},Ou=(e,t,n,o,i)=>(n=(n&&Wo(n))==="ios"?"ios":"md",o&&n==="ios"?e=Wo(o):i&&n==="md"?e=Wo(i):(!e&&t&&!Au(t)&&(e=t),vi(e)&&(e=Wo(e))),!vi(e)||e.trim()===""||e.replace(/[a-z]|-|\d/gi,"")!==""?null:e),tr=e=>vi(e)&&(e=e.trim(),Au(e))?e:null,Au=e=>e.length>0&&/(\/|\.)/.test(e),vi=e=>typeof e=="string",Wo=e=>e.toLowerCase(),Sb=(e,t=[])=>{const n={};return t.forEach(o=>{e.hasAttribute(o)&&(e.getAttribute(o)!==null&&(n[o]=e.getAttribute(o)),e.removeAttribute(o))}),n},Cb=e=>e&&e.dir!==""?e.dir.toLowerCase()==="rtl":(document==null?void 0:document.dir.toLowerCase())==="rtl",Ob=e=>{const t=document.createElement("div");t.innerHTML=e;for(let o=t.childNodes.length-1;o>=0;o--)t.childNodes[o].nodeName.toLowerCase()!=="svg"&&t.removeChild(t.childNodes[o]);const n=t.firstElementChild;if(n&&n.nodeName.toLowerCase()==="svg"){const o=n.getAttribute("class")||"";if(n.setAttribute("class",(o+" s-ion-icon").trim()),Du(n))return t.innerHTML}return""},Du=e=>{if(e.nodeType===1){if(e.nodeName.toLowerCase()==="script")return!1;for(let t=0;t<e.attributes.length;t++){const n=e.attributes[t].name;if(vi(n)&&n.toLowerCase().indexOf("on")===0)return!1}for(let t=0;t<e.childNodes.length;t++)if(!Du(e.childNodes[t]))return!1}return!0},Ab=e=>e.startsWith("data:image/svg+xml"),Db=e=>e.indexOf(";utf8,")!==-1,mn=new Map,Sl=new Map;let nr;const Nb=(e,t)=>{let n=Sl.get(e);if(!n)if(typeof fetch<"u"&&typeof document<"u")if(Ab(e)&&Db(e)){nr||(nr=new DOMParser);const i=nr.parseFromString(e,"text/html").querySelector("svg");return i&&mn.set(e,i.outerHTML),Promise.resolve()}else n=fetch(e).then(o=>{if(o.ok)return o.text().then(i=>{i&&t!==!1&&(i=Ob(i)),mn.set(e,i||"")});mn.set(e,"")}),Sl.set(e,n);else return mn.set(e,""),Promise.resolve();return n},$b=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}",Lb=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.isVisible=!1,this.mode=Pb(),this.lazy=!1,this.sanitize=!0,this.hasAriaHidden=()=>{const{el:e}=this;return e.hasAttribute("aria-hidden")&&e.getAttribute("aria-hidden")==="true"}}componentWillLoad(){this.inheritedAttributes=Sb(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(e,t,n){if(this.lazy&&typeof window<"u"&&window.IntersectionObserver){const o=this.io=new window.IntersectionObserver(i=>{i[0].isIntersecting&&(o.disconnect(),this.io=void 0,n())},{rootMargin:t});o.observe(e)}else n()}loadIcon(){if(this.isVisible){const t=Tb(this);t&&(mn.has(t)?this.svgContent=mn.get(t):Nb(t,this.sanitize).then(()=>this.svgContent=mn.get(t)))}const e=this.iconName=Ou(this.name,this.icon,this.mode,this.ios,this.md);e&&(this.ariaLabel=e.replace(/\-/g," "))}render(){const{iconName:e,ariaLabel:t,el:n,inheritedAttributes:o}=this,i=this.mode||"md",r=this.flipRtl||e&&(e.indexOf("arrow")>-1||e.indexOf("chevron")>-1)&&this.flipRtl!==!1;return _(se,Object.assign({"aria-label":t!==void 0&&!this.hasAriaHidden()?t:null,role:"img",class:Object.assign(Object.assign({[i]:!0},Mb(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":!!r&&Cb(n)})},o),this.svgContent?_("div",{class:"icon-inner",innerHTML:this.svgContent}):_("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 $b}},[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],ariaLabel:[32]}]),Pb=()=>typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",Mb=e=>e?{"ion-color":!0,[`ion-color-${e}`]:!0}:null;function Ni(){if(typeof customElements>"u")return;["ion-icon"].forEach(t=>{switch(t){case"ion-icon":customElements.get(t)||customElements.define(t,Lb);break}})}/*!
21
21
  * (C) Ionic http://ionicframework.com - MIT License
22
- */class xb{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(t){var n;return new _b(this,this.newID(),t.name,(n=t.priority)!==null&&n!==void 0?n:0,!!t.disableScroll)}createBlocker(t={}){return new Eb(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(ml)}enableScroll(t){this.disabledScroll.delete(t),this.disabledScroll.size===0&&document.body.classList.remove(ml)}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 _b{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 Eb{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 ml="backdrop-no-scroll",bu=new xb;/*!
22
+ */class Rb{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(t){var n;return new Fb(this,this.newID(),t.name,(n=t.priority)!==null&&n!==void 0?n:0,!!t.disableScroll)}createBlocker(t={}){return new Vb(this,this.newID(),t.disable,!!t.disableScroll)}start(t,n,o){return this.canStart(t)?(this.requestedStart.set(n,o),!0):(this.requestedStart.delete(n),!1)}capture(t,n,o){if(!this.start(t,n,o))return!1;const i=this.requestedStart;let r=-1e4;if(i.forEach(s=>{r=Math.max(r,s)}),r===o){this.capturedId=n,i.clear();const s=new CustomEvent("ionGestureCaptured",{detail:{gestureName:t}});return document.dispatchEvent(s),!0}return i.delete(n),!1}release(t){this.requestedStart.delete(t),this.capturedId===t&&(this.capturedId=void 0)}disableGesture(t,n){let o=this.disabledGestures.get(t);o===void 0&&(o=new Set,this.disabledGestures.set(t,o)),o.add(n)}enableGesture(t,n){const o=this.disabledGestures.get(t);o!==void 0&&o.delete(n)}disableScroll(t){this.disabledScroll.add(t),this.disabledScroll.size===1&&document.body.classList.add(Cl)}enableScroll(t){this.disabledScroll.delete(t),this.disabledScroll.size===0&&document.body.classList.remove(Cl)}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 Fb{constructor(t,n,o,i,r){this.id=n,this.name=o,this.disableScroll=r,this.priority=i*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 Vb{constructor(t,n,o,i){this.id=n,this.disable=o,this.disableScroll=i,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 Cl="backdrop-no-scroll",Nu=new Rb;/*!
23
23
  * (C) Ionic http://ionicframework.com - MIT License
24
- */const Tb=":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)}",Ib=":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)}",Sb=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionBackdropTap=J(this,"ionBackdropTap",7),this.blocker=bu.createBlocker({disableScroll:!0}),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}connectedCallback(){this.stopPropagation&&this.blocker.block()}disconnectedCallback(){this.blocker.unblock()}onMouseDown(e){this.emitTap(e)}emitTap(e){this.stopPropagation&&(e.preventDefault(),e.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){const e=oe(this);return T(ce,{tabindex:"-1","aria-hidden":"true",class:{[e]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}static get style(){return{ios:Tb,md:Ib}}},[33,"ion-backdrop",{visible:[4],tappable:[4],stopPropagation:[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]);function Ao(){if(typeof customElements>"u")return;["ion-backdrop"].forEach(t=>{switch(t){case"ion-backdrop":customElements.get(t)||customElements.define(t,Sb);break}})}/*!
24
+ */const zb=":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)}",Ub=":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)}",Bb=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionBackdropTap=q(this,"ionBackdropTap",7),this.blocker=Nu.createBlocker({disableScroll:!0}),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}connectedCallback(){this.stopPropagation&&this.blocker.block()}disconnectedCallback(){this.blocker.unblock()}onMouseDown(e){this.emitTap(e)}emitTap(e){this.stopPropagation&&(e.preventDefault(),e.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){const e=te(this);return _(se,{tabindex:"-1","aria-hidden":"true",class:{[e]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}static get style(){return{ios:zb,md:Ub}}},[33,"ion-backdrop",{visible:[4],tappable:[4],stopPropagation:[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]);function $i(){if(typeof customElements>"u")return;["ion-backdrop"].forEach(t=>{switch(t){case"ion-backdrop":customElements.get(t)||customElements.define(t,Bb);break}})}/*!
25
25
  * (C) Ionic http://ionicframework.com - MIT License
26
- */const Di=(e,t)=>t.closest(e)!==null,St=(e,t)=>typeof e=="string"&&e.length>0?Object.assign({"ion-color":!0,[`ion-color-${e}`]:!0},t):t,Ob=e=>e!==void 0?(Array.isArray(e)?e:e.split(" ")).filter(n=>n!=null).map(n=>n.trim()).filter(n=>n!==""):[],bt=e=>{const t={};return Ob(e).forEach(n=>t[n]=!0),t},Cb=/^[a-z][a-z0-9+\-.]*:/,vu=async(e,t,n,i)=>{if(e!=null&&e[0]!=="#"&&!Cb.test(e)){const o=document.querySelector("ion-router");if(o)return t!=null&&t.preventDefault(),o.push(e,n,i)}return!1};/*!
26
+ */const Zt=(e,t)=>t.closest(e)!==null,it=(e,t)=>typeof e=="string"&&e.length>0?Object.assign({"ion-color":!0,[`ion-color-${e}`]:!0},t):t,Hb=e=>e!==void 0?(Array.isArray(e)?e:e.split(" ")).filter(n=>n!=null).map(n=>n.trim()).filter(n=>n!==""):[],vt=e=>{const t={};return Hb(e).forEach(n=>t[n]=!0),t},jb=/^[a-z][a-z0-9+\-.]*:/,js=async(e,t,n,o)=>{if(e!=null&&e[0]!=="#"&&!jb.test(e)){const i=document.querySelector("ion-router");if(i)return t!=null&&t.preventDefault(),i.push(e,n,o)}return!1};/*!
27
27
  * (C) Ionic http://ionicframework.com - MIT License
28
- */const Ab=(e,...t)=>console.warn(`[Ionic Warning]: ${e}`,...t),Nb=(e,...t)=>console.error(`[Ionic Error]: ${e}`,...t);/*!
28
+ */const jr=(e,...t)=>console.warn(`[Ionic Warning]: ${e}`,...t),Wb=(e,...t)=>console.error(`[Ionic Error]: ${e}`,...t);/*!
29
29
  * (C) Ionic http://ionicframework.com - MIT License
30
- */const Db=":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}}",Lb=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.type="bounded"}async addRipple(e,t){return new Promise(n=>{ru(()=>{const i=this.el.getBoundingClientRect(),o=i.width,r=i.height,s=Math.sqrt(o*o+r*r),a=Math.max(r,o),l=this.unbounded?a:s+Pb,c=Math.floor(a*Mb),d=l/c;let u=e-i.left,f=t-i.top;this.unbounded&&(u=o*.5,f=r*.5);const b=u-c*.5,I=f-c*.5,x=o*.5-u,O=r*.5-f;po(()=>{const g=document.createElement("div");g.classList.add("ripple-effect");const y=g.style;y.top=I+"px",y.left=b+"px",y.width=y.height=c+"px",y.setProperty("--final-scale",`${d}`),y.setProperty("--translate-end",`${x}px, ${O}px`),(this.el.shadowRoot||this.el).appendChild(g),setTimeout(()=>{n(()=>{$b(g)})},225+100)})})})}get unbounded(){return this.type==="unbounded"}render(){const e=oe(this);return T(ce,{role:"presentation",class:{[e]:!0,unbounded:this.unbounded}})}get el(){return this}static get style(){return Db}},[1,"ion-ripple-effect",{type:[1],addRipple:[64]}]),$b=e=>{e.classList.add("fade-out"),setTimeout(()=>{e.remove()},200)},Pb=10,Mb=.5;function ti(){if(typeof customElements>"u")return;["ion-ripple-effect"].forEach(t=>{switch(t){case"ion-ripple-effect":customElements.get(t)||customElements.define(t,Lb);break}})}/*!
30
+ */const Yb=":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}}",Gb=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.type="bounded"}async addRipple(e,t){return new Promise(n=>{wu(()=>{const o=this.el.getBoundingClientRect(),i=o.width,r=o.height,s=Math.sqrt(i*i+r*r),a=Math.max(r,i),l=this.unbounded?a:s+Kb,c=Math.floor(a*Xb),d=l/c;let u=e-o.left,f=t-o.top;this.unbounded&&(u=i*.5,f=r*.5);const b=u-c*.5,T=f-c*.5,x=i*.5-u,C=r*.5-f;bi(()=>{const p=document.createElement("div");p.classList.add("ripple-effect");const y=p.style;y.top=T+"px",y.left=b+"px",y.width=y.height=c+"px",y.setProperty("--final-scale",`${d}`),y.setProperty("--translate-end",`${x}px, ${C}px`),(this.el.shadowRoot||this.el).appendChild(p),setTimeout(()=>{n(()=>{qb(p)})},225+100)})})})}get unbounded(){return this.type==="unbounded"}render(){const e=te(this);return _(se,{role:"presentation",class:{[e]:!0,unbounded:this.unbounded}})}get el(){return this}static get style(){return Yb}},[1,"ion-ripple-effect",{type:[1],addRipple:[64]}]),qb=e=>{e.classList.add("fade-out"),setTimeout(()=>{e.remove()},200)},Kb=10,Xb=.5;function $n(){if(typeof customElements>"u")return;["ion-ripple-effect"].forEach(t=>{switch(t){case"ion-ripple-effect":customElements.get(t)||customElements.define(t,Gb);break}})}/*!
31
31
  * (C) Ionic http://ionicframework.com - MIT License
32
- */const Rb=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));margin-left:16px;margin-right:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:14px;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}",Fb=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:14px;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}",Vb=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.inheritedAriaAttributes={},this.button=!1,this.type="button",this.disabled=!1,this.routerDirection="forward"}componentWillLoad(){this.inheritedAriaAttributes=du(this.el,["aria-label"])}isClickable(){return this.href!==void 0||this.button}renderCard(e){const t=this.isClickable();if(!t)return[T("slot",null)];const{href:n,routerAnimation:i,routerDirection:o,inheritedAriaAttributes:r}=this,s=t?n===void 0?"button":"a":"div",a=s==="button"?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target};return T(s,Object.assign({},a,r,{class:"card-native",part:"native",disabled:this.disabled,onClick:l=>vu(n,l,o,i)}),T("slot",null),t&&e==="md"&&T("ion-ripple-effect",null))}render(){const e=oe(this);return T(ce,{class:St(this.color,{[e]:!0,"card-disabled":this.disabled,"ion-activatable":this.isClickable()})},this.renderCard(e))}get el(){return this}static get style(){return{ios:Rb,md:Fb}}},[33,"ion-card",{color:[513],button:[4],type:[1],disabled:[4],download:[1],href:[1],rel:[1],routerDirection:[1,"router-direction"],routerAnimation:[16],target:[1]}]);function Ub(){if(typeof customElements>"u")return;["ion-card","ion-ripple-effect"].forEach(t=>{switch(t){case"ion-card":customElements.get(t)||customElements.define(t,Vb);break;case"ion-ripple-effect":customElements.get(t)||ti();break}})}const zb=Ub;/*!
32
+ */const Zb=':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;text-overflow:ellipsis;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;display:block;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;display:block;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;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-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}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.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(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::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:10px;--padding-top:0;--padding-bottom:0;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:2.8em;font-size:16px;font-weight:500;letter-spacing:-0.03em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.in-buttons){font-size:17px;font-weight:400}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:10px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:17px;font-weight:normal;letter-spacing:0}:host(.button-large){--border-radius:12px;--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--border-radius:6px;--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}: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)}',Jb=`: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;text-overflow:ellipsis;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;display:block;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;display:block;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;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-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}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.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(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::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:0;--padding-bottom:0;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),
33
+ background-color 15ms linear,
34
+ color 15ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:36px;font-size:14px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}: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:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}: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)}}`,Qb=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionFocus=q(this,"ionFocus",7),this.ionBlur=q(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.inheritedAttributes={},this.buttonType="button",this.disabled=!1,this.routerDirection="forward",this.strong=!1,this.type="button",this.handleClick=e=>{const{el:t}=this;if(this.type==="button")js(this.href,e,this.routerDirection,this.routerAnimation);else if(Iu(t)){let n=this.findForm();const{form:o}=this;if(!n&&o!==void 0){jr(typeof o=="string"?`Form with selector: "#${o}" could not be found. Verify that the id is correct and the form is rendered in the DOM.`:'The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.',t);return}if(n||(n=t.closest("form")),n){e.preventDefault();const i=document.createElement("button");i.type=this.type,i.style.display="none",n.appendChild(i),i.click(),i.remove()}}},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()}}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=_b(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:e}=this;if(e instanceof HTMLFormElement)return e;if(typeof e=="string"){const t=document.getElementById(e);if(t instanceof HTMLFormElement)return t}return null}render(){const e=te(this),{buttonType:t,type:n,disabled:o,rel:i,target:r,size:s,href:a,color:l,expand:c,hasIconOnly:d,shape:u,strong:f,inheritedAttributes:b}=this,T=s===void 0&&this.inItem?"small":s,x=a===void 0?"button":"a",C=x==="button"?{type:n}:{download:this.download,href:a,rel:i,target:r};let p=this.fill;return p==null&&(p=this.inToolbar||this.inListHeader?"clear":"solid"),_(se,{onClick:this.handleClick,"aria-disabled":o?"true":null,class:it(l,{[e]:!0,[t]:!0,[`${t}-${c}`]:c!==void 0,[`${t}-${T}`]:T!==void 0,[`${t}-${u}`]:u!==void 0,[`${t}-${p}`]:!0,[`${t}-strong`]:f,"in-toolbar":Zt("ion-toolbar",this.el),"in-toolbar-color":Zt("ion-toolbar[color]",this.el),"in-buttons":Zt("ion-buttons",this.el),"button-has-icon-only":d,"button-disabled":o,"ion-activatable":!0,"ion-focusable":!0})},_(x,Object.assign({},C,{class:"button-native",part:"native",disabled:o,onFocus:this.onFocus,onBlur:this.onBlur},b),_("span",{class:"button-inner"},_("slot",{name:"icon-only"}),_("slot",{name:"start"}),_("slot",null),_("slot",{name:"end"})),e==="md"&&_("ion-ripple-effect",{type:this.rippleType})))}get el(){return this}static get style(){return{ios:Zb,md:Jb}}},[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]}]);function e0(){if(typeof customElements>"u")return;["ion-button","ion-ripple-effect"].forEach(t=>{switch(t){case"ion-button":customElements.get(t)||customElements.define(t,Qb);break;case"ion-ripple-effect":customElements.get(t)||$n();break}})}/*!
33
35
  * (C) Ionic http://ionicframework.com - MIT License
34
- */const Bb="ion-card-content{display:block;position:relative}.card-content-ios{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:20px;font-size:16px;line-height:1.4}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.card-content-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px}ion-card-header+.card-content-ios{padding-top:0}",Hb="ion-card-content{display:block;position:relative}.card-content-md{padding-left:16px;padding-right:16px;padding-top:13px;padding-bottom:13px;font-size:14px;line-height:1.5}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.card-content-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}",Wb=me(class extends pe{constructor(){super(),this.__registerHost()}render(){const e=oe(this);return T(ce,{class:{[e]:!0,[`card-content-${e}`]:!0}})}static get style(){return{ios:Bb,md:Hb}}},[32,"ion-card-content"]);function jb(){if(typeof customElements>"u")return;["ion-card-content"].forEach(t=>{switch(t){case"ion-card-content":customElements.get(t)||customElements.define(t,Wb);break}})}const Yb=jb;/*!
36
+ */const t0=e0;/*!
35
37
  * (C) Ionic http://ionicframework.com - MIT License
36
- */const Gb=":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}",qb=":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}",Kb=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.translucent=!1}render(){const e=oe(this);return T(ce,{class:St(this.color,{"card-header-translucent":this.translucent,"ion-inherit-color":!0,[e]:!0})},T("slot",null))}static get style(){return{ios:Gb,md:qb}}},[33,"ion-card-header",{color:[513],translucent:[4]}]);function Xb(){if(typeof customElements>"u")return;["ion-card-header"].forEach(t=>{switch(t){case"ion-card-header":customElements.get(t)||customElements.define(t,Kb);break}})}const Zb=Xb;/*!
38
+ */const n0=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));margin-left:16px;margin-right:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:14px;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}",o0=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:14px;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}",i0=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.inheritedAriaAttributes={},this.button=!1,this.type="button",this.disabled=!1,this.routerDirection="forward"}componentWillLoad(){this.inheritedAriaAttributes=zs(this.el,["aria-label"])}isClickable(){return this.href!==void 0||this.button}renderCard(e){const t=this.isClickable();if(!t)return[_("slot",null)];const{href:n,routerAnimation:o,routerDirection:i,inheritedAriaAttributes:r}=this,s=t?n===void 0?"button":"a":"div",a=s==="button"?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target};return _(s,Object.assign({},a,r,{class:"card-native",part:"native",disabled:this.disabled,onClick:l=>js(n,l,i,o)}),_("slot",null),t&&e==="md"&&_("ion-ripple-effect",null))}render(){const e=te(this);return _(se,{class:it(this.color,{[e]:!0,"card-disabled":this.disabled,"ion-activatable":this.isClickable()})},this.renderCard(e))}get el(){return this}static get style(){return{ios:n0,md:o0}}},[33,"ion-card",{color:[513],button:[4],type:[1],disabled:[4],download:[1],href:[1],rel:[1],routerDirection:[1,"router-direction"],routerAnimation:[16],target:[1]}]);function r0(){if(typeof customElements>"u")return;["ion-card","ion-ripple-effect"].forEach(t=>{switch(t){case"ion-card":customElements.get(t)||customElements.define(t,i0);break;case"ion-ripple-effect":customElements.get(t)||$n();break}})}const s0=r0;/*!
37
39
  * (C) Ionic http://ionicframework.com - MIT License
38
- */const Jb=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:28px;font-weight:700;line-height:1.2}",Qb=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;line-height:1.2}",e0=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){const e=oe(this);return T(ce,{role:"heading","aria-level":"2",class:St(this.color,{"ion-inherit-color":!0,[e]:!0})},T("slot",null))}static get style(){return{ios:Jb,md:Qb}}},[33,"ion-card-title",{color:[513]}]);function t0(){if(typeof customElements>"u")return;["ion-card-title"].forEach(t=>{switch(t){case"ion-card-title":customElements.get(t)||customElements.define(t,e0);break}})}const n0=t0;/*!
40
+ */const a0="ion-card-content{display:block;position:relative}.card-content-ios{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:20px;font-size:16px;line-height:1.4}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.card-content-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px}ion-card-header+.card-content-ios{padding-top:0}",l0="ion-card-content{display:block;position:relative}.card-content-md{padding-left:16px;padding-right:16px;padding-top:13px;padding-bottom:13px;font-size:14px;line-height:1.5}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.card-content-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}",c0=ce(class extends de{constructor(){super(),this.__registerHost()}render(){const e=te(this);return _(se,{class:{[e]:!0,[`card-content-${e}`]:!0}})}static get style(){return{ios:a0,md:l0}}},[32,"ion-card-content"]);function d0(){if(typeof customElements>"u")return;["ion-card-content"].forEach(t=>{switch(t){case"ion-card-content":customElements.get(t)||customElements.define(t,c0);break}})}const u0=d0;/*!
39
41
  * (C) Ionic http://ionicframework.com - MIT License
40
- */const i0=":host{--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;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}label{left:0;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}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}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}.checkbox-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:1px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--background:var(--ion-item-background, var(--ion-background-color, #fff));--size:26px;width:var(--size);height:var(--size)}:host(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.in-item[slot=start]){margin-left:2px;margin-right:20px;margin-top:8px;margin-bottom:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:20px;margin-inline-end:20px}}",o0=":host{--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;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}label{left:0;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}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}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}.checkbox-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--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:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.51);--checkmark-width:3;--background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px;width:var(--size);height:var(--size)}.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(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item[slot=start]){margin-left:4px;margin-right:36px;margin-top:18px;margin-bottom:18px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px}}",r0=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionChange=J(this,"ionChange",7),this.ionFocus=J(this,"ionFocus",7),this.ionBlur=J(this,"ionBlur",7),this.ionStyle=J(this,"ionStyle",7),this.inputId=`ion-cb-${s0++}`,this.name=this.inputId,this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.value="on",this.onClick=e=>{e.preventDefault(),this.setFocus(),this.checked=!this.checked,this.indeterminate=!1},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()}}componentWillLoad(){this.emitStyle()}checkedChanged(e){this.ionChange.emit({checked:e,value:this.value}),this.emitStyle()}disabledChanged(){this.emitStyle()}emitStyle(){this.ionStyle.emit({"checkbox-checked":this.checked,"interactive-disabled":this.disabled})}setFocus(){this.focusEl&&this.focusEl.focus()}render(){const{color:e,checked:t,disabled:n,el:i,indeterminate:o,inputId:r,name:s,value:a}=this,l=oe(this),{label:c,labelId:d,labelText:u}=Ls(i,r);$s(!0,i,s,t?a:"",n);let f=o?T("path",{d:"M6 12L18 12",part:"mark"}):T("path",{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return l==="md"&&(f=o?T("path",{d:"M2 12H22",part:"mark"}):T("path",{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})),T(ce,{onClick:this.onClick,"aria-labelledby":c?d:null,"aria-checked":`${t}`,"aria-hidden":n?"true":null,role:"checkbox",class:St(e,{[l]:!0,"in-item":Di("ion-item",i),"checkbox-checked":t,"checkbox-disabled":n,"checkbox-indeterminate":o,interactive:!0})},T("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},f),T("label",{htmlFor:r},u),T("input",{type:"checkbox","aria-checked":`${t}`,disabled:n,id:r,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:b=>this.focusEl=b}))}get el(){return this}static get watchers(){return{checked:["checkedChanged"],disabled:["disabledChanged"]}}static get style(){return{ios:i0,md:o0}}},[33,"ion-checkbox",{color:[513],name:[1],checked:[1028],indeterminate:[1028],disabled:[4],value:[8]}]);let s0=0;function yu(){if(typeof customElements>"u")return;["ion-checkbox"].forEach(t=>{switch(t){case"ion-checkbox":customElements.get(t)||customElements.define(t,r0);break}})}/*!
42
+ */const f0=":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}",h0=":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}",m0=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.translucent=!1}render(){const e=te(this);return _(se,{class:it(this.color,{"card-header-translucent":this.translucent,"ion-inherit-color":!0,[e]:!0})},_("slot",null))}static get style(){return{ios:f0,md:h0}}},[33,"ion-card-header",{color:[513],translucent:[4]}]);function p0(){if(typeof customElements>"u")return;["ion-card-header"].forEach(t=>{switch(t){case"ion-card-header":customElements.get(t)||customElements.define(t,m0);break}})}const g0=p0;/*!
41
43
  * (C) Ionic http://ionicframework.com - MIT License
42
- */const Wi=typeof window<"u"?window:void 0;Wi&&(Wi.CSS&&Wi.CSS.supports&&Wi.CSS.supports("--a: 0"));/*!
44
+ */const b0=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:12px;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}",v0=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, #737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:14px;font-weight:500}",y0=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){const e=te(this);return _(se,{role:"heading","aria-level":"3",class:it(this.color,{"ion-inherit-color":!0,[e]:!0})},_("slot",null))}static get style(){return{ios:b0,md:v0}}},[33,"ion-card-subtitle",{color:[513]}]);function w0(){if(typeof customElements>"u")return;["ion-card-subtitle"].forEach(t=>{switch(t){case"ion-card-subtitle":customElements.get(t)||customElements.define(t,y0);break}})}const k0=w0;/*!
43
45
  * (C) Ionic http://ionicframework.com - MIT License
44
- */const a0=":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)}",l0=":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);font-size:14px}",c0=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){const e=oe(this);return T(ce,{class:St(this.color,{[e]:!0})},T("slot",null))}static get style(){return{ios:a0,md:l0}}},[33,"ion-note",{color:[513]}]);function Ps(){if(typeof customElements>"u")return;["ion-note"].forEach(t=>{switch(t){case"ion-note":customElements.get(t)||customElements.define(t,c0);break}})}/*!
46
+ */const x0=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:28px;font-weight:700;line-height:1.2}",_0=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;line-height:1.2}",E0=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){const e=te(this);return _(se,{role:"heading","aria-level":"2",class:it(this.color,{"ion-inherit-color":!0,[e]:!0})},_("slot",null))}static get style(){return{ios:x0,md:_0}}},[33,"ion-card-title",{color:[513]}]);function T0(){if(typeof customElements>"u")return;["ion-card-title"].forEach(t=>{switch(t){case"ion-card-title":customElements.get(t)||customElements.define(t,E0);break}})}const I0=T0;/*!
45
47
  * (C) Ionic http://ionicframework.com - MIT License
46
- */const d0=':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.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-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--inner-padding-end);padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-bottom{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--inner-padding-end);padding-inline-end:var(--inner-padding-end)}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-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){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:12px;z-index:1}.item-counter{margin-left:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-counter{margin-left:unset;-webkit-margin-start:auto;margin-inline-start:auto}}@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:20px;--inner-padding-end:10px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:#000;--background-focused:#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:17px}: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]){margin-left:0;margin-right:20px;margin-top:2px;margin-bottom:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:20px;margin-inline-end:20px}}::slotted([slot=end]){margin-left:10px;margin-right:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}::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:0px;--padding-bottom:0px;--padding-start:.5em;--padding-end:.5em;height:24px;font-size:13px}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:0px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0px;margin-inline-start:0px}}::slotted(ion-label){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0px}:host(.item-label-fixed) ::slotted(ion-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:0}',u0=':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.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-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--inner-padding-end);padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-bottom{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--inner-padding-end);padding-inline-end:var(--inner-padding-end)}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-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){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:12px;z-index:1}.item-counter{margin-left:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-counter{margin-left:unset;-webkit-margin-start:auto;margin-inline-start:auto}}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0 0 1px 0;--highlight-height:1px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:16px;font-weight:normal;text-transform:none}:host(.item-fill-outline){--highlight-height:2px}:host(.item-fill-none.item-interactive.ion-focus) .item-highlight,:host(.item-fill-none.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-none.item-interactive.ion-focus) .item-native,:host(.item-fill-none.item-interactive.item-has-focus) .item-native,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-highlight{border-width:var(--full-highlight-height);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-native{border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-highlight,:host(.item-fill-solid.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-native,:host(.item-fill-solid.item-interactive.item-has-focus) .item-native,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-has-focus) .item-native{caret-color:var(--highlight-background)}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-full){--border-width:0 0 1px 0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0;--show-inset-highlight:0}:host(.item-fill-outline) .item-highlight{--position-offset:calc(-1 * var(--border-width));left:var(--position-offset);top:var(--position-offset);width:calc(100% + 2 * var(--border-width));height:calc(100% + 2 * var(--border-width));-webkit-transition:none;transition:none}: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)}: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]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted([slot=end]){margin-left:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;-webkit-margin-start:32px;margin-inline-start:32px}}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:24px}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted(ion-icon[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;-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]){margin-right:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-fill-solid) ::slotted(ion-icon[slot=start]),:host(.item-fill-outline) ::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:11px}::slotted(ion-note[slot]:not([slot=helper]):not([slot=error])){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){padding-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=start]){padding-right:unset;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-note[slot=end]){padding-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=end]){padding-left:unset;-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]){margin-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:unset;-webkit-margin-end:16px;margin-inline-end:16px}}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;-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),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:8px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}::slotted(.button-small){--padding-top:0;--padding-bottom:0;--padding-start:.6em;--padding-end:.6em;height:25px;font-size:12px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-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}: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}@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{padding-left:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-fill-outline.item-shape-round) .item-bottom{padding-left:unset;-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}',f0=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.labelColorStyles={},this.itemStyles=new Map,this.inheritedAriaAttributes={},this.multipleInputs=!1,this.focusable=!0,this.button=!1,this.detailIcon=ul,this.disabled=!1,this.counter=!1,this.routerDirection="forward",this.type="button"}counterFormatterChanged(){this.updateCounterOutput(this.getFirstInput())}handleIonChange(e){this.counter&&e.target===this.getFirstInput()&&this.updateCounterOutput(e.target)}labelColorChanged(e){const{color:t}=this;t===void 0&&(this.labelColorStyles=e.detail)}itemStyle(e){e.stopPropagation();const t=e.target.tagName,n=e.detail,i={},o=this.itemStyles.get(t)||{};let r=!1;Object.keys(n).forEach(s=>{if(n[s]){const a=`item-${s}`;o[a]||(r=!0),i[a]=!0}}),!r&&Object.keys(i).length!==Object.keys(o).length&&(r=!0),r&&(this.itemStyles.set(t,i),ho(this))}connectedCallback(){this.counter&&this.updateCounterOutput(this.getFirstInput()),this.hasStartEl()}componentDidUpdate(){const e=this.getFirstInput();e!==void 0&&!this.clickListener&&(this.clickListener=t=>this.delegateFocus(t,e),this.el.addEventListener("click",this.clickListener))}disconnectedCallback(){this.getFirstInput()!==void 0&&this.clickListener&&(this.el.removeEventListener("click",this.clickListener),this.clickListener=void 0)}componentWillLoad(){this.inheritedAriaAttributes=du(this.el,["aria-label"])}componentDidLoad(){$e(()=>{this.setMultipleInputs(),this.focusable=this.isFocusable()})}setMultipleInputs(){const e=this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"),t=this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"),n=this.el.querySelectorAll("ion-anchor, ion-button, a, button");this.multipleInputs=e.length+t.length>1||e.length+n.length>1||e.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 e=this.el.querySelector(".ion-focusable");return this.canActivate()||e!==null}getFirstInput(){return this.el.querySelectorAll("ion-input, ion-textarea")[0]}delegateFocus(e,t){const n=e.target.tagName==="ION-ITEM";let i=!1;document.activeElement&&(i=t.querySelector("input, textarea")===document.activeElement),n&&(i||!this.multipleInputs)&&(t.fireFocusEvents=!1,t.setBlur(),t.setFocus(),$e(()=>{t.fireFocusEvents=!0}))}updateCounterOutput(e){var t,n;const{counter:i,counterFormatter:o,defaultCounterFormatter:r}=this;if(i&&!this.multipleInputs&&(e==null?void 0:e.maxlength)!==void 0){const s=(n=(t=e==null?void 0:e.value)===null||t===void 0?void 0:t.toString().length)!==null&&n!==void 0?n:0;if(o===void 0)this.counterString=r(s,e.maxlength);else try{this.counterString=o(s,e.maxlength)}catch(a){Nb("Exception in provided `counterFormatter`.",a),this.counterString=r(s,e.maxlength)}}}defaultCounterFormatter(e,t){return`${e} / ${t}`}hasStartEl(){this.el.querySelector('[slot="start"]')!==null&&this.el.classList.add("item-has-start-slot")}render(){const{counterString:e,detail:t,detailIcon:n,download:i,fill:o,labelColorStyles:r,lines:s,disabled:a,href:l,rel:c,shape:d,target:u,routerAnimation:f,routerDirection:b,inheritedAriaAttributes:I}=this,x={},O=oe(this),g=this.isClickable(),y=this.canActivate(),S=g?l===void 0?"button":"a":"div",k=S==="button"?{type:this.type}:{download:i,href:l,rel:c,target:u},N=g?{onClick:D=>{vu(l,D,b,f)}}:{},v=t!==void 0?t:O==="ios"&&g;this.itemStyles.forEach(D=>{Object.assign(x,D)});const w=a||x["item-interactive-disabled"]?"true":null,P=o||"none",A=Di("ion-list",this.el);return T(ce,{"aria-disabled":w,class:Object.assign(Object.assign(Object.assign({},x),r),St(this.color,{item:!0,[O]:!0,"item-lines-default":s===void 0,[`item-lines-${s}`]:s!==void 0,[`item-fill-${P}`]:!0,[`item-shape-${d}`]:d!==void 0,"item-disabled":a,"in-list":A,"item-multiple-inputs":this.multipleInputs,"ion-activatable":y,"ion-focusable":this.focusable,"item-rtl":document.dir==="rtl"})),role:A?"listitem":null},T(S,Object.assign({},k,I,{class:"item-native",part:"native",disabled:a},N),T("slot",{name:"start"}),T("div",{class:"item-inner"},T("div",{class:"input-wrapper"},T("slot",null)),T("slot",{name:"end"}),v&&T("ion-icon",{icon:n,lazy:!1,class:"item-detail-icon",part:"detail-icon","aria-hidden":"true","flip-rtl":n===ul}),T("div",{class:"item-inner-highlight"})),y&&O==="md"&&T("ion-ripple-effect",null),T("div",{class:"item-highlight"})),T("div",{class:"item-bottom"},T("slot",{name:"error"}),T("slot",{name:"helper"}),e&&T("ion-note",{class:"item-counter"},e)))}static get delegatesFocus(){return!0}get el(){return this}static get watchers(){return{counterFormatter:["counterFormatterChanged"]}}static get style(){return{ios:d0,md:u0}}},[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,"ionChange","handleIonChange"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]]]);function Ms(){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,f0);break;case"ion-icon":customElements.get(t)||Co();break;case"ion-note":customElements.get(t)||Ps();break;case"ion-ripple-effect":customElements.get(t)||ti();break}})}/*!
48
+ */const S0=":host{--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;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}label{left:0;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}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}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}.checkbox-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:1px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--background:var(--ion-item-background, var(--ion-background-color, #fff));--size:26px;width:var(--size);height:var(--size)}:host(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.in-item[slot=start]){margin-left:2px;margin-right:20px;margin-top:8px;margin-bottom:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:20px;margin-inline-end:20px}}",C0=":host{--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;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}label{left:0;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}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}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}.checkbox-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--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:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.51);--checkmark-width:3;--background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px;width:var(--size);height:var(--size)}.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(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item[slot=start]){margin-left:4px;margin-right:36px;margin-top:18px;margin-bottom:18px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px}}",O0=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionChange=q(this,"ionChange",7),this.ionFocus=q(this,"ionFocus",7),this.ionBlur=q(this,"ionBlur",7),this.ionStyle=q(this,"ionStyle",7),this.inputId=`ion-cb-${A0++}`,this.name=this.inputId,this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.value="on",this.onClick=e=>{e.preventDefault(),this.setFocus(),this.checked=!this.checked,this.indeterminate=!1},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()}}componentWillLoad(){this.emitStyle()}checkedChanged(e){this.ionChange.emit({checked:e,value:this.value}),this.emitStyle()}disabledChanged(){this.emitStyle()}emitStyle(){this.ionStyle.emit({"checkbox-checked":this.checked,"interactive-disabled":this.disabled})}setFocus(){this.focusEl&&this.focusEl.focus()}render(){const{color:e,checked:t,disabled:n,el:o,indeterminate:i,inputId:r,name:s,value:a}=this,l=te(this),{label:c,labelId:d,labelText:u}=Bs(o,r);Hs(!0,o,s,t?a:"",n);let f=i?_("path",{d:"M6 12L18 12",part:"mark"}):_("path",{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return l==="md"&&(f=i?_("path",{d:"M2 12H22",part:"mark"}):_("path",{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})),_(se,{onClick:this.onClick,"aria-labelledby":c?d:null,"aria-checked":`${t}`,"aria-hidden":n?"true":null,role:"checkbox",class:it(e,{[l]:!0,"in-item":Zt("ion-item",o),"checkbox-checked":t,"checkbox-disabled":n,"checkbox-indeterminate":i,interactive:!0})},_("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},f),_("label",{htmlFor:r},u),_("input",{type:"checkbox","aria-checked":`${t}`,disabled:n,id:r,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:b=>this.focusEl=b}))}get el(){return this}static get watchers(){return{checked:["checkedChanged"],disabled:["disabledChanged"]}}static get style(){return{ios:S0,md:C0}}},[33,"ion-checkbox",{color:[513],name:[1],checked:[1028],indeterminate:[1028],disabled:[4],value:[8]}]);let A0=0;function $u(){if(typeof customElements>"u")return;["ion-checkbox"].forEach(t=>{switch(t){case"ion-checkbox":customElements.get(t)||customElements.define(t,O0);break}})}/*!
47
49
  * (C) Ionic http://ionicframework.com - MIT License
48
- */const h0=".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{white-space:normal}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{font-size:14px;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:14px}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate(0, 28px);transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:scale(0.82);transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:22px;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:17px;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}",m0='.item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{white-space:normal}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(-6px) scale(0.75);transform:translateY(-6px) scale(0.75);position:relative;max-width:-webkit-min-content;max-width:-moz-min-content;max-width:min-content;background-color:var(--ion-item-background, var(--ion-background-color, #fff));overflow:visible;z-index:3}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{position:absolute;width:4px;height:100%;background-color:var(--ion-item-background, var(--ion-background-color, #fff));content:""}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before{left:calc(-1 * 4px)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{right:calc(-1 * 4px)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.sc-ion-label-md-h{-webkit-transform:translateX(-32px) translateY(-6px) scale(0.75);transform:translateX(-32px) translateY(-6px) scale(0.75)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating.label-rtl,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75);transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.item-fill-solid.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-base)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:20px;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}',p0=me(class extends pe{constructor(){super(),this.__registerHost(),this.ionColor=J(this,"ionColor",7),this.ionStyle=J(this,"ionStyle",7),this.inRange=!1,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:e}=this;this.ionColor.emit({"item-label-color":e!==void 0,[`ion-color-${e}`]:e!==void 0})}emitStyle(){const{inRange:e,position:t}=this;e||this.ionStyle.emit({label:!0,[`label-${t}`]:t!==void 0})}render(){const e=this.position,t=oe(this);return T(ce,{class:St(this.color,{[t]:!0,"in-item-color":Di("ion-item.ion-color",this.el),[`label-${e}`]:e!==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:h0,md:m0}}},[34,"ion-label",{color:[513],position:[1],noAnimate:[32]}]);function Rs(){if(typeof customElements>"u")return;["ion-label"].forEach(t=>{switch(t){case"ion-label":customElements.get(t)||customElements.define(t,p0);break}})}/*!
50
+ */const Yo=typeof window<"u"?window:void 0;Yo&&(Yo.CSS&&Yo.CSS.supports&&Yo.CSS.supports("--a: 0"));/*!
49
51
  * (C) Ionic http://ionicframework.com - MIT License
50
- */const No={getEngine(){var e;const t=window;return t.TapticEngine||((e=t.Capacitor)===null||e===void 0?void 0:e.isPluginAvailable("Haptics"))&&t.Capacitor.Plugins.Haptics},available(){var e;const t=window;return this.getEngine()?((e=t.Capacitor)===null||e===void 0?void 0:e.getPlatform())==="web"?typeof navigator<"u"&&navigator.vibrate!==void 0:!0:!1},isCordova(){return!!window.TapticEngine},isCapacitor(){return!!window.Capacitor},impact(e){const t=this.getEngine();if(!t)return;const n=this.isCapacitor()?e.style.toUpperCase():e.style;t.impact({style:n})},notification(e){const t=this.getEngine();if(!t)return;const n=this.isCapacitor()?e.style.toUpperCase():e.style;t.notification({style:n})},selection(){this.impact({style:"light"})},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())}},Fs=()=>No.available(),g0=()=>{Fs()&&No.selectionStart()},b0=()=>{Fs()&&No.selectionChanged()},v0=()=>{Fs()&&No.selectionEnd()};/*!
52
+ */const D0=":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)}",N0=":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);font-size:14px}",$0=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){const e=te(this);return _(se,{class:it(this.color,{[e]:!0})},_("slot",null))}static get style(){return{ios:D0,md:N0}}},[33,"ion-note",{color:[513]}]);function Ws(){if(typeof customElements>"u")return;["ion-note"].forEach(t=>{switch(t){case"ion-note":customElements.get(t)||customElements.define(t,$0);break}})}/*!
51
53
  * (C) Ionic http://ionicframework.com - MIT License
52
- */const y0=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=>Ns(a,l)),a},w0=(e,t)=>{if(t){if(e){const n=t.parentElement;return e.removeViewFromDom(n,t)}t.remove()}return Promise.resolve()},k0=()=>{let e,t;return{attachViewToDom:async(o,r,s={},a=[])=>{var l,c;if(e=o,r){const u=typeof r=="string"?(l=e.ownerDocument)===null||l===void 0?void 0:l.createElement(r):r;a.forEach(f=>u.classList.add(f)),Object.assign(u,s),e.appendChild(u),await new Promise(f=>Ns(u,f))}else if(e.children.length>0&&!e.children[0].classList.contains("ion-delegate-host")){const f=(c=e.ownerDocument)===null||c===void 0?void 0:c.createElement("div");f.classList.add("ion-delegate-host"),a.forEach(b=>f.classList.add(b)),f.append(...e.children),e.appendChild(f)}const d=document.querySelector("ion-app")||document.body;return t=document.createComment("ionic teleport"),e.parentNode.insertBefore(t,e),d.appendChild(e),e},removeViewFromDom:()=>(e&&t&&(t.parentNode.insertBefore(e,t),t.remove()),Promise.resolve())}};/*!
54
+ */const L0=':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.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-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--inner-padding-end);padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-bottom{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--inner-padding-end);padding-inline-end:var(--inner-padding-end)}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-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){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:12px;z-index:1}.item-counter{margin-left:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-counter{margin-left:unset;-webkit-margin-start:auto;margin-inline-start:auto}}@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:20px;--inner-padding-end:10px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:#000;--background-focused:#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:17px}: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]){margin-left:0;margin-right:20px;margin-top:2px;margin-bottom:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:20px;margin-inline-end:20px}}::slotted([slot=end]){margin-left:10px;margin-right:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}::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:0px;--padding-bottom:0px;--padding-start:.5em;--padding-end:.5em;height:24px;font-size:13px}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:0px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0px;margin-inline-start:0px}}::slotted(ion-label){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0px}:host(.item-label-fixed) ::slotted(ion-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:0}',P0=':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.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-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--inner-padding-end);padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-bottom{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--inner-padding-end);padding-inline-end:var(--inner-padding-end)}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-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){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:12px;z-index:1}.item-counter{margin-left:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-counter{margin-left:unset;-webkit-margin-start:auto;margin-inline-start:auto}}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0 0 1px 0;--highlight-height:1px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:16px;font-weight:normal;text-transform:none}:host(.item-fill-outline){--highlight-height:2px}:host(.item-fill-none.item-interactive.ion-focus) .item-highlight,:host(.item-fill-none.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-none.item-interactive.ion-focus) .item-native,:host(.item-fill-none.item-interactive.item-has-focus) .item-native,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-highlight{border-width:var(--full-highlight-height);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-native{border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-highlight,:host(.item-fill-solid.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-native,:host(.item-fill-solid.item-interactive.item-has-focus) .item-native,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-has-focus) .item-native{caret-color:var(--highlight-background)}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-full){--border-width:0 0 1px 0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0;--show-inset-highlight:0}:host(.item-fill-outline) .item-highlight{--position-offset:calc(-1 * var(--border-width));left:var(--position-offset);top:var(--position-offset);width:calc(100% + 2 * var(--border-width));height:calc(100% + 2 * var(--border-width));-webkit-transition:none;transition:none}: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)}: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]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted([slot=end]){margin-left:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;-webkit-margin-start:32px;margin-inline-start:32px}}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:24px}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted(ion-icon[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;-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]){margin-right:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-fill-solid) ::slotted(ion-icon[slot=start]),:host(.item-fill-outline) ::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:11px}::slotted(ion-note[slot]:not([slot=helper]):not([slot=error])){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){padding-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=start]){padding-right:unset;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-note[slot=end]){padding-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=end]){padding-left:unset;-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]){margin-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:unset;-webkit-margin-end:16px;margin-inline-end:16px}}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;-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),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:8px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}::slotted(.button-small){--padding-top:0;--padding-bottom:0;--padding-start:.6em;--padding-end:.6em;height:25px;font-size:12px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-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}: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}@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{padding-left:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-fill-outline.item-shape-round) .item-bottom{padding-left:unset;-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}',M0=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.labelColorStyles={},this.itemStyles=new Map,this.inheritedAriaAttributes={},this.multipleInputs=!1,this.focusable=!0,this.button=!1,this.detailIcon=Tl,this.disabled=!1,this.counter=!1,this.routerDirection="forward",this.type="button"}counterFormatterChanged(){this.updateCounterOutput(this.getFirstInput())}handleIonChange(e){this.counter&&e.target===this.getFirstInput()&&this.updateCounterOutput(e.target)}labelColorChanged(e){const{color:t}=this;t===void 0&&(this.labelColorStyles=e.detail)}itemStyle(e){e.stopPropagation();const t=e.target.tagName,n=e.detail,o={},i=this.itemStyles.get(t)||{};let r=!1;Object.keys(n).forEach(s=>{if(n[s]){const a=`item-${s}`;i[a]||(r=!0),o[a]=!0}}),!r&&Object.keys(o).length!==Object.keys(i).length&&(r=!0),r&&(this.itemStyles.set(t,o),pi(this))}connectedCallback(){this.counter&&this.updateCounterOutput(this.getFirstInput()),this.hasStartEl()}componentDidUpdate(){const e=this.getFirstInput();e!==void 0&&!this.clickListener&&(this.clickListener=t=>this.delegateFocus(t,e),this.el.addEventListener("click",this.clickListener))}disconnectedCallback(){this.getFirstInput()!==void 0&&this.clickListener&&(this.el.removeEventListener("click",this.clickListener),this.clickListener=void 0)}componentWillLoad(){this.inheritedAriaAttributes=zs(this.el,["aria-label"])}componentDidLoad(){Le(()=>{this.setMultipleInputs(),this.focusable=this.isFocusable()})}setMultipleInputs(){const e=this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"),t=this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"),n=this.el.querySelectorAll("ion-anchor, ion-button, a, button");this.multipleInputs=e.length+t.length>1||e.length+n.length>1||e.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 e=this.el.querySelector(".ion-focusable");return this.canActivate()||e!==null}getFirstInput(){return this.el.querySelectorAll("ion-input, ion-textarea")[0]}delegateFocus(e,t){const n=e.target.tagName==="ION-ITEM";let o=!1;document.activeElement&&(o=t.querySelector("input, textarea")===document.activeElement),n&&(o||!this.multipleInputs)&&(t.fireFocusEvents=!1,t.setBlur(),t.setFocus(),Le(()=>{t.fireFocusEvents=!0}))}updateCounterOutput(e){var t,n;const{counter:o,counterFormatter:i,defaultCounterFormatter:r}=this;if(o&&!this.multipleInputs&&(e==null?void 0:e.maxlength)!==void 0){const s=(n=(t=e==null?void 0:e.value)===null||t===void 0?void 0:t.toString().length)!==null&&n!==void 0?n:0;if(i===void 0)this.counterString=r(s,e.maxlength);else try{this.counterString=i(s,e.maxlength)}catch(a){Wb("Exception in provided `counterFormatter`.",a),this.counterString=r(s,e.maxlength)}}}defaultCounterFormatter(e,t){return`${e} / ${t}`}hasStartEl(){this.el.querySelector('[slot="start"]')!==null&&this.el.classList.add("item-has-start-slot")}render(){const{counterString:e,detail:t,detailIcon:n,download:o,fill:i,labelColorStyles:r,lines:s,disabled:a,href:l,rel:c,shape:d,target:u,routerAnimation:f,routerDirection:b,inheritedAriaAttributes:T}=this,x={},C=te(this),p=this.isClickable(),y=this.canActivate(),S=p?l===void 0?"button":"a":"div",k=S==="button"?{type:this.type}:{download:o,href:l,rel:c,target:u},D=p?{onClick:N=>{js(l,N,b,f)}}:{},v=t!==void 0?t:C==="ios"&&p;this.itemStyles.forEach(N=>{Object.assign(x,N)});const w=a||x["item-interactive-disabled"]?"true":null,P=i||"none",A=Zt("ion-list",this.el);return _(se,{"aria-disabled":w,class:Object.assign(Object.assign(Object.assign({},x),r),it(this.color,{item:!0,[C]:!0,"item-lines-default":s===void 0,[`item-lines-${s}`]:s!==void 0,[`item-fill-${P}`]:!0,[`item-shape-${d}`]:d!==void 0,"item-disabled":a,"in-list":A,"item-multiple-inputs":this.multipleInputs,"ion-activatable":y,"ion-focusable":this.focusable,"item-rtl":document.dir==="rtl"})),role:A?"listitem":null},_(S,Object.assign({},k,T,{class:"item-native",part:"native",disabled:a},D),_("slot",{name:"start"}),_("div",{class:"item-inner"},_("div",{class:"input-wrapper"},_("slot",null)),_("slot",{name:"end"}),v&&_("ion-icon",{icon:n,lazy:!1,class:"item-detail-icon",part:"detail-icon","aria-hidden":"true","flip-rtl":n===Tl}),_("div",{class:"item-inner-highlight"})),y&&C==="md"&&_("ion-ripple-effect",null),_("div",{class:"item-highlight"})),_("div",{class:"item-bottom"},_("slot",{name:"error"}),_("slot",{name:"helper"}),e&&_("ion-note",{class:"item-counter"},e)))}static get delegatesFocus(){return!0}get el(){return this}static get watchers(){return{counterFormatter:["counterFormatterChanged"]}}static get style(){return{ios:L0,md:P0}}},[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,"ionChange","handleIonChange"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]]]);function Ys(){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,M0);break;case"ion-icon":customElements.get(t)||Ni();break;case"ion-note":customElements.get(t)||Ws();break;case"ion-ripple-effect":customElements.get(t)||$n();break}})}/*!
53
55
  * (C) Ionic http://ionicframework.com - MIT License
54
- */const x0=100;/*!
56
+ */const R0=".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{white-space:normal}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{font-size:14px;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:14px}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate(0, 28px);transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:scale(0.82);transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:22px;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:17px;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}",F0='.item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{white-space:normal}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(-6px) scale(0.75);transform:translateY(-6px) scale(0.75);position:relative;max-width:-webkit-min-content;max-width:-moz-min-content;max-width:min-content;background-color:var(--ion-item-background, var(--ion-background-color, #fff));overflow:visible;z-index:3}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{position:absolute;width:4px;height:100%;background-color:var(--ion-item-background, var(--ion-background-color, #fff));content:""}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before{left:calc(-1 * 4px)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{right:calc(-1 * 4px)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.sc-ion-label-md-h{-webkit-transform:translateX(-32px) translateY(-6px) scale(0.75);transform:translateX(-32px) translateY(-6px) scale(0.75)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating.label-rtl,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75);transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.item-fill-solid.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-base)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:20px;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}',V0=ce(class extends de{constructor(){super(),this.__registerHost(),this.ionColor=q(this,"ionColor",7),this.ionStyle=q(this,"ionStyle",7),this.inRange=!1,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:e}=this;this.ionColor.emit({"item-label-color":e!==void 0,[`ion-color-${e}`]:e!==void 0})}emitStyle(){const{inRange:e,position:t}=this;e||this.ionStyle.emit({label:!0,[`label-${t}`]:t!==void 0})}render(){const e=this.position,t=te(this);return _(se,{class:it(this.color,{[t]:!0,"in-item-color":Zt("ion-item.ion-color",this.el),[`label-${e}`]:e!==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:R0,md:F0}}},[34,"ion-label",{color:[513],position:[1],noAnimate:[32]}]);function Gs(){if(typeof customElements>"u")return;["ion-label"].forEach(t=>{switch(t){case"ion-label":customElements.get(t)||customElements.define(t,V0);break}})}/*!
55
57
  * (C) Ionic http://ionicframework.com - MIT License
56
- */let Fr=0;const Vr=new WeakMap,Vs=e=>({create(t){return I0(e,t)},dismiss(t,n,i){return A0(document,t,n,e,i)},async getTop(){return yi(document,e)}}),_0=Vs("ion-alert"),E0=Vs("ion-action-sheet"),T0=Vs("ion-popover"),Us=e=>{typeof document<"u"&&C0(document);const t=Fr++;e.overlayIndex=t,e.hasAttribute("id")||(e.id=`ion-overlay-${t}`)},I0=(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})),ku(document).appendChild(n),new Promise(i=>Ns(n,i))}):Promise.resolve(),vi='[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])',Ur=(e,t)=>{let n=e.querySelector(vi);const i=n==null?void 0:n.shadowRoot;i&&(n=i.querySelector(vi)||n),n?hu(n):t.focus()},S0=e=>e.classList.contains("overlay-hidden"),pl=(e,t)=>{const n=Array.from(e.querySelectorAll(vi));let i=n.length>0?n[n.length-1]:null;const o=i==null?void 0:i.shadowRoot;o&&(i=o.querySelector(vi)||i),i?i.focus():t.focus()},O0=(e,t)=>{const n=yi(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=An(n);if(!s.contains(i))return;const a=s.querySelector(".ion-overlay-wrapper");if(!a)return;if(a.contains(i))n.lastFocus=i;else{const l=n.lastFocus;Ur(a,n),l===t.activeElement&&pl(a,n),n.lastFocus=t.activeElement}}},r=()=>{if(n.contains(i))n.lastFocus=i;else{const s=n.lastFocus;Ur(n,n),s===t.activeElement&&pl(n,n),n.lastFocus=t.activeElement}};n.shadowRoot?r():o()},C0=e=>{Fr===0&&(Fr=1,e.addEventListener("focus",t=>{O0(t,e)},!0),e.addEventListener("ionBackButton",t=>{const n=yi(e);n!=null&&n.backdropDismiss&&t.detail.register(x0,()=>n.dismiss(void 0,Gn))}),e.addEventListener("keyup",t=>{if(t.key==="Escape"){const n=yi(e);n!=null&&n.backdropDismiss&&n.dismiss(void 0,Gn)}}))},A0=(e,t,n,i,o)=>{const r=yi(e,i,o);return r?r.dismiss(t,n):Promise.reject("overlay does not exist")},N0=(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)),yi=(e,t,n)=>{const i=N0(e,t).filter(o=>!S0(o));return n===void 0?i[i.length-1]:i.find(o=>o.id===n)},wu=(e=!1)=>{const n=ku(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");n&&(e?n.setAttribute("aria-hidden","true"):n.removeAttribute("aria-hidden"))},zs=async(e,t,n,i,o)=>{var r,s;if(e.presented)return;wu(!0),e.presented=!0,e.willPresent.emit(),(r=e.willPresentShorthand)===null||r===void 0||r.emit();const a=oe(e),l=e.enterAnimation?e.enterAnimation:ei.get(t,a==="ios"?n:i);await xu(e,l,e.el,o)&&(e.didPresent.emit(),(s=e.didPresentShorthand)===null||s===void 0||s.emit()),e.el.tagName!=="ION-TOAST"&&D0(e.el),e.keyboardClose&&(document.activeElement===null||!e.el.contains(document.activeElement))&&e.el.focus()},D0=async e=>{let t=document.activeElement;if(!t)return;const n=t==null?void 0:t.shadowRoot;n&&(t=n.querySelector(vi)||t),await e.onDidDismiss(),t.focus()},Bs=async(e,t,n,i,o,r,s)=>{var a,l;if(!e.presented)return!1;wu(!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=oe(e),d=e.leaveAnimation?e.leaveAnimation:ei.get(i,c==="ios"?o:r);n!==P0&&await xu(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}),Vr.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},ku=e=>e.querySelector("ion-app")||e.body,xu=async(e,t,n,i)=>{n.classList.remove("overlay-hidden");const o=e.el,r=t(o,i);(!e.animated||!ei.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=Vr.get(e)||[];return Vr.set(e,[...s,r]),await r.play(),!0},Yn=(e,t)=>{let n;const i=new Promise(o=>n=o);return L0(e,t,o=>{n(o.detail)}),i},L0=(e,t,n)=>{const i=o=>{uu(e,t,i),n(o)};Ds(e,t,i)},bo=e=>e==="cancel"||e===Gn,$0=e=>e(),mi=(e,t)=>{if(typeof e=="function")return ei.get("_zoneGate",$0)(()=>{try{return e(t)}catch(i){throw i}})},Gn="backdrop",P0="gesture";/*!
58
+ */const Li={getEngine(){var e;const t=window;return t.TapticEngine||((e=t.Capacitor)===null||e===void 0?void 0:e.isPluginAvailable("Haptics"))&&t.Capacitor.Plugins.Haptics},available(){var e;const t=window;return this.getEngine()?((e=t.Capacitor)===null||e===void 0?void 0:e.getPlatform())==="web"?typeof navigator<"u"&&navigator.vibrate!==void 0:!0:!1},isCordova(){return!!window.TapticEngine},isCapacitor(){return!!window.Capacitor},impact(e){const t=this.getEngine();if(!t)return;const n=this.isCapacitor()?e.style.toUpperCase():e.style;t.impact({style:n})},notification(e){const t=this.getEngine();if(!t)return;const n=this.isCapacitor()?e.style.toUpperCase():e.style;t.notification({style:n})},selection(){this.impact({style:"light"})},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())}},qs=()=>Li.available(),z0=()=>{qs()&&Li.selectionStart()},U0=()=>{qs()&&Li.selectionChanged()},B0=()=>{qs()&&Li.selectionEnd()};/*!
57
59
  * (C) Ionic http://ionicframework.com - MIT License
58
- */const M0="ionViewWillEnter",R0="ionViewDidEnter",F0="ionViewWillLeave",V0="ionViewDidLeave",_u=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=>$e(i));return}await Promise.all(Array.from(t.children).map(_u))}};/*!
60
+ */const H0=async(e,t,n,o,i,r)=>{var s;if(e)return e.attachViewToDom(t,n,i,o);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 o&&o.forEach(l=>a.classList.add(l)),i&&Object.assign(a,i),t.appendChild(a),await new Promise(l=>Vs(a,l)),a},j0=(e,t)=>{if(t){if(e){const n=t.parentElement;return e.removeViewFromDom(n,t)}t.remove()}return Promise.resolve()},W0=()=>{let e,t;return{attachViewToDom:async(i,r,s={},a=[])=>{var l,c;if(e=i,r){const u=typeof r=="string"?(l=e.ownerDocument)===null||l===void 0?void 0:l.createElement(r):r;a.forEach(f=>u.classList.add(f)),Object.assign(u,s),e.appendChild(u),await new Promise(f=>Vs(u,f))}else if(e.children.length>0&&!e.children[0].classList.contains("ion-delegate-host")){const f=(c=e.ownerDocument)===null||c===void 0?void 0:c.createElement("div");f.classList.add("ion-delegate-host"),a.forEach(b=>f.classList.add(b)),f.append(...e.children),e.appendChild(f)}const d=document.querySelector("ion-app")||document.body;return t=document.createComment("ionic teleport"),e.parentNode.insertBefore(t,e),d.appendChild(e),e},removeViewFromDom:()=>(e&&t&&(t.parentNode.insertBefore(e,t),t.remove()),Promise.resolve())}};/*!
61
+ * (C) Ionic http://ionicframework.com - MIT License
62
+ */const Y0=100;/*!
63
+ * (C) Ionic http://ionicframework.com - MIT License
64
+ */let Wr=0;const Yr=new WeakMap,Ks=e=>({create(t){return X0(e,t)},dismiss(t,n,o){return ev(document,t,n,e,o)},async getTop(){return xo(document,e)}}),G0=Ks("ion-alert"),q0=Ks("ion-action-sheet"),K0=Ks("ion-popover"),Xs=e=>{typeof document<"u"&&Q0(document);const t=Wr++;e.overlayIndex=t,e.hasAttribute("id")||(e.id=`ion-overlay-${t}`)},X0=(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})),Pu(document).appendChild(n),new Promise(o=>Vs(n,o))}):Promise.resolve(),ko='[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])',Gr=(e,t)=>{let n=e.querySelector(ko);const o=n==null?void 0:n.shadowRoot;o&&(n=o.querySelector(ko)||n),n?Cu(n):t.focus()},Z0=e=>e.classList.contains("overlay-hidden"),Ol=(e,t)=>{const n=Array.from(e.querySelectorAll(ko));let o=n.length>0?n[n.length-1]:null;const i=o==null?void 0:o.shadowRoot;i&&(o=i.querySelector(ko)||o),o?o.focus():t.focus()},J0=(e,t)=>{const n=xo(t,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),o=e.target;if(!n||!o||n.classList.contains("ion-disable-focus-trap"))return;const i=()=>{if(n===o)n.lastFocus=void 0;else{const s=Nn(n);if(!s.contains(o))return;const a=s.querySelector(".ion-overlay-wrapper");if(!a)return;if(a.contains(o))n.lastFocus=o;else{const l=n.lastFocus;Gr(a,n),l===t.activeElement&&Ol(a,n),n.lastFocus=t.activeElement}}},r=()=>{if(n.contains(o))n.lastFocus=o;else{const s=n.lastFocus;Gr(n,n),s===t.activeElement&&Ol(n,n),n.lastFocus=t.activeElement}};n.shadowRoot?r():i()},Q0=e=>{Wr===0&&(Wr=1,e.addEventListener("focus",t=>{J0(t,e)},!0),e.addEventListener("ionBackButton",t=>{const n=xo(e);n!=null&&n.backdropDismiss&&t.detail.register(Y0,()=>n.dismiss(void 0,Xn))}),e.addEventListener("keyup",t=>{if(t.key==="Escape"){const n=xo(e);n!=null&&n.backdropDismiss&&n.dismiss(void 0,Xn)}}))},ev=(e,t,n,o,i)=>{const r=xo(e,o,i);return r?r.dismiss(t,n):Promise.reject("overlay does not exist")},tv=(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)),xo=(e,t,n)=>{const o=tv(e,t).filter(i=>!Z0(i));return n===void 0?o[o.length-1]:o.find(i=>i.id===n)},Lu=(e=!1)=>{const n=Pu(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");n&&(e?n.setAttribute("aria-hidden","true"):n.removeAttribute("aria-hidden"))},Zs=async(e,t,n,o,i)=>{var r,s;if(e.presented)return;Lu(!0),e.presented=!0,e.willPresent.emit(),(r=e.willPresentShorthand)===null||r===void 0||r.emit();const a=te(e),l=e.enterAnimation?e.enterAnimation:oo.get(t,a==="ios"?n:o);await Mu(e,l,e.el,i)&&(e.didPresent.emit(),(s=e.didPresentShorthand)===null||s===void 0||s.emit()),e.el.tagName!=="ION-TOAST"&&nv(e.el),e.keyboardClose&&(document.activeElement===null||!e.el.contains(document.activeElement))&&e.el.focus()},nv=async e=>{let t=document.activeElement;if(!t)return;const n=t==null?void 0:t.shadowRoot;n&&(t=n.querySelector(ko)||t),await e.onDidDismiss(),t.focus()},Js=async(e,t,n,o,i,r,s)=>{var a,l;if(!e.presented)return!1;Lu(!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=te(e),d=e.leaveAnimation?e.leaveAnimation:oo.get(o,c==="ios"?i:r);n!==rv&&await Mu(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}),Yr.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},Pu=e=>e.querySelector("ion-app")||e.body,Mu=async(e,t,n,o)=>{n.classList.remove("overlay-hidden");const i=e.el,r=t(i,o);(!e.animated||!oo.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=Yr.get(e)||[];return Yr.set(e,[...s,r]),await r.play(),!0},Kn=(e,t)=>{let n;const o=new Promise(i=>n=i);return ov(e,t,i=>{n(i.detail)}),o},ov=(e,t,n)=>{const o=i=>{Tu(e,t,o),n(i)};Us(e,t,o)},yi=e=>e==="cancel"||e===Xn,iv=e=>e(),bo=(e,t)=>{if(typeof e=="function")return oo.get("_zoneGate",iv)(()=>{try{return e(t)}catch(o){throw o}})},Xn="backdrop",rv="gesture";/*!
65
+ * (C) Ionic http://ionicframework.com - MIT License
66
+ */const sv="ionViewWillEnter",av="ionViewDidEnter",lv="ionViewWillLeave",cv="ionViewDidLeave",Ru=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(o=>Le(o));return}await Promise.all(Array.from(t.children).map(Ru))}};/*!
59
67
  * (C) Ionic http://ionicframework.com - MIT License
60
68
  */const He=typeof window<"u"?window:void 0;/*!
61
69
  * (C) Ionic http://ionicframework.com - MIT License
62
- */let er;const U0=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=z0(n);o!==n&&(t[o]=i,delete t[n])}}}),e),z0=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Hs=e=>{if(er===void 0){const t=e.style.animationName!==void 0,n=e.style.webkitAnimationName!==void 0;er=!t&&n?"-webkit-":""}return er},le=(e,t,n)=>{const i=t.startsWith("animation")?Hs(e):"";e.style.setProperty(i+t,n)},ut=(e,t)=>{const n=t.startsWith("animation")?Hs(e):"";e.style.removeProperty(n+t)},B0=(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},H0=(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(" "),gl=[],W0=e=>{let t=gl.indexOf(e);return t<0&&(t=gl.push(e)-1),`ion-animation-${t}`},j0=e=>{const t=e.getRootNode!==void 0?e.getRootNode():e;return t.head||t},Y0=(e,t,n)=>{var i;const o=j0(n),r=Hs(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},ji=(e=[],t)=>{if(t!==void 0){const n=Array.isArray(t)?t:[t];return[...e,...n]}return e},G=e=>{let t,n,i,o,r,s,a=[],l=[],c=[],d=!1,u,f={},b=[],I=[],x={},O=0,g=!1,y=!1,S,k,N,v,w=!0,P=!1,A=!0,D,$,z=!1;const ne=e,ye=[],ze=[],q=[],K=[],ot=[],Ne=[],qe=[],rt=[],yt=[],_e=[],Ke=typeof AnimationEffect=="function"||He!==void 0&&typeof He.AnimationEffect=="function",Ee=typeof Element=="function"&&typeof Element.prototype.animate=="function"&&Ke,Bt=100,Ht=()=>_e,Ct=_=>(K.forEach(M=>{M.destroy(_)}),At(_),q.length=0,K.length=0,a.length=0,p(),d=!1,A=!0,$),At=_=>{h(),_&&E()},wt=()=>{g=!1,y=!1,A=!0,k=void 0,N=void 0,v=void 0,O=0,P=!1,w=!0,z=!1},Nt=()=>O!==0&&!z,kt=(_,M)=>((M!=null&&M.oneTimeCallback?ze:ye).push({c:_,o:M}),$),p=()=>(ye.length=0,ze.length=0,$),h=()=>{if(Ee)_e.forEach(_=>{_.cancel()}),_e.length=0;else{const _=q.slice();$e(()=>{_.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")})})}},E=()=>{ot.forEach(_=>{_!=null&&_.parentNode&&_.parentNode.removeChild(_)}),ot.length=0},V=_=>(Ne.push(_),$),H=_=>(qe.push(_),$),Q=_=>(rt.push(_),$),Xe=_=>(yt.push(_),$),st=_=>(l=ji(l,_),$),Uo=_=>(c=ji(c,_),$),zo=(_={})=>(f=_,$),de=(_=[])=>{for(const M of _)f[M]="";return $},C=_=>(b=ji(b,_),$),L=_=>(I=ji(I,_),$),De=(_={})=>(x=_,$),Se=(_=[])=>{for(const M of _)x[M]="";return $},Dt=()=>r!==void 0?r:u?u.getFill():"both",at=()=>k!==void 0?k:s!==void 0?s:u?u.getDirection():"normal",lt=()=>g?"linear":i!==void 0?i:u?u.getEasing():"linear",we=()=>y?0:N!==void 0?N:n!==void 0?n:u?u.getDuration():0,xt=()=>o!==void 0?o:u?u.getIterations():1,Lt=()=>v!==void 0?v:t!==void 0?t:u?u.getDelay():0,uh=()=>a,fh=_=>(s=_,Ze(!0),$),hh=_=>(r=_,Ze(!0),$),mh=_=>(t=_,Ze(!0),$),ph=_=>(i=_,Ze(!0),$),gh=_=>(!Ee&&_===0&&(_=1),n=_,Ze(!0),$),bh=_=>(o=_,Ze(!0),$),vh=_=>(u=_,$),yh=_=>{if(_!=null)if(_.nodeType===1)q.push(_);else if(_.length>=0)for(let M=0;M<_.length;M++)q.push(_[M]);else console.error("Invalid addElement value");return $},wh=_=>{if(_!=null)if(Array.isArray(_))for(const M of _)M.parent($),K.push(M);else _.parent($),K.push(_);return $},kh=_=>{const M=a!==_;return a=_,M&&xh(a),$},xh=_=>{Ee?Ht().forEach(M=>{if(M.effect.setKeyframes)M.effect.setKeyframes(_);else{const U=new KeyframeEffect(M.effect.target,_,M.effect.getTiming());M.effect=U}}):ga()},_h=()=>{Ne.forEach(ke=>ke()),qe.forEach(ke=>ke());const _=l,M=c,U=f;q.forEach(ke=>{const Oe=ke.classList;_.forEach(Je=>Oe.add(Je)),M.forEach(Je=>Oe.remove(Je));for(const Je in U)U.hasOwnProperty(Je)&&le(ke,Je,U[Je])})},Eh=()=>{Bo(),rt.forEach(Oe=>Oe()),yt.forEach(Oe=>Oe());const _=w?1:0,M=b,U=I,ke=x;q.forEach(Oe=>{const Je=Oe.classList;M.forEach(rn=>Je.add(rn)),U.forEach(rn=>Je.remove(rn));for(const rn in ke)ke.hasOwnProperty(rn)&&le(Oe,rn,ke[rn])}),ye.forEach(Oe=>Oe.c(_,$)),ze.forEach(Oe=>Oe.c(_,$)),ze.length=0,A=!0,w&&(P=!0),w=!0},Nn=()=>{O!==0&&(O--,O===0&&(Eh(),u&&u.animationFinish()))},ga=(_=!0)=>{E();const M=U0(a);q.forEach(U=>{if(M.length>0){const ke=H0(M);D=e!==void 0?e:W0(ke);const Oe=Y0(D,ke,U);ot.push(Oe),le(U,"animation-duration",`${we()}ms`),le(U,"animation-timing-function",lt()),le(U,"animation-delay",`${Lt()}ms`),le(U,"animation-fill-mode",Dt()),le(U,"animation-direction",at());const Je=xt()===1/0?"infinite":xt().toString();le(U,"animation-iteration-count",Je),le(U,"animation-play-state","paused"),_&&le(U,"animation-name",`${Oe.id}-alt`),$e(()=>{le(U,"animation-name",Oe.id||null)})}})},Th=()=>{q.forEach(_=>{const M=_.animate(a,{id:ne,delay:Lt(),duration:we(),easing:lt(),iterations:xt(),fill:Dt(),direction:at()});M.pause(),_e.push(M)}),_e.length>0&&(_e[0].onfinish=()=>{Nn()})},ba=(_=!0)=>{_h(),a.length>0&&(Ee?Th():ga(_)),d=!0},oi=_=>{if(_=Math.min(Math.max(_,0),.9999),Ee)_e.forEach(M=>{M.currentTime=M.effect.getComputedTiming().delay+we()*_,M.pause()});else{const M=`-${we()*_}ms`;q.forEach(U=>{a.length>0&&(le(U,"animation-delay",M),le(U,"animation-play-state","paused"))})}},va=_=>{_e.forEach(M=>{M.effect.updateTiming({delay:Lt(),duration:we(),easing:lt(),iterations:xt(),fill:Dt(),direction:at()})}),_!==void 0&&oi(_)},ya=(_=!0,M)=>{$e(()=>{q.forEach(U=>{le(U,"animation-name",D||null),le(U,"animation-duration",`${we()}ms`),le(U,"animation-timing-function",lt()),le(U,"animation-delay",M!==void 0?`-${M*we()}ms`:`${Lt()}ms`),le(U,"animation-fill-mode",Dt()||null),le(U,"animation-direction",at()||null);const ke=xt()===1/0?"infinite":xt().toString();le(U,"animation-iteration-count",ke),_&&le(U,"animation-name",`${D}-alt`),$e(()=>{le(U,"animation-name",D||null)})})})},Ze=(_=!1,M=!0,U)=>(_&&K.forEach(ke=>{ke.update(_,M,U)}),Ee?va(U):ya(M,U),$),Ih=(_=!1,M)=>(K.forEach(U=>{U.progressStart(_,M)}),wa(),g=_,d||ba(),Ze(!1,!0,M),$),Sh=_=>(K.forEach(M=>{M.progressStep(_)}),oi(_),$),Oh=(_,M,U)=>(g=!1,K.forEach(ke=>{ke.progressEnd(_,M,U)}),U!==void 0&&(N=U),P=!1,w=!0,_===0?(k=at()==="reverse"?"normal":"reverse",k==="reverse"&&(w=!1),Ee?(Ze(),oi(1-M)):(v=(1-M)*we()*-1,Ze(!1,!1))):_===1&&(Ee?(Ze(),oi(M)):(v=M*we()*-1,Ze(!1,!1))),_!==void 0&&(kt(()=>{N=void 0,k=void 0,v=void 0},{oneTimeCallback:!0}),u||ka()),$),wa=()=>{d&&(Ee?_e.forEach(_=>{_.pause()}):q.forEach(_=>{le(_,"animation-play-state","paused")}),z=!0)},Ch=()=>(K.forEach(_=>{_.pause()}),wa(),$),Ah=()=>{S=void 0,Nn()},Bo=()=>{S&&clearTimeout(S)},Nh=()=>{if(Bo(),$e(()=>{q.forEach(_=>{a.length>0&&le(_,"animation-play-state","running")})}),a.length===0||q.length===0)Nn();else{const _=Lt()||0,M=we()||0,U=xt()||1;isFinite(U)&&(S=setTimeout(Ah,_+M*U+Bt)),B0(q[0],()=>{Bo(),$e(()=>{Dh(),$e(Nn)})})}},Dh=()=>{q.forEach(_=>{ut(_,"animation-duration"),ut(_,"animation-delay"),ut(_,"animation-play-state")})},Lh=()=>{_e.forEach(_=>{_.play()}),(a.length===0||q.length===0)&&Nn()},$h=()=>{Ee?(oi(0),va()):ya()},ka=_=>new Promise(M=>{_!=null&&_.sync&&(y=!0,kt(()=>y=!1,{oneTimeCallback:!0})),d||ba(),P&&($h(),P=!1),A&&(O=K.length+1,A=!1),kt(()=>M(),{oneTimeCallback:!0}),K.forEach(U=>{U.play()}),Ee?Lh():Nh(),z=!1}),Ph=()=>{K.forEach(_=>{_.stop()}),d&&(h(),d=!1),wt()},xa=(_,M)=>{const U=a[0];return U!==void 0&&(U.offset===void 0||U.offset===0)?U[_]=M:a=[{offset:0,[_]:M},...a],$};return $={parentAnimation:u,elements:q,childAnimations:K,id:ne,animationFinish:Nn,from:xa,to:(_,M)=>{const U=a[a.length-1];return U!==void 0&&(U.offset===void 0||U.offset===1)?U[_]=M:a=[...a,{offset:1,[_]:M}],$},fromTo:(_,M,U)=>xa(_,M).to(_,U),parent:vh,play:ka,pause:Ch,stop:Ph,destroy:Ct,keyframes:kh,addAnimation:wh,addElement:yh,update:Ze,fill:hh,direction:fh,iterations:bh,duration:gh,easing:ph,delay:mh,getWebAnimations:Ht,getKeyframes:uh,getFill:Dt,getDirection:at,getDelay:Lt,getIterations:xt,getEasing:lt,getDuration:we,afterAddRead:Q,afterAddWrite:Xe,afterClearStyles:Se,afterStyles:De,afterRemoveClass:L,afterAddClass:C,beforeAddRead:V,beforeAddWrite:H,beforeClearStyles:de,beforeStyles:zo,beforeRemoveClass:Uo,beforeAddClass:st,onFinish:kt,isRunning:Nt,progressStart:Ih,progressStep:Sh,progressEnd:Oh}};/*!
70
+ */let or;const dv=e=>(e.forEach(t=>{for(const n in t)if(t.hasOwnProperty(n)){const o=t[n];if(n==="easing"){const i="animation-timing-function";t[i]=o,delete t[n]}else{const i=uv(n);i!==n&&(t[i]=o,delete t[n])}}}),e),uv=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Qs=e=>{if(or===void 0){const t=e.style.animationName!==void 0,n=e.style.webkitAnimationName!==void 0;or=!t&&n?"-webkit-":""}return or},ue=(e,t,n)=>{const o=t.startsWith("animation")?Qs(e):"";e.style.setProperty(o+t,n)},ft=(e,t)=>{const n=t.startsWith("animation")?Qs(e):"";e.style.removeProperty(n+t)},fv=(e,t)=>{let n;const o={passive:!0},i=()=>{n&&n()},r=s=>{e===s.target&&(i(),t(s))};return e&&(e.addEventListener("webkitAnimationEnd",r,o),e.addEventListener("animationend",r,o),n=()=>{e.removeEventListener("webkitAnimationEnd",r,o),e.removeEventListener("animationend",r,o)}),i},hv=(e=[])=>e.map(t=>{const n=t.offset,o=[];for(const i in t)t.hasOwnProperty(i)&&i!=="offset"&&o.push(`${i}: ${t[i]};`);return`${n*100}% { ${o.join(" ")} }`}).join(" "),Al=[],mv=e=>{let t=Al.indexOf(e);return t<0&&(t=Al.push(e)-1),`ion-animation-${t}`},pv=e=>{const t=e.getRootNode!==void 0?e.getRootNode():e;return t.head||t},gv=(e,t,n)=>{var o;const i=pv(n),r=Qs(n),s=i.querySelector("#"+e);if(s)return s;const a=((o=n.ownerDocument)!==null&&o!==void 0?o:document).createElement("style");return a.id=e,a.textContent=`@${r}keyframes ${e} { ${t} } @${r}keyframes ${e}-alt { ${t} }`,i.appendChild(a),a},Go=(e=[],t)=>{if(t!==void 0){const n=Array.isArray(t)?t:[t];return[...e,...n]}return e},G=e=>{let t,n,o,i,r,s,a=[],l=[],c=[],d=!1,u,f={},b=[],T=[],x={},C=0,p=!1,y=!1,S,k,D,v,w=!0,P=!1,A=!0,N,L,U=!1;const oe=e,ye=[],Ue=[],K=[],X=[],rt=[],De=[],qe=[],st=[],wt=[],_e=[],Ke=typeof AnimationEffect=="function"||He!==void 0&&typeof He.AnimationEffect=="function",Ee=typeof Element=="function"&&typeof Element.prototype.animate=="function"&&Ke,Ht=100,jt=()=>_e,Dt=E=>(X.forEach(M=>{M.destroy(E)}),Nt(E),K.length=0,X.length=0,a.length=0,g(),d=!1,A=!0,L),Nt=E=>{m(),E&&I()},kt=()=>{p=!1,y=!1,A=!0,k=void 0,D=void 0,v=void 0,C=0,P=!1,w=!0,U=!1},$t=()=>C!==0&&!U,xt=(E,M)=>((M!=null&&M.oneTimeCallback?Ue:ye).push({c:E,o:M}),L),g=()=>(ye.length=0,Ue.length=0,L),m=()=>{if(Ee)_e.forEach(E=>{E.cancel()}),_e.length=0;else{const E=K.slice();Le(()=>{E.forEach(M=>{ft(M,"animation-name"),ft(M,"animation-duration"),ft(M,"animation-timing-function"),ft(M,"animation-iteration-count"),ft(M,"animation-delay"),ft(M,"animation-play-state"),ft(M,"animation-fill-mode"),ft(M,"animation-direction")})})}},I=()=>{rt.forEach(E=>{E!=null&&E.parentNode&&E.parentNode.removeChild(E)}),rt.length=0},V=E=>(De.push(E),L),H=E=>(qe.push(E),L),Q=E=>(st.push(E),L),Xe=E=>(wt.push(E),L),at=E=>(l=Go(l,E),L),Hi=E=>(c=Go(c,E),L),ji=(E={})=>(f=E,L),fe=(E=[])=>{for(const M of E)f[M]="";return L},O=E=>(b=Go(b,E),L),$=E=>(T=Go(T,E),L),Ne=(E={})=>(x=E,L),Se=(E=[])=>{for(const M of E)x[M]="";return L},Lt=()=>r!==void 0?r:u?u.getFill():"both",lt=()=>k!==void 0?k:s!==void 0?s:u?u.getDirection():"normal",ct=()=>p?"linear":o!==void 0?o:u?u.getEasing():"linear",we=()=>y?0:D!==void 0?D:n!==void 0?n:u?u.getDuration():0,_t=()=>i!==void 0?i:u?u.getIterations():1,Pt=()=>v!==void 0?v:t!==void 0?t:u?u.getDelay():0,Ih=()=>a,Sh=E=>(s=E,Ze(!0),L),Ch=E=>(r=E,Ze(!0),L),Oh=E=>(t=E,Ze(!0),L),Ah=E=>(o=E,Ze(!0),L),Dh=E=>(!Ee&&E===0&&(E=1),n=E,Ze(!0),L),Nh=E=>(i=E,Ze(!0),L),$h=E=>(u=E,L),Lh=E=>{if(E!=null)if(E.nodeType===1)K.push(E);else if(E.length>=0)for(let M=0;M<E.length;M++)K.push(E[M]);else console.error("Invalid addElement value");return L},Ph=E=>{if(E!=null)if(Array.isArray(E))for(const M of E)M.parent(L),X.push(M);else E.parent(L),X.push(E);return L},Mh=E=>{const M=a!==E;return a=E,M&&Rh(a),L},Rh=E=>{Ee?jt().forEach(M=>{if(M.effect.setKeyframes)M.effect.setKeyframes(E);else{const z=new KeyframeEffect(M.effect.target,E,M.effect.getTiming());M.effect=z}}):Aa()},Fh=()=>{De.forEach(ke=>ke()),qe.forEach(ke=>ke());const E=l,M=c,z=f;K.forEach(ke=>{const Ce=ke.classList;E.forEach(Je=>Ce.add(Je)),M.forEach(Je=>Ce.remove(Je));for(const Je in z)z.hasOwnProperty(Je)&&ue(ke,Je,z[Je])})},Vh=()=>{Wi(),st.forEach(Ce=>Ce()),wt.forEach(Ce=>Ce());const E=w?1:0,M=b,z=T,ke=x;K.forEach(Ce=>{const Je=Ce.classList;M.forEach(sn=>Je.add(sn)),z.forEach(sn=>Je.remove(sn));for(const sn in ke)ke.hasOwnProperty(sn)&&ue(Ce,sn,ke[sn])}),ye.forEach(Ce=>Ce.c(E,L)),Ue.forEach(Ce=>Ce.c(E,L)),Ue.length=0,A=!0,w&&(P=!0),w=!0},Ln=()=>{C!==0&&(C--,C===0&&(Vh(),u&&u.animationFinish()))},Aa=(E=!0)=>{I();const M=dv(a);K.forEach(z=>{if(M.length>0){const ke=hv(M);N=e!==void 0?e:mv(ke);const Ce=gv(N,ke,z);rt.push(Ce),ue(z,"animation-duration",`${we()}ms`),ue(z,"animation-timing-function",ct()),ue(z,"animation-delay",`${Pt()}ms`),ue(z,"animation-fill-mode",Lt()),ue(z,"animation-direction",lt());const Je=_t()===1/0?"infinite":_t().toString();ue(z,"animation-iteration-count",Je),ue(z,"animation-play-state","paused"),E&&ue(z,"animation-name",`${Ce.id}-alt`),Le(()=>{ue(z,"animation-name",Ce.id||null)})}})},zh=()=>{K.forEach(E=>{const M=E.animate(a,{id:oe,delay:Pt(),duration:we(),easing:ct(),iterations:_t(),fill:Lt(),direction:lt()});M.pause(),_e.push(M)}),_e.length>0&&(_e[0].onfinish=()=>{Ln()})},Da=(E=!0)=>{Fh(),a.length>0&&(Ee?zh():Aa(E)),d=!0},so=E=>{if(E=Math.min(Math.max(E,0),.9999),Ee)_e.forEach(M=>{M.currentTime=M.effect.getComputedTiming().delay+we()*E,M.pause()});else{const M=`-${we()*E}ms`;K.forEach(z=>{a.length>0&&(ue(z,"animation-delay",M),ue(z,"animation-play-state","paused"))})}},Na=E=>{_e.forEach(M=>{M.effect.updateTiming({delay:Pt(),duration:we(),easing:ct(),iterations:_t(),fill:Lt(),direction:lt()})}),E!==void 0&&so(E)},$a=(E=!0,M)=>{Le(()=>{K.forEach(z=>{ue(z,"animation-name",N||null),ue(z,"animation-duration",`${we()}ms`),ue(z,"animation-timing-function",ct()),ue(z,"animation-delay",M!==void 0?`-${M*we()}ms`:`${Pt()}ms`),ue(z,"animation-fill-mode",Lt()||null),ue(z,"animation-direction",lt()||null);const ke=_t()===1/0?"infinite":_t().toString();ue(z,"animation-iteration-count",ke),E&&ue(z,"animation-name",`${N}-alt`),Le(()=>{ue(z,"animation-name",N||null)})})})},Ze=(E=!1,M=!0,z)=>(E&&X.forEach(ke=>{ke.update(E,M,z)}),Ee?Na(z):$a(M,z),L),Uh=(E=!1,M)=>(X.forEach(z=>{z.progressStart(E,M)}),La(),p=E,d||Da(),Ze(!1,!0,M),L),Bh=E=>(X.forEach(M=>{M.progressStep(E)}),so(E),L),Hh=(E,M,z)=>(p=!1,X.forEach(ke=>{ke.progressEnd(E,M,z)}),z!==void 0&&(D=z),P=!1,w=!0,E===0?(k=lt()==="reverse"?"normal":"reverse",k==="reverse"&&(w=!1),Ee?(Ze(),so(1-M)):(v=(1-M)*we()*-1,Ze(!1,!1))):E===1&&(Ee?(Ze(),so(M)):(v=M*we()*-1,Ze(!1,!1))),E!==void 0&&(xt(()=>{D=void 0,k=void 0,v=void 0},{oneTimeCallback:!0}),u||Pa()),L),La=()=>{d&&(Ee?_e.forEach(E=>{E.pause()}):K.forEach(E=>{ue(E,"animation-play-state","paused")}),U=!0)},jh=()=>(X.forEach(E=>{E.pause()}),La(),L),Wh=()=>{S=void 0,Ln()},Wi=()=>{S&&clearTimeout(S)},Yh=()=>{if(Wi(),Le(()=>{K.forEach(E=>{a.length>0&&ue(E,"animation-play-state","running")})}),a.length===0||K.length===0)Ln();else{const E=Pt()||0,M=we()||0,z=_t()||1;isFinite(z)&&(S=setTimeout(Wh,E+M*z+Ht)),fv(K[0],()=>{Wi(),Le(()=>{Gh(),Le(Ln)})})}},Gh=()=>{K.forEach(E=>{ft(E,"animation-duration"),ft(E,"animation-delay"),ft(E,"animation-play-state")})},qh=()=>{_e.forEach(E=>{E.play()}),(a.length===0||K.length===0)&&Ln()},Kh=()=>{Ee?(so(0),Na()):$a()},Pa=E=>new Promise(M=>{E!=null&&E.sync&&(y=!0,xt(()=>y=!1,{oneTimeCallback:!0})),d||Da(),P&&(Kh(),P=!1),A&&(C=X.length+1,A=!1),xt(()=>M(),{oneTimeCallback:!0}),X.forEach(z=>{z.play()}),Ee?qh():Yh(),U=!1}),Xh=()=>{X.forEach(E=>{E.stop()}),d&&(m(),d=!1),kt()},Ma=(E,M)=>{const z=a[0];return z!==void 0&&(z.offset===void 0||z.offset===0)?z[E]=M:a=[{offset:0,[E]:M},...a],L};return L={parentAnimation:u,elements:K,childAnimations:X,id:oe,animationFinish:Ln,from:Ma,to:(E,M)=>{const z=a[a.length-1];return z!==void 0&&(z.offset===void 0||z.offset===1)?z[E]=M:a=[...a,{offset:1,[E]:M}],L},fromTo:(E,M,z)=>Ma(E,M).to(E,z),parent:$h,play:Pa,pause:jh,stop:Xh,destroy:Dt,keyframes:Mh,addAnimation:Ph,addElement:Lh,update:Ze,fill:Ch,direction:Sh,iterations:Nh,duration:Dh,easing:Ah,delay:Oh,getWebAnimations:jt,getKeyframes:Ih,getFill:Lt,getDirection:lt,getDelay:Pt,getIterations:_t,getEasing:ct,getDuration:we,afterAddRead:Q,afterAddWrite:Xe,afterClearStyles:Se,afterStyles:Ne,afterRemoveClass:$,afterAddClass:O,beforeAddRead:V,beforeAddWrite:H,beforeClearStyles:fe,beforeStyles:ji,beforeRemoveClass:Hi,beforeAddClass:at,onFinish:xt,isRunning:$t,progressStart:Uh,progressStep:Bh,progressEnd:Hh}};/*!
63
71
  * (C) Ionic http://ionicframework.com - MIT License
64
- */const G0=e=>{if(!e)return{arrowWidth:0,arrowHeight:0};const{width:t,height:n}=e.getBoundingClientRect();return{arrowWidth:t,arrowHeight:n}},Eu=(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}},q0=(e,t,n,i)=>{let o=[];const s=An(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))}},K0=(e,t,n)=>{let i=[];switch(t){case"hover":let o;i=[{eventName:"mouseenter",callback:async r=>{r.stopPropagation(),o&&clearTimeout(o),o=setTimeout(()=>{$e(()=>{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")}},Tu=(e,t)=>!t||t.tagName!=="ION-ITEM"?-1:e.findIndex(n=>n===t),X0=(e,t)=>{const n=Tu(e,t);return e[n+1]},Z0=(e,t)=>{const n=Tu(e,t);return e[n-1]},Yi=e=>{const n=An(e).querySelector("button");n&&$e(()=>n.focus())},J0=e=>e.hasAttribute("data-ion-popover-trigger"),Q0=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=X0(r,o);l!==void 0&&Yi(l);break;case"ArrowUp":n.preventDefault();const c=Z0(r,o);c!==void 0&&Yi(c);break;case"Home":n.preventDefault();const d=r[0];d!==void 0&&Yi(d);break;case"End":n.preventDefault();const u=r[r.length-1];u!==void 0&&Yi(u);break;case"ArrowRight":case" ":case"Enter":if(o&&J0(o)){const f=new CustomEvent("ionPopoverActivateTrigger");o.dispatchEvent(f)}break}}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)},Iu=(e,t,n,i,o,r,s,a,l,c,d)=>{var u;let f={top:0,left:0,width:0,height:0};switch(r){case"event":if(!d)return l;const N=d;f={top:N.clientY,left:N.clientX,width:1,height:1};break;case"trigger":default:const v=d,w=c||((u=v==null?void 0:v.detail)===null||u===void 0?void 0:u.ionShadowTarget)||(v==null?void 0:v.target);if(!w)return l;const P=w.getBoundingClientRect();f={top:P.top,left:P.left,width:P.width,height:P.height};break}const b=nv(s,f,t,n,i,o,e),I=iv(a,s,f,t,n),x=b.top+I.top,O=b.left+I.left,{arrowTop:g,arrowLeft:y}=tv(s,i,o,x,O,t,n,e),{originX:S,originY:k}=ev(s,a,e);return{top:x,left:O,referenceCoordinates:f,arrowTop:g,arrowLeft:y,originX:S,originY:k}},ev=(e,t,n)=>{switch(e){case"top":return{originX:bl(t),originY:"bottom"};case"bottom":return{originX:bl(t),originY:"top"};case"left":return{originX:"right",originY:Gi(t)};case"right":return{originX:"left",originY:Gi(t)};case"start":return{originX:n?"left":"right",originY:Gi(t)};case"end":return{originX:n?"right":"left",originY:Gi(t)}}},bl=e=>{switch(e){case"start":return"left";case"center":return"center";case"end":return"right"}},Gi=e=>{switch(e){case"start":return"top";case"center":return"center";case"end":return"bottom"}},tv=(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}}},nv=(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}},iv=(e,t,n,i,o)=>{switch(e){case"center":return rv(t,n,i,o);case"end":return ov(t,n,i,o);case"start":default:return{top:0,left:0}}},ov=(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)}}},rv=(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)}}},Su=(e,t,n,i,o,r,s,a,l,c,d,u,f=0,b=0,I=0)=>{let x=f;const O=b;let g=n,y=t,S,k=c,N=d,v=!1,w=!1;const P=u?u.top+u.height:r/2-a/2,A=u?u.height:0;let D=!1;return g<i+l?(g=i,v=!0,k="left"):s+i+g+l>o&&(w=!0,g=o-s-i,k="right"),P+A+a>r&&(e==="top"||e==="bottom")&&(P-a>0?(y=Math.max(12,P-a-A-(I-1)),x=y+a,N="bottom",D=!0):S=i),{top:y,left:g,bottom:S,originX:k,originY:N,checkSafeAreaLeft:v,checkSafeAreaRight:w,arrowTop:x,arrowLeft:O,addPopoverBottomClass:D}},sv=(e,t=!1,n,i)=>!(!n&&!i||e!=="top"&&e!=="bottom"&&t),av=5,lv=(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,f=c.defaultView.innerHeight,b=An(e),I=b.querySelector(".popover-content"),x=b.querySelector(".popover-arrow"),O=r||((n=i==null?void 0:i.detail)===null||n===void 0?void 0:n.ionShadowTarget)||(i==null?void 0:i.target),{contentWidth:g,contentHeight:y}=Eu(o,I,O),{arrowWidth:S,arrowHeight:k}=G0(x),N={top:f/2-y/2,left:u/2-g/2,originX:d?"right":"left",originY:"top"},v=Iu(d,g,y,S,k,s,a,l,N,r,i),w=o==="cover"?0:av,P=o==="cover"?0:25,{originX:A,originY:D,top:$,left:z,bottom:ne,checkSafeAreaLeft:ye,checkSafeAreaRight:ze,arrowTop:q,arrowLeft:K,addPopoverBottomClass:ot}=Su(a,v.top,v.left,w,u,f,g,y,P,v.originX,v.originY,v.referenceCoordinates,v.arrowTop,v.arrowLeft,k),Ne=G(),qe=G(),rt=G();return qe.addElement(b.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),rt.addElement(b.querySelector(".popover-wrapper")).fromTo("opacity",.01,1),Ne.easing("ease").duration(100).beforeAddWrite(()=>{o==="cover"&&e.style.setProperty("--width",`${g}px`),ot&&e.classList.add("popover-bottom"),ne!==void 0&&I.style.setProperty("bottom",`${ne}px`);const yt=" + var(--ion-safe-area-left, 0)",_e=" - var(--ion-safe-area-right, 0)";let Ke=`${z}px`;if(ye&&(Ke=`${z}px${yt}`),ze&&(Ke=`${z}px${_e}`),I.style.setProperty("top",`calc(${$}px + var(--offset-y, 0))`),I.style.setProperty("left",`calc(${Ke} + var(--offset-x, 0))`),I.style.setProperty("transform-origin",`${D} ${A}`),x!==null){const Ee=v.top!==$||v.left!==z;sv(a,Ee,i,r)?(x.style.setProperty("top",`calc(${q}px + var(--offset-y, 0))`),x.style.setProperty("left",`calc(${K}px + var(--offset-x, 0))`)):x.style.setProperty("display","none")}}).addAnimation([qe,rt])},cv=e=>{const t=An(e),n=t.querySelector(".popover-content"),i=t.querySelector(".popover-arrow"),o=G(),r=G(),s=G();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(t.querySelector(".popover-wrapper")).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])},dv=12,uv=(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,f=c.defaultView.innerHeight,b=An(e),I=b.querySelector(".popover-content"),x=r||((n=i==null?void 0:i.detail)===null||n===void 0?void 0:n.ionShadowTarget)||(i==null?void 0:i.target),{contentWidth:O,contentHeight:g}=Eu(o,I,x),y={top:f/2-g/2,left:u/2-O/2,originX:d?"right":"left",originY:"top"},S=Iu(d,O,g,0,0,s,a,l,y,r,i),k=o==="cover"?0:dv,{originX:N,originY:v,top:w,left:P,bottom:A}=Su(a,S.top,S.left,k,u,f,O,g,0,S.originX,S.originY,S.referenceCoordinates),D=G(),$=G(),z=G(),ne=G(),ye=G();return $.addElement(b.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),z.addElement(b.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),ne.addElement(I).beforeStyles({top:`calc(${w}px + var(--offset-y, 0px))`,left:`calc(${P}px + var(--offset-x, 0px))`,"transform-origin":`${v} ${N}`}).beforeAddWrite(()=>{A!==void 0&&I.style.setProperty("bottom",`${A}px`)}).fromTo("transform","scale(0.8)","scale(1)"),ye.addElement(b.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",`${O}px`),v==="bottom"&&e.classList.add("popover-bottom")}).addAnimation([$,z,ne,ye])},fv=e=>{const t=An(e),n=t.querySelector(".popover-content"),i=G(),o=G(),r=G();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])},hv=':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{opacity:0;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}: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}: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{left:3px;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}[dir=rtl] .popover-arrow::after,:host-context([dir=rtl]) .popover-arrow::after{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)}: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 ((-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)}}',mv=":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{opacity:0;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}: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}: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}[dir=rtl] .popover-content,:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}",pv=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=J(this,"ionPopoverDidPresent",7),this.willPresent=J(this,"ionPopoverWillPresent",7),this.willDismiss=J(this,"ionPopoverWillDismiss",7),this.didDismiss=J(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=J(this,"didPresent",7),this.willPresentShorthand=J(this,"willPresent",7),this.willDismissShorthand=J(this,"willDismiss",7),this.didDismissShorthand=J(this,"didDismiss",7),this.ionMount=J(this,"ionMount",7),this.parentPopover=null,this.popoverIndex=bv++,this.coreDelegate=k0(),this.inline=!1,this.focusDescendantOnPresent=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.triggerAction="click",this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.keepContentsMounted=!1,this.onBackdropTap=()=>{this.dismiss(void 0,Gn)},this.onLifecycle=e=>{const t=this.usersElement,n=gv[e.type];if(t&&n){const i=new CustomEvent(n,{bubbles:!1,cancelable:!1,detail:e.detail});t.dispatchEvent(i)}},this.configureTriggerInteraction=()=>{const{trigger:e,triggerAction:t,el:n,destroyTriggerInteraction:i}=this;if(i&&i(),e===void 0)return;const o=this.triggerEl=e!==void 0?document.getElementById(e):null;if(!o){Ab(`A trigger element with the ID "${e}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el);return}this.destroyTriggerInteraction=K0(o,t,n)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:e,el:t}=this;e&&e(),this.destroyKeyboardInteraction=Q0(t)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:e,parentPopover:t,triggerAction:n,triggerEl:i,el:o}=this;!t||!i||(e&&e(),this.destroyDismissInteraction=q0(i,n,o,t))}}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(e,t){e===!0&&t===!1?this.present():e===!1&&t===!0&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:e,el:t}=this;Us(t),e()}disconnectedCallback(){const{destroyTriggerInteraction:e}=this;e&&e()}componentWillLoad(){this.popoverId=this.el.hasAttribute("id")?this.el.getAttribute("id"):`ion-popover-${this.popoverIndex}`,this.parentPopover=this.el.closest(`ion-popover:not(#${this.popoverId})`),this.alignment===void 0&&(this.alignment=oe(this)==="ios"?"center":"start")}componentDidLoad(){const{parentPopover:e,isOpen:t}=this;t===!0&&$e(()=>this.present()),e&&Ds(e,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)})}async presentFromTrigger(e,t=!1){this.focusDescendantOnPresent=t,await this.present(e),this.focusDescendantOnPresent=!1}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};const t=this.el.parentNode,n=this.inline=t!==null&&!this.hasController,i=this.workingDelegate=n?this.delegate||this.coreDelegate:this.delegate;return{inline:n,delegate:i}}async present(e){if(this.presented)return;this.currentTransition!==void 0&&await this.currentTransition;const{inline:t,delegate:n}=this.getDelegate(!0);return this.usersElement=await y0(n,this.el,this.component,["popover-viewport"],this.componentProps,t),await _u(this.usersElement),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),this.ionMount.emit(),new Promise(i=>{$e(()=>{$e(async()=>{this.currentTransition=zs(this,"popoverEnter",lv,uv,{event:e||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),await this.currentTransition,this.currentTransition=void 0,this.focusDescendantOnPresent&&Ur(this.el,this.el),i()})})})}async dismiss(e,t,n=!0){this.currentTransition!==void 0&&await this.currentTransition;const{destroyKeyboardInteraction:i,destroyDismissInteraction:o}=this;n&&this.parentPopover&&this.parentPopover.dismiss(e,t,n),this.currentTransition=Bs(this,e,t,"popoverLeave",cv,fv,this.event);const r=await this.currentTransition;if(r){i&&(i(),this.destroyKeyboardInteraction=void 0),o&&(o(),this.destroyDismissInteraction=void 0);const{delegate:s}=this.getDelegate();await w0(s,this.usersElement)}return this.currentTransition=void 0,r}async getParentPopover(){return this.parentPopover}onDidDismiss(){return Yn(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return Yn(this.el,"ionPopoverWillDismiss")}render(){const e=oe(this),{onLifecycle:t,popoverId:n,parentPopover:i,dismissOnSelect:o,side:r,arrow:s,htmlAttributes:a}=this,l=qg("desktop"),c=s&&!i;return T(ce,Object.assign({"aria-modal":"true","no-router":!0,tabindex:"-1"},a,{style:{zIndex:`${2e4+this.overlayIndex}`},id:n,class:Object.assign(Object.assign({},bt(this.cssClass)),{[e]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":l,[`popover-side-${r}`]:!0,"popover-nested":!!i}),onIonPopoverDidPresent:t,onIonPopoverWillPresent:t,onIonPopoverWillDismiss:t,onIonPopoverDidDismiss:t,onIonBackdropTap:this.onBackdropTap}),!i&&T("ion-backdrop",{tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),T("div",{class:"popover-wrapper ion-overlay-wrapper",onClick:o?()=>this.dismiss():void 0},c&&T("div",{class:"popover-arrow",part:"arrow"}),T("div",{class:"popover-content",part:"content"},T("slot",null))))}get el(){return this}static get watchers(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}}static get style(){return{ios:hv,md:mv}}},[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]}]),gv={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};let bv=0;function vv(){if(typeof customElements>"u")return;["ion-popover","ion-backdrop"].forEach(t=>{switch(t){case"ion-popover":customElements.get(t)||customElements.define(t,pv);break;case"ion-backdrop":customElements.get(t)||Ao();break}})}/*!
72
+ */const bv=e=>{if(!e)return{arrowWidth:0,arrowHeight:0};const{width:t,height:n}=e.getBoundingClientRect();return{arrowWidth:t,arrowHeight:n}},Fu=(e,t,n)=>{const o=t.getBoundingClientRect(),i=o.height;let r=o.width;return e==="cover"&&n&&(r=n.getBoundingClientRect().width),{contentWidth:r,contentHeight:i}},vv=(e,t,n,o)=>{let i=[];const s=Nn(o).querySelector(".popover-content");switch(t){case"hover":i=[{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:i=[{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 i.forEach(({eventName:a,callback:l})=>s.addEventListener(a,l)),()=>{i.forEach(({eventName:a,callback:l})=>s.removeEventListener(a,l))}},yv=(e,t,n)=>{let o=[];switch(t){case"hover":let i;o=[{eventName:"mouseenter",callback:async r=>{r.stopPropagation(),i&&clearTimeout(i),i=setTimeout(()=>{Le(()=>{n.presentFromTrigger(r),i=void 0})},100)}},{eventName:"mouseleave",callback:r=>{i&&clearTimeout(i);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":o=[{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:o=[{eventName:"click",callback:r=>n.presentFromTrigger(r)},{eventName:"ionPopoverActivateTrigger",callback:r=>n.presentFromTrigger(r,!0)}];break}return o.forEach(({eventName:i,callback:r})=>e.addEventListener(i,r)),e.setAttribute("data-ion-popover-trigger","true"),()=>{o.forEach(({eventName:i,callback:r})=>e.removeEventListener(i,r)),e.removeAttribute("data-ion-popover-trigger")}},Vu=(e,t)=>!t||t.tagName!=="ION-ITEM"?-1:e.findIndex(n=>n===t),wv=(e,t)=>{const n=Vu(e,t);return e[n+1]},kv=(e,t)=>{const n=Vu(e,t);return e[n-1]},qo=e=>{const n=Nn(e).querySelector("button");n&&Le(()=>n.focus())},xv=e=>e.hasAttribute("data-ion-popover-trigger"),_v=e=>{const t=async n=>{var o;const i=document.activeElement;let r=[];const s=(o=n.target)===null||o===void 0?void 0:o.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=wv(r,i);l!==void 0&&qo(l);break;case"ArrowUp":n.preventDefault();const c=kv(r,i);c!==void 0&&qo(c);break;case"Home":n.preventDefault();const d=r[0];d!==void 0&&qo(d);break;case"End":n.preventDefault();const u=r[r.length-1];u!==void 0&&qo(u);break;case"ArrowRight":case" ":case"Enter":if(i&&xv(i)){const f=new CustomEvent("ionPopoverActivateTrigger");i.dispatchEvent(f)}break}}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)},zu=(e,t,n,o,i,r,s,a,l,c,d)=>{var u;let f={top:0,left:0,width:0,height:0};switch(r){case"event":if(!d)return l;const D=d;f={top:D.clientY,left:D.clientX,width:1,height:1};break;case"trigger":default:const v=d,w=c||((u=v==null?void 0:v.detail)===null||u===void 0?void 0:u.ionShadowTarget)||(v==null?void 0:v.target);if(!w)return l;const P=w.getBoundingClientRect();f={top:P.top,left:P.left,width:P.width,height:P.height};break}const b=Iv(s,f,t,n,o,i,e),T=Sv(a,s,f,t,n),x=b.top+T.top,C=b.left+T.left,{arrowTop:p,arrowLeft:y}=Tv(s,o,i,x,C,t,n,e),{originX:S,originY:k}=Ev(s,a,e);return{top:x,left:C,referenceCoordinates:f,arrowTop:p,arrowLeft:y,originX:S,originY:k}},Ev=(e,t,n)=>{switch(e){case"top":return{originX:Dl(t),originY:"bottom"};case"bottom":return{originX:Dl(t),originY:"top"};case"left":return{originX:"right",originY:Ko(t)};case"right":return{originX:"left",originY:Ko(t)};case"start":return{originX:n?"left":"right",originY:Ko(t)};case"end":return{originX:n?"right":"left",originY:Ko(t)}}},Dl=e=>{switch(e){case"start":return"left";case"center":return"center";case"end":return"right"}},Ko=e=>{switch(e){case"start":return"top";case"center":return"center";case"end":return"bottom"}},Tv=(e,t,n,o,i,r,s,a)=>{const l={arrowTop:o+s/2-t/2,arrowLeft:i+r-t/2},c={arrowTop:o+s/2-t/2,arrowLeft:i-t*1.5};switch(e){case"top":return{arrowTop:o+s,arrowLeft:i+r/2-t/2};case"bottom":return{arrowTop:o-n,arrowLeft:i+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}}},Iv=(e,t,n,o,i,r,s)=>{const a={top:t.top,left:t.left-n-i},l={top:t.top,left:t.left+t.width+i};switch(e){case"top":return{top:t.top-o-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}},Sv=(e,t,n,o,i)=>{switch(e){case"center":return Ov(t,n,o,i);case"end":return Cv(t,n,o,i);case"start":default:return{top:0,left:0}}},Cv=(e,t,n,o)=>{switch(e){case"start":case"end":case"left":case"right":return{top:-(o-t.height),left:0};case"top":case"bottom":default:return{top:0,left:-(n-t.width)}}},Ov=(e,t,n,o)=>{switch(e){case"start":case"end":case"left":case"right":return{top:-(o/2-t.height/2),left:0};case"top":case"bottom":default:return{top:0,left:-(n/2-t.width/2)}}},Uu=(e,t,n,o,i,r,s,a,l,c,d,u,f=0,b=0,T=0)=>{let x=f;const C=b;let p=n,y=t,S,k=c,D=d,v=!1,w=!1;const P=u?u.top+u.height:r/2-a/2,A=u?u.height:0;let N=!1;return p<o+l?(p=o,v=!0,k="left"):s+o+p+l>i&&(w=!0,p=i-s-o,k="right"),P+A+a>r&&(e==="top"||e==="bottom")&&(P-a>0?(y=Math.max(12,P-a-A-(T-1)),x=y+a,D="bottom",N=!0):S=o),{top:y,left:p,bottom:S,originX:k,originY:D,checkSafeAreaLeft:v,checkSafeAreaRight:w,arrowTop:x,arrowLeft:C,addPopoverBottomClass:N}},Av=(e,t=!1,n,o)=>!(!n&&!o||e!=="top"&&e!=="bottom"&&t),Dv=5,Nv=(e,t)=>{var n;const{event:o,size:i,trigger:r,reference:s,side:a,align:l}=t,c=e.ownerDocument,d=c.dir==="rtl",u=c.defaultView.innerWidth,f=c.defaultView.innerHeight,b=Nn(e),T=b.querySelector(".popover-content"),x=b.querySelector(".popover-arrow"),C=r||((n=o==null?void 0:o.detail)===null||n===void 0?void 0:n.ionShadowTarget)||(o==null?void 0:o.target),{contentWidth:p,contentHeight:y}=Fu(i,T,C),{arrowWidth:S,arrowHeight:k}=bv(x),D={top:f/2-y/2,left:u/2-p/2,originX:d?"right":"left",originY:"top"},v=zu(d,p,y,S,k,s,a,l,D,r,o),w=i==="cover"?0:Dv,P=i==="cover"?0:25,{originX:A,originY:N,top:L,left:U,bottom:oe,checkSafeAreaLeft:ye,checkSafeAreaRight:Ue,arrowTop:K,arrowLeft:X,addPopoverBottomClass:rt}=Uu(a,v.top,v.left,w,u,f,p,y,P,v.originX,v.originY,v.referenceCoordinates,v.arrowTop,v.arrowLeft,k),De=G(),qe=G(),st=G();return qe.addElement(b.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),st.addElement(b.querySelector(".popover-wrapper")).fromTo("opacity",.01,1),De.easing("ease").duration(100).beforeAddWrite(()=>{i==="cover"&&e.style.setProperty("--width",`${p}px`),rt&&e.classList.add("popover-bottom"),oe!==void 0&&T.style.setProperty("bottom",`${oe}px`);const wt=" + var(--ion-safe-area-left, 0)",_e=" - var(--ion-safe-area-right, 0)";let Ke=`${U}px`;if(ye&&(Ke=`${U}px${wt}`),Ue&&(Ke=`${U}px${_e}`),T.style.setProperty("top",`calc(${L}px + var(--offset-y, 0))`),T.style.setProperty("left",`calc(${Ke} + var(--offset-x, 0))`),T.style.setProperty("transform-origin",`${N} ${A}`),x!==null){const Ee=v.top!==L||v.left!==U;Av(a,Ee,o,r)?(x.style.setProperty("top",`calc(${K}px + var(--offset-y, 0))`),x.style.setProperty("left",`calc(${X}px + var(--offset-x, 0))`)):x.style.setProperty("display","none")}}).addAnimation([qe,st])},$v=e=>{const t=Nn(e),n=t.querySelector(".popover-content"),o=t.querySelector(".popover-arrow"),i=G(),r=G(),s=G();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.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"),o&&(o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("display"))}).duration(300).addAnimation([r,s])},Lv=12,Pv=(e,t)=>{var n;const{event:o,size:i,trigger:r,reference:s,side:a,align:l}=t,c=e.ownerDocument,d=c.dir==="rtl",u=c.defaultView.innerWidth,f=c.defaultView.innerHeight,b=Nn(e),T=b.querySelector(".popover-content"),x=r||((n=o==null?void 0:o.detail)===null||n===void 0?void 0:n.ionShadowTarget)||(o==null?void 0:o.target),{contentWidth:C,contentHeight:p}=Fu(i,T,x),y={top:f/2-p/2,left:u/2-C/2,originX:d?"right":"left",originY:"top"},S=zu(d,C,p,0,0,s,a,l,y,r,o),k=i==="cover"?0:Lv,{originX:D,originY:v,top:w,left:P,bottom:A}=Uu(a,S.top,S.left,k,u,f,C,p,0,S.originX,S.originY,S.referenceCoordinates),N=G(),L=G(),U=G(),oe=G(),ye=G();return L.addElement(b.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),U.addElement(b.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),oe.addElement(T).beforeStyles({top:`calc(${w}px + var(--offset-y, 0px))`,left:`calc(${P}px + var(--offset-x, 0px))`,"transform-origin":`${v} ${D}`}).beforeAddWrite(()=>{A!==void 0&&T.style.setProperty("bottom",`${A}px`)}).fromTo("transform","scale(0.8)","scale(1)"),ye.addElement(b.querySelector(".popover-viewport")).fromTo("opacity",.01,1),N.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite(()=>{i==="cover"&&e.style.setProperty("--width",`${C}px`),v==="bottom"&&e.classList.add("popover-bottom")}).addAnimation([L,U,oe,ye])},Mv=e=>{const t=Nn(e),n=t.querySelector(".popover-content"),o=G(),i=G(),r=G();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(t.querySelector(".popover-wrapper")).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")}).duration(150).addAnimation([i,r])},Rv=':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{opacity:0;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}: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}: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{left:3px;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}[dir=rtl] .popover-arrow::after,:host-context([dir=rtl]) .popover-arrow::after{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)}: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 ((-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)}}',Fv=":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{opacity:0;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}: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}: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}[dir=rtl] .popover-content,:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}",Vv=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=q(this,"ionPopoverDidPresent",7),this.willPresent=q(this,"ionPopoverWillPresent",7),this.willDismiss=q(this,"ionPopoverWillDismiss",7),this.didDismiss=q(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=q(this,"didPresent",7),this.willPresentShorthand=q(this,"willPresent",7),this.willDismissShorthand=q(this,"willDismiss",7),this.didDismissShorthand=q(this,"didDismiss",7),this.ionMount=q(this,"ionMount",7),this.parentPopover=null,this.popoverIndex=Uv++,this.coreDelegate=W0(),this.inline=!1,this.focusDescendantOnPresent=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.triggerAction="click",this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.keepContentsMounted=!1,this.onBackdropTap=()=>{this.dismiss(void 0,Xn)},this.onLifecycle=e=>{const t=this.usersElement,n=zv[e.type];if(t&&n){const o=new CustomEvent(n,{bubbles:!1,cancelable:!1,detail:e.detail});t.dispatchEvent(o)}},this.configureTriggerInteraction=()=>{const{trigger:e,triggerAction:t,el:n,destroyTriggerInteraction:o}=this;if(o&&o(),e===void 0)return;const i=this.triggerEl=e!==void 0?document.getElementById(e):null;if(!i){jr(`A trigger element with the ID "${e}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el);return}this.destroyTriggerInteraction=yv(i,t,n)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:e,el:t}=this;e&&e(),this.destroyKeyboardInteraction=_v(t)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:e,parentPopover:t,triggerAction:n,triggerEl:o,el:i}=this;!t||!o||(e&&e(),this.destroyDismissInteraction=vv(o,n,i,t))}}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(e,t){e===!0&&t===!1?this.present():e===!1&&t===!0&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:e,el:t}=this;Xs(t),e()}disconnectedCallback(){const{destroyTriggerInteraction:e}=this;e&&e()}componentWillLoad(){this.popoverId=this.el.hasAttribute("id")?this.el.getAttribute("id"):`ion-popover-${this.popoverIndex}`,this.parentPopover=this.el.closest(`ion-popover:not(#${this.popoverId})`),this.alignment===void 0&&(this.alignment=te(this)==="ios"?"center":"start")}componentDidLoad(){const{parentPopover:e,isOpen:t}=this;t===!0&&Le(()=>this.present()),e&&Us(e,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)})}async presentFromTrigger(e,t=!1){this.focusDescendantOnPresent=t,await this.present(e),this.focusDescendantOnPresent=!1}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};const t=this.el.parentNode,n=this.inline=t!==null&&!this.hasController,o=this.workingDelegate=n?this.delegate||this.coreDelegate:this.delegate;return{inline:n,delegate:o}}async present(e){if(this.presented)return;this.currentTransition!==void 0&&await this.currentTransition;const{inline:t,delegate:n}=this.getDelegate(!0);return this.usersElement=await H0(n,this.el,this.component,["popover-viewport"],this.componentProps,t),await Ru(this.usersElement),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),this.ionMount.emit(),new Promise(o=>{Le(()=>{Le(async()=>{this.currentTransition=Zs(this,"popoverEnter",Nv,Pv,{event:e||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),await this.currentTransition,this.currentTransition=void 0,this.focusDescendantOnPresent&&Gr(this.el,this.el),o()})})})}async dismiss(e,t,n=!0){this.currentTransition!==void 0&&await this.currentTransition;const{destroyKeyboardInteraction:o,destroyDismissInteraction:i}=this;n&&this.parentPopover&&this.parentPopover.dismiss(e,t,n),this.currentTransition=Js(this,e,t,"popoverLeave",$v,Mv,this.event);const r=await this.currentTransition;if(r){o&&(o(),this.destroyKeyboardInteraction=void 0),i&&(i(),this.destroyDismissInteraction=void 0);const{delegate:s}=this.getDelegate();await j0(s,this.usersElement)}return this.currentTransition=void 0,r}async getParentPopover(){return this.parentPopover}onDidDismiss(){return Kn(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return Kn(this.el,"ionPopoverWillDismiss")}render(){const e=te(this),{onLifecycle:t,popoverId:n,parentPopover:o,dismissOnSelect:i,side:r,arrow:s,htmlAttributes:a}=this,l=lb("desktop"),c=s&&!o;return _(se,Object.assign({"aria-modal":"true","no-router":!0,tabindex:"-1"},a,{style:{zIndex:`${2e4+this.overlayIndex}`},id:n,class:Object.assign(Object.assign({},vt(this.cssClass)),{[e]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":l,[`popover-side-${r}`]:!0,"popover-nested":!!o}),onIonPopoverDidPresent:t,onIonPopoverWillPresent:t,onIonPopoverWillDismiss:t,onIonPopoverDidDismiss:t,onIonBackdropTap:this.onBackdropTap}),!o&&_("ion-backdrop",{tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),_("div",{class:"popover-wrapper ion-overlay-wrapper",onClick:i?()=>this.dismiss():void 0},c&&_("div",{class:"popover-arrow",part:"arrow"}),_("div",{class:"popover-content",part:"content"},_("slot",null))))}get el(){return this}static get watchers(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}}static get style(){return{ios:Rv,md:Fv}}},[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]}]),zv={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};let Uv=0;function Bv(){if(typeof customElements>"u")return;["ion-popover","ion-backdrop"].forEach(t=>{switch(t){case"ion-popover":customElements.get(t)||customElements.define(t,Vv);break;case"ion-backdrop":customElements.get(t)||$i();break}})}/*!
65
73
  * (C) Ionic http://ionicframework.com - MIT License
66
- */const yv=e=>{let t,n,i;const o=()=>{t=()=>{i=!0,e&&e(!0)},n=()=>{i=!1,e&&e(!1)},He==null||He.addEventListener("keyboardWillShow",t),He==null||He.addEventListener("keyboardWillHide",n)},r=()=>{He==null||He.removeEventListener("keyboardWillShow",t),He==null||He.removeEventListener("keyboardWillHide",n),t=n=void 0},s=()=>i;return o(),{init:o,destroy:r,isKeyboardVisible:s}};/*!
74
+ */const Hv=e=>{let t,n,o;const i=()=>{t=()=>{o=!0,e&&e(!0)},n=()=>{o=!1,e&&e(!1)},He==null||He.addEventListener("keyboardWillShow",t),He==null||He.addEventListener("keyboardWillHide",n)},r=()=>{He==null||He.removeEventListener("keyboardWillShow",t),He==null||He.removeEventListener("keyboardWillHide",n),t=n=void 0},s=()=>o;return i(),{init:i,destroy:r,isKeyboardVisible:s}};/*!
67
75
  * (C) Ionic http://ionicframework.com - MIT License
68
- */const wv=e=>{try{if(e instanceof Ev)return e.value;if(!kv()||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,_v.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=Br(c);for(let u=0;u<d.length;u++)zr(d[u])}});const i=Br(t);for(let s=0;s<i.length;s++)zr(i[s]);const o=document.createElement("div");o.appendChild(t);const r=o.querySelector("div");return r!==null?r.innerHTML:o.innerHTML}catch(t){return console.error(t),""}},zr=e=>{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(!xv.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=Br(e);for(let n=0;n<t.length;n++)zr(t[n])},Br=e=>e.children!=null?e.children:e.childNodes,kv=()=>{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},xv=["class","id","href","src","name","slot"],_v=["script","style","iframe","meta","link","object","embed"];class Ev{constructor(t){this.value=t}}const Tv=!0;/*!
76
+ */const jv=e=>{try{if(e instanceof qv)return e.value;if(!Wv()||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,Gv.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=Kr(c);for(let u=0;u<d.length;u++)qr(d[u])}});const o=Kr(t);for(let s=0;s<o.length;s++)qr(o[s]);const i=document.createElement("div");i.appendChild(t);const r=i.querySelector("div");return r!==null?r.innerHTML:i.innerHTML}catch(t){return console.error(t),""}},qr=e=>{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 o=e.attributes.item(n),i=o.name;if(!Yv.includes(i.toLowerCase())){e.removeAttribute(i);continue}const r=o.value,s=e[i];(r!=null&&r.toLowerCase().includes("javascript:")||s!=null&&s.toLowerCase().includes("javascript:"))&&e.removeAttribute(i)}const t=Kr(e);for(let n=0;n<t.length;n++)qr(t[n])},Kr=e=>e.children!=null?e.children:e.childNodes,Wv=()=>{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},Yv=["class","id","href","src","name","slot"],Gv=["script","style","iframe","meta","link","object","embed"];class qv{constructor(t){this.value=t}}const Kv=!0;/*!
69
77
  * (C) Ionic http://ionicframework.com - MIT License
70
- */const Iv=Ms;/*!
78
+ */const Xv=Ys;/*!
71
79
  * (C) Ionic http://ionicframework.com - MIT License
72
- */const Sv=Rs;/*!
80
+ */const Zv=Gs;/*!
73
81
  * (C) Ionic http://ionicframework.com - MIT License
74
- */const Ov="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{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.list-ios.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-ios.list-inset ion-item:last-child{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-ios-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 0.55px 0}.list-ios-lines-inset .item-lines-default{--inner-border-width:0 0 0.55px 0;--border-width:0px}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",Cv="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))}.list-md>.input:last-child::after{left:0}[dir=rtl] .list-md>.input:last-child::after,:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}.list-md.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.list-md.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-md.list-inset ion-item:first-child{--border-radius:2px 2px 0 0}.list-md.list-inset ion-item:last-child{--border-radius:0 0 2px, 2px;--border-width:0;--inner-border-width:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-md-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 1px 0}.list-md-lines-inset .item-lines-default{--inner-border-width:0 0 1px 0;--border-width:0px}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",Av=me(class extends pe{constructor(){super(),this.__registerHost(),this.inset=!1}async closeSlidingItems(){const e=this.el.querySelector("ion-item-sliding");return e!=null&&e.closeOpened?e.closeOpened():!1}render(){const e=oe(this),{lines:t,inset:n}=this;return T(ce,{role:"list",class:{[e]:!0,[`list-${e}`]:!0,"list-inset":n,[`list-lines-${t}`]:t!==void 0,[`list-${e}-lines-${t}`]:t!==void 0}})}get el(){return this}static get style(){return{ios:Ov,md:Cv}}},[32,"ion-list",{lines:[1],inset:[4],closeSlidingItems:[64]}]);function Ou(){if(typeof customElements>"u")return;["ion-list"].forEach(t=>{switch(t){case"ion-list":customElements.get(t)||customElements.define(t,Av);break}})}/*!
82
+ */const Jv="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{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.list-ios.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-ios.list-inset ion-item:last-child{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-ios-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 0.55px 0}.list-ios-lines-inset .item-lines-default{--inner-border-width:0 0 0.55px 0;--border-width:0px}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",Qv="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))}.list-md>.input:last-child::after{left:0}[dir=rtl] .list-md>.input:last-child::after,:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}.list-md.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.list-md.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-md.list-inset ion-item:first-child{--border-radius:2px 2px 0 0}.list-md.list-inset ion-item:last-child{--border-radius:0 0 2px, 2px;--border-width:0;--inner-border-width:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-md-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 1px 0}.list-md-lines-inset .item-lines-default{--inner-border-width:0 0 1px 0;--border-width:0px}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",ey=ce(class extends de{constructor(){super(),this.__registerHost(),this.inset=!1}async closeSlidingItems(){const e=this.el.querySelector("ion-item-sliding");return e!=null&&e.closeOpened?e.closeOpened():!1}render(){const e=te(this),{lines:t,inset:n}=this;return _(se,{role:"list",class:{[e]:!0,[`list-${e}`]:!0,"list-inset":n,[`list-lines-${t}`]:t!==void 0,[`list-${e}-lines-${t}`]:t!==void 0}})}get el(){return this}static get style(){return{ios:Jv,md:Qv}}},[32,"ion-list",{lines:[1],inset:[4],closeSlidingItems:[64]}]);function Bu(){if(typeof customElements>"u")return;["ion-list"].forEach(t=>{switch(t){case"ion-list":customElements.get(t)||customElements.define(t,ey);break}})}/*!
75
83
  * (C) Ionic http://ionicframework.com - MIT License
76
- */const Nv=":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-left:calc(var(--ion-safe-area-left, 0px) + 20px);position:relative;-ms-flex-align:end;align-items:flex-end;font-size:22px;font-weight:700;letter-spacing:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0px) + 20px);padding-inline-start:calc(var(--ion-safe-area-left, 0px) + 20px)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){margin-left:3px;margin-right:3px;height:1.4em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-button){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px}}: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}",Dv=":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-left:calc(var(--ion-safe-area-left, 0) + 16px);min-height:45px;font-size:14px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0) + 16px);padding-inline-start:calc(var(--ion-safe-area-left, 0) + 16px)}}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}",Lv=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){const{lines:e}=this,t=oe(this);return T(ce,{class:St(this.color,{[t]:!0,[`list-header-lines-${e}`]:e!==void 0})},T("div",{class:"list-header-inner"},T("slot",null)))}static get style(){return{ios:Nv,md:Dv}}},[33,"ion-list-header",{color:[513],lines:[1]}]);function Cu(){if(typeof customElements>"u")return;["ion-list-header"].forEach(t=>{switch(t){case"ion-list-header":customElements.get(t)||customElements.define(t,Lv);break}})}/*!
84
+ */const ty=":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-left:calc(var(--ion-safe-area-left, 0px) + 20px);position:relative;-ms-flex-align:end;align-items:flex-end;font-size:22px;font-weight:700;letter-spacing:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0px) + 20px);padding-inline-start:calc(var(--ion-safe-area-left, 0px) + 20px)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){margin-left:3px;margin-right:3px;height:1.4em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-button){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px}}: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}",ny=":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-left:calc(var(--ion-safe-area-left, 0) + 16px);min-height:45px;font-size:14px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0) + 16px);padding-inline-start:calc(var(--ion-safe-area-left, 0) + 16px)}}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}",oy=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){const{lines:e}=this,t=te(this);return _(se,{class:it(this.color,{[t]:!0,[`list-header-lines-${e}`]:e!==void 0})},_("div",{class:"list-header-inner"},_("slot",null)))}static get style(){return{ios:ty,md:ny}}},[33,"ion-list-header",{color:[513],lines:[1]}]);function Hu(){if(typeof customElements>"u")return;["ion-list-header"].forEach(t=>{switch(t){case"ion-list-header":customElements.get(t)||customElements.define(t,oy);break}})}/*!
77
85
  * (C) Ionic http://ionicframework.com - MIT License
78
- */const $v=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}: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}label{left:0;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}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}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{--color-checked:var(--ion-color-primary, #3880ff);width:15px;height:24px}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{margin-left:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-radio.item-ios ion-label{margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-9px;top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}: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}:host(.in-item){margin-left:10px;margin-right:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:11px;margin-inline-end:11px}}:host(.in-item[slot=start]){margin-left:3px;margin-right:21px;margin-top:8px;margin-bottom:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px}}',Pv=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}: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}label{left:0;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}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}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{--color:var(--ion-color-step-400, #999999);--color-checked:var(--ion-color-primary, #3880ff);--border-width:2px;--border-style:solid;--border-radius:50%;width:20px;height:20px}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-12px;top:-12px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-12px}:host(.in-item){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item[slot=start]){margin-left:4px;margin-right:36px;margin-top:11px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px}}',Mv=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionStyle=J(this,"ionStyle",7),this.ionFocus=J(this,"ionFocus",7),this.ionBlur=J(this,"ionBlur",7),this.inputId=`ion-rb-${Rv++}`,this.radioGroup=null,this.checked=!1,this.buttonTabindex=-1,this.name=this.inputId,this.disabled=!1,this.updateState=()=>{this.radioGroup&&(this.checked=this.radioGroup.value===this.value)},this.onClick=()=>{this.checked=this.nativeInput.checked},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()}}valueChanged(){this.updateState()}async setFocus(e){e.stopPropagation(),e.preventDefault(),this.el.focus()}async setButtonTabindex(e){this.buttonTabindex=e}connectedCallback(){this.value===void 0&&(this.value=this.inputId);const e=this.radioGroup=this.el.closest("ion-radio-group");e&&(this.updateState(),Ds(e,"ionChange",this.updateState))}disconnectedCallback(){const e=this.radioGroup;e&&(uu(e,"ionChange",this.updateState),this.radioGroup=null)}componentWillLoad(){this.emitStyle()}emitStyle(){this.ionStyle.emit({"radio-checked":this.checked,"interactive-disabled":this.disabled})}render(){const{inputId:e,disabled:t,checked:n,color:i,el:o,buttonTabindex:r}=this,s=oe(this),{label:a,labelId:l,labelText:c}=Ls(o,e);return T(ce,{"aria-checked":`${n}`,"aria-hidden":t?"true":null,"aria-labelledby":a?l:null,role:"radio",tabindex:r,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:St(i,{[s]:!0,"in-item":Di("ion-item",o),interactive:!0,"radio-checked":n,"radio-disabled":t})},T("div",{class:"radio-icon",part:"container"},T("div",{class:"radio-inner",part:"mark"}),T("div",{class:"radio-ripple"})),T("label",{htmlFor:e},c),T("input",{type:"radio",checked:n,disabled:t,tabindex:"-1",id:e,ref:d=>this.nativeInput=d}))}get el(){return this}static get watchers(){return{value:["valueChanged"],color:["emitStyle"],checked:["emitStyle"],disabled:["emitStyle"]}}static get style(){return{ios:$v,md:Pv}}},[33,"ion-radio",{color:[513],name:[1],disabled:[4],value:[8],checked:[32],buttonTabindex:[32],setFocus:[64],setButtonTabindex:[64]}]);let Rv=0;function Au(){if(typeof customElements>"u")return;["ion-radio"].forEach(t=>{switch(t){case"ion-radio":customElements.get(t)||customElements.define(t,Mv);break}})}/*!
86
+ */const iy=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}: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}label{left:0;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}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}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{--color-checked:var(--ion-color-primary, #3880ff);width:15px;height:24px}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{margin-left:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-radio.item-ios ion-label{margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-9px;top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}: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}:host(.in-item){margin-left:10px;margin-right:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:11px;margin-inline-end:11px}}:host(.in-item[slot=start]){margin-left:3px;margin-right:21px;margin-top:8px;margin-bottom:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px}}',ry=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}: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}label{left:0;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}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}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{--color:var(--ion-color-step-400, #999999);--color-checked:var(--ion-color-primary, #3880ff);--border-width:2px;--border-style:solid;--border-radius:50%;width:20px;height:20px}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-12px;top:-12px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-12px}:host(.in-item){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item[slot=start]){margin-left:4px;margin-right:36px;margin-top:11px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px}}',sy=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionStyle=q(this,"ionStyle",7),this.ionFocus=q(this,"ionFocus",7),this.ionBlur=q(this,"ionBlur",7),this.inputId=`ion-rb-${ay++}`,this.radioGroup=null,this.checked=!1,this.buttonTabindex=-1,this.name=this.inputId,this.disabled=!1,this.updateState=()=>{this.radioGroup&&(this.checked=this.radioGroup.value===this.value)},this.onClick=()=>{this.checked=this.nativeInput.checked},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()}}valueChanged(){this.updateState()}async setFocus(e){e.stopPropagation(),e.preventDefault(),this.el.focus()}async setButtonTabindex(e){this.buttonTabindex=e}connectedCallback(){this.value===void 0&&(this.value=this.inputId);const e=this.radioGroup=this.el.closest("ion-radio-group");e&&(this.updateState(),Us(e,"ionChange",this.updateState))}disconnectedCallback(){const e=this.radioGroup;e&&(Tu(e,"ionChange",this.updateState),this.radioGroup=null)}componentWillLoad(){this.emitStyle()}emitStyle(){this.ionStyle.emit({"radio-checked":this.checked,"interactive-disabled":this.disabled})}render(){const{inputId:e,disabled:t,checked:n,color:o,el:i,buttonTabindex:r}=this,s=te(this),{label:a,labelId:l,labelText:c}=Bs(i,e);return _(se,{"aria-checked":`${n}`,"aria-hidden":t?"true":null,"aria-labelledby":a?l:null,role:"radio",tabindex:r,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:it(o,{[s]:!0,"in-item":Zt("ion-item",i),interactive:!0,"radio-checked":n,"radio-disabled":t})},_("div",{class:"radio-icon",part:"container"},_("div",{class:"radio-inner",part:"mark"}),_("div",{class:"radio-ripple"})),_("label",{htmlFor:e},c),_("input",{type:"radio",checked:n,disabled:t,tabindex:"-1",id:e,ref:d=>this.nativeInput=d}))}get el(){return this}static get watchers(){return{value:["valueChanged"],color:["emitStyle"],checked:["emitStyle"],disabled:["emitStyle"]}}static get style(){return{ios:iy,md:ry}}},[33,"ion-radio",{color:[513],name:[1],disabled:[4],value:[8],checked:[32],buttonTabindex:[32],setFocus:[64],setButtonTabindex:[64]}]);let ay=0;function ju(){if(typeof customElements>"u")return;["ion-radio"].forEach(t=>{switch(t){case"ion-radio":customElements.get(t)||customElements.define(t,sy);break}})}/*!
79
87
  * (C) Ionic http://ionicframework.com - MIT License
80
- */const Fv=me(class extends pe{constructor(){super(),this.__registerHost(),this.ionChange=J(this,"ionChange",7),this.inputId=`ion-rg-${Vv++}`,this.labelId=`${this.inputId}-lbl`,this.allowEmptySelection=!1,this.name=this.inputId,this.setRadioTabindex=e=>{const t=this.getRadios(),n=t.find(r=>!r.disabled),i=t.find(r=>r.value===e&&!r.disabled);if(!n&&!i)return;const o=i||n;for(const r of t){const s=r===o?0:-1;r.setButtonTabindex(s)}},this.onClick=e=>{e.preventDefault();const t=e.target&&e.target.closest("ion-radio");if(t){const n=this.value,i=t.value;i!==n?this.value=i:this.allowEmptySelection&&(this.value=void 0)}}}valueChanged(e){this.setRadioTabindex(e),this.ionChange.emit({value:e})}componentDidLoad(){this.setRadioTabindex(this.value)}async connectedCallback(){const e=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(e){const t=this.label=e.querySelector("ion-label");t&&(this.labelId=t.id=this.name+"-lbl")}}getRadios(){return Array.from(this.el.querySelectorAll("ion-radio"))}onKeydown(e){const t=!!this.el.closest("ion-select-popover");if(e.target&&!this.el.contains(e.target))return;const n=this.getRadios().filter(i=>!i.disabled);if(e.target&&n.includes(e.target)){const i=n.findIndex(s=>s===e.target),o=n[i];let r;["ArrowDown","ArrowRight"].includes(e.key)&&(r=i===n.length-1?n[0]:n[i+1]),["ArrowUp","ArrowLeft"].includes(e.key)&&(r=i===0?n[n.length-1]:n[i-1]),r&&n.includes(r)&&(r.setFocus(e),t||(this.value=r.value)),[" "].includes(e.key)&&(this.value=this.allowEmptySelection&&this.value!==void 0?void 0:o.value,e.preventDefault())}}render(){const{label:e,labelId:t,el:n,name:i,value:o}=this,r=oe(this);return $s(!0,n,i,o,!1),T(ce,{role:"radiogroup","aria-labelledby":e?t:null,onClick:this.onClick,class:r})}get el(){return this}static get watchers(){return{value:["valueChanged"]}}},[0,"ion-radio-group",{allowEmptySelection:[4,"allow-empty-selection"],name:[1],value:[1032]},[[4,"keydown","onKeydown"]]]);let Vv=0;function Nu(){if(typeof customElements>"u")return;["ion-radio-group"].forEach(t=>{switch(t){case"ion-radio-group":customElements.get(t)||customElements.define(t,Fv);break}})}/*!
88
+ */const ly=ce(class extends de{constructor(){super(),this.__registerHost(),this.ionChange=q(this,"ionChange",7),this.inputId=`ion-rg-${cy++}`,this.labelId=`${this.inputId}-lbl`,this.allowEmptySelection=!1,this.name=this.inputId,this.setRadioTabindex=e=>{const t=this.getRadios(),n=t.find(r=>!r.disabled),o=t.find(r=>r.value===e&&!r.disabled);if(!n&&!o)return;const i=o||n;for(const r of t){const s=r===i?0:-1;r.setButtonTabindex(s)}},this.onClick=e=>{e.preventDefault();const t=e.target&&e.target.closest("ion-radio");if(t){const n=this.value,o=t.value;o!==n?this.value=o:this.allowEmptySelection&&(this.value=void 0)}}}valueChanged(e){this.setRadioTabindex(e),this.ionChange.emit({value:e})}componentDidLoad(){this.setRadioTabindex(this.value)}async connectedCallback(){const e=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(e){const t=this.label=e.querySelector("ion-label");t&&(this.labelId=t.id=this.name+"-lbl")}}getRadios(){return Array.from(this.el.querySelectorAll("ion-radio"))}onKeydown(e){const t=!!this.el.closest("ion-select-popover");if(e.target&&!this.el.contains(e.target))return;const n=this.getRadios().filter(o=>!o.disabled);if(e.target&&n.includes(e.target)){const o=n.findIndex(s=>s===e.target),i=n[o];let r;["ArrowDown","ArrowRight"].includes(e.key)&&(r=o===n.length-1?n[0]:n[o+1]),["ArrowUp","ArrowLeft"].includes(e.key)&&(r=o===0?n[n.length-1]:n[o-1]),r&&n.includes(r)&&(r.setFocus(e),t||(this.value=r.value)),[" "].includes(e.key)&&(this.value=this.allowEmptySelection&&this.value!==void 0?void 0:i.value,e.preventDefault())}}render(){const{label:e,labelId:t,el:n,name:o,value:i}=this,r=te(this);return Hs(!0,n,o,i,!1),_(se,{role:"radiogroup","aria-labelledby":e?t:null,onClick:this.onClick,class:r})}get el(){return this}static get watchers(){return{value:["valueChanged"]}}},[0,"ion-radio-group",{allowEmptySelection:[4,"allow-empty-selection"],name:[1],value:[1032]},[[4,"keydown","onKeydown"]]]);let cy=0;function Wu(){if(typeof customElements>"u")return;["ion-radio-group"].forEach(t=>{switch(t){case"ion-radio-group":customElements.get(t)||customElements.define(t,ly);break}})}/*!
81
89
  * (C) Ionic http://ionicframework.com - MIT License
82
- */const ln=(e,t,n,i)=>{const o=Uv(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)}},Uv=e=>{if(qi===void 0)try{const t=Object.defineProperty({},"passive",{get:()=>{qi=!0}});e.addEventListener("optsTest",()=>{},t)}catch{qi=!1}return!!qi};let qi;const zv=2e3,Bv=(e,t,n,i,o)=>{let r,s,a,l,c,d,u,f=0;const b=v=>{f=Date.now()+zv,t(v)&&(!s&&n&&(s=ln(e,"touchmove",n,o)),a||(a=ln(v.target,"touchend",x,o)),l||(l=ln(v.target,"touchcancel",x,o)))},I=v=>{f>Date.now()||t(v)&&(!d&&n&&(d=ln(vl(e),"mousemove",n,o)),u||(u=ln(vl(e),"mouseup",O,o)))},x=v=>{g(),i&&i(v)},O=v=>{y(),i&&i(v)},g=()=>{s&&s(),a&&a(),l&&l(),s=a=l=void 0},y=()=>{d&&d(),u&&u(),d=u=void 0},S=()=>{g(),y()},k=(v=!0)=>{v?(r||(r=ln(e,"touchstart",b,o)),c||(c=ln(e,"mousedown",I,o))):(r&&r(),c&&c(),r=c=void 0,S())};return{enable:k,stop:S,destroy:()=>{k(!1),i=n=t=void 0}}},vl=e=>e instanceof Document?e:e.ownerDocument,Hv=(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,f){a=u,l=f,d=0,c=!0},detect(u,f){if(!c)return!1;const b=u-a,I=f-l,x=b*b+I*I;if(x<s)return!1;const O=Math.sqrt(x),g=(o?b:I)/O;return g>r?d=1:g<-r?d=-1:d=0,c=!1,!0},isGesture(){return d!==0},getDirection(){return d}}},Wv=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,f=r.threshold,b=r.passive,I=r.blurOnStart,x={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},O=Hv(r.direction,r.threshold,r.maxAngle),g=bu.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),y=z=>{const ne=Lu(z);return n||!i||(Du(z,x),x.startX=x.currentX,x.startY=x.currentY,x.startTime=x.currentTime=ne,x.velocityX=x.velocityY=x.deltaX=x.deltaY=0,x.event=z,s&&s(x)===!1)||(g.release(),!g.start())?!1:(n=!0,f===0?N():(O.start(x.startX,x.startY),!0))},S=z=>{if(t){!o&&i&&(o=!0,tr(x,z),requestAnimationFrame(k));return}tr(x,z),O.detect(x.currentX,x.currentY)&&(!O.isGesture()||!N())&&$()},k=()=>{t&&(o=!1,u&&u(x))},N=()=>g.capture()?(t=!0,i=!1,x.startX=x.currentX,x.startY=x.currentY,x.startTime=x.currentTime,a?a(x).then(w):w(),!0):!1,v=()=>{if(typeof document<"u"){const z=document.activeElement;z!=null&&z.blur&&z.blur()}},w=()=>{I&&v(),l&&l(x),i=!0},P=()=>{t=!1,n=!1,o=!1,i=!0,g.release()},A=z=>{const ne=t,ye=i;if(P(),!!ye){if(tr(x,z),ne){c&&c(x);return}d&&d(x)}},D=Bv(r.el,y,S,A,{capture:!1,passive:b}),$=()=>{P(),D.stop(),d&&d(x)};return{enable(z=!0){z||(t&&A(void 0),P()),D.enable(z)},destroy(){g.destroy(),D.destroy()}}},tr=(e,t)=>{if(!t)return;const n=e.currentX,i=e.currentY,o=e.currentTime;Du(t,e);const r=e.currentX,s=e.currentY,l=(e.currentTime=Lu(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},Du=(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},Lu=e=>e.timeStamp||Date.now();/*!
90
+ */const cn=(e,t,n,o)=>{const i=dy(e)?{capture:!!o.capture,passive:!!o.passive}:!!o.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,i),()=>{e[s](t,n,i)}},dy=e=>{if(Xo===void 0)try{const t=Object.defineProperty({},"passive",{get:()=>{Xo=!0}});e.addEventListener("optsTest",()=>{},t)}catch{Xo=!1}return!!Xo};let Xo;const uy=2e3,fy=(e,t,n,o,i)=>{let r,s,a,l,c,d,u,f=0;const b=v=>{f=Date.now()+uy,t(v)&&(!s&&n&&(s=cn(e,"touchmove",n,i)),a||(a=cn(v.target,"touchend",x,i)),l||(l=cn(v.target,"touchcancel",x,i)))},T=v=>{f>Date.now()||t(v)&&(!d&&n&&(d=cn(Nl(e),"mousemove",n,i)),u||(u=cn(Nl(e),"mouseup",C,i)))},x=v=>{p(),o&&o(v)},C=v=>{y(),o&&o(v)},p=()=>{s&&s(),a&&a(),l&&l(),s=a=l=void 0},y=()=>{d&&d(),u&&u(),d=u=void 0},S=()=>{p(),y()},k=(v=!0)=>{v?(r||(r=cn(e,"touchstart",b,i)),c||(c=cn(e,"mousedown",T,i))):(r&&r(),c&&c(),r=c=void 0,S())};return{enable:k,stop:S,destroy:()=>{k(!1),o=n=t=void 0}}},Nl=e=>e instanceof Document?e:e.ownerDocument,hy=(e,t,n)=>{const o=n*(Math.PI/180),i=e==="x",r=Math.cos(o),s=t*t;let a=0,l=0,c=!1,d=0;return{start(u,f){a=u,l=f,d=0,c=!0},detect(u,f){if(!c)return!1;const b=u-a,T=f-l,x=b*b+T*T;if(x<s)return!1;const C=Math.sqrt(x),p=(i?b:T)/C;return p>r?d=1:p<-r?d=-1:d=0,c=!1,!0},isGesture(){return d!==0},getDirection(){return d}}},my=e=>{let t=!1,n=!1,o=!0,i=!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,f=r.threshold,b=r.passive,T=r.blurOnStart,x={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},C=hy(r.direction,r.threshold,r.maxAngle),p=Nu.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),y=U=>{const oe=Gu(U);return n||!o||(Yu(U,x),x.startX=x.currentX,x.startY=x.currentY,x.startTime=x.currentTime=oe,x.velocityX=x.velocityY=x.deltaX=x.deltaY=0,x.event=U,s&&s(x)===!1)||(p.release(),!p.start())?!1:(n=!0,f===0?D():(C.start(x.startX,x.startY),!0))},S=U=>{if(t){!i&&o&&(i=!0,ir(x,U),requestAnimationFrame(k));return}ir(x,U),C.detect(x.currentX,x.currentY)&&(!C.isGesture()||!D())&&L()},k=()=>{t&&(i=!1,u&&u(x))},D=()=>p.capture()?(t=!0,o=!1,x.startX=x.currentX,x.startY=x.currentY,x.startTime=x.currentTime,a?a(x).then(w):w(),!0):!1,v=()=>{if(typeof document<"u"){const U=document.activeElement;U!=null&&U.blur&&U.blur()}},w=()=>{T&&v(),l&&l(x),o=!0},P=()=>{t=!1,n=!1,i=!1,o=!0,p.release()},A=U=>{const oe=t,ye=o;if(P(),!!ye){if(ir(x,U),oe){c&&c(x);return}d&&d(x)}},N=fy(r.el,y,S,A,{capture:!1,passive:b}),L=()=>{P(),N.stop(),d&&d(x)};return{enable(U=!0){U||(t&&A(void 0),P()),N.enable(U)},destroy(){p.destroy(),N.destroy()}}},ir=(e,t)=>{if(!t)return;const n=e.currentX,o=e.currentY,i=e.currentTime;Yu(t,e);const r=e.currentX,s=e.currentY,l=(e.currentTime=Gu(t))-i;if(l>0&&l<100){const c=(r-n)/l,d=(s-o)/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},Yu=(e,t)=>{let n=0,o=0;if(e){const i=e.changedTouches;if(i&&i.length>0){const r=i[0];n=r.clientX,o=r.clientY}else e.pageX!==void 0&&(n=e.pageX,o=e.pageY)}t.currentX=n,t.currentY=o},Gu=e=>e.timeStamp||Date.now();/*!
83
91
  * (C) Ionic http://ionicframework.com - MIT License
84
- */const $u=(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;po(()=>c.classList.add("ion-activated")),l()},s=(a=!1)=>{if(!n)return;const l=n;po(()=>l.classList.remove("ion-activated")),a&&i!==n&&n.click(),n=void 0};return Wv({el:e,gestureName:"buttonActiveDrag",threshold:0,onStart:a=>o(a.currentX,a.currentY,g0),onMove:a=>o(a.currentX,a.currentY,b0),onEnd:()=>{s(!0),v0(),i=void 0}})};/*!
92
+ */const qu=(e,t)=>{let n,o;const i=(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,o||(o=n);const c=n;bi(()=>c.classList.add("ion-activated")),l()},s=(a=!1)=>{if(!n)return;const l=n;bi(()=>l.classList.remove("ion-activated")),a&&o!==n&&n.click(),n=void 0};return my({el:e,gestureName:"buttonActiveDrag",threshold:0,onStart:a=>i(a.currentX,a.currentY,z0),onMove:a=>i(a.currentX,a.currentY,U0),onEnd:()=>{s(!0),B0(),o=void 0}})};/*!
85
93
  * (C) Ionic http://ionicframework.com - MIT License
86
- */const jv=e=>{const t=G(),n=G(),i=G();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])},Yv=e=>{const t=G(),n=G(),i=G();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])},Gv=e=>{const t=G(),n=G(),i=G();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])},qv=e=>{const t=G(),n=G(),i=G();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])},Kv='.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:100%;--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:100%}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color, #fff));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-400, #999999);text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:auto;margin-right:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:var(--ion-safe-area-bottom, 0)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-container.sc-ion-action-sheet-ios{padding-left:8px;padding-right:8px;padding-top:0;padding-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-container.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.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{padding-left:10px;padding-right:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, #999999));font-size:13px;font-weight:400;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-title.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:13px;font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{padding-left:18px;padding-right:18px;padding-top:18px;padding-bottom:18px;height:56px;font-size:20px;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:18px;padding-inline-start:18px;-webkit-padding-end:18px;padding-inline-end:18px}}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{margin-right:0.3em;font-size:28px;pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.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)}}',Xv='.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:100%;--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:100%}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, #262626);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{margin-left:auto;margin-right:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-title.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:16px;text-align:start}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-title.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:14px}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:0;position:relative;height:52px;font-size:16px;text-align:start;contain:strict;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-icon.sc-ion-action-sheet-md{margin-left:0;margin-right:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:24px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-icon.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px}}.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}',Zv=me(class extends pe{constructor(){super(),this.__registerHost(),this.didPresent=J(this,"ionActionSheetDidPresent",7),this.willPresent=J(this,"ionActionSheetWillPresent",7),this.willDismiss=J(this,"ionActionSheetWillDismiss",7),this.didDismiss=J(this,"ionActionSheetDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.buttons=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.onBackdropTap=()=>{this.dismiss(void 0,Gn)},this.dispatchCancelHandler=e=>{const t=e.detail.role;if(bo(t)){const n=this.getButtons().find(i=>i.role==="cancel");this.callButtonHandler(n)}}}present(){return zs(this,"actionSheetEnter",jv,Gv)}connectedCallback(){Us(this.el)}dismiss(e,t){return Bs(this,e,t,"actionSheetLeave",Yv,qv)}onDidDismiss(){return Yn(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return Yn(this.el,"ionActionSheetWillDismiss")}async buttonClick(e){const t=e.role;return bo(t)?this.dismiss(e.data,t):await this.callButtonHandler(e)?this.dismiss(e.data,e.role):Promise.resolve()}async callButtonHandler(e){return!(e&&await mi(e.handler)===!1)}getButtons(){return this.buttons.map(e=>typeof e=="string"?{text:e}:e)}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentDidLoad(){const{groupEl:e,wrapperEl:t}=this;this.gesture||oe(this)==="md"||!t||!e||ru(()=>{e.scrollHeight>e.clientHeight||(this.gesture=$u(t,i=>i.classList.contains("action-sheet-button")),this.gesture.enable(!0))})}render(){const{header:e,htmlAttributes:t,overlayIndex:n}=this,i=oe(this),o=this.getButtons(),r=o.find(l=>l.role==="cancel"),s=o.filter(l=>l.role!=="cancel"),a=`action-sheet-${n}-header`;return T(ce,Object.assign({role:"dialog","aria-modal":"true","aria-labelledby":e!==void 0?a:null,tabindex:"-1"},t,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({[i]:!0},bt(this.cssClass)),{"overlay-hidden":!0,"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),T("ion-backdrop",{tappable:this.backdropDismiss}),T("div",{tabindex:"0"}),T("div",{class:"action-sheet-wrapper ion-overlay-wrapper",ref:l=>this.wrapperEl=l},T("div",{class:"action-sheet-container"},T("div",{class:"action-sheet-group",ref:l=>this.groupEl=l},e!==void 0&&T("div",{id:a,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":this.subHeader!==void 0}},e,this.subHeader&&T("div",{class:"action-sheet-sub-title"},this.subHeader)),s.map(l=>T("button",{type:"button",id:l.id,class:yl(l),onClick:()=>this.buttonClick(l)},T("span",{class:"action-sheet-button-inner"},l.icon&&T("ion-icon",{icon:l.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),l.text),i==="md"&&T("ion-ripple-effect",null)))),r&&T("div",{class:"action-sheet-group action-sheet-group-cancel"},T("button",{type:"button",class:yl(r),onClick:()=>this.buttonClick(r)},T("span",{class:"action-sheet-button-inner"},r.icon&&T("ion-icon",{icon:r.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),r.text),i==="md"&&T("ion-ripple-effect",null))))),T("div",{tabindex:"0"}))}get el(){return this}static get style(){return{ios:Kv,md:Xv}}},[34,"ion-action-sheet",{overlayIndex:[2,"overlay-index"],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],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]}]),yl=e=>Object.assign({"action-sheet-button":!0,"ion-activatable":!0,"ion-focusable":!0,[`action-sheet-${e.role}`]:e.role!==void 0},bt(e.cssClass));function Jv(){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,Zv);break;case"ion-backdrop":customElements.get(t)||Ao();break;case"ion-icon":customElements.get(t)||Co();break;case"ion-ripple-effect":customElements.get(t)||ti();break}})}/*!
94
+ */const py=e=>{const t=G(),n=G(),o=G();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.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,o])},gy=e=>{const t=G(),n=G(),o=G();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.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,o])},by=e=>{const t=G(),n=G(),o=G();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.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,o])},vy=e=>{const t=G(),n=G(),o=G();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.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,o])},yy='.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:100%;--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:100%}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color, #fff));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-400, #999999);text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:auto;margin-right:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:var(--ion-safe-area-bottom, 0)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-container.sc-ion-action-sheet-ios{padding-left:8px;padding-right:8px;padding-top:0;padding-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-container.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.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{padding-left:10px;padding-right:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, #999999));font-size:13px;font-weight:400;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-title.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:13px;font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{padding-left:18px;padding-right:18px;padding-top:18px;padding-bottom:18px;height:56px;font-size:20px;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:18px;padding-inline-start:18px;-webkit-padding-end:18px;padding-inline-end:18px}}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{margin-right:0.3em;font-size:28px;pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.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)}}',wy='.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:100%;--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:100%}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, #262626);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{margin-left:auto;margin-right:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-title.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:16px;text-align:start}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-title.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:14px}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:0;position:relative;height:52px;font-size:16px;text-align:start;contain:strict;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-icon.sc-ion-action-sheet-md{margin-left:0;margin-right:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:24px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-icon.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px}}.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}',ky=ce(class extends de{constructor(){super(),this.__registerHost(),this.didPresent=q(this,"ionActionSheetDidPresent",7),this.willPresent=q(this,"ionActionSheetWillPresent",7),this.willDismiss=q(this,"ionActionSheetWillDismiss",7),this.didDismiss=q(this,"ionActionSheetDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.buttons=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.onBackdropTap=()=>{this.dismiss(void 0,Xn)},this.dispatchCancelHandler=e=>{const t=e.detail.role;if(yi(t)){const n=this.getButtons().find(o=>o.role==="cancel");this.callButtonHandler(n)}}}present(){return Zs(this,"actionSheetEnter",py,by)}connectedCallback(){Xs(this.el)}dismiss(e,t){return Js(this,e,t,"actionSheetLeave",gy,vy)}onDidDismiss(){return Kn(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return Kn(this.el,"ionActionSheetWillDismiss")}async buttonClick(e){const t=e.role;return yi(t)?this.dismiss(e.data,t):await this.callButtonHandler(e)?this.dismiss(e.data,e.role):Promise.resolve()}async callButtonHandler(e){return!(e&&await bo(e.handler)===!1)}getButtons(){return this.buttons.map(e=>typeof e=="string"?{text:e}:e)}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentDidLoad(){const{groupEl:e,wrapperEl:t}=this;this.gesture||te(this)==="md"||!t||!e||wu(()=>{e.scrollHeight>e.clientHeight||(this.gesture=qu(t,o=>o.classList.contains("action-sheet-button")),this.gesture.enable(!0))})}render(){const{header:e,htmlAttributes:t,overlayIndex:n}=this,o=te(this),i=this.getButtons(),r=i.find(l=>l.role==="cancel"),s=i.filter(l=>l.role!=="cancel"),a=`action-sheet-${n}-header`;return _(se,Object.assign({role:"dialog","aria-modal":"true","aria-labelledby":e!==void 0?a:null,tabindex:"-1"},t,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({[o]:!0},vt(this.cssClass)),{"overlay-hidden":!0,"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),_("ion-backdrop",{tappable:this.backdropDismiss}),_("div",{tabindex:"0"}),_("div",{class:"action-sheet-wrapper ion-overlay-wrapper",ref:l=>this.wrapperEl=l},_("div",{class:"action-sheet-container"},_("div",{class:"action-sheet-group",ref:l=>this.groupEl=l},e!==void 0&&_("div",{id:a,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":this.subHeader!==void 0}},e,this.subHeader&&_("div",{class:"action-sheet-sub-title"},this.subHeader)),s.map(l=>_("button",{type:"button",id:l.id,class:$l(l),onClick:()=>this.buttonClick(l)},_("span",{class:"action-sheet-button-inner"},l.icon&&_("ion-icon",{icon:l.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),l.text),o==="md"&&_("ion-ripple-effect",null)))),r&&_("div",{class:"action-sheet-group action-sheet-group-cancel"},_("button",{type:"button",class:$l(r),onClick:()=>this.buttonClick(r)},_("span",{class:"action-sheet-button-inner"},r.icon&&_("ion-icon",{icon:r.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),r.text),o==="md"&&_("ion-ripple-effect",null))))),_("div",{tabindex:"0"}))}get el(){return this}static get style(){return{ios:yy,md:wy}}},[34,"ion-action-sheet",{overlayIndex:[2,"overlay-index"],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],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]}]),$l=e=>Object.assign({"action-sheet-button":!0,"ion-activatable":!0,"ion-focusable":!0,[`action-sheet-${e.role}`]:e.role!==void 0},vt(e.cssClass));function xy(){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,ky);break;case"ion-backdrop":customElements.get(t)||$i();break;case"ion-icon":customElements.get(t)||Ni();break;case"ion-ripple-effect":customElements.get(t)||$n();break}})}/*!
87
95
  * (C) Ionic http://ionicframework.com - MIT License
88
- */const Qv=e=>{const t=G(),n=G(),i=G();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])},ey=e=>{const t=G(),n=G(),i=G();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])},ty=e=>{const t=G(),n=G(),i=G();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])},ny=e=>{const t=G(),n=G(),i=G();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])},iy=".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.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:strict}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:14px}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{padding-left:16px;padding-right:16px;padding-top:12px;padding-bottom:7px;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-head.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:17px;font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, #666666);font-size:14px}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:13px;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.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;padding-left:6px;padding-right: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}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-input.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px}}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{-ms-scroll-chaining:none;overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{height:44px}.alert-radio-label.sc-ion-alert-ios{padding-left:13px;padding-right:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;-ms-flex-order:0;order:0;color:var(--ion-text-color, #000);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-radio-label.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px}}[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{left:7px;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)}[dir=rtl].sc-ion-alert-ios [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,[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}.alert-checkbox-label.sc-ion-alert-ios{padding-left:13px;padding-right:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-text-color, #000);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-checkbox-label.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px}}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;margin-left:16px;margin-right:6px;margin-top:10px;margin-bottom:10px;position:relative;width:24px;height:24px;border-width:1px;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-checkbox-icon.sc-ion-alert-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px}}[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{left:9px;top:4px;position:absolute;width:5px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}[dir=rtl].sc-ion-alert-ios [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,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:9px}.alert-button-group.sc-ion-alert-ios{margin-right:-0.55px;-ms-flex-wrap:wrap;flex-wrap:wrap}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button-group.sc-ion-alert-ios{margin-right:unset;-webkit-margin-end:-0.55px;margin-inline-end:-0.55px}}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:44px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #3880ff);font-size:17px;overflow:hidden}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child,[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}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child,[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)}.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)}",oy=".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.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:strict}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:14px}.alert-wrapper.sc-ion-alert-md{border-radius:4px;-webkit-box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{padding-left:23px;padding-right:23px;padding-top:20px;padding-bottom:15px;text-align:start}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-head.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px}}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:20px;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:16px}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{padding-left:24px;padding-right:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, #737373)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px}}.alert-message.sc-ion-alert-md{max-height:266px;font-size:16px}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #3880ff)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;max-height:266px;border-top:1px solid var(--ion-color-step-150, #d9d9d9);border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);overflow:auto}.alert-tappable.sc-ion-alert-md{position:relative;height:48px;overflow:hidden}.alert-radio-label.sc-ion-alert-md{padding-left:52px;padding-right:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-radio-label.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px}}.alert-radio-icon.sc-ion-alert-md{left:26px;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)}[dir=rtl].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md,[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}.alert-radio-inner.sc-ion-alert-md{left:3px;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)}[dir=rtl].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md,[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}[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{padding-left:53px;padding-right:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-checkbox-label.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px}}.alert-checkbox-icon.sc-ion-alert-md{left:26px;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}[dir=rtl].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md,[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}[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{left:3px;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)}[dir=rtl].sc-ion-alert-md [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,[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}.alert-button-group.sc-ion-alert-md{padding-left:8px;padding-right: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}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button-group.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.alert-button.sc-ion-alert-md{border-radius:2px;margin-left:0;margin-right:8px;margin-top:0;margin-bottom:0;padding-left:10px;padding-right: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}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button.sc-ion-alert-md{margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}.alert-button-inner.sc-ion-alert-md{-ms-flex-pack:end;justify-content:flex-end}",ry=me(class extends pe{constructor(){super(),this.__registerHost(),this.didPresent=J(this,"ionAlertDidPresent",7),this.willPresent=J(this,"ionAlertWillPresent",7),this.willDismiss=J(this,"ionAlertWillDismiss",7),this.didDismiss=J(this,"ionAlertDidDismiss",7),this.customHTMLEnabled=ei.get("innerHTMLTemplatesEnabled",Tv),this.processedInputs=[],this.processedButtons=[],this.presented=!1,this.keyboardClose=!0,this.buttons=[],this.inputs=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.onBackdropTap=()=>{this.dismiss(void 0,Gn)},this.dispatchCancelHandler=e=>{const t=e.detail.role;if(bo(t)){const n=this.processedButtons.find(i=>i.role==="cancel");this.callButtonHandler(n)}}}onKeydown(e){if(!new Set(this.processedInputs.map(s=>s.type)).has("radio")||e.target&&!this.el.contains(e.target)||e.target.classList.contains("alert-button"))return;const n=this.el.querySelectorAll(".alert-radio"),i=Array.from(n).filter(s=>!s.disabled),o=i.findIndex(s=>s.id===e.target.id);let r;if(["ArrowDown","ArrowRight"].includes(e.key)&&(r=o===i.length-1?i[0]:i[o+1]),["ArrowUp","ArrowLeft"].includes(e.key)&&(r=o===0?i[i.length-1]:i[o-1]),r&&i.includes(r)){const s=this.processedInputs.find(a=>a.id===(r==null?void 0:r.id));s&&(this.rbClick(s),r.focus())}}buttonsChanged(){const e=this.buttons;this.processedButtons=e.map(t=>typeof t=="string"?{text:t,role:t.toLowerCase()==="cancel"?"cancel":void 0}:t)}inputsChanged(){const e=this.inputs,t=e.find(r=>!r.disabled),i=e.find(r=>r.checked&&!r.disabled)||t,o=new Set(e.map(r=>r.type));o.has("checkbox")&&o.has("radio")&&console.warn(`Alert cannot mix input types: ${Array.from(o.values()).join("/")}. Please see alert docs for more info.`),this.inputType=o.values().next().value,this.processedInputs=e.map((r,s)=>{var a;return{type:r.type||"text",name:r.name||`${s}`,placeholder:r.placeholder||"",value:r.value,label:r.label,checked:!!r.checked,disabled:!!r.disabled,id:r.id||`alert-input-${this.overlayIndex}-${s}`,handler:r.handler,min:r.min,max:r.max,cssClass:(a=r.cssClass)!==null&&a!==void 0?a:"",attributes:r.attributes||{},tabindex:r.type==="radio"&&r!==i?-1:0}})}connectedCallback(){Us(this.el)}componentWillLoad(){this.inputsChanged(),this.buttonsChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentDidLoad(){this.gesture||oe(this)==="md"||!this.wrapperEl||(this.gesture=$u(this.wrapperEl,e=>e.classList.contains("alert-button")),this.gesture.enable(!0))}present(){return zs(this,"alertEnter",Qv,ty)}dismiss(e,t){return Bs(this,e,t,"alertLeave",ey,ny)}onDidDismiss(){return Yn(this.el,"ionAlertDidDismiss")}onWillDismiss(){return Yn(this.el,"ionAlertWillDismiss")}rbClick(e){for(const t of this.processedInputs)t.checked=t===e,t.tabindex=t===e?0:-1;this.activeId=e.id,mi(e.handler,e),ho(this)}cbClick(e){e.checked=!e.checked,mi(e.handler,e),ho(this)}async buttonClick(e){const t=e.role,n=this.getValues();if(bo(t))return this.dismiss({values:n},t);const i=await this.callButtonHandler(e,n);return i!==!1?this.dismiss(Object.assign({values:n},i),e.role):!1}async callButtonHandler(e,t){if(e!=null&&e.handler){const n=await mi(e.handler,t);if(n===!1)return!1;if(typeof n=="object")return n}return{}}getValues(){if(this.processedInputs.length===0)return;if(this.inputType==="radio"){const t=this.processedInputs.find(n=>!!n.checked);return t?t.value:void 0}if(this.inputType==="checkbox")return this.processedInputs.filter(t=>t.checked).map(t=>t.value);const e={};return this.processedInputs.forEach(t=>{e[t.name]=t.value||""}),e}renderAlertInputs(){switch(this.inputType){case"checkbox":return this.renderCheckbox();case"radio":return this.renderRadio();default:return this.renderInput()}}renderCheckbox(){const e=this.processedInputs,t=oe(this);return e.length===0?null:T("div",{class:"alert-checkbox-group"},e.map(n=>T("button",{type:"button",onClick:()=>this.cbClick(n),"aria-checked":`${n.checked}`,id:n.id,disabled:n.disabled,tabIndex:n.tabindex,role:"checkbox",class:Object.assign(Object.assign({},bt(n.cssClass)),{"alert-tappable":!0,"alert-checkbox":!0,"alert-checkbox-button":!0,"ion-focusable":!0,"alert-checkbox-button-disabled":n.disabled||!1})},T("div",{class:"alert-button-inner"},T("div",{class:"alert-checkbox-icon"},T("div",{class:"alert-checkbox-inner"})),T("div",{class:"alert-checkbox-label"},n.label)),t==="md"&&T("ion-ripple-effect",null))))}renderRadio(){const e=this.processedInputs;return e.length===0?null:T("div",{class:"alert-radio-group",role:"radiogroup","aria-activedescendant":this.activeId},e.map(t=>T("button",{type:"button",onClick:()=>this.rbClick(t),"aria-checked":`${t.checked}`,disabled:t.disabled,id:t.id,tabIndex:t.tabindex,class:Object.assign(Object.assign({},bt(t.cssClass)),{"alert-radio-button":!0,"alert-tappable":!0,"alert-radio":!0,"ion-focusable":!0,"alert-radio-button-disabled":t.disabled||!1}),role:"radio"},T("div",{class:"alert-button-inner"},T("div",{class:"alert-radio-icon"},T("div",{class:"alert-radio-inner"})),T("div",{class:"alert-radio-label"},t.label)))))}renderInput(){const e=this.processedInputs;return e.length===0?null:T("div",{class:"alert-input-group"},e.map(t=>{var n,i,o,r;return t.type==="textarea"?T("div",{class:"alert-input-wrapper"},T("textarea",Object.assign({placeholder:t.placeholder,value:t.value,id:t.id,tabIndex:t.tabindex},t.attributes,{disabled:(i=(n=t.attributes)===null||n===void 0?void 0:n.disabled)!==null&&i!==void 0?i:t.disabled,class:wl(t),onInput:s=>{var a;t.value=s.target.value,!((a=t.attributes)===null||a===void 0)&&a.onInput&&t.attributes.onInput(s)}}))):T("div",{class:"alert-input-wrapper"},T("input",Object.assign({placeholder:t.placeholder,type:t.type,min:t.min,max:t.max,value:t.value,id:t.id,tabIndex:t.tabindex},t.attributes,{disabled:(r=(o=t.attributes)===null||o===void 0?void 0:o.disabled)!==null&&r!==void 0?r:t.disabled,class:wl(t),onInput:s=>{var a;t.value=s.target.value,!((a=t.attributes)===null||a===void 0)&&a.onInput&&t.attributes.onInput(s)}})))}))}renderAlertButtons(){const e=this.processedButtons,t=oe(this),n={"alert-button-group":!0,"alert-button-group-vertical":e.length>2};return T("div",{class:n},e.map(i=>T("button",{type:"button",id:i.id,class:sy(i),tabIndex:0,onClick:()=>this.buttonClick(i)},T("span",{class:"alert-button-inner"},i.text),t==="md"&&T("ion-ripple-effect",null))))}renderAlertMessage(e){const{customHTMLEnabled:t,message:n}=this;return t?T("div",{id:e,class:"alert-message",innerHTML:wv(n)}):T("div",{id:e,class:"alert-message"},n)}render(){const{overlayIndex:e,header:t,subHeader:n,message:i,htmlAttributes:o}=this,r=oe(this),s=`alert-${e}-hdr`,a=`alert-${e}-sub-hdr`,l=`alert-${e}-msg`,c=this.inputs.length>0||this.buttons.length>0?"alertdialog":"alert";return T(ce,Object.assign({role:c,"aria-modal":"true","aria-labelledby":t?s:n?a:null,"aria-describedby":i!==void 0?l:null,tabindex:"-1"},o,{style:{zIndex:`${2e4+e}`},class:Object.assign(Object.assign({},bt(this.cssClass)),{[r]:!0,"overlay-hidden":!0,"alert-translucent":this.translucent}),onIonAlertWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),T("ion-backdrop",{tappable:this.backdropDismiss}),T("div",{tabindex:"0"}),T("div",{class:"alert-wrapper ion-overlay-wrapper",ref:u=>this.wrapperEl=u},T("div",{class:"alert-head"},t&&T("h2",{id:s,class:"alert-title"},t),n&&T("h2",{id:a,class:"alert-sub-title"},n)),this.renderAlertMessage(l),this.renderAlertInputs(),this.renderAlertButtons()),T("div",{tabindex:"0"}))}get el(){return this}static get watchers(){return{buttons:["buttonsChanged"],inputs:["inputsChanged"]}}static get style(){return{ios:iy,md:oy}}},[34,"ion-alert",{overlayIndex:[2,"overlay-index"],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],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]},[[4,"keydown","onKeydown"]]]),wl=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},bt(e.cssClass)),bt(e.attributes?(i=e.attributes.class)===null||i===void 0?void 0:i.toString():""))},sy=e=>Object.assign({"alert-button":!0,"ion-focusable":!0,"ion-activatable":!0,[`alert-button-role-${e.role}`]:e.role!==void 0},bt(e.cssClass));function ay(){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,ry);break;case"ion-backdrop":customElements.get(t)||Ao();break;case"ion-ripple-effect":customElements.get(t)||ti();break}})}/*!
96
+ */const _y=e=>{const t=G(),n=G(),o=G();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.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,o])},Ey=e=>{const t=G(),n=G(),o=G();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.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,o])},Ty=e=>{const t=G(),n=G(),o=G();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.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,o])},Iy=e=>{const t=G(),n=G(),o=G();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(e.querySelector(".alert-wrapper")).fromTo("opacity",.99,0),t.addElement(e).easing("ease-in-out").duration(150).addAnimation([n,o])},Sy=".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.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:strict}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:14px}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{padding-left:16px;padding-right:16px;padding-top:12px;padding-bottom:7px;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-head.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:17px;font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, #666666);font-size:14px}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:13px;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.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;padding-left:6px;padding-right: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}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-input.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px}}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{-ms-scroll-chaining:none;overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{height:44px}.alert-radio-label.sc-ion-alert-ios{padding-left:13px;padding-right:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;-ms-flex-order:0;order:0;color:var(--ion-text-color, #000);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-radio-label.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px}}[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{left:7px;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)}[dir=rtl].sc-ion-alert-ios [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,[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}.alert-checkbox-label.sc-ion-alert-ios{padding-left:13px;padding-right:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-text-color, #000);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-checkbox-label.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px}}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;margin-left:16px;margin-right:6px;margin-top:10px;margin-bottom:10px;position:relative;width:24px;height:24px;border-width:1px;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-checkbox-icon.sc-ion-alert-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px}}[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{left:9px;top:4px;position:absolute;width:5px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}[dir=rtl].sc-ion-alert-ios [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,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:9px}.alert-button-group.sc-ion-alert-ios{margin-right:-0.55px;-ms-flex-wrap:wrap;flex-wrap:wrap}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button-group.sc-ion-alert-ios{margin-right:unset;-webkit-margin-end:-0.55px;margin-inline-end:-0.55px}}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:44px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #3880ff);font-size:17px;overflow:hidden}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child,[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}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child,[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)}.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)}",Cy=".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.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:strict}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:14px}.alert-wrapper.sc-ion-alert-md{border-radius:4px;-webkit-box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{padding-left:23px;padding-right:23px;padding-top:20px;padding-bottom:15px;text-align:start}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-head.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px}}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:20px;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:16px}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{padding-left:24px;padding-right:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, #737373)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px}}.alert-message.sc-ion-alert-md{max-height:266px;font-size:16px}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #3880ff)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;max-height:266px;border-top:1px solid var(--ion-color-step-150, #d9d9d9);border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);overflow:auto}.alert-tappable.sc-ion-alert-md{position:relative;height:48px;overflow:hidden}.alert-radio-label.sc-ion-alert-md{padding-left:52px;padding-right:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-radio-label.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px}}.alert-radio-icon.sc-ion-alert-md{left:26px;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)}[dir=rtl].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md,[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}.alert-radio-inner.sc-ion-alert-md{left:3px;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)}[dir=rtl].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md,[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}[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{padding-left:53px;padding-right:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-checkbox-label.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px}}.alert-checkbox-icon.sc-ion-alert-md{left:26px;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}[dir=rtl].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md,[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}[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{left:3px;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)}[dir=rtl].sc-ion-alert-md [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,[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}.alert-button-group.sc-ion-alert-md{padding-left:8px;padding-right: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}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button-group.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.alert-button.sc-ion-alert-md{border-radius:2px;margin-left:0;margin-right:8px;margin-top:0;margin-bottom:0;padding-left:10px;padding-right: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}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button.sc-ion-alert-md{margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}.alert-button-inner.sc-ion-alert-md{-ms-flex-pack:end;justify-content:flex-end}",Oy=ce(class extends de{constructor(){super(),this.__registerHost(),this.didPresent=q(this,"ionAlertDidPresent",7),this.willPresent=q(this,"ionAlertWillPresent",7),this.willDismiss=q(this,"ionAlertWillDismiss",7),this.didDismiss=q(this,"ionAlertDidDismiss",7),this.customHTMLEnabled=oo.get("innerHTMLTemplatesEnabled",Kv),this.processedInputs=[],this.processedButtons=[],this.presented=!1,this.keyboardClose=!0,this.buttons=[],this.inputs=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.onBackdropTap=()=>{this.dismiss(void 0,Xn)},this.dispatchCancelHandler=e=>{const t=e.detail.role;if(yi(t)){const n=this.processedButtons.find(o=>o.role==="cancel");this.callButtonHandler(n)}}}onKeydown(e){if(!new Set(this.processedInputs.map(s=>s.type)).has("radio")||e.target&&!this.el.contains(e.target)||e.target.classList.contains("alert-button"))return;const n=this.el.querySelectorAll(".alert-radio"),o=Array.from(n).filter(s=>!s.disabled),i=o.findIndex(s=>s.id===e.target.id);let r;if(["ArrowDown","ArrowRight"].includes(e.key)&&(r=i===o.length-1?o[0]:o[i+1]),["ArrowUp","ArrowLeft"].includes(e.key)&&(r=i===0?o[o.length-1]:o[i-1]),r&&o.includes(r)){const s=this.processedInputs.find(a=>a.id===(r==null?void 0:r.id));s&&(this.rbClick(s),r.focus())}}buttonsChanged(){const e=this.buttons;this.processedButtons=e.map(t=>typeof t=="string"?{text:t,role:t.toLowerCase()==="cancel"?"cancel":void 0}:t)}inputsChanged(){const e=this.inputs,t=e.find(r=>!r.disabled),o=e.find(r=>r.checked&&!r.disabled)||t,i=new Set(e.map(r=>r.type));i.has("checkbox")&&i.has("radio")&&console.warn(`Alert cannot mix input types: ${Array.from(i.values()).join("/")}. Please see alert docs for more info.`),this.inputType=i.values().next().value,this.processedInputs=e.map((r,s)=>{var a;return{type:r.type||"text",name:r.name||`${s}`,placeholder:r.placeholder||"",value:r.value,label:r.label,checked:!!r.checked,disabled:!!r.disabled,id:r.id||`alert-input-${this.overlayIndex}-${s}`,handler:r.handler,min:r.min,max:r.max,cssClass:(a=r.cssClass)!==null&&a!==void 0?a:"",attributes:r.attributes||{},tabindex:r.type==="radio"&&r!==o?-1:0}})}connectedCallback(){Xs(this.el)}componentWillLoad(){this.inputsChanged(),this.buttonsChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentDidLoad(){this.gesture||te(this)==="md"||!this.wrapperEl||(this.gesture=qu(this.wrapperEl,e=>e.classList.contains("alert-button")),this.gesture.enable(!0))}present(){return Zs(this,"alertEnter",_y,Ty)}dismiss(e,t){return Js(this,e,t,"alertLeave",Ey,Iy)}onDidDismiss(){return Kn(this.el,"ionAlertDidDismiss")}onWillDismiss(){return Kn(this.el,"ionAlertWillDismiss")}rbClick(e){for(const t of this.processedInputs)t.checked=t===e,t.tabindex=t===e?0:-1;this.activeId=e.id,bo(e.handler,e),pi(this)}cbClick(e){e.checked=!e.checked,bo(e.handler,e),pi(this)}async buttonClick(e){const t=e.role,n=this.getValues();if(yi(t))return this.dismiss({values:n},t);const o=await this.callButtonHandler(e,n);return o!==!1?this.dismiss(Object.assign({values:n},o),e.role):!1}async callButtonHandler(e,t){if(e!=null&&e.handler){const n=await bo(e.handler,t);if(n===!1)return!1;if(typeof n=="object")return n}return{}}getValues(){if(this.processedInputs.length===0)return;if(this.inputType==="radio"){const t=this.processedInputs.find(n=>!!n.checked);return t?t.value:void 0}if(this.inputType==="checkbox")return this.processedInputs.filter(t=>t.checked).map(t=>t.value);const e={};return this.processedInputs.forEach(t=>{e[t.name]=t.value||""}),e}renderAlertInputs(){switch(this.inputType){case"checkbox":return this.renderCheckbox();case"radio":return this.renderRadio();default:return this.renderInput()}}renderCheckbox(){const e=this.processedInputs,t=te(this);return e.length===0?null:_("div",{class:"alert-checkbox-group"},e.map(n=>_("button",{type:"button",onClick:()=>this.cbClick(n),"aria-checked":`${n.checked}`,id:n.id,disabled:n.disabled,tabIndex:n.tabindex,role:"checkbox",class:Object.assign(Object.assign({},vt(n.cssClass)),{"alert-tappable":!0,"alert-checkbox":!0,"alert-checkbox-button":!0,"ion-focusable":!0,"alert-checkbox-button-disabled":n.disabled||!1})},_("div",{class:"alert-button-inner"},_("div",{class:"alert-checkbox-icon"},_("div",{class:"alert-checkbox-inner"})),_("div",{class:"alert-checkbox-label"},n.label)),t==="md"&&_("ion-ripple-effect",null))))}renderRadio(){const e=this.processedInputs;return e.length===0?null:_("div",{class:"alert-radio-group",role:"radiogroup","aria-activedescendant":this.activeId},e.map(t=>_("button",{type:"button",onClick:()=>this.rbClick(t),"aria-checked":`${t.checked}`,disabled:t.disabled,id:t.id,tabIndex:t.tabindex,class:Object.assign(Object.assign({},vt(t.cssClass)),{"alert-radio-button":!0,"alert-tappable":!0,"alert-radio":!0,"ion-focusable":!0,"alert-radio-button-disabled":t.disabled||!1}),role:"radio"},_("div",{class:"alert-button-inner"},_("div",{class:"alert-radio-icon"},_("div",{class:"alert-radio-inner"})),_("div",{class:"alert-radio-label"},t.label)))))}renderInput(){const e=this.processedInputs;return e.length===0?null:_("div",{class:"alert-input-group"},e.map(t=>{var n,o,i,r;return t.type==="textarea"?_("div",{class:"alert-input-wrapper"},_("textarea",Object.assign({placeholder:t.placeholder,value:t.value,id:t.id,tabIndex:t.tabindex},t.attributes,{disabled:(o=(n=t.attributes)===null||n===void 0?void 0:n.disabled)!==null&&o!==void 0?o:t.disabled,class:Ll(t),onInput:s=>{var a;t.value=s.target.value,!((a=t.attributes)===null||a===void 0)&&a.onInput&&t.attributes.onInput(s)}}))):_("div",{class:"alert-input-wrapper"},_("input",Object.assign({placeholder:t.placeholder,type:t.type,min:t.min,max:t.max,value:t.value,id:t.id,tabIndex:t.tabindex},t.attributes,{disabled:(r=(i=t.attributes)===null||i===void 0?void 0:i.disabled)!==null&&r!==void 0?r:t.disabled,class:Ll(t),onInput:s=>{var a;t.value=s.target.value,!((a=t.attributes)===null||a===void 0)&&a.onInput&&t.attributes.onInput(s)}})))}))}renderAlertButtons(){const e=this.processedButtons,t=te(this),n={"alert-button-group":!0,"alert-button-group-vertical":e.length>2};return _("div",{class:n},e.map(o=>_("button",{type:"button",id:o.id,class:Ay(o),tabIndex:0,onClick:()=>this.buttonClick(o)},_("span",{class:"alert-button-inner"},o.text),t==="md"&&_("ion-ripple-effect",null))))}renderAlertMessage(e){const{customHTMLEnabled:t,message:n}=this;return t?_("div",{id:e,class:"alert-message",innerHTML:jv(n)}):_("div",{id:e,class:"alert-message"},n)}render(){const{overlayIndex:e,header:t,subHeader:n,message:o,htmlAttributes:i}=this,r=te(this),s=`alert-${e}-hdr`,a=`alert-${e}-sub-hdr`,l=`alert-${e}-msg`,c=this.inputs.length>0||this.buttons.length>0?"alertdialog":"alert";return _(se,Object.assign({role:c,"aria-modal":"true","aria-labelledby":t?s:n?a:null,"aria-describedby":o!==void 0?l:null,tabindex:"-1"},i,{style:{zIndex:`${2e4+e}`},class:Object.assign(Object.assign({},vt(this.cssClass)),{[r]:!0,"overlay-hidden":!0,"alert-translucent":this.translucent}),onIonAlertWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),_("ion-backdrop",{tappable:this.backdropDismiss}),_("div",{tabindex:"0"}),_("div",{class:"alert-wrapper ion-overlay-wrapper",ref:u=>this.wrapperEl=u},_("div",{class:"alert-head"},t&&_("h2",{id:s,class:"alert-title"},t),n&&_("h2",{id:a,class:"alert-sub-title"},n)),this.renderAlertMessage(l),this.renderAlertInputs(),this.renderAlertButtons()),_("div",{tabindex:"0"}))}get el(){return this}static get watchers(){return{buttons:["buttonsChanged"],inputs:["inputsChanged"]}}static get style(){return{ios:Sy,md:Cy}}},[34,"ion-alert",{overlayIndex:[2,"overlay-index"],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],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]},[[4,"keydown","onKeydown"]]]),Ll=e=>{var t,n,o;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},vt(e.cssClass)),vt(e.attributes?(o=e.attributes.class)===null||o===void 0?void 0:o.toString():""))},Ay=e=>Object.assign({"alert-button":!0,"ion-focusable":!0,"ion-activatable":!0,[`alert-button-role-${e.role}`]:e.role!==void 0},vt(e.cssClass));function Dy(){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,Oy);break;case"ion-backdrop":customElements.get(t)||$i();break;case"ion-ripple-effect":customElements.get(t)||$n();break}})}/*!
89
97
  * (C) Ionic http://ionicframework.com - MIT License
90
- */const ly=".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}",cy=".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{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)}",dy=me(class extends pe{constructor(){super(),this.__registerHost(),this.options=[]}onSelect(e){this.setChecked(e),this.callOptionHandler(e)}findOptionFromEvent(e){const{options:t}=this;return t.find(n=>n.value===e.target.value)}callOptionHandler(e){const t=this.findOptionFromEvent(e),n=this.getValues(e);t!=null&&t.handler&&mi(t.handler,n)}rbClick(e){this.callOptionHandler(e)}setChecked(e){const{multiple:t}=this,n=this.findOptionFromEvent(e);t&&n&&(n.checked=e.detail.checked)}getValues(e){const{multiple:t,options:n}=this;if(t)return n.filter(o=>o.checked).map(o=>o.value);const i=this.findOptionFromEvent(e);return i?i.value:void 0}renderOptions(e){const{multiple:t}=this;switch(t){case!0:return this.renderCheckboxOptions(e);default:return this.renderRadioOptions(e)}}renderCheckboxOptions(e){return e.map(t=>T("ion-item",{class:bt(t.cssClass)},T("ion-checkbox",{slot:"start",value:t.value,disabled:t.disabled,checked:t.checked}),T("ion-label",null,t.text)))}renderRadioOptions(e){const t=e.filter(n=>n.checked).map(n=>n.value)[0];return T("ion-radio-group",{value:t},e.map(n=>T("ion-item",{class:bt(n.cssClass)},T("ion-label",null,n.text),T("ion-radio",{value:n.value,disabled:n.disabled,onClick:i=>this.rbClick(i)}))))}render(){const{header:e,message:t,options:n,subHeader:i}=this,o=i!==void 0||t!==void 0;return T(ce,{class:oe(this)},T("ion-list",null,e!==void 0&&T("ion-list-header",null,e),o&&T("ion-item",null,T("ion-label",{class:"ion-text-wrap"},i!==void 0&&T("h3",null,i),t!==void 0&&T("p",null,t))),this.renderOptions(n)))}static get style(){return{ios:ly,md:cy}}},[34,"ion-select-popover",{header:[1],subHeader:[1,"sub-header"],message:[1],multiple:[4],options:[16]},[[0,"ionChange","onSelect"]]]);function uy(){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,dy);break;case"ion-checkbox":customElements.get(t)||yu();break;case"ion-icon":customElements.get(t)||Co();break;case"ion-item":customElements.get(t)||Ms();break;case"ion-label":customElements.get(t)||Rs();break;case"ion-list":customElements.get(t)||Ou();break;case"ion-list-header":customElements.get(t)||Cu();break;case"ion-note":customElements.get(t)||Ps();break;case"ion-radio":customElements.get(t)||Au();break;case"ion-radio-group":customElements.get(t)||Nu();break;case"ion-ripple-effect":customElements.get(t)||ti();break}})}/*!
98
+ */const Ny=".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}",$y=".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{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)}",Ly=ce(class extends de{constructor(){super(),this.__registerHost(),this.options=[]}onSelect(e){this.setChecked(e),this.callOptionHandler(e)}findOptionFromEvent(e){const{options:t}=this;return t.find(n=>n.value===e.target.value)}callOptionHandler(e){const t=this.findOptionFromEvent(e),n=this.getValues(e);t!=null&&t.handler&&bo(t.handler,n)}rbClick(e){this.callOptionHandler(e)}setChecked(e){const{multiple:t}=this,n=this.findOptionFromEvent(e);t&&n&&(n.checked=e.detail.checked)}getValues(e){const{multiple:t,options:n}=this;if(t)return n.filter(i=>i.checked).map(i=>i.value);const o=this.findOptionFromEvent(e);return o?o.value:void 0}renderOptions(e){const{multiple:t}=this;switch(t){case!0:return this.renderCheckboxOptions(e);default:return this.renderRadioOptions(e)}}renderCheckboxOptions(e){return e.map(t=>_("ion-item",{class:vt(t.cssClass)},_("ion-checkbox",{slot:"start",value:t.value,disabled:t.disabled,checked:t.checked}),_("ion-label",null,t.text)))}renderRadioOptions(e){const t=e.filter(n=>n.checked).map(n=>n.value)[0];return _("ion-radio-group",{value:t},e.map(n=>_("ion-item",{class:vt(n.cssClass)},_("ion-label",null,n.text),_("ion-radio",{value:n.value,disabled:n.disabled,onClick:o=>this.rbClick(o)}))))}render(){const{header:e,message:t,options:n,subHeader:o}=this,i=o!==void 0||t!==void 0;return _(se,{class:te(this)},_("ion-list",null,e!==void 0&&_("ion-list-header",null,e),i&&_("ion-item",null,_("ion-label",{class:"ion-text-wrap"},o!==void 0&&_("h3",null,o),t!==void 0&&_("p",null,t))),this.renderOptions(n)))}static get style(){return{ios:Ny,md:$y}}},[34,"ion-select-popover",{header:[1],subHeader:[1,"sub-header"],message:[1],multiple:[4],options:[16]},[[0,"ionChange","onSelect"]]]);function Py(){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,Ly);break;case"ion-checkbox":customElements.get(t)||$u();break;case"ion-icon":customElements.get(t)||Ni();break;case"ion-item":customElements.get(t)||Ys();break;case"ion-label":customElements.get(t)||Gs();break;case"ion-list":customElements.get(t)||Bu();break;case"ion-list-header":customElements.get(t)||Hu();break;case"ion-note":customElements.get(t)||Ws();break;case"ion-radio":customElements.get(t)||ju();break;case"ion-radio-group":customElements.get(t)||Wu();break;case"ion-ripple-effect":customElements.get(t)||$n();break}})}/*!
91
99
  * (C) Ionic http://ionicframework.com - MIT License
92
- */const fy=(e,t,n)=>{if(typeof MutationObserver>"u")return;const i=new MutationObserver(o=>{n(hy(o,t))});return i.observe(e,{childList:!0,subtree:!0}),i},hy=(e,t)=>{let n;return e.forEach(i=>{for(let o=0;o<i.addedNodes.length;o++)n=my(i.addedNodes[o],t)||n}),n},my=(e,t)=>e.nodeType!==1?void 0:(e.tagName===t.toUpperCase()?[e]:Array.from(e.querySelectorAll(t))).find(i=>i.value===e.value),py=":host{--placeholder-color:currentColor;--placeholder-opacity:0.33;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);white-space:nowrap;overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static;max-width:45%}:host(.select-disabled){opacity:0.4;pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}label{left:0;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}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}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{position:relative}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:currentColor;pointer-events:none}[dir=rtl] .select-icon-inner,:host-context([dir=rtl]) .select-icon-inner{left:unset;right:unset;right:5px}:host{--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:20px}.select-icon{width:12px;height:18px;opacity:0.33}",gy=":host{--placeholder-color:currentColor;--placeholder-opacity:0.33;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);white-space:nowrap;overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static;max-width:45%}:host(.select-disabled){opacity:0.4;pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}label{left:0;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}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}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{position:relative}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:currentColor;pointer-events:none}[dir=rtl] .select-icon-inner,:host-context([dir=rtl]) .select-icon-inner{left:unset;right:unset;right:5px}:host{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:16px}.select-icon{width:19px;height:19px;-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);opacity:0.55}: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) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host-context(.item-has-focus.item-label-stacked) .select-icon,:host-context(.item-has-focus.item-label-floating:not(.item-fill-outline)) .select-icon{-webkit-transform:translate3d(0, -9px, 0) rotate(180deg);transform:translate3d(0, -9px, 0) rotate(180deg)}:host-context(ion-item.ion-focused) .select-icon,:host-context(.item-has-focus) .select-icon{color:var(--highlight-color-focused);opacity:1}",by=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionChange=J(this,"ionChange",7),this.ionCancel=J(this,"ionCancel",7),this.ionDismiss=J(this,"ionDismiss",7),this.ionFocus=J(this,"ionFocus",7),this.ionBlur=J(this,"ionBlur",7),this.ionStyle=J(this,"ionStyle",7),this.inputId=`ion-sel-${wy++}`,this.didInit=!1,this.isExpanded=!1,this.disabled=!1,this.cancelText="Cancel",this.okText="OK",this.name=this.inputId,this.multiple=!1,this.interface="alert",this.interfaceOptions={},this.onClick=e=>{this.setFocus(),this.open(e)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()}}styleChanged(){this.emitStyle()}valueChanged(){this.emitStyle(),this.didInit&&this.ionChange.emit({value:this.value})}async connectedCallback(){this.updateOverlayOptions(),this.emitStyle(),this.mutationO=fy(this.el,"ion-select-option",async()=>{this.updateOverlayOptions(),ho(this)})}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentDidLoad(){this.didInit=!0}async open(e){if(this.disabled||this.isExpanded)return;this.isExpanded=!0;const t=this.overlay=await this.createOverlay(e);if(t.onDidDismiss().then(()=>{this.overlay=void 0,this.isExpanded=!1,this.ionDismiss.emit(),this.setFocus()}),await t.present(),this.interface==="popover"){let n=this.childOpts.map(o=>o.value).indexOf(this.value);n=n>-1?n:0;const i=t.querySelector(`.select-interface-option:nth-child(${n+1})`);if(i){hu(i);const o=i.querySelector("ion-radio, ion-checkbox");o&&o.focus()}}return t}createOverlay(e){let t=this.interface;return t==="action-sheet"&&this.multiple&&(console.warn(`Select interface cannot be "${t}" with a multi-value select. Using the "alert" interface instead.`),t="alert"),t==="popover"&&!e&&(console.warn(`Select interface cannot be a "${t}" without passing an event. Using the "alert" interface instead.`),t="alert"),t==="action-sheet"?this.openActionSheet():t==="popover"?this.openPopover(e):this.openAlert()}updateOverlayOptions(){const e=this.overlay;if(!e)return;const t=this.childOpts,n=this.value;switch(this.interface){case"action-sheet":e.buttons=this.createActionSheetButtons(t,n);break;case"popover":const i=e.querySelector("ion-select-popover");i&&(i.options=this.createPopoverOptions(t,n));break;case"alert":const o=this.multiple?"checkbox":"radio";e.inputs=this.createAlertInputs(t,o,n);break}}createActionSheetButtons(e,t){const n=e.map(i=>{const o=no(i),r=Array.from(i.classList).filter(a=>a!=="hydrated").join(" "),s=`${ir} ${r}`;return{role:nr(t,o,this.compareWith)?"selected":"",text:i.textContent,cssClass:s,handler:()=>{this.value=o}}});return n.push({text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}}),n}createAlertInputs(e,t,n){return e.map(o=>{const r=no(o),s=Array.from(o.classList).filter(l=>l!=="hydrated").join(" "),a=`${ir} ${s}`;return{type:t,cssClass:a,label:o.textContent||"",value:r,checked:nr(n,r,this.compareWith),disabled:o.disabled}})}createPopoverOptions(e,t){return e.map(i=>{const o=no(i),r=Array.from(i.classList).filter(a=>a!=="hydrated").join(" "),s=`${ir} ${r}`;return{text:i.textContent||"",cssClass:s,value:o,checked:nr(t,o,this.compareWith),disabled:i.disabled,handler:a=>{this.value=a,this.multiple||this.close()}}})}async openPopover(e){const t=this.interfaceOptions,n=oe(this),i=n!=="md",o=this.multiple,r=this.value;let s=e,a="auto";const l=this.el.closest("ion-item");l&&(l.classList.contains("item-label-floating")||l.classList.contains("item-label-stacked"))&&(s=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:l}}),a="cover");const c=Object.assign(Object.assign({mode:n,event:s,alignment:"center",size:a,showBackdrop:i},t),{component:"ion-select-popover",cssClass:["select-popover",t.cssClass],componentProps:{header:t.header,subHeader:t.subHeader,message:t.message,multiple:o,value:r,options:this.createPopoverOptions(this.childOpts,r)}});return T0.create(c)}async openActionSheet(){const e=oe(this),t=this.interfaceOptions,n=Object.assign(Object.assign({mode:e},t),{buttons:this.createActionSheetButtons(this.childOpts,this.value),cssClass:["select-action-sheet",t.cssClass]});return E0.create(n)}async openAlert(){const e=this.getLabel(),t=e?e.textContent:null,n=this.interfaceOptions,i=this.multiple?"checkbox":"radio",o=oe(this),r=Object.assign(Object.assign({mode:o},n),{header:n.header?n.header:t,inputs:this.createAlertInputs(this.childOpts,i,this.value),buttons:[{text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}},{text:this.okText,handler:s=>{this.value=s}}],cssClass:["select-alert",n.cssClass,this.multiple?"multiple-select-alert":"single-select-alert"]});return _0.create(r)}close(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}getLabel(){return fu(this.el)}hasValue(){return this.getText()!==""}get childOpts(){return Array.from(this.el.querySelectorAll("ion-select-option"))}getText(){const e=this.selectedText;return e!=null&&e!==""?e:yy(this.childOpts,this.value,this.compareWith)}setFocus(){this.focusEl&&this.focusEl.focus()}emitStyle(){this.ionStyle.emit({interactive:!0,"interactive-disabled":this.disabled,select:!0,"select-disabled":this.disabled,"has-placeholder":this.placeholder!==void 0,"has-value":this.hasValue(),"has-focus":this.isExpanded})}render(){const{disabled:e,el:t,inputId:n,isExpanded:i,name:o,placeholder:r,value:s}=this,a=oe(this),{labelText:l,labelId:c}=Ls(t,n);$s(!0,t,o,vy(s),e);const d=this.getText();let u=!1,f=d;f===""&&r!==void 0&&(f=r,u=!0);const b={"select-text":!0,"select-placeholder":u},I=u?"placeholder":"text",x=l!==void 0?f!==""?`${f}, ${l}`:l:f;return T(ce,{onClick:this.onClick,role:"button","aria-haspopup":"listbox","aria-disabled":e?"true":null,"aria-label":x,class:{[a]:!0,"in-item":Di("ion-item",t),"select-disabled":e,"select-expanded":i}},T("div",{"aria-hidden":"true",class:b,part:I},f),T("div",{class:"select-icon",role:"presentation",part:"icon"},T("div",{class:"select-icon-inner"})),T("label",{id:c},x),T("button",{type:"button",disabled:e,id:n,"aria-labelledby":c,"aria-haspopup":"listbox","aria-expanded":`${i}`,onFocus:this.onFocus,onBlur:this.onBlur,ref:O=>this.focusEl=O}))}get el(){return this}static get watchers(){return{disabled:["styleChanged"],placeholder:["styleChanged"],isExpanded:["styleChanged"],value:["valueChanged"]}}static get style(){return{ios:py,md:gy}}},[33,"ion-select",{disabled:[4],cancelText:[1,"cancel-text"],okText:[1,"ok-text"],placeholder:[1],name:[1],selectedText:[1,"selected-text"],multiple:[4],interface:[1],interfaceOptions:[8,"interface-options"],compareWith:[1,"compare-with"],value:[1032],isExpanded:[32],open:[64]}]),nr=(e,t,n)=>e===void 0?!1:Array.isArray(e)?e.some(i=>Hr(i,t,n)):Hr(e,t,n),no=e=>{const t=e.value;return t===void 0?e.textContent||"":t},vy=e=>{if(e!=null)return Array.isArray(e)?e.join(","):e.toString()},Hr=(e,t,n)=>typeof n=="function"?n(e,t):typeof n=="string"?e[n]===t[n]:Array.isArray(t)?t.includes(e):e===t,yy=(e,t,n)=>t===void 0?"":Array.isArray(t)?t.map(i=>kl(e,i,n)).filter(i=>i!==null).join(", "):kl(e,t,n)||"",kl=(e,t,n)=>{const i=e.find(o=>Hr(t,no(o),n));return i?i.textContent:null};let wy=0;const ir="select-interface-option";function ky(){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,by);break;case"ion-action-sheet":customElements.get(t)||Jv();break;case"ion-alert":customElements.get(t)||ay();break;case"ion-backdrop":customElements.get(t)||Ao();break;case"ion-checkbox":customElements.get(t)||yu();break;case"ion-icon":customElements.get(t)||Co();break;case"ion-item":customElements.get(t)||Ms();break;case"ion-label":customElements.get(t)||Rs();break;case"ion-list":customElements.get(t)||Ou();break;case"ion-list-header":customElements.get(t)||Cu();break;case"ion-note":customElements.get(t)||Ps();break;case"ion-popover":customElements.get(t)||vv();break;case"ion-radio":customElements.get(t)||Au();break;case"ion-radio-group":customElements.get(t)||Nu();break;case"ion-ripple-effect":customElements.get(t)||ti();break;case"ion-select-popover":customElements.get(t)||uy();break}})}const xy=ky;/*!
100
+ */const My=(e,t,n)=>{if(typeof MutationObserver>"u")return;const o=new MutationObserver(i=>{n(Ry(i,t))});return o.observe(e,{childList:!0,subtree:!0}),o},Ry=(e,t)=>{let n;return e.forEach(o=>{for(let i=0;i<o.addedNodes.length;i++)n=Fy(o.addedNodes[i],t)||n}),n},Fy=(e,t)=>e.nodeType!==1?void 0:(e.tagName===t.toUpperCase()?[e]:Array.from(e.querySelectorAll(t))).find(o=>o.value===e.value),Vy=":host{--placeholder-color:currentColor;--placeholder-opacity:0.33;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);white-space:nowrap;overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static;max-width:45%}:host(.select-disabled){opacity:0.4;pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}label{left:0;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}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}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{position:relative}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:currentColor;pointer-events:none}[dir=rtl] .select-icon-inner,:host-context([dir=rtl]) .select-icon-inner{left:unset;right:unset;right:5px}:host{--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:20px}.select-icon{width:12px;height:18px;opacity:0.33}",zy=":host{--placeholder-color:currentColor;--placeholder-opacity:0.33;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);white-space:nowrap;overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static;max-width:45%}:host(.select-disabled){opacity:0.4;pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}label{left:0;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}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}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{position:relative}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:currentColor;pointer-events:none}[dir=rtl] .select-icon-inner,:host-context([dir=rtl]) .select-icon-inner{left:unset;right:unset;right:5px}:host{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:16px}.select-icon{width:19px;height:19px;-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);opacity:0.55}: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) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host-context(.item-has-focus.item-label-stacked) .select-icon,:host-context(.item-has-focus.item-label-floating:not(.item-fill-outline)) .select-icon{-webkit-transform:translate3d(0, -9px, 0) rotate(180deg);transform:translate3d(0, -9px, 0) rotate(180deg)}:host-context(ion-item.ion-focused) .select-icon,:host-context(.item-has-focus) .select-icon{color:var(--highlight-color-focused);opacity:1}",Uy=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionChange=q(this,"ionChange",7),this.ionCancel=q(this,"ionCancel",7),this.ionDismiss=q(this,"ionDismiss",7),this.ionFocus=q(this,"ionFocus",7),this.ionBlur=q(this,"ionBlur",7),this.ionStyle=q(this,"ionStyle",7),this.inputId=`ion-sel-${jy++}`,this.didInit=!1,this.isExpanded=!1,this.disabled=!1,this.cancelText="Cancel",this.okText="OK",this.name=this.inputId,this.multiple=!1,this.interface="alert",this.interfaceOptions={},this.onClick=e=>{this.setFocus(),this.open(e)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()}}styleChanged(){this.emitStyle()}valueChanged(){this.emitStyle(),this.didInit&&this.ionChange.emit({value:this.value})}async connectedCallback(){this.updateOverlayOptions(),this.emitStyle(),this.mutationO=My(this.el,"ion-select-option",async()=>{this.updateOverlayOptions(),pi(this)})}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentDidLoad(){this.didInit=!0}async open(e){if(this.disabled||this.isExpanded)return;this.isExpanded=!0;const t=this.overlay=await this.createOverlay(e);if(t.onDidDismiss().then(()=>{this.overlay=void 0,this.isExpanded=!1,this.ionDismiss.emit(),this.setFocus()}),await t.present(),this.interface==="popover"){let n=this.childOpts.map(i=>i.value).indexOf(this.value);n=n>-1?n:0;const o=t.querySelector(`.select-interface-option:nth-child(${n+1})`);if(o){Cu(o);const i=o.querySelector("ion-radio, ion-checkbox");i&&i.focus()}}return t}createOverlay(e){let t=this.interface;return t==="action-sheet"&&this.multiple&&(console.warn(`Select interface cannot be "${t}" with a multi-value select. Using the "alert" interface instead.`),t="alert"),t==="popover"&&!e&&(console.warn(`Select interface cannot be a "${t}" without passing an event. Using the "alert" interface instead.`),t="alert"),t==="action-sheet"?this.openActionSheet():t==="popover"?this.openPopover(e):this.openAlert()}updateOverlayOptions(){const e=this.overlay;if(!e)return;const t=this.childOpts,n=this.value;switch(this.interface){case"action-sheet":e.buttons=this.createActionSheetButtons(t,n);break;case"popover":const o=e.querySelector("ion-select-popover");o&&(o.options=this.createPopoverOptions(t,n));break;case"alert":const i=this.multiple?"checkbox":"radio";e.inputs=this.createAlertInputs(t,i,n);break}}createActionSheetButtons(e,t){const n=e.map(o=>{const i=ri(o),r=Array.from(o.classList).filter(a=>a!=="hydrated").join(" "),s=`${sr} ${r}`;return{role:rr(t,i,this.compareWith)?"selected":"",text:o.textContent,cssClass:s,handler:()=>{this.value=i}}});return n.push({text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}}),n}createAlertInputs(e,t,n){return e.map(i=>{const r=ri(i),s=Array.from(i.classList).filter(l=>l!=="hydrated").join(" "),a=`${sr} ${s}`;return{type:t,cssClass:a,label:i.textContent||"",value:r,checked:rr(n,r,this.compareWith),disabled:i.disabled}})}createPopoverOptions(e,t){return e.map(o=>{const i=ri(o),r=Array.from(o.classList).filter(a=>a!=="hydrated").join(" "),s=`${sr} ${r}`;return{text:o.textContent||"",cssClass:s,value:i,checked:rr(t,i,this.compareWith),disabled:o.disabled,handler:a=>{this.value=a,this.multiple||this.close()}}})}async openPopover(e){const t=this.interfaceOptions,n=te(this),o=n!=="md",i=this.multiple,r=this.value;let s=e,a="auto";const l=this.el.closest("ion-item");l&&(l.classList.contains("item-label-floating")||l.classList.contains("item-label-stacked"))&&(s=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:l}}),a="cover");const c=Object.assign(Object.assign({mode:n,event:s,alignment:"center",size:a,showBackdrop:o},t),{component:"ion-select-popover",cssClass:["select-popover",t.cssClass],componentProps:{header:t.header,subHeader:t.subHeader,message:t.message,multiple:i,value:r,options:this.createPopoverOptions(this.childOpts,r)}});return K0.create(c)}async openActionSheet(){const e=te(this),t=this.interfaceOptions,n=Object.assign(Object.assign({mode:e},t),{buttons:this.createActionSheetButtons(this.childOpts,this.value),cssClass:["select-action-sheet",t.cssClass]});return q0.create(n)}async openAlert(){const e=this.getLabel(),t=e?e.textContent:null,n=this.interfaceOptions,o=this.multiple?"checkbox":"radio",i=te(this),r=Object.assign(Object.assign({mode:i},n),{header:n.header?n.header:t,inputs:this.createAlertInputs(this.childOpts,o,this.value),buttons:[{text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}},{text:this.okText,handler:s=>{this.value=s}}],cssClass:["select-alert",n.cssClass,this.multiple?"multiple-select-alert":"single-select-alert"]});return G0.create(r)}close(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}getLabel(){return Su(this.el)}hasValue(){return this.getText()!==""}get childOpts(){return Array.from(this.el.querySelectorAll("ion-select-option"))}getText(){const e=this.selectedText;return e!=null&&e!==""?e:Hy(this.childOpts,this.value,this.compareWith)}setFocus(){this.focusEl&&this.focusEl.focus()}emitStyle(){this.ionStyle.emit({interactive:!0,"interactive-disabled":this.disabled,select:!0,"select-disabled":this.disabled,"has-placeholder":this.placeholder!==void 0,"has-value":this.hasValue(),"has-focus":this.isExpanded})}render(){const{disabled:e,el:t,inputId:n,isExpanded:o,name:i,placeholder:r,value:s}=this,a=te(this),{labelText:l,labelId:c}=Bs(t,n);Hs(!0,t,i,By(s),e);const d=this.getText();let u=!1,f=d;f===""&&r!==void 0&&(f=r,u=!0);const b={"select-text":!0,"select-placeholder":u},T=u?"placeholder":"text",x=l!==void 0?f!==""?`${f}, ${l}`:l:f;return _(se,{onClick:this.onClick,role:"button","aria-haspopup":"listbox","aria-disabled":e?"true":null,"aria-label":x,class:{[a]:!0,"in-item":Zt("ion-item",t),"select-disabled":e,"select-expanded":o}},_("div",{"aria-hidden":"true",class:b,part:T},f),_("div",{class:"select-icon",role:"presentation",part:"icon"},_("div",{class:"select-icon-inner"})),_("label",{id:c},x),_("button",{type:"button",disabled:e,id:n,"aria-labelledby":c,"aria-haspopup":"listbox","aria-expanded":`${o}`,onFocus:this.onFocus,onBlur:this.onBlur,ref:C=>this.focusEl=C}))}get el(){return this}static get watchers(){return{disabled:["styleChanged"],placeholder:["styleChanged"],isExpanded:["styleChanged"],value:["valueChanged"]}}static get style(){return{ios:Vy,md:zy}}},[33,"ion-select",{disabled:[4],cancelText:[1,"cancel-text"],okText:[1,"ok-text"],placeholder:[1],name:[1],selectedText:[1,"selected-text"],multiple:[4],interface:[1],interfaceOptions:[8,"interface-options"],compareWith:[1,"compare-with"],value:[1032],isExpanded:[32],open:[64]}]),rr=(e,t,n)=>e===void 0?!1:Array.isArray(e)?e.some(o=>Xr(o,t,n)):Xr(e,t,n),ri=e=>{const t=e.value;return t===void 0?e.textContent||"":t},By=e=>{if(e!=null)return Array.isArray(e)?e.join(","):e.toString()},Xr=(e,t,n)=>typeof n=="function"?n(e,t):typeof n=="string"?e[n]===t[n]:Array.isArray(t)?t.includes(e):e===t,Hy=(e,t,n)=>t===void 0?"":Array.isArray(t)?t.map(o=>Pl(e,o,n)).filter(o=>o!==null).join(", "):Pl(e,t,n)||"",Pl=(e,t,n)=>{const o=e.find(i=>Xr(t,ri(i),n));return o?o.textContent:null};let jy=0;const sr="select-interface-option";function Wy(){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,Uy);break;case"ion-action-sheet":customElements.get(t)||xy();break;case"ion-alert":customElements.get(t)||Dy();break;case"ion-backdrop":customElements.get(t)||$i();break;case"ion-checkbox":customElements.get(t)||$u();break;case"ion-icon":customElements.get(t)||Ni();break;case"ion-item":customElements.get(t)||Ys();break;case"ion-label":customElements.get(t)||Gs();break;case"ion-list":customElements.get(t)||Bu();break;case"ion-list-header":customElements.get(t)||Hu();break;case"ion-note":customElements.get(t)||Ws();break;case"ion-popover":customElements.get(t)||Bv();break;case"ion-radio":customElements.get(t)||ju();break;case"ion-radio-group":customElements.get(t)||Wu();break;case"ion-ripple-effect":customElements.get(t)||$n();break;case"ion-select-popover":customElements.get(t)||Py();break}})}const Yy=Wy;/*!
93
101
  * (C) Ionic http://ionicframework.com - MIT License
94
- */const _y=":host{display:none}",Ey=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.inputId=`ion-selopt-${Ty++}`,this.disabled=!1}render(){return T(ce,{role:"option",id:this.inputId,class:oe(this)})}get el(){return this}static get style(){return _y}},[1,"ion-select-option",{disabled:[4],value:[8]}]);let Ty=0;function Iy(){if(typeof customElements>"u")return;["ion-select-option"].forEach(t=>{switch(t){case"ion-select-option":customElements.get(t)||customElements.define(t,Ey);break}})}const Sy=Iy;/*!
102
+ */const Gy=":host{display:none}",qy=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.inputId=`ion-selopt-${Ky++}`,this.disabled=!1}render(){return _(se,{role:"option",id:this.inputId,class:te(this)})}get el(){return this}static get style(){return Gy}},[1,"ion-select-option",{disabled:[4],value:[8]}]);let Ky=0;function Xy(){if(typeof customElements>"u")return;["ion-select-option"].forEach(t=>{switch(t){case"ion-select-option":customElements.get(t)||customElements.define(t,qy);break}})}const Zy=Xy;/*!
95
103
  * (C) Ionic http://ionicframework.com - MIT License
96
- */var xl;(function(e){e.Dark="DARK",e.Light="LIGHT",e.Default="DEFAULT"})(xl||(xl={}));/*!
104
+ */var Ml;(function(e){e.Dark="DARK",e.Light="LIGHT",e.Default="DEFAULT"})(Ml||(Ml={}));/*!
97
105
  * (C) Ionic http://ionicframework.com - MIT License
98
- */const Oy=":host{padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}: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-400, #999999));--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)}}",Cy=":host{padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}: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-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}",Ay=me(class extends pe{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabBarChanged=J(this,"ionTabBarChanged",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.translucent=!1}selectedTabChanged(){this.selectedTab!==void 0&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}connectedCallback(){this.keyboardCtrl=yv(e=>{this.keyboardVisible=e})}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}render(){const{color:e,translucent:t,keyboardVisible:n}=this,i=oe(this),o=n&&this.el.getAttribute("slot")!=="top";return T(ce,{role:"tablist","aria-hidden":o?"true":null,class:St(e,{[i]:!0,"tab-bar-translucent":t,"tab-bar-hidden":o})},T("slot",null))}get el(){return this}static get watchers(){return{selectedTab:["selectedTabChanged"]}}static get style(){return{ios:Oy,md:Cy}}},[33,"ion-tab-bar",{color:[513],selectedTab:[1,"selected-tab"],translucent:[4],keyboardVisible:[32]}]);function Ny(){if(typeof customElements>"u")return;["ion-tab-bar"].forEach(t=>{switch(t){case"ion-tab-bar":customElements.get(t)||customElements.define(t,Ay);break}})}const Dy=Ny,_l="update:modelValue",or="modelValue",Ly="routerLink",El="navManager",$y="router",Py="aria",Vn=Symbol(),rr={default:Vn},Tl=e=>(e==null?void 0:e.split(" "))||[],My=(e,t,n=[])=>{var i;return[...Array.from(((i=e.value)===null||i===void 0?void 0:i.classList)||[]),...n].filter((o,r,s)=>!t.has(o)&&s.indexOf(o)===r)},nn=(e,t,n=[],i,o,r)=>{t!==void 0&&t();const s=m.defineComponent((a,{attrs:l,slots:c,emit:d})=>{var u;let f=a[i];const b=m.ref(),I=new Set(Tl(l.class)),x=k=>{k.el&&(Array.isArray(o)?o:[o]).forEach(v=>{k.el.addEventListener(v.toLowerCase(),w=>{f=(w==null?void 0:w.target)[i],d(_l,f),r&&d(r,w)})})},O=m.getCurrentInstance(),y=((u=O==null?void 0:O.appContext)===null||u===void 0?void 0:u.provides[El])?m.inject(El):void 0,S=k=>{const{routerLink:N}=a;if(N!==Vn)if(y!==void 0){let v={event:k};for(const w in a){const P=a[w];a.hasOwnProperty(w)&&w.startsWith($y)&&P!==Vn&&(v[w]=P)}y.navigate(v)}else console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.")};return()=>{f=a[i],Tl(l.class).forEach(w=>{I.add(w)});const k=a.onClick,N=w=>{k!==void 0&&k(w),w.defaultPrevented||S(w)};let v={ref:b,class:My(b,I),onClick:N,onVnodeBeforeMount:o?x:void 0};for(const w in a){const P=a[w];(a.hasOwnProperty(w)&&P!==Vn||w.startsWith(Py))&&(v[w]=P)}return i&&(a[or]!==Vn?v=Object.assign(Object.assign({},v),{[i]:a[or]}):f!==Vn&&(v=Object.assign(Object.assign({},v),{[i]:f}))),m.h(e,v,c.default&&c.default())}});return s.displayName=e,s.props={[Ly]:rr},n.forEach(a=>{s.props[a]=rr}),i&&(s.props[or]=rr,s.emits=[_l,r]),s},Pu=nn("ion-card",zb,["color","button","type","disabled","download","href","rel","routerDirection","routerAnimation","target"]),Mu=nn("ion-card-content",Yb),Ru=nn("ion-card-header",Zb,["color","translucent"]),Fu=nn("ion-card-title",n0,["color"]),Wr=nn("ion-item",Iv,["color","button","detail","detailIcon","disabled","download","fill","shape","href","rel","lines","counter","routerAnimation","routerDirection","target","type","counterFormatter"]),jr=nn("ion-label",Sv,["color","position","ionColor","ionStyle"]),Yr=nn("ion-select",xy,["disabled","cancelText","okText","placeholder","name","selectedText","multiple","interface","interfaceOptions","compareWith","value","ionChange","ionCancel","ionDismiss","ionFocus","ionBlur","ionStyle"],"value","v-ion-change","ionChange"),io=nn("ion-select-option",Sy,["disabled","value"]);var Et;(function(e){e.WillEnter="onIonViewWillEnter",e.DidEnter="onIonViewDidEnter",e.WillLeave="onIonViewWillLeave",e.DidLeave="onIonViewDidLeave"})(Et||(Et={}));M0+"",Et.WillEnter,R0+"",Et.DidEnter,F0+"",Et.WillLeave,V0+"",Et.DidLeave;const Ry=(e,t,n)=>{if(n){const i=n,o=i.proxy[e]||(i.proxy[e]=[]);i.exposed&&(i.exposed[e]=o);const r=(...s)=>{if(!i.isUnmounted)return s?t(...s):t()};return o.push(r),r}else console.warn("[@ionic/vue]: Ionic Lifecycle Hooks can only be used during execution of setup().")},Do=e=>(t,n=m.getCurrentInstance())=>Ry(e,t,n);Do(Et.WillEnter);Do(Et.DidEnter);Do(Et.WillLeave);Do(Et.DidLeave);const Vu=e=>{var t;return((t=e.type)===null||t===void 0?void 0:t.name)==="IonTabButton"},Uu=e=>{let t=[];return e.forEach(n=>{if(Vu(n))t.push(n);else if(Array.isArray(n.children)&&n.children.length>1){const i=Uu(n.children);t=[...t,...i]}}),t};m.defineComponent({name:"IonTabBar",props:{_tabsWillChange:{type:Function,default:()=>{}},_tabsDidChange:{type:Function,default:()=>{}}},data(){return{tabState:{activeTab:void 0,tabs:{}},tabVnodes:[]}},updated(){this.setupTabState(m.inject("navManager"))},methods:{setupTabState(e){const t=this.$data.tabState,n=m.getCurrentInstance();(this.$data.tabVnodes=Uu(n.subTree.children||[])).forEach(o=>{t.tabs[o.props.tab]={originalHref:o.props.href,currentHref:o.props.href,ref:o},o.component.props._getTabState=()=>t}),this.checkActiveTab(e)},checkActiveTab(e){const t=e.getCurrentRouteInfo(),n=this.$data.tabVnodes,{tabs:i,activeTab:o}=this.$data.tabState,r=this.$data.tabState,a=Object.keys(i).find(u=>{const f=i[u].originalHref;return t.pathname.startsWith(f)});if(n.forEach(u=>{const f=i[u.props.tab];(!f||f.originalHref!==u.props.href)&&(i[u.props.tab]={originalHref:u.props.href,currentHref:u.props.href,ref:u})}),a&&o){const u=this.$data.tabState.tabs[o].currentHref;if(a!==o||u!==t.pathname){const f=t.search?`?${t.search}`:"";i[a]=Object.assign(Object.assign({},i[a]),{currentHref:t.pathname+f})}t.routerAction==="pop"&&a!==o&&(i[o]=Object.assign(Object.assign({},i[o]),{currentHref:i[o].originalHref}))}const l=n.find(u=>{var f;return Vu(u)&&((f=u.props)===null||f===void 0?void 0:f.tab)===a}),c=this.$refs.ionTabBar,d=a!==o;c&&(l?(d&&this.$props._tabsWillChange(a),e.handleSetCurrentTab(a),c.selectedTab=r.activeTab=a,d&&this.$props._tabsDidChange(a)):c.selectedTab=r.activeTab="")}},mounted(){const e=m.inject("navManager");this.setupTabState(e),e.registerHistoryChangeListener(()=>this.checkActiveTab(e))},setup(e,{slots:t}){return Dy(),()=>m.h("ion-tab-bar",{ref:"ionTabBar"},t.default&&t.default())}});m.shallowRef([]);const zu=m.defineComponent({__name:"ProductIdentifier",setup(e){const t=Wc(),n=exports.appContext.config.globalProperties.$store,i=m.computed(()=>n.getters["user/getCurrentEComStore"]),o=m.computed(()=>t.getProductIdentificationPref),r=t.getProductIdentificationOptions;m.onMounted(()=>{t.getIdentificationPref(i.value.productStoreId)});function s(a,l){t.setProductIdentificationPref(l,a,i.value.productStoreId)}return(a,l)=>(m.openBlock(),m.createBlock(m.unref(Pu),null,{default:m.withCtx(()=>[m.createVNode(m.unref(Ru),null,{default:m.withCtx(()=>[m.createVNode(m.unref(Fu),null,{default:m.withCtx(()=>[m.createTextVNode(m.toDisplayString("Product Identifier"))]),_:1})]),_:1}),m.createVNode(m.unref(Mu),null,{default:m.withCtx(()=>[m.createTextVNode(m.toDisplayString("Choosing a product identifier allows you to view products with your preferred identifiers."),1)]),_:1}),m.createVNode(m.unref(Wr),null,{default:m.withCtx(()=>[m.createVNode(m.unref(jr),null,{default:m.withCtx(()=>[m.createTextVNode(m.toDisplayString("Primary Product Identifier"))]),_:1}),m.createVNode(m.unref(Yr),{interface:"popover",placeholder:"primary identifier",value:o.value.primaryId,onIonChange:l[0]||(l[0]=c=>s(c.detail.value,"primaryId"))},{default:m.withCtx(()=>[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(m.unref(r),c=>(m.openBlock(),m.createBlock(m.unref(io),{key:c,value:c},{default:m.withCtx(()=>[m.createTextVNode(m.toDisplayString(c),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),m.createVNode(m.unref(Wr),null,{default:m.withCtx(()=>[m.createVNode(m.unref(jr),null,{default:m.withCtx(()=>[m.createTextVNode(m.toDisplayString("Secondary Product Identifier"))]),_:1}),m.createVNode(m.unref(Yr),{interface:"popover",placeholder:"secondary identifier",value:o.value.secondaryId,onIonChange:l[1]||(l[1]=c=>s(c.detail.value,"secondaryId"))},{default:m.withCtx(()=>[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(m.unref(r),c=>(m.openBlock(),m.createBlock(m.unref(io),{key:c,value:c},{default:m.withCtx(()=>[m.createTextVNode(m.toDisplayString(c),1)]),_:2},1032,["value"]))),128)),m.createVNode(m.unref(io),{value:""},{default:m.withCtx(()=>[m.createTextVNode(m.toDisplayString("None"))]),_:1})]),_:1},8,["value"])]),_:1})]),_:1}))}}),Ws=ys("user",{state:()=>({locale:"",localeOptions:process.env.VUE_APP_LOCALES?JSON.parse(process.env.VUE_APP_LOCALES):{en:"English"}}),getters:{getLocale:e=>e.locale,getLocaleOptions:e=>e.localeOptions},actions:{setLocale(e){exports.i18n.global.locale=e,this.locale=e}}}),Fy=m.defineComponent({__name:"LanguageSwitcher",setup(e){const t=Ws(),n=m.computed(()=>t.getLocaleOptions),i=m.computed(()=>t.getLocale),o=r=>{t.setLocale(r)};return(r,s)=>(m.openBlock(),m.createBlock(m.unref(Pu),null,{default:m.withCtx(()=>[m.createVNode(m.unref(Ru),null,{default:m.withCtx(()=>[m.createVNode(m.unref(Fu),null,{default:m.withCtx(()=>[m.createTextVNode(m.toDisplayString(r.$t("Language")),1)]),_:1})]),_:1}),m.createVNode(m.unref(Mu),null,{default:m.withCtx(()=>[m.createTextVNode(m.toDisplayString(r.$t("Select your preferred language.")),1)]),_:1}),m.createVNode(m.unref(Wr),{lines:"none"},{default:m.withCtx(()=>[m.createVNode(m.unref(jr),null,{default:m.withCtx(()=>[m.createTextVNode(m.toDisplayString(r.$t("Choose language")),1)]),_:1}),m.createVNode(m.unref(Yr),{interface:"popover",value:i.value,onIonChange:s[0]||(s[0]=a=>o(a.detail.value))},{default:m.withCtx(()=>[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(Object.keys(n.value),a=>(m.openBlock(),m.createBlock(m.unref(io),{key:a,value:a},{default:m.withCtx(()=>[m.createTextVNode(m.toDisplayString(n.value[a]),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1})]),_:1}))}});/**
106
+ */const Jy=":host{padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}: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-400, #999999));--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)}}",Qy=":host{padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}: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-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}",ew=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabBarChanged=q(this,"ionTabBarChanged",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.translucent=!1}selectedTabChanged(){this.selectedTab!==void 0&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}connectedCallback(){this.keyboardCtrl=Hv(e=>{this.keyboardVisible=e})}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}render(){const{color:e,translucent:t,keyboardVisible:n}=this,o=te(this),i=n&&this.el.getAttribute("slot")!=="top";return _(se,{role:"tablist","aria-hidden":i?"true":null,class:it(e,{[o]:!0,"tab-bar-translucent":t,"tab-bar-hidden":i})},_("slot",null))}get el(){return this}static get watchers(){return{selectedTab:["selectedTabChanged"]}}static get style(){return{ios:Jy,md:Qy}}},[33,"ion-tab-bar",{color:[513],selectedTab:[1,"selected-tab"],translucent:[4],keyboardVisible:[32]}]);function tw(){if(typeof customElements>"u")return;["ion-tab-bar"].forEach(t=>{switch(t){case"ion-tab-bar":customElements.get(t)||customElements.define(t,ew);break}})}const nw=tw;let ar;const ow=()=>{if(typeof window>"u")return new Map;if(!ar){const e=window;e.Ionicons=e.Ionicons||{},ar=e.Ionicons.map=e.Ionicons.map||new Map}return ar},iw=e=>{let t=lr(e.src);return t||(t=Ku(e.name,e.icon,e.mode,e.ios,e.md),t?rw(t):e.icon&&(t=lr(e.icon),t||(t=lr(e.icon[e.mode]),t))?t:null)},rw=e=>{const t=ow().get(e);return t||au(`svg/${e}.svg`)},Ku=(e,t,n,o,i)=>(n=(n&&Zo(n))==="ios"?"ios":"md",o&&n==="ios"?e=Zo(o):i&&n==="md"?e=Zo(i):(!e&&t&&!Xu(t)&&(e=t),wi(e)&&(e=Zo(e))),!wi(e)||e.trim()===""||e.replace(/[a-z]|-|\d/gi,"")!==""?null:e),lr=e=>wi(e)&&(e=e.trim(),Xu(e))?e:null,Xu=e=>e.length>0&&/(\/|\.)/.test(e),wi=e=>typeof e=="string",Zo=e=>e.toLowerCase(),sw=(e,t=[])=>{const n={};return t.forEach(o=>{e.hasAttribute(o)&&(e.getAttribute(o)!==null&&(n[o]=e.getAttribute(o)),e.removeAttribute(o))}),n},aw=e=>e&&e.dir!==""?e.dir.toLowerCase()==="rtl":(document==null?void 0:document.dir.toLowerCase())==="rtl",lw=e=>{const t=document.createElement("div");t.innerHTML=e;for(let o=t.childNodes.length-1;o>=0;o--)t.childNodes[o].nodeName.toLowerCase()!=="svg"&&t.removeChild(t.childNodes[o]);const n=t.firstElementChild;if(n&&n.nodeName.toLowerCase()==="svg"){const o=n.getAttribute("class")||"";if(n.setAttribute("class",(o+" s-ion-icon").trim()),Zu(n))return t.innerHTML}return""},Zu=e=>{if(e.nodeType===1){if(e.nodeName.toLowerCase()==="script")return!1;for(let t=0;t<e.attributes.length;t++){const n=e.attributes[t].name;if(wi(n)&&n.toLowerCase().indexOf("on")===0)return!1}for(let t=0;t<e.childNodes.length;t++)if(!Zu(e.childNodes[t]))return!1}return!0},cw=e=>e.startsWith("data:image/svg+xml"),dw=e=>e.indexOf(";utf8,")!==-1,pn=new Map,Rl=new Map;let cr;const uw=(e,t)=>{let n=Rl.get(e);if(!n)if(typeof fetch<"u"&&typeof document<"u")if(cw(e)&&dw(e)){cr||(cr=new DOMParser);const i=cr.parseFromString(e,"text/html").querySelector("svg");return i&&pn.set(e,i.outerHTML),Promise.resolve()}else n=fetch(e).then(o=>{if(o.ok)return o.text().then(i=>{i&&t!==!1&&(i=lw(i)),pn.set(e,i||"")});pn.set(e,"")}),Rl.set(e,n);else return pn.set(e,""),Promise.resolve();return n},fw=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}",hw=ce(class extends de{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.isVisible=!1,this.mode=mw(),this.lazy=!1,this.sanitize=!0,this.hasAriaHidden=()=>{const{el:e}=this;return e.hasAttribute("aria-hidden")&&e.getAttribute("aria-hidden")==="true"}}componentWillLoad(){this.inheritedAttributes=sw(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(e,t,n){if(this.lazy&&typeof window<"u"&&window.IntersectionObserver){const o=this.io=new window.IntersectionObserver(i=>{i[0].isIntersecting&&(o.disconnect(),this.io=void 0,n())},{rootMargin:t});o.observe(e)}else n()}loadIcon(){if(this.isVisible){const t=iw(this);t&&(pn.has(t)?this.svgContent=pn.get(t):uw(t,this.sanitize).then(()=>this.svgContent=pn.get(t)))}const e=this.iconName=Ku(this.name,this.icon,this.mode,this.ios,this.md);e&&(this.ariaLabel=e.replace(/\-/g," "))}render(){const{iconName:e,ariaLabel:t,el:n,inheritedAttributes:o}=this,i=this.mode||"md",r=this.flipRtl||e&&(e.indexOf("arrow")>-1||e.indexOf("chevron")>-1)&&this.flipRtl!==!1;return _(se,Object.assign({"aria-label":t!==void 0&&!this.hasAriaHidden()?t:null,role:"img",class:Object.assign(Object.assign({[i]:!0},pw(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":!!r&&aw(n)})},o),this.svgContent?_("div",{class:"icon-inner",innerHTML:this.svgContent}):_("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 fw}},[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],ariaLabel:[32]}]),mw=()=>typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",pw=e=>e?{"ion-color":!0,[`ion-color-${e}`]:!0}:null;function gw(){if(typeof customElements>"u")return;["ion-icon"].forEach(t=>{switch(t){case"ion-icon":customElements.get(t)||customElements.define(t,hw);break}})}const bw=gw,Fl="update:modelValue",dr="modelValue",vw="routerLink",Vl="navManager",yw="router",ww="aria",Bn=Symbol(),ur={default:Bn},zl=e=>(e==null?void 0:e.split(" "))||[],kw=(e,t,n=[])=>{var o;return[...Array.from(((o=e.value)===null||o===void 0?void 0:o.classList)||[]),...n].filter((i,r,s)=>!t.has(i)&&s.indexOf(i)===r)},Ot=(e,t,n=[],o,i,r)=>{t!==void 0&&t();const s=h.defineComponent((a,{attrs:l,slots:c,emit:d})=>{var u;let f=a[o];const b=h.ref(),T=new Set(zl(l.class)),x=k=>{k.el&&(Array.isArray(i)?i:[i]).forEach(v=>{k.el.addEventListener(v.toLowerCase(),w=>{f=(w==null?void 0:w.target)[o],d(Fl,f),r&&d(r,w)})})},C=h.getCurrentInstance(),y=((u=C==null?void 0:C.appContext)===null||u===void 0?void 0:u.provides[Vl])?h.inject(Vl):void 0,S=k=>{const{routerLink:D}=a;if(D!==Bn)if(y!==void 0){let v={event:k};for(const w in a){const P=a[w];a.hasOwnProperty(w)&&w.startsWith(yw)&&P!==Bn&&(v[w]=P)}y.navigate(v)}else console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.")};return()=>{f=a[o],zl(l.class).forEach(w=>{T.add(w)});const k=a.onClick,D=w=>{k!==void 0&&k(w),w.defaultPrevented||S(w)};let v={ref:b,class:kw(b,T),onClick:D,onVnodeBeforeMount:i?x:void 0};for(const w in a){const P=a[w];(a.hasOwnProperty(w)&&P!==Bn||w.startsWith(ww))&&(v[w]=P)}return o&&(a[dr]!==Bn?v=Object.assign(Object.assign({},v),{[o]:a[dr]}):f!==Bn&&(v=Object.assign(Object.assign({},v),{[o]:f}))),h.h(e,v,c.default&&c.default())}});return s.displayName=e,s.props={[vw]:ur},n.forEach(a=>{s.props[a]=ur}),o&&(s.props[dr]=ur,s.emits=[Fl,r]),s},xw=Ot("ion-button",t0,["color","buttonType","disabled","expand","fill","routerDirection","routerAnimation","download","href","rel","shape","size","strong","target","type","form","ionFocus","ionBlur"]),ea=Ot("ion-card",s0,["color","button","type","disabled","download","href","rel","routerDirection","routerAnimation","target"]),ta=Ot("ion-card-content",u0),na=Ot("ion-card-header",g0,["color","translucent"]),_w=Ot("ion-card-subtitle",k0,["color"]),oa=Ot("ion-card-title",I0,["color"]),Zr=Ot("ion-item",Xv,["color","button","detail","detailIcon","disabled","download","fill","shape","href","rel","lines","counter","routerAnimation","routerDirection","target","type","counterFormatter"]),Jr=Ot("ion-label",Zv,["color","position","ionColor","ionStyle"]),Qr=Ot("ion-select",Yy,["disabled","cancelText","okText","placeholder","name","selectedText","multiple","interface","interfaceOptions","compareWith","value","ionChange","ionCancel","ionDismiss","ionFocus","ionBlur","ionStyle"],"value","v-ion-change","ionChange"),si=Ot("ion-select-option",Zy,["disabled","value"]);var It;(function(e){e.WillEnter="onIonViewWillEnter",e.DidEnter="onIonViewDidEnter",e.WillLeave="onIonViewWillLeave",e.DidLeave="onIonViewDidLeave"})(It||(It={}));sv+"",It.WillEnter,av+"",It.DidEnter,lv+"",It.WillLeave,cv+"",It.DidLeave;const Ew=()=>{if(typeof window<"u"){const e=window.Ionic;if(e&&e.config)return e.config}return null},Tw=(e,t,n)=>{if(n){const o=n,i=o.proxy[e]||(o.proxy[e]=[]);o.exposed&&(o.exposed[e]=i);const r=(...s)=>{if(!o.isUnmounted)return s?t(...s):t()};return i.push(r),r}else console.warn("[@ionic/vue]: Ionic Lifecycle Hooks can only be used during execution of setup().")},Pi=e=>(t,n=h.getCurrentInstance())=>Tw(e,t,n);Pi(It.WillEnter);Pi(It.DidEnter);Pi(It.WillLeave);Pi(It.DidLeave);const Ju=e=>{var t;return((t=e.type)===null||t===void 0?void 0:t.name)==="IonTabButton"},Qu=e=>{let t=[];return e.forEach(n=>{if(Ju(n))t.push(n);else if(Array.isArray(n.children)&&n.children.length>1){const o=Qu(n.children);t=[...t,...o]}}),t};h.defineComponent({name:"IonTabBar",props:{_tabsWillChange:{type:Function,default:()=>{}},_tabsDidChange:{type:Function,default:()=>{}}},data(){return{tabState:{activeTab:void 0,tabs:{}},tabVnodes:[]}},updated(){this.setupTabState(h.inject("navManager"))},methods:{setupTabState(e){const t=this.$data.tabState,n=h.getCurrentInstance();(this.$data.tabVnodes=Qu(n.subTree.children||[])).forEach(i=>{t.tabs[i.props.tab]={originalHref:i.props.href,currentHref:i.props.href,ref:i},i.component.props._getTabState=()=>t}),this.checkActiveTab(e)},checkActiveTab(e){const t=e.getCurrentRouteInfo(),n=this.$data.tabVnodes,{tabs:o,activeTab:i}=this.$data.tabState,r=this.$data.tabState,a=Object.keys(o).find(u=>{const f=o[u].originalHref;return t.pathname.startsWith(f)});if(n.forEach(u=>{const f=o[u.props.tab];(!f||f.originalHref!==u.props.href)&&(o[u.props.tab]={originalHref:u.props.href,currentHref:u.props.href,ref:u})}),a&&i){const u=this.$data.tabState.tabs[i].currentHref;if(a!==i||u!==t.pathname){const f=t.search?`?${t.search}`:"";o[a]=Object.assign(Object.assign({},o[a]),{currentHref:t.pathname+f})}t.routerAction==="pop"&&a!==i&&(o[i]=Object.assign(Object.assign({},o[i]),{currentHref:o[i].originalHref}))}const l=n.find(u=>{var f;return Ju(u)&&((f=u.props)===null||f===void 0?void 0:f.tab)===a}),c=this.$refs.ionTabBar,d=a!==i;c&&(l?(d&&this.$props._tabsWillChange(a),e.handleSetCurrentTab(a),c.selectedTab=r.activeTab=a,d&&this.$props._tabsDidChange(a)):c.selectedTab=r.activeTab="")}},mounted(){const e=h.inject("navManager");this.setupTabState(e),e.registerHistoryChangeListener(()=>this.checkActiveTab(e))},setup(e,{slots:t}){return nw(),()=>h.h("ion-tab-bar",{ref:"ionTabBar"},t.default&&t.default())}});h.shallowRef([]);const Iw=h.defineComponent({name:"IonIcon",props:{color:String,flipRtl:Boolean,icon:String,ios:String,lazy:String,md:String,mode:String,name:String,size:String,src:String},setup(e,{slots:t}){return bw(),()=>{var n,o;const{icon:i,ios:r,md:s,mode:a}=e;let l;const c=Ew(),d=a||(c==null?void 0:c.get("mode"));return r||s?d==="ios"?l=(n=r??s)!==null&&n!==void 0?n:i:l=(o=s??r)!==null&&o!==void 0?o:i:l=i,h.h("ion-icon",Object.assign(Object.assign({},e),{icon:l}),t)}}}),ef=h.defineComponent({__name:"ProductIdentifier",setup(e){const t=rd(),n=exports.appContext.config.globalProperties.$store,o=h.computed(()=>n.getters["user/getCurrentEComStore"]),i=h.computed(()=>t.getProductIdentificationPref),r=t.getProductIdentificationOptions;h.onMounted(()=>{t.getIdentificationPref(o.value.productStoreId)});function s(a,l){t.setProductIdentificationPref(l,a,o.value.productStoreId)}return(a,l)=>(h.openBlock(),h.createBlock(h.unref(ea),null,{default:h.withCtx(()=>[h.createVNode(h.unref(na),null,{default:h.withCtx(()=>[h.createVNode(h.unref(oa),null,{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString("Product Identifier"))]),_:1})]),_:1}),h.createVNode(h.unref(ta),null,{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString("Choosing a product identifier allows you to view products with your preferred identifiers."),1)]),_:1}),h.createVNode(h.unref(Zr),null,{default:h.withCtx(()=>[h.createVNode(h.unref(Jr),null,{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString("Primary Product Identifier"))]),_:1}),h.createVNode(h.unref(Qr),{interface:"popover",placeholder:"primary identifier",value:i.value.primaryId,onIonChange:l[0]||(l[0]=c=>s(c.detail.value,"primaryId"))},{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(h.unref(r),c=>(h.openBlock(),h.createBlock(h.unref(si),{key:c,value:c},{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(c),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),h.createVNode(h.unref(Zr),null,{default:h.withCtx(()=>[h.createVNode(h.unref(Jr),null,{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString("Secondary Product Identifier"))]),_:1}),h.createVNode(h.unref(Qr),{interface:"popover",placeholder:"secondary identifier",value:i.value.secondaryId,onIonChange:l[1]||(l[1]=c=>s(c.detail.value,"secondaryId"))},{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(h.unref(r),c=>(h.openBlock(),h.createBlock(h.unref(si),{key:c,value:c},{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(c),1)]),_:2},1032,["value"]))),128)),h.createVNode(h.unref(si),{value:""},{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString("None"))]),_:1})]),_:1},8,["value"])]),_:1})]),_:1}))}}),ia=Is("user",{state:()=>({locale:"",localeOptions:process.env.VUE_APP_LOCALES?JSON.parse(process.env.VUE_APP_LOCALES):{en:"English"}}),getters:{getLocale:e=>e.locale,getLocaleOptions:e=>e.localeOptions},actions:{setLocale(e){exports.i18n.global.locale=e,this.locale=e}}}),Sw=h.defineComponent({__name:"LanguageSwitcher",setup(e){const t=ia(),n=h.computed(()=>t.getLocaleOptions),o=h.computed(()=>t.getLocale),i=r=>{t.setLocale(r)};return(r,s)=>(h.openBlock(),h.createBlock(h.unref(ea),null,{default:h.withCtx(()=>[h.createVNode(h.unref(na),null,{default:h.withCtx(()=>[h.createVNode(h.unref(oa),null,{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(r.$t("Language")),1)]),_:1})]),_:1}),h.createVNode(h.unref(ta),null,{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(r.$t("Select your preferred language.")),1)]),_:1}),h.createVNode(h.unref(Zr),{lines:"none"},{default:h.withCtx(()=>[h.createVNode(h.unref(Jr),null,{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(r.$t("Choose language")),1)]),_:1}),h.createVNode(h.unref(Qr),{interface:"popover",value:o.value,onIonChange:s[0]||(s[0]=a=>i(a.detail.value))},{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(Object.keys(n.value),a=>(h.openBlock(),h.createBlock(h.unref(si),{key:a,value:a},{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(n.value[a]),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1})]),_:1}))}}),tf=(e,t)=>{const n=(t.startsWith("http")?t.replace(/api\/?/,""):`https://${t}.hotwax.io/`)+`commerce/control/main?token=${e}`;window.open(n,"_blank","noopener, noreferrer")},Cw="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M384 224v184a40 40 0 01-40 40H104a40 40 0 01-40-40V168a40 40 0 0140-40h167.48M336 64h112v112M224 288L440 72' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",nf=h.defineComponent({__name:"OmsInstanceNavigator",setup(e){const t=$s(),n=h.computed(()=>t.getToken),o=h.computed(()=>t.getOms);return(i,r)=>(h.openBlock(),h.createBlock(h.unref(ea),null,{default:h.withCtx(()=>[h.createVNode(h.unref(na),null,{default:h.withCtx(()=>[h.createVNode(h.unref(_w),null,{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(i.$t("OMS instance")),1)]),_:1}),h.createVNode(h.unref(oa),null,{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(h.unref(t).getOms),1)]),_:1})]),_:1}),h.createVNode(h.unref(ta),null,{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(i.$t("This is the name of the OMS you are connected to right now. Make sure that you are connected to the right instance before proceeding.")),1)]),_:1}),h.createVNode(h.unref(xw),{onClick:r[0]||(r[0]=s=>h.unref(tf)(n.value.value,o.value)),fill:"clear"},{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(i.$t("Go to OMS"))+" ",1),h.createVNode(h.unref(Iw),{slot:"end",icon:h.unref(Cw)},null,8,["icon"])]),_:1})]),_:1}))}}),Ow=["src"],of=h.defineComponent({__name:"ShopifyImg",props:["src","size"],setup(e){const t=e,n=h.ref(Oa.defaultImgUrl),o=s=>new Promise((a,l)=>{const c=new Image;c.onload=()=>a(!0),c.onerror=()=>l(!1),c.src=s}),i=(s,a)=>a?s.replace(/_(pico|icon|thumb|small|compact|medium|large|grande|original|1024x1024|2048x2048|master)+\./g,".").replace(/\.jpg|\.png|\.gif|\.jpeg/g,function(l){return"_"+a+l}):s,r=()=>{if(t.src){const s=i(t.src,t.size);o(s).then(()=>n.value=s)}};return h.onMounted(()=>{r()}),h.onUpdated(()=>{r()}),(s,a)=>(h.openBlock(),h.createElementBlock("img",{src:n.value},null,8,Ow))}});/**
99
107
  * @license
100
108
  * Copyright 2017 Google LLC
101
109
  *
@@ -125,7 +133,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
125
133
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
126
134
  * See the License for the specific language governing permissions and
127
135
  * limitations under the License.
128
- */const Bu=function(e){const t=[];let n=0;for(let i=0;i<e.length;i++){let o=e.charCodeAt(i);o<128?t[n++]=o:o<2048?(t[n++]=o>>6|192,t[n++]=o&63|128):(o&64512)===55296&&i+1<e.length&&(e.charCodeAt(i+1)&64512)===56320?(o=65536+((o&1023)<<10)+(e.charCodeAt(++i)&1023),t[n++]=o>>18|240,t[n++]=o>>12&63|128,t[n++]=o>>6&63|128,t[n++]=o&63|128):(t[n++]=o>>12|224,t[n++]=o>>6&63|128,t[n++]=o&63|128)}return t},Vy=function(e){const t=[];let n=0,i=0;for(;n<e.length;){const o=e[n++];if(o<128)t[i++]=String.fromCharCode(o);else if(o>191&&o<224){const r=e[n++];t[i++]=String.fromCharCode((o&31)<<6|r&63)}else if(o>239&&o<365){const r=e[n++],s=e[n++],a=e[n++],l=((o&7)<<18|(r&63)<<12|(s&63)<<6|a&63)-65536;t[i++]=String.fromCharCode(55296+(l>>10)),t[i++]=String.fromCharCode(56320+(l&1023))}else{const r=e[n++],s=e[n++];t[i++]=String.fromCharCode((o&15)<<12|(r&63)<<6|s&63)}}return t.join("")},Hu={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,i=[];for(let o=0;o<e.length;o+=3){const r=e[o],s=o+1<e.length,a=s?e[o+1]:0,l=o+2<e.length,c=l?e[o+2]:0,d=r>>2,u=(r&3)<<4|a>>4;let f=(a&15)<<2|c>>6,b=c&63;l||(b=64,s||(f=64)),i.push(n[d],n[u],n[f],n[b])}return i.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(Bu(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):Vy(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,i=[];for(let o=0;o<e.length;){const r=n[e.charAt(o++)],a=o<e.length?n[e.charAt(o)]:0;++o;const c=o<e.length?n[e.charAt(o)]:64;++o;const u=o<e.length?n[e.charAt(o)]:64;if(++o,r==null||a==null||c==null||u==null)throw new Uy;const f=r<<2|a>>4;if(i.push(f),c!==64){const b=a<<4&240|c>>2;if(i.push(b),u!==64){const I=c<<6&192|u;i.push(I)}}}return i},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class Uy extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const zy=function(e){const t=Bu(e);return Hu.encodeByteArray(t,!0)},Wu=function(e){return zy(e).replace(/\./g,"")},By=function(e){try{return Hu.decodeString(e,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};/**
136
+ */const rf=function(e){const t=[];let n=0;for(let o=0;o<e.length;o++){let i=e.charCodeAt(o);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=i&63|128):(i&64512)===55296&&o+1<e.length&&(e.charCodeAt(o+1)&64512)===56320?(i=65536+((i&1023)<<10)+(e.charCodeAt(++o)&1023),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=i&63|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=i&63|128)}return t},Aw=function(e){const t=[];let n=0,o=0;for(;n<e.length;){const i=e[n++];if(i<128)t[o++]=String.fromCharCode(i);else if(i>191&&i<224){const r=e[n++];t[o++]=String.fromCharCode((i&31)<<6|r&63)}else if(i>239&&i<365){const r=e[n++],s=e[n++],a=e[n++],l=((i&7)<<18|(r&63)<<12|(s&63)<<6|a&63)-65536;t[o++]=String.fromCharCode(55296+(l>>10)),t[o++]=String.fromCharCode(56320+(l&1023))}else{const r=e[n++],s=e[n++];t[o++]=String.fromCharCode((i&15)<<12|(r&63)<<6|s&63)}}return t.join("")},sf={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,o=[];for(let i=0;i<e.length;i+=3){const r=e[i],s=i+1<e.length,a=s?e[i+1]:0,l=i+2<e.length,c=l?e[i+2]:0,d=r>>2,u=(r&3)<<4|a>>4;let f=(a&15)<<2|c>>6,b=c&63;l||(b=64,s||(f=64)),o.push(n[d],n[u],n[f],n[b])}return o.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(rf(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):Aw(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,o=[];for(let i=0;i<e.length;){const r=n[e.charAt(i++)],a=i<e.length?n[e.charAt(i)]:0;++i;const c=i<e.length?n[e.charAt(i)]:64;++i;const u=i<e.length?n[e.charAt(i)]:64;if(++i,r==null||a==null||c==null||u==null)throw new Dw;const f=r<<2|a>>4;if(o.push(f),c!==64){const b=a<<4&240|c>>2;if(o.push(b),u!==64){const T=c<<6&192|u;o.push(T)}}}return o},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class Dw extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const Nw=function(e){const t=rf(e);return sf.encodeByteArray(t,!0)},af=function(e){return Nw(e).replace(/\./g,"")},$w=function(e){try{return sf.decodeString(e,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};/**
129
137
  * @license
130
138
  * Copyright 2022 Google LLC
131
139
  *
@@ -140,7 +148,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
140
148
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
141
149
  * See the License for the specific language governing permissions and
142
150
  * limitations under the License.
143
- */function Hy(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}/**
151
+ */function Lw(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}/**
144
152
  * @license
145
153
  * Copyright 2022 Google LLC
146
154
  *
@@ -155,7 +163,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
155
163
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
156
164
  * See the License for the specific language governing permissions and
157
165
  * limitations under the License.
158
- */const Wy=()=>Hy().__FIREBASE_DEFAULTS__,jy=()=>{if(typeof process>"u"||typeof process.env>"u")return;const e=process.env.__FIREBASE_DEFAULTS__;if(e)return JSON.parse(e)},Yy=()=>{if(typeof document>"u")return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const t=e&&By(e[1]);return t&&JSON.parse(t)},Gy=()=>{try{return Wy()||jy()||Yy()}catch(e){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);return}},ju=()=>{var e;return(e=Gy())===null||e===void 0?void 0:e.config};/**
166
+ */const Pw=()=>Lw().__FIREBASE_DEFAULTS__,Mw=()=>{if(typeof process>"u"||typeof process.env>"u")return;const e=process.env.__FIREBASE_DEFAULTS__;if(e)return JSON.parse(e)},Rw=()=>{if(typeof document>"u")return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const t=e&&$w(e[1]);return t&&JSON.parse(t)},Fw=()=>{try{return Pw()||Mw()||Rw()}catch(e){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);return}},lf=()=>{var e;return(e=Fw())===null||e===void 0?void 0:e.config};/**
159
167
  * @license
160
168
  * Copyright 2017 Google LLC
161
169
  *
@@ -170,7 +178,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
170
178
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
171
179
  * See the License for the specific language governing permissions and
172
180
  * limitations under the License.
173
- */class qy{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}wrapCallback(t){return(n,i)=>{n?this.reject(n):this.resolve(i),typeof t=="function"&&(this.promise.catch(()=>{}),t.length===1?t(n):t(n,i))}}}function Yu(){try{return typeof indexedDB=="object"}catch{return!1}}function Gu(){return new Promise((e,t)=>{try{let n=!0;const i="validate-browser-context-for-indexeddb-analytics-module",o=self.indexedDB.open(i);o.onsuccess=()=>{o.result.close(),n||self.indexedDB.deleteDatabase(i),e(!0)},o.onupgradeneeded=()=>{n=!1},o.onerror=()=>{var r;t(((r=o.error)===null||r===void 0?void 0:r.message)||"")}}catch(n){t(n)}})}function Ky(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}/**
181
+ */class Vw{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}wrapCallback(t){return(n,o)=>{n?this.reject(n):this.resolve(o),typeof t=="function"&&(this.promise.catch(()=>{}),t.length===1?t(n):t(n,o))}}}function cf(){try{return typeof indexedDB=="object"}catch{return!1}}function df(){return new Promise((e,t)=>{try{let n=!0;const o="validate-browser-context-for-indexeddb-analytics-module",i=self.indexedDB.open(o);i.onsuccess=()=>{i.result.close(),n||self.indexedDB.deleteDatabase(o),e(!0)},i.onupgradeneeded=()=>{n=!1},i.onerror=()=>{var r;t(((r=i.error)===null||r===void 0?void 0:r.message)||"")}}catch(n){t(n)}})}function zw(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}/**
174
182
  * @license
175
183
  * Copyright 2017 Google LLC
176
184
  *
@@ -185,7 +193,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
185
193
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
186
194
  * See the License for the specific language governing permissions and
187
195
  * limitations under the License.
188
- */const Xy="FirebaseError";class ni extends Error{constructor(t,n,i){super(n),this.code=t,this.customData=i,this.name=Xy,Object.setPrototypeOf(this,ni.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Lo.prototype.create)}}class Lo{constructor(t,n,i){this.service=t,this.serviceName=n,this.errors=i}create(t,...n){const i=n[0]||{},o=`${this.service}/${t}`,r=this.errors[t],s=r?Zy(r,i):"Error",a=`${this.serviceName}: ${s} (${o}).`;return new ni(o,a,i)}}function Zy(e,t){return e.replace(Jy,(n,i)=>{const o=t[i];return o!=null?String(o):`<${i}?>`})}const Jy=/\{\$([^}]+)}/g;function Gr(e,t){if(e===t)return!0;const n=Object.keys(e),i=Object.keys(t);for(const o of n){if(!i.includes(o))return!1;const r=e[o],s=t[o];if(Il(r)&&Il(s)){if(!Gr(r,s))return!1}else if(r!==s)return!1}for(const o of i)if(!n.includes(o))return!1;return!0}function Il(e){return e!==null&&typeof e=="object"}/**
196
+ */const Uw="FirebaseError";class io extends Error{constructor(t,n,o){super(n),this.code=t,this.customData=o,this.name=Uw,Object.setPrototypeOf(this,io.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Mi.prototype.create)}}class Mi{constructor(t,n,o){this.service=t,this.serviceName=n,this.errors=o}create(t,...n){const o=n[0]||{},i=`${this.service}/${t}`,r=this.errors[t],s=r?Bw(r,o):"Error",a=`${this.serviceName}: ${s} (${i}).`;return new io(i,a,o)}}function Bw(e,t){return e.replace(Hw,(n,o)=>{const i=t[o];return i!=null?String(i):`<${o}?>`})}const Hw=/\{\$([^}]+)}/g;function es(e,t){if(e===t)return!0;const n=Object.keys(e),o=Object.keys(t);for(const i of n){if(!o.includes(i))return!1;const r=e[i],s=t[i];if(Ul(r)&&Ul(s)){if(!es(r,s))return!1}else if(r!==s)return!1}for(const i of o)if(!n.includes(i))return!1;return!0}function Ul(e){return e!==null&&typeof e=="object"}/**
189
197
  * @license
190
198
  * Copyright 2021 Google LLC
191
199
  *
@@ -200,7 +208,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
200
208
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
209
  * See the License for the specific language governing permissions and
202
210
  * limitations under the License.
203
- */function js(e){return e&&e._delegate?e._delegate:e}class en{constructor(t,n,i){this.name=t,this.instanceFactory=n,this.type=i,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}/**
211
+ */function ra(e){return e&&e._delegate?e._delegate:e}class nn{constructor(t,n,o){this.name=t,this.instanceFactory=n,this.type=o,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}/**
204
212
  * @license
205
213
  * Copyright 2019 Google LLC
206
214
  *
@@ -215,7 +223,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
215
223
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
216
224
  * See the License for the specific language governing permissions and
217
225
  * limitations under the License.
218
- */const dn="[DEFAULT]";/**
226
+ */const un="[DEFAULT]";/**
219
227
  * @license
220
228
  * Copyright 2019 Google LLC
221
229
  *
@@ -230,7 +238,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
230
238
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
231
239
  * See the License for the specific language governing permissions and
232
240
  * limitations under the License.
233
- */class Qy{constructor(t,n){this.name=t,this.container=n,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){const n=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(n)){const i=new qy;if(this.instancesDeferred.set(n,i),this.isInitialized(n)||this.shouldAutoInitialize())try{const o=this.getOrInitializeService({instanceIdentifier:n});o&&i.resolve(o)}catch{}}return this.instancesDeferred.get(n).promise}getImmediate(t){var n;const i=this.normalizeInstanceIdentifier(t==null?void 0:t.identifier),o=(n=t==null?void 0:t.optional)!==null&&n!==void 0?n:!1;if(this.isInitialized(i)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:i})}catch(r){if(o)return null;throw r}else{if(o)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,!!this.shouldAutoInitialize()){if(tw(t))try{this.getOrInitializeService({instanceIdentifier:dn})}catch{}for(const[n,i]of this.instancesDeferred.entries()){const o=this.normalizeInstanceIdentifier(n);try{const r=this.getOrInitializeService({instanceIdentifier:o});i.resolve(r)}catch{}}}}clearInstance(t=dn){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){const t=Array.from(this.instances.values());await Promise.all([...t.filter(n=>"INTERNAL"in n).map(n=>n.INTERNAL.delete()),...t.filter(n=>"_delete"in n).map(n=>n._delete())])}isComponentSet(){return this.component!=null}isInitialized(t=dn){return this.instances.has(t)}getOptions(t=dn){return this.instancesOptions.get(t)||{}}initialize(t={}){const{options:n={}}=t,i=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(i))throw Error(`${this.name}(${i}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const o=this.getOrInitializeService({instanceIdentifier:i,options:n});for(const[r,s]of this.instancesDeferred.entries()){const a=this.normalizeInstanceIdentifier(r);i===a&&s.resolve(o)}return o}onInit(t,n){var i;const o=this.normalizeInstanceIdentifier(n),r=(i=this.onInitCallbacks.get(o))!==null&&i!==void 0?i:new Set;r.add(t),this.onInitCallbacks.set(o,r);const s=this.instances.get(o);return s&&t(s,o),()=>{r.delete(t)}}invokeOnInitCallbacks(t,n){const i=this.onInitCallbacks.get(n);if(i)for(const o of i)try{o(t,n)}catch{}}getOrInitializeService({instanceIdentifier:t,options:n={}}){let i=this.instances.get(t);if(!i&&this.component&&(i=this.component.instanceFactory(this.container,{instanceIdentifier:ew(t),options:n}),this.instances.set(t,i),this.instancesOptions.set(t,n),this.invokeOnInitCallbacks(i,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,i)}catch{}return i||null}normalizeInstanceIdentifier(t=dn){return this.component?this.component.multipleInstances?t:dn:t}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function ew(e){return e===dn?void 0:e}function tw(e){return e.instantiationMode==="EAGER"}/**
241
+ */class jw{constructor(t,n){this.name=t,this.container=n,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){const n=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(n)){const o=new Vw;if(this.instancesDeferred.set(n,o),this.isInitialized(n)||this.shouldAutoInitialize())try{const i=this.getOrInitializeService({instanceIdentifier:n});i&&o.resolve(i)}catch{}}return this.instancesDeferred.get(n).promise}getImmediate(t){var n;const o=this.normalizeInstanceIdentifier(t==null?void 0:t.identifier),i=(n=t==null?void 0:t.optional)!==null&&n!==void 0?n:!1;if(this.isInitialized(o)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:o})}catch(r){if(i)return null;throw r}else{if(i)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,!!this.shouldAutoInitialize()){if(Yw(t))try{this.getOrInitializeService({instanceIdentifier:un})}catch{}for(const[n,o]of this.instancesDeferred.entries()){const i=this.normalizeInstanceIdentifier(n);try{const r=this.getOrInitializeService({instanceIdentifier:i});o.resolve(r)}catch{}}}}clearInstance(t=un){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){const t=Array.from(this.instances.values());await Promise.all([...t.filter(n=>"INTERNAL"in n).map(n=>n.INTERNAL.delete()),...t.filter(n=>"_delete"in n).map(n=>n._delete())])}isComponentSet(){return this.component!=null}isInitialized(t=un){return this.instances.has(t)}getOptions(t=un){return this.instancesOptions.get(t)||{}}initialize(t={}){const{options:n={}}=t,o=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(o))throw Error(`${this.name}(${o}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const i=this.getOrInitializeService({instanceIdentifier:o,options:n});for(const[r,s]of this.instancesDeferred.entries()){const a=this.normalizeInstanceIdentifier(r);o===a&&s.resolve(i)}return i}onInit(t,n){var o;const i=this.normalizeInstanceIdentifier(n),r=(o=this.onInitCallbacks.get(i))!==null&&o!==void 0?o:new Set;r.add(t),this.onInitCallbacks.set(i,r);const s=this.instances.get(i);return s&&t(s,i),()=>{r.delete(t)}}invokeOnInitCallbacks(t,n){const o=this.onInitCallbacks.get(n);if(o)for(const i of o)try{i(t,n)}catch{}}getOrInitializeService({instanceIdentifier:t,options:n={}}){let o=this.instances.get(t);if(!o&&this.component&&(o=this.component.instanceFactory(this.container,{instanceIdentifier:Ww(t),options:n}),this.instances.set(t,o),this.instancesOptions.set(t,n),this.invokeOnInitCallbacks(o,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,o)}catch{}return o||null}normalizeInstanceIdentifier(t=un){return this.component?this.component.multipleInstances?t:un:t}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function Ww(e){return e===un?void 0:e}function Yw(e){return e.instantiationMode==="EAGER"}/**
234
242
  * @license
235
243
  * Copyright 2019 Google LLC
236
244
  *
@@ -245,7 +253,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
245
253
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
246
254
  * See the License for the specific language governing permissions and
247
255
  * limitations under the License.
248
- */class nw{constructor(t){this.name=t,this.providers=new Map}addComponent(t){const n=this.getProvider(t.name);if(n.isComponentSet())throw new Error(`Component ${t.name} has already been registered with ${this.name}`);n.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);const n=new Qy(t,this);return this.providers.set(t,n),n}getProviders(){return Array.from(this.providers.values())}}/**
256
+ */class Gw{constructor(t){this.name=t,this.providers=new Map}addComponent(t){const n=this.getProvider(t.name);if(n.isComponentSet())throw new Error(`Component ${t.name} has already been registered with ${this.name}`);n.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);const n=new jw(t,this);return this.providers.set(t,n),n}getProviders(){return Array.from(this.providers.values())}}/**
249
257
  * @license
250
258
  * Copyright 2017 Google LLC
251
259
  *
@@ -260,7 +268,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
260
268
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
261
269
  * See the License for the specific language governing permissions and
262
270
  * limitations under the License.
263
- */var se;(function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"})(se||(se={}));const iw={debug:se.DEBUG,verbose:se.VERBOSE,info:se.INFO,warn:se.WARN,error:se.ERROR,silent:se.SILENT},ow=se.INFO,rw={[se.DEBUG]:"log",[se.VERBOSE]:"log",[se.INFO]:"info",[se.WARN]:"warn",[se.ERROR]:"error"},sw=(e,t,...n)=>{if(t<e.logLevel)return;const i=new Date().toISOString(),o=rw[t];if(o)console[o](`[${i}] ${e.name}:`,...n);else throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class aw{constructor(t){this.name=t,this._logLevel=ow,this._logHandler=sw,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(t){if(!(t in se))throw new TypeError(`Invalid value "${t}" assigned to \`logLevel\``);this._logLevel=t}setLogLevel(t){this._logLevel=typeof t=="string"?iw[t]:t}get logHandler(){return this._logHandler}set logHandler(t){if(typeof t!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=t}get userLogHandler(){return this._userLogHandler}set userLogHandler(t){this._userLogHandler=t}debug(...t){this._userLogHandler&&this._userLogHandler(this,se.DEBUG,...t),this._logHandler(this,se.DEBUG,...t)}log(...t){this._userLogHandler&&this._userLogHandler(this,se.VERBOSE,...t),this._logHandler(this,se.VERBOSE,...t)}info(...t){this._userLogHandler&&this._userLogHandler(this,se.INFO,...t),this._logHandler(this,se.INFO,...t)}warn(...t){this._userLogHandler&&this._userLogHandler(this,se.WARN,...t),this._logHandler(this,se.WARN,...t)}error(...t){this._userLogHandler&&this._userLogHandler(this,se.ERROR,...t),this._logHandler(this,se.ERROR,...t)}}const lw=(e,t)=>t.some(n=>e instanceof n);let Sl,Ol;function cw(){return Sl||(Sl=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function dw(){return Ol||(Ol=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const qu=new WeakMap,qr=new WeakMap,Ku=new WeakMap,sr=new WeakMap,Ys=new WeakMap;function uw(e){const t=new Promise((n,i)=>{const o=()=>{e.removeEventListener("success",r),e.removeEventListener("error",s)},r=()=>{n(Xt(e.result)),o()},s=()=>{i(e.error),o()};e.addEventListener("success",r),e.addEventListener("error",s)});return t.then(n=>{n instanceof IDBCursor&&qu.set(n,e)}).catch(()=>{}),Ys.set(t,e),t}function fw(e){if(qr.has(e))return;const t=new Promise((n,i)=>{const o=()=>{e.removeEventListener("complete",r),e.removeEventListener("error",s),e.removeEventListener("abort",s)},r=()=>{n(),o()},s=()=>{i(e.error||new DOMException("AbortError","AbortError")),o()};e.addEventListener("complete",r),e.addEventListener("error",s),e.addEventListener("abort",s)});qr.set(e,t)}let Kr={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return qr.get(e);if(t==="objectStoreNames")return e.objectStoreNames||Ku.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Xt(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function hw(e){Kr=e(Kr)}function mw(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const i=e.call(ar(this),t,...n);return Ku.set(i,t.sort?t.sort():[t]),Xt(i)}:dw().includes(e)?function(...t){return e.apply(ar(this),t),Xt(qu.get(this))}:function(...t){return Xt(e.apply(ar(this),t))}}function pw(e){return typeof e=="function"?mw(e):(e instanceof IDBTransaction&&fw(e),lw(e,cw())?new Proxy(e,Kr):e)}function Xt(e){if(e instanceof IDBRequest)return uw(e);if(sr.has(e))return sr.get(e);const t=pw(e);return t!==e&&(sr.set(e,t),Ys.set(t,e)),t}const ar=e=>Ys.get(e);function gw(e,t,{blocked:n,upgrade:i,blocking:o,terminated:r}={}){const s=indexedDB.open(e,t),a=Xt(s);return i&&s.addEventListener("upgradeneeded",l=>{i(Xt(s.result),l.oldVersion,l.newVersion,Xt(s.transaction),l)}),n&&s.addEventListener("blocked",l=>n(l.oldVersion,l.newVersion,l)),a.then(l=>{r&&l.addEventListener("close",()=>r()),o&&l.addEventListener("versionchange",c=>o(c.oldVersion,c.newVersion,c))}).catch(()=>{}),a}const bw=["get","getKey","getAll","getAllKeys","count"],vw=["put","add","delete","clear"],lr=new Map;function Cl(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(lr.get(t))return lr.get(t);const n=t.replace(/FromIndex$/,""),i=t!==n,o=vw.includes(n);if(!(n in(i?IDBIndex:IDBObjectStore).prototype)||!(o||bw.includes(n)))return;const r=async function(s,...a){const l=this.transaction(s,o?"readwrite":"readonly");let c=l.store;return i&&(c=c.index(a.shift())),(await Promise.all([c[n](...a),o&&l.done]))[0]};return lr.set(t,r),r}hw(e=>({...e,get:(t,n,i)=>Cl(t,n)||e.get(t,n,i),has:(t,n)=>!!Cl(t,n)||e.has(t,n)}));/**
271
+ */var ae;(function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"})(ae||(ae={}));const qw={debug:ae.DEBUG,verbose:ae.VERBOSE,info:ae.INFO,warn:ae.WARN,error:ae.ERROR,silent:ae.SILENT},Kw=ae.INFO,Xw={[ae.DEBUG]:"log",[ae.VERBOSE]:"log",[ae.INFO]:"info",[ae.WARN]:"warn",[ae.ERROR]:"error"},Zw=(e,t,...n)=>{if(t<e.logLevel)return;const o=new Date().toISOString(),i=Xw[t];if(i)console[i](`[${o}] ${e.name}:`,...n);else throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class Jw{constructor(t){this.name=t,this._logLevel=Kw,this._logHandler=Zw,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(t){if(!(t in ae))throw new TypeError(`Invalid value "${t}" assigned to \`logLevel\``);this._logLevel=t}setLogLevel(t){this._logLevel=typeof t=="string"?qw[t]:t}get logHandler(){return this._logHandler}set logHandler(t){if(typeof t!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=t}get userLogHandler(){return this._userLogHandler}set userLogHandler(t){this._userLogHandler=t}debug(...t){this._userLogHandler&&this._userLogHandler(this,ae.DEBUG,...t),this._logHandler(this,ae.DEBUG,...t)}log(...t){this._userLogHandler&&this._userLogHandler(this,ae.VERBOSE,...t),this._logHandler(this,ae.VERBOSE,...t)}info(...t){this._userLogHandler&&this._userLogHandler(this,ae.INFO,...t),this._logHandler(this,ae.INFO,...t)}warn(...t){this._userLogHandler&&this._userLogHandler(this,ae.WARN,...t),this._logHandler(this,ae.WARN,...t)}error(...t){this._userLogHandler&&this._userLogHandler(this,ae.ERROR,...t),this._logHandler(this,ae.ERROR,...t)}}const Qw=(e,t)=>t.some(n=>e instanceof n);let Bl,Hl;function ek(){return Bl||(Bl=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function tk(){return Hl||(Hl=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const uf=new WeakMap,ts=new WeakMap,ff=new WeakMap,fr=new WeakMap,sa=new WeakMap;function nk(e){const t=new Promise((n,o)=>{const i=()=>{e.removeEventListener("success",r),e.removeEventListener("error",s)},r=()=>{n(Jt(e.result)),i()},s=()=>{o(e.error),i()};e.addEventListener("success",r),e.addEventListener("error",s)});return t.then(n=>{n instanceof IDBCursor&&uf.set(n,e)}).catch(()=>{}),sa.set(t,e),t}function ok(e){if(ts.has(e))return;const t=new Promise((n,o)=>{const i=()=>{e.removeEventListener("complete",r),e.removeEventListener("error",s),e.removeEventListener("abort",s)},r=()=>{n(),i()},s=()=>{o(e.error||new DOMException("AbortError","AbortError")),i()};e.addEventListener("complete",r),e.addEventListener("error",s),e.addEventListener("abort",s)});ts.set(e,t)}let ns={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return ts.get(e);if(t==="objectStoreNames")return e.objectStoreNames||ff.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Jt(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function ik(e){ns=e(ns)}function rk(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const o=e.call(hr(this),t,...n);return ff.set(o,t.sort?t.sort():[t]),Jt(o)}:tk().includes(e)?function(...t){return e.apply(hr(this),t),Jt(uf.get(this))}:function(...t){return Jt(e.apply(hr(this),t))}}function sk(e){return typeof e=="function"?rk(e):(e instanceof IDBTransaction&&ok(e),Qw(e,ek())?new Proxy(e,ns):e)}function Jt(e){if(e instanceof IDBRequest)return nk(e);if(fr.has(e))return fr.get(e);const t=sk(e);return t!==e&&(fr.set(e,t),sa.set(t,e)),t}const hr=e=>sa.get(e);function ak(e,t,{blocked:n,upgrade:o,blocking:i,terminated:r}={}){const s=indexedDB.open(e,t),a=Jt(s);return o&&s.addEventListener("upgradeneeded",l=>{o(Jt(s.result),l.oldVersion,l.newVersion,Jt(s.transaction),l)}),n&&s.addEventListener("blocked",l=>n(l.oldVersion,l.newVersion,l)),a.then(l=>{r&&l.addEventListener("close",()=>r()),i&&l.addEventListener("versionchange",c=>i(c.oldVersion,c.newVersion,c))}).catch(()=>{}),a}const lk=["get","getKey","getAll","getAllKeys","count"],ck=["put","add","delete","clear"],mr=new Map;function jl(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(mr.get(t))return mr.get(t);const n=t.replace(/FromIndex$/,""),o=t!==n,i=ck.includes(n);if(!(n in(o?IDBIndex:IDBObjectStore).prototype)||!(i||lk.includes(n)))return;const r=async function(s,...a){const l=this.transaction(s,i?"readwrite":"readonly");let c=l.store;return o&&(c=c.index(a.shift())),(await Promise.all([c[n](...a),i&&l.done]))[0]};return mr.set(t,r),r}ik(e=>({...e,get:(t,n,o)=>jl(t,n)||e.get(t,n,o),has:(t,n)=>!!jl(t,n)||e.has(t,n)}));/**
264
272
  * @license
265
273
  * Copyright 2019 Google LLC
266
274
  *
@@ -275,7 +283,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
275
283
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
276
284
  * See the License for the specific language governing permissions and
277
285
  * limitations under the License.
278
- */class yw{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(n=>{if(ww(n)){const i=n.getImmediate();return`${i.library}/${i.version}`}else return null}).filter(n=>n).join(" ")}}function ww(e){const t=e.getComponent();return(t==null?void 0:t.type)==="VERSION"}const Xr="@firebase/app",Al="0.9.18";/**
286
+ */class dk{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(n=>{if(uk(n)){const o=n.getImmediate();return`${o.library}/${o.version}`}else return null}).filter(n=>n).join(" ")}}function uk(e){const t=e.getComponent();return(t==null?void 0:t.type)==="VERSION"}const os="@firebase/app",Wl="0.9.18";/**
279
287
  * @license
280
288
  * Copyright 2019 Google LLC
281
289
  *
@@ -290,7 +298,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
290
298
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
291
299
  * See the License for the specific language governing permissions and
292
300
  * limitations under the License.
293
- */const wn=new aw("@firebase/app"),kw="@firebase/app-compat",xw="@firebase/analytics-compat",_w="@firebase/analytics",Ew="@firebase/app-check-compat",Tw="@firebase/app-check",Iw="@firebase/auth",Sw="@firebase/auth-compat",Ow="@firebase/database",Cw="@firebase/database-compat",Aw="@firebase/functions",Nw="@firebase/functions-compat",Dw="@firebase/installations",Lw="@firebase/installations-compat",$w="@firebase/messaging",Pw="@firebase/messaging-compat",Mw="@firebase/performance",Rw="@firebase/performance-compat",Fw="@firebase/remote-config",Vw="@firebase/remote-config-compat",Uw="@firebase/storage",zw="@firebase/storage-compat",Bw="@firebase/firestore",Hw="@firebase/firestore-compat",Ww="firebase";/**
301
+ */const xn=new Jw("@firebase/app"),fk="@firebase/app-compat",hk="@firebase/analytics-compat",mk="@firebase/analytics",pk="@firebase/app-check-compat",gk="@firebase/app-check",bk="@firebase/auth",vk="@firebase/auth-compat",yk="@firebase/database",wk="@firebase/database-compat",kk="@firebase/functions",xk="@firebase/functions-compat",_k="@firebase/installations",Ek="@firebase/installations-compat",Tk="@firebase/messaging",Ik="@firebase/messaging-compat",Sk="@firebase/performance",Ck="@firebase/performance-compat",Ok="@firebase/remote-config",Ak="@firebase/remote-config-compat",Dk="@firebase/storage",Nk="@firebase/storage-compat",$k="@firebase/firestore",Lk="@firebase/firestore-compat",Pk="firebase";/**
294
302
  * @license
295
303
  * Copyright 2019 Google LLC
296
304
  *
@@ -305,7 +313,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
305
313
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
306
314
  * See the License for the specific language governing permissions and
307
315
  * limitations under the License.
308
- */const Zr="[DEFAULT]",jw={[Xr]:"fire-core",[kw]:"fire-core-compat",[_w]:"fire-analytics",[xw]:"fire-analytics-compat",[Tw]:"fire-app-check",[Ew]:"fire-app-check-compat",[Iw]:"fire-auth",[Sw]:"fire-auth-compat",[Ow]:"fire-rtdb",[Cw]:"fire-rtdb-compat",[Aw]:"fire-fn",[Nw]:"fire-fn-compat",[Dw]:"fire-iid",[Lw]:"fire-iid-compat",[$w]:"fire-fcm",[Pw]:"fire-fcm-compat",[Mw]:"fire-perf",[Rw]:"fire-perf-compat",[Fw]:"fire-rc",[Vw]:"fire-rc-compat",[Uw]:"fire-gcs",[zw]:"fire-gcs-compat",[Bw]:"fire-fst",[Hw]:"fire-fst-compat","fire-js":"fire-js",[Ww]:"fire-js-all"};/**
316
+ */const is="[DEFAULT]",Mk={[os]:"fire-core",[fk]:"fire-core-compat",[mk]:"fire-analytics",[hk]:"fire-analytics-compat",[gk]:"fire-app-check",[pk]:"fire-app-check-compat",[bk]:"fire-auth",[vk]:"fire-auth-compat",[yk]:"fire-rtdb",[wk]:"fire-rtdb-compat",[kk]:"fire-fn",[xk]:"fire-fn-compat",[_k]:"fire-iid",[Ek]:"fire-iid-compat",[Tk]:"fire-fcm",[Ik]:"fire-fcm-compat",[Sk]:"fire-perf",[Ck]:"fire-perf-compat",[Ok]:"fire-rc",[Ak]:"fire-rc-compat",[Dk]:"fire-gcs",[Nk]:"fire-gcs-compat",[$k]:"fire-fst",[Lk]:"fire-fst-compat","fire-js":"fire-js",[Pk]:"fire-js-all"};/**
309
317
  * @license
310
318
  * Copyright 2019 Google LLC
311
319
  *
@@ -320,7 +328,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
320
328
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
321
329
  * See the License for the specific language governing permissions and
322
330
  * limitations under the License.
323
- */const vo=new Map,Jr=new Map;function Yw(e,t){try{e.container.addComponent(t)}catch(n){wn.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,n)}}function kn(e){const t=e.name;if(Jr.has(t))return wn.debug(`There were multiple attempts to register component ${t}.`),!1;Jr.set(t,e);for(const n of vo.values())Yw(n,e);return!0}function Gs(e,t){const n=e.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),e.container.getProvider(t)}/**
331
+ */const ki=new Map,rs=new Map;function Rk(e,t){try{e.container.addComponent(t)}catch(n){xn.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,n)}}function _n(e){const t=e.name;if(rs.has(t))return xn.debug(`There were multiple attempts to register component ${t}.`),!1;rs.set(t,e);for(const n of ki.values())Rk(n,e);return!0}function aa(e,t){const n=e.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),e.container.getProvider(t)}/**
324
332
  * @license
325
333
  * Copyright 2019 Google LLC
326
334
  *
@@ -335,7 +343,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
335
343
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
336
344
  * See the License for the specific language governing permissions and
337
345
  * limitations under the License.
338
- */const Gw={"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."},Zt=new Lo("app","Firebase",Gw);/**
346
+ */const Fk={"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."},Qt=new Mi("app","Firebase",Fk);/**
339
347
  * @license
340
348
  * Copyright 2019 Google LLC
341
349
  *
@@ -350,7 +358,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
350
358
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
351
359
  * See the License for the specific language governing permissions and
352
360
  * limitations under the License.
353
- */class qw{constructor(t,n,i){this._isDeleted=!1,this._options=Object.assign({},t),this._config=Object.assign({},n),this._name=n.name,this._automaticDataCollectionEnabled=n.automaticDataCollectionEnabled,this._container=i,this.container.addComponent(new en("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw Zt.create("app-deleted",{appName:this._name})}}function Xu(e,t={}){let n=e;typeof t!="object"&&(t={name:t});const i=Object.assign({name:Zr,automaticDataCollectionEnabled:!1},t),o=i.name;if(typeof o!="string"||!o)throw Zt.create("bad-app-name",{appName:String(o)});if(n||(n=ju()),!n)throw Zt.create("no-options");const r=vo.get(o);if(r){if(Gr(n,r.options)&&Gr(i,r.config))return r;throw Zt.create("duplicate-app",{appName:o})}const s=new nw(o);for(const l of Jr.values())s.addComponent(l);const a=new qw(n,i,s);return vo.set(o,a),a}function Kw(e=Zr){const t=vo.get(e);if(!t&&e===Zr&&ju())return Xu();if(!t)throw Zt.create("no-app",{appName:e});return t}function Jt(e,t,n){var i;let o=(i=jw[e])!==null&&i!==void 0?i:e;n&&(o+=`-${n}`);const r=o.match(/\s|\//),s=t.match(/\s|\//);if(r||s){const a=[`Unable to register library "${o}" with version "${t}":`];r&&a.push(`library name "${o}" contains illegal characters (whitespace or "/")`),r&&s&&a.push("and"),s&&a.push(`version name "${t}" contains illegal characters (whitespace or "/")`),wn.warn(a.join(" "));return}kn(new en(`${o}-version`,()=>({library:o,version:t}),"VERSION"))}/**
361
+ */class Vk{constructor(t,n,o){this._isDeleted=!1,this._options=Object.assign({},t),this._config=Object.assign({},n),this._name=n.name,this._automaticDataCollectionEnabled=n.automaticDataCollectionEnabled,this._container=o,this.container.addComponent(new nn("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw Qt.create("app-deleted",{appName:this._name})}}function hf(e,t={}){let n=e;typeof t!="object"&&(t={name:t});const o=Object.assign({name:is,automaticDataCollectionEnabled:!1},t),i=o.name;if(typeof i!="string"||!i)throw Qt.create("bad-app-name",{appName:String(i)});if(n||(n=lf()),!n)throw Qt.create("no-options");const r=ki.get(i);if(r){if(es(n,r.options)&&es(o,r.config))return r;throw Qt.create("duplicate-app",{appName:i})}const s=new Gw(i);for(const l of rs.values())s.addComponent(l);const a=new Vk(n,o,s);return ki.set(i,a),a}function zk(e=is){const t=ki.get(e);if(!t&&e===is&&lf())return hf();if(!t)throw Qt.create("no-app",{appName:e});return t}function en(e,t,n){var o;let i=(o=Mk[e])!==null&&o!==void 0?o:e;n&&(i+=`-${n}`);const r=i.match(/\s|\//),s=t.match(/\s|\//);if(r||s){const a=[`Unable to register library "${i}" with version "${t}":`];r&&a.push(`library name "${i}" contains illegal characters (whitespace or "/")`),r&&s&&a.push("and"),s&&a.push(`version name "${t}" contains illegal characters (whitespace or "/")`),xn.warn(a.join(" "));return}_n(new nn(`${i}-version`,()=>({library:i,version:t}),"VERSION"))}/**
354
362
  * @license
355
363
  * Copyright 2021 Google LLC
356
364
  *
@@ -365,7 +373,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
365
373
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
366
374
  * See the License for the specific language governing permissions and
367
375
  * limitations under the License.
368
- */const Xw="firebase-heartbeat-database",Zw=1,wi="firebase-heartbeat-store";let cr=null;function Zu(){return cr||(cr=gw(Xw,Zw,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(wi)}}}).catch(e=>{throw Zt.create("idb-open",{originalErrorMessage:e.message})})),cr}async function Jw(e){try{return await(await Zu()).transaction(wi).objectStore(wi).get(Ju(e))}catch(t){if(t instanceof ni)wn.warn(t.message);else{const n=Zt.create("idb-get",{originalErrorMessage:t==null?void 0:t.message});wn.warn(n.message)}}}async function Nl(e,t){try{const i=(await Zu()).transaction(wi,"readwrite");await i.objectStore(wi).put(t,Ju(e)),await i.done}catch(n){if(n instanceof ni)wn.warn(n.message);else{const i=Zt.create("idb-set",{originalErrorMessage:n==null?void 0:n.message});wn.warn(i.message)}}}function Ju(e){return`${e.name}!${e.options.appId}`}/**
376
+ */const Uk="firebase-heartbeat-database",Bk=1,_o="firebase-heartbeat-store";let pr=null;function mf(){return pr||(pr=ak(Uk,Bk,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(_o)}}}).catch(e=>{throw Qt.create("idb-open",{originalErrorMessage:e.message})})),pr}async function Hk(e){try{return await(await mf()).transaction(_o).objectStore(_o).get(pf(e))}catch(t){if(t instanceof io)xn.warn(t.message);else{const n=Qt.create("idb-get",{originalErrorMessage:t==null?void 0:t.message});xn.warn(n.message)}}}async function Yl(e,t){try{const o=(await mf()).transaction(_o,"readwrite");await o.objectStore(_o).put(t,pf(e)),await o.done}catch(n){if(n instanceof io)xn.warn(n.message);else{const o=Qt.create("idb-set",{originalErrorMessage:n==null?void 0:n.message});xn.warn(o.message)}}}function pf(e){return`${e.name}!${e.options.appId}`}/**
369
377
  * @license
370
378
  * Copyright 2021 Google LLC
371
379
  *
@@ -380,7 +388,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
380
388
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
381
389
  * See the License for the specific language governing permissions and
382
390
  * limitations under the License.
383
- */const Qw=1024,ek=30*24*60*60*1e3;class tk{constructor(t){this.container=t,this._heartbeatsCache=null;const n=this.container.getProvider("app").getImmediate();this._storage=new ik(n),this._heartbeatsCachePromise=this._storage.read().then(i=>(this._heartbeatsCache=i,i))}async triggerHeartbeat(){const n=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),i=Dl();if(this._heartbeatsCache===null&&(this._heartbeatsCache=await this._heartbeatsCachePromise),!(this._heartbeatsCache.lastSentHeartbeatDate===i||this._heartbeatsCache.heartbeats.some(o=>o.date===i)))return this._heartbeatsCache.heartbeats.push({date:i,agent:n}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(o=>{const r=new Date(o.date).valueOf();return Date.now()-r<=ek}),this._storage.overwrite(this._heartbeatsCache)}async getHeartbeatsHeader(){if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,this._heartbeatsCache===null||this._heartbeatsCache.heartbeats.length===0)return"";const t=Dl(),{heartbeatsToSend:n,unsentEntries:i}=nk(this._heartbeatsCache.heartbeats),o=Wu(JSON.stringify({version:2,heartbeats:n}));return this._heartbeatsCache.lastSentHeartbeatDate=t,i.length>0?(this._heartbeatsCache.heartbeats=i,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),o}}function Dl(){return new Date().toISOString().substring(0,10)}function nk(e,t=Qw){const n=[];let i=e.slice();for(const o of e){const r=n.find(s=>s.agent===o.agent);if(r){if(r.dates.push(o.date),Ll(n)>t){r.dates.pop();break}}else if(n.push({agent:o.agent,dates:[o.date]}),Ll(n)>t){n.pop();break}i=i.slice(1)}return{heartbeatsToSend:n,unsentEntries:i}}class ik{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return Yu()?Gu().then(()=>!0).catch(()=>!1):!1}async read(){return await this._canUseIndexedDBPromise?await Jw(this.app)||{heartbeats:[]}:{heartbeats:[]}}async overwrite(t){var n;if(await this._canUseIndexedDBPromise){const o=await this.read();return Nl(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:o.lastSentHeartbeatDate,heartbeats:t.heartbeats})}else return}async add(t){var n;if(await this._canUseIndexedDBPromise){const o=await this.read();return Nl(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:o.lastSentHeartbeatDate,heartbeats:[...o.heartbeats,...t.heartbeats]})}else return}}function Ll(e){return Wu(JSON.stringify({version:2,heartbeats:e})).length}/**
391
+ */const jk=1024,Wk=30*24*60*60*1e3;class Yk{constructor(t){this.container=t,this._heartbeatsCache=null;const n=this.container.getProvider("app").getImmediate();this._storage=new qk(n),this._heartbeatsCachePromise=this._storage.read().then(o=>(this._heartbeatsCache=o,o))}async triggerHeartbeat(){const n=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),o=Gl();if(this._heartbeatsCache===null&&(this._heartbeatsCache=await this._heartbeatsCachePromise),!(this._heartbeatsCache.lastSentHeartbeatDate===o||this._heartbeatsCache.heartbeats.some(i=>i.date===o)))return this._heartbeatsCache.heartbeats.push({date:o,agent:n}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(i=>{const r=new Date(i.date).valueOf();return Date.now()-r<=Wk}),this._storage.overwrite(this._heartbeatsCache)}async getHeartbeatsHeader(){if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,this._heartbeatsCache===null||this._heartbeatsCache.heartbeats.length===0)return"";const t=Gl(),{heartbeatsToSend:n,unsentEntries:o}=Gk(this._heartbeatsCache.heartbeats),i=af(JSON.stringify({version:2,heartbeats:n}));return this._heartbeatsCache.lastSentHeartbeatDate=t,o.length>0?(this._heartbeatsCache.heartbeats=o,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),i}}function Gl(){return new Date().toISOString().substring(0,10)}function Gk(e,t=jk){const n=[];let o=e.slice();for(const i of e){const r=n.find(s=>s.agent===i.agent);if(r){if(r.dates.push(i.date),ql(n)>t){r.dates.pop();break}}else if(n.push({agent:i.agent,dates:[i.date]}),ql(n)>t){n.pop();break}o=o.slice(1)}return{heartbeatsToSend:n,unsentEntries:o}}class qk{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return cf()?df().then(()=>!0).catch(()=>!1):!1}async read(){return await this._canUseIndexedDBPromise?await Hk(this.app)||{heartbeats:[]}:{heartbeats:[]}}async overwrite(t){var n;if(await this._canUseIndexedDBPromise){const i=await this.read();return Yl(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:i.lastSentHeartbeatDate,heartbeats:t.heartbeats})}else return}async add(t){var n;if(await this._canUseIndexedDBPromise){const i=await this.read();return Yl(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:i.lastSentHeartbeatDate,heartbeats:[...i.heartbeats,...t.heartbeats]})}else return}}function ql(e){return af(JSON.stringify({version:2,heartbeats:e})).length}/**
384
392
  * @license
385
393
  * Copyright 2019 Google LLC
386
394
  *
@@ -395,7 +403,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
395
403
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
396
404
  * See the License for the specific language governing permissions and
397
405
  * limitations under the License.
398
- */function ok(e){kn(new en("platform-logger",t=>new yw(t),"PRIVATE")),kn(new en("heartbeat",t=>new tk(t),"PRIVATE")),Jt(Xr,Al,e),Jt(Xr,Al,"esm2017"),Jt("fire-js","")}ok("");var rk="firebase",sk="10.3.1";/**
406
+ */function Kk(e){_n(new nn("platform-logger",t=>new dk(t),"PRIVATE")),_n(new nn("heartbeat",t=>new Yk(t),"PRIVATE")),en(os,Wl,e),en(os,Wl,"esm2017"),en("fire-js","")}Kk("");var Xk="firebase",Zk="10.3.1";/**
399
407
  * @license
400
408
  * Copyright 2020 Google LLC
401
409
  *
@@ -410,7 +418,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
410
418
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
411
419
  * See the License for the specific language governing permissions and
412
420
  * limitations under the License.
413
- */Jt(rk,sk,"app");const ak=(e,t)=>t.some(n=>e instanceof n);let $l,Pl;function lk(){return $l||($l=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function ck(){return Pl||(Pl=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Qu=new WeakMap,Qr=new WeakMap,ef=new WeakMap,dr=new WeakMap,qs=new WeakMap;function dk(e){const t=new Promise((n,i)=>{const o=()=>{e.removeEventListener("success",r),e.removeEventListener("error",s)},r=()=>{n(Qt(e.result)),o()},s=()=>{i(e.error),o()};e.addEventListener("success",r),e.addEventListener("error",s)});return t.then(n=>{n instanceof IDBCursor&&Qu.set(n,e)}).catch(()=>{}),qs.set(t,e),t}function uk(e){if(Qr.has(e))return;const t=new Promise((n,i)=>{const o=()=>{e.removeEventListener("complete",r),e.removeEventListener("error",s),e.removeEventListener("abort",s)},r=()=>{n(),o()},s=()=>{i(e.error||new DOMException("AbortError","AbortError")),o()};e.addEventListener("complete",r),e.addEventListener("error",s),e.addEventListener("abort",s)});Qr.set(e,t)}let es={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return Qr.get(e);if(t==="objectStoreNames")return e.objectStoreNames||ef.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Qt(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function fk(e){es=e(es)}function hk(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const i=e.call(ur(this),t,...n);return ef.set(i,t.sort?t.sort():[t]),Qt(i)}:ck().includes(e)?function(...t){return e.apply(ur(this),t),Qt(Qu.get(this))}:function(...t){return Qt(e.apply(ur(this),t))}}function mk(e){return typeof e=="function"?hk(e):(e instanceof IDBTransaction&&uk(e),ak(e,lk())?new Proxy(e,es):e)}function Qt(e){if(e instanceof IDBRequest)return dk(e);if(dr.has(e))return dr.get(e);const t=mk(e);return t!==e&&(dr.set(e,t),qs.set(t,e)),t}const ur=e=>qs.get(e);function pk(e,t,{blocked:n,upgrade:i,blocking:o,terminated:r}={}){const s=indexedDB.open(e,t),a=Qt(s);return i&&s.addEventListener("upgradeneeded",l=>{i(Qt(s.result),l.oldVersion,l.newVersion,Qt(s.transaction))}),n&&s.addEventListener("blocked",()=>n()),a.then(l=>{r&&l.addEventListener("close",()=>r()),o&&l.addEventListener("versionchange",()=>o())}).catch(()=>{}),a}const gk=["get","getKey","getAll","getAllKeys","count"],bk=["put","add","delete","clear"],fr=new Map;function Ml(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(fr.get(t))return fr.get(t);const n=t.replace(/FromIndex$/,""),i=t!==n,o=bk.includes(n);if(!(n in(i?IDBIndex:IDBObjectStore).prototype)||!(o||gk.includes(n)))return;const r=async function(s,...a){const l=this.transaction(s,o?"readwrite":"readonly");let c=l.store;return i&&(c=c.index(a.shift())),(await Promise.all([c[n](...a),o&&l.done]))[0]};return fr.set(t,r),r}fk(e=>({...e,get:(t,n,i)=>Ml(t,n)||e.get(t,n,i),has:(t,n)=>!!Ml(t,n)||e.has(t,n)}));const tf="@firebase/installations",Ks="0.6.4";/**
421
+ */en(Xk,Zk,"app");const Jk=(e,t)=>t.some(n=>e instanceof n);let Kl,Xl;function Qk(){return Kl||(Kl=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function ex(){return Xl||(Xl=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const gf=new WeakMap,ss=new WeakMap,bf=new WeakMap,gr=new WeakMap,la=new WeakMap;function tx(e){const t=new Promise((n,o)=>{const i=()=>{e.removeEventListener("success",r),e.removeEventListener("error",s)},r=()=>{n(tn(e.result)),i()},s=()=>{o(e.error),i()};e.addEventListener("success",r),e.addEventListener("error",s)});return t.then(n=>{n instanceof IDBCursor&&gf.set(n,e)}).catch(()=>{}),la.set(t,e),t}function nx(e){if(ss.has(e))return;const t=new Promise((n,o)=>{const i=()=>{e.removeEventListener("complete",r),e.removeEventListener("error",s),e.removeEventListener("abort",s)},r=()=>{n(),i()},s=()=>{o(e.error||new DOMException("AbortError","AbortError")),i()};e.addEventListener("complete",r),e.addEventListener("error",s),e.addEventListener("abort",s)});ss.set(e,t)}let as={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return ss.get(e);if(t==="objectStoreNames")return e.objectStoreNames||bf.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return tn(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function ox(e){as=e(as)}function ix(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const o=e.call(br(this),t,...n);return bf.set(o,t.sort?t.sort():[t]),tn(o)}:ex().includes(e)?function(...t){return e.apply(br(this),t),tn(gf.get(this))}:function(...t){return tn(e.apply(br(this),t))}}function rx(e){return typeof e=="function"?ix(e):(e instanceof IDBTransaction&&nx(e),Jk(e,Qk())?new Proxy(e,as):e)}function tn(e){if(e instanceof IDBRequest)return tx(e);if(gr.has(e))return gr.get(e);const t=rx(e);return t!==e&&(gr.set(e,t),la.set(t,e)),t}const br=e=>la.get(e);function sx(e,t,{blocked:n,upgrade:o,blocking:i,terminated:r}={}){const s=indexedDB.open(e,t),a=tn(s);return o&&s.addEventListener("upgradeneeded",l=>{o(tn(s.result),l.oldVersion,l.newVersion,tn(s.transaction))}),n&&s.addEventListener("blocked",()=>n()),a.then(l=>{r&&l.addEventListener("close",()=>r()),i&&l.addEventListener("versionchange",()=>i())}).catch(()=>{}),a}const ax=["get","getKey","getAll","getAllKeys","count"],lx=["put","add","delete","clear"],vr=new Map;function Zl(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(vr.get(t))return vr.get(t);const n=t.replace(/FromIndex$/,""),o=t!==n,i=lx.includes(n);if(!(n in(o?IDBIndex:IDBObjectStore).prototype)||!(i||ax.includes(n)))return;const r=async function(s,...a){const l=this.transaction(s,i?"readwrite":"readonly");let c=l.store;return o&&(c=c.index(a.shift())),(await Promise.all([c[n](...a),i&&l.done]))[0]};return vr.set(t,r),r}ox(e=>({...e,get:(t,n,o)=>Zl(t,n)||e.get(t,n,o),has:(t,n)=>!!Zl(t,n)||e.has(t,n)}));const vf="@firebase/installations",ca="0.6.4";/**
414
422
  * @license
415
423
  * Copyright 2019 Google LLC
416
424
  *
@@ -425,7 +433,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
425
433
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
426
434
  * See the License for the specific language governing permissions and
427
435
  * limitations under the License.
428
- */const nf=1e4,of=`w:${Ks}`,rf="FIS_v2",vk="https://firebaseinstallations.googleapis.com/v1",yk=60*60*1e3,wk="installations",kk="Installations";/**
436
+ */const yf=1e4,wf=`w:${ca}`,kf="FIS_v2",cx="https://firebaseinstallations.googleapis.com/v1",dx=60*60*1e3,ux="installations",fx="Installations";/**
429
437
  * @license
430
438
  * Copyright 2019 Google LLC
431
439
  *
@@ -440,7 +448,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
440
448
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
441
449
  * See the License for the specific language governing permissions and
442
450
  * limitations under the License.
443
- */const xk={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."},xn=new Lo(wk,kk,xk);function sf(e){return e instanceof ni&&e.code.includes("request-failed")}/**
451
+ */const hx={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."},En=new Mi(ux,fx,hx);function xf(e){return e instanceof io&&e.code.includes("request-failed")}/**
444
452
  * @license
445
453
  * Copyright 2019 Google LLC
446
454
  *
@@ -455,7 +463,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
455
463
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
456
464
  * See the License for the specific language governing permissions and
457
465
  * limitations under the License.
458
- */function af({projectId:e}){return`${vk}/projects/${e}/installations`}function lf(e){return{token:e.token,requestStatus:2,expiresIn:Ek(e.expiresIn),creationTime:Date.now()}}async function cf(e,t){const i=(await t.json()).error;return xn.create("request-failed",{requestName:e,serverCode:i.code,serverMessage:i.message,serverStatus:i.status})}function df({apiKey:e}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}function _k(e,{refreshToken:t}){const n=df(e);return n.append("Authorization",Tk(t)),n}async function uf(e){const t=await e();return t.status>=500&&t.status<600?e():t}function Ek(e){return Number(e.replace("s","000"))}function Tk(e){return`${rf} ${e}`}/**
466
+ */function _f({projectId:e}){return`${cx}/projects/${e}/installations`}function Ef(e){return{token:e.token,requestStatus:2,expiresIn:px(e.expiresIn),creationTime:Date.now()}}async function Tf(e,t){const o=(await t.json()).error;return En.create("request-failed",{requestName:e,serverCode:o.code,serverMessage:o.message,serverStatus:o.status})}function If({apiKey:e}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}function mx(e,{refreshToken:t}){const n=If(e);return n.append("Authorization",gx(t)),n}async function Sf(e){const t=await e();return t.status>=500&&t.status<600?e():t}function px(e){return Number(e.replace("s","000"))}function gx(e){return`${kf} ${e}`}/**
459
467
  * @license
460
468
  * Copyright 2019 Google LLC
461
469
  *
@@ -470,7 +478,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
470
478
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
471
479
  * See the License for the specific language governing permissions and
472
480
  * limitations under the License.
473
- */async function Ik({appConfig:e,heartbeatServiceProvider:t},{fid:n}){const i=af(e),o=df(e),r=t.getImmediate({optional:!0});if(r){const c=await r.getHeartbeatsHeader();c&&o.append("x-firebase-client",c)}const s={fid:n,authVersion:rf,appId:e.appId,sdkVersion:of},a={method:"POST",headers:o,body:JSON.stringify(s)},l=await uf(()=>fetch(i,a));if(l.ok){const c=await l.json();return{fid:c.fid||n,registrationStatus:2,refreshToken:c.refreshToken,authToken:lf(c.authToken)}}else throw await cf("Create Installation",l)}/**
481
+ */async function bx({appConfig:e,heartbeatServiceProvider:t},{fid:n}){const o=_f(e),i=If(e),r=t.getImmediate({optional:!0});if(r){const c=await r.getHeartbeatsHeader();c&&i.append("x-firebase-client",c)}const s={fid:n,authVersion:kf,appId:e.appId,sdkVersion:wf},a={method:"POST",headers:i,body:JSON.stringify(s)},l=await Sf(()=>fetch(o,a));if(l.ok){const c=await l.json();return{fid:c.fid||n,registrationStatus:2,refreshToken:c.refreshToken,authToken:Ef(c.authToken)}}else throw await Tf("Create Installation",l)}/**
474
482
  * @license
475
483
  * Copyright 2019 Google LLC
476
484
  *
@@ -485,7 +493,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
485
493
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
486
494
  * See the License for the specific language governing permissions and
487
495
  * limitations under the License.
488
- */function ff(e){return new Promise(t=>{setTimeout(t,e)})}/**
496
+ */function Cf(e){return new Promise(t=>{setTimeout(t,e)})}/**
489
497
  * @license
490
498
  * Copyright 2019 Google LLC
491
499
  *
@@ -500,7 +508,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
500
508
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
501
509
  * See the License for the specific language governing permissions and
502
510
  * limitations under the License.
503
- */function Sk(e){return btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_")}/**
511
+ */function vx(e){return btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_")}/**
504
512
  * @license
505
513
  * Copyright 2019 Google LLC
506
514
  *
@@ -515,7 +523,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
515
523
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
516
524
  * See the License for the specific language governing permissions and
517
525
  * limitations under the License.
518
- */const Ok=/^[cdef][\w-]{21}$/,ts="";function Ck(){try{const e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;const n=Ak(e);return Ok.test(n)?n:ts}catch{return ts}}function Ak(e){return Sk(e).substr(0,22)}/**
526
+ */const yx=/^[cdef][\w-]{21}$/,ls="";function wx(){try{const e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;const n=kx(e);return yx.test(n)?n:ls}catch{return ls}}function kx(e){return vx(e).substr(0,22)}/**
519
527
  * @license
520
528
  * Copyright 2019 Google LLC
521
529
  *
@@ -530,7 +538,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
530
538
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
531
539
  * See the License for the specific language governing permissions and
532
540
  * limitations under the License.
533
- */function $o(e){return`${e.appName}!${e.appId}`}/**
541
+ */function Ri(e){return`${e.appName}!${e.appId}`}/**
534
542
  * @license
535
543
  * Copyright 2019 Google LLC
536
544
  *
@@ -545,7 +553,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
545
553
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
546
554
  * See the License for the specific language governing permissions and
547
555
  * limitations under the License.
548
- */const hf=new Map;function mf(e,t){const n=$o(e);pf(n,t),Nk(n,t)}function pf(e,t){const n=hf.get(e);if(n)for(const i of n)i(t)}function Nk(e,t){const n=Dk();n&&n.postMessage({key:e,fid:t}),Lk()}let mn=null;function Dk(){return!mn&&"BroadcastChannel"in self&&(mn=new BroadcastChannel("[Firebase] FID Change"),mn.onmessage=e=>{pf(e.data.key,e.data.fid)}),mn}function Lk(){hf.size===0&&mn&&(mn.close(),mn=null)}/**
556
+ */const Of=new Map;function Af(e,t){const n=Ri(e);Df(n,t),xx(n,t)}function Df(e,t){const n=Of.get(e);if(n)for(const o of n)o(t)}function xx(e,t){const n=_x();n&&n.postMessage({key:e,fid:t}),Ex()}let gn=null;function _x(){return!gn&&"BroadcastChannel"in self&&(gn=new BroadcastChannel("[Firebase] FID Change"),gn.onmessage=e=>{Df(e.data.key,e.data.fid)}),gn}function Ex(){Of.size===0&&gn&&(gn.close(),gn=null)}/**
549
557
  * @license
550
558
  * Copyright 2019 Google LLC
551
559
  *
@@ -560,7 +568,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
560
568
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
561
569
  * See the License for the specific language governing permissions and
562
570
  * limitations under the License.
563
- */const $k="firebase-installations-database",Pk=1,_n="firebase-installations-store";let hr=null;function Xs(){return hr||(hr=pk($k,Pk,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(_n)}}})),hr}async function yo(e,t){const n=$o(e),o=(await Xs()).transaction(_n,"readwrite"),r=o.objectStore(_n),s=await r.get(n);return await r.put(t,n),await o.done,(!s||s.fid!==t.fid)&&mf(e,t.fid),t}async function gf(e){const t=$o(e),i=(await Xs()).transaction(_n,"readwrite");await i.objectStore(_n).delete(t),await i.done}async function Po(e,t){const n=$o(e),o=(await Xs()).transaction(_n,"readwrite"),r=o.objectStore(_n),s=await r.get(n),a=t(s);return a===void 0?await r.delete(n):await r.put(a,n),await o.done,a&&(!s||s.fid!==a.fid)&&mf(e,a.fid),a}/**
571
+ */const Tx="firebase-installations-database",Ix=1,Tn="firebase-installations-store";let yr=null;function da(){return yr||(yr=sx(Tx,Ix,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(Tn)}}})),yr}async function xi(e,t){const n=Ri(e),i=(await da()).transaction(Tn,"readwrite"),r=i.objectStore(Tn),s=await r.get(n);return await r.put(t,n),await i.done,(!s||s.fid!==t.fid)&&Af(e,t.fid),t}async function Nf(e){const t=Ri(e),o=(await da()).transaction(Tn,"readwrite");await o.objectStore(Tn).delete(t),await o.done}async function Fi(e,t){const n=Ri(e),i=(await da()).transaction(Tn,"readwrite"),r=i.objectStore(Tn),s=await r.get(n),a=t(s);return a===void 0?await r.delete(n):await r.put(a,n),await i.done,a&&(!s||s.fid!==a.fid)&&Af(e,a.fid),a}/**
564
572
  * @license
565
573
  * Copyright 2019 Google LLC
566
574
  *
@@ -575,7 +583,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
575
583
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
576
584
  * See the License for the specific language governing permissions and
577
585
  * limitations under the License.
578
- */async function Zs(e){let t;const n=await Po(e.appConfig,i=>{const o=Mk(i),r=Rk(e,o);return t=r.registrationPromise,r.installationEntry});return n.fid===ts?{installationEntry:await t}:{installationEntry:n,registrationPromise:t}}function Mk(e){const t=e||{fid:Ck(),registrationStatus:0};return bf(t)}function Rk(e,t){if(t.registrationStatus===0){if(!navigator.onLine){const o=Promise.reject(xn.create("app-offline"));return{installationEntry:t,registrationPromise:o}}const n={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},i=Fk(e,n);return{installationEntry:n,registrationPromise:i}}else return t.registrationStatus===1?{installationEntry:t,registrationPromise:Vk(e)}:{installationEntry:t}}async function Fk(e,t){try{const n=await Ik(e,t);return yo(e.appConfig,n)}catch(n){throw sf(n)&&n.customData.serverCode===409?await gf(e.appConfig):await yo(e.appConfig,{fid:t.fid,registrationStatus:0}),n}}async function Vk(e){let t=await Rl(e.appConfig);for(;t.registrationStatus===1;)await ff(100),t=await Rl(e.appConfig);if(t.registrationStatus===0){const{installationEntry:n,registrationPromise:i}=await Zs(e);return i||n}return t}function Rl(e){return Po(e,t=>{if(!t)throw xn.create("installation-not-found");return bf(t)})}function bf(e){return Uk(e)?{fid:e.fid,registrationStatus:0}:e}function Uk(e){return e.registrationStatus===1&&e.registrationTime+nf<Date.now()}/**
586
+ */async function ua(e){let t;const n=await Fi(e.appConfig,o=>{const i=Sx(o),r=Cx(e,i);return t=r.registrationPromise,r.installationEntry});return n.fid===ls?{installationEntry:await t}:{installationEntry:n,registrationPromise:t}}function Sx(e){const t=e||{fid:wx(),registrationStatus:0};return $f(t)}function Cx(e,t){if(t.registrationStatus===0){if(!navigator.onLine){const i=Promise.reject(En.create("app-offline"));return{installationEntry:t,registrationPromise:i}}const n={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},o=Ox(e,n);return{installationEntry:n,registrationPromise:o}}else return t.registrationStatus===1?{installationEntry:t,registrationPromise:Ax(e)}:{installationEntry:t}}async function Ox(e,t){try{const n=await bx(e,t);return xi(e.appConfig,n)}catch(n){throw xf(n)&&n.customData.serverCode===409?await Nf(e.appConfig):await xi(e.appConfig,{fid:t.fid,registrationStatus:0}),n}}async function Ax(e){let t=await Jl(e.appConfig);for(;t.registrationStatus===1;)await Cf(100),t=await Jl(e.appConfig);if(t.registrationStatus===0){const{installationEntry:n,registrationPromise:o}=await ua(e);return o||n}return t}function Jl(e){return Fi(e,t=>{if(!t)throw En.create("installation-not-found");return $f(t)})}function $f(e){return Dx(e)?{fid:e.fid,registrationStatus:0}:e}function Dx(e){return e.registrationStatus===1&&e.registrationTime+yf<Date.now()}/**
579
587
  * @license
580
588
  * Copyright 2019 Google LLC
581
589
  *
@@ -590,7 +598,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
590
598
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
591
599
  * See the License for the specific language governing permissions and
592
600
  * limitations under the License.
593
- */async function zk({appConfig:e,heartbeatServiceProvider:t},n){const i=Bk(e,n),o=_k(e,n),r=t.getImmediate({optional:!0});if(r){const c=await r.getHeartbeatsHeader();c&&o.append("x-firebase-client",c)}const s={installation:{sdkVersion:of,appId:e.appId}},a={method:"POST",headers:o,body:JSON.stringify(s)},l=await uf(()=>fetch(i,a));if(l.ok){const c=await l.json();return lf(c)}else throw await cf("Generate Auth Token",l)}function Bk(e,{fid:t}){return`${af(e)}/${t}/authTokens:generate`}/**
601
+ */async function Nx({appConfig:e,heartbeatServiceProvider:t},n){const o=$x(e,n),i=mx(e,n),r=t.getImmediate({optional:!0});if(r){const c=await r.getHeartbeatsHeader();c&&i.append("x-firebase-client",c)}const s={installation:{sdkVersion:wf,appId:e.appId}},a={method:"POST",headers:i,body:JSON.stringify(s)},l=await Sf(()=>fetch(o,a));if(l.ok){const c=await l.json();return Ef(c)}else throw await Tf("Generate Auth Token",l)}function $x(e,{fid:t}){return`${_f(e)}/${t}/authTokens:generate`}/**
594
602
  * @license
595
603
  * Copyright 2019 Google LLC
596
604
  *
@@ -605,7 +613,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
605
613
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
606
614
  * See the License for the specific language governing permissions and
607
615
  * limitations under the License.
608
- */async function Js(e,t=!1){let n;const i=await Po(e.appConfig,r=>{if(!vf(r))throw xn.create("not-registered");const s=r.authToken;if(!t&&jk(s))return r;if(s.requestStatus===1)return n=Hk(e,t),r;{if(!navigator.onLine)throw xn.create("app-offline");const a=Gk(r);return n=Wk(e,a),a}});return n?await n:i.authToken}async function Hk(e,t){let n=await Fl(e.appConfig);for(;n.authToken.requestStatus===1;)await ff(100),n=await Fl(e.appConfig);const i=n.authToken;return i.requestStatus===0?Js(e,t):i}function Fl(e){return Po(e,t=>{if(!vf(t))throw xn.create("not-registered");const n=t.authToken;return qk(n)?Object.assign(Object.assign({},t),{authToken:{requestStatus:0}}):t})}async function Wk(e,t){try{const n=await zk(e,t),i=Object.assign(Object.assign({},t),{authToken:n});return await yo(e.appConfig,i),n}catch(n){if(sf(n)&&(n.customData.serverCode===401||n.customData.serverCode===404))await gf(e.appConfig);else{const i=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});await yo(e.appConfig,i)}throw n}}function vf(e){return e!==void 0&&e.registrationStatus===2}function jk(e){return e.requestStatus===2&&!Yk(e)}function Yk(e){const t=Date.now();return t<e.creationTime||e.creationTime+e.expiresIn<t+yk}function Gk(e){const t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},e),{authToken:t})}function qk(e){return e.requestStatus===1&&e.requestTime+nf<Date.now()}/**
616
+ */async function fa(e,t=!1){let n;const o=await Fi(e.appConfig,r=>{if(!Lf(r))throw En.create("not-registered");const s=r.authToken;if(!t&&Mx(s))return r;if(s.requestStatus===1)return n=Lx(e,t),r;{if(!navigator.onLine)throw En.create("app-offline");const a=Fx(r);return n=Px(e,a),a}});return n?await n:o.authToken}async function Lx(e,t){let n=await Ql(e.appConfig);for(;n.authToken.requestStatus===1;)await Cf(100),n=await Ql(e.appConfig);const o=n.authToken;return o.requestStatus===0?fa(e,t):o}function Ql(e){return Fi(e,t=>{if(!Lf(t))throw En.create("not-registered");const n=t.authToken;return Vx(n)?Object.assign(Object.assign({},t),{authToken:{requestStatus:0}}):t})}async function Px(e,t){try{const n=await Nx(e,t),o=Object.assign(Object.assign({},t),{authToken:n});return await xi(e.appConfig,o),n}catch(n){if(xf(n)&&(n.customData.serverCode===401||n.customData.serverCode===404))await Nf(e.appConfig);else{const o=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});await xi(e.appConfig,o)}throw n}}function Lf(e){return e!==void 0&&e.registrationStatus===2}function Mx(e){return e.requestStatus===2&&!Rx(e)}function Rx(e){const t=Date.now();return t<e.creationTime||e.creationTime+e.expiresIn<t+dx}function Fx(e){const t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},e),{authToken:t})}function Vx(e){return e.requestStatus===1&&e.requestTime+yf<Date.now()}/**
609
617
  * @license
610
618
  * Copyright 2019 Google LLC
611
619
  *
@@ -620,7 +628,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
620
628
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
621
629
  * See the License for the specific language governing permissions and
622
630
  * limitations under the License.
623
- */async function Kk(e){const t=e,{installationEntry:n,registrationPromise:i}=await Zs(t);return i?i.catch(console.error):Js(t).catch(console.error),n.fid}/**
631
+ */async function zx(e){const t=e,{installationEntry:n,registrationPromise:o}=await ua(t);return o?o.catch(console.error):fa(t).catch(console.error),n.fid}/**
624
632
  * @license
625
633
  * Copyright 2019 Google LLC
626
634
  *
@@ -635,7 +643,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
635
643
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
636
644
  * See the License for the specific language governing permissions and
637
645
  * limitations under the License.
638
- */async function Xk(e,t=!1){const n=e;return await Zk(n),(await Js(n,t)).token}async function Zk(e){const{registrationPromise:t}=await Zs(e);t&&await t}/**
646
+ */async function Ux(e,t=!1){const n=e;return await Bx(n),(await fa(n,t)).token}async function Bx(e){const{registrationPromise:t}=await ua(e);t&&await t}/**
639
647
  * @license
640
648
  * Copyright 2019 Google LLC
641
649
  *
@@ -650,7 +658,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
650
658
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
651
659
  * See the License for the specific language governing permissions and
652
660
  * limitations under the License.
653
- */function Jk(e){if(!e||!e.options)throw mr("App Configuration");if(!e.name)throw mr("App Name");const t=["projectId","apiKey","appId"];for(const n of t)if(!e.options[n])throw mr(n);return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}function mr(e){return xn.create("missing-app-config-values",{valueName:e})}/**
661
+ */function Hx(e){if(!e||!e.options)throw wr("App Configuration");if(!e.name)throw wr("App Name");const t=["projectId","apiKey","appId"];for(const n of t)if(!e.options[n])throw wr(n);return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}function wr(e){return En.create("missing-app-config-values",{valueName:e})}/**
654
662
  * @license
655
663
  * Copyright 2020 Google LLC
656
664
  *
@@ -665,7 +673,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
665
673
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
666
674
  * See the License for the specific language governing permissions and
667
675
  * limitations under the License.
668
- */const yf="installations",Qk="installations-internal",ex=e=>{const t=e.getProvider("app").getImmediate(),n=Jk(t),i=Gs(t,"heartbeat");return{app:t,appConfig:n,heartbeatServiceProvider:i,_delete:()=>Promise.resolve()}},tx=e=>{const t=e.getProvider("app").getImmediate(),n=Gs(t,yf).getImmediate();return{getId:()=>Kk(n),getToken:o=>Xk(n,o)}};function nx(){kn(new en(yf,ex,"PUBLIC")),kn(new en(Qk,tx,"PRIVATE"))}nx();Jt(tf,Ks);Jt(tf,Ks,"esm2017");const ix=(e,t)=>t.some(n=>e instanceof n);let Vl,Ul;function ox(){return Vl||(Vl=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function rx(){return Ul||(Ul=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const wf=new WeakMap,ns=new WeakMap,kf=new WeakMap,pr=new WeakMap,Qs=new WeakMap;function sx(e){const t=new Promise((n,i)=>{const o=()=>{e.removeEventListener("success",r),e.removeEventListener("error",s)},r=()=>{n(Ut(e.result)),o()},s=()=>{i(e.error),o()};e.addEventListener("success",r),e.addEventListener("error",s)});return t.then(n=>{n instanceof IDBCursor&&wf.set(n,e)}).catch(()=>{}),Qs.set(t,e),t}function ax(e){if(ns.has(e))return;const t=new Promise((n,i)=>{const o=()=>{e.removeEventListener("complete",r),e.removeEventListener("error",s),e.removeEventListener("abort",s)},r=()=>{n(),o()},s=()=>{i(e.error||new DOMException("AbortError","AbortError")),o()};e.addEventListener("complete",r),e.addEventListener("error",s),e.addEventListener("abort",s)});ns.set(e,t)}let is={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return ns.get(e);if(t==="objectStoreNames")return e.objectStoreNames||kf.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Ut(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function lx(e){is=e(is)}function cx(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const i=e.call(gr(this),t,...n);return kf.set(i,t.sort?t.sort():[t]),Ut(i)}:rx().includes(e)?function(...t){return e.apply(gr(this),t),Ut(wf.get(this))}:function(...t){return Ut(e.apply(gr(this),t))}}function dx(e){return typeof e=="function"?cx(e):(e instanceof IDBTransaction&&ax(e),ix(e,ox())?new Proxy(e,is):e)}function Ut(e){if(e instanceof IDBRequest)return sx(e);if(pr.has(e))return pr.get(e);const t=dx(e);return t!==e&&(pr.set(e,t),Qs.set(t,e)),t}const gr=e=>Qs.get(e);function xf(e,t,{blocked:n,upgrade:i,blocking:o,terminated:r}={}){const s=indexedDB.open(e,t),a=Ut(s);return i&&s.addEventListener("upgradeneeded",l=>{i(Ut(s.result),l.oldVersion,l.newVersion,Ut(s.transaction))}),n&&s.addEventListener("blocked",()=>n()),a.then(l=>{r&&l.addEventListener("close",()=>r()),o&&l.addEventListener("versionchange",()=>o())}).catch(()=>{}),a}function br(e,{blocked:t}={}){const n=indexedDB.deleteDatabase(e);return t&&n.addEventListener("blocked",()=>t()),Ut(n).then(()=>{})}const ux=["get","getKey","getAll","getAllKeys","count"],fx=["put","add","delete","clear"],vr=new Map;function zl(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(vr.get(t))return vr.get(t);const n=t.replace(/FromIndex$/,""),i=t!==n,o=fx.includes(n);if(!(n in(i?IDBIndex:IDBObjectStore).prototype)||!(o||ux.includes(n)))return;const r=async function(s,...a){const l=this.transaction(s,o?"readwrite":"readonly");let c=l.store;return i&&(c=c.index(a.shift())),(await Promise.all([c[n](...a),o&&l.done]))[0]};return vr.set(t,r),r}lx(e=>({...e,get:(t,n,i)=>zl(t,n)||e.get(t,n,i),has:(t,n)=>!!zl(t,n)||e.has(t,n)}));/**
676
+ */const Pf="installations",jx="installations-internal",Wx=e=>{const t=e.getProvider("app").getImmediate(),n=Hx(t),o=aa(t,"heartbeat");return{app:t,appConfig:n,heartbeatServiceProvider:o,_delete:()=>Promise.resolve()}},Yx=e=>{const t=e.getProvider("app").getImmediate(),n=aa(t,Pf).getImmediate();return{getId:()=>zx(n),getToken:i=>Ux(n,i)}};function Gx(){_n(new nn(Pf,Wx,"PUBLIC")),_n(new nn(jx,Yx,"PRIVATE"))}Gx();en(vf,ca);en(vf,ca,"esm2017");const qx=(e,t)=>t.some(n=>e instanceof n);let ec,tc;function Kx(){return ec||(ec=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Xx(){return tc||(tc=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Mf=new WeakMap,cs=new WeakMap,Rf=new WeakMap,kr=new WeakMap,ha=new WeakMap;function Zx(e){const t=new Promise((n,o)=>{const i=()=>{e.removeEventListener("success",r),e.removeEventListener("error",s)},r=()=>{n(Ut(e.result)),i()},s=()=>{o(e.error),i()};e.addEventListener("success",r),e.addEventListener("error",s)});return t.then(n=>{n instanceof IDBCursor&&Mf.set(n,e)}).catch(()=>{}),ha.set(t,e),t}function Jx(e){if(cs.has(e))return;const t=new Promise((n,o)=>{const i=()=>{e.removeEventListener("complete",r),e.removeEventListener("error",s),e.removeEventListener("abort",s)},r=()=>{n(),i()},s=()=>{o(e.error||new DOMException("AbortError","AbortError")),i()};e.addEventListener("complete",r),e.addEventListener("error",s),e.addEventListener("abort",s)});cs.set(e,t)}let ds={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return cs.get(e);if(t==="objectStoreNames")return e.objectStoreNames||Rf.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Ut(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function Qx(e){ds=e(ds)}function e_(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const o=e.call(xr(this),t,...n);return Rf.set(o,t.sort?t.sort():[t]),Ut(o)}:Xx().includes(e)?function(...t){return e.apply(xr(this),t),Ut(Mf.get(this))}:function(...t){return Ut(e.apply(xr(this),t))}}function t_(e){return typeof e=="function"?e_(e):(e instanceof IDBTransaction&&Jx(e),qx(e,Kx())?new Proxy(e,ds):e)}function Ut(e){if(e instanceof IDBRequest)return Zx(e);if(kr.has(e))return kr.get(e);const t=t_(e);return t!==e&&(kr.set(e,t),ha.set(t,e)),t}const xr=e=>ha.get(e);function Ff(e,t,{blocked:n,upgrade:o,blocking:i,terminated:r}={}){const s=indexedDB.open(e,t),a=Ut(s);return o&&s.addEventListener("upgradeneeded",l=>{o(Ut(s.result),l.oldVersion,l.newVersion,Ut(s.transaction))}),n&&s.addEventListener("blocked",()=>n()),a.then(l=>{r&&l.addEventListener("close",()=>r()),i&&l.addEventListener("versionchange",()=>i())}).catch(()=>{}),a}function _r(e,{blocked:t}={}){const n=indexedDB.deleteDatabase(e);return t&&n.addEventListener("blocked",()=>t()),Ut(n).then(()=>{})}const n_=["get","getKey","getAll","getAllKeys","count"],o_=["put","add","delete","clear"],Er=new Map;function nc(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(Er.get(t))return Er.get(t);const n=t.replace(/FromIndex$/,""),o=t!==n,i=o_.includes(n);if(!(n in(o?IDBIndex:IDBObjectStore).prototype)||!(i||n_.includes(n)))return;const r=async function(s,...a){const l=this.transaction(s,i?"readwrite":"readonly");let c=l.store;return o&&(c=c.index(a.shift())),(await Promise.all([c[n](...a),i&&l.done]))[0]};return Er.set(t,r),r}Qx(e=>({...e,get:(t,n,o)=>nc(t,n)||e.get(t,n,o),has:(t,n)=>!!nc(t,n)||e.has(t,n)}));/**
669
677
  * @license
670
678
  * Copyright 2019 Google LLC
671
679
  *
@@ -680,7 +688,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
680
688
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
681
689
  * See the License for the specific language governing permissions and
682
690
  * limitations under the License.
683
- */const hx="/firebase-messaging-sw.js",mx="/firebase-cloud-messaging-push-scope",_f="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",px="https://fcmregistrations.googleapis.com/v1",Ef="google.c.a.c_id",gx="google.c.a.c_l",bx="google.c.a.ts",vx="google.c.a.e";var Bl;(function(e){e[e.DATA_MESSAGE=1]="DATA_MESSAGE",e[e.DISPLAY_NOTIFICATION=3]="DISPLAY_NOTIFICATION"})(Bl||(Bl={}));/**
691
+ */const i_="/firebase-messaging-sw.js",r_="/firebase-cloud-messaging-push-scope",Vf="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",s_="https://fcmregistrations.googleapis.com/v1",zf="google.c.a.c_id",a_="google.c.a.c_l",l_="google.c.a.ts",c_="google.c.a.e";var oc;(function(e){e[e.DATA_MESSAGE=1]="DATA_MESSAGE",e[e.DISPLAY_NOTIFICATION=3]="DISPLAY_NOTIFICATION"})(oc||(oc={}));/**
684
692
  * @license
685
693
  * Copyright 2018 Google LLC
686
694
  *
@@ -693,7 +701,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
693
701
  * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
694
702
  * or implied. See the License for the specific language governing permissions and limitations under
695
703
  * the License.
696
- */var ki;(function(e){e.PUSH_RECEIVED="push-received",e.NOTIFICATION_CLICKED="notification-clicked"})(ki||(ki={}));/**
704
+ */var Eo;(function(e){e.PUSH_RECEIVED="push-received",e.NOTIFICATION_CLICKED="notification-clicked"})(Eo||(Eo={}));/**
697
705
  * @license
698
706
  * Copyright 2017 Google LLC
699
707
  *
@@ -708,7 +716,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
708
716
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
709
717
  * See the License for the specific language governing permissions and
710
718
  * limitations under the License.
711
- */function Mt(e){const t=new Uint8Array(e);return btoa(String.fromCharCode(...t)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function yx(e){const t="=".repeat((4-e.length%4)%4),n=(e+t).replace(/\-/g,"+").replace(/_/g,"/"),i=atob(n),o=new Uint8Array(i.length);for(let r=0;r<i.length;++r)o[r]=i.charCodeAt(r);return o}/**
719
+ */function Ft(e){const t=new Uint8Array(e);return btoa(String.fromCharCode(...t)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function d_(e){const t="=".repeat((4-e.length%4)%4),n=(e+t).replace(/\-/g,"+").replace(/_/g,"/"),o=atob(n),i=new Uint8Array(o.length);for(let r=0;r<o.length;++r)i[r]=o.charCodeAt(r);return i}/**
712
720
  * @license
713
721
  * Copyright 2019 Google LLC
714
722
  *
@@ -723,7 +731,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
723
731
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
724
732
  * See the License for the specific language governing permissions and
725
733
  * limitations under the License.
726
- */const yr="fcm_token_details_db",wx=5,Hl="fcm_token_object_Store";async function kx(e){if("databases"in indexedDB&&!(await indexedDB.databases()).map(r=>r.name).includes(yr))return null;let t=null;return(await xf(yr,wx,{upgrade:async(i,o,r,s)=>{var a;if(o<2||!i.objectStoreNames.contains(Hl))return;const l=s.objectStore(Hl),c=await l.index("fcmSenderId").get(e);if(await l.clear(),!!c){if(o===2){const d=c;if(!d.auth||!d.p256dh||!d.endpoint)return;t={token:d.fcmToken,createTime:(a=d.createTime)!==null&&a!==void 0?a:Date.now(),subscriptionOptions:{auth:d.auth,p256dh:d.p256dh,endpoint:d.endpoint,swScope:d.swScope,vapidKey:typeof d.vapidKey=="string"?d.vapidKey:Mt(d.vapidKey)}}}else if(o===3){const d=c;t={token:d.fcmToken,createTime:d.createTime,subscriptionOptions:{auth:Mt(d.auth),p256dh:Mt(d.p256dh),endpoint:d.endpoint,swScope:d.swScope,vapidKey:Mt(d.vapidKey)}}}else if(o===4){const d=c;t={token:d.fcmToken,createTime:d.createTime,subscriptionOptions:{auth:Mt(d.auth),p256dh:Mt(d.p256dh),endpoint:d.endpoint,swScope:d.swScope,vapidKey:Mt(d.vapidKey)}}}}}})).close(),await br(yr),await br("fcm_vapid_details_db"),await br("undefined"),xx(t)?t:null}function xx(e){if(!e||!e.subscriptionOptions)return!1;const{subscriptionOptions:t}=e;return typeof e.createTime=="number"&&e.createTime>0&&typeof e.token=="string"&&e.token.length>0&&typeof t.auth=="string"&&t.auth.length>0&&typeof t.p256dh=="string"&&t.p256dh.length>0&&typeof t.endpoint=="string"&&t.endpoint.length>0&&typeof t.swScope=="string"&&t.swScope.length>0&&typeof t.vapidKey=="string"&&t.vapidKey.length>0}/**
734
+ */const Tr="fcm_token_details_db",u_=5,ic="fcm_token_object_Store";async function f_(e){if("databases"in indexedDB&&!(await indexedDB.databases()).map(r=>r.name).includes(Tr))return null;let t=null;return(await Ff(Tr,u_,{upgrade:async(o,i,r,s)=>{var a;if(i<2||!o.objectStoreNames.contains(ic))return;const l=s.objectStore(ic),c=await l.index("fcmSenderId").get(e);if(await l.clear(),!!c){if(i===2){const d=c;if(!d.auth||!d.p256dh||!d.endpoint)return;t={token:d.fcmToken,createTime:(a=d.createTime)!==null&&a!==void 0?a:Date.now(),subscriptionOptions:{auth:d.auth,p256dh:d.p256dh,endpoint:d.endpoint,swScope:d.swScope,vapidKey:typeof d.vapidKey=="string"?d.vapidKey:Ft(d.vapidKey)}}}else if(i===3){const d=c;t={token:d.fcmToken,createTime:d.createTime,subscriptionOptions:{auth:Ft(d.auth),p256dh:Ft(d.p256dh),endpoint:d.endpoint,swScope:d.swScope,vapidKey:Ft(d.vapidKey)}}}else if(i===4){const d=c;t={token:d.fcmToken,createTime:d.createTime,subscriptionOptions:{auth:Ft(d.auth),p256dh:Ft(d.p256dh),endpoint:d.endpoint,swScope:d.swScope,vapidKey:Ft(d.vapidKey)}}}}}})).close(),await _r(Tr),await _r("fcm_vapid_details_db"),await _r("undefined"),h_(t)?t:null}function h_(e){if(!e||!e.subscriptionOptions)return!1;const{subscriptionOptions:t}=e;return typeof e.createTime=="number"&&e.createTime>0&&typeof e.token=="string"&&e.token.length>0&&typeof t.auth=="string"&&t.auth.length>0&&typeof t.p256dh=="string"&&t.p256dh.length>0&&typeof t.endpoint=="string"&&t.endpoint.length>0&&typeof t.swScope=="string"&&t.swScope.length>0&&typeof t.vapidKey=="string"&&t.vapidKey.length>0}/**
727
735
  * @license
728
736
  * Copyright 2019 Google LLC
729
737
  *
@@ -738,7 +746,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
738
746
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
739
747
  * See the License for the specific language governing permissions and
740
748
  * limitations under the License.
741
- */const _x="firebase-messaging-database",Ex=1,En="firebase-messaging-store";let wr=null;function ea(){return wr||(wr=xf(_x,Ex,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(En)}}})),wr}async function Tf(e){const t=na(e),i=await(await ea()).transaction(En).objectStore(En).get(t);if(i)return i;{const o=await kx(e.appConfig.senderId);if(o)return await ta(e,o),o}}async function ta(e,t){const n=na(e),o=(await ea()).transaction(En,"readwrite");return await o.objectStore(En).put(t,n),await o.done,t}async function Tx(e){const t=na(e),i=(await ea()).transaction(En,"readwrite");await i.objectStore(En).delete(t),await i.done}function na({appConfig:e}){return e.appId}/**
749
+ */const m_="firebase-messaging-database",p_=1,In="firebase-messaging-store";let Ir=null;function ma(){return Ir||(Ir=Ff(m_,p_,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(In)}}})),Ir}async function Uf(e){const t=ga(e),o=await(await ma()).transaction(In).objectStore(In).get(t);if(o)return o;{const i=await f_(e.appConfig.senderId);if(i)return await pa(e,i),i}}async function pa(e,t){const n=ga(e),i=(await ma()).transaction(In,"readwrite");return await i.objectStore(In).put(t,n),await i.done,t}async function g_(e){const t=ga(e),o=(await ma()).transaction(In,"readwrite");await o.objectStore(In).delete(t),await o.done}function ga({appConfig:e}){return e.appId}/**
742
750
  * @license
743
751
  * Copyright 2017 Google LLC
744
752
  *
@@ -753,7 +761,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
753
761
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
754
762
  * See the License for the specific language governing permissions and
755
763
  * limitations under the License.
756
- */const Ix={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invalid-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."},Me=new Lo("messaging","Messaging",Ix);/**
764
+ */const b_={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invalid-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."},Me=new Mi("messaging","Messaging",b_);/**
757
765
  * @license
758
766
  * Copyright 2019 Google LLC
759
767
  *
@@ -768,7 +776,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
768
776
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
769
777
  * See the License for the specific language governing permissions and
770
778
  * limitations under the License.
771
- */async function Sx(e,t){const n=await oa(e),i=Sf(t),o={method:"POST",headers:n,body:JSON.stringify(i)};let r;try{r=await(await fetch(ia(e.appConfig),o)).json()}catch(s){throw Me.create("token-subscribe-failed",{errorInfo:s==null?void 0:s.toString()})}if(r.error){const s=r.error.message;throw Me.create("token-subscribe-failed",{errorInfo:s})}if(!r.token)throw Me.create("token-subscribe-no-token");return r.token}async function Ox(e,t){const n=await oa(e),i=Sf(t.subscriptionOptions),o={method:"PATCH",headers:n,body:JSON.stringify(i)};let r;try{r=await(await fetch(`${ia(e.appConfig)}/${t.token}`,o)).json()}catch(s){throw Me.create("token-update-failed",{errorInfo:s==null?void 0:s.toString()})}if(r.error){const s=r.error.message;throw Me.create("token-update-failed",{errorInfo:s})}if(!r.token)throw Me.create("token-update-no-token");return r.token}async function If(e,t){const i={method:"DELETE",headers:await oa(e)};try{const r=await(await fetch(`${ia(e.appConfig)}/${t}`,i)).json();if(r.error){const s=r.error.message;throw Me.create("token-unsubscribe-failed",{errorInfo:s})}}catch(o){throw Me.create("token-unsubscribe-failed",{errorInfo:o==null?void 0:o.toString()})}}function ia({projectId:e}){return`${px}/projects/${e}/registrations`}async function oa({appConfig:e,installations:t}){const n=await t.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e.apiKey,"x-goog-firebase-installations-auth":`FIS ${n}`})}function Sf({p256dh:e,auth:t,endpoint:n,vapidKey:i}){const o={web:{endpoint:n,auth:t,p256dh:e}};return i!==_f&&(o.web.applicationPubKey=i),o}/**
779
+ */async function v_(e,t){const n=await va(e),o=Hf(t),i={method:"POST",headers:n,body:JSON.stringify(o)};let r;try{r=await(await fetch(ba(e.appConfig),i)).json()}catch(s){throw Me.create("token-subscribe-failed",{errorInfo:s==null?void 0:s.toString()})}if(r.error){const s=r.error.message;throw Me.create("token-subscribe-failed",{errorInfo:s})}if(!r.token)throw Me.create("token-subscribe-no-token");return r.token}async function y_(e,t){const n=await va(e),o=Hf(t.subscriptionOptions),i={method:"PATCH",headers:n,body:JSON.stringify(o)};let r;try{r=await(await fetch(`${ba(e.appConfig)}/${t.token}`,i)).json()}catch(s){throw Me.create("token-update-failed",{errorInfo:s==null?void 0:s.toString()})}if(r.error){const s=r.error.message;throw Me.create("token-update-failed",{errorInfo:s})}if(!r.token)throw Me.create("token-update-no-token");return r.token}async function Bf(e,t){const o={method:"DELETE",headers:await va(e)};try{const r=await(await fetch(`${ba(e.appConfig)}/${t}`,o)).json();if(r.error){const s=r.error.message;throw Me.create("token-unsubscribe-failed",{errorInfo:s})}}catch(i){throw Me.create("token-unsubscribe-failed",{errorInfo:i==null?void 0:i.toString()})}}function ba({projectId:e}){return`${s_}/projects/${e}/registrations`}async function va({appConfig:e,installations:t}){const n=await t.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e.apiKey,"x-goog-firebase-installations-auth":`FIS ${n}`})}function Hf({p256dh:e,auth:t,endpoint:n,vapidKey:o}){const i={web:{endpoint:n,auth:t,p256dh:e}};return o!==Vf&&(i.web.applicationPubKey=o),i}/**
772
780
  * @license
773
781
  * Copyright 2019 Google LLC
774
782
  *
@@ -783,7 +791,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
783
791
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
784
792
  * See the License for the specific language governing permissions and
785
793
  * limitations under the License.
786
- */const Cx=7*24*60*60*1e3;async function Ax(e){const t=await Lx(e.swRegistration,e.vapidKey),n={vapidKey:e.vapidKey,swScope:e.swRegistration.scope,endpoint:t.endpoint,auth:Mt(t.getKey("auth")),p256dh:Mt(t.getKey("p256dh"))},i=await Tf(e.firebaseDependencies);if(i){if($x(i.subscriptionOptions,n))return Date.now()>=i.createTime+Cx?Dx(e,{token:i.token,createTime:Date.now(),subscriptionOptions:n}):i.token;try{await If(e.firebaseDependencies,i.token)}catch(o){console.warn(o)}return Wl(e.firebaseDependencies,n)}else return Wl(e.firebaseDependencies,n)}async function Nx(e){const t=await Tf(e.firebaseDependencies);t&&(await If(e.firebaseDependencies,t.token),await Tx(e.firebaseDependencies));const n=await e.swRegistration.pushManager.getSubscription();return n?n.unsubscribe():!0}async function Dx(e,t){try{const n=await Ox(e.firebaseDependencies,t),i=Object.assign(Object.assign({},t),{token:n,createTime:Date.now()});return await ta(e.firebaseDependencies,i),n}catch(n){throw await Nx(e),n}}async function Wl(e,t){const i={token:await Sx(e,t),createTime:Date.now(),subscriptionOptions:t};return await ta(e,i),i.token}async function Lx(e,t){const n=await e.pushManager.getSubscription();return n||e.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:yx(t)})}function $x(e,t){const n=t.vapidKey===e.vapidKey,i=t.endpoint===e.endpoint,o=t.auth===e.auth,r=t.p256dh===e.p256dh;return n&&i&&o&&r}/**
794
+ */const w_=7*24*60*60*1e3;async function k_(e){const t=await E_(e.swRegistration,e.vapidKey),n={vapidKey:e.vapidKey,swScope:e.swRegistration.scope,endpoint:t.endpoint,auth:Ft(t.getKey("auth")),p256dh:Ft(t.getKey("p256dh"))},o=await Uf(e.firebaseDependencies);if(o){if(T_(o.subscriptionOptions,n))return Date.now()>=o.createTime+w_?__(e,{token:o.token,createTime:Date.now(),subscriptionOptions:n}):o.token;try{await Bf(e.firebaseDependencies,o.token)}catch(i){console.warn(i)}return rc(e.firebaseDependencies,n)}else return rc(e.firebaseDependencies,n)}async function x_(e){const t=await Uf(e.firebaseDependencies);t&&(await Bf(e.firebaseDependencies,t.token),await g_(e.firebaseDependencies));const n=await e.swRegistration.pushManager.getSubscription();return n?n.unsubscribe():!0}async function __(e,t){try{const n=await y_(e.firebaseDependencies,t),o=Object.assign(Object.assign({},t),{token:n,createTime:Date.now()});return await pa(e.firebaseDependencies,o),n}catch(n){throw await x_(e),n}}async function rc(e,t){const o={token:await v_(e,t),createTime:Date.now(),subscriptionOptions:t};return await pa(e,o),o.token}async function E_(e,t){const n=await e.pushManager.getSubscription();return n||e.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:d_(t)})}function T_(e,t){const n=t.vapidKey===e.vapidKey,o=t.endpoint===e.endpoint,i=t.auth===e.auth,r=t.p256dh===e.p256dh;return n&&o&&i&&r}/**
787
795
  * @license
788
796
  * Copyright 2020 Google LLC
789
797
  *
@@ -798,7 +806,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
798
806
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
799
807
  * See the License for the specific language governing permissions and
800
808
  * limitations under the License.
801
- */function jl(e){const t={from:e.from,collapseKey:e.collapse_key,messageId:e.fcmMessageId};return Px(t,e),Mx(t,e),Rx(t,e),t}function Px(e,t){if(!t.notification)return;e.notification={};const n=t.notification.title;n&&(e.notification.title=n);const i=t.notification.body;i&&(e.notification.body=i);const o=t.notification.image;o&&(e.notification.image=o);const r=t.notification.icon;r&&(e.notification.icon=r)}function Mx(e,t){t.data&&(e.data=t.data)}function Rx(e,t){var n,i,o,r,s;if(!t.fcmOptions&&!(!((n=t.notification)===null||n===void 0)&&n.click_action))return;e.fcmOptions={};const a=(o=(i=t.fcmOptions)===null||i===void 0?void 0:i.link)!==null&&o!==void 0?o:(r=t.notification)===null||r===void 0?void 0:r.click_action;a&&(e.fcmOptions.link=a);const l=(s=t.fcmOptions)===null||s===void 0?void 0:s.analytics_label;l&&(e.fcmOptions.analyticsLabel=l)}/**
809
+ */function sc(e){const t={from:e.from,collapseKey:e.collapse_key,messageId:e.fcmMessageId};return I_(t,e),S_(t,e),C_(t,e),t}function I_(e,t){if(!t.notification)return;e.notification={};const n=t.notification.title;n&&(e.notification.title=n);const o=t.notification.body;o&&(e.notification.body=o);const i=t.notification.image;i&&(e.notification.image=i);const r=t.notification.icon;r&&(e.notification.icon=r)}function S_(e,t){t.data&&(e.data=t.data)}function C_(e,t){var n,o,i,r,s;if(!t.fcmOptions&&!(!((n=t.notification)===null||n===void 0)&&n.click_action))return;e.fcmOptions={};const a=(i=(o=t.fcmOptions)===null||o===void 0?void 0:o.link)!==null&&i!==void 0?i:(r=t.notification)===null||r===void 0?void 0:r.click_action;a&&(e.fcmOptions.link=a);const l=(s=t.fcmOptions)===null||s===void 0?void 0:s.analytics_label;l&&(e.fcmOptions.analyticsLabel=l)}/**
802
810
  * @license
803
811
  * Copyright 2019 Google LLC
804
812
  *
@@ -813,7 +821,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
813
821
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
814
822
  * See the License for the specific language governing permissions and
815
823
  * limitations under the License.
816
- */function Fx(e){return typeof e=="object"&&!!e&&Ef in e}/**
824
+ */function O_(e){return typeof e=="object"&&!!e&&zf in e}/**
817
825
  * @license
818
826
  * Copyright 2019 Google LLC
819
827
  *
@@ -828,7 +836,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
828
836
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
829
837
  * See the License for the specific language governing permissions and
830
838
  * limitations under the License.
831
- */Of("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o");Of("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");function Of(e,t){const n=[];for(let i=0;i<e.length;i++)n.push(e.charAt(i)),i<t.length&&n.push(t.charAt(i));return n.join("")}/**
839
+ */jf("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o");jf("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");function jf(e,t){const n=[];for(let o=0;o<e.length;o++)n.push(e.charAt(o)),o<t.length&&n.push(t.charAt(o));return n.join("")}/**
832
840
  * @license
833
841
  * Copyright 2019 Google LLC
834
842
  *
@@ -843,7 +851,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
843
851
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
844
852
  * See the License for the specific language governing permissions and
845
853
  * limitations under the License.
846
- */function Vx(e){if(!e||!e.options)throw kr("App Configuration Object");if(!e.name)throw kr("App Name");const t=["projectId","apiKey","appId","messagingSenderId"],{options:n}=e;for(const i of t)if(!n[i])throw kr(i);return{appName:e.name,projectId:n.projectId,apiKey:n.apiKey,appId:n.appId,senderId:n.messagingSenderId}}function kr(e){return Me.create("missing-app-config-values",{valueName:e})}/**
854
+ */function A_(e){if(!e||!e.options)throw Sr("App Configuration Object");if(!e.name)throw Sr("App Name");const t=["projectId","apiKey","appId","messagingSenderId"],{options:n}=e;for(const o of t)if(!n[o])throw Sr(o);return{appName:e.name,projectId:n.projectId,apiKey:n.apiKey,appId:n.appId,senderId:n.messagingSenderId}}function Sr(e){return Me.create("missing-app-config-values",{valueName:e})}/**
847
855
  * @license
848
856
  * Copyright 2020 Google LLC
849
857
  *
@@ -858,7 +866,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
858
866
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
859
867
  * See the License for the specific language governing permissions and
860
868
  * limitations under the License.
861
- */class Ux{constructor(t,n,i){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const o=Vx(t);this.firebaseDependencies={app:t,appConfig:o,installations:n,analyticsProvider:i}}_delete(){return Promise.resolve()}}/**
869
+ */class D_{constructor(t,n,o){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const i=A_(t);this.firebaseDependencies={app:t,appConfig:i,installations:n,analyticsProvider:o}}_delete(){return Promise.resolve()}}/**
862
870
  * @license
863
871
  * Copyright 2020 Google LLC
864
872
  *
@@ -873,7 +881,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
873
881
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
874
882
  * See the License for the specific language governing permissions and
875
883
  * limitations under the License.
876
- */async function zx(e){try{e.swRegistration=await navigator.serviceWorker.register(hx,{scope:mx}),e.swRegistration.update().catch(()=>{})}catch(t){throw Me.create("failed-service-worker-registration",{browserErrorMessage:t==null?void 0:t.message})}}/**
884
+ */async function N_(e){try{e.swRegistration=await navigator.serviceWorker.register(i_,{scope:r_}),e.swRegistration.update().catch(()=>{})}catch(t){throw Me.create("failed-service-worker-registration",{browserErrorMessage:t==null?void 0:t.message})}}/**
877
885
  * @license
878
886
  * Copyright 2020 Google LLC
879
887
  *
@@ -888,7 +896,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
888
896
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
889
897
  * See the License for the specific language governing permissions and
890
898
  * limitations under the License.
891
- */async function Bx(e,t){if(!t&&!e.swRegistration&&await zx(e),!(!t&&e.swRegistration)){if(!(t instanceof ServiceWorkerRegistration))throw Me.create("invalid-sw-registration");e.swRegistration=t}}/**
899
+ */async function $_(e,t){if(!t&&!e.swRegistration&&await N_(e),!(!t&&e.swRegistration)){if(!(t instanceof ServiceWorkerRegistration))throw Me.create("invalid-sw-registration");e.swRegistration=t}}/**
892
900
  * @license
893
901
  * Copyright 2020 Google LLC
894
902
  *
@@ -903,7 +911,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
903
911
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
904
912
  * See the License for the specific language governing permissions and
905
913
  * limitations under the License.
906
- */async function Hx(e,t){t?e.vapidKey=t:e.vapidKey||(e.vapidKey=_f)}/**
914
+ */async function L_(e,t){t?e.vapidKey=t:e.vapidKey||(e.vapidKey=Vf)}/**
907
915
  * @license
908
916
  * Copyright 2020 Google LLC
909
917
  *
@@ -918,7 +926,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
918
926
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
919
927
  * See the License for the specific language governing permissions and
920
928
  * limitations under the License.
921
- */async function Cf(e,t){if(!navigator)throw Me.create("only-available-in-window");if(Notification.permission==="default"&&await Notification.requestPermission(),Notification.permission!=="granted")throw Me.create("permission-blocked");return await Hx(e,t==null?void 0:t.vapidKey),await Bx(e,t==null?void 0:t.serviceWorkerRegistration),Ax(e)}/**
929
+ */async function Wf(e,t){if(!navigator)throw Me.create("only-available-in-window");if(Notification.permission==="default"&&await Notification.requestPermission(),Notification.permission!=="granted")throw Me.create("permission-blocked");return await L_(e,t==null?void 0:t.vapidKey),await $_(e,t==null?void 0:t.serviceWorkerRegistration),k_(e)}/**
922
930
  * @license
923
931
  * Copyright 2019 Google LLC
924
932
  *
@@ -933,7 +941,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
933
941
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
934
942
  * See the License for the specific language governing permissions and
935
943
  * limitations under the License.
936
- */async function Wx(e,t,n){const i=jx(t);(await e.firebaseDependencies.analyticsProvider.get()).logEvent(i,{message_id:n[Ef],message_name:n[gx],message_time:n[bx],message_device_time:Math.floor(Date.now()/1e3)})}function jx(e){switch(e){case ki.NOTIFICATION_CLICKED:return"notification_open";case ki.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}/**
944
+ */async function P_(e,t,n){const o=M_(t);(await e.firebaseDependencies.analyticsProvider.get()).logEvent(o,{message_id:n[zf],message_name:n[a_],message_time:n[l_],message_device_time:Math.floor(Date.now()/1e3)})}function M_(e){switch(e){case Eo.NOTIFICATION_CLICKED:return"notification_open";case Eo.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}/**
937
945
  * @license
938
946
  * Copyright 2017 Google LLC
939
947
  *
@@ -948,7 +956,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
948
956
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
949
957
  * See the License for the specific language governing permissions and
950
958
  * limitations under the License.
951
- */async function Yx(e,t){const n=t.data;if(!n.isFirebaseMessaging)return;e.onMessageHandler&&n.messageType===ki.PUSH_RECEIVED&&(typeof e.onMessageHandler=="function"?e.onMessageHandler(jl(n)):e.onMessageHandler.next(jl(n)));const i=n.data;Fx(i)&&i[vx]==="1"&&await Wx(e,n.messageType,i)}const Yl="@firebase/messaging",Gl="0.12.4";/**
959
+ */async function R_(e,t){const n=t.data;if(!n.isFirebaseMessaging)return;e.onMessageHandler&&n.messageType===Eo.PUSH_RECEIVED&&(typeof e.onMessageHandler=="function"?e.onMessageHandler(sc(n)):e.onMessageHandler.next(sc(n)));const o=n.data;O_(o)&&o[c_]==="1"&&await P_(e,n.messageType,o)}const ac="@firebase/messaging",lc="0.12.4";/**
952
960
  * @license
953
961
  * Copyright 2020 Google LLC
954
962
  *
@@ -963,7 +971,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
963
971
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
964
972
  * See the License for the specific language governing permissions and
965
973
  * limitations under the License.
966
- */const Gx=e=>{const t=new Ux(e.getProvider("app").getImmediate(),e.getProvider("installations-internal").getImmediate(),e.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",n=>Yx(t,n)),t},qx=e=>{const t=e.getProvider("messaging").getImmediate();return{getToken:i=>Cf(t,i)}};function Kx(){kn(new en("messaging",Gx,"PUBLIC")),kn(new en("messaging-internal",qx,"PRIVATE")),Jt(Yl,Gl),Jt(Yl,Gl,"esm2017")}/**
974
+ */const F_=e=>{const t=new D_(e.getProvider("app").getImmediate(),e.getProvider("installations-internal").getImmediate(),e.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",n=>R_(t,n)),t},V_=e=>{const t=e.getProvider("messaging").getImmediate();return{getToken:o=>Wf(t,o)}};function z_(){_n(new nn("messaging",F_,"PUBLIC")),_n(new nn("messaging-internal",V_,"PRIVATE")),en(ac,lc),en(ac,lc,"esm2017")}/**
967
975
  * @license
968
976
  * Copyright 2020 Google LLC
969
977
  *
@@ -978,7 +986,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
978
986
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
979
987
  * See the License for the specific language governing permissions and
980
988
  * limitations under the License.
981
- */async function Xx(){try{await Gu()}catch{return!1}return typeof window<"u"&&Yu()&&Ky()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")}/**
989
+ */async function U_(){try{await df()}catch{return!1}return typeof window<"u"&&cf()&&zw()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")}/**
982
990
  * @license
983
991
  * Copyright 2020 Google LLC
984
992
  *
@@ -993,7 +1001,7 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
993
1001
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
994
1002
  * See the License for the specific language governing permissions and
995
1003
  * limitations under the License.
996
- */function Zx(e,t){if(!navigator)throw Me.create("only-available-in-window");return e.onMessageHandler=t,()=>{e.onMessageHandler=null}}/**
1004
+ */function B_(e,t){if(!navigator)throw Me.create("only-available-in-window");return e.onMessageHandler=t,()=>{e.onMessageHandler=null}}/**
997
1005
  * @license
998
1006
  * Copyright 2017 Google LLC
999
1007
  *
@@ -1008,32 +1016,30 @@ This will fail in production.`);a=li,a._s.has(i)||(r?Or(i,t,o,a):Sa(i,o,a),proce
1008
1016
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1009
1017
  * See the License for the specific language governing permissions and
1010
1018
  * limitations under the License.
1011
- */function Jx(e=Kw()){return Xx().then(t=>{if(!t)throw Me.create("unsupported-browser")},t=>{throw Me.create("indexed-db-unsupported")}),Gs(js(e),"messaging").getImmediate()}async function Qx(e,t){return e=js(e),Cf(e,t)}function e_(e,t){return e=js(e),Zx(e,t)}Kx();const Af=async(e,t,n,i)=>{const r=Xu(e),s=Jx(r);if(await Notification.requestPermission()==="granted"){const l=await Qx(s,{vapidKey:t});await n(l),e_(s,d=>{i({notification:d,isForeground:!0})});const c=new BroadcastChannel("FB_BG_MESSAGES");c.onmessage=d=>{i({notification:d.data,isForeground:!1})}}else alert("You denied notifications.")},Nf=m.defineComponent({template:`
1019
+ */function H_(e=zk()){return U_().then(t=>{if(!t)throw Me.create("unsupported-browser")},t=>{throw Me.create("indexed-db-unsupported")}),aa(ra(e),"messaging").getImmediate()}async function j_(e,t){return e=ra(e),Wf(e,t)}function W_(e,t){return e=ra(e),B_(e,t)}z_();const Yf=async(e,t,n,o)=>{const r=hf(e),s=H_(r);if(await Notification.requestPermission()==="granted"){const l=await j_(s,{vapidKey:t});await n(l),W_(s,d=>{o({notification:d,isForeground:!0})});const c=new BroadcastChannel("FB_BG_MESSAGES");c.onmessage=d=>{o({notification:d.data,isForeground:!1})}}else alert("You denied notifications.")},Gf=h.defineComponent({template:`
1012
1020
  <div style='position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);'>
1013
1021
  <h4 v-if='errorMsg.length'>
1014
1022
  {{ errorMsg }}
1015
1023
  </h4>
1016
1024
  </div>
1017
- `,data(){return{errorMsg:"",authStore:{},router:{},route:{}}},async mounted(){if(this.authStore=Wd(),this.router=exports.appContext.config.globalProperties.$router,this.route=exports.appContext.config.globalProperties.$route,!Object.keys(this.route.query).length){window.location.href=Fe.appLoginUrl;return}const{token:e,oms:t,expirationTime:n}=this.route.query;this.handleUserFlow(e,t,n)},methods:{async handleUserFlow(e,t,n){const i=Fe.getConfig();if(await Fe.logout({isUserUnauthorised:!0}),await Fe.initialise(i),+n<j.now().toMillis()){console.error("User token has expired, redirecting to launchpad."),this.errorMsg="User token has expired, redirecting to launchpad.";const o=window.location.origin+"/login";window.location.href=`${Fe.appLoginUrl}?isLoggedOut=true&redirectUrl=${o}`;return}this.authStore.$patch({token:{value:e,expiration:n},oms:t}),Fe.loader.present("Logging in");try{await Fe.login({token:e,oms:t}),await Af(Vt.appFirebaseConfig,Vt.appFirebaseVapidKey,Vt.storeClientRegistrationToken,Vt.addNotification),this.router.push("/")}catch(o){console.error(o),this.errorMsg="Unable to login. Please contact the administrator"}finally{Fe.loader.dismiss()}}}}),Df=m.defineComponent({template:`
1018
- <img :src="imageUrl"/>
1019
- `,data(){return{imageUrl:pa.defaultImgUrl}},props:["src","size"],mounted(){this.setImageUrl()},updated(){this.setImageUrl()},methods:{prepareImgUrl(e,t){return t?e.replace(/_(pico|icon|thumb|small|compact|medium|large|grande|original|1024x1024|2048x2048|master)+\./g,".").replace(/\.jpg|\.png|\.gif|\.jpeg/g,function(n){return"_"+t+n}):e},checkIfImageExists(e){return new Promise((t,n)=>{const i=new Image;i.onload=function(){t(!0)},i.onerror=function(){n(!1)},i.src=e})},setImageUrl(){if(this.src){const e=this.prepareImgUrl(this.src,this.size);this.checkIfImageExists(e).then(()=>{this.imageUrl=e})}}}}),t_=(e,t)=>{const n=(t.startsWith("http")?t.replace(/api\/?/,""):`https://${t}.hotwax.io/`)+`commerce/control/main?token=${e}`;window.open(n,"_blank","noopener, noreferrer")};function n_(e){return typeof e=="object"&&e!==null}function ql(e,t){return e=n_(e)?e:Object.create(null),new Proxy(e,{get(n,i,o){return i==="key"?Reflect.get(n,i,o):Reflect.get(n,i,o)||Reflect.get(t,i,o)}})}function i_(e,t){return t.reduce((n,i)=>n==null?void 0:n[i],e)}function o_(e,t,n){return t.slice(0,-1).reduce((i,o)=>/^(__proto__)$/.test(o)?{}:i[o]=i[o]||{},e)[t[t.length-1]]=n,e}function r_(e,t){return t.reduce((n,i)=>{const o=i.split(".");return o_(n,o,i_(e,o))},{})}function Kl(e,{storage:t,serializer:n,key:i,debug:o}){try{const r=t==null?void 0:t.getItem(i);r&&e.$patch(n==null?void 0:n.deserialize(r))}catch(r){o&&console.error(r)}}function Xl(e,{storage:t,serializer:n,key:i,paths:o,debug:r}){try{const s=Array.isArray(o)?r_(e,o):e;t.setItem(i,n.serialize(s))}catch(s){r&&console.error(s)}}function s_(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:i=n},store:o,pinia:r}=t;if(!i)return;if(!(o.$id in r.state.value)){const a=r._s.get(o.$id.replace("__hot:",""));a&&Promise.resolve().then(()=>a.$persist());return}const s=(Array.isArray(i)?i.map(a=>ql(a,e)):[ql(i,e)]).map(({storage:a=localStorage,beforeRestore:l=null,afterRestore:c=null,serializer:d={serialize:JSON.stringify,deserialize:JSON.parse},key:u=o.$id,paths:f=null,debug:b=!1})=>{var I;return{storage:a,beforeRestore:l,afterRestore:c,serializer:d,key:((I=e.key)!=null?I:x=>x)(typeof u=="string"?u:u(o.$id)),paths:f,debug:b}});o.$persist=()=>{s.forEach(a=>{Xl(o.$state,a)})},o.$hydrate=({runHooks:a=!0}={})=>{s.forEach(l=>{const{beforeRestore:c,afterRestore:d}=l;a&&(c==null||c(t)),Kl(o,l),a&&(d==null||d(t))})},s.forEach(a=>{const{beforeRestore:l,afterRestore:c}=a;l==null||l(t),Kl(o,a),c==null||c(t),o.$subscribe((d,u)=>{Xl(u,a)},{detached:!0})})}}var a_=s_();/*!
1025
+ `,data(){return{errorMsg:"",authStore:{},router:{},route:{}}},async mounted(){if(this.authStore=$s(),this.router=exports.appContext.config.globalProperties.$router,this.route=exports.appContext.config.globalProperties.$route,!Object.keys(this.route.query).length){window.location.href=Fe.appLoginUrl;return}const{token:e,oms:t,expirationTime:n}=this.route.query;this.handleUserFlow(e,t,n)},methods:{async handleUserFlow(e,t,n){const o=Fe.getConfig();if(await Fe.logout({isUserUnauthorised:!0}),await Fe.initialise(o),+n<W.now().toMillis()){console.error("User token has expired, redirecting to launchpad."),this.errorMsg="User token has expired, redirecting to launchpad.";const i=window.location.origin+"/login";window.location.href=`${Fe.appLoginUrl}?isLoggedOut=true&redirectUrl=${i}`;return}this.authStore.$patch({token:{value:e,expiration:n},oms:t}),Fe.loader.present("Logging in");try{await Fe.login({token:e,oms:t}),Tt.appFirebaseConfig&&await Yf(Tt.appFirebaseConfig,Tt.appFirebaseVapidKey,Tt.storeClientRegistrationToken,Tt.addNotification),this.router.push("/")}catch(i){console.error(i),this.errorMsg="Unable to login. Please contact the administrator"}finally{Fe.loader.dismiss()}}}});function Y_(e){return typeof e=="object"&&e!==null}function cc(e,t){return e=Y_(e)?e:Object.create(null),new Proxy(e,{get(n,o,i){return o==="key"?Reflect.get(n,o,i):Reflect.get(n,o,i)||Reflect.get(t,o,i)}})}function G_(e,t){return t.reduce((n,o)=>n==null?void 0:n[o],e)}function q_(e,t,n){return t.slice(0,-1).reduce((o,i)=>/^(__proto__)$/.test(i)?{}:o[i]=o[i]||{},e)[t[t.length-1]]=n,e}function K_(e,t){return t.reduce((n,o)=>{const i=o.split(".");return q_(n,i,G_(e,i))},{})}function dc(e,{storage:t,serializer:n,key:o,debug:i}){try{const r=t==null?void 0:t.getItem(o);r&&e.$patch(n==null?void 0:n.deserialize(r))}catch(r){i&&console.error(r)}}function uc(e,{storage:t,serializer:n,key:o,paths:i,debug:r}){try{const s=Array.isArray(i)?K_(e,i):e;t.setItem(o,n.serialize(s))}catch(s){r&&console.error(s)}}function X_(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:o=n},store:i,pinia:r}=t;if(!o)return;if(!(i.$id in r.state.value)){const a=r._s.get(i.$id.replace("__hot:",""));a&&Promise.resolve().then(()=>a.$persist());return}const s=(Array.isArray(o)?o.map(a=>cc(a,e)):[cc(o,e)]).map(({storage:a=localStorage,beforeRestore:l=null,afterRestore:c=null,serializer:d={serialize:JSON.stringify,deserialize:JSON.parse},key:u=i.$id,paths:f=null,debug:b=!1})=>{var T;return{storage:a,beforeRestore:l,afterRestore:c,serializer:d,key:((T=e.key)!=null?T:x=>x)(typeof u=="string"?u:u(i.$id)),paths:f,debug:b}});i.$persist=()=>{s.forEach(a=>{uc(i.$state,a)})},i.$hydrate=({runHooks:a=!0}={})=>{s.forEach(l=>{const{beforeRestore:c,afterRestore:d}=l;a&&(c==null||c(t)),dc(i,l),a&&(d==null||d(t))})},s.forEach(a=>{const{beforeRestore:l,afterRestore:c}=a;l==null||l(t),dc(i,a),c==null||c(t),i.$subscribe((d,u)=>{uc(u,a)},{detached:!0})})}}var Z_=X_();/*!
1020
1026
  * shared v9.4.1
1021
1027
  * (c) 2023 kazuya kawaguchi
1022
1028
  * Released under the MIT License.
1023
- */const It=typeof window<"u";let Ye,Tn;if(process.env.NODE_ENV!=="production"){const e=It&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Ye=t=>{e.mark(t)},Tn=(t,n,i)=>{e.measure(t,n,i),e.clearMarks(n),e.clearMarks(i)})}const l_=/\{([0-9a-zA-Z]+)\}/g;function ra(e,...t){return t.length===1&&te(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(l_,(n,i)=>t.hasOwnProperty(i)?t[i]:"")}const Ot=(e,t=!1)=>t?Symbol.for(e):Symbol(e),c_=(e,t,n)=>d_({l:e,k:t,s:n}),d_=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),xe=e=>typeof e=="number"&&isFinite(e),u_=e=>$f(e)==="[object Date]",tn=e=>$f(e)==="[object RegExp]",Mo=e=>W(e)&&Object.keys(e).length===0,Ce=Object.assign;let Zl;const Rt=()=>Zl||(Zl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Jl(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const f_=Object.prototype.hasOwnProperty;function sa(e,t){return f_.call(e,t)}const re=Array.isArray,he=e=>typeof e=="function",R=e=>typeof e=="string",Y=e=>typeof e=="boolean",te=e=>e!==null&&typeof e=="object",Lf=Object.prototype.toString,$f=e=>Lf.call(e),W=e=>{if(!te(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},h_=e=>e==null?"":re(e)||W(e)&&e.toString===Lf?JSON.stringify(e,null,2):String(e);function m_(e,t=""){return e.reduce((n,i,o)=>o===0?n+i:n+t+i,"")}const Ql=2;function p_(e,t=0,n=e.length){const i=e.split(/\r?\n/);let o=0;const r=[];for(let s=0;s<i.length;s++)if(o+=i[s].length+1,o>=t){for(let a=s-Ql;a<=s+Ql||n>o;a++){if(a<0||a>=i.length)continue;const l=a+1;r.push(`${l}${" ".repeat(3-String(l).length)}| ${i[a]}`);const c=i[a].length;if(a===s){const d=t-(o-c)+1,u=Math.max(1,n>o?c-d:n-t);r.push(" | "+" ".repeat(d)+"^".repeat(u))}else if(a>s){if(n>o){const d=Math.max(Math.min(n-o,c),1);r.push(" | "+"^".repeat(d))}o+=c+1}}break}return r.join(`
1024
- `)}function aa(e){let t=e;return()=>++t}function Ie(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ec={};function g_(e){ec[e]||(ec[e]=!0,Ie(e))}function la(){const e=new Map;return{events:e,on(n,i){const o=e.get(n);o&&o.push(i)||e.set(n,[i])},off(n,i){const o=e.get(n);o&&o.splice(o.indexOf(i)>>>0,1)},emit(n,i){(e.get(n)||[]).slice().map(o=>o(i)),(e.get("*")||[]).slice().map(o=>o(n,i))}}}/*!
1029
+ */const Ct=typeof window<"u";let Ye,Sn;if(process.env.NODE_ENV!=="production"){const e=Ct&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Ye=t=>{e.mark(t)},Sn=(t,n,o)=>{e.measure(t,n,o),e.clearMarks(n),e.clearMarks(o)})}const J_=/\{([0-9a-zA-Z]+)\}/g;function ya(e,...t){return t.length===1&&ne(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(J_,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const At=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Q_=(e,t,n)=>eE({l:e,k:t,s:n}),eE=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),xe=e=>typeof e=="number"&&isFinite(e),tE=e=>Kf(e)==="[object Date]",on=e=>Kf(e)==="[object RegExp]",Vi=e=>j(e)&&Object.keys(e).length===0,Oe=Object.assign;let fc;const Vt=()=>fc||(fc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hc(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const nE=Object.prototype.hasOwnProperty;function wa(e,t){return nE.call(e,t)}const re=Array.isArray,pe=e=>typeof e=="function",R=e=>typeof e=="string",Y=e=>typeof e=="boolean",ne=e=>e!==null&&typeof e=="object",qf=Object.prototype.toString,Kf=e=>qf.call(e),j=e=>{if(!ne(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},oE=e=>e==null?"":re(e)||j(e)&&e.toString===qf?JSON.stringify(e,null,2):String(e);function iE(e,t=""){return e.reduce((n,o,i)=>i===0?n+o:n+t+o,"")}const mc=2;function rE(e,t=0,n=e.length){const o=e.split(/\r?\n/);let i=0;const r=[];for(let s=0;s<o.length;s++)if(i+=o[s].length+1,i>=t){for(let a=s-mc;a<=s+mc||n>i;a++){if(a<0||a>=o.length)continue;const l=a+1;r.push(`${l}${" ".repeat(3-String(l).length)}| ${o[a]}`);const c=o[a].length;if(a===s){const d=t-(i-c)+1,u=Math.max(1,n>i?c-d:n-t);r.push(" | "+" ".repeat(d)+"^".repeat(u))}else if(a>s){if(n>i){const d=Math.max(Math.min(n-i,c),1);r.push(" | "+"^".repeat(d))}i+=c+1}}break}return r.join(`
1030
+ `)}function ka(e){let t=e;return()=>++t}function Ie(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const pc={};function sE(e){pc[e]||(pc[e]=!0,Ie(e))}function xa(){const e=new Map;return{events:e,on(n,o){const i=e.get(n);i&&i.push(o)||e.set(n,[o])},off(n,o){const i=e.get(n);i&&i.splice(i.indexOf(o)>>>0,1)},emit(n,o){(e.get(n)||[]).slice().map(i=>i(o)),(e.get("*")||[]).slice().map(i=>i(n,o))}}}/*!
1025
1031
  * message-compiler v9.4.1
1026
1032
  * (c) 2023 kazuya kawaguchi
1027
1033
  * Released under the MIT License.
1028
- */function b_(e,t,n){return{line:e,column:t,offset:n}}function os(e,t,n){const i={start:e,end:t};return n!=null&&(i.source=n),i}const v_=/\{([0-9a-zA-Z]+)\}/g;function y_(e,...t){return t.length===1&&w_(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(v_,(n,i)=>t.hasOwnProperty(i)?t[i]:"")}const Pf=Object.assign,tc=e=>typeof e=="string",w_=e=>e!==null&&typeof e=="object";function Mf(e,t=""){return e.reduce((n,i,o)=>o===0?n+i:n+t+i,"")}const B={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},k_={[B.EXPECTED_TOKEN]:"Expected token: '{0}'",[B.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[B.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[B.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[B.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[B.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[B.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[B.EMPTY_PLACEHOLDER]:"Empty placeholder",[B.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[B.INVALID_LINKED_FORMAT]:"Invalid linked format",[B.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[B.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[B.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[B.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[B.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[B.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function ii(e,t,n={}){const{domain:i,messages:o,args:r}=n,s=y_((o||k_)[e]||"",...r||[]),a=new SyntaxError(String(s));return a.code=e,t&&(a.location=t),a.domain=i,a}function x_(e){throw e}const __=/<\/?[\w\s="/.':;#-\/]+>/,E_=e=>__.test(e),Pt=" ",T_="\r",Re=`
1029
- `,I_=String.fromCharCode(8232),S_=String.fromCharCode(8233);function O_(e){const t=e;let n=0,i=1,o=1,r=0;const s=w=>t[w]===T_&&t[w+1]===Re,a=w=>t[w]===Re,l=w=>t[w]===S_,c=w=>t[w]===I_,d=w=>s(w)||a(w)||l(w)||c(w),u=()=>n,f=()=>i,b=()=>o,I=()=>r,x=w=>s(w)||l(w)||c(w)?Re:t[w],O=()=>x(n),g=()=>x(n+r);function y(){return r=0,d(n)&&(i++,o=0),s(n)&&n++,n++,o++,t[n]}function S(){return s(n+r)&&r++,r++,t[n+r]}function k(){n=0,i=1,o=1,r=0}function N(w=0){r=w}function v(){const w=n+r;for(;w!==n;)y();r=0}return{index:u,line:f,column:b,peekOffset:I,charAt:x,currentChar:O,currentPeek:g,next:y,peek:S,reset:k,resetPeek:N,skipToPeek:v}}const Yt=void 0,C_=".",nc="'",A_="tokenizer";function N_(e,t={}){const n=t.location!==!1,i=O_(e),o=()=>i.index(),r=()=>b_(i.line(),i.column(),i.index()),s=r(),a=o(),l={currentType:14,offset:a,startLoc:s,endLoc:s,lastType:14,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:d}=t;function u(p,h,E,...V){const H=c();if(h.column+=E,h.offset+=E,d){const Q=n?os(H.startLoc,h):null,Xe=ii(p,Q,{domain:A_,args:V});d(Xe)}}function f(p,h,E){p.endLoc=r(),p.currentType=h;const V={type:h};return n&&(V.loc=os(p.startLoc,p.endLoc)),E!=null&&(V.value=E),V}const b=p=>f(p,14);function I(p,h){return p.currentChar()===h?(p.next(),h):(u(B.EXPECTED_TOKEN,r(),0,h),"")}function x(p){let h="";for(;p.currentPeek()===Pt||p.currentPeek()===Re;)h+=p.currentPeek(),p.peek();return h}function O(p){const h=x(p);return p.skipToPeek(),h}function g(p){if(p===Yt)return!1;const h=p.charCodeAt(0);return h>=97&&h<=122||h>=65&&h<=90||h===95}function y(p){if(p===Yt)return!1;const h=p.charCodeAt(0);return h>=48&&h<=57}function S(p,h){const{currentType:E}=h;if(E!==2)return!1;x(p);const V=g(p.currentPeek());return p.resetPeek(),V}function k(p,h){const{currentType:E}=h;if(E!==2)return!1;x(p);const V=p.currentPeek()==="-"?p.peek():p.currentPeek(),H=y(V);return p.resetPeek(),H}function N(p,h){const{currentType:E}=h;if(E!==2)return!1;x(p);const V=p.currentPeek()===nc;return p.resetPeek(),V}function v(p,h){const{currentType:E}=h;if(E!==8)return!1;x(p);const V=p.currentPeek()===".";return p.resetPeek(),V}function w(p,h){const{currentType:E}=h;if(E!==9)return!1;x(p);const V=g(p.currentPeek());return p.resetPeek(),V}function P(p,h){const{currentType:E}=h;if(!(E===8||E===12))return!1;x(p);const V=p.currentPeek()===":";return p.resetPeek(),V}function A(p,h){const{currentType:E}=h;if(E!==10)return!1;const V=()=>{const Q=p.currentPeek();return Q==="{"?g(p.peek()):Q==="@"||Q==="%"||Q==="|"||Q===":"||Q==="."||Q===Pt||!Q?!1:Q===Re?(p.peek(),V()):g(Q)},H=V();return p.resetPeek(),H}function D(p){x(p);const h=p.currentPeek()==="|";return p.resetPeek(),h}function $(p){const h=x(p),E=p.currentPeek()==="%"&&p.peek()==="{";return p.resetPeek(),{isModulo:E,hasSpace:h.length>0}}function z(p,h=!0){const E=(H=!1,Q="",Xe=!1)=>{const st=p.currentPeek();return st==="{"?Q==="%"?!1:H:st==="@"||!st?Q==="%"?!0:H:st==="%"?(p.peek(),E(H,"%",!0)):st==="|"?Q==="%"||Xe?!0:!(Q===Pt||Q===Re):st===Pt?(p.peek(),E(!0,Pt,Xe)):st===Re?(p.peek(),E(!0,Re,Xe)):!0},V=E();return h&&p.resetPeek(),V}function ne(p,h){const E=p.currentChar();return E===Yt?Yt:h(E)?(p.next(),E):null}function ye(p){return ne(p,E=>{const V=E.charCodeAt(0);return V>=97&&V<=122||V>=65&&V<=90||V>=48&&V<=57||V===95||V===36})}function ze(p){return ne(p,E=>{const V=E.charCodeAt(0);return V>=48&&V<=57})}function q(p){return ne(p,E=>{const V=E.charCodeAt(0);return V>=48&&V<=57||V>=65&&V<=70||V>=97&&V<=102})}function K(p){let h="",E="";for(;h=ze(p);)E+=h;return E}function ot(p){O(p);const h=p.currentChar();return h!=="%"&&u(B.EXPECTED_TOKEN,r(),0,h),p.next(),"%"}function Ne(p){let h="";for(;;){const E=p.currentChar();if(E==="{"||E==="}"||E==="@"||E==="|"||!E)break;if(E==="%")if(z(p))h+=E,p.next();else break;else if(E===Pt||E===Re)if(z(p))h+=E,p.next();else{if(D(p))break;h+=E,p.next()}else h+=E,p.next()}return h}function qe(p){O(p);let h="",E="";for(;h=ye(p);)E+=h;return p.currentChar()===Yt&&u(B.UNTERMINATED_CLOSING_BRACE,r(),0),E}function rt(p){O(p);let h="";return p.currentChar()==="-"?(p.next(),h+=`-${K(p)}`):h+=K(p),p.currentChar()===Yt&&u(B.UNTERMINATED_CLOSING_BRACE,r(),0),h}function yt(p){O(p),I(p,"'");let h="",E="";const V=Q=>Q!==nc&&Q!==Re;for(;h=ne(p,V);)h==="\\"?E+=_e(p):E+=h;const H=p.currentChar();return H===Re||H===Yt?(u(B.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),H===Re&&(p.next(),I(p,"'")),E):(I(p,"'"),E)}function _e(p){const h=p.currentChar();switch(h){case"\\":case"'":return p.next(),`\\${h}`;case"u":return Ke(p,h,4);case"U":return Ke(p,h,6);default:return u(B.UNKNOWN_ESCAPE_SEQUENCE,r(),0,h),""}}function Ke(p,h,E){I(p,h);let V="";for(let H=0;H<E;H++){const Q=q(p);if(!Q){u(B.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${h}${V}${p.currentChar()}`);break}V+=Q}return`\\${h}${V}`}function Ee(p){O(p);let h="",E="";const V=H=>H!=="{"&&H!=="}"&&H!==Pt&&H!==Re;for(;h=ne(p,V);)E+=h;return E}function Bt(p){let h="",E="";for(;h=ye(p);)E+=h;return E}function Ht(p){const h=(E=!1,V)=>{const H=p.currentChar();return H==="{"||H==="%"||H==="@"||H==="|"||H==="("||H===")"||!H||H===Pt?V:H===Re||H===C_?(V+=H,p.next(),h(E,V)):(V+=H,p.next(),h(!0,V))};return h(!1,"")}function Ct(p){O(p);const h=I(p,"|");return O(p),h}function At(p,h){let E=null;switch(p.currentChar()){case"{":return h.braceNest>=1&&u(B.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),p.next(),E=f(h,2,"{"),O(p),h.braceNest++,E;case"}":return h.braceNest>0&&h.currentType===2&&u(B.EMPTY_PLACEHOLDER,r(),0),p.next(),E=f(h,3,"}"),h.braceNest--,h.braceNest>0&&O(p),h.inLinked&&h.braceNest===0&&(h.inLinked=!1),E;case"@":return h.braceNest>0&&u(B.UNTERMINATED_CLOSING_BRACE,r(),0),E=wt(p,h)||b(h),h.braceNest=0,E;default:let H=!0,Q=!0,Xe=!0;if(D(p))return h.braceNest>0&&u(B.UNTERMINATED_CLOSING_BRACE,r(),0),E=f(h,1,Ct(p)),h.braceNest=0,h.inLinked=!1,E;if(h.braceNest>0&&(h.currentType===5||h.currentType===6||h.currentType===7))return u(B.UNTERMINATED_CLOSING_BRACE,r(),0),h.braceNest=0,Nt(p,h);if(H=S(p,h))return E=f(h,5,qe(p)),O(p),E;if(Q=k(p,h))return E=f(h,6,rt(p)),O(p),E;if(Xe=N(p,h))return E=f(h,7,yt(p)),O(p),E;if(!H&&!Q&&!Xe)return E=f(h,13,Ee(p)),u(B.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,E.value),O(p),E;break}return E}function wt(p,h){const{currentType:E}=h;let V=null;const H=p.currentChar();switch((E===8||E===9||E===12||E===10)&&(H===Re||H===Pt)&&u(B.INVALID_LINKED_FORMAT,r(),0),H){case"@":return p.next(),V=f(h,8,"@"),h.inLinked=!0,V;case".":return O(p),p.next(),f(h,9,".");case":":return O(p),p.next(),f(h,10,":");default:return D(p)?(V=f(h,1,Ct(p)),h.braceNest=0,h.inLinked=!1,V):v(p,h)||P(p,h)?(O(p),wt(p,h)):w(p,h)?(O(p),f(h,12,Bt(p))):A(p,h)?(O(p),H==="{"?At(p,h)||V:f(h,11,Ht(p))):(E===8&&u(B.INVALID_LINKED_FORMAT,r(),0),h.braceNest=0,h.inLinked=!1,Nt(p,h))}}function Nt(p,h){let E={type:14};if(h.braceNest>0)return At(p,h)||b(h);if(h.inLinked)return wt(p,h)||b(h);switch(p.currentChar()){case"{":return At(p,h)||b(h);case"}":return u(B.UNBALANCED_CLOSING_BRACE,r(),0),p.next(),f(h,3,"}");case"@":return wt(p,h)||b(h);default:if(D(p))return E=f(h,1,Ct(p)),h.braceNest=0,h.inLinked=!1,E;const{isModulo:H,hasSpace:Q}=$(p);if(H)return Q?f(h,0,Ne(p)):f(h,4,ot(p));if(z(p))return f(h,0,Ne(p));break}return E}function kt(){const{currentType:p,offset:h,startLoc:E,endLoc:V}=l;return l.lastType=p,l.lastOffset=h,l.lastStartLoc=E,l.lastEndLoc=V,l.offset=o(),l.startLoc=r(),i.currentChar()===Yt?f(l,14):Nt(i,l)}return{nextToken:kt,currentOffset:o,currentPosition:r,context:c}}const D_="parser",L_=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function $_(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(t||n,16);return i<=55295||i>=57344?String.fromCodePoint(i):"�"}}}function P_(e={}){const t=e.location!==!1,{onError:n}=e;function i(g,y,S,k,...N){const v=g.currentPosition();if(v.offset+=k,v.column+=k,n){const w=t?os(S,v):null,P=ii(y,w,{domain:D_,args:N});n(P)}}function o(g,y,S){const k={type:g};return t&&(k.start=y,k.end=y,k.loc={start:S,end:S}),k}function r(g,y,S,k){k&&(g.type=k),t&&(g.end=y,g.loc&&(g.loc.end=S))}function s(g,y){const S=g.context(),k=o(3,S.offset,S.startLoc);return k.value=y,r(k,g.currentOffset(),g.currentPosition()),k}function a(g,y){const S=g.context(),{lastOffset:k,lastStartLoc:N}=S,v=o(5,k,N);return v.index=parseInt(y,10),g.nextToken(),r(v,g.currentOffset(),g.currentPosition()),v}function l(g,y){const S=g.context(),{lastOffset:k,lastStartLoc:N}=S,v=o(4,k,N);return v.key=y,g.nextToken(),r(v,g.currentOffset(),g.currentPosition()),v}function c(g,y){const S=g.context(),{lastOffset:k,lastStartLoc:N}=S,v=o(9,k,N);return v.value=y.replace(L_,$_),g.nextToken(),r(v,g.currentOffset(),g.currentPosition()),v}function d(g){const y=g.nextToken(),S=g.context(),{lastOffset:k,lastStartLoc:N}=S,v=o(8,k,N);return y.type!==12?(i(g,B.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),v.value="",r(v,k,N),{nextConsumeToken:y,node:v}):(y.value==null&&i(g,B.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,_t(y)),v.value=y.value||"",r(v,g.currentOffset(),g.currentPosition()),{node:v})}function u(g,y){const S=g.context(),k=o(7,S.offset,S.startLoc);return k.value=y,r(k,g.currentOffset(),g.currentPosition()),k}function f(g){const y=g.context(),S=o(6,y.offset,y.startLoc);let k=g.nextToken();if(k.type===9){const N=d(g);S.modifier=N.node,k=N.nextConsumeToken||g.nextToken()}switch(k.type!==10&&i(g,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,_t(k)),k=g.nextToken(),k.type===2&&(k=g.nextToken()),k.type){case 11:k.value==null&&i(g,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,_t(k)),S.key=u(g,k.value||"");break;case 5:k.value==null&&i(g,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,_t(k)),S.key=l(g,k.value||"");break;case 6:k.value==null&&i(g,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,_t(k)),S.key=a(g,k.value||"");break;case 7:k.value==null&&i(g,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,_t(k)),S.key=c(g,k.value||"");break;default:i(g,B.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const N=g.context(),v=o(7,N.offset,N.startLoc);return v.value="",r(v,N.offset,N.startLoc),S.key=v,r(S,N.offset,N.startLoc),{nextConsumeToken:k,node:S}}return r(S,g.currentOffset(),g.currentPosition()),{node:S}}function b(g){const y=g.context(),S=y.currentType===1?g.currentOffset():y.offset,k=y.currentType===1?y.endLoc:y.startLoc,N=o(2,S,k);N.items=[];let v=null;do{const A=v||g.nextToken();switch(v=null,A.type){case 0:A.value==null&&i(g,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,_t(A)),N.items.push(s(g,A.value||""));break;case 6:A.value==null&&i(g,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,_t(A)),N.items.push(a(g,A.value||""));break;case 5:A.value==null&&i(g,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,_t(A)),N.items.push(l(g,A.value||""));break;case 7:A.value==null&&i(g,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,_t(A)),N.items.push(c(g,A.value||""));break;case 8:const D=f(g);N.items.push(D.node),v=D.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const w=y.currentType===1?y.lastOffset:g.currentOffset(),P=y.currentType===1?y.lastEndLoc:g.currentPosition();return r(N,w,P),N}function I(g,y,S,k){const N=g.context();let v=k.items.length===0;const w=o(1,y,S);w.cases=[],w.cases.push(k);do{const P=b(g);v||(v=P.items.length===0),w.cases.push(P)}while(N.currentType!==14);return v&&i(g,B.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),r(w,g.currentOffset(),g.currentPosition()),w}function x(g){const y=g.context(),{offset:S,startLoc:k}=y,N=b(g);return y.currentType===14?N:I(g,S,k,N)}function O(g){const y=N_(g,Pf({},e)),S=y.context(),k=o(0,S.offset,S.startLoc);return t&&k.loc&&(k.loc.source=g),k.body=x(y),e.onCacheKey&&(k.cacheKey=e.onCacheKey(g)),S.currentType!==14&&i(y,B.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,g[S.offset]||""),r(k,y.currentOffset(),y.currentPosition()),k}return{parse:O}}function _t(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function M_(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function ic(e,t){for(let n=0;n<e.length;n++)ca(e[n],t)}function ca(e,t){switch(e.type){case 1:ic(e.cases,t),t.helper("plural");break;case 2:ic(e.items,t);break;case 6:ca(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function R_(e,t={}){const n=M_(e);n.helper("normalize"),e.body&&ca(e.body,n);const i=n.context();e.helpers=Array.from(i.helpers)}function F_(e){const t=e.body;return t.type===2?oc(t):t.cases.forEach(n=>oc(n)),e}function oc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const i=e.items[n];if(!(i.type===3||i.type===9)||i.value==null)break;t.push(i.value)}if(t.length===e.items.length){e.static=Mf(t);for(let n=0;n<e.items.length;n++){const i=e.items[n];(i.type===3||i.type===9)&&delete i.value}}}}const V_="minifier";function Un(e){switch(e.t=e.type,e.type){case 0:const t=e;Un(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,i=n.cases;for(let d=0;d<i.length;d++)Un(i[d]);n.c=i,delete n.cases;break;case 2:const o=e,r=o.items;for(let d=0;d<r.length;d++)Un(r[d]);o.i=r,delete o.items,o.static&&(o.s=o.static,delete o.static);break;case 3:case 9:case 8:case 7:const s=e;s.value&&(s.v=s.value,delete s.value);break;case 6:const a=e;Un(a.key),a.k=a.key,delete a.key,a.modifier&&(Un(a.modifier),a.m=a.modifier,delete a.modifier);break;case 5:const l=e;l.i=l.index,delete l.index;break;case 4:const c=e;c.k=c.key,delete c.key;break;default:throw ii(B.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:V_,args:[e.type]})}delete e.type}const U_="parser";function z_(e,t){const{sourceMap:n,filename:i,breakLineCode:o,needIndent:r}=t,s=t.location!==!1,a={filename:i,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:r,indentLevel:0};s&&e.loc&&(a.source=e.loc.source);const l=()=>a;function c(O,g){a.code+=O}function d(O,g=!0){const y=g?o:"";c(r?y+" ".repeat(O):y)}function u(O=!0){const g=++a.indentLevel;O&&d(g)}function f(O=!0){const g=--a.indentLevel;O&&d(g)}function b(){d(a.indentLevel)}return{context:l,push:c,indent:u,deindent:f,newline:b,helper:O=>`_${O}`,needIndent:()=>a.needIndent}}function B_(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),qn(e,t.key),t.modifier?(e.push(", "),qn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function H_(e,t){const{helper:n,needIndent:i}=e;e.push(`${n("normalize")}([`),e.indent(i());const o=t.items.length;for(let r=0;r<o&&(qn(e,t.items[r]),r!==o-1);r++)e.push(", ");e.deindent(i()),e.push("])")}function W_(e,t){const{helper:n,needIndent:i}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(i());const o=t.cases.length;for(let r=0;r<o&&(qn(e,t.cases[r]),r!==o-1);r++)e.push(", ");e.deindent(i()),e.push("])")}}function j_(e,t){t.body?qn(e,t.body):e.push("null")}function qn(e,t){const{helper:n}=e;switch(t.type){case 0:j_(e,t);break;case 1:W_(e,t);break;case 2:H_(e,t);break;case 6:B_(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw ii(B.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:U_,args:[t.type]})}}const Y_=(e,t={})=>{const n=tc(t.mode)?t.mode:"normal",i=tc(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
1030
- `,s=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=z_(e,{mode:n,filename:i,sourceMap:o,breakLineCode:r,needIndent:s});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(s),a.length>0&&(l.push(`const { ${Mf(a.map(u=>`${u}: _${u}`),", ")} } = ctx`),l.newline()),l.push("return "),qn(l,e),l.deindent(s),l.push("}"),delete e.helpers;const{code:c,map:d}=l.context();return{ast:e,code:c,map:d?d.toJSON():void 0}};function G_(e,t={}){const n=Pf({},t),i=!!n.jit,o=!!n.minify,r=n.optimize==null?!0:n.optimize,a=P_(n).parse(e);return i?(r&&F_(a),o&&Un(a),{ast:a,code:""}):(R_(a,n),Y_(a,n))}/*!
1034
+ */function aE(e,t,n){return{line:e,column:t,offset:n}}function us(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const lE=/\{([0-9a-zA-Z]+)\}/g;function cE(e,...t){return t.length===1&&dE(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(lE,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const Xf=Object.assign,gc=e=>typeof e=="string",dE=e=>e!==null&&typeof e=="object";function Zf(e,t=""){return e.reduce((n,o,i)=>i===0?n+o:n+t+o,"")}const B={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},uE={[B.EXPECTED_TOKEN]:"Expected token: '{0}'",[B.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[B.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[B.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[B.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[B.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[B.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[B.EMPTY_PLACEHOLDER]:"Empty placeholder",[B.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[B.INVALID_LINKED_FORMAT]:"Invalid linked format",[B.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[B.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[B.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[B.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[B.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[B.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function ro(e,t,n={}){const{domain:o,messages:i,args:r}=n,s=cE((i||uE)[e]||"",...r||[]),a=new SyntaxError(String(s));return a.code=e,t&&(a.location=t),a.domain=o,a}function fE(e){throw e}const hE=/<\/?[\w\s="/.':;#-\/]+>/,mE=e=>hE.test(e),Rt=" ",pE="\r",Re=`
1035
+ `,gE=String.fromCharCode(8232),bE=String.fromCharCode(8233);function vE(e){const t=e;let n=0,o=1,i=1,r=0;const s=w=>t[w]===pE&&t[w+1]===Re,a=w=>t[w]===Re,l=w=>t[w]===bE,c=w=>t[w]===gE,d=w=>s(w)||a(w)||l(w)||c(w),u=()=>n,f=()=>o,b=()=>i,T=()=>r,x=w=>s(w)||l(w)||c(w)?Re:t[w],C=()=>x(n),p=()=>x(n+r);function y(){return r=0,d(n)&&(o++,i=0),s(n)&&n++,n++,i++,t[n]}function S(){return s(n+r)&&r++,r++,t[n+r]}function k(){n=0,o=1,i=1,r=0}function D(w=0){r=w}function v(){const w=n+r;for(;w!==n;)y();r=0}return{index:u,line:f,column:b,peekOffset:T,charAt:x,currentChar:C,currentPeek:p,next:y,peek:S,reset:k,resetPeek:D,skipToPeek:v}}const Gt=void 0,yE=".",bc="'",wE="tokenizer";function kE(e,t={}){const n=t.location!==!1,o=vE(e),i=()=>o.index(),r=()=>aE(o.line(),o.column(),o.index()),s=r(),a=i(),l={currentType:14,offset:a,startLoc:s,endLoc:s,lastType:14,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:d}=t;function u(g,m,I,...V){const H=c();if(m.column+=I,m.offset+=I,d){const Q=n?us(H.startLoc,m):null,Xe=ro(g,Q,{domain:wE,args:V});d(Xe)}}function f(g,m,I){g.endLoc=r(),g.currentType=m;const V={type:m};return n&&(V.loc=us(g.startLoc,g.endLoc)),I!=null&&(V.value=I),V}const b=g=>f(g,14);function T(g,m){return g.currentChar()===m?(g.next(),m):(u(B.EXPECTED_TOKEN,r(),0,m),"")}function x(g){let m="";for(;g.currentPeek()===Rt||g.currentPeek()===Re;)m+=g.currentPeek(),g.peek();return m}function C(g){const m=x(g);return g.skipToPeek(),m}function p(g){if(g===Gt)return!1;const m=g.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m===95}function y(g){if(g===Gt)return!1;const m=g.charCodeAt(0);return m>=48&&m<=57}function S(g,m){const{currentType:I}=m;if(I!==2)return!1;x(g);const V=p(g.currentPeek());return g.resetPeek(),V}function k(g,m){const{currentType:I}=m;if(I!==2)return!1;x(g);const V=g.currentPeek()==="-"?g.peek():g.currentPeek(),H=y(V);return g.resetPeek(),H}function D(g,m){const{currentType:I}=m;if(I!==2)return!1;x(g);const V=g.currentPeek()===bc;return g.resetPeek(),V}function v(g,m){const{currentType:I}=m;if(I!==8)return!1;x(g);const V=g.currentPeek()===".";return g.resetPeek(),V}function w(g,m){const{currentType:I}=m;if(I!==9)return!1;x(g);const V=p(g.currentPeek());return g.resetPeek(),V}function P(g,m){const{currentType:I}=m;if(!(I===8||I===12))return!1;x(g);const V=g.currentPeek()===":";return g.resetPeek(),V}function A(g,m){const{currentType:I}=m;if(I!==10)return!1;const V=()=>{const Q=g.currentPeek();return Q==="{"?p(g.peek()):Q==="@"||Q==="%"||Q==="|"||Q===":"||Q==="."||Q===Rt||!Q?!1:Q===Re?(g.peek(),V()):p(Q)},H=V();return g.resetPeek(),H}function N(g){x(g);const m=g.currentPeek()==="|";return g.resetPeek(),m}function L(g){const m=x(g),I=g.currentPeek()==="%"&&g.peek()==="{";return g.resetPeek(),{isModulo:I,hasSpace:m.length>0}}function U(g,m=!0){const I=(H=!1,Q="",Xe=!1)=>{const at=g.currentPeek();return at==="{"?Q==="%"?!1:H:at==="@"||!at?Q==="%"?!0:H:at==="%"?(g.peek(),I(H,"%",!0)):at==="|"?Q==="%"||Xe?!0:!(Q===Rt||Q===Re):at===Rt?(g.peek(),I(!0,Rt,Xe)):at===Re?(g.peek(),I(!0,Re,Xe)):!0},V=I();return m&&g.resetPeek(),V}function oe(g,m){const I=g.currentChar();return I===Gt?Gt:m(I)?(g.next(),I):null}function ye(g){return oe(g,I=>{const V=I.charCodeAt(0);return V>=97&&V<=122||V>=65&&V<=90||V>=48&&V<=57||V===95||V===36})}function Ue(g){return oe(g,I=>{const V=I.charCodeAt(0);return V>=48&&V<=57})}function K(g){return oe(g,I=>{const V=I.charCodeAt(0);return V>=48&&V<=57||V>=65&&V<=70||V>=97&&V<=102})}function X(g){let m="",I="";for(;m=Ue(g);)I+=m;return I}function rt(g){C(g);const m=g.currentChar();return m!=="%"&&u(B.EXPECTED_TOKEN,r(),0,m),g.next(),"%"}function De(g){let m="";for(;;){const I=g.currentChar();if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I==="%")if(U(g))m+=I,g.next();else break;else if(I===Rt||I===Re)if(U(g))m+=I,g.next();else{if(N(g))break;m+=I,g.next()}else m+=I,g.next()}return m}function qe(g){C(g);let m="",I="";for(;m=ye(g);)I+=m;return g.currentChar()===Gt&&u(B.UNTERMINATED_CLOSING_BRACE,r(),0),I}function st(g){C(g);let m="";return g.currentChar()==="-"?(g.next(),m+=`-${X(g)}`):m+=X(g),g.currentChar()===Gt&&u(B.UNTERMINATED_CLOSING_BRACE,r(),0),m}function wt(g){C(g),T(g,"'");let m="",I="";const V=Q=>Q!==bc&&Q!==Re;for(;m=oe(g,V);)m==="\\"?I+=_e(g):I+=m;const H=g.currentChar();return H===Re||H===Gt?(u(B.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),H===Re&&(g.next(),T(g,"'")),I):(T(g,"'"),I)}function _e(g){const m=g.currentChar();switch(m){case"\\":case"'":return g.next(),`\\${m}`;case"u":return Ke(g,m,4);case"U":return Ke(g,m,6);default:return u(B.UNKNOWN_ESCAPE_SEQUENCE,r(),0,m),""}}function Ke(g,m,I){T(g,m);let V="";for(let H=0;H<I;H++){const Q=K(g);if(!Q){u(B.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${m}${V}${g.currentChar()}`);break}V+=Q}return`\\${m}${V}`}function Ee(g){C(g);let m="",I="";const V=H=>H!=="{"&&H!=="}"&&H!==Rt&&H!==Re;for(;m=oe(g,V);)I+=m;return I}function Ht(g){let m="",I="";for(;m=ye(g);)I+=m;return I}function jt(g){const m=(I=!1,V)=>{const H=g.currentChar();return H==="{"||H==="%"||H==="@"||H==="|"||H==="("||H===")"||!H||H===Rt?V:H===Re||H===yE?(V+=H,g.next(),m(I,V)):(V+=H,g.next(),m(!0,V))};return m(!1,"")}function Dt(g){C(g);const m=T(g,"|");return C(g),m}function Nt(g,m){let I=null;switch(g.currentChar()){case"{":return m.braceNest>=1&&u(B.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),g.next(),I=f(m,2,"{"),C(g),m.braceNest++,I;case"}":return m.braceNest>0&&m.currentType===2&&u(B.EMPTY_PLACEHOLDER,r(),0),g.next(),I=f(m,3,"}"),m.braceNest--,m.braceNest>0&&C(g),m.inLinked&&m.braceNest===0&&(m.inLinked=!1),I;case"@":return m.braceNest>0&&u(B.UNTERMINATED_CLOSING_BRACE,r(),0),I=kt(g,m)||b(m),m.braceNest=0,I;default:let H=!0,Q=!0,Xe=!0;if(N(g))return m.braceNest>0&&u(B.UNTERMINATED_CLOSING_BRACE,r(),0),I=f(m,1,Dt(g)),m.braceNest=0,m.inLinked=!1,I;if(m.braceNest>0&&(m.currentType===5||m.currentType===6||m.currentType===7))return u(B.UNTERMINATED_CLOSING_BRACE,r(),0),m.braceNest=0,$t(g,m);if(H=S(g,m))return I=f(m,5,qe(g)),C(g),I;if(Q=k(g,m))return I=f(m,6,st(g)),C(g),I;if(Xe=D(g,m))return I=f(m,7,wt(g)),C(g),I;if(!H&&!Q&&!Xe)return I=f(m,13,Ee(g)),u(B.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,I.value),C(g),I;break}return I}function kt(g,m){const{currentType:I}=m;let V=null;const H=g.currentChar();switch((I===8||I===9||I===12||I===10)&&(H===Re||H===Rt)&&u(B.INVALID_LINKED_FORMAT,r(),0),H){case"@":return g.next(),V=f(m,8,"@"),m.inLinked=!0,V;case".":return C(g),g.next(),f(m,9,".");case":":return C(g),g.next(),f(m,10,":");default:return N(g)?(V=f(m,1,Dt(g)),m.braceNest=0,m.inLinked=!1,V):v(g,m)||P(g,m)?(C(g),kt(g,m)):w(g,m)?(C(g),f(m,12,Ht(g))):A(g,m)?(C(g),H==="{"?Nt(g,m)||V:f(m,11,jt(g))):(I===8&&u(B.INVALID_LINKED_FORMAT,r(),0),m.braceNest=0,m.inLinked=!1,$t(g,m))}}function $t(g,m){let I={type:14};if(m.braceNest>0)return Nt(g,m)||b(m);if(m.inLinked)return kt(g,m)||b(m);switch(g.currentChar()){case"{":return Nt(g,m)||b(m);case"}":return u(B.UNBALANCED_CLOSING_BRACE,r(),0),g.next(),f(m,3,"}");case"@":return kt(g,m)||b(m);default:if(N(g))return I=f(m,1,Dt(g)),m.braceNest=0,m.inLinked=!1,I;const{isModulo:H,hasSpace:Q}=L(g);if(H)return Q?f(m,0,De(g)):f(m,4,rt(g));if(U(g))return f(m,0,De(g));break}return I}function xt(){const{currentType:g,offset:m,startLoc:I,endLoc:V}=l;return l.lastType=g,l.lastOffset=m,l.lastStartLoc=I,l.lastEndLoc=V,l.offset=i(),l.startLoc=r(),o.currentChar()===Gt?f(l,14):$t(o,l)}return{nextToken:xt,currentOffset:i,currentPosition:r,context:c}}const xE="parser",_E=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function EE(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function TE(e={}){const t=e.location!==!1,{onError:n}=e;function o(p,y,S,k,...D){const v=p.currentPosition();if(v.offset+=k,v.column+=k,n){const w=t?us(S,v):null,P=ro(y,w,{domain:xE,args:D});n(P)}}function i(p,y,S){const k={type:p};return t&&(k.start=y,k.end=y,k.loc={start:S,end:S}),k}function r(p,y,S,k){k&&(p.type=k),t&&(p.end=y,p.loc&&(p.loc.end=S))}function s(p,y){const S=p.context(),k=i(3,S.offset,S.startLoc);return k.value=y,r(k,p.currentOffset(),p.currentPosition()),k}function a(p,y){const S=p.context(),{lastOffset:k,lastStartLoc:D}=S,v=i(5,k,D);return v.index=parseInt(y,10),p.nextToken(),r(v,p.currentOffset(),p.currentPosition()),v}function l(p,y){const S=p.context(),{lastOffset:k,lastStartLoc:D}=S,v=i(4,k,D);return v.key=y,p.nextToken(),r(v,p.currentOffset(),p.currentPosition()),v}function c(p,y){const S=p.context(),{lastOffset:k,lastStartLoc:D}=S,v=i(9,k,D);return v.value=y.replace(_E,EE),p.nextToken(),r(v,p.currentOffset(),p.currentPosition()),v}function d(p){const y=p.nextToken(),S=p.context(),{lastOffset:k,lastStartLoc:D}=S,v=i(8,k,D);return y.type!==12?(o(p,B.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),v.value="",r(v,k,D),{nextConsumeToken:y,node:v}):(y.value==null&&o(p,B.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Et(y)),v.value=y.value||"",r(v,p.currentOffset(),p.currentPosition()),{node:v})}function u(p,y){const S=p.context(),k=i(7,S.offset,S.startLoc);return k.value=y,r(k,p.currentOffset(),p.currentPosition()),k}function f(p){const y=p.context(),S=i(6,y.offset,y.startLoc);let k=p.nextToken();if(k.type===9){const D=d(p);S.modifier=D.node,k=D.nextConsumeToken||p.nextToken()}switch(k.type!==10&&o(p,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Et(k)),k=p.nextToken(),k.type===2&&(k=p.nextToken()),k.type){case 11:k.value==null&&o(p,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Et(k)),S.key=u(p,k.value||"");break;case 5:k.value==null&&o(p,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Et(k)),S.key=l(p,k.value||"");break;case 6:k.value==null&&o(p,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Et(k)),S.key=a(p,k.value||"");break;case 7:k.value==null&&o(p,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Et(k)),S.key=c(p,k.value||"");break;default:o(p,B.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const D=p.context(),v=i(7,D.offset,D.startLoc);return v.value="",r(v,D.offset,D.startLoc),S.key=v,r(S,D.offset,D.startLoc),{nextConsumeToken:k,node:S}}return r(S,p.currentOffset(),p.currentPosition()),{node:S}}function b(p){const y=p.context(),S=y.currentType===1?p.currentOffset():y.offset,k=y.currentType===1?y.endLoc:y.startLoc,D=i(2,S,k);D.items=[];let v=null;do{const A=v||p.nextToken();switch(v=null,A.type){case 0:A.value==null&&o(p,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Et(A)),D.items.push(s(p,A.value||""));break;case 6:A.value==null&&o(p,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Et(A)),D.items.push(a(p,A.value||""));break;case 5:A.value==null&&o(p,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Et(A)),D.items.push(l(p,A.value||""));break;case 7:A.value==null&&o(p,B.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Et(A)),D.items.push(c(p,A.value||""));break;case 8:const N=f(p);D.items.push(N.node),v=N.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const w=y.currentType===1?y.lastOffset:p.currentOffset(),P=y.currentType===1?y.lastEndLoc:p.currentPosition();return r(D,w,P),D}function T(p,y,S,k){const D=p.context();let v=k.items.length===0;const w=i(1,y,S);w.cases=[],w.cases.push(k);do{const P=b(p);v||(v=P.items.length===0),w.cases.push(P)}while(D.currentType!==14);return v&&o(p,B.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),r(w,p.currentOffset(),p.currentPosition()),w}function x(p){const y=p.context(),{offset:S,startLoc:k}=y,D=b(p);return y.currentType===14?D:T(p,S,k,D)}function C(p){const y=kE(p,Xf({},e)),S=y.context(),k=i(0,S.offset,S.startLoc);return t&&k.loc&&(k.loc.source=p),k.body=x(y),e.onCacheKey&&(k.cacheKey=e.onCacheKey(p)),S.currentType!==14&&o(y,B.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,p[S.offset]||""),r(k,y.currentOffset(),y.currentPosition()),k}return{parse:C}}function Et(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function IE(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function vc(e,t){for(let n=0;n<e.length;n++)_a(e[n],t)}function _a(e,t){switch(e.type){case 1:vc(e.cases,t),t.helper("plural");break;case 2:vc(e.items,t);break;case 6:_a(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function SE(e,t={}){const n=IE(e);n.helper("normalize"),e.body&&_a(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function CE(e){const t=e.body;return t.type===2?yc(t):t.cases.forEach(n=>yc(n)),e}function yc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const o=e.items[n];if(!(o.type===3||o.type===9)||o.value==null)break;t.push(o.value)}if(t.length===e.items.length){e.static=Zf(t);for(let n=0;n<e.items.length;n++){const o=e.items[n];(o.type===3||o.type===9)&&delete o.value}}}}const OE="minifier";function Hn(e){switch(e.t=e.type,e.type){case 0:const t=e;Hn(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,o=n.cases;for(let d=0;d<o.length;d++)Hn(o[d]);n.c=o,delete n.cases;break;case 2:const i=e,r=i.items;for(let d=0;d<r.length;d++)Hn(r[d]);i.i=r,delete i.items,i.static&&(i.s=i.static,delete i.static);break;case 3:case 9:case 8:case 7:const s=e;s.value&&(s.v=s.value,delete s.value);break;case 6:const a=e;Hn(a.key),a.k=a.key,delete a.key,a.modifier&&(Hn(a.modifier),a.m=a.modifier,delete a.modifier);break;case 5:const l=e;l.i=l.index,delete l.index;break;case 4:const c=e;c.k=c.key,delete c.key;break;default:throw ro(B.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:OE,args:[e.type]})}delete e.type}const AE="parser";function DE(e,t){const{sourceMap:n,filename:o,breakLineCode:i,needIndent:r}=t,s=t.location!==!1,a={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:r,indentLevel:0};s&&e.loc&&(a.source=e.loc.source);const l=()=>a;function c(C,p){a.code+=C}function d(C,p=!0){const y=p?i:"";c(r?y+" ".repeat(C):y)}function u(C=!0){const p=++a.indentLevel;C&&d(p)}function f(C=!0){const p=--a.indentLevel;C&&d(p)}function b(){d(a.indentLevel)}return{context:l,push:c,indent:u,deindent:f,newline:b,helper:C=>`_${C}`,needIndent:()=>a.needIndent}}function NE(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Zn(e,t.key),t.modifier?(e.push(", "),Zn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function $E(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const i=t.items.length;for(let r=0;r<i&&(Zn(e,t.items[r]),r!==i-1);r++)e.push(", ");e.deindent(o()),e.push("])")}function LE(e,t){const{helper:n,needIndent:o}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(o());const i=t.cases.length;for(let r=0;r<i&&(Zn(e,t.cases[r]),r!==i-1);r++)e.push(", ");e.deindent(o()),e.push("])")}}function PE(e,t){t.body?Zn(e,t.body):e.push("null")}function Zn(e,t){const{helper:n}=e;switch(t.type){case 0:PE(e,t);break;case 1:LE(e,t);break;case 2:$E(e,t);break;case 6:NE(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw ro(B.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:AE,args:[t.type]})}}const ME=(e,t={})=>{const n=gc(t.mode)?t.mode:"normal",o=gc(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
1036
+ `,s=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=DE(e,{mode:n,filename:o,sourceMap:i,breakLineCode:r,needIndent:s});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(s),a.length>0&&(l.push(`const { ${Zf(a.map(u=>`${u}: _${u}`),", ")} } = ctx`),l.newline()),l.push("return "),Zn(l,e),l.deindent(s),l.push("}"),delete e.helpers;const{code:c,map:d}=l.context();return{ast:e,code:c,map:d?d.toJSON():void 0}};function RE(e,t={}){const n=Xf({},t),o=!!n.jit,i=!!n.minify,r=n.optimize==null?!0:n.optimize,a=TE(n).parse(e);return o?(r&&CE(a),i&&Hn(a),{ast:a,code:""}):(SE(a,n),ME(a,n))}/*!
1031
1037
  * core-base v9.4.1
1032
1038
  * (c) 2023 kazuya kawaguchi
1033
1039
  * Released under the MIT License.
1034
- */function q_(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Rt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Rt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Rt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const on=[];on[0]={w:[0],i:[3,0],"[":[4],o:[7]};on[1]={w:[1],".":[2],"[":[4],o:[7]};on[2]={w:[2],i:[3,0],0:[3,0]};on[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};on[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};on[5]={"'":[4,0],o:8,l:[5,0]};on[6]={'"':[4,0],o:8,l:[6,0]};const K_=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function X_(e){return K_.test(e)}function Z_(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function J_(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Q_(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:X_(t)?Z_(t):"*"+t}function eE(e){const t=[];let n=-1,i=0,o=0,r,s,a,l,c,d,u;const f=[];f[0]=()=>{s===void 0?s=a:s+=a},f[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},f[2]=()=>{f[0](),o++},f[3]=()=>{if(o>0)o--,i=4,f[0]();else{if(o=0,s===void 0||(s=Q_(s),s===!1))return!1;f[1]()}};function b(){const I=e[n+1];if(i===5&&I==="'"||i===6&&I==='"')return n++,a="\\"+I,f[0](),!0}for(;i!==null;)if(n++,r=e[n],!(r==="\\"&&b())){if(l=J_(r),u=on[i],c=u[l]||u.l||8,c===8||(i=c[0],c[1]!==void 0&&(d=f[c[1]],d&&(a=r,d()===!1))))return;if(i===7)return t}}const rc=new Map;function tE(e,t){return te(e)?e[t]:null}function nE(e,t){if(!te(e))return null;let n=rc.get(t);if(n||(n=eE(t),n&&rc.set(t,n)),!n)return null;const i=n.length;let o=e,r=0;for(;r<i;){const s=o[n[r]];if(s===void 0)return null;o=s,r++}return o}const iE=e=>e,oE=e=>"",rE="text",sE=e=>e.length===0?"":m_(e),aE=h_;function sc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function lE(e){const t=xe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(xe(e.named.count)||xe(e.named.n))?xe(e.named.count)?e.named.count:xe(e.named.n)?e.named.n:t:t}function cE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function dE(e={}){const t=e.locale,n=lE(e),i=te(e.pluralRules)&&R(t)&&he(e.pluralRules[t])?e.pluralRules[t]:sc,o=te(e.pluralRules)&&R(t)&&he(e.pluralRules[t])?sc:void 0,r=g=>g[i(n,g.length,o)],s=e.list||[],a=g=>s[g],l=e.named||{};xe(e.pluralIndex)&&cE(n,l);const c=g=>l[g];function d(g){const y=he(e.messages)?e.messages(g):te(e.messages)?e.messages[g]:!1;return y||(e.parent?e.parent.message(g):oE)}const u=g=>e.modifiers?e.modifiers[g]:iE,f=W(e.processor)&&he(e.processor.normalize)?e.processor.normalize:sE,b=W(e.processor)&&he(e.processor.interpolate)?e.processor.interpolate:aE,I=W(e.processor)&&R(e.processor.type)?e.processor.type:rE,O={list:a,named:c,plural:r,linked:(g,...y)=>{const[S,k]=y;let N="text",v="";y.length===1?te(S)?(v=S.modifier||v,N=S.type||N):R(S)&&(v=S||v):y.length===2&&(R(S)&&(v=S||v),R(k)&&(N=k||N));const w=d(g)(O),P=N==="vnode"&&re(w)&&v?w[0]:w;return v?u(v)(P,N):P},message:d,type:I,interpolate:b,normalize:f,values:Ce({},s,l)};return O}let xi=null;function uE(e){xi=e}function fE(e,t,n){xi&&xi.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const hE=mE("function:translate");function mE(e){return t=>xi&&xi.emit(e,t)}const Ve={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},pE={[Ve.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ve.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ve.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ve.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ve.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ve.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Ve.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function In(e,...t){return ra(pE[e],...t)}function gE(e,t,n){return[...new Set([n,...re(t)?t:te(t)?Object.keys(t):R(t)?[t]:[n]])]}function Rf(e,t,n){const i=R(n)?n:Li,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(i);if(!r){r=[];let s=[n];for(;re(s);)s=ac(r,s,t);const a=re(t)||!W(t)?t:t.default?t.default:null;s=R(a)?[a]:a,re(s)&&ac(r,s,!1),o.__localeChainCache.set(i,r)}return r}function ac(e,t,n){let i=!0;for(let o=0;o<t.length&&Y(i);o++){const r=t[o];R(r)&&(i=bE(e,t[o],n))}return i}function bE(e,t,n){let i;const o=t.split("-");do{const r=o.join("-");i=vE(e,r,n),o.splice(-1,1)}while(o.length&&i===!0);return i}function vE(e,t,n){let i=!1;if(!e.includes(t)&&(i=!0,t)){i=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(re(n)||W(n))&&n[o]&&(i=n[o])}return i}const yE="9.4.1",Ro=-1,Li="en-US",wo="",lc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function wE(){return{upper:(e,t)=>t==="text"&&R(e)?e.toUpperCase():t==="vnode"&&te(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&R(e)?e.toLowerCase():t==="vnode"&&te(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&R(e)?lc(e):t==="vnode"&&te(e)&&"__v_isVNode"in e?lc(e.children):e}}let Ff;function cc(e){Ff=e}let Vf;function kE(e){Vf=e}let Uf;function xE(e){Uf=e}let zf=null;const dc=e=>{zf=e},_E=()=>zf;let Bf=null;const uc=e=>{Bf=e},EE=()=>Bf;let fc=0;function TE(e={}){const t=he(e.onWarn)?e.onWarn:Ie,n=R(e.version)?e.version:yE,i=R(e.locale)?e.locale:Li,o=re(e.fallbackLocale)||W(e.fallbackLocale)||R(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,r=W(e.messages)?e.messages:{[i]:{}},s=W(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},a=W(e.numberFormats)?e.numberFormats:{[i]:{}},l=Ce({},e.modifiers||{},wE()),c=e.pluralRules||{},d=he(e.missing)?e.missing:null,u=Y(e.missingWarn)||tn(e.missingWarn)?e.missingWarn:!0,f=Y(e.fallbackWarn)||tn(e.fallbackWarn)?e.fallbackWarn:!0,b=!!e.fallbackFormat,I=!!e.unresolving,x=he(e.postTranslation)?e.postTranslation:null,O=W(e.processor)?e.processor:null,g=Y(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,S=he(e.messageCompiler)?e.messageCompiler:Ff;process.env.NODE_ENV!=="production"&&he(e.messageCompiler)&&g_(In(Ve.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const k=he(e.messageResolver)?e.messageResolver:Vf||tE,N=he(e.localeFallbacker)?e.localeFallbacker:Uf||gE,v=te(e.fallbackContext)?e.fallbackContext:void 0,w=e,P=te(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,A=te(w.__numberFormatters)?w.__numberFormatters:new Map,D=te(w.__meta)?w.__meta:{};fc++;const $={version:n,cid:fc,locale:i,fallbackLocale:o,messages:r,modifiers:l,pluralRules:c,missing:d,missingWarn:u,fallbackWarn:f,fallbackFormat:b,unresolving:I,postTranslation:x,processor:O,warnHtmlMessage:g,escapeParameter:y,messageCompiler:S,messageResolver:k,localeFallbacker:N,fallbackContext:v,onWarn:t,__meta:D};return $.datetimeFormats=s,$.numberFormats=a,$.__datetimeFormatters=P,$.__numberFormatters=A,process.env.NODE_ENV!=="production"&&($.__v_emitter=w.__v_emitter!=null?w.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&fE($,n,D),$}function Fo(e,t){return e instanceof RegExp?e.test(t):e}function Hf(e,t){return e instanceof RegExp?e.test(t):e}function da(e,t,n,i,o){const{missing:r,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const a=e.__v_emitter;a&&a.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(r!==null){const a=r(e,n,t,o);return R(a)?a:t}else return process.env.NODE_ENV!=="production"&&Hf(i,t)&&s(In(Ve.NOT_FOUND_KEY,{key:t,locale:n})),t}function ai(e,t,n){const i=e;i.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function xr(e){return n=>IE(n,e)}function IE(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const i=n,o=i.c||i.cases;return e.plural(o.reduce((r,s)=>[...r,hc(e,s)],[]))}else return hc(e,n)}function hc(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const i=(t.i||t.items).reduce((o,r)=>[...o,rs(e,r)],[]);return e.normalize(i)}}function rs(e,t){const n=t.t||t.type;switch(n){case 3:const i=t;return i.v||i.value;case 9:const o=t;return o.v||o.value;case 4:const r=t;return e.interpolate(e.named(r.k||r.key));case 5:const s=t;return e.interpolate(e.list(s.i||s.index));case 6:const a=t,l=a.m||a.modifier;return e.linked(rs(e,a.k||a.key),l?rs(e,l):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const d=t;return d.v||d.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Wf=B.__EXTEND_POINT__,Ki=aa(Wf),it={INVALID_ARGUMENT:Wf,INVALID_DATE_ARGUMENT:Ki(),INVALID_ISO_DATE_ARGUMENT:Ki(),NOT_SUPPORT_NON_STRING_MESSAGE:Ki(),__EXTEND_POINT__:Ki()};function pn(e){return ii(e,null,process.env.NODE_ENV!=="production"?{messages:SE}:void 0)}const SE={[it.INVALID_ARGUMENT]:"Invalid arguments",[it.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[it.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[it.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message"},OE="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function jf(e,t){t&&E_(e)&&Ie(ra(OE,{source:e}))}const Yf=e=>e;let Bn=Object.create(null);const Sn=e=>te(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Gf(e,t={}){let n=!1;const i=t.onError||x_;return t.onError=o=>{n=!0,i(o)},{...G_(e,t),detectError:n}}const CE=(e,t)=>{if(!R(e))throw pn(it.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=Y(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&jf(e,n);const o=(t.onCacheKey||Yf)(e),r=Bn[o];if(r)return r;const{code:s,detectError:a}=Gf(e,t),l=new Function(`return ${s}`)();return a?l:Bn[o]=l}};function AE(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&R(e)){const n=Y(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&jf(e,n);const o=(t.onCacheKey||Yf)(e),r=Bn[o];if(r)return r;const{ast:s,detectError:a}=Gf(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),l=xr(s);return a?l:Bn[o]=l}else{if(process.env.NODE_ENV!=="production"&&!Sn(e))return Ie(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const i=Bn[n];return i||(Bn[n]=xr(e))}else return xr(e)}}const mc=()=>"",mt=e=>he(e);function pc(e,...t){const{fallbackFormat:n,postTranslation:i,unresolving:o,messageCompiler:r,fallbackLocale:s,messages:a}=e,[l,c]=ss(...t),d=Y(c.missingWarn)?c.missingWarn:e.missingWarn,u=Y(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=Y(c.escapeParameter)?c.escapeParameter:e.escapeParameter,b=!!c.resolvedMessage,I=R(c.default)||Y(c.default)?Y(c.default)?r?l:()=>l:c.default:n?r?l:()=>l:"",x=n||I!=="",O=R(c.locale)?c.locale:e.locale;f&&NE(c);let[g,y,S]=b?[l,O,a[O]||{}]:qf(e,l,O,s,u,d),k=g,N=l;if(!b&&!(R(k)||Sn(k)||mt(k))&&x&&(k=I,N=k),!b&&(!(R(k)||Sn(k)||mt(k))||!R(y)))return o?Ro:l;if(process.env.NODE_ENV!=="production"&&R(k)&&e.messageCompiler==null)return Ie(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`),l;let v=!1;const w=()=>{v=!0},P=mt(k)?k:Kf(e,l,y,k,N,w);if(v)return k;const A=PE(e,y,S,c),D=dE(A),$=DE(e,P,D),z=i?i($,l):$;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const ne={timestamp:Date.now(),key:R(l)?l:mt(k)?k.key:"",locale:y||(mt(k)?k.locale:""),format:R(k)?k:mt(k)?k.source:"",message:z};ne.meta=Ce({},e.__meta,_E()||{}),hE(ne)}return z}function NE(e){re(e.list)?e.list=e.list.map(t=>R(t)?Jl(t):t):te(e.named)&&Object.keys(e.named).forEach(t=>{R(e.named[t])&&(e.named[t]=Jl(e.named[t]))})}function qf(e,t,n,i,o,r){const{messages:s,onWarn:a,messageResolver:l,localeFallbacker:c}=e,d=c(e,i,n);let u={},f,b=null,I=n,x=null;const O="translate";for(let g=0;g<d.length;g++){if(f=x=d[g],process.env.NODE_ENV!=="production"&&n!==f&&Fo(o,t)&&a(In(Ve.FALLBACK_TO_TRANSLATE,{key:t,target:f})),process.env.NODE_ENV!=="production"&&n!==f){const v=e.__v_emitter;v&&v.emit("fallback",{type:O,key:t,from:I,to:x,groupId:`${O}:${t}`})}u=s[f]||{};let y=null,S,k;if(process.env.NODE_ENV!=="production"&&It&&(y=window.performance.now(),S="intlify-message-resolve-start",k="intlify-message-resolve-end",Ye&&Ye(S)),(b=l(u,t))===null&&(b=u[t]),process.env.NODE_ENV!=="production"&&It){const v=window.performance.now(),w=e.__v_emitter;w&&y&&b&&w.emit("message-resolve",{type:"message-resolve",key:t,message:b,time:v-y,groupId:`${O}:${t}`}),S&&k&&Ye&&Tn&&(Ye(k),Tn("intlify message resolve",S,k))}if(R(b)||Sn(b)||mt(b))break;const N=da(e,t,f,r,O);N!==t&&(b=N),I=x}return[b,f,u]}function Kf(e,t,n,i,o,r){const{messageCompiler:s,warnHtmlMessage:a}=e;if(mt(i)){const f=i;return f.locale=f.locale||n,f.key=f.key||t,f}if(s==null){const f=()=>i;return f.locale=n,f.key=t,f}let l=null,c,d;process.env.NODE_ENV!=="production"&&It&&(l=window.performance.now(),c="intlify-message-compilation-start",d="intlify-message-compilation-end",Ye&&Ye(c));const u=s(i,LE(e,n,o,i,a,r));if(process.env.NODE_ENV!=="production"&&It){const f=window.performance.now(),b=e.__v_emitter;b&&l&&b.emit("message-compilation",{type:"message-compilation",message:i,time:f-l,groupId:`translate:${t}`}),c&&d&&Ye&&Tn&&(Ye(d),Tn("intlify message compilation",c,d))}return u.locale=n,u.key=t,u.source=i,u}function DE(e,t,n){let i=null,o,r;process.env.NODE_ENV!=="production"&&It&&(i=window.performance.now(),o="intlify-message-evaluation-start",r="intlify-message-evaluation-end",Ye&&Ye(o));const s=t(n);if(process.env.NODE_ENV!=="production"&&It){const a=window.performance.now(),l=e.__v_emitter;l&&i&&l.emit("message-evaluation",{type:"message-evaluation",value:s,time:a-i,groupId:`translate:${t.key}`}),o&&r&&Ye&&Tn&&(Ye(r),Tn("intlify message evaluation",o,r))}return s}function ss(...e){const[t,n,i]=e,o={};if(!R(t)&&!xe(t)&&!mt(t)&&!Sn(t))throw pn(it.INVALID_ARGUMENT);const r=xe(t)?String(t):(mt(t),t);return xe(n)?o.plural=n:R(n)?o.default=n:W(n)&&!Mo(n)?o.named=n:re(n)&&(o.list=n),xe(i)?o.plural=i:R(i)?o.default=i:W(i)&&Ce(o,i),[r,o]}function LE(e,t,n,i,o,r){return{locale:t,key:n,warnHtmlMessage:o,onError:s=>{if(r&&r(s),process.env.NODE_ENV!=="production"){const a=$E(i),l=`Message compilation error: ${s.message}`,c=s.location&&a&&p_(a,s.location.start.offset,s.location.end.offset),d=e.__v_emitter;d&&a&&d.emit("compile-error",{message:a,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${l}
1035
- ${c}`:l)}else throw s},onCacheKey:s=>c_(t,n,s)}}function $E(e){var t;if(!R(e)){if((t=e.loc)!=null&&t.source)return e.loc.source}}function PE(e,t,n,i){const{modifiers:o,pluralRules:r,messageResolver:s,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,f={locale:t,modifiers:o,pluralRules:r,messages:b=>{let I=s(n,b);if(I==null&&d){const[,,x]=qf(d,b,t,a,l,c);I=s(x,b)}if(R(I)||Sn(I)){let x=!1;const g=Kf(e,b,t,I,b,()=>{x=!0});return x?mc:g}else return mt(I)?I:mc}};return e.processor&&(f.processor=e.processor),i.list&&(f.list=i.list),i.named&&(f.named=i.named),xe(i.plural)&&(f.pluralIndex=i.plural),f}const gc=typeof Intl<"u",Xf={dateTimeFormat:gc&&typeof Intl.DateTimeFormat<"u",numberFormat:gc&&typeof Intl.NumberFormat<"u"};function bc(e,...t){const{datetimeFormats:n,unresolving:i,fallbackLocale:o,onWarn:r,localeFallbacker:s}=e,{__datetimeFormatters:a}=e;if(process.env.NODE_ENV!=="production"&&!Xf.dateTimeFormat)return r(In(Ve.CANNOT_FORMAT_DATE)),wo;const[l,c,d,u]=as(...t),f=Y(d.missingWarn)?d.missingWarn:e.missingWarn,b=Y(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,I=!!d.part,x=R(d.locale)?d.locale:e.locale,O=s(e,o,x);if(!R(l)||l==="")return new Intl.DateTimeFormat(x,u).format(c);let g={},y,S=null,k=x,N=null;const v="datetime format";for(let A=0;A<O.length;A++){if(y=N=O[A],process.env.NODE_ENV!=="production"&&x!==y&&Fo(b,l)&&r(In(Ve.FALLBACK_TO_DATE_FORMAT,{key:l,target:y})),process.env.NODE_ENV!=="production"&&x!==y){const D=e.__v_emitter;D&&D.emit("fallback",{type:v,key:l,from:k,to:N,groupId:`${v}:${l}`})}if(g=n[y]||{},S=g[l],W(S))break;da(e,l,y,f,v),k=N}if(!W(S)||!R(y))return i?Ro:l;let w=`${y}__${l}`;Mo(u)||(w=`${w}__${JSON.stringify(u)}`);let P=a.get(w);return P||(P=new Intl.DateTimeFormat(y,Ce({},S,u)),a.set(w,P)),I?P.formatToParts(c):P.format(c)}const Zf=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function as(...e){const[t,n,i,o]=e,r={};let s={},a;if(R(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw pn(it.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw pn(it.INVALID_ISO_DATE_ARGUMENT)}}else if(u_(t)){if(isNaN(t.getTime()))throw pn(it.INVALID_DATE_ARGUMENT);a=t}else if(xe(t))a=t;else throw pn(it.INVALID_ARGUMENT);return R(n)?r.key=n:W(n)&&Object.keys(n).forEach(l=>{Zf.includes(l)?s[l]=n[l]:r[l]=n[l]}),R(i)?r.locale=i:W(i)&&(s=i),W(o)&&(s=o),[r.key||"",a,r,s]}function vc(e,t,n){const i=e;for(const o in n){const r=`${t}__${o}`;i.__datetimeFormatters.has(r)&&i.__datetimeFormatters.delete(r)}}function yc(e,...t){const{numberFormats:n,unresolving:i,fallbackLocale:o,onWarn:r,localeFallbacker:s}=e,{__numberFormatters:a}=e;if(process.env.NODE_ENV!=="production"&&!Xf.numberFormat)return r(In(Ve.CANNOT_FORMAT_NUMBER)),wo;const[l,c,d,u]=ls(...t),f=Y(d.missingWarn)?d.missingWarn:e.missingWarn,b=Y(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,I=!!d.part,x=R(d.locale)?d.locale:e.locale,O=s(e,o,x);if(!R(l)||l==="")return new Intl.NumberFormat(x,u).format(c);let g={},y,S=null,k=x,N=null;const v="number format";for(let A=0;A<O.length;A++){if(y=N=O[A],process.env.NODE_ENV!=="production"&&x!==y&&Fo(b,l)&&r(In(Ve.FALLBACK_TO_NUMBER_FORMAT,{key:l,target:y})),process.env.NODE_ENV!=="production"&&x!==y){const D=e.__v_emitter;D&&D.emit("fallback",{type:v,key:l,from:k,to:N,groupId:`${v}:${l}`})}if(g=n[y]||{},S=g[l],W(S))break;da(e,l,y,f,v),k=N}if(!W(S)||!R(y))return i?Ro:l;let w=`${y}__${l}`;Mo(u)||(w=`${w}__${JSON.stringify(u)}`);let P=a.get(w);return P||(P=new Intl.NumberFormat(y,Ce({},S,u)),a.set(w,P)),I?P.formatToParts(c):P.format(c)}const Jf=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ls(...e){const[t,n,i,o]=e,r={};let s={};if(!xe(t))throw pn(it.INVALID_ARGUMENT);const a=t;return R(n)?r.key=n:W(n)&&Object.keys(n).forEach(l=>{Jf.includes(l)?s[l]=n[l]:r[l]=n[l]}),R(i)?r.locale=i:W(i)&&(s=i),W(o)&&(s=o),[r.key||"",a,r,s]}function wc(e,t,n){const i=e;for(const o in n){const r=`${t}__${o}`;i.__numberFormatters.has(r)&&i.__numberFormatters.delete(r)}}q_();/*!
1040
+ */function FE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Vt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const rn=[];rn[0]={w:[0],i:[3,0],"[":[4],o:[7]};rn[1]={w:[1],".":[2],"[":[4],o:[7]};rn[2]={w:[2],i:[3,0],0:[3,0]};rn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};rn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};rn[5]={"'":[4,0],o:8,l:[5,0]};rn[6]={'"':[4,0],o:8,l:[6,0]};const VE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function zE(e){return VE.test(e)}function UE(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function BE(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function HE(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:zE(t)?UE(t):"*"+t}function jE(e){const t=[];let n=-1,o=0,i=0,r,s,a,l,c,d,u;const f=[];f[0]=()=>{s===void 0?s=a:s+=a},f[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},f[2]=()=>{f[0](),i++},f[3]=()=>{if(i>0)i--,o=4,f[0]();else{if(i=0,s===void 0||(s=HE(s),s===!1))return!1;f[1]()}};function b(){const T=e[n+1];if(o===5&&T==="'"||o===6&&T==='"')return n++,a="\\"+T,f[0](),!0}for(;o!==null;)if(n++,r=e[n],!(r==="\\"&&b())){if(l=BE(r),u=rn[o],c=u[l]||u.l||8,c===8||(o=c[0],c[1]!==void 0&&(d=f[c[1]],d&&(a=r,d()===!1))))return;if(o===7)return t}}const wc=new Map;function WE(e,t){return ne(e)?e[t]:null}function YE(e,t){if(!ne(e))return null;let n=wc.get(t);if(n||(n=jE(t),n&&wc.set(t,n)),!n)return null;const o=n.length;let i=e,r=0;for(;r<o;){const s=i[n[r]];if(s===void 0)return null;i=s,r++}return i}const GE=e=>e,qE=e=>"",KE="text",XE=e=>e.length===0?"":iE(e),ZE=oE;function kc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function JE(e){const t=xe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(xe(e.named.count)||xe(e.named.n))?xe(e.named.count)?e.named.count:xe(e.named.n)?e.named.n:t:t}function QE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function e1(e={}){const t=e.locale,n=JE(e),o=ne(e.pluralRules)&&R(t)&&pe(e.pluralRules[t])?e.pluralRules[t]:kc,i=ne(e.pluralRules)&&R(t)&&pe(e.pluralRules[t])?kc:void 0,r=p=>p[o(n,p.length,i)],s=e.list||[],a=p=>s[p],l=e.named||{};xe(e.pluralIndex)&&QE(n,l);const c=p=>l[p];function d(p){const y=pe(e.messages)?e.messages(p):ne(e.messages)?e.messages[p]:!1;return y||(e.parent?e.parent.message(p):qE)}const u=p=>e.modifiers?e.modifiers[p]:GE,f=j(e.processor)&&pe(e.processor.normalize)?e.processor.normalize:XE,b=j(e.processor)&&pe(e.processor.interpolate)?e.processor.interpolate:ZE,T=j(e.processor)&&R(e.processor.type)?e.processor.type:KE,C={list:a,named:c,plural:r,linked:(p,...y)=>{const[S,k]=y;let D="text",v="";y.length===1?ne(S)?(v=S.modifier||v,D=S.type||D):R(S)&&(v=S||v):y.length===2&&(R(S)&&(v=S||v),R(k)&&(D=k||D));const w=d(p)(C),P=D==="vnode"&&re(w)&&v?w[0]:w;return v?u(v)(P,D):P},message:d,type:T,interpolate:b,normalize:f,values:Oe({},s,l)};return C}let To=null;function t1(e){To=e}function n1(e,t,n){To&&To.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const o1=i1("function:translate");function i1(e){return t=>To&&To.emit(e,t)}const Ve={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},r1={[Ve.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ve.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ve.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ve.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ve.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ve.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Ve.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Cn(e,...t){return ya(r1[e],...t)}function s1(e,t,n){return[...new Set([n,...re(t)?t:ne(t)?Object.keys(t):R(t)?[t]:[n]])]}function Jf(e,t,n){const o=R(n)?n:Po,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let r=i.__localeChainCache.get(o);if(!r){r=[];let s=[n];for(;re(s);)s=xc(r,s,t);const a=re(t)||!j(t)?t:t.default?t.default:null;s=R(a)?[a]:a,re(s)&&xc(r,s,!1),i.__localeChainCache.set(o,r)}return r}function xc(e,t,n){let o=!0;for(let i=0;i<t.length&&Y(o);i++){const r=t[i];R(r)&&(o=a1(e,t[i],n))}return o}function a1(e,t,n){let o;const i=t.split("-");do{const r=i.join("-");o=l1(e,r,n),i.splice(-1,1)}while(i.length&&o===!0);return o}function l1(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(re(n)||j(n))&&n[i]&&(o=n[i])}return o}const c1="9.4.1",zi=-1,Po="en-US",_i="",_c=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function d1(){return{upper:(e,t)=>t==="text"&&R(e)?e.toUpperCase():t==="vnode"&&ne(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&R(e)?e.toLowerCase():t==="vnode"&&ne(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&R(e)?_c(e):t==="vnode"&&ne(e)&&"__v_isVNode"in e?_c(e.children):e}}let Qf;function Ec(e){Qf=e}let eh;function u1(e){eh=e}let th;function f1(e){th=e}let nh=null;const Tc=e=>{nh=e},h1=()=>nh;let oh=null;const Ic=e=>{oh=e},m1=()=>oh;let Sc=0;function p1(e={}){const t=pe(e.onWarn)?e.onWarn:Ie,n=R(e.version)?e.version:c1,o=R(e.locale)?e.locale:Po,i=re(e.fallbackLocale)||j(e.fallbackLocale)||R(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,r=j(e.messages)?e.messages:{[o]:{}},s=j(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},a=j(e.numberFormats)?e.numberFormats:{[o]:{}},l=Oe({},e.modifiers||{},d1()),c=e.pluralRules||{},d=pe(e.missing)?e.missing:null,u=Y(e.missingWarn)||on(e.missingWarn)?e.missingWarn:!0,f=Y(e.fallbackWarn)||on(e.fallbackWarn)?e.fallbackWarn:!0,b=!!e.fallbackFormat,T=!!e.unresolving,x=pe(e.postTranslation)?e.postTranslation:null,C=j(e.processor)?e.processor:null,p=Y(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,S=pe(e.messageCompiler)?e.messageCompiler:Qf;process.env.NODE_ENV!=="production"&&pe(e.messageCompiler)&&sE(Cn(Ve.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const k=pe(e.messageResolver)?e.messageResolver:eh||WE,D=pe(e.localeFallbacker)?e.localeFallbacker:th||s1,v=ne(e.fallbackContext)?e.fallbackContext:void 0,w=e,P=ne(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,A=ne(w.__numberFormatters)?w.__numberFormatters:new Map,N=ne(w.__meta)?w.__meta:{};Sc++;const L={version:n,cid:Sc,locale:o,fallbackLocale:i,messages:r,modifiers:l,pluralRules:c,missing:d,missingWarn:u,fallbackWarn:f,fallbackFormat:b,unresolving:T,postTranslation:x,processor:C,warnHtmlMessage:p,escapeParameter:y,messageCompiler:S,messageResolver:k,localeFallbacker:D,fallbackContext:v,onWarn:t,__meta:N};return L.datetimeFormats=s,L.numberFormats=a,L.__datetimeFormatters=P,L.__numberFormatters=A,process.env.NODE_ENV!=="production"&&(L.__v_emitter=w.__v_emitter!=null?w.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&n1(L,n,N),L}function Ui(e,t){return e instanceof RegExp?e.test(t):e}function ih(e,t){return e instanceof RegExp?e.test(t):e}function Ea(e,t,n,o,i){const{missing:r,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const a=e.__v_emitter;a&&a.emit("missing",{locale:n,key:t,type:i,groupId:`${i}:${t}`})}if(r!==null){const a=r(e,n,t,i);return R(a)?a:t}else return process.env.NODE_ENV!=="production"&&ih(o,t)&&s(Cn(Ve.NOT_FOUND_KEY,{key:t,locale:n})),t}function co(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Cr(e){return n=>g1(n,e)}function g1(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,i=o.c||o.cases;return e.plural(i.reduce((r,s)=>[...r,Cc(e,s)],[]))}else return Cc(e,n)}function Cc(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((i,r)=>[...i,fs(e,r)],[]);return e.normalize(o)}}function fs(e,t){const n=t.t||t.type;switch(n){case 3:const o=t;return o.v||o.value;case 9:const i=t;return i.v||i.value;case 4:const r=t;return e.interpolate(e.named(r.k||r.key));case 5:const s=t;return e.interpolate(e.list(s.i||s.index));case 6:const a=t,l=a.m||a.modifier;return e.linked(fs(e,a.k||a.key),l?fs(e,l):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const d=t;return d.v||d.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const rh=B.__EXTEND_POINT__,Jo=ka(rh),ot={INVALID_ARGUMENT:rh,INVALID_DATE_ARGUMENT:Jo(),INVALID_ISO_DATE_ARGUMENT:Jo(),NOT_SUPPORT_NON_STRING_MESSAGE:Jo(),__EXTEND_POINT__:Jo()};function bn(e){return ro(e,null,process.env.NODE_ENV!=="production"?{messages:b1}:void 0)}const b1={[ot.INVALID_ARGUMENT]:"Invalid arguments",[ot.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ot.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ot.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message"},v1="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function sh(e,t){t&&mE(e)&&Ie(ya(v1,{source:e}))}const ah=e=>e;let Wn=Object.create(null);const On=e=>ne(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function lh(e,t={}){let n=!1;const o=t.onError||fE;return t.onError=i=>{n=!0,o(i)},{...RE(e,t),detectError:n}}const y1=(e,t)=>{if(!R(e))throw bn(ot.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=Y(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&sh(e,n);const i=(t.onCacheKey||ah)(e),r=Wn[i];if(r)return r;const{code:s,detectError:a}=lh(e,t),l=new Function(`return ${s}`)();return a?l:Wn[i]=l}};function w1(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&R(e)){const n=Y(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&sh(e,n);const i=(t.onCacheKey||ah)(e),r=Wn[i];if(r)return r;const{ast:s,detectError:a}=lh(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),l=Cr(s);return a?l:Wn[i]=l}else{if(process.env.NODE_ENV!=="production"&&!On(e))return Ie(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const o=Wn[n];return o||(Wn[n]=Cr(e))}else return Cr(e)}}const Oc=()=>"",pt=e=>pe(e);function Ac(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:i,messageCompiler:r,fallbackLocale:s,messages:a}=e,[l,c]=hs(...t),d=Y(c.missingWarn)?c.missingWarn:e.missingWarn,u=Y(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=Y(c.escapeParameter)?c.escapeParameter:e.escapeParameter,b=!!c.resolvedMessage,T=R(c.default)||Y(c.default)?Y(c.default)?r?l:()=>l:c.default:n?r?l:()=>l:"",x=n||T!=="",C=R(c.locale)?c.locale:e.locale;f&&k1(c);let[p,y,S]=b?[l,C,a[C]||{}]:ch(e,l,C,s,u,d),k=p,D=l;if(!b&&!(R(k)||On(k)||pt(k))&&x&&(k=T,D=k),!b&&(!(R(k)||On(k)||pt(k))||!R(y)))return i?zi:l;if(process.env.NODE_ENV!=="production"&&R(k)&&e.messageCompiler==null)return Ie(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`),l;let v=!1;const w=()=>{v=!0},P=pt(k)?k:dh(e,l,y,k,D,w);if(v)return k;const A=T1(e,y,S,c),N=e1(A),L=x1(e,P,N),U=o?o(L,l):L;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const oe={timestamp:Date.now(),key:R(l)?l:pt(k)?k.key:"",locale:y||(pt(k)?k.locale:""),format:R(k)?k:pt(k)?k.source:"",message:U};oe.meta=Oe({},e.__meta,h1()||{}),o1(oe)}return U}function k1(e){re(e.list)?e.list=e.list.map(t=>R(t)?hc(t):t):ne(e.named)&&Object.keys(e.named).forEach(t=>{R(e.named[t])&&(e.named[t]=hc(e.named[t]))})}function ch(e,t,n,o,i,r){const{messages:s,onWarn:a,messageResolver:l,localeFallbacker:c}=e,d=c(e,o,n);let u={},f,b=null,T=n,x=null;const C="translate";for(let p=0;p<d.length;p++){if(f=x=d[p],process.env.NODE_ENV!=="production"&&n!==f&&Ui(i,t)&&a(Cn(Ve.FALLBACK_TO_TRANSLATE,{key:t,target:f})),process.env.NODE_ENV!=="production"&&n!==f){const v=e.__v_emitter;v&&v.emit("fallback",{type:C,key:t,from:T,to:x,groupId:`${C}:${t}`})}u=s[f]||{};let y=null,S,k;if(process.env.NODE_ENV!=="production"&&Ct&&(y=window.performance.now(),S="intlify-message-resolve-start",k="intlify-message-resolve-end",Ye&&Ye(S)),(b=l(u,t))===null&&(b=u[t]),process.env.NODE_ENV!=="production"&&Ct){const v=window.performance.now(),w=e.__v_emitter;w&&y&&b&&w.emit("message-resolve",{type:"message-resolve",key:t,message:b,time:v-y,groupId:`${C}:${t}`}),S&&k&&Ye&&Sn&&(Ye(k),Sn("intlify message resolve",S,k))}if(R(b)||On(b)||pt(b))break;const D=Ea(e,t,f,r,C);D!==t&&(b=D),T=x}return[b,f,u]}function dh(e,t,n,o,i,r){const{messageCompiler:s,warnHtmlMessage:a}=e;if(pt(o)){const f=o;return f.locale=f.locale||n,f.key=f.key||t,f}if(s==null){const f=()=>o;return f.locale=n,f.key=t,f}let l=null,c,d;process.env.NODE_ENV!=="production"&&Ct&&(l=window.performance.now(),c="intlify-message-compilation-start",d="intlify-message-compilation-end",Ye&&Ye(c));const u=s(o,_1(e,n,i,o,a,r));if(process.env.NODE_ENV!=="production"&&Ct){const f=window.performance.now(),b=e.__v_emitter;b&&l&&b.emit("message-compilation",{type:"message-compilation",message:o,time:f-l,groupId:`translate:${t}`}),c&&d&&Ye&&Sn&&(Ye(d),Sn("intlify message compilation",c,d))}return u.locale=n,u.key=t,u.source=o,u}function x1(e,t,n){let o=null,i,r;process.env.NODE_ENV!=="production"&&Ct&&(o=window.performance.now(),i="intlify-message-evaluation-start",r="intlify-message-evaluation-end",Ye&&Ye(i));const s=t(n);if(process.env.NODE_ENV!=="production"&&Ct){const a=window.performance.now(),l=e.__v_emitter;l&&o&&l.emit("message-evaluation",{type:"message-evaluation",value:s,time:a-o,groupId:`translate:${t.key}`}),i&&r&&Ye&&Sn&&(Ye(r),Sn("intlify message evaluation",i,r))}return s}function hs(...e){const[t,n,o]=e,i={};if(!R(t)&&!xe(t)&&!pt(t)&&!On(t))throw bn(ot.INVALID_ARGUMENT);const r=xe(t)?String(t):(pt(t),t);return xe(n)?i.plural=n:R(n)?i.default=n:j(n)&&!Vi(n)?i.named=n:re(n)&&(i.list=n),xe(o)?i.plural=o:R(o)?i.default=o:j(o)&&Oe(i,o),[r,i]}function _1(e,t,n,o,i,r){return{locale:t,key:n,warnHtmlMessage:i,onError:s=>{if(r&&r(s),process.env.NODE_ENV!=="production"){const a=E1(o),l=`Message compilation error: ${s.message}`,c=s.location&&a&&rE(a,s.location.start.offset,s.location.end.offset),d=e.__v_emitter;d&&a&&d.emit("compile-error",{message:a,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${l}
1041
+ ${c}`:l)}else throw s},onCacheKey:s=>Q_(t,n,s)}}function E1(e){var t;if(!R(e)){if((t=e.loc)!=null&&t.source)return e.loc.source}}function T1(e,t,n,o){const{modifiers:i,pluralRules:r,messageResolver:s,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,f={locale:t,modifiers:i,pluralRules:r,messages:b=>{let T=s(n,b);if(T==null&&d){const[,,x]=ch(d,b,t,a,l,c);T=s(x,b)}if(R(T)||On(T)){let x=!1;const p=dh(e,b,t,T,b,()=>{x=!0});return x?Oc:p}else return pt(T)?T:Oc}};return e.processor&&(f.processor=e.processor),o.list&&(f.list=o.list),o.named&&(f.named=o.named),xe(o.plural)&&(f.pluralIndex=o.plural),f}const Dc=typeof Intl<"u",uh={dateTimeFormat:Dc&&typeof Intl.DateTimeFormat<"u",numberFormat:Dc&&typeof Intl.NumberFormat<"u"};function Nc(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:i,onWarn:r,localeFallbacker:s}=e,{__datetimeFormatters:a}=e;if(process.env.NODE_ENV!=="production"&&!uh.dateTimeFormat)return r(Cn(Ve.CANNOT_FORMAT_DATE)),_i;const[l,c,d,u]=ms(...t),f=Y(d.missingWarn)?d.missingWarn:e.missingWarn,b=Y(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,T=!!d.part,x=R(d.locale)?d.locale:e.locale,C=s(e,i,x);if(!R(l)||l==="")return new Intl.DateTimeFormat(x,u).format(c);let p={},y,S=null,k=x,D=null;const v="datetime format";for(let A=0;A<C.length;A++){if(y=D=C[A],process.env.NODE_ENV!=="production"&&x!==y&&Ui(b,l)&&r(Cn(Ve.FALLBACK_TO_DATE_FORMAT,{key:l,target:y})),process.env.NODE_ENV!=="production"&&x!==y){const N=e.__v_emitter;N&&N.emit("fallback",{type:v,key:l,from:k,to:D,groupId:`${v}:${l}`})}if(p=n[y]||{},S=p[l],j(S))break;Ea(e,l,y,f,v),k=D}if(!j(S)||!R(y))return o?zi:l;let w=`${y}__${l}`;Vi(u)||(w=`${w}__${JSON.stringify(u)}`);let P=a.get(w);return P||(P=new Intl.DateTimeFormat(y,Oe({},S,u)),a.set(w,P)),T?P.formatToParts(c):P.format(c)}const fh=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function ms(...e){const[t,n,o,i]=e,r={};let s={},a;if(R(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw bn(ot.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw bn(ot.INVALID_ISO_DATE_ARGUMENT)}}else if(tE(t)){if(isNaN(t.getTime()))throw bn(ot.INVALID_DATE_ARGUMENT);a=t}else if(xe(t))a=t;else throw bn(ot.INVALID_ARGUMENT);return R(n)?r.key=n:j(n)&&Object.keys(n).forEach(l=>{fh.includes(l)?s[l]=n[l]:r[l]=n[l]}),R(o)?r.locale=o:j(o)&&(s=o),j(i)&&(s=i),[r.key||"",a,r,s]}function $c(e,t,n){const o=e;for(const i in n){const r=`${t}__${i}`;o.__datetimeFormatters.has(r)&&o.__datetimeFormatters.delete(r)}}function Lc(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:i,onWarn:r,localeFallbacker:s}=e,{__numberFormatters:a}=e;if(process.env.NODE_ENV!=="production"&&!uh.numberFormat)return r(Cn(Ve.CANNOT_FORMAT_NUMBER)),_i;const[l,c,d,u]=ps(...t),f=Y(d.missingWarn)?d.missingWarn:e.missingWarn,b=Y(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,T=!!d.part,x=R(d.locale)?d.locale:e.locale,C=s(e,i,x);if(!R(l)||l==="")return new Intl.NumberFormat(x,u).format(c);let p={},y,S=null,k=x,D=null;const v="number format";for(let A=0;A<C.length;A++){if(y=D=C[A],process.env.NODE_ENV!=="production"&&x!==y&&Ui(b,l)&&r(Cn(Ve.FALLBACK_TO_NUMBER_FORMAT,{key:l,target:y})),process.env.NODE_ENV!=="production"&&x!==y){const N=e.__v_emitter;N&&N.emit("fallback",{type:v,key:l,from:k,to:D,groupId:`${v}:${l}`})}if(p=n[y]||{},S=p[l],j(S))break;Ea(e,l,y,f,v),k=D}if(!j(S)||!R(y))return o?zi:l;let w=`${y}__${l}`;Vi(u)||(w=`${w}__${JSON.stringify(u)}`);let P=a.get(w);return P||(P=new Intl.NumberFormat(y,Oe({},S,u)),a.set(w,P)),T?P.formatToParts(c):P.format(c)}const hh=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ps(...e){const[t,n,o,i]=e,r={};let s={};if(!xe(t))throw bn(ot.INVALID_ARGUMENT);const a=t;return R(n)?r.key=n:j(n)&&Object.keys(n).forEach(l=>{hh.includes(l)?s[l]=n[l]:r[l]=n[l]}),R(o)?r.locale=o:j(o)&&(s=o),j(i)&&(s=i),[r.key||"",a,r,s]}function Pc(e,t,n){const o=e;for(const i in n){const r=`${t}__${i}`;o.__numberFormatters.has(r)&&o.__numberFormatters.delete(r)}}FE();/*!
1036
1042
  * vue-i18n v9.4.1
1037
1043
  * (c) 2023 kazuya kawaguchi
1038
1044
  * Released under the MIT License.
1039
- */const ME="9.4.1";function RE(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Rt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Rt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Rt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Rt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Rt().__INTLIFY_PROD_DEVTOOLS__=!1)}const Qf=Ve.__EXTEND_POINT__,Gt=aa(Qf),fe={FALLBACK_TO_ROOT:Qf,NOT_SUPPORTED_PRESERVE:Gt(),NOT_SUPPORTED_FORMATTER:Gt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Gt(),NOT_SUPPORTED_GET_CHOICE_INDEX:Gt(),COMPONENT_NAME_LEGACY_COMPATIBLE:Gt(),NOT_FOUND_PARENT_SCOPE:Gt(),IGNORE_OBJ_FLATTEN:Gt(),NOTICE_DROP_ALLOW_COMPOSITION:Gt()},FE={[fe.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[fe.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[fe.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[fe.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[fe.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[fe.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[fe.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[fe.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[fe.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze"};function je(e,...t){return ra(FE[e],...t)}const eh=it.__EXTEND_POINT__,Be=aa(eh),Z={UNEXPECTED_RETURN_TYPE:eh,INVALID_ARGUMENT:Be(),MUST_BE_CALL_SETUP_TOP:Be(),NOT_INSTALLED:Be(),NOT_AVAILABLE_IN_LEGACY_MODE:Be(),REQUIRED_VALUE:Be(),INVALID_VALUE:Be(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Be(),NOT_INSTALLED_WITH_PROVIDE:Be(),UNEXPECTED_ERROR:Be(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Be(),BRIDGE_SUPPORT_VUE_2_ONLY:Be(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Be(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Be(),__EXTEND_POINT__:Be()};function ve(e,...t){return ii(e,null,process.env.NODE_ENV!=="production"?{messages:VE,args:t}:void 0)}const VE={[Z.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Z.INVALID_ARGUMENT]:"Invalid argument",[Z.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Z.NOT_INSTALLED]:"Need to install with `app.use` function",[Z.UNEXPECTED_ERROR]:"Unexpected error",[Z.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Z.REQUIRED_VALUE]:"Required in value: {0}",[Z.INVALID_VALUE]:"Invalid value",[Z.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Z.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Z.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Z.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Z.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Z.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},cs=Ot("__translateVNode"),ds=Ot("__datetimeParts"),us=Ot("__numberParts"),On=Ot("__enableEmitter"),_i=Ot("__disableEmitter"),th=Ot("__setPluralRules"),nh=Ot("__injectWithOption"),fs=Ot("__dispose");function hs(e){if(!te(e))return e;for(const t in e)if(sa(e,t))if(!t.includes("."))te(e[t])&&hs(e[t]);else{const n=t.split("."),i=n.length-1;let o=e,r=!1;for(let s=0;s<i;s++){if(n[s]in o||(o[n[s]]={}),!te(o[n[s]])){process.env.NODE_ENV!=="production"&&Ie(je(fe.IGNORE_OBJ_FLATTEN,{key:n[s]})),r=!0;break}o=o[n[s]]}r||(o[n[i]]=e[t],delete e[t]),te(o[n[i]])&&hs(o[n[i]])}return e}function Vo(e,t){const{messages:n,__i18n:i,messageResolver:o,flatJson:r}=t,s=W(n)?n:re(i)?{}:{[e]:{}};if(re(i)&&i.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(s[l]=s[l]||{},pi(c,s[l])):pi(c,s)}else R(a)&&pi(JSON.parse(a),s)}),o==null&&r)for(const a in s)sa(s,a)&&hs(s[a]);return s}const Xi=e=>!te(e)||re(e);function pi(e,t){if(Xi(e)||Xi(t))throw ve(Z.INVALID_VALUE);for(const n in e)sa(e,n)&&(Xi(e[n])||Xi(t[n])?t[n]=e[n]:pi(e[n],t[n]))}function ih(e){return e.type}function oh(e,t,n){let i=te(t.messages)?t.messages:{};"__i18nGlobal"in n&&(i=Vo(e.locale.value,{messages:i,__i18n:n.__i18nGlobal}));const o=Object.keys(i);o.length&&o.forEach(r=>{e.mergeLocaleMessage(r,i[r])});{if(te(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(te(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function kc(e){return m.createVNode(m.Text,null,e,0)}const xc="__INTLIFY_META__";let _c=0;function Ec(e){return(t,n,i,o)=>e(n,i,m.getCurrentInstance()||void 0,o)}const UE=()=>{const e=m.getCurrentInstance();let t=null;return e&&(t=ih(e)[xc])?{[xc]:t}:null};function ua(e={},t){const{__root:n,__injectWithOption:i}=e,o=n===void 0;let r=Y(e.inheritLocale)?e.inheritLocale:!0;const s=m.ref(n&&r?n.locale.value:R(e.locale)?e.locale:Li),a=m.ref(n&&r?n.fallbackLocale.value:R(e.fallbackLocale)||re(e.fallbackLocale)||W(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),l=m.ref(Vo(s.value,e)),c=m.ref(W(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),d=m.ref(W(e.numberFormats)?e.numberFormats:{[s.value]:{}});let u=n?n.missingWarn:Y(e.missingWarn)||tn(e.missingWarn)?e.missingWarn:!0,f=n?n.fallbackWarn:Y(e.fallbackWarn)||tn(e.fallbackWarn)?e.fallbackWarn:!0,b=n?n.fallbackRoot:Y(e.fallbackRoot)?e.fallbackRoot:!0,I=!!e.fallbackFormat,x=he(e.missing)?e.missing:null,O=he(e.missing)?Ec(e.missing):null,g=he(e.postTranslation)?e.postTranslation:null,y=n?n.warnHtmlMessage:Y(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const k=n?n.modifiers:W(e.modifiers)?e.modifiers:{};let N=e.pluralRules||n&&n.pluralRules,v;v=(()=>{o&&uc(null);const C={version:ME,locale:s.value,fallbackLocale:a.value,messages:l.value,modifiers:k,pluralRules:N,missing:O===null?void 0:O,missingWarn:u,fallbackWarn:f,fallbackFormat:I,unresolving:!0,postTranslation:g===null?void 0:g,warnHtmlMessage:y,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};C.datetimeFormats=c.value,C.numberFormats=d.value,C.__datetimeFormatters=W(v)?v.__datetimeFormatters:void 0,C.__numberFormatters=W(v)?v.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(C.__v_emitter=W(v)?v.__v_emitter:void 0);const L=TE(C);return o&&uc(L),L})(),ai(v,s.value,a.value);function P(){return[s.value,a.value,l.value,c.value,d.value]}const A=m.computed({get:()=>s.value,set:C=>{s.value=C,v.locale=s.value}}),D=m.computed({get:()=>a.value,set:C=>{a.value=C,v.fallbackLocale=a.value,ai(v,s.value,C)}}),$=m.computed(()=>l.value),z=m.computed(()=>c.value),ne=m.computed(()=>d.value);function ye(){return he(g)?g:null}function ze(C){g=C,v.postTranslation=C}function q(){return x}function K(C){C!==null&&(O=Ec(C)),x=C,v.missing=O}function ot(C,L){return C!=="translate"||!L.resolvedMessage}const Ne=(C,L,De,Se,Dt,at)=>{P();let lt;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&dc(UE()),o||(v.fallbackContext=n?EE():void 0),lt=C(v)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&dc(null),o||(v.fallbackContext=void 0)}if(xe(lt)&&lt===Ro){const[we,xt]=L();if(process.env.NODE_ENV!=="production"&&n&&R(we)&&ot(De,xt)&&(b&&(Fo(f,we)||Hf(u,we))&&Ie(je(fe.FALLBACK_TO_ROOT,{key:we,type:De})),process.env.NODE_ENV!=="production")){const{__v_emitter:Lt}=v;Lt&&b&&Lt.emit("fallback",{type:De,key:we,to:"global",groupId:`${De}:${we}`})}return n&&b?Se(n):Dt(we)}else{if(at(lt))return lt;throw ve(Z.UNEXPECTED_RETURN_TYPE)}};function qe(...C){return Ne(L=>Reflect.apply(pc,null,[L,...C]),()=>ss(...C),"translate",L=>Reflect.apply(L.t,L,[...C]),L=>L,L=>R(L))}function rt(...C){const[L,De,Se]=C;if(Se&&!te(Se))throw ve(Z.INVALID_ARGUMENT);return qe(L,De,Ce({resolvedMessage:!0},Se||{}))}function yt(...C){return Ne(L=>Reflect.apply(bc,null,[L,...C]),()=>as(...C),"datetime format",L=>Reflect.apply(L.d,L,[...C]),()=>wo,L=>R(L))}function _e(...C){return Ne(L=>Reflect.apply(yc,null,[L,...C]),()=>ls(...C),"number format",L=>Reflect.apply(L.n,L,[...C]),()=>wo,L=>R(L))}function Ke(C){return C.map(L=>R(L)||xe(L)||Y(L)?kc(String(L)):L)}const Bt={normalize:Ke,interpolate:C=>C,type:"vnode"};function Ht(...C){return Ne(L=>{let De;const Se=L;try{Se.processor=Bt,De=Reflect.apply(pc,null,[Se,...C])}finally{Se.processor=null}return De},()=>ss(...C),"translate",L=>L[cs](...C),L=>[kc(L)],L=>re(L))}function Ct(...C){return Ne(L=>Reflect.apply(yc,null,[L,...C]),()=>ls(...C),"number format",L=>L[us](...C),()=>[],L=>R(L)||re(L))}function At(...C){return Ne(L=>Reflect.apply(bc,null,[L,...C]),()=>as(...C),"datetime format",L=>L[ds](...C),()=>[],L=>R(L)||re(L))}function wt(C){N=C,v.pluralRules=N}function Nt(C,L){const De=R(L)?L:s.value,Se=h(De);return v.messageResolver(Se,C)!==null}function kt(C){let L=null;const De=Rf(v,a.value,s.value);for(let Se=0;Se<De.length;Se++){const Dt=l.value[De[Se]]||{},at=v.messageResolver(Dt,C);if(at!=null){L=at;break}}return L}function p(C){const L=kt(C);return L??(n?n.tm(C)||{}:{})}function h(C){return l.value[C]||{}}function E(C,L){l.value[C]=L,v.messages=l.value}function V(C,L){l.value[C]=l.value[C]||{},pi(L,l.value[C]),v.messages=l.value}function H(C){return c.value[C]||{}}function Q(C,L){c.value[C]=L,v.datetimeFormats=c.value,vc(v,C,L)}function Xe(C,L){c.value[C]=Ce(c.value[C]||{},L),v.datetimeFormats=c.value,vc(v,C,L)}function st(C){return d.value[C]||{}}function Uo(C,L){d.value[C]=L,v.numberFormats=d.value,wc(v,C,L)}function zo(C,L){d.value[C]=Ce(d.value[C]||{},L),v.numberFormats=d.value,wc(v,C,L)}_c++,n&&It&&(m.watch(n.locale,C=>{r&&(s.value=C,v.locale=C,ai(v,s.value,a.value))}),m.watch(n.fallbackLocale,C=>{r&&(a.value=C,v.fallbackLocale=C,ai(v,s.value,a.value))}));const de={id:_c,locale:A,fallbackLocale:D,get inheritLocale(){return r},set inheritLocale(C){r=C,C&&n&&(s.value=n.locale.value,a.value=n.fallbackLocale.value,ai(v,s.value,a.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:$,get modifiers(){return k},get pluralRules(){return N||{}},get isGlobal(){return o},get missingWarn(){return u},set missingWarn(C){u=C,v.missingWarn=u},get fallbackWarn(){return f},set fallbackWarn(C){f=C,v.fallbackWarn=f},get fallbackRoot(){return b},set fallbackRoot(C){b=C},get fallbackFormat(){return I},set fallbackFormat(C){I=C,v.fallbackFormat=I},get warnHtmlMessage(){return y},set warnHtmlMessage(C){y=C,v.warnHtmlMessage=C},get escapeParameter(){return S},set escapeParameter(C){S=C,v.escapeParameter=C},t:qe,getLocaleMessage:h,setLocaleMessage:E,mergeLocaleMessage:V,getPostTranslationHandler:ye,setPostTranslationHandler:ze,getMissingHandler:q,setMissingHandler:K,[th]:wt};return de.datetimeFormats=z,de.numberFormats=ne,de.rt=rt,de.te=Nt,de.tm=p,de.d=yt,de.n=_e,de.getDateTimeFormat=H,de.setDateTimeFormat=Q,de.mergeDateTimeFormat=Xe,de.getNumberFormat=st,de.setNumberFormat=Uo,de.mergeNumberFormat=zo,de[nh]=i,de[cs]=Ht,de[ds]=At,de[us]=Ct,process.env.NODE_ENV!=="production"&&(de[On]=C=>{v.__v_emitter=C},de[_i]=()=>{v.__v_emitter=void 0}),de}function zE(e){const t=R(e.locale)?e.locale:Li,n=R(e.fallbackLocale)||re(e.fallbackLocale)||W(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,i=he(e.missing)?e.missing:void 0,o=Y(e.silentTranslationWarn)||tn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=Y(e.silentFallbackWarn)||tn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=Y(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=W(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=he(e.postTranslation)?e.postTranslation:void 0,u=R(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,b=Y(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ie(je(fe.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ie(je(fe.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let I=e.messages;if(W(e.sharedMessages)){const N=e.sharedMessages;I=Object.keys(N).reduce((w,P)=>{const A=w[P]||(w[P]={});return Ce(A,N[P]),w},I||{})}const{__i18n:x,__root:O,__injectWithOption:g}=e,y=e.datetimeFormats,S=e.numberFormats,k=e.flatJson;return{locale:t,fallbackLocale:n,messages:I,flatJson:k,datetimeFormats:y,numberFormats:S,missing:i,missingWarn:o,fallbackWarn:r,fallbackRoot:s,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:u,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:b,__i18n:x,__root:O,__injectWithOption:g}}function ms(e={},t){{const n=ua(zE(e)),{__extender:i}=e,o={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Ie(je(fe.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(r){process.env.NODE_ENV!=="production"&&Ie(je(fe.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return Y(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=Y(r)?!r:r},get silentFallbackWarn(){return Y(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=Y(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Ie(je(fe.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(r){process.env.NODE_ENV!=="production"&&Ie(je(fe.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[s,a,l]=r,c={};let d=null,u=null;if(!R(s))throw ve(Z.INVALID_ARGUMENT);const f=s;return R(a)?c.locale=a:re(a)?d=a:W(a)&&(u=a),re(l)?d=l:W(l)&&(u=l),Reflect.apply(n.t,n,[f,d||u||{},c])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[s,a,l]=r,c={plural:1};let d=null,u=null;if(!R(s))throw ve(Z.INVALID_ARGUMENT);const f=s;return R(a)?c.locale=a:xe(a)?c.plural=a:re(a)?d=a:W(a)&&(u=a),R(l)?c.locale=l:re(l)?d=l:W(l)&&(u=l),Reflect.apply(n.t,n,[f,d||u||{},c])},te(r,s){return n.te(r,s)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,s){n.setLocaleMessage(r,s)},mergeLocaleMessage(r,s){n.mergeLocaleMessage(r,s)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,s){n.setDateTimeFormat(r,s)},mergeDateTimeFormat(r,s){n.mergeDateTimeFormat(r,s)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,s){n.setNumberFormat(r,s)},mergeNumberFormat(r,s){n.mergeNumberFormat(r,s)},getChoiceIndex(r,s){return process.env.NODE_ENV!=="production"&&Ie(je(fe.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return o.__extender=i,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=r=>{const s=n;s[On]&&s[On](r)},o.__disableEmitter=()=>{const r=n;r[_i]&&r[_i]()}),o}}const fa={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function BE({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((i,o)=>[...i,...o.type===m.Fragment?o.children:[o]],[]):t.reduce((n,i)=>{const o=e[i];return o&&(n[i]=o()),n},{})}function rh(e){return m.Fragment}const HE=m.defineComponent({name:"i18n-t",props:Ce({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>xe(e)||!isNaN(e)}},fa),setup(e,t){const{slots:n,attrs:i}=t,o=e.i18n||ma({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(u=>u!=="_"),s={};e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=R(e.plural)?+e.plural:e.plural);const a=BE(t,r),l=o[cs](e.keypath,a,s),c=Ce({},i),d=R(e.tag)||te(e.tag)?e.tag:rh();return m.h(d,c,l)}}}),_r=HE;function WE(e){return re(e)&&!R(e[0])}function sh(e,t,n,i){const{slots:o,attrs:r}=t;return()=>{const s={part:!0};let a={};e.locale&&(s.locale=e.locale),R(e.format)?s.key=e.format:te(e.format)&&(R(e.format.key)&&(s.key=e.format.key),a=Object.keys(e.format).reduce((f,b)=>n.includes(b)?Ce({},f,{[b]:e.format[b]}):f,{}));const l=i(e.value,s,a);let c=[s.key];re(l)?c=l.map((f,b)=>{const I=o[f.type],x=I?I({[f.type]:f.value,index:b,parts:l}):[f.value];return WE(x)&&(x[0].key=`${f.type}-${b}`),x}):R(l)&&(c=[l]);const d=Ce({},r),u=R(e.tag)||te(e.tag)?e.tag:rh();return m.h(u,d,c)}}const jE=m.defineComponent({name:"i18n-n",props:Ce({value:{type:Number,required:!0},format:{type:[String,Object]}},fa),setup(e,t){const n=e.i18n||ma({useScope:"parent",__useComponent:!0});return sh(e,t,Jf,(...i)=>n[us](...i))}}),Tc=jE,YE=m.defineComponent({name:"i18n-d",props:Ce({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},fa),setup(e,t){const n=e.i18n||ma({useScope:"parent",__useComponent:!0});return sh(e,t,Zf,(...i)=>n[ds](...i))}}),Ic=YE;function GE(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const i=n.__getInstance(t);return i!=null?i.__composer:e.global.__composer}}function qE(e){const t=s=>{const{instance:a,modifiers:l,value:c}=s;if(!a||!a.$)throw ve(Z.UNEXPECTED_ERROR);const d=GE(e,a.$);process.env.NODE_ENV!=="production"&&l.preserve&&Ie(je(fe.NOT_SUPPORTED_PRESERVE));const u=Sc(c);return[Reflect.apply(d.t,d,[...Oc(u)]),d]};return{created:(s,a)=>{const[l,c]=t(a);It&&e.global===c&&(s.__i18nWatcher=m.watch(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{It&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:a})=>{if(s.__composer){const l=s.__composer,c=Sc(a);s.textContent=Reflect.apply(l.t,l,[...Oc(c)])}},getSSRProps:s=>{const[a]=t(s);return{textContent:a}}}}function Sc(e){if(R(e))return{path:e};if(W(e)){if(!("path"in e))throw ve(Z.REQUIRED_VALUE,"path");return e}else throw ve(Z.INVALID_VALUE)}function Oc(e){const{path:t,locale:n,args:i,choice:o,plural:r}=e,s={},a=i||{};return R(n)&&(s.locale=n),xe(o)&&(s.plural=o),xe(r)&&(s.plural=r),[t,a,s]}function KE(e,t,...n){const i=W(n[0])?n[0]:{},o=!!i.useI18nComponentName,r=Y(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&r&&o&&Ie(je(fe.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:_r.name})),r&&([o?"i18n":_r.name,"I18nT"].forEach(s=>e.component(s,_r)),[Tc.name,"I18nN"].forEach(s=>e.component(s,Tc)),[Ic.name,"I18nD"].forEach(s=>e.component(s,Ic))),e.directive("t",qE(t))}const Er={"vue-devtools-plugin-vue-i18n":"Vue I18n devtools","vue-i18n-resource-inspector":"I18n Resources","vue-i18n-timeline":"Vue I18n"},XE={"vue-i18n-resource-inspector":"Search for scopes ..."},ZE={"vue-i18n-timeline":16764185},ah="vue-i18n: composer properties";let ps;async function JE(e,t){return new Promise((n,i)=>{try{gs({id:"vue-devtools-plugin-vue-i18n",label:Er["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[ah],app:e},o=>{ps=o,o.on.visitComponentTree(({componentInstance:s,treeNode:a})=>{QE(s,a,t)}),o.on.inspectComponent(({componentInstance:s,instanceData:a})=>{s.vnode.el&&s.vnode.el.__VUE_I18N__&&a&&(t.mode==="legacy"?s.vnode.el.__VUE_I18N__!==t.global.__composer&&Cc(a,s.vnode.el.__VUE_I18N__):Cc(a,s.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:Er["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:XE["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(s=>{s.app===e&&s.inspectorId==="vue-i18n-resource-inspector"&&o1(s,t)});const r=new Map;o.on.getInspectorState(async s=>{if(s.app===e&&s.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),s1(s,t),s.nodeId==="global"){if(!r.has(s.app)){const[a]=await o.getComponentInstances(s.app);r.set(s.app,a)}o.highlightElement(r.get(s.app))}else{const a=r1(s.nodeId,t);a&&o.highlightElement(a)}}),o.on.editInspectorState(s=>{s.app===e&&s.inspectorId==="vue-i18n-resource-inspector"&&l1(s,t)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:Er["vue-i18n-timeline"],color:ZE["vue-i18n-timeline"]}),n(!0)})}catch(o){console.error(o),i(!1)}})}function lh(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function QE(e,t,n){const i=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==i){const o={label:`i18n (${lh(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(o)}}function Cc(e,t){const n=ah;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:ha(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function ha(e){const t={};return Object.keys(e).forEach(n=>{const i=e[n];he(i)&&"source"in i?t[n]=i1(i):Sn(i)&&i.loc&&i.loc.source?t[n]=i.loc.source:te(i)?t[n]=ha(i):t[n]=i}),t}const e1={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function t1(e){return e.replace(/[<>"&]/g,n1)}function n1(e){return e1[e]||e}function i1(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${t1(e.source)}")`:"(?)"}`}}}function o1(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[i,o]of t.__instances){const r=t.mode==="composition"?o:o.__composer;n!==r&&e.rootNodes.push({id:r.id.toString(),label:`${lh(i)} Scope`})}}function r1(e,t){let n=null;if(e!=="global"){for(const[i,o]of t.__instances.entries())if(o.id.toString()===e){n=i;break}}return n}function ch(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(i=>i.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function s1(e,t){const n=ch(e.nodeId,t);return n&&(e.state=a1(n)),null}function a1(e){const t={},n="Locale related info",i=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=i;const o="Locale messages info",r=[{type:o,key:"messages",editable:!1,value:ha(e.messages.value)}];t[o]=r;{const s="Datetime formats info",a=[{type:s,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[s]=a;const l="Datetime formats info",c=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[l]=c}return t}function Ei(e,t){if(ps){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),ps.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function l1(e,t){const n=ch(e.nodeId,t);if(n){const[i]=e.path;i==="locale"&&R(e.state.value)?n.locale.value=e.state.value:i==="fallbackLocale"&&(R(e.state.value)||re(e.state.value)||te(e.state.value))?n.fallbackLocale.value=e.state.value:i==="inheritLocale"&&Y(e.state.value)&&(n.inheritLocale=e.state.value)}}function c1(e,t,n){return{beforeCreate(){const i=m.getCurrentInstance();if(!i)throw ve(Z.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const r=o.i18n;if(o.__i18n&&(r.__i18n=o.__i18n),r.__root=t,this===this.$root)this.$i18n=Ac(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=ms(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Ac(e,o);else{this.$i18n=ms({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&oh(t,o,o),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,s)=>this.$i18n.te(r,s),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),n.__setInstance(i,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$el&&this.$i18n){const i=this.$i18n;this.$el.__VUE_I18N__=i.__composer;const o=this.__v_emitter=la();i.__enableEmitter&&i.__enableEmitter(o),o.on("*",Ei)}},unmounted(){const i=m.getCurrentInstance();if(!i)throw ve(Z.UNEXPECTED_ERROR);const o=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Ei),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(i),delete this.$i18n}}}function Ac(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[th](t.pluralizationRules||e.pluralizationRules);const n=Vo(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(i=>e.mergeLocaleMessage(i,n[i])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(i=>e.mergeDateTimeFormat(i,t.datetimeFormats[i])),t.numberFormats&&Object.keys(t.numberFormats).forEach(i=>e.mergeNumberFormat(i,t.numberFormats[i])),e}const d1=Ot("global-vue-i18n");function u1(e={},t){const n=__VUE_I18N_LEGACY_API__&&Y(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,i=Y(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,r=new Map,[s,a]=f1(e,n),l=Ot(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&o&&Ie(je(fe.NOTICE_DROP_ALLOW_COMPOSITION));function c(f){return r.get(f)||null}function d(f,b){r.set(f,b)}function u(f){r.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return o},async install(b,...I){if(process.env.NODE_ENV!=="production"&&(b.__VUE_I18N__=f),b.__VUE_I18N_SYMBOL__=l,b.provide(b.__VUE_I18N_SYMBOL__,f),W(I[0])){const g=I[0];f.__composerExtend=g.__composerExtend,f.__vueI18nExtend=g.__vueI18nExtend}let x=null;!n&&i&&(x=k1(b,f.global)),__VUE_I18N_FULL_INSTALL__&&KE(b,f,...I),__VUE_I18N_LEGACY_API__&&n&&b.mixin(c1(a,a.__composer,f));const O=b.unmount;if(b.unmount=()=>{x&&x(),f.dispose(),O()},process.env.NODE_ENV!=="production"){if(!await JE(b,f))throw ve(Z.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const y=la();if(n){const S=a;S.__enableEmitter&&S.__enableEmitter(y)}else{const S=a;S[On]&&S[On](y)}y.on("*",Ei)}},get global(){return a},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:d,__deleteInstance:u};return f}}function ma(e={}){const t=m.getCurrentInstance();if(t==null)throw ve(Z.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ve(Z.NOT_INSTALLED);const n=h1(t),i=p1(n),o=ih(t),r=m1(e,o);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw ve(Z.NOT_AVAILABLE_IN_LEGACY_MODE);return y1(t,r,i,e)}if(r==="global")return oh(i,e,o),i;if(r==="parent"){let l=g1(n,t,e.__useComponent);return l==null&&(process.env.NODE_ENV!=="production"&&Ie(je(fe.NOT_FOUND_PARENT_SCOPE)),l=i),l}const s=n;let a=s.__getInstance(t);if(a==null){const l=Ce({},e);"__i18n"in o&&(l.__i18n=o.__i18n),i&&(l.__root=i),a=ua(l),s.__composerExtend&&(a[fs]=s.__composerExtend(a)),v1(s,t,a),s.__setInstance(t,a)}return a}function f1(e,t,n){const i=m.effectScope();{const o=__VUE_I18N_LEGACY_API__&&t?i.run(()=>ms(e)):i.run(()=>ua(e));if(o==null)throw ve(Z.UNEXPECTED_ERROR);return[i,o]}}function h1(e){{const t=m.inject(e.isCE?d1:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ve(e.isCE?Z.NOT_INSTALLED_WITH_PROVIDE:Z.UNEXPECTED_ERROR);return t}}function m1(e,t){return Mo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function p1(e){return e.mode==="composition"?e.global:e.global.__composer}function g1(e,t,n=!1){let i=null;const o=t.root;let r=b1(t,n);for(;r!=null;){const s=e;if(e.mode==="composition")i=s.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const a=s.__getInstance(r);a!=null&&(i=a.__composer,n&&i&&!i[nh]&&(i=null))}if(i!=null||o===r)break;r=r.parent}return i}function b1(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function v1(e,t,n){let i=null;m.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,i=la();const o=n;o[On]&&o[On](i),i.on("*",Ei)}},t),m.onUnmounted(()=>{const o=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(i&&i.off("*",Ei),o[_i]&&o[_i](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const r=o[fs];r&&(r(),delete o[fs])},t)}function y1(e,t,n,i={}){const o=t==="local",r=m.shallowRef(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ve(Z.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Y(i.inheritLocale)?i.inheritLocale:!R(i.locale),a=m.ref(!o||s?n.locale.value:R(i.locale)?i.locale:Li),l=m.ref(!o||s?n.fallbackLocale.value:R(i.fallbackLocale)||re(i.fallbackLocale)||W(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:a.value),c=m.ref(Vo(a.value,i)),d=m.ref(W(i.datetimeFormats)?i.datetimeFormats:{[a.value]:{}}),u=m.ref(W(i.numberFormats)?i.numberFormats:{[a.value]:{}}),f=o?n.missingWarn:Y(i.missingWarn)||tn(i.missingWarn)?i.missingWarn:!0,b=o?n.fallbackWarn:Y(i.fallbackWarn)||tn(i.fallbackWarn)?i.fallbackWarn:!0,I=o?n.fallbackRoot:Y(i.fallbackRoot)?i.fallbackRoot:!0,x=!!i.fallbackFormat,O=he(i.missing)?i.missing:null,g=he(i.postTranslation)?i.postTranslation:null,y=o?n.warnHtmlMessage:Y(i.warnHtmlMessage)?i.warnHtmlMessage:!0,S=!!i.escapeParameter,k=o?n.modifiers:W(i.modifiers)?i.modifiers:{},N=i.pluralRules||o&&n.pluralRules;function v(){return[a.value,l.value,c.value,d.value,u.value]}const w=m.computed({get:()=>r.value?r.value.locale.value:a.value,set:h=>{r.value&&(r.value.locale.value=h),a.value=h}}),P=m.computed({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:h=>{r.value&&(r.value.fallbackLocale.value=h),l.value=h}}),A=m.computed(()=>r.value?r.value.messages.value:c.value),D=m.computed(()=>d.value),$=m.computed(()=>u.value);function z(){return r.value?r.value.getPostTranslationHandler():g}function ne(h){r.value&&r.value.setPostTranslationHandler(h)}function ye(){return r.value?r.value.getMissingHandler():O}function ze(h){r.value&&r.value.setMissingHandler(h)}function q(h){return v(),h()}function K(...h){return r.value?q(()=>Reflect.apply(r.value.t,null,[...h])):q(()=>"")}function ot(...h){return r.value?Reflect.apply(r.value.rt,null,[...h]):""}function Ne(...h){return r.value?q(()=>Reflect.apply(r.value.d,null,[...h])):q(()=>"")}function qe(...h){return r.value?q(()=>Reflect.apply(r.value.n,null,[...h])):q(()=>"")}function rt(h){return r.value?r.value.tm(h):{}}function yt(h,E){return r.value?r.value.te(h,E):!1}function _e(h){return r.value?r.value.getLocaleMessage(h):{}}function Ke(h,E){r.value&&(r.value.setLocaleMessage(h,E),c.value[h]=E)}function Ee(h,E){r.value&&r.value.mergeLocaleMessage(h,E)}function Bt(h){return r.value?r.value.getDateTimeFormat(h):{}}function Ht(h,E){r.value&&(r.value.setDateTimeFormat(h,E),d.value[h]=E)}function Ct(h,E){r.value&&r.value.mergeDateTimeFormat(h,E)}function At(h){return r.value?r.value.getNumberFormat(h):{}}function wt(h,E){r.value&&(r.value.setNumberFormat(h,E),u.value[h]=E)}function Nt(h,E){r.value&&r.value.mergeNumberFormat(h,E)}const kt={get id(){return r.value?r.value.id:-1},locale:w,fallbackLocale:P,messages:A,datetimeFormats:D,numberFormats:$,get inheritLocale(){return r.value?r.value.inheritLocale:s},set inheritLocale(h){r.value&&(r.value.inheritLocale=h)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:k},get pluralRules(){return r.value?r.value.pluralRules:N},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:f},set missingWarn(h){r.value&&(r.value.missingWarn=h)},get fallbackWarn(){return r.value?r.value.fallbackWarn:b},set fallbackWarn(h){r.value&&(r.value.missingWarn=h)},get fallbackRoot(){return r.value?r.value.fallbackRoot:I},set fallbackRoot(h){r.value&&(r.value.fallbackRoot=h)},get fallbackFormat(){return r.value?r.value.fallbackFormat:x},set fallbackFormat(h){r.value&&(r.value.fallbackFormat=h)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:y},set warnHtmlMessage(h){r.value&&(r.value.warnHtmlMessage=h)},get escapeParameter(){return r.value?r.value.escapeParameter:S},set escapeParameter(h){r.value&&(r.value.escapeParameter=h)},t:K,getPostTranslationHandler:z,setPostTranslationHandler:ne,getMissingHandler:ye,setMissingHandler:ze,rt:ot,d:Ne,n:qe,tm:rt,te:yt,getLocaleMessage:_e,setLocaleMessage:Ke,mergeLocaleMessage:Ee,getDateTimeFormat:Bt,setDateTimeFormat:Ht,mergeDateTimeFormat:Ct,getNumberFormat:At,setNumberFormat:wt,mergeNumberFormat:Nt};function p(h){h.locale.value=a.value,h.fallbackLocale.value=l.value,Object.keys(c.value).forEach(E=>{h.mergeLocaleMessage(E,c.value[E])}),Object.keys(d.value).forEach(E=>{h.mergeDateTimeFormat(E,d.value[E])}),Object.keys(u.value).forEach(E=>{h.mergeNumberFormat(E,u.value[E])}),h.escapeParameter=S,h.fallbackFormat=x,h.fallbackRoot=I,h.fallbackWarn=b,h.missingWarn=f,h.warnHtmlMessage=y}return m.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ve(Z.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const h=r.value=e.proxy.$i18n.__composer;t==="global"?(a.value=h.locale.value,l.value=h.fallbackLocale.value,c.value=h.messages.value,d.value=h.datetimeFormats.value,u.value=h.numberFormats.value):o&&p(h)}),kt}const w1=["locale","fallbackLocale","availableLocales"],Nc=["t","rt","d","n","tm","te"];function k1(e,t){const n=Object.create(null);return w1.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw ve(Z.UNEXPECTED_ERROR);const s=m.isRef(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,o,s)}),e.config.globalProperties.$i18n=n,Nc.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw ve(Z.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)}),()=>{delete e.config.globalProperties.$i18n,Nc.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}RE();__INTLIFY_JIT_COMPILATION__?cc(AE):cc(CE);kE(nE);xE(Rf);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Rt();e.__INTLIFY__=!0,uE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const dh=sm();dh.use(a_);exports.i18n=void 0;exports.translate=void 0;let Fe={},pa={};exports.appContext={};let Ti={},Vt={},x1={install(e,t){exports.appContext=e,exports.i18n=u1({legacy:!1,locale:process.env.VUE_APP_I18N_LOCALE||"en",fallbackLocale:process.env.VUE_APP_I18N_FALLBACK_LOCALE||"en",messages:t.localeMessages}),e.use(dh),e.use(exports.i18n),e.component("LanguageSwitcher",Fy),e.component("Login",Nf),e.component("ShopifyImg",Df),e.component("ProductIdentifier",zu),Fe.login=t.login,Fe.logout=t.logout,Fe.loader=t.loader,Fe.appLoginUrl=t.appLoginUrl,pa.defaultImgUrl=t.defaultImgUrl,Ti.getProductIdentificationPref=t.getProductIdentificationPref,Ti.setProductIdentificationPref=t.setProductIdentificationPref,Vt.addNotification=t.addNotification,Vt.appFirebaseConfig=t.appFirebaseConfig,Vt.appFirebaseVapidKey=t.appFirebaseVapidKey,Vt.storeClientRegistrationToken=t.storeClientRegistrationToken,Fe.getConfig=t.getConfig,Fe.initialise=t.initialise,Ws().setLocale(exports.i18n.global.locale),exports.translate=exports.i18n.global.t}};exports.Login=Nf;exports.ProductIdentifier=zu;exports.ShopifyImg=Df;exports.dxpComponents=x1;exports.goToOms=t_;exports.initialiseFirebaseApp=Af;exports.loginContext=Fe;exports.noitificationContext=Vt;exports.productIdentificationContext=Ti;exports.shopifyImgContext=pa;exports.useAuthStore=Wd;exports.useProductIdentificationStore=Wc;exports.useUserStore=Ws;
1045
+ */const I1="9.4.1";function S1(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Vt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Vt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Vt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vt().__INTLIFY_PROD_DEVTOOLS__=!1)}const mh=Ve.__EXTEND_POINT__,qt=ka(mh),me={FALLBACK_TO_ROOT:mh,NOT_SUPPORTED_PRESERVE:qt(),NOT_SUPPORTED_FORMATTER:qt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:qt(),NOT_SUPPORTED_GET_CHOICE_INDEX:qt(),COMPONENT_NAME_LEGACY_COMPATIBLE:qt(),NOT_FOUND_PARENT_SCOPE:qt(),IGNORE_OBJ_FLATTEN:qt(),NOTICE_DROP_ALLOW_COMPOSITION:qt()},C1={[me.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[me.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[me.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[me.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[me.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[me.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[me.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[me.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[me.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze"};function We(e,...t){return ya(C1[e],...t)}const ph=ot.__EXTEND_POINT__,Be=ka(ph),J={UNEXPECTED_RETURN_TYPE:ph,INVALID_ARGUMENT:Be(),MUST_BE_CALL_SETUP_TOP:Be(),NOT_INSTALLED:Be(),NOT_AVAILABLE_IN_LEGACY_MODE:Be(),REQUIRED_VALUE:Be(),INVALID_VALUE:Be(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Be(),NOT_INSTALLED_WITH_PROVIDE:Be(),UNEXPECTED_ERROR:Be(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Be(),BRIDGE_SUPPORT_VUE_2_ONLY:Be(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Be(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Be(),__EXTEND_POINT__:Be()};function ve(e,...t){return ro(e,null,process.env.NODE_ENV!=="production"?{messages:O1,args:t}:void 0)}const O1={[J.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[J.INVALID_ARGUMENT]:"Invalid argument",[J.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[J.NOT_INSTALLED]:"Need to install with `app.use` function",[J.UNEXPECTED_ERROR]:"Unexpected error",[J.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[J.REQUIRED_VALUE]:"Required in value: {0}",[J.INVALID_VALUE]:"Invalid value",[J.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[J.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[J.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[J.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[J.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[J.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},gs=At("__translateVNode"),bs=At("__datetimeParts"),vs=At("__numberParts"),An=At("__enableEmitter"),Io=At("__disableEmitter"),gh=At("__setPluralRules"),bh=At("__injectWithOption"),ys=At("__dispose");function ws(e){if(!ne(e))return e;for(const t in e)if(wa(e,t))if(!t.includes("."))ne(e[t])&&ws(e[t]);else{const n=t.split("."),o=n.length-1;let i=e,r=!1;for(let s=0;s<o;s++){if(n[s]in i||(i[n[s]]={}),!ne(i[n[s]])){process.env.NODE_ENV!=="production"&&Ie(We(me.IGNORE_OBJ_FLATTEN,{key:n[s]})),r=!0;break}i=i[n[s]]}r||(i[n[o]]=e[t],delete e[t]),ne(i[n[o]])&&ws(i[n[o]])}return e}function Bi(e,t){const{messages:n,__i18n:o,messageResolver:i,flatJson:r}=t,s=j(n)?n:re(o)?{}:{[e]:{}};if(re(o)&&o.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(s[l]=s[l]||{},vo(c,s[l])):vo(c,s)}else R(a)&&vo(JSON.parse(a),s)}),i==null&&r)for(const a in s)wa(s,a)&&ws(s[a]);return s}const Qo=e=>!ne(e)||re(e);function vo(e,t){if(Qo(e)||Qo(t))throw ve(J.INVALID_VALUE);for(const n in e)wa(e,n)&&(Qo(e[n])||Qo(t[n])?t[n]=e[n]:vo(e[n],t[n]))}function vh(e){return e.type}function yh(e,t,n){let o=ne(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=Bi(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const i=Object.keys(o);i.length&&i.forEach(r=>{e.mergeLocaleMessage(r,o[r])});{if(ne(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(ne(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Mc(e){return h.createVNode(h.Text,null,e,0)}const Rc="__INTLIFY_META__";let Fc=0;function Vc(e){return(t,n,o,i)=>e(n,o,h.getCurrentInstance()||void 0,i)}const A1=()=>{const e=h.getCurrentInstance();let t=null;return e&&(t=vh(e)[Rc])?{[Rc]:t}:null};function Ta(e={},t){const{__root:n,__injectWithOption:o}=e,i=n===void 0;let r=Y(e.inheritLocale)?e.inheritLocale:!0;const s=h.ref(n&&r?n.locale.value:R(e.locale)?e.locale:Po),a=h.ref(n&&r?n.fallbackLocale.value:R(e.fallbackLocale)||re(e.fallbackLocale)||j(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),l=h.ref(Bi(s.value,e)),c=h.ref(j(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),d=h.ref(j(e.numberFormats)?e.numberFormats:{[s.value]:{}});let u=n?n.missingWarn:Y(e.missingWarn)||on(e.missingWarn)?e.missingWarn:!0,f=n?n.fallbackWarn:Y(e.fallbackWarn)||on(e.fallbackWarn)?e.fallbackWarn:!0,b=n?n.fallbackRoot:Y(e.fallbackRoot)?e.fallbackRoot:!0,T=!!e.fallbackFormat,x=pe(e.missing)?e.missing:null,C=pe(e.missing)?Vc(e.missing):null,p=pe(e.postTranslation)?e.postTranslation:null,y=n?n.warnHtmlMessage:Y(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const k=n?n.modifiers:j(e.modifiers)?e.modifiers:{};let D=e.pluralRules||n&&n.pluralRules,v;v=(()=>{i&&Ic(null);const O={version:I1,locale:s.value,fallbackLocale:a.value,messages:l.value,modifiers:k,pluralRules:D,missing:C===null?void 0:C,missingWarn:u,fallbackWarn:f,fallbackFormat:T,unresolving:!0,postTranslation:p===null?void 0:p,warnHtmlMessage:y,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};O.datetimeFormats=c.value,O.numberFormats=d.value,O.__datetimeFormatters=j(v)?v.__datetimeFormatters:void 0,O.__numberFormatters=j(v)?v.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(O.__v_emitter=j(v)?v.__v_emitter:void 0);const $=p1(O);return i&&Ic($),$})(),co(v,s.value,a.value);function P(){return[s.value,a.value,l.value,c.value,d.value]}const A=h.computed({get:()=>s.value,set:O=>{s.value=O,v.locale=s.value}}),N=h.computed({get:()=>a.value,set:O=>{a.value=O,v.fallbackLocale=a.value,co(v,s.value,O)}}),L=h.computed(()=>l.value),U=h.computed(()=>c.value),oe=h.computed(()=>d.value);function ye(){return pe(p)?p:null}function Ue(O){p=O,v.postTranslation=O}function K(){return x}function X(O){O!==null&&(C=Vc(O)),x=O,v.missing=C}function rt(O,$){return O!=="translate"||!$.resolvedMessage}const De=(O,$,Ne,Se,Lt,lt)=>{P();let ct;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Tc(A1()),i||(v.fallbackContext=n?m1():void 0),ct=O(v)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Tc(null),i||(v.fallbackContext=void 0)}if(xe(ct)&&ct===zi){const[we,_t]=$();if(process.env.NODE_ENV!=="production"&&n&&R(we)&&rt(Ne,_t)&&(b&&(Ui(f,we)||ih(u,we))&&Ie(We(me.FALLBACK_TO_ROOT,{key:we,type:Ne})),process.env.NODE_ENV!=="production")){const{__v_emitter:Pt}=v;Pt&&b&&Pt.emit("fallback",{type:Ne,key:we,to:"global",groupId:`${Ne}:${we}`})}return n&&b?Se(n):Lt(we)}else{if(lt(ct))return ct;throw ve(J.UNEXPECTED_RETURN_TYPE)}};function qe(...O){return De($=>Reflect.apply(Ac,null,[$,...O]),()=>hs(...O),"translate",$=>Reflect.apply($.t,$,[...O]),$=>$,$=>R($))}function st(...O){const[$,Ne,Se]=O;if(Se&&!ne(Se))throw ve(J.INVALID_ARGUMENT);return qe($,Ne,Oe({resolvedMessage:!0},Se||{}))}function wt(...O){return De($=>Reflect.apply(Nc,null,[$,...O]),()=>ms(...O),"datetime format",$=>Reflect.apply($.d,$,[...O]),()=>_i,$=>R($))}function _e(...O){return De($=>Reflect.apply(Lc,null,[$,...O]),()=>ps(...O),"number format",$=>Reflect.apply($.n,$,[...O]),()=>_i,$=>R($))}function Ke(O){return O.map($=>R($)||xe($)||Y($)?Mc(String($)):$)}const Ht={normalize:Ke,interpolate:O=>O,type:"vnode"};function jt(...O){return De($=>{let Ne;const Se=$;try{Se.processor=Ht,Ne=Reflect.apply(Ac,null,[Se,...O])}finally{Se.processor=null}return Ne},()=>hs(...O),"translate",$=>$[gs](...O),$=>[Mc($)],$=>re($))}function Dt(...O){return De($=>Reflect.apply(Lc,null,[$,...O]),()=>ps(...O),"number format",$=>$[vs](...O),()=>[],$=>R($)||re($))}function Nt(...O){return De($=>Reflect.apply(Nc,null,[$,...O]),()=>ms(...O),"datetime format",$=>$[bs](...O),()=>[],$=>R($)||re($))}function kt(O){D=O,v.pluralRules=D}function $t(O,$){const Ne=R($)?$:s.value,Se=m(Ne);return v.messageResolver(Se,O)!==null}function xt(O){let $=null;const Ne=Jf(v,a.value,s.value);for(let Se=0;Se<Ne.length;Se++){const Lt=l.value[Ne[Se]]||{},lt=v.messageResolver(Lt,O);if(lt!=null){$=lt;break}}return $}function g(O){const $=xt(O);return $??(n?n.tm(O)||{}:{})}function m(O){return l.value[O]||{}}function I(O,$){l.value[O]=$,v.messages=l.value}function V(O,$){l.value[O]=l.value[O]||{},vo($,l.value[O]),v.messages=l.value}function H(O){return c.value[O]||{}}function Q(O,$){c.value[O]=$,v.datetimeFormats=c.value,$c(v,O,$)}function Xe(O,$){c.value[O]=Oe(c.value[O]||{},$),v.datetimeFormats=c.value,$c(v,O,$)}function at(O){return d.value[O]||{}}function Hi(O,$){d.value[O]=$,v.numberFormats=d.value,Pc(v,O,$)}function ji(O,$){d.value[O]=Oe(d.value[O]||{},$),v.numberFormats=d.value,Pc(v,O,$)}Fc++,n&&Ct&&(h.watch(n.locale,O=>{r&&(s.value=O,v.locale=O,co(v,s.value,a.value))}),h.watch(n.fallbackLocale,O=>{r&&(a.value=O,v.fallbackLocale=O,co(v,s.value,a.value))}));const fe={id:Fc,locale:A,fallbackLocale:N,get inheritLocale(){return r},set inheritLocale(O){r=O,O&&n&&(s.value=n.locale.value,a.value=n.fallbackLocale.value,co(v,s.value,a.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:L,get modifiers(){return k},get pluralRules(){return D||{}},get isGlobal(){return i},get missingWarn(){return u},set missingWarn(O){u=O,v.missingWarn=u},get fallbackWarn(){return f},set fallbackWarn(O){f=O,v.fallbackWarn=f},get fallbackRoot(){return b},set fallbackRoot(O){b=O},get fallbackFormat(){return T},set fallbackFormat(O){T=O,v.fallbackFormat=T},get warnHtmlMessage(){return y},set warnHtmlMessage(O){y=O,v.warnHtmlMessage=O},get escapeParameter(){return S},set escapeParameter(O){S=O,v.escapeParameter=O},t:qe,getLocaleMessage:m,setLocaleMessage:I,mergeLocaleMessage:V,getPostTranslationHandler:ye,setPostTranslationHandler:Ue,getMissingHandler:K,setMissingHandler:X,[gh]:kt};return fe.datetimeFormats=U,fe.numberFormats=oe,fe.rt=st,fe.te=$t,fe.tm=g,fe.d=wt,fe.n=_e,fe.getDateTimeFormat=H,fe.setDateTimeFormat=Q,fe.mergeDateTimeFormat=Xe,fe.getNumberFormat=at,fe.setNumberFormat=Hi,fe.mergeNumberFormat=ji,fe[bh]=o,fe[gs]=jt,fe[bs]=Nt,fe[vs]=Dt,process.env.NODE_ENV!=="production"&&(fe[An]=O=>{v.__v_emitter=O},fe[Io]=()=>{v.__v_emitter=void 0}),fe}function D1(e){const t=R(e.locale)?e.locale:Po,n=R(e.fallbackLocale)||re(e.fallbackLocale)||j(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=pe(e.missing)?e.missing:void 0,i=Y(e.silentTranslationWarn)||on(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=Y(e.silentFallbackWarn)||on(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=Y(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=j(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=pe(e.postTranslation)?e.postTranslation:void 0,u=R(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,b=Y(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ie(We(me.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ie(We(me.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let T=e.messages;if(j(e.sharedMessages)){const D=e.sharedMessages;T=Object.keys(D).reduce((w,P)=>{const A=w[P]||(w[P]={});return Oe(A,D[P]),w},T||{})}const{__i18n:x,__root:C,__injectWithOption:p}=e,y=e.datetimeFormats,S=e.numberFormats,k=e.flatJson;return{locale:t,fallbackLocale:n,messages:T,flatJson:k,datetimeFormats:y,numberFormats:S,missing:o,missingWarn:i,fallbackWarn:r,fallbackRoot:s,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:u,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:b,__i18n:x,__root:C,__injectWithOption:p}}function ks(e={},t){{const n=Ta(D1(e)),{__extender:o}=e,i={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Ie(We(me.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(r){process.env.NODE_ENV!=="production"&&Ie(We(me.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return Y(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=Y(r)?!r:r},get silentFallbackWarn(){return Y(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=Y(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Ie(We(me.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(r){process.env.NODE_ENV!=="production"&&Ie(We(me.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[s,a,l]=r,c={};let d=null,u=null;if(!R(s))throw ve(J.INVALID_ARGUMENT);const f=s;return R(a)?c.locale=a:re(a)?d=a:j(a)&&(u=a),re(l)?d=l:j(l)&&(u=l),Reflect.apply(n.t,n,[f,d||u||{},c])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[s,a,l]=r,c={plural:1};let d=null,u=null;if(!R(s))throw ve(J.INVALID_ARGUMENT);const f=s;return R(a)?c.locale=a:xe(a)?c.plural=a:re(a)?d=a:j(a)&&(u=a),R(l)?c.locale=l:re(l)?d=l:j(l)&&(u=l),Reflect.apply(n.t,n,[f,d||u||{},c])},te(r,s){return n.te(r,s)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,s){n.setLocaleMessage(r,s)},mergeLocaleMessage(r,s){n.mergeLocaleMessage(r,s)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,s){n.setDateTimeFormat(r,s)},mergeDateTimeFormat(r,s){n.mergeDateTimeFormat(r,s)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,s){n.setNumberFormat(r,s)},mergeNumberFormat(r,s){n.mergeNumberFormat(r,s)},getChoiceIndex(r,s){return process.env.NODE_ENV!=="production"&&Ie(We(me.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return i.__extender=o,process.env.NODE_ENV!=="production"&&(i.__enableEmitter=r=>{const s=n;s[An]&&s[An](r)},i.__disableEmitter=()=>{const r=n;r[Io]&&r[Io]()}),i}}const Ia={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function N1({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,i)=>[...o,...i.type===h.Fragment?i.children:[i]],[]):t.reduce((n,o)=>{const i=e[o];return i&&(n[o]=i()),n},{})}function wh(e){return h.Fragment}const $1=h.defineComponent({name:"i18n-t",props:Oe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>xe(e)||!isNaN(e)}},Ia),setup(e,t){const{slots:n,attrs:o}=t,i=e.i18n||Ca({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(u=>u!=="_"),s={};e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=R(e.plural)?+e.plural:e.plural);const a=N1(t,r),l=i[gs](e.keypath,a,s),c=Oe({},o),d=R(e.tag)||ne(e.tag)?e.tag:wh();return h.h(d,c,l)}}}),Or=$1;function L1(e){return re(e)&&!R(e[0])}function kh(e,t,n,o){const{slots:i,attrs:r}=t;return()=>{const s={part:!0};let a={};e.locale&&(s.locale=e.locale),R(e.format)?s.key=e.format:ne(e.format)&&(R(e.format.key)&&(s.key=e.format.key),a=Object.keys(e.format).reduce((f,b)=>n.includes(b)?Oe({},f,{[b]:e.format[b]}):f,{}));const l=o(e.value,s,a);let c=[s.key];re(l)?c=l.map((f,b)=>{const T=i[f.type],x=T?T({[f.type]:f.value,index:b,parts:l}):[f.value];return L1(x)&&(x[0].key=`${f.type}-${b}`),x}):R(l)&&(c=[l]);const d=Oe({},r),u=R(e.tag)||ne(e.tag)?e.tag:wh();return h.h(u,d,c)}}const P1=h.defineComponent({name:"i18n-n",props:Oe({value:{type:Number,required:!0},format:{type:[String,Object]}},Ia),setup(e,t){const n=e.i18n||Ca({useScope:"parent",__useComponent:!0});return kh(e,t,hh,(...o)=>n[vs](...o))}}),zc=P1,M1=h.defineComponent({name:"i18n-d",props:Oe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ia),setup(e,t){const n=e.i18n||Ca({useScope:"parent",__useComponent:!0});return kh(e,t,fh,(...o)=>n[bs](...o))}}),Uc=M1;function R1(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function F1(e){const t=s=>{const{instance:a,modifiers:l,value:c}=s;if(!a||!a.$)throw ve(J.UNEXPECTED_ERROR);const d=R1(e,a.$);process.env.NODE_ENV!=="production"&&l.preserve&&Ie(We(me.NOT_SUPPORTED_PRESERVE));const u=Bc(c);return[Reflect.apply(d.t,d,[...Hc(u)]),d]};return{created:(s,a)=>{const[l,c]=t(a);Ct&&e.global===c&&(s.__i18nWatcher=h.watch(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{Ct&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:a})=>{if(s.__composer){const l=s.__composer,c=Bc(a);s.textContent=Reflect.apply(l.t,l,[...Hc(c)])}},getSSRProps:s=>{const[a]=t(s);return{textContent:a}}}}function Bc(e){if(R(e))return{path:e};if(j(e)){if(!("path"in e))throw ve(J.REQUIRED_VALUE,"path");return e}else throw ve(J.INVALID_VALUE)}function Hc(e){const{path:t,locale:n,args:o,choice:i,plural:r}=e,s={},a=o||{};return R(n)&&(s.locale=n),xe(i)&&(s.plural=i),xe(r)&&(s.plural=r),[t,a,s]}function V1(e,t,...n){const o=j(n[0])?n[0]:{},i=!!o.useI18nComponentName,r=Y(o.globalInstall)?o.globalInstall:!0;process.env.NODE_ENV!=="production"&&r&&i&&Ie(We(me.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Or.name})),r&&([i?"i18n":Or.name,"I18nT"].forEach(s=>e.component(s,Or)),[zc.name,"I18nN"].forEach(s=>e.component(s,zc)),[Uc.name,"I18nD"].forEach(s=>e.component(s,Uc))),e.directive("t",F1(t))}const Ar={"vue-devtools-plugin-vue-i18n":"Vue I18n devtools","vue-i18n-resource-inspector":"I18n Resources","vue-i18n-timeline":"Vue I18n"},z1={"vue-i18n-resource-inspector":"Search for scopes ..."},U1={"vue-i18n-timeline":16764185},xh="vue-i18n: composer properties";let xs;async function B1(e,t){return new Promise((n,o)=>{try{_s({id:"vue-devtools-plugin-vue-i18n",label:Ar["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[xh],app:e},i=>{xs=i,i.on.visitComponentTree(({componentInstance:s,treeNode:a})=>{H1(s,a,t)}),i.on.inspectComponent(({componentInstance:s,instanceData:a})=>{s.vnode.el&&s.vnode.el.__VUE_I18N__&&a&&(t.mode==="legacy"?s.vnode.el.__VUE_I18N__!==t.global.__composer&&jc(a,s.vnode.el.__VUE_I18N__):jc(a,s.vnode.el.__VUE_I18N__))}),i.addInspector({id:"vue-i18n-resource-inspector",label:Ar["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:z1["vue-i18n-resource-inspector"]}),i.on.getInspectorTree(s=>{s.app===e&&s.inspectorId==="vue-i18n-resource-inspector"&&q1(s,t)});const r=new Map;i.on.getInspectorState(async s=>{if(s.app===e&&s.inspectorId==="vue-i18n-resource-inspector")if(i.unhighlightElement(),X1(s,t),s.nodeId==="global"){if(!r.has(s.app)){const[a]=await i.getComponentInstances(s.app);r.set(s.app,a)}i.highlightElement(r.get(s.app))}else{const a=K1(s.nodeId,t);a&&i.highlightElement(a)}}),i.on.editInspectorState(s=>{s.app===e&&s.inspectorId==="vue-i18n-resource-inspector"&&J1(s,t)}),i.addTimelineLayer({id:"vue-i18n-timeline",label:Ar["vue-i18n-timeline"],color:U1["vue-i18n-timeline"]}),n(!0)})}catch(i){console.error(i),o(!1)}})}function _h(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function H1(e,t,n){const o=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==o){const i={label:`i18n (${_h(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(i)}}function jc(e,t){const n=xh;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:Sa(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Sa(e){const t={};return Object.keys(e).forEach(n=>{const o=e[n];pe(o)&&"source"in o?t[n]=G1(o):On(o)&&o.loc&&o.loc.source?t[n]=o.loc.source:ne(o)?t[n]=Sa(o):t[n]=o}),t}const j1={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function W1(e){return e.replace(/[<>"&]/g,Y1)}function Y1(e){return j1[e]||e}function G1(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${W1(e.source)}")`:"(?)"}`}}}function q1(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[o,i]of t.__instances){const r=t.mode==="composition"?i:i.__composer;n!==r&&e.rootNodes.push({id:r.id.toString(),label:`${_h(o)} Scope`})}}function K1(e,t){let n=null;if(e!=="global"){for(const[o,i]of t.__instances.entries())if(i.id.toString()===e){n=o;break}}return n}function Eh(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(o=>o.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function X1(e,t){const n=Eh(e.nodeId,t);return n&&(e.state=Z1(n)),null}function Z1(e){const t={},n="Locale related info",o=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=o;const i="Locale messages info",r=[{type:i,key:"messages",editable:!1,value:Sa(e.messages.value)}];t[i]=r;{const s="Datetime formats info",a=[{type:s,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[s]=a;const l="Datetime formats info",c=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[l]=c}return t}function So(e,t){if(xs){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),xs.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function J1(e,t){const n=Eh(e.nodeId,t);if(n){const[o]=e.path;o==="locale"&&R(e.state.value)?n.locale.value=e.state.value:o==="fallbackLocale"&&(R(e.state.value)||re(e.state.value)||ne(e.state.value))?n.fallbackLocale.value=e.state.value:o==="inheritLocale"&&Y(e.state.value)&&(n.inheritLocale=e.state.value)}}function Q1(e,t,n){return{beforeCreate(){const o=h.getCurrentInstance();if(!o)throw ve(J.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const r=i.i18n;if(i.__i18n&&(r.__i18n=i.__i18n),r.__root=t,this===this.$root)this.$i18n=Wc(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=ks(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=Wc(e,i);else{this.$i18n=ks({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&yh(t,i,i),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,s)=>this.$i18n.te(r,s),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),n.__setInstance(o,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$el&&this.$i18n){const o=this.$i18n;this.$el.__VUE_I18N__=o.__composer;const i=this.__v_emitter=xa();o.__enableEmitter&&o.__enableEmitter(i),i.on("*",So)}},unmounted(){const o=h.getCurrentInstance();if(!o)throw ve(J.UNEXPECTED_ERROR);const i=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",So),delete this.__v_emitter),this.$i18n&&(i.__disableEmitter&&i.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(o),delete this.$i18n}}}function Wc(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[gh](t.pluralizationRules||e.pluralizationRules);const n=Bi(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const eT=At("global-vue-i18n");function tT(e={},t){const n=__VUE_I18N_LEGACY_API__&&Y(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=Y(e.globalInjection)?e.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,r=new Map,[s,a]=nT(e,n),l=At(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&i&&Ie(We(me.NOTICE_DROP_ALLOW_COMPOSITION));function c(f){return r.get(f)||null}function d(f,b){r.set(f,b)}function u(f){r.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},async install(b,...T){if(process.env.NODE_ENV!=="production"&&(b.__VUE_I18N__=f),b.__VUE_I18N_SYMBOL__=l,b.provide(b.__VUE_I18N_SYMBOL__,f),j(T[0])){const p=T[0];f.__composerExtend=p.__composerExtend,f.__vueI18nExtend=p.__vueI18nExtend}let x=null;!n&&o&&(x=uT(b,f.global)),__VUE_I18N_FULL_INSTALL__&&V1(b,f,...T),__VUE_I18N_LEGACY_API__&&n&&b.mixin(Q1(a,a.__composer,f));const C=b.unmount;if(b.unmount=()=>{x&&x(),f.dispose(),C()},process.env.NODE_ENV!=="production"){if(!await B1(b,f))throw ve(J.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const y=xa();if(n){const S=a;S.__enableEmitter&&S.__enableEmitter(y)}else{const S=a;S[An]&&S[An](y)}y.on("*",So)}},get global(){return a},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:d,__deleteInstance:u};return f}}function Ca(e={}){const t=h.getCurrentInstance();if(t==null)throw ve(J.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ve(J.NOT_INSTALLED);const n=oT(t),o=rT(n),i=vh(t),r=iT(e,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw ve(J.NOT_AVAILABLE_IN_LEGACY_MODE);return cT(t,r,o,e)}if(r==="global")return yh(o,e,i),o;if(r==="parent"){let l=sT(n,t,e.__useComponent);return l==null&&(process.env.NODE_ENV!=="production"&&Ie(We(me.NOT_FOUND_PARENT_SCOPE)),l=o),l}const s=n;let a=s.__getInstance(t);if(a==null){const l=Oe({},e);"__i18n"in i&&(l.__i18n=i.__i18n),o&&(l.__root=o),a=Ta(l),s.__composerExtend&&(a[ys]=s.__composerExtend(a)),lT(s,t,a),s.__setInstance(t,a)}return a}function nT(e,t,n){const o=h.effectScope();{const i=__VUE_I18N_LEGACY_API__&&t?o.run(()=>ks(e)):o.run(()=>Ta(e));if(i==null)throw ve(J.UNEXPECTED_ERROR);return[o,i]}}function oT(e){{const t=h.inject(e.isCE?eT:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ve(e.isCE?J.NOT_INSTALLED_WITH_PROVIDE:J.UNEXPECTED_ERROR);return t}}function iT(e,t){return Vi(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function rT(e){return e.mode==="composition"?e.global:e.global.__composer}function sT(e,t,n=!1){let o=null;const i=t.root;let r=aT(t,n);for(;r!=null;){const s=e;if(e.mode==="composition")o=s.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const a=s.__getInstance(r);a!=null&&(o=a.__composer,n&&o&&!o[bh]&&(o=null))}if(o!=null||i===r)break;r=r.parent}return o}function aT(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function lT(e,t,n){let o=null;h.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,o=xa();const i=n;i[An]&&i[An](o),o.on("*",So)}},t),h.onUnmounted(()=>{const i=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(o&&o.off("*",So),i[Io]&&i[Io](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const r=i[ys];r&&(r(),delete i[ys])},t)}function cT(e,t,n,o={}){const i=t==="local",r=h.shallowRef(null);if(i&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ve(J.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Y(o.inheritLocale)?o.inheritLocale:!R(o.locale),a=h.ref(!i||s?n.locale.value:R(o.locale)?o.locale:Po),l=h.ref(!i||s?n.fallbackLocale.value:R(o.fallbackLocale)||re(o.fallbackLocale)||j(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:a.value),c=h.ref(Bi(a.value,o)),d=h.ref(j(o.datetimeFormats)?o.datetimeFormats:{[a.value]:{}}),u=h.ref(j(o.numberFormats)?o.numberFormats:{[a.value]:{}}),f=i?n.missingWarn:Y(o.missingWarn)||on(o.missingWarn)?o.missingWarn:!0,b=i?n.fallbackWarn:Y(o.fallbackWarn)||on(o.fallbackWarn)?o.fallbackWarn:!0,T=i?n.fallbackRoot:Y(o.fallbackRoot)?o.fallbackRoot:!0,x=!!o.fallbackFormat,C=pe(o.missing)?o.missing:null,p=pe(o.postTranslation)?o.postTranslation:null,y=i?n.warnHtmlMessage:Y(o.warnHtmlMessage)?o.warnHtmlMessage:!0,S=!!o.escapeParameter,k=i?n.modifiers:j(o.modifiers)?o.modifiers:{},D=o.pluralRules||i&&n.pluralRules;function v(){return[a.value,l.value,c.value,d.value,u.value]}const w=h.computed({get:()=>r.value?r.value.locale.value:a.value,set:m=>{r.value&&(r.value.locale.value=m),a.value=m}}),P=h.computed({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:m=>{r.value&&(r.value.fallbackLocale.value=m),l.value=m}}),A=h.computed(()=>r.value?r.value.messages.value:c.value),N=h.computed(()=>d.value),L=h.computed(()=>u.value);function U(){return r.value?r.value.getPostTranslationHandler():p}function oe(m){r.value&&r.value.setPostTranslationHandler(m)}function ye(){return r.value?r.value.getMissingHandler():C}function Ue(m){r.value&&r.value.setMissingHandler(m)}function K(m){return v(),m()}function X(...m){return r.value?K(()=>Reflect.apply(r.value.t,null,[...m])):K(()=>"")}function rt(...m){return r.value?Reflect.apply(r.value.rt,null,[...m]):""}function De(...m){return r.value?K(()=>Reflect.apply(r.value.d,null,[...m])):K(()=>"")}function qe(...m){return r.value?K(()=>Reflect.apply(r.value.n,null,[...m])):K(()=>"")}function st(m){return r.value?r.value.tm(m):{}}function wt(m,I){return r.value?r.value.te(m,I):!1}function _e(m){return r.value?r.value.getLocaleMessage(m):{}}function Ke(m,I){r.value&&(r.value.setLocaleMessage(m,I),c.value[m]=I)}function Ee(m,I){r.value&&r.value.mergeLocaleMessage(m,I)}function Ht(m){return r.value?r.value.getDateTimeFormat(m):{}}function jt(m,I){r.value&&(r.value.setDateTimeFormat(m,I),d.value[m]=I)}function Dt(m,I){r.value&&r.value.mergeDateTimeFormat(m,I)}function Nt(m){return r.value?r.value.getNumberFormat(m):{}}function kt(m,I){r.value&&(r.value.setNumberFormat(m,I),u.value[m]=I)}function $t(m,I){r.value&&r.value.mergeNumberFormat(m,I)}const xt={get id(){return r.value?r.value.id:-1},locale:w,fallbackLocale:P,messages:A,datetimeFormats:N,numberFormats:L,get inheritLocale(){return r.value?r.value.inheritLocale:s},set inheritLocale(m){r.value&&(r.value.inheritLocale=m)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:k},get pluralRules(){return r.value?r.value.pluralRules:D},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:f},set missingWarn(m){r.value&&(r.value.missingWarn=m)},get fallbackWarn(){return r.value?r.value.fallbackWarn:b},set fallbackWarn(m){r.value&&(r.value.missingWarn=m)},get fallbackRoot(){return r.value?r.value.fallbackRoot:T},set fallbackRoot(m){r.value&&(r.value.fallbackRoot=m)},get fallbackFormat(){return r.value?r.value.fallbackFormat:x},set fallbackFormat(m){r.value&&(r.value.fallbackFormat=m)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:y},set warnHtmlMessage(m){r.value&&(r.value.warnHtmlMessage=m)},get escapeParameter(){return r.value?r.value.escapeParameter:S},set escapeParameter(m){r.value&&(r.value.escapeParameter=m)},t:X,getPostTranslationHandler:U,setPostTranslationHandler:oe,getMissingHandler:ye,setMissingHandler:Ue,rt,d:De,n:qe,tm:st,te:wt,getLocaleMessage:_e,setLocaleMessage:Ke,mergeLocaleMessage:Ee,getDateTimeFormat:Ht,setDateTimeFormat:jt,mergeDateTimeFormat:Dt,getNumberFormat:Nt,setNumberFormat:kt,mergeNumberFormat:$t};function g(m){m.locale.value=a.value,m.fallbackLocale.value=l.value,Object.keys(c.value).forEach(I=>{m.mergeLocaleMessage(I,c.value[I])}),Object.keys(d.value).forEach(I=>{m.mergeDateTimeFormat(I,d.value[I])}),Object.keys(u.value).forEach(I=>{m.mergeNumberFormat(I,u.value[I])}),m.escapeParameter=S,m.fallbackFormat=x,m.fallbackRoot=T,m.fallbackWarn=b,m.missingWarn=f,m.warnHtmlMessage=y}return h.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ve(J.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const m=r.value=e.proxy.$i18n.__composer;t==="global"?(a.value=m.locale.value,l.value=m.fallbackLocale.value,c.value=m.messages.value,d.value=m.datetimeFormats.value,u.value=m.numberFormats.value):i&&g(m)}),xt}const dT=["locale","fallbackLocale","availableLocales"],Yc=["t","rt","d","n","tm","te"];function uT(e,t){const n=Object.create(null);return dT.forEach(i=>{const r=Object.getOwnPropertyDescriptor(t,i);if(!r)throw ve(J.UNEXPECTED_ERROR);const s=h.isRef(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,i,s)}),e.config.globalProperties.$i18n=n,Yc.forEach(i=>{const r=Object.getOwnPropertyDescriptor(t,i);if(!r||!r.value)throw ve(J.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,r)}),()=>{delete e.config.globalProperties.$i18n,Yc.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}S1();__INTLIFY_JIT_COMPILATION__?Ec(w1):Ec(y1);u1(YE);f1(Jf);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Vt();e.__INTLIFY__=!0,t1(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Th=km();Th.use(Z_);exports.i18n=void 0;exports.translate=void 0;let Fe={},Oa={};exports.appContext={};let Co={},Tt={},fT={install(e,t){exports.appContext=e,exports.i18n=tT({legacy:!1,locale:process.env.VUE_APP_I18N_LOCALE||"en",fallbackLocale:process.env.VUE_APP_I18N_FALLBACK_LOCALE||"en",messages:t.localeMessages}),e.use(Th),e.use(exports.i18n),e.component("LanguageSwitcher",Sw),e.component("Login",Gf),e.component("OmsInstanceNavigator",nf),e.component("ProductIdentifier",ef),e.component("ShopifyImg",of),Fe.login=t.login,Fe.logout=t.logout,Fe.loader=t.loader,Fe.appLoginUrl=t.appLoginUrl,Oa.defaultImgUrl=t.defaultImgUrl,Co.getProductIdentificationPref=t.getProductIdentificationPref,Co.setProductIdentificationPref=t.setProductIdentificationPref,Tt.addNotification=t.addNotification,Tt.appFirebaseConfig=t.appFirebaseConfig,Tt.appFirebaseVapidKey=t.appFirebaseVapidKey,Tt.storeClientRegistrationToken=t.storeClientRegistrationToken,Fe.getConfig=t.getConfig,Fe.initialise=t.initialise,ia().setLocale(exports.i18n.global.locale),exports.translate=exports.i18n.global.t}};exports.Login=Gf;exports.OmsInstanceNavigator=nf;exports.ProductIdentifier=ef;exports.ShopifyImg=of;exports.dxpComponents=fT;exports.goToOms=tf;exports.initialiseFirebaseApp=Yf;exports.loginContext=Fe;exports.noitificationContext=Tt;exports.productIdentificationContext=Co;exports.shopifyImgContext=Oa;exports.useAuthStore=$s;exports.useProductIdentificationStore=rd;exports.useUserStore=ia;