From 9be912da6378dabdae071caba6806d0ff160ba82 Mon Sep 17 00:00:00 2001 From: tinohager Date: Fri, 19 Jul 2024 19:38:43 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20mailtowe?= =?UTF-8?q?r-app/email-header-analyzer@d87f9823ed13470f379e5e95065b7627608?= =?UTF-8?q?f81ed=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...rNotFound.d3f69015.js => ErrorNotFound.f23aa50d.js} | 2 +- assets/IndexPage.1c850fcb.js | 2 ++ assets/IndexPage.62b7a967.css | 1 + assets/IndexPage.9c319a9d.js | 2 -- assets/IndexPage.d3123752.css | 1 - .../{MainLayout.4c2f1744.js => MainLayout.687fe77c.js} | 2 +- assets/{QBtn.42afa22b.js => QBtn.4e090f7b.js} | 2 +- assets/{index.effe9558.js => index.f84f4bc3.js} | 10 +++++----- assets/{scroll.42beefbe.js => scroll.e32252bb.js} | 2 +- index.html | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) rename assets/{ErrorNotFound.d3f69015.js => ErrorNotFound.f23aa50d.js} (80%) create mode 100644 assets/IndexPage.1c850fcb.js create mode 100644 assets/IndexPage.62b7a967.css delete mode 100644 assets/IndexPage.9c319a9d.js delete mode 100644 assets/IndexPage.d3123752.css rename assets/{MainLayout.4c2f1744.js => MainLayout.687fe77c.js} (98%) rename assets/{QBtn.42afa22b.js => QBtn.4e090f7b.js} (99%) rename assets/{index.effe9558.js => index.f84f4bc3.js} (86%) rename assets/{scroll.42beefbe.js => scroll.e32252bb.js} (95%) diff --git a/assets/ErrorNotFound.d3f69015.js b/assets/ErrorNotFound.f23aa50d.js similarity index 80% rename from assets/ErrorNotFound.d3f69015.js rename to assets/ErrorNotFound.f23aa50d.js index ead8225..b588fc6 100644 --- a/assets/ErrorNotFound.d3f69015.js +++ b/assets/ErrorNotFound.f23aa50d.js @@ -1 +1 @@ -import{Q as s}from"./QBtn.42afa22b.js";import{_ as l,s as r,t as c,u as n,v as t,x as o,y as a}from"./index.effe9558.js";const u={};function f(_,d){const e=r("authenticationResultsHeaders");return c(),n(e,{class:"fullscreen bg-blue text-white text-center q-pa-md flex flex-center"},{default:t(()=>[o(e,null,{default:t(()=>[o(e,{style:{"font-size":"30vh"}},{default:t(()=>[a(" 404 ")]),_:1}),o(e,{class:"text-h2",style:{opacity:".4"}},{default:t(()=>[a(" Oops. Nothing here... ")]),_:1}),o(s,{class:"q-mt-xl",color:"white","text-color":"blue",unelevated:"",to:"/",label:"Go Home","no-caps":""})]),_:1})]),_:1})}var p=l(u,[["render",f]]);export{p as default}; +import{Q as s}from"./QBtn.4e090f7b.js";import{_ as l,s as r,t as c,u as n,v as t,x as o,y as a}from"./index.f84f4bc3.js";const u={};function f(_,d){const e=r("authenticationResultsHeaders");return c(),n(e,{class:"fullscreen bg-blue text-white text-center q-pa-md flex flex-center"},{default:t(()=>[o(e,null,{default:t(()=>[o(e,{style:{"font-size":"30vh"}},{default:t(()=>[a(" 404 ")]),_:1}),o(e,{class:"text-h2",style:{opacity:".4"}},{default:t(()=>[a(" Oops. Nothing here... ")]),_:1}),o(s,{class:"q-mt-xl",color:"white","text-color":"blue",unelevated:"",to:"/",label:"Go Home","no-caps":""})]),_:1})]),_:1})}var p=l(u,[["render",f]]);export{p as default}; diff --git a/assets/IndexPage.1c850fcb.js b/assets/IndexPage.1c850fcb.js new file mode 100644 index 0000000..6a424ef --- /dev/null +++ b/assets/IndexPage.1c850fcb.js @@ -0,0 +1,2 @@ +import{i as da,r as Q,o as Ye,w as le,a as c,J as qn,g as re,b as Ce,e as Zt,K as fa,L as Vn,M as Xe,H as Ve,d as me,N as Et,O as Ml,h as v,I as He,T as Xt,P as Rn,Q as Le,c as he,F as Ze,n as va,R as Pl,l as Be,C as nl,S as ma,D as Dl,E as ga,U as zl,q as ha,V as ba,G as ya,W as Yt,X as Sa,Y as wa,Z as Ct,$ as yt,a0 as Cl,a1 as Nl,a2 as pa,a3 as xa,f as St,j as ka,k as Ca,a4 as Ft,t as se,a5 as Re,a6 as de,a7 as Te,a8 as _a,a9 as Mn,aa as Pn,ab as qa,ac as _e,u as Pe,v as Mt,x as at,y as Va,_ as Ra,ad as Ma,ae as Pa}from"./index.f84f4bc3.js";import{d as De,e as Ba,h as we,a as Bn,b as al,u as Bl,f as Tl,i as Ta,j as Ea,R as Fa,k as Aa,l as $a,v as Tn,m as ml,n as En,o as Fn,Q as zt}from"./QBtn.4e090f7b.js";import{s as An,g as $n,c as Ia,b as Oa,a as Ha,h as La}from"./scroll.e32252bb.js";let gl,Nt=0;const ye=new Array(256);for(let e=0;e<256;e++)ye[e]=(e+256).toString(16).substring(1);const Da=(()=>{const e=typeof crypto!="undefined"?crypto:typeof window!="undefined"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{const l=new Uint8Array(t);return e.getRandomValues(l),l}}return t=>{const l=[];for(let n=t;n>0;n--)l.push(Math.floor(Math.random()*256));return l}})(),jl=4096;function _l(){(gl===void 0||Nt+16>jl)&&(Nt=0,gl=Da(jl));const e=Array.prototype.slice.call(gl,Nt,Nt+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,ye[e[0]]+ye[e[1]]+ye[e[2]]+ye[e[3]]+"-"+ye[e[4]]+ye[e[5]]+"-"+ye[e[6]]+ye[e[7]]+"-"+ye[e[8]]+ye[e[9]]+"-"+ye[e[10]]+ye[e[11]]+ye[e[12]]+ye[e[13]]+ye[e[14]]+ye[e[15]]}function za(e){return e==null?null:e}function Wl(e,t){return e==null?t===!0?`f_${_l()}`:null:e}function Na({getValue:e,required:t=!0}={}){if(da.value===!0){const l=e!==void 0?Q(za(e())):Q(null);return t===!0&&l.value===null&&Ye(()=>{l.value=`f_${_l()}`}),e!==void 0&&le(e,n=>{l.value=Wl(n,t)}),l}return e!==void 0?c(()=>Wl(e(),t)):Q(`f_${_l()}`)}const Ql=/^on[A-Z]/;function ja(){const{attrs:e,vnode:t}=re(),l={listeners:Q({}),attributes:Q({})};function n(){const a={},o={};for(const i in e)i!=="class"&&i!=="style"&&Ql.test(i)===!1&&(a[i]=e[i]);for(const i in t.props)Ql.test(i)===!0&&(o[i]=t.props[i]);l.attributes.value=a,l.listeners.value=o}return qn(n),n(),l}const ze={dark:{type:Boolean,default:null}};function Ne(e,t){return c(()=>e.dark===null?t.dark.isActive:e.dark)}function Wa({validate:e,resetValidation:t,requiresQForm:l}){const n=Zt(fa,!1);if(n!==!1){const{props:a,proxy:o}=re();Object.assign(o,{validate:e,resetValidation:t}),le(()=>a.disable,i=>{i===!0?(typeof t=="function"&&t(),n.unbindComponent(o)):n.bindComponent(o)}),Ye(()=>{a.disable!==!0&&n.bindComponent(o)}),Ce(()=>{a.disable!==!0&&n.unbindComponent(o)})}else l===!0&&console.error("Parent QForm not found on useFormChild()!")}const Kl=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Ul=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Zl=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,jt=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,Wt=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,hl={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>Kl.test(e),hexaColor:e=>Ul.test(e),hexOrHexaColor:e=>Zl.test(e),rgbColor:e=>jt.test(e),rgbaColor:e=>Wt.test(e),rgbOrRgbaColor:e=>jt.test(e)||Wt.test(e),hexOrRgbColor:e=>Kl.test(e)||jt.test(e),hexaOrRgbaColor:e=>Ul.test(e)||Wt.test(e),anyColor:e=>Zl.test(e)||jt.test(e)||Wt.test(e)},Qa=[!0,!1,"ondemand"],Ka={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>Qa.includes(e)}};function Ua(e,t){const{props:l,proxy:n}=re(),a=Q(!1),o=Q(null),i=Q(!1);Wa({validate:P,resetValidation:w});let s=0,d;const b=c(()=>l.rules!==void 0&&l.rules!==null&&l.rules.length!==0),r=c(()=>l.disable!==!0&&b.value===!0&&t.value===!1),m=c(()=>l.error===!0||a.value===!0),C=c(()=>typeof l.errorMessage=="string"&&l.errorMessage.length!==0?l.errorMessage:o.value);le(()=>l.modelValue,()=>{i.value=!0,r.value===!0&&l.lazyRules===!1&&p()});function h(){l.lazyRules!=="ondemand"&&r.value===!0&&i.value===!0&&p()}le(()=>l.reactiveRules,N=>{N===!0?d===void 0&&(d=le(()=>l.rules,h,{immediate:!0,deep:!0})):d!==void 0&&(d(),d=void 0)},{immediate:!0}),le(()=>l.lazyRules,h),le(e,N=>{N===!0?i.value=!0:r.value===!0&&l.lazyRules!=="ondemand"&&p()});function w(){s++,t.value=!1,i.value=!1,a.value=!1,o.value=null,p.cancel()}function P(N=l.modelValue){if(l.disable===!0||b.value===!1)return!0;const R=++s,M=t.value!==!0?()=>{i.value=!0}:()=>{},E=(_,H)=>{_===!0&&M(),a.value=_,o.value=H||null,t.value=!1},q=[];for(let _=0;_{if(_===void 0||Array.isArray(_)===!1||_.length===0)return R===s&&E(!1),!0;const H=_.find(D=>D===!1||typeof D=="string");return R===s&&E(H!==void 0,H),H===void 0},_=>(R===s&&(console.error(_),E(!0)),!1)))}const p=Vn(P,0);return Ce(()=>{d!==void 0&&d(),p.cancel()}),Object.assign(n,{resetValidation:w,validate:P}),Xe(n,"hasError",()=>m.value),{isDirtyModel:i,hasRules:b,hasError:m,errorMessage:C,validate:P,resetValidation:w}}let ot=[],Bt=[];function In(e){Bt=Bt.filter(t=>t!==e)}function Za(e){In(e),Bt.push(e)}function Xl(e){In(e),Bt.length===0&&ot.length!==0&&(ot[ot.length-1](),ot=[])}function ol(e){Bt.length===0?e():ot.push(e)}function Xa(e){ot=ot.filter(t=>t!==e)}function Tt(e){return e!=null&&(""+e).length!==0}const Ya={...ze,...Ka,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},il={...Ya,maxlength:[Number,String]},El=["update:modelValue","clear","focus","blur"];function Fl({requiredForAttr:e=!0,tagProp:t,changeEvent:l=!1}={}){const{props:n,proxy:a}=re(),o=Ne(n,a.$q),i=Na({required:e,getValue:()=>n.for});return{requiredForAttr:e,changeEvent:l,tag:t===!0?c(()=>n.tag):{value:"label"},isDark:o,editable:c(()=>n.disable!==!0&&n.readonly!==!0),innerLoading:Q(!1),focused:Q(!1),hasPopupOpen:!1,splitAttrs:ja(),targetUid:i,rootRef:Q(null),targetRef:Q(null),controlRef:Q(null)}}function Al(e){const{props:t,emit:l,slots:n,attrs:a,proxy:o}=re(),{$q:i}=o;let s=null;e.hasValue===void 0&&(e.hasValue=c(()=>Tt(t.modelValue))),e.emitValue===void 0&&(e.emitValue=A=>{l("update:modelValue",A)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:x,onFocusout:k}),Object.assign(e,{clearValue:B,onControlFocusin:x,onControlFocusout:k,focus:H}),e.computedCounter===void 0&&(e.computedCounter=c(()=>{if(t.counter!==!1){const A=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,W=t.maxlength!==void 0?t.maxlength:t.maxValues;return A+(W!==void 0?" / "+W:"")}}));const{isDirtyModel:d,hasRules:b,hasError:r,errorMessage:m,resetValidation:C}=Ua(e.focused,e.innerLoading),h=e.floatingLabel!==void 0?c(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):c(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),w=c(()=>t.bottomSlots===!0||t.hint!==void 0||b.value===!0||t.counter===!0||t.error!==null),P=c(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),p=c(()=>`q-field row no-wrap items-start q-field--${P.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(h.value===!0?" q-field--float":"")+(R.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(r.value===!0?" q-field--error":"")+(r.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&w.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),N=c(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(r.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),R=c(()=>t.labelSlot===!0||t.label!==void 0),M=c(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&r.value!==!0?` text-${t.labelColor}`:"")),E=c(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:h.value,modelValue:t.modelValue,emitValue:e.emitValue})),q=c(()=>{const A={};return e.targetUid.value&&(A.for=e.targetUid.value),t.disable===!0&&(A["aria-disabled"]="true"),A});function _(){const A=document.activeElement;let W=e.targetRef!==void 0&&e.targetRef.value;W&&(A===null||A.id!==e.targetUid.value)&&(W.hasAttribute("tabindex")===!0||(W=W.querySelector("[tabindex]")),W&&W!==A&&W.focus({preventScroll:!0}))}function H(){ol(_)}function D(){Xa(_);const A=document.activeElement;A!==null&&e.rootRef.value.contains(A)&&A.blur()}function x(A){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,l("focus",A))}function k(A,W){s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,l("blur",A)),W!==void 0&&W())})}function B(A){Ve(A),i.platform.is.mobile!==!0?(e.targetRef!==void 0&&e.targetRef.value||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),t.type==="file"&&(e.inputRef.value.value=null),l("update:modelValue",null),e.changeEvent===!0&&l("change",null),l("clear",t.modelValue),me(()=>{const W=d.value;C(),d.value=W})}function y(A){[13,32].includes(A.keyCode)&&B(A)}function j(){const A=[];return n.prepend!==void 0&&A.push(v("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:He},n.prepend())),A.push(v("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},K())),r.value===!0&&t.noErrorIcon===!1&&A.push(F("error",[v(De,{name:i.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?A.push(F("inner-loading-append",n.loading!==void 0?n.loading():[v(Ba,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&A.push(F("inner-clearable-append",[v(De,{class:"q-field__focusable-action",name:t.clearIcon||i.iconSet.field.clear,tabindex:0,role:"button","aria-label":i.lang.label.clear,onKeyup:y,onClick:B})])),n.append!==void 0&&A.push(v("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:He},n.append())),e.getInnerAppend!==void 0&&A.push(F("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&A.push(e.getControlChild()),A}function K(){const A=[];return t.prefix!==void 0&&t.prefix!==null&&A.push(v("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&A.push(e.getShadowControl()),e.getControl!==void 0?A.push(e.getControl()):n.rawControl!==void 0?A.push(n.rawControl()):n.control!==void 0&&A.push(v("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},n.control(E.value))),R.value===!0&&A.push(v("div",{class:M.value},we(n.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&A.push(v("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),A.concat(we(n.default))}function te(){let A,W;r.value===!0?m.value!==null?(A=[v("div",{role:"alert"},m.value)],W=`q--slot-error-${m.value}`):(A=we(n.error),W="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(A=[v("div",t.hint)],W=`q--slot-hint-${t.hint}`):(A=we(n.hint),W="q--slot-hint"));const ee=t.counter===!0||n.counter!==void 0;if(t.hideBottomSpace===!0&&ee===!1&&A===void 0)return;const g=v("div",{key:W,class:"q-field__messages col"},A);return v("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:He},[t.hideBottomSpace===!0?g:v(Xt,{name:"q-transition--field-message"},()=>g),ee===!0?v("div",{class:"q-field__counter"},n.counter!==void 0?n.counter():e.computedCounter.value):null])}function F(A,W){return W===null?null:v("div",{key:A,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},W)}let Z=!1;return Et(()=>{Z=!0}),Ml(()=>{Z===!0&&t.autofocus===!0&&o.focus()}),t.autofocus===!0&&Ye(()=>{o.focus()}),Ce(()=>{s!==null&&clearTimeout(s)}),Object.assign(o,{focus:H,blur:D}),function(){const W=e.getControl===void 0&&n.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...q.value}:q.value;return v(e.tag.value,{ref:e.rootRef,class:[p.value,a.class],style:a.style,...W},[n.before!==void 0?v("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:He},n.before()):null,v("div",{class:"q-field__inner relative-position col self-stretch"},[v("div",{ref:e.controlRef,class:N.value,tabindex:-1,...e.controlEvents},j()),w.value===!0?te():null]),n.after!==void 0?v("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:He},n.after()):null])}}const Yl={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},Gt={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},On=Object.keys(Gt);On.forEach(e=>{Gt[e].regex=new RegExp(Gt[e].pattern)});const Ga=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+On.join("")+"])|(.)","g"),Gl=/[.*+?^${}()|[\]\\]/g,ge=String.fromCharCode(1),Ja={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function eo(e,t,l,n){let a,o,i,s,d,b;const r=Q(null),m=Q(h());function C(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}le(()=>e.type+e.autogrow,P),le(()=>e.mask,x=>{if(x!==void 0)p(m.value,!0);else{const k=H(m.value);P(),e.modelValue!==k&&t("update:modelValue",k)}}),le(()=>e.fillMask+e.reverseFillMask,()=>{r.value===!0&&p(m.value,!0)}),le(()=>e.unmaskedValue,()=>{r.value===!0&&p(m.value)});function h(){if(P(),r.value===!0){const x=q(H(e.modelValue));return e.fillMask!==!1?D(x):x}return e.modelValue}function w(x){if(x0;j--)k+=ge;B=B.slice(0,y)+k+B.slice(y)}return B}function P(){if(r.value=e.mask!==void 0&&e.mask.length!==0&&C(),r.value===!1){s=void 0,a="",o="";return}const x=Yl[e.mask]===void 0?e.mask:Yl[e.mask],k=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",B=k.replace(Gl,"\\$&"),y=[],j=[],K=[];let te=e.reverseFillMask===!0,F="",Z="";x.replace(Ga,(g,f,L,Y,ne)=>{if(Y!==void 0){const V=Gt[Y];K.push(V),Z=V.negate,te===!0&&(j.push("(?:"+Z+"+)?("+V.pattern+"+)?(?:"+Z+"+)?("+V.pattern+"+)?"),te=!1),j.push("(?:"+Z+"+)?("+V.pattern+")?")}else if(L!==void 0)F="\\"+(L==="\\"?"":L),K.push(L),y.push("([^"+F+"]+)?"+F+"?");else{const V=f!==void 0?f:ne;F=V==="\\"?"\\\\\\\\":V.replace(Gl,"\\\\$&"),K.push(V),y.push("([^"+F+"]+)?"+F+"?")}});const A=new RegExp("^"+y.join("")+"("+(F===""?".":"[^"+F+"]")+"+)?"+(F===""?"":"["+F+"]*")+"$"),W=j.length-1,ee=j.map((g,f)=>f===0&&e.reverseFillMask===!0?new RegExp("^"+B+"*"+g):f===W?new RegExp("^"+g+"("+(Z===""?".":Z)+"+)?"+(e.reverseFillMask===!0?"$":B+"*")):new RegExp("^"+g));i=K,s=g=>{const f=A.exec(e.reverseFillMask===!0?g:g.slice(0,K.length+1));f!==null&&(g=f.slice(1).join(""));const L=[],Y=ee.length;for(let ne=0,V=g;netypeof g=="string"?g:ge).join(""),o=a.split(ge).join(k)}function p(x,k,B){const y=n.value,j=y.selectionEnd,K=y.value.length-j,te=H(x);k===!0&&P();const F=q(te),Z=e.fillMask!==!1?D(F):F,A=m.value!==Z;y.value!==Z&&(y.value=Z),A===!0&&(m.value=Z),document.activeElement===y&&me(()=>{if(Z===o){const ee=e.reverseFillMask===!0?o.length:0;y.setSelectionRange(ee,ee,"forward");return}if(B==="insertFromPaste"&&e.reverseFillMask!==!0){const ee=y.selectionEnd;let g=j-1;for(let f=d;f<=g&&fF.length?1:0:Math.max(0,Z.length-(Z===o?0:Math.min(F.length,K)+1))+1:j;y.setSelectionRange(ee,ee,"forward");return}if(e.reverseFillMask===!0)if(A===!0){const ee=Math.max(0,Z.length-(Z===o?0:Math.min(F.length,K+1)));ee===1&&j===1?y.setSelectionRange(ee,ee,"forward"):R.rightReverse(y,ee)}else{const ee=Z.length-K;y.setSelectionRange(ee,ee,"backward")}else if(A===!0){const ee=Math.max(0,a.indexOf(ge),Math.min(F.length,j)-1);R.right(y,ee)}else{const ee=j-1;R.right(y,ee)}});const W=e.unmaskedValue===!0?H(Z):Z;String(e.modelValue)!==W&&(e.modelValue!==null||W!=="")&&l(W,!0)}function N(x,k,B){const y=q(H(x.value));k=Math.max(0,a.indexOf(ge),Math.min(y.length,k)),d=k,x.setSelectionRange(k,B,"forward")}const R={left(x,k){const B=a.slice(k-1).indexOf(ge)===-1;let y=Math.max(0,k-1);for(;y>=0;y--)if(a[y]===ge){k=y,B===!0&&k++;break}if(y<0&&a[k]!==void 0&&a[k]!==ge)return R.right(x,0);k>=0&&x.setSelectionRange(k,k,"backward")},right(x,k){const B=x.value.length;let y=Math.min(B,k+1);for(;y<=B;y++)if(a[y]===ge){k=y;break}else a[y-1]===ge&&(k=y);if(y>B&&a[k-1]!==void 0&&a[k-1]!==ge)return R.left(x,B);x.setSelectionRange(k,k,"forward")},leftReverse(x,k){const B=w(x.value.length);let y=Math.max(0,k-1);for(;y>=0;y--)if(B[y-1]===ge){k=y;break}else if(B[y]===ge&&(k=y,y===0))break;if(y<0&&B[k]!==void 0&&B[k]!==ge)return R.rightReverse(x,0);k>=0&&x.setSelectionRange(k,k,"backward")},rightReverse(x,k){const B=x.value.length,y=w(B),j=y.slice(0,k+1).indexOf(ge)===-1;let K=Math.min(B,k+1);for(;K<=B;K++)if(y[K-1]===ge){k=K,k>0&&j===!0&&k--;break}if(K>B&&y[k-1]!==void 0&&y[k-1]!==ge)return R.leftReverse(x,B);x.setSelectionRange(k,k,"forward")}};function M(x){t("click",x),b=void 0}function E(x){if(t("keydown",x),Rn(x)===!0||x.altKey===!0)return;const k=n.value,B=k.selectionStart,y=k.selectionEnd;if(x.shiftKey||(b=void 0),x.keyCode===37||x.keyCode===39){x.shiftKey&&b===void 0&&(b=k.selectionDirection==="forward"?B:y);const j=R[(x.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(x.preventDefault(),j(k,b===B?y:B),x.shiftKey){const K=k.selectionStart;k.setSelectionRange(Math.min(b,K),Math.max(b,K),"forward")}}else x.keyCode===8&&e.reverseFillMask!==!0&&B===y?(R.left(k,B),k.setSelectionRange(k.selectionStart,y,"backward")):x.keyCode===46&&e.reverseFillMask===!0&&B===y&&(R.rightReverse(k,y),k.setSelectionRange(B,k.selectionEnd,"forward"))}function q(x){if(x==null||x==="")return"";if(e.reverseFillMask===!0)return _(x);const k=i;let B=0,y="";for(let j=0;j=0&&y!==-1;K--){const te=k[K];let F=x[y];if(typeof te=="string")j=te+j,F===te&&y--;else if(F!==void 0&&te.regex.test(F))do j=(te.transform!==void 0?te.transform(F):F)+j,y--,F=x[y];while(B===K&&F!==void 0&&te.regex.test(F));else return j}return j}function H(x){return typeof x!="string"||s===void 0?typeof x=="number"?s(""+x):x:s(x)}function D(x){return o.length-x.length<=0?x:e.reverseFillMask===!0&&x.length!==0?o.slice(0,-x.length)+x:x+o.slice(x.length)}return{innerValue:m,hasMask:r,moveCursorForPaste:N,updateMaskValue:p,onMaskedKeydown:E,onMaskedClick:M}}const $l={name:String};function to(e={}){return(t,l,n)=>{t[l](v("input",{class:"hidden"+(n||""),...e.value}))}}function Hn(e){return c(()=>e.name||e.for)}function lo(e,t){function l(){const n=e.modelValue;try{const a="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(n)===n&&("length"in n?Array.from(n):[n]).forEach(o=>{a.items.add(o)}),{files:a.files}}catch{return{files:void 0}}}return t===!0?c(()=>{if(e.type==="file")return l()}):c(l)}const no=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,ao=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,oo=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,io=/[a-z0-9_ -]$/i;function Ln(e){return function(l){if(l.type==="compositionend"||l.type==="change"){if(l.target.qComposing!==!0)return;l.target.qComposing=!1,e(l)}else l.type==="compositionupdate"&&l.target.qComposing!==!0&&typeof l.data=="string"&&(Le.is.firefox===!0?io.test(l.data)===!1:no.test(l.data)===!0||ao.test(l.data)===!0||oo.test(l.data)===!0)===!0&&(l.target.qComposing=!0)}}var Jl=he({name:"QInput",inheritAttrs:!1,props:{...il,...Ja,...$l,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...El,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:l}){const{proxy:n}=re(),{$q:a}=n,o={};let i=NaN,s,d,b=null,r;const m=Q(null),C=Hn(e),{innerValue:h,hasMask:w,moveCursorForPaste:P,updateMaskValue:p,onMaskedKeydown:N,onMaskedClick:R}=eo(e,t,F,m),M=lo(e,!0),E=c(()=>Tt(h.value)),q=Ln(K),_=Fl({changeEvent:!0}),H=c(()=>e.type==="textarea"||e.autogrow===!0),D=c(()=>H.value===!0||["text","search","url","tel","password"].includes(e.type)),x=c(()=>{const f={..._.splitAttrs.listeners.value,onInput:K,onPaste:j,onChange:A,onBlur:W,onFocus:Ze};return f.onCompositionstart=f.onCompositionupdate=f.onCompositionend=q,w.value===!0&&(f.onKeydown=N,f.onClick=R),e.autogrow===!0&&(f.onAnimationend=te),f}),k=c(()=>{const f={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:C.value,..._.splitAttrs.attributes.value,id:_.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return H.value===!1&&(f.type=e.type),e.autogrow===!0&&(f.rows=1),f});le(()=>e.type,()=>{m.value&&(m.value.value=e.modelValue)}),le(()=>e.modelValue,f=>{if(w.value===!0){if(d===!0&&(d=!1,String(f)===i))return;p(f)}else h.value!==f&&(h.value=f,e.type==="number"&&o.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete o.value));e.autogrow===!0&&me(Z)}),le(()=>e.autogrow,f=>{f===!0?me(Z):m.value!==null&&l.rows>0&&(m.value.style.height="auto")}),le(()=>e.dense,()=>{e.autogrow===!0&&me(Z)});function B(){ol(()=>{const f=document.activeElement;m.value!==null&&m.value!==f&&(f===null||f.id!==_.targetUid.value)&&m.value.focus({preventScroll:!0})})}function y(){m.value!==null&&m.value.select()}function j(f){if(w.value===!0&&e.reverseFillMask!==!0){const L=f.target;P(L,L.selectionStart,L.selectionEnd)}t("paste",f)}function K(f){if(!f||!f.target)return;if(e.type==="file"){t("update:modelValue",f.target.files);return}const L=f.target.value;if(f.target.qComposing===!0){o.value=L;return}if(w.value===!0)p(L,!1,f.inputType);else if(F(L),D.value===!0&&f.target===document.activeElement){const{selectionStart:Y,selectionEnd:ne}=f.target;Y!==void 0&&ne!==void 0&&me(()=>{f.target===document.activeElement&&L.indexOf(f.target.value)===0&&f.target.setSelectionRange(Y,ne)})}e.autogrow===!0&&Z()}function te(f){t("animationend",f),Z()}function F(f,L){r=()=>{b=null,e.type!=="number"&&o.hasOwnProperty("value")===!0&&delete o.value,e.modelValue!==f&&i!==f&&(i=f,L===!0&&(d=!0),t("update:modelValue",f),me(()=>{i===f&&(i=NaN)})),r=void 0},e.type==="number"&&(s=!0,o.value=f),e.debounce!==void 0?(b!==null&&clearTimeout(b),o.value=f,b=setTimeout(r,e.debounce)):r()}function Z(){requestAnimationFrame(()=>{const f=m.value;if(f!==null){const L=f.parentNode.style,{scrollTop:Y}=f,{overflowY:ne,maxHeight:V}=a.platform.is.firefox===!0?{}:window.getComputedStyle(f),I=ne!==void 0&&ne!=="scroll";I===!0&&(f.style.overflowY="hidden"),L.marginBottom=f.scrollHeight-1+"px",f.style.height="1px",f.style.height=f.scrollHeight+"px",I===!0&&(f.style.overflowY=parseInt(V,10){m.value!==null&&(m.value.value=h.value!==void 0?h.value:"")})}function ee(){return o.hasOwnProperty("value")===!0?o.value:h.value!==void 0?h.value:""}Ce(()=>{W()}),Ye(()=>{e.autogrow===!0&&Z()}),Object.assign(_,{innerValue:h,fieldClass:c(()=>`q-${H.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:c(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:m,emitValue:F,hasValue:E,floatingLabel:c(()=>E.value===!0&&(e.type!=="number"||isNaN(h.value)===!1)||Tt(e.displayValue)),getControl:()=>v(H.value===!0?"textarea":"input",{ref:m,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...k.value,...x.value,...e.type!=="file"?{value:ee()}:M.value}),getShadowControl:()=>v("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(H.value===!0?"":" text-no-wrap")},[v("span",{class:"invisible"},ee()),v("span",e.shadowText)])});const g=Al(_);return Object.assign(n,{focus:B,select:y,getNativeElement:()=>m.value}),Xe(n,"nativeEl",()=>m.value),g}}),ro=he({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:l}){const n=re(),{proxy:{$q:a}}=n,o=i=>{l("click",i)};return()=>{if(e.props===void 0)return v("th",{class:e.autoWidth===!0?"q-table--col-auto-width":"",onClick:o},we(t.default));let i,s;const d=n.vnode.key;if(d){if(i=e.props.colsMap[d],i===void 0)return}else i=e.props.col;if(i.sortable===!0){const r=i.align==="right"?"unshift":"push";s=Bn(t.default,[]),s[r](v(De,{class:i.__iconClass,name:a.iconSet.table.arrowUp}))}else s=we(t.default);const b={class:i.__thClass+(e.autoWidth===!0?" q-table--col-auto-width":""),style:i.headerStyle,onClick:r=>{i.sortable===!0&&e.props.sort(i),o(r)}};return v("th",b,s)}}});const uo={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},bl={xs:2,sm:4,md:8,lg:16,xl:24};var so=he({name:"QSeparator",props:{...ze,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=re(),l=Ne(e,t.proxy.$q),n=c(()=>e.vertical===!0?"vertical":"horizontal"),a=c(()=>` q-separator--${n.value}`),o=c(()=>e.inset!==!1?`${a.value}-${uo[e.inset]}`:""),i=c(()=>`q-separator${a.value}${o.value}`+(e.color!==void 0?` bg-${e.color}`:"")+(l.value===!0?" q-separator--dark":"")),s=c(()=>{const d={};if(e.size!==void 0&&(d[e.vertical===!0?"width":"height"]=e.size),e.spaced!==!1){const b=e.spaced===!0?`${bl.md}px`:e.spaced in bl?`${bl[e.spaced]}px`:e.spaced,r=e.vertical===!0?["Left","Right"]:["Top","Bottom"];d[`margin${r[0]}`]=d[`margin${r[1]}`]=b}return d});return()=>v("hr",{class:i.value,style:s.value,"aria-orientation":n.value})}}),co=he({name:"QList",props:{...ze,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const l=re(),n=Ne(e,l.proxy.$q),a=c(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(n.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>v(e.tag,{class:a.value},we(t.default))}});const fo=["horizontal","vertical","cell","none"];var vo=he({name:"QMarkupTable",props:{...ze,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>fo.includes(e)}},setup(e,{slots:t}){const l=re(),n=Ne(e,l.proxy.$q),a=c(()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(n.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(e.dense===!0?" q-table--dense":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")+(e.square===!0?" q-table--square":"")+(e.wrapCells===!1?" q-table--no-wrap":""));return()=>v("div",{class:a.value},[v("table",{class:"q-table"},we(t.default))])}});function Dn(e,t){return v("div",e,[v("table",{class:"q-table"},t)])}let Jt=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,Jt=e.scrollLeft>=0,e.remove()}const Oe=1e3,mo=["start","center","end","start-force","center-force","end-force"],zn=Array.prototype.filter,go=window.getComputedStyle(document.body).overflowAnchor===void 0?va:function(e,t){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const l=e.children||[];zn.call(l,a=>a.dataset&&a.dataset.qVsAnchor!==void 0).forEach(a=>{delete a.dataset.qVsAnchor});const n=l[t];n&&n.dataset&&(n.dataset.qVsAnchor="")}))};function wt(e,t){return e+t}function yl(e,t,l,n,a,o,i,s){const d=e===window?document.scrollingElement||document.documentElement:e,b=a===!0?"offsetWidth":"offsetHeight",r={scrollStart:0,scrollViewSize:-i-s,scrollMaxSize:0,offsetStart:-i,offsetEnd:-s};if(a===!0?(e===window?(r.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,r.scrollViewSize+=document.documentElement.clientWidth):(r.scrollStart=d.scrollLeft,r.scrollViewSize+=d.clientWidth),r.scrollMaxSize=d.scrollWidth,o===!0&&(r.scrollStart=(Jt===!0?r.scrollMaxSize-r.scrollViewSize:0)-r.scrollStart)):(e===window?(r.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,r.scrollViewSize+=document.documentElement.clientHeight):(r.scrollStart=d.scrollTop,r.scrollViewSize+=d.clientHeight),r.scrollMaxSize=d.scrollHeight),l!==null)for(let m=l.previousElementSibling;m!==null;m=m.previousElementSibling)m.classList.contains("q-virtual-scroll--skip")===!1&&(r.offsetStart+=m[b]);if(n!==null)for(let m=n.nextElementSibling;m!==null;m=m.nextElementSibling)m.classList.contains("q-virtual-scroll--skip")===!1&&(r.offsetEnd+=m[b]);if(t!==e){const m=d.getBoundingClientRect(),C=t.getBoundingClientRect();a===!0?(r.offsetStart+=C.left-m.left,r.offsetEnd-=C.width):(r.offsetStart+=C.top-m.top,r.offsetEnd-=C.height),e!==window&&(r.offsetStart+=r.scrollStart),r.offsetEnd+=r.scrollMaxSize-r.offsetStart}return r}function en(e,t,l,n){t==="end"&&(t=(e===window?document.body:e)[l===!0?"scrollWidth":"scrollHeight"]),e===window?l===!0?(n===!0&&(t=(Jt===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):l===!0?(n===!0&&(t=(Jt===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function _t(e,t,l,n){if(l>=n)return 0;const a=t.length,o=Math.floor(l/Oe),i=Math.floor((n-1)/Oe)+1;let s=e.slice(o,i).reduce(wt,0);return l%Oe!==0&&(s-=t.slice(o*Oe,l).reduce(wt,0)),n%Oe!==0&&n!==a&&(s-=t.slice(n,i*Oe).reduce(wt,0)),s}const Nn={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},jn=Object.keys(Nn),ql={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Nn};function Wn({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:l,virtualScrollItemSizeComputed:n}){const a=re(),{props:o,emit:i,proxy:s}=a,{$q:d}=s;let b,r,m,C=[],h;const w=Q(0),P=Q(0),p=Q({}),N=Q(null),R=Q(null),M=Q(null),E=Q({from:0,to:0}),q=c(()=>o.tableColspan!==void 0?o.tableColspan:100);n===void 0&&(n=c(()=>o.virtualScrollItemSize));const _=c(()=>n.value+";"+o.virtualScrollHorizontal),H=c(()=>_.value+";"+o.virtualScrollSliceRatioBefore+";"+o.virtualScrollSliceRatioAfter);le(H,()=>{F()}),le(_,D);function D(){te(r,!0)}function x(g){te(g===void 0?r:g)}function k(g,f){const L=t();if(L==null||L.nodeType===8)return;const Y=yl(L,l(),N.value,R.value,o.virtualScrollHorizontal,d.lang.rtl,o.virtualScrollStickySizeStart,o.virtualScrollStickySizeEnd);m!==Y.scrollViewSize&&F(Y.scrollViewSize),y(L,Y,Math.min(e.value-1,Math.max(0,parseInt(g,10)||0)),0,mo.indexOf(f)!==-1?f:r!==-1&&g>r?"end":"start")}function B(){const g=t();if(g==null||g.nodeType===8)return;const f=yl(g,l(),N.value,R.value,o.virtualScrollHorizontal,d.lang.rtl,o.virtualScrollStickySizeStart,o.virtualScrollStickySizeEnd),L=e.value-1,Y=f.scrollMaxSize-f.offsetStart-f.offsetEnd-P.value;if(b===f.scrollStart)return;if(f.scrollMaxSize<=0){y(g,f,0,0);return}m!==f.scrollViewSize&&F(f.scrollViewSize),j(E.value.from);const ne=Math.floor(f.scrollMaxSize-Math.max(f.scrollViewSize,f.offsetEnd)-Math.min(h[L],f.scrollViewSize/2));if(ne>0&&Math.ceil(f.scrollStart)>=ne){y(g,f,L,f.scrollMaxSize-f.offsetEnd-C.reduce(wt,0));return}let V=0,I=f.scrollStart-f.offsetStart,ae=I;if(I<=Y&&I+f.scrollViewSize>=w.value)I-=w.value,V=E.value.from,ae=I;else for(let T=0;I>=C[T]&&V0&&V-f.scrollViewSize?(V++,ae=I):ae=h[V]+I;y(g,f,V,ae)}function y(g,f,L,Y,ne){const V=typeof ne=="string"&&ne.indexOf("-force")!==-1,I=V===!0?ne.replace("-force",""):ne,ae=I!==void 0?I:"start";let T=Math.max(0,L-p.value[ae]),ue=T+p.value.total;ue>e.value&&(ue=e.value,T=Math.max(0,ue-p.value.total)),b=f.scrollStart;const pe=T!==E.value.from||ue!==E.value.to;if(pe===!1&&I===void 0){A(L);return}const{activeElement:We}=document,xe=M.value;pe===!0&&xe!==null&&xe!==We&&xe.contains(We)===!0&&(xe.addEventListener("focusout",K),setTimeout(()=>{xe!==null&&xe.removeEventListener("focusout",K)})),go(xe,L-T);const Qe=I!==void 0?h.slice(T,L).reduce(wt,0):0;if(pe===!0){const Ee=ue>=E.value.from&&T<=E.value.to?E.value.to:ue;E.value={from:T,to:Ee},w.value=_t(C,h,0,T),P.value=_t(C,h,ue,e.value),requestAnimationFrame(()=>{E.value.to!==ue&&b===f.scrollStart&&(E.value={from:E.value.from,to:ue},P.value=_t(C,h,ue,e.value))})}requestAnimationFrame(()=>{if(b!==f.scrollStart)return;pe===!0&&j(T);const Ee=h.slice(T,L).reduce(wt,0),Fe=Ee+f.offsetStart+w.value,Ke=Fe+h[L];let Ge=Fe+Y;if(I!==void 0){const xt=Ee-Qe,Je=f.scrollStart+xt;Ge=V!==!0&&JeT.classList&&T.classList.contains("q-virtual-scroll--skip")===!1),Y=L.length,ne=o.virtualScrollHorizontal===!0?T=>T.getBoundingClientRect().width:T=>T.offsetHeight;let V=g,I,ae;for(let T=0;T=Y;V--)h[V]=L;const ne=Math.floor((e.value-1)/Oe);C=[];for(let V=0;V<=ne;V++){let I=0;const ae=Math.min((V+1)*Oe,e.value);for(let T=V*Oe;T=0?(j(E.value.from),me(()=>{k(g)})):W()}function F(g){if(g===void 0&&typeof window!="undefined"){const I=t();I!=null&&I.nodeType!==8&&(g=yl(I,l(),N.value,R.value,o.virtualScrollHorizontal,d.lang.rtl,o.virtualScrollStickySizeStart,o.virtualScrollStickySizeEnd).scrollViewSize)}m=g;const f=parseFloat(o.virtualScrollSliceRatioBefore)||0,L=parseFloat(o.virtualScrollSliceRatioAfter)||0,Y=1+f+L,ne=g===void 0||g<=0?1:Math.ceil(g/n.value),V=Math.max(1,ne,Math.ceil((o.virtualScrollSliceSize>0?o.virtualScrollSliceSize:10)/Y));p.value={total:Math.ceil(V*Y),start:Math.ceil(V*f),center:Math.ceil(V*(.5+f)),end:Math.ceil(V*(1+f)),view:ne}}function Z(g,f){const L=o.virtualScrollHorizontal===!0?"width":"height",Y={["--q-virtual-scroll-item-"+L]:n.value+"px"};return[g==="tbody"?v(g,{class:"q-virtual-scroll__padding",key:"before",ref:N},[v("tr",[v("td",{style:{[L]:`${w.value}px`,...Y},colspan:q.value})])]):v(g,{class:"q-virtual-scroll__padding",key:"before",ref:N,style:{[L]:`${w.value}px`,...Y}}),v(g,{class:"q-virtual-scroll__content",key:"content",ref:M,tabindex:-1},f.flat()),g==="tbody"?v(g,{class:"q-virtual-scroll__padding",key:"after",ref:R},[v("tr",[v("td",{style:{[L]:`${P.value}px`,...Y},colspan:q.value})])]):v(g,{class:"q-virtual-scroll__padding",key:"after",ref:R,style:{[L]:`${P.value}px`,...Y}})]}function A(g){r!==g&&(o.onVirtualScroll!==void 0&&i("virtualScroll",{index:g,from:E.value.from,to:E.value.to-1,direction:g{F()});let ee=!1;return Et(()=>{ee=!0}),Ml(()=>{if(ee!==!0)return;const g=t();b!==void 0&&g!==void 0&&g!==null&&g.nodeType!==8?en(g,b,o.virtualScrollHorizontal,d.lang.rtl):k(r)}),Ce(()=>{W.cancel()}),Object.assign(s,{scrollTo:k,reset:D,refresh:x}),{virtualScrollSliceRange:E,virtualScrollSliceSizeComputed:p,setVirtualScrollSize:F,onVirtualScrollEvt:W,localResetVirtualScroll:te,padVirtualScroll:Z,scrollTo:k,reset:D,refresh:x}}const ho={list:co,table:vo},bo=["list","table","__qtable"];var yo=he({name:"QVirtualScroll",props:{...ql,type:{type:String,default:"list",validator:e=>bo.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:An},setup(e,{slots:t,attrs:l}){let n;const a=Q(null),o=c(()=>e.itemsSize>=0&&e.itemsFn!==void 0?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0),{virtualScrollSliceRange:i,localResetVirtualScroll:s,padVirtualScroll:d,onVirtualScrollEvt:b}=Wn({virtualScrollLength:o,getVirtualScrollTarget:w,getVirtualScrollEl:h}),r=c(()=>{if(o.value===0)return[];const R=(M,E)=>({index:i.value.from+E,item:M});return e.itemsFn===void 0?e.items.slice(i.value.from,i.value.to).map(R):e.itemsFn(i.value.from,i.value.to-i.value.from).map(R)}),m=c(()=>"q-virtual-scroll q-virtual-scroll"+(e.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(e.scrollTarget!==void 0?"":" scroll")),C=c(()=>e.scrollTarget!==void 0?{}:{tabindex:0});le(o,()=>{s()}),le(()=>e.scrollTarget,()=>{p(),P()});function h(){return a.value.$el||a.value}function w(){return n}function P(){n=$n(h(),e.scrollTarget),n.addEventListener("scroll",b,Be.passive)}function p(){n!==void 0&&(n.removeEventListener("scroll",b,Be.passive),n=void 0)}function N(){let R=d(e.type==="list"?"div":"tbody",r.value.map(t.default));return t.before!==void 0&&(R=t.before().concat(R)),al(t.after,R)}return Pl(()=>{s()}),Ye(()=>{P()}),Ml(()=>{P()}),Et(()=>{p()}),Ce(()=>{p()}),()=>{if(t.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return e.type==="__qtable"?Dn({ref:a,class:"q-table__middle "+m.value},N()):v(ho[e.type],{...l,ref:a,class:[l.class,m.value],...C.value},N)}}}),So=he({name:"QField",inheritAttrs:!1,props:{...il,tag:{type:String,default:"label"}},emits:El,setup(){return Al(Fl({tagProp:!0}))}});const wo={xs:8,sm:10,md:14,lg:20,xl:24};var po=he({name:"QChip",props:{...ze,...Bl,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:l}){const{proxy:{$q:n}}=re(),a=Ne(e,n),o=Tl(e,wo),i=c(()=>e.selected===!0||e.icon!==void 0),s=c(()=>e.selected===!0?e.iconSelected||n.iconSet.chip.selected:e.icon),d=c(()=>e.iconRemove||n.iconSet.chip.remove),b=c(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),r=c(()=>{const p=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(p?` text-${p} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(b.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(a.value===!0?" q-chip--dark q-dark":"")}),m=c(()=>{const p=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},N={...p,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||n.lang.label.remove};return{chip:p,remove:N}});function C(p){p.keyCode===13&&h(p)}function h(p){e.disable||(l("update:selected",!e.selected),l("click",p))}function w(p){(p.keyCode===void 0||p.keyCode===13)&&(Ve(p),e.disable===!1&&(l("update:modelValue",!1),l("remove")))}function P(){const p=[];b.value===!0&&p.push(v("div",{class:"q-focus-helper"})),i.value===!0&&p.push(v(De,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const N=e.label!==void 0?[v("div",{class:"ellipsis"},[e.label])]:void 0;return p.push(v("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Ea(t.default,N))),e.iconRight&&p.push(v(De,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&p.push(v(De,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:d.value,...m.value.remove,onClick:w,onKeyup:w})),p}return()=>{if(e.modelValue===!1)return;const p={class:r.value,style:o.value};return b.value===!0&&Object.assign(p,m.value.chip,{onClick:h,onKeyup:C}),Ta("div",p,P(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Fa,e.ripple]])}}}),xo=he({name:"QItem",props:{...ze,...Aa,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:l}){const{proxy:{$q:n}}=re(),a=Ne(e,n),{hasLink:o,linkAttrs:i,linkClass:s,linkTag:d,navigateOnClick:b}=$a(),r=Q(null),m=Q(null),C=c(()=>e.clickable===!0||o.value===!0||e.tag==="label"),h=c(()=>e.disable!==!0&&C.value===!0),w=c(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(a.value===!0?" q-item--dark":"")+(o.value===!0&&e.active===null?s.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(h.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),P=c(()=>{if(e.insetLevel===void 0)return null;const M=n.lang.rtl===!0?"Right":"Left";return{["padding"+M]:16+e.insetLevel*56+"px"}});function p(M){h.value===!0&&(m.value!==null&&(M.qKeyEvent!==!0&&document.activeElement===r.value?m.value.focus():document.activeElement===m.value&&r.value.focus()),b(M))}function N(M){if(h.value===!0&&nl(M,[13,32])===!0){Ve(M),M.qKeyEvent=!0;const E=new MouseEvent("click",M);E.qKeyEvent=!0,r.value.dispatchEvent(E)}l("keyup",M)}function R(){const M=Bn(t.default,[]);return h.value===!0&&M.unshift(v("div",{class:"q-focus-helper",tabindex:-1,ref:m})),M}return()=>{const M={ref:r,class:w.value,style:P.value,role:"listitem",onClick:p,onKeyup:N};return h.value===!0?(M.tabindex=e.tabindex||"0",Object.assign(M,i.value)):C.value===!0&&(M["aria-disabled"]="true"),v(d.value,M,R())}}}),ko=he({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const l=c(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>v("div",{class:l.value},we(t.default))}}),Co=he({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const l=c(()=>parseInt(e.lines,10)),n=c(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(l.value===1?" ellipsis":"")),a=c(()=>e.lines!==void 0&&l.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":l.value}:null);return()=>v("div",{style:a.value,class:n.value},we(t.default))}});function _o(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),ma.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const qo={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},Vo={...qo,contextMenu:Boolean};function Ro({showing:e,avoidEmit:t,configureAnchorEl:l}){const{props:n,proxy:a,emit:o}=re(),i=Q(null);let s=null;function d(h){return i.value===null?!1:h===void 0||h.touches===void 0||h.touches.length<=1}const b={};l===void 0&&(Object.assign(b,{hide(h){a.hide(h)},toggle(h){a.toggle(h),h.qAnchorHandled=!0},toggleKey(h){nl(h,13)===!0&&b.toggle(h)},contextClick(h){a.hide(h),He(h),me(()=>{a.show(h),h.qAnchorHandled=!0})},prevent:He,mobileTouch(h){if(b.mobileCleanup(h),d(h)!==!0)return;a.hide(h),i.value.classList.add("non-selectable");const w=h.target;Dl(b,"anchor",[[w,"touchmove","mobileCleanup","passive"],[w,"touchend","mobileCleanup","passive"],[w,"touchcancel","mobileCleanup","passive"],[i.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,a.show(h),h.qAnchorHandled=!0},300)},mobileCleanup(h){i.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&h!==void 0&&_o()}}),l=function(h=n.contextMenu){if(n.noParentEvent===!0||i.value===null)return;let w;h===!0?a.$q.platform.is.mobile===!0?w=[[i.value,"touchstart","mobileTouch","passive"]]:w=[[i.value,"mousedown","hide","passive"],[i.value,"contextmenu","contextClick","notPassive"]]:w=[[i.value,"click","toggle","passive"],[i.value,"keyup","toggleKey","passive"]],Dl(b,"anchor",w)});function r(){ga(b,"anchor")}function m(h){for(i.value=h;i.value.classList.contains("q-anchor--skip");)i.value=i.value.parentNode;l()}function C(){if(n.target===!1||n.target===""||a.$el.parentNode===null)i.value=null;else if(n.target===!0)m(a.$el.parentNode);else{let h=n.target;if(typeof n.target=="string")try{h=document.querySelector(n.target)}catch{h=void 0}h!=null?(i.value=h.$el||h,l()):(i.value=null,console.error(`Anchor: target "${n.target}" not found`))}}return le(()=>n.contextMenu,h=>{i.value!==null&&(r(),l(h))}),le(()=>n.target,()=>{i.value!==null&&r(),C()}),le(()=>n.noParentEvent,h=>{i.value!==null&&(h===!0?r():l())}),Ye(()=>{C(),t!==!0&&n.modelValue===!0&&i.value===null&&o("update:modelValue",!1)}),Ce(()=>{s!==null&&clearTimeout(s),r()}),{anchorEl:i,canShow:d,anchorEvents:b}}function Mo(e,t){const l=Q(null);let n;function a(s,d){const b=`${d!==void 0?"add":"remove"}EventListener`,r=d!==void 0?d:n;s!==window&&s[b]("scroll",r,Be.passive),window[b]("scroll",r,Be.passive),n=d}function o(){l.value!==null&&(a(l.value),l.value=null)}const i=le(()=>e.noParentEvent,()=>{l.value!==null&&(o(),t())});return Ce(i),{localScrollTarget:l,unconfigureScrollTarget:o,changeScrollEvent:a}}const Qn={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},Kn=["beforeShow","show","beforeHide","hide"];function Un({showing:e,canShow:t,hideOnRouteChange:l,handleShow:n,handleHide:a,processOnMount:o}){const i=re(),{props:s,emit:d,proxy:b}=i;let r;function m(R){e.value===!0?w(R):C(R)}function C(R){if(s.disable===!0||R!==void 0&&R.qAnchorHandled===!0||t!==void 0&&t(R)!==!0)return;const M=s["onUpdate:modelValue"]!==void 0;M===!0&&(d("update:modelValue",!0),r=R,me(()=>{r===R&&(r=void 0)})),(s.modelValue===null||M===!1)&&h(R)}function h(R){e.value!==!0&&(e.value=!0,d("beforeShow",R),n!==void 0?n(R):d("show",R))}function w(R){if(s.disable===!0)return;const M=s["onUpdate:modelValue"]!==void 0;M===!0&&(d("update:modelValue",!1),r=R,me(()=>{r===R&&(r=void 0)})),(s.modelValue===null||M===!1)&&P(R)}function P(R){e.value!==!1&&(e.value=!1,d("beforeHide",R),a!==void 0?a(R):d("hide",R))}function p(R){s.disable===!0&&R===!0?s["onUpdate:modelValue"]!==void 0&&d("update:modelValue",!1):R===!0!==e.value&&(R===!0?h:P)(r)}le(()=>s.modelValue,p),l!==void 0&&Tn(i)===!0&&le(()=>b.$route.fullPath,()=>{l.value===!0&&e.value===!0&&w()}),o===!0&&Ye(()=>{p(s.modelValue)});const N={show:C,hide:w,toggle:m};return Object.assign(b,N),N}let Po=1,Bo=document.body;function To(e,t){const l=document.createElement("div");if(l.id=t!==void 0?`q-portal--${t}--${Po++}`:e,zl.globalNodes!==void 0){const n=zl.globalNodes.class;n!==void 0&&(l.className=n)}return Bo.appendChild(l),l}function Eo(e){e.remove()}const Pt=[];function Fo(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return ml(e)}else if(e.__qPortal===!0){const l=ml(e);return l!==void 0&&l.$options.name==="QPopupProxy"?(e.hide(t),l):e}e=ml(e)}while(e!=null)}const Ao=he({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function $o(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function Zn(e,t,l,n){const a=Q(!1),o=Q(!1);let i=null;const s={},d=n==="dialog"&&$o(e);function b(m){if(m===!0){Xl(s),o.value=!0;return}o.value=!1,a.value===!1&&(d===!1&&i===null&&(i=To(!1,n)),a.value=!0,Pt.push(e.proxy),Za(s))}function r(m){if(o.value=!1,m!==!0)return;Xl(s),a.value=!1;const C=Pt.indexOf(e.proxy);C!==-1&&Pt.splice(C,1),i!==null&&(Eo(i),i=null)}return ha(()=>{r(!0)}),e.proxy.__qPortal=!0,Xe(e.proxy,"contentEl",()=>t.value),{showPortal:b,hidePortal:r,portalIsActive:a,portalIsAccessible:o,renderPortal:()=>d===!0?l():a.value===!0?[v(ba,{to:i},v(Ao,l))]:void 0}}const Xn={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function Yn(e,t=()=>{},l=()=>{}){return{transitionProps:c(()=>{const n=`q-transition--${e.transitionShow||t()}`,a=`q-transition--${e.transitionHide||l()}`;return{appear:!0,enterFromClass:`${n}-enter-from`,enterActiveClass:`${n}-enter-active`,enterToClass:`${n}-enter-to`,leaveFromClass:`${a}-leave-from`,leaveActiveClass:`${a}-leave-active`,leaveToClass:`${a}-leave-to`}}),transitionStyle:c(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function Gn(){let e;const t=re();function l(){e=void 0}return Et(l),Ce(l),{removeTick:l,registerTick(n){e=n,me(()=>{e===n&&(En(t)===!1&&e(),e=void 0)})}}}function Jn(){let e=null;const t=re();function l(){e!==null&&(clearTimeout(e),e=null)}return Et(l),Ce(l),{removeTimeout:l,registerTimeout(n,a){l(),En(t)===!1&&(e=setTimeout(()=>{e=null,n()},a))}}}const it=[];let pt;function Io(e){pt=e.keyCode===27}function Oo(){pt===!0&&(pt=!1)}function Ho(e){pt===!0&&(pt=!1,nl(e,27)===!0&&it[it.length-1](e))}function ea(e){window[e]("keydown",Io),window[e]("blur",Oo),window[e]("keyup",Ho),pt=!1}function ta(e){Le.is.desktop===!0&&(it.push(e),it.length===1&&ea("addEventListener"))}function el(e){const t=it.indexOf(e);t!==-1&&(it.splice(t,1),it.length===0&&ea("removeEventListener"))}const rt=[];function la(e){rt[rt.length-1](e)}function na(e){Le.is.desktop===!0&&(rt.push(e),rt.length===1&&document.body.addEventListener("focusin",la))}function Vl(e){const t=rt.indexOf(e);t!==-1&&(rt.splice(t,1),rt.length===0&&document.body.removeEventListener("focusin",la))}const{notPassiveCapture:tl}=Be,ut=[];function ll(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let l=Pt.length-1;for(;l>=0;){const n=Pt[l].$;if(n.type.name==="QTooltip"){l--;continue}if(n.type.name!=="QDialog")break;if(n.props.seamless!==!0)return;l--}for(let n=ut.length-1;n>=0;n--){const a=ut[n];if((a.anchorEl.value===null||a.anchorEl.value.contains(t)===!1)&&(t===document.body||a.innerRef.value!==null&&a.innerRef.value.contains(t)===!1))e.qClickOutside=!0,a.onClickOutside(e);else return}}function Lo(e){ut.push(e),ut.length===1&&(document.addEventListener("mousedown",ll,tl),document.addEventListener("touchstart",ll,tl))}function tn(e){const t=ut.findIndex(l=>l===e);t!==-1&&(ut.splice(t,1),ut.length===0&&(document.removeEventListener("mousedown",ll,tl),document.removeEventListener("touchstart",ll,tl)))}let ln,nn;function an(e){const t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Do(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const Rl={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{Rl[`${e}#ltr`]=e,Rl[`${e}#rtl`]=e});function on(e,t){const l=e.split(" ");return{vertical:l[0],horizontal:Rl[`${l[1]}#${t===!0?"rtl":"ltr"}`]}}function zo(e,t){let{top:l,left:n,right:a,bottom:o,width:i,height:s}=e.getBoundingClientRect();return t!==void 0&&(l-=t[1],n-=t[0],o+=t[1],a+=t[0],i+=t[0],s+=t[1]),{top:l,bottom:o,height:s,left:n,right:a,width:i,middle:n+(a-n)/2,center:l+(o-l)/2}}function No(e,t,l){let{top:n,left:a}=e.getBoundingClientRect();return n+=t.top,a+=t.left,l!==void 0&&(n+=l[1],a+=l[0]),{top:n,bottom:n+1,height:1,left:a,right:a+1,width:1,middle:a,center:n}}function jo(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function rn(e,t,l,n){return{top:e[l.vertical]-t[n.vertical],left:e[l.horizontal]-t[n.horizontal]}}function aa(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{aa(e,t+1)},10);return}const{targetEl:l,offset:n,anchorEl:a,anchorOrigin:o,selfOrigin:i,absoluteOffset:s,fit:d,cover:b,maxHeight:r,maxWidth:m}=e;if(Le.is.ios===!0&&window.visualViewport!==void 0){const _=document.body.style,{offsetLeft:H,offsetTop:D}=window.visualViewport;H!==ln&&(_.setProperty("--q-pe-left",H+"px"),ln=H),D!==nn&&(_.setProperty("--q-pe-top",D+"px"),nn=D)}const{scrollLeft:C,scrollTop:h}=l,w=s===void 0?zo(a,b===!0?[0,0]:n):No(a,s,n);Object.assign(l.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:m||"100vw",maxHeight:r||"100vh",visibility:"visible"});const{offsetWidth:P,offsetHeight:p}=l,{elWidth:N,elHeight:R}=d===!0||b===!0?{elWidth:Math.max(w.width,P),elHeight:b===!0?Math.max(w.height,p):p}:{elWidth:P,elHeight:p};let M={maxWidth:m,maxHeight:r};(d===!0||b===!0)&&(M.minWidth=w.width+"px",b===!0&&(M.minHeight=w.height+"px")),Object.assign(l.style,M);const E=jo(N,R);let q=rn(w,E,o,i);if(s===void 0||n===void 0)Sl(q,w,E,o,i);else{const{top:_,left:H}=q;Sl(q,w,E,o,i);let D=!1;if(q.top!==_){D=!0;const x=2*n[1];w.center=w.top-=x,w.bottom-=x+2}if(q.left!==H){D=!0;const x=2*n[0];w.middle=w.left-=x,w.right-=x+2}D===!0&&(q=rn(w,E,o,i),Sl(q,w,E,o,i))}M={top:q.top+"px",left:q.left+"px"},q.maxHeight!==void 0&&(M.maxHeight=q.maxHeight+"px",w.height>q.maxHeight&&(M.minHeight=M.maxHeight)),q.maxWidth!==void 0&&(M.maxWidth=q.maxWidth+"px",w.width>q.maxWidth&&(M.minWidth=M.maxWidth)),Object.assign(l.style,M),l.scrollTop!==h&&(l.scrollTop=h),l.scrollLeft!==C&&(l.scrollLeft=C)}function Sl(e,t,l,n,a){const o=l.bottom,i=l.right,s=Ia(),d=window.innerHeight-s,b=document.body.clientWidth;if(e.top<0||e.top+o>d)if(a.vertical==="center")e.top=t[n.vertical]>d/2?Math.max(0,d-o):0,e.maxHeight=Math.min(o,d);else if(t[n.vertical]>d/2){const r=Math.min(d,n.vertical==="center"?t.center:n.vertical===a.vertical?t.bottom:t.top);e.maxHeight=Math.min(o,r),e.top=Math.max(0,r-o)}else e.top=Math.max(0,n.vertical==="center"?t.center:n.vertical===a.vertical?t.top:t.bottom),e.maxHeight=Math.min(o,d-e.top);if(e.left<0||e.left+i>b)if(e.maxWidth=Math.min(i,b),a.horizontal==="middle")e.left=t[n.horizontal]>b/2?Math.max(0,b-i):0;else if(t[n.horizontal]>b/2){const r=Math.min(b,n.horizontal==="middle"?t.middle:n.horizontal===a.horizontal?t.right:t.left);e.maxWidth=Math.min(i,r),e.left=Math.max(0,r-e.maxWidth)}else e.left=Math.max(0,n.horizontal==="middle"?t.middle:n.horizontal===a.horizontal?t.left:t.right),e.maxWidth=Math.min(i,b-e.left)}var Wo=he({name:"QMenu",inheritAttrs:!1,props:{...Vo,...Qn,...ze,...Xn,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:an},self:{type:String,validator:an},offset:{type:Array,validator:Do},scrollTarget:An,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...Kn,"click","escapeKey"],setup(e,{slots:t,emit:l,attrs:n}){let a=null,o,i,s;const d=re(),{proxy:b}=d,{$q:r}=b,m=Q(null),C=Q(!1),h=c(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),w=Ne(e,r),{registerTick:P,removeTick:p}=Gn(),{registerTimeout:N}=Jn(),{transitionProps:R,transitionStyle:M}=Yn(e),{localScrollTarget:E,changeScrollEvent:q,unconfigureScrollTarget:_}=Mo(e,L),{anchorEl:H,canShow:D}=Ro({showing:C}),{hide:x}=Un({showing:C,canShow:D,handleShow:ee,handleHide:g,hideOnRouteChange:h,processOnMount:!0}),{showPortal:k,hidePortal:B,renderPortal:y}=Zn(d,m,ae,"menu"),j={anchorEl:H,innerRef:m,onClickOutside(T){if(e.persistent!==!0&&C.value===!0)return x(T),(T.type==="touchstart"||T.target.classList.contains("q-dialog__backdrop"))&&Ve(T),!0}},K=c(()=>on(e.anchor||(e.cover===!0?"center middle":"bottom start"),r.lang.rtl)),te=c(()=>e.cover===!0?K.value:on(e.self||"top start",r.lang.rtl)),F=c(()=>(e.square===!0?" q-menu--square":"")+(w.value===!0?" q-menu--dark q-dark":"")),Z=c(()=>e.autoClose===!0?{onClick:Y}:{}),A=c(()=>C.value===!0&&e.persistent!==!0);le(A,T=>{T===!0?(ta(V),Lo(j)):(el(V),tn(j))});function W(){ol(()=>{let T=m.value;T&&T.contains(document.activeElement)!==!0&&(T=T.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||T.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||T.querySelector("[autofocus], [data-autofocus]")||T,T.focus({preventScroll:!0}))})}function ee(T){if(a=e.noRefocus===!1?document.activeElement:null,na(ne),k(),L(),o=void 0,T!==void 0&&(e.touchPosition||e.contextMenu)){const ue=ya(T);if(ue.left!==void 0){const{top:pe,left:We}=H.value.getBoundingClientRect();o={left:ue.left-We,top:ue.top-pe}}}i===void 0&&(i=le(()=>r.screen.width+"|"+r.screen.height+"|"+e.self+"|"+e.anchor+"|"+r.lang.rtl,I)),e.noFocus!==!0&&document.activeElement.blur(),P(()=>{I(),e.noFocus!==!0&&W()}),N(()=>{r.platform.is.ios===!0&&(s=e.autoClose,m.value.click()),I(),k(!0),l("show",T)},e.transitionDuration)}function g(T){p(),B(),f(!0),a!==null&&(T===void 0||T.qClickOutside!==!0)&&(((T&&T.type.indexOf("key")===0?a.closest('[tabindex]:not([tabindex^="-"])'):void 0)||a).focus(),a=null),N(()=>{B(!0),l("hide",T)},e.transitionDuration)}function f(T){o=void 0,i!==void 0&&(i(),i=void 0),(T===!0||C.value===!0)&&(Vl(ne),_(),tn(j),el(V)),T!==!0&&(a=null)}function L(){(H.value!==null||e.scrollTarget!==void 0)&&(E.value=$n(H.value,e.scrollTarget),q(E.value,I))}function Y(T){s!==!0?(Fo(b,T),l("click",T)):s=!1}function ne(T){A.value===!0&&e.noFocus!==!0&&Fn(m.value,T.target)!==!0&&W()}function V(T){l("escapeKey"),x(T)}function I(){aa({targetEl:m.value,offset:e.offset,anchorEl:H.value,anchorOrigin:K.value,selfOrigin:te.value,absoluteOffset:o,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function ae(){return v(Xt,R.value,()=>C.value===!0?v("div",{role:"menu",...n,ref:m,tabindex:-1,class:["q-menu q-position-engine scroll"+F.value,n.class],style:[n.style,M.value],...Z.value},we(t.default)):null)}return Ce(f),Object.assign(b,{focus:W,updatePosition:I}),y}});function Qo(e,t,l){let n;function a(){n!==void 0&&(Yt.remove(n),n=void 0)}return Ce(()=>{e.value===!0&&a()}),{removeFromHistory:a,addToHistory(){n={condition:()=>l.value===!0,handler:t},Yt.add(n)}}}let qt=0,wl,pl,Rt,xl=!1,un,sn,cn,nt=null;function Ko(e){Uo(e)&&Ve(e)}function Uo(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=Sa(e),l=e.shiftKey&&!e.deltaX,n=!l&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),a=l||n?e.deltaY:e.deltaX;for(let o=0;o0&&i.scrollTop+i.clientHeight===i.scrollHeight:a<0&&i.scrollLeft===0?!0:a>0&&i.scrollLeft+i.clientWidth===i.scrollWidth}return!0}function dn(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function Qt(e){xl!==!0&&(xl=!0,requestAnimationFrame(()=>{xl=!1;const{height:t}=e.target,{clientHeight:l,scrollTop:n}=document.scrollingElement;(Rt===void 0||t!==window.innerHeight)&&(Rt=l-t,document.scrollingElement.scrollTop=n),n>Rt&&(document.scrollingElement.scrollTop-=Math.ceil((n-Rt)/8))}))}function fn(e){const t=document.body,l=window.visualViewport!==void 0;if(e==="add"){const{overflowY:n,overflowX:a}=window.getComputedStyle(t);wl=Oa(window),pl=Ha(window),un=t.style.left,sn=t.style.top,cn=window.location.href,t.style.left=`-${wl}px`,t.style.top=`-${pl}px`,a!=="hidden"&&(a==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),n!=="hidden"&&(n==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Le.is.ios===!0&&(l===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",Qt,Be.passiveCapture),window.visualViewport.addEventListener("scroll",Qt,Be.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",dn,Be.passiveCapture))}Le.is.desktop===!0&&Le.is.mac===!0&&window[`${e}EventListener`]("wheel",Ko,Be.notPassive),e==="remove"&&(Le.is.ios===!0&&(l===!0?(window.visualViewport.removeEventListener("resize",Qt,Be.passiveCapture),window.visualViewport.removeEventListener("scroll",Qt,Be.passiveCapture)):window.removeEventListener("scroll",dn,Be.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=un,t.style.top=sn,window.location.href===cn&&window.scrollTo(wl,pl),Rt=void 0)}function Zo(e){let t="add";if(e===!0){if(qt++,nt!==null){clearTimeout(nt),nt=null;return}if(qt>1)return}else{if(qt===0||(qt--,qt>0))return;if(t="remove",Le.is.ios===!0&&Le.is.nativeMobile===!0){nt!==null&&clearTimeout(nt),nt=setTimeout(()=>{fn(t),nt=null},100);return}}fn(t)}function Xo(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,Zo(t))}}}let Kt=0;const Yo={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},vn={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]};var Go=he({name:"QDialog",inheritAttrs:!1,props:{...Qn,...Xn,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...Kn,"shake","click","escapeKey"],setup(e,{slots:t,emit:l,attrs:n}){const a=re(),o=Q(null),i=Q(!1),s=Q(!1);let d=null,b=null,r,m;const C=c(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:h}=Xo(),{registerTimeout:w}=Jn(),{registerTick:P,removeTick:p}=Gn(),{transitionProps:N,transitionStyle:R}=Yn(e,()=>vn[e.position][0],()=>vn[e.position][1]),M=c(()=>R.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:E,hidePortal:q,portalIsAccessible:_,renderPortal:H}=Zn(a,o,ne,"dialog"),{hide:D}=Un({showing:i,hideOnRouteChange:C,handleShow:te,handleHide:F,processOnMount:!0}),{addToHistory:x,removeFromHistory:k}=Qo(i,D,C),B=c(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${Yo[e.position]}`+(s.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),y=c(()=>i.value===!0&&e.seamless!==!0),j=c(()=>e.autoClose===!0?{onClick:f}:{}),K=c(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${y.value===!0?"modal":"seamless"}`,n.class]);le(()=>e.maximized,V=>{i.value===!0&&g(V)}),le(y,V=>{h(V),V===!0?(na(Y),ta(W)):(Vl(Y),el(W))});function te(V){x(),b=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,g(e.maximized),E(),s.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),P(Z)):p(),w(()=>{if(a.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:I,bottom:ae}=document.activeElement.getBoundingClientRect(),{innerHeight:T}=window,ue=window.visualViewport!==void 0?window.visualViewport.height:T;I>0&&ae>ue/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-ue,ae>=T?1/0:Math.ceil(document.scrollingElement.scrollTop+ae-ue/2))),document.activeElement.scrollIntoView()}m=!0,o.value.click(),m=!1}E(!0),s.value=!1,l("show",V)},e.transitionDuration)}function F(V){p(),k(),ee(!0),s.value=!0,q(),b!==null&&(((V&&V.type.indexOf("key")===0?b.closest('[tabindex]:not([tabindex^="-"])'):void 0)||b).focus(),b=null),w(()=>{q(!0),s.value=!1,l("hide",V)},e.transitionDuration)}function Z(V){ol(()=>{let I=o.value;if(I!==null){if(V!==void 0){const ae=I.querySelector(V);if(ae!==null){ae.focus({preventScroll:!0});return}}I.contains(document.activeElement)!==!0&&(I=I.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||I.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||I.querySelector("[autofocus], [data-autofocus]")||I,I.focus({preventScroll:!0}))}})}function A(V){V&&typeof V.focus=="function"?V.focus({preventScroll:!0}):Z(),l("shake");const I=o.value;I!==null&&(I.classList.remove("q-animate--scale"),I.classList.add("q-animate--scale"),d!==null&&clearTimeout(d),d=setTimeout(()=>{d=null,o.value!==null&&(I.classList.remove("q-animate--scale"),Z())},170))}function W(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&A():(l("escapeKey"),D()))}function ee(V){d!==null&&(clearTimeout(d),d=null),(V===!0||i.value===!0)&&(g(!1),e.seamless!==!0&&(h(!1),Vl(Y),el(W))),V!==!0&&(b=null)}function g(V){V===!0?r!==!0&&(Kt<1&&document.body.classList.add("q-body--dialog"),Kt++,r=!0):r===!0&&(Kt<2&&document.body.classList.remove("q-body--dialog"),Kt--,r=!1)}function f(V){m!==!0&&(D(V),l("click",V))}function L(V){e.persistent!==!0&&e.noBackdropDismiss!==!0?D(V):e.noShake!==!0&&A()}function Y(V){e.allowFocusOutside!==!0&&_.value===!0&&Fn(o.value,V.target)!==!0&&Z('[tabindex]:not([tabindex="-1"])')}Object.assign(a.proxy,{focus:Z,shake:A,__updateRefocusTarget(V){b=V||null}}),Ce(ee);function ne(){return v("div",{role:"dialog","aria-modal":y.value===!0?"true":"false",...n,class:K.value},[v(Xt,{name:"q-transition--fade",appear:!0},()=>y.value===!0?v("div",{class:"q-dialog__backdrop fixed-full",style:M.value,"aria-hidden":"true",tabindex:-1,onClick:L}):null),v(Xt,N.value,()=>i.value===!0?v("div",{ref:o,class:B.value,style:R.value,tabindex:-1,...j.value},we(t.default)):null)])}return H}});function mn(e,t,l){if(l<=t)return t;const n=l-t+1;let a=t+(e-t)%n;return a["add","add-unique","toggle"].includes(e),Jo=".*+?^${}()|[]\\",ei=Object.keys(il);var ti=he({name:"QSelect",inheritAttrs:!1,props:{...ql,...$l,...il,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:gn},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:ql.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...El,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:l}){const{proxy:n}=re(),{$q:a}=n,o=Q(!1),i=Q(!1),s=Q(-1),d=Q(""),b=Q(!1),r=Q(!1);let m=null,C=null,h,w,P,p=null,N,R,M,E;const q=Q(null),_=Q(null),H=Q(null),D=Q(null),x=Q(null),k=Hn(e),B=Ln(z),y=c(()=>Array.isArray(e.options)?e.options.length:0),j=c(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:K,virtualScrollSliceSizeComputed:te,localResetVirtualScroll:F,padVirtualScroll:Z,onVirtualScrollEvt:A,scrollTo:W,setVirtualScrollSize:ee}=Wn({virtualScrollLength:y,getVirtualScrollTarget:sl,getVirtualScrollEl:Lt,virtualScrollItemSizeComputed:j}),g=Fl(),f=c(()=>{const u=e.mapOptions===!0&&e.multiple!==!0,O=e.modelValue!==void 0&&(e.modelValue!==null||u===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const $=e.mapOptions===!0&&h!==void 0?h:[],G=O.map(ie=>ul(ie,$));return e.modelValue===null&&u===!0?G.filter(ie=>ie!==null):G}return O}),L=c(()=>{const u={};return ei.forEach(O=>{const $=e[O];$!==void 0&&(u[O]=$)}),u}),Y=c(()=>e.optionsDark===null?g.isDark.value:e.optionsDark),ne=c(()=>Tt(f.value)),V=c(()=>{let u="q-field__input q-placeholder col";return e.hideSelected===!0||f.value.length===0?[u,e.inputClass]:(u+=" q-field__input--padding",e.inputClass===void 0?u:[u,e.inputClass])}),I=c(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),ae=c(()=>y.value===0),T=c(()=>f.value.map(u=>ke.value(u)).join(", ")),ue=c(()=>e.displayValue!==void 0?e.displayValue:T.value),pe=c(()=>e.optionsHtml===!0?()=>!0:u=>u!=null&&u.html===!0),We=c(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||f.value.some(pe.value))),xe=c(()=>g.focused.value===!0?e.tabindex:-1),Qe=c(()=>{const u={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":o.value===!0?"true":"false","aria-controls":`${g.targetUid.value}_lb`};return s.value>=0&&(u["aria-activedescendant"]=`${g.targetUid.value}_${s.value}`),u}),Ee=c(()=>({id:`${g.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),Fe=c(()=>f.value.map((u,O)=>({index:O,opt:u,html:pe.value(u),selected:!0,removeAtIndex:rl,toggleOption:Ae,tabindex:xe.value}))),Ke=c(()=>{if(y.value===0)return[];const{from:u,to:O}=K.value;return e.options.slice(u,O).map(($,G)=>{const ie=Ue.value($)===!0,oe=dt($)===!0,be=u+G,ve={clickable:!0,active:oe,activeClass:Je.value,manualFocus:!0,focused:!1,disable:ie,tabindex:-1,dense:e.optionsDense,dark:Y.value,role:"option","aria-selected":oe===!0?"true":"false",id:`${g.targetUid.value}_${be}`,onClick:()=>{Ae($)}};return ie!==!0&&(s.value===be&&(ve.focused=!0),a.platform.is.desktop===!0&&(ve.onMousemove=()=>{o.value===!0&&qe(be)})),{index:be,opt:$,html:pe.value($),label:ke.value($),selected:ve.active,focused:ve.focused,toggleOption:Ae,setOptionIndex:qe,itemProps:ve}})}),Ge=c(()=>e.dropdownIcon!==void 0?e.dropdownIcon:a.iconSet.arrow.dropdown),xt=c(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),Je=c(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),Me=c(()=>ct(e.optionValue,"value")),ke=c(()=>ct(e.optionLabel,"label")),Ue=c(()=>ct(e.optionDisable,"disable")),et=c(()=>f.value.map(u=>Me.value(u))),At=c(()=>{const u={onInput:z,onChange:B,onKeydown:Ht,onKeyup:kt,onKeypress:tt,onFocus:Ot,onClick(O){w===!0&&Ze(O)}};return u.onCompositionstart=u.onCompositionupdate=u.onCompositionend=B,u});le(f,u=>{h=u,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&g.innerLoading.value!==!0&&(i.value!==!0&&o.value!==!0||ne.value!==!0)&&(P!==!0&&bt(),(i.value===!0||o.value===!0)&&J(""))},{immediate:!0}),le(()=>e.fillInput,bt),le(o,fl),le(y,ca);function $t(u){return e.emitValue===!0?Me.value(u):u}function st(u){if(u!==-1&&u=e.maxValues)return;const G=e.modelValue.slice();l("add",{index:G.length,value:$}),G.push($),l("update:modelValue",G)}function Ae(u,O){if(g.editable.value!==!0||u===void 0||Ue.value(u)===!0)return;const $=Me.value(u);if(e.multiple!==!0){O!==!0&&(X(e.fillInput===!0?ke.value(u):"",!0,!0),lt()),_.value!==null&&_.value.focus(),(f.value.length===0||Ct(Me.value(f.value[0]),$)!==!0)&&l("update:modelValue",e.emitValue===!0?$:u);return}if((w!==!0||b.value===!0)&&g.focus(),Ot(),f.value.length===0){const oe=e.emitValue===!0?$:u;l("add",{index:0,value:oe}),l("update:modelValue",e.multiple===!0?[oe]:oe);return}const G=e.modelValue.slice(),ie=et.value.findIndex(oe=>Ct(oe,$));if(ie!==-1)l("remove",{index:ie,value:G.splice(ie,1)[0]});else{if(e.maxValues!==void 0&&G.length>=e.maxValues)return;const oe=e.emitValue===!0?$:u;l("add",{index:G.length,value:oe}),G.push(oe)}l("update:modelValue",G)}function qe(u){if(a.platform.is.desktop!==!0)return;const O=u!==-1&&u=0?ke.value(e.options[$]):N,!0))}}function ul(u,O){const $=G=>Ct(Me.value(G),u);return e.options.find($)||O.find($)||u}function ct(u,O){const $=u!==void 0?u:O;return typeof $=="function"?$:G=>G!==null&&typeof G=="object"&&$ in G?G[$]:G}function dt(u){const O=Me.value(u);return et.value.find($=>Ct($,O))!==void 0}function Ot(u){e.useInput===!0&&_.value!==null&&(u===void 0||_.value===u.target&&u.target.value===T.value)&&_.value.select()}function ft(u){nl(u,27)===!0&&o.value===!0&&(Ze(u),lt(),bt()),l("keyup",u)}function kt(u){const{value:O}=u.target;if(u.keyCode!==void 0){ft(u);return}if(u.target.value="",m!==null&&(clearTimeout(m),m=null),C!==null&&(clearTimeout(C),C=null),bt(),typeof O=="string"&&O.length!==0){const $=O.toLocaleLowerCase(),G=oe=>{const be=e.options.find(ve=>oe.value(ve).toLocaleLowerCase()===$);return be===void 0?!1:(f.value.indexOf(be)===-1?Ae(be):lt(),!0)},ie=oe=>{G(Me)!==!0&&(G(ke)===!0||oe===!0||J(O,!0,()=>ie(!0)))};ie()}else g.clearValue(u)}function tt(u){l("keypress",u)}function Ht(u){if(l("keydown",u),Rn(u)===!0)return;const O=d.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),$=u.shiftKey!==!0&&e.multiple!==!0&&(s.value!==-1||O===!0);if(u.keyCode===27){He(u);return}if(u.keyCode===9&&$===!1){gt();return}if(u.target===void 0||u.target.id!==g.targetUid.value||g.editable.value!==!0)return;if(u.keyCode===40&&g.innerLoading.value!==!0&&o.value===!1){Ve(u),ht();return}if(u.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&d.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?st(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&l("update:modelValue",null);return}(u.keyCode===35||u.keyCode===36)&&(typeof d.value!="string"||d.value.length===0)&&(Ve(u),s.value=-1,$e(u.keyCode===36?1:-1,e.multiple)),(u.keyCode===33||u.keyCode===34)&&te.value!==void 0&&(Ve(u),s.value=Math.max(-1,Math.min(y.value,s.value+(u.keyCode===33?-1:1)*te.value.view)),$e(u.keyCode===33?1:-1,e.multiple)),(u.keyCode===38||u.keyCode===40)&&(Ve(u),$e(u.keyCode===38?-1:1,e.multiple));const G=y.value;if((M===void 0||E0&&e.useInput!==!0&&u.key!==void 0&&u.key.length===1&&u.altKey===!1&&u.ctrlKey===!1&&u.metaKey===!1&&(u.keyCode!==32||M.length!==0)){o.value!==!0&&ht(u);const ie=u.key.toLocaleLowerCase(),oe=M.length===1&&M[0]===ie;E=Date.now()+1500,oe===!1&&(Ve(u),M+=ie);const be=new RegExp("^"+M.split("").map(vl=>Jo.indexOf(vl)!==-1?"\\"+vl:vl).join(".*"),"i");let ve=s.value;if(oe===!0||ve<0||be.test(ke.value(e.options[ve]))!==!0)do ve=mn(ve+1,-1,G-1);while(ve!==s.value&&(Ue.value(e.options[ve])===!0||be.test(ke.value(e.options[ve]))!==!0));s.value!==ve&&me(()=>{qe(ve),W(ve),ve>=0&&e.useInput===!0&&e.fillInput===!0&&U(ke.value(e.options[ve]),!0)});return}if(!(u.keyCode!==13&&(u.keyCode!==32||e.useInput===!0||M!=="")&&(u.keyCode!==9||$===!1))){if(u.keyCode!==9&&Ve(u),s.value!==-1&&s.value{if(be){if(gn(be)!==!0)return}else be=e.newValueMode;if(X("",e.multiple!==!0,!0),oe==null)return;(be==="toggle"?Ae:It)(oe,be==="add-unique"),e.multiple!==!0&&(_.value!==null&&_.value.focus(),lt())};if(e.onNewValue!==void 0?l("newValue",d.value,ie):ie(d.value),e.multiple!==!0)return}o.value===!0?gt():g.innerLoading.value!==!0&&ht()}}function Lt(){return w===!0?x.value:H.value!==null&&H.value.contentEl!==null?H.value.contentEl:void 0}function sl(){return Lt()}function cl(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?Fe.value.map(u=>t["selected-item"](u)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?Fe.value.map((u,O)=>v(po,{key:"option-"+O,removable:g.editable.value===!0&&Ue.value(u.opt)!==!0,dense:!0,textColor:e.color,tabindex:xe.value,onRemove(){u.removeAtIndex(O)}},()=>v("span",{class:"ellipsis",[u.html===!0?"innerHTML":"textContent"]:ke.value(u.opt)}))):[v("span",{[We.value===!0?"innerHTML":"textContent"]:ue.value})]}function Dt(){if(ae.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:d.value}):void 0;const u=t.option!==void 0?t.option:$=>v(xo,{key:$.index,...$.itemProps},()=>v(ko,()=>v(Co,()=>v("span",{[$.html===!0?"innerHTML":"textContent"]:$.label}))));let O=Z("div",Ke.value.map(u));return t["before-options"]!==void 0&&(O=t["before-options"]().concat(O)),al(t["after-options"],O)}function S(u,O){const $=O===!0?{...Qe.value,...g.splitAttrs.attributes.value}:void 0,G={ref:O===!0?_:void 0,key:"i_t",class:V.value,style:e.inputStyle,value:d.value!==void 0?d.value:"",type:"search",...$,id:O===!0?g.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":u===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...At.value};return u!==!0&&w===!0&&(Array.isArray(G.class)===!0?G.class=[...G.class,"no-pointer-events"]:G.class+=" no-pointer-events"),v("input",G)}function z(u){m!==null&&(clearTimeout(m),m=null),C!==null&&(clearTimeout(C),C=null),!(u&&u.target&&u.target.qComposing===!0)&&(U(u.target.value||""),P=!0,N=d.value,g.focused.value!==!0&&(w!==!0||b.value===!0)&&g.focus(),e.onFilter!==void 0&&(m=setTimeout(()=>{m=null,J(d.value)},e.inputDebounce)))}function U(u,O){d.value!==u&&(d.value=u,O===!0||e.inputDebounce===0||e.inputDebounce==="0"?l("inputValue",u):C=setTimeout(()=>{C=null,l("inputValue",u)},e.inputDebounce))}function X(u,O,$){P=$!==!0,e.useInput===!0&&(U(u,!0),(O===!0||$!==!0)&&(N=u),O!==!0&&J(u))}function J(u,O,$){if(e.onFilter===void 0||O!==!0&&g.focused.value!==!0)return;g.innerLoading.value===!0?l("filterAbort"):(g.innerLoading.value=!0,r.value=!0),u!==""&&e.multiple!==!0&&f.value.length!==0&&P!==!0&&u===ke.value(f.value[0])&&(u="");const G=setTimeout(()=>{o.value===!0&&(o.value=!1)},10);p!==null&&clearTimeout(p),p=G,l("filter",u,(ie,oe)=>{(O===!0||g.focused.value===!0)&&p===G&&(clearTimeout(p),typeof ie=="function"&&ie(),r.value=!1,me(()=>{g.innerLoading.value=!1,g.editable.value===!0&&(O===!0?o.value===!0&<():o.value===!0?fl(!0):o.value=!0),typeof oe=="function"&&me(()=>{oe(n)}),typeof $=="function"&&me(()=>{$(n)})}))},()=>{g.focused.value===!0&&p===G&&(clearTimeout(p),g.innerLoading.value=!1,r.value=!1),o.value===!0&&(o.value=!1)})}function fe(){return v(Wo,{ref:H,class:I.value,style:e.popupContentStyle,modelValue:o.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&ae.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:Y.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:xt.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...Ee.value,onScrollPassive:A,onBeforeShow:Ol,onBeforeHide:ce,onShow:Ie},Dt)}function ce(u){Hl(u),gt()}function Ie(){ee()}function Se(u){Ze(u),_.value!==null&&_.value.focus(),b.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function vt(u){Ze(u),me(()=>{b.value=!1})}function mt(){const u=[v(So,{class:`col-auto ${g.fieldClass.value}`,...L.value,for:g.targetUid.value,dark:Y.value,square:!0,loading:r.value,itemAligned:!1,filled:!0,stackLabel:d.value.length!==0,...g.splitAttrs.listeners.value,onFocus:Se,onBlur:vt},{...t,rawControl:()=>g.getControl(!0),before:void 0,after:void 0})];return o.value===!0&&u.push(v("div",{ref:x,class:I.value+" scroll",style:e.popupContentStyle,...Ee.value,onClick:He,onScrollPassive:A},Dt())),v(Go,{ref:D,modelValue:i.value,position:e.useInput===!0?"top":void 0,transitionShow:R,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:Ol,onBeforeHide:dl,onHide:ua,onShow:sa},()=>v("div",{class:"q-select__dialog"+(Y.value===!0?" q-select__dialog--dark q-dark":"")+(b.value===!0?" q-select__dialog--focused":"")},u))}function dl(u){Hl(u),D.value!==null&&D.value.__updateRefocusTarget(g.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),g.focused.value=!1}function ua(u){lt(),g.focused.value===!1&&l("blur",u),bt()}function sa(){const u=document.activeElement;(u===null||u.id!==g.targetUid.value)&&_.value!==null&&_.value!==u&&_.value.focus(),ee()}function gt(){i.value!==!0&&(s.value=-1,o.value===!0&&(o.value=!1),g.focused.value===!1&&(p!==null&&(clearTimeout(p),p=null),g.innerLoading.value===!0&&(l("filterAbort"),g.innerLoading.value=!1,r.value=!1)))}function ht(u){g.editable.value===!0&&(w===!0?(g.onControlFocusin(u),i.value=!0,me(()=>{g.focus()})):g.focus(),e.onFilter!==void 0?J(d.value):(ae.value!==!0||t["no-option"]!==void 0)&&(o.value=!0))}function lt(){i.value=!1,gt()}function bt(){e.useInput===!0&&X(e.multiple!==!0&&e.fillInput===!0&&f.value.length!==0&&ke.value(f.value[0])||"",!0,!0)}function fl(u){let O=-1;if(u===!0){if(f.value.length!==0){const $=Me.value(f.value[0]);O=e.options.findIndex(G=>Ct(Me.value(G),$))}F(O)}qe(O)}function ca(u,O){o.value===!0&&g.innerLoading.value===!1&&(F(-1,!0),me(()=>{o.value===!0&&g.innerLoading.value===!1&&(u>O?F():fl(!0))}))}function Il(){i.value===!1&&H.value!==null&&H.value.updatePosition()}function Ol(u){u!==void 0&&Ze(u),l("popupShow",u),g.hasPopupOpen=!0,g.onControlFocusin(u)}function Hl(u){u!==void 0&&Ze(u),l("popupHide",u),g.hasPopupOpen=!1,g.onControlFocusout(u)}function Ll(){w=a.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||ae.value===!1:!0),R=a.platform.is.ios===!0&&w===!0&&e.useInput===!0?"fade":e.transitionShow}return qn(Ll),wa(Il),Ll(),Ce(()=>{m!==null&&clearTimeout(m),C!==null&&clearTimeout(C)}),Object.assign(n,{showPopup:ht,hidePopup:lt,removeAtIndex:st,add:It,toggleOption:Ae,getOptionIndex:()=>s.value,setOptionIndex:qe,moveOptionSelection:$e,filter:J,updateMenuPosition:Il,updateInputValue:X,isOptionSelected:dt,getEmittingOptionValue:$t,isOptionDisabled:(...u)=>Ue.value.apply(null,u)===!0,getOptionValue:(...u)=>Me.value.apply(null,u),getOptionLabel:(...u)=>ke.value.apply(null,u)}),Object.assign(g,{innerValue:f,fieldClass:c(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:q,targetRef:_,hasValue:ne,showPopup:ht,floatingLabel:c(()=>e.hideSelected!==!0&&ne.value===!0||typeof d.value=="number"||d.value.length!==0||Tt(e.displayValue)),getControlChild:()=>{if(g.editable.value!==!1&&(i.value===!0||ae.value!==!0||t["no-option"]!==void 0))return w===!0?mt():fe();g.hasPopupOpen===!0&&(g.hasPopupOpen=!1)},controlEvents:{onFocusin(u){g.onControlFocusin(u)},onFocusout(u){g.onControlFocusout(u,()=>{bt(),gt()})},onClick(u){if(He(u),w!==!0&&o.value===!0){gt(),_.value!==null&&_.value.focus();return}ht(u)}},getControl:u=>{const O=cl(),$=u===!0||i.value!==!0||w!==!0;if(e.useInput===!0)O.push(S(u,$));else if(g.editable.value===!0){const ie=$===!0?Qe.value:void 0;O.push(v("input",{ref:$===!0?_:void 0,key:"d_t",class:"q-select__focus-target",id:$===!0?g.targetUid.value:void 0,value:ue.value,readonly:!0,"data-autofocus":u===!0||e.autofocus===!0||void 0,...ie,onKeydown:Ht,onKeyup:ft,onKeypress:tt})),$===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&O.push(v("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:kt}))}if(k.value!==void 0&&e.disable!==!0&&et.value.length!==0){const ie=et.value.map(oe=>v("option",{value:oe,selected:!0}));O.push(v("select",{class:"hidden",name:k.value,multiple:e.multiple},ie))}const G=e.useInput===!0||$!==!0?void 0:g.splitAttrs.attributes.value;return v("div",{class:"q-field__native row items-center",...G,...g.splitAttrs.listeners.value},O)},getInnerAppend:()=>e.loading!==!0&&r.value!==!0&&e.hideDropdownIcon!==!0?[v(De,{class:"q-select__dropdown-icon"+(o.value===!0?" rotate-180":""),name:Ge.value})]:null}),Al(g)}});const li={xs:2,sm:4,md:6,lg:10,xl:14};function hn(e,t,l){return{transform:t===!0?`translateX(${l.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}var ni=he({name:"QLinearProgress",props:{...ze,...Bl,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:l}=re(),n=Ne(e,l.$q),a=Tl(e,li),o=c(()=>e.indeterminate===!0||e.query===!0),i=c(()=>e.reverse!==e.query),s=c(()=>({...a.value!==null?a.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`})),d=c(()=>"q-linear-progress"+(e.color!==void 0?` text-${e.color}`:"")+(e.reverse===!0||e.query===!0?" q-linear-progress--reverse":"")+(e.rounded===!0?" rounded-borders":"")),b=c(()=>hn(e.buffer!==void 0?e.buffer:1,i.value,l.$q)),r=c(()=>`with${e.instantFeedback===!0?"out":""}-transition`),m=c(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${r.value} q-linear-progress__track--${n.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),C=c(()=>hn(o.value===!0?1:e.value,i.value,l.$q)),h=c(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${r.value} q-linear-progress__model--${o.value===!0?"in":""}determinate`),w=c(()=>({width:`${e.value*100}%`})),P=c(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${r.value}`);return()=>{const p=[v("div",{class:m.value,style:b.value}),v("div",{class:h.value,style:C.value})];return e.stripe===!0&&o.value===!1&&p.push(v("div",{class:P.value,style:w.value})),v("div",{class:d.value,style:s.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":e.indeterminate===!0?void 0:e.value},al(t.default,p))}}});function ai(e,t){const l=Q(null),n=c(()=>e.disable===!0?null:v("span",{ref:l,class:"no-outline",tabindex:-1}));function a(o){const i=t.value;o!==void 0&&o.type.indexOf("key")===0?i!==null&&document.activeElement!==i&&i.contains(document.activeElement)===!0&&i.focus():l.value!==null&&(o===void 0||i!==null&&i.contains(o.target)===!0)&&l.value.focus()}return{refocusTargetEl:n,refocusTarget:a}}var oi={xs:30,sm:35,md:40,lg:50,xl:60};const ii={...ze,...Bl,...$l,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>e==="tf"||e==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},ri=["update:modelValue"];function ui(e,t){const{props:l,slots:n,emit:a,proxy:o}=re(),{$q:i}=o,s=Ne(l,i),d=Q(null),{refocusTargetEl:b,refocusTarget:r}=ai(l,d),m=Tl(l,oi),C=c(()=>l.val!==void 0&&Array.isArray(l.modelValue)),h=c(()=>{const y=yt(l.val);return C.value===!0?l.modelValue.findIndex(j=>yt(j)===y):-1}),w=c(()=>C.value===!0?h.value!==-1:yt(l.modelValue)===yt(l.trueValue)),P=c(()=>C.value===!0?h.value===-1:yt(l.modelValue)===yt(l.falseValue)),p=c(()=>w.value===!1&&P.value===!1),N=c(()=>l.disable===!0?-1:l.tabindex||0),R=c(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(l.disable===!0?" disabled":"")+(s.value===!0?` q-${e}--dark`:"")+(l.dense===!0?` q-${e}--dense`:"")+(l.leftLabel===!0?" reverse":"")),M=c(()=>{const y=w.value===!0?"truthy":P.value===!0?"falsy":"indet",j=l.color!==void 0&&(l.keepColor===!0||(e==="toggle"?w.value===!0:P.value!==!0))?` text-${l.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${y}${j}`}),E=c(()=>{const y={type:"checkbox"};return l.name!==void 0&&Object.assign(y,{".checked":w.value,"^checked":w.value===!0?"checked":void 0,name:l.name,value:C.value===!0?l.val:l.trueValue}),y}),q=to(E),_=c(()=>{const y={tabindex:N.value,role:e==="toggle"?"switch":"checkbox","aria-label":l.label,"aria-checked":p.value===!0?"mixed":w.value===!0?"true":"false"};return l.disable===!0&&(y["aria-disabled"]="true"),y});function H(y){y!==void 0&&(Ve(y),r(y)),l.disable!==!0&&a("update:modelValue",D(),y)}function D(){if(C.value===!0){if(w.value===!0){const y=l.modelValue.slice();return y.splice(h.value,1),y}return l.modelValue.concat([l.val])}if(w.value===!0){if(l.toggleOrder!=="ft"||l.toggleIndeterminate===!1)return l.falseValue}else if(P.value===!0){if(l.toggleOrder==="ft"||l.toggleIndeterminate===!1)return l.trueValue}else return l.toggleOrder!=="ft"?l.trueValue:l.falseValue;return l.indeterminateValue}function x(y){(y.keyCode===13||y.keyCode===32)&&Ve(y)}function k(y){(y.keyCode===13||y.keyCode===32)&&H(y)}const B=t(w,p);return Object.assign(o,{toggle:H}),()=>{const y=B();l.disable!==!0&&q(y,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const j=[v("div",{class:M.value,style:m.value,"aria-hidden":"true"},y)];b.value!==null&&j.push(b.value);const K=l.label!==void 0?al(n.default,[l.label]):we(n.default);return K!==void 0&&j.push(v("div",{class:`q-${e}__label q-anchor--skip`},K)),v("div",{ref:d,class:R.value,..._.value,onClick:H,onKeydown:x,onKeyup:k},j)}}const si=v("div",{key:"svg",class:"q-checkbox__bg absolute"},[v("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[v("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),v("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]);var kl=he({name:"QCheckbox",props:ii,emits:ri,setup(e){function t(l,n){const a=c(()=>(l.value===!0?e.checkedIcon:n.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>a.value!==null?[v("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[v(De,{class:"q-checkbox__icon",name:a.value})])]:[si]}return ui("checkbox",t)}});let Vt=0;const ci={fullscreen:Boolean,noRouteFullscreenExit:Boolean},di=["update:fullscreen","fullscreen"];function fi(){const e=re(),{props:t,emit:l,proxy:n}=e;let a,o,i;const s=Q(!1);Tn(e)===!0&&le(()=>n.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&r()}),le(()=>t.fullscreen,m=>{s.value!==m&&d()}),le(s,m=>{l("update:fullscreen",m),l("fullscreen",m)});function d(){s.value===!0?r():b()}function b(){s.value!==!0&&(s.value=!0,i=n.$el.parentNode,i.replaceChild(o,n.$el),document.body.appendChild(n.$el),Vt++,Vt===1&&document.body.classList.add("q-body--fullscreen-mixin"),a={handler:r},Yt.add(a))}function r(){s.value===!0&&(a!==void 0&&(Yt.remove(a),a=void 0),i.replaceChild(n.$el,o),s.value=!1,Vt=Math.max(0,Vt-1),Vt===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),n.$el.scrollIntoView!==void 0&&setTimeout(()=>{n.$el.scrollIntoView()})))}return Pl(()=>{o=document.createElement("span")}),Ye(()=>{t.fullscreen===!0&&b()}),Ce(r),Object.assign(n,{toggleFullscreen:d,setFullscreen:b,exitFullscreen:r}),{inFullscreen:s,toggleFullscreen:d}}function vi(e,t){return new Date(e)-new Date(t)}const mi={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>e==="ad"||e==="da",default:"ad"}};function gi(e,t,l,n){const a=c(()=>{const{sortBy:s}=t.value;return s&&l.value.find(d=>d.name===s)||null}),o=c(()=>e.sortMethod!==void 0?e.sortMethod:(s,d,b)=>{const r=l.value.find(h=>h.name===d);if(r===void 0||r.field===void 0)return s;const m=b===!0?-1:1,C=typeof r.field=="function"?h=>r.field(h):h=>h[r.field];return s.sort((h,w)=>{let P=C(h),p=C(w);return r.rawSort!==void 0?r.rawSort(P,p,h,w)*m:P==null?-1*m:p==null?1*m:r.sort!==void 0?r.sort(P,p,h,w)*m:Cl(P)===!0&&Cl(p)===!0?(P-p)*m:Nl(P)===!0&&Nl(p)===!0?vi(P,p)*m:typeof P=="boolean"&&typeof p=="boolean"?(P-p)*m:([P,p]=[P,p].map(N=>(N+"").toLocaleString().toLowerCase()),PC.name===s);m!==void 0&&m.sortOrder&&(d=m.sortOrder)}let{sortBy:b,descending:r}=t.value;b!==s?(b=s,r=d==="da"):e.binaryStateSort===!0?r=!r:r===!0?d==="ad"?b=null:r=!1:d==="ad"?r=!0:b=null,n({sortBy:b,descending:r,page:1})}return{columnToSort:a,computedSortMethod:o,sort:i}}const hi={filter:[String,Object],filterMethod:Function};function bi(e,t){const l=c(()=>e.filterMethod!==void 0?e.filterMethod:(n,a,o,i)=>{const s=a?a.toLowerCase():"";return n.filter(d=>o.some(b=>{const r=i(b,d)+"";return(r==="undefined"||r==="null"?"":r.toLowerCase()).indexOf(s)!==-1}))});return le(()=>e.filter,()=>{me(()=>{t({page:1},!0)})},{deep:!0}),{computedFilterMethod:l}}function yi(e,t){for(const l in t)if(t[l]!==e[l])return!1;return!0}function bn(e){return e.page<1&&(e.page=1),e.rowsPerPage!==void 0&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const Si={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function wi(e,t){const{props:l,emit:n}=e,a=Q(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:l.rowsPerPageOptions.length!==0?l.rowsPerPageOptions[0]:5},l.pagination)),o=c(()=>{const r=l["onUpdate:pagination"]!==void 0?{...a.value,...l.pagination}:a.value;return bn(r)}),i=c(()=>o.value.rowsNumber!==void 0);function s(r){d({pagination:r,filter:l.filter})}function d(r={}){me(()=>{n("request",{pagination:r.pagination||o.value,filter:r.filter||l.filter,getCellValue:t})})}function b(r,m){const C=bn({...o.value,...r});if(yi(o.value,C)===!0){i.value===!0&&m===!0&&s(C);return}if(i.value===!0){s(C);return}l.pagination!==void 0&&l["onUpdate:pagination"]!==void 0?n("update:pagination",C):a.value=C}return{innerPagination:a,computedPagination:o,isServerSide:i,requestServerInteraction:d,setPagination:b}}function pi(e,t,l,n,a,o){const{props:i,emit:s,proxy:{$q:d}}=e,b=c(()=>n.value===!0?l.value.rowsNumber||0:o.value),r=c(()=>{const{page:E,rowsPerPage:q}=l.value;return(E-1)*q}),m=c(()=>{const{page:E,rowsPerPage:q}=l.value;return E*q}),C=c(()=>l.value.page===1),h=c(()=>l.value.rowsPerPage===0?1:Math.max(1,Math.ceil(b.value/l.value.rowsPerPage))),w=c(()=>m.value===0?!0:l.value.page>=h.value),P=c(()=>(i.rowsPerPageOptions.includes(t.value.rowsPerPage)?i.rowsPerPageOptions:[t.value.rowsPerPage].concat(i.rowsPerPageOptions)).map(q=>({label:q===0?d.lang.table.allRows:""+q,value:q})));le(h,(E,q)=>{if(E===q)return;const _=l.value.page;E&&!_?a({page:1}):E<_&&a({page:E})});function p(){a({page:1})}function N(){const{page:E}=l.value;E>1&&a({page:E-1})}function R(){const{page:E,rowsPerPage:q}=l.value;m.value>0&&E*q["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},ki=["update:selected","selection"];function Ci(e,t,l,n){const a=c(()=>{const w={};return e.selected.map(n.value).forEach(P=>{w[P]=!0}),w}),o=c(()=>e.selection!=="none"),i=c(()=>e.selection==="single"),s=c(()=>e.selection==="multiple"),d=c(()=>l.value.length!==0&&l.value.every(w=>a.value[n.value(w)]===!0)),b=c(()=>d.value!==!0&&l.value.some(w=>a.value[n.value(w)]===!0)),r=c(()=>e.selected.length);function m(w){return a.value[w]===!0}function C(){t("update:selected",[])}function h(w,P,p,N){t("selection",{rows:P,added:p,keys:w,evt:N});const R=i.value===!0?p===!0?P:[]:p===!0?e.selected.concat(P):e.selected.filter(M=>w.includes(n.value(M))===!1);t("update:selected",R)}return{hasSelectionMode:o,singleSelection:i,multipleSelection:s,allRowsSelected:d,someRowsSelected:b,rowsSelectedNumber:r,isRowSelected:m,clearSelection:C,updateSelection:h}}function yn(e){return Array.isArray(e)?e.slice():[]}const _i={expanded:Array},qi=["update:expanded"];function Vi(e,t){const l=Q(yn(e.expanded));le(()=>e.expanded,i=>{l.value=yn(i)});function n(i){return l.value.includes(i)}function a(i){e.expanded!==void 0?t("update:expanded",i):l.value=i}function o(i,s){const d=l.value.slice(),b=d.indexOf(i);s===!0?b===-1&&(d.push(i),a(d)):b!==-1&&(d.splice(b,1),a(d))}return{isRowExpanded:n,setExpanded:a,updateExpanded:o}}const Ri={visibleColumns:Array};function Mi(e,t,l){const n=c(()=>{if(e.columns!==void 0)return e.columns;const s=e.rows[0];return s!==void 0?Object.keys(s).map(d=>({name:d,label:d.toUpperCase(),field:d,align:Cl(s[d])?"right":"left",sortable:!0})):[]}),a=c(()=>{const{sortBy:s,descending:d}=t.value;return(e.visibleColumns!==void 0?n.value.filter(r=>r.required===!0||e.visibleColumns.includes(r.name)===!0):n.value).map(r=>{const m=r.align||"right",C=`text-${m}`;return{...r,align:m,__iconClass:`q-table__sort-icon q-table__sort-icon--${m}`,__thClass:C+(r.headerClasses!==void 0?" "+r.headerClasses:"")+(r.sortable===!0?" sortable":"")+(r.name===s?` sorted ${d===!0?"sort-desc":""}`:""),__tdStyle:r.style!==void 0?typeof r.style!="function"?()=>r.style:r.style:()=>null,__tdClass:r.classes!==void 0?typeof r.classes!="function"?()=>C+" "+r.classes:h=>C+" "+r.classes(h):()=>C}})}),o=c(()=>{const s={};return a.value.forEach(d=>{s[d.name]=d}),s}),i=c(()=>e.tableColspan!==void 0?e.tableColspan:a.value.length+(l.value===!0?1:0));return{colList:n,computedCols:a,computedColsMap:o,computedColspan:i}}const Ut="q-table__bottom row items-center",oa={};jn.forEach(e=>{oa[e]={}});var ia=he({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...oa,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...ze,...ci,...Ri,...hi,...Si,..._i,...xi,...mi},emits:["request","virtualScroll",...di,...qi,...ki],setup(e,{slots:t,emit:l}){const n=re(),{proxy:{$q:a}}=n,o=Ne(e,a),{inFullscreen:i,toggleFullscreen:s}=fi(),d=c(()=>typeof e.rowKey=="function"?e.rowKey:S=>S[e.rowKey]),b=Q(null),r=Q(null),m=c(()=>e.grid!==!0&&e.virtualScroll===!0),C=c(()=>" q-table__card"+(o.value===!0?" q-table__card--dark q-dark":"")+(e.square===!0?" q-table--square":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")),h=c(()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(e.grid===!0?" q-table--grid":C.value)+(o.value===!0?" q-table--dark":"")+(e.dense===!0?" q-table--dense":"")+(e.wrapCells===!1?" q-table--no-wrap":"")+(i.value===!0?" fullscreen scroll":"")),w=c(()=>h.value+(e.loading===!0?" q-table--loading":""));le(()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+h.value,()=>{m.value===!0&&r.value!==null&&r.value.reset()});const{innerPagination:P,computedPagination:p,isServerSide:N,requestServerInteraction:R,setPagination:M}=wi(n,qe),{computedFilterMethod:E}=bi(e,M),{isRowExpanded:q,setExpanded:_,updateExpanded:H}=Vi(e,l),D=c(()=>{let S=e.rows;if(N.value===!0||S.length===0)return S;const{sortBy:z,descending:U}=p.value;return e.filter&&(S=E.value(S,e.filter,g.value,qe)),Y.value!==null&&(S=ne.value(e.rows===S?S.slice():S,z,U)),S}),x=c(()=>D.value.length),k=c(()=>{let S=D.value;if(N.value===!0)return S;const{rowsPerPage:z}=p.value;return z!==0&&(I.value===0&&e.rows!==S?S.length>ae.value&&(S=S.slice(0,ae.value)):S=S.slice(I.value,ae.value)),S}),{hasSelectionMode:B,singleSelection:y,multipleSelection:j,allRowsSelected:K,someRowsSelected:te,rowsSelectedNumber:F,isRowSelected:Z,clearSelection:A,updateSelection:W}=Ci(e,l,k,d),{colList:ee,computedCols:g,computedColsMap:f,computedColspan:L}=Mi(e,p,B),{columnToSort:Y,computedSortMethod:ne,sort:V}=gi(e,p,ee,M),{firstRowIndex:I,lastRowIndex:ae,isFirstPage:T,isLastPage:ue,pagesNumber:pe,computedRowsPerPageOptions:We,computedRowsNumber:xe,firstPage:Qe,prevPage:Ee,nextPage:Fe,lastPage:Ke}=pi(n,P,p,N,M,x),Ge=c(()=>k.value.length===0),xt=c(()=>{const S={};return jn.forEach(z=>{S[z]=e[z]}),S.virtualScrollItemSize===void 0&&(S.virtualScrollItemSize=e.dense===!0?28:48),S});function Je(){m.value===!0&&r.value.reset()}function Me(){if(e.grid===!0)return Dt();const S=e.hideHeader!==!0?dt:null;if(m.value===!0){const U=t["top-row"],X=t["bottom-row"],J={default:fe=>At(fe.item,t.body,fe.index)};if(U!==void 0){const fe=v("tbody",U({cols:g.value}));J.before=S===null?()=>fe:()=>[S()].concat(fe)}else S!==null&&(J.before=S);return X!==void 0&&(J.after=()=>v("tbody",X({cols:g.value}))),v(yo,{ref:r,class:e.tableClass,style:e.tableStyle,...xt.value,scrollTarget:e.virtualScrollTarget,items:k.value,type:"__qtable",tableColspan:L.value,onVirtualScroll:Ue},J)}const z=[$t()];return S!==null&&z.unshift(S()),Dn({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},z)}function ke(S,z){if(r.value!==null){r.value.scrollTo(S,z);return}S=parseInt(S,10);const U=b.value.querySelector(`tbody tr:nth-of-type(${S+1})`);if(U!==null){const X=b.value.querySelector(".q-table__middle.scroll"),J=U.offsetTop-e.virtualScrollStickySizeStart,fe=J{const vt=t[`body-cell-${Se.name}`],mt=vt!==void 0?vt:fe;return mt!==void 0?mt(rl({key:X,row:S,pageIndex:U,col:Se})):v("td",{class:Se.__tdClass(S),style:Se.__tdStyle(S)},qe(Se,S))});if(B.value===!0){const Se=t["body-selection"],vt=Se!==void 0?Se(It({key:X,row:S,pageIndex:U})):[v(kl,{modelValue:J,color:e.color,dark:o.value,dense:e.dense,"onUpdate:modelValue":(mt,dl)=>{W([X],[S],mt,dl)}})];ce.unshift(v("td",{class:"q-table--col-auto-width"},vt))}const Ie={key:X,class:{selected:J}};return e.onRowClick!==void 0&&(Ie.class["cursor-pointer"]=!0,Ie.onClick=Se=>{l("rowClick",Se,S,U)}),e.onRowDblclick!==void 0&&(Ie.class["cursor-pointer"]=!0,Ie.onDblclick=Se=>{l("rowDblclick",Se,S,U)}),e.onRowContextmenu!==void 0&&(Ie.class["cursor-pointer"]=!0,Ie.onContextmenu=Se=>{l("rowContextmenu",Se,S,U)}),v("tr",Ie,ce)}function $t(){const S=t.body,z=t["top-row"],U=t["bottom-row"];let X=k.value.map((J,fe)=>At(J,S,fe));return z!==void 0&&(X=z({cols:g.value}).concat(X)),U!==void 0&&(X=X.concat(U({cols:g.value}))),v("tbody",X)}function st(S){return Ae(S),S.cols=S.cols.map(z=>Xe({...z},"value",()=>qe(z,S.row))),S}function rl(S){return Ae(S),Xe(S,"value",()=>qe(S.col,S.row)),S}function It(S){return Ae(S),S}function Ae(S){Object.assign(S,{cols:g.value,colsMap:f.value,sort:V,rowIndex:I.value+S.pageIndex,color:e.color,dark:o.value,dense:e.dense}),B.value===!0&&Xe(S,"selected",()=>Z(S.key),(z,U)=>{W([S.key],[S.row],z,U)}),Xe(S,"expand",()=>q(S.key),z=>{H(S.key,z)})}function qe(S,z){const U=typeof S.field=="function"?S.field(z):z[S.field];return S.format!==void 0?S.format(U,z):U}const $e=c(()=>({pagination:p.value,pagesNumber:pe.value,isFirstPage:T.value,isLastPage:ue.value,firstPage:Qe,prevPage:Ee,nextPage:Fe,lastPage:Ke,inFullscreen:i.value,toggleFullscreen:s}));function ul(){const S=t.top,z=t["top-left"],U=t["top-right"],X=t["top-selection"],J=B.value===!0&&X!==void 0&&F.value>0,fe="q-table__top relative-position row items-center";if(S!==void 0)return v("div",{class:fe},[S($e.value)]);let ce;if(J===!0?ce=X($e.value).slice():(ce=[],z!==void 0?ce.push(v("div",{class:"q-table__control"},[z($e.value)])):e.title&&ce.push(v("div",{class:"q-table__control"},[v("div",{class:["q-table__title",e.titleClass]},e.title)]))),U!==void 0&&(ce.push(v("div",{class:"q-table__separator col"})),ce.push(v("div",{class:"q-table__control"},[U($e.value)]))),ce.length!==0)return v("div",{class:fe},ce)}const ct=c(()=>te.value===!0?null:K.value);function dt(){const S=Ot();return e.loading===!0&&t.loading===void 0&&S.push(v("tr",{class:"q-table__progress"},[v("th",{class:"relative-position",colspan:L.value},et())])),v("thead",S)}function Ot(){const S=t.header,z=t["header-cell"];if(S!==void 0)return S(ft({header:!0})).slice();const U=g.value.map(X=>{const J=t[`header-cell-${X.name}`],fe=J!==void 0?J:z,ce=ft({col:X});return fe!==void 0?fe(ce):v(ro,{key:X.name,props:ce},()=>X.label)});if(y.value===!0&&e.grid!==!0)U.unshift(v("th",{class:"q-table--col-auto-width"}," "));else if(j.value===!0){const X=t["header-selection"],J=X!==void 0?X(ft({})):[v(kl,{color:e.color,modelValue:ct.value,dark:o.value,dense:e.dense,"onUpdate:modelValue":kt})];U.unshift(v("th",{class:"q-table--col-auto-width"},J))}return[v("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},U)]}function ft(S){return Object.assign(S,{cols:g.value,sort:V,colsMap:f.value,color:e.color,dark:o.value,dense:e.dense}),j.value===!0&&Xe(S,"selected",()=>ct.value,kt),S}function kt(S){te.value===!0&&(S=!1),W(k.value.map(d.value),k.value,S)}const tt=c(()=>{const S=[e.iconFirstPage||a.iconSet.table.firstPage,e.iconPrevPage||a.iconSet.table.prevPage,e.iconNextPage||a.iconSet.table.nextPage,e.iconLastPage||a.iconSet.table.lastPage];return a.lang.rtl===!0?S.reverse():S});function Ht(){if(e.hideBottom===!0)return;if(Ge.value===!0){if(e.hideNoData===!0)return;const U=e.loading===!0?e.loadingLabel||a.lang.table.loading:e.filter?e.noResultsLabel||a.lang.table.noResults:e.noDataLabel||a.lang.table.noData,X=t["no-data"],J=X!==void 0?[X({message:U,icon:a.iconSet.table.warning,filter:e.filter})]:[v(De,{class:"q-table__bottom-nodata-icon",name:a.iconSet.table.warning}),U];return v("div",{class:Ut+" q-table__bottom--nodata"},J)}const S=t.bottom;if(S!==void 0)return v("div",{class:Ut},[S($e.value)]);const z=e.hideSelectedBanner!==!0&&B.value===!0&&F.value>0?[v("div",{class:"q-table__control"},[v("div",[(e.selectedRowsLabel||a.lang.table.selectedRecords)(F.value)])])]:[];if(e.hidePagination!==!0)return v("div",{class:Ut+" justify-end"},sl(z));if(z.length!==0)return v("div",{class:Ut},z)}function Lt(S){M({page:1,rowsPerPage:S.value})}function sl(S){let z;const{rowsPerPage:U}=p.value,X=e.paginationLabel||a.lang.table.pagination,J=t.pagination,fe=e.rowsPerPageOptions.length>1;if(S.push(v("div",{class:"q-table__separator col"})),fe===!0&&S.push(v("div",{class:"q-table__control"},[v("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||a.lang.table.recordsPerPage]),v(ti,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:U,options:We.value,displayValue:U===0?a.lang.table.allRows:U,dark:o.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":Lt})])),J!==void 0)z=J($e.value);else if(z=[v("span",U!==0?{class:"q-table__bottom-item"}:{},[U?X(I.value+1,Math.min(ae.value,xe.value),xe.value):X(1,x.value,xe.value)])],U!==0&&pe.value>1){const ce={color:e.color,round:!0,dense:!0,flat:!0};e.dense===!0&&(ce.size="sm"),pe.value>2&&z.push(v(zt,{key:"pgFirst",...ce,icon:tt.value[0],disable:T.value,onClick:Qe})),z.push(v(zt,{key:"pgPrev",...ce,icon:tt.value[1],disable:T.value,onClick:Ee}),v(zt,{key:"pgNext",...ce,icon:tt.value[2],disable:ue.value,onClick:Fe})),pe.value>2&&z.push(v(zt,{key:"pgLast",...ce,icon:tt.value[3],disable:ue.value,onClick:Ke}))}return S.push(v("div",{class:"q-table__control"},z)),S}function cl(){const S=e.gridHeader===!0?[v("table",{class:"q-table"},[dt()])]:e.loading===!0&&t.loading===void 0?et():void 0;return v("div",{class:"q-table__middle"},S)}function Dt(){const S=t.item!==void 0?t.item:z=>{const U=z.cols.map(J=>v("div",{class:"q-table__grid-item-row"},[v("div",{class:"q-table__grid-item-title"},[J.label]),v("div",{class:"q-table__grid-item-value"},[J.value])]));if(B.value===!0){const J=t["body-selection"],fe=J!==void 0?J(z):[v(kl,{modelValue:z.selected,color:e.color,dark:o.value,dense:e.dense,"onUpdate:modelValue":(ce,Ie)=>{W([z.key],[z.row],ce,Ie)}})];U.unshift(v("div",{class:"q-table__grid-item-row"},fe),v(so,{dark:o.value}))}const X={class:["q-table__grid-item-card"+C.value,e.cardClass],style:e.cardStyle};return(e.onRowClick!==void 0||e.onRowDblclick!==void 0)&&(X.class[0]+=" cursor-pointer",e.onRowClick!==void 0&&(X.onClick=J=>{l("RowClick",J,z.row,z.pageIndex)}),e.onRowDblclick!==void 0&&(X.onDblclick=J=>{l("RowDblclick",J,z.row,z.pageIndex)})),v("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(z.selected===!0?" q-table__grid-item--selected":"")},[v("div",X,U)])};return v("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},k.value.map((z,U)=>S(st({key:d.value(z),row:z,pageIndex:U}))))}return Object.assign(n.proxy,{requestServerInteraction:R,setPagination:M,firstPage:Qe,prevPage:Ee,nextPage:Fe,lastPage:Ke,isRowSelected:Z,clearSelection:A,isRowExpanded:q,setExpanded:_,sort:V,resetVirtualScroll:Je,scrollTo:ke,getCellValue:qe}),xa(n.proxy,{filteredSortedRows:()=>D.value,computedRows:()=>k.value,computedRowsNumber:()=>xe.value}),()=>{const S=[ul()],z={ref:b,class:w.value};return e.grid===!0?S.push(cl()):Object.assign(z,{class:[z.class,e.cardClass],style:e.cardStyle}),S.push(Me(),Ht()),e.loading===!0&&t.loading!==void 0&&S.push(t.loading()),v("div",z,S)}}}),Pi=he({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:l}}=re(),n=Zt(ka,St);if(n===St)return console.error("QPage needs to be a deep child of QLayout"),St;if(Zt(Ca,St)===St)return console.error("QPage needs to be child of QPageContainer"),St;const o=c(()=>{const s=(n.header.space===!0?n.header.size:0)+(n.footer.space===!0?n.footer.size:0);if(typeof e.styleFn=="function"){const d=n.isContainer.value===!0?n.containerHeight.value:l.screen.height;return e.styleFn(s,d)}return{minHeight:n.isContainer.value===!0?n.containerHeight.value-s+"px":l.screen.height===0?s!==0?`calc(100vh - ${s}px)`:"100vh":l.screen.height-s+"px"}}),i=c(()=>`q-page${e.padding===!0?" q-layout-padding":""}`);return()=>v("main",{class:i.value,style:o.value},we(t.default))}});function Sn(e){const t=e.indexOf("(");if(t===-1)return[e];const l=e.slice(0,t).trim(),n=e.slice(t+1,e.indexOf(")")).trim();return[l,n]}function wn(e,t){const l=e.replace(/=\?([^?]+)\?([BQ])\?([^?]+)\?=/gi,(a,o,i,s)=>i.toUpperCase()==="B"?Bi(s,o):i.toUpperCase()==="Q"?Ti(s,o):e),n=l.indexOf(":");return{headerName:l.slice(0,n),headerData:l.slice(n+2),headerIndex:t}}function Bi(e,t){const l=atob(e);return new TextDecoder(t).decode(new Uint8Array([...l].map(n=>n.charCodeAt(0))))}function Ti(e,t){const l=e.replace(/_/g," ").replace(/=([A-Fa-f0-9]{2})/g,(n,a)=>String.fromCharCode(parseInt(a,16)));return new TextDecoder(t).decode(new Uint8Array([...l].map(n=>n.charCodeAt(0))))}function Ei(e){const t="from",l="by",n="with",a="id",o="via",i={rawHeaderDetails:e};if(!e.headerData)return i;let s=e.headerData;const d=e.headerData.lastIndexOf(";");if(d!==-1){const B=e.headerData.slice(d+1).trim();i.dateTime=new Date(B),s=e.headerData.slice(0,d)}const b=s.indexOf(`${t} `);if(b===-1)return i;const r=b+t.length+1,m=s.indexOf(`${l} `,r);if(m===-1)return i;const C=s.slice(r,m-1),h=Sn(C);i.fromDomain=h[0],i.fromIpAddress=h[1];const w=m+l.length+1,P=s.indexOf(`${n} `,w);if(P===-1)return i;const p=s.slice(w,P-1),N=Sn(p);i.byDomain=N[0],i.byIpAddress=N[1];const R=P+n.length+1;let M=s.length,E=R;const q=s.indexOf(`${a} `,E);let _=0,H=0;q!==-1&&(_=q+a.length+1,E=_,M=q-1);const D=s.indexOf(`${o} `,E);let x=0,k=0;return D!==-1?(x=D+o.length+1,E=x,H=D-1,k=s.length):H=s.length,R>0&&(i.with=s.slice(R,M)),_>0&&(i.id=s.slice(_,H)),x>0&&(i.via=s.slice(x,k)),i}function Fi(e){const t=e.split(/\r?\n/);if(!t)return;const l=[];let n="",a=0;for(const o of t){if(!o)break;/^\s/.test(o)?n+=" "+o.trim():(n&&(l.push(wn(n,a)),a++),n=o)}return n&&l.push(wn(n,a)),l}const pn={splitMailHeader:Fi,parseReceivedHeader:Ei},Ai={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",width:"100%",height:"600",version:"1.1",viewBox:"0 0 32 32"},$i=_a('',1),Ii={id:"letter",transform:"translate(0,-2)"},Oi=de("text",{x:"7",y:"5.9",style:{font:"normal 0.5px sans-serif",fill:"#666"}},"From",-1),Hi={x:"7",y:"6.8",style:{font:"normal 0.7px sans-serif"}},Li=de("text",{x:"7",y:"7.6",style:{font:"normal 0.5px sans-serif",fill:"#666"}},"To",-1),Di={x:"7",y:"8.5",style:{font:"normal 0.7px sans-serif"}},zi={x:"7",y:"12",style:{font:"normal 0.7px sans-serif","font-weight":"bold"}},Ni=de("text",{x:"11",y:"26",style:{font:"normal 0.5px sans-serif",fill:"#666"}},"ReturnPath",-1),ji={x:"11",y:"27",style:{font:"italic 1.0px sans-serif"}},Wi=Ft({__name:"LetterWithEnvelope",props:{from:{},to:{},subject:{},returnPath:{}},setup(e){return(t,l)=>{var n;return se(),Re("svg",Ai,[$i,de("g",Ii,[Oi,de("text",Hi,Te(t.from),1),Li,de("text",Di,Te(t.to),1),de("text",zi,Te((n=t.subject)==null?void 0:n.slice(0,50)),1)]),de("g",null,[Ni,de("text",ji,Te(t.returnPath),1)])])}}}),Qi={class:"row"},Ki={class:"col-2 bg-grey-4 q-pa-sm"},Ui={class:"col-10 q-pa-sm bg-grey text-white"},Zi={key:0,style:{margin:"0px"}},Xi={key:1,style:{"font-family":"monospace"}},je=Ft({__name:"MailDetailBox",props:{name:{},details:{default:void 0},preformatted:{type:Boolean,default:!1}},setup(e){return(t,l)=>(se(),Re("div",Qi,[de("div",Ki,Te(t.name),1),de("div",Ui,[(se(!0),Re(Mn,null,Pn(t.details,(n,a)=>(se(),Re("div",{key:`detail-${a}`},[t.preformatted?(se(),Re("pre",Zi,Te(n),1)):(se(),Re("div",Xi,Te(n),1))]))),128))])]))}});function Yi(){return Zt(qa)}const Gi=["height","viewBox"],Ji=["transform"],er=de("path",{d:"M 1,1 L 1,10 L 10,10, 10,1 Z","vector-effect":"non-scaling-stroke","shape-rendering":"crispEdges",style:{fill:"#263238"}},null,-1),tr={x:"5",y:"5.5","dominant-baseline":"middle","text-anchor":"middle",style:{font:"normal 4px sans-serif",fill:"#fff"}},lr=de("path",{d:"M 1,1 L 110,1 L 110,40 L 1,40 Z","vector-effect":"non-scaling-stroke","shape-rendering":"crispEdges",style:{fill:"none",stroke:"#263238","stroke-width":"1px"}},null,-1),nr={key:0,d:"M 111,15 L 115,20 L 111,25 Z",style:{fill:"#aaa",stroke:"#888","stroke-width":".3"}},ar={x:"4",y:"20",style:{font:"bold 4px sans-serif",fill:"#666"}},or={x:"4",y:"26",style:{font:"normal 4px sans-serif",fill:"#666"}},ir={x:"4",y:"32",style:{font:"normal 4px sans-serif",fill:"#666"}},xn=110,kn=40,Cn=5,_n=5,rr=Ft({__name:"MailFlow",props:{receivedHeaders:{}},setup(e){const t=Yi(),l=e,n=c(()=>t.screen.gt.sm?6:2),a=c(()=>Math.ceil(l.receivedHeaders.length/n.value)),o=c(()=>n.value*(xn+Cn)),i=c(()=>a.value*(kn+_n));function s(d){const r=Math.floor(d/n.value)*(kn+_n);return`translate(${d%n.value*(xn+Cn)}, ${r})`}return(d,b)=>(se(),Re("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",width:"100%",height:i.value,version:"1.1",style:{width:"100%",height:"100%"},viewBox:`0 0 ${o.value} ${i.value}`},[(se(!0),Re(Mn,null,Pn(d.receivedHeaders,(r,m)=>{var C;return se(),Re("g",{key:m,transform:s(m)},[er,de("text",tr,Te(m+1),1),lr,m"q-td"+(e.autoWidth===!0?" q-table--col-auto-width":"")+(e.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(e.props===void 0)return v("td",{class:n.value},we(t.default));const a=l.vnode.key,o=(e.props.colsMap!==void 0?e.props.colsMap[a]:null)||e.props.col;if(o===void 0)return;const{row:i}=e.props;return v("td",{class:n.value+o.__tdClass(i),style:o.__tdStyle(i)},we(t.default))}}});const sr=Ft({__name:"MailFlowTable",props:{receivedHeaders:{}},setup(e){const t=[{name:"dateTime",align:"left",label:"Time",field:"dateTime",sortable:!1},{name:"fromDomain",align:"left",label:"From Domain",field:"fromDomain",sortable:!1},{name:"fromIpAddress",align:"left",label:"From IpAddress",field:"fromIpAddress",sortable:!1},{name:"byDomain",align:"left",label:"By Domain",field:"byDomain",sortable:!1},{name:"byIpAddress",align:"left",label:"By IpAddress",field:"byIpAddress",sortable:!1},{name:"with",align:"left",label:"With",field:"with",sortable:!1},{name:"id",align:"left",label:"Id",field:"id",sortable:!1},{name:"for",align:"left",label:"For",field:"for",sortable:!1}];return(l,n)=>(se(),Pe(ia,{flat:"",bordered:"",rows:l.receivedHeaders,columns:t,"rows-per-page-options":[0],"no-paginate":""},{"body-cell-dateTime":Mt(a=>[at(ur,null,{default:Mt(()=>[Va(Te(a.row.dateTime.toISOString()),1)]),_:2},1024)]),_:1},8,["rows"]))}});const ra=e=>(Ma("data-v-a8681882"),e=e(),Pa(),e),cr={key:0,class:"row"},dr={class:"col-12 col-md-6"},fr={class:"col-12 col-md-6"},vr={class:"q-my-md"},mr={class:"q-gutter-sm"},gr={key:1},hr=ra(()=>de("h2",null,"Mail Hops",-1)),br={key:0,class:"q-mt-sm"},yr=ra(()=>de("h2",null,"Other Headers",-1)),Sr=Ft({__name:"IndexPage",setup(e){const t={From:"From",To:"To",Subject:"Subject",Received:"Received",ReplyTo:"Reply-To",ReturnPath:"Return-Path",MessageId:"Message-Id",Date:"Date",DkimSignature:"DKIM-Signature",AuthenticationResults:"Authentication-Results"},l=Q(),n=Q(),a=[{name:"headerName",align:"left",label:"Name",field:"headerName",sortable:!1,style:"width: 300px"},{name:"headerData",align:"left",label:"Data",field:"headerData",sortable:!1,classes:"text-break"},{name:"headerIndex",align:"left",label:"Index",field:"headerIndex",sortable:!1,style:"width: 70px"}],o=c(()=>{if(!!l.value)try{return pn.splitMailHeader(l.value)}catch(q){console.error(q);return}}),i=c(()=>{var q;return(q=o.value)==null?void 0:q.filter(_=>_.headerName===t.ReturnPath)}),s=c(()=>{if(!!i.value)return i.value[0].headerData}),d=c(()=>{var q;return(q=o.value)==null?void 0:q.filter(_=>_.headerName===t.From)}),b=c(()=>{if(!!d.value)return d.value[0].headerData}),r=c(()=>{var q;return(q=o.value)==null?void 0:q.filter(_=>_.headerName===t.To)}),m=c(()=>{if(!!r.value)return r.value[0].headerData}),C=c(()=>{var q;return(q=o.value)==null?void 0:q.filter(_=>_.headerName===t.Date)}),h=c(()=>{var q;return(q=o.value)==null?void 0:q.filter(_=>_.headerName.toLowerCase()===t.MessageId.toLowerCase())}),w=c(()=>{var q;return(q=o.value)==null?void 0:q.filter(_=>_.headerName===t.Subject)}),P=c(()=>{if(!!w.value)return w.value[0].headerData}),p=c(()=>{var H;if(!o.value)return;const q=(H=o.value)==null?void 0:H.filter(D=>D.headerName===t.Received);if(!q)return;const _=q.filter(D=>D.headerData).map(D=>pn.parseReceivedHeader(D));return _==null||_.sort((D,x)=>D.rawHeaderDetails.headerIndex&&x.rawHeaderDetails.headerIndex?x.rawHeaderDetails.headerIndex-D.rawHeaderDetails.headerIndex:-1),_}),N=c(()=>{var q;return(q=o.value)==null?void 0:q.filter(_=>_.headerName===t.ReplyTo)}),R=c(()=>{var q;return(q=o.value)==null?void 0:q.filter(_=>_.headerName===t.AuthenticationResults)}),M=c(()=>{var q;return(q=o.value)==null?void 0:q.filter(_=>_.headerName===t.DkimSignature)}),E=c(()=>{var D,x,k;const q=Object.values(t),_=(D=o.value)==null?void 0:D.filter(B=>!q.includes(B.headerName)),H=(x=n.value)==null?void 0:x.toLowerCase();return H?(k=o.value)==null?void 0:k.filter(B=>B.headerName.toLowerCase().includes(H)):_});return(q,_)=>(se(),Pe(Pi,{padding:""},{default:Mt(()=>{var H,D,x,k,B,y,j,K,te;return[de("div",null,[at(Jl,{modelValue:l.value,"onUpdate:modelValue":_[0]||(_[0]=F=>l.value=F),spellcheck:"false",placeholder:"Paste email headers here",outlined:"",type:"textarea",rows:l.value?8:30},null,8,["modelValue","rows"])]),l.value?(se(),Re("div",cr,[de("div",dr,[at(Wi,{to:m.value,from:b.value,subject:P.value,"return-path":s.value},null,8,["to","from","subject","return-path"])]),de("div",fr,[de("div",vr,[de("div",mr,[i.value&&i.value.length>0?(se(),Pe(je,{key:0,name:"Return-Path",details:(H=i.value)==null?void 0:H.map(F=>F.headerData)},null,8,["details"])):_e("",!0),d.value&&d.value.length>0?(se(),Pe(je,{key:1,name:"From",details:(D=d.value)==null?void 0:D.map(F=>F.headerData)},null,8,["details"])):_e("",!0),r.value&&r.value.length>0?(se(),Pe(je,{key:2,name:"To",details:(x=r.value)==null?void 0:x.map(F=>F.headerData)},null,8,["details"])):_e("",!0),N.value&&N.value.length>0?(se(),Pe(je,{key:3,name:"Reply-To",details:(k=N.value)==null?void 0:k.map(F=>F.headerData)},null,8,["details"])):_e("",!0),h.value&&h.value.length>0?(se(),Pe(je,{key:4,name:"Message-Id",details:(B=h.value)==null?void 0:B.map(F=>F.headerData)},null,8,["details"])):_e("",!0),C.value&&C.value.length>0?(se(),Pe(je,{key:5,name:"Date",details:(y=C.value)==null?void 0:y.map(F=>F.headerData)},null,8,["details"])):_e("",!0),w.value&&w.value.length>0?(se(),Pe(je,{key:6,name:"Subject",details:(j=w.value)==null?void 0:j.map(F=>F.headerData)},null,8,["details"])):_e("",!0),R.value&&R.value.length>0?(se(),Pe(je,{key:7,name:"Authentication-Results",details:(K=R.value)==null?void 0:K.map(F=>F.headerData.split(";").map(Z=>Z.trim()).join(` +`)),preformatted:!0},null,8,["details"])):_e("",!0),M.value&&M.value.length>0?(se(),Pe(je,{key:8,name:"Dkim Signature",details:(te=M.value)==null?void 0:te.map(F=>F.headerData)},null,8,["details"])):_e("",!0)])])])])):_e("",!0),l.value?(se(),Re("div",gr,[hr,p.value?(se(),Re("div",br,[at(rr,{"received-headers":p.value},null,8,["received-headers"]),at(sr,{"received-headers":p.value},null,8,["received-headers"])])):_e("",!0),yr,E.value?(se(),Pe(ia,{key:1,flat:"",bordered:"","wrap-cells":"","rows-per-page-options":[0],rows:E.value,columns:a,class:"full-width","table-style":"min-height: 400px;"},{top:Mt(()=>[at(Jl,{modelValue:n.value,"onUpdate:modelValue":_[1]||(_[1]=F=>n.value=F),outlined:"",dense:"",debounce:"100",placeholder:"Search",class:"full-width","bg-color":n.value?"grey-3":""},{append:Mt(()=>[at(De,{name:"search"})]),_:1},8,["modelValue","bg-color"])]),_:1},8,["rows"])):_e("",!0)])):_e("",!0)]}),_:1}))}});var kr=Ra(Sr,[["__scopeId","data-v-a8681882"]]);export{kr as default}; diff --git a/assets/IndexPage.62b7a967.css b/assets/IndexPage.62b7a967.css new file mode 100644 index 0000000..599cc1b --- /dev/null +++ b/assets/IndexPage.62b7a967.css @@ -0,0 +1 @@ +[data-v-a8681882] .text-break{word-break:break-all} diff --git a/assets/IndexPage.9c319a9d.js b/assets/IndexPage.9c319a9d.js deleted file mode 100644 index 0aa9bec..0000000 --- a/assets/IndexPage.9c319a9d.js +++ /dev/null @@ -1,2 +0,0 @@ -import{i as ca,r as W,o as Ge,w as le,a as c,J as Mn,g as ce,b as qe,e as Zt,K as da,L as Pn,M as Ye,H as Me,d as ge,N as Ft,O as Rl,h as v,I as Oe,T as Xt,P as Rn,Q as Le,c as be,F as Xe,n as fa,R as Bl,l as Te,C as nl,S as va,D as Nl,E as ma,U as jl,q as ga,V as ha,G as ba,W as Yt,X as ya,Y as Sa,Z as Ct,$ as yt,a0 as _l,a1 as Wl,a2 as wa,a3 as xa,f as St,j as pa,k as ka,a4 as _a,a5 as Tl,t as ie,a6 as re,a7 as Ue,a8 as Ze,a9 as Y,aa as xe,ab as Be,u as Cl,v as Rt,x as wt,y as Ca,_ as qa,ac as Va,ad as Ma}from"./index.effe9558.js";import{d as De,e as Pa,h as pe,a as Bn,b as al,u as El,f as Fl,i as Ra,j as Ba,R as Ta,k as Ea,l as Fa,v as Tn,m as ml,n as En,o as Fn,Q as zt}from"./QBtn.42afa22b.js";import{s as An,g as $n,c as Aa,b as $a,a as Ia,h as Ha}from"./scroll.42beefbe.js";let gl,Nt=0;const Se=new Array(256);for(let e=0;e<256;e++)Se[e]=(e+256).toString(16).substring(1);const Oa=(()=>{const e=typeof crypto!="undefined"?crypto:typeof window!="undefined"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{const l=new Uint8Array(t);return e.getRandomValues(l),l}}return t=>{const l=[];for(let n=t;n>0;n--)l.push(Math.floor(Math.random()*256));return l}})(),Ql=4096;function ql(){(gl===void 0||Nt+16>Ql)&&(Nt=0,gl=Oa(Ql));const e=Array.prototype.slice.call(gl,Nt,Nt+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,Se[e[0]]+Se[e[1]]+Se[e[2]]+Se[e[3]]+"-"+Se[e[4]]+Se[e[5]]+"-"+Se[e[6]]+Se[e[7]]+"-"+Se[e[8]]+Se[e[9]]+"-"+Se[e[10]]+Se[e[11]]+Se[e[12]]+Se[e[13]]+Se[e[14]]+Se[e[15]]}function La(e){return e==null?null:e}function Kl(e,t){return e==null?t===!0?`f_${ql()}`:null:e}function Da({getValue:e,required:t=!0}={}){if(ca.value===!0){const l=e!==void 0?W(La(e())):W(null);return t===!0&&l.value===null&&Ge(()=>{l.value=`f_${ql()}`}),e!==void 0&&le(e,n=>{l.value=Kl(n,t)}),l}return e!==void 0?c(()=>Kl(e(),t)):W(`f_${ql()}`)}const Ul=/^on[A-Z]/;function za(){const{attrs:e,vnode:t}=ce(),l={listeners:W({}),attributes:W({})};function n(){const a={},o={};for(const i in e)i!=="class"&&i!=="style"&&Ul.test(i)===!1&&(a[i]=e[i]);for(const i in t.props)Ul.test(i)===!0&&(o[i]=t.props[i]);l.attributes.value=a,l.listeners.value=o}return Mn(n),n(),l}const ze={dark:{type:Boolean,default:null}};function Ne(e,t){return c(()=>e.dark===null?t.dark.isActive:e.dark)}function Na({validate:e,resetValidation:t,requiresQForm:l}){const n=Zt(da,!1);if(n!==!1){const{props:a,proxy:o}=ce();Object.assign(o,{validate:e,resetValidation:t}),le(()=>a.disable,i=>{i===!0?(typeof t=="function"&&t(),n.unbindComponent(o)):n.bindComponent(o)}),Ge(()=>{a.disable!==!0&&n.bindComponent(o)}),qe(()=>{a.disable!==!0&&n.unbindComponent(o)})}else l===!0&&console.error("Parent QForm not found on useFormChild()!")}const Zl=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Xl=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Yl=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,jt=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,Wt=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,hl={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>Zl.test(e),hexaColor:e=>Xl.test(e),hexOrHexaColor:e=>Yl.test(e),rgbColor:e=>jt.test(e),rgbaColor:e=>Wt.test(e),rgbOrRgbaColor:e=>jt.test(e)||Wt.test(e),hexOrRgbColor:e=>Zl.test(e)||jt.test(e),hexaOrRgbaColor:e=>Xl.test(e)||Wt.test(e),anyColor:e=>Yl.test(e)||jt.test(e)||Wt.test(e)},ja=[!0,!1,"ondemand"],Wa={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>ja.includes(e)}};function Qa(e,t){const{props:l,proxy:n}=ce(),a=W(!1),o=W(null),i=W(!1);Na({validate:B,resetValidation:w});let s=0,d;const b=c(()=>l.rules!==void 0&&l.rules!==null&&l.rules.length!==0),r=c(()=>l.disable!==!0&&b.value===!0&&t.value===!1),m=c(()=>l.error===!0||a.value===!0),k=c(()=>typeof l.errorMessage=="string"&&l.errorMessage.length!==0?l.errorMessage:o.value);le(()=>l.modelValue,()=>{i.value=!0,r.value===!0&&l.lazyRules===!1&&x()});function h(){l.lazyRules!=="ondemand"&&r.value===!0&&i.value===!0&&x()}le(()=>l.reactiveRules,D=>{D===!0?d===void 0&&(d=le(()=>l.rules,h,{immediate:!0,deep:!0})):d!==void 0&&(d(),d=void 0)},{immediate:!0}),le(()=>l.lazyRules,h),le(e,D=>{D===!0?i.value=!0:r.value===!0&&l.lazyRules!=="ondemand"&&x()});function w(){s++,t.value=!1,i.value=!1,a.value=!1,o.value=null,x.cancel()}function B(D=l.modelValue){if(l.disable===!0||b.value===!1)return!0;const P=++s,p=t.value!==!0?()=>{i.value=!0}:()=>{},_=(V,H)=>{V===!0&&p(),a.value=V,o.value=H||null,t.value=!1},R=[];for(let V=0;V{if(V===void 0||Array.isArray(V)===!1||V.length===0)return P===s&&_(!1),!0;const H=V.find(j=>j===!1||typeof j=="string");return P===s&&_(H!==void 0,H),H===void 0},V=>(P===s&&(console.error(V),_(!0)),!1)))}const x=Pn(B,0);return qe(()=>{d!==void 0&&d(),x.cancel()}),Object.assign(n,{resetValidation:w,validate:B}),Ye(n,"hasError",()=>m.value),{isDirtyModel:i,hasRules:b,hasError:m,errorMessage:k,validate:B,resetValidation:w}}let ot=[],Tt=[];function In(e){Tt=Tt.filter(t=>t!==e)}function Ka(e){In(e),Tt.push(e)}function Gl(e){In(e),Tt.length===0&&ot.length!==0&&(ot[ot.length-1](),ot=[])}function ol(e){Tt.length===0?e():ot.push(e)}function Ua(e){ot=ot.filter(t=>t!==e)}function Et(e){return e!=null&&(""+e).length!==0}const Za={...ze,...Wa,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},il={...Za,maxlength:[Number,String]},Al=["update:modelValue","clear","focus","blur"];function $l({requiredForAttr:e=!0,tagProp:t,changeEvent:l=!1}={}){const{props:n,proxy:a}=ce(),o=Ne(n,a.$q),i=Da({required:e,getValue:()=>n.for});return{requiredForAttr:e,changeEvent:l,tag:t===!0?c(()=>n.tag):{value:"label"},isDark:o,editable:c(()=>n.disable!==!0&&n.readonly!==!0),innerLoading:W(!1),focused:W(!1),hasPopupOpen:!1,splitAttrs:za(),targetUid:i,rootRef:W(null),targetRef:W(null),controlRef:W(null)}}function Il(e){const{props:t,emit:l,slots:n,attrs:a,proxy:o}=ce(),{$q:i}=o;let s=null;e.hasValue===void 0&&(e.hasValue=c(()=>Et(t.modelValue))),e.emitValue===void 0&&(e.emitValue=E=>{l("update:modelValue",E)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:q,onFocusout:C}),Object.assign(e,{clearValue:F,onControlFocusin:q,onControlFocusout:C,focus:H}),e.computedCounter===void 0&&(e.computedCounter=c(()=>{if(t.counter!==!1){const E=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,N=t.maxlength!==void 0?t.maxlength:t.maxValues;return E+(N!==void 0?" / "+N:"")}}));const{isDirtyModel:d,hasRules:b,hasError:r,errorMessage:m,resetValidation:k}=Qa(e.focused,e.innerLoading),h=e.floatingLabel!==void 0?c(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):c(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),w=c(()=>t.bottomSlots===!0||t.hint!==void 0||b.value===!0||t.counter===!0||t.error!==null),B=c(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),x=c(()=>`q-field row no-wrap items-start q-field--${B.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(h.value===!0?" q-field--float":"")+(P.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(r.value===!0?" q-field--error":"")+(r.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&w.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),D=c(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(r.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),P=c(()=>t.labelSlot===!0||t.label!==void 0),p=c(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&r.value!==!0?` text-${t.labelColor}`:"")),_=c(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:h.value,modelValue:t.modelValue,emitValue:e.emitValue})),R=c(()=>{const E={};return e.targetUid.value&&(E.for=e.targetUid.value),t.disable===!0&&(E["aria-disabled"]="true"),E});function V(){const E=document.activeElement;let N=e.targetRef!==void 0&&e.targetRef.value;N&&(E===null||E.id!==e.targetUid.value)&&(N.hasAttribute("tabindex")===!0||(N=N.querySelector("[tabindex]")),N&&N!==E&&N.focus({preventScroll:!0}))}function H(){ol(V)}function j(){Ua(V);const E=document.activeElement;E!==null&&e.rootRef.value.contains(E)&&E.blur()}function q(E){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,l("focus",E))}function C(E,N){s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,l("blur",E)),N!==void 0&&N())})}function F(E){Me(E),i.platform.is.mobile!==!0?(e.targetRef!==void 0&&e.targetRef.value||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),t.type==="file"&&(e.inputRef.value.value=null),l("update:modelValue",null),e.changeEvent===!0&&l("change",null),l("clear",t.modelValue),ge(()=>{const N=d.value;k(),d.value=N})}function y(E){[13,32].includes(E.keyCode)&&F(E)}function z(){const E=[];return n.prepend!==void 0&&E.push(v("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:Oe},n.prepend())),E.push(v("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},K())),r.value===!0&&t.noErrorIcon===!1&&E.push(Q("error",[v(De,{name:i.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?E.push(Q("inner-loading-append",n.loading!==void 0?n.loading():[v(Pa,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&E.push(Q("inner-clearable-append",[v(De,{class:"q-field__focusable-action",name:t.clearIcon||i.iconSet.field.clear,tabindex:0,role:"button","aria-label":i.lang.label.clear,onKeyup:y,onClick:F})])),n.append!==void 0&&E.push(v("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:Oe},n.append())),e.getInnerAppend!==void 0&&E.push(Q("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&E.push(e.getControlChild()),E}function K(){const E=[];return t.prefix!==void 0&&t.prefix!==null&&E.push(v("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&E.push(e.getShadowControl()),e.getControl!==void 0?E.push(e.getControl()):n.rawControl!==void 0?E.push(n.rawControl()):n.control!==void 0&&E.push(v("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},n.control(_.value))),P.value===!0&&E.push(v("div",{class:p.value},pe(n.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&E.push(v("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),E.concat(pe(n.default))}function ae(){let E,N;r.value===!0?m.value!==null?(E=[v("div",{role:"alert"},m.value)],N=`q--slot-error-${m.value}`):(E=pe(n.error),N="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(E=[v("div",t.hint)],N=`q--slot-hint-${t.hint}`):(E=pe(n.hint),N="q--slot-hint"));const te=t.counter===!0||n.counter!==void 0;if(t.hideBottomSpace===!0&&te===!1&&E===void 0)return;const g=v("div",{key:N,class:"q-field__messages col"},E);return v("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:Oe},[t.hideBottomSpace===!0?g:v(Xt,{name:"q-transition--field-message"},()=>g),te===!0?v("div",{class:"q-field__counter"},n.counter!==void 0?n.counter():e.computedCounter.value):null])}function Q(E,N){return N===null?null:v("div",{key:E,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},N)}let Z=!1;return Ft(()=>{Z=!0}),Rl(()=>{Z===!0&&t.autofocus===!0&&o.focus()}),t.autofocus===!0&&Ge(()=>{o.focus()}),qe(()=>{s!==null&&clearTimeout(s)}),Object.assign(o,{focus:H,blur:j}),function(){const N=e.getControl===void 0&&n.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...R.value}:R.value;return v(e.tag.value,{ref:e.rootRef,class:[x.value,a.class],style:a.style,...N},[n.before!==void 0?v("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:Oe},n.before()):null,v("div",{class:"q-field__inner relative-position col self-stretch"},[v("div",{ref:e.controlRef,class:D.value,tabindex:-1,...e.controlEvents},z()),w.value===!0?ae():null]),n.after!==void 0?v("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:Oe},n.after()):null])}}const Jl={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},Gt={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},Hn=Object.keys(Gt);Hn.forEach(e=>{Gt[e].regex=new RegExp(Gt[e].pattern)});const Xa=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+Hn.join("")+"])|(.)","g"),en=/[.*+?^${}()|[\]\\]/g,he=String.fromCharCode(1),Ya={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function Ga(e,t,l,n){let a,o,i,s,d,b;const r=W(null),m=W(h());function k(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}le(()=>e.type+e.autogrow,B),le(()=>e.mask,q=>{if(q!==void 0)x(m.value,!0);else{const C=H(m.value);B(),e.modelValue!==C&&t("update:modelValue",C)}}),le(()=>e.fillMask+e.reverseFillMask,()=>{r.value===!0&&x(m.value,!0)}),le(()=>e.unmaskedValue,()=>{r.value===!0&&x(m.value)});function h(){if(B(),r.value===!0){const q=R(H(e.modelValue));return e.fillMask!==!1?j(q):q}return e.modelValue}function w(q){if(q0;z--)C+=he;F=F.slice(0,y)+C+F.slice(y)}return F}function B(){if(r.value=e.mask!==void 0&&e.mask.length!==0&&k(),r.value===!1){s=void 0,a="",o="";return}const q=Jl[e.mask]===void 0?e.mask:Jl[e.mask],C=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",F=C.replace(en,"\\$&"),y=[],z=[],K=[];let ae=e.reverseFillMask===!0,Q="",Z="";q.replace(Xa,(g,f,O,G,ne)=>{if(G!==void 0){const M=Gt[G];K.push(M),Z=M.negate,ae===!0&&(z.push("(?:"+Z+"+)?("+M.pattern+"+)?(?:"+Z+"+)?("+M.pattern+"+)?"),ae=!1),z.push("(?:"+Z+"+)?("+M.pattern+")?")}else if(O!==void 0)Q="\\"+(O==="\\"?"":O),K.push(O),y.push("([^"+Q+"]+)?"+Q+"?");else{const M=f!==void 0?f:ne;Q=M==="\\"?"\\\\\\\\":M.replace(en,"\\\\$&"),K.push(M),y.push("([^"+Q+"]+)?"+Q+"?")}});const E=new RegExp("^"+y.join("")+"("+(Q===""?".":"[^"+Q+"]")+"+)?"+(Q===""?"":"["+Q+"]*")+"$"),N=z.length-1,te=z.map((g,f)=>f===0&&e.reverseFillMask===!0?new RegExp("^"+F+"*"+g):f===N?new RegExp("^"+g+"("+(Z===""?".":Z)+"+)?"+(e.reverseFillMask===!0?"$":F+"*")):new RegExp("^"+g));i=K,s=g=>{const f=E.exec(e.reverseFillMask===!0?g:g.slice(0,K.length+1));f!==null&&(g=f.slice(1).join(""));const O=[],G=te.length;for(let ne=0,M=g;netypeof g=="string"?g:he).join(""),o=a.split(he).join(C)}function x(q,C,F){const y=n.value,z=y.selectionEnd,K=y.value.length-z,ae=H(q);C===!0&&B();const Q=R(ae),Z=e.fillMask!==!1?j(Q):Q,E=m.value!==Z;y.value!==Z&&(y.value=Z),E===!0&&(m.value=Z),document.activeElement===y&&ge(()=>{if(Z===o){const te=e.reverseFillMask===!0?o.length:0;y.setSelectionRange(te,te,"forward");return}if(F==="insertFromPaste"&&e.reverseFillMask!==!0){const te=y.selectionEnd;let g=z-1;for(let f=d;f<=g&&fQ.length?1:0:Math.max(0,Z.length-(Z===o?0:Math.min(Q.length,K)+1))+1:z;y.setSelectionRange(te,te,"forward");return}if(e.reverseFillMask===!0)if(E===!0){const te=Math.max(0,Z.length-(Z===o?0:Math.min(Q.length,K+1)));te===1&&z===1?y.setSelectionRange(te,te,"forward"):P.rightReverse(y,te)}else{const te=Z.length-K;y.setSelectionRange(te,te,"backward")}else if(E===!0){const te=Math.max(0,a.indexOf(he),Math.min(Q.length,z)-1);P.right(y,te)}else{const te=z-1;P.right(y,te)}});const N=e.unmaskedValue===!0?H(Z):Z;String(e.modelValue)!==N&&(e.modelValue!==null||N!=="")&&l(N,!0)}function D(q,C,F){const y=R(H(q.value));C=Math.max(0,a.indexOf(he),Math.min(y.length,C)),d=C,q.setSelectionRange(C,F,"forward")}const P={left(q,C){const F=a.slice(C-1).indexOf(he)===-1;let y=Math.max(0,C-1);for(;y>=0;y--)if(a[y]===he){C=y,F===!0&&C++;break}if(y<0&&a[C]!==void 0&&a[C]!==he)return P.right(q,0);C>=0&&q.setSelectionRange(C,C,"backward")},right(q,C){const F=q.value.length;let y=Math.min(F,C+1);for(;y<=F;y++)if(a[y]===he){C=y;break}else a[y-1]===he&&(C=y);if(y>F&&a[C-1]!==void 0&&a[C-1]!==he)return P.left(q,F);q.setSelectionRange(C,C,"forward")},leftReverse(q,C){const F=w(q.value.length);let y=Math.max(0,C-1);for(;y>=0;y--)if(F[y-1]===he){C=y;break}else if(F[y]===he&&(C=y,y===0))break;if(y<0&&F[C]!==void 0&&F[C]!==he)return P.rightReverse(q,0);C>=0&&q.setSelectionRange(C,C,"backward")},rightReverse(q,C){const F=q.value.length,y=w(F),z=y.slice(0,C+1).indexOf(he)===-1;let K=Math.min(F,C+1);for(;K<=F;K++)if(y[K-1]===he){C=K,C>0&&z===!0&&C--;break}if(K>F&&y[C-1]!==void 0&&y[C-1]!==he)return P.leftReverse(q,F);q.setSelectionRange(C,C,"forward")}};function p(q){t("click",q),b=void 0}function _(q){if(t("keydown",q),Rn(q)===!0||q.altKey===!0)return;const C=n.value,F=C.selectionStart,y=C.selectionEnd;if(q.shiftKey||(b=void 0),q.keyCode===37||q.keyCode===39){q.shiftKey&&b===void 0&&(b=C.selectionDirection==="forward"?F:y);const z=P[(q.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(q.preventDefault(),z(C,b===F?y:F),q.shiftKey){const K=C.selectionStart;C.setSelectionRange(Math.min(b,K),Math.max(b,K),"forward")}}else q.keyCode===8&&e.reverseFillMask!==!0&&F===y?(P.left(C,F),C.setSelectionRange(C.selectionStart,y,"backward")):q.keyCode===46&&e.reverseFillMask===!0&&F===y&&(P.rightReverse(C,y),C.setSelectionRange(F,C.selectionEnd,"forward"))}function R(q){if(q==null||q==="")return"";if(e.reverseFillMask===!0)return V(q);const C=i;let F=0,y="";for(let z=0;z=0&&y!==-1;K--){const ae=C[K];let Q=q[y];if(typeof ae=="string")z=ae+z,Q===ae&&y--;else if(Q!==void 0&&ae.regex.test(Q))do z=(ae.transform!==void 0?ae.transform(Q):Q)+z,y--,Q=q[y];while(F===K&&Q!==void 0&&ae.regex.test(Q));else return z}return z}function H(q){return typeof q!="string"||s===void 0?typeof q=="number"?s(""+q):q:s(q)}function j(q){return o.length-q.length<=0?q:e.reverseFillMask===!0&&q.length!==0?o.slice(0,-q.length)+q:q+o.slice(q.length)}return{innerValue:m,hasMask:r,moveCursorForPaste:D,updateMaskValue:x,onMaskedKeydown:_,onMaskedClick:p}}const Hl={name:String};function Ja(e={}){return(t,l,n)=>{t[l](v("input",{class:"hidden"+(n||""),...e.value}))}}function On(e){return c(()=>e.name||e.for)}function eo(e,t){function l(){const n=e.modelValue;try{const a="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(n)===n&&("length"in n?Array.from(n):[n]).forEach(o=>{a.items.add(o)}),{files:a.files}}catch{return{files:void 0}}}return t===!0?c(()=>{if(e.type==="file")return l()}):c(l)}const to=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,lo=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,no=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,ao=/[a-z0-9_ -]$/i;function Ln(e){return function(l){if(l.type==="compositionend"||l.type==="change"){if(l.target.qComposing!==!0)return;l.target.qComposing=!1,e(l)}else l.type==="compositionupdate"&&l.target.qComposing!==!0&&typeof l.data=="string"&&(Le.is.firefox===!0?ao.test(l.data)===!1:to.test(l.data)===!0||lo.test(l.data)===!0||no.test(l.data)===!0)===!0&&(l.target.qComposing=!0)}}var tn=be({name:"QInput",inheritAttrs:!1,props:{...il,...Ya,...Hl,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...Al,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:l}){const{proxy:n}=ce(),{$q:a}=n,o={};let i=NaN,s,d,b=null,r;const m=W(null),k=On(e),{innerValue:h,hasMask:w,moveCursorForPaste:B,updateMaskValue:x,onMaskedKeydown:D,onMaskedClick:P}=Ga(e,t,Q,m),p=eo(e,!0),_=c(()=>Et(h.value)),R=Ln(K),V=$l({changeEvent:!0}),H=c(()=>e.type==="textarea"||e.autogrow===!0),j=c(()=>H.value===!0||["text","search","url","tel","password"].includes(e.type)),q=c(()=>{const f={...V.splitAttrs.listeners.value,onInput:K,onPaste:z,onChange:E,onBlur:N,onFocus:Xe};return f.onCompositionstart=f.onCompositionupdate=f.onCompositionend=R,w.value===!0&&(f.onKeydown=D,f.onClick=P),e.autogrow===!0&&(f.onAnimationend=ae),f}),C=c(()=>{const f={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:k.value,...V.splitAttrs.attributes.value,id:V.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return H.value===!1&&(f.type=e.type),e.autogrow===!0&&(f.rows=1),f});le(()=>e.type,()=>{m.value&&(m.value.value=e.modelValue)}),le(()=>e.modelValue,f=>{if(w.value===!0){if(d===!0&&(d=!1,String(f)===i))return;x(f)}else h.value!==f&&(h.value=f,e.type==="number"&&o.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete o.value));e.autogrow===!0&&ge(Z)}),le(()=>e.autogrow,f=>{f===!0?ge(Z):m.value!==null&&l.rows>0&&(m.value.style.height="auto")}),le(()=>e.dense,()=>{e.autogrow===!0&&ge(Z)});function F(){ol(()=>{const f=document.activeElement;m.value!==null&&m.value!==f&&(f===null||f.id!==V.targetUid.value)&&m.value.focus({preventScroll:!0})})}function y(){m.value!==null&&m.value.select()}function z(f){if(w.value===!0&&e.reverseFillMask!==!0){const O=f.target;B(O,O.selectionStart,O.selectionEnd)}t("paste",f)}function K(f){if(!f||!f.target)return;if(e.type==="file"){t("update:modelValue",f.target.files);return}const O=f.target.value;if(f.target.qComposing===!0){o.value=O;return}if(w.value===!0)x(O,!1,f.inputType);else if(Q(O),j.value===!0&&f.target===document.activeElement){const{selectionStart:G,selectionEnd:ne}=f.target;G!==void 0&&ne!==void 0&&ge(()=>{f.target===document.activeElement&&O.indexOf(f.target.value)===0&&f.target.setSelectionRange(G,ne)})}e.autogrow===!0&&Z()}function ae(f){t("animationend",f),Z()}function Q(f,O){r=()=>{b=null,e.type!=="number"&&o.hasOwnProperty("value")===!0&&delete o.value,e.modelValue!==f&&i!==f&&(i=f,O===!0&&(d=!0),t("update:modelValue",f),ge(()=>{i===f&&(i=NaN)})),r=void 0},e.type==="number"&&(s=!0,o.value=f),e.debounce!==void 0?(b!==null&&clearTimeout(b),o.value=f,b=setTimeout(r,e.debounce)):r()}function Z(){requestAnimationFrame(()=>{const f=m.value;if(f!==null){const O=f.parentNode.style,{scrollTop:G}=f,{overflowY:ne,maxHeight:M}=a.platform.is.firefox===!0?{}:window.getComputedStyle(f),$=ne!==void 0&&ne!=="scroll";$===!0&&(f.style.overflowY="hidden"),O.marginBottom=f.scrollHeight-1+"px",f.style.height="1px",f.style.height=f.scrollHeight+"px",$===!0&&(f.style.overflowY=parseInt(M,10){m.value!==null&&(m.value.value=h.value!==void 0?h.value:"")})}function te(){return o.hasOwnProperty("value")===!0?o.value:h.value!==void 0?h.value:""}qe(()=>{N()}),Ge(()=>{e.autogrow===!0&&Z()}),Object.assign(V,{innerValue:h,fieldClass:c(()=>`q-${H.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:c(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:m,emitValue:Q,hasValue:_,floatingLabel:c(()=>_.value===!0&&(e.type!=="number"||isNaN(h.value)===!1)||Et(e.displayValue)),getControl:()=>v(H.value===!0?"textarea":"input",{ref:m,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...C.value,...q.value,...e.type!=="file"?{value:te()}:p.value}),getShadowControl:()=>v("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(H.value===!0?"":" text-no-wrap")},[v("span",{class:"invisible"},te()),v("span",e.shadowText)])});const g=Il(V);return Object.assign(n,{focus:F,select:y,getNativeElement:()=>m.value}),Ye(n,"nativeEl",()=>m.value),g}}),oo=be({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:l}){const n=ce(),{proxy:{$q:a}}=n,o=i=>{l("click",i)};return()=>{if(e.props===void 0)return v("th",{class:e.autoWidth===!0?"q-table--col-auto-width":"",onClick:o},pe(t.default));let i,s;const d=n.vnode.key;if(d){if(i=e.props.colsMap[d],i===void 0)return}else i=e.props.col;if(i.sortable===!0){const r=i.align==="right"?"unshift":"push";s=Bn(t.default,[]),s[r](v(De,{class:i.__iconClass,name:a.iconSet.table.arrowUp}))}else s=pe(t.default);const b={class:i.__thClass+(e.autoWidth===!0?" q-table--col-auto-width":""),style:i.headerStyle,onClick:r=>{i.sortable===!0&&e.props.sort(i),o(r)}};return v("th",b,s)}}});const io={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},bl={xs:2,sm:4,md:8,lg:16,xl:24};var ro=be({name:"QSeparator",props:{...ze,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=ce(),l=Ne(e,t.proxy.$q),n=c(()=>e.vertical===!0?"vertical":"horizontal"),a=c(()=>` q-separator--${n.value}`),o=c(()=>e.inset!==!1?`${a.value}-${io[e.inset]}`:""),i=c(()=>`q-separator${a.value}${o.value}`+(e.color!==void 0?` bg-${e.color}`:"")+(l.value===!0?" q-separator--dark":"")),s=c(()=>{const d={};if(e.size!==void 0&&(d[e.vertical===!0?"width":"height"]=e.size),e.spaced!==!1){const b=e.spaced===!0?`${bl.md}px`:e.spaced in bl?`${bl[e.spaced]}px`:e.spaced,r=e.vertical===!0?["Left","Right"]:["Top","Bottom"];d[`margin${r[0]}`]=d[`margin${r[1]}`]=b}return d});return()=>v("hr",{class:i.value,style:s.value,"aria-orientation":n.value})}}),uo=be({name:"QList",props:{...ze,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const l=ce(),n=Ne(e,l.proxy.$q),a=c(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(n.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>v(e.tag,{class:a.value},pe(t.default))}});const so=["horizontal","vertical","cell","none"];var co=be({name:"QMarkupTable",props:{...ze,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>so.includes(e)}},setup(e,{slots:t}){const l=ce(),n=Ne(e,l.proxy.$q),a=c(()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(n.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(e.dense===!0?" q-table--dense":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")+(e.square===!0?" q-table--square":"")+(e.wrapCells===!1?" q-table--no-wrap":""));return()=>v("div",{class:a.value},[v("table",{class:"q-table"},pe(t.default))])}});function Dn(e,t){return v("div",e,[v("table",{class:"q-table"},t)])}let Jt=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,Jt=e.scrollLeft>=0,e.remove()}const He=1e3,fo=["start","center","end","start-force","center-force","end-force"],zn=Array.prototype.filter,vo=window.getComputedStyle(document.body).overflowAnchor===void 0?fa:function(e,t){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const l=e.children||[];zn.call(l,a=>a.dataset&&a.dataset.qVsAnchor!==void 0).forEach(a=>{delete a.dataset.qVsAnchor});const n=l[t];n&&n.dataset&&(n.dataset.qVsAnchor="")}))};function xt(e,t){return e+t}function yl(e,t,l,n,a,o,i,s){const d=e===window?document.scrollingElement||document.documentElement:e,b=a===!0?"offsetWidth":"offsetHeight",r={scrollStart:0,scrollViewSize:-i-s,scrollMaxSize:0,offsetStart:-i,offsetEnd:-s};if(a===!0?(e===window?(r.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,r.scrollViewSize+=document.documentElement.clientWidth):(r.scrollStart=d.scrollLeft,r.scrollViewSize+=d.clientWidth),r.scrollMaxSize=d.scrollWidth,o===!0&&(r.scrollStart=(Jt===!0?r.scrollMaxSize-r.scrollViewSize:0)-r.scrollStart)):(e===window?(r.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,r.scrollViewSize+=document.documentElement.clientHeight):(r.scrollStart=d.scrollTop,r.scrollViewSize+=d.clientHeight),r.scrollMaxSize=d.scrollHeight),l!==null)for(let m=l.previousElementSibling;m!==null;m=m.previousElementSibling)m.classList.contains("q-virtual-scroll--skip")===!1&&(r.offsetStart+=m[b]);if(n!==null)for(let m=n.nextElementSibling;m!==null;m=m.nextElementSibling)m.classList.contains("q-virtual-scroll--skip")===!1&&(r.offsetEnd+=m[b]);if(t!==e){const m=d.getBoundingClientRect(),k=t.getBoundingClientRect();a===!0?(r.offsetStart+=k.left-m.left,r.offsetEnd-=k.width):(r.offsetStart+=k.top-m.top,r.offsetEnd-=k.height),e!==window&&(r.offsetStart+=r.scrollStart),r.offsetEnd+=r.scrollMaxSize-r.offsetStart}return r}function ln(e,t,l,n){t==="end"&&(t=(e===window?document.body:e)[l===!0?"scrollWidth":"scrollHeight"]),e===window?l===!0?(n===!0&&(t=(Jt===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):l===!0?(n===!0&&(t=(Jt===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function qt(e,t,l,n){if(l>=n)return 0;const a=t.length,o=Math.floor(l/He),i=Math.floor((n-1)/He)+1;let s=e.slice(o,i).reduce(xt,0);return l%He!==0&&(s-=t.slice(o*He,l).reduce(xt,0)),n%He!==0&&n!==a&&(s-=t.slice(n,i*He).reduce(xt,0)),s}const Nn={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},jn=Object.keys(Nn),Vl={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Nn};function Wn({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:l,virtualScrollItemSizeComputed:n}){const a=ce(),{props:o,emit:i,proxy:s}=a,{$q:d}=s;let b,r,m,k=[],h;const w=W(0),B=W(0),x=W({}),D=W(null),P=W(null),p=W(null),_=W({from:0,to:0}),R=c(()=>o.tableColspan!==void 0?o.tableColspan:100);n===void 0&&(n=c(()=>o.virtualScrollItemSize));const V=c(()=>n.value+";"+o.virtualScrollHorizontal),H=c(()=>V.value+";"+o.virtualScrollSliceRatioBefore+";"+o.virtualScrollSliceRatioAfter);le(H,()=>{Q()}),le(V,j);function j(){ae(r,!0)}function q(g){ae(g===void 0?r:g)}function C(g,f){const O=t();if(O==null||O.nodeType===8)return;const G=yl(O,l(),D.value,P.value,o.virtualScrollHorizontal,d.lang.rtl,o.virtualScrollStickySizeStart,o.virtualScrollStickySizeEnd);m!==G.scrollViewSize&&Q(G.scrollViewSize),y(O,G,Math.min(e.value-1,Math.max(0,parseInt(g,10)||0)),0,fo.indexOf(f)!==-1?f:r!==-1&&g>r?"end":"start")}function F(){const g=t();if(g==null||g.nodeType===8)return;const f=yl(g,l(),D.value,P.value,o.virtualScrollHorizontal,d.lang.rtl,o.virtualScrollStickySizeStart,o.virtualScrollStickySizeEnd),O=e.value-1,G=f.scrollMaxSize-f.offsetStart-f.offsetEnd-B.value;if(b===f.scrollStart)return;if(f.scrollMaxSize<=0){y(g,f,0,0);return}m!==f.scrollViewSize&&Q(f.scrollViewSize),z(_.value.from);const ne=Math.floor(f.scrollMaxSize-Math.max(f.scrollViewSize,f.offsetEnd)-Math.min(h[O],f.scrollViewSize/2));if(ne>0&&Math.ceil(f.scrollStart)>=ne){y(g,f,O,f.scrollMaxSize-f.offsetEnd-k.reduce(xt,0));return}let M=0,$=f.scrollStart-f.offsetStart,oe=$;if($<=G&&$+f.scrollViewSize>=w.value)$-=w.value,M=_.value.from,oe=$;else for(let T=0;$>=k[T]&&M0&&M-f.scrollViewSize?(M++,oe=$):oe=h[M]+$;y(g,f,M,oe)}function y(g,f,O,G,ne){const M=typeof ne=="string"&&ne.indexOf("-force")!==-1,$=M===!0?ne.replace("-force",""):ne,oe=$!==void 0?$:"start";let T=Math.max(0,O-x.value[oe]),de=T+x.value.total;de>e.value&&(de=e.value,T=Math.max(0,de-x.value.total)),b=f.scrollStart;const ke=T!==_.value.from||de!==_.value.to;if(ke===!1&&$===void 0){E(O);return}const{activeElement:je}=document,_e=p.value;ke===!0&&_e!==null&&_e!==je&&_e.contains(je)===!0&&(_e.addEventListener("focusout",K),setTimeout(()=>{_e!==null&&_e.removeEventListener("focusout",K)})),vo(_e,O-T);const We=$!==void 0?h.slice(T,O).reduce(xt,0):0;if(ke===!0){const Ee=de>=_.value.from&&T<=_.value.to?_.value.to:de;_.value={from:T,to:Ee},w.value=qt(k,h,0,T),B.value=qt(k,h,de,e.value),requestAnimationFrame(()=>{_.value.to!==de&&b===f.scrollStart&&(_.value={from:_.value.from,to:de},B.value=qt(k,h,de,e.value))})}requestAnimationFrame(()=>{if(b!==f.scrollStart)return;ke===!0&&z(T);const Ee=h.slice(T,O).reduce(xt,0),Fe=Ee+f.offsetStart+w.value,Qe=Fe+h[O];let Je=Fe+G;if($!==void 0){const kt=Ee-We,et=f.scrollStart+kt;Je=M!==!0&&etT.classList&&T.classList.contains("q-virtual-scroll--skip")===!1),G=O.length,ne=o.virtualScrollHorizontal===!0?T=>T.getBoundingClientRect().width:T=>T.offsetHeight;let M=g,$,oe;for(let T=0;T=G;M--)h[M]=O;const ne=Math.floor((e.value-1)/He);k=[];for(let M=0;M<=ne;M++){let $=0;const oe=Math.min((M+1)*He,e.value);for(let T=M*He;T=0?(z(_.value.from),ge(()=>{C(g)})):N()}function Q(g){if(g===void 0&&typeof window!="undefined"){const $=t();$!=null&&$.nodeType!==8&&(g=yl($,l(),D.value,P.value,o.virtualScrollHorizontal,d.lang.rtl,o.virtualScrollStickySizeStart,o.virtualScrollStickySizeEnd).scrollViewSize)}m=g;const f=parseFloat(o.virtualScrollSliceRatioBefore)||0,O=parseFloat(o.virtualScrollSliceRatioAfter)||0,G=1+f+O,ne=g===void 0||g<=0?1:Math.ceil(g/n.value),M=Math.max(1,ne,Math.ceil((o.virtualScrollSliceSize>0?o.virtualScrollSliceSize:10)/G));x.value={total:Math.ceil(M*G),start:Math.ceil(M*f),center:Math.ceil(M*(.5+f)),end:Math.ceil(M*(1+f)),view:ne}}function Z(g,f){const O=o.virtualScrollHorizontal===!0?"width":"height",G={["--q-virtual-scroll-item-"+O]:n.value+"px"};return[g==="tbody"?v(g,{class:"q-virtual-scroll__padding",key:"before",ref:D},[v("tr",[v("td",{style:{[O]:`${w.value}px`,...G},colspan:R.value})])]):v(g,{class:"q-virtual-scroll__padding",key:"before",ref:D,style:{[O]:`${w.value}px`,...G}}),v(g,{class:"q-virtual-scroll__content",key:"content",ref:p,tabindex:-1},f.flat()),g==="tbody"?v(g,{class:"q-virtual-scroll__padding",key:"after",ref:P},[v("tr",[v("td",{style:{[O]:`${B.value}px`,...G},colspan:R.value})])]):v(g,{class:"q-virtual-scroll__padding",key:"after",ref:P,style:{[O]:`${B.value}px`,...G}})]}function E(g){r!==g&&(o.onVirtualScroll!==void 0&&i("virtualScroll",{index:g,from:_.value.from,to:_.value.to-1,direction:g{Q()});let te=!1;return Ft(()=>{te=!0}),Rl(()=>{if(te!==!0)return;const g=t();b!==void 0&&g!==void 0&&g!==null&&g.nodeType!==8?ln(g,b,o.virtualScrollHorizontal,d.lang.rtl):C(r)}),qe(()=>{N.cancel()}),Object.assign(s,{scrollTo:C,reset:j,refresh:q}),{virtualScrollSliceRange:_,virtualScrollSliceSizeComputed:x,setVirtualScrollSize:Q,onVirtualScrollEvt:N,localResetVirtualScroll:ae,padVirtualScroll:Z,scrollTo:C,reset:j,refresh:q}}const mo={list:uo,table:co},go=["list","table","__qtable"];var ho=be({name:"QVirtualScroll",props:{...Vl,type:{type:String,default:"list",validator:e=>go.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:An},setup(e,{slots:t,attrs:l}){let n;const a=W(null),o=c(()=>e.itemsSize>=0&&e.itemsFn!==void 0?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0),{virtualScrollSliceRange:i,localResetVirtualScroll:s,padVirtualScroll:d,onVirtualScrollEvt:b}=Wn({virtualScrollLength:o,getVirtualScrollTarget:w,getVirtualScrollEl:h}),r=c(()=>{if(o.value===0)return[];const P=(p,_)=>({index:i.value.from+_,item:p});return e.itemsFn===void 0?e.items.slice(i.value.from,i.value.to).map(P):e.itemsFn(i.value.from,i.value.to-i.value.from).map(P)}),m=c(()=>"q-virtual-scroll q-virtual-scroll"+(e.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(e.scrollTarget!==void 0?"":" scroll")),k=c(()=>e.scrollTarget!==void 0?{}:{tabindex:0});le(o,()=>{s()}),le(()=>e.scrollTarget,()=>{x(),B()});function h(){return a.value.$el||a.value}function w(){return n}function B(){n=$n(h(),e.scrollTarget),n.addEventListener("scroll",b,Te.passive)}function x(){n!==void 0&&(n.removeEventListener("scroll",b,Te.passive),n=void 0)}function D(){let P=d(e.type==="list"?"div":"tbody",r.value.map(t.default));return t.before!==void 0&&(P=t.before().concat(P)),al(t.after,P)}return Bl(()=>{s()}),Ge(()=>{B()}),Rl(()=>{B()}),Ft(()=>{x()}),qe(()=>{x()}),()=>{if(t.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return e.type==="__qtable"?Dn({ref:a,class:"q-table__middle "+m.value},D()):v(mo[e.type],{...l,ref:a,class:[l.class,m.value],...k.value},D)}}}),bo=be({name:"QField",inheritAttrs:!1,props:{...il,tag:{type:String,default:"label"}},emits:Al,setup(){return Il($l({tagProp:!0}))}});const yo={xs:8,sm:10,md:14,lg:20,xl:24};var So=be({name:"QChip",props:{...ze,...El,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:l}){const{proxy:{$q:n}}=ce(),a=Ne(e,n),o=Fl(e,yo),i=c(()=>e.selected===!0||e.icon!==void 0),s=c(()=>e.selected===!0?e.iconSelected||n.iconSet.chip.selected:e.icon),d=c(()=>e.iconRemove||n.iconSet.chip.remove),b=c(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),r=c(()=>{const x=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(x?` text-${x} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(b.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(a.value===!0?" q-chip--dark q-dark":"")}),m=c(()=>{const x=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},D={...x,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||n.lang.label.remove};return{chip:x,remove:D}});function k(x){x.keyCode===13&&h(x)}function h(x){e.disable||(l("update:selected",!e.selected),l("click",x))}function w(x){(x.keyCode===void 0||x.keyCode===13)&&(Me(x),e.disable===!1&&(l("update:modelValue",!1),l("remove")))}function B(){const x=[];b.value===!0&&x.push(v("div",{class:"q-focus-helper"})),i.value===!0&&x.push(v(De,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const D=e.label!==void 0?[v("div",{class:"ellipsis"},[e.label])]:void 0;return x.push(v("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Ba(t.default,D))),e.iconRight&&x.push(v(De,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&x.push(v(De,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:d.value,...m.value.remove,onClick:w,onKeyup:w})),x}return()=>{if(e.modelValue===!1)return;const x={class:r.value,style:o.value};return b.value===!0&&Object.assign(x,m.value.chip,{onClick:h,onKeyup:k}),Ra("div",x,B(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Ta,e.ripple]])}}}),wo=be({name:"QItem",props:{...ze,...Ea,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:l}){const{proxy:{$q:n}}=ce(),a=Ne(e,n),{hasLink:o,linkAttrs:i,linkClass:s,linkTag:d,navigateOnClick:b}=Fa(),r=W(null),m=W(null),k=c(()=>e.clickable===!0||o.value===!0||e.tag==="label"),h=c(()=>e.disable!==!0&&k.value===!0),w=c(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(a.value===!0?" q-item--dark":"")+(o.value===!0&&e.active===null?s.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(h.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),B=c(()=>{if(e.insetLevel===void 0)return null;const p=n.lang.rtl===!0?"Right":"Left";return{["padding"+p]:16+e.insetLevel*56+"px"}});function x(p){h.value===!0&&(m.value!==null&&(p.qKeyEvent!==!0&&document.activeElement===r.value?m.value.focus():document.activeElement===m.value&&r.value.focus()),b(p))}function D(p){if(h.value===!0&&nl(p,[13,32])===!0){Me(p),p.qKeyEvent=!0;const _=new MouseEvent("click",p);_.qKeyEvent=!0,r.value.dispatchEvent(_)}l("keyup",p)}function P(){const p=Bn(t.default,[]);return h.value===!0&&p.unshift(v("div",{class:"q-focus-helper",tabindex:-1,ref:m})),p}return()=>{const p={ref:r,class:w.value,style:B.value,role:"listitem",onClick:x,onKeyup:D};return h.value===!0?(p.tabindex=e.tabindex||"0",Object.assign(p,i.value)):k.value===!0&&(p["aria-disabled"]="true"),v(d.value,p,P())}}}),xo=be({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const l=c(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>v("div",{class:l.value},pe(t.default))}}),po=be({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const l=c(()=>parseInt(e.lines,10)),n=c(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(l.value===1?" ellipsis":"")),a=c(()=>e.lines!==void 0&&l.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":l.value}:null);return()=>v("div",{style:a.value,class:n.value},pe(t.default))}});function ko(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),va.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const _o={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},Co={..._o,contextMenu:Boolean};function qo({showing:e,avoidEmit:t,configureAnchorEl:l}){const{props:n,proxy:a,emit:o}=ce(),i=W(null);let s=null;function d(h){return i.value===null?!1:h===void 0||h.touches===void 0||h.touches.length<=1}const b={};l===void 0&&(Object.assign(b,{hide(h){a.hide(h)},toggle(h){a.toggle(h),h.qAnchorHandled=!0},toggleKey(h){nl(h,13)===!0&&b.toggle(h)},contextClick(h){a.hide(h),Oe(h),ge(()=>{a.show(h),h.qAnchorHandled=!0})},prevent:Oe,mobileTouch(h){if(b.mobileCleanup(h),d(h)!==!0)return;a.hide(h),i.value.classList.add("non-selectable");const w=h.target;Nl(b,"anchor",[[w,"touchmove","mobileCleanup","passive"],[w,"touchend","mobileCleanup","passive"],[w,"touchcancel","mobileCleanup","passive"],[i.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,a.show(h),h.qAnchorHandled=!0},300)},mobileCleanup(h){i.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&h!==void 0&&ko()}}),l=function(h=n.contextMenu){if(n.noParentEvent===!0||i.value===null)return;let w;h===!0?a.$q.platform.is.mobile===!0?w=[[i.value,"touchstart","mobileTouch","passive"]]:w=[[i.value,"mousedown","hide","passive"],[i.value,"contextmenu","contextClick","notPassive"]]:w=[[i.value,"click","toggle","passive"],[i.value,"keyup","toggleKey","passive"]],Nl(b,"anchor",w)});function r(){ma(b,"anchor")}function m(h){for(i.value=h;i.value.classList.contains("q-anchor--skip");)i.value=i.value.parentNode;l()}function k(){if(n.target===!1||n.target===""||a.$el.parentNode===null)i.value=null;else if(n.target===!0)m(a.$el.parentNode);else{let h=n.target;if(typeof n.target=="string")try{h=document.querySelector(n.target)}catch{h=void 0}h!=null?(i.value=h.$el||h,l()):(i.value=null,console.error(`Anchor: target "${n.target}" not found`))}}return le(()=>n.contextMenu,h=>{i.value!==null&&(r(),l(h))}),le(()=>n.target,()=>{i.value!==null&&r(),k()}),le(()=>n.noParentEvent,h=>{i.value!==null&&(h===!0?r():l())}),Ge(()=>{k(),t!==!0&&n.modelValue===!0&&i.value===null&&o("update:modelValue",!1)}),qe(()=>{s!==null&&clearTimeout(s),r()}),{anchorEl:i,canShow:d,anchorEvents:b}}function Vo(e,t){const l=W(null);let n;function a(s,d){const b=`${d!==void 0?"add":"remove"}EventListener`,r=d!==void 0?d:n;s!==window&&s[b]("scroll",r,Te.passive),window[b]("scroll",r,Te.passive),n=d}function o(){l.value!==null&&(a(l.value),l.value=null)}const i=le(()=>e.noParentEvent,()=>{l.value!==null&&(o(),t())});return qe(i),{localScrollTarget:l,unconfigureScrollTarget:o,changeScrollEvent:a}}const Qn={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},Kn=["beforeShow","show","beforeHide","hide"];function Un({showing:e,canShow:t,hideOnRouteChange:l,handleShow:n,handleHide:a,processOnMount:o}){const i=ce(),{props:s,emit:d,proxy:b}=i;let r;function m(P){e.value===!0?w(P):k(P)}function k(P){if(s.disable===!0||P!==void 0&&P.qAnchorHandled===!0||t!==void 0&&t(P)!==!0)return;const p=s["onUpdate:modelValue"]!==void 0;p===!0&&(d("update:modelValue",!0),r=P,ge(()=>{r===P&&(r=void 0)})),(s.modelValue===null||p===!1)&&h(P)}function h(P){e.value!==!0&&(e.value=!0,d("beforeShow",P),n!==void 0?n(P):d("show",P))}function w(P){if(s.disable===!0)return;const p=s["onUpdate:modelValue"]!==void 0;p===!0&&(d("update:modelValue",!1),r=P,ge(()=>{r===P&&(r=void 0)})),(s.modelValue===null||p===!1)&&B(P)}function B(P){e.value!==!1&&(e.value=!1,d("beforeHide",P),a!==void 0?a(P):d("hide",P))}function x(P){s.disable===!0&&P===!0?s["onUpdate:modelValue"]!==void 0&&d("update:modelValue",!1):P===!0!==e.value&&(P===!0?h:B)(r)}le(()=>s.modelValue,x),l!==void 0&&Tn(i)===!0&&le(()=>b.$route.fullPath,()=>{l.value===!0&&e.value===!0&&w()}),o===!0&&Ge(()=>{x(s.modelValue)});const D={show:k,hide:w,toggle:m};return Object.assign(b,D),D}let Mo=1,Po=document.body;function Ro(e,t){const l=document.createElement("div");if(l.id=t!==void 0?`q-portal--${t}--${Mo++}`:e,jl.globalNodes!==void 0){const n=jl.globalNodes.class;n!==void 0&&(l.className=n)}return Po.appendChild(l),l}function Bo(e){e.remove()}const Bt=[];function To(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return ml(e)}else if(e.__qPortal===!0){const l=ml(e);return l!==void 0&&l.$options.name==="QPopupProxy"?(e.hide(t),l):e}e=ml(e)}while(e!=null)}const Eo=be({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function Fo(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function Zn(e,t,l,n){const a=W(!1),o=W(!1);let i=null;const s={},d=n==="dialog"&&Fo(e);function b(m){if(m===!0){Gl(s),o.value=!0;return}o.value=!1,a.value===!1&&(d===!1&&i===null&&(i=Ro(!1,n)),a.value=!0,Bt.push(e.proxy),Ka(s))}function r(m){if(o.value=!1,m!==!0)return;Gl(s),a.value=!1;const k=Bt.indexOf(e.proxy);k!==-1&&Bt.splice(k,1),i!==null&&(Bo(i),i=null)}return ga(()=>{r(!0)}),e.proxy.__qPortal=!0,Ye(e.proxy,"contentEl",()=>t.value),{showPortal:b,hidePortal:r,portalIsActive:a,portalIsAccessible:o,renderPortal:()=>d===!0?l():a.value===!0?[v(ha,{to:i},v(Eo,l))]:void 0}}const Xn={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function Yn(e,t=()=>{},l=()=>{}){return{transitionProps:c(()=>{const n=`q-transition--${e.transitionShow||t()}`,a=`q-transition--${e.transitionHide||l()}`;return{appear:!0,enterFromClass:`${n}-enter-from`,enterActiveClass:`${n}-enter-active`,enterToClass:`${n}-enter-to`,leaveFromClass:`${a}-leave-from`,leaveActiveClass:`${a}-leave-active`,leaveToClass:`${a}-leave-to`}}),transitionStyle:c(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function Gn(){let e;const t=ce();function l(){e=void 0}return Ft(l),qe(l),{removeTick:l,registerTick(n){e=n,ge(()=>{e===n&&(En(t)===!1&&e(),e=void 0)})}}}function Jn(){let e=null;const t=ce();function l(){e!==null&&(clearTimeout(e),e=null)}return Ft(l),qe(l),{removeTimeout:l,registerTimeout(n,a){l(),En(t)===!1&&(e=setTimeout(()=>{e=null,n()},a))}}}const it=[];let pt;function Ao(e){pt=e.keyCode===27}function $o(){pt===!0&&(pt=!1)}function Io(e){pt===!0&&(pt=!1,nl(e,27)===!0&&it[it.length-1](e))}function ea(e){window[e]("keydown",Ao),window[e]("blur",$o),window[e]("keyup",Io),pt=!1}function ta(e){Le.is.desktop===!0&&(it.push(e),it.length===1&&ea("addEventListener"))}function el(e){const t=it.indexOf(e);t!==-1&&(it.splice(t,1),it.length===0&&ea("removeEventListener"))}const rt=[];function la(e){rt[rt.length-1](e)}function na(e){Le.is.desktop===!0&&(rt.push(e),rt.length===1&&document.body.addEventListener("focusin",la))}function Ml(e){const t=rt.indexOf(e);t!==-1&&(rt.splice(t,1),rt.length===0&&document.body.removeEventListener("focusin",la))}const{notPassiveCapture:tl}=Te,ut=[];function ll(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let l=Bt.length-1;for(;l>=0;){const n=Bt[l].$;if(n.type.name==="QTooltip"){l--;continue}if(n.type.name!=="QDialog")break;if(n.props.seamless!==!0)return;l--}for(let n=ut.length-1;n>=0;n--){const a=ut[n];if((a.anchorEl.value===null||a.anchorEl.value.contains(t)===!1)&&(t===document.body||a.innerRef.value!==null&&a.innerRef.value.contains(t)===!1))e.qClickOutside=!0,a.onClickOutside(e);else return}}function Ho(e){ut.push(e),ut.length===1&&(document.addEventListener("mousedown",ll,tl),document.addEventListener("touchstart",ll,tl))}function nn(e){const t=ut.findIndex(l=>l===e);t!==-1&&(ut.splice(t,1),ut.length===0&&(document.removeEventListener("mousedown",ll,tl),document.removeEventListener("touchstart",ll,tl)))}let an,on;function rn(e){const t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Oo(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const Pl={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{Pl[`${e}#ltr`]=e,Pl[`${e}#rtl`]=e});function un(e,t){const l=e.split(" ");return{vertical:l[0],horizontal:Pl[`${l[1]}#${t===!0?"rtl":"ltr"}`]}}function Lo(e,t){let{top:l,left:n,right:a,bottom:o,width:i,height:s}=e.getBoundingClientRect();return t!==void 0&&(l-=t[1],n-=t[0],o+=t[1],a+=t[0],i+=t[0],s+=t[1]),{top:l,bottom:o,height:s,left:n,right:a,width:i,middle:n+(a-n)/2,center:l+(o-l)/2}}function Do(e,t,l){let{top:n,left:a}=e.getBoundingClientRect();return n+=t.top,a+=t.left,l!==void 0&&(n+=l[1],a+=l[0]),{top:n,bottom:n+1,height:1,left:a,right:a+1,width:1,middle:a,center:n}}function zo(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function sn(e,t,l,n){return{top:e[l.vertical]-t[n.vertical],left:e[l.horizontal]-t[n.horizontal]}}function aa(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{aa(e,t+1)},10);return}const{targetEl:l,offset:n,anchorEl:a,anchorOrigin:o,selfOrigin:i,absoluteOffset:s,fit:d,cover:b,maxHeight:r,maxWidth:m}=e;if(Le.is.ios===!0&&window.visualViewport!==void 0){const V=document.body.style,{offsetLeft:H,offsetTop:j}=window.visualViewport;H!==an&&(V.setProperty("--q-pe-left",H+"px"),an=H),j!==on&&(V.setProperty("--q-pe-top",j+"px"),on=j)}const{scrollLeft:k,scrollTop:h}=l,w=s===void 0?Lo(a,b===!0?[0,0]:n):Do(a,s,n);Object.assign(l.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:m||"100vw",maxHeight:r||"100vh",visibility:"visible"});const{offsetWidth:B,offsetHeight:x}=l,{elWidth:D,elHeight:P}=d===!0||b===!0?{elWidth:Math.max(w.width,B),elHeight:b===!0?Math.max(w.height,x):x}:{elWidth:B,elHeight:x};let p={maxWidth:m,maxHeight:r};(d===!0||b===!0)&&(p.minWidth=w.width+"px",b===!0&&(p.minHeight=w.height+"px")),Object.assign(l.style,p);const _=zo(D,P);let R=sn(w,_,o,i);if(s===void 0||n===void 0)Sl(R,w,_,o,i);else{const{top:V,left:H}=R;Sl(R,w,_,o,i);let j=!1;if(R.top!==V){j=!0;const q=2*n[1];w.center=w.top-=q,w.bottom-=q+2}if(R.left!==H){j=!0;const q=2*n[0];w.middle=w.left-=q,w.right-=q+2}j===!0&&(R=sn(w,_,o,i),Sl(R,w,_,o,i))}p={top:R.top+"px",left:R.left+"px"},R.maxHeight!==void 0&&(p.maxHeight=R.maxHeight+"px",w.height>R.maxHeight&&(p.minHeight=p.maxHeight)),R.maxWidth!==void 0&&(p.maxWidth=R.maxWidth+"px",w.width>R.maxWidth&&(p.minWidth=p.maxWidth)),Object.assign(l.style,p),l.scrollTop!==h&&(l.scrollTop=h),l.scrollLeft!==k&&(l.scrollLeft=k)}function Sl(e,t,l,n,a){const o=l.bottom,i=l.right,s=Aa(),d=window.innerHeight-s,b=document.body.clientWidth;if(e.top<0||e.top+o>d)if(a.vertical==="center")e.top=t[n.vertical]>d/2?Math.max(0,d-o):0,e.maxHeight=Math.min(o,d);else if(t[n.vertical]>d/2){const r=Math.min(d,n.vertical==="center"?t.center:n.vertical===a.vertical?t.bottom:t.top);e.maxHeight=Math.min(o,r),e.top=Math.max(0,r-o)}else e.top=Math.max(0,n.vertical==="center"?t.center:n.vertical===a.vertical?t.top:t.bottom),e.maxHeight=Math.min(o,d-e.top);if(e.left<0||e.left+i>b)if(e.maxWidth=Math.min(i,b),a.horizontal==="middle")e.left=t[n.horizontal]>b/2?Math.max(0,b-i):0;else if(t[n.horizontal]>b/2){const r=Math.min(b,n.horizontal==="middle"?t.middle:n.horizontal===a.horizontal?t.right:t.left);e.maxWidth=Math.min(i,r),e.left=Math.max(0,r-e.maxWidth)}else e.left=Math.max(0,n.horizontal==="middle"?t.middle:n.horizontal===a.horizontal?t.left:t.right),e.maxWidth=Math.min(i,b-e.left)}var No=be({name:"QMenu",inheritAttrs:!1,props:{...Co,...Qn,...ze,...Xn,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:rn},self:{type:String,validator:rn},offset:{type:Array,validator:Oo},scrollTarget:An,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...Kn,"click","escapeKey"],setup(e,{slots:t,emit:l,attrs:n}){let a=null,o,i,s;const d=ce(),{proxy:b}=d,{$q:r}=b,m=W(null),k=W(!1),h=c(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),w=Ne(e,r),{registerTick:B,removeTick:x}=Gn(),{registerTimeout:D}=Jn(),{transitionProps:P,transitionStyle:p}=Yn(e),{localScrollTarget:_,changeScrollEvent:R,unconfigureScrollTarget:V}=Vo(e,O),{anchorEl:H,canShow:j}=qo({showing:k}),{hide:q}=Un({showing:k,canShow:j,handleShow:te,handleHide:g,hideOnRouteChange:h,processOnMount:!0}),{showPortal:C,hidePortal:F,renderPortal:y}=Zn(d,m,oe,"menu"),z={anchorEl:H,innerRef:m,onClickOutside(T){if(e.persistent!==!0&&k.value===!0)return q(T),(T.type==="touchstart"||T.target.classList.contains("q-dialog__backdrop"))&&Me(T),!0}},K=c(()=>un(e.anchor||(e.cover===!0?"center middle":"bottom start"),r.lang.rtl)),ae=c(()=>e.cover===!0?K.value:un(e.self||"top start",r.lang.rtl)),Q=c(()=>(e.square===!0?" q-menu--square":"")+(w.value===!0?" q-menu--dark q-dark":"")),Z=c(()=>e.autoClose===!0?{onClick:G}:{}),E=c(()=>k.value===!0&&e.persistent!==!0);le(E,T=>{T===!0?(ta(M),Ho(z)):(el(M),nn(z))});function N(){ol(()=>{let T=m.value;T&&T.contains(document.activeElement)!==!0&&(T=T.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||T.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||T.querySelector("[autofocus], [data-autofocus]")||T,T.focus({preventScroll:!0}))})}function te(T){if(a=e.noRefocus===!1?document.activeElement:null,na(ne),C(),O(),o=void 0,T!==void 0&&(e.touchPosition||e.contextMenu)){const de=ba(T);if(de.left!==void 0){const{top:ke,left:je}=H.value.getBoundingClientRect();o={left:de.left-je,top:de.top-ke}}}i===void 0&&(i=le(()=>r.screen.width+"|"+r.screen.height+"|"+e.self+"|"+e.anchor+"|"+r.lang.rtl,$)),e.noFocus!==!0&&document.activeElement.blur(),B(()=>{$(),e.noFocus!==!0&&N()}),D(()=>{r.platform.is.ios===!0&&(s=e.autoClose,m.value.click()),$(),C(!0),l("show",T)},e.transitionDuration)}function g(T){x(),F(),f(!0),a!==null&&(T===void 0||T.qClickOutside!==!0)&&(((T&&T.type.indexOf("key")===0?a.closest('[tabindex]:not([tabindex^="-"])'):void 0)||a).focus(),a=null),D(()=>{F(!0),l("hide",T)},e.transitionDuration)}function f(T){o=void 0,i!==void 0&&(i(),i=void 0),(T===!0||k.value===!0)&&(Ml(ne),V(),nn(z),el(M)),T!==!0&&(a=null)}function O(){(H.value!==null||e.scrollTarget!==void 0)&&(_.value=$n(H.value,e.scrollTarget),R(_.value,$))}function G(T){s!==!0?(To(b,T),l("click",T)):s=!1}function ne(T){E.value===!0&&e.noFocus!==!0&&Fn(m.value,T.target)!==!0&&N()}function M(T){l("escapeKey"),q(T)}function $(){aa({targetEl:m.value,offset:e.offset,anchorEl:H.value,anchorOrigin:K.value,selfOrigin:ae.value,absoluteOffset:o,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function oe(){return v(Xt,P.value,()=>k.value===!0?v("div",{role:"menu",...n,ref:m,tabindex:-1,class:["q-menu q-position-engine scroll"+Q.value,n.class],style:[n.style,p.value],...Z.value},pe(t.default)):null)}return qe(f),Object.assign(b,{focus:N,updatePosition:$}),y}});function jo(e,t,l){let n;function a(){n!==void 0&&(Yt.remove(n),n=void 0)}return qe(()=>{e.value===!0&&a()}),{removeFromHistory:a,addToHistory(){n={condition:()=>l.value===!0,handler:t},Yt.add(n)}}}let Vt=0,wl,xl,Pt,pl=!1,cn,dn,fn,at=null;function Wo(e){Qo(e)&&Me(e)}function Qo(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=ya(e),l=e.shiftKey&&!e.deltaX,n=!l&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),a=l||n?e.deltaY:e.deltaX;for(let o=0;o0&&i.scrollTop+i.clientHeight===i.scrollHeight:a<0&&i.scrollLeft===0?!0:a>0&&i.scrollLeft+i.clientWidth===i.scrollWidth}return!0}function vn(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function Qt(e){pl!==!0&&(pl=!0,requestAnimationFrame(()=>{pl=!1;const{height:t}=e.target,{clientHeight:l,scrollTop:n}=document.scrollingElement;(Pt===void 0||t!==window.innerHeight)&&(Pt=l-t,document.scrollingElement.scrollTop=n),n>Pt&&(document.scrollingElement.scrollTop-=Math.ceil((n-Pt)/8))}))}function mn(e){const t=document.body,l=window.visualViewport!==void 0;if(e==="add"){const{overflowY:n,overflowX:a}=window.getComputedStyle(t);wl=$a(window),xl=Ia(window),cn=t.style.left,dn=t.style.top,fn=window.location.href,t.style.left=`-${wl}px`,t.style.top=`-${xl}px`,a!=="hidden"&&(a==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),n!=="hidden"&&(n==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Le.is.ios===!0&&(l===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",Qt,Te.passiveCapture),window.visualViewport.addEventListener("scroll",Qt,Te.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",vn,Te.passiveCapture))}Le.is.desktop===!0&&Le.is.mac===!0&&window[`${e}EventListener`]("wheel",Wo,Te.notPassive),e==="remove"&&(Le.is.ios===!0&&(l===!0?(window.visualViewport.removeEventListener("resize",Qt,Te.passiveCapture),window.visualViewport.removeEventListener("scroll",Qt,Te.passiveCapture)):window.removeEventListener("scroll",vn,Te.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=cn,t.style.top=dn,window.location.href===fn&&window.scrollTo(wl,xl),Pt=void 0)}function Ko(e){let t="add";if(e===!0){if(Vt++,at!==null){clearTimeout(at),at=null;return}if(Vt>1)return}else{if(Vt===0||(Vt--,Vt>0))return;if(t="remove",Le.is.ios===!0&&Le.is.nativeMobile===!0){at!==null&&clearTimeout(at),at=setTimeout(()=>{mn(t),at=null},100);return}}mn(t)}function Uo(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,Ko(t))}}}let Kt=0;const Zo={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},gn={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]};var Xo=be({name:"QDialog",inheritAttrs:!1,props:{...Qn,...Xn,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...Kn,"shake","click","escapeKey"],setup(e,{slots:t,emit:l,attrs:n}){const a=ce(),o=W(null),i=W(!1),s=W(!1);let d=null,b=null,r,m;const k=c(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:h}=Uo(),{registerTimeout:w}=Jn(),{registerTick:B,removeTick:x}=Gn(),{transitionProps:D,transitionStyle:P}=Yn(e,()=>gn[e.position][0],()=>gn[e.position][1]),p=c(()=>P.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:_,hidePortal:R,portalIsAccessible:V,renderPortal:H}=Zn(a,o,ne,"dialog"),{hide:j}=Un({showing:i,hideOnRouteChange:k,handleShow:ae,handleHide:Q,processOnMount:!0}),{addToHistory:q,removeFromHistory:C}=jo(i,j,k),F=c(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${Zo[e.position]}`+(s.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),y=c(()=>i.value===!0&&e.seamless!==!0),z=c(()=>e.autoClose===!0?{onClick:f}:{}),K=c(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${y.value===!0?"modal":"seamless"}`,n.class]);le(()=>e.maximized,M=>{i.value===!0&&g(M)}),le(y,M=>{h(M),M===!0?(na(G),ta(N)):(Ml(G),el(N))});function ae(M){q(),b=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,g(e.maximized),_(),s.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),B(Z)):x(),w(()=>{if(a.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:$,bottom:oe}=document.activeElement.getBoundingClientRect(),{innerHeight:T}=window,de=window.visualViewport!==void 0?window.visualViewport.height:T;$>0&&oe>de/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-de,oe>=T?1/0:Math.ceil(document.scrollingElement.scrollTop+oe-de/2))),document.activeElement.scrollIntoView()}m=!0,o.value.click(),m=!1}_(!0),s.value=!1,l("show",M)},e.transitionDuration)}function Q(M){x(),C(),te(!0),s.value=!0,R(),b!==null&&(((M&&M.type.indexOf("key")===0?b.closest('[tabindex]:not([tabindex^="-"])'):void 0)||b).focus(),b=null),w(()=>{R(!0),s.value=!1,l("hide",M)},e.transitionDuration)}function Z(M){ol(()=>{let $=o.value;if($!==null){if(M!==void 0){const oe=$.querySelector(M);if(oe!==null){oe.focus({preventScroll:!0});return}}$.contains(document.activeElement)!==!0&&($=$.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||$.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||$.querySelector("[autofocus], [data-autofocus]")||$,$.focus({preventScroll:!0}))}})}function E(M){M&&typeof M.focus=="function"?M.focus({preventScroll:!0}):Z(),l("shake");const $=o.value;$!==null&&($.classList.remove("q-animate--scale"),$.classList.add("q-animate--scale"),d!==null&&clearTimeout(d),d=setTimeout(()=>{d=null,o.value!==null&&($.classList.remove("q-animate--scale"),Z())},170))}function N(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&E():(l("escapeKey"),j()))}function te(M){d!==null&&(clearTimeout(d),d=null),(M===!0||i.value===!0)&&(g(!1),e.seamless!==!0&&(h(!1),Ml(G),el(N))),M!==!0&&(b=null)}function g(M){M===!0?r!==!0&&(Kt<1&&document.body.classList.add("q-body--dialog"),Kt++,r=!0):r===!0&&(Kt<2&&document.body.classList.remove("q-body--dialog"),Kt--,r=!1)}function f(M){m!==!0&&(j(M),l("click",M))}function O(M){e.persistent!==!0&&e.noBackdropDismiss!==!0?j(M):e.noShake!==!0&&E()}function G(M){e.allowFocusOutside!==!0&&V.value===!0&&Fn(o.value,M.target)!==!0&&Z('[tabindex]:not([tabindex="-1"])')}Object.assign(a.proxy,{focus:Z,shake:E,__updateRefocusTarget(M){b=M||null}}),qe(te);function ne(){return v("div",{role:"dialog","aria-modal":y.value===!0?"true":"false",...n,class:K.value},[v(Xt,{name:"q-transition--fade",appear:!0},()=>y.value===!0?v("div",{class:"q-dialog__backdrop fixed-full",style:p.value,"aria-hidden":"true",tabindex:-1,onClick:O}):null),v(Xt,D.value,()=>i.value===!0?v("div",{ref:o,class:F.value,style:P.value,tabindex:-1,...z.value},pe(t.default)):null)])}return H}});function hn(e,t,l){if(l<=t)return t;const n=l-t+1;let a=t+(e-t)%n;return a["add","add-unique","toggle"].includes(e),Yo=".*+?^${}()|[]\\",Go=Object.keys(il);var Jo=be({name:"QSelect",inheritAttrs:!1,props:{...Vl,...Hl,...il,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:bn},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:Vl.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...Al,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:l}){const{proxy:n}=ce(),{$q:a}=n,o=W(!1),i=W(!1),s=W(-1),d=W(""),b=W(!1),r=W(!1);let m=null,k=null,h,w,B,x=null,D,P,p,_;const R=W(null),V=W(null),H=W(null),j=W(null),q=W(null),C=On(e),F=Ln(L),y=c(()=>Array.isArray(e.options)?e.options.length:0),z=c(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:K,virtualScrollSliceSizeComputed:ae,localResetVirtualScroll:Q,padVirtualScroll:Z,onVirtualScrollEvt:E,scrollTo:N,setVirtualScrollSize:te}=Wn({virtualScrollLength:y,getVirtualScrollTarget:sl,getVirtualScrollEl:Lt,virtualScrollItemSizeComputed:z}),g=$l(),f=c(()=>{const u=e.mapOptions===!0&&e.multiple!==!0,I=e.modelValue!==void 0&&(e.modelValue!==null||u===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const A=e.mapOptions===!0&&h!==void 0?h:[],J=I.map(se=>ul(se,A));return e.modelValue===null&&u===!0?J.filter(se=>se!==null):J}return I}),O=c(()=>{const u={};return Go.forEach(I=>{const A=e[I];A!==void 0&&(u[I]=A)}),u}),G=c(()=>e.optionsDark===null?g.isDark.value:e.optionsDark),ne=c(()=>Et(f.value)),M=c(()=>{let u="q-field__input q-placeholder col";return e.hideSelected===!0||f.value.length===0?[u,e.inputClass]:(u+=" q-field__input--padding",e.inputClass===void 0?u:[u,e.inputClass])}),$=c(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),oe=c(()=>y.value===0),T=c(()=>f.value.map(u=>Ce.value(u)).join(", ")),de=c(()=>e.displayValue!==void 0?e.displayValue:T.value),ke=c(()=>e.optionsHtml===!0?()=>!0:u=>u!=null&&u.html===!0),je=c(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||f.value.some(ke.value))),_e=c(()=>g.focused.value===!0?e.tabindex:-1),We=c(()=>{const u={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":o.value===!0?"true":"false","aria-controls":`${g.targetUid.value}_lb`};return s.value>=0&&(u["aria-activedescendant"]=`${g.targetUid.value}_${s.value}`),u}),Ee=c(()=>({id:`${g.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),Fe=c(()=>f.value.map((u,I)=>({index:I,opt:u,html:ke.value(u),selected:!0,removeAtIndex:rl,toggleOption:Ae,tabindex:_e.value}))),Qe=c(()=>{if(y.value===0)return[];const{from:u,to:I}=K.value;return e.options.slice(u,I).map((A,J)=>{const se=Ke.value(A)===!0,ue=dt(A)===!0,ye=u+J,me={clickable:!0,active:ue,activeClass:et.value,manualFocus:!0,focused:!1,disable:se,tabindex:-1,dense:e.optionsDense,dark:G.value,role:"option","aria-selected":ue===!0?"true":"false",id:`${g.targetUid.value}_${ye}`,onClick:()=>{Ae(A)}};return se!==!0&&(s.value===ye&&(me.focused=!0),a.platform.is.desktop===!0&&(me.onMousemove=()=>{o.value===!0&&Ve(ye)})),{index:ye,opt:A,html:ke.value(A),label:Ce.value(A),selected:me.active,focused:me.focused,toggleOption:Ae,setOptionIndex:Ve,itemProps:me}})}),Je=c(()=>e.dropdownIcon!==void 0?e.dropdownIcon:a.iconSet.arrow.dropdown),kt=c(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),et=c(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),Re=c(()=>ct(e.optionValue,"value")),Ce=c(()=>ct(e.optionLabel,"label")),Ke=c(()=>ct(e.optionDisable,"disable")),tt=c(()=>f.value.map(u=>Re.value(u))),At=c(()=>{const u={onInput:L,onChange:F,onKeydown:Ot,onKeyup:_t,onKeypress:lt,onFocus:Ht,onClick(I){w===!0&&Xe(I)}};return u.onCompositionstart=u.onCompositionupdate=u.onCompositionend=F,u});le(f,u=>{h=u,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&g.innerLoading.value!==!0&&(i.value!==!0&&o.value!==!0||ne.value!==!0)&&(B!==!0&&bt(),(i.value===!0||o.value===!0)&&ee(""))},{immediate:!0}),le(()=>e.fillInput,bt),le(o,fl),le(y,sa);function $t(u){return e.emitValue===!0?Re.value(u):u}function st(u){if(u!==-1&&u=e.maxValues)return;const J=e.modelValue.slice();l("add",{index:J.length,value:A}),J.push(A),l("update:modelValue",J)}function Ae(u,I){if(g.editable.value!==!0||u===void 0||Ke.value(u)===!0)return;const A=Re.value(u);if(e.multiple!==!0){I!==!0&&(X(e.fillInput===!0?Ce.value(u):"",!0,!0),nt()),V.value!==null&&V.value.focus(),(f.value.length===0||Ct(Re.value(f.value[0]),A)!==!0)&&l("update:modelValue",e.emitValue===!0?A:u);return}if((w!==!0||b.value===!0)&&g.focus(),Ht(),f.value.length===0){const ue=e.emitValue===!0?A:u;l("add",{index:0,value:ue}),l("update:modelValue",e.multiple===!0?[ue]:ue);return}const J=e.modelValue.slice(),se=tt.value.findIndex(ue=>Ct(ue,A));if(se!==-1)l("remove",{index:se,value:J.splice(se,1)[0]});else{if(e.maxValues!==void 0&&J.length>=e.maxValues)return;const ue=e.emitValue===!0?A:u;l("add",{index:J.length,value:ue}),J.push(ue)}l("update:modelValue",J)}function Ve(u){if(a.platform.is.desktop!==!0)return;const I=u!==-1&&u=0?Ce.value(e.options[A]):D,!0))}}function ul(u,I){const A=J=>Ct(Re.value(J),u);return e.options.find(A)||I.find(A)||u}function ct(u,I){const A=u!==void 0?u:I;return typeof A=="function"?A:J=>J!==null&&typeof J=="object"&&A in J?J[A]:J}function dt(u){const I=Re.value(u);return tt.value.find(A=>Ct(A,I))!==void 0}function Ht(u){e.useInput===!0&&V.value!==null&&(u===void 0||V.value===u.target&&u.target.value===T.value)&&V.value.select()}function ft(u){nl(u,27)===!0&&o.value===!0&&(Xe(u),nt(),bt()),l("keyup",u)}function _t(u){const{value:I}=u.target;if(u.keyCode!==void 0){ft(u);return}if(u.target.value="",m!==null&&(clearTimeout(m),m=null),k!==null&&(clearTimeout(k),k=null),bt(),typeof I=="string"&&I.length!==0){const A=I.toLocaleLowerCase(),J=ue=>{const ye=e.options.find(me=>ue.value(me).toLocaleLowerCase()===A);return ye===void 0?!1:(f.value.indexOf(ye)===-1?Ae(ye):nt(),!0)},se=ue=>{J(Re)!==!0&&(J(Ce)===!0||ue===!0||ee(I,!0,()=>se(!0)))};se()}else g.clearValue(u)}function lt(u){l("keypress",u)}function Ot(u){if(l("keydown",u),Rn(u)===!0)return;const I=d.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),A=u.shiftKey!==!0&&e.multiple!==!0&&(s.value!==-1||I===!0);if(u.keyCode===27){Oe(u);return}if(u.keyCode===9&&A===!1){gt();return}if(u.target===void 0||u.target.id!==g.targetUid.value||g.editable.value!==!0)return;if(u.keyCode===40&&g.innerLoading.value!==!0&&o.value===!1){Me(u),ht();return}if(u.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&d.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?st(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&l("update:modelValue",null);return}(u.keyCode===35||u.keyCode===36)&&(typeof d.value!="string"||d.value.length===0)&&(Me(u),s.value=-1,$e(u.keyCode===36?1:-1,e.multiple)),(u.keyCode===33||u.keyCode===34)&&ae.value!==void 0&&(Me(u),s.value=Math.max(-1,Math.min(y.value,s.value+(u.keyCode===33?-1:1)*ae.value.view)),$e(u.keyCode===33?1:-1,e.multiple)),(u.keyCode===38||u.keyCode===40)&&(Me(u),$e(u.keyCode===38?-1:1,e.multiple));const J=y.value;if((p===void 0||_0&&e.useInput!==!0&&u.key!==void 0&&u.key.length===1&&u.altKey===!1&&u.ctrlKey===!1&&u.metaKey===!1&&(u.keyCode!==32||p.length!==0)){o.value!==!0&&ht(u);const se=u.key.toLocaleLowerCase(),ue=p.length===1&&p[0]===se;_=Date.now()+1500,ue===!1&&(Me(u),p+=se);const ye=new RegExp("^"+p.split("").map(vl=>Yo.indexOf(vl)!==-1?"\\"+vl:vl).join(".*"),"i");let me=s.value;if(ue===!0||me<0||ye.test(Ce.value(e.options[me]))!==!0)do me=hn(me+1,-1,J-1);while(me!==s.value&&(Ke.value(e.options[me])===!0||ye.test(Ce.value(e.options[me]))!==!0));s.value!==me&&ge(()=>{Ve(me),N(me),me>=0&&e.useInput===!0&&e.fillInput===!0&&U(Ce.value(e.options[me]),!0)});return}if(!(u.keyCode!==13&&(u.keyCode!==32||e.useInput===!0||p!=="")&&(u.keyCode!==9||A===!1))){if(u.keyCode!==9&&Me(u),s.value!==-1&&s.value{if(ye){if(bn(ye)!==!0)return}else ye=e.newValueMode;if(X("",e.multiple!==!0,!0),ue==null)return;(ye==="toggle"?Ae:It)(ue,ye==="add-unique"),e.multiple!==!0&&(V.value!==null&&V.value.focus(),nt())};if(e.onNewValue!==void 0?l("newValue",d.value,se):se(d.value),e.multiple!==!0)return}o.value===!0?gt():g.innerLoading.value!==!0&&ht()}}function Lt(){return w===!0?q.value:H.value!==null&&H.value.contentEl!==null?H.value.contentEl:void 0}function sl(){return Lt()}function cl(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?Fe.value.map(u=>t["selected-item"](u)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?Fe.value.map((u,I)=>v(So,{key:"option-"+I,removable:g.editable.value===!0&&Ke.value(u.opt)!==!0,dense:!0,textColor:e.color,tabindex:_e.value,onRemove(){u.removeAtIndex(I)}},()=>v("span",{class:"ellipsis",[u.html===!0?"innerHTML":"textContent"]:Ce.value(u.opt)}))):[v("span",{[je.value===!0?"innerHTML":"textContent"]:de.value})]}function Dt(){if(oe.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:d.value}):void 0;const u=t.option!==void 0?t.option:A=>v(wo,{key:A.index,...A.itemProps},()=>v(xo,()=>v(po,()=>v("span",{[A.html===!0?"innerHTML":"textContent"]:A.label}))));let I=Z("div",Qe.value.map(u));return t["before-options"]!==void 0&&(I=t["before-options"]().concat(I)),al(t["after-options"],I)}function S(u,I){const A=I===!0?{...We.value,...g.splitAttrs.attributes.value}:void 0,J={ref:I===!0?V:void 0,key:"i_t",class:M.value,style:e.inputStyle,value:d.value!==void 0?d.value:"",type:"search",...A,id:I===!0?g.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":u===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...At.value};return u!==!0&&w===!0&&(Array.isArray(J.class)===!0?J.class=[...J.class,"no-pointer-events"]:J.class+=" no-pointer-events"),v("input",J)}function L(u){m!==null&&(clearTimeout(m),m=null),k!==null&&(clearTimeout(k),k=null),!(u&&u.target&&u.target.qComposing===!0)&&(U(u.target.value||""),B=!0,D=d.value,g.focused.value!==!0&&(w!==!0||b.value===!0)&&g.focus(),e.onFilter!==void 0&&(m=setTimeout(()=>{m=null,ee(d.value)},e.inputDebounce)))}function U(u,I){d.value!==u&&(d.value=u,I===!0||e.inputDebounce===0||e.inputDebounce==="0"?l("inputValue",u):k=setTimeout(()=>{k=null,l("inputValue",u)},e.inputDebounce))}function X(u,I,A){B=A!==!0,e.useInput===!0&&(U(u,!0),(I===!0||A!==!0)&&(D=u),I!==!0&&ee(u))}function ee(u,I,A){if(e.onFilter===void 0||I!==!0&&g.focused.value!==!0)return;g.innerLoading.value===!0?l("filterAbort"):(g.innerLoading.value=!0,r.value=!0),u!==""&&e.multiple!==!0&&f.value.length!==0&&B!==!0&&u===Ce.value(f.value[0])&&(u="");const J=setTimeout(()=>{o.value===!0&&(o.value=!1)},10);x!==null&&clearTimeout(x),x=J,l("filter",u,(se,ue)=>{(I===!0||g.focused.value===!0)&&x===J&&(clearTimeout(x),typeof se=="function"&&se(),r.value=!1,ge(()=>{g.innerLoading.value=!1,g.editable.value===!0&&(I===!0?o.value===!0&&nt():o.value===!0?fl(!0):o.value=!0),typeof ue=="function"&&ge(()=>{ue(n)}),typeof A=="function"&&ge(()=>{A(n)})}))},()=>{g.focused.value===!0&&x===J&&(clearTimeout(x),g.innerLoading.value=!1,r.value=!1),o.value===!0&&(o.value=!1)})}function ve(){return v(No,{ref:H,class:$.value,style:e.popupContentStyle,modelValue:o.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&oe.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:G.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:kt.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...Ee.value,onScrollPassive:E,onBeforeShow:Ll,onBeforeHide:fe,onShow:Ie},Dt)}function fe(u){Dl(u),gt()}function Ie(){te()}function we(u){Xe(u),V.value!==null&&V.value.focus(),b.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function vt(u){Xe(u),ge(()=>{b.value=!1})}function mt(){const u=[v(bo,{class:`col-auto ${g.fieldClass.value}`,...O.value,for:g.targetUid.value,dark:G.value,square:!0,loading:r.value,itemAligned:!1,filled:!0,stackLabel:d.value.length!==0,...g.splitAttrs.listeners.value,onFocus:we,onBlur:vt},{...t,rawControl:()=>g.getControl(!0),before:void 0,after:void 0})];return o.value===!0&&u.push(v("div",{ref:q,class:$.value+" scroll",style:e.popupContentStyle,...Ee.value,onClick:Oe,onScrollPassive:E},Dt())),v(Xo,{ref:j,modelValue:i.value,position:e.useInput===!0?"top":void 0,transitionShow:P,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:Ll,onBeforeHide:dl,onHide:ra,onShow:ua},()=>v("div",{class:"q-select__dialog"+(G.value===!0?" q-select__dialog--dark q-dark":"")+(b.value===!0?" q-select__dialog--focused":"")},u))}function dl(u){Dl(u),j.value!==null&&j.value.__updateRefocusTarget(g.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),g.focused.value=!1}function ra(u){nt(),g.focused.value===!1&&l("blur",u),bt()}function ua(){const u=document.activeElement;(u===null||u.id!==g.targetUid.value)&&V.value!==null&&V.value!==u&&V.value.focus(),te()}function gt(){i.value!==!0&&(s.value=-1,o.value===!0&&(o.value=!1),g.focused.value===!1&&(x!==null&&(clearTimeout(x),x=null),g.innerLoading.value===!0&&(l("filterAbort"),g.innerLoading.value=!1,r.value=!1)))}function ht(u){g.editable.value===!0&&(w===!0?(g.onControlFocusin(u),i.value=!0,ge(()=>{g.focus()})):g.focus(),e.onFilter!==void 0?ee(d.value):(oe.value!==!0||t["no-option"]!==void 0)&&(o.value=!0))}function nt(){i.value=!1,gt()}function bt(){e.useInput===!0&&X(e.multiple!==!0&&e.fillInput===!0&&f.value.length!==0&&Ce.value(f.value[0])||"",!0,!0)}function fl(u){let I=-1;if(u===!0){if(f.value.length!==0){const A=Re.value(f.value[0]);I=e.options.findIndex(J=>Ct(Re.value(J),A))}Q(I)}Ve(I)}function sa(u,I){o.value===!0&&g.innerLoading.value===!1&&(Q(-1,!0),ge(()=>{o.value===!0&&g.innerLoading.value===!1&&(u>I?Q():fl(!0))}))}function Ol(){i.value===!1&&H.value!==null&&H.value.updatePosition()}function Ll(u){u!==void 0&&Xe(u),l("popupShow",u),g.hasPopupOpen=!0,g.onControlFocusin(u)}function Dl(u){u!==void 0&&Xe(u),l("popupHide",u),g.hasPopupOpen=!1,g.onControlFocusout(u)}function zl(){w=a.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||oe.value===!1:!0),P=a.platform.is.ios===!0&&w===!0&&e.useInput===!0?"fade":e.transitionShow}return Mn(zl),Sa(Ol),zl(),qe(()=>{m!==null&&clearTimeout(m),k!==null&&clearTimeout(k)}),Object.assign(n,{showPopup:ht,hidePopup:nt,removeAtIndex:st,add:It,toggleOption:Ae,getOptionIndex:()=>s.value,setOptionIndex:Ve,moveOptionSelection:$e,filter:ee,updateMenuPosition:Ol,updateInputValue:X,isOptionSelected:dt,getEmittingOptionValue:$t,isOptionDisabled:(...u)=>Ke.value.apply(null,u)===!0,getOptionValue:(...u)=>Re.value.apply(null,u),getOptionLabel:(...u)=>Ce.value.apply(null,u)}),Object.assign(g,{innerValue:f,fieldClass:c(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:R,targetRef:V,hasValue:ne,showPopup:ht,floatingLabel:c(()=>e.hideSelected!==!0&&ne.value===!0||typeof d.value=="number"||d.value.length!==0||Et(e.displayValue)),getControlChild:()=>{if(g.editable.value!==!1&&(i.value===!0||oe.value!==!0||t["no-option"]!==void 0))return w===!0?mt():ve();g.hasPopupOpen===!0&&(g.hasPopupOpen=!1)},controlEvents:{onFocusin(u){g.onControlFocusin(u)},onFocusout(u){g.onControlFocusout(u,()=>{bt(),gt()})},onClick(u){if(Oe(u),w!==!0&&o.value===!0){gt(),V.value!==null&&V.value.focus();return}ht(u)}},getControl:u=>{const I=cl(),A=u===!0||i.value!==!0||w!==!0;if(e.useInput===!0)I.push(S(u,A));else if(g.editable.value===!0){const se=A===!0?We.value:void 0;I.push(v("input",{ref:A===!0?V:void 0,key:"d_t",class:"q-select__focus-target",id:A===!0?g.targetUid.value:void 0,value:de.value,readonly:!0,"data-autofocus":u===!0||e.autofocus===!0||void 0,...se,onKeydown:Ot,onKeyup:ft,onKeypress:lt})),A===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&I.push(v("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:_t}))}if(C.value!==void 0&&e.disable!==!0&&tt.value.length!==0){const se=tt.value.map(ue=>v("option",{value:ue,selected:!0}));I.push(v("select",{class:"hidden",name:C.value,multiple:e.multiple},se))}const J=e.useInput===!0||A!==!0?void 0:g.splitAttrs.attributes.value;return v("div",{class:"q-field__native row items-center",...J,...g.splitAttrs.listeners.value},I)},getInnerAppend:()=>e.loading!==!0&&r.value!==!0&&e.hideDropdownIcon!==!0?[v(De,{class:"q-select__dropdown-icon"+(o.value===!0?" rotate-180":""),name:Je.value})]:null}),Il(g)}});const ei={xs:2,sm:4,md:6,lg:10,xl:14};function yn(e,t,l){return{transform:t===!0?`translateX(${l.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}var ti=be({name:"QLinearProgress",props:{...ze,...El,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:l}=ce(),n=Ne(e,l.$q),a=Fl(e,ei),o=c(()=>e.indeterminate===!0||e.query===!0),i=c(()=>e.reverse!==e.query),s=c(()=>({...a.value!==null?a.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`})),d=c(()=>"q-linear-progress"+(e.color!==void 0?` text-${e.color}`:"")+(e.reverse===!0||e.query===!0?" q-linear-progress--reverse":"")+(e.rounded===!0?" rounded-borders":"")),b=c(()=>yn(e.buffer!==void 0?e.buffer:1,i.value,l.$q)),r=c(()=>`with${e.instantFeedback===!0?"out":""}-transition`),m=c(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${r.value} q-linear-progress__track--${n.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),k=c(()=>yn(o.value===!0?1:e.value,i.value,l.$q)),h=c(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${r.value} q-linear-progress__model--${o.value===!0?"in":""}determinate`),w=c(()=>({width:`${e.value*100}%`})),B=c(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${r.value}`);return()=>{const x=[v("div",{class:m.value,style:b.value}),v("div",{class:h.value,style:k.value})];return e.stripe===!0&&o.value===!1&&x.push(v("div",{class:B.value,style:w.value})),v("div",{class:d.value,style:s.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":e.indeterminate===!0?void 0:e.value},al(t.default,x))}}});function li(e,t){const l=W(null),n=c(()=>e.disable===!0?null:v("span",{ref:l,class:"no-outline",tabindex:-1}));function a(o){const i=t.value;o!==void 0&&o.type.indexOf("key")===0?i!==null&&document.activeElement!==i&&i.contains(document.activeElement)===!0&&i.focus():l.value!==null&&(o===void 0||i!==null&&i.contains(o.target)===!0)&&l.value.focus()}return{refocusTargetEl:n,refocusTarget:a}}var ni={xs:30,sm:35,md:40,lg:50,xl:60};const ai={...ze,...El,...Hl,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>e==="tf"||e==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},oi=["update:modelValue"];function ii(e,t){const{props:l,slots:n,emit:a,proxy:o}=ce(),{$q:i}=o,s=Ne(l,i),d=W(null),{refocusTargetEl:b,refocusTarget:r}=li(l,d),m=Fl(l,ni),k=c(()=>l.val!==void 0&&Array.isArray(l.modelValue)),h=c(()=>{const y=yt(l.val);return k.value===!0?l.modelValue.findIndex(z=>yt(z)===y):-1}),w=c(()=>k.value===!0?h.value!==-1:yt(l.modelValue)===yt(l.trueValue)),B=c(()=>k.value===!0?h.value===-1:yt(l.modelValue)===yt(l.falseValue)),x=c(()=>w.value===!1&&B.value===!1),D=c(()=>l.disable===!0?-1:l.tabindex||0),P=c(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(l.disable===!0?" disabled":"")+(s.value===!0?` q-${e}--dark`:"")+(l.dense===!0?` q-${e}--dense`:"")+(l.leftLabel===!0?" reverse":"")),p=c(()=>{const y=w.value===!0?"truthy":B.value===!0?"falsy":"indet",z=l.color!==void 0&&(l.keepColor===!0||(e==="toggle"?w.value===!0:B.value!==!0))?` text-${l.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${y}${z}`}),_=c(()=>{const y={type:"checkbox"};return l.name!==void 0&&Object.assign(y,{".checked":w.value,"^checked":w.value===!0?"checked":void 0,name:l.name,value:k.value===!0?l.val:l.trueValue}),y}),R=Ja(_),V=c(()=>{const y={tabindex:D.value,role:e==="toggle"?"switch":"checkbox","aria-label":l.label,"aria-checked":x.value===!0?"mixed":w.value===!0?"true":"false"};return l.disable===!0&&(y["aria-disabled"]="true"),y});function H(y){y!==void 0&&(Me(y),r(y)),l.disable!==!0&&a("update:modelValue",j(),y)}function j(){if(k.value===!0){if(w.value===!0){const y=l.modelValue.slice();return y.splice(h.value,1),y}return l.modelValue.concat([l.val])}if(w.value===!0){if(l.toggleOrder!=="ft"||l.toggleIndeterminate===!1)return l.falseValue}else if(B.value===!0){if(l.toggleOrder==="ft"||l.toggleIndeterminate===!1)return l.trueValue}else return l.toggleOrder!=="ft"?l.trueValue:l.falseValue;return l.indeterminateValue}function q(y){(y.keyCode===13||y.keyCode===32)&&Me(y)}function C(y){(y.keyCode===13||y.keyCode===32)&&H(y)}const F=t(w,x);return Object.assign(o,{toggle:H}),()=>{const y=F();l.disable!==!0&&R(y,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const z=[v("div",{class:p.value,style:m.value,"aria-hidden":"true"},y)];b.value!==null&&z.push(b.value);const K=l.label!==void 0?al(n.default,[l.label]):pe(n.default);return K!==void 0&&z.push(v("div",{class:`q-${e}__label q-anchor--skip`},K)),v("div",{ref:d,class:P.value,...V.value,onClick:H,onKeydown:q,onKeyup:C},z)}}const ri=v("div",{key:"svg",class:"q-checkbox__bg absolute"},[v("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[v("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),v("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]);var kl=be({name:"QCheckbox",props:ai,emits:oi,setup(e){function t(l,n){const a=c(()=>(l.value===!0?e.checkedIcon:n.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>a.value!==null?[v("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[v(De,{class:"q-checkbox__icon",name:a.value})])]:[ri]}return ii("checkbox",t)}});let Mt=0;const ui={fullscreen:Boolean,noRouteFullscreenExit:Boolean},si=["update:fullscreen","fullscreen"];function ci(){const e=ce(),{props:t,emit:l,proxy:n}=e;let a,o,i;const s=W(!1);Tn(e)===!0&&le(()=>n.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&r()}),le(()=>t.fullscreen,m=>{s.value!==m&&d()}),le(s,m=>{l("update:fullscreen",m),l("fullscreen",m)});function d(){s.value===!0?r():b()}function b(){s.value!==!0&&(s.value=!0,i=n.$el.parentNode,i.replaceChild(o,n.$el),document.body.appendChild(n.$el),Mt++,Mt===1&&document.body.classList.add("q-body--fullscreen-mixin"),a={handler:r},Yt.add(a))}function r(){s.value===!0&&(a!==void 0&&(Yt.remove(a),a=void 0),i.replaceChild(n.$el,o),s.value=!1,Mt=Math.max(0,Mt-1),Mt===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),n.$el.scrollIntoView!==void 0&&setTimeout(()=>{n.$el.scrollIntoView()})))}return Bl(()=>{o=document.createElement("span")}),Ge(()=>{t.fullscreen===!0&&b()}),qe(r),Object.assign(n,{toggleFullscreen:d,setFullscreen:b,exitFullscreen:r}),{inFullscreen:s,toggleFullscreen:d}}function di(e,t){return new Date(e)-new Date(t)}const fi={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>e==="ad"||e==="da",default:"ad"}};function vi(e,t,l,n){const a=c(()=>{const{sortBy:s}=t.value;return s&&l.value.find(d=>d.name===s)||null}),o=c(()=>e.sortMethod!==void 0?e.sortMethod:(s,d,b)=>{const r=l.value.find(h=>h.name===d);if(r===void 0||r.field===void 0)return s;const m=b===!0?-1:1,k=typeof r.field=="function"?h=>r.field(h):h=>h[r.field];return s.sort((h,w)=>{let B=k(h),x=k(w);return r.rawSort!==void 0?r.rawSort(B,x,h,w)*m:B==null?-1*m:x==null?1*m:r.sort!==void 0?r.sort(B,x,h,w)*m:_l(B)===!0&&_l(x)===!0?(B-x)*m:Wl(B)===!0&&Wl(x)===!0?di(B,x)*m:typeof B=="boolean"&&typeof x=="boolean"?(B-x)*m:([B,x]=[B,x].map(D=>(D+"").toLocaleString().toLowerCase()),Bk.name===s);m!==void 0&&m.sortOrder&&(d=m.sortOrder)}let{sortBy:b,descending:r}=t.value;b!==s?(b=s,r=d==="da"):e.binaryStateSort===!0?r=!r:r===!0?d==="ad"?b=null:r=!1:d==="ad"?r=!0:b=null,n({sortBy:b,descending:r,page:1})}return{columnToSort:a,computedSortMethod:o,sort:i}}const mi={filter:[String,Object],filterMethod:Function};function gi(e,t){const l=c(()=>e.filterMethod!==void 0?e.filterMethod:(n,a,o,i)=>{const s=a?a.toLowerCase():"";return n.filter(d=>o.some(b=>{const r=i(b,d)+"";return(r==="undefined"||r==="null"?"":r.toLowerCase()).indexOf(s)!==-1}))});return le(()=>e.filter,()=>{ge(()=>{t({page:1},!0)})},{deep:!0}),{computedFilterMethod:l}}function hi(e,t){for(const l in t)if(t[l]!==e[l])return!1;return!0}function Sn(e){return e.page<1&&(e.page=1),e.rowsPerPage!==void 0&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const bi={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function yi(e,t){const{props:l,emit:n}=e,a=W(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:l.rowsPerPageOptions.length!==0?l.rowsPerPageOptions[0]:5},l.pagination)),o=c(()=>{const r=l["onUpdate:pagination"]!==void 0?{...a.value,...l.pagination}:a.value;return Sn(r)}),i=c(()=>o.value.rowsNumber!==void 0);function s(r){d({pagination:r,filter:l.filter})}function d(r={}){ge(()=>{n("request",{pagination:r.pagination||o.value,filter:r.filter||l.filter,getCellValue:t})})}function b(r,m){const k=Sn({...o.value,...r});if(hi(o.value,k)===!0){i.value===!0&&m===!0&&s(k);return}if(i.value===!0){s(k);return}l.pagination!==void 0&&l["onUpdate:pagination"]!==void 0?n("update:pagination",k):a.value=k}return{innerPagination:a,computedPagination:o,isServerSide:i,requestServerInteraction:d,setPagination:b}}function Si(e,t,l,n,a,o){const{props:i,emit:s,proxy:{$q:d}}=e,b=c(()=>n.value===!0?l.value.rowsNumber||0:o.value),r=c(()=>{const{page:_,rowsPerPage:R}=l.value;return(_-1)*R}),m=c(()=>{const{page:_,rowsPerPage:R}=l.value;return _*R}),k=c(()=>l.value.page===1),h=c(()=>l.value.rowsPerPage===0?1:Math.max(1,Math.ceil(b.value/l.value.rowsPerPage))),w=c(()=>m.value===0?!0:l.value.page>=h.value),B=c(()=>(i.rowsPerPageOptions.includes(t.value.rowsPerPage)?i.rowsPerPageOptions:[t.value.rowsPerPage].concat(i.rowsPerPageOptions)).map(R=>({label:R===0?d.lang.table.allRows:""+R,value:R})));le(h,(_,R)=>{if(_===R)return;const V=l.value.page;_&&!V?a({page:1}):_1&&a({page:_-1})}function P(){const{page:_,rowsPerPage:R}=l.value;m.value>0&&_*R["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},xi=["update:selected","selection"];function pi(e,t,l,n){const a=c(()=>{const w={};return e.selected.map(n.value).forEach(B=>{w[B]=!0}),w}),o=c(()=>e.selection!=="none"),i=c(()=>e.selection==="single"),s=c(()=>e.selection==="multiple"),d=c(()=>l.value.length!==0&&l.value.every(w=>a.value[n.value(w)]===!0)),b=c(()=>d.value!==!0&&l.value.some(w=>a.value[n.value(w)]===!0)),r=c(()=>e.selected.length);function m(w){return a.value[w]===!0}function k(){t("update:selected",[])}function h(w,B,x,D){t("selection",{rows:B,added:x,keys:w,evt:D});const P=i.value===!0?x===!0?B:[]:x===!0?e.selected.concat(B):e.selected.filter(p=>w.includes(n.value(p))===!1);t("update:selected",P)}return{hasSelectionMode:o,singleSelection:i,multipleSelection:s,allRowsSelected:d,someRowsSelected:b,rowsSelectedNumber:r,isRowSelected:m,clearSelection:k,updateSelection:h}}function wn(e){return Array.isArray(e)?e.slice():[]}const ki={expanded:Array},_i=["update:expanded"];function Ci(e,t){const l=W(wn(e.expanded));le(()=>e.expanded,i=>{l.value=wn(i)});function n(i){return l.value.includes(i)}function a(i){e.expanded!==void 0?t("update:expanded",i):l.value=i}function o(i,s){const d=l.value.slice(),b=d.indexOf(i);s===!0?b===-1&&(d.push(i),a(d)):b!==-1&&(d.splice(b,1),a(d))}return{isRowExpanded:n,setExpanded:a,updateExpanded:o}}const qi={visibleColumns:Array};function Vi(e,t,l){const n=c(()=>{if(e.columns!==void 0)return e.columns;const s=e.rows[0];return s!==void 0?Object.keys(s).map(d=>({name:d,label:d.toUpperCase(),field:d,align:_l(s[d])?"right":"left",sortable:!0})):[]}),a=c(()=>{const{sortBy:s,descending:d}=t.value;return(e.visibleColumns!==void 0?n.value.filter(r=>r.required===!0||e.visibleColumns.includes(r.name)===!0):n.value).map(r=>{const m=r.align||"right",k=`text-${m}`;return{...r,align:m,__iconClass:`q-table__sort-icon q-table__sort-icon--${m}`,__thClass:k+(r.headerClasses!==void 0?" "+r.headerClasses:"")+(r.sortable===!0?" sortable":"")+(r.name===s?` sorted ${d===!0?"sort-desc":""}`:""),__tdStyle:r.style!==void 0?typeof r.style!="function"?()=>r.style:r.style:()=>null,__tdClass:r.classes!==void 0?typeof r.classes!="function"?()=>k+" "+r.classes:h=>k+" "+r.classes(h):()=>k}})}),o=c(()=>{const s={};return a.value.forEach(d=>{s[d.name]=d}),s}),i=c(()=>e.tableColspan!==void 0?e.tableColspan:a.value.length+(l.value===!0?1:0));return{colList:n,computedCols:a,computedColsMap:o,computedColspan:i}}const Ut="q-table__bottom row items-center",oa={};jn.forEach(e=>{oa[e]={}});var ia=be({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...oa,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...ze,...ui,...qi,...mi,...bi,...ki,...wi,...fi},emits:["request","virtualScroll",...si,..._i,...xi],setup(e,{slots:t,emit:l}){const n=ce(),{proxy:{$q:a}}=n,o=Ne(e,a),{inFullscreen:i,toggleFullscreen:s}=ci(),d=c(()=>typeof e.rowKey=="function"?e.rowKey:S=>S[e.rowKey]),b=W(null),r=W(null),m=c(()=>e.grid!==!0&&e.virtualScroll===!0),k=c(()=>" q-table__card"+(o.value===!0?" q-table__card--dark q-dark":"")+(e.square===!0?" q-table--square":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")),h=c(()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(e.grid===!0?" q-table--grid":k.value)+(o.value===!0?" q-table--dark":"")+(e.dense===!0?" q-table--dense":"")+(e.wrapCells===!1?" q-table--no-wrap":"")+(i.value===!0?" fullscreen scroll":"")),w=c(()=>h.value+(e.loading===!0?" q-table--loading":""));le(()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+h.value,()=>{m.value===!0&&r.value!==null&&r.value.reset()});const{innerPagination:B,computedPagination:x,isServerSide:D,requestServerInteraction:P,setPagination:p}=yi(n,Ve),{computedFilterMethod:_}=gi(e,p),{isRowExpanded:R,setExpanded:V,updateExpanded:H}=Ci(e,l),j=c(()=>{let S=e.rows;if(D.value===!0||S.length===0)return S;const{sortBy:L,descending:U}=x.value;return e.filter&&(S=_.value(S,e.filter,g.value,Ve)),G.value!==null&&(S=ne.value(e.rows===S?S.slice():S,L,U)),S}),q=c(()=>j.value.length),C=c(()=>{let S=j.value;if(D.value===!0)return S;const{rowsPerPage:L}=x.value;return L!==0&&($.value===0&&e.rows!==S?S.length>oe.value&&(S=S.slice(0,oe.value)):S=S.slice($.value,oe.value)),S}),{hasSelectionMode:F,singleSelection:y,multipleSelection:z,allRowsSelected:K,someRowsSelected:ae,rowsSelectedNumber:Q,isRowSelected:Z,clearSelection:E,updateSelection:N}=pi(e,l,C,d),{colList:te,computedCols:g,computedColsMap:f,computedColspan:O}=Vi(e,x,F),{columnToSort:G,computedSortMethod:ne,sort:M}=vi(e,x,te,p),{firstRowIndex:$,lastRowIndex:oe,isFirstPage:T,isLastPage:de,pagesNumber:ke,computedRowsPerPageOptions:je,computedRowsNumber:_e,firstPage:We,prevPage:Ee,nextPage:Fe,lastPage:Qe}=Si(n,B,x,D,p,q),Je=c(()=>C.value.length===0),kt=c(()=>{const S={};return jn.forEach(L=>{S[L]=e[L]}),S.virtualScrollItemSize===void 0&&(S.virtualScrollItemSize=e.dense===!0?28:48),S});function et(){m.value===!0&&r.value.reset()}function Re(){if(e.grid===!0)return Dt();const S=e.hideHeader!==!0?dt:null;if(m.value===!0){const U=t["top-row"],X=t["bottom-row"],ee={default:ve=>At(ve.item,t.body,ve.index)};if(U!==void 0){const ve=v("tbody",U({cols:g.value}));ee.before=S===null?()=>ve:()=>[S()].concat(ve)}else S!==null&&(ee.before=S);return X!==void 0&&(ee.after=()=>v("tbody",X({cols:g.value}))),v(ho,{ref:r,class:e.tableClass,style:e.tableStyle,...kt.value,scrollTarget:e.virtualScrollTarget,items:C.value,type:"__qtable",tableColspan:O.value,onVirtualScroll:Ke},ee)}const L=[$t()];return S!==null&&L.unshift(S()),Dn({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},L)}function Ce(S,L){if(r.value!==null){r.value.scrollTo(S,L);return}S=parseInt(S,10);const U=b.value.querySelector(`tbody tr:nth-of-type(${S+1})`);if(U!==null){const X=b.value.querySelector(".q-table__middle.scroll"),ee=U.offsetTop-e.virtualScrollStickySizeStart,ve=ee{const vt=t[`body-cell-${we.name}`],mt=vt!==void 0?vt:ve;return mt!==void 0?mt(rl({key:X,row:S,pageIndex:U,col:we})):v("td",{class:we.__tdClass(S),style:we.__tdStyle(S)},Ve(we,S))});if(F.value===!0){const we=t["body-selection"],vt=we!==void 0?we(It({key:X,row:S,pageIndex:U})):[v(kl,{modelValue:ee,color:e.color,dark:o.value,dense:e.dense,"onUpdate:modelValue":(mt,dl)=>{N([X],[S],mt,dl)}})];fe.unshift(v("td",{class:"q-table--col-auto-width"},vt))}const Ie={key:X,class:{selected:ee}};return e.onRowClick!==void 0&&(Ie.class["cursor-pointer"]=!0,Ie.onClick=we=>{l("rowClick",we,S,U)}),e.onRowDblclick!==void 0&&(Ie.class["cursor-pointer"]=!0,Ie.onDblclick=we=>{l("rowDblclick",we,S,U)}),e.onRowContextmenu!==void 0&&(Ie.class["cursor-pointer"]=!0,Ie.onContextmenu=we=>{l("rowContextmenu",we,S,U)}),v("tr",Ie,fe)}function $t(){const S=t.body,L=t["top-row"],U=t["bottom-row"];let X=C.value.map((ee,ve)=>At(ee,S,ve));return L!==void 0&&(X=L({cols:g.value}).concat(X)),U!==void 0&&(X=X.concat(U({cols:g.value}))),v("tbody",X)}function st(S){return Ae(S),S.cols=S.cols.map(L=>Ye({...L},"value",()=>Ve(L,S.row))),S}function rl(S){return Ae(S),Ye(S,"value",()=>Ve(S.col,S.row)),S}function It(S){return Ae(S),S}function Ae(S){Object.assign(S,{cols:g.value,colsMap:f.value,sort:M,rowIndex:$.value+S.pageIndex,color:e.color,dark:o.value,dense:e.dense}),F.value===!0&&Ye(S,"selected",()=>Z(S.key),(L,U)=>{N([S.key],[S.row],L,U)}),Ye(S,"expand",()=>R(S.key),L=>{H(S.key,L)})}function Ve(S,L){const U=typeof S.field=="function"?S.field(L):L[S.field];return S.format!==void 0?S.format(U,L):U}const $e=c(()=>({pagination:x.value,pagesNumber:ke.value,isFirstPage:T.value,isLastPage:de.value,firstPage:We,prevPage:Ee,nextPage:Fe,lastPage:Qe,inFullscreen:i.value,toggleFullscreen:s}));function ul(){const S=t.top,L=t["top-left"],U=t["top-right"],X=t["top-selection"],ee=F.value===!0&&X!==void 0&&Q.value>0,ve="q-table__top relative-position row items-center";if(S!==void 0)return v("div",{class:ve},[S($e.value)]);let fe;if(ee===!0?fe=X($e.value).slice():(fe=[],L!==void 0?fe.push(v("div",{class:"q-table__control"},[L($e.value)])):e.title&&fe.push(v("div",{class:"q-table__control"},[v("div",{class:["q-table__title",e.titleClass]},e.title)]))),U!==void 0&&(fe.push(v("div",{class:"q-table__separator col"})),fe.push(v("div",{class:"q-table__control"},[U($e.value)]))),fe.length!==0)return v("div",{class:ve},fe)}const ct=c(()=>ae.value===!0?null:K.value);function dt(){const S=Ht();return e.loading===!0&&t.loading===void 0&&S.push(v("tr",{class:"q-table__progress"},[v("th",{class:"relative-position",colspan:O.value},tt())])),v("thead",S)}function Ht(){const S=t.header,L=t["header-cell"];if(S!==void 0)return S(ft({header:!0})).slice();const U=g.value.map(X=>{const ee=t[`header-cell-${X.name}`],ve=ee!==void 0?ee:L,fe=ft({col:X});return ve!==void 0?ve(fe):v(oo,{key:X.name,props:fe},()=>X.label)});if(y.value===!0&&e.grid!==!0)U.unshift(v("th",{class:"q-table--col-auto-width"}," "));else if(z.value===!0){const X=t["header-selection"],ee=X!==void 0?X(ft({})):[v(kl,{color:e.color,modelValue:ct.value,dark:o.value,dense:e.dense,"onUpdate:modelValue":_t})];U.unshift(v("th",{class:"q-table--col-auto-width"},ee))}return[v("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},U)]}function ft(S){return Object.assign(S,{cols:g.value,sort:M,colsMap:f.value,color:e.color,dark:o.value,dense:e.dense}),z.value===!0&&Ye(S,"selected",()=>ct.value,_t),S}function _t(S){ae.value===!0&&(S=!1),N(C.value.map(d.value),C.value,S)}const lt=c(()=>{const S=[e.iconFirstPage||a.iconSet.table.firstPage,e.iconPrevPage||a.iconSet.table.prevPage,e.iconNextPage||a.iconSet.table.nextPage,e.iconLastPage||a.iconSet.table.lastPage];return a.lang.rtl===!0?S.reverse():S});function Ot(){if(e.hideBottom===!0)return;if(Je.value===!0){if(e.hideNoData===!0)return;const U=e.loading===!0?e.loadingLabel||a.lang.table.loading:e.filter?e.noResultsLabel||a.lang.table.noResults:e.noDataLabel||a.lang.table.noData,X=t["no-data"],ee=X!==void 0?[X({message:U,icon:a.iconSet.table.warning,filter:e.filter})]:[v(De,{class:"q-table__bottom-nodata-icon",name:a.iconSet.table.warning}),U];return v("div",{class:Ut+" q-table__bottom--nodata"},ee)}const S=t.bottom;if(S!==void 0)return v("div",{class:Ut},[S($e.value)]);const L=e.hideSelectedBanner!==!0&&F.value===!0&&Q.value>0?[v("div",{class:"q-table__control"},[v("div",[(e.selectedRowsLabel||a.lang.table.selectedRecords)(Q.value)])])]:[];if(e.hidePagination!==!0)return v("div",{class:Ut+" justify-end"},sl(L));if(L.length!==0)return v("div",{class:Ut},L)}function Lt(S){p({page:1,rowsPerPage:S.value})}function sl(S){let L;const{rowsPerPage:U}=x.value,X=e.paginationLabel||a.lang.table.pagination,ee=t.pagination,ve=e.rowsPerPageOptions.length>1;if(S.push(v("div",{class:"q-table__separator col"})),ve===!0&&S.push(v("div",{class:"q-table__control"},[v("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||a.lang.table.recordsPerPage]),v(Jo,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:U,options:je.value,displayValue:U===0?a.lang.table.allRows:U,dark:o.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":Lt})])),ee!==void 0)L=ee($e.value);else if(L=[v("span",U!==0?{class:"q-table__bottom-item"}:{},[U?X($.value+1,Math.min(oe.value,_e.value),_e.value):X(1,q.value,_e.value)])],U!==0&&ke.value>1){const fe={color:e.color,round:!0,dense:!0,flat:!0};e.dense===!0&&(fe.size="sm"),ke.value>2&&L.push(v(zt,{key:"pgFirst",...fe,icon:lt.value[0],disable:T.value,onClick:We})),L.push(v(zt,{key:"pgPrev",...fe,icon:lt.value[1],disable:T.value,onClick:Ee}),v(zt,{key:"pgNext",...fe,icon:lt.value[2],disable:de.value,onClick:Fe})),ke.value>2&&L.push(v(zt,{key:"pgLast",...fe,icon:lt.value[3],disable:de.value,onClick:Qe}))}return S.push(v("div",{class:"q-table__control"},L)),S}function cl(){const S=e.gridHeader===!0?[v("table",{class:"q-table"},[dt()])]:e.loading===!0&&t.loading===void 0?tt():void 0;return v("div",{class:"q-table__middle"},S)}function Dt(){const S=t.item!==void 0?t.item:L=>{const U=L.cols.map(ee=>v("div",{class:"q-table__grid-item-row"},[v("div",{class:"q-table__grid-item-title"},[ee.label]),v("div",{class:"q-table__grid-item-value"},[ee.value])]));if(F.value===!0){const ee=t["body-selection"],ve=ee!==void 0?ee(L):[v(kl,{modelValue:L.selected,color:e.color,dark:o.value,dense:e.dense,"onUpdate:modelValue":(fe,Ie)=>{N([L.key],[L.row],fe,Ie)}})];U.unshift(v("div",{class:"q-table__grid-item-row"},ve),v(ro,{dark:o.value}))}const X={class:["q-table__grid-item-card"+k.value,e.cardClass],style:e.cardStyle};return(e.onRowClick!==void 0||e.onRowDblclick!==void 0)&&(X.class[0]+=" cursor-pointer",e.onRowClick!==void 0&&(X.onClick=ee=>{l("RowClick",ee,L.row,L.pageIndex)}),e.onRowDblclick!==void 0&&(X.onDblclick=ee=>{l("RowDblclick",ee,L.row,L.pageIndex)})),v("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(L.selected===!0?" q-table__grid-item--selected":"")},[v("div",X,U)])};return v("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},C.value.map((L,U)=>S(st({key:d.value(L),row:L,pageIndex:U}))))}return Object.assign(n.proxy,{requestServerInteraction:P,setPagination:p,firstPage:We,prevPage:Ee,nextPage:Fe,lastPage:Qe,isRowSelected:Z,clearSelection:E,isRowExpanded:R,setExpanded:V,sort:M,resetVirtualScroll:et,scrollTo:Ce,getCellValue:Ve}),xa(n.proxy,{filteredSortedRows:()=>j.value,computedRows:()=>C.value,computedRowsNumber:()=>_e.value}),()=>{const S=[ul()],L={ref:b,class:w.value};return e.grid===!0?S.push(cl()):Object.assign(L,{class:[L.class,e.cardClass],style:e.cardStyle}),S.push(Re(),Ot()),e.loading===!0&&t.loading!==void 0&&S.push(t.loading()),v("div",L,S)}}}),Mi=be({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:l}}=ce(),n=Zt(pa,St);if(n===St)return console.error("QPage needs to be a deep child of QLayout"),St;if(Zt(ka,St)===St)return console.error("QPage needs to be child of QPageContainer"),St;const o=c(()=>{const s=(n.header.space===!0?n.header.size:0)+(n.footer.space===!0?n.footer.size:0);if(typeof e.styleFn=="function"){const d=n.isContainer.value===!0?n.containerHeight.value:l.screen.height;return e.styleFn(s,d)}return{minHeight:n.isContainer.value===!0?n.containerHeight.value-s+"px":l.screen.height===0?s!==0?`calc(100vh - ${s}px)`:"100vh":l.screen.height-s+"px"}}),i=c(()=>`q-page${e.padding===!0?" q-layout-padding":""}`);return()=>v("main",{class:i.value,style:o.value},pe(t.default))}});function xn(e){const t=e.indexOf("(");if(t===-1)return[e];const l=e.slice(0,t).trim(),n=e.slice(t+1,e.indexOf(")")).trim();return[l,n]}function pn(e,t){const l=e.replace(/=\?([^?]+)\?([BQ])\?([^?]+)\?=/gi,(a,o,i,s)=>i.toUpperCase()==="B"?Pi(s,o):i.toUpperCase()==="Q"?Ri(s,o):e),n=l.indexOf(":");return{headerName:l.slice(0,n),headerData:l.slice(n+2),headerIndex:t}}function Pi(e,t){const l=atob(e);return new TextDecoder(t).decode(new Uint8Array([...l].map(n=>n.charCodeAt(0))))}function Ri(e,t){const l=e.replace(/_/g," ").replace(/=([A-Fa-f0-9]{2})/g,(n,a)=>String.fromCharCode(parseInt(a,16)));return new TextDecoder(t).decode(new Uint8Array([...l].map(n=>n.charCodeAt(0))))}function Bi(e){const t="from",l="by",n="with",a="id",o="via",i={rawHeaderDetails:e};if(!e.headerData)return i;let s=e.headerData;const d=e.headerData.lastIndexOf(";");if(d!==-1){const F=e.headerData.slice(d+1).trim();i.dateTime=new Date(F),s=e.headerData.slice(0,d)}const b=s.indexOf(`${t} `);if(b===-1)return i;const r=b+t.length+1,m=s.indexOf(`${l} `,r);if(m===-1)return i;const k=s.slice(r,m-1),h=xn(k);i.fromDomain=h[0],i.fromIpAddress=h[1];const w=m+l.length+1,B=s.indexOf(`${n} `,w);if(B===-1)return i;const x=s.slice(w,B-1),D=xn(x);i.byDomain=D[0],i.byIpAddress=D[1];const P=B+n.length+1;let p=s.length,_=P;const R=s.indexOf(`${a} `,_);let V=0,H=0;R!==-1&&(V=R+a.length+1,_=V,p=R-1);const j=s.indexOf(`${o} `,_);let q=0,C=0;return j!==-1?(q=j+o.length+1,_=q,H=j-1,C=s.length):H=s.length,P>0&&(i.with=s.slice(P,p)),V>0&&(i.id=s.slice(V,H)),q>0&&(i.via=s.slice(q,C)),i}function Ti(e){const t=e.split(/\r?\n/);if(!t)return;const l=[];let n="",a=0;for(const o of t){if(!o)break;/^\s/.test(o)?n+=" "+o.trim():(n&&(l.push(pn(n,a)),a++),n=o)}return n&&l.push(pn(n,a)),l}const kn={splitMailHeader:Ti,parseReceivedHeader:Bi};function Ei(){return Zt(_a)}const Fi=["height","viewBox"],Ai=["transform"],$i=Y("path",{d:"M 1,1 L 1,10 L 10,10, 10,1 Z","vector-effect":"non-scaling-stroke","shape-rendering":"crispEdges",style:{fill:"#263238"}},null,-1),Ii={x:"5",y:"5.5","dominant-baseline":"middle","text-anchor":"middle",style:{font:"normal 4px sans-serif",fill:"#fff"}},Hi=Y("path",{d:"M 1,1 L 110,1 L 110,40 L 1,40 Z","vector-effect":"non-scaling-stroke","shape-rendering":"crispEdges",style:{fill:"none",stroke:"#263238","stroke-width":"1px"}},null,-1),Oi={key:0,d:"M 111,15 L 115,20 L 111,25 Z",style:{fill:"#aaa",stroke:"#888","stroke-width":".3"}},Li={x:"4",y:"20",style:{font:"bold 4px sans-serif",fill:"#666"}},Di={x:"4",y:"26",style:{font:"normal 4px sans-serif",fill:"#666"}},zi={x:"4",y:"32",style:{font:"normal 4px sans-serif",fill:"#666"}},_n=110,Cn=40,qn=5,Vn=5,Ni=Tl({__name:"MailFlow",props:{receivedHeaders:{}},setup(e){const t=Ei(),l=e,n=c(()=>t.screen.gt.sm?6:2),a=c(()=>Math.ceil(l.receivedHeaders.length/n.value)),o=c(()=>n.value*(_n+qn)),i=c(()=>a.value*(Cn+Vn));function s(d){const r=Math.floor(d/n.value)*(Cn+Vn);return`translate(${d%n.value*(_n+qn)}, ${r})`}return(d,b)=>(ie(),re("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",width:"100%",height:i.value,version:"1.1",style:{width:"100%",height:"100%"},viewBox:`0 0 ${o.value} ${i.value}`},[(ie(!0),re(Ue,null,Ze(d.receivedHeaders,(r,m)=>{var k;return ie(),re("g",{key:m,transform:s(m)},[$i,Y("text",Ii,xe(m+1),1),Hi,m"q-td"+(e.autoWidth===!0?" q-table--col-auto-width":"")+(e.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(e.props===void 0)return v("td",{class:n.value},pe(t.default));const a=l.vnode.key,o=(e.props.colsMap!==void 0?e.props.colsMap[a]:null)||e.props.col;if(o===void 0)return;const{row:i}=e.props;return v("td",{class:n.value+o.__tdClass(i),style:o.__tdStyle(i)},pe(t.default))}}});const Wi=Tl({__name:"MailFlowTable",props:{receivedHeaders:{}},setup(e){const t=[{name:"dateTime",align:"left",label:"Time",field:"dateTime",sortable:!1},{name:"fromDomain",align:"left",label:"From Domain",field:"fromDomain",sortable:!1},{name:"fromIpAddress",align:"left",label:"From IpAddress",field:"fromIpAddress",sortable:!1},{name:"byDomain",align:"left",label:"By Domain",field:"byDomain",sortable:!1},{name:"byIpAddress",align:"left",label:"By IpAddress",field:"byIpAddress",sortable:!1},{name:"with",align:"left",label:"With",field:"with",sortable:!1},{name:"id",align:"left",label:"Id",field:"id",sortable:!1},{name:"for",align:"left",label:"For",field:"for",sortable:!1}];return(l,n)=>(ie(),Cl(ia,{flat:"",bordered:"",rows:l.receivedHeaders,columns:t,"rows-per-page-options":[0],"no-paginate":""},{"body-cell-dateTime":Rt(a=>[wt(ji,null,{default:Rt(()=>[Ca(xe(a.row.dateTime.toISOString()),1)]),_:2},1024)]),_:1},8,["rows"]))}});const Pe=e=>(Va("data-v-7cb0112c"),e=e(),Ma(),e),Qi={key:0,class:"row"},Ki={class:"col-12 col-md-6"},Ui={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",width:"100%",height:"600",version:"1.1",viewBox:"0 0 32 32"},Zi=Pe(()=>Y("g",{id:"mail"},[Y("path",{d:"m2.43 29.04 13.55-9.88 13.55 9.88",style:{fill:"none",stroke:"#263238","stroke-width":".8","stroke-dasharray":"none"}}),Y("path",{d:"m2.43 13.55 3.25-2.35",style:{fill:"none",stroke:"#263238","stroke-width":".8","stroke-dasharray":"none"}}),Y("path",{d:"m26.48 11.2 3.05 2.46",style:{fill:"none",stroke:"#263238","stroke-width":".8","stroke-dasharray":"none"}}),Y("path",{d:"M5.48 15.94c.12-.3 0-14.43 0-14.43H20.5l6.15 6.15v8.13",style:{fill:"none",stroke:"#666666","stroke-width":".8"}}),Y("path",{d:"M7 12 20 12 Z",style:{fill:"none",stroke:"#CCCCCC","stroke-width":".3"}}),Y("path",{d:"M7 14 24 14 Z",style:{fill:"none",stroke:"#CCCCCC","stroke-width":".3"}}),Y("path",{d:"M7 16 24 16 Z",style:{fill:"none",stroke:"#CCCCCC","stroke-width":".3"}}),Y("path",{d:"m11.6 20.16-9.17-6.61v16.87h27.1V13.66l-9.09 6.5",style:{fill:"none",stroke:"#263238","stroke-width":".8","stroke-linejoin":"round"}})],-1)),Xi={id:"letter",transform:"translate(0,-2)"},Yi=Pe(()=>Y("text",{x:"7",y:"5.9",style:{font:"normal 0.5px sans-serif",fill:"#666"}},"From",-1)),Gi={x:"7",y:"6.8",style:{font:"normal 0.7px sans-serif"}},Ji=Pe(()=>Y("text",{x:"7",y:"7.6",style:{font:"normal 0.5px sans-serif",fill:"#666"}},"To",-1)),er={x:"7",y:"8.5",style:{font:"normal 0.7px sans-serif"}},tr={x:"7",y:"12",style:{font:"normal 0.7px sans-serif","font-weight":"bold"}},lr=Pe(()=>Y("text",{x:"11",y:"26",style:{font:"normal 0.5px sans-serif",fill:"#666"}},"ReturnPath",-1)),nr={x:"11",y:"27",style:{font:"italic 1.0px sans-serif"}},ar={class:"col-12 col-md-6"},or={class:"q-my-md"},ir={class:"q-gutter-sm"},rr={key:0,class:"row"},ur=Pe(()=>Y("div",{class:"col-2 bg-grey-4 q-pa-sm"}," Return-Path ",-1)),sr={class:"col-10 q-pa-sm bg-grey text-white"},cr={key:1,class:"row"},dr=Pe(()=>Y("div",{class:"col-2 bg-grey-4 q-pa-sm"}," From ",-1)),fr={class:"col-10 q-pa-sm bg-grey text-white"},vr={key:2,class:"row"},mr=Pe(()=>Y("div",{class:"col-2 bg-grey-4 q-pa-sm"}," To ",-1)),gr={class:"col-10 q-pa-sm bg-grey text-white"},hr={key:3,class:"row"},br=Pe(()=>Y("div",{class:"col-2 bg-grey-4 q-pa-sm"}," Message-Id ",-1)),yr={class:"col-10 q-pa-sm bg-grey text-white"},Sr={key:4,class:"row"},wr=Pe(()=>Y("div",{class:"col-2 bg-grey-4 q-pa-sm"}," Date ",-1)),xr={class:"col-10 q-pa-sm bg-grey text-white"},pr={key:5,class:"row"},kr=Pe(()=>Y("div",{class:"col-2 bg-grey-4 q-pa-sm"}," Subject ",-1)),_r={class:"col-10 q-pa-sm bg-grey text-white"},Cr={key:6,class:"row"},qr=Pe(()=>Y("div",{class:"col-2 bg-grey-4 q-pa-sm"}," Authentication-Results ",-1)),Vr={class:"col-10 q-pa-sm bg-grey text-white"},Mr={style:{margin:"0px"}},Pr={key:1},Rr=Pe(()=>Y("h2",null,"Mail Hops",-1)),Br={key:0,class:"q-mt-sm"},Tr=Pe(()=>Y("h2",null,"Other Headers",-1)),Er=Tl({__name:"IndexPage",setup(e){const t={From:"From",To:"To",Subject:"Subject",Received:"Received",ReturnPath:"Return-Path",MessageId:"Message-Id",Date:"Date"},l=W(),n=W(),a=[{name:"headerName",align:"left",label:"Name",field:"headerName",sortable:!1,style:"width: 300px"},{name:"headerData",align:"left",label:"Data",field:"headerData",sortable:!1,classes:"text-break"},{name:"headerIndex",align:"left",label:"Index",field:"headerIndex",sortable:!1,style:"width: 70px"}],o=c(()=>{if(!!l.value)try{return kn.splitMailHeader(l.value)}catch(p){console.error(p);return}}),i=c(()=>{var p;return(p=o.value)==null?void 0:p.filter(_=>_.headerName===t.ReturnPath)}),s=c(()=>{if(!!i.value)return i.value[0].headerData}),d=c(()=>{var p;return(p=o.value)==null?void 0:p.filter(_=>_.headerName===t.From)}),b=c(()=>{if(!!d.value)return d.value[0].headerData}),r=c(()=>{var p;return(p=o.value)==null?void 0:p.filter(_=>_.headerName===t.To)}),m=c(()=>{if(!!r.value)return r.value[0].headerData}),k=c(()=>{var p;return(p=o.value)==null?void 0:p.filter(_=>_.headerName===t.Date)}),h=c(()=>{var p;return(p=o.value)==null?void 0:p.filter(_=>_.headerName===t.MessageId)}),w=c(()=>{var p;return(p=o.value)==null?void 0:p.filter(_=>_.headerName===t.Subject)}),B=c(()=>{if(!!w.value)return w.value[0].headerData}),x=c(()=>{var R;if(!o.value)return;const p=(R=o.value)==null?void 0:R.filter(V=>V.headerName===t.Received);if(!p)return;const _=p.filter(V=>V.headerData).map(V=>kn.parseReceivedHeader(V));return _==null||_.sort((V,H)=>V.rawHeaderDetails.headerIndex&&H.rawHeaderDetails.headerIndex?H.rawHeaderDetails.headerIndex-V.rawHeaderDetails.headerIndex:-1),_}),D=c(()=>{var p;return(p=o.value)==null?void 0:p.filter(_=>_.headerName==="Authentication-Results")}),P=c(()=>{var V,H;const p=Object.values(t),_=(V=o.value)==null?void 0:V.filter(j=>!p.includes(j.headerName)),R=(H=n.value)==null?void 0:H.toLowerCase();return R?_==null?void 0:_.filter(j=>j.headerName.toLowerCase().includes(R)):_});return(p,_)=>(ie(),Cl(Mi,{padding:""},{default:Rt(()=>[Y("div",null,[wt(tn,{modelValue:l.value,"onUpdate:modelValue":_[0]||(_[0]=R=>l.value=R),spellcheck:"false",placeholder:"Paste email headers here",outlined:"",type:"textarea",rows:l.value?8:30},null,8,["modelValue","rows"])]),l.value?(ie(),re("div",Qi,[Y("div",Ki,[(ie(),re("svg",Ui,[Zi,Y("g",Xi,[Yi,Y("text",Gi,xe(b.value),1),Ji,Y("text",er,xe(m.value),1),Y("text",tr,xe(B.value),1)]),Y("g",null,[lr,Y("text",nr,xe(s.value),1)])]))]),Y("div",ar,[Y("div",or,[Y("div",ir,[i.value&&i.value.length>0?(ie(),re("div",rr,[ur,Y("div",sr,[(ie(!0),re(Ue,null,Ze(i.value,(R,V)=>(ie(),re("div",{key:`returnPathHeader-${V}`},xe(R.headerData),1))),128))])])):Be("",!0),d.value&&d.value.length>0?(ie(),re("div",cr,[dr,Y("div",fr,[(ie(!0),re(Ue,null,Ze(d.value,(R,V)=>(ie(),re("div",{key:`fromHeader-${V}`},xe(R.headerData),1))),128))])])):Be("",!0),r.value&&r.value.length>0?(ie(),re("div",vr,[mr,Y("div",gr,[(ie(!0),re(Ue,null,Ze(r.value,(R,V)=>(ie(),re("div",{key:`toHeader-${V}`},xe(R.headerData),1))),128))])])):Be("",!0),h.value&&h.value.length>0?(ie(),re("div",hr,[br,Y("div",yr,[(ie(!0),re(Ue,null,Ze(h.value,(R,V)=>(ie(),re("div",{key:`messageIdHeader-${V}`},xe(R.headerData),1))),128))])])):Be("",!0),k.value&&k.value.length>0?(ie(),re("div",Sr,[wr,Y("div",xr,[(ie(!0),re(Ue,null,Ze(k.value,(R,V)=>(ie(),re("div",{key:`dateHeader-${V}`},xe(R.headerData),1))),128))])])):Be("",!0),w.value&&w.value.length>0?(ie(),re("div",pr,[kr,Y("div",_r,[(ie(!0),re(Ue,null,Ze(w.value,(R,V)=>(ie(),re("div",{key:`subjectHeader-${V}`},xe(R.headerData),1))),128))])])):Be("",!0),D.value&&D.value.length>0?(ie(),re("div",Cr,[qr,Y("div",Vr,[(ie(!0),re(Ue,null,Ze(D.value,(R,V)=>(ie(),re("div",{key:`subjectHeader-${V}`},[Y("pre",Mr,xe(R.headerData.split(";").map(H=>H.trim()).join(` -`)),1)]))),128))])])):Be("",!0)])])])])):Be("",!0),l.value?(ie(),re("div",Pr,[Rr,x.value?(ie(),re("div",Br,[wt(Ni,{"received-headers":x.value},null,8,["received-headers"]),wt(Wi,{"received-headers":x.value},null,8,["received-headers"])])):Be("",!0),Tr,P.value?(ie(),Cl(ia,{key:1,flat:"",bordered:"","wrap-cells":"","rows-per-page-options":[0],rows:P.value,columns:a,class:"full-width","table-style":"min-height: 400px;"},{top:Rt(()=>[wt(tn,{modelValue:n.value,"onUpdate:modelValue":_[1]||(_[1]=R=>n.value=R),outlined:"",dense:"",debounce:"100",placeholder:"Search",class:"full-width","bg-color":n.value?"grey-3":""},{append:Rt(()=>[wt(De,{name:"search"})]),_:1},8,["modelValue","bg-color"])]),_:1},8,["rows"])):Be("",!0)])):Be("",!0)]),_:1}))}});var Ir=qa(Er,[["__scopeId","data-v-7cb0112c"]]);export{Ir as default}; diff --git a/assets/IndexPage.d3123752.css b/assets/IndexPage.d3123752.css deleted file mode 100644 index 630e262..0000000 --- a/assets/IndexPage.d3123752.css +++ /dev/null @@ -1 +0,0 @@ -[data-v-7cb0112c] .text-break{word-break:break-all} diff --git a/assets/MainLayout.4c2f1744.js b/assets/MainLayout.687fe77c.js similarity index 98% rename from assets/MainLayout.4c2f1744.js rename to assets/MainLayout.687fe77c.js index 9b7f3c5..474e094 100644 --- a/assets/MainLayout.4c2f1744.js +++ b/assets/MainLayout.687fe77c.js @@ -1 +1 @@ -import{c as q,a as d,h,r as w,i as K,o as P,b as R,n as G,d as D,g as Q,l as F,e as J,f as L,w as x,j as N,p as X,k as Z,m as C,q as ee,_ as te,s as ne,t as oe,u as le,v as T,x as _,y as E}from"./index.effe9558.js";import{h as W,a as ie,b as re,Q as A}from"./QBtn.42afa22b.js";import{s as ae,g as se,a as ue,b as ce,c as k}from"./scroll.42beefbe.js";var de=q({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:v}){const n=d(()=>"q-toolbar__title ellipsis"+(e.shrink===!0?" col-shrink":""));return()=>h("div",{class:n.value},W(v.default))}}),fe=q({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:v}){const n=d(()=>"q-toolbar row no-wrap items-center"+(e.inset===!0?" q-toolbar--inset":""));return()=>h("div",{class:n.value,role:"toolbar"},W(v.default))}});function ve(){const e=w(!K.value);return e.value===!1&&P(()=>{e.value=!0}),{isHydrated:e}}const Y=typeof ResizeObserver!="undefined",U=Y===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"};var M=q({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:v}){let n=null,t,l={width:-1,height:-1};function s(a){a===!0||e.debounce===0||e.debounce==="0"?u():n===null&&(n=setTimeout(u,e.debounce))}function u(){if(n!==null&&(clearTimeout(n),n=null),t){const{offsetWidth:a,offsetHeight:i}=t;(a!==l.width||i!==l.height)&&(l={width:a,height:i},v("resize",l))}}const{proxy:m}=Q();if(m.trigger=s,Y===!0){let a;const i=g=>{t=m.$el.parentNode,t?(a=new ResizeObserver(s),a.observe(t),u()):g!==!0&&D(()=>{i(!0)})};return P(()=>{i()}),R(()=>{n!==null&&clearTimeout(n),a!==void 0&&(a.disconnect!==void 0?a.disconnect():t&&a.unobserve(t))}),G}else{let g=function(){n!==null&&(clearTimeout(n),n=null),i!==void 0&&(i.removeEventListener!==void 0&&i.removeEventListener("resize",s,F.passive),i=void 0)},b=function(){g(),t&&t.contentDocument&&(i=t.contentDocument.defaultView,i.addEventListener("resize",s,F.passive),u())};const{isHydrated:a}=ve();let i;return P(()=>{D(()=>{t=m.$el,t&&b()})}),R(g),()=>{if(a.value===!0)return h("object",{class:"q--avoid-card-border",style:U.style,tabindex:-1,type:"text/html",data:U.url,"aria-hidden":"true",onLoad:b})}}}}),he=q({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:v,emit:n}){const{proxy:{$q:t}}=Q(),l=J(N,L);if(l===L)return console.error("QHeader needs to be child of QLayout"),L;const s=w(parseInt(e.heightHint,10)),u=w(!0),m=d(()=>e.reveal===!0||l.view.value.indexOf("H")!==-1||t.platform.is.ios&&l.isContainer.value===!0),a=d(()=>{if(e.modelValue!==!0)return 0;if(m.value===!0)return u.value===!0?s.value:0;const o=s.value-l.scroll.value.position;return o>0?o:0}),i=d(()=>e.modelValue!==!0||m.value===!0&&u.value!==!0),g=d(()=>e.modelValue===!0&&i.value===!0&&e.reveal===!0),b=d(()=>"q-header q-layout__section--marginal "+(m.value===!0?"fixed":"absolute")+"-top"+(e.bordered===!0?" q-header--bordered":"")+(i.value===!0?" q-header--hidden":"")+(e.modelValue!==!0?" q-layout--prevent-focus":"")),z=d(()=>{const o=l.rows.value.top,p={};return o[0]==="l"&&l.left.space===!0&&(p[t.lang.rtl===!0?"right":"left"]=`${l.left.size}px`),o[2]==="r"&&l.right.space===!0&&(p[t.lang.rtl===!0?"left":"right"]=`${l.right.size}px`),p});function c(o,p){l.update("header",o,p)}function y(o,p){o.value!==p&&(o.value=p)}function V({height:o}){y(s,o),c("size",o)}function O(o){g.value===!0&&y(u,!0),n("focusin",o)}x(()=>e.modelValue,o=>{c("space",o),y(u,!0),l.animate()}),x(a,o=>{c("offset",o)}),x(()=>e.reveal,o=>{o===!1&&y(u,e.modelValue)}),x(u,o=>{l.animate(),n("reveal",o)}),x(l.scroll,o=>{e.reveal===!0&&y(u,o.direction==="up"||o.position<=e.revealOffset||o.position-o.inflectionPoint<100)});const $={};return l.instances.header=$,e.modelValue===!0&&c("size",s.value),c("space",e.modelValue),c("offset",a.value),R(()=>{l.instances.header===$&&(l.instances.header=void 0,c("size",0),c("offset",0),c("space",!1))}),()=>{const o=ie(v.default,[]);return e.elevated===!0&&o.push(h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),o.push(h(M,{debounce:0,onResize:V})),h("header",{class:b.value,style:z.value,onFocusin:O},o)}}}),me=q({name:"QPageContainer",setup(e,{slots:v}){const{proxy:{$q:n}}=Q(),t=J(N,L);if(t===L)return console.error("QPageContainer needs to be child of QLayout"),L;X(Z,!0);const l=d(()=>{const s={};return t.header.space===!0&&(s.paddingTop=`${t.header.size}px`),t.right.space===!0&&(s[`padding${n.lang.rtl===!0?"Left":"Right"}`]=`${t.right.size}px`),t.footer.space===!0&&(s.paddingBottom=`${t.footer.size}px`),t.left.space===!0&&(s[`padding${n.lang.rtl===!0?"Right":"Left"}`]=`${t.left.size}px`),s});return()=>h("div",{class:"q-page-container",style:l.value},W(v.default))}});const{passive:I}=F,ge=["both","horizontal","vertical"];var be=q({name:"QScrollObserver",props:{axis:{type:String,validator:e=>ge.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:ae},emits:["scroll"],setup(e,{emit:v}){const n={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let t=null,l,s;x(()=>e.scrollTarget,()=>{a(),m()});function u(){t!==null&&t();const b=Math.max(0,ue(l)),z=ce(l),c={top:b-n.position.top,left:z-n.position.left};if(e.axis==="vertical"&&c.top===0||e.axis==="horizontal"&&c.left===0)return;const y=Math.abs(c.top)>=Math.abs(c.left)?c.top<0?"up":"down":c.left<0?"left":"right";n.position={top:b,left:z},n.directionChanged=n.direction!==y,n.delta=c,n.directionChanged===!0&&(n.direction=y,n.inflectionPoint=n.position),v("scroll",{...n})}function m(){l=se(s,e.scrollTarget),l.addEventListener("scroll",i,I),i(!0)}function a(){l!==void 0&&(l.removeEventListener("scroll",i,I),l=void 0)}function i(b){if(b===!0||e.debounce===0||e.debounce==="0")u();else if(t===null){const[z,c]=e.debounce?[setTimeout(u,e.debounce),clearTimeout]:[requestAnimationFrame(u),cancelAnimationFrame];t=()=>{c(z),t=null}}}const{proxy:g}=Q();return x(()=>g.$q.lang.rtl,u),P(()=>{s=g.$el.parentNode,m()}),R(()=>{t!==null&&t(),a()}),Object.assign(g,{trigger:i,getPosition:()=>n}),G}}),pe=q({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:v,emit:n}){const{proxy:{$q:t}}=Q(),l=w(null),s=w(t.screen.height),u=w(e.container===!0?0:t.screen.width),m=w({position:0,direction:"down",inflectionPoint:0}),a=w(0),i=w(K.value===!0?0:k()),g=d(()=>"q-layout q-layout--"+(e.container===!0?"containerized":"standard")),b=d(()=>e.container===!1?{minHeight:t.screen.height+"px"}:null),z=d(()=>i.value!==0?{[t.lang.rtl===!0?"left":"right"]:`${i.value}px`}:null),c=d(()=>i.value!==0?{[t.lang.rtl===!0?"right":"left"]:0,[t.lang.rtl===!0?"left":"right"]:`-${i.value}px`,width:`calc(100% + ${i.value}px)`}:null);function y(r){if(e.container===!0||document.qScrollPrevented!==!0){const f={position:r.position.top,direction:r.direction,directionChanged:r.directionChanged,inflectionPoint:r.inflectionPoint.top,delta:r.delta.top};m.value=f,e.onScroll!==void 0&&n("scroll",f)}}function V(r){const{height:f,width:S}=r;let H=!1;s.value!==f&&(H=!0,s.value=f,e.onScrollHeight!==void 0&&n("scrollHeight",f),$()),u.value!==S&&(H=!0,u.value=S),H===!0&&e.onResize!==void 0&&n("resize",r)}function O({height:r}){a.value!==r&&(a.value=r,$())}function $(){if(e.container===!0){const r=s.value>a.value?k():0;i.value!==r&&(i.value=r)}}let o=null;const p={instances:{},view:d(()=>e.view),isContainer:d(()=>e.container),rootRef:l,height:s,containerHeight:a,scrollbarWidth:i,totalWidth:d(()=>u.value+i.value),rows:d(()=>{const r=e.view.toLowerCase().split(" ");return{top:r[0].split(""),middle:r[1].split(""),bottom:r[2].split("")}}),header:C({size:0,offset:0,space:!1}),right:C({size:300,offset:0,space:!1}),footer:C({size:0,offset:0,space:!1}),left:C({size:300,offset:0,space:!1}),scroll:m,animate(){o!==null?clearTimeout(o):document.body.classList.add("q-body--layout-animate"),o=setTimeout(()=>{o=null,document.body.classList.remove("q-body--layout-animate")},155)},update(r,f,S){p[r][f]=S}};if(X(N,p),k()>0){let S=function(){r=null,f.classList.remove("hide-scrollbar")},H=function(){if(r===null){if(f.scrollHeight>t.screen.height)return;f.classList.add("hide-scrollbar")}else clearTimeout(r);r=setTimeout(S,300)},B=function(j){r!==null&&j==="remove"&&(clearTimeout(r),S()),window[`${j}EventListener`]("resize",H)},r=null;const f=document.body;x(()=>e.container!==!0?"add":"remove",B),e.container!==!0&&B("add"),ee(()=>{B("remove")})}return()=>{const r=re(v.default,[h(be,{onScroll:y}),h(M,{onResize:V})]),f=h("div",{class:g.value,style:b.value,ref:e.container===!0?void 0:l,tabindex:-1},r);return e.container===!0?h("div",{class:"q-layout-container overflow-hidden",ref:l},[h(M,{onResize:O}),h("div",{class:"absolute-full",style:z.value},[h("div",{class:"scroll",style:c.value},[f])])]):f}}});const ye={};function we(e,v){const n=ne("router-view");return oe(),le(pe,{view:"lHh Lpr lFf"},{default:T(()=>[_(he,null,{default:T(()=>[_(fe,null,{default:T(()=>[_(de,null,{default:T(()=>[E(" Mailtower - E-Mail Header Analyzer ")]),_:1}),_(A,{stretch:"",flat:"",href:"https://mailtower.app"},{default:T(()=>[E(" Mailtower.app ")]),_:1}),_(A,{stretch:"",flat:"",href:"https://github.com/mailtower-app/email-header-analyzer"},{default:T(()=>[E(" GitHub ")]),_:1})]),_:1})]),_:1}),_(me,null,{default:T(()=>[_(n)]),_:1})]),_:1})}var Te=te(ye,[["render",we]]);export{Te as default}; +import{c as q,a as d,h,r as w,i as K,o as P,b as R,n as G,d as D,g as Q,l as F,e as J,f as L,w as x,j as N,p as X,k as Z,m as C,q as ee,_ as te,s as ne,t as oe,u as le,v as T,x as _,y as E}from"./index.f84f4bc3.js";import{h as W,a as ie,b as re,Q as A}from"./QBtn.4e090f7b.js";import{s as ae,g as se,a as ue,b as ce,c as k}from"./scroll.e32252bb.js";var de=q({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:v}){const n=d(()=>"q-toolbar__title ellipsis"+(e.shrink===!0?" col-shrink":""));return()=>h("div",{class:n.value},W(v.default))}}),fe=q({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:v}){const n=d(()=>"q-toolbar row no-wrap items-center"+(e.inset===!0?" q-toolbar--inset":""));return()=>h("div",{class:n.value,role:"toolbar"},W(v.default))}});function ve(){const e=w(!K.value);return e.value===!1&&P(()=>{e.value=!0}),{isHydrated:e}}const Y=typeof ResizeObserver!="undefined",U=Y===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"};var M=q({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:v}){let n=null,t,l={width:-1,height:-1};function s(a){a===!0||e.debounce===0||e.debounce==="0"?u():n===null&&(n=setTimeout(u,e.debounce))}function u(){if(n!==null&&(clearTimeout(n),n=null),t){const{offsetWidth:a,offsetHeight:i}=t;(a!==l.width||i!==l.height)&&(l={width:a,height:i},v("resize",l))}}const{proxy:m}=Q();if(m.trigger=s,Y===!0){let a;const i=g=>{t=m.$el.parentNode,t?(a=new ResizeObserver(s),a.observe(t),u()):g!==!0&&D(()=>{i(!0)})};return P(()=>{i()}),R(()=>{n!==null&&clearTimeout(n),a!==void 0&&(a.disconnect!==void 0?a.disconnect():t&&a.unobserve(t))}),G}else{let g=function(){n!==null&&(clearTimeout(n),n=null),i!==void 0&&(i.removeEventListener!==void 0&&i.removeEventListener("resize",s,F.passive),i=void 0)},b=function(){g(),t&&t.contentDocument&&(i=t.contentDocument.defaultView,i.addEventListener("resize",s,F.passive),u())};const{isHydrated:a}=ve();let i;return P(()=>{D(()=>{t=m.$el,t&&b()})}),R(g),()=>{if(a.value===!0)return h("object",{class:"q--avoid-card-border",style:U.style,tabindex:-1,type:"text/html",data:U.url,"aria-hidden":"true",onLoad:b})}}}}),he=q({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:v,emit:n}){const{proxy:{$q:t}}=Q(),l=J(N,L);if(l===L)return console.error("QHeader needs to be child of QLayout"),L;const s=w(parseInt(e.heightHint,10)),u=w(!0),m=d(()=>e.reveal===!0||l.view.value.indexOf("H")!==-1||t.platform.is.ios&&l.isContainer.value===!0),a=d(()=>{if(e.modelValue!==!0)return 0;if(m.value===!0)return u.value===!0?s.value:0;const o=s.value-l.scroll.value.position;return o>0?o:0}),i=d(()=>e.modelValue!==!0||m.value===!0&&u.value!==!0),g=d(()=>e.modelValue===!0&&i.value===!0&&e.reveal===!0),b=d(()=>"q-header q-layout__section--marginal "+(m.value===!0?"fixed":"absolute")+"-top"+(e.bordered===!0?" q-header--bordered":"")+(i.value===!0?" q-header--hidden":"")+(e.modelValue!==!0?" q-layout--prevent-focus":"")),z=d(()=>{const o=l.rows.value.top,p={};return o[0]==="l"&&l.left.space===!0&&(p[t.lang.rtl===!0?"right":"left"]=`${l.left.size}px`),o[2]==="r"&&l.right.space===!0&&(p[t.lang.rtl===!0?"left":"right"]=`${l.right.size}px`),p});function c(o,p){l.update("header",o,p)}function y(o,p){o.value!==p&&(o.value=p)}function V({height:o}){y(s,o),c("size",o)}function O(o){g.value===!0&&y(u,!0),n("focusin",o)}x(()=>e.modelValue,o=>{c("space",o),y(u,!0),l.animate()}),x(a,o=>{c("offset",o)}),x(()=>e.reveal,o=>{o===!1&&y(u,e.modelValue)}),x(u,o=>{l.animate(),n("reveal",o)}),x(l.scroll,o=>{e.reveal===!0&&y(u,o.direction==="up"||o.position<=e.revealOffset||o.position-o.inflectionPoint<100)});const $={};return l.instances.header=$,e.modelValue===!0&&c("size",s.value),c("space",e.modelValue),c("offset",a.value),R(()=>{l.instances.header===$&&(l.instances.header=void 0,c("size",0),c("offset",0),c("space",!1))}),()=>{const o=ie(v.default,[]);return e.elevated===!0&&o.push(h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),o.push(h(M,{debounce:0,onResize:V})),h("header",{class:b.value,style:z.value,onFocusin:O},o)}}}),me=q({name:"QPageContainer",setup(e,{slots:v}){const{proxy:{$q:n}}=Q(),t=J(N,L);if(t===L)return console.error("QPageContainer needs to be child of QLayout"),L;X(Z,!0);const l=d(()=>{const s={};return t.header.space===!0&&(s.paddingTop=`${t.header.size}px`),t.right.space===!0&&(s[`padding${n.lang.rtl===!0?"Left":"Right"}`]=`${t.right.size}px`),t.footer.space===!0&&(s.paddingBottom=`${t.footer.size}px`),t.left.space===!0&&(s[`padding${n.lang.rtl===!0?"Right":"Left"}`]=`${t.left.size}px`),s});return()=>h("div",{class:"q-page-container",style:l.value},W(v.default))}});const{passive:I}=F,ge=["both","horizontal","vertical"];var be=q({name:"QScrollObserver",props:{axis:{type:String,validator:e=>ge.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:ae},emits:["scroll"],setup(e,{emit:v}){const n={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let t=null,l,s;x(()=>e.scrollTarget,()=>{a(),m()});function u(){t!==null&&t();const b=Math.max(0,ue(l)),z=ce(l),c={top:b-n.position.top,left:z-n.position.left};if(e.axis==="vertical"&&c.top===0||e.axis==="horizontal"&&c.left===0)return;const y=Math.abs(c.top)>=Math.abs(c.left)?c.top<0?"up":"down":c.left<0?"left":"right";n.position={top:b,left:z},n.directionChanged=n.direction!==y,n.delta=c,n.directionChanged===!0&&(n.direction=y,n.inflectionPoint=n.position),v("scroll",{...n})}function m(){l=se(s,e.scrollTarget),l.addEventListener("scroll",i,I),i(!0)}function a(){l!==void 0&&(l.removeEventListener("scroll",i,I),l=void 0)}function i(b){if(b===!0||e.debounce===0||e.debounce==="0")u();else if(t===null){const[z,c]=e.debounce?[setTimeout(u,e.debounce),clearTimeout]:[requestAnimationFrame(u),cancelAnimationFrame];t=()=>{c(z),t=null}}}const{proxy:g}=Q();return x(()=>g.$q.lang.rtl,u),P(()=>{s=g.$el.parentNode,m()}),R(()=>{t!==null&&t(),a()}),Object.assign(g,{trigger:i,getPosition:()=>n}),G}}),pe=q({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:v,emit:n}){const{proxy:{$q:t}}=Q(),l=w(null),s=w(t.screen.height),u=w(e.container===!0?0:t.screen.width),m=w({position:0,direction:"down",inflectionPoint:0}),a=w(0),i=w(K.value===!0?0:k()),g=d(()=>"q-layout q-layout--"+(e.container===!0?"containerized":"standard")),b=d(()=>e.container===!1?{minHeight:t.screen.height+"px"}:null),z=d(()=>i.value!==0?{[t.lang.rtl===!0?"left":"right"]:`${i.value}px`}:null),c=d(()=>i.value!==0?{[t.lang.rtl===!0?"right":"left"]:0,[t.lang.rtl===!0?"left":"right"]:`-${i.value}px`,width:`calc(100% + ${i.value}px)`}:null);function y(r){if(e.container===!0||document.qScrollPrevented!==!0){const f={position:r.position.top,direction:r.direction,directionChanged:r.directionChanged,inflectionPoint:r.inflectionPoint.top,delta:r.delta.top};m.value=f,e.onScroll!==void 0&&n("scroll",f)}}function V(r){const{height:f,width:S}=r;let H=!1;s.value!==f&&(H=!0,s.value=f,e.onScrollHeight!==void 0&&n("scrollHeight",f),$()),u.value!==S&&(H=!0,u.value=S),H===!0&&e.onResize!==void 0&&n("resize",r)}function O({height:r}){a.value!==r&&(a.value=r,$())}function $(){if(e.container===!0){const r=s.value>a.value?k():0;i.value!==r&&(i.value=r)}}let o=null;const p={instances:{},view:d(()=>e.view),isContainer:d(()=>e.container),rootRef:l,height:s,containerHeight:a,scrollbarWidth:i,totalWidth:d(()=>u.value+i.value),rows:d(()=>{const r=e.view.toLowerCase().split(" ");return{top:r[0].split(""),middle:r[1].split(""),bottom:r[2].split("")}}),header:C({size:0,offset:0,space:!1}),right:C({size:300,offset:0,space:!1}),footer:C({size:0,offset:0,space:!1}),left:C({size:300,offset:0,space:!1}),scroll:m,animate(){o!==null?clearTimeout(o):document.body.classList.add("q-body--layout-animate"),o=setTimeout(()=>{o=null,document.body.classList.remove("q-body--layout-animate")},155)},update(r,f,S){p[r][f]=S}};if(X(N,p),k()>0){let S=function(){r=null,f.classList.remove("hide-scrollbar")},H=function(){if(r===null){if(f.scrollHeight>t.screen.height)return;f.classList.add("hide-scrollbar")}else clearTimeout(r);r=setTimeout(S,300)},B=function(j){r!==null&&j==="remove"&&(clearTimeout(r),S()),window[`${j}EventListener`]("resize",H)},r=null;const f=document.body;x(()=>e.container!==!0?"add":"remove",B),e.container!==!0&&B("add"),ee(()=>{B("remove")})}return()=>{const r=re(v.default,[h(be,{onScroll:y}),h(M,{onResize:V})]),f=h("div",{class:g.value,style:b.value,ref:e.container===!0?void 0:l,tabindex:-1},r);return e.container===!0?h("div",{class:"q-layout-container overflow-hidden",ref:l},[h(M,{onResize:O}),h("div",{class:"absolute-full",style:z.value},[h("div",{class:"scroll",style:c.value},[f])])]):f}}});const ye={};function we(e,v){const n=ne("router-view");return oe(),le(pe,{view:"lHh Lpr lFf"},{default:T(()=>[_(he,null,{default:T(()=>[_(fe,null,{default:T(()=>[_(de,null,{default:T(()=>[E(" Mailtower - E-Mail Header Analyzer ")]),_:1}),_(A,{stretch:"",flat:"",href:"https://mailtower.app"},{default:T(()=>[E(" Mailtower.app ")]),_:1}),_(A,{stretch:"",flat:"",href:"https://github.com/mailtower-app/email-header-analyzer"},{default:T(()=>[E(" GitHub ")]),_:1})]),_:1})]),_:1}),_(me,null,{default:T(()=>[_(n)]),_:1})]),_:1})}var Te=te(ye,[["render",we]]);export{Te as default}; diff --git a/assets/QBtn.42afa22b.js b/assets/QBtn.4e090f7b.js similarity index 99% rename from assets/QBtn.42afa22b.js rename to assets/QBtn.4e090f7b.js index 8334f78..4e8f966 100644 --- a/assets/QBtn.42afa22b.js +++ b/assets/QBtn.4e090f7b.js @@ -1 +1 @@ -import{h as v,z as ae,a as c,c as Q,g as V,A as fe,B as ve,C as N,D as ge,E as me,F as re,G as he,r as H,b as be,T as ye,H as P,I as ke,l as pe}from"./index.effe9558.js";function xe(e,t){return e!==void 0&&e()||t}function Je(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function z(e,t){return e!==void 0?t.concat(e()):t}function Ze(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function et(e,t,n,a,l,d){t.key=a+l;const o=v(e,t,n);return l===!0?ae(o,d()):o}const F={xs:18,sm:24,md:32,lg:38,xl:46},ie={size:String};function ue(e,t=F){return c(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}const U="0 0 24 24",W=e=>e,K=e=>`ionicons ${e}`,le={"mdi-":e=>`mdi ${e}`,"icon-":W,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":K,"ion-ios":K,"ion-logo":K,"iconfont ":W,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},oe={o_:"-outlined",r_:"-round",s_:"-sharp"},se={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},qe=new RegExp("^("+Object.keys(le).join("|")+")"),$e=new RegExp("^("+Object.keys(oe).join("|")+")"),X=new RegExp("^("+Object.keys(se).join("|")+")"),Ee=/^[Mm]\s?[-+]?\.?\d/,Se=/^img:/,Re=/^svguse:/,we=/^ion-/,Be=/^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /;var G=Q({name:"QIcon",props:{...ie,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=V(),a=ue(e),l=c(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),d=c(()=>{let o,i=e.name;if(i==="none"||!i)return{none:!0};if(n.iconMapFn!==null){const s=n.iconMapFn(i);if(s!==void 0)if(s.icon!==void 0){if(i=s.icon,i==="none"||!i)return{none:!0}}else return{cls:s.cls,content:s.content!==void 0?s.content:" "}}if(Ee.test(i)===!0){const[s,y=U]=i.split("|");return{svg:!0,viewBox:y,nodes:s.split("&&").map(u=>{const[k,h,p]=u.split("@@");return v("path",{style:h,d:k,transform:p})})}}if(Se.test(i)===!0)return{img:!0,src:i.substring(4)};if(Re.test(i)===!0){const[s,y=U]=i.split("|");return{svguse:!0,src:s.substring(7),viewBox:y}}let q=" ";const b=i.match(qe);if(b!==null)o=le[b[1]](i);else if(Be.test(i)===!0)o=i;else if(we.test(i)===!0)o=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${i.substring(3)}`;else if(X.test(i)===!0){o="notranslate material-symbols";const s=i.match(X);s!==null&&(i=i.substring(6),o+=se[s[1]]),q=i}else{o="notranslate material-icons";const s=i.match($e);s!==null&&(i=i.substring(2),o+=oe[s[1]]),q=i}return{cls:o,content:q}});return()=>{const o={class:l.value,style:a.value,"aria-hidden":"true",role:"presentation"};return d.value.none===!0?v(e.tag,o,xe(t.default)):d.value.img===!0?v(e.tag,o,z(t.default,[v("img",{src:d.value.src})])):d.value.svg===!0?v(e.tag,o,z(t.default,[v("svg",{viewBox:d.value.viewBox||"0 0 24 24"},d.value.nodes)])):d.value.svguse===!0?v(e.tag,o,z(t.default,[v("svg",{viewBox:d.value.viewBox},[v("use",{"xlink:href":d.value.src})])])):(d.value.cls!==void 0&&(o.class+=" "+d.value.cls),v(e.tag,o,z(t.default,[d.value.content])))}}});const Ce={size:{type:[String,Number],default:"1em"},color:String};function Le(e){return{cSize:c(()=>e.size in F?`${F[e.size]}px`:e.size),classes:c(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}var _e=Q({name:"QSpinner",props:{...Ce,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=Le(e);return()=>v("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[v("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Pe(e,t){const n=e.style;for(const a in t)n[a]=t[a]}function tt(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=fe(e);if(t)return t.$el||t}function nt(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}function Te(e,t=250){let n=!1,a;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),a=e.apply(this,arguments)),a}}function Y(e,t,n,a){n.modifiers.stop===!0&&re(e);const l=n.modifiers.color;let d=n.modifiers.center;d=d===!0||a===!0;const o=document.createElement("span"),i=document.createElement("span"),q=he(e),{left:b,top:s,width:y,height:u}=t.getBoundingClientRect(),k=Math.sqrt(y*y+u*u),h=k/2,p=`${(y-k)/2}px`,f=d?p:`${q.left-b-h}px`,x=`${(u-k)/2}px`,_=d?x:`${q.top-s-h}px`;i.className="q-ripple__inner",Pe(i,{height:`${k}px`,width:`${k}px`,transform:`translate3d(${f},${_},0) scale3d(.2,.2,1)`,opacity:0}),o.className=`q-ripple${l?" text-"+l:""}`,o.setAttribute("dir","ltr"),o.appendChild(i),t.appendChild(o);const C=()=>{o.remove(),clearTimeout(L)};n.abort.push(C);let L=setTimeout(()=>{i.classList.add("q-ripple__inner--enter"),i.style.transform=`translate3d(${p},${x},0) scale3d(1,1,1)`,i.style.opacity=.2,L=setTimeout(()=>{i.classList.remove("q-ripple__inner--enter"),i.classList.add("q-ripple__inner--leave"),i.style.opacity=0,L=setTimeout(()=>{o.remove(),n.abort.splice(n.abort.indexOf(C),1)},275)},250)},50)}function J(e,{modifiers:t,value:n,arg:a}){const l=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:l.early===!0,stop:l.stop===!0,center:l.center===!0,color:l.color||a,keyCodes:[].concat(l.keyCodes||13)}}var Oe=ve({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const a={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(l){a.enabled===!0&&l.qSkipRipple!==!0&&l.type===(a.modifiers.early===!0?"pointerdown":"click")&&Y(l,e,a,l.qKeyEvent===!0)},keystart:Te(l=>{a.enabled===!0&&l.qSkipRipple!==!0&&N(l,a.modifiers.keyCodes)===!0&&l.type===`key${a.modifiers.early===!0?"down":"up"}`&&Y(l,e,a,!0)},300)};J(a,t),e.__qripple=a,ge(a,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;n!==void 0&&(n.enabled=t.value!==!1,n.enabled===!0&&Object(t.value)===t.value&&J(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),me(t,"main"),delete e._qripple)}});const ce={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Ae=Object.keys(ce),Me={align:{type:String,validator:e=>Ae.includes(e)}};function je(e){return c(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${ce[t]}`})}function at(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function ze(e){return e.appContext.config.globalProperties.$router!==void 0}function rt(e){return e.isUnmounted===!0||e.isDeactivated===!0}function Z(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function ee(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function De(e,t){for(const n in t){const a=t[n],l=e[n];if(typeof a=="string"){if(a!==l)return!1}else if(Array.isArray(l)===!1||l.length!==a.length||a.some((d,o)=>d!==l[o]))return!1}return!0}function te(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((n,a)=>n===t[a]):e.length===1&&e[0]===t}function Ie(e,t){return Array.isArray(e)===!0?te(e,t):Array.isArray(t)===!0?te(t,e):e===t}function Ke(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(Ie(e[n],t[n])===!1)return!1;return!0}const de={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},it={...de,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function Ne({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=V(),{props:a,proxy:l,emit:d}=n,o=ze(n),i=c(()=>a.disable!==!0&&a.href!==void 0),q=t===!0?c(()=>o===!0&&a.disable!==!0&&i.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==""):c(()=>o===!0&&i.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==""),b=c(()=>q.value===!0?_(a.to):null),s=c(()=>b.value!==null),y=c(()=>i.value===!0||s.value===!0),u=c(()=>a.type==="a"||y.value===!0?"a":a.tag||e||"div"),k=c(()=>i.value===!0?{href:a.href,target:a.target}:s.value===!0?{href:b.value.href,target:a.target}:{}),h=c(()=>{if(s.value===!1)return-1;const{matched:g}=b.value,{length:$}=g,S=g[$-1];if(S===void 0)return-1;const w=l.$route.matched;if(w.length===0)return-1;const B=w.findIndex(ee.bind(null,S));if(B!==-1)return B;const D=Z(g[$-2]);return $>1&&Z(S)===D&&w[w.length-1].path!==D?w.findIndex(ee.bind(null,g[$-2])):B}),p=c(()=>s.value===!0&&h.value!==-1&&De(l.$route.params,b.value.params)),f=c(()=>p.value===!0&&h.value===l.$route.matched.length-1&&Ke(l.$route.params,b.value.params)),x=c(()=>s.value===!0?f.value===!0?` ${a.exactActiveClass} ${a.activeClass}`:a.exact===!0?"":p.value===!0?` ${a.activeClass}`:"":"");function _(g){try{return l.$router.resolve(g)}catch{}return null}function C(g,{returnRouterError:$,to:S=a.to,replace:w=a.replace}={}){if(a.disable===!0)return g.preventDefault(),Promise.resolve(!1);if(g.metaKey||g.altKey||g.ctrlKey||g.shiftKey||g.button!==void 0&&g.button!==0||a.target==="_blank")return Promise.resolve(!1);g.preventDefault();const B=l.$router[w===!0?"replace":"push"](S);return $===!0?B:B.then(()=>{}).catch(()=>{})}function L(g){if(s.value===!0){const $=S=>C(g,S);d("click",g,$),g.defaultPrevented!==!0&&$()}else d("click",g)}return{hasRouterLink:s,hasHrefLink:i,hasLink:y,linkTag:u,resolvedLink:b,linkIsActive:p,linkIsExactActive:f,linkClass:x,linkAttrs:k,getLink:_,navigateToRouterLink:C,navigateOnClick:L}}const ne={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Fe={xs:8,sm:10,md:14,lg:20,xl:24},Qe=["button","submit","reset"],Ve=/[^\s]\/[^\s]/,He=["flat","outline","push","unelevated"];function Ue(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const We={...ie,...de,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...He.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...Me.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},Xe={...We,round:Boolean};function Ge(e){const t=ue(e,Fe),n=je(e),{hasRouterLink:a,hasLink:l,linkTag:d,linkAttrs:o,navigateOnClick:i}=Ne({fallbackTag:"button"}),q=c(()=>{const f=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},f,{padding:e.padding.split(/\s+/).map(x=>x in ne?ne[x]+"px":x).join(" "),minWidth:"0",minHeight:"0"}):f}),b=c(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),s=c(()=>e.disable!==!0&&e.loading!==!0),y=c(()=>s.value===!0?e.tabindex||0:-1),u=c(()=>Ue(e,"standard")),k=c(()=>{const f={tabindex:y.value};return l.value===!0?Object.assign(f,o.value):Qe.includes(e.type)===!0&&(f.type=e.type),d.value==="a"?(e.disable===!0?f["aria-disabled"]="true":f.href===void 0&&(f.role="button"),a.value!==!0&&Ve.test(e.type)===!0&&(f.type=e.type)):e.disable===!0&&(f.disabled="",f["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(f,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),f}),h=c(()=>{let f;e.color!==void 0?e.flat===!0||e.outline===!0?f=`text-${e.textColor||e.color}`:f=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(f=`text-${e.textColor}`);const x=e.round===!0?"round":`rectangle${b.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${u.value} q-btn--${x}`+(f!==void 0?" "+f:"")+(s.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),p=c(()=>n.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:h,style:q,innerClasses:p,attributes:k,hasLink:l,linkTag:d,navigateOnClick:i,isActionable:s}}const{passiveCapture:E}=pe;let T=null,O=null,A=null;var ut=Q({name:"QBtn",props:{...Xe,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:a}=V(),{classes:l,style:d,innerClasses:o,attributes:i,hasLink:q,linkTag:b,navigateOnClick:s,isActionable:y}=Ge(e),u=H(null),k=H(null);let h=null,p,f=null;const x=c(()=>e.label!==void 0&&e.label!==null&&e.label!==""),_=c(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:q.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),C=c(()=>({center:e.round})),L=c(()=>{const r=Math.max(0,Math.min(100,e.percentage));return r>0?{transition:"transform 0.6s",transform:`translateX(${r-100}%)`}:{}}),g=c(()=>{if(e.loading===!0)return{onMousedown:j,onTouchstart:j,onClick:j,onKeydown:j,onKeyup:j};if(y.value===!0){const r={onClick:S,onKeydown:w,onMousedown:D};if(a.$q.platform.has.touch===!0){const m=e.onTouchstart!==void 0?"":"Passive";r[`onTouchstart${m}`]=B}return r}return{onClick:P}}),$=c(()=>({ref:u,class:"q-btn q-btn-item non-selectable no-outline "+l.value,style:d.value,...i.value,...g.value}));function S(r){if(u.value!==null){if(r!==void 0){if(r.defaultPrevented===!0)return;const m=document.activeElement;if(e.type==="submit"&&m!==document.body&&u.value.contains(m)===!1&&m.contains(u.value)===!1){u.value.focus();const I=()=>{document.removeEventListener("keydown",P,!0),document.removeEventListener("keyup",I,E),u.value!==null&&u.value.removeEventListener("blur",I,E)};document.addEventListener("keydown",P,!0),document.addEventListener("keyup",I,E),u.value.addEventListener("blur",I,E)}}s(r)}}function w(r){u.value!==null&&(n("keydown",r),N(r,[13,32])===!0&&O!==u.value&&(O!==null&&M(),r.defaultPrevented!==!0&&(u.value.focus(),O=u.value,u.value.classList.add("q-btn--active"),document.addEventListener("keyup",R,!0),u.value.addEventListener("blur",R,E)),P(r)))}function B(r){u.value!==null&&(n("touchstart",r),r.defaultPrevented!==!0&&(T!==u.value&&(T!==null&&M(),T=u.value,h=r.target,h.addEventListener("touchcancel",R,E),h.addEventListener("touchend",R,E)),p=!0,f!==null&&clearTimeout(f),f=setTimeout(()=>{f=null,p=!1},200)))}function D(r){u.value!==null&&(r.qSkipRipple=p===!0,n("mousedown",r),r.defaultPrevented!==!0&&A!==u.value&&(A!==null&&M(),A=u.value,u.value.classList.add("q-btn--active"),document.addEventListener("mouseup",R,E)))}function R(r){if(u.value!==null&&!(r!==void 0&&r.type==="blur"&&document.activeElement===u.value)){if(r!==void 0&&r.type==="keyup"){if(O===u.value&&N(r,[13,32])===!0){const m=new MouseEvent("click",r);m.qKeyEvent=!0,r.defaultPrevented===!0&&ke(m),r.cancelBubble===!0&&re(m),u.value.dispatchEvent(m),P(r),r.qKeyEvent=!0}n("keyup",r)}M()}}function M(r){const m=k.value;r!==!0&&(T===u.value||A===u.value)&&m!==null&&m!==document.activeElement&&(m.setAttribute("tabindex",-1),m.focus()),T===u.value&&(h!==null&&(h.removeEventListener("touchcancel",R,E),h.removeEventListener("touchend",R,E)),T=h=null),A===u.value&&(document.removeEventListener("mouseup",R,E),A=null),O===u.value&&(document.removeEventListener("keyup",R,!0),u.value!==null&&u.value.removeEventListener("blur",R,E),O=null),u.value!==null&&u.value.classList.remove("q-btn--active")}function j(r){P(r),r.qSkipRipple=!0}return be(()=>{M(!0)}),Object.assign(a,{click:r=>{y.value===!0&&S(r)}}),()=>{let r=[];e.icon!==void 0&&r.push(v(G,{name:e.icon,left:e.stack!==!0&&x.value===!0,role:"img","aria-hidden":"true"})),x.value===!0&&r.push(v("span",{class:"block"},[e.label])),r=z(t.default,r),e.iconRight!==void 0&&e.round===!1&&r.push(v(G,{name:e.iconRight,right:e.stack!==!0&&x.value===!0,role:"img","aria-hidden":"true"}));const m=[v("span",{class:"q-focus-helper",ref:k})];return e.loading===!0&&e.percentage!==void 0&&m.push(v("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[v("span",{class:"q-btn__progress-indicator fit block",style:L.value})])),m.push(v("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+o.value},r)),e.loading!==null&&m.push(v(ye,{name:"q-transition--fade"},()=>e.loading===!0?[v("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[v(_e)])]:null)),ae(v(b.value,$.value,m),[[Oe,_.value,void 0,C.value]])}}});export{ut as Q,Oe as R,Je as a,z as b,Pe as c,G as d,_e as e,ue as f,tt as g,xe as h,et as i,Ze as j,it as k,Ne as l,at as m,rt as n,nt as o,ie as u,ze as v}; +import{h as v,z as ae,a as c,c as Q,g as V,A as fe,B as ve,C as N,D as ge,E as me,F as re,G as he,r as H,b as be,T as ye,H as P,I as ke,l as pe}from"./index.f84f4bc3.js";function xe(e,t){return e!==void 0&&e()||t}function Je(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function z(e,t){return e!==void 0?t.concat(e()):t}function Ze(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function et(e,t,n,a,l,d){t.key=a+l;const o=v(e,t,n);return l===!0?ae(o,d()):o}const F={xs:18,sm:24,md:32,lg:38,xl:46},ie={size:String};function ue(e,t=F){return c(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}const U="0 0 24 24",W=e=>e,K=e=>`ionicons ${e}`,le={"mdi-":e=>`mdi ${e}`,"icon-":W,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":K,"ion-ios":K,"ion-logo":K,"iconfont ":W,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},oe={o_:"-outlined",r_:"-round",s_:"-sharp"},se={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},qe=new RegExp("^("+Object.keys(le).join("|")+")"),$e=new RegExp("^("+Object.keys(oe).join("|")+")"),X=new RegExp("^("+Object.keys(se).join("|")+")"),Ee=/^[Mm]\s?[-+]?\.?\d/,Se=/^img:/,Re=/^svguse:/,we=/^ion-/,Be=/^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /;var G=Q({name:"QIcon",props:{...ie,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=V(),a=ue(e),l=c(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),d=c(()=>{let o,i=e.name;if(i==="none"||!i)return{none:!0};if(n.iconMapFn!==null){const s=n.iconMapFn(i);if(s!==void 0)if(s.icon!==void 0){if(i=s.icon,i==="none"||!i)return{none:!0}}else return{cls:s.cls,content:s.content!==void 0?s.content:" "}}if(Ee.test(i)===!0){const[s,y=U]=i.split("|");return{svg:!0,viewBox:y,nodes:s.split("&&").map(u=>{const[k,h,p]=u.split("@@");return v("path",{style:h,d:k,transform:p})})}}if(Se.test(i)===!0)return{img:!0,src:i.substring(4)};if(Re.test(i)===!0){const[s,y=U]=i.split("|");return{svguse:!0,src:s.substring(7),viewBox:y}}let q=" ";const b=i.match(qe);if(b!==null)o=le[b[1]](i);else if(Be.test(i)===!0)o=i;else if(we.test(i)===!0)o=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${i.substring(3)}`;else if(X.test(i)===!0){o="notranslate material-symbols";const s=i.match(X);s!==null&&(i=i.substring(6),o+=se[s[1]]),q=i}else{o="notranslate material-icons";const s=i.match($e);s!==null&&(i=i.substring(2),o+=oe[s[1]]),q=i}return{cls:o,content:q}});return()=>{const o={class:l.value,style:a.value,"aria-hidden":"true",role:"presentation"};return d.value.none===!0?v(e.tag,o,xe(t.default)):d.value.img===!0?v(e.tag,o,z(t.default,[v("img",{src:d.value.src})])):d.value.svg===!0?v(e.tag,o,z(t.default,[v("svg",{viewBox:d.value.viewBox||"0 0 24 24"},d.value.nodes)])):d.value.svguse===!0?v(e.tag,o,z(t.default,[v("svg",{viewBox:d.value.viewBox},[v("use",{"xlink:href":d.value.src})])])):(d.value.cls!==void 0&&(o.class+=" "+d.value.cls),v(e.tag,o,z(t.default,[d.value.content])))}}});const Ce={size:{type:[String,Number],default:"1em"},color:String};function Le(e){return{cSize:c(()=>e.size in F?`${F[e.size]}px`:e.size),classes:c(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}var _e=Q({name:"QSpinner",props:{...Ce,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=Le(e);return()=>v("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[v("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Pe(e,t){const n=e.style;for(const a in t)n[a]=t[a]}function tt(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=fe(e);if(t)return t.$el||t}function nt(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}function Te(e,t=250){let n=!1,a;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),a=e.apply(this,arguments)),a}}function Y(e,t,n,a){n.modifiers.stop===!0&&re(e);const l=n.modifiers.color;let d=n.modifiers.center;d=d===!0||a===!0;const o=document.createElement("span"),i=document.createElement("span"),q=he(e),{left:b,top:s,width:y,height:u}=t.getBoundingClientRect(),k=Math.sqrt(y*y+u*u),h=k/2,p=`${(y-k)/2}px`,f=d?p:`${q.left-b-h}px`,x=`${(u-k)/2}px`,_=d?x:`${q.top-s-h}px`;i.className="q-ripple__inner",Pe(i,{height:`${k}px`,width:`${k}px`,transform:`translate3d(${f},${_},0) scale3d(.2,.2,1)`,opacity:0}),o.className=`q-ripple${l?" text-"+l:""}`,o.setAttribute("dir","ltr"),o.appendChild(i),t.appendChild(o);const C=()=>{o.remove(),clearTimeout(L)};n.abort.push(C);let L=setTimeout(()=>{i.classList.add("q-ripple__inner--enter"),i.style.transform=`translate3d(${p},${x},0) scale3d(1,1,1)`,i.style.opacity=.2,L=setTimeout(()=>{i.classList.remove("q-ripple__inner--enter"),i.classList.add("q-ripple__inner--leave"),i.style.opacity=0,L=setTimeout(()=>{o.remove(),n.abort.splice(n.abort.indexOf(C),1)},275)},250)},50)}function J(e,{modifiers:t,value:n,arg:a}){const l=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:l.early===!0,stop:l.stop===!0,center:l.center===!0,color:l.color||a,keyCodes:[].concat(l.keyCodes||13)}}var Oe=ve({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const a={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(l){a.enabled===!0&&l.qSkipRipple!==!0&&l.type===(a.modifiers.early===!0?"pointerdown":"click")&&Y(l,e,a,l.qKeyEvent===!0)},keystart:Te(l=>{a.enabled===!0&&l.qSkipRipple!==!0&&N(l,a.modifiers.keyCodes)===!0&&l.type===`key${a.modifiers.early===!0?"down":"up"}`&&Y(l,e,a,!0)},300)};J(a,t),e.__qripple=a,ge(a,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;n!==void 0&&(n.enabled=t.value!==!1,n.enabled===!0&&Object(t.value)===t.value&&J(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),me(t,"main"),delete e._qripple)}});const ce={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Ae=Object.keys(ce),Me={align:{type:String,validator:e=>Ae.includes(e)}};function je(e){return c(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${ce[t]}`})}function at(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function ze(e){return e.appContext.config.globalProperties.$router!==void 0}function rt(e){return e.isUnmounted===!0||e.isDeactivated===!0}function Z(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function ee(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function De(e,t){for(const n in t){const a=t[n],l=e[n];if(typeof a=="string"){if(a!==l)return!1}else if(Array.isArray(l)===!1||l.length!==a.length||a.some((d,o)=>d!==l[o]))return!1}return!0}function te(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((n,a)=>n===t[a]):e.length===1&&e[0]===t}function Ie(e,t){return Array.isArray(e)===!0?te(e,t):Array.isArray(t)===!0?te(t,e):e===t}function Ke(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(Ie(e[n],t[n])===!1)return!1;return!0}const de={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},it={...de,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function Ne({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=V(),{props:a,proxy:l,emit:d}=n,o=ze(n),i=c(()=>a.disable!==!0&&a.href!==void 0),q=t===!0?c(()=>o===!0&&a.disable!==!0&&i.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==""):c(()=>o===!0&&i.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==""),b=c(()=>q.value===!0?_(a.to):null),s=c(()=>b.value!==null),y=c(()=>i.value===!0||s.value===!0),u=c(()=>a.type==="a"||y.value===!0?"a":a.tag||e||"div"),k=c(()=>i.value===!0?{href:a.href,target:a.target}:s.value===!0?{href:b.value.href,target:a.target}:{}),h=c(()=>{if(s.value===!1)return-1;const{matched:g}=b.value,{length:$}=g,S=g[$-1];if(S===void 0)return-1;const w=l.$route.matched;if(w.length===0)return-1;const B=w.findIndex(ee.bind(null,S));if(B!==-1)return B;const D=Z(g[$-2]);return $>1&&Z(S)===D&&w[w.length-1].path!==D?w.findIndex(ee.bind(null,g[$-2])):B}),p=c(()=>s.value===!0&&h.value!==-1&&De(l.$route.params,b.value.params)),f=c(()=>p.value===!0&&h.value===l.$route.matched.length-1&&Ke(l.$route.params,b.value.params)),x=c(()=>s.value===!0?f.value===!0?` ${a.exactActiveClass} ${a.activeClass}`:a.exact===!0?"":p.value===!0?` ${a.activeClass}`:"":"");function _(g){try{return l.$router.resolve(g)}catch{}return null}function C(g,{returnRouterError:$,to:S=a.to,replace:w=a.replace}={}){if(a.disable===!0)return g.preventDefault(),Promise.resolve(!1);if(g.metaKey||g.altKey||g.ctrlKey||g.shiftKey||g.button!==void 0&&g.button!==0||a.target==="_blank")return Promise.resolve(!1);g.preventDefault();const B=l.$router[w===!0?"replace":"push"](S);return $===!0?B:B.then(()=>{}).catch(()=>{})}function L(g){if(s.value===!0){const $=S=>C(g,S);d("click",g,$),g.defaultPrevented!==!0&&$()}else d("click",g)}return{hasRouterLink:s,hasHrefLink:i,hasLink:y,linkTag:u,resolvedLink:b,linkIsActive:p,linkIsExactActive:f,linkClass:x,linkAttrs:k,getLink:_,navigateToRouterLink:C,navigateOnClick:L}}const ne={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Fe={xs:8,sm:10,md:14,lg:20,xl:24},Qe=["button","submit","reset"],Ve=/[^\s]\/[^\s]/,He=["flat","outline","push","unelevated"];function Ue(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const We={...ie,...de,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...He.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...Me.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},Xe={...We,round:Boolean};function Ge(e){const t=ue(e,Fe),n=je(e),{hasRouterLink:a,hasLink:l,linkTag:d,linkAttrs:o,navigateOnClick:i}=Ne({fallbackTag:"button"}),q=c(()=>{const f=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},f,{padding:e.padding.split(/\s+/).map(x=>x in ne?ne[x]+"px":x).join(" "),minWidth:"0",minHeight:"0"}):f}),b=c(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),s=c(()=>e.disable!==!0&&e.loading!==!0),y=c(()=>s.value===!0?e.tabindex||0:-1),u=c(()=>Ue(e,"standard")),k=c(()=>{const f={tabindex:y.value};return l.value===!0?Object.assign(f,o.value):Qe.includes(e.type)===!0&&(f.type=e.type),d.value==="a"?(e.disable===!0?f["aria-disabled"]="true":f.href===void 0&&(f.role="button"),a.value!==!0&&Ve.test(e.type)===!0&&(f.type=e.type)):e.disable===!0&&(f.disabled="",f["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(f,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),f}),h=c(()=>{let f;e.color!==void 0?e.flat===!0||e.outline===!0?f=`text-${e.textColor||e.color}`:f=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(f=`text-${e.textColor}`);const x=e.round===!0?"round":`rectangle${b.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${u.value} q-btn--${x}`+(f!==void 0?" "+f:"")+(s.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),p=c(()=>n.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:h,style:q,innerClasses:p,attributes:k,hasLink:l,linkTag:d,navigateOnClick:i,isActionable:s}}const{passiveCapture:E}=pe;let T=null,O=null,A=null;var ut=Q({name:"QBtn",props:{...Xe,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:a}=V(),{classes:l,style:d,innerClasses:o,attributes:i,hasLink:q,linkTag:b,navigateOnClick:s,isActionable:y}=Ge(e),u=H(null),k=H(null);let h=null,p,f=null;const x=c(()=>e.label!==void 0&&e.label!==null&&e.label!==""),_=c(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:q.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),C=c(()=>({center:e.round})),L=c(()=>{const r=Math.max(0,Math.min(100,e.percentage));return r>0?{transition:"transform 0.6s",transform:`translateX(${r-100}%)`}:{}}),g=c(()=>{if(e.loading===!0)return{onMousedown:j,onTouchstart:j,onClick:j,onKeydown:j,onKeyup:j};if(y.value===!0){const r={onClick:S,onKeydown:w,onMousedown:D};if(a.$q.platform.has.touch===!0){const m=e.onTouchstart!==void 0?"":"Passive";r[`onTouchstart${m}`]=B}return r}return{onClick:P}}),$=c(()=>({ref:u,class:"q-btn q-btn-item non-selectable no-outline "+l.value,style:d.value,...i.value,...g.value}));function S(r){if(u.value!==null){if(r!==void 0){if(r.defaultPrevented===!0)return;const m=document.activeElement;if(e.type==="submit"&&m!==document.body&&u.value.contains(m)===!1&&m.contains(u.value)===!1){u.value.focus();const I=()=>{document.removeEventListener("keydown",P,!0),document.removeEventListener("keyup",I,E),u.value!==null&&u.value.removeEventListener("blur",I,E)};document.addEventListener("keydown",P,!0),document.addEventListener("keyup",I,E),u.value.addEventListener("blur",I,E)}}s(r)}}function w(r){u.value!==null&&(n("keydown",r),N(r,[13,32])===!0&&O!==u.value&&(O!==null&&M(),r.defaultPrevented!==!0&&(u.value.focus(),O=u.value,u.value.classList.add("q-btn--active"),document.addEventListener("keyup",R,!0),u.value.addEventListener("blur",R,E)),P(r)))}function B(r){u.value!==null&&(n("touchstart",r),r.defaultPrevented!==!0&&(T!==u.value&&(T!==null&&M(),T=u.value,h=r.target,h.addEventListener("touchcancel",R,E),h.addEventListener("touchend",R,E)),p=!0,f!==null&&clearTimeout(f),f=setTimeout(()=>{f=null,p=!1},200)))}function D(r){u.value!==null&&(r.qSkipRipple=p===!0,n("mousedown",r),r.defaultPrevented!==!0&&A!==u.value&&(A!==null&&M(),A=u.value,u.value.classList.add("q-btn--active"),document.addEventListener("mouseup",R,E)))}function R(r){if(u.value!==null&&!(r!==void 0&&r.type==="blur"&&document.activeElement===u.value)){if(r!==void 0&&r.type==="keyup"){if(O===u.value&&N(r,[13,32])===!0){const m=new MouseEvent("click",r);m.qKeyEvent=!0,r.defaultPrevented===!0&&ke(m),r.cancelBubble===!0&&re(m),u.value.dispatchEvent(m),P(r),r.qKeyEvent=!0}n("keyup",r)}M()}}function M(r){const m=k.value;r!==!0&&(T===u.value||A===u.value)&&m!==null&&m!==document.activeElement&&(m.setAttribute("tabindex",-1),m.focus()),T===u.value&&(h!==null&&(h.removeEventListener("touchcancel",R,E),h.removeEventListener("touchend",R,E)),T=h=null),A===u.value&&(document.removeEventListener("mouseup",R,E),A=null),O===u.value&&(document.removeEventListener("keyup",R,!0),u.value!==null&&u.value.removeEventListener("blur",R,E),O=null),u.value!==null&&u.value.classList.remove("q-btn--active")}function j(r){P(r),r.qSkipRipple=!0}return be(()=>{M(!0)}),Object.assign(a,{click:r=>{y.value===!0&&S(r)}}),()=>{let r=[];e.icon!==void 0&&r.push(v(G,{name:e.icon,left:e.stack!==!0&&x.value===!0,role:"img","aria-hidden":"true"})),x.value===!0&&r.push(v("span",{class:"block"},[e.label])),r=z(t.default,r),e.iconRight!==void 0&&e.round===!1&&r.push(v(G,{name:e.iconRight,right:e.stack!==!0&&x.value===!0,role:"img","aria-hidden":"true"}));const m=[v("span",{class:"q-focus-helper",ref:k})];return e.loading===!0&&e.percentage!==void 0&&m.push(v("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[v("span",{class:"q-btn__progress-indicator fit block",style:L.value})])),m.push(v("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+o.value},r)),e.loading!==null&&m.push(v(ye,{name:"q-transition--fade"},()=>e.loading===!0?[v("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[v(_e)])]:null)),ae(v(b.value,$.value,m),[[Oe,_.value,void 0,C.value]])}}});export{ut as Q,Oe as R,Je as a,z as b,Pe as c,G as d,_e as e,ue as f,tt as g,xe as h,et as i,Ze as j,it as k,Ne as l,at as m,rt as n,nt as o,ie as u,ze as v}; diff --git a/assets/index.effe9558.js b/assets/index.f84f4bc3.js similarity index 86% rename from assets/index.effe9558.js rename to assets/index.f84f4bc3.js index 5183ba4..7179b1f 100644 --- a/assets/index.effe9558.js +++ b/assets/index.f84f4bc3.js @@ -2,20 +2,20 @@ * @vue/shared v3.4.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Sr(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const oe={},Rt=[],Se=()=>{},Di=()=>!1,Cn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Rr=e=>e.startsWith("onUpdate:"),ue=Object.assign,Pr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Bi=Object.prototype.hasOwnProperty,W=(e,t)=>Bi.call(e,t),j=Array.isArray,Pt=e=>Sn(e)==="[object Map]",uo=e=>Sn(e)==="[object Set]",V=e=>typeof e=="function",ae=e=>typeof e=="string",ut=e=>typeof e=="symbol",ie=e=>e!==null&&typeof e=="object",fo=e=>(ie(e)||V(e))&&V(e.then)&&V(e.catch),ho=Object.prototype.toString,Sn=e=>ho.call(e),Vi=e=>Sn(e).slice(8,-1),po=e=>Sn(e)==="[object Object]",Ar=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,jt=Sr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ui=/-(\w)/g,Ve=Rn(e=>e.replace(Ui,(t,n)=>n?n.toUpperCase():"")),Ki=/\B([A-Z])/g,Mt=Rn(e=>e.replace(Ki,"-$1").toLowerCase()),Pn=Rn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vn=Rn(e=>e?`on${Pn(e)}`:""),ct=(e,t)=>!Object.is(e,t),Un=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},zi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qi=e=>{const t=ae(e)?Number(e):NaN;return isNaN(t)?e:t};let Yr;const mo=()=>Yr||(Yr=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Tr(e){if(j(e)){const t={};for(let n=0;n{if(n){const r=n.split(Gi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Or(e){let t="";if(ae(e))t=e;else if(j(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Zi=e=>ae(e)?e:e==null?"":j(e)||ie(e)&&(e.toString===ho||!V(e.toString))?yo(e)?Zi(e.value):JSON.stringify(e,vo,2):String(e),vo=(e,t)=>yo(t)?vo(e,t.value):Pt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Kn(r,o)+" =>"]=s,n),{})}:uo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Kn(n))}:ut(t)?Kn(t):ie(t)&&!j(t)&&!po(t)?String(t):t,Kn=(e,t="")=>{var n;return ut(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**//*! #__NO_SIDE_EFFECTS__ */function Sr(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const oe={},Rt=[],Re=()=>{},Di=()=>!1,Sn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Rr=e=>e.startsWith("onUpdate:"),ue=Object.assign,Pr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Bi=Object.prototype.hasOwnProperty,W=(e,t)=>Bi.call(e,t),j=Array.isArray,Pt=e=>Rn(e)==="[object Map]",uo=e=>Rn(e)==="[object Set]",V=e=>typeof e=="function",ae=e=>typeof e=="string",ut=e=>typeof e=="symbol",ie=e=>e!==null&&typeof e=="object",fo=e=>(ie(e)||V(e))&&V(e.then)&&V(e.catch),ho=Object.prototype.toString,Rn=e=>ho.call(e),Vi=e=>Rn(e).slice(8,-1),po=e=>Rn(e)==="[object Object]",Ar=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,jt=Sr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ui=/-(\w)/g,Ve=Pn(e=>e.replace(Ui,(t,n)=>n?n.toUpperCase():"")),Ki=/\B([A-Z])/g,Mt=Pn(e=>e.replace(Ki,"-$1").toLowerCase()),An=Pn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Un=Pn(e=>e?`on${An(e)}`:""),ct=(e,t)=>!Object.is(e,t),Kn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},zi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qi=e=>{const t=ae(e)?Number(e):NaN;return isNaN(t)?e:t};let Yr;const mo=()=>Yr||(Yr=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Tr(e){if(j(e)){const t={};for(let n=0;n{if(n){const r=n.split(Gi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Or(e){let t="";if(ae(e))t=e;else if(j(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Zi=e=>ae(e)?e:e==null?"":j(e)||ie(e)&&(e.toString===ho||!V(e.toString))?yo(e)?Zi(e.value):JSON.stringify(e,vo,2):String(e),vo=(e,t)=>yo(t)?vo(e,t.value):Pt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[zn(r,o)+" =>"]=s,n),{})}:uo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>zn(n))}:ut(t)?zn(t):ie(t)&&!j(t)&&!po(t)?String(t):t,zn=(e,t="")=>{var n;return ut(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.4.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Le;class el{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Le,!t&&Le&&(this.index=(Le.scopes||(Le.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Le;try{return Le=this,t()}finally{Le=n}}}on(){Le=this}off(){Le=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),dt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=it,n=vt;try{return it=!0,vt=this,this._runnings++,Xr(this),this.fn()}finally{Zr(this),this._runnings--,vt=n,it=t}}stop(){this.active&&(Xr(this),Zr(this),this.onStop&&this.onStop(),this.active=!1)}}function rl(e){return e.value}function Xr(e){e._trackId++,e._depsLength=0}function Zr(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},cr=new WeakMap,bt=Symbol(""),ar=Symbol("");function we(e,t,n){if(it&&vt){let r=cr.get(e);r||cr.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Co(()=>r.delete(n))),Eo(vt,s)}}function qe(e,t,n,r,s,o){const i=cr.get(e);if(!i)return;let c=[];if(t==="clear")c=[...i.values()];else if(n==="length"&&j(e)){const l=Number(r);i.forEach((u,h)=>{(h==="length"||!ut(h)&&h>=l)&&c.push(u)})}else switch(n!==void 0&&c.push(i.get(n)),t){case"add":j(e)?Ar(n)&&c.push(i.get("length")):(c.push(i.get(bt)),Pt(e)&&c.push(i.get(ar)));break;case"delete":j(e)||(c.push(i.get(bt)),Pt(e)&&c.push(i.get(ar)));break;case"set":Pt(e)&&c.push(i.get(bt));break}Mr();for(const l of c)l&&xo(l,4);Ir()}const sl=Sr("__proto__,__v_isRef,__isVue"),So=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ut)),es=ol();function ol(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=J(this);for(let o=0,i=this.length;o{e[t]=function(...n){ft(),Mr();const r=J(this)[t].apply(this,n);return Ir(),dt(),r}}),e}function il(e){ut(e)||(e=String(e));const t=J(this);return we(t,"has",e),t.hasOwnProperty(e)}class Ro{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?vl:Oo:o?To:Ao).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=j(t);if(!s){if(i&&W(es,n))return Reflect.get(es,n,r);if(n==="hasOwnProperty")return il}const c=Reflect.get(t,n,r);return(ut(n)?So.has(n):sl(n))||(s||we(t,"get",n),o)?c:Ee(c)?i&&Ar(n)?c:c.value:ie(c)?s?Mo(c):It(c):c}}class Po extends Ro{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=qt(o);if(!yn(r)&&!qt(r)&&(o=J(o),r=J(r)),!j(t)&&Ee(o)&&!Ee(r))return l?!1:(o.value=r,!0)}const i=j(t)&&Ar(n)?Number(n)e,An=e=>Reflect.getPrototypeOf(e);function rn(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),o=J(t);n||(ct(t,o)&&we(s,"get",t),we(s,"get",o));const{has:i}=An(s),c=r?kr:n?$r:Wt;if(i.call(s,t))return c(e.get(t));if(i.call(s,o))return c(e.get(o));e!==s&&e.get(t)}function sn(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(ct(e,s)&&we(r,"has",e),we(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function on(e,t=!1){return e=e.__v_raw,!t&&we(J(e),"iterate",bt),Reflect.get(e,"size",e)}function ts(e){e=J(e);const t=J(this);return An(t).has.call(t,e)||(t.add(e),qe(t,"add",e,e)),this}function ns(e,t){t=J(t);const n=J(this),{has:r,get:s}=An(n);let o=r.call(n,e);o||(e=J(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?ct(t,i)&&qe(n,"set",e,t):qe(n,"add",e,t),this}function rs(e){const t=J(this),{has:n,get:r}=An(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&qe(t,"delete",e,void 0),o}function ss(){const e=J(this),t=e.size!==0,n=e.clear();return t&&qe(e,"clear",void 0,void 0),n}function ln(e,t){return function(r,s){const o=this,i=o.__v_raw,c=J(i),l=t?kr:e?$r:Wt;return!e&&we(c,"iterate",bt),i.forEach((u,h)=>r.call(s,l(u),l(h),o))}}function cn(e,t,n){return function(...r){const s=this.__v_raw,o=J(s),i=Pt(o),c=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),h=n?kr:t?$r:Wt;return!t&&we(o,"iterate",l?ar:bt),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:c?[h(d[0]),h(d[1])]:h(d),done:p}},[Symbol.iterator](){return this}}}}function Je(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function fl(){const e={get(o){return rn(this,o)},get size(){return on(this)},has:sn,add:ts,set:ns,delete:rs,clear:ss,forEach:ln(!1,!1)},t={get(o){return rn(this,o,!1,!0)},get size(){return on(this)},has:sn,add:ts,set:ns,delete:rs,clear:ss,forEach:ln(!1,!0)},n={get(o){return rn(this,o,!0)},get size(){return on(this,!0)},has(o){return sn.call(this,o,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:ln(!0,!1)},r={get(o){return rn(this,o,!0,!0)},get size(){return on(this,!0)},has(o){return sn.call(this,o,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:ln(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=cn(o,!1,!1),n[o]=cn(o,!0,!1),t[o]=cn(o,!1,!0),r[o]=cn(o,!0,!0)}),[e,n,t,r]}const[dl,hl,pl,gl]=fl();function Fr(e,t){const n=t?e?gl:pl:e?hl:dl;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(W(n,s)&&s in r?n:r,s,o)}const ml={get:Fr(!1,!1)},_l={get:Fr(!1,!0)},yl={get:Fr(!0,!1)};const Ao=new WeakMap,To=new WeakMap,Oo=new WeakMap,vl=new WeakMap;function bl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wl(e){return e.__v_skip||!Object.isExtensible(e)?0:bl(Vi(e))}function It(e){return qt(e)?e:Nr(e,!1,cl,ml,Ao)}function Lo(e){return Nr(e,!1,ul,_l,To)}function Mo(e){return Nr(e,!0,al,yl,Oo)}function Nr(e,t,n,r,s){if(!ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=wl(e);if(i===0)return e;const c=new Proxy(e,i===2?r:n);return s.set(e,c),c}function Ht(e){return qt(e)?Ht(e.__v_raw):!!(e&&e.__v_isReactive)}function qt(e){return!!(e&&e.__v_isReadonly)}function yn(e){return!!(e&&e.__v_isShallow)}function Io(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function Tn(e){return Object.isExtensible(e)&&go(e,"__v_skip",!0),e}const Wt=e=>ie(e)?It(e):e,$r=e=>ie(e)?Mo(e):e;class ko{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Lr(()=>t(this._value),()=>dn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=J(this);return(!t._cacheable||t.effect.dirty)&&ct(t._value,t._value=t.effect.run())&&dn(t,4),Fo(t),t.effect._dirtyLevel>=2&&dn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function El(e,t,n=!1){let r,s;const o=V(e);return o?(r=e,s=Se):(r=e.get,s=e.set),new ko(r,s,o||!s,n)}function Fo(e){var t;it&&vt&&(e=J(e),Eo(vt,(t=e.dep)!=null?t:e.dep=Co(()=>e.dep=void 0,e instanceof ko?e:void 0)))}function dn(e,t=4,n,r){e=J(e);const s=e.dep;s&&xo(s,t)}function Ee(e){return!!(e&&e.__v_isRef===!0)}function No(e){return $o(e,!1)}function xl(e){return $o(e,!0)}function $o(e,t){return Ee(e)?e:new Cl(e,t)}class Cl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:Wt(t)}get value(){return Fo(this),this._value}set value(t){const n=this.__v_isShallow||yn(t)||qt(t);t=n?t:J(t),ct(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Wt(t),dn(this,4))}}function At(e){return Ee(e)?e.value:e}const Sl={get:(e,t,n)=>At(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ee(s)&&!Ee(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function jo(e){return Ht(e)?e:new Proxy(e,Sl)}/** +**/let Le;class el{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Le,!t&&Le&&(this.index=(Le.scopes||(Le.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Le;try{return Le=this,t()}finally{Le=n}}}on(){Le=this}off(){Le=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),dt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=it,n=vt;try{return it=!0,vt=this,this._runnings++,Xr(this),this.fn()}finally{Zr(this),this._runnings--,vt=n,it=t}}stop(){this.active&&(Xr(this),Zr(this),this.onStop&&this.onStop(),this.active=!1)}}function rl(e){return e.value}function Xr(e){e._trackId++,e._depsLength=0}function Zr(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},cr=new WeakMap,bt=Symbol(""),ar=Symbol("");function Ee(e,t,n){if(it&&vt){let r=cr.get(e);r||cr.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Co(()=>r.delete(n))),Eo(vt,s)}}function qe(e,t,n,r,s,o){const i=cr.get(e);if(!i)return;let c=[];if(t==="clear")c=[...i.values()];else if(n==="length"&&j(e)){const l=Number(r);i.forEach((u,h)=>{(h==="length"||!ut(h)&&h>=l)&&c.push(u)})}else switch(n!==void 0&&c.push(i.get(n)),t){case"add":j(e)?Ar(n)&&c.push(i.get("length")):(c.push(i.get(bt)),Pt(e)&&c.push(i.get(ar)));break;case"delete":j(e)||(c.push(i.get(bt)),Pt(e)&&c.push(i.get(ar)));break;case"set":Pt(e)&&c.push(i.get(bt));break}Mr();for(const l of c)l&&xo(l,4);Ir()}const sl=Sr("__proto__,__v_isRef,__isVue"),So=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ut)),es=ol();function ol(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=J(this);for(let o=0,i=this.length;o{e[t]=function(...n){ft(),Mr();const r=J(this)[t].apply(this,n);return Ir(),dt(),r}}),e}function il(e){ut(e)||(e=String(e));const t=J(this);return Ee(t,"has",e),t.hasOwnProperty(e)}class Ro{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?vl:Oo:o?To:Ao).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=j(t);if(!s){if(i&&W(es,n))return Reflect.get(es,n,r);if(n==="hasOwnProperty")return il}const c=Reflect.get(t,n,r);return(ut(n)?So.has(n):sl(n))||(s||Ee(t,"get",n),o)?c:xe(c)?i&&Ar(n)?c:c.value:ie(c)?s?Mo(c):It(c):c}}class Po extends Ro{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=qt(o);if(!vn(r)&&!qt(r)&&(o=J(o),r=J(r)),!j(t)&&xe(o)&&!xe(r))return l?!1:(o.value=r,!0)}const i=j(t)&&Ar(n)?Number(n)e,Tn=e=>Reflect.getPrototypeOf(e);function rn(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),o=J(t);n||(ct(t,o)&&Ee(s,"get",t),Ee(s,"get",o));const{has:i}=Tn(s),c=r?kr:n?$r:Wt;if(i.call(s,t))return c(e.get(t));if(i.call(s,o))return c(e.get(o));e!==s&&e.get(t)}function sn(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(ct(e,s)&&Ee(r,"has",e),Ee(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function on(e,t=!1){return e=e.__v_raw,!t&&Ee(J(e),"iterate",bt),Reflect.get(e,"size",e)}function ts(e){e=J(e);const t=J(this);return Tn(t).has.call(t,e)||(t.add(e),qe(t,"add",e,e)),this}function ns(e,t){t=J(t);const n=J(this),{has:r,get:s}=Tn(n);let o=r.call(n,e);o||(e=J(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?ct(t,i)&&qe(n,"set",e,t):qe(n,"add",e,t),this}function rs(e){const t=J(this),{has:n,get:r}=Tn(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&qe(t,"delete",e,void 0),o}function ss(){const e=J(this),t=e.size!==0,n=e.clear();return t&&qe(e,"clear",void 0,void 0),n}function ln(e,t){return function(r,s){const o=this,i=o.__v_raw,c=J(i),l=t?kr:e?$r:Wt;return!e&&Ee(c,"iterate",bt),i.forEach((u,h)=>r.call(s,l(u),l(h),o))}}function cn(e,t,n){return function(...r){const s=this.__v_raw,o=J(s),i=Pt(o),c=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),h=n?kr:t?$r:Wt;return!t&&Ee(o,"iterate",l?ar:bt),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:c?[h(d[0]),h(d[1])]:h(d),done:p}},[Symbol.iterator](){return this}}}}function Je(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function fl(){const e={get(o){return rn(this,o)},get size(){return on(this)},has:sn,add:ts,set:ns,delete:rs,clear:ss,forEach:ln(!1,!1)},t={get(o){return rn(this,o,!1,!0)},get size(){return on(this)},has:sn,add:ts,set:ns,delete:rs,clear:ss,forEach:ln(!1,!0)},n={get(o){return rn(this,o,!0)},get size(){return on(this,!0)},has(o){return sn.call(this,o,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:ln(!0,!1)},r={get(o){return rn(this,o,!0,!0)},get size(){return on(this,!0)},has(o){return sn.call(this,o,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:ln(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=cn(o,!1,!1),n[o]=cn(o,!0,!1),t[o]=cn(o,!1,!0),r[o]=cn(o,!0,!0)}),[e,n,t,r]}const[dl,hl,pl,gl]=fl();function Fr(e,t){const n=t?e?gl:pl:e?hl:dl;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(W(n,s)&&s in r?n:r,s,o)}const ml={get:Fr(!1,!1)},_l={get:Fr(!1,!0)},yl={get:Fr(!0,!1)};const Ao=new WeakMap,To=new WeakMap,Oo=new WeakMap,vl=new WeakMap;function bl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wl(e){return e.__v_skip||!Object.isExtensible(e)?0:bl(Vi(e))}function It(e){return qt(e)?e:Nr(e,!1,cl,ml,Ao)}function Lo(e){return Nr(e,!1,ul,_l,To)}function Mo(e){return Nr(e,!0,al,yl,Oo)}function Nr(e,t,n,r,s){if(!ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=wl(e);if(i===0)return e;const c=new Proxy(e,i===2?r:n);return s.set(e,c),c}function Ht(e){return qt(e)?Ht(e.__v_raw):!!(e&&e.__v_isReactive)}function qt(e){return!!(e&&e.__v_isReadonly)}function vn(e){return!!(e&&e.__v_isShallow)}function Io(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function On(e){return Object.isExtensible(e)&&go(e,"__v_skip",!0),e}const Wt=e=>ie(e)?It(e):e,$r=e=>ie(e)?Mo(e):e;class ko{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Lr(()=>t(this._value),()=>dn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=J(this);return(!t._cacheable||t.effect.dirty)&&ct(t._value,t._value=t.effect.run())&&dn(t,4),Fo(t),t.effect._dirtyLevel>=2&&dn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function El(e,t,n=!1){let r,s;const o=V(e);return o?(r=e,s=Re):(r=e.get,s=e.set),new ko(r,s,o||!s,n)}function Fo(e){var t;it&&vt&&(e=J(e),Eo(vt,(t=e.dep)!=null?t:e.dep=Co(()=>e.dep=void 0,e instanceof ko?e:void 0)))}function dn(e,t=4,n,r){e=J(e);const s=e.dep;s&&xo(s,t)}function xe(e){return!!(e&&e.__v_isRef===!0)}function No(e){return $o(e,!1)}function xl(e){return $o(e,!0)}function $o(e,t){return xe(e)?e:new Cl(e,t)}class Cl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:Wt(t)}get value(){return Fo(this),this._value}set value(t){const n=this.__v_isShallow||vn(t)||qt(t);t=n?t:J(t),ct(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Wt(t),dn(this,4))}}function At(e){return xe(e)?e.value:e}const Sl={get:(e,t,n)=>At(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return xe(s)&&!xe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function jo(e){return Ht(e)?e:new Proxy(e,Sl)}/** * @vue/runtime-core v3.4.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function lt(e,t,n,r){try{return r?e(...r):e()}catch(s){On(s,t,n)}}function Ae(e,t,n,r){if(V(e)){const s=lt(e,t,n,r);return s&&fo(s)&&s.catch(o=>{On(o,t,n)}),s}if(j(e)){const s=[];for(let o=0;o>>1,s=me[r],o=Qt(s);oDe&&me.splice(t,1)}function Tl(e){j(e)?Tt.push(...e):(!et||!et.includes(e,e.allowRecurse?_t+1:_t))&&Tt.push(e),Bo()}function os(e,t,n=Gt?De+1:0){for(;nQt(n)-Qt(r));if(Tt.length=0,et){et.push(...t);return}for(et=t,_t=0;_te.id==null?1/0:e.id,Ol=(e,t)=>{const n=Qt(e)-Qt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Uo(e){ur=!1,Gt=!0,me.sort(Ol);const t=Se;try{for(De=0;Deae(g)?g.trim():g)),d&&(s=n.map(zi))}let c,l=r[c=Vn(t)]||r[c=Vn(Ve(t))];!l&&o&&(l=r[c=Vn(Mt(t))]),l&&Ae(l,e,6,s);const u=r[c+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ae(u,e,6,s)}}function Ko(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},c=!1;if(!V(e)){const l=u=>{const h=Ko(u,t,!0);h&&(c=!0,ue(i,h))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!c?(ie(e)&&r.set(e,null),null):(j(o)?o.forEach(l=>i[l]=null):ue(i,o),ie(e)&&r.set(e,i),i)}function Ln(e,t){return!e||!Cn(t)?!1:(t=t.slice(2).replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,Mt(t))||W(e,t))}let be=null,Mn=null;function vn(e){const t=be;return be=e,Mn=e&&e.type.__scopeId||null,t}function Zu(e){Mn=e}function ef(){Mn=null}function Ml(e,t=be,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&bs(-1);const o=vn(t);let i;try{i=e(...s)}finally{vn(o),r._d&&bs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function zn(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:c,emit:l,render:u,renderCache:h,props:d,data:p,setupState:g,ctx:x,inheritAttrs:P}=e,D=vn(e);let $,k;try{if(n.shapeFlag&4){const U=s||r,G=U;$=He(u.call(G,U,h,d,g,p,x)),k=c}else{const U=t;$=He(U.length>1?U(d,{attrs:c,slots:i,emit:l}):U(d,null)),k=t.props?c:Il(c)}}catch(U){Ut.length=0,On(U,e,1),$=Re(Ce)}let O=$;if(k&&P!==!1){const U=Object.keys(k),{shapeFlag:G}=O;U.length&&G&7&&(o&&U.some(Rr)&&(k=kl(k,o)),O=at(O,k,!1,!0))}return n.dirs&&(O=at(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&(O.transition=n.transition),$=O,vn(D),$}const Il=e=>{let t;for(const n in e)(n==="class"||n==="style"||Cn(n))&&((t||(t={}))[n]=e[n]);return t},kl=(e,t)=>{const n={};for(const r in e)(!Rr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Fl(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:c,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?is(r,i,u):!!i;if(l&8){const h=t.dynamicProps;for(let d=0;de.__isSuspense;function Bl(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Tl(e)}function In(e,t,n=he,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{ft();const c=tn(n),l=Ae(t,n,e,i);return c(),dt(),l});return r?s.unshift(o):s.push(o),o}}const Ge=e=>(t,n=he)=>{(!Nn||e==="sp")&&In(e,(...r)=>t(...r),n)},Vl=Ge("bm"),qo=Ge("m"),Ul=Ge("bu"),Kl=Ge("u"),Wo=Ge("bum"),Go=Ge("um"),zl=Ge("sp"),ql=Ge("rtg"),Wl=Ge("rtc");function Gl(e,t=he){In("ec",e,t)}function tf(e,t){if(be===null)return e;const n=$n(be),r=e.dirs||(e.dirs=[]);for(let s=0;st(i,c,void 0,o&&o[c]));else{const i=Object.keys(e);s=new Array(i.length);for(let c=0,l=i.length;cue({name:e.name},t,{setup:e}))():e}const hn=e=>!!e.type.__asyncLoader,fr=e=>e?vi(e)?$n(e):fr(e.parent):null,Dt=ue(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>fr(e.parent),$root:e=>fr(e.root),$emit:e=>e.emit,$options:e=>Br(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Hr(e.update)}),$nextTick:e=>e.n||(e.n=Do.bind(e.proxy)),$watch:e=>pc.bind(e)}),qn=(e,t)=>e!==oe&&!e.__isScriptSetup&&W(e,t),Ql={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:c,appContext:l}=e;let u;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(qn(r,t))return i[t]=1,r[t];if(s!==oe&&W(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&W(u,t))return i[t]=3,o[t];if(n!==oe&&W(n,t))return i[t]=4,n[t];dr&&(i[t]=0)}}const h=Dt[t];let d,p;if(h)return t==="$attrs"&&we(e.attrs,"get",""),h(e);if((d=c.__cssModules)&&(d=d[t]))return d;if(n!==oe&&W(n,t))return i[t]=4,n[t];if(p=l.config.globalProperties,W(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return qn(s,t)?(s[t]=n,!0):r!==oe&&W(r,t)?(r[t]=n,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let c;return!!n[i]||e!==oe&&W(e,i)||qn(t,i)||(c=o[0])&&W(c,i)||W(r,i)||W(Dt,i)||W(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:W(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function cs(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let dr=!0;function Jl(e){const t=Br(e),n=e.proxy,r=e.ctx;dr=!1,t.beforeCreate&&as(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:c,provide:l,inject:u,created:h,beforeMount:d,mounted:p,beforeUpdate:g,updated:x,activated:P,deactivated:D,beforeDestroy:$,beforeUnmount:k,destroyed:O,unmounted:U,render:G,renderTracked:M,renderTriggered:K,errorCaptured:re,serverPrefetch:H,expose:q,inheritAttrs:Q,components:L,directives:Y,filters:fe}=t;if(u&&Yl(u,r,null),i)for(const ne in i){const X=i[ne];V(X)&&(r[ne]=X.bind(n))}if(s){const ne=s.call(n,n);ie(ne)&&(e.data=It(ne))}if(dr=!0,o)for(const ne in o){const X=o[ne],Ue=V(X)?X.bind(n,n):V(X.get)?X.get.bind(n,n):Se,Qe=!V(X)&&V(X.set)?X.set.bind(n):Se,Fe=Me({get:Ue,set:Qe});Object.defineProperty(r,ne,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:ye=>Fe.value=ye})}if(c)for(const ne in c)Qo(c[ne],r,n,ne);if(l){const ne=V(l)?l.call(n):l;Reflect.ownKeys(ne).forEach(X=>{pn(X,ne[X])})}h&&as(h,e,"c");function ce(ne,X){j(X)?X.forEach(Ue=>ne(Ue.bind(n))):X&&ne(X.bind(n))}if(ce(Vl,d),ce(qo,p),ce(Ul,g),ce(Kl,x),ce(gc,P),ce(mc,D),ce(Gl,re),ce(Wl,M),ce(ql,K),ce(Wo,k),ce(Go,U),ce(zl,H),j(q))if(q.length){const ne=e.exposed||(e.exposed={});q.forEach(X=>{Object.defineProperty(ne,X,{get:()=>n[X],set:Ue=>n[X]=Ue})})}else e.exposed||(e.exposed={});G&&e.render===Se&&(e.render=G),Q!=null&&(e.inheritAttrs=Q),L&&(e.components=L),Y&&(e.directives=Y)}function Yl(e,t,n=Se){j(e)&&(e=hr(e));for(const r in e){const s=e[r];let o;ie(s)?"default"in s?o=We(s.from||r,s.default,!0):o=We(s.from||r):o=We(s),Ee(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function as(e,t,n){Ae(j(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qo(e,t,n,r){const s=r.includes(".")?li(n,r):()=>n[r];if(ae(e)){const o=t[e];V(o)&&gn(s,o)}else if(V(e))gn(s,e.bind(n));else if(ie(e))if(j(e))e.forEach(o=>Qo(o,t,n,r));else{const o=V(e.handler)?e.handler.bind(n):t[e.handler];V(o)&&gn(s,o,e)}}function Br(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,c=o.get(t);let l;return c?l=c:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>bn(l,u,i,!0)),bn(l,t,i)),ie(t)&&o.set(t,l),l}function bn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&bn(e,o,n,!0),s&&s.forEach(i=>bn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const c=Xl[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const Xl={data:us,props:fs,emits:fs,methods:$t,computed:$t,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:$t,directives:$t,watch:ec,provide:us,inject:Zl};function us(e,t){return t?e?function(){return ue(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function Zl(e,t){return $t(hr(e),hr(t))}function hr(e){if(j(e)){const t={};for(let n=0;n1)return n&&V(t)?t.call(r&&r.proxy):t}}const Yo={},Xo=()=>Object.create(Yo),Zo=e=>Object.getPrototypeOf(e)===Yo;function rc(e,t,n,r=!1){const s={},o=Xo();e.propsDefaults=Object.create(null),ei(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Lo(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function sc(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,c=J(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const h=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[p,g]=ti(d,t,!0);ue(i,p),g&&c.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!o&&!l)return ie(e)&&r.set(e,Rt),Rt;if(j(o))for(let h=0;h-1,g[1]=P<0||x-1||W(g,"default"))&&c.push(d)}}}const u=[i,c];return ie(e)&&r.set(e,u),u}function ds(e){return e[0]!=="$"&&!jt(e)}function hs(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ps(e,t){return hs(e)===hs(t)}function gs(e,t){return j(t)?t.findIndex(n=>ps(n,e)):V(t)&&ps(t,e)?0:-1}const ni=e=>e[0]==="_"||e==="$stable",Vr=e=>j(e)?e.map(He):[He(e)],oc=(e,t,n)=>{if(t._n)return t;const r=Ml((...s)=>Vr(t(...s)),n);return r._c=!1,r},ri=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ni(s))continue;const o=e[s];if(V(o))t[s]=oc(s,o,r);else if(o!=null){const i=Vr(o);t[s]=()=>i}}},si=(e,t)=>{const n=Vr(t);e.slots.default=()=>n},ic=(e,t)=>{const n=e.slots=Xo();if(e.vnode.shapeFlag&32){const r=t._;r?(ue(n,t),go(n,"_",r,!0)):ri(t,n)}else t&&si(e,t)},lc=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=oe;if(r.shapeFlag&32){const c=t._;c?n&&c===1?o=!1:(ue(s,t),!n&&c===1&&delete s._):(o=!t.$stable,ri(t,s)),i=t}else t&&(si(e,t),i={default:1});if(o)for(const c in s)!ni(c)&&i[c]==null&&delete s[c]};function gr(e,t,n,r,s=!1){if(j(e)){e.forEach((p,g)=>gr(p,t&&(j(t)?t[g]:t),n,r,s));return}if(hn(r)&&!s)return;const o=r.shapeFlag&4?$n(r.component):r.el,i=s?null:o,{i:c,r:l}=e,u=t&&t.r,h=c.refs===oe?c.refs={}:c.refs,d=c.setupState;if(u!=null&&u!==l&&(ae(u)?(h[u]=null,W(d,u)&&(d[u]=null)):Ee(u)&&(u.value=null)),V(l))lt(l,c,12,[i,h]);else{const p=ae(l),g=Ee(l);if(p||g){const x=()=>{if(e.f){const P=p?W(d,l)?d[l]:h[l]:l.value;s?j(P)&&Pr(P,o):j(P)?P.includes(o)||P.push(o):p?(h[l]=[o],W(d,l)&&(d[l]=h[l])):(l.value=[o],e.k&&(h[e.k]=l.value))}else p?(h[l]=i,W(d,l)&&(d[l]=i)):g&&(l.value=i,e.k&&(h[e.k]=i))};i?(x.id=-1,ve(x,n)):x()}}}const ve=Bl;function cc(e){return ac(e)}function ac(e,t){const n=mo();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:c,createComment:l,setText:u,setElementText:h,parentNode:d,nextSibling:p,setScopeId:g=Se,insertStaticContent:x}=e,P=(a,f,m,v=null,_=null,E=null,S=void 0,w=null,C=!!f.dynamicChildren)=>{if(a===f)return;a&&!yt(a,f)&&(v=y(a),ye(a,_,E,!0),a=null),f.patchFlag===-2&&(C=!1,f.dynamicChildren=null);const{type:b,ref:T,shapeFlag:N}=f;switch(b){case Fn:D(a,f,m,v);break;case Ce:$(a,f,m,v);break;case Qn:a==null&&k(f,m,v,S);break;case je:L(a,f,m,v,_,E,S,w,C);break;default:N&1?G(a,f,m,v,_,E,S,w,C):N&6?Y(a,f,m,v,_,E,S,w,C):(N&64||N&128)&&b.process(a,f,m,v,_,E,S,w,C,I)}T!=null&&_&&gr(T,a&&a.ref,E,f||a,!f)},D=(a,f,m,v)=>{if(a==null)r(f.el=c(f.children),m,v);else{const _=f.el=a.el;f.children!==a.children&&u(_,f.children)}},$=(a,f,m,v)=>{a==null?r(f.el=l(f.children||""),m,v):f.el=a.el},k=(a,f,m,v)=>{[a.el,a.anchor]=x(a.children,f,m,v,a.el,a.anchor)},O=({el:a,anchor:f},m,v)=>{let _;for(;a&&a!==f;)_=p(a),r(a,m,v),a=_;r(f,m,v)},U=({el:a,anchor:f})=>{let m;for(;a&&a!==f;)m=p(a),s(a),a=m;s(f)},G=(a,f,m,v,_,E,S,w,C)=>{f.type==="svg"?S="svg":f.type==="math"&&(S="mathml"),a==null?M(f,m,v,_,E,S,w,C):H(a,f,_,E,S,w,C)},M=(a,f,m,v,_,E,S,w)=>{let C,b;const{props:T,shapeFlag:N,transition:F,dirs:B}=a;if(C=a.el=i(a.type,E,T&&T.is,T),N&8?h(C,a.children):N&16&&re(a.children,C,null,v,_,Wn(a,E),S,w),B&&ht(a,null,v,"created"),K(C,a,a.scopeId,S,v),T){for(const se in T)se!=="value"&&!jt(se)&&o(C,se,null,T[se],E,a.children,v,_,pe);"value"in T&&o(C,"value",null,T.value,E),(b=T.onVnodeBeforeMount)&&$e(b,v,a)}B&&ht(a,null,v,"beforeMount");const z=uc(_,F);z&&F.beforeEnter(C),r(C,f,m),((b=T&&T.onVnodeMounted)||z||B)&&ve(()=>{b&&$e(b,v,a),z&&F.enter(C),B&&ht(a,null,v,"mounted")},_)},K=(a,f,m,v,_)=>{if(m&&g(a,m),v)for(let E=0;E{for(let b=C;b{const w=f.el=a.el;let{patchFlag:C,dynamicChildren:b,dirs:T}=f;C|=a.patchFlag&16;const N=a.props||oe,F=f.props||oe;let B;if(m&&pt(m,!1),(B=F.onVnodeBeforeUpdate)&&$e(B,m,f,a),T&&ht(f,a,m,"beforeUpdate"),m&&pt(m,!0),b?q(a.dynamicChildren,b,w,m,v,Wn(f,_),E):S||X(a,f,w,null,m,v,Wn(f,_),E,!1),C>0){if(C&16)Q(w,f,N,F,m,v,_);else if(C&2&&N.class!==F.class&&o(w,"class",null,F.class,_),C&4&&o(w,"style",N.style,F.style,_),C&8){const z=f.dynamicProps;for(let se=0;se{B&&$e(B,m,f,a),T&&ht(f,a,m,"updated")},v)},q=(a,f,m,v,_,E,S)=>{for(let w=0;w{if(m!==v){if(m!==oe)for(const w in m)!jt(w)&&!(w in v)&&o(a,w,m[w],null,S,f.children,_,E,pe);for(const w in v){if(jt(w))continue;const C=v[w],b=m[w];C!==b&&w!=="value"&&o(a,w,b,C,S,f.children,_,E,pe)}"value"in v&&o(a,"value",m.value,v.value,S)}},L=(a,f,m,v,_,E,S,w,C)=>{const b=f.el=a?a.el:c(""),T=f.anchor=a?a.anchor:c("");let{patchFlag:N,dynamicChildren:F,slotScopeIds:B}=f;B&&(w=w?w.concat(B):B),a==null?(r(b,m,v),r(T,m,v),re(f.children||[],m,T,_,E,S,w,C)):N>0&&N&64&&F&&a.dynamicChildren?(q(a.dynamicChildren,F,m,_,E,S,w),(f.key!=null||_&&f===_.subTree)&&Ur(a,f,!0)):X(a,f,m,T,_,E,S,w,C)},Y=(a,f,m,v,_,E,S,w,C)=>{f.slotScopeIds=w,a==null?f.shapeFlag&512?_.ctx.activate(f,m,v,S,C):fe(f,m,v,_,E,S,C):Te(a,f,C)},fe=(a,f,m,v,_,E,S)=>{const w=a.component=Lc(a,v,_);if(kn(a)&&(w.ctx.renderer=I),Ic(w),w.asyncDep){if(_&&_.registerDep(w,ce,S),!a.el){const C=w.subTree=Re(Ce);$(null,C,f,m)}}else ce(w,a,f,m,_,E,S)},Te=(a,f,m)=>{const v=f.component=a.component;if(Fl(a,f,m))if(v.asyncDep&&!v.asyncResolved){ne(v,f,m);return}else v.next=f,Al(v.update),v.effect.dirty=!0,v.update();else f.el=a.el,v.vnode=f},ce=(a,f,m,v,_,E,S)=>{const w=()=>{if(a.isMounted){let{next:T,bu:N,u:F,parent:B,vnode:z}=a;{const Ct=oi(a);if(Ct){T&&(T.el=z.el,ne(a,T,S)),Ct.asyncDep.then(()=>{a.isUnmounted||w()});return}}let se=T,ee;pt(a,!1),T?(T.el=z.el,ne(a,T,S)):T=z,N&&Un(N),(ee=T.props&&T.props.onVnodeBeforeUpdate)&&$e(ee,B,T,z),pt(a,!0);const de=zn(a),Oe=a.subTree;a.subTree=de,P(Oe,de,d(Oe.el),y(Oe),a,_,E),T.el=de.el,se===null&&Nl(a,de.el),F&&ve(F,_),(ee=T.props&&T.props.onVnodeUpdated)&&ve(()=>$e(ee,B,T,z),_)}else{let T;const{el:N,props:F}=f,{bm:B,m:z,parent:se}=a,ee=hn(f);if(pt(a,!1),B&&Un(B),!ee&&(T=F&&F.onVnodeBeforeMount)&&$e(T,se,f),pt(a,!0),N&&le){const de=()=>{a.subTree=zn(a),le(N,a.subTree,a,_,null)};ee?f.type.__asyncLoader().then(()=>!a.isUnmounted&&de()):de()}else{const de=a.subTree=zn(a);P(null,de,m,v,a,_,E),f.el=de.el}if(z&&ve(z,_),!ee&&(T=F&&F.onVnodeMounted)){const de=f;ve(()=>$e(T,se,de),_)}(f.shapeFlag&256||se&&hn(se.vnode)&&se.vnode.shapeFlag&256)&&a.a&&ve(a.a,_),a.isMounted=!0,f=m=v=null}},C=a.effect=new Lr(w,Se,()=>Hr(b),a.scope),b=a.update=()=>{C.dirty&&C.run()};b.id=a.uid,pt(a,!0),b()},ne=(a,f,m)=>{f.component=a;const v=a.vnode.props;a.vnode=f,a.next=null,sc(a,f.props,v,m),lc(a,f.children,m),ft(),os(a),dt()},X=(a,f,m,v,_,E,S,w,C=!1)=>{const b=a&&a.children,T=a?a.shapeFlag:0,N=f.children,{patchFlag:F,shapeFlag:B}=f;if(F>0){if(F&128){Qe(b,N,m,v,_,E,S,w,C);return}else if(F&256){Ue(b,N,m,v,_,E,S,w,C);return}}B&8?(T&16&&pe(b,_,E),N!==b&&h(m,N)):T&16?B&16?Qe(b,N,m,v,_,E,S,w,C):pe(b,_,E,!0):(T&8&&h(m,""),B&16&&re(N,m,v,_,E,S,w,C))},Ue=(a,f,m,v,_,E,S,w,C)=>{a=a||Rt,f=f||Rt;const b=a.length,T=f.length,N=Math.min(b,T);let F;for(F=0;FT?pe(a,_,E,!0,!1,N):re(f,m,v,_,E,S,w,C,N)},Qe=(a,f,m,v,_,E,S,w,C)=>{let b=0;const T=f.length;let N=a.length-1,F=T-1;for(;b<=N&&b<=F;){const B=a[b],z=f[b]=C?nt(f[b]):He(f[b]);if(yt(B,z))P(B,z,m,null,_,E,S,w,C);else break;b++}for(;b<=N&&b<=F;){const B=a[N],z=f[F]=C?nt(f[F]):He(f[F]);if(yt(B,z))P(B,z,m,null,_,E,S,w,C);else break;N--,F--}if(b>N){if(b<=F){const B=F+1,z=BF)for(;b<=N;)ye(a[b],_,E,!0),b++;else{const B=b,z=b,se=new Map;for(b=z;b<=F;b++){const xe=f[b]=C?nt(f[b]):He(f[b]);xe.key!=null&&se.set(xe.key,b)}let ee,de=0;const Oe=F-z+1;let Ct=!1,Gr=0;const kt=new Array(Oe);for(b=0;b=Oe){ye(xe,_,E,!0);continue}let Ne;if(xe.key!=null)Ne=se.get(xe.key);else for(ee=z;ee<=F;ee++)if(kt[ee-z]===0&&yt(xe,f[ee])){Ne=ee;break}Ne===void 0?ye(xe,_,E,!0):(kt[Ne-z]=b+1,Ne>=Gr?Gr=Ne:Ct=!0,P(xe,f[Ne],m,null,_,E,S,w,C),de++)}const Qr=Ct?fc(kt):Rt;for(ee=Qr.length-1,b=Oe-1;b>=0;b--){const xe=z+b,Ne=f[xe],Jr=xe+1{const{el:E,type:S,transition:w,children:C,shapeFlag:b}=a;if(b&6){Fe(a.component.subTree,f,m,v);return}if(b&128){a.suspense.move(f,m,v);return}if(b&64){S.move(a,f,m,I);return}if(S===je){r(E,f,m);for(let N=0;Nw.enter(E),_);else{const{leave:N,delayLeave:F,afterLeave:B}=w,z=()=>r(E,f,m),se=()=>{N(E,()=>{z(),B&&B()})};F?F(E,z,se):se()}else r(E,f,m)},ye=(a,f,m,v=!1,_=!1)=>{const{type:E,props:S,ref:w,children:C,dynamicChildren:b,shapeFlag:T,patchFlag:N,dirs:F,memoIndex:B}=a;if(N===-2&&(_=!1),w!=null&&gr(w,null,m,a,!0),B!=null&&(f.renderCache[B]=void 0),T&256){f.ctx.deactivate(a);return}const z=T&1&&F,se=!hn(a);let ee;if(se&&(ee=S&&S.onVnodeBeforeUnmount)&&$e(ee,f,a),T&6)nn(a.component,m,v);else{if(T&128){a.suspense.unmount(m,v);return}z&&ht(a,null,f,"beforeUnmount"),T&64?a.type.remove(a,f,m,I,v):b&&(E!==je||N>0&&N&64)?pe(b,f,m,!1,!0):(E===je&&N&384||!_&&T&16)&&pe(C,f,m),v&&Et(a)}(se&&(ee=S&&S.onVnodeUnmounted)||z)&&ve(()=>{ee&&$e(ee,f,a),z&&ht(a,null,f,"unmounted")},m)},Et=a=>{const{type:f,el:m,anchor:v,transition:_}=a;if(f===je){xt(m,v);return}if(f===Qn){U(a);return}const E=()=>{s(m),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(a.shapeFlag&1&&_&&!_.persisted){const{leave:S,delayLeave:w}=_,C=()=>S(m,E);w?w(a.el,E,C):C()}else E()},xt=(a,f)=>{let m;for(;a!==f;)m=p(a),s(a),a=m;s(f)},nn=(a,f,m)=>{const{bum:v,scope:_,update:E,subTree:S,um:w,m:C,a:b}=a;ms(C),ms(b),v&&Un(v),_.stop(),E&&(E.active=!1,ye(S,a,f,m)),w&&ve(w,f),ve(()=>{a.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},pe=(a,f,m,v=!1,_=!1,E=0)=>{for(let S=E;Sa.shapeFlag&6?y(a.component.subTree):a.shapeFlag&128?a.suspense.next():p(a.anchor||a.el);let A=!1;const R=(a,f,m)=>{a==null?f._vnode&&ye(f._vnode,null,null,!0):P(f._vnode||null,a,f,null,null,null,m),A||(A=!0,os(),Vo(),A=!1),f._vnode=a},I={p:P,um:ye,m:Fe,r:Et,mt:fe,mc:re,pc:X,pbc:q,n:y,o:e};let Z,le;return t&&([Z,le]=t(I)),{render:R,hydrate:Z,createApp:nc(R,Z)}}function Wn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function pt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function uc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ur(e,t,n=!1){const r=e.children,s=t.children;if(j(r)&&j(s))for(let o=0;o>1,e[n[c]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function oi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:oi(t)}function ms(e){if(e)for(let t=0;tWe(dc),an={};function gn(e,t,n){return ii(e,t,n)}function ii(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:c}=oe){if(t&&o){const M=t;t=(...K)=>{M(...K),G()}}const l=he,u=M=>r===!0?M:ot(M,r===!1?1:void 0);let h,d=!1,p=!1;if(Ee(e)?(h=()=>e.value,d=yn(e)):Ht(e)?(h=()=>u(e),d=!0):j(e)?(p=!0,d=e.some(M=>Ht(M)||yn(M)),h=()=>e.map(M=>{if(Ee(M))return M.value;if(Ht(M))return u(M);if(V(M))return lt(M,l,2)})):V(e)?t?h=()=>lt(e,l,2):h=()=>(g&&g(),Ae(e,l,3,[x])):h=Se,t&&r){const M=h;h=()=>ot(M())}let g,x=M=>{g=O.onStop=()=>{lt(M,l,4),g=O.onStop=void 0}},P;if(Nn)if(x=Se,t?n&&Ae(t,l,3,[h(),p?[]:void 0,x]):h(),s==="sync"){const M=hc();P=M.__watcherHandles||(M.__watcherHandles=[])}else return Se;let D=p?new Array(e.length).fill(an):an;const $=()=>{if(!(!O.active||!O.dirty))if(t){const M=O.run();(r||d||(p?M.some((K,re)=>ct(K,D[re])):ct(M,D)))&&(g&&g(),Ae(t,l,3,[M,D===an?void 0:p&&D[0]===an?[]:D,x]),D=M)}else O.run()};$.allowRecurse=!!t;let k;s==="sync"?k=$:s==="post"?k=()=>ve($,l&&l.suspense):($.pre=!0,l&&($.id=l.uid),k=()=>Hr($));const O=new Lr(h,Se,k),U=nl(),G=()=>{O.stop(),U&&Pr(U.effects,O)};return t?n?$():D=O.run():s==="post"?ve(O.run.bind(O),l&&l.suspense):O.run(),P&&P.push(G),G}function pc(e,t,n){const r=this.proxy,s=ae(e)?e.includes(".")?li(r,e):()=>r[e]:e.bind(r,r);let o;V(t)?o=t:(o=t.handler,n=t);const i=tn(this),c=ii(s,o.bind(r),n);return i(),c}function li(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{ot(r,t,n)});else if(po(e)){for(const r in e)ot(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&ot(e[r],t,n)}return e}const kn=e=>e.type.__isKeepAlive;function gc(e,t){ci(e,"a",t)}function mc(e,t){ci(e,"da",t)}function ci(e,t,n=he){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(In(t,r,n),n){let s=n.parent;for(;s&&s.parent;)kn(s.parent.vnode)&&_c(r,t,n,s),s=s.parent}}function _c(e,t,n,r){const s=In(t,e,r,!0);Go(()=>{Pr(r[t],s)},n)}const tt=Symbol("_leaveCb"),un=Symbol("_enterCb");function yc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qo(()=>{e.isMounted=!0}),Wo(()=>{e.isUnmounting=!0}),e}const Pe=[Function,Array],ai={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pe,onEnter:Pe,onAfterEnter:Pe,onEnterCancelled:Pe,onBeforeLeave:Pe,onLeave:Pe,onAfterLeave:Pe,onLeaveCancelled:Pe,onBeforeAppear:Pe,onAppear:Pe,onAfterAppear:Pe,onAppearCancelled:Pe},ui=e=>{const t=e.subTree;return t.component?ui(t.component):t},vc={name:"BaseTransition",props:ai,setup(e,{slots:t}){const n=Mc(),r=yc();return()=>{const s=t.default&&di(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const p of s)if(p.type!==Ce){o=p;break}}const i=J(e),{mode:c}=i;if(r.isLeaving)return Gn(o);const l=_s(o);if(!l)return Gn(o);let u=mr(l,i,r,n,p=>u=p);wn(l,u);const h=n.subTree,d=h&&_s(h);if(d&&d.type!==Ce&&!yt(l,d)&&ui(n).type!==Ce){const p=mr(d,i,r,n);if(wn(d,p),c==="out-in"&&l.type!==Ce)return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Gn(o);c==="in-out"&&l.type!==Ce&&(p.delayLeave=(g,x,P)=>{const D=fi(r,d);D[String(d.key)]=d,g[tt]=()=>{x(),g[tt]=void 0,delete u.delayedLeave},u.delayedLeave=P})}return o}}},bc=vc;function fi(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function mr(e,t,n,r,s){const{appear:o,mode:i,persisted:c=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:h,onEnterCancelled:d,onBeforeLeave:p,onLeave:g,onAfterLeave:x,onLeaveCancelled:P,onBeforeAppear:D,onAppear:$,onAfterAppear:k,onAppearCancelled:O}=t,U=String(e.key),G=fi(n,e),M=(H,q)=>{H&&Ae(H,r,9,q)},K=(H,q)=>{const Q=q[1];M(H,q),j(H)?H.every(L=>L.length<=1)&&Q():H.length<=1&&Q()},re={mode:i,persisted:c,beforeEnter(H){let q=l;if(!n.isMounted)if(o)q=D||l;else return;H[tt]&&H[tt](!0);const Q=G[U];Q&&yt(e,Q)&&Q.el[tt]&&Q.el[tt](),M(q,[H])},enter(H){let q=u,Q=h,L=d;if(!n.isMounted)if(o)q=$||u,Q=k||h,L=O||d;else return;let Y=!1;const fe=H[un]=Te=>{Y||(Y=!0,Te?M(L,[H]):M(Q,[H]),re.delayedLeave&&re.delayedLeave(),H[un]=void 0)};q?K(q,[H,fe]):fe()},leave(H,q){const Q=String(e.key);if(H[un]&&H[un](!0),n.isUnmounting)return q();M(p,[H]);let L=!1;const Y=H[tt]=fe=>{L||(L=!0,q(),fe?M(P,[H]):M(x,[H]),H[tt]=void 0,G[Q]===e&&delete G[Q])};G[Q]=e,g?K(g,[H,Y]):Y()},clone(H){const q=mr(H,t,n,r,s);return s&&s(q),q}};return re}function Gn(e){if(kn(e))return e=at(e),e.children=null,e}function _s(e){if(!kn(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&V(n.default))return n.default()}}function wn(e,t){e.shapeFlag&6&&e.component?wn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function di(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;oe.__isTeleport,Vt=e=>e&&(e.disabled||e.disabled===""),ys=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,vs=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,_r=(e,t)=>{const n=e&&e.to;return ae(n)?t?t(n):null:n},Ec={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,c,l,u){const{mc:h,pc:d,pbc:p,o:{insert:g,querySelector:x,createText:P,createComment:D}}=u,$=Vt(t.props);let{shapeFlag:k,children:O,dynamicChildren:U}=t;if(e==null){const G=t.el=P(""),M=t.anchor=P("");g(G,n,r),g(M,n,r);const K=t.target=_r(t.props,x),re=t.targetAnchor=P("");K&&(g(re,K),i==="svg"||ys(K)?i="svg":(i==="mathml"||vs(K))&&(i="mathml"));const H=(q,Q)=>{k&16&&h(O,q,Q,s,o,i,c,l)};$?H(n,M):K&&H(K,re)}else{t.el=e.el;const G=t.anchor=e.anchor,M=t.target=e.target,K=t.targetAnchor=e.targetAnchor,re=Vt(e.props),H=re?n:M,q=re?G:K;if(i==="svg"||ys(M)?i="svg":(i==="mathml"||vs(M))&&(i="mathml"),U?(p(e.dynamicChildren,U,H,s,o,i,c),Ur(e,t,!0)):l||d(e,t,H,q,s,o,i,c,!1),$)re?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fn(t,n,G,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Q=t.target=_r(t.props,x);Q&&fn(t,Q,null,u,0)}else re&&fn(t,M,K,u,1)}hi(t)},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:c,anchor:l,targetAnchor:u,target:h,props:d}=e;if(h&&s(u),o&&s(l),i&16){const p=o||!Vt(d);for(let g=0;g0?Ie||Rt:null,Cc(),Jt>0&&Ie&&Ie.push(e),e}function sf(e,t,n,r,s,o){return gi(yi(e,t,n,r,s,o,!0))}function mi(e,t,n,r,s){return gi(Re(e,t,n,r,s,!0))}function yr(e){return e?e.__v_isVNode===!0:!1}function yt(e,t){return e.type===t.type&&e.key===t.key}const _i=({key:e})=>e!=null?e:null,mn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||Ee(e)||V(e)?{i:be,r:e,k:t,f:!!n}:e:null);function yi(e,t=null,n=null,r=0,s=null,o=e===je?0:1,i=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_i(t),ref:t&&mn(t),scopeId:Mn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:be};return c?(Kr(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=ae(n)?8:16),Jt>0&&!i&&Ie&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ie.push(l),l}const Re=Sc;function Sc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===jl)&&(e=Ce),yr(e)){const c=at(e,t,!0);return n&&Kr(c,n),Jt>0&&!o&&Ie&&(c.shapeFlag&6?Ie[Ie.indexOf(e)]=c:Ie.push(c)),c.patchFlag=-2,c}if(jc(e)&&(e=e.__vccOpts),t){t=Rc(t);let{class:c,style:l}=t;c&&!ae(c)&&(t.class=Or(c)),ie(l)&&(Io(l)&&!j(l)&&(l=ue({},l)),t.style=Tr(l))}const i=ae(e)?1:Dl(e)?128:wc(e)?64:ie(e)?4:V(e)?2:0;return yi(e,t,n,r,s,i,o,!0)}function Rc(e){return e?Io(e)||Zo(e)?ue({},e):e:null}function at(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:c,transition:l}=e,u=t?Ac(s||{},t):s,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&_i(u),ref:t&&t.ref?n&&o?j(o)?o.concat(mn(t)):[o,mn(t)]:mn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&at(e.ssContent),ssFallback:e.ssFallback&&at(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&wn(h,l.clone(h)),h}function Pc(e=" ",t=0){return Re(Fn,null,e,t)}function of(e="",t=!1){return t?(pi(),mi(Ce,null,e)):Re(Ce,null,e)}function He(e){return e==null||typeof e=="boolean"?Re(Ce):j(e)?Re(je,null,e.slice()):typeof e=="object"?nt(e):Re(Fn,null,String(e))}function nt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:at(e)}function Kr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Kr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Zo(t)?t._ctx=be:s===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else V(t)?(t={default:t,_ctx:be},n=32):(t=String(t),r&64?(n=16,t=[Pc(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ac(...e){const t={};for(let n=0;nhe||be;let En,vr;{const e=mo(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};En=t("__VUE_INSTANCE_SETTERS__",n=>he=n),vr=t("__VUE_SSR_SETTERS__",n=>Nn=n)}const tn=e=>{const t=he;return En(e),e.scope.on(),()=>{e.scope.off(),En(t)}},ws=()=>{he&&he.scope.off(),En(null)};function vi(e){return e.vnode.shapeFlag&4}let Nn=!1;function Ic(e,t=!1){t&&vr(t);const{props:n,children:r}=e.vnode,s=vi(e);rc(e,n,s,t),ic(e,r);const o=s?kc(e,t):void 0;return t&&vr(!1),o}function kc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ql);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Nc(e):null,o=tn(e);ft();const i=lt(r,e,0,[e.props,s]);if(dt(),o(),fo(i)){if(i.then(ws,ws),t)return i.then(c=>{Es(e,c,t)}).catch(c=>{On(c,e,0)});e.asyncDep=i}else Es(e,i,t)}else bi(e,t)}function Es(e,t,n){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ie(t)&&(e.setupState=jo(t)),bi(e,n)}let xs;function bi(e,t,n){const r=e.type;if(!e.render){if(!t&&xs&&!r.render){const s=r.template||Br(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:l}=r,u=ue(ue({isCustomElement:o,delimiters:c},i),l);r.render=xs(s,u)}}e.render=r.render||Se}{const s=tn(e);ft();try{Jl(e)}finally{dt(),s()}}}const Fc={get(e,t){return we(e,"get",""),e[t]}};function Nc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Fc),slots:e.slots,emit:e.emit,expose:t}}function $n(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(jo(Tn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Dt)return Dt[n](e)},has(t,n){return n in t||n in Dt}})):e.proxy}function $c(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function jc(e){return V(e)&&"__vccOpts"in e}const Me=(e,t)=>El(e,t,Nn);function zr(e,t,n){const r=arguments.length;return r===2?ie(t)&&!j(t)?yr(t)?Re(e,null,[t]):Re(e,t):Re(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&yr(n)&&(n=[n]),Re(e,t,n))}const Hc="3.4.31";/** +**/function lt(e,t,n,r){try{return r?e(...r):e()}catch(s){Ln(s,t,n)}}function Ae(e,t,n,r){if(V(e)){const s=lt(e,t,n,r);return s&&fo(s)&&s.catch(o=>{Ln(o,t,n)}),s}if(j(e)){const s=[];for(let o=0;o>>1,s=me[r],o=Qt(s);oDe&&me.splice(t,1)}function Tl(e){j(e)?Tt.push(...e):(!et||!et.includes(e,e.allowRecurse?_t+1:_t))&&Tt.push(e),Bo()}function os(e,t,n=Gt?De+1:0){for(;nQt(n)-Qt(r));if(Tt.length=0,et){et.push(...t);return}for(et=t,_t=0;_te.id==null?1/0:e.id,Ol=(e,t)=>{const n=Qt(e)-Qt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Uo(e){ur=!1,Gt=!0,me.sort(Ol);const t=Re;try{for(De=0;Deae(g)?g.trim():g)),d&&(s=n.map(zi))}let c,l=r[c=Un(t)]||r[c=Un(Ve(t))];!l&&o&&(l=r[c=Un(Mt(t))]),l&&Ae(l,e,6,s);const u=r[c+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ae(u,e,6,s)}}function Ko(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},c=!1;if(!V(e)){const l=u=>{const h=Ko(u,t,!0);h&&(c=!0,ue(i,h))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!c?(ie(e)&&r.set(e,null),null):(j(o)?o.forEach(l=>i[l]=null):ue(i,o),ie(e)&&r.set(e,i),i)}function Mn(e,t){return!e||!Sn(t)?!1:(t=t.slice(2).replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,Mt(t))||W(e,t))}let be=null,In=null;function bn(e){const t=be;return be=e,In=e&&e.type.__scopeId||null,t}function Zu(e){In=e}function ef(){In=null}function Ml(e,t=be,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&bs(-1);const o=bn(t);let i;try{i=e(...s)}finally{bn(o),r._d&&bs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function qn(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:c,emit:l,render:u,renderCache:h,props:d,data:p,setupState:g,ctx:x,inheritAttrs:P}=e,D=bn(e);let $,k;try{if(n.shapeFlag&4){const U=s||r,G=U;$=He(u.call(G,U,h,d,g,p,x)),k=c}else{const U=t;$=He(U.length>1?U(d,{attrs:c,slots:i,emit:l}):U(d,null)),k=t.props?c:Il(c)}}catch(U){Ut.length=0,Ln(U,e,1),$=we(Se)}let O=$;if(k&&P!==!1){const U=Object.keys(k),{shapeFlag:G}=O;U.length&&G&7&&(o&&U.some(Rr)&&(k=kl(k,o)),O=at(O,k,!1,!0))}return n.dirs&&(O=at(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&(O.transition=n.transition),$=O,bn(D),$}const Il=e=>{let t;for(const n in e)(n==="class"||n==="style"||Sn(n))&&((t||(t={}))[n]=e[n]);return t},kl=(e,t)=>{const n={};for(const r in e)(!Rr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Fl(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:c,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?is(r,i,u):!!i;if(l&8){const h=t.dynamicProps;for(let d=0;de.__isSuspense;function Bl(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Tl(e)}function kn(e,t,n=he,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{ft();const c=tn(n),l=Ae(t,n,e,i);return c(),dt(),l});return r?s.unshift(o):s.push(o),o}}const Ge=e=>(t,n=he)=>{(!$n||e==="sp")&&kn(e,(...r)=>t(...r),n)},Vl=Ge("bm"),qo=Ge("m"),Ul=Ge("bu"),Kl=Ge("u"),Wo=Ge("bum"),Go=Ge("um"),zl=Ge("sp"),ql=Ge("rtg"),Wl=Ge("rtc");function Gl(e,t=he){kn("ec",e,t)}function tf(e,t){if(be===null)return e;const n=jn(be),r=e.dirs||(e.dirs=[]);for(let s=0;st(i,c,void 0,o&&o[c]));else{const i=Object.keys(e);s=new Array(i.length);for(let c=0,l=i.length;cue({name:e.name},t,{setup:e}))():e}const hn=e=>!!e.type.__asyncLoader,fr=e=>e?vi(e)?jn(e):fr(e.parent):null,Dt=ue(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>fr(e.parent),$root:e=>fr(e.root),$emit:e=>e.emit,$options:e=>Br(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Hr(e.update)}),$nextTick:e=>e.n||(e.n=Do.bind(e.proxy)),$watch:e=>pc.bind(e)}),Wn=(e,t)=>e!==oe&&!e.__isScriptSetup&&W(e,t),Ql={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:c,appContext:l}=e;let u;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Wn(r,t))return i[t]=1,r[t];if(s!==oe&&W(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&W(u,t))return i[t]=3,o[t];if(n!==oe&&W(n,t))return i[t]=4,n[t];dr&&(i[t]=0)}}const h=Dt[t];let d,p;if(h)return t==="$attrs"&&Ee(e.attrs,"get",""),h(e);if((d=c.__cssModules)&&(d=d[t]))return d;if(n!==oe&&W(n,t))return i[t]=4,n[t];if(p=l.config.globalProperties,W(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Wn(s,t)?(s[t]=n,!0):r!==oe&&W(r,t)?(r[t]=n,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let c;return!!n[i]||e!==oe&&W(e,i)||Wn(t,i)||(c=o[0])&&W(c,i)||W(r,i)||W(Dt,i)||W(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:W(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function cs(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let dr=!0;function Jl(e){const t=Br(e),n=e.proxy,r=e.ctx;dr=!1,t.beforeCreate&&as(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:c,provide:l,inject:u,created:h,beforeMount:d,mounted:p,beforeUpdate:g,updated:x,activated:P,deactivated:D,beforeDestroy:$,beforeUnmount:k,destroyed:O,unmounted:U,render:G,renderTracked:M,renderTriggered:K,errorCaptured:re,serverPrefetch:H,expose:q,inheritAttrs:Q,components:L,directives:Y,filters:fe}=t;if(u&&Yl(u,r,null),i)for(const ne in i){const X=i[ne];V(X)&&(r[ne]=X.bind(n))}if(s){const ne=s.call(n,n);ie(ne)&&(e.data=It(ne))}if(dr=!0,o)for(const ne in o){const X=o[ne],Ue=V(X)?X.bind(n,n):V(X.get)?X.get.bind(n,n):Re,Qe=!V(X)&&V(X.set)?X.set.bind(n):Re,Fe=Me({get:Ue,set:Qe});Object.defineProperty(r,ne,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:ye=>Fe.value=ye})}if(c)for(const ne in c)Qo(c[ne],r,n,ne);if(l){const ne=V(l)?l.call(n):l;Reflect.ownKeys(ne).forEach(X=>{pn(X,ne[X])})}h&&as(h,e,"c");function ce(ne,X){j(X)?X.forEach(Ue=>ne(Ue.bind(n))):X&&ne(X.bind(n))}if(ce(Vl,d),ce(qo,p),ce(Ul,g),ce(Kl,x),ce(gc,P),ce(mc,D),ce(Gl,re),ce(Wl,M),ce(ql,K),ce(Wo,k),ce(Go,U),ce(zl,H),j(q))if(q.length){const ne=e.exposed||(e.exposed={});q.forEach(X=>{Object.defineProperty(ne,X,{get:()=>n[X],set:Ue=>n[X]=Ue})})}else e.exposed||(e.exposed={});G&&e.render===Re&&(e.render=G),Q!=null&&(e.inheritAttrs=Q),L&&(e.components=L),Y&&(e.directives=Y)}function Yl(e,t,n=Re){j(e)&&(e=hr(e));for(const r in e){const s=e[r];let o;ie(s)?"default"in s?o=We(s.from||r,s.default,!0):o=We(s.from||r):o=We(s),xe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function as(e,t,n){Ae(j(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qo(e,t,n,r){const s=r.includes(".")?li(n,r):()=>n[r];if(ae(e)){const o=t[e];V(o)&&gn(s,o)}else if(V(e))gn(s,e.bind(n));else if(ie(e))if(j(e))e.forEach(o=>Qo(o,t,n,r));else{const o=V(e.handler)?e.handler.bind(n):t[e.handler];V(o)&&gn(s,o,e)}}function Br(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,c=o.get(t);let l;return c?l=c:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>wn(l,u,i,!0)),wn(l,t,i)),ie(t)&&o.set(t,l),l}function wn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&wn(e,o,n,!0),s&&s.forEach(i=>wn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const c=Xl[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const Xl={data:us,props:fs,emits:fs,methods:$t,computed:$t,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:$t,directives:$t,watch:ec,provide:us,inject:Zl};function us(e,t){return t?e?function(){return ue(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function Zl(e,t){return $t(hr(e),hr(t))}function hr(e){if(j(e)){const t={};for(let n=0;n1)return n&&V(t)?t.call(r&&r.proxy):t}}const Yo={},Xo=()=>Object.create(Yo),Zo=e=>Object.getPrototypeOf(e)===Yo;function rc(e,t,n,r=!1){const s={},o=Xo();e.propsDefaults=Object.create(null),ei(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Lo(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function sc(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,c=J(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const h=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[p,g]=ti(d,t,!0);ue(i,p),g&&c.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!o&&!l)return ie(e)&&r.set(e,Rt),Rt;if(j(o))for(let h=0;h-1,g[1]=P<0||x-1||W(g,"default"))&&c.push(d)}}}const u=[i,c];return ie(e)&&r.set(e,u),u}function ds(e){return e[0]!=="$"&&!jt(e)}function hs(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ps(e,t){return hs(e)===hs(t)}function gs(e,t){return j(t)?t.findIndex(n=>ps(n,e)):V(t)&&ps(t,e)?0:-1}const ni=e=>e[0]==="_"||e==="$stable",Vr=e=>j(e)?e.map(He):[He(e)],oc=(e,t,n)=>{if(t._n)return t;const r=Ml((...s)=>Vr(t(...s)),n);return r._c=!1,r},ri=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ni(s))continue;const o=e[s];if(V(o))t[s]=oc(s,o,r);else if(o!=null){const i=Vr(o);t[s]=()=>i}}},si=(e,t)=>{const n=Vr(t);e.slots.default=()=>n},ic=(e,t)=>{const n=e.slots=Xo();if(e.vnode.shapeFlag&32){const r=t._;r?(ue(n,t),go(n,"_",r,!0)):ri(t,n)}else t&&si(e,t)},lc=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=oe;if(r.shapeFlag&32){const c=t._;c?n&&c===1?o=!1:(ue(s,t),!n&&c===1&&delete s._):(o=!t.$stable,ri(t,s)),i=t}else t&&(si(e,t),i={default:1});if(o)for(const c in s)!ni(c)&&i[c]==null&&delete s[c]};function gr(e,t,n,r,s=!1){if(j(e)){e.forEach((p,g)=>gr(p,t&&(j(t)?t[g]:t),n,r,s));return}if(hn(r)&&!s)return;const o=r.shapeFlag&4?jn(r.component):r.el,i=s?null:o,{i:c,r:l}=e,u=t&&t.r,h=c.refs===oe?c.refs={}:c.refs,d=c.setupState;if(u!=null&&u!==l&&(ae(u)?(h[u]=null,W(d,u)&&(d[u]=null)):xe(u)&&(u.value=null)),V(l))lt(l,c,12,[i,h]);else{const p=ae(l),g=xe(l);if(p||g){const x=()=>{if(e.f){const P=p?W(d,l)?d[l]:h[l]:l.value;s?j(P)&&Pr(P,o):j(P)?P.includes(o)||P.push(o):p?(h[l]=[o],W(d,l)&&(d[l]=h[l])):(l.value=[o],e.k&&(h[e.k]=l.value))}else p?(h[l]=i,W(d,l)&&(d[l]=i)):g&&(l.value=i,e.k&&(h[e.k]=i))};i?(x.id=-1,ve(x,n)):x()}}}const ve=Bl;function cc(e){return ac(e)}function ac(e,t){const n=mo();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:c,createComment:l,setText:u,setElementText:h,parentNode:d,nextSibling:p,setScopeId:g=Re,insertStaticContent:x}=e,P=(a,f,m,v=null,_=null,E=null,S=void 0,w=null,C=!!f.dynamicChildren)=>{if(a===f)return;a&&!yt(a,f)&&(v=y(a),ye(a,_,E,!0),a=null),f.patchFlag===-2&&(C=!1,f.dynamicChildren=null);const{type:b,ref:T,shapeFlag:N}=f;switch(b){case Nn:D(a,f,m,v);break;case Se:$(a,f,m,v);break;case mn:a==null&&k(f,m,v,S);break;case je:L(a,f,m,v,_,E,S,w,C);break;default:N&1?G(a,f,m,v,_,E,S,w,C):N&6?Y(a,f,m,v,_,E,S,w,C):(N&64||N&128)&&b.process(a,f,m,v,_,E,S,w,C,I)}T!=null&&_&&gr(T,a&&a.ref,E,f||a,!f)},D=(a,f,m,v)=>{if(a==null)r(f.el=c(f.children),m,v);else{const _=f.el=a.el;f.children!==a.children&&u(_,f.children)}},$=(a,f,m,v)=>{a==null?r(f.el=l(f.children||""),m,v):f.el=a.el},k=(a,f,m,v)=>{[a.el,a.anchor]=x(a.children,f,m,v,a.el,a.anchor)},O=({el:a,anchor:f},m,v)=>{let _;for(;a&&a!==f;)_=p(a),r(a,m,v),a=_;r(f,m,v)},U=({el:a,anchor:f})=>{let m;for(;a&&a!==f;)m=p(a),s(a),a=m;s(f)},G=(a,f,m,v,_,E,S,w,C)=>{f.type==="svg"?S="svg":f.type==="math"&&(S="mathml"),a==null?M(f,m,v,_,E,S,w,C):H(a,f,_,E,S,w,C)},M=(a,f,m,v,_,E,S,w)=>{let C,b;const{props:T,shapeFlag:N,transition:F,dirs:B}=a;if(C=a.el=i(a.type,E,T&&T.is,T),N&8?h(C,a.children):N&16&&re(a.children,C,null,v,_,Gn(a,E),S,w),B&&ht(a,null,v,"created"),K(C,a,a.scopeId,S,v),T){for(const se in T)se!=="value"&&!jt(se)&&o(C,se,null,T[se],E,a.children,v,_,pe);"value"in T&&o(C,"value",null,T.value,E),(b=T.onVnodeBeforeMount)&&$e(b,v,a)}B&&ht(a,null,v,"beforeMount");const z=uc(_,F);z&&F.beforeEnter(C),r(C,f,m),((b=T&&T.onVnodeMounted)||z||B)&&ve(()=>{b&&$e(b,v,a),z&&F.enter(C),B&&ht(a,null,v,"mounted")},_)},K=(a,f,m,v,_)=>{if(m&&g(a,m),v)for(let E=0;E{for(let b=C;b{const w=f.el=a.el;let{patchFlag:C,dynamicChildren:b,dirs:T}=f;C|=a.patchFlag&16;const N=a.props||oe,F=f.props||oe;let B;if(m&&pt(m,!1),(B=F.onVnodeBeforeUpdate)&&$e(B,m,f,a),T&&ht(f,a,m,"beforeUpdate"),m&&pt(m,!0),b?q(a.dynamicChildren,b,w,m,v,Gn(f,_),E):S||X(a,f,w,null,m,v,Gn(f,_),E,!1),C>0){if(C&16)Q(w,f,N,F,m,v,_);else if(C&2&&N.class!==F.class&&o(w,"class",null,F.class,_),C&4&&o(w,"style",N.style,F.style,_),C&8){const z=f.dynamicProps;for(let se=0;se{B&&$e(B,m,f,a),T&&ht(f,a,m,"updated")},v)},q=(a,f,m,v,_,E,S)=>{for(let w=0;w{if(m!==v){if(m!==oe)for(const w in m)!jt(w)&&!(w in v)&&o(a,w,m[w],null,S,f.children,_,E,pe);for(const w in v){if(jt(w))continue;const C=v[w],b=m[w];C!==b&&w!=="value"&&o(a,w,b,C,S,f.children,_,E,pe)}"value"in v&&o(a,"value",m.value,v.value,S)}},L=(a,f,m,v,_,E,S,w,C)=>{const b=f.el=a?a.el:c(""),T=f.anchor=a?a.anchor:c("");let{patchFlag:N,dynamicChildren:F,slotScopeIds:B}=f;B&&(w=w?w.concat(B):B),a==null?(r(b,m,v),r(T,m,v),re(f.children||[],m,T,_,E,S,w,C)):N>0&&N&64&&F&&a.dynamicChildren?(q(a.dynamicChildren,F,m,_,E,S,w),(f.key!=null||_&&f===_.subTree)&&Ur(a,f,!0)):X(a,f,m,T,_,E,S,w,C)},Y=(a,f,m,v,_,E,S,w,C)=>{f.slotScopeIds=w,a==null?f.shapeFlag&512?_.ctx.activate(f,m,v,S,C):fe(f,m,v,_,E,S,C):Te(a,f,C)},fe=(a,f,m,v,_,E,S)=>{const w=a.component=Lc(a,v,_);if(Fn(a)&&(w.ctx.renderer=I),Ic(w),w.asyncDep){if(_&&_.registerDep(w,ce,S),!a.el){const C=w.subTree=we(Se);$(null,C,f,m)}}else ce(w,a,f,m,_,E,S)},Te=(a,f,m)=>{const v=f.component=a.component;if(Fl(a,f,m))if(v.asyncDep&&!v.asyncResolved){ne(v,f,m);return}else v.next=f,Al(v.update),v.effect.dirty=!0,v.update();else f.el=a.el,v.vnode=f},ce=(a,f,m,v,_,E,S)=>{const w=()=>{if(a.isMounted){let{next:T,bu:N,u:F,parent:B,vnode:z}=a;{const Ct=oi(a);if(Ct){T&&(T.el=z.el,ne(a,T,S)),Ct.asyncDep.then(()=>{a.isUnmounted||w()});return}}let se=T,ee;pt(a,!1),T?(T.el=z.el,ne(a,T,S)):T=z,N&&Kn(N),(ee=T.props&&T.props.onVnodeBeforeUpdate)&&$e(ee,B,T,z),pt(a,!0);const de=qn(a),Oe=a.subTree;a.subTree=de,P(Oe,de,d(Oe.el),y(Oe),a,_,E),T.el=de.el,se===null&&Nl(a,de.el),F&&ve(F,_),(ee=T.props&&T.props.onVnodeUpdated)&&ve(()=>$e(ee,B,T,z),_)}else{let T;const{el:N,props:F}=f,{bm:B,m:z,parent:se}=a,ee=hn(f);if(pt(a,!1),B&&Kn(B),!ee&&(T=F&&F.onVnodeBeforeMount)&&$e(T,se,f),pt(a,!0),N&&le){const de=()=>{a.subTree=qn(a),le(N,a.subTree,a,_,null)};ee?f.type.__asyncLoader().then(()=>!a.isUnmounted&&de()):de()}else{const de=a.subTree=qn(a);P(null,de,m,v,a,_,E),f.el=de.el}if(z&&ve(z,_),!ee&&(T=F&&F.onVnodeMounted)){const de=f;ve(()=>$e(T,se,de),_)}(f.shapeFlag&256||se&&hn(se.vnode)&&se.vnode.shapeFlag&256)&&a.a&&ve(a.a,_),a.isMounted=!0,f=m=v=null}},C=a.effect=new Lr(w,Re,()=>Hr(b),a.scope),b=a.update=()=>{C.dirty&&C.run()};b.id=a.uid,pt(a,!0),b()},ne=(a,f,m)=>{f.component=a;const v=a.vnode.props;a.vnode=f,a.next=null,sc(a,f.props,v,m),lc(a,f.children,m),ft(),os(a),dt()},X=(a,f,m,v,_,E,S,w,C=!1)=>{const b=a&&a.children,T=a?a.shapeFlag:0,N=f.children,{patchFlag:F,shapeFlag:B}=f;if(F>0){if(F&128){Qe(b,N,m,v,_,E,S,w,C);return}else if(F&256){Ue(b,N,m,v,_,E,S,w,C);return}}B&8?(T&16&&pe(b,_,E),N!==b&&h(m,N)):T&16?B&16?Qe(b,N,m,v,_,E,S,w,C):pe(b,_,E,!0):(T&8&&h(m,""),B&16&&re(N,m,v,_,E,S,w,C))},Ue=(a,f,m,v,_,E,S,w,C)=>{a=a||Rt,f=f||Rt;const b=a.length,T=f.length,N=Math.min(b,T);let F;for(F=0;FT?pe(a,_,E,!0,!1,N):re(f,m,v,_,E,S,w,C,N)},Qe=(a,f,m,v,_,E,S,w,C)=>{let b=0;const T=f.length;let N=a.length-1,F=T-1;for(;b<=N&&b<=F;){const B=a[b],z=f[b]=C?nt(f[b]):He(f[b]);if(yt(B,z))P(B,z,m,null,_,E,S,w,C);else break;b++}for(;b<=N&&b<=F;){const B=a[N],z=f[F]=C?nt(f[F]):He(f[F]);if(yt(B,z))P(B,z,m,null,_,E,S,w,C);else break;N--,F--}if(b>N){if(b<=F){const B=F+1,z=BF)for(;b<=N;)ye(a[b],_,E,!0),b++;else{const B=b,z=b,se=new Map;for(b=z;b<=F;b++){const Ce=f[b]=C?nt(f[b]):He(f[b]);Ce.key!=null&&se.set(Ce.key,b)}let ee,de=0;const Oe=F-z+1;let Ct=!1,Gr=0;const kt=new Array(Oe);for(b=0;b=Oe){ye(Ce,_,E,!0);continue}let Ne;if(Ce.key!=null)Ne=se.get(Ce.key);else for(ee=z;ee<=F;ee++)if(kt[ee-z]===0&&yt(Ce,f[ee])){Ne=ee;break}Ne===void 0?ye(Ce,_,E,!0):(kt[Ne-z]=b+1,Ne>=Gr?Gr=Ne:Ct=!0,P(Ce,f[Ne],m,null,_,E,S,w,C),de++)}const Qr=Ct?fc(kt):Rt;for(ee=Qr.length-1,b=Oe-1;b>=0;b--){const Ce=z+b,Ne=f[Ce],Jr=Ce+1{const{el:E,type:S,transition:w,children:C,shapeFlag:b}=a;if(b&6){Fe(a.component.subTree,f,m,v);return}if(b&128){a.suspense.move(f,m,v);return}if(b&64){S.move(a,f,m,I);return}if(S===je){r(E,f,m);for(let N=0;Nw.enter(E),_);else{const{leave:N,delayLeave:F,afterLeave:B}=w,z=()=>r(E,f,m),se=()=>{N(E,()=>{z(),B&&B()})};F?F(E,z,se):se()}else r(E,f,m)},ye=(a,f,m,v=!1,_=!1)=>{const{type:E,props:S,ref:w,children:C,dynamicChildren:b,shapeFlag:T,patchFlag:N,dirs:F,memoIndex:B}=a;if(N===-2&&(_=!1),w!=null&&gr(w,null,m,a,!0),B!=null&&(f.renderCache[B]=void 0),T&256){f.ctx.deactivate(a);return}const z=T&1&&F,se=!hn(a);let ee;if(se&&(ee=S&&S.onVnodeBeforeUnmount)&&$e(ee,f,a),T&6)nn(a.component,m,v);else{if(T&128){a.suspense.unmount(m,v);return}z&&ht(a,null,f,"beforeUnmount"),T&64?a.type.remove(a,f,m,I,v):b&&(E!==je||N>0&&N&64)?pe(b,f,m,!1,!0):(E===je&&N&384||!_&&T&16)&&pe(C,f,m),v&&Et(a)}(se&&(ee=S&&S.onVnodeUnmounted)||z)&&ve(()=>{ee&&$e(ee,f,a),z&&ht(a,null,f,"unmounted")},m)},Et=a=>{const{type:f,el:m,anchor:v,transition:_}=a;if(f===je){xt(m,v);return}if(f===mn){U(a);return}const E=()=>{s(m),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(a.shapeFlag&1&&_&&!_.persisted){const{leave:S,delayLeave:w}=_,C=()=>S(m,E);w?w(a.el,E,C):C()}else E()},xt=(a,f)=>{let m;for(;a!==f;)m=p(a),s(a),a=m;s(f)},nn=(a,f,m)=>{const{bum:v,scope:_,update:E,subTree:S,um:w,m:C,a:b}=a;ms(C),ms(b),v&&Kn(v),_.stop(),E&&(E.active=!1,ye(S,a,f,m)),w&&ve(w,f),ve(()=>{a.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},pe=(a,f,m,v=!1,_=!1,E=0)=>{for(let S=E;Sa.shapeFlag&6?y(a.component.subTree):a.shapeFlag&128?a.suspense.next():p(a.anchor||a.el);let A=!1;const R=(a,f,m)=>{a==null?f._vnode&&ye(f._vnode,null,null,!0):P(f._vnode||null,a,f,null,null,null,m),A||(A=!0,os(),Vo(),A=!1),f._vnode=a},I={p:P,um:ye,m:Fe,r:Et,mt:fe,mc:re,pc:X,pbc:q,n:y,o:e};let Z,le;return t&&([Z,le]=t(I)),{render:R,hydrate:Z,createApp:nc(R,Z)}}function Gn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function pt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function uc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ur(e,t,n=!1){const r=e.children,s=t.children;if(j(r)&&j(s))for(let o=0;o>1,e[n[c]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function oi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:oi(t)}function ms(e){if(e)for(let t=0;tWe(dc),an={};function gn(e,t,n){return ii(e,t,n)}function ii(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:c}=oe){if(t&&o){const M=t;t=(...K)=>{M(...K),G()}}const l=he,u=M=>r===!0?M:ot(M,r===!1?1:void 0);let h,d=!1,p=!1;if(xe(e)?(h=()=>e.value,d=vn(e)):Ht(e)?(h=()=>u(e),d=!0):j(e)?(p=!0,d=e.some(M=>Ht(M)||vn(M)),h=()=>e.map(M=>{if(xe(M))return M.value;if(Ht(M))return u(M);if(V(M))return lt(M,l,2)})):V(e)?t?h=()=>lt(e,l,2):h=()=>(g&&g(),Ae(e,l,3,[x])):h=Re,t&&r){const M=h;h=()=>ot(M())}let g,x=M=>{g=O.onStop=()=>{lt(M,l,4),g=O.onStop=void 0}},P;if($n)if(x=Re,t?n&&Ae(t,l,3,[h(),p?[]:void 0,x]):h(),s==="sync"){const M=hc();P=M.__watcherHandles||(M.__watcherHandles=[])}else return Re;let D=p?new Array(e.length).fill(an):an;const $=()=>{if(!(!O.active||!O.dirty))if(t){const M=O.run();(r||d||(p?M.some((K,re)=>ct(K,D[re])):ct(M,D)))&&(g&&g(),Ae(t,l,3,[M,D===an?void 0:p&&D[0]===an?[]:D,x]),D=M)}else O.run()};$.allowRecurse=!!t;let k;s==="sync"?k=$:s==="post"?k=()=>ve($,l&&l.suspense):($.pre=!0,l&&($.id=l.uid),k=()=>Hr($));const O=new Lr(h,Re,k),U=nl(),G=()=>{O.stop(),U&&Pr(U.effects,O)};return t?n?$():D=O.run():s==="post"?ve(O.run.bind(O),l&&l.suspense):O.run(),P&&P.push(G),G}function pc(e,t,n){const r=this.proxy,s=ae(e)?e.includes(".")?li(r,e):()=>r[e]:e.bind(r,r);let o;V(t)?o=t:(o=t.handler,n=t);const i=tn(this),c=ii(s,o.bind(r),n);return i(),c}function li(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{ot(r,t,n)});else if(po(e)){for(const r in e)ot(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&ot(e[r],t,n)}return e}const Fn=e=>e.type.__isKeepAlive;function gc(e,t){ci(e,"a",t)}function mc(e,t){ci(e,"da",t)}function ci(e,t,n=he){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(kn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Fn(s.parent.vnode)&&_c(r,t,n,s),s=s.parent}}function _c(e,t,n,r){const s=kn(t,e,r,!0);Go(()=>{Pr(r[t],s)},n)}const tt=Symbol("_leaveCb"),un=Symbol("_enterCb");function yc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qo(()=>{e.isMounted=!0}),Wo(()=>{e.isUnmounting=!0}),e}const Pe=[Function,Array],ai={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pe,onEnter:Pe,onAfterEnter:Pe,onEnterCancelled:Pe,onBeforeLeave:Pe,onLeave:Pe,onAfterLeave:Pe,onLeaveCancelled:Pe,onBeforeAppear:Pe,onAppear:Pe,onAfterAppear:Pe,onAppearCancelled:Pe},ui=e=>{const t=e.subTree;return t.component?ui(t.component):t},vc={name:"BaseTransition",props:ai,setup(e,{slots:t}){const n=Mc(),r=yc();return()=>{const s=t.default&&di(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const p of s)if(p.type!==Se){o=p;break}}const i=J(e),{mode:c}=i;if(r.isLeaving)return Qn(o);const l=_s(o);if(!l)return Qn(o);let u=mr(l,i,r,n,p=>u=p);En(l,u);const h=n.subTree,d=h&&_s(h);if(d&&d.type!==Se&&!yt(l,d)&&ui(n).type!==Se){const p=mr(d,i,r,n);if(En(d,p),c==="out-in"&&l.type!==Se)return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Qn(o);c==="in-out"&&l.type!==Se&&(p.delayLeave=(g,x,P)=>{const D=fi(r,d);D[String(d.key)]=d,g[tt]=()=>{x(),g[tt]=void 0,delete u.delayedLeave},u.delayedLeave=P})}return o}}},bc=vc;function fi(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function mr(e,t,n,r,s){const{appear:o,mode:i,persisted:c=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:h,onEnterCancelled:d,onBeforeLeave:p,onLeave:g,onAfterLeave:x,onLeaveCancelled:P,onBeforeAppear:D,onAppear:$,onAfterAppear:k,onAppearCancelled:O}=t,U=String(e.key),G=fi(n,e),M=(H,q)=>{H&&Ae(H,r,9,q)},K=(H,q)=>{const Q=q[1];M(H,q),j(H)?H.every(L=>L.length<=1)&&Q():H.length<=1&&Q()},re={mode:i,persisted:c,beforeEnter(H){let q=l;if(!n.isMounted)if(o)q=D||l;else return;H[tt]&&H[tt](!0);const Q=G[U];Q&&yt(e,Q)&&Q.el[tt]&&Q.el[tt](),M(q,[H])},enter(H){let q=u,Q=h,L=d;if(!n.isMounted)if(o)q=$||u,Q=k||h,L=O||d;else return;let Y=!1;const fe=H[un]=Te=>{Y||(Y=!0,Te?M(L,[H]):M(Q,[H]),re.delayedLeave&&re.delayedLeave(),H[un]=void 0)};q?K(q,[H,fe]):fe()},leave(H,q){const Q=String(e.key);if(H[un]&&H[un](!0),n.isUnmounting)return q();M(p,[H]);let L=!1;const Y=H[tt]=fe=>{L||(L=!0,q(),fe?M(P,[H]):M(x,[H]),H[tt]=void 0,G[Q]===e&&delete G[Q])};G[Q]=e,g?K(g,[H,Y]):Y()},clone(H){const q=mr(H,t,n,r,s);return s&&s(q),q}};return re}function Qn(e){if(Fn(e))return e=at(e),e.children=null,e}function _s(e){if(!Fn(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&V(n.default))return n.default()}}function En(e,t){e.shapeFlag&6&&e.component?En(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function di(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;oe.__isTeleport,Vt=e=>e&&(e.disabled||e.disabled===""),ys=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,vs=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,_r=(e,t)=>{const n=e&&e.to;return ae(n)?t?t(n):null:n},Ec={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,c,l,u){const{mc:h,pc:d,pbc:p,o:{insert:g,querySelector:x,createText:P,createComment:D}}=u,$=Vt(t.props);let{shapeFlag:k,children:O,dynamicChildren:U}=t;if(e==null){const G=t.el=P(""),M=t.anchor=P("");g(G,n,r),g(M,n,r);const K=t.target=_r(t.props,x),re=t.targetAnchor=P("");K&&(g(re,K),i==="svg"||ys(K)?i="svg":(i==="mathml"||vs(K))&&(i="mathml"));const H=(q,Q)=>{k&16&&h(O,q,Q,s,o,i,c,l)};$?H(n,M):K&&H(K,re)}else{t.el=e.el;const G=t.anchor=e.anchor,M=t.target=e.target,K=t.targetAnchor=e.targetAnchor,re=Vt(e.props),H=re?n:M,q=re?G:K;if(i==="svg"||ys(M)?i="svg":(i==="mathml"||vs(M))&&(i="mathml"),U?(p(e.dynamicChildren,U,H,s,o,i,c),Ur(e,t,!0)):l||d(e,t,H,q,s,o,i,c,!1),$)re?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fn(t,n,G,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Q=t.target=_r(t.props,x);Q&&fn(t,Q,null,u,0)}else re&&fn(t,M,K,u,1)}hi(t)},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:c,anchor:l,targetAnchor:u,target:h,props:d}=e;if(h&&s(u),o&&s(l),i&16){const p=o||!Vt(d);for(let g=0;g0?Ie||Rt:null,Cc(),Jt>0&&Ie&&Ie.push(e),e}function sf(e,t,n,r,s,o){return gi(yi(e,t,n,r,s,o,!0))}function mi(e,t,n,r,s){return gi(we(e,t,n,r,s,!0))}function yr(e){return e?e.__v_isVNode===!0:!1}function yt(e,t){return e.type===t.type&&e.key===t.key}const _i=({key:e})=>e!=null?e:null,_n=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||xe(e)||V(e)?{i:be,r:e,k:t,f:!!n}:e:null);function yi(e,t=null,n=null,r=0,s=null,o=e===je?0:1,i=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_i(t),ref:t&&_n(t),scopeId:In,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:be};return c?(Kr(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=ae(n)?8:16),Jt>0&&!i&&Ie&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ie.push(l),l}const we=Sc;function Sc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===jl)&&(e=Se),yr(e)){const c=at(e,t,!0);return n&&Kr(c,n),Jt>0&&!o&&Ie&&(c.shapeFlag&6?Ie[Ie.indexOf(e)]=c:Ie.push(c)),c.patchFlag=-2,c}if(jc(e)&&(e=e.__vccOpts),t){t=Rc(t);let{class:c,style:l}=t;c&&!ae(c)&&(t.class=Or(c)),ie(l)&&(Io(l)&&!j(l)&&(l=ue({},l)),t.style=Tr(l))}const i=ae(e)?1:Dl(e)?128:wc(e)?64:ie(e)?4:V(e)?2:0;return yi(e,t,n,r,s,i,o,!0)}function Rc(e){return e?Io(e)||Zo(e)?ue({},e):e:null}function at(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:c,transition:l}=e,u=t?Ac(s||{},t):s,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&_i(u),ref:t&&t.ref?n&&o?j(o)?o.concat(_n(t)):[o,_n(t)]:_n(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&at(e.ssContent),ssFallback:e.ssFallback&&at(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&En(h,l.clone(h)),h}function Pc(e=" ",t=0){return we(Nn,null,e,t)}function of(e,t){const n=we(mn,null,e);return n.staticCount=t,n}function lf(e="",t=!1){return t?(pi(),mi(Se,null,e)):we(Se,null,e)}function He(e){return e==null||typeof e=="boolean"?we(Se):j(e)?we(je,null,e.slice()):typeof e=="object"?nt(e):we(Nn,null,String(e))}function nt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:at(e)}function Kr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Kr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Zo(t)?t._ctx=be:s===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else V(t)?(t={default:t,_ctx:be},n=32):(t=String(t),r&64?(n=16,t=[Pc(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ac(...e){const t={};for(let n=0;nhe||be;let xn,vr;{const e=mo(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};xn=t("__VUE_INSTANCE_SETTERS__",n=>he=n),vr=t("__VUE_SSR_SETTERS__",n=>$n=n)}const tn=e=>{const t=he;return xn(e),e.scope.on(),()=>{e.scope.off(),xn(t)}},ws=()=>{he&&he.scope.off(),xn(null)};function vi(e){return e.vnode.shapeFlag&4}let $n=!1;function Ic(e,t=!1){t&&vr(t);const{props:n,children:r}=e.vnode,s=vi(e);rc(e,n,s,t),ic(e,r);const o=s?kc(e,t):void 0;return t&&vr(!1),o}function kc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ql);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Nc(e):null,o=tn(e);ft();const i=lt(r,e,0,[e.props,s]);if(dt(),o(),fo(i)){if(i.then(ws,ws),t)return i.then(c=>{Es(e,c,t)}).catch(c=>{Ln(c,e,0)});e.asyncDep=i}else Es(e,i,t)}else bi(e,t)}function Es(e,t,n){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ie(t)&&(e.setupState=jo(t)),bi(e,n)}let xs;function bi(e,t,n){const r=e.type;if(!e.render){if(!t&&xs&&!r.render){const s=r.template||Br(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:l}=r,u=ue(ue({isCustomElement:o,delimiters:c},i),l);r.render=xs(s,u)}}e.render=r.render||Re}{const s=tn(e);ft();try{Jl(e)}finally{dt(),s()}}}const Fc={get(e,t){return Ee(e,"get",""),e[t]}};function Nc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Fc),slots:e.slots,emit:e.emit,expose:t}}function jn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(jo(On(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Dt)return Dt[n](e)},has(t,n){return n in t||n in Dt}})):e.proxy}function $c(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function jc(e){return V(e)&&"__vccOpts"in e}const Me=(e,t)=>El(e,t,$n);function zr(e,t,n){const r=arguments.length;return r===2?ie(t)&&!j(t)?yr(t)?we(e,null,[t]):we(e,t):we(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&yr(n)&&(n=[n]),we(e,t,n))}const Hc="3.4.31";/** * @vue/runtime-dom v3.4.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Dc="http://www.w3.org/2000/svg",Bc="http://www.w3.org/1998/Math/MathML",ze=typeof document!="undefined"?document:null,Cs=ze&&ze.createElement("template"),Vc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?ze.createElementNS(Dc,e):t==="mathml"?ze.createElementNS(Bc,e):n?ze.createElement(e,{is:n}):ze.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>ze.createTextNode(e),createComment:e=>ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ze.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Cs.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const c=Cs.content;if(r==="svg"||r==="mathml"){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ye="transition",Ft="animation",Yt=Symbol("_vtc"),wi=(e,{slots:t})=>zr(bc,Uc(e),t);wi.displayName="Transition";const Ei={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};wi.props=ue({},ai,Ei);const gt=(e,t=[])=>{j(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ss=e=>e?j(e)?e.some(t=>t.length>1):e.length>1:!1;function Uc(e){const t={};for(const L in e)L in Ei||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:h=c,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,x=Kc(s),P=x&&x[0],D=x&&x[1],{onBeforeEnter:$,onEnter:k,onEnterCancelled:O,onLeave:U,onLeaveCancelled:G,onBeforeAppear:M=$,onAppear:K=k,onAppearCancelled:re=O}=t,H=(L,Y,fe)=>{mt(L,Y?h:c),mt(L,Y?u:i),fe&&fe()},q=(L,Y)=>{L._isLeaving=!1,mt(L,d),mt(L,g),mt(L,p),Y&&Y()},Q=L=>(Y,fe)=>{const Te=L?K:k,ce=()=>H(Y,L,fe);gt(Te,[Y,ce]),Rs(()=>{mt(Y,L?l:o),Xe(Y,L?h:c),Ss(Te)||Ps(Y,r,P,ce)})};return ue(t,{onBeforeEnter(L){gt($,[L]),Xe(L,o),Xe(L,i)},onBeforeAppear(L){gt(M,[L]),Xe(L,l),Xe(L,u)},onEnter:Q(!1),onAppear:Q(!0),onLeave(L,Y){L._isLeaving=!0;const fe=()=>q(L,Y);Xe(L,d),Xe(L,p),Wc(),Rs(()=>{!L._isLeaving||(mt(L,d),Xe(L,g),Ss(U)||Ps(L,r,D,fe))}),gt(U,[L,fe])},onEnterCancelled(L){H(L,!1),gt(O,[L])},onAppearCancelled(L){H(L,!0),gt(re,[L])},onLeaveCancelled(L){q(L),gt(G,[L])}})}function Kc(e){if(e==null)return null;if(ie(e))return[Jn(e.enter),Jn(e.leave)];{const t=Jn(e);return[t,t]}}function Jn(e){return qi(e)}function Xe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Yt]||(e[Yt]=new Set)).add(t)}function mt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Yt];n&&(n.delete(t),n.size||(e[Yt]=void 0))}function Rs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let zc=0;function Ps(e,t,n,r){const s=e._endId=++zc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:c,propCount:l}=qc(e,t);if(!i)return r();const u=i+"end";let h=0;const d=()=>{e.removeEventListener(u,p),o()},p=g=>{g.target===e&&++h>=l&&d()};setTimeout(()=>{h(n[x]||"").split(", "),s=r(`${Ye}Delay`),o=r(`${Ye}Duration`),i=As(s,o),c=r(`${Ft}Delay`),l=r(`${Ft}Duration`),u=As(c,l);let h=null,d=0,p=0;t===Ye?i>0&&(h=Ye,d=i,p=o.length):t===Ft?u>0&&(h=Ft,d=u,p=l.length):(d=Math.max(i,u),h=d>0?i>u?Ye:Ft:null,p=h?h===Ye?o.length:l.length:0);const g=h===Ye&&/\b(transform|all)(,|$)/.test(r(`${Ye}Property`).toString());return{type:h,timeout:d,propCount:p,hasTransform:g}}function As(e,t){for(;e.lengthTs(n)+Ts(e[r])))}function Ts(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Wc(){return document.body.offsetHeight}function Gc(e,t,n){const r=e[Yt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Os=Symbol("_vod"),Qc=Symbol("_vsh"),Jc=Symbol(""),Yc=/(^|;)\s*display\s*:/;function Xc(e,t,n){const r=e.style,s=ae(n);let o=!1;if(n&&!s){if(t)if(ae(t))for(const i of t.split(";")){const c=i.slice(0,i.indexOf(":")).trim();n[c]==null&&_n(r,c,"")}else for(const i in t)n[i]==null&&_n(r,i,"");for(const i in n)i==="display"&&(o=!0),_n(r,i,n[i])}else if(s){if(t!==n){const i=r[Jc];i&&(n+=";"+i),r.cssText=n,o=Yc.test(n)}}else t&&e.removeAttribute("style");Os in e&&(e[Os]=o?r.display:"",e[Qc]&&(r.display="none"))}const Ls=/\s*!important$/;function _n(e,t,n){if(j(n))n.forEach(r=>_n(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Zc(e,t);Ls.test(n)?e.setProperty(Mt(r),n.replace(Ls,""),"important"):e[r]=n}}const Ms=["Webkit","Moz","ms"],Yn={};function Zc(e,t){const n=Yn[t];if(n)return n;let r=Ve(t);if(r!=="filter"&&r in e)return Yn[t]=r;r=Pn(r);for(let s=0;sXn||(oa.then(()=>Xn=0),Xn=Date.now());function la(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ae(ca(r,n.value),t,5,[r])};return n.value=e,n.attached=ia(),n}function ca(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const $s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,aa=(e,t,n,r,s,o,i,c,l)=>{const u=s==="svg";t==="class"?Gc(e,r,u):t==="style"?Xc(e,n,r):Cn(t)?Rr(t)||ra(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ua(e,t,r,u))?(ea(e,t,r,o,i,c,l),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ks(e,t,r,u,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ks(e,t,r,u))};function ua(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&$s(t)&&V(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return $s(t)&&ae(n)?!1:t in e}const fa=ue({patchProp:aa},Vc);let js;function da(){return js||(js=cc(fa))}const ha=(...e)=>{const t=da().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=ga(r);if(!s)return;const o=t._component;!V(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,pa(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function pa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ga(e){return ae(e)?document.querySelector(e):e}function jn(e,t,n,r){return Object.defineProperty(e,t,{get:n,set:r,enumerable:!0}),e}function lf(e,t){for(const n in t)jn(e,n,t[n]);return e}const wt=No(!1);let br;function ma(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[4]||n[2]||"0",platform:t[0]||""}}function _a(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const xi="ontouchstart"in window||window.navigator.maxTouchPoints>0;function ya(e){const t=e.toLowerCase(),n=_a(t),r=ma(t,n),s={};r.browser&&(s[r.browser]=!0,s.version=r.version,s.versionNumber=parseInt(r.version,10)),r.platform&&(s[r.platform]=!0);const o=s.android||s.ios||s.bb||s.blackberry||s.ipad||s.iphone||s.ipod||s.kindle||s.playbook||s.silk||s["windows phone"];if(o===!0||t.indexOf("mobile")!==-1?s.mobile=!0:s.desktop=!0,s["windows phone"]&&(s.winphone=!0,delete s["windows phone"]),s.edga||s.edgios||s.edg?(s.edge=!0,r.browser="edge"):s.crios?(s.chrome=!0,r.browser="chrome"):s.fxios&&(s.firefox=!0,r.browser="firefox"),(s.ipod||s.ipad||s.iphone)&&(s.ios=!0),s.vivaldi&&(r.browser="vivaldi",s.vivaldi=!0),(s.chrome||s.opr||s.safari||s.vivaldi||s.mobile===!0&&s.ios!==!0&&o!==!0)&&(s.webkit=!0),s.opr&&(r.browser="opera",s.opera=!0),s.safari&&(s.blackberry||s.bb?(r.browser="blackberry",s.blackberry=!0):s.playbook?(r.browser="playbook",s.playbook=!0):s.android?(r.browser="android",s.android=!0):s.kindle?(r.browser="kindle",s.kindle=!0):s.silk&&(r.browser="silk",s.silk=!0)),s.name=r.browser,s.platform=r.platform,t.indexOf("electron")!==-1)s.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)s.bex=!0;else{if(window.Capacitor!==void 0?(s.capacitor=!0,s.nativeMobile=!0,s.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(s.cordova=!0,s.nativeMobile=!0,s.nativeMobileWrapper="cordova"),wt.value===!0&&(br={is:{...s}}),xi===!0&&s.mac===!0&&(s.desktop===!0&&s.safari===!0||s.nativeMobile===!0&&s.android!==!0&&s.ios!==!0&&s.ipad!==!0)){delete s.mac,delete s.desktop;const i=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(s,{mobile:!0,ios:!0,platform:i,[i]:!0})}s.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete s.desktop,s.mobile=!0)}return s}const Hs=navigator.userAgent||navigator.vendor||window.opera,va={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Be={userAgent:Hs,is:ya(Hs),has:{touch:xi},within:{iframe:window.self!==window.top}},wr={install(e){const{$q:t}=e;wt.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Be),wt.value=!1}),t.platform=It(this)):t.platform=this}};{let e;jn(Be.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(wr,Be),wt.value===!0&&(Object.assign(wr,br,va),br=null)}function cf(e){return Tn(Dr(e))}function af(e){return Tn(e)}const Hn=(e,t)=>{const n=It(e);for(const r in e)jn(t,r,()=>n[r],s=>{n[r]=s});return t},Dn={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(Dn,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function Xt(){}function uf(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function ff(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),n.tagName==="HTML")return t.push(document),t.push(window),t;n=n.parentElement}}function df(e){e.stopPropagation()}function hf(e){e.cancelable!==!1&&e.preventDefault()}function pf(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function gf(e,t,n){const r=`__q_${t}_evt`;e[r]=e[r]!==void 0?e[r].concat(n):n,n.forEach(s=>{s[0].addEventListener(s[1],e[s[2]],Dn[s[3]])})}function mf(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(r=>{r[0].removeEventListener(r[1],e[r[2]],Dn[r[3]])}),e[n]=void 0)}function ba(e,t=250,n){let r=null;function s(){const o=arguments,i=()=>{r=null,n!==!0&&e.apply(this,o)};r!==null?clearTimeout(r):n===!0&&e.apply(this,o),r=setTimeout(i,t)}return s.cancel=()=>{r!==null&&clearTimeout(r)},s}const Zn=["sm","md","lg","xl"],{passive:Ds}=Dn;var wa=Hn({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:Xt,setDebounce:Xt,install({$q:e,onSSRHydrated:t}){if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:n}=window,r=n||window,s=document.scrollingElement||document.documentElement,o=n===void 0||Be.is.mobile===!0?()=>[Math.max(window.innerWidth,s.clientWidth),Math.max(window.innerHeight,s.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-s.clientWidth,n.height*n.scale+window.innerHeight-s.clientHeight],i=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=d=>{const[p,g]=o();if(g!==this.height&&(this.height=g),p!==this.width)this.width=p;else if(d!==!0)return;let x=this.sizes;this.gt.xs=p>=x.sm,this.gt.sm=p>=x.md,this.gt.md=p>=x.lg,this.gt.lg=p>=x.xl,this.lt.sm=p{Zn.forEach(p=>{d[p]!==void 0&&(l[p]=d[p])})},this.setDebounce=d=>{u=d};const h=()=>{const d=getComputedStyle(document.body);d.getPropertyValue("--q-size-sm")&&Zn.forEach(p=>{this.sizes[p]=parseInt(d.getPropertyValue(`--q-size-${p}`),10)}),this.setSizes=p=>{Zn.forEach(g=>{p[g]&&(this.sizes[g]=p[g])}),this.__update(!0)},this.setDebounce=p=>{c!==void 0&&r.removeEventListener("resize",c,Ds),c=p>0?ba(this.__update,p):this.__update,r.addEventListener("resize",c,Ds)},this.setDebounce(u),Object.keys(l).length!==0?(this.setSizes(l),l=void 0):this.__update(),i===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};wt.value===!0?t.push(h):h()}});const ge=Hn({isActive:!1,mode:!1},{__media:void 0,set(e){ge.mode=e,e==="auto"?(ge.__media===void 0&&(ge.__media=window.matchMedia("(prefers-color-scheme: dark)"),ge.__updateMedia=()=>{ge.set("auto")},ge.__media.addListener(ge.__updateMedia)),e=ge.__media.matches):ge.__media!==void 0&&(ge.__media.removeListener(ge.__updateMedia),ge.__media=void 0),ge.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){ge.set(ge.isActive===!1)},install({$q:e,ssrContext:t}){const{dark:n}=e.config;e.dark=this,this.__installed!==!0&&this.set(n!==void 0?n:!1)}});function Ea(e,t,n=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}let Ci=!1;function xa(e){Ci=e.isComposing===!0}function Ca(e){return Ci===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function _f(e,t){return Ca(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Si(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function Sa({is:e,has:t,within:n},r){const s=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const o=Si(e);o!==void 0&&s.push("platform-"+o)}if(e.nativeMobile===!0){const o=e.nativeMobileWrapper;s.push(o),s.push("native-mobile"),e.ios===!0&&(r[o]===void 0||r[o].iosStatusBarPadding!==!1)&&s.push("q-ios-padding")}else e.electron===!0?s.push("electron"):e.bex===!0&&s.push("bex");return n.iframe===!0&&s.push("within-iframe"),s}function Ra(){const{is:e}=Be,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(e.mobile===!0){n.delete("desktop"),n.add("mobile"),n.delete("platform-ios"),n.delete("platform-android");const s=Si(e);s!==void 0&&n.add(`platform-${s}`)}}Be.has.touch===!0&&(n.delete("no-touch"),n.add("touch")),Be.within.iframe===!0&&n.add("within-iframe");const r=Array.from(n).join(" ");t!==r&&(document.body.className=r)}function Pa(e){for(const t in e)Ea(t,e[t])}var Aa={install(e){if(this.__installed!==!0){if(wt.value===!0)Ra();else{const{$q:t}=e;t.config.brand!==void 0&&Pa(t.config.brand);const n=Sa(Be,t.config);document.body.classList.add.apply(document.body.classList,n)}Be.is.ios===!0&&document.body.addEventListener("touchstart",Xt),window.addEventListener("keydown",xa,!0)}}};const Ri=()=>!0;function Ta(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function Oa(e){return e.startsWith("#")===!0&&(e=e.substring(1)),e.startsWith("/")===!1&&(e="/"+e),e.endsWith("/")===!0&&(e=e.substring(0,e.length-1)),"#"+e}function La(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Ri;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(Ta).map(Oa)),()=>t.includes(window.location.hash)}var Ma={__history:[],add:Xt,remove:Xt,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:n}=Be.is;if(t!==!0&&n!==!0)return;const r=e.config[t===!0?"cordova":"capacitor"];if(r!==void 0&&r.backButton===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=i=>{i.condition===void 0&&(i.condition=Ri),this.__history.push(i)},this.remove=i=>{const c=this.__history.indexOf(i);c>=0&&this.__history.splice(c,1)};const s=La(Object.assign({backButtonExit:!0},r)),o=()=>{if(this.__history.length){const i=this.__history[this.__history.length-1];i.condition()===!0&&(this.__history.pop(),i.handler())}else s()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",o,!1)}):window.Capacitor.Plugins.App.addListener("backButton",o)}},Bs={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function Vs(){const e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,n)=>n===0?t.toLowerCase():n>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}const rt=Hn({__qLang:{}},{getLocale:Vs,set(e=Bs,t){const n={...e,rtl:e.rtl===!0,getLocale:Vs};{if(n.set=rt.set,rt.__langConfig===void 0||rt.__langConfig.noHtmlAttrs!==!0){const r=document.documentElement;r.setAttribute("dir",n.rtl===!0?"rtl":"ltr"),r.setAttribute("lang",n.isoName)}Object.assign(rt.__qLang,n)}},install({$q:e,lang:t,ssrContext:n}){e.lang=rt.__qLang,rt.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(r){return Reflect.ownKeys(r).filter(s=>s!=="set"&&s!=="getLocale")}}),this.set(t||Bs))}});var Ia={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}};const xn=Hn({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};n.set=xn.set,Object.assign(xn.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,jn(e,"iconMapFn",()=>this.iconMapFn,r=>{this.iconMapFn=r}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(r){return Reflect.ownKeys(r).filter(s=>s!=="set")}}),this.set(t||Ia))}}),ka="_q_",yf="_q_l_",vf="_q_pc_",bf="_q_fo_";function wf(){}const Us={};let Pi=!1;function Fa(){Pi=!0}function er(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,r;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(er(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let o=e.entries();for(r=o.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=o.next()}for(o=e.entries(),r=o.next();r.done!==!0;){if(er(r.value[1],t.get(r.value[0]))!==!0)return!1;r=o.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const o=e.entries();for(r=o.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=o.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const s=Object.keys(e).filter(o=>e[o]!==void 0);if(n=s.length,n!==Object.keys(t).filter(o=>t[o]!==void 0).length)return!1;for(r=n;r--!==0;){const o=s[r];if(er(e[o],t[o])!==!0)return!1}return!0}return e!==e&&t!==t}function Ks(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function Ef(e){return Object.prototype.toString.call(e)==="[object Date]"}function xf(e){return typeof e=="number"&&isFinite(e)}const zs=[wr,Aa,ge,wa,Ma,rt,xn];function qs(e,t){t.forEach(n=>{n.install(e),n.__installed=!0})}function Na(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(ka,n.$q),qs(n,zs),t.components!==void 0&&Object.values(t.components).forEach(r=>{Ks(r)===!0&&r.name!==void 0&&e.component(r.name,r)}),t.directives!==void 0&&Object.values(t.directives).forEach(r=>{Ks(r)===!0&&r.name!==void 0&&e.directive(r.name,r)}),t.plugins!==void 0&&qs(n,Object.values(t.plugins).filter(r=>typeof r.install=="function"&&zs.includes(r)===!1)),wt.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(r=>{r()}),n.$q.onSSRHydrated=()=>{}})}var $a=function(e,t={}){const n={version:"2.16.6"};Pi===!1?(t.config!==void 0&&Object.assign(Us,t.config),n.config={...Us},Fa()):n.config=t.config||{},Na(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},ja={name:"Quasar",version:"2.16.6",install:$a,lang:rt,iconSet:xn},Ha=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const Da={};function Ba(e,t){const n=$l("router-view");return pi(),mi(n)}var Va=Ha(Da,[["render",Ba]]);/*! +**/const Dc="http://www.w3.org/2000/svg",Bc="http://www.w3.org/1998/Math/MathML",ze=typeof document!="undefined"?document:null,Cs=ze&&ze.createElement("template"),Vc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?ze.createElementNS(Dc,e):t==="mathml"?ze.createElementNS(Bc,e):n?ze.createElement(e,{is:n}):ze.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>ze.createTextNode(e),createComment:e=>ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ze.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Cs.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const c=Cs.content;if(r==="svg"||r==="mathml"){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ye="transition",Ft="animation",Yt=Symbol("_vtc"),wi=(e,{slots:t})=>zr(bc,Uc(e),t);wi.displayName="Transition";const Ei={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};wi.props=ue({},ai,Ei);const gt=(e,t=[])=>{j(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ss=e=>e?j(e)?e.some(t=>t.length>1):e.length>1:!1;function Uc(e){const t={};for(const L in e)L in Ei||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:h=c,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,x=Kc(s),P=x&&x[0],D=x&&x[1],{onBeforeEnter:$,onEnter:k,onEnterCancelled:O,onLeave:U,onLeaveCancelled:G,onBeforeAppear:M=$,onAppear:K=k,onAppearCancelled:re=O}=t,H=(L,Y,fe)=>{mt(L,Y?h:c),mt(L,Y?u:i),fe&&fe()},q=(L,Y)=>{L._isLeaving=!1,mt(L,d),mt(L,g),mt(L,p),Y&&Y()},Q=L=>(Y,fe)=>{const Te=L?K:k,ce=()=>H(Y,L,fe);gt(Te,[Y,ce]),Rs(()=>{mt(Y,L?l:o),Xe(Y,L?h:c),Ss(Te)||Ps(Y,r,P,ce)})};return ue(t,{onBeforeEnter(L){gt($,[L]),Xe(L,o),Xe(L,i)},onBeforeAppear(L){gt(M,[L]),Xe(L,l),Xe(L,u)},onEnter:Q(!1),onAppear:Q(!0),onLeave(L,Y){L._isLeaving=!0;const fe=()=>q(L,Y);Xe(L,d),Xe(L,p),Wc(),Rs(()=>{!L._isLeaving||(mt(L,d),Xe(L,g),Ss(U)||Ps(L,r,D,fe))}),gt(U,[L,fe])},onEnterCancelled(L){H(L,!1),gt(O,[L])},onAppearCancelled(L){H(L,!0),gt(re,[L])},onLeaveCancelled(L){q(L),gt(G,[L])}})}function Kc(e){if(e==null)return null;if(ie(e))return[Jn(e.enter),Jn(e.leave)];{const t=Jn(e);return[t,t]}}function Jn(e){return qi(e)}function Xe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Yt]||(e[Yt]=new Set)).add(t)}function mt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Yt];n&&(n.delete(t),n.size||(e[Yt]=void 0))}function Rs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let zc=0;function Ps(e,t,n,r){const s=e._endId=++zc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:c,propCount:l}=qc(e,t);if(!i)return r();const u=i+"end";let h=0;const d=()=>{e.removeEventListener(u,p),o()},p=g=>{g.target===e&&++h>=l&&d()};setTimeout(()=>{h(n[x]||"").split(", "),s=r(`${Ye}Delay`),o=r(`${Ye}Duration`),i=As(s,o),c=r(`${Ft}Delay`),l=r(`${Ft}Duration`),u=As(c,l);let h=null,d=0,p=0;t===Ye?i>0&&(h=Ye,d=i,p=o.length):t===Ft?u>0&&(h=Ft,d=u,p=l.length):(d=Math.max(i,u),h=d>0?i>u?Ye:Ft:null,p=h?h===Ye?o.length:l.length:0);const g=h===Ye&&/\b(transform|all)(,|$)/.test(r(`${Ye}Property`).toString());return{type:h,timeout:d,propCount:p,hasTransform:g}}function As(e,t){for(;e.lengthTs(n)+Ts(e[r])))}function Ts(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Wc(){return document.body.offsetHeight}function Gc(e,t,n){const r=e[Yt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Os=Symbol("_vod"),Qc=Symbol("_vsh"),Jc=Symbol(""),Yc=/(^|;)\s*display\s*:/;function Xc(e,t,n){const r=e.style,s=ae(n);let o=!1;if(n&&!s){if(t)if(ae(t))for(const i of t.split(";")){const c=i.slice(0,i.indexOf(":")).trim();n[c]==null&&yn(r,c,"")}else for(const i in t)n[i]==null&&yn(r,i,"");for(const i in n)i==="display"&&(o=!0),yn(r,i,n[i])}else if(s){if(t!==n){const i=r[Jc];i&&(n+=";"+i),r.cssText=n,o=Yc.test(n)}}else t&&e.removeAttribute("style");Os in e&&(e[Os]=o?r.display:"",e[Qc]&&(r.display="none"))}const Ls=/\s*!important$/;function yn(e,t,n){if(j(n))n.forEach(r=>yn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Zc(e,t);Ls.test(n)?e.setProperty(Mt(r),n.replace(Ls,""),"important"):e[r]=n}}const Ms=["Webkit","Moz","ms"],Yn={};function Zc(e,t){const n=Yn[t];if(n)return n;let r=Ve(t);if(r!=="filter"&&r in e)return Yn[t]=r;r=An(r);for(let s=0;sXn||(oa.then(()=>Xn=0),Xn=Date.now());function la(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ae(ca(r,n.value),t,5,[r])};return n.value=e,n.attached=ia(),n}function ca(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const $s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,aa=(e,t,n,r,s,o,i,c,l)=>{const u=s==="svg";t==="class"?Gc(e,r,u):t==="style"?Xc(e,n,r):Sn(t)?Rr(t)||ra(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ua(e,t,r,u))?(ea(e,t,r,o,i,c,l),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ks(e,t,r,u,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ks(e,t,r,u))};function ua(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&$s(t)&&V(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return $s(t)&&ae(n)?!1:t in e}const fa=ue({patchProp:aa},Vc);let js;function da(){return js||(js=cc(fa))}const ha=(...e)=>{const t=da().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=ga(r);if(!s)return;const o=t._component;!V(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,pa(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function pa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ga(e){return ae(e)?document.querySelector(e):e}function Hn(e,t,n,r){return Object.defineProperty(e,t,{get:n,set:r,enumerable:!0}),e}function cf(e,t){for(const n in t)Hn(e,n,t[n]);return e}const wt=No(!1);let br;function ma(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[4]||n[2]||"0",platform:t[0]||""}}function _a(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const xi="ontouchstart"in window||window.navigator.maxTouchPoints>0;function ya(e){const t=e.toLowerCase(),n=_a(t),r=ma(t,n),s={};r.browser&&(s[r.browser]=!0,s.version=r.version,s.versionNumber=parseInt(r.version,10)),r.platform&&(s[r.platform]=!0);const o=s.android||s.ios||s.bb||s.blackberry||s.ipad||s.iphone||s.ipod||s.kindle||s.playbook||s.silk||s["windows phone"];if(o===!0||t.indexOf("mobile")!==-1?s.mobile=!0:s.desktop=!0,s["windows phone"]&&(s.winphone=!0,delete s["windows phone"]),s.edga||s.edgios||s.edg?(s.edge=!0,r.browser="edge"):s.crios?(s.chrome=!0,r.browser="chrome"):s.fxios&&(s.firefox=!0,r.browser="firefox"),(s.ipod||s.ipad||s.iphone)&&(s.ios=!0),s.vivaldi&&(r.browser="vivaldi",s.vivaldi=!0),(s.chrome||s.opr||s.safari||s.vivaldi||s.mobile===!0&&s.ios!==!0&&o!==!0)&&(s.webkit=!0),s.opr&&(r.browser="opera",s.opera=!0),s.safari&&(s.blackberry||s.bb?(r.browser="blackberry",s.blackberry=!0):s.playbook?(r.browser="playbook",s.playbook=!0):s.android?(r.browser="android",s.android=!0):s.kindle?(r.browser="kindle",s.kindle=!0):s.silk&&(r.browser="silk",s.silk=!0)),s.name=r.browser,s.platform=r.platform,t.indexOf("electron")!==-1)s.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)s.bex=!0;else{if(window.Capacitor!==void 0?(s.capacitor=!0,s.nativeMobile=!0,s.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(s.cordova=!0,s.nativeMobile=!0,s.nativeMobileWrapper="cordova"),wt.value===!0&&(br={is:{...s}}),xi===!0&&s.mac===!0&&(s.desktop===!0&&s.safari===!0||s.nativeMobile===!0&&s.android!==!0&&s.ios!==!0&&s.ipad!==!0)){delete s.mac,delete s.desktop;const i=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(s,{mobile:!0,ios:!0,platform:i,[i]:!0})}s.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete s.desktop,s.mobile=!0)}return s}const Hs=navigator.userAgent||navigator.vendor||window.opera,va={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Be={userAgent:Hs,is:ya(Hs),has:{touch:xi},within:{iframe:window.self!==window.top}},wr={install(e){const{$q:t}=e;wt.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Be),wt.value=!1}),t.platform=It(this)):t.platform=this}};{let e;Hn(Be.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(wr,Be),wt.value===!0&&(Object.assign(wr,br,va),br=null)}function af(e){return On(Dr(e))}function uf(e){return On(e)}const Dn=(e,t)=>{const n=It(e);for(const r in e)Hn(t,r,()=>n[r],s=>{n[r]=s});return t},Bn={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(Bn,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function Xt(){}function ff(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function df(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),n.tagName==="HTML")return t.push(document),t.push(window),t;n=n.parentElement}}function hf(e){e.stopPropagation()}function pf(e){e.cancelable!==!1&&e.preventDefault()}function gf(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function mf(e,t,n){const r=`__q_${t}_evt`;e[r]=e[r]!==void 0?e[r].concat(n):n,n.forEach(s=>{s[0].addEventListener(s[1],e[s[2]],Bn[s[3]])})}function _f(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(r=>{r[0].removeEventListener(r[1],e[r[2]],Bn[r[3]])}),e[n]=void 0)}function ba(e,t=250,n){let r=null;function s(){const o=arguments,i=()=>{r=null,n!==!0&&e.apply(this,o)};r!==null?clearTimeout(r):n===!0&&e.apply(this,o),r=setTimeout(i,t)}return s.cancel=()=>{r!==null&&clearTimeout(r)},s}const Zn=["sm","md","lg","xl"],{passive:Ds}=Bn;var wa=Dn({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:Xt,setDebounce:Xt,install({$q:e,onSSRHydrated:t}){if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:n}=window,r=n||window,s=document.scrollingElement||document.documentElement,o=n===void 0||Be.is.mobile===!0?()=>[Math.max(window.innerWidth,s.clientWidth),Math.max(window.innerHeight,s.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-s.clientWidth,n.height*n.scale+window.innerHeight-s.clientHeight],i=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=d=>{const[p,g]=o();if(g!==this.height&&(this.height=g),p!==this.width)this.width=p;else if(d!==!0)return;let x=this.sizes;this.gt.xs=p>=x.sm,this.gt.sm=p>=x.md,this.gt.md=p>=x.lg,this.gt.lg=p>=x.xl,this.lt.sm=p{Zn.forEach(p=>{d[p]!==void 0&&(l[p]=d[p])})},this.setDebounce=d=>{u=d};const h=()=>{const d=getComputedStyle(document.body);d.getPropertyValue("--q-size-sm")&&Zn.forEach(p=>{this.sizes[p]=parseInt(d.getPropertyValue(`--q-size-${p}`),10)}),this.setSizes=p=>{Zn.forEach(g=>{p[g]&&(this.sizes[g]=p[g])}),this.__update(!0)},this.setDebounce=p=>{c!==void 0&&r.removeEventListener("resize",c,Ds),c=p>0?ba(this.__update,p):this.__update,r.addEventListener("resize",c,Ds)},this.setDebounce(u),Object.keys(l).length!==0?(this.setSizes(l),l=void 0):this.__update(),i===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};wt.value===!0?t.push(h):h()}});const ge=Dn({isActive:!1,mode:!1},{__media:void 0,set(e){ge.mode=e,e==="auto"?(ge.__media===void 0&&(ge.__media=window.matchMedia("(prefers-color-scheme: dark)"),ge.__updateMedia=()=>{ge.set("auto")},ge.__media.addListener(ge.__updateMedia)),e=ge.__media.matches):ge.__media!==void 0&&(ge.__media.removeListener(ge.__updateMedia),ge.__media=void 0),ge.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){ge.set(ge.isActive===!1)},install({$q:e,ssrContext:t}){const{dark:n}=e.config;e.dark=this,this.__installed!==!0&&this.set(n!==void 0?n:!1)}});function Ea(e,t,n=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}let Ci=!1;function xa(e){Ci=e.isComposing===!0}function Ca(e){return Ci===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function yf(e,t){return Ca(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Si(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function Sa({is:e,has:t,within:n},r){const s=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const o=Si(e);o!==void 0&&s.push("platform-"+o)}if(e.nativeMobile===!0){const o=e.nativeMobileWrapper;s.push(o),s.push("native-mobile"),e.ios===!0&&(r[o]===void 0||r[o].iosStatusBarPadding!==!1)&&s.push("q-ios-padding")}else e.electron===!0?s.push("electron"):e.bex===!0&&s.push("bex");return n.iframe===!0&&s.push("within-iframe"),s}function Ra(){const{is:e}=Be,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(e.mobile===!0){n.delete("desktop"),n.add("mobile"),n.delete("platform-ios"),n.delete("platform-android");const s=Si(e);s!==void 0&&n.add(`platform-${s}`)}}Be.has.touch===!0&&(n.delete("no-touch"),n.add("touch")),Be.within.iframe===!0&&n.add("within-iframe");const r=Array.from(n).join(" ");t!==r&&(document.body.className=r)}function Pa(e){for(const t in e)Ea(t,e[t])}var Aa={install(e){if(this.__installed!==!0){if(wt.value===!0)Ra();else{const{$q:t}=e;t.config.brand!==void 0&&Pa(t.config.brand);const n=Sa(Be,t.config);document.body.classList.add.apply(document.body.classList,n)}Be.is.ios===!0&&document.body.addEventListener("touchstart",Xt),window.addEventListener("keydown",xa,!0)}}};const Ri=()=>!0;function Ta(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function Oa(e){return e.startsWith("#")===!0&&(e=e.substring(1)),e.startsWith("/")===!1&&(e="/"+e),e.endsWith("/")===!0&&(e=e.substring(0,e.length-1)),"#"+e}function La(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Ri;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(Ta).map(Oa)),()=>t.includes(window.location.hash)}var Ma={__history:[],add:Xt,remove:Xt,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:n}=Be.is;if(t!==!0&&n!==!0)return;const r=e.config[t===!0?"cordova":"capacitor"];if(r!==void 0&&r.backButton===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=i=>{i.condition===void 0&&(i.condition=Ri),this.__history.push(i)},this.remove=i=>{const c=this.__history.indexOf(i);c>=0&&this.__history.splice(c,1)};const s=La(Object.assign({backButtonExit:!0},r)),o=()=>{if(this.__history.length){const i=this.__history[this.__history.length-1];i.condition()===!0&&(this.__history.pop(),i.handler())}else s()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",o,!1)}):window.Capacitor.Plugins.App.addListener("backButton",o)}},Bs={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function Vs(){const e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,n)=>n===0?t.toLowerCase():n>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}const rt=Dn({__qLang:{}},{getLocale:Vs,set(e=Bs,t){const n={...e,rtl:e.rtl===!0,getLocale:Vs};{if(n.set=rt.set,rt.__langConfig===void 0||rt.__langConfig.noHtmlAttrs!==!0){const r=document.documentElement;r.setAttribute("dir",n.rtl===!0?"rtl":"ltr"),r.setAttribute("lang",n.isoName)}Object.assign(rt.__qLang,n)}},install({$q:e,lang:t,ssrContext:n}){e.lang=rt.__qLang,rt.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(r){return Reflect.ownKeys(r).filter(s=>s!=="set"&&s!=="getLocale")}}),this.set(t||Bs))}});var Ia={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}};const Cn=Dn({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};n.set=Cn.set,Object.assign(Cn.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,Hn(e,"iconMapFn",()=>this.iconMapFn,r=>{this.iconMapFn=r}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(r){return Reflect.ownKeys(r).filter(s=>s!=="set")}}),this.set(t||Ia))}}),ka="_q_",vf="_q_l_",bf="_q_pc_",wf="_q_fo_";function Ef(){}const Us={};let Pi=!1;function Fa(){Pi=!0}function er(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,r;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(er(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let o=e.entries();for(r=o.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=o.next()}for(o=e.entries(),r=o.next();r.done!==!0;){if(er(r.value[1],t.get(r.value[0]))!==!0)return!1;r=o.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const o=e.entries();for(r=o.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=o.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const s=Object.keys(e).filter(o=>e[o]!==void 0);if(n=s.length,n!==Object.keys(t).filter(o=>t[o]!==void 0).length)return!1;for(r=n;r--!==0;){const o=s[r];if(er(e[o],t[o])!==!0)return!1}return!0}return e!==e&&t!==t}function Ks(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function xf(e){return Object.prototype.toString.call(e)==="[object Date]"}function Cf(e){return typeof e=="number"&&isFinite(e)}const zs=[wr,Aa,ge,wa,Ma,rt,Cn];function qs(e,t){t.forEach(n=>{n.install(e),n.__installed=!0})}function Na(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(ka,n.$q),qs(n,zs),t.components!==void 0&&Object.values(t.components).forEach(r=>{Ks(r)===!0&&r.name!==void 0&&e.component(r.name,r)}),t.directives!==void 0&&Object.values(t.directives).forEach(r=>{Ks(r)===!0&&r.name!==void 0&&e.directive(r.name,r)}),t.plugins!==void 0&&qs(n,Object.values(t.plugins).filter(r=>typeof r.install=="function"&&zs.includes(r)===!1)),wt.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(r=>{r()}),n.$q.onSSRHydrated=()=>{}})}var $a=function(e,t={}){const n={version:"2.16.6"};Pi===!1?(t.config!==void 0&&Object.assign(Us,t.config),n.config={...Us},Fa()):n.config=t.config||{},Na(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},ja={name:"Quasar",version:"2.16.6",install:$a,lang:rt,iconSet:Cn},Ha=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const Da={};function Ba(e,t){const n=$l("router-view");return pi(),mi(n)}var Va=Ha(Da,[["render",Ba]]);/*! * vue-router v4.4.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const St=typeof document!="undefined";function Ua(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const te=Object.assign;function tr(e,t){const n={};for(const r in t){const s=t[r];n[r]=ke(s)?s.map(e):e(s)}return n}const Kt=()=>{},ke=Array.isArray,Ai=/#/g,Ka=/&/g,za=/\//g,qa=/=/g,Wa=/\?/g,Ti=/\+/g,Ga=/%5B/g,Qa=/%5D/g,Oi=/%5E/g,Ja=/%60/g,Li=/%7B/g,Ya=/%7C/g,Mi=/%7D/g,Xa=/%20/g;function qr(e){return encodeURI(""+e).replace(Ya,"|").replace(Ga,"[").replace(Qa,"]")}function Za(e){return qr(e).replace(Li,"{").replace(Mi,"}").replace(Oi,"^")}function Er(e){return qr(e).replace(Ti,"%2B").replace(Xa,"+").replace(Ai,"%23").replace(Ka,"%26").replace(Ja,"`").replace(Li,"{").replace(Mi,"}").replace(Oi,"^")}function eu(e){return Er(e).replace(qa,"%3D")}function tu(e){return qr(e).replace(Ai,"%23").replace(Wa,"%3F")}function nu(e){return e==null?"":tu(e).replace(za,"%2F")}function Zt(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ru=/\/$/,su=e=>e.replace(ru,"");function nr(e,t,n="/"){let r,s={},o="",i="";const c=t.indexOf("#");let l=t.indexOf("?");return c=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,c>-1?c:t.length),s=e(o)),c>-1&&(r=r||t.slice(0,c),i=t.slice(c,t.length)),r=cu(r!=null?r:t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:Zt(i)}}function ou(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ws(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function iu(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Ot(t.matched[r],n.matched[s])&&Ii(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ot(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ii(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!lu(e[n],t[n]))return!1;return!0}function lu(e,t){return ke(e)?Gs(e,t):ke(t)?Gs(t,e):e===t}function Gs(e,t){return ke(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function cu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,c;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Ze={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var en;(function(e){e.pop="pop",e.push="push"})(en||(en={}));var zt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(zt||(zt={}));function au(e){if(!e)if(St){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),su(e)}const uu=/^[^#]+#/;function fu(e,t){return e.replace(uu,"#")+t}function du(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Bn=()=>({left:window.scrollX,top:window.scrollY});function hu(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=du(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Qs(e,t){return(history.state?history.state.position-t:-1)+e}const xr=new Map;function pu(e,t){xr.set(e,t)}function gu(e){const t=xr.get(e);return xr.delete(e),t}let mu=()=>location.protocol+"//"+location.host;function ki(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let c=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(c);return l[0]!=="/"&&(l="/"+l),Ws(l,"")}return Ws(n,e)+r+s}function _u(e,t,n,r){let s=[],o=[],i=null;const c=({state:p})=>{const g=ki(e,location),x=n.value,P=t.value;let D=0;if(p){if(n.value=g,t.value=p,i&&i===x){i=null;return}D=P?p.position-P.position:0}else r(g);s.forEach($=>{$(n.value,x,{delta:D,type:en.pop,direction:D?D>0?zt.forward:zt.back:zt.unknown})})};function l(){i=n.value}function u(p){s.push(p);const g=()=>{const x=s.indexOf(p);x>-1&&s.splice(x,1)};return o.push(g),g}function h(){const{history:p}=window;!p.state||p.replaceState(te({},p.state,{scroll:Bn()}),"")}function d(){for(const p of o)p();o=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",h)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",h,{passive:!0}),{pauseListeners:l,listen:u,destroy:d}}function Js(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Bn():null}}function yu(e){const{history:t,location:n}=window,r={value:ki(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,h){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:mu()+e+l;try{t[h?"replaceState":"pushState"](u,"",p),s.value=u}catch(g){console.error(g),n[h?"replace":"assign"](p)}}function i(l,u){const h=te({},t.state,Js(s.value.back,l,s.value.forward,!0),u,{position:s.value.position});o(l,h,!0),r.value=l}function c(l,u){const h=te({},s.value,t.state,{forward:l,scroll:Bn()});o(h.current,h,!0);const d=te({},Js(r.value,l,null),{position:h.position+1},u);o(l,d,!1),r.value=l}return{location:r,state:s,push:c,replace:i}}function vu(e){e=au(e);const t=yu(e),n=_u(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=te({location:"",base:e,go:r,createHref:fu.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function bu(e){return typeof e=="string"||e&&typeof e=="object"}function Fi(e){return typeof e=="string"||typeof e=="symbol"}const Ni=Symbol("");var Ys;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ys||(Ys={}));function Lt(e,t){return te(new Error,{type:e,[Ni]:!0},t)}function Ke(e,t){return e instanceof Error&&Ni in e&&(t==null||!!(e.type&t))}const Xs="[^/]+?",wu={sensitive:!1,strict:!1,start:!0,end:!0},Eu=/[.+*?^${}()[\]/\\]/g;function xu(e,t){const n=te({},wu,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const h=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function $i(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Su={type:0,value:""},Ru=/[a-zA-Z0-9_]/;function Pu(e){if(!e)return[[]];if(e==="/")return[[Su]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let c=0,l,u="",h="";function d(){!u||(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:h,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=l}for(;c{i(O)}:Kt}function i(d){if(Fi(d)){const p=r.get(d);p&&(r.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function c(){return n}function l(d){const p=Iu(d,n);n.splice(p,0,d),d.record.name&&!to(d)&&r.set(d.record.name,d)}function u(d,p){let g,x={},P,D;if("name"in d&&d.name){if(g=r.get(d.name),!g)throw Lt(1,{location:d});D=g.record.name,x=te(eo(p.params,g.keys.filter(O=>!O.optional).concat(g.parent?g.parent.keys.filter(O=>O.optional):[]).map(O=>O.name)),d.params&&eo(d.params,g.keys.map(O=>O.name))),P=g.stringify(x)}else if(d.path!=null)P=d.path,g=n.find(O=>O.re.test(P)),g&&(x=g.parse(P),D=g.record.name);else{if(g=p.name?r.get(p.name):n.find(O=>O.re.test(p.path)),!g)throw Lt(1,{location:d,currentLocation:p});D=g.record.name,x=te({},p.params,d.params),P=g.stringify(x)}const $=[];let k=g;for(;k;)$.unshift(k.record),k=k.parent;return{name:D,path:P,params:x,matched:$,meta:Mu($)}}e.forEach(d=>o(d));function h(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:h,getRoutes:c,getRecordMatcher:s}}function eo(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ou(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Lu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Lu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function to(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Mu(e){return e.reduce((t,n)=>te(t,n.meta),{})}function no(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Iu(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;$i(e,t[o])<0?r=o:n=o+1}const s=ku(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function ku(e){let t=e;for(;t=t.parent;)if(ji(t)&&$i(e,t)===0)return t}function ji({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Fu(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Er(o)):[r&&Er(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Nu(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ke(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const $u=Symbol(""),so=Symbol(""),Wr=Symbol(""),Hi=Symbol(""),Cr=Symbol("");function Nt(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function st(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((c,l)=>{const u=p=>{p===!1?l(Lt(4,{from:n,to:t})):p instanceof Error?l(p):bu(p)?l(Lt(2,{from:t,to:p})):(i&&r.enterCallbacks[s]===i&&typeof p=="function"&&i.push(p),c())},h=o(()=>e.call(r&&r.instances[s],t,n,u));let d=Promise.resolve(h);e.length<3&&(d=d.then(u)),d.catch(p=>l(p))})}function rr(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const c in i.components){let l=i.components[c];if(!(t!=="beforeRouteEnter"&&!i.instances[c]))if(ju(l)){const h=(l.__vccOpts||l)[t];h&&o.push(st(h,n,r,i,c,s))}else{let u=l();o.push(()=>u.then(h=>{if(!h)return Promise.reject(new Error(`Couldn't resolve component "${c}" at "${i.path}"`));const d=Ua(h)?h.default:h;i.components[c]=d;const g=(d.__vccOpts||d)[t];return g&&st(g,n,r,i,c,s)()}))}}return o}function ju(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function oo(e){const t=We(Wr),n=We(Hi),r=Me(()=>{const l=At(e.to);return t.resolve(l)}),s=Me(()=>{const{matched:l}=r.value,{length:u}=l,h=l[u-1],d=n.matched;if(!h||!d.length)return-1;const p=d.findIndex(Ot.bind(null,h));if(p>-1)return p;const g=io(l[u-2]);return u>1&&io(h)===g&&d[d.length-1].path!==g?d.findIndex(Ot.bind(null,l[u-2])):p}),o=Me(()=>s.value>-1&&Vu(n.params,r.value.params)),i=Me(()=>s.value>-1&&s.value===n.matched.length-1&&Ii(n.params,r.value.params));function c(l={}){return Bu(l)?t[At(e.replace)?"replace":"push"](At(e.to)).catch(Kt):Promise.resolve()}return{route:r,href:Me(()=>r.value.href),isActive:o,isExactActive:i,navigate:c}}const Hu=Dr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:oo,setup(e,{slots:t}){const n=It(oo(e)),{options:r}=We(Wr),s=Me(()=>({[lo(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[lo(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:zr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Du=Hu;function Bu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Vu(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!ke(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function io(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const lo=(e,t,n)=>e!=null?e:t!=null?t:n,Uu=Dr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=We(Cr),s=Me(()=>e.route||r.value),o=We(so,0),i=Me(()=>{let u=At(o);const{matched:h}=s.value;let d;for(;(d=h[u])&&!d.components;)u++;return u}),c=Me(()=>s.value.matched[i.value]);pn(so,Me(()=>i.value+1)),pn($u,c),pn(Cr,s);const l=No();return gn(()=>[l.value,c.value,e.name],([u,h,d],[p,g,x])=>{h&&(h.instances[d]=u,g&&g!==h&&u&&u===p&&(h.leaveGuards.size||(h.leaveGuards=g.leaveGuards),h.updateGuards.size||(h.updateGuards=g.updateGuards))),u&&h&&(!g||!Ot(h,g)||!p)&&(h.enterCallbacks[d]||[]).forEach(P=>P(u))},{flush:"post"}),()=>{const u=s.value,h=e.name,d=c.value,p=d&&d.components[h];if(!p)return co(n.default,{Component:p,route:u});const g=d.props[h],x=g?g===!0?u.params:typeof g=="function"?g(u):g:null,D=zr(p,te({},x,t,{onVnodeUnmounted:$=>{$.component.isUnmounted&&(d.instances[h]=null)},ref:l}));return co(n.default,{Component:D,route:u})||D}}});function co(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ku=Uu;function zu(e){const t=Tu(e.routes,e),n=e.parseQuery||Fu,r=e.stringifyQuery||ro,s=e.history,o=Nt(),i=Nt(),c=Nt(),l=xl(Ze);let u=Ze;St&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const h=tr.bind(null,y=>""+y),d=tr.bind(null,nu),p=tr.bind(null,Zt);function g(y,A){let R,I;return Fi(y)?(R=t.getRecordMatcher(y),I=A):I=y,t.addRoute(I,R)}function x(y){const A=t.getRecordMatcher(y);A&&t.removeRoute(A)}function P(){return t.getRoutes().map(y=>y.record)}function D(y){return!!t.getRecordMatcher(y)}function $(y,A){if(A=te({},A||l.value),typeof y=="string"){const f=nr(n,y,A.path),m=t.resolve({path:f.path},A),v=s.createHref(f.fullPath);return te(f,m,{params:p(m.params),hash:Zt(f.hash),redirectedFrom:void 0,href:v})}let R;if(y.path!=null)R=te({},y,{path:nr(n,y.path,A.path).path});else{const f=te({},y.params);for(const m in f)f[m]==null&&delete f[m];R=te({},y,{params:d(f)}),A.params=d(A.params)}const I=t.resolve(R,A),Z=y.hash||"";I.params=h(p(I.params));const le=ou(r,te({},y,{hash:Za(Z),path:I.path})),a=s.createHref(le);return te({fullPath:le,hash:Z,query:r===ro?Nu(y.query):y.query||{}},I,{redirectedFrom:void 0,href:a})}function k(y){return typeof y=="string"?nr(n,y,l.value.path):te({},y)}function O(y,A){if(u!==y)return Lt(8,{from:A,to:y})}function U(y){return K(y)}function G(y){return U(te(k(y),{replace:!0}))}function M(y){const A=y.matched[y.matched.length-1];if(A&&A.redirect){const{redirect:R}=A;let I=typeof R=="function"?R(y):R;return typeof I=="string"&&(I=I.includes("?")||I.includes("#")?I=k(I):{path:I},I.params={}),te({query:y.query,hash:y.hash,params:I.path!=null?{}:y.params},I)}}function K(y,A){const R=u=$(y),I=l.value,Z=y.state,le=y.force,a=y.replace===!0,f=M(R);if(f)return K(te(k(f),{state:typeof f=="object"?te({},Z,f.state):Z,force:le,replace:a}),A||R);const m=R;m.redirectedFrom=A;let v;return!le&&iu(r,I,R)&&(v=Lt(16,{to:m,from:I}),Fe(I,I,!0,!1)),(v?Promise.resolve(v):q(m,I)).catch(_=>Ke(_)?Ke(_,2)?_:Qe(_):X(_,m,I)).then(_=>{if(_){if(Ke(_,2))return K(te({replace:a},k(_.to),{state:typeof _.to=="object"?te({},Z,_.to.state):Z,force:le}),A||m)}else _=L(m,I,!0,a,Z);return Q(m,I,_),_})}function re(y,A){const R=O(y,A);return R?Promise.reject(R):Promise.resolve()}function H(y){const A=xt.values().next().value;return A&&typeof A.runWithContext=="function"?A.runWithContext(y):y()}function q(y,A){let R;const[I,Z,le]=qu(y,A);R=rr(I.reverse(),"beforeRouteLeave",y,A);for(const f of I)f.leaveGuards.forEach(m=>{R.push(st(m,y,A))});const a=re.bind(null,y,A);return R.push(a),pe(R).then(()=>{R=[];for(const f of o.list())R.push(st(f,y,A));return R.push(a),pe(R)}).then(()=>{R=rr(Z,"beforeRouteUpdate",y,A);for(const f of Z)f.updateGuards.forEach(m=>{R.push(st(m,y,A))});return R.push(a),pe(R)}).then(()=>{R=[];for(const f of le)if(f.beforeEnter)if(ke(f.beforeEnter))for(const m of f.beforeEnter)R.push(st(m,y,A));else R.push(st(f.beforeEnter,y,A));return R.push(a),pe(R)}).then(()=>(y.matched.forEach(f=>f.enterCallbacks={}),R=rr(le,"beforeRouteEnter",y,A,H),R.push(a),pe(R))).then(()=>{R=[];for(const f of i.list())R.push(st(f,y,A));return R.push(a),pe(R)}).catch(f=>Ke(f,8)?f:Promise.reject(f))}function Q(y,A,R){c.list().forEach(I=>H(()=>I(y,A,R)))}function L(y,A,R,I,Z){const le=O(y,A);if(le)return le;const a=A===Ze,f=St?history.state:{};R&&(I||a?s.replace(y.fullPath,te({scroll:a&&f&&f.scroll},Z)):s.push(y.fullPath,Z)),l.value=y,Fe(y,A,R,a),Qe()}let Y;function fe(){Y||(Y=s.listen((y,A,R)=>{if(!nn.listening)return;const I=$(y),Z=M(I);if(Z){K(te(Z,{replace:!0}),I).catch(Kt);return}u=I;const le=l.value;St&&pu(Qs(le.fullPath,R.delta),Bn()),q(I,le).catch(a=>Ke(a,12)?a:Ke(a,2)?(K(a.to,I).then(f=>{Ke(f,20)&&!R.delta&&R.type===en.pop&&s.go(-1,!1)}).catch(Kt),Promise.reject()):(R.delta&&s.go(-R.delta,!1),X(a,I,le))).then(a=>{a=a||L(I,le,!1),a&&(R.delta&&!Ke(a,8)?s.go(-R.delta,!1):R.type===en.pop&&Ke(a,20)&&s.go(-1,!1)),Q(I,le,a)}).catch(Kt)}))}let Te=Nt(),ce=Nt(),ne;function X(y,A,R){Qe(y);const I=ce.list();return I.length?I.forEach(Z=>Z(y,A,R)):console.error(y),Promise.reject(y)}function Ue(){return ne&&l.value!==Ze?Promise.resolve():new Promise((y,A)=>{Te.add([y,A])})}function Qe(y){return ne||(ne=!y,fe(),Te.list().forEach(([A,R])=>y?R(y):A()),Te.reset()),y}function Fe(y,A,R,I){const{scrollBehavior:Z}=e;if(!St||!Z)return Promise.resolve();const le=!R&&gu(Qs(y.fullPath,0))||(I||!R)&&history.state&&history.state.scroll||null;return Do().then(()=>Z(y,A,le)).then(a=>a&&hu(a)).catch(a=>X(a,y,A))}const ye=y=>s.go(y);let Et;const xt=new Set,nn={currentRoute:l,listening:!0,addRoute:g,removeRoute:x,clearRoutes:t.clearRoutes,hasRoute:D,getRoutes:P,resolve:$,options:e,push:U,replace:G,go:ye,back:()=>ye(-1),forward:()=>ye(1),beforeEach:o.add,beforeResolve:i.add,afterEach:c.add,onError:ce.add,isReady:Ue,install(y){const A=this;y.component("RouterLink",Du),y.component("RouterView",Ku),y.config.globalProperties.$router=A,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>At(l)}),St&&!Et&&l.value===Ze&&(Et=!0,U(s.location).catch(Z=>{}));const R={};for(const Z in Ze)Object.defineProperty(R,Z,{get:()=>l.value[Z],enumerable:!0});y.provide(Wr,A),y.provide(Hi,Lo(R)),y.provide(Cr,l);const I=y.unmount;xt.add(y),y.unmount=function(){xt.delete(y),xt.size<1&&(u=Ze,Y&&Y(),Y=null,l.value=Ze,Et=!1,ne=!1),I()}}};function pe(y){return y.reduce((A,R)=>A.then(()=>H(R)),Promise.resolve())}return nn}function qu(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iOt(u,c))?r.push(c):n.push(c));const l=e.matched[i];l&&(t.matched.find(u=>Ot(u,l))||s.push(l))}return[n,r,s]}const Wu=function(){const t=document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"}(),ao={},Gu="/email-header-analyzer/",sr=function(t,n){return!n||n.length===0?t():Promise.all(n.map(r=>{if(r=`${Gu}${r}`,r in ao)return;ao[r]=!0;const s=r.endsWith(".css"),o=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${o}`))return;const i=document.createElement("link");if(i.rel=s?"stylesheet":Wu,s||(i.as="script",i.crossOrigin=""),i.href=r,document.head.appendChild(i),s)return new Promise((c,l)=>{i.addEventListener("load",c),i.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},Qu=[{path:"/",component:()=>sr(()=>import("./MainLayout.4c2f1744.js"),["assets/MainLayout.4c2f1744.js","assets/QBtn.42afa22b.js","assets/scroll.42beefbe.js"]),children:[{path:"",component:()=>sr(()=>import("./IndexPage.9c319a9d.js"),["assets/IndexPage.9c319a9d.js","assets/IndexPage.d3123752.css","assets/QBtn.42afa22b.js","assets/scroll.42beefbe.js"])}]},{path:"/:catchAll(.*)*",component:()=>sr(()=>import("./ErrorNotFound.d3f69015.js"),["assets/ErrorNotFound.d3f69015.js","assets/QBtn.42afa22b.js"])}];var or=function(){return zu({scrollBehavior:()=>({left:0,top:0}),routes:Qu,history:vu("/email-header-analyzer/")})};async function Ju(e,t){const n=e(Va);n.use(ja,t);const r=Tn(typeof or=="function"?await or({}):or);return{app:n,router:r}}var Yu={config:{}};async function Xu({app:e,router:t}){e.use(t),e.mount("#q-app")}Ju(ha,Yu).then(Xu);export{J as $,At as A,af as B,_f as C,gf as D,mf as E,df as F,uf as G,pf as H,hf as I,Ul as J,bf as K,ba as L,jn as M,mc as N,gc as O,Ca as P,Be as Q,Vl as R,wr as S,wi as T,Us as U,rf as V,Ma as W,ff as X,Kl as Y,er as Z,Ha as _,Me as a,xf as a0,Ef as a1,Ks as a2,lf as a3,ka as a4,Dr as a5,sf as a6,je as a7,nf as a8,yi as a9,Zi as aa,of as ab,Zu as ac,ef as ad,Wo as b,cf as c,Do as d,We as e,wf as f,Mc as g,zr as h,wt as i,yf as j,vf as k,Dn as l,It as m,Xt as n,qo as o,pn as p,Go as q,No as r,$l as s,pi as t,mi as u,Ml as v,gn as w,Re as x,Pc as y,tf as z}; + */const St=typeof document!="undefined";function Ua(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const te=Object.assign;function tr(e,t){const n={};for(const r in t){const s=t[r];n[r]=ke(s)?s.map(e):e(s)}return n}const Kt=()=>{},ke=Array.isArray,Ai=/#/g,Ka=/&/g,za=/\//g,qa=/=/g,Wa=/\?/g,Ti=/\+/g,Ga=/%5B/g,Qa=/%5D/g,Oi=/%5E/g,Ja=/%60/g,Li=/%7B/g,Ya=/%7C/g,Mi=/%7D/g,Xa=/%20/g;function qr(e){return encodeURI(""+e).replace(Ya,"|").replace(Ga,"[").replace(Qa,"]")}function Za(e){return qr(e).replace(Li,"{").replace(Mi,"}").replace(Oi,"^")}function Er(e){return qr(e).replace(Ti,"%2B").replace(Xa,"+").replace(Ai,"%23").replace(Ka,"%26").replace(Ja,"`").replace(Li,"{").replace(Mi,"}").replace(Oi,"^")}function eu(e){return Er(e).replace(qa,"%3D")}function tu(e){return qr(e).replace(Ai,"%23").replace(Wa,"%3F")}function nu(e){return e==null?"":tu(e).replace(za,"%2F")}function Zt(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ru=/\/$/,su=e=>e.replace(ru,"");function nr(e,t,n="/"){let r,s={},o="",i="";const c=t.indexOf("#");let l=t.indexOf("?");return c=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,c>-1?c:t.length),s=e(o)),c>-1&&(r=r||t.slice(0,c),i=t.slice(c,t.length)),r=cu(r!=null?r:t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:Zt(i)}}function ou(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ws(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function iu(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Ot(t.matched[r],n.matched[s])&&Ii(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ot(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ii(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!lu(e[n],t[n]))return!1;return!0}function lu(e,t){return ke(e)?Gs(e,t):ke(t)?Gs(t,e):e===t}function Gs(e,t){return ke(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function cu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,c;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Ze={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var en;(function(e){e.pop="pop",e.push="push"})(en||(en={}));var zt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(zt||(zt={}));function au(e){if(!e)if(St){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),su(e)}const uu=/^[^#]+#/;function fu(e,t){return e.replace(uu,"#")+t}function du(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Vn=()=>({left:window.scrollX,top:window.scrollY});function hu(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=du(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Qs(e,t){return(history.state?history.state.position-t:-1)+e}const xr=new Map;function pu(e,t){xr.set(e,t)}function gu(e){const t=xr.get(e);return xr.delete(e),t}let mu=()=>location.protocol+"//"+location.host;function ki(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let c=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(c);return l[0]!=="/"&&(l="/"+l),Ws(l,"")}return Ws(n,e)+r+s}function _u(e,t,n,r){let s=[],o=[],i=null;const c=({state:p})=>{const g=ki(e,location),x=n.value,P=t.value;let D=0;if(p){if(n.value=g,t.value=p,i&&i===x){i=null;return}D=P?p.position-P.position:0}else r(g);s.forEach($=>{$(n.value,x,{delta:D,type:en.pop,direction:D?D>0?zt.forward:zt.back:zt.unknown})})};function l(){i=n.value}function u(p){s.push(p);const g=()=>{const x=s.indexOf(p);x>-1&&s.splice(x,1)};return o.push(g),g}function h(){const{history:p}=window;!p.state||p.replaceState(te({},p.state,{scroll:Vn()}),"")}function d(){for(const p of o)p();o=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",h)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",h,{passive:!0}),{pauseListeners:l,listen:u,destroy:d}}function Js(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Vn():null}}function yu(e){const{history:t,location:n}=window,r={value:ki(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,h){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:mu()+e+l;try{t[h?"replaceState":"pushState"](u,"",p),s.value=u}catch(g){console.error(g),n[h?"replace":"assign"](p)}}function i(l,u){const h=te({},t.state,Js(s.value.back,l,s.value.forward,!0),u,{position:s.value.position});o(l,h,!0),r.value=l}function c(l,u){const h=te({},s.value,t.state,{forward:l,scroll:Vn()});o(h.current,h,!0);const d=te({},Js(r.value,l,null),{position:h.position+1},u);o(l,d,!1),r.value=l}return{location:r,state:s,push:c,replace:i}}function vu(e){e=au(e);const t=yu(e),n=_u(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=te({location:"",base:e,go:r,createHref:fu.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function bu(e){return typeof e=="string"||e&&typeof e=="object"}function Fi(e){return typeof e=="string"||typeof e=="symbol"}const Ni=Symbol("");var Ys;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ys||(Ys={}));function Lt(e,t){return te(new Error,{type:e,[Ni]:!0},t)}function Ke(e,t){return e instanceof Error&&Ni in e&&(t==null||!!(e.type&t))}const Xs="[^/]+?",wu={sensitive:!1,strict:!1,start:!0,end:!0},Eu=/[.+*?^${}()[\]/\\]/g;function xu(e,t){const n=te({},wu,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const h=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function $i(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Su={type:0,value:""},Ru=/[a-zA-Z0-9_]/;function Pu(e){if(!e)return[[]];if(e==="/")return[[Su]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let c=0,l,u="",h="";function d(){!u||(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:h,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=l}for(;c{i(O)}:Kt}function i(d){if(Fi(d)){const p=r.get(d);p&&(r.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function c(){return n}function l(d){const p=Iu(d,n);n.splice(p,0,d),d.record.name&&!to(d)&&r.set(d.record.name,d)}function u(d,p){let g,x={},P,D;if("name"in d&&d.name){if(g=r.get(d.name),!g)throw Lt(1,{location:d});D=g.record.name,x=te(eo(p.params,g.keys.filter(O=>!O.optional).concat(g.parent?g.parent.keys.filter(O=>O.optional):[]).map(O=>O.name)),d.params&&eo(d.params,g.keys.map(O=>O.name))),P=g.stringify(x)}else if(d.path!=null)P=d.path,g=n.find(O=>O.re.test(P)),g&&(x=g.parse(P),D=g.record.name);else{if(g=p.name?r.get(p.name):n.find(O=>O.re.test(p.path)),!g)throw Lt(1,{location:d,currentLocation:p});D=g.record.name,x=te({},p.params,d.params),P=g.stringify(x)}const $=[];let k=g;for(;k;)$.unshift(k.record),k=k.parent;return{name:D,path:P,params:x,matched:$,meta:Mu($)}}e.forEach(d=>o(d));function h(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:h,getRoutes:c,getRecordMatcher:s}}function eo(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ou(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Lu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Lu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function to(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Mu(e){return e.reduce((t,n)=>te(t,n.meta),{})}function no(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Iu(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;$i(e,t[o])<0?r=o:n=o+1}const s=ku(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function ku(e){let t=e;for(;t=t.parent;)if(ji(t)&&$i(e,t)===0)return t}function ji({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Fu(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Er(o)):[r&&Er(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Nu(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ke(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const $u=Symbol(""),so=Symbol(""),Wr=Symbol(""),Hi=Symbol(""),Cr=Symbol("");function Nt(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function st(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((c,l)=>{const u=p=>{p===!1?l(Lt(4,{from:n,to:t})):p instanceof Error?l(p):bu(p)?l(Lt(2,{from:t,to:p})):(i&&r.enterCallbacks[s]===i&&typeof p=="function"&&i.push(p),c())},h=o(()=>e.call(r&&r.instances[s],t,n,u));let d=Promise.resolve(h);e.length<3&&(d=d.then(u)),d.catch(p=>l(p))})}function rr(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const c in i.components){let l=i.components[c];if(!(t!=="beforeRouteEnter"&&!i.instances[c]))if(ju(l)){const h=(l.__vccOpts||l)[t];h&&o.push(st(h,n,r,i,c,s))}else{let u=l();o.push(()=>u.then(h=>{if(!h)return Promise.reject(new Error(`Couldn't resolve component "${c}" at "${i.path}"`));const d=Ua(h)?h.default:h;i.components[c]=d;const g=(d.__vccOpts||d)[t];return g&&st(g,n,r,i,c,s)()}))}}return o}function ju(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function oo(e){const t=We(Wr),n=We(Hi),r=Me(()=>{const l=At(e.to);return t.resolve(l)}),s=Me(()=>{const{matched:l}=r.value,{length:u}=l,h=l[u-1],d=n.matched;if(!h||!d.length)return-1;const p=d.findIndex(Ot.bind(null,h));if(p>-1)return p;const g=io(l[u-2]);return u>1&&io(h)===g&&d[d.length-1].path!==g?d.findIndex(Ot.bind(null,l[u-2])):p}),o=Me(()=>s.value>-1&&Vu(n.params,r.value.params)),i=Me(()=>s.value>-1&&s.value===n.matched.length-1&&Ii(n.params,r.value.params));function c(l={}){return Bu(l)?t[At(e.replace)?"replace":"push"](At(e.to)).catch(Kt):Promise.resolve()}return{route:r,href:Me(()=>r.value.href),isActive:o,isExactActive:i,navigate:c}}const Hu=Dr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:oo,setup(e,{slots:t}){const n=It(oo(e)),{options:r}=We(Wr),s=Me(()=>({[lo(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[lo(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:zr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Du=Hu;function Bu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Vu(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!ke(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function io(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const lo=(e,t,n)=>e!=null?e:t!=null?t:n,Uu=Dr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=We(Cr),s=Me(()=>e.route||r.value),o=We(so,0),i=Me(()=>{let u=At(o);const{matched:h}=s.value;let d;for(;(d=h[u])&&!d.components;)u++;return u}),c=Me(()=>s.value.matched[i.value]);pn(so,Me(()=>i.value+1)),pn($u,c),pn(Cr,s);const l=No();return gn(()=>[l.value,c.value,e.name],([u,h,d],[p,g,x])=>{h&&(h.instances[d]=u,g&&g!==h&&u&&u===p&&(h.leaveGuards.size||(h.leaveGuards=g.leaveGuards),h.updateGuards.size||(h.updateGuards=g.updateGuards))),u&&h&&(!g||!Ot(h,g)||!p)&&(h.enterCallbacks[d]||[]).forEach(P=>P(u))},{flush:"post"}),()=>{const u=s.value,h=e.name,d=c.value,p=d&&d.components[h];if(!p)return co(n.default,{Component:p,route:u});const g=d.props[h],x=g?g===!0?u.params:typeof g=="function"?g(u):g:null,D=zr(p,te({},x,t,{onVnodeUnmounted:$=>{$.component.isUnmounted&&(d.instances[h]=null)},ref:l}));return co(n.default,{Component:D,route:u})||D}}});function co(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ku=Uu;function zu(e){const t=Tu(e.routes,e),n=e.parseQuery||Fu,r=e.stringifyQuery||ro,s=e.history,o=Nt(),i=Nt(),c=Nt(),l=xl(Ze);let u=Ze;St&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const h=tr.bind(null,y=>""+y),d=tr.bind(null,nu),p=tr.bind(null,Zt);function g(y,A){let R,I;return Fi(y)?(R=t.getRecordMatcher(y),I=A):I=y,t.addRoute(I,R)}function x(y){const A=t.getRecordMatcher(y);A&&t.removeRoute(A)}function P(){return t.getRoutes().map(y=>y.record)}function D(y){return!!t.getRecordMatcher(y)}function $(y,A){if(A=te({},A||l.value),typeof y=="string"){const f=nr(n,y,A.path),m=t.resolve({path:f.path},A),v=s.createHref(f.fullPath);return te(f,m,{params:p(m.params),hash:Zt(f.hash),redirectedFrom:void 0,href:v})}let R;if(y.path!=null)R=te({},y,{path:nr(n,y.path,A.path).path});else{const f=te({},y.params);for(const m in f)f[m]==null&&delete f[m];R=te({},y,{params:d(f)}),A.params=d(A.params)}const I=t.resolve(R,A),Z=y.hash||"";I.params=h(p(I.params));const le=ou(r,te({},y,{hash:Za(Z),path:I.path})),a=s.createHref(le);return te({fullPath:le,hash:Z,query:r===ro?Nu(y.query):y.query||{}},I,{redirectedFrom:void 0,href:a})}function k(y){return typeof y=="string"?nr(n,y,l.value.path):te({},y)}function O(y,A){if(u!==y)return Lt(8,{from:A,to:y})}function U(y){return K(y)}function G(y){return U(te(k(y),{replace:!0}))}function M(y){const A=y.matched[y.matched.length-1];if(A&&A.redirect){const{redirect:R}=A;let I=typeof R=="function"?R(y):R;return typeof I=="string"&&(I=I.includes("?")||I.includes("#")?I=k(I):{path:I},I.params={}),te({query:y.query,hash:y.hash,params:I.path!=null?{}:y.params},I)}}function K(y,A){const R=u=$(y),I=l.value,Z=y.state,le=y.force,a=y.replace===!0,f=M(R);if(f)return K(te(k(f),{state:typeof f=="object"?te({},Z,f.state):Z,force:le,replace:a}),A||R);const m=R;m.redirectedFrom=A;let v;return!le&&iu(r,I,R)&&(v=Lt(16,{to:m,from:I}),Fe(I,I,!0,!1)),(v?Promise.resolve(v):q(m,I)).catch(_=>Ke(_)?Ke(_,2)?_:Qe(_):X(_,m,I)).then(_=>{if(_){if(Ke(_,2))return K(te({replace:a},k(_.to),{state:typeof _.to=="object"?te({},Z,_.to.state):Z,force:le}),A||m)}else _=L(m,I,!0,a,Z);return Q(m,I,_),_})}function re(y,A){const R=O(y,A);return R?Promise.reject(R):Promise.resolve()}function H(y){const A=xt.values().next().value;return A&&typeof A.runWithContext=="function"?A.runWithContext(y):y()}function q(y,A){let R;const[I,Z,le]=qu(y,A);R=rr(I.reverse(),"beforeRouteLeave",y,A);for(const f of I)f.leaveGuards.forEach(m=>{R.push(st(m,y,A))});const a=re.bind(null,y,A);return R.push(a),pe(R).then(()=>{R=[];for(const f of o.list())R.push(st(f,y,A));return R.push(a),pe(R)}).then(()=>{R=rr(Z,"beforeRouteUpdate",y,A);for(const f of Z)f.updateGuards.forEach(m=>{R.push(st(m,y,A))});return R.push(a),pe(R)}).then(()=>{R=[];for(const f of le)if(f.beforeEnter)if(ke(f.beforeEnter))for(const m of f.beforeEnter)R.push(st(m,y,A));else R.push(st(f.beforeEnter,y,A));return R.push(a),pe(R)}).then(()=>(y.matched.forEach(f=>f.enterCallbacks={}),R=rr(le,"beforeRouteEnter",y,A,H),R.push(a),pe(R))).then(()=>{R=[];for(const f of i.list())R.push(st(f,y,A));return R.push(a),pe(R)}).catch(f=>Ke(f,8)?f:Promise.reject(f))}function Q(y,A,R){c.list().forEach(I=>H(()=>I(y,A,R)))}function L(y,A,R,I,Z){const le=O(y,A);if(le)return le;const a=A===Ze,f=St?history.state:{};R&&(I||a?s.replace(y.fullPath,te({scroll:a&&f&&f.scroll},Z)):s.push(y.fullPath,Z)),l.value=y,Fe(y,A,R,a),Qe()}let Y;function fe(){Y||(Y=s.listen((y,A,R)=>{if(!nn.listening)return;const I=$(y),Z=M(I);if(Z){K(te(Z,{replace:!0}),I).catch(Kt);return}u=I;const le=l.value;St&&pu(Qs(le.fullPath,R.delta),Vn()),q(I,le).catch(a=>Ke(a,12)?a:Ke(a,2)?(K(a.to,I).then(f=>{Ke(f,20)&&!R.delta&&R.type===en.pop&&s.go(-1,!1)}).catch(Kt),Promise.reject()):(R.delta&&s.go(-R.delta,!1),X(a,I,le))).then(a=>{a=a||L(I,le,!1),a&&(R.delta&&!Ke(a,8)?s.go(-R.delta,!1):R.type===en.pop&&Ke(a,20)&&s.go(-1,!1)),Q(I,le,a)}).catch(Kt)}))}let Te=Nt(),ce=Nt(),ne;function X(y,A,R){Qe(y);const I=ce.list();return I.length?I.forEach(Z=>Z(y,A,R)):console.error(y),Promise.reject(y)}function Ue(){return ne&&l.value!==Ze?Promise.resolve():new Promise((y,A)=>{Te.add([y,A])})}function Qe(y){return ne||(ne=!y,fe(),Te.list().forEach(([A,R])=>y?R(y):A()),Te.reset()),y}function Fe(y,A,R,I){const{scrollBehavior:Z}=e;if(!St||!Z)return Promise.resolve();const le=!R&&gu(Qs(y.fullPath,0))||(I||!R)&&history.state&&history.state.scroll||null;return Do().then(()=>Z(y,A,le)).then(a=>a&&hu(a)).catch(a=>X(a,y,A))}const ye=y=>s.go(y);let Et;const xt=new Set,nn={currentRoute:l,listening:!0,addRoute:g,removeRoute:x,clearRoutes:t.clearRoutes,hasRoute:D,getRoutes:P,resolve:$,options:e,push:U,replace:G,go:ye,back:()=>ye(-1),forward:()=>ye(1),beforeEach:o.add,beforeResolve:i.add,afterEach:c.add,onError:ce.add,isReady:Ue,install(y){const A=this;y.component("RouterLink",Du),y.component("RouterView",Ku),y.config.globalProperties.$router=A,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>At(l)}),St&&!Et&&l.value===Ze&&(Et=!0,U(s.location).catch(Z=>{}));const R={};for(const Z in Ze)Object.defineProperty(R,Z,{get:()=>l.value[Z],enumerable:!0});y.provide(Wr,A),y.provide(Hi,Lo(R)),y.provide(Cr,l);const I=y.unmount;xt.add(y),y.unmount=function(){xt.delete(y),xt.size<1&&(u=Ze,Y&&Y(),Y=null,l.value=Ze,Et=!1,ne=!1),I()}}};function pe(y){return y.reduce((A,R)=>A.then(()=>H(R)),Promise.resolve())}return nn}function qu(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iOt(u,c))?r.push(c):n.push(c));const l=e.matched[i];l&&(t.matched.find(u=>Ot(u,l))||s.push(l))}return[n,r,s]}const Wu=function(){const t=document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"}(),ao={},Gu="/email-header-analyzer/",sr=function(t,n){return!n||n.length===0?t():Promise.all(n.map(r=>{if(r=`${Gu}${r}`,r in ao)return;ao[r]=!0;const s=r.endsWith(".css"),o=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${o}`))return;const i=document.createElement("link");if(i.rel=s?"stylesheet":Wu,s||(i.as="script",i.crossOrigin=""),i.href=r,document.head.appendChild(i),s)return new Promise((c,l)=>{i.addEventListener("load",c),i.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},Qu=[{path:"/",component:()=>sr(()=>import("./MainLayout.687fe77c.js"),["assets/MainLayout.687fe77c.js","assets/QBtn.4e090f7b.js","assets/scroll.e32252bb.js"]),children:[{path:"",component:()=>sr(()=>import("./IndexPage.1c850fcb.js"),["assets/IndexPage.1c850fcb.js","assets/IndexPage.62b7a967.css","assets/QBtn.4e090f7b.js","assets/scroll.e32252bb.js"])}]},{path:"/:catchAll(.*)*",component:()=>sr(()=>import("./ErrorNotFound.f23aa50d.js"),["assets/ErrorNotFound.f23aa50d.js","assets/QBtn.4e090f7b.js"])}];var or=function(){return zu({scrollBehavior:()=>({left:0,top:0}),routes:Qu,history:vu("/email-header-analyzer/")})};async function Ju(e,t){const n=e(Va);n.use(ja,t);const r=On(typeof or=="function"?await or({}):or);return{app:n,router:r}}var Yu={config:{}};async function Xu({app:e,router:t}){e.use(t),e.mount("#q-app")}Ju(ha,Yu).then(Xu);export{J as $,At as A,uf as B,yf as C,mf as D,_f as E,hf as F,ff as G,gf as H,pf as I,Ul as J,wf as K,ba as L,Hn as M,mc as N,gc as O,Ca as P,Be as Q,Vl as R,wr as S,wi as T,Us as U,rf as V,Ma as W,df as X,Kl as Y,er as Z,Ha as _,Me as a,Cf as a0,xf as a1,Ks as a2,cf as a3,Dr as a4,sf as a5,yi as a6,Zi as a7,of as a8,je as a9,nf as aa,ka as ab,lf as ac,Zu as ad,ef as ae,Wo as b,af as c,Do as d,We as e,Ef as f,Mc as g,zr as h,wt as i,vf as j,bf as k,Bn as l,It as m,Xt as n,qo as o,pn as p,Go as q,No as r,$l as s,pi as t,mi as u,Ml as v,gn as w,we as x,Pc as y,tf as z}; diff --git a/assets/scroll.42beefbe.js b/assets/scroll.e32252bb.js similarity index 95% rename from assets/scroll.42beefbe.js rename to assets/scroll.e32252bb.js index baabeb3..cc631ac 100644 --- a/assets/scroll.42beefbe.js +++ b/assets/scroll.e32252bb.js @@ -1 +1 @@ -import{g as s,c as l}from"./QBtn.42afa22b.js";const d=[Element,String],c=[null,document,document.body,document.scrollingElement,document.documentElement];function u(o,t){let e=s(t);if(e===void 0){if(o==null)return window;e=o.closest(".scroll,.scroll-y,.overflow-auto")}return c.includes(e)?window:e}function a(o){return o===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:o.scrollTop}function f(o){return o===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:o.scrollLeft}let n;function w(){if(n!==void 0)return n;const o=document.createElement("p"),t=document.createElement("div");l(o,{width:"100%",height:"200px"}),l(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(o),document.body.appendChild(t);const e=o.offsetWidth;t.style.overflow="scroll";let i=o.offsetWidth;return e===i&&(i=t.clientWidth),t.remove(),n=e-i,n}function p(o,t=!0){return!o||o.nodeType!==Node.ELEMENT_NODE?!1:t?o.scrollHeight>o.clientHeight&&(o.classList.contains("scroll")||o.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(o)["overflow-y"])):o.scrollWidth>o.clientWidth&&(o.classList.contains("scroll")||o.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(o)["overflow-x"]))}export{a,f as b,w as c,u as g,p as h,d as s}; +import{g as s,c as l}from"./QBtn.4e090f7b.js";const d=[Element,String],c=[null,document,document.body,document.scrollingElement,document.documentElement];function u(o,t){let e=s(t);if(e===void 0){if(o==null)return window;e=o.closest(".scroll,.scroll-y,.overflow-auto")}return c.includes(e)?window:e}function a(o){return o===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:o.scrollTop}function f(o){return o===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:o.scrollLeft}let n;function w(){if(n!==void 0)return n;const o=document.createElement("p"),t=document.createElement("div");l(o,{width:"100%",height:"200px"}),l(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(o),document.body.appendChild(t);const e=o.offsetWidth;t.style.overflow="scroll";let i=o.offsetWidth;return e===i&&(i=t.clientWidth),t.remove(),n=e-i,n}function p(o,t=!0){return!o||o.nodeType!==Node.ELEMENT_NODE?!1:t?o.scrollHeight>o.clientHeight&&(o.classList.contains("scroll")||o.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(o)["overflow-y"])):o.scrollWidth>o.clientWidth&&(o.classList.contains("scroll")||o.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(o)["overflow-x"]))}export{a,f as b,w as c,u as g,p as h,d as s}; diff --git a/index.html b/index.html index 78ba7be..d9c3640 100644 --- a/index.html +++ b/index.html @@ -1,3 +1,3 @@ -Mailtower E-Mail Header Analyzer +Mailtower E-Mail Header Analyzer
\ No newline at end of file