From c6b1e274d02efda44ec52b11d71b9479eb1fd1af Mon Sep 17 00:00:00 2001 From: CI Date: Sun, 24 Mar 2024 16:08:59 +0000 Subject: [PATCH] deploy --- 404.html | 1 + CNAME | 1 + assets/AlertForm-CxNrBNoN.js | 14 ++ assets/AuthSignin-hrJ8H7T3.js | 1 + assets/AuthSignup-CL_fWI7s.js | 1 + assets/DashboardHome-CMMGWMEW.js | 46 ++++++ assets/Forbidden-CyzKww8s.js | 1 + assets/ForgotPassword-DTTE5vFY.js | 1 + assets/FormBasic-TyTMwxyb.js | 1 + assets/FormWithAction-Cg_KA51a.js | 1 + ...ue_type_script_setup_true_lang-CXD5jqug.js | 1 + ...ue_type_script_setup_true_lang-CHduJ0nG.js | 1 + assets/NotFound-jGWy-c4M.js | 1 + assets/ThirdForm-CLFRL79l.js | 11 ++ assets/index-_LpQvcpS.css | 1 + assets/index-l_RrMa-Q.js | 151 ++++++++++++++++++ index.html | 13 ++ 17 files changed, 247 insertions(+) create mode 120000 404.html create mode 100644 CNAME create mode 100644 assets/AlertForm-CxNrBNoN.js create mode 100644 assets/AuthSignin-hrJ8H7T3.js create mode 100644 assets/AuthSignup-CL_fWI7s.js create mode 100644 assets/DashboardHome-CMMGWMEW.js create mode 100644 assets/Forbidden-CyzKww8s.js create mode 100644 assets/ForgotPassword-DTTE5vFY.js create mode 100644 assets/FormBasic-TyTMwxyb.js create mode 100644 assets/FormWithAction-Cg_KA51a.js create mode 100644 assets/Input.vue_vue_type_script_setup_true_lang-CXD5jqug.js create mode 100644 assets/Label.vue_vue_type_script_setup_true_lang-CHduJ0nG.js create mode 100644 assets/NotFound-jGWy-c4M.js create mode 100644 assets/ThirdForm-CLFRL79l.js create mode 100644 assets/index-_LpQvcpS.css create mode 100644 assets/index-l_RrMa-Q.js create mode 100644 index.html diff --git a/404.html b/404.html new file mode 120000 index 00000000..64233a9e --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +index.html \ No newline at end of file diff --git a/CNAME b/CNAME new file mode 100644 index 00000000..789c890b --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +shadcn.vue.devlive.org \ No newline at end of file diff --git a/assets/AlertForm-CxNrBNoN.js b/assets/AlertForm-CxNrBNoN.js new file mode 100644 index 00000000..547e3357 --- /dev/null +++ b/assets/AlertForm-CxNrBNoN.js @@ -0,0 +1,14 @@ +import{n as yn,r as fe,V as vt,B as A,u as w,W as _e,X as Lr,Y as mt,Z as $e,$ as hr,a0 as I,a1 as gn,a2 as _n,d as Te,a3 as et,a4 as Dr,a5 as Jt,a6 as bn,i as qe,a7 as jt,a8 as xn,a9 as kn,o as Fe,e as vr,p as ot,q as At,s as It,j as Nt,w as pt,aa as On,v as wn,b as Sn,c as wr,g as Vn,h as Tn,t as Cn}from"./index-l_RrMa-Q.js";import{_ as En}from"./Label.vue_vue_type_script_setup_true_lang-CHduJ0nG.js";/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Ka=yn("LoaderCircleIcon",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** + * vee-validate v4.12.6 + * (c) 2024 Abdelrahman Awad + * @license MIT + */function J(t){return typeof t=="function"}function zr(t){return t==null}const Be=t=>t!==null&&!!t&&typeof t=="object"&&!Array.isArray(t);function mr(t){return Number(t)>=0}function jn(t){const e=parseFloat(t);return isNaN(e)?t:e}function An(t){return typeof t=="object"&&t!==null}function In(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}function Sr(t){if(!An(t)||In(t)!=="[object Object]")return!1;if(Object.getPrototypeOf(t)===null)return!0;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function nt(t,e){return Object.keys(e).forEach(r=>{if(Sr(e[r])&&Sr(t[r])){t[r]||(t[r]={}),nt(t[r],e[r]);return}t[r]=e[r]}),t}function tt(t){const e=t.split(".");if(!e.length)return"";let r=String(e[0]);for(let n=1;nPn(a)&&s in a?a[s]:r,t):r}function Ae(t,e,r){if(ut(e)){t[Mt(e)]=r;return}const n=e.split(/\.|\[(\d+)\]/).filter(Boolean);let a=t;for(let s=0;sne(t,r.slice(0,i).join(".")));for(let s=a.length-1;s>=0;s--)if(Zn(a[s])){if(s===0){Ht(t,r[0]);continue}Ht(a[s-1],r[s-1])}}function ie(t){return Object.keys(t)}function Pt(t,e=void 0){const r=jt();return(r==null?void 0:r.provides[t])||qe(t,e)}function jr(t,e,r){if(Array.isArray(t)){const n=[...t],a=n.findIndex(s=>ee(s,e));return a>=0?n.splice(a,1):n.push(e),n}return ee(t,e)?r:e}function Ar(t,e=0){let r=null,n=[];return function(...a){return r&&clearTimeout(r),r=setTimeout(()=>{const s=t(...a);n.forEach(i=>i(s)),n=[]},e),new Promise(s=>n.push(s))}}function Ln(t,e){return Be(e)&&e.number?jn(t):t}function Kt(t,e){let r;return async function(...a){const s=t(...a);r=s;const i=await s;return s!==r?i:(r=void 0,e(i,a))}}function Qt(t){return Array.isArray(t)?t:t?[t]:[]}function pr(t){const e=Pt(Xe),r=t?A(()=>e==null?void 0:e.getPathState(I(t))):void 0,n=t?void 0:qe(Rt);return!n&&(r!=null&&r.value),r||n}function ct(t,e){const r={};for(const n in t)e.includes(n)||(r[n]=t[n]);return r}function Dn(t){let e=null,r=[];return function(...n){const a=_e(()=>{if(e!==a)return;const s=t(...n);r.forEach(i=>i(s)),r=[],e=null});return e=a,new Promise(s=>r.push(s))}}function Hr(t,e,r){return e.slots.default?typeof t=="string"||!t?e.slots.default(r()):{default:()=>{var n,a;return(a=(n=e.slots).default)===null||a===void 0?void 0:a.call(n,r())}}:e.slots.default}function Gt(t){if(Gr(t))return t._value}function Gr(t){return"_value"in t}function zn(t){return t.type==="number"||t.type==="range"?Number.isNaN(t.valueAsNumber)?t.value:t.valueAsNumber:t.value}function _t(t){if(!qr(t))return t;const e=t.target;if(lt(e.type)&&Gr(e))return Gt(e);if(e.type==="file"&&e.files){const r=Array.from(e.files);return e.multiple?r:r[0]}if($n(e))return Array.from(e.options).filter(r=>r.selected&&!r.disabled).map(Gt);if(Wr(e)){const r=Array.from(e.options).find(n=>n.selected);return r?Gt(r):e.value}return zn(e)}function Yr(t){const e={};return Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),t?Be(t)&&t._$$isNormalized?t:Be(t)?Object.keys(t).reduce((r,n)=>{const a=Wn(t[n]);return t[n]!==!1&&(r[n]=Ir(a)),r},e):typeof t!="string"?e:t.split("|").reduce((r,n)=>{const a=qn(n);return a.name&&(r[a.name]=Ir(a.params)),r},e):e}function Wn(t){return t===!0?[]:Array.isArray(t)||Be(t)?t:[t]}function Ir(t){const e=r=>typeof r=="string"&&r[0]==="@"?Hn(r.slice(1)):r;return Array.isArray(t)?t.map(e):t instanceof RegExp?[t]:Object.keys(t).reduce((r,n)=>(r[n]=e(t[n]),r),{})}const qn=t=>{let e=[];const r=t.split(":")[0];return t.includes(":")&&(e=t.split(":").slice(1).join(":").split(",")),{name:r,params:e}};function Hn(t){const e=r=>ne(r,t)||r[t];return e.__locatorRef=t,e}function Gn(t){return Array.isArray(t)?t.filter(Xt):ie(t).filter(e=>Xt(t[e])).map(e=>t[e])}const Yn={generateMessage:({field:t})=>`${t} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0};let Jn=Object.assign({},Yn);const Ze=()=>Jn;async function Jr(t,e,r={}){const n=r==null?void 0:r.bails,a={name:(r==null?void 0:r.name)||"{field}",rules:e,label:r==null?void 0:r.label,bails:n??!0,formData:(r==null?void 0:r.values)||{}},i=(await Xn(a,t)).errors;return{errors:i,valid:!i.length}}async function Xn(t,e){if(he(t.rules)||gt(t.rules))return Qn(e,t.rules);if(J(t.rules)||Array.isArray(t.rules)){const i={field:t.label||t.name,name:t.name,label:t.label,form:t.formData,value:e},o=Array.isArray(t.rules)?t.rules:[t.rules],c=o.length,d=[];for(let v=0;v{const c=o.path||"";return i[c]||(i[c]={errors:[],path:c}),i[c].errors.push(...o.errors),i},{});return{errors:Object.values(s)}}}}}async function Qn(t,e){const n=await(he(e)?e:Xr(e)).parse(t),a=[];for(const s of n.errors)s.errors.length&&a.push(...s.errors);return{errors:a}}async function ea(t,e,r){const n=Rn(r.name);if(!n)throw new Error(`No such validator '${r.name}' exists.`);const a=ta(r.params,t.formData),s={field:t.label||t.name,name:t.name,label:t.label,value:e,form:t.formData,rule:Object.assign(Object.assign({},r),{params:a})},i=await n(e,a,s);return typeof i=="string"?{error:i}:{error:i?void 0:Kr(s)}}function Kr(t){const e=Ze().generateMessage;return e?e(t):"Field is invalid"}function ta(t,e){const r=n=>Xt(n)?n(e):n;return Array.isArray(t)?t.map(r):Object.keys(t).reduce((n,a)=>(n[a]=r(t[a]),n),{})}async function ra(t,e){const n=await(he(t)?t:Xr(t)).parse(U(e)),a={},s={};for(const i of n.errors){const o=i.errors,c=(i.path||"").replace(/\["(\d+)"\]/g,(d,v)=>`[${v}]`);a[c]={valid:!o.length,errors:o},o.length&&(s[c]=o[0])}return{valid:!n.errors.length,results:a,errors:s,values:n.value}}async function na(t,e,r){const a=ie(t).map(async d=>{var v,x,N;const S=(v=r==null?void 0:r.names)===null||v===void 0?void 0:v[d],L=await Jr(ne(e,d),t[d],{name:(S==null?void 0:S.name)||d,label:S==null?void 0:S.label,values:e,bails:(N=(x=r==null?void 0:r.bailsMap)===null||x===void 0?void 0:x[d])!==null&&N!==void 0?N:!0});return Object.assign(Object.assign({},L),{path:d})});let s=!0;const i=await Promise.all(a),o={},c={};for(const d of i)o[d.path]={valid:d.valid,errors:d.errors},d.valid||(s=!1,c[d.path]=d.errors[0]);return{valid:s,results:o,errors:c}}let Nr=0;function aa(t,e){const{value:r,initialValue:n,setInitialValue:a}=sa(t,e.modelValue,e.form);if(!e.form){let c=function(S){var L;"value"in S&&(r.value=S.value),"errors"in S&&v(S.errors),"touched"in S&&(N.touched=(L=S.touched)!==null&&L!==void 0?L:N.touched),"initialValue"in S&&a(S.initialValue)};const{errors:d,setErrors:v}=la(),x=Nr>=Number.MAX_SAFE_INTEGER?0:++Nr,N=oa(r,n,d,e.schema);return{id:x,path:t,value:r,initialValue:n,meta:N,flags:{pendingUnmount:{[x]:!1},pendingReset:!1},errors:d,setState:c}}const s=e.form.createPathState(t,{bails:e.bails,label:e.label,type:e.type,validate:e.validate,schema:e.schema}),i=A(()=>s.errors);function o(c){var d,v,x;"value"in c&&(r.value=c.value),"errors"in c&&((d=e.form)===null||d===void 0||d.setFieldError(w(t),c.errors)),"touched"in c&&((v=e.form)===null||v===void 0||v.setFieldTouched(w(t),(x=c.touched)!==null&&x!==void 0?x:!1)),"initialValue"in c&&a(c.initialValue)}return{id:Array.isArray(s.id)?s.id[s.id.length-1]:s.id,path:t,value:r,errors:i,meta:s,initialValue:n,flags:s.__flags,setState:o}}function sa(t,e,r){const n=fe(w(e));function a(){return r?ne(r.initialValues.value,w(t),w(n)):w(n)}function s(d){if(!r){n.value=d;return}r.setFieldInitialValue(w(t),d,!0)}const i=A(a);if(!r)return{value:fe(a()),initialValue:i,setInitialValue:s};const o=ia(e,r,i,t);return r.stageInitialValue(w(t),o,!0),{value:A({get(){return ne(r.values,w(t))},set(d){r.setFieldValue(w(t),d,!1)}}),initialValue:i,setInitialValue:s}}function ia(t,e,r,n){return mt(t)?w(t):t!==void 0?t:ne(e.values,w(n),w(r))}function oa(t,e,r,n){var a,s;const i=(s=(a=n==null?void 0:n.describe)===null||a===void 0?void 0:a.call(n).required)!==null&&s!==void 0?s:!1,o=vt({touched:!1,pending:!1,valid:!0,required:i,validated:!!w(r).length,initialValue:A(()=>w(e)),dirty:A(()=>!ee(w(t),w(e)))});return $e(r,c=>{o.valid=!c.length},{immediate:!0,flush:"sync"}),o}function la(){const t=fe([]);return{errors:t,setErrors:e=>{t.value=Qt(e)}}}function ua(t,e,r){return lt(r==null?void 0:r.type)?ca(t,e,r):Qr(t,e,r)}function Qr(t,e,r){const{initialValue:n,validateOnMount:a,bails:s,type:i,checkedValue:o,label:c,validateOnValueUpdate:d,uncheckedValue:v,controlled:x,keepValueOnUnmount:N,syncVModel:S,form:L}=da(r),ve=x?Pt(Xe):void 0,E=L||ve,se=A(()=>tt(I(t))),X=A(()=>{if(I(E==null?void 0:E.schema))return;const C=w(e);return gt(C)||he(C)||J(C)||Array.isArray(C)?C:Yr(C)}),{id:oe,value:me,initialValue:pe,meta:D,setState:Ce,errors:q,flags:G}=aa(se,{modelValue:n,form:E,bails:s,label:c,type:i,validate:X.value?de:void 0,schema:he(e)?e:void 0}),H=A(()=>q.value[0]);S&&fa({value:me,prop:S,handleChange:P,shouldValidate:()=>d&&!G.pendingReset});const Ee=(g,C=!1)=>{D.touched=!0,C&&ye()};async function Le(g){var C,$;if(E!=null&&E.validateSchema){const{results:Z}=await E.validateSchema(g);return(C=Z[I(se)])!==null&&C!==void 0?C:{valid:!0,errors:[]}}return X.value?Jr(me.value,X.value,{name:I(se),label:I(c),values:($=E==null?void 0:E.values)!==null&&$!==void 0?$:{},bails:s}):{valid:!0,errors:[]}}const ye=Kt(async()=>(D.pending=!0,D.validated=!0,Le("validated-only")),g=>(G.pendingUnmount[K.id]||(Ce({errors:g.errors}),D.pending=!1,D.valid=g.valid),g)),ue=Kt(async()=>Le("silent"),g=>(D.valid=g.valid,g));function de(g){return(g==null?void 0:g.mode)==="silent"?ue():ye()}function P(g,C=!0){const $=_t(g);Ke($,C)}Lr(()=>{if(a)return ye();(!E||!E.validateSchema)&&ue()});function $t(g){D.touched=g}function je(g){var C;const $=g&&"value"in g?g.value:pe.value;Ce({value:U($),initialValue:U($),touched:(C=g==null?void 0:g.touched)!==null&&C!==void 0?C:!1,errors:(g==null?void 0:g.errors)||[]}),D.pending=!1,D.validated=!1,ue()}const Re=jt();function Ke(g,C=!0){me.value=Re&&S?Ln(g,Re.props.modelModifiers):g,(C?ye:ue)()}function dt(g){Ce({errors:Array.isArray(g)?g:[g]})}const _r=A({get(){return me.value},set(g){Ke(g,d)}}),K={id:oe,name:se,label:c,value:_r,meta:D,errors:q,errorMessage:H,type:i,checkedValue:o,uncheckedValue:v,bails:s,keepValueOnUnmount:N,resetField:je,handleReset:()=>je(),validate:de,handleChange:P,handleBlur:Ee,setState:Ce,setTouched:$t,setErrors:dt,setValue:Ke};if(hr(Rt,K),mt(e)&&typeof w(e)!="function"&&$e(e,(g,C)=>{ee(g,C)||(D.validated?ye():ue())},{deep:!0}),!E)return K;const Bt=A(()=>{const g=X.value;return!g||J(g)||gt(g)||he(g)||Array.isArray(g)?{}:Object.keys(g).reduce((C,$)=>{const Z=Gn(g[$]).map(Oe=>Oe.__locatorRef).reduce((Oe,ge)=>{const le=ne(E.values,ge)||E.values[ge];return le!==void 0&&(Oe[ge]=le),Oe},{});return Object.assign(C,Z),C},{})});return $e(Bt,(g,C)=>{if(!Object.keys(g).length)return;!ee(g,C)&&(D.validated?ye():ue())}),xn(()=>{var g;const C=(g=I(K.keepValueOnUnmount))!==null&&g!==void 0?g:I(E.keepValuesOnUnmount),$=I(se);if(C||!E||G.pendingUnmount[K.id]){E==null||E.removePathState($,oe);return}G.pendingUnmount[K.id]=!0;const Z=E.getPathState($);if(Array.isArray(Z==null?void 0:Z.id)&&(Z!=null&&Z.multiple)?Z!=null&&Z.id.includes(K.id):(Z==null?void 0:Z.id)===K.id){if(Z!=null&&Z.multiple&&Array.isArray(Z.value)){const ge=Z.value.findIndex(le=>ee(le,I(K.checkedValue)));if(ge>-1){const le=[...Z.value];le.splice(ge,1),E.setFieldValue($,le)}Array.isArray(Z.id)&&Z.id.splice(Z.id.indexOf(K.id),1)}else E.unsetPathValue(I(se));E.removePathState($,oe)}}),K}function da(t){const e=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),r=!!(t!=null&&t.syncVModel),n=typeof(t==null?void 0:t.syncVModel)=="string"?t.syncVModel:(t==null?void 0:t.modelPropName)||"modelValue",a=r&&!("initialValue"in(t||{}))?er(jt(),n):t==null?void 0:t.initialValue;if(!t)return Object.assign(Object.assign({},e()),{initialValue:a});const s="valueProp"in t?t.valueProp:t.checkedValue,i="standalone"in t?!t.standalone:t.controlled,o=(t==null?void 0:t.modelPropName)||(t==null?void 0:t.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},e()),t||{}),{initialValue:a,controlled:i??!0,checkedValue:s,syncVModel:o})}function ca(t,e,r){const n=r!=null&&r.standalone?void 0:Pt(Xe),a=r==null?void 0:r.checkedValue,s=r==null?void 0:r.uncheckedValue;function i(o){const c=o.handleChange,d=A(()=>{const x=I(o.value),N=I(a);return Array.isArray(x)?x.findIndex(S=>ee(S,N))>=0:ee(N,x)});function v(x,N=!0){var S,L;if(d.value===((S=x==null?void 0:x.target)===null||S===void 0?void 0:S.checked)){N&&o.validate();return}const ve=I(t),E=n==null?void 0:n.getPathState(ve),se=_t(x);let X=(L=I(a))!==null&&L!==void 0?L:se;n&&(E!=null&&E.multiple)&&E.type==="checkbox"?X=jr(ne(n.values,ve)||[],X,void 0):(r==null?void 0:r.type)==="checkbox"&&(X=jr(I(o.value),X,I(s))),c(X,N)}return Object.assign(Object.assign({},o),{checked:d,checkedValue:a,uncheckedValue:s,handleChange:v})}return i(Qr(t,e,r))}function fa({prop:t,value:e,handleChange:r,shouldValidate:n}){const a=jt();if(!a||!t)return;const s=typeof t=="string"?t:"modelValue",i=`update:${s}`;s in a.props&&($e(e,o=>{ee(o,er(a,s))||a.emit(i,o)}),$e(()=>er(a,s),o=>{if(o===yt&&e.value===void 0)return;const c=o===yt?void 0:o;ee(c,e.value)||r(c,n())}))}function er(t,e){if(t)return t.props[e]}const ha=Te({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>Ze().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:yt},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(t,e){const r=et(t,"rules"),n=et(t,"name"),a=et(t,"label"),s=et(t,"uncheckedValue"),i=et(t,"keepValue"),{errors:o,value:c,errorMessage:d,validate:v,handleChange:x,handleBlur:N,setTouched:S,resetField:L,handleReset:ve,meta:E,checked:se,setErrors:X}=ua(n,r,{validateOnMount:t.validateOnMount,bails:t.bails,standalone:t.standalone,type:e.attrs.type,initialValue:ma(t,e),checkedValue:e.attrs.value,uncheckedValue:s,label:a,validateOnValueUpdate:t.validateOnModelUpdate,keepValueOnUnmount:i,syncVModel:!0}),oe=function(G,H=!0){x(G,H)},me=A(()=>{const{validateOnInput:q,validateOnChange:G,validateOnBlur:H,validateOnModelUpdate:Ee}=va(t);function Le(P){N(P,H),J(e.attrs.onBlur)&&e.attrs.onBlur(P)}function ye(P){oe(P,q),J(e.attrs.onInput)&&e.attrs.onInput(P)}function ue(P){oe(P,G),J(e.attrs.onChange)&&e.attrs.onChange(P)}const de={name:t.name,onBlur:Le,onInput:ye,onChange:ue};return de["onUpdate:modelValue"]=P=>oe(P,Ee),de}),pe=A(()=>{const q=Object.assign({},me.value);lt(e.attrs.type)&&se&&(q.checked=se.value);const G=Rr(t,e);return Un(G,e.attrs)&&(q.value=c.value),q}),D=A(()=>Object.assign(Object.assign({},me.value),{modelValue:c.value}));function Ce(){return{field:pe.value,componentField:D.value,value:c.value,meta:E,errors:o.value,errorMessage:d.value,validate:v,resetField:L,handleChange:oe,handleInput:q=>oe(q,!1),handleReset:ve,handleBlur:me.value.onBlur,setTouched:S,setErrors:X}}return e.expose({value:c,meta:E,errors:o,errorMessage:d,setErrors:X,setTouched:S,reset:L,validate:v,handleChange:x}),()=>{const q=Dr(Rr(t,e)),G=Hr(q,e,Ce);return q?Jt(q,Object.assign(Object.assign({},e.attrs),pe.value),G):G}}});function Rr(t,e){let r=t.as||"";return!t.as&&!e.slots.default&&(r="input"),r}function va(t){var e,r,n,a;const{validateOnInput:s,validateOnChange:i,validateOnBlur:o,validateOnModelUpdate:c}=Ze();return{validateOnInput:(e=t.validateOnInput)!==null&&e!==void 0?e:s,validateOnChange:(r=t.validateOnChange)!==null&&r!==void 0?r:i,validateOnBlur:(n=t.validateOnBlur)!==null&&n!==void 0?n:o,validateOnModelUpdate:(a=t.validateOnModelUpdate)!==null&&a!==void 0?a:c}}function ma(t,e){return lt(e.attrs.type)?Tr(t,"modelValue")?t.modelValue:void 0:Tr(t,"modelValue")?t.modelValue:e.attrs.value}const Qa=ha;let pa=0;const ft=["bails","fieldsCount","id","multiple","type","validate"];function en(t){const e=Object.assign({},I((t==null?void 0:t.initialValues)||{})),r=w(t==null?void 0:t.validationSchema);return r&&he(r)&&J(r.cast)?U(r.cast(e)||{}):U(e)}function es(t){var e;const r=pa++;let n=0;const a=fe(!1),s=fe(!1),i=fe(0),o=[],c=vt(en(t)),d=fe([]),v=fe({}),x=fe({}),N=Dn(()=>{x.value=d.value.reduce((u,l)=>(u[tt(I(l.path))]=l,u),{})});function S(u,l){const f=P(u);if(!f){typeof u=="string"&&(v.value[tt(u)]=Qt(l));return}if(typeof u=="string"){const m=tt(u);v.value[m]&&delete v.value[m]}f.errors=Qt(l),f.valid=!f.errors.length}function L(u){ie(u).forEach(l=>{S(l,u[l])})}t!=null&&t.initialErrors&&L(t.initialErrors);const ve=A(()=>{const u=d.value.reduce((l,f)=>(f.errors.length&&(l[f.path]=f.errors),l),{});return Object.assign(Object.assign({},v.value),u)}),E=A(()=>ie(ve.value).reduce((u,l)=>{const f=ve.value[l];return f!=null&&f.length&&(u[l]=f[0]),u},{})),se=A(()=>d.value.reduce((u,l)=>(u[l.path]={name:l.path||"",label:l.label||""},u),{})),X=A(()=>d.value.reduce((u,l)=>{var f;return u[l.path]=(f=l.bails)!==null&&f!==void 0?f:!0,u},{})),oe=Object.assign({},(t==null?void 0:t.initialErrors)||{}),me=(e=t==null?void 0:t.keepValuesOnUnmount)!==null&&e!==void 0?e:!1,{initialValues:pe,originalInitialValues:D,setInitialValues:Ce}=ga(d,c,t),q=ya(d,c,D,E),G=A(()=>d.value.reduce((u,l)=>{const f=ne(c,l.path);return Ae(u,l.path,f),u},{})),H=t==null?void 0:t.validationSchema;function Ee(u,l){var f,m;const O=A(()=>ne(pe.value,I(u))),_=x.value[I(u)],R=(l==null?void 0:l.type)==="checkbox"||(l==null?void 0:l.type)==="radio";if(_&&R){_.multiple=!0;const ce=n++;return Array.isArray(_.id)?_.id.push(ce):_.id=[_.id,ce],_.fieldsCount++,_.__flags.pendingUnmount[ce]=!1,_}const z=A(()=>ne(c,I(u))),W=I(u),Q=je.findIndex(ce=>ce===W);Q!==-1&&je.splice(Q,1);const B=A(()=>{var ce,Qe,zt,Or,Wt,qt;return he(H)?(zt=(Qe=(ce=H).describe)===null||Qe===void 0?void 0:Qe.call(ce,I(u)).required)!==null&&zt!==void 0?zt:!1:he(l==null?void 0:l.schema)&&(qt=(Wt=(Or=l==null?void 0:l.schema).describe)===null||Wt===void 0?void 0:Wt.call(Or).required)!==null&&qt!==void 0?qt:!1}),Y=n++,re=vt({id:Y,path:u,touched:!1,pending:!1,valid:!0,validated:!!(!((f=oe[W])===null||f===void 0)&&f.length),required:B,initialValue:O,errors:bn([]),bails:(m=l==null?void 0:l.bails)!==null&&m!==void 0?m:!1,label:l==null?void 0:l.label,type:(l==null?void 0:l.type)||"default",value:z,multiple:!1,__flags:{pendingUnmount:{[Y]:!1},pendingReset:!1},fieldsCount:1,validate:l==null?void 0:l.validate,dirty:A(()=>!ee(w(z),w(O)))});return d.value.push(re),x.value[W]=re,N(),E.value[W]&&!oe[W]&&_e(()=>{Me(W,{mode:"silent"})}),mt(u)&&$e(u,ce=>{N();const Qe=U(z.value);x.value[ce]=re,_e(()=>{Ae(c,ce,Qe)})}),re}const Le=Ar(kr,5),ye=Ar(kr,5),ue=Kt(async u=>await(u==="silent"?Le():ye()),(u,[l])=>{const f=ie(C.errorBag.value),O=[...new Set([...ie(u.results),...d.value.map(_=>_.path),...f])].sort().reduce((_,R)=>{var z;const W=R,Q=P(W)||$t(W),B=((z=u.results[W])===null||z===void 0?void 0:z.errors)||[],Y=I(Q==null?void 0:Q.path)||W,re=_a({errors:B,valid:!B.length},_.results[Y]);return _.results[Y]=re,re.valid||(_.errors[Y]=re.errors[0]),Q&&v.value[Y]&&delete v.value[Y],Q?(Q.valid=re.valid,l==="silent"||l==="validated-only"&&!Q.validated||S(Q,re.errors),_):(S(Y,B),_)},{valid:u.valid,results:{},errors:{}});return u.values&&(O.values=u.values),ie(O.results).forEach(_=>{var R;const z=P(_);z&&l!=="silent"&&(l==="validated-only"&&!z.validated||S(z,(R=O.results[_])===null||R===void 0?void 0:R.errors))}),O});function de(u){d.value.forEach(u)}function P(u){const l=typeof u=="string"?tt(u):u;return typeof l=="string"?x.value[l]:l}function $t(u){return d.value.filter(f=>u.startsWith(f.path)).reduce((f,m)=>f?m.path.length>f.path.length?m:f:m,void 0)}let je=[],Re;function Ke(u){return je.push(u),Re||(Re=_e(()=>{[...je].sort().reverse().forEach(f=>{Er(c,f)}),je=[],Re=null})),Re}function dt(u){return function(f,m){return function(_){return _ instanceof Event&&(_.preventDefault(),_.stopPropagation()),de(R=>R.touched=!0),a.value=!0,i.value++,De().then(R=>{const z=U(c);if(R.valid&&typeof f=="function"){const W=U(G.value);let Q=u?W:z;return R.values&&(Q=R.values),f(Q,{evt:_,controlledValues:W,setErrors:L,setFieldError:S,setTouched:Ut,setFieldTouched:le,setValues:Oe,setFieldValue:$,resetForm:Ft,resetField:br})}!R.valid&&typeof m=="function"&&m({values:z,evt:_,errors:R.errors,results:R.results})}).then(R=>(a.value=!1,R),R=>{throw a.value=!1,R})}}}const K=dt(!1);K.withControlled=dt(!0);function Bt(u,l){const f=d.value.findIndex(O=>O.path===u&&(Array.isArray(O.id)?O.id.includes(l):O.id===l)),m=d.value[f];if(!(f===-1||!m)){if(_e(()=>{Me(u,{mode:"silent",warn:!1})}),m.multiple&&m.fieldsCount&&m.fieldsCount--,Array.isArray(m.id)){const O=m.id.indexOf(l);O>=0&&m.id.splice(O,1),delete m.__flags.pendingUnmount[l]}(!m.multiple||m.fieldsCount<=0)&&(d.value.splice(f,1),xr(u),N(),delete x.value[u])}}function g(u){ie(x.value).forEach(l=>{l.startsWith(u)&&delete x.value[l]}),d.value=d.value.filter(l=>!l.path.startsWith(u)),_e(()=>{N()})}const C={formId:r,values:c,controlledValues:G,errorBag:ve,errors:E,schema:H,submitCount:i,meta:q,isSubmitting:a,isValidating:s,fieldArrays:o,keepValuesOnUnmount:me,validateSchema:w(H)?ue:void 0,validate:De,setFieldError:S,validateField:Me,setFieldValue:$,setValues:Oe,setErrors:L,setFieldTouched:le,setTouched:Ut,resetForm:Ft,resetField:br,handleSubmit:K,useFieldModel:vn,defineInputBinds:mn,defineComponentBinds:pn,defineField:Dt,stageInitialValue:fn,unsetInitialValue:xr,setFieldInitialValue:Lt,createPathState:Ee,getPathState:P,unsetPathValue:Ke,removePathState:Bt,initialValues:pe,getAllPathStates:()=>d.value,destroyPath:g,isFieldTouched:un,isFieldDirty:dn,isFieldValid:cn};function $(u,l,f=!0){const m=U(l),O=typeof u=="string"?u:u.path;P(O)||Ee(O),Ae(c,O,m),f&&Me(O)}function Z(u,l=!0){ie(c).forEach(f=>{delete c[f]}),ie(u).forEach(f=>{$(f,u[f],!1)}),l&&De()}function Oe(u,l=!0){nt(c,u),o.forEach(f=>f&&f.reset()),l&&De()}function ge(u,l){const f=P(I(u))||Ee(u);return A({get(){return f.value},set(m){var O;const _=I(u);$(_,m,(O=I(l))!==null&&O!==void 0?O:!1)}})}function le(u,l){const f=P(u);f&&(f.touched=l)}function un(u){const l=P(u);return l?l.touched:d.value.filter(f=>f.path.startsWith(u)).some(f=>f.touched)}function dn(u){const l=P(u);return l?l.dirty:d.value.filter(f=>f.path.startsWith(u)).some(f=>f.dirty)}function cn(u){const l=P(u);return l?l.valid:d.value.filter(f=>f.path.startsWith(u)).every(f=>f.valid)}function Ut(u){if(typeof u=="boolean"){de(l=>{l.touched=u});return}ie(u).forEach(l=>{le(l,!!u[l])})}function br(u,l){var f;const m=l&&"value"in l?l.value:ne(pe.value,u),O=P(u);O&&(O.__flags.pendingReset=!0),Lt(u,U(m),!0),$(u,m,!1),le(u,(f=l==null?void 0:l.touched)!==null&&f!==void 0?f:!1),S(u,(l==null?void 0:l.errors)||[]),_e(()=>{O&&(O.__flags.pendingReset=!1)})}function Ft(u,l){let f=U(u!=null&&u.values?u.values:D.value);f=l!=null&&l.force?f:nt(D.value,f),f=he(H)&&J(H.cast)?H.cast(f):f,Ce(f),de(m=>{var O;m.__flags.pendingReset=!0,m.validated=!1,m.touched=((O=u==null?void 0:u.touched)===null||O===void 0?void 0:O[m.path])||!1,$(m.path,ne(f,m.path),!1),S(m.path,void 0)}),l!=null&&l.force?Z(f,!1):Oe(f,!1),L((u==null?void 0:u.errors)||{}),i.value=(u==null?void 0:u.submitCount)||0,_e(()=>{De({mode:"silent"}),de(m=>{m.__flags.pendingReset=!1})})}async function De(u){const l=(u==null?void 0:u.mode)||"force";if(l==="force"&&de(_=>_.validated=!0),C.validateSchema)return C.validateSchema(l);s.value=!0;const f=await Promise.all(d.value.map(_=>_.validate?_.validate(u).then(R=>({key:_.path,valid:R.valid,errors:R.errors})):Promise.resolve({key:_.path,valid:!0,errors:[]})));s.value=!1;const m={},O={};for(const _ of f)m[_.key]={valid:_.valid,errors:_.errors},_.errors.length&&(O[_.key]=_.errors[0]);return{valid:f.every(_=>_.valid),results:m,errors:O}}async function Me(u,l){var f;const m=P(u);if(m&&(l==null?void 0:l.mode)!=="silent"&&(m.validated=!0),H){const{results:O}=await ue((l==null?void 0:l.mode)||"validated-only");return O[u]||{errors:[],valid:!0}}return m!=null&&m.validate?m.validate(l):(!m&&(f=l==null?void 0:l.warn),Promise.resolve({errors:[],valid:!0}))}function xr(u){Er(pe.value,u)}function fn(u,l,f=!1){Lt(u,l),Ae(c,u,l),f&&!(t!=null&&t.initialValues)&&Ae(D.value,u,U(l))}function Lt(u,l,f=!1){Ae(pe.value,u,U(l)),f&&Ae(D.value,u,U(l))}async function kr(){const u=w(H);if(!u)return{valid:!0,results:{},errors:{}};s.value=!0;const l=gt(u)||he(u)?await ra(u,c):await na(u,c,{names:se.value,bailsMap:X.value});return s.value=!1,l}const hn=K((u,{evt:l})=>{Fn(l)&&l.target.submit()});Lr(()=>{if(t!=null&&t.initialErrors&&L(t.initialErrors),t!=null&&t.initialTouched&&Ut(t.initialTouched),t!=null&&t.validateOnMount){De();return}C.validateSchema&&C.validateSchema("silent")}),mt(H)&&$e(H,()=>{var u;(u=C.validateSchema)===null||u===void 0||u.call(C,"validated-only")}),hr(Xe,C);function Dt(u,l){const f=J(l)||l==null?void 0:l.label,m=P(I(u))||Ee(u,{label:f}),O=()=>J(l)?l(ct(m,ft)):l||{};function _(){var B;m.touched=!0,((B=O().validateOnBlur)!==null&&B!==void 0?B:Ze().validateOnBlur)&&Me(m.path)}function R(){var B;((B=O().validateOnInput)!==null&&B!==void 0?B:Ze().validateOnInput)&&_e(()=>{Me(m.path)})}function z(){var B;((B=O().validateOnChange)!==null&&B!==void 0?B:Ze().validateOnChange)&&_e(()=>{Me(m.path)})}const W=A(()=>{const B={onChange:z,onInput:R,onBlur:_};return J(l)?Object.assign(Object.assign({},B),l(ct(m,ft)).props||{}):l!=null&&l.props?Object.assign(Object.assign({},B),l.props(ct(m,ft))):B});return[ge(u,()=>{var B,Y,re;return(re=(B=O().validateOnModelUpdate)!==null&&B!==void 0?B:(Y=Ze())===null||Y===void 0?void 0:Y.validateOnModelUpdate)!==null&&re!==void 0?re:!0}),W]}function vn(u){return Array.isArray(u)?u.map(l=>ge(l,!0)):ge(u)}function mn(u,l){const[f,m]=Dt(u,l);function O(){m.value.onBlur()}function _(z){const W=_t(z);$(I(u),W,!1),m.value.onInput()}function R(z){const W=_t(z);$(I(u),W,!1),m.value.onChange()}return A(()=>Object.assign(Object.assign({},m.value),{onBlur:O,onInput:_,onChange:R,value:f.value}))}function pn(u,l){const[f,m]=Dt(u,l),O=P(I(u));function _(R){f.value=R}return A(()=>{const R=J(l)?l(ct(O,ft)):l||{};return Object.assign({[R.model||"modelValue"]:f.value,[`onUpdate:${R.model||"modelValue"}`]:_},m.value)})}return Object.assign(Object.assign({},C),{values:gn(c),handleReset:()=>Ft(),submitForm:hn})}function ya(t,e,r,n){const a={touched:"some",pending:"some",valid:"every"},s=A(()=>!ee(e,w(r)));function i(){const c=t.value;return ie(a).reduce((d,v)=>{const x=a[v];return d[v]=c[x](N=>N[v]),d},{})}const o=vt(i());return _n(()=>{const c=i();o.touched=c.touched,o.valid=c.valid,o.pending=c.pending}),A(()=>Object.assign(Object.assign({initialValues:w(r)},o),{valid:o.valid&&!ie(n.value).length,dirty:s.value}))}function ga(t,e,r){const n=en(r),a=fe(n),s=fe(U(n));function i(o,c=!1){a.value=nt(U(a.value)||{},U(o)),s.value=nt(U(s.value)||{},U(o)),c&&t.value.forEach(d=>{if(d.touched)return;const x=ne(a.value,d.path);Ae(e,d.path,U(x))})}return{initialValues:a,originalInitialValues:s,setInitialValues:i}}function _a(t,e){return e?{valid:t.valid&&e.valid,errors:[...t.errors,...e.errors]}:t}const ba=Te({name:"ErrorMessage",props:{as:{type:String,default:void 0},name:{type:String,required:!0}},setup(t,e){const r=qe(Xe,void 0),n=A(()=>r==null?void 0:r.errors.value[t.name]);function a(){return{message:n.value}}return()=>{if(!n.value)return;const s=t.as?Dr(t.as):t.as,i=Hr(s,e,a),o=Object.assign({role:"alert"},e.attrs);return!s&&(Array.isArray(i)||!i)&&(i!=null&&i.length)?i:(Array.isArray(i)||!i)&&!(i!=null&&i.length)?Jt(s||"span",o,n.value):Jt(s,o,i)}}}),xa=ba;function ka(t){const e=pr(t);return A(()=>{var r,n;return e&&(n="meta"in e?e.meta.dirty:(r=e==null?void 0:e.value)===null||r===void 0?void 0:r.dirty)!==null&&n!==void 0?n:!1})}function Oa(t){const e=pr(t);return A(()=>{var r,n;return e&&(n="meta"in e?e.meta.touched:(r=e==null?void 0:e.value)===null||r===void 0?void 0:r.touched)!==null&&n!==void 0?n:!1})}function wa(t){const e=pr(t);return A(()=>{var r,n;return e&&(n="meta"in e?e.meta.valid:(r=e==null?void 0:e.value)===null||r===void 0?void 0:r.valid)!==null&&n!==void 0?n:!1})}function Sa(t){const e=Pt(Xe),r=t?void 0:qe(Rt);return A(()=>t?e==null?void 0:e.errors.value[I(t)]:r==null?void 0:r.errorMessage.value)}const tn=Symbol(),ts=Te({__name:"FormItem",props:{class:{}},setup(t){const e=t,r=kn();return hr(tn,r),(n,a)=>(Fe(),vr("div",{class:At(w(It)("space-y-2",e.class))},[ot(n.$slots,"default")],2))}});function yr(){const t=qe(Rt),e=qe(tn),r={valid:wa(),isDirty:ka(),isTouched:Oa(),error:Sa()};if(!t)throw new Error("useFormField should be used within ");const{name:n}=t,a=e;return{id:a,name:n,formItemId:`${a}-form-item`,formDescriptionId:`${a}-form-item-description`,formMessageId:`${a}-form-item-message`,...r}}const rs=Te({__name:"FormLabel",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,{error:r,formItemId:n}=yr();return(a,s)=>(Fe(),Nt(w(En),{class:At(w(It)(w(r)&&"text-destructive",e.class)),for:w(n)},{default:pt(()=>[ot(a.$slots,"default")]),_:3},8,["class","for"]))}}),ns=Te({__name:"FormControl",setup(t){const{error:e,formItemId:r,formDescriptionId:n,formMessageId:a}=yr();return(s,i)=>(Fe(),Nt(w(On),{id:w(r),"aria-describedby":w(e)?`${w(n)} ${w(a)}`:`${w(n)}`,"aria-invalid":!!w(e)},{default:pt(()=>[ot(s.$slots,"default")]),_:3},8,["id","aria-describedby","aria-invalid"]))}}),as=Te({__name:"FormMessage",setup(t){const{name:e,formMessageId:r}=yr();return(n,a)=>(Fe(),Nt(w(xa),{id:w(r),as:"p",name:I(w(e)),class:"text-[0.8rem] font-medium text-destructive"},null,8,["id","name"]))}});var M;(function(t){t.assertEqual=a=>a;function e(a){}t.assertIs=e;function r(a){throw new Error}t.assertNever=r,t.arrayToEnum=a=>{const s={};for(const i of a)s[i]=i;return s},t.getValidEnumValues=a=>{const s=t.objectKeys(a).filter(o=>typeof a[a[o]]!="number"),i={};for(const o of s)i[o]=a[o];return t.objectValues(i)},t.objectValues=a=>t.objectKeys(a).map(function(s){return a[s]}),t.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const s=[];for(const i in a)Object.prototype.hasOwnProperty.call(a,i)&&s.push(i);return s},t.find=(a,s)=>{for(const i of a)if(s(i))return i},t.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&isFinite(a)&&Math.floor(a)===a;function n(a,s=" | "){return a.map(i=>typeof i=="string"?`'${i}'`:i).join(s)}t.joinValues=n,t.jsonStringifyReplacer=(a,s)=>typeof s=="bigint"?s.toString():s})(M||(M={}));var Mr;(function(t){t.mergeShapes=(e,r)=>({...e,...r})})(Mr||(Mr={}));const p=M.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Pe=t=>{switch(typeof t){case"undefined":return p.undefined;case"string":return p.string;case"number":return isNaN(t)?p.nan:p.number;case"boolean":return p.boolean;case"function":return p.function;case"bigint":return p.bigint;case"symbol":return p.symbol;case"object":return Array.isArray(t)?p.array:t===null?p.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?p.promise:typeof Map<"u"&&t instanceof Map?p.map:typeof Set<"u"&&t instanceof Set?p.set:typeof Date<"u"&&t instanceof Date?p.date:p.object;default:return p.unknown}},h=M.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class be extends Error{constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const r=e||function(s){return s.message},n={_errors:[]},a=s=>{for(const i of s.issues)if(i.code==="invalid_union")i.unionErrors.map(a);else if(i.code==="invalid_return_type")a(i.returnTypeError);else if(i.code==="invalid_arguments")a(i.argumentsError);else if(i.path.length===0)n._errors.push(r(i));else{let o=n,c=0;for(;cr.message){const r={},n=[];for(const a of this.issues)a.path.length>0?(r[a.path[0]]=r[a.path[0]]||[],r[a.path[0]].push(e(a))):n.push(e(a));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}be.create=t=>new be(t);const bt=(t,e)=>{let r;switch(t.code){case h.invalid_type:t.received===p.undefined?r="Required":r=`Expected ${t.expected}, received ${t.received}`;break;case h.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(t.expected,M.jsonStringifyReplacer)}`;break;case h.unrecognized_keys:r=`Unrecognized key(s) in object: ${M.joinValues(t.keys,", ")}`;break;case h.invalid_union:r="Invalid input";break;case h.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${M.joinValues(t.options)}`;break;case h.invalid_enum_value:r=`Invalid enum value. Expected ${M.joinValues(t.options)}, received '${t.received}'`;break;case h.invalid_arguments:r="Invalid function arguments";break;case h.invalid_return_type:r="Invalid function return type";break;case h.invalid_date:r="Invalid date";break;case h.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(r=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?r=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?r=`Invalid input: must end with "${t.validation.endsWith}"`:M.assertNever(t.validation):t.validation!=="regex"?r=`Invalid ${t.validation}`:r="Invalid";break;case h.too_small:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:r="Invalid input";break;case h.too_big:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?r=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:r="Invalid input";break;case h.custom:r="Invalid input";break;case h.invalid_intersection_types:r="Intersection results could not be merged";break;case h.not_multiple_of:r=`Number must be a multiple of ${t.multipleOf}`;break;case h.not_finite:r="Number must be finite";break;default:r=e.defaultError,M.assertNever(t)}return{message:r}};let Va=bt;function tr(){return Va}const rr=t=>{const{data:e,path:r,errorMaps:n,issueData:a}=t,s=[...r,...a.path||[]],i={...a,path:s};let o="";const c=n.filter(d=>!!d).slice().reverse();for(const d of c)o=d(i,{data:e,defaultError:o}).message;return{...a,path:s,message:a.message||o}};function y(t,e){const r=rr({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,tr(),bt].filter(n=>!!n)});t.common.issues.push(r)}class te{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,r){const n=[];for(const a of r){if(a.status==="aborted")return T;a.status==="dirty"&&e.dirty(),n.push(a.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,r){const n=[];for(const a of r)n.push({key:await a.key,value:await a.value});return te.mergeObjectSync(e,n)}static mergeObjectSync(e,r){const n={};for(const a of r){const{key:s,value:i}=a;if(s.status==="aborted"||i.status==="aborted")return T;s.status==="dirty"&&e.dirty(),i.status==="dirty"&&e.dirty(),s.value!=="__proto__"&&(typeof i.value<"u"||a.alwaysSet)&&(n[s.value]=i.value)}return{status:e.value,value:n}}}const T=Object.freeze({status:"aborted"}),Ta=t=>({status:"dirty",value:t}),ae=t=>({status:"valid",value:t}),Pr=t=>t.status==="aborted",Zr=t=>t.status==="dirty",xt=t=>t.status==="valid",nr=t=>typeof Promise<"u"&&t instanceof Promise;var b;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(b||(b={}));class ke{constructor(e,r,n,a){this._cachedPath=[],this.parent=e,this.data=r,this._path=n,this._key=a}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const $r=(t,e)=>{if(xt(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new be(t.common.issues);return this._error=r,this._error}}};function V(t){if(!t)return{};const{errorMap:e,invalid_type_error:r,required_error:n,description:a}=t;if(e&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:a}:{errorMap:(i,o)=>i.code!=="invalid_type"?{message:o.defaultError}:typeof o.data>"u"?{message:n??o.defaultError}:{message:r??o.defaultError},description:a}}class j{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return Pe(e.data)}_getOrReturnCtx(e,r){return r||{common:e.parent.common,data:e.data,parsedType:Pe(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new te,ctx:{common:e.parent.common,data:e.data,parsedType:Pe(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const r=this._parse(e);if(nr(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(e){const r=this._parse(e);return Promise.resolve(r)}parse(e,r){const n=this.safeParse(e,r);if(n.success)return n.data;throw n.error}safeParse(e,r){var n;const a={common:{issues:[],async:(n=r==null?void 0:r.async)!==null&&n!==void 0?n:!1,contextualErrorMap:r==null?void 0:r.errorMap},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Pe(e)},s=this._parseSync({data:e,path:a.path,parent:a});return $r(a,s)}async parseAsync(e,r){const n=await this.safeParseAsync(e,r);if(n.success)return n.data;throw n.error}async safeParseAsync(e,r){const n={common:{issues:[],contextualErrorMap:r==null?void 0:r.errorMap,async:!0},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Pe(e)},a=this._parse({data:e,path:n.path,parent:n}),s=await(nr(a)?a:Promise.resolve(a));return $r(n,s)}refine(e,r){const n=a=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(a):r;return this._refinement((a,s)=>{const i=e(a),o=()=>s.addIssue({code:h.custom,...n(a)});return typeof Promise<"u"&&i instanceof Promise?i.then(c=>c?!0:(o(),!1)):i?!0:(o(),!1)})}refinement(e,r){return this._refinement((n,a)=>e(n)?!0:(a.addIssue(typeof r=="function"?r(n,a):r),!1))}_refinement(e){return new Ve({schema:this,typeName:k.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Ie.create(this,this._def)}nullable(){return Je.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return xe.create(this,this._def)}promise(){return st.create(this,this._def)}or(e){return wt.create([this,e],this._def)}and(e){return St.create(this,e,this._def)}transform(e){return new Ve({...V(this._def),schema:this,typeName:k.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const r=typeof e=="function"?e:()=>e;return new it({...V(this._def),innerType:this,defaultValue:r,typeName:k.ZodDefault})}brand(){return new Ba({typeName:k.ZodBranded,type:this,...V(this._def)})}catch(e){const r=typeof e=="function"?e:()=>e;return new dr({...V(this._def),innerType:this,catchValue:r,typeName:k.ZodCatch})}describe(e){const r=this.constructor;return new r({...this._def,description:e})}pipe(e){return Zt.create(this,e)}readonly(){return fr.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Ca=/^c[^\s-]{8,}$/i,Ea=/^[a-z][a-z0-9]*$/,ja=/^[0-9A-HJKMNP-TV-Z]{26}$/,Aa=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Ia=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Na="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Yt;const Ra=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,Ma=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,Pa=t=>t.precision?t.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${t.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${t.precision}}Z$`):t.precision===0?t.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):t.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function Za(t,e){return!!((e==="v4"||!e)&&Ra.test(t)||(e==="v6"||!e)&&Ma.test(t))}class we extends j{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==p.string){const s=this._getOrReturnCtx(e);return y(s,{code:h.invalid_type,expected:p.string,received:s.parsedType}),T}const n=new te;let a;for(const s of this._def.checks)if(s.kind==="min")e.data.lengths.value&&(a=this._getOrReturnCtx(e,a),y(a,{code:h.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),n.dirty());else if(s.kind==="length"){const i=e.data.length>s.value,o=e.data.lengthe.test(a),{validation:r,code:h.invalid_string,...b.errToObj(n)})}_addCheck(e){return new we({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...b.errToObj(e)})}url(e){return this._addCheck({kind:"url",...b.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...b.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...b.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...b.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...b.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...b.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...b.errToObj(e)})}datetime(e){var r;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(r=e==null?void 0:e.offset)!==null&&r!==void 0?r:!1,...b.errToObj(e==null?void 0:e.message)})}regex(e,r){return this._addCheck({kind:"regex",regex:e,...b.errToObj(r)})}includes(e,r){return this._addCheck({kind:"includes",value:e,position:r==null?void 0:r.position,...b.errToObj(r==null?void 0:r.message)})}startsWith(e,r){return this._addCheck({kind:"startsWith",value:e,...b.errToObj(r)})}endsWith(e,r){return this._addCheck({kind:"endsWith",value:e,...b.errToObj(r)})}min(e,r){return this._addCheck({kind:"min",value:e,...b.errToObj(r)})}max(e,r){return this._addCheck({kind:"max",value:e,...b.errToObj(r)})}length(e,r){return this._addCheck({kind:"length",value:e,...b.errToObj(r)})}nonempty(e){return this.min(1,b.errToObj(e))}trim(){return new we({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new we({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new we({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get minLength(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxLength(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value{var e;return new we({checks:[],typeName:k.ZodString,coerce:(e=t==null?void 0:t.coerce)!==null&&e!==void 0?e:!1,...V(t)})};function $a(t,e){const r=(t.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,a=r>n?r:n,s=parseInt(t.toFixed(a).replace(".","")),i=parseInt(e.toFixed(a).replace(".",""));return s%i/Math.pow(10,a)}class He extends j{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==p.number){const s=this._getOrReturnCtx(e);return y(s,{code:h.invalid_type,expected:p.number,received:s.parsedType}),T}let n;const a=new te;for(const s of this._def.checks)s.kind==="int"?M.isInteger(e.data)||(n=this._getOrReturnCtx(e,n),y(n,{code:h.invalid_type,expected:"integer",received:"float",message:s.message}),a.dirty()):s.kind==="min"?(s.inclusive?e.datas.value:e.data>=s.value)&&(n=this._getOrReturnCtx(e,n),y(n,{code:h.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="multipleOf"?$a(e.data,s.value)!==0&&(n=this._getOrReturnCtx(e,n),y(n,{code:h.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):s.kind==="finite"?Number.isFinite(e.data)||(n=this._getOrReturnCtx(e,n),y(n,{code:h.not_finite,message:s.message}),a.dirty()):M.assertNever(s);return{status:a.value,value:e.data}}gte(e,r){return this.setLimit("min",e,!0,b.toString(r))}gt(e,r){return this.setLimit("min",e,!1,b.toString(r))}lte(e,r){return this.setLimit("max",e,!0,b.toString(r))}lt(e,r){return this.setLimit("max",e,!1,b.toString(r))}setLimit(e,r,n,a){return new He({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:n,message:b.toString(a)}]})}_addCheck(e){return new He({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:b.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:b.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:b.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:b.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:b.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:b.toString(r)})}finite(e){return this._addCheck({kind:"finite",message:b.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:b.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:b.toString(e)})}get minValue(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.valuee.kind==="int"||e.kind==="multipleOf"&&M.isInteger(e.value))}get isFinite(){let e=null,r=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(e===null||n.valuenew He({checks:[],typeName:k.ZodNumber,coerce:(t==null?void 0:t.coerce)||!1,...V(t)});class Ge extends j{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==p.bigint){const s=this._getOrReturnCtx(e);return y(s,{code:h.invalid_type,expected:p.bigint,received:s.parsedType}),T}let n;const a=new te;for(const s of this._def.checks)s.kind==="min"?(s.inclusive?e.datas.value:e.data>=s.value)&&(n=this._getOrReturnCtx(e,n),y(n,{code:h.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="multipleOf"?e.data%s.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),y(n,{code:h.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):M.assertNever(s);return{status:a.value,value:e.data}}gte(e,r){return this.setLimit("min",e,!0,b.toString(r))}gt(e,r){return this.setLimit("min",e,!1,b.toString(r))}lte(e,r){return this.setLimit("max",e,!0,b.toString(r))}lt(e,r){return this.setLimit("max",e,!1,b.toString(r))}setLimit(e,r,n,a){return new Ge({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:n,message:b.toString(a)}]})}_addCheck(e){return new Ge({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:b.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:b.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:b.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:b.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:b.toString(r)})}get minValue(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value{var e;return new Ge({checks:[],typeName:k.ZodBigInt,coerce:(e=t==null?void 0:t.coerce)!==null&&e!==void 0?e:!1,...V(t)})};class ar extends j{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==p.boolean){const n=this._getOrReturnCtx(e);return y(n,{code:h.invalid_type,expected:p.boolean,received:n.parsedType}),T}return ae(e.data)}}ar.create=t=>new ar({typeName:k.ZodBoolean,coerce:(t==null?void 0:t.coerce)||!1,...V(t)});class at extends j{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==p.date){const s=this._getOrReturnCtx(e);return y(s,{code:h.invalid_type,expected:p.date,received:s.parsedType}),T}if(isNaN(e.data.getTime())){const s=this._getOrReturnCtx(e);return y(s,{code:h.invalid_date}),T}const n=new te;let a;for(const s of this._def.checks)s.kind==="min"?e.data.getTime()s.value&&(a=this._getOrReturnCtx(e,a),y(a,{code:h.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),n.dirty()):M.assertNever(s);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new at({...this._def,checks:[...this._def.checks,e]})}min(e,r){return this._addCheck({kind:"min",value:e.getTime(),message:b.toString(r)})}max(e,r){return this._addCheck({kind:"max",value:e.getTime(),message:b.toString(r)})}get minDate(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.valuenew at({checks:[],coerce:(t==null?void 0:t.coerce)||!1,typeName:k.ZodDate,...V(t)});class sr extends j{_parse(e){if(this._getType(e)!==p.symbol){const n=this._getOrReturnCtx(e);return y(n,{code:h.invalid_type,expected:p.symbol,received:n.parsedType}),T}return ae(e.data)}}sr.create=t=>new sr({typeName:k.ZodSymbol,...V(t)});class kt extends j{_parse(e){if(this._getType(e)!==p.undefined){const n=this._getOrReturnCtx(e);return y(n,{code:h.invalid_type,expected:p.undefined,received:n.parsedType}),T}return ae(e.data)}}kt.create=t=>new kt({typeName:k.ZodUndefined,...V(t)});class Ot extends j{_parse(e){if(this._getType(e)!==p.null){const n=this._getOrReturnCtx(e);return y(n,{code:h.invalid_type,expected:p.null,received:n.parsedType}),T}return ae(e.data)}}Ot.create=t=>new Ot({typeName:k.ZodNull,...V(t)});class ir extends j{constructor(){super(...arguments),this._any=!0}_parse(e){return ae(e.data)}}ir.create=t=>new ir({typeName:k.ZodAny,...V(t)});class We extends j{constructor(){super(...arguments),this._unknown=!0}_parse(e){return ae(e.data)}}We.create=t=>new We({typeName:k.ZodUnknown,...V(t)});class Ne extends j{_parse(e){const r=this._getOrReturnCtx(e);return y(r,{code:h.invalid_type,expected:p.never,received:r.parsedType}),T}}Ne.create=t=>new Ne({typeName:k.ZodNever,...V(t)});class or extends j{_parse(e){if(this._getType(e)!==p.undefined){const n=this._getOrReturnCtx(e);return y(n,{code:h.invalid_type,expected:p.void,received:n.parsedType}),T}return ae(e.data)}}or.create=t=>new or({typeName:k.ZodVoid,...V(t)});class xe extends j{_parse(e){const{ctx:r,status:n}=this._processInputParams(e),a=this._def;if(r.parsedType!==p.array)return y(r,{code:h.invalid_type,expected:p.array,received:r.parsedType}),T;if(a.exactLength!==null){const i=r.data.length>a.exactLength.value,o=r.data.lengtha.maxLength.value&&(y(r,{code:h.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((i,o)=>a.type._parseAsync(new ke(r,i,r.path,o)))).then(i=>te.mergeArray(n,i));const s=[...r.data].map((i,o)=>a.type._parseSync(new ke(r,i,r.path,o)));return te.mergeArray(n,s)}get element(){return this._def.type}min(e,r){return new xe({...this._def,minLength:{value:e,message:b.toString(r)}})}max(e,r){return new xe({...this._def,maxLength:{value:e,message:b.toString(r)}})}length(e,r){return new xe({...this._def,exactLength:{value:e,message:b.toString(r)}})}nonempty(e){return this.min(1,e)}}xe.create=(t,e)=>new xe({type:t,minLength:null,maxLength:null,exactLength:null,typeName:k.ZodArray,...V(e)});function ze(t){if(t instanceof F){const e={};for(const r in t.shape){const n=t.shape[r];e[r]=Ie.create(ze(n))}return new F({...t._def,shape:()=>e})}else return t instanceof xe?new xe({...t._def,type:ze(t.element)}):t instanceof Ie?Ie.create(ze(t.unwrap())):t instanceof Je?Je.create(ze(t.unwrap())):t instanceof Se?Se.create(t.items.map(e=>ze(e))):t}class F extends j{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),r=M.objectKeys(e);return this._cached={shape:e,keys:r}}_parse(e){if(this._getType(e)!==p.object){const d=this._getOrReturnCtx(e);return y(d,{code:h.invalid_type,expected:p.object,received:d.parsedType}),T}const{status:n,ctx:a}=this._processInputParams(e),{shape:s,keys:i}=this._getCached(),o=[];if(!(this._def.catchall instanceof Ne&&this._def.unknownKeys==="strip"))for(const d in a.data)i.includes(d)||o.push(d);const c=[];for(const d of i){const v=s[d],x=a.data[d];c.push({key:{status:"valid",value:d},value:v._parse(new ke(a,x,a.path,d)),alwaysSet:d in a.data})}if(this._def.catchall instanceof Ne){const d=this._def.unknownKeys;if(d==="passthrough")for(const v of o)c.push({key:{status:"valid",value:v},value:{status:"valid",value:a.data[v]}});else if(d==="strict")o.length>0&&(y(a,{code:h.unrecognized_keys,keys:o}),n.dirty());else if(d!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const d=this._def.catchall;for(const v of o){const x=a.data[v];c.push({key:{status:"valid",value:v},value:d._parse(new ke(a,x,a.path,v)),alwaysSet:v in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const d=[];for(const v of c){const x=await v.key;d.push({key:x,value:await v.value,alwaysSet:v.alwaysSet})}return d}).then(d=>te.mergeObjectSync(n,d)):te.mergeObjectSync(n,c)}get shape(){return this._def.shape()}strict(e){return b.errToObj,new F({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(r,n)=>{var a,s,i,o;const c=(i=(s=(a=this._def).errorMap)===null||s===void 0?void 0:s.call(a,r,n).message)!==null&&i!==void 0?i:n.defaultError;return r.code==="unrecognized_keys"?{message:(o=b.errToObj(e).message)!==null&&o!==void 0?o:c}:{message:c}}}:{}})}strip(){return new F({...this._def,unknownKeys:"strip"})}passthrough(){return new F({...this._def,unknownKeys:"passthrough"})}extend(e){return new F({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new F({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:k.ZodObject})}setKey(e,r){return this.augment({[e]:r})}catchall(e){return new F({...this._def,catchall:e})}pick(e){const r={};return M.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(r[n]=this.shape[n])}),new F({...this._def,shape:()=>r})}omit(e){const r={};return M.objectKeys(this.shape).forEach(n=>{e[n]||(r[n]=this.shape[n])}),new F({...this._def,shape:()=>r})}deepPartial(){return ze(this)}partial(e){const r={};return M.objectKeys(this.shape).forEach(n=>{const a=this.shape[n];e&&!e[n]?r[n]=a:r[n]=a.optional()}),new F({...this._def,shape:()=>r})}required(e){const r={};return M.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])r[n]=this.shape[n];else{let s=this.shape[n];for(;s instanceof Ie;)s=s._def.innerType;r[n]=s}}),new F({...this._def,shape:()=>r})}keyof(){return rn(M.objectKeys(this.shape))}}F.create=(t,e)=>new F({shape:()=>t,unknownKeys:"strip",catchall:Ne.create(),typeName:k.ZodObject,...V(e)});F.strictCreate=(t,e)=>new F({shape:()=>t,unknownKeys:"strict",catchall:Ne.create(),typeName:k.ZodObject,...V(e)});F.lazycreate=(t,e)=>new F({shape:t,unknownKeys:"strip",catchall:Ne.create(),typeName:k.ZodObject,...V(e)});class wt extends j{_parse(e){const{ctx:r}=this._processInputParams(e),n=this._def.options;function a(s){for(const o of s)if(o.result.status==="valid")return o.result;for(const o of s)if(o.result.status==="dirty")return r.common.issues.push(...o.ctx.common.issues),o.result;const i=s.map(o=>new be(o.ctx.common.issues));return y(r,{code:h.invalid_union,unionErrors:i}),T}if(r.common.async)return Promise.all(n.map(async s=>{const i={...r,common:{...r.common,issues:[]},parent:null};return{result:await s._parseAsync({data:r.data,path:r.path,parent:i}),ctx:i}})).then(a);{let s;const i=[];for(const c of n){const d={...r,common:{...r.common,issues:[]},parent:null},v=c._parseSync({data:r.data,path:r.path,parent:d});if(v.status==="valid")return v;v.status==="dirty"&&!s&&(s={result:v,ctx:d}),d.common.issues.length&&i.push(d.common.issues)}if(s)return r.common.issues.push(...s.ctx.common.issues),s.result;const o=i.map(c=>new be(c));return y(r,{code:h.invalid_union,unionErrors:o}),T}}get options(){return this._def.options}}wt.create=(t,e)=>new wt({options:t,typeName:k.ZodUnion,...V(e)});const ht=t=>t instanceof Tt?ht(t.schema):t instanceof Ve?ht(t.innerType()):t instanceof Ct?[t.value]:t instanceof Ue?t.options:t instanceof Et?Object.keys(t.enum):t instanceof it?ht(t._def.innerType):t instanceof kt?[void 0]:t instanceof Ot?[null]:null;class gr extends j{_parse(e){const{ctx:r}=this._processInputParams(e);if(r.parsedType!==p.object)return y(r,{code:h.invalid_type,expected:p.object,received:r.parsedType}),T;const n=this.discriminator,a=r.data[n],s=this.optionsMap.get(a);return s?r.common.async?s._parseAsync({data:r.data,path:r.path,parent:r}):s._parseSync({data:r.data,path:r.path,parent:r}):(y(r,{code:h.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),T)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,r,n){const a=new Map;for(const s of r){const i=ht(s.shape[e]);if(!i)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const o of i){if(a.has(o))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);a.set(o,s)}}return new gr({typeName:k.ZodDiscriminatedUnion,discriminator:e,options:r,optionsMap:a,...V(n)})}}function lr(t,e){const r=Pe(t),n=Pe(e);if(t===e)return{valid:!0,data:t};if(r===p.object&&n===p.object){const a=M.objectKeys(e),s=M.objectKeys(t).filter(o=>a.indexOf(o)!==-1),i={...t,...e};for(const o of s){const c=lr(t[o],e[o]);if(!c.valid)return{valid:!1};i[o]=c.data}return{valid:!0,data:i}}else if(r===p.array&&n===p.array){if(t.length!==e.length)return{valid:!1};const a=[];for(let s=0;s{if(Pr(s)||Pr(i))return T;const o=lr(s.value,i.value);return o.valid?((Zr(s)||Zr(i))&&r.dirty(),{status:r.value,value:o.data}):(y(n,{code:h.invalid_intersection_types}),T)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([s,i])=>a(s,i)):a(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}St.create=(t,e,r)=>new St({left:t,right:e,typeName:k.ZodIntersection,...V(r)});class Se extends j{_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==p.array)return y(n,{code:h.invalid_type,expected:p.array,received:n.parsedType}),T;if(n.data.lengththis._def.items.length&&(y(n,{code:h.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const s=[...n.data].map((i,o)=>{const c=this._def.items[o]||this._def.rest;return c?c._parse(new ke(n,i,n.path,o)):null}).filter(i=>!!i);return n.common.async?Promise.all(s).then(i=>te.mergeArray(r,i)):te.mergeArray(r,s)}get items(){return this._def.items}rest(e){return new Se({...this._def,rest:e})}}Se.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Se({items:t,typeName:k.ZodTuple,rest:null,...V(e)})};class Vt extends j{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==p.object)return y(n,{code:h.invalid_type,expected:p.object,received:n.parsedType}),T;const a=[],s=this._def.keyType,i=this._def.valueType;for(const o in n.data)a.push({key:s._parse(new ke(n,o,n.path,o)),value:i._parse(new ke(n,n.data[o],n.path,o))});return n.common.async?te.mergeObjectAsync(r,a):te.mergeObjectSync(r,a)}get element(){return this._def.valueType}static create(e,r,n){return r instanceof j?new Vt({keyType:e,valueType:r,typeName:k.ZodRecord,...V(n)}):new Vt({keyType:we.create(),valueType:e,typeName:k.ZodRecord,...V(r)})}}class ur extends j{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==p.map)return y(n,{code:h.invalid_type,expected:p.map,received:n.parsedType}),T;const a=this._def.keyType,s=this._def.valueType,i=[...n.data.entries()].map(([o,c],d)=>({key:a._parse(new ke(n,o,n.path,[d,"key"])),value:s._parse(new ke(n,c,n.path,[d,"value"]))}));if(n.common.async){const o=new Map;return Promise.resolve().then(async()=>{for(const c of i){const d=await c.key,v=await c.value;if(d.status==="aborted"||v.status==="aborted")return T;(d.status==="dirty"||v.status==="dirty")&&r.dirty(),o.set(d.value,v.value)}return{status:r.value,value:o}})}else{const o=new Map;for(const c of i){const d=c.key,v=c.value;if(d.status==="aborted"||v.status==="aborted")return T;(d.status==="dirty"||v.status==="dirty")&&r.dirty(),o.set(d.value,v.value)}return{status:r.value,value:o}}}}ur.create=(t,e,r)=>new ur({valueType:e,keyType:t,typeName:k.ZodMap,...V(r)});class Ye extends j{_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==p.set)return y(n,{code:h.invalid_type,expected:p.set,received:n.parsedType}),T;const a=this._def;a.minSize!==null&&n.data.sizea.maxSize.value&&(y(n,{code:h.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),r.dirty());const s=this._def.valueType;function i(c){const d=new Set;for(const v of c){if(v.status==="aborted")return T;v.status==="dirty"&&r.dirty(),d.add(v.value)}return{status:r.value,value:d}}const o=[...n.data.values()].map((c,d)=>s._parse(new ke(n,c,n.path,d)));return n.common.async?Promise.all(o).then(c=>i(c)):i(o)}min(e,r){return new Ye({...this._def,minSize:{value:e,message:b.toString(r)}})}max(e,r){return new Ye({...this._def,maxSize:{value:e,message:b.toString(r)}})}size(e,r){return this.min(e,r).max(e,r)}nonempty(e){return this.min(1,e)}}Ye.create=(t,e)=>new Ye({valueType:t,minSize:null,maxSize:null,typeName:k.ZodSet,...V(e)});class rt extends j{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:r}=this._processInputParams(e);if(r.parsedType!==p.function)return y(r,{code:h.invalid_type,expected:p.function,received:r.parsedType}),T;function n(o,c){return rr({data:o,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,tr(),bt].filter(d=>!!d),issueData:{code:h.invalid_arguments,argumentsError:c}})}function a(o,c){return rr({data:o,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,tr(),bt].filter(d=>!!d),issueData:{code:h.invalid_return_type,returnTypeError:c}})}const s={errorMap:r.common.contextualErrorMap},i=r.data;if(this._def.returns instanceof st){const o=this;return ae(async function(...c){const d=new be([]),v=await o._def.args.parseAsync(c,s).catch(S=>{throw d.addIssue(n(c,S)),d}),x=await Reflect.apply(i,this,v);return await o._def.returns._def.type.parseAsync(x,s).catch(S=>{throw d.addIssue(a(x,S)),d})})}else{const o=this;return ae(function(...c){const d=o._def.args.safeParse(c,s);if(!d.success)throw new be([n(c,d.error)]);const v=Reflect.apply(i,this,d.data),x=o._def.returns.safeParse(v,s);if(!x.success)throw new be([a(v,x.error)]);return x.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new rt({...this._def,args:Se.create(e).rest(We.create())})}returns(e){return new rt({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,r,n){return new rt({args:e||Se.create([]).rest(We.create()),returns:r||We.create(),typeName:k.ZodFunction,...V(n)})}}class Tt extends j{get schema(){return this._def.getter()}_parse(e){const{ctx:r}=this._processInputParams(e);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}Tt.create=(t,e)=>new Tt({getter:t,typeName:k.ZodLazy,...V(e)});class Ct extends j{_parse(e){if(e.data!==this._def.value){const r=this._getOrReturnCtx(e);return y(r,{received:r.data,code:h.invalid_literal,expected:this._def.value}),T}return{status:"valid",value:e.data}}get value(){return this._def.value}}Ct.create=(t,e)=>new Ct({value:t,typeName:k.ZodLiteral,...V(e)});function rn(t,e){return new Ue({values:t,typeName:k.ZodEnum,...V(e)})}class Ue extends j{_parse(e){if(typeof e.data!="string"){const r=this._getOrReturnCtx(e),n=this._def.values;return y(r,{expected:M.joinValues(n),received:r.parsedType,code:h.invalid_type}),T}if(this._def.values.indexOf(e.data)===-1){const r=this._getOrReturnCtx(e),n=this._def.values;return y(r,{received:r.data,code:h.invalid_enum_value,options:n}),T}return ae(e.data)}get options(){return this._def.values}get enum(){const e={};for(const r of this._def.values)e[r]=r;return e}get Values(){const e={};for(const r of this._def.values)e[r]=r;return e}get Enum(){const e={};for(const r of this._def.values)e[r]=r;return e}extract(e){return Ue.create(e)}exclude(e){return Ue.create(this.options.filter(r=>!e.includes(r)))}}Ue.create=rn;class Et extends j{_parse(e){const r=M.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==p.string&&n.parsedType!==p.number){const a=M.objectValues(r);return y(n,{expected:M.joinValues(a),received:n.parsedType,code:h.invalid_type}),T}if(r.indexOf(e.data)===-1){const a=M.objectValues(r);return y(n,{received:n.data,code:h.invalid_enum_value,options:a}),T}return ae(e.data)}get enum(){return this._def.values}}Et.create=(t,e)=>new Et({values:t,typeName:k.ZodNativeEnum,...V(e)});class st extends j{unwrap(){return this._def.type}_parse(e){const{ctx:r}=this._processInputParams(e);if(r.parsedType!==p.promise&&r.common.async===!1)return y(r,{code:h.invalid_type,expected:p.promise,received:r.parsedType}),T;const n=r.parsedType===p.promise?r.data:Promise.resolve(r.data);return ae(n.then(a=>this._def.type.parseAsync(a,{path:r.path,errorMap:r.common.contextualErrorMap})))}}st.create=(t,e)=>new st({type:t,typeName:k.ZodPromise,...V(e)});class Ve extends j{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===k.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:r,ctx:n}=this._processInputParams(e),a=this._def.effect||null,s={addIssue:i=>{y(n,i),i.fatal?r.abort():r.dirty()},get path(){return n.path}};if(s.addIssue=s.addIssue.bind(s),a.type==="preprocess"){const i=a.transform(n.data,s);return n.common.issues.length?{status:"dirty",value:n.data}:n.common.async?Promise.resolve(i).then(o=>this._def.schema._parseAsync({data:o,path:n.path,parent:n})):this._def.schema._parseSync({data:i,path:n.path,parent:n})}if(a.type==="refinement"){const i=o=>{const c=a.refinement(o,s);if(n.common.async)return Promise.resolve(c);if(c instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return o};if(n.common.async===!1){const o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return o.status==="aborted"?T:(o.status==="dirty"&&r.dirty(),i(o.value),{status:r.value,value:o.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>o.status==="aborted"?T:(o.status==="dirty"&&r.dirty(),i(o.value).then(()=>({status:r.value,value:o.value}))))}if(a.type==="transform")if(n.common.async===!1){const i=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!xt(i))return i;const o=a.transform(i.value,s);if(o instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:o}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(i=>xt(i)?Promise.resolve(a.transform(i.value,s)).then(o=>({status:r.value,value:o})):i);M.assertNever(a)}}Ve.create=(t,e,r)=>new Ve({schema:t,typeName:k.ZodEffects,effect:e,...V(r)});Ve.createWithPreprocess=(t,e,r)=>new Ve({schema:e,effect:{type:"preprocess",transform:t},typeName:k.ZodEffects,...V(r)});class Ie extends j{_parse(e){return this._getType(e)===p.undefined?ae(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Ie.create=(t,e)=>new Ie({innerType:t,typeName:k.ZodOptional,...V(e)});class Je extends j{_parse(e){return this._getType(e)===p.null?ae(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Je.create=(t,e)=>new Je({innerType:t,typeName:k.ZodNullable,...V(e)});class it extends j{_parse(e){const{ctx:r}=this._processInputParams(e);let n=r.data;return r.parsedType===p.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}it.create=(t,e)=>new it({innerType:t,typeName:k.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...V(e)});class dr extends j{_parse(e){const{ctx:r}=this._processInputParams(e),n={...r,common:{...r.common,issues:[]}},a=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return nr(a)?a.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new be(n.common.issues)},input:n.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new be(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}dr.create=(t,e)=>new dr({innerType:t,typeName:k.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...V(e)});class cr extends j{_parse(e){if(this._getType(e)!==p.nan){const n=this._getOrReturnCtx(e);return y(n,{code:h.invalid_type,expected:p.nan,received:n.parsedType}),T}return{status:"valid",value:e.data}}}cr.create=t=>new cr({typeName:k.ZodNaN,...V(t)});class Ba extends j{_parse(e){const{ctx:r}=this._processInputParams(e),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class Zt extends j{_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?T:s.status==="dirty"?(r.dirty(),Ta(s.value)):this._def.out._parseAsync({data:s.value,path:n.path,parent:n})})();{const a=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?T:a.status==="dirty"?(r.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:n.path,parent:n})}}static create(e,r){return new Zt({in:e,out:r,typeName:k.ZodPipeline})}}class fr extends j{_parse(e){const r=this._def.innerType._parse(e);return xt(r)&&(r.value=Object.freeze(r.value)),r}}fr.create=(t,e)=>new fr({innerType:t,typeName:k.ZodReadonly,...V(e)});F.lazycreate;var k;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(k||(k={}));const ss=we.create;He.create;cr.create;Ge.create;ar.create;at.create;sr.create;kt.create;Ot.create;ir.create;We.create;Ne.create;or.create;xe.create;const is=F.create;F.strictCreate;wt.create;gr.create;St.create;Se.create;Vt.create;ur.create;Ye.create;rt.create;Tt.create;Ct.create;Ue.create;Et.create;st.create;Ve.create;Ie.create;Je.create;Ve.createWithPreprocess;Zt.create;/** + * vee-validate v4.12.6 + * (c) 2024 Abdelrahman Awad + * @license MIT + */const Br=t=>t!==null&&!!t&&typeof t=="object"&&!Array.isArray(t);function nn(t){return Number(t)>=0}function Ua(t){return typeof t=="object"&&t!==null}function Fa(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}function Ur(t){if(!Ua(t)||Fa(t)!=="[object Object]")return!1;if(Object.getPrototypeOf(t)===null)return!0;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function an(t,e){return Object.keys(e).forEach(r=>{if(Ur(e[r])&&Ur(t[r])){t[r]||(t[r]={}),an(t[r],e[r]);return}t[r]=e[r]}),t}function La(t){const e=t.split(".");if(!e.length)return"";let r=String(e[0]);for(let n=1;n{const n=La(r.path.join("."));r.code==="invalid_union"&&(sn(r.unionErrors.flatMap(a=>a.issues),e),!n)||(e[n]||(e[n]={errors:[],path:n}),e[n].errors.push(r.message))})}function on(t){if(t instanceof F)return Object.fromEntries(Object.entries(t.shape).map(([e,r])=>r instanceof it?[e,r._def.defaultValue()]:r instanceof F?[e,on(r)]:[e,void 0]))}function Da(t,e){if(!Fr(e))return null;if(ut(t))return e.shape[Mt(t)];const r=(t||"").split(/\.|\[(\d+)\]/).filter(Boolean);let n=e;for(let a=0;a<=r.length;a++){const s=r[a];if(!s||!n)return n;if(Fr(n)){n=n.shape[s]||null;continue}nn(s)&&za(n)&&(n=n._def.type)}return null}function ln(t){return t._def.typeName}function za(t){return ln(t)===k.ZodArray}function Fr(t){return ln(t)===k.ZodObject}const Wa=Te({__name:"Alert",props:{class:{},variant:{}},setup(t){const e=t;return(r,n)=>(Fe(),vr("div",{class:At(w(It)(w(Ha)({variant:r.variant}),e.class)),role:"alert"},[ot(r.$slots,"default")],2))}}),qa=Te({__name:"AlertTitle",props:{class:{}},setup(t){const e=t;return(r,n)=>(Fe(),vr("h5",{class:At(w(It)("mb-1 font-medium leading-none tracking-tight",e.class))},[ot(r.$slots,"default")],2))}}),Ha=wn("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Ga=Te({name:"AlertForm",components:{AlertTitle:qa,Alert:Wa}});function Ya(t,e,r,n,a,s){const i=wr("AlertTitle"),o=wr("Alert");return Fe(),Nt(o,{variant:"destructive"},{default:pt(()=>[Vn(i,null,{default:pt(()=>[Tn(Cn(t.$t("common.tip.inputAnyInfo")),1)]),_:1})]),_:1})}const ls=Sn(Ga,[["render",Ya]]);export{ls as A,Qa as F,Ka as L,ns as _,ts as a,rs as b,as as c,is as o,ss as s,os as t,es as u}; diff --git a/assets/AuthSignin-hrJ8H7T3.js b/assets/AuthSignin-hrJ8H7T3.js new file mode 100644 index 00000000..fba66bb1 --- /dev/null +++ b/assets/AuthSignin-hrJ8H7T3.js @@ -0,0 +1 @@ +import{d as S,_ as A,i as T,r as b,a as j,b as L,c as t,o as $,e as x,f as s,g as o,w as n,h as m,t as r,m as y,j as B,k as R,l as M}from"./index-l_RrMa-Q.js";import{_ as N,F as q,a as P,b as U,c as G,L as H,o as D,s as w,u as E,t as O,A as z}from"./AlertForm-CxNrBNoN.js";import{_ as J}from"./Input.vue_vue_type_script_setup_true_lang-CXD5jqug.js";import{T as K,G as Q,F as W}from"./ThirdForm-CLFRL79l.js";import"./Label.vue_vue_type_script_setup_true_lang-CHduJ0nG.js";const X=S({name:"SigninForm",components:{ThirdForm:K,Button:A,Input:J,FormControl:N,FormField:q,FormItem:P,FormLabel:U,FormMessage:G,Loader2:H,Github:Q,Facebook:W},setup(){const e=T("$t");let a=b(!1);const p=b({username:void 0,password:void 0}),f=D({username:w({required_error:e("user.validator.usernameRequired")}).min(2,e("user.validator.usernameLengthLeast")).max(20,e("user.validator.usernameLengthMost")),password:w({required_error:e("user.validator.passwordRequired")}).min(6,e("user.validator.passwordLengthLeast")).max(20,e("user.validator.passwordLengthMost"))}),{handleSubmit:_}=E({validationSchema:O(f)}),g=_(()=>{a.value=!0,setTimeout(()=>{a.value=!1,j.push("/")},3e3)});return{loading:a,formState:p,onSubmit:g}}}),Y={class:"grid gap-6"},Z={class:"grid gap-2"},ee={class:"grid gap-2 mt-1"},oe={class:"flex items-center justify-between"};function te(e,a,p,f,_,g){const l=t("FormLabel"),d=t("Input"),c=t("FormControl"),u=t("FormMessage"),F=t("FormItem"),v=t("FormField"),C=t("RouterLink"),k=t("Loader2"),I=t("Button"),V=t("ThirdForm");return $(),x("div",Y,[s("form",{onSubmit:a[2]||(a[2]=(...i)=>e.onSubmit&&e.onSubmit(...i))},[s("div",Z,[o(v,{name:"username"},{default:n(({componentField:i})=>[o(F,null,{default:n(()=>[o(l,null,{default:n(()=>[m(r(e.$t("user.common.username")),1)]),_:1}),o(c,null,{default:n(()=>[o(d,y({type:"text",modelValue:e.formState.username,"onUpdate:modelValue":a[0]||(a[0]=h=>e.formState.username=h)},i,{placeholder:e.$t("user.tip.usernameHolder")}),null,16,["modelValue","placeholder"])]),_:2},1024),o(u)]),_:2},1024)]),_:1})]),s("div",ee,[o(v,{name:"password"},{default:n(({componentField:i})=>[o(F,null,{default:n(()=>[s("div",oe,[o(l,null,{default:n(()=>[m(r(e.$t("user.common.password")),1)]),_:1}),o(C,{to:"/user/forgot/password",class:"text-sm font-medium text-muted-foreground hover:opacity-75"},{default:n(()=>[m(r(e.$t("common.common.forgotPassword"))+"? ",1)]),_:1})]),o(c,null,{default:n(()=>[o(d,y({modelValue:e.formState.password,"onUpdate:modelValue":a[1]||(a[1]=h=>e.formState.password=h)},i,{type:"password",placeholder:e.$t("user.tip.passwordHolder")}),null,16,["modelValue","placeholder"])]),_:2},1024),o(u)]),_:2},1024)]),_:1})]),o(I,{class:"mt-3 w-full",type:"submit",disabled:e.loading},{default:n(()=>[e.loading?($(),B(k,{key:0,class:"mr-2 h-4 w-4 animate-spin"})):R("",!0),m(" "+r(e.$t("common.common.signIn")),1)]),_:1},8,["disabled"])],32),o(V)])}const se=L(X,[["render",te]]),ne=S({name:"AuthSignin",components:{AlertForm:z,SigninForm:se,Card:M}}),re={class:"container grid h-svh flex-col items-center justify-center bg-primary-foreground lg:max-w-none lg:px-0"},ae={class:"mx-auto flex w-full flex-col justify-center space-y-2 sm:w-[480px] lg:p-8"},me=s("div",{class:"mb-4 flex items-center justify-center"},[s("h1",{class:"text-xl font-medium"},"Shadcn Admin for Vue3")],-1),ie={class:"mb-2 flex flex-col space-y-2 text-left"},le={class:"text-lg font-semibold tracking-tight text-center"},de={class:"text-sm text-muted-foreground text-center"},ce=s("br",null,null,-1),ue={class:"mt-4 px-8 text-center text-sm text-muted-foreground"},pe={class:"underline underline-offset-4 hover:text-primary"},fe={class:"underline underline-offset-4 hover:text-primary"};function _e(e,a,p,f,_,g){const l=t("AlertForm"),d=t("RouterLink"),c=t("SigninForm"),u=t("Card");return $(),x("div",re,[s("div",ae,[me,o(l),o(u,{class:"p-6"},{default:n(()=>[s("div",ie,[s("h1",le,r(e.$t("common.common.signIn")),1),s("p",de,[m(r(e.$t("common.tip.signInInfo"))+" ",1),ce,m(" "+r(e.$t("common.tip.signInNoAccount"))+" ",1),o(d,{to:"/auth/signup",class:"underline underline-offset-4 hover:text-primary"},{default:n(()=>[m(r(e.$t("common.common.signUp")),1)]),_:1})])]),o(c),s("p",ue,[m(r(e.$t("common.tip.byCreateAccount"))+" ",1),s("a",pe,r(e.$t("common.common.termOfService")),1),m(" "+r(e.$t("common.common.and"))+" ",1),s("a",fe,r(e.$t("common.common.privacyPolicy")),1),m(". ")])]),_:1})])])}const be=L(ne,[["render",_e]]);export{be as default}; diff --git a/assets/AuthSignup-CL_fWI7s.js b/assets/AuthSignup-CL_fWI7s.js new file mode 100644 index 00000000..89fad5a2 --- /dev/null +++ b/assets/AuthSignup-CL_fWI7s.js @@ -0,0 +1 @@ +import{d as y,_ as x,i as k,r as b,a as T,b as L,c as n,o as S,e as V,f as s,g as o,w as t,h as m,t as a,m as F,j as I,k as B,l as M}from"./index-l_RrMa-Q.js";import{_ as j,F as q,a as N,b as R,c as U,L as H,o as G,s as v,u as D,t as E,A as O}from"./AlertForm-CxNrBNoN.js";import{_ as z}from"./Input.vue_vue_type_script_setup_true_lang-CXD5jqug.js";import{T as J,G as K,F as Q}from"./ThirdForm-CLFRL79l.js";import"./Label.vue_vue_type_script_setup_true_lang-CHduJ0nG.js";const W=y({name:"SignupForm",components:{ThirdForm:J,Button:x,Input:z,FormControl:j,FormField:q,FormItem:N,FormLabel:R,FormMessage:U,Loader2:H,Github:K,Facebook:Q},setup(){const e=k("$t");let r=b(!1);const f=b({username:void 0,password:void 0,confirmPassword:void 0}),_=G({username:v({required_error:e("user.validator.usernameRequired")}).min(2,e("user.validator.usernameLengthLeast")).max(20,e("user.validator.usernameLengthMost")),password:v({required_error:e("user.validator.passwordRequired")}).min(6,e("user.validator.passwordLengthLeast")).max(20,e("user.validator.passwordLengthMost")),confirmPassword:v({required_error:e("user.validator.passwordRequired")}).min(6,e("user.validator.passwordLengthLeast")).max(20,e("user.validator.passwordLengthMost"))}).refine(l=>l.password===l.confirmPassword,{message:e("user.validator.passwordNotMatch"),path:["confirmPassword"]}),{handleSubmit:g}=D({validationSchema:E(_)}),h=g(()=>{r.value=!0,setTimeout(()=>{r.value=!1,T.push("/auth/signin")},3e3)});return{loading:r,formState:f,onSubmit:h}}}),X={class:"grid gap-6"},Y={class:"grid gap-2"},Z={class:"grid gap-2"},ee={class:"grid gap-2"};function oe(e,r,f,_,g,h){const l=n("FormLabel"),i=n("Input"),u=n("FormControl"),c=n("FormMessage"),$=n("FormItem"),w=n("FormField"),C=n("Loader2"),A=n("Button"),P=n("ThirdForm");return S(),V("div",X,[s("form",{onSubmit:r[3]||(r[3]=(...d)=>e.onSubmit&&e.onSubmit(...d))},[s("div",Y,[o(w,{name:"username"},{default:t(({componentField:d})=>[o($,null,{default:t(()=>[o(l,null,{default:t(()=>[m(a(e.$t("user.common.username")),1)]),_:1}),o(u,null,{default:t(()=>[o(i,F({type:"text",modelValue:e.formState.username,"onUpdate:modelValue":r[0]||(r[0]=p=>e.formState.username=p)},d,{placeholder:e.$t("user.tip.usernameHolder")}),null,16,["modelValue","placeholder"])]),_:2},1024),o(c)]),_:2},1024)]),_:1})]),s("div",Z,[o(w,{name:"password"},{default:t(({componentField:d})=>[o($,null,{default:t(()=>[o(l,null,{default:t(()=>[m(a(e.$t("user.common.password")),1)]),_:1}),o(u,null,{default:t(()=>[o(i,F({modelValue:e.formState.password,"onUpdate:modelValue":r[1]||(r[1]=p=>e.formState.password=p)},d,{type:"password",placeholder:e.$t("user.tip.passwordHolder")}),null,16,["modelValue","placeholder"])]),_:2},1024),o(c)]),_:2},1024)]),_:1})]),s("div",ee,[o(w,{name:"confirmPassword"},{default:t(({componentField:d})=>[o($,null,{default:t(()=>[o(l,null,{default:t(()=>[m(a(e.$t("user.common.confirmPassword")),1)]),_:1}),o(u,null,{default:t(()=>[o(i,F({modelValue:e.formState.confirmPassword,"onUpdate:modelValue":r[2]||(r[2]=p=>e.formState.confirmPassword=p)},d,{type:"password",placeholder:e.$t("user.tip.confirmPasswordHolder")}),null,16,["modelValue","placeholder"])]),_:2},1024),o(c)]),_:2},1024)]),_:1})]),o(A,{class:"mt-3 w-full",type:"submit",disabled:e.loading},{default:t(()=>[e.loading?(S(),I(C,{key:0,class:"mr-2 h-4 w-4 animate-spin"})):B("",!0),m(" "+a(e.$t("common.common.createAccount")),1)]),_:1},8,["disabled"])],32),o(P)])}const te=L(W,[["render",oe]]),se=y({name:"AuthSignup",components:{AlertForm:O,SignupForm:te,Card:M}}),re={class:"container grid h-svh flex-col items-center justify-center bg-primary-foreground lg:max-w-none lg:px-0"},ne={class:"mx-auto flex w-full flex-col justify-center space-y-2 sm:w-[480px] lg:p-8"},ae=s("div",{class:"mb-4 flex items-center justify-center"},[s("h1",{class:"text-xl font-medium"},"Shadcn Admin for Vue3")],-1),me={class:"mb-2 flex flex-col space-y-2 text-left"},le={class:"text-lg font-semibold tracking-tight text-center"},de={class:"text-sm text-muted-foreground text-center"},ie=s("br",null,null,-1),ue={class:"mt-4 px-8 text-center text-sm text-muted-foreground"},ce={class:"underline underline-offset-4 hover:text-primary"},pe={class:"underline underline-offset-4 hover:text-primary"};function fe(e,r,f,_,g,h){const l=n("AlertForm"),i=n("RouterLink"),u=n("SignupForm"),c=n("Card");return S(),V("div",re,[s("div",ne,[ae,o(l),o(c,{class:"p-6"},{default:t(()=>[s("div",me,[s("h1",le,a(e.$t("common.common.createAccount")),1),s("p",de,[m(a(e.$t("common.tip.signUpInfo"))+" ",1),ie,m(" "+a(e.$t("common.tip.signUpHasAccount"))+" ",1),o(i,{to:"/auth/signin",class:"underline underline-offset-4 hover:text-primary"},{default:t(()=>[m(a(e.$t("common.common.signIn")),1)]),_:1})])]),o(u),s("p",ue,[m(a(e.$t("common.tip.byCreateAccount"))+" ",1),s("a",ce,a(e.$t("common.common.termOfService")),1),m(" "+a(e.$t("common.common.and"))+" ",1),s("a",pe,a(e.$t("common.common.privacyPolicy")),1),m(". ")])]),_:1})])])}const Fe=L(se,[["render",fe]]);export{Fe as default}; diff --git a/assets/DashboardHome-CMMGWMEW.js b/assets/DashboardHome-CMMGWMEW.js new file mode 100644 index 00000000..239d657f --- /dev/null +++ b/assets/DashboardHome-CMMGWMEW.js @@ -0,0 +1,46 @@ +import{n as p,o as u,e as h,f as a,d as m,p as f,q as b,u as i,s as g,v as H,C as I,j as D,w as t,x as L,y as R,z as J,A as E,B as K,g as e,m as W,O as Z,D as G,E as Q,G as X,l as Y,H as ee,I as te,J as ae,K as se,_ as le,L as oe,M as ne,N as de,P as ce,Q as ie,R as re,S as ue,T as _e,U as me,b as fe,c,h as s}from"./index-l_RrMa-Q.js";import{_ as pe}from"./Input.vue_vue_type_script_setup_true_lang-CXD5jqug.js";/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const he=p("ActivityIcon",[["path",{d:"M22 12h-4l-3 9L9 3l-3 9H2",key:"d5dnw9"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const xe=p("ArrowUpRightIcon",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ge=p("CircleUserIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const be=p("CreditCardIcon",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ve=p("DollarSignIcon",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ye=p("MenuIcon",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const we=p("Package2Icon",[["path",{d:"M3 9h18v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z",key:"1ront0"}],["path",{d:"m3 9 2.45-4.9A2 2 0 0 1 7.24 3h9.52a2 2 0 0 1 1.8 1.1L21 9",key:"19h2x1"}],["path",{d:"M12 3v6",key:"1holv5"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Ce=p("SearchIcon",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const $e=p("UsersIcon",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);function ke(o,n){return u(),h("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor"})])}const Ae=m({__name:"Badge",props:{variant:{},class:{}},setup(o){const n=o;return(d,_)=>(u(),h("div",{class:b(i(g)(i(Te)({variant:d.variant}),n.class))},[f(d.$slots,"default")],2))}}),Te=H("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),Be=m({__name:"Sheet",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(o,{emit:n}){const B=I(o,n);return(S,r)=>(u(),D(i(J),L(R(i(B))),{default:t(()=>[f(S.$slots,"default")]),_:3},16))}}),Se=m({__name:"SheetTrigger",props:{asChild:{type:Boolean},as:{}},setup(o){const n=o;return(d,_)=>(u(),D(i(E),L(R(n)),{default:t(()=>[f(d.$slots,"default")]),_:3},16))}}),Me=m({inheritAttrs:!1,__name:"SheetContent",props:{class:{},side:{},forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(o,{emit:n}){const d=o,_=n,B=K(()=>{const{class:r,side:M,...x}=d;return x}),S=I(B,_);return(r,M)=>(u(),D(i(X),null,{default:t(()=>[e(i(Z),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),e(i(G),W({class:i(g)(i(De)({side:r.side}),d.class)},{...i(S),...r.$attrs}),{default:t(()=>[f(r.$slots,"default"),e(i(Q),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},{default:t(()=>[e(i(ke),{class:"w-4 h-4"})]),_:1})]),_:3},16,["class"])]),_:3}))}}),De=H("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),He={class:"relative w-full overflow-auto"},Ie=m({__name:"Table",props:{class:{}},setup(o){const n=o;return(d,_)=>(u(),h("div",He,[a("table",{class:b(i(g)("w-full caption-bottom text-sm",n.class))},[f(d.$slots,"default")],2)]))}}),Le=m({__name:"TableBody",props:{class:{}},setup(o){const n=o;return(d,_)=>(u(),h("tbody",{class:b(i(g)("[&_tr:last-child]:border-0",n.class))},[f(d.$slots,"default")],2))}}),Re=m({__name:"TableCell",props:{class:{}},setup(o){const n=o;return(d,_)=>(u(),h("td",{class:b(i(g)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-0.5",n.class))},[f(d.$slots,"default")],2))}}),Ue=m({__name:"TableHead",props:{class:{}},setup(o){const n=o;return(d,_)=>(u(),h("th",{class:b(i(g)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-0.5",n.class))},[f(d.$slots,"default")],2))}}),Oe=m({__name:"TableHeader",props:{class:{}},setup(o){const n=o;return(d,_)=>(u(),h("thead",{class:b(i(g)("[&_tr]:border-b",n.class))},[f(d.$slots,"default")],2))}}),Ve=m({__name:"TableRow",props:{class:{}},setup(o){const n=o;return(d,_)=>(u(),h("tr",{class:b(i(g)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",n.class))},[f(d.$slots,"default")],2))}}),je=m({name:"DashboardHome",components:{Card:Y,CardHeader:ee,CardTitle:te,CardContent:ae,CardDescription:se,Activity:he,ArrowUpRight:xe,CircleUser:ge,CreditCard:be,DollarSign:ve,Menu:ye,Package2:we,Search:Ce,Users:$e,Button:le,Badge:Ae,DropdownMenu:oe,DropdownMenuContent:ne,DropdownMenuItem:de,DropdownMenuLabel:ce,DropdownMenuSeparator:ie,DropdownMenuTrigger:re,Input:pe,Sheet:Be,SheetContent:Me,SheetTrigger:Se,Table:Ie,TableBody:Le,TableCell:Re,TableHead:Ue,TableHeader:Oe,TableRow:Ve,Avatar:ue,AvatarFallback:_e,AvatarImage:me}}),ze={class:"flex w-full flex-col"},qe={class:"flex flex-1 flex-col gap-4 p-4 md:gap-8 md:p-8"},Ne={class:"grid gap-4 md:grid-cols-2 md:gap-8 lg:grid-cols-4"},Pe=a("div",{class:"text-2xl font-bold"}," $45,231.89 ",-1),Fe=a("p",{class:"text-xs text-muted-foreground"}," +20.1% from last month ",-1),Je=a("div",{class:"text-2xl font-bold"}," +2350 ",-1),Ee=a("p",{class:"text-xs text-muted-foreground"}," +180.1% from last month ",-1),Ke=a("div",{class:"text-2xl font-bold"}," +12,234 ",-1),We=a("p",{class:"text-xs text-muted-foreground"}," +19% from last month ",-1),Ze=a("div",{class:"text-2xl font-bold"}," +573 ",-1),Ge=a("p",{class:"text-xs text-muted-foreground"}," +201 since last hour ",-1),Qe={class:"grid gap-4 md:gap-8 lg:grid-cols-2 xl:grid-cols-3"},Xe={class:"grid gap-2"},Ye={href:"#"},et=a("div",{class:"font-medium"}," Liam Johnson ",-1),tt=a("div",{class:"hidden text-sm text-muted-foreground md:inline"}," liam@example.com ",-1),at=a("div",{class:"font-medium"}," Olivia Smith ",-1),st=a("div",{class:"hidden text-sm text-muted-foreground md:inline"}," olivia@example.com ",-1),lt=a("div",{class:"font-medium"}," Noah Williams ",-1),ot=a("div",{class:"hidden text-sm text-muted-foreground md:inline"}," noah@example.com ",-1),nt=a("div",{class:"font-medium"}," Emma Brown ",-1),dt=a("div",{class:"hidden text-sm text-muted-foreground md:inline"}," emma@example.com ",-1),ct=a("div",{class:"font-medium"}," Liam Johnson ",-1),it=a("div",{class:"hidden text-sm text-muted-foreground md:inline"}," liam@example.com ",-1),rt={class:"flex items-center gap-4"},ut=a("div",{class:"grid gap-1"},[a("p",{class:"text-sm font-medium leading-none"}," Olivia Martin "),a("p",{class:"text-sm text-muted-foreground"}," olivia.martin@email.com ")],-1),_t=a("div",{class:"ml-auto font-medium"}," +$1,999.00 ",-1),mt={class:"flex items-center gap-4"},ft=a("div",{class:"grid gap-1"},[a("p",{class:"text-sm font-medium leading-none"}," Jackson Lee "),a("p",{class:"text-sm text-muted-foreground"}," jackson.lee@email.com ")],-1),pt=a("div",{class:"ml-auto font-medium"}," +$39.00 ",-1),ht={class:"flex items-center gap-4"},xt=a("div",{class:"grid gap-1"},[a("p",{class:"text-sm font-medium leading-none"}," Isabella Nguyen "),a("p",{class:"text-sm text-muted-foreground"}," isabella.nguyen@email.com ")],-1),gt=a("div",{class:"ml-auto font-medium"}," +$299.00 ",-1),bt={class:"flex items-center gap-4"},vt=a("div",{class:"grid gap-1"},[a("p",{class:"text-sm font-medium leading-none"}," William Kim "),a("p",{class:"text-sm text-muted-foreground"}," will@email.com ")],-1),yt=a("div",{class:"ml-auto font-medium"}," +$99.00 ",-1),wt={class:"flex items-center gap-4"},Ct=a("div",{class:"grid gap-1"},[a("p",{class:"text-sm font-medium leading-none"}," Sofia Davis "),a("p",{class:"text-sm text-muted-foreground"}," sofia.davis@email.com ")],-1),$t=a("div",{class:"ml-auto font-medium"}," +$39.00 ",-1);function kt(o,n,d,_,B,S){const r=c("CardTitle"),M=c("DollarSign"),x=c("CardHeader"),v=c("CardContent"),y=c("Card"),U=c("Users"),O=c("CreditCard"),V=c("Activity"),j=c("CardDescription"),z=c("ArrowUpRight"),q=c("Button"),C=c("TableHead"),w=c("TableRow"),N=c("TableHeader"),l=c("TableCell"),$=c("Badge"),P=c("TableBody"),F=c("Table"),k=c("AvatarImage"),A=c("AvatarFallback"),T=c("Avatar");return u(),h("div",ze,[a("main",qe,[a("div",Ne,[e(y,null,{default:t(()=>[e(x,{class:"flex flex-row items-center justify-between space-y-0 pb-2"},{default:t(()=>[e(r,{class:"text-sm font-medium"},{default:t(()=>[s(" Total Revenue ")]),_:1}),e(M,{class:"h-4 w-4 text-muted-foreground"})]),_:1}),e(v,null,{default:t(()=>[Pe,Fe]),_:1})]),_:1}),e(y,null,{default:t(()=>[e(x,{class:"flex flex-row items-center justify-between space-y-0 pb-2"},{default:t(()=>[e(r,{class:"text-sm font-medium"},{default:t(()=>[s(" Subscriptions ")]),_:1}),e(U,{class:"h-4 w-4 text-muted-foreground"})]),_:1}),e(v,null,{default:t(()=>[Je,Ee]),_:1})]),_:1}),e(y,null,{default:t(()=>[e(x,{class:"flex flex-row items-center justify-between space-y-0 pb-2"},{default:t(()=>[e(r,{class:"text-sm font-medium"},{default:t(()=>[s(" Sales ")]),_:1}),e(O,{class:"h-4 w-4 text-muted-foreground"})]),_:1}),e(v,null,{default:t(()=>[Ke,We]),_:1})]),_:1}),e(y,null,{default:t(()=>[e(x,{class:"flex flex-row items-center justify-between space-y-0 pb-2"},{default:t(()=>[e(r,{class:"text-sm font-medium"},{default:t(()=>[s(" Active Now ")]),_:1}),e(V,{class:"h-4 w-4 text-muted-foreground"})]),_:1}),e(v,null,{default:t(()=>[Ze,Ge]),_:1})]),_:1})]),a("div",Qe,[e(y,{class:"xl:col-span-2"},{default:t(()=>[e(x,{class:"flex flex-row items-center"},{default:t(()=>[a("div",Xe,[e(r,null,{default:t(()=>[s("Transactions")]),_:1}),e(j,null,{default:t(()=>[s(" Recent transactions from your store. ")]),_:1})]),e(q,{"as-child":"",size:"sm",class:"ml-auto gap-1"},{default:t(()=>[a("a",Ye,[s(" View All "),e(z,{class:"h-4 w-4"})])]),_:1})]),_:1}),e(v,null,{default:t(()=>[e(F,null,{default:t(()=>[e(N,null,{default:t(()=>[e(w,null,{default:t(()=>[e(C,null,{default:t(()=>[s("Customer")]),_:1}),e(C,{class:"hidden xl:table-column"},{default:t(()=>[s(" Type ")]),_:1}),e(C,{class:"hidden xl:table-column"},{default:t(()=>[s(" Status ")]),_:1}),e(C,{class:"hidden xl:table-column"},{default:t(()=>[s(" Date ")]),_:1}),e(C,{class:"text-right"},{default:t(()=>[s(" Amount ")]),_:1})]),_:1})]),_:1}),e(P,null,{default:t(()=>[e(w,null,{default:t(()=>[e(l,null,{default:t(()=>[et,tt]),_:1}),e(l,{class:"hidden xl:table-column"},{default:t(()=>[s(" Sale ")]),_:1}),e(l,{class:"hidden xl:table-column"},{default:t(()=>[e($,{class:"text-xs",variant:"outline"},{default:t(()=>[s(" Approved ")]),_:1})]),_:1}),e(l,{class:"hidden md:table-cell lg:hidden xl:table-column"},{default:t(()=>[s(" 2023-06-23 ")]),_:1}),e(l,{class:"text-right"},{default:t(()=>[s(" $250.00 ")]),_:1})]),_:1}),e(w,null,{default:t(()=>[e(l,null,{default:t(()=>[at,st]),_:1}),e(l,{class:"hidden xl:table-column"},{default:t(()=>[s(" Refund ")]),_:1}),e(l,{class:"hidden xl:table-column"},{default:t(()=>[e($,{class:"text-xs",variant:"outline"},{default:t(()=>[s(" Declined ")]),_:1})]),_:1}),e(l,{class:"hidden md:table-cell lg:hidden xl:table-column"},{default:t(()=>[s(" 2023-06-24 ")]),_:1}),e(l,{class:"text-right"},{default:t(()=>[s(" $150.00 ")]),_:1})]),_:1}),e(w,null,{default:t(()=>[e(l,null,{default:t(()=>[lt,ot]),_:1}),e(l,{class:"hidden xl:table-column"},{default:t(()=>[s(" Subscription ")]),_:1}),e(l,{class:"hidden xl:table-column"},{default:t(()=>[e($,{class:"text-xs",variant:"outline"},{default:t(()=>[s(" Approved ")]),_:1})]),_:1}),e(l,{class:"hidden md:table-cell lg:hidden xl:table-column"},{default:t(()=>[s(" 2023-06-25 ")]),_:1}),e(l,{class:"text-right"},{default:t(()=>[s(" $350.00 ")]),_:1})]),_:1}),e(w,null,{default:t(()=>[e(l,null,{default:t(()=>[nt,dt]),_:1}),e(l,{class:"hidden xl:table-column"},{default:t(()=>[s(" Sale ")]),_:1}),e(l,{class:"hidden xl:table-column"},{default:t(()=>[e($,{class:"text-xs",variant:"outline"},{default:t(()=>[s(" Approved ")]),_:1})]),_:1}),e(l,{class:"hidden md:table-cell lg:hidden xl:table-column"},{default:t(()=>[s(" 2023-06-26 ")]),_:1}),e(l,{class:"text-right"},{default:t(()=>[s(" $450.00 ")]),_:1})]),_:1}),e(w,null,{default:t(()=>[e(l,null,{default:t(()=>[ct,it]),_:1}),e(l,{class:"hidden xl:table-column"},{default:t(()=>[s(" Sale ")]),_:1}),e(l,{class:"hidden xl:table-column"},{default:t(()=>[e($,{class:"text-xs",variant:"outline"},{default:t(()=>[s(" Approved ")]),_:1})]),_:1}),e(l,{class:"hidden md:table-cell lg:hidden xl:table-column"},{default:t(()=>[s(" 2023-06-27 ")]),_:1}),e(l,{class:"text-right"},{default:t(()=>[s(" $550.00 ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(y,null,{default:t(()=>[e(x,null,{default:t(()=>[e(r,null,{default:t(()=>[s("Recent Sales")]),_:1})]),_:1}),e(v,{class:"grid gap-8"},{default:t(()=>[a("div",rt,[e(T,{class:"hidden h-9 w-9 sm:flex"},{default:t(()=>[e(k,{src:"/avatars/01.png",alt:"Avatar"}),e(A,null,{default:t(()=>[s("OM")]),_:1})]),_:1}),ut,_t]),a("div",mt,[e(T,{class:"hidden h-9 w-9 sm:flex"},{default:t(()=>[e(k,{src:"/avatars/02.png",alt:"Avatar"}),e(A,null,{default:t(()=>[s("JL")]),_:1})]),_:1}),ft,pt]),a("div",ht,[e(T,{class:"hidden h-9 w-9 sm:flex"},{default:t(()=>[e(k,{src:"/avatars/03.png",alt:"Avatar"}),e(A,null,{default:t(()=>[s("IN")]),_:1})]),_:1}),xt,gt]),a("div",bt,[e(T,{class:"hidden h-9 w-9 sm:flex"},{default:t(()=>[e(k,{src:"/avatars/04.png",alt:"Avatar"}),e(A,null,{default:t(()=>[s("WK")]),_:1})]),_:1}),vt,yt]),a("div",wt,[e(T,{class:"hidden h-9 w-9 sm:flex"},{default:t(()=>[e(k,{src:"/avatars/05.png",alt:"Avatar"}),e(A,null,{default:t(()=>[s("SD")]),_:1})]),_:1}),Ct,$t])]),_:1})]),_:1})])])])}const Bt=fe(je,[["render",kt]]);export{Bt as default}; diff --git a/assets/Forbidden-CyzKww8s.js b/assets/Forbidden-CyzKww8s.js new file mode 100644 index 00000000..69540460 --- /dev/null +++ b/assets/Forbidden-CyzKww8s.js @@ -0,0 +1 @@ +import{d as i,_ as m,b as r,c as n,o as _,e as l,f as t,t as o,g as s,w as a,h as p}from"./index-l_RrMa-Q.js";const f=i({name:"Forbidden",components:{Button:m}}),u={class:"h-svh"},h={class:"m-auto flex h-full w-full flex-col items-center justify-center gap-2"},g=t("h1",{class:"text-[7rem] font-bold leading-tight"},"403",-1),x={class:"font-medium"},$={class:"text-center text-muted-foreground mt-6"},b={class:"mt-6 flex gap-4"};function v(e,B,k,F,w,C){const c=n("Button"),d=n("RouterLink");return _(),l("div",u,[t("div",h,[g,t("span",x,o(e.$t("common.common.pageForbidden")),1),t("p",$,o(e.$t("common.tip.pageForbidden")),1),t("div",b,[s(d,{to:"/"},{default:a(()=>[s(c,{variant:"outline"},{default:a(()=>[p(o(e.$t("common.common.backToHome")),1)]),_:1})]),_:1})])])])}const V=r(f,[["render",v]]);export{V as default}; diff --git a/assets/ForgotPassword-DTTE5vFY.js b/assets/ForgotPassword-DTTE5vFY.js new file mode 100644 index 00000000..90cc4ce1 --- /dev/null +++ b/assets/ForgotPassword-DTTE5vFY.js @@ -0,0 +1 @@ +import{_ as L,F as I,a as P,b as k,c as V,L as B,o as j,s as A,u as N,t as T,A as M}from"./AlertForm-CxNrBNoN.js";import{d as h,_ as R,i as q,r as $,a as E,b,c as e,o as F,e as v,f as s,g as t,w as a,h as m,t as r,m as U,j as D,k as H,l as z}from"./index-l_RrMa-Q.js";import{_ as G}from"./Input.vue_vue_type_script_setup_true_lang-CXD5jqug.js";import"./Label.vue_vue_type_script_setup_true_lang-CHduJ0nG.js";const J=h({name:"ForgotPasswordForm",components:{Button:R,Input:G,FormControl:L,FormField:I,FormItem:P,FormLabel:k,FormMessage:V,Loader2:B},setup(){const o=q("$t");let n=$(!1);const l=$({email:void 0}),i=j({email:A({required_error:o("user.validator.emailRequired")}).email({message:o("user.validator.emailInvalid")})}),{handleSubmit:c}=N({validationSchema:T(i)}),d=c(()=>{n.value=!0,setTimeout(()=>{n.value=!1,E.push("/auth/signin")},3e3)});return{loading:n,formState:l,onSubmit:d}}}),K={class:"grid gap-6"},O={class:"grid gap-2"};function Q(o,n,l,i,c,d){const u=e("FormLabel"),_=e("Input"),p=e("FormControl"),f=e("FormMessage"),x=e("FormItem"),w=e("FormField"),y=e("Loader2"),S=e("Button");return F(),v("div",K,[s("form",{onSubmit:n[1]||(n[1]=(...g)=>o.onSubmit&&o.onSubmit(...g))},[s("div",O,[t(w,{name:"email"},{default:a(({componentField:g})=>[t(x,null,{default:a(()=>[t(u,null,{default:a(()=>[m(r(o.$t("user.common.email")),1)]),_:1}),t(p,null,{default:a(()=>[t(_,U({type:"email",modelValue:o.formState.email,"onUpdate:modelValue":n[0]||(n[0]=C=>o.formState.email=C)},g,{placeholder:o.$t("user.tip.emailHolder")}),null,16,["modelValue","placeholder"])]),_:2},1024),t(f)]),_:2},1024)]),_:1})]),t(S,{class:"mt-3 w-full",type:"submit",disabled:o.loading},{default:a(()=>[o.loading?(F(),D(y,{key:0,class:"mr-2 h-4 w-4 animate-spin"})):H("",!0),m(" "+r(o.$t("common.common.sendEmail")),1)]),_:1},8,["disabled"])],32)])}const W=b(J,[["render",Q]]),X=h({name:"ForgotPassword",components:{ForgotPasswordForm:W,Card:z,AlertForm:M}}),Y={class:"container grid h-svh flex-col items-center justify-center bg-primary-foreground lg:max-w-none lg:px-0"},Z={class:"mx-auto flex w-full flex-col justify-center space-y-2 sm:w-[480px] lg:p-8"},oo=s("div",{class:"mb-4 flex items-center justify-center"},[s("h1",{class:"text-xl font-medium"},"Shadcn Admin for Vue3")],-1),eo={class:"mb-2 flex flex-col space-y-2 text-left"},to={class:"text-lg font-semibold tracking-tight text-center"},so={class:"text-sm text-muted-foreground text-center"},no=s("br",null,null,-1),ao={class:"mt-4 px-8 text-center text-sm text-muted-foreground"};function ro(o,n,l,i,c,d){const u=e("AlertForm"),_=e("ForgotPasswordForm"),p=e("RouterLink"),f=e("Card");return F(),v("div",Y,[s("div",Z,[oo,t(u),t(f,{class:"p-6"},{default:a(()=>[s("div",eo,[s("h1",to,r(o.$t("common.common.forgotPassword")),1),s("p",so,[m(r(o.$t("common.tip.forgotPasswordInfo"))+" ",1),no])]),t(_),s("div",ao,[m(r(o.$t("common.tip.signInNoAccount"))+" ",1),t(p,{to:"/auth/signup",class:"underline underline-offset-4 hover:text-primary"},{default:a(()=>[m(r(o.$t("common.common.signUp")),1)]),_:1})])]),_:1})])])}const uo=b(X,[["render",ro]]);export{uo as default}; diff --git a/assets/FormBasic-TyTMwxyb.js b/assets/FormBasic-TyTMwxyb.js new file mode 100644 index 00000000..31a9a07b --- /dev/null +++ b/assets/FormBasic-TyTMwxyb.js @@ -0,0 +1 @@ +import{d as C,_ as $,l as g,J as h,K as w,ab as B,H as x,I as y,b,c as o,o as v,e as H,f as r,g as e,w as a,h as s,t as n}from"./index-l_RrMa-Q.js";import{_ as F}from"./Input.vue_vue_type_script_setup_true_lang-CXD5jqug.js";import{_ as I}from"./Label.vue_vue_type_script_setup_true_lang-CHduJ0nG.js";const D=C({name:"FormBasic",components:{Button:$,Input:F,Label:I,Card:g,CardContent:h,CardDescription:w,CardFooter:B,CardHeader:x,CardTitle:y}}),T={class:"container grid h-svh flex-col items-center justify-center bg-primary-foreground lg:max-w-none lg:px-0"},L={class:"mx-auto flex w-full flex-col justify-center space-y-2 sm:w-[480px] lg:p-8"},N={class:"grid gap-2"},V={class:"grid gap-2"};function j(t,k,q,E,J,K){const d=o("CardTitle"),i=o("CardDescription"),_=o("CardHeader"),c=o("Label"),l=o("Input"),m=o("CardContent"),p=o("Button"),f=o("CardFooter"),u=o("Card");return v(),H("div",T,[r("div",L,[e(u,null,{default:a(()=>[e(_,null,{default:a(()=>[e(d,{class:"text-2xl"},{default:a(()=>[s(n(t.$t("form.common.formBasic")),1)]),_:1}),e(i,null,{default:a(()=>[s(n(t.$t("form.tip.formBasic")),1)]),_:1})]),_:1}),e(m,{class:"grid gap-4"},{default:a(()=>[r("div",N,[e(c,{for:"email"},{default:a(()=>[s(n(t.$t("user.common.email")),1)]),_:1}),e(l,{id:"email",type:"email",placeholder:t.$t("user.tip.emailHolder"),required:""},null,8,["placeholder"])]),r("div",V,[e(c,{for:"password"},{default:a(()=>[s(n(t.$t("user.common.password")),1)]),_:1}),e(l,{id:"password",type:"password",required:"",placeholder:t.$t("user.tip.passwordHolder")},null,8,["placeholder"])])]),_:1}),e(f,null,{default:a(()=>[e(p,{class:"w-full"},{default:a(()=>[s(n(t.$t("common.common.signIn")),1)]),_:1})]),_:1})]),_:1})])])}const G=b(D,[["render",j]]);export{G as default}; diff --git a/assets/FormWithAction-Cg_KA51a.js b/assets/FormWithAction-Cg_KA51a.js new file mode 100644 index 00000000..a132f5a1 --- /dev/null +++ b/assets/FormWithAction-Cg_KA51a.js @@ -0,0 +1 @@ +import{d as $,_ as h,l as C,J as g,K as w,ab as v,H as b,I as y,b as x,c as n,o as I,e as B,f as r,g as o,w as t,h as a,t as s}from"./index-l_RrMa-Q.js";import{_ as H}from"./Input.vue_vue_type_script_setup_true_lang-CXD5jqug.js";import{_ as k}from"./Label.vue_vue_type_script_setup_true_lang-CHduJ0nG.js";const A=$({name:"FormWithAction",components:{Button:h,Input:H,Label:k,Card:C,CardContent:g,CardDescription:w,CardFooter:v,CardHeader:b,CardTitle:y}}),L={class:"container grid h-svh flex-col items-center justify-center bg-primary-foreground lg:max-w-none lg:px-0"},W={class:"mx-auto flex w-full flex-col justify-center space-y-2 sm:w-[480px] lg:p-8"},D={class:"grid gap-4"},N={class:"grid gap-2"},T={class:"grid gap-2"},F={class:"flex items-center"},V={href:"#",class:"ml-auto inline-block text-sm underline"},j={class:"mt-4 text-center text-sm"};function q(e,R,E,G,J,K){const d=n("CardTitle"),m=n("CardDescription"),_=n("CardHeader"),i=n("Label"),c=n("Input"),l=n("Button"),p=n("RouterLink"),f=n("CardContent"),u=n("Card");return I(),B("div",L,[r("div",W,[o(u,null,{default:t(()=>[o(_,null,{default:t(()=>[o(d,{class:"text-2xl"},{default:t(()=>[a(s(e.$t("form.common.formWithAction")),1)]),_:1}),o(m,null,{default:t(()=>[a(s(e.$t("form.tip.formWithAction")),1)]),_:1})]),_:1}),o(f,null,{default:t(()=>[r("div",D,[r("div",N,[o(i,{for:"email"},{default:t(()=>[a(s(e.$t("user.common.email")),1)]),_:1}),o(c,{id:"email",type:"email",placeholder:e.$t("user.tip.emailHolder"),required:""},null,8,["placeholder"])]),r("div",T,[r("div",F,[o(i,{for:"password"},{default:t(()=>[a(s(e.$t("user.common.password")),1)]),_:1}),r("a",V,s(e.$t("common.common.forgotPassword"))+"?",1)]),o(c,{id:"password",type:"password",required:"",placeholder:e.$t("user.tip.passwordHolder")},null,8,["placeholder"])]),o(l,{type:"submit",class:"w-full"},{default:t(()=>[a(s(e.$t("common.common.signIn")),1)]),_:1}),o(l,{variant:"outline",class:"w-full"},{default:t(()=>[a(s(e.$t("form.common.signInWithGoogle")),1)]),_:1})]),r("div",j,[a(s(e.$t("common.tip.signInNoAccount"))+" ",1),o(p,{to:"#",class:"underline"},{default:t(()=>[a(s(e.$t("common.common.signUp")),1)]),_:1})])]),_:1})]),_:1})])])}const z=x(A,[["render",q]]);export{z as default}; diff --git a/assets/Input.vue_vue_type_script_setup_true_lang-CXD5jqug.js b/assets/Input.vue_vue_type_script_setup_true_lang-CXD5jqug.js new file mode 100644 index 00000000..a6e5953b --- /dev/null +++ b/assets/Input.vue_vue_type_script_setup_true_lang-CXD5jqug.js @@ -0,0 +1 @@ +import{a7 as y,r as B,Z as _,B as C,W as E,d as J,ad as O,ae as T,u as h,o as W,e as $,Y as D,q as F,s as G}from"./index-l_RrMa-Q.js";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const I=t=>typeof t<"u";function M(t){return JSON.parse(JSON.stringify(t))}function U(t,n,s,m={}){var o,f,i;const{clone:a=!1,passive:S=!1,eventName:w,deep:p=!1,defaultValue:N,shouldEmit:b}=m,l=y(),g=s||(l==null?void 0:l.emit)||((o=l==null?void 0:l.$emit)==null?void 0:o.bind(l))||((i=(f=l==null?void 0:l.proxy)==null?void 0:f.$emit)==null?void 0:i.bind(l==null?void 0:l.proxy));let u=w;n||(n="modelValue"),u=u||`update:${n.toString()}`;const v=e=>a?typeof a=="function"?a(e):M(e):e,V=()=>I(t[n])?v(t[n]):N,x=e=>{b?b(e)&&g(u,e):g(u,e)};if(S){const e=V(),c=B(e);let r=!1;return _(()=>t[n],d=>{r||(r=!0,c.value=v(d),E(()=>r=!1))}),_(c,d=>{!r&&(d!==t[n]||p)&&x(d)},{deep:p}),c}else return C({get(){return V()},set(e){x(e)}})}const z=J({__name:"Input",props:{defaultValue:{},modelValue:{},class:{}},emits:["update:modelValue"],setup(t,{emit:n}){const s=t,o=U(s,"modelValue",n,{passive:!0,defaultValue:s.defaultValue});return(f,i)=>O((W(),$("input",{"onUpdate:modelValue":i[0]||(i[0]=a=>D(o)?o.value=a:null),class:F(h(G)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",s.class))},null,2)),[[T,h(o)]])}});export{z as _}; diff --git a/assets/Label.vue_vue_type_script_setup_true_lang-CHduJ0nG.js b/assets/Label.vue_vue_type_script_setup_true_lang-CHduJ0nG.js new file mode 100644 index 00000000..33765ed3 --- /dev/null +++ b/assets/Label.vue_vue_type_script_setup_true_lang-CHduJ0nG.js @@ -0,0 +1 @@ +import{d as r,B as n,o as c,j as d,w as p,p as m,m as u,u as o,s as i,ac as f}from"./index-l_RrMa-Q.js";const g=r({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,l=n(()=>{const{class:s,...a}=e;return a});return(s,a)=>(c(),d(o(f),u(l.value,{class:o(i)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e.class)}),{default:p(()=>[m(s.$slots,"default")]),_:3},16,["class"]))}});export{g as _}; diff --git a/assets/NotFound-jGWy-c4M.js b/assets/NotFound-jGWy-c4M.js new file mode 100644 index 00000000..60ef1b67 --- /dev/null +++ b/assets/NotFound-jGWy-c4M.js @@ -0,0 +1 @@ +import{d,_ as i,b as r,c as n,o as _,e as l,f as t,t as e,g as s,w as a,h as u}from"./index-l_RrMa-Q.js";const p=d({name:"NotFound",components:{Button:i}}),f={class:"h-svh"},h={class:"m-auto flex h-full w-full flex-col items-center justify-center gap-2"},g=t("h1",{class:"text-[7rem] font-bold leading-tight"},"404",-1),x={class:"font-medium"},$={class:"text-center text-muted-foreground mt-6"},N={class:"mt-6 flex gap-4"};function v(o,B,k,F,b,w){const c=n("Button"),m=n("RouterLink");return _(),l("div",f,[t("div",h,[g,t("span",x,e(o.$t("common.common.pageNotFound")),1),t("p",$,e(o.$t("common.tip.pageNotFound")),1),t("div",N,[s(m,{to:"/"},{default:a(()=>[s(c,{variant:"outline"},{default:a(()=>[u(e(o.$t("common.common.backToHome")),1)]),_:1})]),_:1})])])])}const V=r(p,[["render",v]]);export{V as default}; diff --git a/assets/ThirdForm-CLFRL79l.js b/assets/ThirdForm-CLFRL79l.js new file mode 100644 index 00000000..d42fa2f2 --- /dev/null +++ b/assets/ThirdForm-CLFRL79l.js @@ -0,0 +1,11 @@ +import{n as c,d,_ as u,b as _,c as o,o as h,e as m,f as e,t as p,g as t,w as a,h as n,F as f}from"./index-l_RrMa-Q.js";/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const b=c("FacebookIcon",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const v=c("GithubIcon",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]),k=d({name:"ThirdForm",components:{Facebook:b,Github:v,Button:u}}),x={class:"relative my-2"},F=e("div",{class:"absolute inset-0 flex items-center"},[e("span",{class:"w-full border-t"})],-1),g={class:"relative flex justify-center text-xs uppercase"},w={class:"bg-background px-2 text-muted-foreground"},y={class:"flex items-center gap-2"};function B(r,G,$,C,T,V){const i=o("Github"),s=o("Button"),l=o("Facebook");return h(),m(f,null,[e("div",x,[F,e("div",g,[e("span",w,p(r.$t("user.common.continueWith")),1)])]),e("div",y,[t(s,{variant:"outline",class:"w-full"},{default:a(()=>[t(i,{class:"mr-2 h-4 w-4"}),n(" GitHub ")]),_:1}),t(s,{variant:"outline",class:"w-full"},{default:a(()=>[t(l,{class:"mr-2 h-4 w-4"}),n(" Facebook ")]),_:1})])],64)}const M=_(k,[["render",B]]);export{b as F,v as G,M as T}; diff --git a/assets/index-_LpQvcpS.css b/assets/index-_LpQvcpS.css new file mode 100644 index 00000000..81e6518b --- /dev/null +++ b/assets/index-_LpQvcpS.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--ring: 222.2 84% 4.9%;--radius: .5rem}.dark{--background: 222.2 84% 4.9%;--foreground: 210 40% 98%;--muted: 217.2 32.6% 17.5%;--muted-foreground: 215 20.2% 65.1%;--popover: 222.2 84% 4.9%;--popover-foreground: 210 40% 98%;--card: 222.2 84% 4.9%;--card-foreground: 210 40% 98%;--border: 217.2 32.6% 17.5%;--input: 217.2 32.6% 17.5%;--primary: 210 40% 98%;--primary-foreground: 222.2 47.4% 11.2%;--secondary: 217.2 32.6% 17.5%;--secondary-foreground: 210 40% 98%;--accent: 217.2 32.6% 17.5%;--accent-foreground: 210 40% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 210 40% 98%;--ring: 212.7 26.8% 83.9%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 1400px){.container{max-width:1400px}}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-right-5{right:-1.25rem}.bottom-0{bottom:0}.left-0{left:0}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-4{top:1rem}.top-\[60\%\]{top:60%}.top-full{top:100%}.top-px{top:1px}.z-10{z-index:10}.z-50{z-index:50}.z-\[1\]{z-index:1}.m-auto{margin:auto}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-ml-6{margin-left:-1.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-8{margin-left:2rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[--radix-navigation-menu-viewport-height\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[--radix-select-trigger-height\]{height:var(--radix-select-trigger-height)}.h-\[var\(--header-height\)\]{height:var(--header-height)}.h-full{height:100%}.h-px{height:1px}.h-svh{height:100svh}.max-h-0{max-height:0px}.max-h-96{max-height:24rem}.max-h-screen{max-height:100vh}.w-0{width:0px}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-9{width:2.25rem}.w-\[150px\]{width:150px}.w-\[380px\]{width:380px}.w-auto{width:auto}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.min-w-32{min-width:8rem}.min-w-\[--radix-select-trigger-width\]{min-width:var(--radix-select-trigger-width)}.max-w-52{max-width:13rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.flex-1{flex:1 1 0%}.flex-none{flex:none}.shrink-0{flex-shrink:0}.caption-bottom{caption-side:bottom}.translate-y-1{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.list-none{list-style-type:none}.grid-cols-\[25px_minmax\(0\,1fr\)\]{grid-template-columns:25px minmax(0,1fr)}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-y-1{row-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-2{row-gap:.5rem}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-r-2{border-right-width:2px}.border-t{border-top-width:1px}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-input{border-color:hsl(var(--input))}.border-transparent{border-color:transparent}.border-l-slate-500{--tw-border-opacity: 1;border-left-color:rgb(100 116 139 / var(--tw-border-opacity))}.border-r-muted{border-right-color:hsl(var(--muted))}.bg-background{background-color:hsl(var(--background))}.bg-black\/80{background-color:#000c}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/50{background-color:hsl(var(--muted) / .5)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sky-500{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.fill-current{fill:currentColor}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-2{padding-bottom:.5rem}.pl-2{padding-left:.5rem}.pl-5{padding-left:1.25rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-5{padding-right:1.25rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-3{padding-top:.75rem}.pt-3\.5{padding-top:.875rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-5xl{font-size:3rem;line-height:1}.text-\[0\.625rem\]{font-size:.625rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[7rem\]{font-size:7rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-card-foreground{color:hsl(var(--card-foreground))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-transparent{--tw-shadow-color: transparent;--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[width\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.last\:mb-0:last-child{margin-bottom:0}.last\:pb-0:last-child{padding-bottom:0}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary) / .8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-primary:hover{color:hsl(var(--primary))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-75:hover{opacity:.75}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes collapsible-up{0%{height:var(--radix-collapsible-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-collapsible-up[data-state=closed]{animation:collapsible-up .2s ease-in-out}@keyframes collapsible-down{0%{height:0}to{height:var(--radix-collapsible-content-height)}}.data-\[state\=open\]\:animate-collapsible-down[data-state=open]{animation:collapsible-down .2s ease-in-out}.data-\[active\]\:bg-accent\/50[data-active]{background-color:hsl(var(--accent) / .5)}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:hsl(var(--accent) / .5)}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[collapsed\=true\]\:py-2[data-collapsed=true]{padding-top:.5rem;padding-bottom:.5rem}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-],.data-\[state\=open\]\:animate-in[data-state=open],.data-\[state\=visible\]\:animate-in[data-state=visible]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-],.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[state\=hidden\]\:animate-out[data-state=hidden]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity: 0}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-],.data-\[state\=closed\]\:fade-out-0[data-state=closed],.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open],.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale: .9}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x: 13rem}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x: -13rem}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x: 13rem}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x: -13rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.group[data-state=open] .group-data-\[state\=open\]\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:border-destructive){border-color:hsl(var(--destructive))}@media (min-width: 640px){.sm\:flex{display:flex}.sm\:w-\[480px\]{width:480px}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.sm\:text-left{text-align:left}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:bottom-0{bottom:0}.md\:right-auto{right:auto}.md\:ml-14{margin-left:3.5rem}.md\:ml-64{margin-left:16rem}.md\:inline{display:inline}.md\:inline-flex{display:inline-flex}.md\:table-cell{display:table-cell}.md\:h-svh{height:100svh}.md\:max-h-screen{max-height:100vh}.md\:w-14{width:3.5rem}.md\:w-64{width:16rem}.md\:w-\[--radix-navigation-menu-viewport-width\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-\[400px\]{width:400px}.md\:w-auto{width:auto}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:gap-8{gap:2rem}.md\:border-none{border-style:none}.md\:p-8{padding:2rem}.md\:px-8{padding-left:2rem;padding-right:2rem}}@media (min-width: 1024px){.lg\:hidden{display:none}.lg\:w-\[500px\]{width:500px}.lg\:max-w-none{max-width:none}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-\[minmax\(0\,\.75fr\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(0,.75fr) minmax(0,1fr)}.lg\:p-8{padding:2rem}.lg\:px-0{padding-left:0;padding-right:0}}@media (min-width: 1280px){.xl\:col-span-2{grid-column:span 2 / span 2}.xl\:table-column{display:table-column}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-0\.5>[role=checkbox]{--tw-translate-y: .125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>span\]\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0px}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px} diff --git a/assets/index-l_RrMa-Q.js b/assets/index-l_RrMa-Q.js new file mode 100644 index 00000000..081ca729 --- /dev/null +++ b/assets/index-l_RrMa-Q.js @@ -0,0 +1,151 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/AuthSignup-CL_fWI7s.js","assets/AlertForm-CxNrBNoN.js","assets/Label.vue_vue_type_script_setup_true_lang-CHduJ0nG.js","assets/Input.vue_vue_type_script_setup_true_lang-CXD5jqug.js","assets/ThirdForm-CLFRL79l.js","assets/AuthSignin-hrJ8H7T3.js","assets/DashboardHome-CMMGWMEW.js","assets/ForgotPassword-DTTE5vFY.js","assets/FormBasic-TyTMwxyb.js","assets/FormWithAction-Cg_KA51a.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +var jm=Object.defineProperty;var Gm=(e,t,n)=>t in e?jm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var hi=(e,t,n)=>(Gm(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(r){if(r.ep)return;r.ep=!0;const s=n(r);fetch(r.href,s)}})();/** +* @vue/shared v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function xl(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const et={},cr=[],tn=()=>{},Km=()=>!1,Sa=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Tl=e=>e.startsWith("onUpdate:"),Tt=Object.assign,Ol=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zm=Object.prototype.hasOwnProperty,Re=(e,t)=>zm.call(e,t),me=Array.isArray,dr=e=>Es(e)==="[object Map]",ka=e=>Es(e)==="[object Set]",nc=e=>Es(e)==="[object Date]",Ee=e=>typeof e=="function",ct=e=>typeof e=="string",bo=e=>typeof e=="symbol",Xe=e=>e!==null&&typeof e=="object",lf=e=>(Xe(e)||Ee(e))&&Ee(e.then)&&Ee(e.catch),uf=Object.prototype.toString,Es=e=>uf.call(e),qm=e=>Es(e).slice(8,-1),cf=e=>Es(e)==="[object Object]",Sl=e=>ct(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xr=xl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ma=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Xm=/-(\w)/g,nn=Ma(e=>e.replace(Xm,(t,n)=>n?n.toUpperCase():"")),Zm=/\B([A-Z])/g,zo=Ma(e=>e.replace(Zm,"-$1").toLowerCase()),Pa=Ma(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zs=Ma(e=>e?`on${Pa(e)}`:""),wo=(e,t)=>!Object.is(e,t),Js=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},as=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let oc;const df=()=>oc||(oc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Xn(e){if(me(e)){const t={};for(let n=0;n{if(n){const o=n.split(Qm);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Ye(e){let t="";if(ct(e))t=e;else if(me(e))for(let n=0;nDa(n,t))}const $e=e=>ct(e)?e:e==null?"":me(e)||Xe(e)&&(e.toString===uf||!Ee(e.toString))?JSON.stringify(e,pf,2):String(e),pf=(e,t)=>t&&t.__v_isRef?pf(e,t.value):dr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],s)=>(n[mi(o,s)+" =>"]=r,n),{})}:ka(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>mi(n))}:bo(t)?mi(t):Xe(t)&&!me(t)&&!cf(t)?String(t):t,mi=(e,t="")=>{var n;return bo(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Vt;class hf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Vt,!t&&Vt&&(this.index=(Vt.scopes||(Vt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Vt;try{return Vt=this,t()}finally{Vt=n}}}on(){Vt=this}off(){Vt=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Xo()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=vo,n=Uo;try{return vo=!0,Uo=this,this._runnings++,rc(this),this.fn()}finally{sc(this),this._runnings--,Uo=n,vo=t}}stop(){var t;this.active&&(rc(this),sc(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function ig(e){return e.value}function rc(e){e._trackId++,e._depsLength=0}function sc(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},ia=new WeakMap,Vo=Symbol(""),Bi=Symbol("");function Bt(e,t,n){if(vo&&Uo){let o=ia.get(e);o||ia.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=bf(()=>o.delete(n))),_f(Uo,r)}}function Yn(e,t,n,o,r,s){const a=ia.get(e);if(!a)return;let i=[];if(t==="clear")i=[...a.values()];else if(n==="length"&&me(e)){const l=Number(o);a.forEach((u,c)=>{(c==="length"||!bo(c)&&c>=l)&&i.push(u)})}else switch(n!==void 0&&i.push(a.get(n)),t){case"add":me(e)?Sl(n)&&i.push(a.get("length")):(i.push(a.get(Vo)),dr(e)&&i.push(a.get(Bi)));break;case"delete":me(e)||(i.push(a.get(Vo)),dr(e)&&i.push(a.get(Bi)));break;case"set":dr(e)&&i.push(a.get(Vo));break}Dl();for(const l of i)l&&yf(l,4);Ll()}function lg(e,t){var n;return(n=ia.get(e))==null?void 0:n.get(t)}const ug=xl("__proto__,__v_isRef,__isVue"),wf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(bo)),ac=cg();function cg(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=Fe(this);for(let s=0,a=this.length;s{e[t]=function(...n){qo(),Dl();const o=Fe(this)[t].apply(this,n);return Ll(),Xo(),o}}),e}function dg(e){const t=Fe(this);return Bt(t,"has",e),t.hasOwnProperty(e)}class Ef{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return s;if(n==="__v_raw")return o===(r?s?kf:Sf:s?Of:Tf).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=me(t);if(!r){if(a&&Re(ac,n))return Reflect.get(ac,n,o);if(n==="hasOwnProperty")return dg}const i=Reflect.get(t,n,o);return(bo(n)?wf.has(n):ug(n))||(r||Bt(t,"get",n),s)?i:ht(i)?a&&Sl(n)?i:i.value:Xe(i)?r?kr(i):Sr(i):i}}class Cf extends Ef{constructor(t=!1){super(!1,t)}set(t,n,o,r){let s=t[n];if(!this._isShallow){const l=br(s);if(!la(o)&&!br(o)&&(s=Fe(s),o=Fe(o)),!me(t)&&ht(s)&&!ht(o))return l?!1:(s.value=o,!0)}const a=me(t)&&Sl(n)?Number(n)e,La=e=>Reflect.getPrototypeOf(e);function Ns(e,t,n=!1,o=!1){e=e.__v_raw;const r=Fe(e),s=Fe(t);n||(wo(t,s)&&Bt(r,"get",t),Bt(r,"get",s));const{has:a}=La(r),i=o?Il:n?Al:is;if(a.call(r,t))return i(e.get(t));if(a.call(r,s))return i(e.get(s));e!==r&&e.get(t)}function Rs(e,t=!1){const n=this.__v_raw,o=Fe(n),r=Fe(e);return t||(wo(e,r)&&Bt(o,"has",e),Bt(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function $s(e,t=!1){return e=e.__v_raw,!t&&Bt(Fe(e),"iterate",Vo),Reflect.get(e,"size",e)}function ic(e){e=Fe(e);const t=Fe(this);return La(t).has.call(t,e)||(t.add(e),Yn(t,"add",e,e)),this}function lc(e,t){t=Fe(t);const n=Fe(this),{has:o,get:r}=La(n);let s=o.call(n,e);s||(e=Fe(e),s=o.call(n,e));const a=r.call(n,e);return n.set(e,t),s?wo(t,a)&&Yn(n,"set",e,t):Yn(n,"add",e,t),this}function uc(e){const t=Fe(this),{has:n,get:o}=La(t);let r=n.call(t,e);r||(e=Fe(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&Yn(t,"delete",e,void 0),s}function cc(){const e=Fe(this),t=e.size!==0,n=e.clear();return t&&Yn(e,"clear",void 0,void 0),n}function Fs(e,t){return function(o,r){const s=this,a=s.__v_raw,i=Fe(a),l=t?Il:e?Al:is;return!e&&Bt(i,"iterate",Vo),a.forEach((u,c)=>o.call(r,l(u),l(c),s))}}function Bs(e,t,n){return function(...o){const r=this.__v_raw,s=Fe(r),a=dr(s),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=r[e](...o),c=n?Il:t?Al:is;return!t&&Bt(s,"iterate",l?Bi:Vo),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:i?[c(d[0]),c(d[1])]:c(d),done:f}},[Symbol.iterator](){return this}}}}function oo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function gg(){const e={get(s){return Ns(this,s)},get size(){return $s(this)},has:Rs,add:ic,set:lc,delete:uc,clear:cc,forEach:Fs(!1,!1)},t={get(s){return Ns(this,s,!1,!0)},get size(){return $s(this)},has:Rs,add:ic,set:lc,delete:uc,clear:cc,forEach:Fs(!1,!0)},n={get(s){return Ns(this,s,!0)},get size(){return $s(this,!0)},has(s){return Rs.call(this,s,!0)},add:oo("add"),set:oo("set"),delete:oo("delete"),clear:oo("clear"),forEach:Fs(!0,!1)},o={get(s){return Ns(this,s,!0,!0)},get size(){return $s(this,!0)},has(s){return Rs.call(this,s,!0)},add:oo("add"),set:oo("set"),delete:oo("delete"),clear:oo("clear"),forEach:Fs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Bs(s,!1,!1),n[s]=Bs(s,!0,!1),t[s]=Bs(s,!1,!0),o[s]=Bs(s,!0,!0)}),[e,n,t,o]}const[vg,_g,yg,bg]=gg();function Ia(e,t){const n=t?e?bg:yg:e?_g:vg;return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(Re(n,r)&&r in o?n:o,r,s)}const wg={get:Ia(!1,!1)},Eg={get:Ia(!1,!0)},Cg={get:Ia(!0,!1)},xg={get:Ia(!0,!0)},Tf=new WeakMap,Of=new WeakMap,Sf=new WeakMap,kf=new WeakMap;function Tg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Og(e){return e.__v_skip||!Object.isExtensible(e)?0:Tg(qm(e))}function Sr(e){return br(e)?e:Aa(e,!1,fg,wg,Tf)}function Mf(e){return Aa(e,!1,hg,Eg,Of)}function kr(e){return Aa(e,!0,pg,Cg,Sf)}function nr(e){return Aa(e,!0,mg,xg,kf)}function Aa(e,t,n,o,r){if(!Xe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const a=Og(e);if(a===0)return e;const i=new Proxy(e,a===2?o:n);return r.set(e,i),i}function fr(e){return br(e)?fr(e.__v_raw):!!(e&&e.__v_isReactive)}function br(e){return!!(e&&e.__v_isReadonly)}function la(e){return!!(e&&e.__v_isShallow)}function Pf(e){return fr(e)||br(e)}function Fe(e){const t=e&&e.__v_raw;return t?Fe(t):e}function Df(e){return Object.isExtensible(e)&&aa(e,"__v_skip",!0),e}const is=e=>Xe(e)?Sr(e):e,Al=e=>Xe(e)?kr(e):e;class Lf{constructor(t,n,o,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Pl(()=>t(this._value),()=>Zr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=Fe(this);return(!t._cacheable||t.effect.dirty)&&wo(t._value,t._value=t.effect.run())&&Zr(t,4),Nl(t),t.effect._dirtyLevel>=2&&Zr(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Sg(e,t,n=!1){let o,r;const s=Ee(e);return s?(o=e,r=tn):(o=e.get,r=e.set),new Lf(o,r,s||!r,n)}function Nl(e){var t;vo&&Uo&&(e=Fe(e),_f(Uo,(t=e.dep)!=null?t:e.dep=bf(()=>e.dep=void 0,e instanceof Lf?e:void 0)))}function Zr(e,t=4,n){e=Fe(e);const o=e.dep;o&&yf(o,t)}function ht(e){return!!(e&&e.__v_isRef===!0)}function V(e){return If(e,!1)}function Mr(e){return If(e,!0)}function If(e,t){return ht(e)?e:new kg(e,t)}class kg{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Fe(t),this._value=n?t:is(t)}get value(){return Nl(this),this._value}set value(t){const n=this.__v_isShallow||la(t)||br(t);t=n?t:Fe(t),wo(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:is(t),Zr(this,4))}}function h(e){return ht(e)?e.value:e}function NP(e){return Ee(e)?e():h(e)}const Mg={get:(e,t,n)=>h(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ht(r)&&!ht(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Af(e){return fr(e)?e:new Proxy(e,Mg)}class Pg{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>Nl(this),()=>Zr(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function Nf(e){return new Pg(e)}function qt(e){const t=me(e)?new Array(e.length):{};for(const n in e)t[n]=$f(e,n);return t}class Dg{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return lg(Fe(this._object),this._key)}}class Lg{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Rf(e,t,n){return ht(e)?e:Ee(e)?new Lg(e):Xe(e)&&arguments.length>1?$f(e,t,n):V(e)}function $f(e,t,n){const o=e[t];return ht(o)?o:new Dg(e,t,n)}/** +* @vue/runtime-core v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function _o(e,t,n,o){try{return o?e(...o):e()}catch(r){Na(r,t,n)}}function cn(e,t,n,o){if(Ee(e)){const s=_o(e,t,n,o);return s&&lf(s)&&s.catch(a=>{Na(a,t,n)}),s}const r=[];for(let s=0;s>>1,r=kt[o],s=us(r);sbn&&kt.splice(t,1)}function Rg(e){me(e)?pr.push(...e):(!co||!co.includes(e,e.allowRecurse?$o+1:$o))&&pr.push(e),Bf()}function dc(e,t,n=ls?bn+1:0){for(;nus(n)-us(o));if(pr.length=0,co){co.push(...t);return}for(co=t,$o=0;$oe.id==null?1/0:e.id,$g=(e,t)=>{const n=us(e)-us(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Yf(e){Wi=!1,ls=!0,kt.sort($g);try{for(bn=0;bnct(g)?g.trim():g)),d&&(r=n.map(as))}let i,l=o[i=Zs(t)]||o[i=Zs(nn(t))];!l&&s&&(l=o[i=Zs(zo(t))]),l&&cn(l,e,6,r);const u=o[i+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,cn(u,e,6,r)}}function Uf(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const s=e.emits;let a={},i=!1;if(!Ee(e)){const l=u=>{const c=Uf(u,t,!0);c&&(i=!0,Tt(a,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!i?(Xe(e)&&o.set(e,null),null):(me(s)?s.forEach(l=>a[l]=null):Tt(a,s),Xe(e)&&o.set(e,a),a)}function Ra(e,t){return!e||!Sa(t)?!1:(t=t.slice(2).replace(/Once$/,""),Re(e,t[0].toLowerCase()+t.slice(1))||Re(e,zo(t))||Re(e,t))}let vt=null,Vf=null;function ua(e){const t=vt;return vt=e,Vf=e&&e.type.__scopeId||null,t}function T(e,t=vt,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&Cc(-1);const s=ua(t);let a;try{a=e(...r)}finally{ua(s),o._d&&Cc(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function gi(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[a],slots:i,attrs:l,emit:u,render:c,renderCache:d,data:f,setupState:g,ctx:_,inheritAttrs:y}=e;let C,v;const b=ua(e);try{if(n.shapeFlag&4){const x=r||o,S=x;C=yn(c.call(S,x,d,s,g,f,_)),v=l}else{const x=t;C=yn(x.length>1?x(s,{attrs:l,slots:i,emit:u}):x(s,null)),v=t.props?l:Bg(l)}}catch(x){ns.length=0,Na(x,e,1),C=$(Eo)}let w=C;if(v&&y!==!1){const x=Object.keys(v),{shapeFlag:S}=w;x.length&&S&7&&(a&&x.some(Tl)&&(v=Wg(v,a)),w=Go(w,v))}return n.dirs&&(w=Go(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),C=w,ua(b),C}const Bg=e=>{let t;for(const n in e)(n==="class"||n==="style"||Sa(n))&&((t||(t={}))[n]=e[n]);return t},Wg=(e,t)=>{const n={};for(const o in e)(!Tl(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Yg(e,t,n){const{props:o,children:r,component:s}=e,{props:a,children:i,patchFlag:l}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?fc(o,a,u):!!a;if(l&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense;function Hg(e,t){t&&t.pendingBranch?me(e)?t.effects.push(...e):t.effects.push(e):Rg(e)}const jg=Symbol.for("v-scx"),Gg=()=>jt(jg);function bt(e,t){return Bl(e,null,t)}const Ws={};function Le(e,t,n){return Bl(e,t,n)}function Bl(e,t,{immediate:n,deep:o,flush:r,once:s,onTrack:a,onTrigger:i}=et){if(t&&s){const O=t;t=(...P)=>{O(...P),S()}}const l=Ct,u=O=>o===!0?O:Bo(O,o===!1?1:void 0);let c,d=!1,f=!1;if(ht(e)?(c=()=>e.value,d=la(e)):fr(e)?(c=()=>u(e),d=!0):me(e)?(f=!0,d=e.some(O=>fr(O)||la(O)),c=()=>e.map(O=>{if(ht(O))return O.value;if(fr(O))return u(O);if(Ee(O))return _o(O,l,2)})):Ee(e)?t?c=()=>_o(e,l,2):c=()=>(g&&g(),cn(e,l,3,[_])):c=tn,t&&o){const O=c;c=()=>Bo(O())}let g,_=O=>{g=w.onStop=()=>{_o(O,l,4),g=w.onStop=void 0}},y;if(Ya)if(_=tn,t?n&&cn(t,l,3,[c(),f?[]:void 0,_]):c(),r==="sync"){const O=Gg();y=O.__watcherHandles||(O.__watcherHandles=[])}else return tn;let C=f?new Array(e.length).fill(Ws):Ws;const v=()=>{if(!(!w.active||!w.dirty))if(t){const O=w.run();(o||d||(f?O.some((P,Y)=>wo(P,C[Y])):wo(O,C)))&&(g&&g(),cn(t,l,3,[O,C===Ws?void 0:f&&C[0]===Ws?[]:C,_]),C=O)}else w.run()};v.allowRecurse=!!t;let b;r==="sync"?b=v:r==="post"?b=()=>$t(v,l&&l.suspense):(v.pre=!0,l&&(v.id=l.uid),b=()=>$l(v));const w=new Pl(c,tn,b),x=Ml(),S=()=>{w.stop(),x&&Ol(x.effects,w)};return t?n?v():C=w.run():r==="post"?$t(w.run.bind(w),l&&l.suspense):w.run(),y&&y.push(S),S}function Kg(e,t,n){const o=this.proxy,r=ct(e)?e.includes(".")?Gf(o,e):()=>o[e]:e.bind(o,o);let s;Ee(t)?s=t:(s=t.handler,n=t);const a=xs(this),i=Bl(r,s.bind(o),n);return a(),i}function Gf(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r0){if(n>=t)return e;n++}if(o=o||new Set,o.has(e))return e;if(o.add(e),ht(e))Bo(e.value,t,n,o);else if(me(e))for(let r=0;r{Bo(r,t,n,o)});else if(cf(e))for(const r in e)Bo(e[r],t,n,o);return e}function zg(e,t){if(vt===null)return e;const n=Ua(vt)||vt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r!!e.type.__asyncLoader,Kf=e=>e.type.__isKeepAlive;function qg(e,t){zf(e,"a",t)}function Xg(e,t){zf(e,"da",t)}function zf(e,t,n=Ct){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if($a(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Kf(r.parent.vnode)&&Zg(o,t,n,r),r=r.parent}}function Zg(e,t,n,o){const r=$a(t,e,o,!0);So(()=>{Ol(o[t],r)},n)}function $a(e,t,n=Ct,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;qo();const i=xs(n),l=cn(t,n,e,a);return i(),Xo(),l});return o?r.unshift(s):r.push(s),s}}const Zn=e=>(t,n=Ct)=>(!Ya||e==="sp")&&$a(e,(...o)=>t(...o),n),Wl=Zn("bm"),dt=Zn("m"),qf=Zn("bu"),Xf=Zn("u"),Fa=Zn("bum"),So=Zn("um"),Jg=Zn("sp"),Qg=Zn("rtg"),ev=Zn("rtc");function tv(e,t=Ct){$a("ec",e,t)}function jo(e,t,n,o){let r;const s=n&&n[o];if(me(e)||ct(e)){r=new Array(e.length);for(let a=0,i=e.length;at(a,i,void 0,s&&s[i]));else{const a=Object.keys(e);r=new Array(a.length);for(let i=0,l=a.length;ida(t)?!(t.type===Eo||t.type===He&&!Zf(t.children)):!0)?e:null}const Yi=e=>e?dp(e)?Ua(e)||e.proxy:Yi(e.parent):null,Qr=Tt(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=>Yi(e.parent),$root:e=>Yi(e.root),$emit:e=>e.emit,$options:e=>Yl(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,$l(e.update)}),$nextTick:e=>e.n||(e.n=it.bind(e.proxy)),$watch:e=>Kg.bind(e)}),vi=(e,t)=>e!==et&&!e.__isScriptSetup&&Re(e,t),nv={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:a,type:i,appContext:l}=e;let u;if(t[0]!=="$"){const g=a[t];if(g!==void 0)switch(g){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(vi(o,t))return a[t]=1,o[t];if(r!==et&&Re(r,t))return a[t]=2,r[t];if((u=e.propsOptions[0])&&Re(u,t))return a[t]=3,s[t];if(n!==et&&Re(n,t))return a[t]=4,n[t];Vi&&(a[t]=0)}}const c=Qr[t];let d,f;if(c)return t==="$attrs"&&Bt(e,"get",t),c(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(n!==et&&Re(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,Re(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return vi(r,t)?(r[t]=n,!0):o!==et&&Re(o,t)?(o[t]=n,!0):Re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},a){let i;return!!n[a]||e!==et&&Re(e,a)||vi(t,a)||(i=s[0])&&Re(i,a)||Re(o,a)||Re(Qr,a)||Re(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Jf(){return ov().slots}function ov(){const e=Kt();return e.setupContext||(e.setupContext=pp(e))}function Ui(e){return me(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Qf(e,t){const n=Ui(e);for(const o in t){if(o.startsWith("__skip"))continue;let r=n[o];r?me(r)||Ee(r)?r=n[o]={type:r,default:t[o]}:r.default=t[o]:r===null&&(r=n[o]={default:t[o]}),r&&t[`__skip_${o}`]&&(r.skipFactory=!0)}return n}let Vi=!0;function rv(e){const t=Yl(e),n=e.proxy,o=e.ctx;Vi=!1,t.beforeCreate&&hc(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:i,provide:l,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:g,updated:_,activated:y,deactivated:C,beforeDestroy:v,beforeUnmount:b,destroyed:w,unmounted:x,render:S,renderTracked:O,renderTriggered:P,errorCaptured:Y,serverPrefetch:I,expose:R,inheritAttrs:q,components:H,directives:_e,filters:ye}=t;if(u&&sv(u,o,null),a)for(const he in a){const be=a[he];Ee(be)&&(o[he]=be.bind(n))}if(r){const he=r.call(n,n);Xe(he)&&(e.data=Sr(he))}if(Vi=!0,s)for(const he in s){const be=s[he],rt=Ee(be)?be.bind(n,n):Ee(be.get)?be.get.bind(n,n):tn,mt=!Ee(be)&&Ee(be.set)?be.set.bind(n):tn,Ne=G({get:rt,set:mt});Object.defineProperty(o,he,{enumerable:!0,configurable:!0,get:()=>Ne.value,set:Ge=>Ne.value=Ge})}if(i)for(const he in i)ep(i[he],o,n,he);if(l){const he=Ee(l)?l.call(n):l;Reflect.ownKeys(he).forEach(be=>{hr(be,he[be])})}c&&hc(c,e,"c");function de(he,be){me(be)?be.forEach(rt=>he(rt.bind(n))):be&&he(be.bind(n))}if(de(Wl,d),de(dt,f),de(qf,g),de(Xf,_),de(qg,y),de(Xg,C),de(tv,Y),de(ev,O),de(Qg,P),de(Fa,b),de(So,x),de(Jg,I),me(R))if(R.length){const he=e.exposed||(e.exposed={});R.forEach(be=>{Object.defineProperty(he,be,{get:()=>n[be],set:rt=>n[be]=rt})})}else e.exposed||(e.exposed={});S&&e.render===tn&&(e.render=S),q!=null&&(e.inheritAttrs=q),H&&(e.components=H),_e&&(e.directives=_e)}function sv(e,t,n=tn){me(e)&&(e=Hi(e));for(const o in e){const r=e[o];let s;Xe(r)?"default"in r?s=jt(r.from||o,r.default,!0):s=jt(r.from||o):s=jt(r),ht(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[o]=s}}function hc(e,t,n){cn(me(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function ep(e,t,n,o){const r=o.includes(".")?Gf(n,o):()=>n[o];if(ct(e)){const s=t[e];Ee(s)&&Le(r,s)}else if(Ee(e))Le(r,e.bind(n));else if(Xe(e))if(me(e))e.forEach(s=>ep(s,t,n,o));else{const s=Ee(e.handler)?e.handler.bind(n):t[e.handler];Ee(s)&&Le(r,s,e)}}function Yl(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,i=s.get(t);let l;return i?l=i:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(u=>ca(l,u,a,!0)),ca(l,t,a)),Xe(t)&&s.set(t,l),l}function ca(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&ca(e,s,n,!0),r&&r.forEach(a=>ca(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const i=av[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const av={data:mc,props:gc,emits:gc,methods:zr,computed:zr,beforeCreate:It,created:It,beforeMount:It,mounted:It,beforeUpdate:It,updated:It,beforeDestroy:It,beforeUnmount:It,destroyed:It,unmounted:It,activated:It,deactivated:It,errorCaptured:It,serverPrefetch:It,components:zr,directives:zr,watch:lv,provide:mc,inject:iv};function mc(e,t){return t?e?function(){return Tt(Ee(e)?e.call(this,this):e,Ee(t)?t.call(this,this):t)}:t:e}function iv(e,t){return zr(Hi(e),Hi(t))}function Hi(e){if(me(e)){const t={};for(let n=0;n1)return n&&Ee(t)?t.call(o&&o.proxy):t}}function dv(e,t,n,o=!1){const r={},s={};aa(s,Wa,1),e.propsDefaults=Object.create(null),np(e,t,r,s);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:Mf(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function fv(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:a}}=e,i=Fe(r),[l]=e.propsOptions;let u=!1;if((o||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,g]=op(d,t,!0);Tt(a,f),g&&i.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!l)return Xe(e)&&o.set(e,cr),cr;if(me(s))for(let c=0;c-1,g[1]=y<0||_-1||Re(g,"default"))&&i.push(d)}}}const u=[a,i];return Xe(e)&&o.set(e,u),u}function vc(e){return e[0]!=="$"&&!Xr(e)}function _c(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function yc(e,t){return _c(e)===_c(t)}function bc(e,t){return me(t)?t.findIndex(n=>yc(n,e)):Ee(t)&&yc(t,e)?0:-1}const rp=e=>e[0]==="_"||e==="$stable",Ul=e=>me(e)?e.map(yn):[yn(e)],pv=(e,t,n)=>{if(t._n)return t;const o=T((...r)=>Ul(t(...r)),n);return o._c=!1,o},sp=(e,t,n)=>{const o=e._ctx;for(const r in e){if(rp(r))continue;const s=e[r];if(Ee(s))t[r]=pv(r,s,o);else if(s!=null){const a=Ul(s);t[r]=()=>a}}},ap=(e,t)=>{const n=Ul(t);e.slots.default=()=>n},hv=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Fe(t),aa(t,"_",n)):sp(t,e.slots={})}else e.slots={},t&&ap(e,t);aa(e.slots,Wa,1)},mv=(e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,a=et;if(o.shapeFlag&32){const i=t._;i?n&&i===1?s=!1:(Tt(r,t),!n&&i===1&&delete r._):(s=!t.$stable,sp(t,r)),a=t}else t&&(ap(e,t),a={default:1});if(s)for(const i in r)!rp(i)&&a[i]==null&&delete r[i]};function Gi(e,t,n,o,r=!1){if(me(e)){e.forEach((f,g)=>Gi(f,t&&(me(t)?t[g]:t),n,o,r));return}if(Jr(o)&&!r)return;const s=o.shapeFlag&4?Ua(o.component)||o.component.proxy:o.el,a=r?null:s,{i,r:l}=e,u=t&&t.r,c=i.refs===et?i.refs={}:i.refs,d=i.setupState;if(u!=null&&u!==l&&(ct(u)?(c[u]=null,Re(d,u)&&(d[u]=null)):ht(u)&&(u.value=null)),Ee(l))_o(l,i,12,[a,c]);else{const f=ct(l),g=ht(l);if(f||g){const _=()=>{if(e.f){const y=f?Re(d,l)?d[l]:c[l]:l.value;r?me(y)&&Ol(y,s):me(y)?y.includes(s)||y.push(s):f?(c[l]=[s],Re(d,l)&&(d[l]=c[l])):(l.value=[s],e.k&&(c[e.k]=l.value))}else f?(c[l]=a,Re(d,l)&&(d[l]=a)):g&&(l.value=a,e.k&&(c[e.k]=a))};a?(_.id=-1,$t(_,n)):_()}}}const $t=Hg;function gv(e){return vv(e)}function vv(e,t){const n=df();n.__VUE__=!0;const{insert:o,remove:r,patchProp:s,createElement:a,createText:i,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:g=tn,insertStaticContent:_}=e,y=(m,p,E,M=null,D=null,U=null,J=void 0,K=null,ee=!!p.dynamicChildren)=>{if(m===p)return;m&&!Yr(m,p)&&(M=B(m),Ge(m,D,U,!0),m=null),p.patchFlag===-2&&(ee=!1,p.dynamicChildren=null);const{type:j,ref:se,shapeFlag:fe}=p;switch(j){case Cs:C(m,p,E,M);break;case Eo:v(m,p,E,M);break;case yi:m==null&&b(p,E,M,J);break;case He:H(m,p,E,M,D,U,J,K,ee);break;default:fe&1?S(m,p,E,M,D,U,J,K,ee):fe&6?_e(m,p,E,M,D,U,J,K,ee):(fe&64||fe&128)&&j.process(m,p,E,M,D,U,J,K,ee,te)}se!=null&&D&&Gi(se,m&&m.ref,U,p||m,!p)},C=(m,p,E,M)=>{if(m==null)o(p.el=i(p.children),E,M);else{const D=p.el=m.el;p.children!==m.children&&u(D,p.children)}},v=(m,p,E,M)=>{m==null?o(p.el=l(p.children||""),E,M):p.el=m.el},b=(m,p,E,M)=>{[m.el,m.anchor]=_(m.children,p,E,M,m.el,m.anchor)},w=({el:m,anchor:p},E,M)=>{let D;for(;m&&m!==p;)D=f(m),o(m,E,M),m=D;o(p,E,M)},x=({el:m,anchor:p})=>{let E;for(;m&&m!==p;)E=f(m),r(m),m=E;r(p)},S=(m,p,E,M,D,U,J,K,ee)=>{p.type==="svg"?J="svg":p.type==="math"&&(J="mathml"),m==null?O(p,E,M,D,U,J,K,ee):I(m,p,D,U,J,K,ee)},O=(m,p,E,M,D,U,J,K)=>{let ee,j;const{props:se,shapeFlag:fe,transition:oe,dirs:L}=m;if(ee=m.el=a(m.type,U,se&&se.is,se),fe&8?c(ee,m.children):fe&16&&Y(m.children,ee,null,M,D,_i(m,U),J,K),L&&Io(m,null,M,"created"),P(ee,m,m.scopeId,J,M),se){for(const ue in se)ue!=="value"&&!Xr(ue)&&s(ee,ue,null,se[ue],U,m.children,M,D,st);"value"in se&&s(ee,"value",null,se.value,U),(j=se.onVnodeBeforeMount)&&vn(j,M,m)}L&&Io(m,null,M,"beforeMount");const W=_v(D,oe);W&&oe.beforeEnter(ee),o(ee,p,E),((j=se&&se.onVnodeMounted)||W||L)&&$t(()=>{j&&vn(j,M,m),W&&oe.enter(ee),L&&Io(m,null,M,"mounted")},D)},P=(m,p,E,M,D)=>{if(E&&g(m,E),M)for(let U=0;U{for(let j=ee;j{const K=p.el=m.el;let{patchFlag:ee,dynamicChildren:j,dirs:se}=p;ee|=m.patchFlag&16;const fe=m.props||et,oe=p.props||et;let L;if(E&&Ao(E,!1),(L=oe.onVnodeBeforeUpdate)&&vn(L,E,p,m),se&&Io(p,m,E,"beforeUpdate"),E&&Ao(E,!0),j?R(m.dynamicChildren,j,K,E,M,_i(p,D),U):J||be(m,p,K,null,E,M,_i(p,D),U,!1),ee>0){if(ee&16)q(K,p,fe,oe,E,M,D);else if(ee&2&&fe.class!==oe.class&&s(K,"class",null,oe.class,D),ee&4&&s(K,"style",fe.style,oe.style,D),ee&8){const W=p.dynamicProps;for(let ue=0;ue{L&&vn(L,E,p,m),se&&Io(p,m,E,"updated")},M)},R=(m,p,E,M,D,U,J)=>{for(let K=0;K{if(E!==M){if(E!==et)for(const K in E)!Xr(K)&&!(K in M)&&s(m,K,E[K],null,J,p.children,D,U,st);for(const K in M){if(Xr(K))continue;const ee=M[K],j=E[K];ee!==j&&K!=="value"&&s(m,K,j,ee,J,p.children,D,U,st)}"value"in M&&s(m,"value",E.value,M.value,J)}},H=(m,p,E,M,D,U,J,K,ee)=>{const j=p.el=m?m.el:i(""),se=p.anchor=m?m.anchor:i("");let{patchFlag:fe,dynamicChildren:oe,slotScopeIds:L}=p;L&&(K=K?K.concat(L):L),m==null?(o(j,E,M),o(se,E,M),Y(p.children||[],E,se,D,U,J,K,ee)):fe>0&&fe&64&&oe&&m.dynamicChildren?(R(m.dynamicChildren,oe,E,D,U,J,K),(p.key!=null||D&&p===D.subTree)&&Vl(m,p,!0)):be(m,p,E,se,D,U,J,K,ee)},_e=(m,p,E,M,D,U,J,K,ee)=>{p.slotScopeIds=K,m==null?p.shapeFlag&512?D.ctx.activate(p,E,M,J,ee):ye(p,E,M,D,U,J,ee):Ae(m,p,ee)},ye=(m,p,E,M,D,U,J)=>{const K=m.component=Sv(m,M,D);if(Kf(m)&&(K.ctx.renderer=te),kv(K),K.asyncDep){if(D&&D.registerDep(K,de),!m.el){const ee=K.subTree=$(Eo);v(null,ee,p,E)}}else de(K,m,p,E,D,U,J)},Ae=(m,p,E)=>{const M=p.component=m.component;if(Yg(m,p,E))if(M.asyncDep&&!M.asyncResolved){he(M,p,E);return}else M.next=p,Ng(M.update),M.effect.dirty=!0,M.update();else p.el=m.el,M.vnode=p},de=(m,p,E,M,D,U,J)=>{const K=()=>{if(m.isMounted){let{next:se,bu:fe,u:oe,parent:L,vnode:W}=m;{const Yt=ip(m);if(Yt){se&&(se.el=W.el,he(m,se,J)),Yt.asyncDep.then(()=>{m.isUnmounted||K()});return}}let ue=se,ve;Ao(m,!1),se?(se.el=W.el,he(m,se,J)):se=W,fe&&Js(fe),(ve=se.props&&se.props.onVnodeBeforeUpdate)&&vn(ve,L,se,W),Ao(m,!0);const qe=gi(m),St=m.subTree;m.subTree=qe,y(St,qe,d(St.el),B(St),m,D,U),se.el=qe.el,ue===null&&Ug(m,qe.el),oe&&$t(oe,D),(ve=se.props&&se.props.onVnodeUpdated)&&$t(()=>vn(ve,L,se,W),D)}else{let se;const{el:fe,props:oe}=p,{bm:L,m:W,parent:ue}=m,ve=Jr(p);if(Ao(m,!1),L&&Js(L),!ve&&(se=oe&&oe.onVnodeBeforeMount)&&vn(se,ue,p),Ao(m,!0),fe&&De){const qe=()=>{m.subTree=gi(m),De(fe,m.subTree,m,D,null)};ve?p.type.__asyncLoader().then(()=>!m.isUnmounted&&qe()):qe()}else{const qe=m.subTree=gi(m);y(null,qe,E,M,m,D,U),p.el=qe.el}if(W&&$t(W,D),!ve&&(se=oe&&oe.onVnodeMounted)){const qe=p;$t(()=>vn(se,ue,qe),D)}(p.shapeFlag&256||ue&&Jr(ue.vnode)&&ue.vnode.shapeFlag&256)&&m.a&&$t(m.a,D),m.isMounted=!0,p=E=M=null}},ee=m.effect=new Pl(K,tn,()=>$l(j),m.scope),j=m.update=()=>{ee.dirty&&ee.run()};j.id=m.uid,Ao(m,!0),j()},he=(m,p,E)=>{p.component=m;const M=m.vnode.props;m.vnode=p,m.next=null,fv(m,p.props,M,E),mv(m,p.children,E),qo(),dc(m),Xo()},be=(m,p,E,M,D,U,J,K,ee=!1)=>{const j=m&&m.children,se=m?m.shapeFlag:0,fe=p.children,{patchFlag:oe,shapeFlag:L}=p;if(oe>0){if(oe&128){mt(j,fe,E,M,D,U,J,K,ee);return}else if(oe&256){rt(j,fe,E,M,D,U,J,K,ee);return}}L&8?(se&16&&st(j,D,U),fe!==j&&c(E,fe)):se&16?L&16?mt(j,fe,E,M,D,U,J,K,ee):st(j,D,U,!0):(se&8&&c(E,""),L&16&&Y(fe,E,M,D,U,J,K,ee))},rt=(m,p,E,M,D,U,J,K,ee)=>{m=m||cr,p=p||cr;const j=m.length,se=p.length,fe=Math.min(j,se);let oe;for(oe=0;oese?st(m,D,U,!0,!1,fe):Y(p,E,M,D,U,J,K,ee,fe)},mt=(m,p,E,M,D,U,J,K,ee)=>{let j=0;const se=p.length;let fe=m.length-1,oe=se-1;for(;j<=fe&&j<=oe;){const L=m[j],W=p[j]=ee?fo(p[j]):yn(p[j]);if(Yr(L,W))y(L,W,E,null,D,U,J,K,ee);else break;j++}for(;j<=fe&&j<=oe;){const L=m[fe],W=p[oe]=ee?fo(p[oe]):yn(p[oe]);if(Yr(L,W))y(L,W,E,null,D,U,J,K,ee);else break;fe--,oe--}if(j>fe){if(j<=oe){const L=oe+1,W=Loe)for(;j<=fe;)Ge(m[j],D,U,!0),j++;else{const L=j,W=j,ue=new Map;for(j=W;j<=oe;j++){const Ut=p[j]=ee?fo(p[j]):yn(p[j]);Ut.key!=null&&ue.set(Ut.key,j)}let ve,qe=0;const St=oe-W+1;let Yt=!1,As=0;const tr=new Array(St);for(j=0;j=St){Ge(Ut,D,U,!0);continue}let gn;if(Ut.key!=null)gn=ue.get(Ut.key);else for(ve=W;ve<=oe;ve++)if(tr[ve-W]===0&&Yr(Ut,p[ve])){gn=ve;break}gn===void 0?Ge(Ut,D,U,!0):(tr[gn-W]=j+1,gn>=As?As=gn:Yt=!0,y(Ut,p[gn],E,null,D,U,J,K,ee),qe++)}const ec=Yt?yv(tr):cr;for(ve=ec.length-1,j=St-1;j>=0;j--){const Ut=W+j,gn=p[Ut],tc=Ut+1{const{el:U,type:J,transition:K,children:ee,shapeFlag:j}=m;if(j&6){Ne(m.component.subTree,p,E,M);return}if(j&128){m.suspense.move(p,E,M);return}if(j&64){J.move(m,p,E,te);return}if(J===He){o(U,p,E);for(let fe=0;feK.enter(U),D);else{const{leave:fe,delayLeave:oe,afterLeave:L}=K,W=()=>o(U,p,E),ue=()=>{fe(U,()=>{W(),L&&L()})};oe?oe(U,W,ue):ue()}else o(U,p,E)},Ge=(m,p,E,M=!1,D=!1)=>{const{type:U,props:J,ref:K,children:ee,dynamicChildren:j,shapeFlag:se,patchFlag:fe,dirs:oe}=m;if(K!=null&&Gi(K,null,E,m,!0),se&256){p.ctx.deactivate(m);return}const L=se&1&&oe,W=!Jr(m);let ue;if(W&&(ue=J&&J.onVnodeBeforeUnmount)&&vn(ue,p,m),se&6)Lt(m.component,E,M);else{if(se&128){m.suspense.unmount(E,M);return}L&&Io(m,null,p,"beforeUnmount"),se&64?m.type.remove(m,p,E,D,te,M):j&&(U!==He||fe>0&&fe&64)?st(j,p,E,!1,!0):(U===He&&fe&384||!D&&se&16)&&st(ee,p,E),M&&Ot(m)}(W&&(ue=J&&J.onVnodeUnmounted)||L)&&$t(()=>{ue&&vn(ue,p,m),L&&Io(m,null,p,"unmounted")},E)},Ot=m=>{const{type:p,el:E,anchor:M,transition:D}=m;if(p===He){Dt(E,M);return}if(p===yi){x(m);return}const U=()=>{r(E),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(m.shapeFlag&1&&D&&!D.persisted){const{leave:J,delayLeave:K}=D,ee=()=>J(E,U);K?K(m.el,U,ee):ee()}else U()},Dt=(m,p)=>{let E;for(;m!==p;)E=f(m),r(m),m=E;r(p)},Lt=(m,p,E)=>{const{bum:M,scope:D,update:U,subTree:J,um:K}=m;M&&Js(M),D.stop(),U&&(U.active=!1,Ge(J,m,p,E)),K&&$t(K,p),$t(()=>{m.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&m.asyncDep&&!m.asyncResolved&&m.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},st=(m,p,E,M=!1,D=!1,U=0)=>{for(let J=U;Jm.shapeFlag&6?B(m.component.subTree):m.shapeFlag&128?m.suspense.next():f(m.anchor||m.el);let Z=!1;const X=(m,p,E)=>{m==null?p._vnode&&Ge(p._vnode,null,null,!0):y(p._vnode||null,m,p,null,null,null,E),Z||(Z=!0,dc(),Wf(),Z=!1),p._vnode=m},te={p:y,um:Ge,m:Ne,r:Ot,mt:ye,mc:Y,pc:be,pbc:R,n:B,o:e};let Te,De;return t&&([Te,De]=t(te)),{render:X,hydrate:Te,createApp:cv(X,Te)}}function _i({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 Ao({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function _v(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Vl(e,t,n=!1){const o=e.children,r=t.children;if(me(o)&&me(r))for(let s=0;s>1,e[n[i]]0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=t[a];return n}function ip(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ip(t)}const bv=e=>e.__isTeleport,ts=e=>e&&(e.disabled||e.disabled===""),wc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ec=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ki=(e,t)=>{const n=e&&e.to;return ct(n)?t?t(n):null:n},wv={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,s,a,i,l,u){const{mc:c,pc:d,pbc:f,o:{insert:g,querySelector:_,createText:y,createComment:C}}=u,v=ts(t.props);let{shapeFlag:b,children:w,dynamicChildren:x}=t;if(e==null){const S=t.el=y(""),O=t.anchor=y("");g(S,n,o),g(O,n,o);const P=t.target=Ki(t.props,_),Y=t.targetAnchor=y("");P&&(g(Y,P),a==="svg"||wc(P)?a="svg":(a==="mathml"||Ec(P))&&(a="mathml"));const I=(R,q)=>{b&16&&c(w,R,q,r,s,a,i,l)};v?I(n,O):P&&I(P,Y)}else{t.el=e.el;const S=t.anchor=e.anchor,O=t.target=e.target,P=t.targetAnchor=e.targetAnchor,Y=ts(e.props),I=Y?n:O,R=Y?S:P;if(a==="svg"||wc(O)?a="svg":(a==="mathml"||Ec(O))&&(a="mathml"),x?(f(e.dynamicChildren,x,I,r,s,a,i),Vl(e,t,!0)):l||d(e,t,I,R,r,s,a,i,!1),v)Y?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ys(t,n,S,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const q=t.target=Ki(t.props,_);q&&Ys(t,q,null,u,0)}else Y&&Ys(t,O,P,u,1)}lp(t)},remove(e,t,n,o,{um:r,o:{remove:s}},a){const{shapeFlag:i,children:l,anchor:u,targetAnchor:c,target:d,props:f}=e;if(d&&s(c),a&&s(u),i&16){const g=a||!ts(f);for(let _=0;_0?an||cr:null,Cv(),cs>0&&an&&an.push(e),e}function pe(e,t,n,o,r,s){return up(we(e,t,n,o,r,s,!0))}function N(e,t,n,o,r){return up($(e,t,n,o,r,!0))}function da(e){return e?e.__v_isVNode===!0:!1}function Yr(e,t){return e.type===t.type&&e.key===t.key}const Wa="__vInternal",cp=({key:e})=>e??null,Qs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ct(e)||ht(e)||Ee(e)?{i:vt,r:e,k:t,f:!!n}:e:null);function we(e,t=null,n=null,o=0,r=null,s=e===He?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&cp(t),ref:t&&Qs(t),scopeId:Vf,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:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:vt};return i?(Hl(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=ct(n)?8:16),cs>0&&!a&&an&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&an.push(l),l}const $=xv;function xv(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===Hf)&&(e=Eo),da(e)){const i=Go(e,t,!0);return n&&Hl(i,n),cs>0&&!s&&an&&(i.shapeFlag&6?an[an.indexOf(e)]=i:an.push(i)),i.patchFlag|=-2,i}if(Lv(e)&&(e=e.__vccOpts),t){t=Ze(t);let{class:i,style:l}=t;i&&!ct(i)&&(t.class=Ye(i)),Xe(l)&&(Pf(l)&&!me(l)&&(l=Tt({},l)),t.style=Xn(l))}const a=ct(e)?1:Vg(e)?128:bv(e)?64:Xe(e)?4:Ee(e)?2:0;return we(e,t,n,o,r,a,s,!0)}function Ze(e){return e?Pf(e)||Wa in e?Tt({},e):e:null}function Go(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:a}=e,i=t?ae(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&cp(i),ref:t&&t.ref?n&&r?me(r)?r.concat(Qs(t)):[r,Qs(t)]:Qs(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Go(e.ssContent),ssFallback:e.ssFallback&&Go(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ut(e=" ",t=0){return $(Cs,null,e,t)}function je(e="",t=!1){return t?(k(),N(Eo,null,e)):$(Eo,null,e)}function yn(e){return e==null||typeof e=="boolean"?$(Eo):me(e)?$(He,null,e.slice()):typeof e=="object"?fo(e):$(Cs,null,String(e))}function fo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Go(e)}function Hl(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(me(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Hl(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Wa in t)?t._ctx=vt:r===3&&vt&&(vt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ee(t)?(t={default:t,_ctx:vt},n=32):(t=String(t),o&64?(n=16,t=[ut(t)]):n=8);e.children=t,e.shapeFlag|=n}function ae(...e){const t={};for(let n=0;nCt||vt;let fa,zi;{const e=df(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),s=>{r.length>1?r.forEach(a=>a(s)):r[0](s)}};fa=t("__VUE_INSTANCE_SETTERS__",n=>Ct=n),zi=t("__VUE_SSR_SETTERS__",n=>Ya=n)}const xs=e=>{const t=Ct;return fa(e),e.scope.on(),()=>{e.scope.off(),fa(t)}},xc=()=>{Ct&&Ct.scope.off(),fa(null)};function dp(e){return e.vnode.shapeFlag&4}let Ya=!1;function kv(e,t=!1){t&&zi(t);const{props:n,children:o}=e.vnode,r=dp(e);dv(e,n,r,t),hv(e,o);const s=r?Mv(e,t):void 0;return t&&zi(!1),s}function Mv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Df(new Proxy(e.ctx,nv));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?pp(e):null,s=xs(e);qo();const a=_o(o,e,0,[e.props,r]);if(Xo(),s(),lf(a)){if(a.then(xc,xc),t)return a.then(i=>{Tc(e,i,t)}).catch(i=>{Na(i,e,0)});e.asyncDep=a}else Tc(e,a,t)}else fp(e,t)}function Tc(e,t,n){Ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Xe(t)&&(e.setupState=Af(t)),fp(e,n)}let Oc;function fp(e,t,n){const o=e.type;if(!e.render){if(!t&&Oc&&!o.render){const r=o.template||Yl(e).template;if(r){const{isCustomElement:s,compilerOptions:a}=e.appContext.config,{delimiters:i,compilerOptions:l}=o,u=Tt(Tt({isCustomElement:s,delimiters:i},a),l);o.render=Oc(r,u)}}e.render=o.render||tn}{const r=xs(e);qo();try{rv(e)}finally{Xo(),r()}}}function Pv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Bt(e,"get","$attrs"),t[n]}}))}function pp(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Pv(e)},slots:e.slots,emit:e.emit,expose:t}}function Ua(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Af(Df(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qr)return Qr[n](e)},has(t,n){return n in t||n in Qr}}))}function Dv(e,t=!0){return Ee(e)?e.displayName||e.name:e.name||t&&e.__name}function Lv(e){return Ee(e)&&"__vccOpts"in e}const G=(e,t)=>Sg(e,t,Ya);function Tn(e,t,n){const o=arguments.length;return o===2?Xe(t)&&!me(t)?da(t)?$(e,null,[t]):$(e,t):$(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&da(n)&&(n=[n]),$(e,t,n))}const Iv="3.4.21";/** +* @vue/runtime-dom v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Av="http://www.w3.org/2000/svg",Nv="http://www.w3.org/1998/Math/MathML",po=typeof document<"u"?document:null,Sc=po&&po.createElement("template"),Rv={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?po.createElementNS(Av,e):t==="mathml"?po.createElementNS(Nv,e):po.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>po.createTextNode(e),createComment:e=>po.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>po.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,s){const a=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{Sc.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const i=Sc.content;if(o==="svg"||o==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},$v=Symbol("_vtc");function Fv(e,t,n){const o=e[$v];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const kc=Symbol("_vod"),Bv=Symbol("_vsh"),Wv=Symbol(""),Yv=/(^|;)\s*display\s*:/;function Uv(e,t,n){const o=e.style,r=ct(n);let s=!1;if(n&&!r){if(t)if(ct(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();n[i]==null&&ea(o,i,"")}else for(const a in t)n[a]==null&&ea(o,a,"");for(const a in n)a==="display"&&(s=!0),ea(o,a,n[a])}else if(r){if(t!==n){const a=o[Wv];a&&(n+=";"+a),o.cssText=n,s=Yv.test(n)}}else t&&e.removeAttribute("style");kc in e&&(e[kc]=s?o.display:"",e[Bv]&&(o.display="none"))}const Mc=/\s*!important$/;function ea(e,t,n){if(me(n))n.forEach(o=>ea(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Vv(e,t);Mc.test(n)?e.setProperty(zo(o),n.replace(Mc,""),"important"):e[o]=n}}const Pc=["Webkit","Moz","ms"],bi={};function Vv(e,t){const n=bi[t];if(n)return n;let o=nn(t);if(o!=="filter"&&o in e)return bi[t]=o;o=Pa(o);for(let r=0;rwi||(qv.then(()=>wi=0),wi=Date.now());function Zv(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;cn(Jv(o,n.value),t,5,[o])};return n.value=e,n.attached=Xv(),n}function Jv(e,t){if(me(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const Ac=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Qv=(e,t,n,o,r,s,a,i,l)=>{const u=r==="svg";t==="class"?Fv(e,o,u):t==="style"?Uv(e,n,o):Sa(t)?Tl(t)||Kv(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):e_(e,t,o,u))?jv(e,t,o,s,a,i,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Hv(e,t,o,u))};function e_(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ac(t)&&Ee(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Ac(t)&&ct(n)?!1:t in e}const pa=e=>{const t=e.props["onUpdate:modelValue"]||!1;return me(t)?n=>Js(t,n):t};function t_(e){e.target.composing=!0}function Nc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const mr=Symbol("_assign"),RP={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[mr]=pa(r);const s=o||r.props&&r.props.type==="number";Fo(e,t?"change":"input",a=>{if(a.target.composing)return;let i=e.value;n&&(i=i.trim()),s&&(i=as(i)),e[mr](i)}),n&&Fo(e,"change",()=>{e.value=e.value.trim()}),t||(Fo(e,"compositionstart",t_),Fo(e,"compositionend",Nc),Fo(e,"change",Nc))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},s){if(e[mr]=pa(s),e.composing)return;const a=r||e.type==="number"?as(e.value):e.value,i=t??"";a!==i&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===i)||(e.value=i))}},n_={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const r=ka(t);Fo(e,"change",()=>{const s=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?as(ha(a)):ha(a));e[mr](e.multiple?r?new Set(s):s:s[0]),e._assigning=!0,it(()=>{e._assigning=!1})}),e[mr]=pa(o)},mounted(e,{value:t,modifiers:{number:n}}){Rc(e,t,n)},beforeUpdate(e,t,n){e[mr]=pa(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Rc(e,t,n)}};function Rc(e,t,n){const o=e.multiple,r=me(t);if(!(o&&!r&&!ka(t))){for(let s=0,a=e.options.length;s-1}else i.selected=t.has(l);else if(Da(ha(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!o&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ha(e){return"_value"in e?e._value:e.value}const o_=["ctrl","shift","alt","meta"],r_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>o_.some(n=>e[`${n}Key`]&&!t.includes(n))},Cn=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...s)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=r=>{if(!("key"in r))return;const s=zo(r.key);if(t.some(a=>a===s||s_[a]===s))return e(r)})},a_=Tt({patchProp:Qv},Rv);let $c;function i_(){return $c||($c=gv(a_))}const l_=(...e)=>{const t=i_().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=c_(o);if(!r)return;const s=t._component;!Ee(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,u_(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function u_(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function c_(e){return ct(e)?document.querySelector(e):e}const d_=A({name:"App"}),Xt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};function f_(e,t,n,o,r,s){const a=Q("RouterView");return k(),N(a)}const p_=Xt(d_,[["render",f_]]);/*! + * vue-router v4.3.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const sr=typeof document<"u";function h_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ve=Object.assign;function Ei(e,t){const n={};for(const o in t){const r=t[o];n[o]=dn(r)?r.map(e):e(r)}return n}const os=()=>{},dn=Array.isArray,hp=/#/g,m_=/&/g,g_=/\//g,v_=/=/g,__=/\?/g,mp=/\+/g,y_=/%5B/g,b_=/%5D/g,gp=/%5E/g,w_=/%60/g,vp=/%7B/g,E_=/%7C/g,_p=/%7D/g,C_=/%20/g;function Gl(e){return encodeURI(""+e).replace(E_,"|").replace(y_,"[").replace(b_,"]")}function x_(e){return Gl(e).replace(vp,"{").replace(_p,"}").replace(gp,"^")}function qi(e){return Gl(e).replace(mp,"%2B").replace(C_,"+").replace(hp,"%23").replace(m_,"%26").replace(w_,"`").replace(vp,"{").replace(_p,"}").replace(gp,"^")}function T_(e){return qi(e).replace(v_,"%3D")}function O_(e){return Gl(e).replace(hp,"%23").replace(__,"%3F")}function S_(e){return e==null?"":O_(e).replace(g_,"%2F")}function ds(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const k_=/\/$/,M_=e=>e.replace(k_,"");function Ci(e,t,n="/"){let o,r={},s="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i=0&&(l=-1),l>-1&&(o=t.slice(0,l),s=t.slice(l+1,i>-1?i:t.length),r=e(s)),i>-1&&(o=o||t.slice(0,i),a=t.slice(i,t.length)),o=I_(o??t,n),{fullPath:o+(s&&"?")+s+a,path:o,query:r,hash:ds(a)}}function P_(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Fc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function D_(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&wr(t.matched[o],n.matched[r])&&yp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function wr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function yp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!L_(e[n],t[n]))return!1;return!0}function L_(e,t){return dn(e)?Bc(e,t):dn(t)?Bc(t,e):e===t}function Bc(e,t){return dn(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function I_(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let s=n.length-1,a,i;for(a=0;a1&&s--;else break;return n.slice(0,s).join("/")+"/"+o.slice(a).join("/")}var fs;(function(e){e.pop="pop",e.push="push"})(fs||(fs={}));var rs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(rs||(rs={}));function A_(e){if(!e)if(sr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),M_(e)}const N_=/^[^#]+#/;function R_(e,t){return e.replace(N_,"#")+t}function $_(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Va=()=>({left:window.scrollX,top:window.scrollY});function F_(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=$_(r,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 Wc(e,t){return(history.state?history.state.position-t:-1)+e}const Xi=new Map;function B_(e,t){Xi.set(e,t)}function W_(e){const t=Xi.get(e);return Xi.delete(e),t}let Y_=()=>location.protocol+"//"+location.host;function bp(e,t){const{pathname:n,search:o,hash:r}=t,s=e.indexOf("#");if(s>-1){let i=r.includes(e.slice(s))?e.slice(s).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),Fc(l,"")}return Fc(n,e)+o+r}function U_(e,t,n,o){let r=[],s=[],a=null;const i=({state:f})=>{const g=bp(e,location),_=n.value,y=t.value;let C=0;if(f){if(n.value=g,t.value=f,a&&a===_){a=null;return}C=y?f.position-y.position:0}else o(g);r.forEach(v=>{v(n.value,_,{delta:C,type:fs.pop,direction:C?C>0?rs.forward:rs.back:rs.unknown})})};function l(){a=n.value}function u(f){r.push(f);const g=()=>{const _=r.indexOf(f);_>-1&&r.splice(_,1)};return s.push(g),g}function c(){const{history:f}=window;f.state&&f.replaceState(Ve({},f.state,{scroll:Va()}),"")}function d(){for(const f of s)f();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:d}}function Yc(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Va():null}}function V_(e){const{history:t,location:n}=window,o={value:bp(e,n)},r={value:t.state};r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,u,c){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:Y_()+e+l;try{t[c?"replaceState":"pushState"](u,"",f),r.value=u}catch(g){console.error(g),n[c?"replace":"assign"](f)}}function a(l,u){const c=Ve({},t.state,Yc(r.value.back,l,r.value.forward,!0),u,{position:r.value.position});s(l,c,!0),o.value=l}function i(l,u){const c=Ve({},r.value,t.state,{forward:l,scroll:Va()});s(c.current,c,!0);const d=Ve({},Yc(o.value,l,null),{position:c.position+1},u);s(l,d,!1),o.value=l}return{location:o,state:r,push:i,replace:a}}function H_(e){e=A_(e);const t=V_(e),n=U_(e,t.state,t.location,t.replace);function o(s,a=!0){a||n.pauseListeners(),history.go(s)}const r=Ve({location:"",base:e,go:o,createHref:R_.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function j_(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),H_(e)}function G_(e){return typeof e=="string"||e&&typeof e=="object"}function wp(e){return typeof e=="string"||typeof e=="symbol"}const ro={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ep=Symbol("");var Uc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Uc||(Uc={}));function Er(e,t){return Ve(new Error,{type:e,[Ep]:!0},t)}function Pn(e,t){return e instanceof Error&&Ep in e&&(t==null||!!(e.type&t))}const Vc="[^/]+?",K_={sensitive:!1,strict:!1,start:!0,end:!0},z_=/[.+*?^${}()[\]/\\]/g;function q_(e,t){const n=Ve({},K_,t),o=[];let r=n.start?"^":"";const s=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function Z_(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const J_={type:0,value:""},Q_=/[a-zA-Z0-9_]/;function ey(e){if(!e)return[[]];if(e==="/")return[[J_]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=0,o=n;const r=[];let s;function a(){s&&r.push(s),s=[]}let i=0,l,u="",c="";function d(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function f(){u+=l}for(;i{a(b)}:os}function a(c){if(wp(c)){const d=o.get(c);d&&(o.delete(c),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(c);d>-1&&(n.splice(d,1),c.record.name&&o.delete(c.record.name),c.children.forEach(a),c.alias.forEach(a))}}function i(){return n}function l(c){let d=0;for(;d=0&&(c.record.path!==n[d].record.path||!Cp(c,n[d]));)d++;n.splice(d,0,c),c.record.name&&!Gc(c)&&o.set(c.record.name,c)}function u(c,d){let f,g={},_,y;if("name"in c&&c.name){if(f=o.get(c.name),!f)throw Er(1,{location:c});y=f.record.name,g=Ve(jc(d.params,f.keys.filter(b=>!b.optional).concat(f.parent?f.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),c.params&&jc(c.params,f.keys.map(b=>b.name))),_=f.stringify(g)}else if(c.path!=null)_=c.path,f=n.find(b=>b.re.test(_)),f&&(g=f.parse(_),y=f.record.name);else{if(f=d.name?o.get(d.name):n.find(b=>b.re.test(d.path)),!f)throw Er(1,{location:c,currentLocation:d});y=f.record.name,g=Ve({},d.params,c.params),_=f.stringify(g)}const C=[];let v=f;for(;v;)C.unshift(v.record),v=v.parent;return{name:y,path:_,params:g,matched:C,meta:sy(C)}}return e.forEach(c=>s(c)),{addRoute:s,resolve:u,removeRoute:a,getRoutes:i,getRecordMatcher:r}}function jc(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function oy(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ry(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 ry(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Gc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function sy(e){return e.reduce((t,n)=>Ve(t,n.meta),{})}function Kc(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Cp(e,t){return t.children.some(n=>n===e||Cp(e,n))}function ay(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;rs&&qi(s)):[o&&qi(o)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function iy(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=dn(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const ly=Symbol(""),qc=Symbol(""),Kl=Symbol(""),xp=Symbol(""),Zi=Symbol("");function Ur(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ho(e,t,n,o,r,s=a=>a()){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const u=f=>{f===!1?l(Er(4,{from:n,to:t})):f instanceof Error?l(f):G_(f)?l(Er(2,{from:t,to:f})):(a&&o.enterCallbacks[r]===a&&typeof f=="function"&&a.push(f),i())},c=s(()=>e.call(o&&o.instances[r],t,n,u));let d=Promise.resolve(c);e.length<3&&(d=d.then(u)),d.catch(f=>l(f))})}function xi(e,t,n,o,r=s=>s()){const s=[];for(const a of e)for(const i in a.components){let l=a.components[i];if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(uy(l)){const c=(l.__vccOpts||l)[t];c&&s.push(ho(c,n,o,a,i,r))}else{let u=l();s.push(()=>u.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${a.path}"`));const d=h_(c)?c.default:c;a.components[i]=d;const g=(d.__vccOpts||d)[t];return g&&ho(g,n,o,a,i,r)()}))}}return s}function uy(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Xc(e){const t=jt(Kl),n=jt(xp),o=G(()=>t.resolve(h(e.to))),r=G(()=>{const{matched:l}=o.value,{length:u}=l,c=l[u-1],d=n.matched;if(!c||!d.length)return-1;const f=d.findIndex(wr.bind(null,c));if(f>-1)return f;const g=Zc(l[u-2]);return u>1&&Zc(c)===g&&d[d.length-1].path!==g?d.findIndex(wr.bind(null,l[u-2])):f}),s=G(()=>r.value>-1&&py(n.params,o.value.params)),a=G(()=>r.value>-1&&r.value===n.matched.length-1&&yp(n.params,o.value.params));function i(l={}){return fy(l)?t[h(e.replace)?"replace":"push"](h(e.to)).catch(os):Promise.resolve()}return{route:o,href:G(()=>o.value.href),isActive:s,isExactActive:a,navigate:i}}const cy=A({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:Xc,setup(e,{slots:t}){const n=Sr(Xc(e)),{options:o}=jt(Kl),r=G(()=>({[Jc(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Jc(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Tn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},s)}}}),dy=cy;function fy(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 py(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!dn(r)||r.length!==o.length||o.some((s,a)=>s!==r[a]))return!1}return!0}function Zc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Jc=(e,t,n)=>e??t??n,hy=A({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=jt(Zi),r=G(()=>e.route||o.value),s=jt(qc,0),a=G(()=>{let u=h(s);const{matched:c}=r.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),i=G(()=>r.value.matched[a.value]);hr(qc,G(()=>a.value+1)),hr(ly,i),hr(Zi,r);const l=V();return Le(()=>[l.value,i.value,e.name],([u,c,d],[f,g,_])=>{c&&(c.instances[d]=u,g&&g!==c&&u&&u===f&&(c.leaveGuards.size||(c.leaveGuards=g.leaveGuards),c.updateGuards.size||(c.updateGuards=g.updateGuards))),u&&c&&(!g||!wr(c,g)||!f)&&(c.enterCallbacks[d]||[]).forEach(y=>y(u))},{flush:"post"}),()=>{const u=r.value,c=e.name,d=i.value,f=d&&d.components[c];if(!f)return Qc(n.default,{Component:f,route:u});const g=d.props[c],_=g?g===!0?u.params:typeof g=="function"?g(u):g:null,C=Tn(f,Ve({},_,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(d.instances[c]=null)},ref:l}));return Qc(n.default,{Component:C,route:u})||C}}});function Qc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const my=hy;function gy(e){const t=ny(e.routes,e),n=e.parseQuery||ay,o=e.stringifyQuery||zc,r=e.history,s=Ur(),a=Ur(),i=Ur(),l=Mr(ro);let u=ro;sr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ei.bind(null,B=>""+B),d=Ei.bind(null,S_),f=Ei.bind(null,ds);function g(B,Z){let X,te;return wp(B)?(X=t.getRecordMatcher(B),te=Z):te=B,t.addRoute(te,X)}function _(B){const Z=t.getRecordMatcher(B);Z&&t.removeRoute(Z)}function y(){return t.getRoutes().map(B=>B.record)}function C(B){return!!t.getRecordMatcher(B)}function v(B,Z){if(Z=Ve({},Z||l.value),typeof B=="string"){const p=Ci(n,B,Z.path),E=t.resolve({path:p.path},Z),M=r.createHref(p.fullPath);return Ve(p,E,{params:f(E.params),hash:ds(p.hash),redirectedFrom:void 0,href:M})}let X;if(B.path!=null)X=Ve({},B,{path:Ci(n,B.path,Z.path).path});else{const p=Ve({},B.params);for(const E in p)p[E]==null&&delete p[E];X=Ve({},B,{params:d(p)}),Z.params=d(Z.params)}const te=t.resolve(X,Z),Te=B.hash||"";te.params=c(f(te.params));const De=P_(o,Ve({},B,{hash:x_(Te),path:te.path})),m=r.createHref(De);return Ve({fullPath:De,hash:Te,query:o===zc?iy(B.query):B.query||{}},te,{redirectedFrom:void 0,href:m})}function b(B){return typeof B=="string"?Ci(n,B,l.value.path):Ve({},B)}function w(B,Z){if(u!==B)return Er(8,{from:Z,to:B})}function x(B){return P(B)}function S(B){return x(Ve(b(B),{replace:!0}))}function O(B){const Z=B.matched[B.matched.length-1];if(Z&&Z.redirect){const{redirect:X}=Z;let te=typeof X=="function"?X(B):X;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=b(te):{path:te},te.params={}),Ve({query:B.query,hash:B.hash,params:te.path!=null?{}:B.params},te)}}function P(B,Z){const X=u=v(B),te=l.value,Te=B.state,De=B.force,m=B.replace===!0,p=O(X);if(p)return P(Ve(b(p),{state:typeof p=="object"?Ve({},Te,p.state):Te,force:De,replace:m}),Z||X);const E=X;E.redirectedFrom=Z;let M;return!De&&D_(o,te,X)&&(M=Er(16,{to:E,from:te}),Ne(te,te,!0,!1)),(M?Promise.resolve(M):R(E,te)).catch(D=>Pn(D)?Pn(D,2)?D:mt(D):be(D,E,te)).then(D=>{if(D){if(Pn(D,2))return P(Ve({replace:m},b(D.to),{state:typeof D.to=="object"?Ve({},Te,D.to.state):Te,force:De}),Z||E)}else D=H(E,te,!0,m,Te);return q(E,te,D),D})}function Y(B,Z){const X=w(B,Z);return X?Promise.reject(X):Promise.resolve()}function I(B){const Z=Dt.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(B):B()}function R(B,Z){let X;const[te,Te,De]=vy(B,Z);X=xi(te.reverse(),"beforeRouteLeave",B,Z);for(const p of te)p.leaveGuards.forEach(E=>{X.push(ho(E,B,Z))});const m=Y.bind(null,B,Z);return X.push(m),st(X).then(()=>{X=[];for(const p of s.list())X.push(ho(p,B,Z));return X.push(m),st(X)}).then(()=>{X=xi(Te,"beforeRouteUpdate",B,Z);for(const p of Te)p.updateGuards.forEach(E=>{X.push(ho(E,B,Z))});return X.push(m),st(X)}).then(()=>{X=[];for(const p of De)if(p.beforeEnter)if(dn(p.beforeEnter))for(const E of p.beforeEnter)X.push(ho(E,B,Z));else X.push(ho(p.beforeEnter,B,Z));return X.push(m),st(X)}).then(()=>(B.matched.forEach(p=>p.enterCallbacks={}),X=xi(De,"beforeRouteEnter",B,Z,I),X.push(m),st(X))).then(()=>{X=[];for(const p of a.list())X.push(ho(p,B,Z));return X.push(m),st(X)}).catch(p=>Pn(p,8)?p:Promise.reject(p))}function q(B,Z,X){i.list().forEach(te=>I(()=>te(B,Z,X)))}function H(B,Z,X,te,Te){const De=w(B,Z);if(De)return De;const m=Z===ro,p=sr?history.state:{};X&&(te||m?r.replace(B.fullPath,Ve({scroll:m&&p&&p.scroll},Te)):r.push(B.fullPath,Te)),l.value=B,Ne(B,Z,X,m),mt()}let _e;function ye(){_e||(_e=r.listen((B,Z,X)=>{if(!Lt.listening)return;const te=v(B),Te=O(te);if(Te){P(Ve(Te,{replace:!0}),te).catch(os);return}u=te;const De=l.value;sr&&B_(Wc(De.fullPath,X.delta),Va()),R(te,De).catch(m=>Pn(m,12)?m:Pn(m,2)?(P(m.to,te).then(p=>{Pn(p,20)&&!X.delta&&X.type===fs.pop&&r.go(-1,!1)}).catch(os),Promise.reject()):(X.delta&&r.go(-X.delta,!1),be(m,te,De))).then(m=>{m=m||H(te,De,!1),m&&(X.delta&&!Pn(m,8)?r.go(-X.delta,!1):X.type===fs.pop&&Pn(m,20)&&r.go(-1,!1)),q(te,De,m)}).catch(os)}))}let Ae=Ur(),de=Ur(),he;function be(B,Z,X){mt(B);const te=de.list();return te.length?te.forEach(Te=>Te(B,Z,X)):console.error(B),Promise.reject(B)}function rt(){return he&&l.value!==ro?Promise.resolve():new Promise((B,Z)=>{Ae.add([B,Z])})}function mt(B){return he||(he=!B,ye(),Ae.list().forEach(([Z,X])=>B?X(B):Z()),Ae.reset()),B}function Ne(B,Z,X,te){const{scrollBehavior:Te}=e;if(!sr||!Te)return Promise.resolve();const De=!X&&W_(Wc(B.fullPath,0))||(te||!X)&&history.state&&history.state.scroll||null;return it().then(()=>Te(B,Z,De)).then(m=>m&&F_(m)).catch(m=>be(m,B,Z))}const Ge=B=>r.go(B);let Ot;const Dt=new Set,Lt={currentRoute:l,listening:!0,addRoute:g,removeRoute:_,hasRoute:C,getRoutes:y,resolve:v,options:e,push:x,replace:S,go:Ge,back:()=>Ge(-1),forward:()=>Ge(1),beforeEach:s.add,beforeResolve:a.add,afterEach:i.add,onError:de.add,isReady:rt,install(B){const Z=this;B.component("RouterLink",dy),B.component("RouterView",my),B.config.globalProperties.$router=Z,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>h(l)}),sr&&!Ot&&l.value===ro&&(Ot=!0,x(r.location).catch(Te=>{}));const X={};for(const Te in ro)Object.defineProperty(X,Te,{get:()=>l.value[Te],enumerable:!0});B.provide(Kl,Z),B.provide(xp,Mf(X)),B.provide(Zi,l);const te=B.unmount;Dt.add(B),B.unmount=function(){Dt.delete(B),Dt.size<1&&(u=ro,_e&&_e(),_e=null,l.value=ro,Ot=!1,he=!1),te()}}};function st(B){return B.reduce((Z,X)=>Z.then(()=>I(X)),Promise.resolve())}return Lt}function vy(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;awr(u,i))?o.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find(u=>wr(u,l))||r.push(l))}return[n,o,r]}const _y="modulepreload",yy=function(e){return"/"+e},ed={},Co=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),i=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));r=Promise.all(n.map(l=>{if(l=yy(l),l in ed)return;ed[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!o)for(let g=s.length-1;g>=0;g--){const _=s[g];if(_.href===l&&(!u||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${c}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":_y,u||(f.as="script",f.crossOrigin=""),f.href=l,i&&f.setAttribute("nonce",i),document.head.appendChild(f),u)return new Promise((g,_)=>{f.addEventListener("load",g),f.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${l}`)))})}))}return r.then(()=>t()).catch(s=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s})},by=e=>{e.addRoute({path:"/auth",name:"auth",children:[{name:"signup",path:"signup",component:()=>Co(()=>import("./AuthSignup-CL_fWI7s.js"),__vite__mapDeps([0,1,2,3,4]))},{name:"signin",path:"signin",component:()=>Co(()=>import("./AuthSignin-hrJ8H7T3.js"),__vite__mapDeps([5,1,2,3,4]))}]})};function Tp(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;ti(s)))==null?void 0:a.classGroupId}const td=/^\[(.+)\]$/;function Cy(e){if(td.test(e)){const t=td.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function xy(e){const{theme:t,prefix:n}=e,o={nextPart:new Map,validators:[]};return Oy(Object.entries(e.classGroups),n).forEach(([s,a])=>{Ji(a,o,s,t)}),o}function Ji(e,t,n,o){e.forEach(r=>{if(typeof r=="string"){const s=r===""?t:nd(t,r);s.classGroupId=n;return}if(typeof r=="function"){if(Ty(r)){Ji(r(o),t,n,o);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([s,a])=>{Ji(a,nd(t,s),n,o)})})}function nd(e,t){let n=e;return t.split(zl).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n}function Ty(e){return e.isThemeGetter}function Oy(e,t){return t?e.map(([n,o])=>{const r=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,i])=>[t+a,i])):s);return[n,r]}):e}function Sy(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;function r(s,a){n.set(s,a),t++,t>e&&(t=0,o=n,n=new Map)}return{get(s){let a=n.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return r(s,a),a},set(s,a){n.has(s)?n.set(s,a):r(s,a)}}}const Sp="!";function ky(e){const t=e.separator,n=t.length===1,o=t[0],r=t.length;return function(a){const i=[];let l=0,u=0,c;for(let y=0;yu?c-u:void 0;return{modifiers:i,hasImportantModifier:f,baseClassName:g,maybePostfixModifierPosition:_}}}function My(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(o=>{o[0]==="["?(t.push(...n.sort(),o),n=[]):n.push(o)}),t.push(...n.sort()),t}function Py(e){return{cache:Sy(e.cacheSize),splitModifiers:ky(e),...Ey(e)}}const Dy=/\s+/;function Ly(e,t){const{splitModifiers:n,getClassGroupId:o,getConflictingClassGroupIds:r}=t,s=new Set;return e.trim().split(Dy).map(a=>{const{modifiers:i,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(a);let d=o(c?u.substring(0,c):u),f=!!c;if(!d){if(!c)return{isTailwindClass:!1,originalClassName:a};if(d=o(u),!d)return{isTailwindClass:!1,originalClassName:a};f=!1}const g=My(i).join(":");return{isTailwindClass:!0,modifierId:l?g+Sp:g,classGroupId:d,originalClassName:a,hasPostfixModifier:f}}).reverse().filter(a=>{if(!a.isTailwindClass)return!0;const{modifierId:i,classGroupId:l,hasPostfixModifier:u}=a,c=i+l;return s.has(c)?!1:(s.add(c),r(l,u).forEach(d=>s.add(i+d)),!0)}).reverse().map(a=>a.originalClassName).join(" ")}function Iy(){let e=0,t,n,o="";for(;ed(c),e());return n=Py(u),o=n.cache.get,r=n.cache.set,s=i,i(l)}function i(l){const u=o(l);if(u)return u;const c=Ly(l,n);return r(l,c),c}return function(){return s(Iy.apply(null,arguments))}}function Qe(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Mp=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ny=/^\d+\/\d+$/,Ry=new Set(["px","full","screen"]),$y=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Fy=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,By=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Wy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Yy=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Dn(e){return Wo(e)||Ry.has(e)||Ny.test(e)}function so(e){return Pr(e,"length",qy)}function Wo(e){return!!e&&!Number.isNaN(Number(e))}function Us(e){return Pr(e,"number",Wo)}function Vr(e){return!!e&&Number.isInteger(Number(e))}function Uy(e){return e.endsWith("%")&&Wo(e.slice(0,-1))}function Oe(e){return Mp.test(e)}function ao(e){return $y.test(e)}const Vy=new Set(["length","size","percentage"]);function Hy(e){return Pr(e,Vy,Pp)}function jy(e){return Pr(e,"position",Pp)}const Gy=new Set(["image","url"]);function Ky(e){return Pr(e,Gy,Zy)}function zy(e){return Pr(e,"",Xy)}function Hr(){return!0}function Pr(e,t,n){const o=Mp.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):n(o[2]):!1}function qy(e){return Fy.test(e)&&!By.test(e)}function Pp(){return!1}function Xy(e){return Wy.test(e)}function Zy(e){return Yy.test(e)}function Jy(){const e=Qe("colors"),t=Qe("spacing"),n=Qe("blur"),o=Qe("brightness"),r=Qe("borderColor"),s=Qe("borderRadius"),a=Qe("borderSpacing"),i=Qe("borderWidth"),l=Qe("contrast"),u=Qe("grayscale"),c=Qe("hueRotate"),d=Qe("invert"),f=Qe("gap"),g=Qe("gradientColorStops"),_=Qe("gradientColorStopPositions"),y=Qe("inset"),C=Qe("margin"),v=Qe("opacity"),b=Qe("padding"),w=Qe("saturate"),x=Qe("scale"),S=Qe("sepia"),O=Qe("skew"),P=Qe("space"),Y=Qe("translate"),I=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",Oe,t],H=()=>[Oe,t],_e=()=>["",Dn,so],ye=()=>["auto",Wo,Oe],Ae=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],de=()=>["solid","dashed","dotted","double","none"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],be=()=>["start","end","center","between","around","evenly","stretch"],rt=()=>["","0",Oe],mt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Ne=()=>[Wo,Us],Ge=()=>[Wo,Oe];return{cacheSize:500,separator:":",theme:{colors:[Hr],spacing:[Dn,so],blur:["none","",ao,Oe],brightness:Ne(),borderColor:[e],borderRadius:["none","","full",ao,Oe],borderSpacing:H(),borderWidth:_e(),contrast:Ne(),grayscale:rt(),hueRotate:Ge(),invert:rt(),gap:H(),gradientColorStops:[e],gradientColorStopPositions:[Uy,so],inset:q(),margin:q(),opacity:Ne(),padding:H(),saturate:Ne(),scale:Ne(),sepia:rt(),skew:Ge(),space:H(),translate:H()},classGroups:{aspect:[{aspect:["auto","square","video",Oe]}],container:["container"],columns:[{columns:[ao]}],"break-after":[{"break-after":mt()}],"break-before":[{"break-before":mt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ae(),Oe]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Vr,Oe]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Oe]}],grow:[{grow:rt()}],shrink:[{shrink:rt()}],order:[{order:["first","last","none",Vr,Oe]}],"grid-cols":[{"grid-cols":[Hr]}],"col-start-end":[{col:["auto",{span:["full",Vr,Oe]},Oe]}],"col-start":[{"col-start":ye()}],"col-end":[{"col-end":ye()}],"grid-rows":[{"grid-rows":[Hr]}],"row-start-end":[{row:["auto",{span:[Vr,Oe]},Oe]}],"row-start":[{"row-start":ye()}],"row-end":[{"row-end":ye()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Oe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Oe]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Oe,t]}],"min-w":[{"min-w":[Oe,t,"min","max","fit"]}],"max-w":[{"max-w":[Oe,t,"none","full","min","max","fit","prose",{screen:[ao]},ao]}],h:[{h:[Oe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Oe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Oe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Oe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ao,so]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Us]}],"font-family":[{font:[Hr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Oe]}],"line-clamp":[{"line-clamp":["none",Wo,Us]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Dn,Oe]}],"list-image":[{"list-image":["none",Oe]}],"list-style-type":[{list:["none","disc","decimal",Oe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...de(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Dn,so]}],"underline-offset":[{"underline-offset":["auto",Dn,Oe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:H()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Oe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Oe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ae(),jy]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Hy]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ky]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[_]}],"gradient-via-pos":[{via:[_]}],"gradient-to-pos":[{to:[_]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...de(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:de()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...de()]}],"outline-offset":[{"outline-offset":[Dn,Oe]}],"outline-w":[{outline:[Dn,so]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:_e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[Dn,so]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ao,zy]}],"shadow-color":[{shadow:[Hr]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":he()}],"bg-blend":[{"bg-blend":he()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",ao,Oe]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Oe]}],duration:[{duration:Ge()}],ease:[{ease:["linear","in","out","in-out",Oe]}],delay:[{delay:Ge()}],animate:[{animate:["none","spin","ping","pulse","bounce",Oe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[Vr,Oe]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[O]}],"skew-y":[{"skew-y":[O]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Oe]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Oe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":H()}],"scroll-mx":[{"scroll-mx":H()}],"scroll-my":[{"scroll-my":H()}],"scroll-ms":[{"scroll-ms":H()}],"scroll-me":[{"scroll-me":H()}],"scroll-mt":[{"scroll-mt":H()}],"scroll-mr":[{"scroll-mr":H()}],"scroll-mb":[{"scroll-mb":H()}],"scroll-ml":[{"scroll-ml":H()}],"scroll-p":[{"scroll-p":H()}],"scroll-px":[{"scroll-px":H()}],"scroll-py":[{"scroll-py":H()}],"scroll-ps":[{"scroll-ps":H()}],"scroll-pe":[{"scroll-pe":H()}],"scroll-pt":[{"scroll-pt":H()}],"scroll-pr":[{"scroll-pr":H()}],"scroll-pb":[{"scroll-pb":H()}],"scroll-pl":[{"scroll-pl":H()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Oe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Dn,so,Us]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const Qy=Ay(Jy);function Pe(...e){return Qy(wy(e))}function Dp(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,rd=eb,ql=(e,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return rd(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:s}=t,a=Object.keys(r).map(u=>{const c=n==null?void 0:n[u],d=s==null?void 0:s[u];if(c===null)return null;const f=od(c)||od(d);return r[u][f]}),i=n&&Object.entries(n).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((u,c)=>{let{class:d,className:f,...g}=c;return Object.entries(g).every(_=>{let[y,C]=_;return Array.isArray(C)?C.includes({...s,...i}[y]):{...s,...i}[y]===C})?[...u,d,f]:u},[]);return rd(e,a,l,n==null?void 0:n.class,n==null?void 0:n.className)},tb=["top","right","bottom","left"],xo=Math.min,Ht=Math.max,ma=Math.round,Vs=Math.floor,To=e=>({x:e,y:e}),nb={left:"right",right:"left",bottom:"top",top:"bottom"},ob={start:"end",end:"start"};function Qi(e,t,n){return Ht(e,xo(t,n))}function jn(e,t){return typeof e=="function"?e(t):e}function Gn(e){return e.split("-")[0]}function Dr(e){return e.split("-")[1]}function Xl(e){return e==="x"?"y":"x"}function Zl(e){return e==="y"?"height":"width"}function Lr(e){return["top","bottom"].includes(Gn(e))?"y":"x"}function Jl(e){return Xl(Lr(e))}function rb(e,t,n){n===void 0&&(n=!1);const o=Dr(e),r=Jl(e),s=Zl(r);let a=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=ga(a)),[a,ga(a)]}function sb(e){const t=ga(e);return[el(e),t,el(t)]}function el(e){return e.replace(/start|end/g,t=>ob[t])}function ab(e,t,n){const o=["left","right"],r=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?s:a;default:return[]}}function ib(e,t,n,o){const r=Dr(e);let s=ab(Gn(e),n==="start",o);return r&&(s=s.map(a=>a+"-"+r),t&&(s=s.concat(s.map(el)))),s}function ga(e){return e.replace(/left|right|bottom|top/g,t=>nb[t])}function lb(e){return{top:0,right:0,bottom:0,left:0,...e}}function Lp(e){return typeof e!="number"?lb(e):{top:e,right:e,bottom:e,left:e}}function va(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function sd(e,t,n){let{reference:o,floating:r}=e;const s=Lr(t),a=Jl(t),i=Zl(a),l=Gn(t),u=s==="y",c=o.x+o.width/2-r.width/2,d=o.y+o.height/2-r.height/2,f=o[i]/2-r[i]/2;let g;switch(l){case"top":g={x:c,y:o.y-r.height};break;case"bottom":g={x:c,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:d};break;case"left":g={x:o.x-r.width,y:d};break;default:g={x:o.x,y:o.y}}switch(Dr(t)){case"start":g[a]-=f*(n&&u?-1:1);break;case"end":g[a]+=f*(n&&u?-1:1);break}return g}const ub=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:a}=n,i=s.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:d}=sd(u,o,l),f=o,g={},_=0;for(let y=0;y({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:s,platform:a,elements:i,middlewareData:l}=t,{element:u,padding:c=0}=jn(e,t)||{};if(u==null)return{};const d=Lp(c),f={x:n,y:o},g=Jl(r),_=Zl(g),y=await a.getDimensions(u),C=g==="y",v=C?"top":"left",b=C?"bottom":"right",w=C?"clientHeight":"clientWidth",x=s.reference[_]+s.reference[g]-f[g]-s.floating[_],S=f[g]-s.reference[g],O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let P=O?O[w]:0;(!P||!await(a.isElement==null?void 0:a.isElement(O)))&&(P=i.floating[w]||s.floating[_]);const Y=x/2-S/2,I=P/2-y[_]/2-1,R=xo(d[v],I),q=xo(d[b],I),H=R,_e=P-y[_]-q,ye=P/2-y[_]/2+Y,Ae=Qi(H,ye,_e),de=!l.arrow&&Dr(r)!=null&&ye!==Ae&&s.reference[_]/2-(yeH<=0)){var I,R;const H=(((I=s.flip)==null?void 0:I.index)||0)+1,_e=S[H];if(_e)return{data:{index:H,overflows:Y},reset:{placement:_e}};let ye=(R=Y.filter(Ae=>Ae.overflows[0]<=0).sort((Ae,de)=>Ae.overflows[1]-de.overflows[1])[0])==null?void 0:R.placement;if(!ye)switch(g){case"bestFit":{var q;const Ae=(q=Y.map(de=>[de.placement,de.overflows.filter(he=>he>0).reduce((he,be)=>he+be,0)]).sort((de,he)=>de[1]-he[1])[0])==null?void 0:q[0];Ae&&(ye=Ae);break}case"initialPlacement":ye=i;break}if(r!==ye)return{reset:{placement:ye}}}return{}}}};function ad(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function id(e){return tb.some(t=>e[t]>=0)}const fb=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=jn(e,t);switch(o){case"referenceHidden":{const s=await ps(t,{...r,elementContext:"reference"}),a=ad(s,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:id(a)}}}case"escaped":{const s=await ps(t,{...r,altBoundary:!0}),a=ad(s,n.floating);return{data:{escapedOffsets:a,escaped:id(a)}}}default:return{}}}}};async function pb(e,t){const{placement:n,platform:o,elements:r}=e,s=await(o.isRTL==null?void 0:o.isRTL(r.floating)),a=Gn(n),i=Dr(n),l=Lr(n)==="y",u=["left","top"].includes(a)?-1:1,c=s&&l?-1:1,d=jn(t,e);let{mainAxis:f,crossAxis:g,alignmentAxis:_}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return i&&typeof _=="number"&&(g=i==="end"?_*-1:_),l?{x:g*c,y:f*u}:{x:f*u,y:g*c}}const hb=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:s,placement:a,middlewareData:i}=t,l=await pb(t,e);return a===((n=i.offset)==null?void 0:n.placement)&&(o=i.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:s+l.y,data:{...l,placement:a}}}}},mb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:i={fn:C=>{let{x:v,y:b}=C;return{x:v,y:b}}},...l}=jn(e,t),u={x:n,y:o},c=await ps(t,l),d=Lr(Gn(r)),f=Xl(d);let g=u[f],_=u[d];if(s){const C=f==="y"?"top":"left",v=f==="y"?"bottom":"right",b=g+c[C],w=g-c[v];g=Qi(b,g,w)}if(a){const C=d==="y"?"top":"left",v=d==="y"?"bottom":"right",b=_+c[C],w=_-c[v];_=Qi(b,_,w)}const y=i.fn({...t,[f]:g,[d]:_});return{...y,data:{x:y.x-n,y:y.y-o}}}}},gb=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:s,middlewareData:a}=t,{offset:i=0,mainAxis:l=!0,crossAxis:u=!0}=jn(e,t),c={x:n,y:o},d=Lr(r),f=Xl(d);let g=c[f],_=c[d];const y=jn(i,t),C=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const w=f==="y"?"height":"width",x=s.reference[f]-s.floating[w]+C.mainAxis,S=s.reference[f]+s.reference[w]-C.mainAxis;gS&&(g=S)}if(u){var v,b;const w=f==="y"?"width":"height",x=["top","left"].includes(Gn(r)),S=s.reference[d]-s.floating[w]+(x&&((v=a.offset)==null?void 0:v[d])||0)+(x?0:C.crossAxis),O=s.reference[d]+s.reference[w]+(x?0:((b=a.offset)==null?void 0:b[d])||0)-(x?C.crossAxis:0);_O&&(_=O)}return{[f]:g,[d]:_}}}},vb=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:r,elements:s}=t,{apply:a=()=>{},...i}=jn(e,t),l=await ps(t,i),u=Gn(n),c=Dr(n),d=Lr(n)==="y",{width:f,height:g}=o.floating;let _,y;u==="top"||u==="bottom"?(_=u,y=c===(await(r.isRTL==null?void 0:r.isRTL(s.floating))?"start":"end")?"left":"right"):(y=u,_=c==="end"?"top":"bottom");const C=g-l[_],v=f-l[y],b=!t.middlewareData.shift;let w=C,x=v;if(d){const O=f-l.left-l.right;x=c||b?xo(v,O):O}else{const O=g-l.top-l.bottom;w=c||b?xo(C,O):O}if(b&&!c){const O=Ht(l.left,0),P=Ht(l.right,0),Y=Ht(l.top,0),I=Ht(l.bottom,0);d?x=f-2*(O!==0||P!==0?O+P:Ht(l.left,l.right)):w=g-2*(Y!==0||I!==0?Y+I:Ht(l.top,l.bottom))}await a({...t,availableWidth:x,availableHeight:w});const S=await r.getDimensions(s.floating);return f!==S.width||g!==S.height?{reset:{rects:!0}}:{}}}};function Kn(e){return Ql(e)?(e.nodeName||"").toLowerCase():"#document"}function Gt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Jn(e){var t;return(t=(Ql(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ql(e){return e instanceof Node||e instanceof Gt(e).Node}function zn(e){return e instanceof Element||e instanceof Gt(e).Element}function On(e){return e instanceof HTMLElement||e instanceof Gt(e).HTMLElement}function ld(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Gt(e).ShadowRoot}function Ts(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=on(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function _b(e){return["table","td","th"].includes(Kn(e))}function eu(e){const t=tu(),n=on(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function yb(e){let t=Cr(e);for(;On(t)&&!Ha(t);){if(eu(t))return t;t=Cr(t)}return null}function tu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ha(e){return["html","body","#document"].includes(Kn(e))}function on(e){return Gt(e).getComputedStyle(e)}function ja(e){return zn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Cr(e){if(Kn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ld(e)&&e.host||Jn(e);return ld(t)?t.host:t}function Ip(e){const t=Cr(e);return Ha(t)?e.ownerDocument?e.ownerDocument.body:e.body:On(t)&&Ts(t)?t:Ip(t)}function hs(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Ip(e),s=r===((o=e.ownerDocument)==null?void 0:o.body),a=Gt(r);return s?t.concat(a,a.visualViewport||[],Ts(r)?r:[],a.frameElement&&n?hs(a.frameElement):[]):t.concat(r,hs(r,[],n))}function Ap(e){const t=on(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=On(e),s=r?e.offsetWidth:n,a=r?e.offsetHeight:o,i=ma(n)!==s||ma(o)!==a;return i&&(n=s,o=a),{width:n,height:o,$:i}}function nu(e){return zn(e)?e:e.contextElement}function gr(e){const t=nu(e);if(!On(t))return To(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=Ap(t);let a=(s?ma(n.width):n.width)/o,i=(s?ma(n.height):n.height)/r;return(!a||!Number.isFinite(a))&&(a=1),(!i||!Number.isFinite(i))&&(i=1),{x:a,y:i}}const bb=To(0);function Np(e){const t=Gt(e);return!tu()||!t.visualViewport?bb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wb(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Gt(e)?!1:t}function Ko(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=nu(e);let a=To(1);t&&(o?zn(o)&&(a=gr(o)):a=gr(e));const i=wb(s,n,o)?Np(s):To(0);let l=(r.left+i.x)/a.x,u=(r.top+i.y)/a.y,c=r.width/a.x,d=r.height/a.y;if(s){const f=Gt(s),g=o&&zn(o)?Gt(o):o;let _=f,y=_.frameElement;for(;y&&o&&g!==_;){const C=gr(y),v=y.getBoundingClientRect(),b=on(y),w=v.left+(y.clientLeft+parseFloat(b.paddingLeft))*C.x,x=v.top+(y.clientTop+parseFloat(b.paddingTop))*C.y;l*=C.x,u*=C.y,c*=C.x,d*=C.y,l+=w,u+=x,_=Gt(y),y=_.frameElement}}return va({width:c,height:d,x:l,y:u})}const Eb=[":popover-open",":modal"];function Rp(e){return Eb.some(t=>{try{return e.matches(t)}catch{return!1}})}function Cb(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const s=r==="fixed",a=Jn(o),i=t?Rp(t.floating):!1;if(o===a||i&&s)return n;let l={scrollLeft:0,scrollTop:0},u=To(1);const c=To(0),d=On(o);if((d||!d&&!s)&&((Kn(o)!=="body"||Ts(a))&&(l=ja(o)),On(o))){const f=Ko(o);u=gr(o),c.x=f.x+o.clientLeft,c.y=f.y+o.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x,y:n.y*u.y-l.scrollTop*u.y+c.y}}function xb(e){return Array.from(e.getClientRects())}function $p(e){return Ko(Jn(e)).left+ja(e).scrollLeft}function Tb(e){const t=Jn(e),n=ja(e),o=e.ownerDocument.body,r=Ht(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=Ht(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+$p(e);const i=-n.scrollTop;return on(o).direction==="rtl"&&(a+=Ht(t.clientWidth,o.clientWidth)-r),{width:r,height:s,x:a,y:i}}function Ob(e,t){const n=Gt(e),o=Jn(e),r=n.visualViewport;let s=o.clientWidth,a=o.clientHeight,i=0,l=0;if(r){s=r.width,a=r.height;const u=tu();(!u||u&&t==="fixed")&&(i=r.offsetLeft,l=r.offsetTop)}return{width:s,height:a,x:i,y:l}}function Sb(e,t){const n=Ko(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=On(e)?gr(e):To(1),a=e.clientWidth*s.x,i=e.clientHeight*s.y,l=r*s.x,u=o*s.y;return{width:a,height:i,x:l,y:u}}function ud(e,t,n){let o;if(t==="viewport")o=Ob(e,n);else if(t==="document")o=Tb(Jn(e));else if(zn(t))o=Sb(t,n);else{const r=Np(e);o={...t,x:t.x-r.x,y:t.y-r.y}}return va(o)}function Fp(e,t){const n=Cr(e);return n===t||!zn(n)||Ha(n)?!1:on(n).position==="fixed"||Fp(n,t)}function kb(e,t){const n=t.get(e);if(n)return n;let o=hs(e,[],!1).filter(i=>zn(i)&&Kn(i)!=="body"),r=null;const s=on(e).position==="fixed";let a=s?Cr(e):e;for(;zn(a)&&!Ha(a);){const i=on(a),l=eu(a);!l&&i.position==="fixed"&&(r=null),(s?!l&&!r:!l&&i.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||Ts(a)&&!l&&Fp(e,a))?o=o.filter(c=>c!==a):r=i,a=Cr(a)}return t.set(e,o),o}function Mb(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const a=[...n==="clippingAncestors"?kb(t,this._c):[].concat(n),o],i=a[0],l=a.reduce((u,c)=>{const d=ud(t,c,r);return u.top=Ht(d.top,u.top),u.right=xo(d.right,u.right),u.bottom=xo(d.bottom,u.bottom),u.left=Ht(d.left,u.left),u},ud(t,i,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Pb(e){const{width:t,height:n}=Ap(e);return{width:t,height:n}}function Db(e,t,n){const o=On(t),r=Jn(t),s=n==="fixed",a=Ko(e,!0,s,t);let i={scrollLeft:0,scrollTop:0};const l=To(0);if(o||!o&&!s)if((Kn(t)!=="body"||Ts(r))&&(i=ja(t)),o){const d=Ko(t,!0,s,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else r&&(l.x=$p(r));const u=a.left+i.scrollLeft-l.x,c=a.top+i.scrollTop-l.y;return{x:u,y:c,width:a.width,height:a.height}}function cd(e,t){return!On(e)||on(e).position==="fixed"?null:t?t(e):e.offsetParent}function Bp(e,t){const n=Gt(e);if(!On(e)||Rp(e))return n;let o=cd(e,t);for(;o&&_b(o)&&on(o).position==="static";)o=cd(o,t);return o&&(Kn(o)==="html"||Kn(o)==="body"&&on(o).position==="static"&&!eu(o))?n:o||yb(e)||n}const Lb=async function(e){const t=this.getOffsetParent||Bp,n=this.getDimensions;return{reference:Db(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}};function Ib(e){return on(e).direction==="rtl"}const Ab={convertOffsetParentRelativeRectToViewportRelativeRect:Cb,getDocumentElement:Jn,getClippingRect:Mb,getOffsetParent:Bp,getElementRects:Lb,getClientRects:xb,getDimensions:Pb,getScale:gr,isElement:zn,isRTL:Ib};function Nb(e,t){let n=null,o;const r=Jn(e);function s(){var i;clearTimeout(o),(i=n)==null||i.disconnect(),n=null}function a(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),s();const{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(i||t(),!d||!f)return;const g=Vs(c),_=Vs(r.clientWidth-(u+d)),y=Vs(r.clientHeight-(c+f)),C=Vs(u),b={rootMargin:-g+"px "+-_+"px "+-y+"px "+-C+"px",threshold:Ht(0,xo(1,l))||1};let w=!0;function x(S){const O=S[0].intersectionRatio;if(O!==l){if(!w)return a();O?a(!1,O):o=setTimeout(()=>{a(!1,1e-7)},100)}w=!1}try{n=new IntersectionObserver(x,{...b,root:r.ownerDocument})}catch{n=new IntersectionObserver(x,b)}n.observe(e)}return a(!0),s}function Rb(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,u=nu(e),c=r||s?[...u?hs(u):[],...hs(t)]:[];c.forEach(v=>{r&&v.addEventListener("scroll",n,{passive:!0}),s&&v.addEventListener("resize",n)});const d=u&&i?Nb(u,n):null;let f=-1,g=null;a&&(g=new ResizeObserver(v=>{let[b]=v;b&&b.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),n()}),u&&!l&&g.observe(u),g.observe(t));let _,y=l?Ko(e):null;l&&C();function C(){const v=Ko(e);y&&(v.x!==y.x||v.y!==y.y||v.width!==y.width||v.height!==y.height)&&n(),y=v,_=requestAnimationFrame(C)}return n(),()=>{var v;c.forEach(b=>{r&&b.removeEventListener("scroll",n),s&&b.removeEventListener("resize",n)}),d==null||d(),(v=g)==null||v.disconnect(),g=null,l&&cancelAnimationFrame(_)}}const $b=mb,dd=db,Fb=vb,Bb=fb,Wb=cb,Yb=gb,Ub=(e,t,n)=>{const o=new Map,r={platform:Ab,...n},s={...r.platform,_c:o};return ub(e,t,{...r,platform:s})};function Vb(e){return e!=null&&typeof e=="object"&&"$el"in e}function tl(e){if(Vb(e)){const t=e.$el;return Ql(t)&&Kn(t)==="#comment"?null:t}return e}function Hb(e){return{name:"arrow",options:e,fn(t){const n=tl(h(e.element));return n==null?{}:Wb({element:n,padding:e.padding}).fn(t)}}}function Wp(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function fd(e,t){const n=Wp(e);return Math.round(t*n)/n}function jb(e,t,n){n===void 0&&(n={});const o=n.whileElementsMounted,r=G(()=>{var P;return(P=h(n.open))!=null?P:!0}),s=G(()=>h(n.middleware)),a=G(()=>{var P;return(P=h(n.placement))!=null?P:"bottom"}),i=G(()=>{var P;return(P=h(n.strategy))!=null?P:"absolute"}),l=G(()=>{var P;return(P=h(n.transform))!=null?P:!0}),u=G(()=>tl(e.value)),c=G(()=>tl(t.value)),d=V(0),f=V(0),g=V(i.value),_=V(a.value),y=Mr({}),C=V(!1),v=G(()=>{const P={position:g.value,left:"0",top:"0"};if(!c.value)return P;const Y=fd(c.value,d.value),I=fd(c.value,f.value);return l.value?{...P,transform:"translate("+Y+"px, "+I+"px)",...Wp(c.value)>=1.5&&{willChange:"transform"}}:{position:g.value,left:Y+"px",top:I+"px"}});let b;function w(){u.value==null||c.value==null||Ub(u.value,c.value,{middleware:s.value,placement:a.value,strategy:i.value}).then(P=>{d.value=P.x,f.value=P.y,g.value=P.strategy,_.value=P.placement,y.value=P.middlewareData,C.value=!0})}function x(){typeof b=="function"&&(b(),b=void 0)}function S(){if(x(),o===void 0){w();return}if(u.value!=null&&c.value!=null){b=o(u.value,c.value,w);return}}function O(){r.value||(C.value=!1)}return Le([s,a,i],w,{flush:"sync"}),Le([u,c],S,{flush:"sync"}),Le(r,O,{flush:"sync"}),Ml()&&mf(x),{x:nr(d),y:nr(f),strategy:nr(g),placement:nr(_),middlewareData:nr(y),isPositioned:nr(C),floatingStyles:v,update:w}}function lt(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,o=Symbol(n);return[r=>{const s=jt(o,r);if(s||s===null)return s;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},r=>(hr(o,r),r)]}function Yp(e,t,n){const o=n.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),o.dispatchEvent(r)}function Gb(e,t){var n;const o=Mr();return bt(()=>{o.value=e()},{...t,flush:(n=t==null?void 0:t.flush)!=null?n:"sync"}),kr(o)}function Os(e){return Ml()?(mf(e),!0):!1}function Kb(e){let t=!1,n;const o=kl(!0);return(...r)=>(t||(n=o.run(()=>e(...r)),t=!0),n)}function zb(e){let t=0,n,o;const r=()=>{t-=1,o&&t<=0&&(o.stop(),n=void 0,o=void 0)};return(...s)=>(t+=1,n||(o=kl(!0),n=o.run(()=>e(...s))),Os(r),n)}function xn(e){return typeof e=="function"?e():h(e)}const Qn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const qb=e=>typeof e<"u",Xb=Object.prototype.toString,Zb=e=>Xb.call(e)==="[object Object]",pd=(e,t,n)=>Math.min(n,Math.max(t,e)),_a=()=>{},hd=Jb();function Jb(){var e,t;return Qn&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Qb(e,t){function n(...o){return new Promise((r,s)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(s)})}return n}function e0(e,t={}){let n,o,r=_a;const s=a=>{clearTimeout(a),r(),r=_a};return a=>{const i=xn(e),l=xn(t.maxWait);return n&&s(n),i<=0||l!==void 0&&l<=0?(o&&(s(o),o=null),Promise.resolve(a())):new Promise((u,c)=>{r=t.rejectOnCancel?c:u,l&&!o&&(o=setTimeout(()=>{n&&s(n),o=null,u(a())},l)),n=setTimeout(()=>{o&&s(o),o=null,u(a())},i)})}}function t0(e){return e||Kt()}function n0(...e){if(e.length!==1)return Rf(...e);const t=e[0];return typeof t=="function"?kr(Nf(()=>({get:t,set:_a}))):V(t)}function Ga(e,t=1e4){return Nf((n,o)=>{let r=xn(e),s;const a=()=>setTimeout(()=>{r=xn(e),o()},xn(t));return Os(()=>{clearTimeout(s)}),{get(){return n(),r},set(i){r=i,o(),clearTimeout(s),s=a()}}})}function o0(e,t=200,n={}){return Qb(e0(t,n),e)}function r0(e,t){t0(t)&&Fa(e,t)}function Up(e,t,n={}){const{immediate:o=!0}=n,r=V(!1);let s=null;function a(){s&&(clearTimeout(s),s=null)}function i(){r.value=!1,a()}function l(...u){a(),r.value=!0,s=setTimeout(()=>{r.value=!1,s=null,e(...u)},xn(t))}return o&&(r.value=!0,Qn&&l()),Os(i),{isPending:kr(r),start:l,stop:i}}function fn(e){var t;const n=xn(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ou=Qn?window:void 0;function ya(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=ou):[t,n,o,r]=e,!t)return _a;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const s=[],a=()=>{s.forEach(c=>c()),s.length=0},i=(c,d,f,g)=>(c.addEventListener(d,f,g),()=>c.removeEventListener(d,f,g)),l=Le(()=>[fn(t),xn(r)],([c,d])=>{if(a(),!c)return;const f=Zb(d)?{...d}:d;s.push(...n.flatMap(g=>o.map(_=>i(c,g,_,f))))},{immediate:!0,flush:"post"}),u=()=>{l(),a()};return Os(u),u}function s0(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function a0(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=ou,eventName:s="keydown",passive:a=!1,dedupe:i=!1}=o,l=s0(t);return ya(r,s,u=>{u.repeat&&xn(i)||l(u)&&n(u)},a)}function ru(){const e=V(!1),t=Kt();return t&&dt(()=>{e.value=!0},t),e}function i0(e){const t=ru();return G(()=>(t.value,!!e()))}function l0(e){return JSON.parse(JSON.stringify(e))}function u0(e,t,n={}){const{window:o=ou,...r}=n;let s;const a=i0(()=>o&&"ResizeObserver"in o),i=()=>{s&&(s.disconnect(),s=void 0)},l=G(()=>Array.isArray(e)?e.map(d=>fn(d)):[fn(e)]),u=Le(l,d=>{if(i(),a.value&&o){s=new ResizeObserver(t);for(const f of d)f&&s.observe(f,r)}},{immediate:!0,flush:"post"}),c=()=>{i(),u()};return Os(c),{isSupported:a,stop:c}}function c0(e,t){const n=Mr(t);return Le(n0(e),(o,r)=>{n.value=r},{flush:"sync"}),kr(n)}function zt(e,t,n,o={}){var r,s,a;const{clone:i=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:d,shouldEmit:f}=o,g=Kt(),_=n||(g==null?void 0:g.emit)||((r=g==null?void 0:g.$emit)==null?void 0:r.bind(g))||((a=(s=g==null?void 0:g.proxy)==null?void 0:s.$emit)==null?void 0:a.bind(g==null?void 0:g.proxy));let y=u;t||(t="modelValue"),y=y||`update:${t.toString()}`;const C=w=>i?typeof i=="function"?i(w):l0(w):w,v=()=>qb(e[t])?C(e[t]):d,b=w=>{f?f(w)&&_(y,w):_(y,w)};if(l){const w=v(),x=V(w);let S=!1;return Le(()=>e[t],O=>{S||(S=!0,x.value=C(O),it(()=>S=!1))}),Le(x,O=>{!S&&(O!==e[t]||c)&&b(O)},{deep:c}),x}else return G({get(){return v()},set(w){b(w)}})}function Ka(e){return e?e.flatMap(t=>t.type===He?Ka(t.children):[t]):[]}const d0=["INPUT","TEXTAREA"];function su(e,t,n,o={}){if(!t||o.enableIgnoredElement&&d0.includes(t.nodeName))return null;const{arrowKeyOptions:r="both",attributeName:s="[data-radix-vue-collection-item]",itemsArray:a=[],loop:i=!0,dir:l="ltr",preventScroll:u=!0,focus:c=!1}=o,[d,f,g,_,y,C]=[e.key==="ArrowRight",e.key==="ArrowLeft",e.key==="ArrowUp",e.key==="ArrowDown",e.key==="Home",e.key==="End"],v=g||_,b=d||f;if(!y&&!C&&(!v&&!b||r==="vertical"&&b||r==="horizontal"&&v))return null;const w=n?Array.from(n.querySelectorAll(s)):a;if(!w.length)return null;u&&e.preventDefault();let x=null;return b||v?x=Vp(w,t,{goForward:v?_:l==="ltr"?d:f,loop:i}):y?x=w.at(0)||null:C&&(x=w.at(-1)||null),c&&(x==null||x.focus()),x}function Vp(e,t,{goForward:n,loop:o},r=e.length){if(--r===0)return null;const s=e.indexOf(t),a=n?s+1:s-1;if(!o&&(a<0||a>=e.length))return null;const i=(a+e.length)%e.length,l=e[i];return l?l.hasAttribute("disabled")&&l.getAttribute("disabled")!=="false"?Vp(e,l,{goForward:n,loop:o},r):l:null}function Ti(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function nl(e,t,n=".",o){if(!Ti(t))return nl(e,{},n,o);const r=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const a=e[s];a!=null&&(o&&o(r,s,a,n)||(Array.isArray(a)&&Array.isArray(r[s])?r[s]=[...a,...r[s]]:Ti(a)&&Ti(r[s])?r[s]=nl(a,r[s],(n?`${n}.`:"")+s.toString(),o):r[s]=a))}return r}function f0(e){return(...t)=>t.reduce((n,o)=>nl(n,o,"",e),{})}const p0=f0(),[au,$P]=lt("ConfigProvider");let h0="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",m0=(e=21)=>{let t="",n=e;for(;n--;)t+=h0[Math.random()*64|0];return t};const g0=zb(()=>{const e=V(new Map),t=V(),n=G(()=>{for(const a of e.value.values())if(a)return!0;return!1}),o=au({scrollBody:V(!0)});let r=null;const s=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",hd&&(r==null||r()),t.value=void 0};return Le(n,(a,i)=>{var l;if(!Qn)return;if(!a){i&&s();return}t.value===void 0&&(t.value=document.body.style.overflow);const u=window.innerWidth-document.documentElement.clientWidth,c={padding:u,margin:0},d=(l=o.scrollBody)!=null&&l.value?typeof o.scrollBody.value=="object"?p0({padding:o.scrollBody.value.padding===!0?u:o.scrollBody.value.padding,margin:o.scrollBody.value.margin===!0?u:o.scrollBody.value.margin},c):c:{padding:0,margin:0};u>0&&(document.body.style.paddingRight=`${d.padding}px`,document.body.style.marginRight=`${d.margin}px`,document.body.style.setProperty("--scrollbar-width",`${u}px`),document.body.style.overflow="hidden"),hd&&(r=ya(document,"touchmove",f=>{var g;f.target===document.documentElement&&(f.touches.length>1||(g=f.preventDefault)==null||g.call(f))},{passive:!1})),it(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function iu(e){const t=m0(6),n=g0();n.value.set(t,e??!1);const o=G({get:()=>n.value.get(t)??!1,set:r=>n.value.set(t,r)});return r0(()=>{n.value.delete(t)}),o}const v0="data-radix-vue-collection-item";function eo(e,t=v0){const n=e??Symbol();return{createCollection:o=>{const r=V([]);function s(){const a=fn(o);return a?r.value=Array.from(a.querySelectorAll(`[${t}]:not([data-disabled])`)):r.value=[]}return qf(()=>{r.value=[]}),dt(s),Xf(s),Le(()=>o==null?void 0:o.value,s,{immediate:!0}),hr(n,r),r},injectCollection:()=>jt(n,V([]))}}function Ss(e){const t=au({dir:V("ltr")});return G(()=>{var n;return(e==null?void 0:e.value)||((n=t.dir)==null?void 0:n.value)||"ltr"})}function Ir(e){const t=Kt(),n=t==null?void 0:t.type.emits,o={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),n==null||n.forEach(r=>{o[Zs(nn(r))]=(...s)=>e(r,...s)}),o}let Oi=0;function Hp(){bt(e=>{if(!Qn)return;const t=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??md()),document.body.insertAdjacentElement("beforeend",t[1]??md()),Oi++,e(()=>{Oi===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Oi--})})}function md(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}function jp(e){return G(()=>{var t;return xn(e)?!!((t=fn(e))!=null&&t.closest("form")):!0})}function Nt(e){const t=Kt(),n=Object.keys((t==null?void 0:t.type.props)??{}).reduce((r,s)=>{const a=(t==null?void 0:t.type.props[s]).default;return a!==void 0&&(r[s]=a),r},{}),o=Rf(e);return G(()=>{const r={},s=(t==null?void 0:t.vnode.props)??{};return Object.keys(s).forEach(a=>{r[nn(a)]=s[a]}),Object.keys({...n,...r}).reduce((a,i)=>(o.value[i]!==void 0&&(a[i]=o.value[i]),a),{})})}function pt(e,t){const n=Nt(e),o=t?Ir(t):{};return G(()=>({...n.value,...o}))}function le(){const e=Kt(),t=V(),n=G(()=>{var a,i;return["#text","#comment"].includes((a=t.value)==null?void 0:a.$el.nodeName)?(i=t.value)==null?void 0:i.$el.nextElementSibling:fn(t)}),o=Object.assign({},e.exposed),r={};for(const a in e.props)Object.defineProperty(r,a,{enumerable:!0,configurable:!0,get:()=>e.props[a]});if(Object.keys(o).length>0)for(const a in o)Object.defineProperty(r,a,{enumerable:!0,configurable:!0,get:()=>o[a]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=r;function s(a){t.value=a,!(a instanceof Element||!a)&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>a.$el}),e.exposed=r)}return{forwardRef:s,currentRef:t,currentElement:n}}var _0=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},or=new WeakMap,Hs=new WeakMap,js={},Si=0,Gp=function(e){return e&&(e.host||Gp(e.parentNode))},y0=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=Gp(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},b0=function(e,t,n,o){var r=y0(t,Array.isArray(e)?e:[e]);js[n]||(js[n]=new WeakMap);var s=js[n],a=[],i=new Set,l=new Set(r),u=function(d){!d||i.has(d)||(i.add(d),u(d.parentNode))};r.forEach(u);var c=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(f){if(i.has(f))c(f);else{var g=f.getAttribute(o),_=g!==null&&g!=="false",y=(or.get(f)||0)+1,C=(s.get(f)||0)+1;or.set(f,y),s.set(f,C),a.push(f),y===1&&_&&Hs.set(f,!0),C===1&&f.setAttribute(n,"true"),_||f.setAttribute(o,"true")}})};return c(t),i.clear(),Si++,function(){a.forEach(function(d){var f=or.get(d)-1,g=s.get(d)-1;or.set(d,f),s.set(d,g),f||(Hs.has(d)||d.removeAttribute(o),Hs.delete(d)),g||d.removeAttribute(n)}),Si--,Si||(or=new WeakMap,or=new WeakMap,Hs=new WeakMap,js={})}},w0=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=t||_0(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live]"))),b0(o,r,n,"aria-hidden")):function(){return null}};function lu(e){let t;Le(()=>fn(e),n=>{n?t=w0(n):t&&t()}),So(()=>{t&&t()})}let E0=0;function Wt(e,t="radix"){if(e)return e;const{useId:n}=au({useId:void 0});return n&&typeof n=="function"?`${t}-${n()}`:`${t}-${++E0}`}function C0(e){const t=V(),n=G(()=>{var r;return((r=t.value)==null?void 0:r.width)??0}),o=G(()=>{var r;return((r=t.value)==null?void 0:r.height)??0});return dt(()=>{const r=fn(e);if(r){t.value={width:r.offsetWidth,height:r.offsetHeight};const s=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const i=a[0];let l,u;if("borderBoxSize"in i){const c=i.borderBoxSize,d=Array.isArray(c)?c[0]:c;l=d.inlineSize,u=d.blockSize}else l=r.offsetWidth,u=r.offsetHeight;t.value={width:l,height:u}});return s.observe(r,{box:"border-box"}),()=>s.unobserve(r)}else t.value=void 0}),{width:n,height:o}}function x0(e,t){const n=V(e);function o(r){return t[n.value][r]??n.value}return{state:n,dispatch:r=>{n.value=o(r)}}}function uu(e){const t=Ga("",1e3);return{search:t,handleTypeaheadSearch:n=>{var o,r;t.value=t.value+n;const s=e.value,a=document.activeElement,i=((r=(o=s.find(d=>d===a))==null?void 0:o.textContent)==null?void 0:r.trim())??"",l=s.map(d=>{var f;return((f=d.textContent)==null?void 0:f.trim())??""}),u=O0(l,t.value,i),c=s.find(d=>{var f;return((f=d.textContent)==null?void 0:f.trim())===u});c&&c.focus()},resetTypeahead:()=>{t.value=""}}}function T0(e,t){return e.map((n,o)=>e[(t+o)%e.length])}function O0(e,t,n){const o=t.length>1&&Array.from(t).every(i=>i===t[0])?t[0]:t,r=n?e.indexOf(n):-1;let s=T0(e,Math.max(r,0));o.length===1&&(s=s.filter(i=>i!==n));const a=s.find(i=>i.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}const S0=A({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var o,r;if(!n.default)return null;const s=Ka(n.default()),[a,...i]=s;if(a){(o=a.props)==null||delete o.ref;const l=ae(t,a.props??{});t.class&&(r=a.props)!=null&&r.class&&delete a.props.class;const u=Go(a,l);for(const c in l)c.startsWith("on")&&(u.props||(u.props={}),u.props[c]=l[c]);return s.length===1?u:[u,...i]}return s}}}),xe=A({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){return(e.asChild?"template":e.as)!=="template"?()=>Tn(e.as,t,{default:n.default}):()=>Tn(S0,t,{default:n.default})}}),[Kp,k0]=lt("CollapsibleRoot"),M0=A({__name:"CollapsibleRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["update:open"],setup(e,{expose:t,emit:n}){const o=e,r=zt(o,"open",n,{defaultValue:o.defaultOpen,passive:o.open===void 0}),s=zt(o,"disabled");return k0({contentId:"",disabled:s,open:r,onOpenToggle:()=>{r.value=!r.value}}),t({open:r}),le(),(a,i)=>(k(),N(h(xe),{as:a.as,"as-child":o.asChild,"data-state":o.open?"open":"closed","data-disabled":o.disabled?"":void 0},{default:T(()=>[F(a.$slots,"default",{open:h(r)})]),_:3},8,["as","as-child","data-state","data-disabled"]))}}),P0=A({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;le();const n=Kp();return(o,r)=>{var s,a;return k(),N(h(xe),{type:o.as==="button"?"button":void 0,as:o.as,"as-child":t.asChild,"aria-controls":h(n).contentId,"aria-expanded":h(n).open.value,"data-state":h(n).open.value?"open":"closed","data-disabled":(s=h(n).disabled)!=null&&s.value?"":void 0,disabled:(a=h(n).disabled)==null?void 0:a.value,onClick:h(n).onOpenToggle},{default:T(()=>[F(o.$slots,"default")]),_:3},8,["type","as","as-child","aria-controls","aria-expanded","data-state","data-disabled","disabled","onClick"])}}});function D0(e,t){const n=V({}),o=V("none"),r=e.value?"mounted":"unmounted",{state:s,dispatch:a}=x0(r,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});Le(e,async(d,f)=>{var g;const _=f!==d;if(await it(),_){const y=o.value,C=Gs(t.value);d?a("MOUNT"):C==="none"||((g=n.value)==null?void 0:g.display)==="none"?a("UNMOUNT"):a(f&&y!==C?"ANIMATION_OUT":"UNMOUNT")}},{immediate:!0});const i=d=>{const f=Gs(t.value),g=f.includes(d.animationName);d.target===t.value&&g&&a("ANIMATION_END"),d.target===t.value&&f==="none"&&a("ANIMATION_END")},l=d=>{d.target===t.value&&(o.value=Gs(t.value))},u=Le(t,(d,f)=>{d?(n.value=getComputedStyle(d),d.addEventListener("animationstart",l),d.addEventListener("animationcancel",i),d.addEventListener("animationend",i)):(a("ANIMATION_END"),f==null||f.removeEventListener("animationstart",l),f==null||f.removeEventListener("animationcancel",i),f==null||f.removeEventListener("animationend",i))},{immediate:!0}),c=Le(s,()=>{const d=Gs(t.value);o.value=s.value==="mounted"?d:"none"});return So(()=>{u(),c()}),{isPresent:G(()=>["mounted","unmountSuspended"].includes(s.value))}}function Gs(e){return e&&getComputedStyle(e).animationName||"none"}const ko=A({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var o;const{present:r,forceMount:s}=qt(e),a=V(),{isPresent:i}=D0(r,a);n({present:i});let l=t.default({present:i});l=Ka(l||[]);const u=Kt();if(l&&(l==null?void 0:l.length)>1){const c=(o=u==null?void 0:u.parent)!=null&&o.type.name?`<${u.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${c}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(d=>` - ${d}`).join(` +`)].join(` +`))}return()=>s.value||r.value||i.value?Tn(t.default({present:i})[0],{ref:c=>{const d=fn(c);return typeof(d==null?void 0:d.hasAttribute)>"u"||(d!=null&&d.hasAttribute("data-radix-popper-content-wrapper")?a.value=d.firstElementChild:a.value=d),d}}):null}}),L0=A({inheritAttrs:!1,__name:"CollapsibleContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=e,n=Kp();n.contentId||(n.contentId=Wt(void 0,"radix-vue-collapsible-content"));const o=V(),{forwardRef:r,currentElement:s}=le(),a=V(0),i=V(0),l=G(()=>n.open.value),u=V(l.value),c=V();return Le(()=>{var d;return[l.value,(d=o.value)==null?void 0:d.present]},async()=>{await it();const d=s.value;if(!d)return;c.value=c.value||{transitionDuration:d.style.transitionDuration,animationName:d.style.animationName},d.style.transitionDuration="0s",d.style.animationName="none";const f=d.getBoundingClientRect();i.value=f.height,a.value=f.width,u.value||(d.style.transitionDuration=c.value.transitionDuration,d.style.animationName=c.value.animationName)},{immediate:!0}),dt(()=>{requestAnimationFrame(()=>{u.value=!1})}),(d,f)=>(k(),N(h(ko),{ref_key:"presentRef",ref:o,present:d.forceMount||h(n).open.value,"force-mount":!0},{default:T(()=>{var g,_;return[$(h(xe),ae(d.$attrs,{id:h(n).contentId,ref:h(r),"as-child":t.asChild,as:d.as,"data-state":h(n).open.value?"open":"closed","data-disabled":(g=h(n).disabled)!=null&&g.value?"":void 0,hidden:!((_=o.value)!=null&&_.present),style:{"--radix-collapsible-content-height":`${i.value}px`,"--radix-collapsible-content-width":`${a.value}px`}}),{default:T(()=>{var y;return[(y=o.value)!=null&&y.present?F(d.$slots,"default",{key:0}):je("",!0)]}),_:3},16,["id","as-child","as","data-state","data-disabled","hidden","style"])]}),_:3},8,["present"]))}}),[Mo,I0]=lt("DialogRoot"),FP=A({__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=zt(n,"open",t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),r=V(),s=V(),{modal:a}=qt(n);return I0({open:o,modal:a,openModal:()=>{o.value=!0},onOpenChange:i=>{o.value=i},onOpenToggle:()=>{o.value=!o.value},contentId:"",titleId:"",descriptionId:"",triggerElement:r,contentElement:s}),(i,l)=>F(i.$slots,"default")}}),BP=A({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Mo(),{forwardRef:o,currentElement:r}=le();return n.contentId||(n.contentId=Wt(void 0,"radix-vue-dialog-content")),dt(()=>{n.triggerElement=r}),(s,a)=>(k(),N(h(xe),ae(t,{ref:h(o),type:s.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":h(n).open.value||!1,"aria-controls":h(n).open.value?h(n).contentId:void 0,"data-state":h(n).open.value?"open":"closed",onClick:h(n).onOpenToggle}),{default:T(()=>[F(s.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),za=A({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=ru();return(n,o)=>h(t)||n.forceMount?(k(),N(Ba,{key:0,to:n.to,disabled:n.disabled},[F(n.$slots,"default")],8,["to","disabled"])):je("",!0)}}),WP=A({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,o)=>(k(),N(h(za),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),A0="dismissableLayer.pointerDownOutside",N0="dismissableLayer.focusOutside";function zp(e,t){const n=t.closest("[data-dismissable-layer]"),o=e.querySelector("[data-dismissable-layer]"),r=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&o===n||r.indexOf(o){});return bt(a=>{if(!Qn)return;const i=async u=>{const c=u.target;if(t!=null&&t.value){if(zp(t.value,c)){r.value=!1;return}if(u.target&&!r.value){let d=function(){Yp(A0,e,f)};const f={originalEvent:u};u.pointerType==="touch"?(o.removeEventListener("click",s.value),s.value=d,o.addEventListener("click",s.value,{once:!0})):d()}else o.removeEventListener("click",s.value);r.value=!1}},l=window.setTimeout(()=>{o.addEventListener("pointerdown",i)},0);a(()=>{window.clearTimeout(l),o.removeEventListener("pointerdown",i),o.removeEventListener("click",s.value)})}),{onPointerDownCapture:()=>r.value=!0}}function $0(e,t){var n;const o=((n=t==null?void 0:t.value)==null?void 0:n.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=V(!1);return bt(s=>{if(!Qn)return;const a=async i=>{t!=null&&t.value&&(await it(),!(!t.value||zp(t.value,i.target))&&i.target&&!r.value&&Yp(N0,e,{originalEvent:i}))};o.addEventListener("focusin",a),s(()=>o.removeEventListener("focusin",a))}),{onFocusCapture:()=>r.value=!0,onBlurCapture:()=>r.value=!1}}const Ln=Sr({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ks=A({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:r,currentElement:s}=le(),a=G(()=>{var _;return((_=s.value)==null?void 0:_.ownerDocument)??globalThis.document}),i=G(()=>Ln.layersRoot),l=G(()=>s.value?Array.from(i.value).indexOf(s.value):-1),u=G(()=>Ln.layersWithOutsidePointerEventsDisabled.size>0),c=G(()=>{const _=Array.from(i.value),[y]=[...Ln.layersWithOutsidePointerEventsDisabled].slice(-1),C=_.indexOf(y);return l.value>=C}),d=R0(async _=>{const y=[...Ln.branches].some(C=>C.contains(_.target));!c.value||y||(o("pointerDownOutside",_),o("interactOutside",_),await it(),_.defaultPrevented||o("dismiss"))},s),f=$0(_=>{[...Ln.branches].some(y=>y.contains(_.target))||(o("focusOutside",_),o("interactOutside",_),_.defaultPrevented||o("dismiss"))},s);a0("Escape",_=>{l.value===i.value.size-1&&(o("escapeKeyDown",_),_.defaultPrevented||o("dismiss"))});let g;return bt(_=>{s.value&&(n.disableOutsidePointerEvents&&(Ln.layersWithOutsidePointerEventsDisabled.size===0&&(g=a.value.body.style.pointerEvents,a.value.body.style.pointerEvents="none"),Ln.layersWithOutsidePointerEventsDisabled.add(s.value)),i.value.add(s.value),_(()=>{n.disableOutsidePointerEvents&&Ln.layersWithOutsidePointerEventsDisabled.size===1&&(a.value.body.style.pointerEvents=g)}))}),bt(_=>{_(()=>{s.value&&(i.value.delete(s.value),Ln.layersWithOutsidePointerEventsDisabled.delete(s.value))})}),(_,y)=>(k(),N(h(xe),{ref:h(r),"as-child":_.asChild,as:_.as,"data-dismissable-layer":"",style:Xn({pointerEvents:u.value?c.value?"auto":"none":void 0}),onFocusCapture:h(f).onFocusCapture,onBlurCapture:h(f).onBlurCapture,onPointerdownCapture:h(d).onPointerDownCapture},{default:T(()=>[F(_.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),ki="focusScope.autoFocusOnMount",Mi="focusScope.autoFocusOnUnmount",gd={bubbles:!1,cancelable:!0};function F0(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(lo(o,{select:t}),document.activeElement!==n)return!0}function B0(e){const t=qp(e),n=vd(t,e),o=vd(t.reverse(),e);return[n,o]}function qp(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function vd(e,t){for(const n of e)if(!W0(n,{upTo:t}))return n}function W0(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Y0(e){return e instanceof HTMLInputElement&&"select"in e}function lo(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Y0(e)&&t&&e.select()}}const U0=Kb(()=>V([]));function V0(){const e=U0();return{add(t){const n=e.value[0];t!==n&&(n==null||n.pause()),e.value=_d(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=_d(e.value,t),(n=e.value[0])==null||n.resume()}}}function _d(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function H0(e){return e.filter(t=>t.tagName!=="A")}const cu=A({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,o=t,{currentRef:r,currentElement:s}=le(),a=V(null),i=V0(),l=Sr({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});bt(c=>{if(!Qn)return;const d=s.value;if(!n.trapped)return;function f(C){if(l.paused||!d)return;const v=C.target;d.contains(v)?a.value=v:lo(a.value,{select:!0})}function g(C){if(l.paused||!d)return;const v=C.relatedTarget;v!==null&&(d.contains(v)||lo(a.value,{select:!0}))}function _(C){d.contains(a.value)||lo(d)}document.addEventListener("focusin",f),document.addEventListener("focusout",g);const y=new MutationObserver(_);d&&y.observe(d,{childList:!0,subtree:!0}),c(()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",g),y.disconnect()})}),bt(async c=>{const d=s.value;if(await it(),!d)return;i.add(l);const f=document.activeElement;if(!d.contains(f)){const g=new CustomEvent(ki,gd);d.addEventListener(ki,_=>o("mountAutoFocus",_)),d.dispatchEvent(g),g.defaultPrevented||(F0(H0(qp(d)),{select:!0}),document.activeElement===f&&lo(d))}c(()=>{d.removeEventListener(ki,y=>o("mountAutoFocus",y));const g=new CustomEvent(Mi,gd),_=y=>{o("unmountAutoFocus",y)};d.addEventListener(Mi,_),d.dispatchEvent(g),setTimeout(()=>{g.defaultPrevented||lo(f??document.body,{select:!0}),d.removeEventListener(Mi,_),i.remove(l)},0)})});function u(c){if(!n.loop&&!n.trapped||l.paused)return;const d=c.key==="Tab"&&!c.altKey&&!c.ctrlKey&&!c.metaKey,f=document.activeElement;if(d&&f){const g=c.currentTarget,[_,y]=B0(g);_&&y?!c.shiftKey&&f===y?(c.preventDefault(),n.loop&&lo(_,{select:!0})):c.shiftKey&&f===_&&(c.preventDefault(),n.loop&&lo(y,{select:!0})):f===g&&c.preventDefault()}}return(c,d)=>(k(),N(h(xe),{ref_key:"currentRef",ref:r,tabindex:"-1","as-child":c.asChild,as:c.as,onKeydown:u},{default:T(()=>[F(c.$slots,"default")]),_:3},8,["as-child","as"]))}}),j0="menu.itemSelect",ol=["Enter"," "],G0=["ArrowDown","PageUp","Home"],Xp=["ArrowUp","PageDown","End"],K0=[...G0,...Xp],z0={ltr:[...ol,"ArrowRight"],rtl:[...ol,"ArrowLeft"]},q0={ltr:["ArrowLeft"],rtl:["ArrowRight"]};function du(e){return e?"open":"closed"}function rl(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function X0(e,t){const{x:n,y:o}=e;let r=!1;for(let s=0,a=t.length-1;so!=c>o&&n<(u-i)*(o-l)/(c-l)+i&&(r=!r)}return r}function Z0(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return X0(n,t)}function ms(e){return e.pointerType==="mouse"}const Zp=A({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Mo(),{forwardRef:s,currentElement:a}=le();return r.titleId||(r.titleId=Wt(void 0,"radix-vue-dialog-title")),r.descriptionId||(r.descriptionId=Wt(void 0,"radix-vue-dialog-description")),dt(()=>{r.contentElement=a}),(i,l)=>(k(),N(h(cu),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:l[5]||(l[5]=u=>o("openAutoFocus",u)),onUnmountAutoFocus:l[6]||(l[6]=u=>o("closeAutoFocus",u))},{default:T(()=>[$(h(ks),ae({id:h(r).contentId,ref:h(s),as:i.as,"as-child":i.asChild,"disable-outside-pointer-events":i.disableOutsidePointerEvents,role:"dialog","aria-describedby":h(r).descriptionId,"aria-labelledby":h(r).titleId,"data-state":h(du)(h(r).open.value)},i.$attrs,{onDismiss:l[0]||(l[0]=u=>h(r).onOpenChange(!1)),onEscapeKeyDown:l[1]||(l[1]=u=>o("escapeKeyDown",u)),onFocusOutside:l[2]||(l[2]=u=>o("focusOutside",u)),onInteractOutside:l[3]||(l[3]=u=>o("interactOutside",u)),onPointerDownOutside:l[4]||(l[4]=u=>o("pointerDownOutside",u))}),{default:T(()=>[F(i.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),J0=A({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Mo(),s=Ir(o),{forwardRef:a,currentElement:i}=le();return lu(i),(l,u)=>(k(),N(Zp,ae({...n,...h(s)},{ref:h(a),"trap-focus":h(r).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:u[0]||(u[0]=c=>{var d;o("closeAutoFocus",c),c.defaultPrevented||(c.preventDefault(),(d=h(r).triggerElement.value)==null||d.focus())}),onPointerDownOutside:u[1]||(u[1]=c=>{const d=c.detail.originalEvent,f=d.button===0&&d.ctrlKey===!0;(d.button===2||f)&&c.preventDefault()}),onFocusOutside:u[2]||(u[2]=c=>{c.preventDefault()}),onOpenAutoFocus:u[3]||(u[3]=c=>o("openAutoFocus",c))}),{default:T(()=>[F(l.$slots,"default")]),_:3},16,["trap-focus"]))}}),Q0=A({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Ir(o);le();const s=Mo(),a=V(!1),i=V(!1);return(l,u)=>(k(),N(Zp,ae({...n,...h(r)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:u[0]||(u[0]=c=>{var d;o("closeAutoFocus",c),c.defaultPrevented||(a.value||(d=h(s).triggerElement.value)==null||d.focus(),c.preventDefault()),a.value=!1,i.value=!1}),onInteractOutside:u[1]||(u[1]=c=>{var d;c.defaultPrevented||(a.value=!0,c.detail.originalEvent.type==="pointerdown"&&(i.value=!0));const f=c.target;(d=h(s).triggerElement.value)!=null&&d.contains(f)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&i.value&&c.preventDefault()})}),{default:T(()=>[F(l.$slots,"default")]),_:3},16))}}),YP=A({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Mo(),s=Ir(o),{forwardRef:a}=le();return(i,l)=>(k(),N(h(ko),{present:i.forceMount||h(r).open.value},{default:T(()=>[h(r).modal.value?(k(),N(J0,ae({key:0,ref:h(a)},{...n,...h(s),...i.$attrs},{onOpenAutoFocus:l[0]||(l[0]=u=>o("openAutoFocus",u))}),{default:T(()=>[F(i.$slots,"default")]),_:3},16)):(k(),N(Q0,ae({key:1,ref:h(a)},{...n,...h(s),...i.$attrs}),{default:T(()=>[F(i.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),ew=A({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(e){const t=Mo();return iu(!0),le(),(n,o)=>(k(),N(h(xe),{as:n.as,"as-child":n.asChild,"data-state":h(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:T(()=>[F(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),UP=A({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=Mo(),{forwardRef:n}=le();return(o,r)=>{var s;return(s=h(t))!=null&&s.modal.value?(k(),N(h(ko),{key:0,present:o.forceMount||h(t).open.value},{default:T(()=>[$(ew,ae(o.$attrs,{ref:h(n),as:o.as,"as-child":o.asChild}),{default:T(()=>[F(o.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):je("",!0)}}}),VP=A({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;le();const n=Mo();return(o,r)=>(k(),N(h(xe),ae(t,{type:o.as==="button"?"button":void 0,onClick:r[0]||(r[0]=s=>h(n).onOpenChange(!1))}),{default:T(()=>[F(o.$slots,"default")]),_:3},16,["type"]))}}),[Jp,tw]=lt("AvatarRoot"),nw=A({__name:"AvatarRoot",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return le(),tw({imageLoadingStatus:V("loading")}),(t,n)=>(k(),N(h(xe),{"as-child":t.asChild,as:t.as},{default:T(()=>[F(t.$slots,"default")]),_:3},8,["as-child","as"]))}});function ow(e){const t=V("idle"),n=V(!1),o=r=>()=>{n.value&&(t.value=r)};return dt(()=>{n.value=!0,Le(e,r=>{if(!r)t.value="error";else{const s=new window.Image;t.value="loading",s.onload=o("loaded"),s.onerror=o("error"),s.src=r}},{immediate:!0})}),So(()=>{n.value=!1}),t}const rw=A({__name:"AvatarImage",props:{src:{},asChild:{type:Boolean},as:{default:"img"}},emits:["loadingStatusChange"],setup(e,{emit:t}){const n=e,o=t,{src:r}=qt(n);le();const s=Jp(),a=ow(r);return Le(a,i=>{o("loadingStatusChange",i),i!=="idle"&&(s.imageLoadingStatus.value=i)},{immediate:!0}),(i,l)=>h(a)==="loaded"?(k(),N(h(xe),{key:0,role:"img","as-child":i.asChild,as:i.as,src:h(r)},{default:T(()=>[F(i.$slots,"default")]),_:3},8,["as-child","as","src"])):je("",!0)}}),sw=A({__name:"AvatarFallback",props:{delayMs:{default:0},asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=e,n=Jp();le();const o=V(!1);let r;return Le(n.imageLoadingStatus,s=>{s==="loading"&&(o.value=!1,t.delayMs?r=setTimeout(()=>{o.value=!0,clearTimeout(r)},t.delayMs):o.value=!0)},{immediate:!0}),(s,a)=>o.value&&h(n).imageLoadingStatus.value!=="loaded"?(k(),N(h(xe),{key:0,"as-child":s.asChild,as:s.as},{default:T(()=>[F(s.$slots,"default")]),_:3},8,["as-child","as"])):je("",!0)}}),[Qp,aw]=lt("PopperRoot"),qa=A({__name:"PopperRoot",setup(e){const t=V();return aw({anchor:t,onAnchorChange:n=>t.value=n}),(n,o)=>F(n.$slots,"default")}}),fu=A({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,{forwardRef:n,currentElement:o}=le(),r=Qp();return Le(o,()=>{r.onAnchorChange(t.element??o.value)}),(s,a)=>(k(),N(h(xe),{ref:h(n),as:s.as,"as-child":s.asChild},{default:T(()=>[F(s.$slots,"default")]),_:3},8,["as","as-child"]))}});function iw(e){return e!==null}function lw(e){return{name:"transformOrigin",options:e,fn(t){var n,o,r;const{placement:s,rects:a,middlewareData:i}=t,l=((n=i.arrow)==null?void 0:n.centerOffset)!==0,u=l?0:e.arrowWidth,c=l?0:e.arrowHeight,[d,f]=sl(s),g={start:"0%",center:"50%",end:"100%"}[f],_=(((o=i.arrow)==null?void 0:o.x)??0)+u/2,y=(((r=i.arrow)==null?void 0:r.y)??0)+c/2;let C="",v="";return d==="bottom"?(C=l?g:`${_}px`,v=`${-c}px`):d==="top"?(C=l?g:`${_}px`,v=`${a.floating.height+c}px`):d==="right"?(C=`${-c}px`,v=l?g:`${y}px`):d==="left"&&(C=`${a.floating.width+c}px`,v=l?g:`${y}px`),{data:{x:C,y:v}}}}}function sl(e){const[t,n="center"]=e.split("-");return[t,n]}const eh={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[HP,uw]=lt("PopperContent"),pu=A({inheritAttrs:!1,__name:"PopperContent",props:Qf({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...eh}),emits:["placed"],setup(e,{emit:t}){const n=e,o=t,r=Qp(),{forwardRef:s,currentElement:a}=le(),i=V(),l=V(),{width:u,height:c}=C0(l),d=G(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),f=G(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),g=G(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),_=G(()=>({padding:f.value,boundary:g.value.filter(iw),altBoundary:g.value.length>0})),y=Gb(()=>[hb({mainAxis:n.sideOffset+c.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&dd({..._.value}),n.avoidCollisions&&$b({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?Yb():void 0,..._.value}),!n.prioritizePosition&&n.avoidCollisions&&dd({..._.value}),Fb({..._.value,apply:({elements:R,rects:q,availableWidth:H,availableHeight:_e})=>{const{width:ye,height:Ae}=q.reference,de=R.floating.style;Object.assign(R.floating.style,{maxWidth:`${H}px`,maxHeight:`${_e}px`}),de.setProperty("--radix-popper-available-width",`${H}px`),de.setProperty("--radix-popper-available-height",`${_e}px`),de.setProperty("--radix-popper-anchor-width",`${ye}px`),de.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),l.value&&Hb({element:l.value,padding:n.arrowPadding}),lw({arrowWidth:u.value,arrowHeight:c.value}),n.hideWhenDetached&&Bb({strategy:"referenceHidden",..._.value})]),{floatingStyles:C,placement:v,isPositioned:b,middlewareData:w}=jb(r.anchor,i,{strategy:"fixed",placement:d,whileElementsMounted:(...R)=>Rb(...R,{animationFrame:n.updatePositionStrategy==="always"}),middleware:y}),x=G(()=>sl(v.value)[0]),S=G(()=>sl(v.value)[1]);bt(()=>{b.value&&o("placed")});const O=G(()=>{var R;return((R=w.value.arrow)==null?void 0:R.centerOffset)!==0}),P=V("");bt(()=>{a.value&&(P.value=window.getComputedStyle(a.value).zIndex)});const Y=G(()=>{var R;return((R=w.value.arrow)==null?void 0:R.x)??0}),I=G(()=>{var R;return((R=w.value.arrow)==null?void 0:R.y)??0});return uw({placedSide:x,onArrowChange:R=>l.value=R,arrowX:Y,arrowY:I,shouldHideArrow:O}),(R,q)=>{var H,_e,ye;return k(),pe("div",{ref_key:"floatingRef",ref:i,"data-radix-popper-content-wrapper":"",style:Xn({...h(C),transform:h(b)?h(C).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:P.value,"--radix-popper-transform-origin":[(H=h(w).transformOrigin)==null?void 0:H.x,(_e=h(w).transformOrigin)==null?void 0:_e.y].join(" "),...((ye=h(w).hide)==null?void 0:ye.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[$(h(xe),ae({ref:h(s)},R.$attrs,{"as-child":n.asChild,as:R.as,"data-side":x.value,"data-align":S.value,style:{animation:h(b)?void 0:"none"}}),{default:T(()=>[F(R.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),hu=A({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return le(),(t,n)=>(k(),N(h(xe),{as:t.as,"as-child":t.asChild,style:Xn({position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"})},{default:T(()=>[F(t.$slots,"default")]),_:3},8,["as","as-child","style"]))}}),th=A({__name:"MenuAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(k(),N(h(fu),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),[Zo,nh]=lt(["MenuRoot","MenuSub"],"MenuContext"),[Ms,cw]=lt("MenuRoot"),dw=A({__name:"MenuRoot",props:{open:{type:Boolean,default:!1},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=t,{modal:r,dir:s}=qt(n),a=Ss(s),i=zt(n,"open",o),l=V(),u=V(!1);return bt(c=>{if(!Qn)return;const d=()=>{u.value=!0,document.addEventListener("pointerdown",f,{capture:!0,once:!0}),document.addEventListener("pointermove",f,{capture:!0,once:!0})},f=()=>u.value=!1;document.addEventListener("keydown",d,{capture:!0}),c(()=>{document.removeEventListener("keydown",d,{capture:!0}),document.removeEventListener("pointerdown",f,{capture:!0}),document.removeEventListener("pointermove",f,{capture:!0})})}),nh({open:i,onOpenChange:c=>{i.value=c},content:l,onContentChange:c=>{l.value=c}}),cw({onClose:()=>{i.value=!1},isUsingKeyboardRef:u,dir:a,modal:r}),(c,d)=>(k(),N(h(qa),null,{default:T(()=>[F(c.$slots,"default")]),_:3}))}}),fw="rovingFocusGroup.onEntryFocus",pw={bubbles:!1,cancelable:!0};function hw(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}const[jP,mw]=lt("RovingFocusGroup"),gw=A({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(e,{emit:t}){const n=e,o=t,{loop:r,orientation:s,dir:a}=qt(n),i=Ss(a),l=zt(n,"currentTabStopId",o,{defaultValue:n.defaultCurrentTabStopId,passive:n.currentTabStopId===void 0}),u=V(!1),c=V(!1),d=V(0),{forwardRef:f,currentElement:g}=le(),{createCollection:_}=eo("rovingFocus"),y=_(g);function C(v){const b=!c.value;if(v.currentTarget&&v.target===v.currentTarget&&b&&!u.value){const w=new CustomEvent(fw,pw);if(v.currentTarget.dispatchEvent(w),o("entryFocus",w),!w.defaultPrevented){const x=y.value,S=x.find(Y=>Y.getAttribute("data-active")==="true"),O=x.find(Y=>Y.id===l.value),P=[S,O,...x].filter(Boolean);hw(P)}}c.value=!1}return mw({loop:r,dir:i,orientation:s,currentTabStopId:l,onItemFocus:v=>{l.value=v},onItemShiftTab:()=>{u.value=!0},onFocusableItemAdd:()=>{d.value++},onFocusableItemRemove:()=>{d.value--}}),(v,b)=>(k(),N(h(xe),{ref:h(f),tabindex:u.value||d.value===0?-1:0,"data-orientation":h(s),as:v.as,"as-child":v.asChild,dir:h(i),style:{outline:"none"},onMousedown:b[0]||(b[0]=w=>c.value=!0),onFocus:C,onBlur:b[1]||(b[1]=w=>u.value=!1)},{default:T(()=>[F(v.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"]))}}),[mu,vw]=lt("MenuContent"),gu=A({__name:"MenuContentImpl",props:Qf({loop:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},disableOutsideScroll:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...eh}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(e,{emit:t}){const n=e,o=t,r=Zo(),s=Ms(),{trapFocus:a,disableOutsidePointerEvents:i,loop:l}=qt(n);Hp(),iu(i.value);const u=V(""),c=V(0),d=V(0),f=V(null),g=V("right"),_=V(0),y=V(null),{createCollection:C}=eo(),{forwardRef:v,currentElement:b}=le(),w=C(b);Le(b,R=>{r.onContentChange(R)});const{handleTypeaheadSearch:x}=uu(w);So(()=>{window.clearTimeout(c.value)});function S(R){var q,H;return g.value===((q=f.value)==null?void 0:q.side)&&Z0(R,(H=f.value)==null?void 0:H.area)}async function O(R){var q;o("openAutoFocus",R),!R.defaultPrevented&&(R.preventDefault(),(q=b.value)==null||q.focus())}function P(R){if(R.defaultPrevented)return;const q=R.target.closest("[data-radix-menu-content]")===R.currentTarget,H=R.ctrlKey||R.altKey||R.metaKey,_e=R.key.length===1,ye=su(R,document.activeElement,b.value,{loop:l.value,arrowKeyOptions:"vertical",dir:s==null?void 0:s.dir.value,focus:!0,attributeName:"[data-radix-vue-collection-item]:not([data-disabled])"});if(ye)return ye==null?void 0:ye.focus();if(R.code==="Space"||(q&&(R.key==="Tab"&&R.preventDefault(),!H&&_e&&x(R.key)),R.target!==b.value)||!K0.includes(R.key))return;R.preventDefault();const Ae=w.value;Xp.includes(R.key)&&Ae.reverse(),rl(Ae)}function Y(R){var q,H;(H=(q=R==null?void 0:R.currentTarget)==null?void 0:q.contains)!=null&&H.call(q,R.target)||(window.clearTimeout(c.value),u.value="")}function I(R){var q;if(!ms(R))return;const H=R.target,_e=_.value!==R.clientX;if((q=R==null?void 0:R.currentTarget)!=null&&q.contains(H)&&_e){const ye=R.clientX>_.value?"right":"left";g.value=ye,_.value=R.clientX}}return vw({onItemEnter:R=>!!S(R),onItemLeave:R=>{var q;S(R)||((q=b.value)==null||q.focus(),y.value=null)},onTriggerLeave:R=>!!S(R),searchRef:u,pointerGraceTimerRef:d,onPointerGraceIntentChange:R=>{f.value=R}}),(R,q)=>(k(),N(h(cu),{"as-child":"",trapped:h(a),onMountAutoFocus:O,onUnmountAutoFocus:q[7]||(q[7]=H=>o("closeAutoFocus",H))},{default:T(()=>[$(h(ks),{"as-child":"","disable-outside-pointer-events":h(i),onEscapeKeyDown:q[2]||(q[2]=H=>o("escapeKeyDown",H)),onPointerDownOutside:q[3]||(q[3]=H=>o("pointerDownOutside",H)),onFocusOutside:q[4]||(q[4]=H=>o("focusOutside",H)),onInteractOutside:q[5]||(q[5]=H=>o("interactOutside",H)),onDismiss:q[6]||(q[6]=H=>o("dismiss"))},{default:T(()=>[$(h(gw),{"current-tab-stop-id":y.value,"onUpdate:currentTabStopId":q[0]||(q[0]=H=>y.value=H),"as-child":"",orientation:"vertical",dir:h(s).dir.value,loop:h(l),onEntryFocus:q[1]||(q[1]=H=>{o("entryFocus",H),h(s).isUsingKeyboardRef.value||H.preventDefault()})},{default:T(()=>[$(h(pu),{ref:h(v),role:"menu",as:R.as,"as-child":R.asChild,"aria-orientation":"vertical","data-radix-menu-content":"","data-state":h(du)(h(r).open.value),dir:h(s).dir.value,side:R.side,"side-offset":R.sideOffset,align:R.align,"align-offset":R.alignOffset,"avoid-collisions":R.avoidCollisions,"collision-boundary":R.collisionBoundary,"collision-padding":R.collisionPadding,"arrow-padding":R.arrowPadding,"prioritize-position":R.prioritizePosition,sticky:R.sticky,"hide-when-detached":R.hideWhenDetached,onKeydown:P,onBlur:Y,onPointermove:I},{default:T(()=>[F(R.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","sticky","hide-when-detached"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),oh=A({__name:"MenuItemImpl",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,n=mu(),o=V(!1);async function r(a){if(!a.defaultPrevented&&ms(a)){if(t.disabled)n.onItemLeave(a);else if(!n.onItemEnter(a)){const i=a.currentTarget;i==null||i.focus()}}}async function s(a){await it(),!a.defaultPrevented&&ms(a)&&n.onItemLeave(a)}return(a,i)=>(k(),N(h(xe),{role:"menuitem",tabindex:"-1",as:a.as,"as-child":a.asChild,"data-radix-vue-collection-item":"","aria-disabled":a.disabled||void 0,"data-disabled":a.disabled?"":void 0,"data-highlighted":o.value?"":void 0,onPointermove:r,onPointerleave:s,onFocus:i[0]||(i[0]=async l=>{await it(),!(l.defaultPrevented||a.disabled)&&(o.value=!0)}),onBlur:i[1]||(i[1]=async l=>{await it(),!l.defaultPrevented&&(o.value=!1)})},{default:T(()=>[F(a.$slots,"default")]),_:3},8,["as","as-child","aria-disabled","data-disabled","data-highlighted"]))}}),_w=A({__name:"MenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:r,currentElement:s}=le(),a=Ms(),i=mu(),l=V(!1);async function u(){const c=s.value;if(!n.disabled&&c){const d=new CustomEvent(j0,{bubbles:!0,cancelable:!0});o("select",d),await it(),d.defaultPrevented?l.value=!1:a.onClose()}}return(c,d)=>(k(),N(oh,ae(n,{ref:h(r),onClick:u,onPointerdown:d[0]||(d[0]=()=>{l.value=!0}),onPointerup:d[1]||(d[1]=async f=>{var g;await it(),!f.defaultPrevented&&(l.value||(g=f.currentTarget)==null||g.click())}),onKeydown:d[2]||(d[2]=async f=>{const g=h(i).searchRef.value!=="";c.disabled||g&&f.key===" "||h(ol).includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})}),{default:T(()=>[F(c.$slots,"default")]),_:3},16))}}),yw=A({__name:"MenuRootContentModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=pt(n,o),s=Zo(),{forwardRef:a,currentElement:i}=le();return lu(i),(l,u)=>(k(),N(gu,ae(h(r),{ref:h(a),"trap-focus":h(s).open.value,"disable-outside-pointer-events":h(s).open.value,"disable-outside-scroll":!0,onDismiss:u[0]||(u[0]=c=>h(s).onOpenChange(!1)),onFocusOutside:u[1]||(u[1]=Cn(c=>o("focusOutside",c),["prevent"]))}),{default:T(()=>[F(l.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),bw=A({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=pt(e,t),o=Zo();return(r,s)=>(k(),N(gu,ae(h(n),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:s[0]||(s[0]=a=>h(o).onOpenChange(!1))}),{default:T(()=>[F(r.$slots,"default")]),_:3},16))}}),ww=A({__name:"MenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=pt(e,t),o=Zo(),r=Ms();return(s,a)=>(k(),N(h(ko),{present:s.forceMount||h(o).open.value},{default:T(()=>[h(r).modal.value?(k(),N(yw,Ke(ae({key:0},{...s.$attrs,...h(n)})),{default:T(()=>[F(s.$slots,"default")]),_:3},16)):(k(),N(bw,Ke(ae({key:1},{...s.$attrs,...h(n)})),{default:T(()=>[F(s.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Ew=A({__name:"MenuGroup",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(k(),N(h(xe),ae({role:"group"},t),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),Cw=A({__name:"MenuLabel",props:{asChild:{type:Boolean},as:{default:"div"}},setup(e){const t=e;return(n,o)=>(k(),N(h(xe),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),xw=A({__name:"MenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,o)=>(k(),N(h(za),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),Tw=A({__name:"MenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(k(),N(h(xe),ae(t,{role:"separator","aria-orientation":"horizontal"}),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),[rh,Ow]=lt("MenuSub"),Sw=A({__name:"MenuSub",props:{open:{type:Boolean,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=zt(n,"open",t,{defaultValue:!1,passive:n.open===void 0}),r=Zo(),s=V(),a=V();return bt(i=>{(r==null?void 0:r.open.value)===!1&&(o.value=!1),i(()=>o.value=!1)}),nh({open:o,onOpenChange:i=>{o.value=i},content:a,onContentChange:i=>{a.value=i}}),Ow({triggerId:"",contentId:"",trigger:s,onTriggerChange:i=>{s.value=i}}),(i,l)=>(k(),N(h(qa),null,{default:T(()=>[F(i.$slots,"default")]),_:3}))}}),kw=A({__name:"MenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=pt(e,t),o=Zo(),r=Ms(),s=rh(),{forwardRef:a,currentElement:i}=le();return s.contentId||(s.contentId=Wt(void 0,"radix-vue-menu-sub-content")),(l,u)=>(k(),N(h(ko),{present:l.forceMount||h(o).open.value},{default:T(()=>[$(gu,ae(h(n),{id:h(s).contentId,ref:h(a),"aria-labelledby":h(s).triggerId,align:"start",side:h(r).dir.value==="rtl"?"left":"right","disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:u[0]||(u[0]=Cn(c=>{var d;h(r).isUsingKeyboardRef.value&&((d=h(i))==null||d.focus())},["prevent"])),onCloseAutoFocus:u[1]||(u[1]=Cn(()=>{},["prevent"])),onFocusOutside:u[2]||(u[2]=c=>{c.defaultPrevented||c.target!==h(s).trigger.value&&h(o).onOpenChange(!1)}),onEscapeKeyDown:u[3]||(u[3]=c=>{h(r).onClose(),c.preventDefault()}),onKeydown:u[4]||(u[4]=c=>{var d,f;const g=(d=c.currentTarget)==null?void 0:d.contains(c.target),_=h(q0)[h(r).dir.value].includes(c.key);g&&_&&(h(o).onOpenChange(!1),(f=h(s).trigger.value)==null||f.focus(),c.preventDefault())})}),{default:T(()=>[F(l.$slots,"default")]),_:3},16,["id","aria-labelledby","side"])]),_:3},8,["present"]))}}),Mw=A({__name:"MenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,n=Zo(),o=Ms(),r=rh(),s=mu(),a=V(null);r.triggerId||(r.triggerId=Wt(void 0,"radix-vue-menu-sub-trigger"));function i(){a.value&&window.clearTimeout(a.value),a.value=null}So(()=>{i()});function l(d){!ms(d)||s.onItemEnter(d)||!t.disabled&&!n.open.value&&!a.value&&(s.onPointerGraceIntentChange(null),a.value=window.setTimeout(()=>{n.onOpenChange(!0),i()},100))}async function u(d){var f,g;if(!ms(d))return;i();const _=(f=n.content.value)==null?void 0:f.getBoundingClientRect();if(_!=null&&_.width){const y=(g=n.content.value)==null?void 0:g.dataset.side,C=y==="right",v=C?-5:5,b=_[C?"left":"right"],w=_[C?"right":"left"];s.onPointerGraceIntentChange({area:[{x:d.clientX+v,y:d.clientY},{x:b,y:_.top},{x:w,y:_.top},{x:w,y:_.bottom},{x:b,y:_.bottom}],side:y}),window.clearTimeout(s.pointerGraceTimerRef.value),s.pointerGraceTimerRef.value=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(d))return;s.onPointerGraceIntentChange(null)}}async function c(d){var f;const g=s.searchRef.value!=="";t.disabled||g&&d.key===" "||z0[o.dir.value].includes(d.key)&&(n.onOpenChange(!0),await it(),(f=n.content.value)==null||f.focus(),d.preventDefault())}return(d,f)=>(k(),N(th,{"as-child":""},{default:T(()=>[$(oh,ae(t,{id:h(r).triggerId,ref:g=>{var _;(_=h(r))==null||_.onTriggerChange(g==null?void 0:g.$el)},"aria-haspopup":"menu","aria-expanded":h(n).open.value,"aria-controls":h(r).contentId,"data-state":h(du)(h(n).open.value),onClick:f[0]||(f[0]=async g=>{t.disabled||g.defaultPrevented||(g.currentTarget.focus(),h(n).open.value||h(n).onOpenChange(!0))}),onPointermove:l,onPointerleave:u,onKeydown:c}),{default:T(()=>[F(d.$slots,"default")]),_:3},16,["id","aria-expanded","aria-controls","data-state"])]),_:3}))}}),[sh,Pw]=lt("DropdownMenuRoot"),Dw=A({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=t;le();const r=zt(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0}),s=V(),{modal:a,dir:i}=qt(n),l=Ss(i);return Pw({open:r,onOpenChange:u=>{r.value=u},onOpenToggle:()=>{r.value=!r.value},triggerId:"",triggerElement:s,contentId:"",modal:a,dir:l}),(u,c)=>(k(),N(h(dw),{open:h(r),"onUpdate:open":c[0]||(c[0]=d=>ht(r)?r.value=d:null),dir:h(l),modal:h(a)},{default:T(()=>[F(u.$slots,"default")]),_:3},8,["open","dir","modal"]))}}),Lw=A({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=sh(),{forwardRef:o,currentElement:r}=le();return dt(()=>{n.triggerElement=r}),n.triggerId||(n.triggerId=Wt(void 0,"radix-vue-dropdown-menu-trigger")),(s,a)=>(k(),N(h(th),{"as-child":""},{default:T(()=>[$(h(xe),{id:h(n).triggerId,ref:h(o),type:s.as==="button"?"button":void 0,"as-child":t.asChild,as:s.as,"aria-haspopup":"menu","aria-expanded":h(n).open.value,"aria-controls":h(n).open.value?h(n).contentId:void 0,"data-disabled":s.disabled?"":void 0,disabled:s.disabled,"data-state":h(n).open.value?"open":"closed",onClick:a[0]||(a[0]=async i=>{var l;!s.disabled&&i.button===0&&i.ctrlKey===!1&&((l=h(n))==null||l.onOpenToggle(),await it(),h(n).open.value&&i.preventDefault())}),onKeydown:a[1]||(a[1]=jl(i=>{s.disabled||(["Enter"," "].includes(i.key)&&h(n).onOpenToggle(),i.key==="ArrowDown"&&h(n).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(i.key)&&i.preventDefault())},["enter","space","arrow-down"]))},{default:T(()=>[F(s.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),vu=A({__name:"DropdownMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,o)=>(k(),N(h(xw),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),Iw=A({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(e,{emit:t}){const n=pt(e,t);le();const o=sh(),r=V(!1);function s(a){a.defaultPrevented||(r.value||setTimeout(()=>{var i;(i=o.triggerElement.value)==null||i.focus()},0),r.value=!1,a.preventDefault())}return o.contentId||(o.contentId=Wt(void 0,"radix-vue-dropdown-menu-content")),(a,i)=>{var l;return k(),N(h(ww),ae(h(n),{id:h(o).contentId,"aria-labelledby":(l=h(o))==null?void 0:l.triggerId,style:{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:s,onInteractOutside:i[0]||(i[0]=u=>{var c;if(u.defaultPrevented)return;const d=u.detail.originalEvent,f=d.button===0&&d.ctrlKey===!0,g=d.button===2||f;(!h(o).modal.value||g)&&(r.value=!0),(c=h(o).triggerElement.value)!=null&&c.contains(u.target)&&u.preventDefault()})}),{default:T(()=>[F(a.$slots,"default")]),_:3},16,["id","aria-labelledby","style"])}}}),Aw=A({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(e,{emit:t}){const n=e,o=Ir(t);return le(),(r,s)=>(k(),N(h(_w),Ke(Ze({...n,...h(o)})),{default:T(()=>[F(r.$slots,"default")]),_:3},16))}}),Nw=A({__name:"DropdownMenuGroup",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return le(),(n,o)=>(k(),N(h(Ew),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),Rw=A({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return le(),(n,o)=>(k(),N(h(Tw),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),$w=A({__name:"DropdownMenuLabel",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return le(),(n,o)=>(k(),N(h(Cw),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),Fw=A({__name:"DropdownMenuSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=zt(n,"open",t,{passive:n.open===void 0,defaultValue:n.defaultOpen??!1});return le(),(r,s)=>(k(),N(h(Sw),{open:h(o),"onUpdate:open":s[0]||(s[0]=a=>ht(o)?o.value=a:null)},{default:T(()=>[F(r.$slots,"default")]),_:3},8,["open"]))}}),Bw=A({__name:"DropdownMenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=pt(e,t);return le(),(o,r)=>(k(),N(h(kw),ae(h(n),{style:{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:T(()=>[F(o.$slots,"default")]),_:3},16,["style"]))}}),Ww=A({__name:"DropdownMenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return le(),(n,o)=>(k(),N(h(Mw),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),GP=A({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{default:"label"}},setup(e){const t=e;return le(),(n,o)=>(k(),N(h(xe),ae(t,{onMousedown:o[0]||(o[0]=r=>{!r.defaultPrevented&&r.detail>1&&r.preventDefault()})}),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),[Ar,Yw]=lt(["NavigationMenuRoot","NavigationMenuSub"],"NavigationMenuContext"),Uw=A({__name:"NavigationMenuRoot",props:{modelValue:{default:void 0},defaultValue:{},dir:{},orientation:{default:"horizontal"},delayDuration:{default:200},skipDelayDuration:{default:300},asChild:{type:Boolean},as:{default:"nav"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=zt(n,"modelValue",t,{defaultValue:n.defaultValue??"",passive:n.modelValue===void 0}),r=V(""),{forwardRef:s,currentElement:a}=le(),i=V(),l=V(),{createCollection:u}=eo("nav");u(i);const{delayDuration:c,skipDelayDuration:d,dir:f}=qt(n),g=Ss(f),_=Ga(!1,d),y=G(()=>o.value!==""||_.value?150:c.value),C=o0(v=>{r.value=o.value,o.value=v},y);return Yw({isRootMenu:!0,modelValue:o,previousValue:r,baseId:Wt(void 0,"radix-navigation-menu"),dir:g,orientation:n.orientation,rootNavigationMenu:a,indicatorTrack:i,onIndicatorTrackChange:v=>{i.value=v},viewport:l,onViewportChange:v=>{l.value=v},onTriggerEnter:v=>{C(v)},onTriggerLeave:()=>{_.value=!0,C("")},onContentEnter:v=>{C(v)},onContentLeave:()=>{C("")},onItemSelect:v=>{r.value=o.value,o.value=v},onItemDismiss:()=>{r.value=o.value,o.value=""}}),(v,b)=>(k(),N(h(xe),{ref:h(s),"aria-label":"Main",as:v.as,"as-child":v.asChild,"data-orientation":v.orientation,dir:h(g)},{default:T(()=>[F(v.$slots,"default")]),_:3},8,["as","as-child","data-orientation","dir"]))}});function Xa(e){return e?"open":"closed"}function ah(e,t){return`${e}-trigger-${t}`}function _u(e,t){return`${e}-content-${t}`}const ta="navigationMenu.rootContentDismiss";function al(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ih(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}function Vw(e){return e.forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")}),()=>{e.forEach(t=>{const n=t.dataset.tabindex;t.setAttribute("tabindex",n)})}}function lh(e){return t=>t.pointerType==="mouse"?e(t):void 0}const[yu,Hw]=lt("NavigationMenuItem"),jw=A({__name:"NavigationMenuItem",props:{value:{},asChild:{type:Boolean},as:{default:"li"}},setup(e){const t=e;le();const{injectCollection:n}=eo("nav"),o=n(),r=Ar(),s=Wt(t.value),a=V(),i=V(),l=_u(r.baseId,s);let u=()=>({});const c=V(!1);async function d(y="start"){const C=document.getElementById(l);if(C){u();const v=al(C);v.length&&ih(y==="start"?v:v.reverse())}}function f(){const y=document.getElementById(l);if(y){const C=al(y);C.length&&(u=Vw(C))}}Hw({value:s,contentId:l,triggerRef:a,focusProxyRef:i,wasEscapeCloseRef:c,onEntryKeyDown:d,onFocusProxyEnter:d,onContentFocusOutside:f,onRootContentClose:f});function g(){var y;r.onItemDismiss(),(y=a.value)==null||y.focus()}function _(y){const C=document.activeElement;if(y.keyCode===32||y.key==="Enter")if(r.modelValue.value===s){g(),y.preventDefault();return}else{y.target.click(),y.preventDefault();return}const v=o.value.filter(w=>{var x;return(x=w.parentElement)==null?void 0:x.hasAttribute("data-menu-item")}),b=su(y,C,void 0,{itemsArray:v,loop:!1});b&&(b==null||b.focus()),y.preventDefault(),y.stopPropagation()}return(y,C)=>(k(),N(h(xe),{"as-child":y.asChild,as:y.as,"data-menu-item":"",onKeydown:jl(_,["up","down","left","right","home","end","space"])},{default:T(()=>[F(y.$slots,"default")]),_:3},8,["as-child","as"]))}}),Gw=A({__name:"NavigationMenuContentImpl",props:{disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(e,{emit:t}){const n=e,o=t,{injectCollection:r}=eo("nav"),s=r(),{forwardRef:a,currentElement:i}=le(),l=Ar(),u=yu(),c=ah(l.baseId,u.value),d=_u(l.baseId,u.value),f=V(null),g=G(()=>{const w=s.value.map(I=>I.id.split("trigger-")[1]);l.dir.value==="rtl"&&w.reverse();const x=w.indexOf(l.modelValue.value),S=w.indexOf(l.previousValue.value),O=u.value===l.modelValue.value,P=S===w.indexOf(u.value);if(!O&&!P)return f.value;const Y=(()=>{if(x!==S){if(O&&S!==-1)return x>S?"from-end":"from-start";if(P&&x!==-1)return x>S?"to-start":"to-end"}return null})();return f.value=Y,Y});function _(w){var x,S;if(o("focusOutside",w),o("interactOutside",w),!w.defaultPrevented){u.onContentFocusOutside();const O=w.target;(S=(x=l.rootNavigationMenu)==null?void 0:x.value)!=null&&S.contains(O)&&w.preventDefault()}}function y(w){var x;if(o("pointerDownOutside",w),!w.defaultPrevented){const S=w.target,O=s.value.some(Y=>Y.contains(S)),P=l.isRootMenu&&((x=l.viewport.value)==null?void 0:x.contains(S));(O||P||!l.isRootMenu)&&w.preventDefault()}}bt(w=>{const x=i.value;if(l.isRootMenu&&x){const S=()=>{var O;l.onItemDismiss(),u.onRootContentClose(),x.contains(document.activeElement)&&((O=u.triggerRef.value)==null||O.focus())};x.addEventListener(ta,S),w(()=>x.removeEventListener(ta,S))}});function C(w){var x,S;o("escapeKeyDown",w),w.defaultPrevented||(l.onItemDismiss(),(S=(x=u.triggerRef)==null?void 0:x.value)==null||S.focus(),u.wasEscapeCloseRef.value=!0)}function v(w){var x;const S=w.altKey||w.ctrlKey||w.metaKey,O=w.key==="Tab"&&!S,P=al(w.currentTarget);if(O){const I=document.activeElement,R=P.findIndex(H=>H===I),q=w.shiftKey?P.slice(0,R).reverse():P.slice(R+1,P.length);if(ih(q))w.preventDefault();else{(x=u.focusProxyRef.value)==null||x.focus();return}}const Y=su(w,document.activeElement,void 0,{itemsArray:P,loop:!1,enableIgnoredElement:!0});Y==null||Y.focus()}function b(){var w;const x=new Event(ta,{bubbles:!0,cancelable:!0});(w=i.value)==null||w.dispatchEvent(x)}return(w,x)=>(k(),N(h(ks),ae({id:h(d),ref:h(a),"aria-labelledby":h(c),"data-motion":g.value,"data-state":h(Xa)(h(l).modelValue.value===h(u).value),"data-orientation":h(l).orientation},n,{onKeydown:v,onEscapeKeyDown:C,onPointerDownOutside:y,onFocusOutside:_,onDismiss:b}),{default:T(()=>[F(w.$slots,"default")]),_:3},16,["id","aria-labelledby","data-motion","data-state","data-orientation"]))}}),Kw=A({inheritAttrs:!1,__name:"NavigationMenuContent",props:{forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(e,{emit:t}){const n=e,o=t,r=Ir(o),{forwardRef:s}=le(),a=ru(),i=Ar(),l=yu(),u=G(()=>l.value===i.modelValue.value),c=G(()=>i.viewport.value&&!i.modelValue.value&&i.previousValue.value?i.previousValue.value===l.value:!1);return(d,f)=>h(a)?(k(),N(Ba,{key:0,to:h(i).viewport.value,disabled:!h(i).viewport.value},[$(h(ko),{present:d.forceMount||u.value||c.value},{default:T(()=>[$(Gw,ae({ref:h(s),"data-state":h(Xa)(u.value),style:{pointerEvents:!u.value&&h(i).isRootMenu?"none":void 0}},{...d.$attrs,...n,...h(r)},{onPointerenter:f[0]||(f[0]=g=>h(i).onContentEnter(h(l).value)),onPointerleave:f[1]||(f[1]=g=>h(lh)(()=>h(i).onContentLeave())(g)),onPointerDownOutside:f[2]||(f[2]=g=>o("pointerDownOutside",g)),onFocusOutside:f[3]||(f[3]=g=>o("focusOutside",g)),onInteractOutside:f[4]||(f[4]=g=>o("interactOutside",g))}),{default:T(()=>[F(d.$slots,"default")]),_:3},16,["data-state","style"])]),_:3},8,["present"])],8,["to","disabled"])):je("",!0)}}),zw=A({__name:"NavigationMenuLink",props:{active:{type:Boolean},asChild:{type:Boolean},as:{default:"a"}},emits:["select"],setup(e,{emit:t}){const n=e,o=t;le();async function r(s){var a;if(o("select",s),await it(),!s.defaultPrevented&&!s.metaKey){const i=new CustomEvent(ta,{bubbles:!0,cancelable:!0});(a=s.target)==null||a.dispatchEvent(i)}}return(s,a)=>(k(),N(h(xe),{as:s.as,"data-active":s.active?"":void 0,"aria-current":s.active?"page":void 0,"as-child":n.asChild,"data-radix-vue-collection-item":"",onClick:r},{default:T(()=>[F(s.$slots,"default")]),_:3},8,["as","data-active","aria-current","as-child"]))}}),qw=A({inheritAttrs:!1,__name:"NavigationMenuList",props:{asChild:{type:Boolean},as:{default:"ul"}},setup(e){const t=e,n=Ar(),{forwardRef:o,currentElement:r}=le();return dt(()=>{n.onIndicatorTrackChange(r.value)}),(s,a)=>(k(),N(h(xe),{ref:h(o),style:{position:"relative"}},{default:T(()=>[$(h(xe),ae(s.$attrs,{"as-child":t.asChild,as:s.as,"data-orientation":h(n).orientation}),{default:T(()=>[F(s.$slots,"default")]),_:3},16,["as-child","as","data-orientation"])]),_:3},512))}}),Xw=["aria-owns"],Zw=A({inheritAttrs:!1,__name:"NavigationMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Ar(),o=yu(),{forwardRef:r,currentElement:s}=le(),a=V(""),i=V(""),l=Ga(!1,300),u=V(!1),c=G(()=>o.value===n.modelValue.value);dt(()=>{o.triggerRef=s,a.value=ah(n.baseId,o.value),i.value=_u(n.baseId,o.value)});function d(){u.value=!1,o.wasEscapeCloseRef.value=!1}function f(b){if(b.pointerType==="mouse"){if(t.disabled||u.value||o.wasEscapeCloseRef.value||l.value)return;n.onTriggerEnter(o.value),l.value=!0}}function g(b){if(b.pointerType==="mouse"){if(t.disabled)return;n.onTriggerLeave(),l.value=!1}}function _(){l.value||(c.value?n.onItemSelect(""):n.onItemSelect(o.value),u.value=c.value)}function y(b){const w={horizontal:"ArrowDown",vertical:n.dir.value==="rtl"?"ArrowLeft":"ArrowRight"}[n.orientation];c.value&&b.key===w&&(o.onEntryKeyDown(),b.preventDefault(),b.stopPropagation())}function C(b){o.focusProxyRef.value=fn(b)}function v(b){const w=document.getElementById(o.contentId),x=b.relatedTarget,S=x===s.value,O=w==null?void 0:w.contains(x);(S||!O)&&o.onFocusProxyEnter(S?"start":"end")}return(b,w)=>(k(),pe(He,null,[$(h(xe),ae({id:a.value,ref:h(r),disabled:b.disabled,"data-disabled":b.disabled?"":void 0,"data-state":h(Xa)(c.value),"aria-expanded":c.value,"aria-controls":i.value,"as-child":t.asChild,as:b.as},b.$attrs,{"data-radix-vue-collection-item":"",onPointerenter:d,onPointermove:f,onPointerleave:g,onClick:_,onKeydown:y}),{default:T(()=>[F(b.$slots,"default")]),_:3},16,["id","disabled","data-disabled","data-state","aria-expanded","aria-controls","as-child","as"]),c.value?(k(),pe(He,{key:0},[$(h(hu),{ref:C,"aria-hidden":"",tabindex:0,onFocus:v}),h(n).viewport?(k(),pe("span",{key:0,"aria-owns":i.value},null,8,Xw)):je("",!0)],64)):je("",!0)],64))}}),Jw=A({inheritAttrs:!1,__name:"NavigationMenuViewport",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const{forwardRef:t,currentElement:n}=le(),o=Ar(),r=V(),s=G(()=>!!o.modelValue.value),a=G(()=>o.modelValue.value);Le(n,()=>{n.value&&o.onViewportChange(n.value)});const i=V();return Le([a,s],async()=>{var l,u;if(await it(),!n.value)return;const c=(u=(l=n.value.querySelector("[data-state=open]"))==null?void 0:l.children)==null?void 0:u[0];i.value=c},{immediate:!0}),u0(i,()=>{i.value&&(r.value={width:i.value.offsetWidth,height:i.value.offsetHeight})}),(l,u)=>(k(),N(h(ko),{present:l.forceMount||s.value},{default:T(()=>{var c,d;return[$(h(xe),ae(l.$attrs,{ref:h(t),as:l.as,"as-child":l.asChild,"data-state":h(Xa)(s.value),"data-orientation":h(o).orientation,style:{pointerEvents:!s.value&&h(o).isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":r.value?`${(c=r.value)==null?void 0:c.width}px`:void 0,"--radix-navigation-menu-viewport-height":r.value?`${(d=r.value)==null?void 0:d.height}px`:void 0},onPointerenter:u[0]||(u[0]=f=>h(o).onContentEnter(h(o).modelValue.value)),onPointerleave:u[1]||(u[1]=f=>h(lh)(()=>h(o).onContentLeave())(f))}),{default:T(()=>[F(l.$slots,"default")]),_:3},16,["as","as-child","data-state","data-orientation","style"])]}),_:3},8,["present"]))}}),Qw=["default-value"],e1=A({__name:"BubbleSelect",props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(e){const t=e,{value:n}=qt(t);c0(n);const o=V();return(r,s)=>(k(),N(h(hu),{"as-child":""},{default:T(()=>[zg(we("select",ae({ref_key:"selectElement",ref:o},t,{"onUpdate:modelValue":s[0]||(s[0]=a=>ht(n)?n.value=a:null),"default-value":h(n)}),[F(r.$slots,"default")],16,Qw),[[n_,h(n)]])]),_:3}))}}),t1={key:0,value:""},[Jo,uh]=lt("SelectRoot"),[n1,o1]=lt("SelectRoot"),r1=A({__name:"SelectRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},defaultValue:{default:""},modelValue:{default:void 0},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const n=e,o=t,r=zt(n,"modelValue",o,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),s=zt(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0}),a=V(),i=V(),l=V({x:0,y:0}),u=V(!1),{required:c,disabled:d,dir:f}=qt(n),g=Ss(f);uh({triggerElement:a,onTriggerChange:v=>{a.value=v},valueElement:i,onValueElementChange:v=>{i.value=v},valueElementHasChildren:u,onValueElementHasChildrenChange:v=>{u.value=v},contentId:"",modelValue:r,onValueChange:v=>{r.value=v},open:s,required:c,onOpenChange:v=>{s.value=v},dir:g,triggerPointerDownPosRef:l,disabled:d});const _=jp(a),y=V(new Set),C=G(()=>Array.from(y.value).map(v=>{var b;return(b=v.props)==null?void 0:b.value}).join(";"));return o1({onNativeOptionAdd:v=>{y.value.add(v)},onNativeOptionRemove:v=>{y.value.delete(v)}}),(v,b)=>(k(),N(h(qa),null,{default:T(()=>[F(v.$slots,"default"),h(_)?(k(),N(e1,ae({key:C.value},v.$attrs,{"aria-hidden":"",tabindex:"-1",required:h(c),name:v.name,autocomplete:v.autocomplete,disabled:h(d),value:h(r),onChange:b[0]||(b[0]=w=>r.value=w.target.value)}),{default:T(()=>[h(r)===void 0?(k(),pe("option",t1)):je("",!0),(k(!0),pe(He,null,jo(Array.from(y.value),w=>(k(),N(Un(w),ae(w.props,{key:w.key??""}),null,16))),128))]),_:1},16,["required","name","autocomplete","disabled","value"])):je("",!0)]),_:3}))}}),s1=[" ","Enter","ArrowUp","ArrowDown"],a1=[" ","Enter"],Rn=10;function ch(e){return e===""||e===void 0}const i1=A({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Jo(),o=G(()=>{var f;return((f=n.disabled)==null?void 0:f.value)||t.disabled}),{forwardRef:r,currentElement:s}=le();n.contentId||(n.contentId=Wt(void 0,"radix-vue-select-content")),dt(()=>{n.triggerElement=s});const{injectCollection:a}=eo(),i=a(),{search:l,handleTypeaheadSearch:u,resetTypeahead:c}=uu(i);function d(){o.value||(n.onOpenChange(!0),c())}return(f,g)=>(k(),N(h(fu),{"as-child":""},{default:T(()=>{var _,y,C,v;return[$(h(xe),{ref:h(r),role:"combobox",type:f.as==="button"?"button":void 0,"aria-controls":h(n).contentId,"aria-expanded":h(n).open.value||!1,"aria-required":(_=h(n).required)==null?void 0:_.value,"aria-autocomplete":"none",disabled:o.value,dir:(y=h(n))==null?void 0:y.dir.value,"data-state":(C=h(n))!=null&&C.open.value?"open":"closed","data-disabled":o.value?"":void 0,"data-placeholder":h(ch)((v=h(n).modelValue)==null?void 0:v.value)?"":void 0,"as-child":f.asChild,as:f.as,onClick:g[0]||(g[0]=b=>{var w;(w=b==null?void 0:b.currentTarget)==null||w.focus()}),onPointerdown:g[1]||(g[1]=b=>{const w=b.target;w.hasPointerCapture(b.pointerId)&&w.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&(d(),h(n).triggerPointerDownPosRef.value={x:Math.round(b.pageX),y:Math.round(b.pageY)},b.preventDefault())}),onPointerup:g[2]||(g[2]=Cn(()=>{},["prevent"])),onKeydown:g[3]||(g[3]=b=>{const w=h(l)!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&w&&b.key===" "||(h(u)(b.key),h(s1).includes(b.key)&&(d(),b.preventDefault()))})},{default:T(()=>[F(f.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3}))}}),l1=A({__name:"SelectPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,o)=>(k(),N(h(za),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),[bu,u1]=lt("SelectItemAlignedPosition"),c1=A({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean},as:{}},emits:["placed"],setup(e,{emit:t}){const n=e,o=t,{injectCollection:r}=eo(),s=Jo(),a=Qo(),i=r(),l=V(!1),u=V(!0),c=V(),{forwardRef:d,currentElement:f}=le(),{viewport:g,selectedItem:_,selectedItemText:y,focusSelectedItem:C}=a;function v(){if(s.triggerElement.value&&s.valueElement.value&&c.value&&f.value&&g!=null&&g.value&&_!=null&&_.value&&y!=null&&y.value){const x=s.triggerElement.value.getBoundingClientRect(),S=f.value.getBoundingClientRect(),O=s.valueElement.value.getBoundingClientRect(),P=y.value.getBoundingClientRect();if(s.dir.value!=="rtl"){const B=P.left-S.left,Z=O.left-B,X=x.left-Z,te=x.width+X,Te=Math.max(te,S.width),De=window.innerWidth-Rn,m=pd(Z,Rn,De-Te);c.value.style.minWidth=`${te}px`,c.value.style.left=`${m}px`}else{const B=S.right-P.right,Z=window.innerWidth-O.right-B,X=window.innerWidth-x.right-Z,te=x.width+X,Te=Math.max(te,S.width),De=window.innerWidth-Rn,m=pd(Z,Rn,De-Te);c.value.style.minWidth=`${te}px`,c.value.style.right=`${m}px`}const Y=i.value,I=window.innerHeight-Rn*2,R=g.value.scrollHeight,q=window.getComputedStyle(f.value),H=Number.parseInt(q.borderTopWidth,10),_e=Number.parseInt(q.paddingTop,10),ye=Number.parseInt(q.borderBottomWidth,10),Ae=Number.parseInt(q.paddingBottom,10),de=H+_e+R+Ae+ye,he=Math.min(_.value.offsetHeight*5,de),be=window.getComputedStyle(g.value),rt=Number.parseInt(be.paddingTop,10),mt=Number.parseInt(be.paddingBottom,10),Ne=x.top+x.height/2-Rn,Ge=I-Ne,Ot=_.value.offsetHeight/2,Dt=_.value.offsetTop+Ot,Lt=H+_e+Dt,st=de-Lt;if(Lt<=Ne){const B=_.value===Y[Y.length-1];c.value.style.bottom="0px";const Z=f.value.clientHeight-g.value.offsetTop-g.value.offsetHeight,X=Math.max(Ge,Ot+(B?mt:0)+Z+ye),te=Lt+X;c.value.style.height=`${te}px`}else{const B=_.value===Y[0];c.value.style.top="0px";const Z=Math.max(Ne,H+g.value.offsetTop+(B?rt:0)+Ot)+st;c.value.style.height=`${Z}px`,g.value.scrollTop=Lt-Ne+g.value.offsetTop}c.value.style.margin=`${Rn}px 0`,c.value.style.minHeight=`${he}px`,c.value.style.maxHeight=`${I}px`,o("placed"),requestAnimationFrame(()=>l.value=!0)}}const b=V("");dt(async()=>{await it(),v(),f.value&&(b.value=window.getComputedStyle(f.value).zIndex)});function w(x){x&&u.value===!0&&(v(),C==null||C(),u.value=!1)}return u1({contentWrapper:c,shouldExpandOnScrollRef:l,onScrollButtonChange:w}),(x,S)=>(k(),pe("div",{ref_key:"contentWrapperElement",ref:c,style:Xn({display:"flex",flexDirection:"column",position:"fixed",zIndex:b.value})},[$(h(xe),ae({ref:h(d),style:{boxSizing:"border-box",maxHeight:"100%"}},{...x.$attrs,...n}),{default:T(()=>[F(x.$slots,"default")]),_:3},16,["style"])],4))}}),d1=A({__name:"SelectPopperPosition",props:{side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{default:Rn},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=Nt(e);return(n,o)=>(k(),N(h(pu),ae(h(t),{style:{boxSizing:"border-box","--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:T(()=>[F(n.$slots,"default")]),_:3},16,["style"]))}}),Nr={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Qo,f1]=lt("SelectContent"),p1=A({__name:"SelectContentImpl",props:{position:{default:"item-aligned"},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=Jo();Hp(),iu(!0);const{createCollection:s}=eo(),a=V();lu(a);const i=s(a),{search:l,handleTypeaheadSearch:u}=uu(i),c=V(),d=V(),f=V(),g=V(!1),_=V(!1);function y(){d.value&&a.value&&rl([d.value,a.value])}Le(g,()=>{y()});const{onOpenChange:C,triggerPointerDownPosRef:v}=r;bt(S=>{if(!a.value)return;let O={x:0,y:0};const P=I=>{var R,q;O={x:Math.abs(Math.round(I.pageX)-(((R=v.value)==null?void 0:R.x)??0)),y:Math.abs(Math.round(I.pageY)-(((q=v.value)==null?void 0:q.y)??0))}},Y=I=>{var R;O.x<=10&&O.y<=10?I.preventDefault():(R=a.value)!=null&&R.contains(I.target)||C(!1),document.removeEventListener("pointermove",P),v.value=null};v.value!==null&&(document.addEventListener("pointermove",P),document.addEventListener("pointerup",Y,{capture:!0,once:!0})),S(()=>{document.removeEventListener("pointermove",P),document.removeEventListener("pointerup",Y,{capture:!0})})});function b(S){const O=S.ctrlKey||S.altKey||S.metaKey;if(S.key==="Tab"&&S.preventDefault(),!O&&S.key.length===1&&u(S.key),["ArrowUp","ArrowDown","Home","End"].includes(S.key)){let P=i.value;if(["ArrowUp","End"].includes(S.key)&&(P=P.slice().reverse()),["ArrowUp","ArrowDown"].includes(S.key)){const Y=S.target,I=P.indexOf(Y);P=P.slice(I+1)}setTimeout(()=>rl(P)),S.preventDefault()}}const w=G(()=>n.position==="popper"?n:{}),x=Nt(w.value);return f1({content:a,viewport:c,onViewportChange:S=>{c.value=S},itemRefCallback:(S,O,P)=>{var Y,I;const R=!_.value&&!P;(((Y=r.modelValue)==null?void 0:Y.value)!==void 0&&((I=r.modelValue)==null?void 0:I.value)===O||R)&&(d.value=S,R&&(_.value=!0))},selectedItem:d,selectedItemText:f,onItemLeave:()=>{var S;(S=a.value)==null||S.focus()},itemTextRefCallback:(S,O,P)=>{var Y,I;const R=!_.value&&!P;(((Y=r.modelValue)==null?void 0:Y.value)!==void 0&&((I=r.modelValue)==null?void 0:I.value)===O||R)&&(f.value=S)},focusSelectedItem:y,position:n.position,isPositioned:g,searchRef:l}),(S,O)=>(k(),N(h(cu),{"as-child":"",onMountAutoFocus:O[6]||(O[6]=Cn(()=>{},["prevent"])),onUnmountAutoFocus:O[7]||(O[7]=P=>{var Y;o("closeAutoFocus",P),!P.defaultPrevented&&((Y=h(r).triggerElement.value)==null||Y.focus({preventScroll:!0}),P.preventDefault())})},{default:T(()=>[$(h(ks),{"as-child":"","disable-outside-pointer-events":"",onFocusOutside:O[2]||(O[2]=Cn(()=>{},["prevent"])),onDismiss:O[3]||(O[3]=P=>h(r).onOpenChange(!1)),onEscapeKeyDown:O[4]||(O[4]=P=>o("escapeKeyDown",P)),onPointerDownOutside:O[5]||(O[5]=P=>o("pointerDownOutside",P))},{default:T(()=>[(k(),N(Un(S.position==="popper"?d1:c1),ae({...S.$attrs,...h(x)},{id:h(r).contentId,ref:P=>{a.value=h(fn)(P)},role:"listbox","data-state":h(r).open.value?"open":"closed",dir:h(r).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:O[0]||(O[0]=Cn(()=>{},["prevent"])),onPlaced:O[1]||(O[1]=P=>g.value=!0),onKeydown:b}),{default:T(()=>[F(S.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3})]),_:3}))}}),h1=A({__name:"SelectProvider",props:{context:{}},setup(e){return uh(e.context),(t,n)=>F(t.$slots,"default")}}),m1=A({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=pt(e,t),o=Jo(),r=V();dt(()=>{r.value=new DocumentFragment});const s=V();return(a,i)=>{var l;return k(),pe(He,null,[$(h(ko),{ref_key:"presenceRef",ref:s,present:a.forceMount||h(o).open.value},{default:T(()=>[$(p1,Ke(Ze({...h(n),...a.$attrs})),{default:T(()=>[F(a.$slots,"default")]),_:3},16)]),_:3},8,["present"]),!((l=s.value)!=null&&l.present)&&r.value?(k(),N(Ba,{key:0,to:r.value},[$(h1,{context:h(o)},{default:T(()=>[we("div",null,[F(a.$slots,"default")])]),_:3},8,["context"])],8,["to"])):je("",!0)],64)}}}),[dh,g1]=lt("SelectItem"),v1=A({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,{disabled:n}=qt(t),o=Jo(),r=Qo(Nr),{forwardRef:s,currentElement:a}=le(),i=G(()=>{var y;return((y=o.modelValue)==null?void 0:y.value)===t.value}),l=V(!1),u=V(t.textValue??""),c=Wt(void 0,"radix-vue-select-item-text");async function d(y){await it(),!(y!=null&&y.defaultPrevented)&&(n.value||(o.onValueChange(t.value),o.onOpenChange(!1)))}async function f(y){var C;await it(),!y.defaultPrevented&&(n.value?(C=r.onItemLeave)==null||C.call(r):y.currentTarget.focus({preventScroll:!0}))}async function g(y){var C;await it(),!y.defaultPrevented&&y.currentTarget===document.activeElement&&((C=r.onItemLeave)==null||C.call(r))}async function _(y){var C;await it(),!(y.defaultPrevented||((C=r.searchRef)==null?void 0:C.value)!==""&&y.key===" ")&&(a1.includes(y.key)&&d(),y.key===" "&&y.preventDefault())}if(t.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return dt(()=>{a.value&&r.itemRefCallback(a.value,t.value,t.disabled)}),g1({value:t.value,disabled:n,textId:c,isSelected:i,onItemTextChange:y=>{u.value=((u.value||(y==null?void 0:y.textContent))??"").trim()}}),(y,C)=>(k(),N(h(xe),{ref:h(s),role:"option","data-radix-vue-collection-item":"","aria-labelledby":h(c),"data-highlighted":l.value?"":void 0,"aria-selected":i.value&&l.value,"data-state":i.value?"checked":"unchecked","aria-disabled":h(n)||void 0,"data-disabled":h(n)?"":void 0,tabindex:h(n)?void 0:-1,as:y.as,"as-child":y.asChild,onFocus:C[0]||(C[0]=v=>l.value=!0),onBlur:C[1]||(C[1]=v=>l.value=!1),onPointerup:d,onTouchend:C[2]||(C[2]=Cn(()=>{},["prevent","stop"])),onPointermove:f,onPointerleave:g,onKeydown:_},{default:T(()=>[F(y.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"]))}}),_1=A({__name:"SelectItemIndicator",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=e,n=dh();return(o,r)=>h(n).isSelected.value?(k(),N(h(xe),ae({key:0,"aria-hidden":""},t),{default:T(()=>[F(o.$slots,"default")]),_:3},16)):je("",!0)}}),[y1,b1]=lt("SelectGroup"),w1=A({__name:"SelectGroup",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e,n=Wt(void 0,"radix-vue-select-group");return b1({id:n}),(o,r)=>(k(),N(h(xe),ae({role:"group"},t,{"aria-labelledby":h(n)}),{default:T(()=>[F(o.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),E1=A({__name:"SelectLabel",props:{for:{},asChild:{type:Boolean},as:{default:"div"}},setup(e){const t=e,n=y1({id:""});return(o,r)=>(k(),N(h(xe),ae(t,{id:h(n).id}),{default:T(()=>[F(o.$slots,"default")]),_:3},16,["id"]))}}),C1=A({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=e,n=Jo(),o=Qo(Nr),r=n1(),s=dh(),{forwardRef:a,currentElement:i}=le(),l=G(()=>{var u;return Tn("option",{key:s.value,value:s.value,disabled:s.disabled.value,innerHTML:(u=i.value)==null?void 0:u.textContent})});return dt(()=>{i.value&&(s.onItemTextChange(i.value),o.itemTextRefCallback(i.value,s.value,s.disabled.value),r.onNativeOptionAdd(l.value))}),Fa(()=>{r.onNativeOptionRemove(l.value)}),(u,c)=>(k(),pe(He,null,[$(h(xe),ae({id:h(s).textId,ref:h(a)},{...t,...u.$attrs}),{default:T(()=>[F(u.$slots,"default")]),_:3},16,["id"]),h(s).isSelected.value&&h(n).valueElement.value&&!h(n).valueElementHasChildren.value?(k(),N(Ba,{key:0,to:h(n).valueElement.value},[F(u.$slots,"default")],8,["to"])):je("",!0)],64))}}),x1=A({__name:"SelectViewport",props:{nonce:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,n=Qo(Nr),o=n.position==="item-aligned"?bu():void 0,{forwardRef:r,currentElement:s}=le();dt(()=>{n==null||n.onViewportChange(s.value)});const a=V(0);function i(l){const u=l.currentTarget,{shouldExpandOnScrollRef:c,contentWrapper:d}=o??{};if(c!=null&&c.value&&d!=null&&d.value){const f=Math.abs(a.value-u.scrollTop);if(f>0){const g=window.innerHeight-Rn*2,_=Number.parseFloat(d.value.style.minHeight),y=Number.parseFloat(d.value.style.height),C=Math.max(_,y);if(C0?w:0,d.value.style.justifyContent="flex-end")}}}a.value=u.scrollTop}return(l,u)=>(k(),pe(He,null,[$(h(xe),ae({ref:h(r),"data-radix-select-viewport":"",role:"presentation"},{...l.$attrs,...t},{style:{position:"relative",flex:1,overflow:"auto"},onScroll:i}),{default:T(()=>[F(l.$slots,"default")]),_:3},16,["style"]),$(h(xe),{as:"style",nonce:l.nonce},{default:T(()=>[ut(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ")]),_:1},8,["nonce"])],64))}}),fh=A({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(e,{emit:t}){const n=t,{injectCollection:o}=eo(),r=o(),s=Qo(Nr),a=V(null);function i(){a.value!==null&&(window.clearInterval(a.value),a.value=null)}bt(()=>{const c=r.value.find(d=>d===document.activeElement);c==null||c.scrollIntoView({block:"nearest"})});function l(){a.value===null&&(a.value=window.setInterval(()=>{n("autoScroll")},50))}function u(){var c;(c=s.onItemLeave)==null||c.call(s),a.value===null&&(a.value=window.setInterval(()=>{n("autoScroll")},50))}return Fa(()=>i()),(c,d)=>{var f;return k(),N(h(xe),ae({"aria-hidden":"",style:{flexShrink:0}},(f=c.$parent)==null?void 0:f.$props,{onPointerdown:l,onPointermove:u,onPointerleave:d[0]||(d[0]=()=>{i()})}),{default:T(()=>[F(c.$slots,"default")]),_:3},16)}}}),T1=A({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{}},setup(e){const t=Qo(Nr),n=t.position==="item-aligned"?bu():void 0,{forwardRef:o,currentElement:r}=le(),s=V(!1);return bt(a=>{var i,l;if((i=t.viewport)!=null&&i.value&&(l=t.isPositioned)!=null&&l.value){let u=function(){s.value=c.scrollTop>0};const c=t.viewport.value;u(),c.addEventListener("scroll",u),a(()=>c.removeEventListener("scroll",u))}}),Le(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(a,i)=>s.value?(k(),N(fh,{key:0,ref:h(o),onAutoScroll:i[0]||(i[0]=()=>{const{viewport:l,selectedItem:u}=h(t);l!=null&&l.value&&u!=null&&u.value&&(l.value.scrollTop=l.value.scrollTop-u.value.offsetHeight)})},{default:T(()=>[F(a.$slots,"default")]),_:3},512)):je("",!0)}}),O1=A({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{}},setup(e){const t=Qo(Nr),n=t.position==="item-aligned"?bu():void 0,{forwardRef:o,currentElement:r}=le(),s=V(!1);return bt(a=>{var i,l;if((i=t.viewport)!=null&&i.value&&(l=t.isPositioned)!=null&&l.value){let u=function(){const d=c.scrollHeight-c.clientHeight;s.value=Math.ceil(c.scrollTop)c.removeEventListener("scroll",u))}}),Le(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(a,i)=>s.value?(k(),N(fh,{key:0,ref:h(o),onAutoScroll:i[0]||(i[0]=()=>{const{viewport:l,selectedItem:u}=h(t);l!=null&&l.value&&u!=null&&u.value&&(l.value.scrollTop=l.value.scrollTop+u.value.offsetHeight)})},{default:T(()=>[F(a.$slots,"default")]),_:3},512)):je("",!0)}}),S1=A({__name:"SelectValue",props:{placeholder:{default:""},asChild:{type:Boolean},as:{default:"span"}},setup(e){const{forwardRef:t,currentElement:n}=le(),o=Jo(),r=Jf();return Wl(()=>{var s;const a=!!Ka((s=r==null?void 0:r.default)==null?void 0:s.call(r)).length;o.onValueElementHasChildrenChange(a)}),dt(()=>{o.valueElement=n}),(s,a)=>(k(),N(h(xe),{ref:h(t),as:s.as,"as-child":s.asChild,style:{pointerEvents:"none"}},{default:T(()=>{var i;return[h(ch)((i=h(o).modelValue)==null?void 0:i.value)?(k(),pe(He,{key:0},[ut($e(s.placeholder),1)],64)):F(s.$slots,"default",{key:1})]}),_:3},8,["as","as-child"]))}}),k1=A({__name:"SelectIcon",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return(t,n)=>(k(),N(h(xe),{"aria-hidden":"",as:t.as,"as-child":t.asChild},{default:T(()=>[F(t.$slots,"default",{},()=>[ut("▼")])]),_:3},8,["as","as-child"]))}});function M1(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}M1();const P1=["name","disabled","required","value","checked","data-state","data-disabled"],[D1,L1]=lt("SwitchRoot"),I1=A({__name:"SwitchRoot",props:{defaultChecked:{type:Boolean},checked:{type:Boolean,default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{default:"on"},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(e,{emit:t}){const n=e,o=t,{disabled:r}=qt(n),s=zt(n,"checked",o,{defaultValue:n.defaultChecked,passive:n.checked===void 0});function a(){r.value||(s.value=!s.value)}const{forwardRef:i,currentElement:l}=le(),u=jp(l),c=G(()=>{var d;return n.id&&l.value?(d=document.querySelector(`[for="${n.id}"]`))==null?void 0:d.innerText:void 0});return L1({checked:s,toggleCheck:a,disabled:r}),(d,f)=>(k(),pe(He,null,[$(h(xe),ae(d.$attrs,{id:d.id,ref:h(i),role:"switch",type:d.as==="button"?"button":void 0,value:d.value,"aria-label":d.$attrs["aria-label"]||c.value,"aria-checked":h(s),"aria-required":d.required,"data-state":h(s)?"checked":"unchecked","data-disabled":h(r)?"":void 0,"as-child":d.asChild,as:d.as,disabled:h(r),onClick:a,onKeydown:jl(Cn(a,["prevent"]),["enter"])}),{default:T(()=>[F(d.$slots,"default")]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]),h(u)?(k(),pe("input",{key:0,type:"checkbox",name:d.name,tabindex:"-1","aria-hidden":"",disabled:h(r),required:d.required,value:d.value,checked:!!h(s),"data-state":h(s)?"checked":"unchecked","data-disabled":h(r)?"":void 0,style:Xn({transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0})},null,12,P1)):je("",!0)],64))}}),A1=A({__name:"SwitchThumb",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=D1();return le(),(n,o)=>{var r;return k(),N(h(xe),{"data-state":(r=h(t).checked)!=null&&r.value?"checked":"unchecked","data-disabled":h(t).disabled.value?"":void 0,"as-child":n.asChild,as:n.as},{default:T(()=>[F(n.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"])}}}),ph="tooltip.open";function N1(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,o,r,s)){case s:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function R1(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function $1(e){const{top:t,right:n,bottom:o,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:o},{x:r,y:o}]}function F1(e,t){const{x:n,y:o}=e;let r=!1;for(let s=0,a=t.length-1;so!=c>o&&n<(u-i)*(o-l)/(c-l)+i&&(r=!r)}return r}function B1(e){const t=e.slice();return t.sort((n,o)=>n.xo.x?1:n.yo.y?1:0),W1(t)}function W1(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o=2;){const s=t[t.length-1],a=t[t.length-2];if((s.x-a.x)*(r.y-a.y)>=(s.y-a.y)*(r.x-a.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const r=e[o];for(;n.length>=2;){const s=n[n.length-1],a=n[n.length-2];if((s.x-a.x)*(r.y-a.y)>=(s.y-a.y)*(r.x-a.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const[wu,Y1]=lt("TooltipProvider"),U1=A({__name:"TooltipProvider",props:{delayDuration:{default:700},skipDelayDuration:{default:300},disableHoverableContent:{type:Boolean,default:!1},disableClosingTrigger:{type:Boolean}},setup(e){const t=e,{delayDuration:n,skipDelayDuration:o,disableHoverableContent:r,disableClosingTrigger:s}=qt(t);le();const a=V(!0),i=Ga(!1,300),{start:l,stop:u}=Up(()=>{a.value=!0},o,{immediate:!1});return Y1({isOpenDelayed:a,delayDuration:n,onOpen(){u(),a.value=!1},onClose(){l()},isPointerInTransitRef:i,onPointerInTransitChange(c){i.value=c},disableHoverableContent:r,disableClosingTrigger:s}),(c,d)=>F(c.$slots,"default")}}),[Za,V1]=lt("TooltipRoot"),H1=A({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},delayDuration:{default:void 0},disableHoverableContent:{type:Boolean,default:void 0},disableClosingTrigger:{type:Boolean,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=t;le();const r=wu(),s=G(()=>n.disableHoverableContent??r.disableHoverableContent.value),a=G(()=>n.disableClosingTrigger??r.disableClosingTrigger.value),i=G(()=>n.delayDuration??r.delayDuration.value),l=zt(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0});Le(l,v=>{r.onClose&&(v?(r.onOpen(),document.dispatchEvent(new CustomEvent(ph))):r.onClose())});const u=V(!1),c=V(),d=G(()=>l.value?u.value?"delayed-open":"instant-open":"closed"),{start:f,stop:g}=Up(()=>{u.value=!0,l.value=!0},i,{immediate:!1});function _(){g(),u.value=!1,l.value=!0}function y(){g(),l.value=!1}function C(){f()}return V1({contentId:"",open:l,stateAttribute:d,trigger:c,onTriggerChange(v){c.value=v},onTriggerEnter(){r.isOpenDelayed.value?C():_()},onTriggerLeave(){s.value?y():g()},onOpen:_,onClose:y,disableHoverableContent:s,disableClosingTrigger:a}),(v,b)=>(k(),N(h(qa),null,{default:T(()=>[F(v.$slots,"default")]),_:3}))}}),j1=A({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Za(),o=wu();n.contentId||(n.contentId=Wt(void 0,"radix-vue-tooltip-content"));const{forwardRef:r,currentElement:s}=le(),a=V(!1),i=V(!1);function l(){a.value=!1}function u(){a.value=!0,document.addEventListener("pointerup",l,{once:!0})}return dt(()=>{n.onTriggerChange(s.value)}),(c,d)=>(k(),N(h(fu),{"as-child":""},{default:T(()=>[$(h(xe),{ref:h(r),"aria-describedby":h(n).open.value?h(n).contentId:void 0,"data-state":h(n).stateAttribute.value,as:c.as,"as-child":t.asChild,onPointermove:d[0]||(d[0]=f=>{f.pointerType!=="touch"&&!i.value&&!h(o).isPointerInTransitRef.value&&(h(n).onTriggerEnter(),i.value=!0)}),onPointerleave:d[1]||(d[1]=f=>{h(n).onTriggerLeave(),i.value=!1}),onPointerdown:u,onFocus:d[2]||(d[2]=()=>{a.value||h(n).onOpen()}),onBlur:d[3]||(d[3]=f=>h(n).onClose()),onClick:d[4]||(d[4]=()=>{h(n).disableClosingTrigger.value||h(n).onClose()})},{default:T(()=>[F(c.$slots,"default")]),_:3},8,["aria-describedby","data-state","as","as-child"])]),_:3}))}}),hh=A({__name:"TooltipContentImpl",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{default:0},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},arrowPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=Za(),{forwardRef:s}=le(),a=Jf(),i=G(()=>{var c;return(c=a.default)==null?void 0:c.call(a)}),l=G(()=>{var c;if(n.ariaLabel)return n.ariaLabel;let d="";function f(g){typeof g.children=="string"?d+=g.children:Array.isArray(g.children)&&g.children.forEach(_=>f(_))}return(c=i.value)==null||c.forEach(g=>f(g)),d}),u=G(()=>{const{ariaLabel:c,...d}=n;return d});return dt(()=>{ya(window,"scroll",c=>{const d=c.target;d!=null&&d.contains(r.trigger.value)&&r.onClose()}),ya(window,ph,r.onClose)}),(c,d)=>(k(),N(h(ks),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:d[0]||(d[0]=f=>o("escapeKeyDown",f)),onPointerDownOutside:d[1]||(d[1]=f=>{var g;h(r).disableClosingTrigger.value&&(g=h(r).trigger.value)!=null&&g.contains(f.target)&&f.preventDefault(),o("pointerDownOutside",f)}),onFocusOutside:d[2]||(d[2]=Cn(()=>{},["prevent"])),onDismiss:d[3]||(d[3]=f=>h(r).onClose())},{default:T(()=>[$(h(pu),ae({ref:h(s),"data-state":h(r).stateAttribute.value},{...c.$attrs,...u.value},{style:{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:T(()=>[F(c.$slots,"default"),$(h(hu),{id:h(r).contentId,role:"tooltip"},{default:T(()=>[ut($e(l.value),1)]),_:1},8,["id"])]),_:3},16,["data-state","style"])]),_:3}))}}),G1=A({__name:"TooltipContentHoverable",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},setup(e){const t=Nt(e),{forwardRef:n,currentElement:o}=le(),{trigger:r,onClose:s}=Za(),a=wu(),i=V(null);function l(){i.value=null,a.onPointerInTransitChange(!1)}function u(c,d){const f=c.currentTarget,g={x:c.clientX,y:c.clientY},_=N1(g,f.getBoundingClientRect()),y=R1(g,_),C=$1(d.getBoundingClientRect()),v=B1([...y,...C]);i.value=v,a.onPointerInTransitChange(!0)}return bt(c=>{if(r.value&&o.value){const d=g=>u(g,o.value),f=g=>u(g,r.value);r.value.addEventListener("pointerleave",d),o.value.addEventListener("pointerleave",f),c(()=>{var g,_;(g=r.value)==null||g.removeEventListener("pointerleave",d),(_=o.value)==null||_.removeEventListener("pointerleave",f)})}}),bt(c=>{if(i.value){const d=f=>{var g,_;if(!i.value)return;const y=f.target,C={x:f.clientX,y:f.clientY},v=((g=r.value)==null?void 0:g.contains(y))||((_=o.value)==null?void 0:_.contains(y)),b=!F1(C,i.value);v?l():b&&(l(),s())};document.addEventListener("pointermove",d),c(()=>document.removeEventListener("pointermove",d))}}),(c,d)=>(k(),N(hh,ae({ref:h(n)},h(t)),{default:T(()=>[F(c.$slots,"default")]),_:3},16))}}),K1=A({__name:"TooltipContent",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=Za(),s=pt(n,o),{forwardRef:a}=le();return(i,l)=>h(r).open.value?(k(),N(Un(h(r).disableHoverableContent.value?hh:G1),ae({key:0,ref:h(a)},h(s)),{default:T(()=>[F(i.$slots,"default")]),_:3},16)):je("",!0)}}),z1=A({__name:"TooltipPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,o)=>(k(),N(h(za),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),Po=A({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;return(n,o)=>(k(),N(h(xe),{as:n.as,"as-child":n.asChild,class:Ye(h(Pe)(h(q1)({variant:n.variant,size:n.size}),t.class))},{default:T(()=>[F(n.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),q1=ql("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}});/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var Ks={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const X1=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Pt=(e,t)=>({size:n,strokeWidth:o=2,absoluteStrokeWidth:r,color:s,class:a,...i},{attrs:l,slots:u})=>Tn("svg",{...Ks,width:n||Ks.width,height:n||Ks.height,stroke:s||Ks.stroke,"stroke-width":r?Number(o)*24/Number(n):o,...l,class:["lucide",`lucide-${X1(e)}`],...i},[...t.map(c=>Tn(...c)),...u.default?[u.default()]:[]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const yd=Pt("AudioWaveformIcon",[["path",{d:"M2 13a2 2 0 0 0 2-2V7a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0V4a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0v-4a2 2 0 0 1 2-2",key:"57tc96"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Z1=Pt("BanIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const J1=Pt("BellRingIcon",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8",key:"tap9e0"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6",key:"5bb3ad"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Q1=Pt("BellIcon",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const eE=Pt("CheckIcon",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const tE=Pt("ChevronDownIcon",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const mh=Pt("ChevronsLeftIcon",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const nE=Pt("CircleOffIcon",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",key:"1pfsoa"}],["path",{d:"M19.08 19.08A10 10 0 1 1 4.92 4.92",key:"1ablyi"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const oE=Pt("GaugeIcon",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const rE=Pt("LogInIcon",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const sE=Pt("LogOutIcon",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const aE=Pt("MoonIcon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const iE=Pt("RectangleEllipsisIcon",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M7 12h.01",key:"eqddd0"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const lE=Pt("StickyNoteIcon",[["path",{d:"M16 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8Z",key:"qazsjp"}],["path",{d:"M15 3v4a2 2 0 0 0 2 2h4",key:"40519r"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const uE=Pt("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** + * @license lucide-vue-next v0.360.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const cE=Pt("UserIcon",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),dE=A({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=pt(e,t);return(s,a)=>(k(),N(h(H1),Ke(Ze(h(r))),{default:T(()=>[F(s.$slots,"default")]),_:3},16))}}),fE=A({inheritAttrs:!1,__name:"TooltipContent",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=G(()=>{const{class:a,...i}=n;return i}),s=pt(r,o);return(a,i)=>(k(),N(h(z1),null,{default:T(()=>[$(h(K1),ae({...h(s),...a.$attrs},{class:h(Pe)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n.class)}),{default:T(()=>[F(a.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),pE=A({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(k(),N(h(j1),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),hE=A({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean}},setup(e){const t=e;return(n,o)=>(k(),N(h(U1),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}});var Et=(e=>(e[e.TOP=0]="TOP",e[e.LEFT_TOP=1]="LEFT_TOP",e[e.BOTTOM=2]="BOTTOM",e[e.LEFT_BOTTOM=3]="LEFT_BOTTOM",e))(Et||{});const mE=A({name:"NavigationRouterLink",props:{external:{type:Boolean},link:{type:String}}}),gE=["href"];function vE(e,t,n,o,r,s){const a=Q("RouterLink");return e.external?(k(),pe("a",{key:0,href:e.link,target:"_blank"},[F(e.$slots,"default")],8,gE)):(k(),N(a,{key:1,to:e.link},{default:T(()=>[F(e.$slots,"default")]),_:3},8,["to"]))}const Eu=Xt(mE,[["render",vE]]),Cu=A({__name:"DropdownMenu",props:{defaultOpen:{type:Boolean},open:{type:Boolean},dir:{},modal:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=pt(e,t);return(s,a)=>(k(),N(h(Dw),Ke(Ze(h(r))),{default:T(()=>[F(s.$slots,"default")]),_:3},16))}}),xu=A({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const n=Nt(e);return(o,r)=>(k(),N(h(Lw),ae({class:"outline-none"},h(n)),{default:T(()=>[F(o.$slots,"default")]),_:3},16))}}),Tu=A({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=G(()=>{const{class:a,...i}=n;return i}),s=pt(r,o);return(a,i)=>(k(),N(h(vu),null,{default:T(()=>[$(h(Iw),ae(h(s),{class:h(Pe)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n.class)}),{default:T(()=>[F(a.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),gh=A({__name:"DropdownMenuGroup",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(k(),N(h(Nw),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),vh=A({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(e){const t=e,n=G(()=>{const{class:r,...s}=t;return s}),o=Nt(n);return(r,s)=>(k(),N(h(Aw),ae(h(o),{class:h(Pe)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r.inset&&"pl-8",t.class)}),{default:T(()=>[F(r.$slots,"default")]),_:3},16,["class"]))}});function _E(e,t){return k(),pe("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[we("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor"})])}function yE(e,t){return k(),pe("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[we("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:"currentColor"})])}function _h(e,t){return k(),pe("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[we("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor"})])}function bE(e,t){return k(),pe("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[we("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:"currentColor"})])}function wE(e,t){return k(),pe("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[we("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:"currentColor"})])}const yh=A({__name:"DropdownMenuShortcut",props:{class:{}},setup(e){const t=e;return(n,o)=>(k(),pe("span",{class:Ye(h(Pe)("ml-auto text-xs tracking-widest opacity-60",t.class))},[F(n.$slots,"default")],2))}}),bh=A({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=G(()=>{const{class:o,...r}=t;return r});return(o,r)=>(k(),N(h(Rw),ae(n.value,{class:h(Pe)("-mx-1 my-1 h-px bg-muted",t.class)}),null,16,["class"]))}}),wh=A({__name:"DropdownMenuLabel",props:{asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(e){const t=e,n=G(()=>{const{class:r,...s}=t;return s}),o=Nt(n);return(r,s)=>(k(),N(h($w),ae(h(o),{class:h(Pe)("px-2 py-1.5 text-sm font-semibold",r.inset&&"pl-8",t.class)}),{default:T(()=>[F(r.$slots,"default")]),_:3},16,["class"]))}}),Eh=A({__name:"DropdownMenuSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=pt(e,t);return(s,a)=>(k(),N(h(Fw),Ke(Ze(h(r))),{default:T(()=>[F(s.$slots,"default")]),_:3},16))}}),Ch=A({__name:"DropdownMenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=G(()=>{const{class:r,...s}=t;return s}),o=Nt(n);return(r,s)=>(k(),N(h(Ww),ae(h(o),{class:h(Pe)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t.class)}),{default:T(()=>[F(r.$slots,"default"),$(h(bE),{class:"ml-auto h-4 w-4"})]),_:3},16,["class"]))}}),xh=A({__name:"DropdownMenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=G(()=>{const{class:a,...i}=n;return i}),s=pt(r,o);return(a,i)=>(k(),N(h(Bw),ae(h(s),{class:h(Pe)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n.class)}),{default:T(()=>[F(a.$slots,"default")]),_:3},16,["class"]))}}),EE=A({name:"NavigationOpened",computed:{NavigationPosition(){return Et}},components:{NavigationRouterLink:Eu,ChevronsLeft:mh,Button:Po,Tooltip:dE,TooltipContent:fE,TooltipProvider:hE,TooltipTrigger:pE,DropdownMenu:Cu,DropdownMenuContent:Tu,DropdownMenuGroup:gh,DropdownMenuItem:vh,DropdownMenuLabel:wh,DropdownMenuPortal:vu,DropdownMenuSeparator:bh,DropdownMenuShortcut:yh,DropdownMenuSub:Eh,DropdownMenuSubContent:xh,DropdownMenuSubTrigger:Ch,DropdownMenuTrigger:xu},props:{navigator:{type:Object}}}),CE={key:0},xE={key:0,class:"ml-auto text-muted-foreground"},TE={key:0,class:"ml-auto text-muted-foreground"},OE={class:"ml-2 max-w-52 text-wrap"},SE={key:0,class:"ml-2 rounded-lg bg-primary px-2 mt-0.5 text-[0.625rem] text-primary-foreground"},kE={key:0,class:"ml-auto text-muted-foreground"};function ME(e,t,n,o,r,s){var b,w,x,S,O,P;const a=Q("Button"),i=Q("TooltipTrigger"),l=Q("TooltipContent"),u=Q("Tooltip"),c=Q("TooltipProvider"),d=Q("DropdownMenuTrigger"),f=Q("DropdownMenuLabel"),g=Q("DropdownMenuSeparator"),_=Q("NavigationRouterLink"),y=Q("DropdownMenuItem"),C=Q("DropdownMenuContent"),v=Q("DropdownMenu");return((b=e.navigator)==null?void 0:b.position)===e.NavigationPosition.LEFT_TOP||((w=e.navigator)==null?void 0:w.position)===e.NavigationPosition.LEFT_BOTTOM?(k(),pe("div",CE,[(x=e.navigator)!=null&&x.children&&e.navigator.children.length>0?(k(),N(v,{key:0},{default:T(()=>[$(d,{class:"cursor-pointer","as-child":""},{default:T(()=>{var Y;return[$(a,{as:"a",size:"icon",class:"h-12 w-12",variant:e.$route.path===`${(Y=e.navigator)==null?void 0:Y.href}`?"secondary":"ghost"},{default:T(()=>[$(c,null,{default:T(()=>[$(u,{"delay-duration":0},{default:T(()=>[$(i,{asChild:""},{default:T(()=>{var I;return[$(a,{as:"a",size:"icon",class:"h-12 w-12",variant:e.$route.path===`${(I=e.navigator)==null?void 0:I.href}`?"secondary":"ghost"},{default:T(()=>{var R;return[(k(),N(Un((R=e.navigator)==null?void 0:R.icon)))]}),_:1},8,["variant"])]}),_:1}),$(l,{side:"right",class:"flex items-center gap-4"},{default:T(()=>{var I,R,q;return[ut($e(e.$t((I=e.navigator)==null?void 0:I.title))+" ",1),(R=e.navigator)!=null&&R.label?(k(),pe("span",xE,$e((q=e.navigator)==null?void 0:q.label),1)):je("",!0)]}),_:1})]),_:1})]),_:1})]),_:1},8,["variant"])]}),_:1}),$(C,{side:"right",align:"start"},{default:T(()=>{var Y;return[$(f,null,{default:T(()=>{var I,R,q;return[ut($e(e.$t((I=e.navigator)==null?void 0:I.title))+" ",1),(R=e.navigator)!=null&&R.label?(k(),pe("span",TE,"("+$e((q=e.navigator)==null?void 0:q.label)+")",1)):je("",!0)]}),_:1}),$(g),(k(!0),pe(He,null,jo((Y=e.navigator)==null?void 0:Y.children,I=>(k(),N(y,{class:"cursor-pointer"},{default:T(()=>[$(_,{external:I==null?void 0:I.external,link:I==null?void 0:I.href},{default:T(()=>[$(a,{as:"a",size:"sm",class:"justify-start text-wrap rounded-none w-full",variant:e.$route.path===`${I==null?void 0:I.href}`?"secondary":"ghost"},{default:T(()=>[(k(),N(Un(I==null?void 0:I.icon))),we("div",OE,$e(e.$t(I==null?void 0:I.title)),1),I!=null&&I.label?(k(),pe("div",SE,$e(I==null?void 0:I.label),1)):je("",!0)]),_:2},1032,["variant"])]),_:2},1032,["external","link"])]),_:2},1024))),256))]}),_:1})]),_:1})):(k(),N(_,{key:1,external:(S=e.navigator)==null?void 0:S.external,link:(O=e.navigator)==null?void 0:O.href,class:Ye(`${((P=e.navigator)==null?void 0:P.position)===e.NavigationPosition.LEFT_BOTTOM?"absolute bottom-0 left-0 right-0":""}`)},{default:T(()=>[$(c,null,{default:T(()=>[$(u,{"delay-duration":0},{default:T(()=>[$(i,{asChild:""},{default:T(()=>{var Y;return[$(a,{as:"a",size:"icon",class:"h-12 w-12",variant:e.$route.path===`${(Y=e.navigator)==null?void 0:Y.href}`?"secondary":"ghost"},{default:T(()=>{var I;return[(k(),N(Un((I=e.navigator)==null?void 0:I.icon)))]}),_:1},8,["variant"])]}),_:1}),$(l,{side:"right",class:"flex items-center gap-4"},{default:T(()=>{var Y,I,R;return[ut($e(e.$t((Y=e.navigator)==null?void 0:Y.title))+" ",1),(I=e.navigator)!=null&&I.label?(k(),pe("span",kE,$e((R=e.navigator)==null?void 0:R.label),1)):je("",!0)]}),_:1})]),_:1})]),_:1})]),_:1},8,["external","link","class"]))])):je("",!0)}const PE=Xt(EE,[["render",ME]]),DE=A({__name:"Collapsible",props:{defaultOpen:{type:Boolean},open:{type:Boolean},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["update:open"],setup(e,{emit:t}){const r=pt(e,t);return(s,a)=>(k(),N(h(M0),Ke(Ze(h(r))),{default:T(({open:i})=>[F(s.$slots,"default",{open:i})]),_:3},16))}}),LE=A({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(k(),N(h(P0),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),IE=A({__name:"CollapsibleContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(k(),N(h(L0),ae(t,{class:"overflow-hidden transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down"}),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),AE=A({name:"NavigationClosed",computed:{NavigationPosition(){return Et}},components:{Collapsible:DE,CollapsibleTrigger:LE,CollapsibleContent:IE,NavigationRouterLink:Eu,Button:Po,ChevronDown:tE},props:{navigator:{type:Object}}}),NE={key:0},RE={class:"flex items-center"},$E={class:"ml-2"},FE={key:0,class:"ml-2 rounded-lg bg-primary px-2 mt-0.5 text-[0.625rem] text-primary-foreground"},BE={class:"ml-2"},WE={key:0,class:"ml-2 rounded-lg bg-primary px-2 mt-0.5 text-[0.625rem] text-primary-foreground"},YE={class:"ml-2"},UE={key:0,class:"ml-2 rounded-lg bg-primary px-2 mt-0.5 text-[0.625rem] text-primary-foreground"};function VE(e,t,n,o,r,s){var f,g,_,y,C,v;const a=Q("ChevronDown"),i=Q("Button"),l=Q("CollapsibleTrigger"),u=Q("NavigationRouterLink"),c=Q("CollapsibleContent"),d=Q("Collapsible");return((f=e.navigator)==null?void 0:f.position)===e.NavigationPosition.LEFT_TOP||((g=e.navigator)==null?void 0:g.position)===e.NavigationPosition.LEFT_BOTTOM?(k(),pe("div",NE,[(_=e.navigator)!=null&&_.children&&e.navigator.children.length>0?(k(),N(d,{key:0,modelValue:e.navigator.opened,"onUpdate:modelValue":t[0]||(t[0]=b=>e.navigator.opened=b),class:"cursor-pointer",onClick:t[1]||(t[1]=b=>e.navigator.opened=!e.navigator.opened)},{default:T(()=>[$(l,{"as-child":""},{default:T(()=>{var b;return[$(i,{as:"a",size:"sm",class:"flex items-center justify-between text-wrap rounded-none h-10 w-full border-l border-l-slate-500 px-2",variant:e.$route.path===`${(b=e.navigator)==null?void 0:b.href}`?"secondary":"ghost"},{default:T(()=>{var w,x,S,O,P;return[we("div",RE,[(k(),N(Un((w=e.navigator)==null?void 0:w.icon))),we("div",$E,$e(e.$t((x=e.navigator)==null?void 0:x.title)),1),(S=e.navigator)!=null&&S.label?(k(),pe("div",FE,$e((O=e.navigator)==null?void 0:O.label),1)):je("",!0)]),$(a,{class:Ye(`${(P=e.navigator)!=null&&P.opened?"rotate-180":"rotate-0"}`)},null,8,["class"])]}),_:1},8,["variant"])]}),_:1}),$(c,{class:"space-y-2"},{default:T(()=>{var b;return[(k(!0),pe(He,null,jo((b=e.navigator)==null?void 0:b.children,w=>(k(),N(u,{external:w==null?void 0:w.external,link:w==null?void 0:w.href,class:Ye(`my-1 ml-8 ${(w==null?void 0:w.position)===e.NavigationPosition.LEFT_BOTTOM?"absolute bottom-0 left-0 right-0":""}`)},{default:T(()=>[$(i,{as:"a",size:"sm",class:"justify-start text-wrap rounded-none h-10 w-full border-l border-l-slate-500 px-2",variant:e.$route.path===`${w==null?void 0:w.href}`?"secondary":"ghost"},{default:T(()=>[(k(),N(Un(w==null?void 0:w.icon))),we("div",BE,$e(e.$t(w==null?void 0:w.title)),1),w!=null&&w.label?(k(),pe("div",WE,$e(w==null?void 0:w.label),1)):je("",!0)]),_:2},1032,["variant"])]),_:2},1032,["external","link","class"]))),256))]}),_:1})]),_:1},8,["modelValue"])):(k(),N(u,{key:1,external:(y=e.navigator)==null?void 0:y.external,link:(C=e.navigator)==null?void 0:C.href,class:Ye(`${((v=e.navigator)==null?void 0:v.position)===e.NavigationPosition.LEFT_BOTTOM?"absolute bottom-0 left-0 right-0":""}`)},{default:T(()=>{var b;return[$(i,{as:"a",size:"sm",class:"justify-start text-wrap rounded-none h-10 w-full border-l border-l-slate-500 px-2",variant:e.$route.path===`${(b=e.navigator)==null?void 0:b.href}`?"secondary":"ghost"},{default:T(()=>{var w,x,S,O;return[(k(),N(Un((w=e.navigator)==null?void 0:w.icon))),we("div",YE,$e(e.$t((x=e.navigator)==null?void 0:x.title)),1),(S=e.navigator)!=null&&S.label?(k(),pe("div",UE,$e((O=e.navigator)==null?void 0:O.label),1)):je("",!0)]}),_:1},8,["variant"])]}),_:1},8,["external","link","class"]))])):je("",!0)}const HE=Xt(AE,[["render",VE]]),jE=A({__name:"Avatar",props:{class:{},size:{default:"sm"},shape:{default:"circle"}},setup(e){const t=e;return(n,o)=>(k(),N(h(nw),{class:Ye(h(Pe)(h(zE)({size:n.size,shape:n.shape}),t.class))},{default:T(()=>[F(n.$slots,"default")]),_:3},8,["class"]))}}),GE=A({__name:"AvatarImage",props:{src:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(k(),N(h(rw),ae(t,{class:"h-full w-full object-cover"}),null,16))}}),KE=A({__name:"AvatarFallback",props:{delayMs:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(k(),N(h(sw),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),zE=ql("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden",{variants:{size:{sm:"h-10 w-10 text-xs",base:"h-16 w-16 text-2xl",lg:"h-32 w-32 text-5xl"},shape:{circle:"rounded-full",square:"rounded-md"}}}),qE=A({name:"LayoutSidebar",components:{Avatar:jE,AvatarImage:GE,AvatarFallback:KE,NavigationClosed:HE,NavigationOpened:PE,Button:Po,ChevronsLeft:mh},props:{navigators:{type:Array}},setup(){return{cn:Pe}},data(){return{isCollapsed:!1}},methods:{setIsCollapsed(e){this.isCollapsed=e,this.$emit("changeCollapsed",e)}}}),XE=we("span",{class:"font-medium"},"Shadcn UI Admin",-1),ZE=we("span",{class:"text-xs"},"Vite + Shadcn UI + Vue3",-1),JE=[XE,ZE],QE={class:"bg-background py-2 h-full duration-500 data-[collapsed=true]:py-2 md:border-none space-y-1"},eC={class:"text-center"};function tC(e,t,n,o,r,s){const a=Q("AvatarImage"),i=Q("AvatarFallback"),l=Q("Avatar"),u=Q("NavigationOpened"),c=Q("NavigationClosed"),d=Q("ChevronsLeft"),f=Q("Button");return k(),pe("aside",{class:Ye(e.cn(`fixed left-0 right-0 top-0 z-50 w-full border-r-2 border-r-muted transition-[width] md:bottom-0 md:right-auto md:h-svh ${e.isCollapsed?"md:w-14":"md:w-64"}`))},[we("div",{class:Ye(e.cn("relative flex h-full w-full flex-col"))},[we("div",{class:Ye(e.cn(`flex items-center h-[var(--header-height)] flex-none gap-4 bg-background p-4 pt-3.5 md:px-8 border-b ${e.isCollapsed?"":"gap-2"}`))},[$(l,{class:Ye(e.cn(`${e.isCollapsed?"-ml-6":""}`))},{default:T(()=>[$(a,{alt:"Shadcn UI Admin",src:""}),$(i,null,{default:T(()=>[ut("SUA")]),_:1})]),_:1},8,["class"]),we("div",{class:Ye(e.cn(`flex flex-col items-center truncate ${e.isCollapsed?"invisible w-0":"visible w-auto"}`))},JE,2)],2),we("div",{class:Ye(e.cn(`h-full flex-1 overflow-auto ${e.isCollapsed?"max-h-screen":"max-h-0 py-0 md:max-h-screen"}`))},[we("div",QE,[(k(!0),pe(He,null,jo(e.navigators,g=>(k(),pe("div",eC,[e.isCollapsed?(k(),N(u,{key:0,navigator:g},null,8,["navigator"])):(k(),N(c,{key:1,navigator:g},null,8,["navigator"]))]))),256))])],2),$(f,{variant:"outline",size:"icon",class:"absolute -right-5 top-1/2 hidden rounded-full md:inline-flex",onClick:t[0]||(t[0]=g=>e.setIsCollapsed(!e.isCollapsed))},{default:T(()=>[$(d,{class:Ye(e.cn(`h-5 w-5 ${e.isCollapsed?"rotate-180":""}`))},null,8,["class"])]),_:1})],2)],2)}const nC=Xt(qE,[["render",tC]]),oC=A({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const r=pt(e,t);return(s,a)=>(k(),N(h(r1),Ke(Ze(h(r))),{default:T(()=>[F(s.$slots,"default")]),_:3},16))}}),rC=A({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(k(),N(h(S1),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),sC=A({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=G(()=>{const{class:r,...s}=t;return s}),o=Nt(n);return(r,s)=>(k(),N(h(i1),ae(h(o),{class:h(Pe)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t.class)}),{default:T(()=>[F(r.$slots,"default"),$(h(k1),{"as-child":""},{default:T(()=>[$(h(_E),{class:"w-4 h-4 opacity-50"})]),_:1})]),_:3},16,["class"]))}}),aC=A({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=G(()=>{const{class:a,...i}=n;return i}),s=pt(r,o);return(a,i)=>(k(),N(h(l1),null,{default:T(()=>[$(h(m1),ae({...h(s),...a.$attrs},{class:h(Pe)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",n.class)}),{default:T(()=>[$(h(dC)),$(h(x1),{class:Ye(h(Pe)("p-1",a.position==="popper"&&"h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]"))},{default:T(()=>[F(a.$slots,"default")]),_:3},8,["class"]),$(h(fC))]),_:3},16,["class"])]),_:3}))}}),iC=A({__name:"SelectGroup",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=G(()=>{const{class:o,...r}=t;return r});return(o,r)=>(k(),N(h(w1),ae({class:h(Pe)("p-1 w-full",t.class)},n.value),{default:T(()=>[F(o.$slots,"default")]),_:3},16,["class"]))}}),lC={class:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},uC=A({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=G(()=>{const{class:r,...s}=t;return s}),o=Nt(n);return(r,s)=>(k(),N(h(v1),ae(h(o),{class:h(Pe)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t.class)}),{default:T(()=>[we("span",lC,[$(h(_1),null,{default:T(()=>[$(h(yE),{class:"h-4 w-4"})]),_:1})]),$(h(C1),null,{default:T(()=>[F(r.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),cC=A({__name:"SelectLabel",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e;return(n,o)=>(k(),N(h(E1),{class:Ye(h(Pe)("px-2 py-1.5 text-sm font-semibold",t.class))},{default:T(()=>[F(n.$slots,"default")]),_:3},8,["class"]))}}),dC=A({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=G(()=>{const{class:r,...s}=t;return s}),o=Nt(n);return(r,s)=>(k(),N(h(T1),ae(h(o),{class:h(Pe)("flex cursor-default items-center justify-center py-1",t.class)}),{default:T(()=>[F(r.$slots,"default",{},()=>[$(h(wE))])]),_:3},16,["class"]))}}),fC=A({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=G(()=>{const{class:r,...s}=t;return s}),o=Nt(n);return(r,s)=>(k(),N(h(O1),ae(h(o),{class:h(Pe)("flex cursor-default items-center justify-center py-1",t.class)}),{default:T(()=>[F(r.$slots,"default",{},()=>[$(h(_h))])]),_:3},16,["class"]))}});/*! + * shared v9.10.2 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const ba=typeof window<"u",Do=(e,t=!1)=>t?Symbol.for(e):Symbol(e),pC=(e,t,n)=>hC({l:e,k:t,s:n}),hC=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),gt=e=>typeof e=="number"&&isFinite(e),mC=e=>Oh(e)==="[object Date]",Oo=e=>Oh(e)==="[object RegExp]",Ja=e=>Ce(e)&&Object.keys(e).length===0,xt=Object.assign;let bd;const Fn=()=>bd||(bd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wd(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const gC=Object.prototype.hasOwnProperty;function wa(e,t){return gC.call(e,t)}const tt=Array.isArray,Je=e=>typeof e=="function",re=e=>typeof e=="string",ke=e=>typeof e=="boolean",Ue=e=>e!==null&&typeof e=="object",vC=e=>Ue(e)&&Je(e.then)&&Je(e.catch),Th=Object.prototype.toString,Oh=e=>Th.call(e),Ce=e=>{if(!Ue(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},_C=e=>e==null?"":tt(e)||Ce(e)&&e.toString===Th?JSON.stringify(e,null,2):String(e);function yC(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function Ou(e){let t=e;return()=>++t}function bC(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const zs=e=>!Ue(e)||tt(e);function na(e,t){if(zs(e)||zs(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:r}=n.pop();Object.keys(o).forEach(s=>{zs(o[s])||zs(r[s])?r[s]=o[s]:n.push({src:o[s],des:r[s]})})}}/*! + * message-compiler v9.10.2 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */function wC(e,t,n){return{line:e,column:t,offset:n}}function il(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const EC=/\{([0-9a-zA-Z]+)\}/g;function CC(e,...t){return t.length===1&&xC(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(EC,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const Sh=Object.assign,Ed=e=>typeof e=="string",xC=e=>e!==null&&typeof e=="object";function kh(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const ge={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},TC={[ge.EXPECTED_TOKEN]:"Expected token: '{0}'",[ge.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ge.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ge.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ge.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ge.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ge.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ge.EMPTY_PLACEHOLDER]:"Empty placeholder",[ge.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ge.INVALID_LINKED_FORMAT]:"Invalid linked format",[ge.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ge.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ge.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ge.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ge.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ge.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Rr(e,t,n={}){const{domain:o,messages:r,args:s}=n,a=CC((r||TC)[e]||"",...s||[]),i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=o,i}function OC(e){throw e}const In=" ",SC="\r",At=` +`,kC="\u2028",MC="\u2029";function PC(e){const t=e;let n=0,o=1,r=1,s=0;const a=P=>t[P]===SC&&t[P+1]===At,i=P=>t[P]===At,l=P=>t[P]===MC,u=P=>t[P]===kC,c=P=>a(P)||i(P)||l(P)||u(P),d=()=>n,f=()=>o,g=()=>r,_=()=>s,y=P=>a(P)||l(P)||u(P)?At:t[P],C=()=>y(n),v=()=>y(n+s);function b(){return s=0,c(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function w(){return a(n+s)&&s++,s++,t[n+s]}function x(){n=0,o=1,r=1,s=0}function S(P=0){s=P}function O(){const P=n+s;for(;P!==n;)b();s=0}return{index:d,line:f,column:g,peekOffset:_,charAt:y,currentChar:C,currentPeek:v,next:b,peek:w,reset:x,resetPeek:S,skipToPeek:O}}const io=void 0,DC=".",Cd="'",LC="tokenizer";function IC(e,t={}){const n=t.location!==!1,o=PC(e),r=()=>o.index(),s=()=>wC(o.line(),o.column(),o.index()),a=s(),i=r(),l={currentType:14,offset:i,startLoc:a,endLoc:a,lastType:14,lastOffset:i,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function d(m,p,E,...M){const D=u();if(p.column+=E,p.offset+=E,c){const U=n?il(D.startLoc,p):null,J=Rr(m,U,{domain:LC,args:M});c(J)}}function f(m,p,E){m.endLoc=s(),m.currentType=p;const M={type:p};return n&&(M.loc=il(m.startLoc,m.endLoc)),E!=null&&(M.value=E),M}const g=m=>f(m,14);function _(m,p){return m.currentChar()===p?(m.next(),p):(d(ge.EXPECTED_TOKEN,s(),0,p),"")}function y(m){let p="";for(;m.currentPeek()===In||m.currentPeek()===At;)p+=m.currentPeek(),m.peek();return p}function C(m){const p=y(m);return m.skipToPeek(),p}function v(m){if(m===io)return!1;const p=m.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function b(m){if(m===io)return!1;const p=m.charCodeAt(0);return p>=48&&p<=57}function w(m,p){const{currentType:E}=p;if(E!==2)return!1;y(m);const M=v(m.currentPeek());return m.resetPeek(),M}function x(m,p){const{currentType:E}=p;if(E!==2)return!1;y(m);const M=m.currentPeek()==="-"?m.peek():m.currentPeek(),D=b(M);return m.resetPeek(),D}function S(m,p){const{currentType:E}=p;if(E!==2)return!1;y(m);const M=m.currentPeek()===Cd;return m.resetPeek(),M}function O(m,p){const{currentType:E}=p;if(E!==8)return!1;y(m);const M=m.currentPeek()===".";return m.resetPeek(),M}function P(m,p){const{currentType:E}=p;if(E!==9)return!1;y(m);const M=v(m.currentPeek());return m.resetPeek(),M}function Y(m,p){const{currentType:E}=p;if(!(E===8||E===12))return!1;y(m);const M=m.currentPeek()===":";return m.resetPeek(),M}function I(m,p){const{currentType:E}=p;if(E!==10)return!1;const M=()=>{const U=m.currentPeek();return U==="{"?v(m.peek()):U==="@"||U==="%"||U==="|"||U===":"||U==="."||U===In||!U?!1:U===At?(m.peek(),M()):v(U)},D=M();return m.resetPeek(),D}function R(m){y(m);const p=m.currentPeek()==="|";return m.resetPeek(),p}function q(m){const p=y(m),E=m.currentPeek()==="%"&&m.peek()==="{";return m.resetPeek(),{isModulo:E,hasSpace:p.length>0}}function H(m,p=!0){const E=(D=!1,U="",J=!1)=>{const K=m.currentPeek();return K==="{"?U==="%"?!1:D:K==="@"||!K?U==="%"?!0:D:K==="%"?(m.peek(),E(D,"%",!0)):K==="|"?U==="%"||J?!0:!(U===In||U===At):K===In?(m.peek(),E(!0,In,J)):K===At?(m.peek(),E(!0,At,J)):!0},M=E();return p&&m.resetPeek(),M}function _e(m,p){const E=m.currentChar();return E===io?io:p(E)?(m.next(),E):null}function ye(m){return _e(m,E=>{const M=E.charCodeAt(0);return M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===95||M===36})}function Ae(m){return _e(m,E=>{const M=E.charCodeAt(0);return M>=48&&M<=57})}function de(m){return _e(m,E=>{const M=E.charCodeAt(0);return M>=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102})}function he(m){let p="",E="";for(;p=Ae(m);)E+=p;return E}function be(m){C(m);const p=m.currentChar();return p!=="%"&&d(ge.EXPECTED_TOKEN,s(),0,p),m.next(),"%"}function rt(m){let p="";for(;;){const E=m.currentChar();if(E==="{"||E==="}"||E==="@"||E==="|"||!E)break;if(E==="%")if(H(m))p+=E,m.next();else break;else if(E===In||E===At)if(H(m))p+=E,m.next();else{if(R(m))break;p+=E,m.next()}else p+=E,m.next()}return p}function mt(m){C(m);let p="",E="";for(;p=ye(m);)E+=p;return m.currentChar()===io&&d(ge.UNTERMINATED_CLOSING_BRACE,s(),0),E}function Ne(m){C(m);let p="";return m.currentChar()==="-"?(m.next(),p+=`-${he(m)}`):p+=he(m),m.currentChar()===io&&d(ge.UNTERMINATED_CLOSING_BRACE,s(),0),p}function Ge(m){C(m),_(m,"'");let p="",E="";const M=U=>U!==Cd&&U!==At;for(;p=_e(m,M);)p==="\\"?E+=Ot(m):E+=p;const D=m.currentChar();return D===At||D===io?(d(ge.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),D===At&&(m.next(),_(m,"'")),E):(_(m,"'"),E)}function Ot(m){const p=m.currentChar();switch(p){case"\\":case"'":return m.next(),`\\${p}`;case"u":return Dt(m,p,4);case"U":return Dt(m,p,6);default:return d(ge.UNKNOWN_ESCAPE_SEQUENCE,s(),0,p),""}}function Dt(m,p,E){_(m,p);let M="";for(let D=0;DD!=="{"&&D!=="}"&&D!==In&&D!==At;for(;p=_e(m,M);)E+=p;return E}function st(m){let p="",E="";for(;p=ye(m);)E+=p;return E}function B(m){const p=(E=!1,M)=>{const D=m.currentChar();return D==="{"||D==="%"||D==="@"||D==="|"||D==="("||D===")"||!D||D===In?M:D===At||D===DC?(M+=D,m.next(),p(E,M)):(M+=D,m.next(),p(!0,M))};return p(!1,"")}function Z(m){C(m);const p=_(m,"|");return C(m),p}function X(m,p){let E=null;switch(m.currentChar()){case"{":return p.braceNest>=1&&d(ge.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),m.next(),E=f(p,2,"{"),C(m),p.braceNest++,E;case"}":return p.braceNest>0&&p.currentType===2&&d(ge.EMPTY_PLACEHOLDER,s(),0),m.next(),E=f(p,3,"}"),p.braceNest--,p.braceNest>0&&C(m),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),E;case"@":return p.braceNest>0&&d(ge.UNTERMINATED_CLOSING_BRACE,s(),0),E=te(m,p)||g(p),p.braceNest=0,E;default:{let D=!0,U=!0,J=!0;if(R(m))return p.braceNest>0&&d(ge.UNTERMINATED_CLOSING_BRACE,s(),0),E=f(p,1,Z(m)),p.braceNest=0,p.inLinked=!1,E;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return d(ge.UNTERMINATED_CLOSING_BRACE,s(),0),p.braceNest=0,Te(m,p);if(D=w(m,p))return E=f(p,5,mt(m)),C(m),E;if(U=x(m,p))return E=f(p,6,Ne(m)),C(m),E;if(J=S(m,p))return E=f(p,7,Ge(m)),C(m),E;if(!D&&!U&&!J)return E=f(p,13,Lt(m)),d(ge.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,E.value),C(m),E;break}}return E}function te(m,p){const{currentType:E}=p;let M=null;const D=m.currentChar();switch((E===8||E===9||E===12||E===10)&&(D===At||D===In)&&d(ge.INVALID_LINKED_FORMAT,s(),0),D){case"@":return m.next(),M=f(p,8,"@"),p.inLinked=!0,M;case".":return C(m),m.next(),f(p,9,".");case":":return C(m),m.next(),f(p,10,":");default:return R(m)?(M=f(p,1,Z(m)),p.braceNest=0,p.inLinked=!1,M):O(m,p)||Y(m,p)?(C(m),te(m,p)):P(m,p)?(C(m),f(p,12,st(m))):I(m,p)?(C(m),D==="{"?X(m,p)||M:f(p,11,B(m))):(E===8&&d(ge.INVALID_LINKED_FORMAT,s(),0),p.braceNest=0,p.inLinked=!1,Te(m,p))}}function Te(m,p){let E={type:14};if(p.braceNest>0)return X(m,p)||g(p);if(p.inLinked)return te(m,p)||g(p);switch(m.currentChar()){case"{":return X(m,p)||g(p);case"}":return d(ge.UNBALANCED_CLOSING_BRACE,s(),0),m.next(),f(p,3,"}");case"@":return te(m,p)||g(p);default:{if(R(m))return E=f(p,1,Z(m)),p.braceNest=0,p.inLinked=!1,E;const{isModulo:D,hasSpace:U}=q(m);if(D)return U?f(p,0,rt(m)):f(p,4,be(m));if(H(m))return f(p,0,rt(m));break}}return E}function De(){const{currentType:m,offset:p,startLoc:E,endLoc:M}=l;return l.lastType=m,l.lastOffset=p,l.lastStartLoc=E,l.lastEndLoc=M,l.offset=r(),l.startLoc=s(),o.currentChar()===io?f(l,14):Te(o,l)}return{nextToken:De,currentOffset:r,currentPosition:s,context:u}}const AC="parser",NC=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function RC(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function $C(e={}){const t=e.location!==!1,{onError:n}=e;function o(v,b,w,x,...S){const O=v.currentPosition();if(O.offset+=x,O.column+=x,n){const P=t?il(w,O):null,Y=Rr(b,P,{domain:AC,args:S});n(Y)}}function r(v,b,w){const x={type:v};return t&&(x.start=b,x.end=b,x.loc={start:w,end:w}),x}function s(v,b,w,x){x&&(v.type=x),t&&(v.end=b,v.loc&&(v.loc.end=w))}function a(v,b){const w=v.context(),x=r(3,w.offset,w.startLoc);return x.value=b,s(x,v.currentOffset(),v.currentPosition()),x}function i(v,b){const w=v.context(),{lastOffset:x,lastStartLoc:S}=w,O=r(5,x,S);return O.index=parseInt(b,10),v.nextToken(),s(O,v.currentOffset(),v.currentPosition()),O}function l(v,b){const w=v.context(),{lastOffset:x,lastStartLoc:S}=w,O=r(4,x,S);return O.key=b,v.nextToken(),s(O,v.currentOffset(),v.currentPosition()),O}function u(v,b){const w=v.context(),{lastOffset:x,lastStartLoc:S}=w,O=r(9,x,S);return O.value=b.replace(NC,RC),v.nextToken(),s(O,v.currentOffset(),v.currentPosition()),O}function c(v){const b=v.nextToken(),w=v.context(),{lastOffset:x,lastStartLoc:S}=w,O=r(8,x,S);return b.type!==12?(o(v,ge.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),O.value="",s(O,x,S),{nextConsumeToken:b,node:O}):(b.value==null&&o(v,ge.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,_n(b)),O.value=b.value||"",s(O,v.currentOffset(),v.currentPosition()),{node:O})}function d(v,b){const w=v.context(),x=r(7,w.offset,w.startLoc);return x.value=b,s(x,v.currentOffset(),v.currentPosition()),x}function f(v){const b=v.context(),w=r(6,b.offset,b.startLoc);let x=v.nextToken();if(x.type===9){const S=c(v);w.modifier=S.node,x=S.nextConsumeToken||v.nextToken()}switch(x.type!==10&&o(v,ge.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,_n(x)),x=v.nextToken(),x.type===2&&(x=v.nextToken()),x.type){case 11:x.value==null&&o(v,ge.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,_n(x)),w.key=d(v,x.value||"");break;case 5:x.value==null&&o(v,ge.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,_n(x)),w.key=l(v,x.value||"");break;case 6:x.value==null&&o(v,ge.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,_n(x)),w.key=i(v,x.value||"");break;case 7:x.value==null&&o(v,ge.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,_n(x)),w.key=u(v,x.value||"");break;default:{o(v,ge.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const S=v.context(),O=r(7,S.offset,S.startLoc);return O.value="",s(O,S.offset,S.startLoc),w.key=O,s(w,S.offset,S.startLoc),{nextConsumeToken:x,node:w}}}return s(w,v.currentOffset(),v.currentPosition()),{node:w}}function g(v){const b=v.context(),w=b.currentType===1?v.currentOffset():b.offset,x=b.currentType===1?b.endLoc:b.startLoc,S=r(2,w,x);S.items=[];let O=null;do{const I=O||v.nextToken();switch(O=null,I.type){case 0:I.value==null&&o(v,ge.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,_n(I)),S.items.push(a(v,I.value||""));break;case 6:I.value==null&&o(v,ge.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,_n(I)),S.items.push(i(v,I.value||""));break;case 5:I.value==null&&o(v,ge.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,_n(I)),S.items.push(l(v,I.value||""));break;case 7:I.value==null&&o(v,ge.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,_n(I)),S.items.push(u(v,I.value||""));break;case 8:{const R=f(v);S.items.push(R.node),O=R.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const P=b.currentType===1?b.lastOffset:v.currentOffset(),Y=b.currentType===1?b.lastEndLoc:v.currentPosition();return s(S,P,Y),S}function _(v,b,w,x){const S=v.context();let O=x.items.length===0;const P=r(1,b,w);P.cases=[],P.cases.push(x);do{const Y=g(v);O||(O=Y.items.length===0),P.cases.push(Y)}while(S.currentType!==14);return O&&o(v,ge.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),s(P,v.currentOffset(),v.currentPosition()),P}function y(v){const b=v.context(),{offset:w,startLoc:x}=b,S=g(v);return b.currentType===14?S:_(v,w,x,S)}function C(v){const b=IC(v,Sh({},e)),w=b.context(),x=r(0,w.offset,w.startLoc);return t&&x.loc&&(x.loc.source=v),x.body=y(b),e.onCacheKey&&(x.cacheKey=e.onCacheKey(v)),w.currentType!==14&&o(b,ge.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,v[w.offset]||""),s(x,b.currentOffset(),b.currentPosition()),x}return{parse:C}}function _n(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function FC(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function xd(e,t){for(let n=0;nTd(n)),e}function Td(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ni;function u(C,v){i.code+=C}function c(C,v=!0){const b=v?r:"";u(s?b+" ".repeat(C):b)}function d(C=!0){const v=++i.indentLevel;C&&c(v)}function f(C=!0){const v=--i.indentLevel;C&&c(v)}function g(){c(i.indentLevel)}return{context:l,push:u,indent:d,deindent:f,newline:g,helper:C=>`_${C}`,needIndent:()=>i.needIndent}}function HC(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),xr(e,t.key),t.modifier?(e.push(", "),xr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function jC(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let s=0;s1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let s=0;s{const n=Ed(t.mode)?t.mode:"normal",o=Ed(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,a=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],l=VC(e,{mode:n,filename:o,sourceMap:r,breakLineCode:s,needIndent:a});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),i.length>0&&(l.push(`const { ${kh(i.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),xr(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:u,map:c}=l.context();return{ast:e,code:u,map:c?c.toJSON():void 0}};function qC(e,t={}){const n=Sh({},t),o=!!n.jit,r=!!n.minify,s=n.optimize==null?!0:n.optimize,i=$C(n).parse(e);return o?(s&&WC(i),r&&ar(i),{ast:i,code:""}):(BC(i,n),zC(i,n))}/*! + * core-base v9.10.2 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */function XC(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Fn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Fn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Fn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Lo=[];Lo[0]={w:[0],i:[3,0],"[":[4],o:[7]};Lo[1]={w:[1],".":[2],"[":[4],o:[7]};Lo[2]={w:[2],i:[3,0],0:[3,0]};Lo[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Lo[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Lo[5]={"'":[4,0],o:8,l:[5,0]};Lo[6]={'"':[4,0],o:8,l:[6,0]};const ZC=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function JC(e){return ZC.test(e)}function QC(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function ex(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function tx(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:JC(t)?QC(t):"*"+t}function nx(e){const t=[];let n=-1,o=0,r=0,s,a,i,l,u,c,d;const f=[];f[0]=()=>{a===void 0?a=i:a+=i},f[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,o=4,f[0]();else{if(r=0,a===void 0||(a=tx(a),a===!1))return!1;f[1]()}};function g(){const _=e[n+1];if(o===5&&_==="'"||o===6&&_==='"')return n++,i="\\"+_,f[0](),!0}for(;o!==null;)if(n++,s=e[n],!(s==="\\"&&g())){if(l=ex(s),d=Lo[o],u=d[l]||d.l||8,u===8||(o=u[0],u[1]!==void 0&&(c=f[u[1]],c&&(i=s,c()===!1))))return;if(o===7)return t}}const Od=new Map;function ox(e,t){return Ue(e)?e[t]:null}function rx(e,t){if(!Ue(e))return null;let n=Od.get(t);if(n||(n=nx(t),n&&Od.set(t,n)),!n)return null;const o=n.length;let r=e,s=0;for(;se,ax=e=>"",ix="text",lx=e=>e.length===0?"":yC(e),ux=_C;function Sd(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function cx(e){const t=gt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(gt(e.named.count)||gt(e.named.n))?gt(e.named.count)?e.named.count:gt(e.named.n)?e.named.n:t:t}function dx(e,t){t.count||(t.count=e),t.n||(t.n=e)}function fx(e={}){const t=e.locale,n=cx(e),o=Ue(e.pluralRules)&&re(t)&&Je(e.pluralRules[t])?e.pluralRules[t]:Sd,r=Ue(e.pluralRules)&&re(t)&&Je(e.pluralRules[t])?Sd:void 0,s=v=>v[o(n,v.length,r)],a=e.list||[],i=v=>a[v],l=e.named||{};gt(e.pluralIndex)&&dx(n,l);const u=v=>l[v];function c(v){const b=Je(e.messages)?e.messages(v):Ue(e.messages)?e.messages[v]:!1;return b||(e.parent?e.parent.message(v):ax)}const d=v=>e.modifiers?e.modifiers[v]:sx,f=Ce(e.processor)&&Je(e.processor.normalize)?e.processor.normalize:lx,g=Ce(e.processor)&&Je(e.processor.interpolate)?e.processor.interpolate:ux,_=Ce(e.processor)&&re(e.processor.type)?e.processor.type:ix,C={list:i,named:u,plural:s,linked:(v,...b)=>{const[w,x]=b;let S="text",O="";b.length===1?Ue(w)?(O=w.modifier||O,S=w.type||S):re(w)&&(O=w||O):b.length===2&&(re(w)&&(O=w||O),re(x)&&(S=x||S));const P=c(v)(C),Y=S==="vnode"&&tt(P)&&O?P[0]:P;return O?d(O)(Y,S):Y},message:c,type:_,interpolate:g,normalize:f,values:xt({},a,l)};return C}let gs=null;function px(e){gs=e}function hx(e,t,n){gs&&gs.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const mx=gx("function:translate");function gx(e){return t=>gs&&gs.emit(e,t)}const vx={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Mh=ge.__EXTEND_POINT__,No=Ou(Mh),ln={INVALID_ARGUMENT:Mh,INVALID_DATE_ARGUMENT:No(),INVALID_ISO_DATE_ARGUMENT:No(),NOT_SUPPORT_NON_STRING_MESSAGE:No(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:No(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:No(),NOT_SUPPORT_LOCALE_TYPE:No(),__EXTEND_POINT__:No()};function En(e){return Rr(e,null,void 0)}function ku(e,t){return t.locale!=null?kd(t.locale):kd(e.locale)}let Pi;function kd(e){if(re(e))return e;if(Je(e)){if(e.resolvedOnce&&Pi!=null)return Pi;if(e.constructor.name==="Function"){const t=e();if(vC(t))throw En(ln.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Pi=t}else throw En(ln.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw En(ln.NOT_SUPPORT_LOCALE_TYPE)}function _x(e,t,n){return[...new Set([n,...tt(t)?t:Ue(t)?Object.keys(t):re(t)?[t]:[n]])]}function Ph(e,t,n){const o=re(n)?n:Tr,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let s=r.__localeChainCache.get(o);if(!s){s=[];let a=[n];for(;tt(a);)a=Md(s,a,t);const i=tt(t)||!Ce(t)?t:t.default?t.default:null;a=re(i)?[i]:i,tt(a)&&Md(s,a,!1),r.__localeChainCache.set(o,s)}return s}function Md(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Ex(){return{upper:(e,t)=>t==="text"&&re(e)?e.toUpperCase():t==="vnode"&&Ue(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&re(e)?e.toLowerCase():t==="vnode"&&Ue(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&re(e)?Dd(e):t==="vnode"&&Ue(e)&&"__v_isVNode"in e?Dd(e.children):e}}let Dh;function Ld(e){Dh=e}let Lh;function Cx(e){Lh=e}let Ih;function xx(e){Ih=e}let Ah=null;const Tx=e=>{Ah=e},Ox=()=>Ah;let Nh=null;const Id=e=>{Nh=e},Sx=()=>Nh;let Ad=0;function kx(e={}){const t=Je(e.onWarn)?e.onWarn:bC,n=re(e.version)?e.version:wx,o=re(e.locale)||Je(e.locale)?e.locale:Tr,r=Je(o)?Tr:o,s=tt(e.fallbackLocale)||Ce(e.fallbackLocale)||re(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=Ce(e.messages)?e.messages:{[r]:{}},i=Ce(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},l=Ce(e.numberFormats)?e.numberFormats:{[r]:{}},u=xt({},e.modifiers||{},Ex()),c=e.pluralRules||{},d=Je(e.missing)?e.missing:null,f=ke(e.missingWarn)||Oo(e.missingWarn)?e.missingWarn:!0,g=ke(e.fallbackWarn)||Oo(e.fallbackWarn)?e.fallbackWarn:!0,_=!!e.fallbackFormat,y=!!e.unresolving,C=Je(e.postTranslation)?e.postTranslation:null,v=Ce(e.processor)?e.processor:null,b=ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter,x=Je(e.messageCompiler)?e.messageCompiler:Dh,S=Je(e.messageResolver)?e.messageResolver:Lh||ox,O=Je(e.localeFallbacker)?e.localeFallbacker:Ih||_x,P=Ue(e.fallbackContext)?e.fallbackContext:void 0,Y=e,I=Ue(Y.__datetimeFormatters)?Y.__datetimeFormatters:new Map,R=Ue(Y.__numberFormatters)?Y.__numberFormatters:new Map,q=Ue(Y.__meta)?Y.__meta:{};Ad++;const H={version:n,cid:Ad,locale:o,fallbackLocale:s,messages:a,modifiers:u,pluralRules:c,missing:d,missingWarn:f,fallbackWarn:g,fallbackFormat:_,unresolving:y,postTranslation:C,processor:v,warnHtmlMessage:b,escapeParameter:w,messageCompiler:x,messageResolver:S,localeFallbacker:O,fallbackContext:P,onWarn:t,__meta:q};return H.datetimeFormats=i,H.numberFormats=l,H.__datetimeFormatters=I,H.__numberFormatters=R,__INTLIFY_PROD_DEVTOOLS__&&hx(H,n,q),H}function Mu(e,t,n,o,r){const{missing:s,onWarn:a}=e;if(s!==null){const i=s(e,n,t,r);return re(i)?i:t}else return t}function jr(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Di(e){return n=>Mx(n,e)}function Mx(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,r=o.c||o.cases;return e.plural(r.reduce((s,a)=>[...s,Nd(e,a)],[]))}else return Nd(e,n)}function Nd(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((r,s)=>[...r,ll(e,s)],[]);return e.normalize(o)}}function ll(e,t){const n=t.t||t.type;switch(n){case 3:{const o=t;return o.v||o.value}case 9:{const o=t;return o.v||o.value}case 4:{const o=t;return e.interpolate(e.named(o.k||o.key))}case 5:{const o=t;return e.interpolate(e.list(o.i!=null?o.i:o.index))}case 6:{const o=t,r=o.m||o.modifier;return e.linked(ll(e,o.k||o.key),r?ll(e,r):void 0,e.type)}case 7:{const o=t;return o.v||o.value}case 8:{const o=t;return o.v||o.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Rh=e=>e;let lr=Object.create(null);const Or=e=>Ue(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function $h(e,t={}){let n=!1;const o=t.onError||OC;return t.onError=r=>{n=!0,o(r)},{...qC(e,t),detectError:n}}const Px=(e,t)=>{if(!re(e))throw En(ln.NOT_SUPPORT_NON_STRING_MESSAGE);{ke(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Rh)(e),r=lr[o];if(r)return r;const{code:s,detectError:a}=$h(e,t),i=new Function(`return ${s}`)();return a?i:lr[o]=i}};function Dx(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&re(e)){ke(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Rh)(e),r=lr[o];if(r)return r;const{ast:s,detectError:a}=$h(e,{...t,location:!1,jit:!0}),i=Di(s);return a?i:lr[o]=i}else{const n=e.cacheKey;if(n){const o=lr[n];return o||(lr[n]=Di(e))}else return Di(e)}}const Rd=()=>"",Qt=e=>Je(e);function $d(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:s,fallbackLocale:a,messages:i}=e,[l,u]=ul(...t),c=ke(u.missingWarn)?u.missingWarn:e.missingWarn,d=ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,f=ke(u.escapeParameter)?u.escapeParameter:e.escapeParameter,g=!!u.resolvedMessage,_=re(u.default)||ke(u.default)?ke(u.default)?s?l:()=>l:u.default:n?s?l:()=>l:"",y=n||_!=="",C=ku(e,u);f&&Lx(u);let[v,b,w]=g?[l,C,i[C]||{}]:Fh(e,l,C,a,d,c),x=v,S=l;if(!g&&!(re(x)||Or(x)||Qt(x))&&y&&(x=_,S=x),!g&&(!(re(x)||Or(x)||Qt(x))||!re(b)))return r?Qa:l;let O=!1;const P=()=>{O=!0},Y=Qt(x)?x:Bh(e,l,b,x,S,P);if(O)return x;const I=Nx(e,b,w,u),R=fx(I),q=Ix(e,Y,R),H=o?o(q,l):q;if(__INTLIFY_PROD_DEVTOOLS__){const _e={timestamp:Date.now(),key:re(l)?l:Qt(x)?x.key:"",locale:b||(Qt(x)?x.locale:""),format:re(x)?x:Qt(x)?x.source:"",message:H};_e.meta=xt({},e.__meta,Ox()||{}),mx(_e)}return H}function Lx(e){tt(e.list)?e.list=e.list.map(t=>re(t)?wd(t):t):Ue(e.named)&&Object.keys(e.named).forEach(t=>{re(e.named[t])&&(e.named[t]=wd(e.named[t]))})}function Fh(e,t,n,o,r,s){const{messages:a,onWarn:i,messageResolver:l,localeFallbacker:u}=e,c=u(e,o,n);let d={},f,g=null;const _="translate";for(let y=0;yo;return u.locale=n,u.key=t,u}const l=a(o,Ax(e,n,r,o,i,s));return l.locale=n,l.key=t,l.source=o,l}function Ix(e,t,n){return t(n)}function ul(...e){const[t,n,o]=e,r={};if(!re(t)&&!gt(t)&&!Qt(t)&&!Or(t))throw En(ln.INVALID_ARGUMENT);const s=gt(t)?String(t):(Qt(t),t);return gt(n)?r.plural=n:re(n)?r.default=n:Ce(n)&&!Ja(n)?r.named=n:tt(n)&&(r.list=n),gt(o)?r.plural=o:re(o)?r.default=o:Ce(o)&&xt(r,o),[s,r]}function Ax(e,t,n,o,r,s){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw s&&s(a),a},onCacheKey:a=>pC(t,n,a)}}function Nx(e,t,n,o){const{modifiers:r,pluralRules:s,messageResolver:a,fallbackLocale:i,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,f={locale:t,modifiers:r,pluralRules:s,messages:g=>{let _=a(n,g);if(_==null&&c){const[,,y]=Fh(c,g,t,i,l,u);_=a(y,g)}if(re(_)||Or(_)){let y=!1;const v=Bh(e,g,t,_,g,()=>{y=!0});return y?Rd:v}else return Qt(_)?_:Rd}};return e.processor&&(f.processor=e.processor),o.list&&(f.list=o.list),o.named&&(f.named=o.named),gt(o.plural)&&(f.pluralIndex=o.plural),f}function Fd(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:s,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[l,u,c,d]=cl(...t),f=ke(c.missingWarn)?c.missingWarn:e.missingWarn;ke(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const g=!!c.part,_=ku(e,c),y=a(e,r,_);if(!re(l)||l==="")return new Intl.DateTimeFormat(_,d).format(u);let C={},v,b=null;const w="datetime format";for(let O=0;O{Wh.includes(l)?a[l]=n[l]:s[l]=n[l]}),re(o)?s.locale=o:Ce(o)&&(a=o),Ce(r)&&(a=r),[s.key||"",i,s,a]}function Bd(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function Wd(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:s,localeFallbacker:a}=e,{__numberFormatters:i}=e,[l,u,c,d]=dl(...t),f=ke(c.missingWarn)?c.missingWarn:e.missingWarn;ke(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const g=!!c.part,_=ku(e,c),y=a(e,r,_);if(!re(l)||l==="")return new Intl.NumberFormat(_,d).format(u);let C={},v,b=null;const w="number format";for(let O=0;O{Yh.includes(l)?a[l]=n[l]:s[l]=n[l]}),re(o)?s.locale=o:Ce(o)&&(a=o),Ce(r)&&(a=r),[s.key||"",i,s,a]}function Yd(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}XC();/*! + * vue-i18n v9.10.2 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const Rx="9.10.2";function $x(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Fn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Fn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Fn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Fn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Fn().__INTLIFY_PROD_DEVTOOLS__=!1)}const Uh=vx.__EXTEND_POINT__,An=Ou(Uh);An(),An(),An(),An(),An(),An(),An(),An(),An();const Vh=ln.__EXTEND_POINT__,Rt=Ou(Vh),yt={UNEXPECTED_RETURN_TYPE:Vh,INVALID_ARGUMENT:Rt(),MUST_BE_CALL_SETUP_TOP:Rt(),NOT_INSTALLED:Rt(),NOT_AVAILABLE_IN_LEGACY_MODE:Rt(),REQUIRED_VALUE:Rt(),INVALID_VALUE:Rt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Rt(),NOT_INSTALLED_WITH_PROVIDE:Rt(),UNEXPECTED_ERROR:Rt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Rt(),BRIDGE_SUPPORT_VUE_2_ONLY:Rt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Rt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Rt(),__EXTEND_POINT__:Rt()};function wt(e,...t){return Rr(e,null,void 0)}const fl=Do("__translateVNode"),pl=Do("__datetimeParts"),hl=Do("__numberParts"),Hh=Do("__setPluralRules"),jh=Do("__injectWithOption"),ml=Do("__dispose");function vs(e){if(!Ue(e))return e;for(const t in e)if(wa(e,t))if(!t.includes("."))Ue(e[t])&&vs(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,s=!1;for(let a=0;a{if("locale"in i&&"resource"in i){const{locale:l,resource:u}=i;l?(a[l]=a[l]||{},na(u,a[l])):na(u,a)}else re(i)&&na(JSON.parse(i),a)}),r==null&&s)for(const i in a)wa(a,i)&&vs(a[i]);return a}function Gh(e){return e.type}function Kh(e,t,n){let o=Ue(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=ei(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(s=>{e.mergeLocaleMessage(s,o[s])});{if(Ue(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Ue(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Ud(e){return $(Cs,null,e,0)}const Vd="__INTLIFY_META__",Hd=()=>[],Fx=()=>!1;let jd=0;function Gd(e){return(t,n,o,r)=>e(n,o,Kt()||void 0,r)}const Bx=()=>{const e=Kt();let t=null;return e&&(t=Gh(e)[Vd])?{[Vd]:t}:null};function Pu(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,s=e.flatJson,a=ba?V:Mr,i=!!e.translateExistCompatible;let l=ke(e.inheritLocale)?e.inheritLocale:!0;const u=a(n&&l?n.locale.value:re(e.locale)?e.locale:Tr),c=a(n&&l?n.fallbackLocale.value:re(e.fallbackLocale)||tt(e.fallbackLocale)||Ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),d=a(ei(u.value,e)),f=a(Ce(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),g=a(Ce(e.numberFormats)?e.numberFormats:{[u.value]:{}});let _=n?n.missingWarn:ke(e.missingWarn)||Oo(e.missingWarn)?e.missingWarn:!0,y=n?n.fallbackWarn:ke(e.fallbackWarn)||Oo(e.fallbackWarn)?e.fallbackWarn:!0,C=n?n.fallbackRoot:ke(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,b=Je(e.missing)?e.missing:null,w=Je(e.missing)?Gd(e.missing):null,x=Je(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,O=!!e.escapeParameter;const P=n?n.modifiers:Ce(e.modifiers)?e.modifiers:{};let Y=e.pluralRules||n&&n.pluralRules,I;I=(()=>{r&&Id(null);const L={version:Rx,locale:u.value,fallbackLocale:c.value,messages:d.value,modifiers:P,pluralRules:Y,missing:w===null?void 0:w,missingWarn:_,fallbackWarn:y,fallbackFormat:v,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:S,escapeParameter:O,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=f.value,L.numberFormats=g.value,L.__datetimeFormatters=Ce(I)?I.__datetimeFormatters:void 0,L.__numberFormatters=Ce(I)?I.__numberFormatters:void 0;const W=kx(L);return r&&Id(W),W})(),jr(I,u.value,c.value);function q(){return[u.value,c.value,d.value,f.value,g.value]}const H=G({get:()=>u.value,set:L=>{u.value=L,I.locale=u.value}}),_e=G({get:()=>c.value,set:L=>{c.value=L,I.fallbackLocale=c.value,jr(I,u.value,L)}}),ye=G(()=>d.value),Ae=G(()=>f.value),de=G(()=>g.value);function he(){return Je(x)?x:null}function be(L){x=L,I.postTranslation=L}function rt(){return b}function mt(L){L!==null&&(w=Gd(L)),b=L,I.missing=w}const Ne=(L,W,ue,ve,qe,St)=>{q();let Yt;try{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=n?Sx():void 0),Yt=L(I)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=void 0)}if(ue!=="translate exists"&>(Yt)&&Yt===Qa||ue==="translate exists"&&!Yt){const[As,tr]=W();return n&&C?ve(n):qe(As)}else{if(St(Yt))return Yt;throw wt(yt.UNEXPECTED_RETURN_TYPE)}};function Ge(...L){return Ne(W=>Reflect.apply($d,null,[W,...L]),()=>ul(...L),"translate",W=>Reflect.apply(W.t,W,[...L]),W=>W,W=>re(W))}function Ot(...L){const[W,ue,ve]=L;if(ve&&!Ue(ve))throw wt(yt.INVALID_ARGUMENT);return Ge(W,ue,xt({resolvedMessage:!0},ve||{}))}function Dt(...L){return Ne(W=>Reflect.apply(Fd,null,[W,...L]),()=>cl(...L),"datetime format",W=>Reflect.apply(W.d,W,[...L]),()=>Pd,W=>re(W))}function Lt(...L){return Ne(W=>Reflect.apply(Wd,null,[W,...L]),()=>dl(...L),"number format",W=>Reflect.apply(W.n,W,[...L]),()=>Pd,W=>re(W))}function st(L){return L.map(W=>re(W)||gt(W)||ke(W)?Ud(String(W)):W)}const Z={normalize:st,interpolate:L=>L,type:"vnode"};function X(...L){return Ne(W=>{let ue;const ve=W;try{ve.processor=Z,ue=Reflect.apply($d,null,[ve,...L])}finally{ve.processor=null}return ue},()=>ul(...L),"translate",W=>W[fl](...L),W=>[Ud(W)],W=>tt(W))}function te(...L){return Ne(W=>Reflect.apply(Wd,null,[W,...L]),()=>dl(...L),"number format",W=>W[hl](...L),Hd,W=>re(W)||tt(W))}function Te(...L){return Ne(W=>Reflect.apply(Fd,null,[W,...L]),()=>cl(...L),"datetime format",W=>W[pl](...L),Hd,W=>re(W)||tt(W))}function De(L){Y=L,I.pluralRules=Y}function m(L,W){return Ne(()=>{if(!L)return!1;const ue=re(W)?W:u.value,ve=M(ue),qe=I.messageResolver(ve,L);return i?qe!=null:Or(qe)||Qt(qe)||re(qe)},()=>[L],"translate exists",ue=>Reflect.apply(ue.te,ue,[L,W]),Fx,ue=>ke(ue))}function p(L){let W=null;const ue=Ph(I,c.value,u.value);for(let ve=0;ve{l&&(u.value=L,I.locale=L,jr(I,u.value,c.value))}),Le(n.fallbackLocale,L=>{l&&(c.value=L,I.fallbackLocale=L,jr(I,u.value,c.value))}));const oe={id:jd,locale:H,fallbackLocale:_e,get inheritLocale(){return l},set inheritLocale(L){l=L,L&&n&&(u.value=n.locale.value,c.value=n.fallbackLocale.value,jr(I,u.value,c.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:ye,get modifiers(){return P},get pluralRules(){return Y||{}},get isGlobal(){return r},get missingWarn(){return _},set missingWarn(L){_=L,I.missingWarn=_},get fallbackWarn(){return y},set fallbackWarn(L){y=L,I.fallbackWarn=y},get fallbackRoot(){return C},set fallbackRoot(L){C=L},get fallbackFormat(){return v},set fallbackFormat(L){v=L,I.fallbackFormat=v},get warnHtmlMessage(){return S},set warnHtmlMessage(L){S=L,I.warnHtmlMessage=L},get escapeParameter(){return O},set escapeParameter(L){O=L,I.escapeParameter=L},t:Ge,getLocaleMessage:M,setLocaleMessage:D,mergeLocaleMessage:U,getPostTranslationHandler:he,setPostTranslationHandler:be,getMissingHandler:rt,setMissingHandler:mt,[Hh]:De};return oe.datetimeFormats=Ae,oe.numberFormats=de,oe.rt=Ot,oe.te=m,oe.tm=E,oe.d=Dt,oe.n=Lt,oe.getDateTimeFormat=J,oe.setDateTimeFormat=K,oe.mergeDateTimeFormat=ee,oe.getNumberFormat=j,oe.setNumberFormat=se,oe.mergeNumberFormat=fe,oe[jh]=o,oe[fl]=X,oe[pl]=Te,oe[hl]=te,oe}function Wx(e){const t=re(e.locale)?e.locale:Tr,n=re(e.fallbackLocale)||tt(e.fallbackLocale)||Ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Je(e.missing)?e.missing:void 0,r=ke(e.silentTranslationWarn)||Oo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=ke(e.silentFallbackWarn)||Oo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=ke(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Ce(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=Je(e.postTranslation)?e.postTranslation:void 0,d=re(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,g=ke(e.sync)?e.sync:!0;let _=e.messages;if(Ce(e.sharedMessages)){const O=e.sharedMessages;_=Object.keys(O).reduce((Y,I)=>{const R=Y[I]||(Y[I]={});return xt(R,O[I]),Y},_||{})}const{__i18n:y,__root:C,__injectWithOption:v}=e,b=e.datetimeFormats,w=e.numberFormats,x=e.flatJson,S=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:_,flatJson:x,datetimeFormats:b,numberFormats:w,missing:o,missingWarn:r,fallbackWarn:s,fallbackRoot:a,fallbackFormat:i,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:g,translateExistCompatible:S,__i18n:y,__root:C,__injectWithOption:v}}function gl(e={},t){{const n=Pu(Wx(e)),{__extender:o}=e,r={id:n.id,get locale(){return n.locale.value},set locale(s){n.locale.value=s},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(s){n.fallbackLocale.value=s},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return ke(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=ke(s)?!s:s},get silentFallbackWarn(){return ke(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=ke(s)?!s:s},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(s){n.fallbackFormat=s},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(s){n.setPostTranslationHandler(s)},get sync(){return n.inheritLocale},set sync(s){n.inheritLocale=s},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){n.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(s){n.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[a,i,l]=s,u={};let c=null,d=null;if(!re(a))throw wt(yt.INVALID_ARGUMENT);const f=a;return re(i)?u.locale=i:tt(i)?c=i:Ce(i)&&(d=i),tt(l)?c=l:Ce(l)&&(d=l),Reflect.apply(n.t,n,[f,c||d||{},u])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[a,i,l]=s,u={plural:1};let c=null,d=null;if(!re(a))throw wt(yt.INVALID_ARGUMENT);const f=a;return re(i)?u.locale=i:gt(i)?u.plural=i:tt(i)?c=i:Ce(i)&&(d=i),re(l)?u.locale=l:tt(l)?c=l:Ce(l)&&(d=l),Reflect.apply(n.t,n,[f,c||d||{},u])},te(s,a){return n.te(s,a)},tm(s){return n.tm(s)},getLocaleMessage(s){return n.getLocaleMessage(s)},setLocaleMessage(s,a){n.setLocaleMessage(s,a)},mergeLocaleMessage(s,a){n.mergeLocaleMessage(s,a)},d(...s){return Reflect.apply(n.d,n,[...s])},getDateTimeFormat(s){return n.getDateTimeFormat(s)},setDateTimeFormat(s,a){n.setDateTimeFormat(s,a)},mergeDateTimeFormat(s,a){n.mergeDateTimeFormat(s,a)},n(...s){return Reflect.apply(n.n,n,[...s])},getNumberFormat(s){return n.getNumberFormat(s)},setNumberFormat(s,a){n.setNumberFormat(s,a)},mergeNumberFormat(s,a){n.mergeNumberFormat(s,a)},getChoiceIndex(s,a){return-1}};return r.__extender=o,r}}const Du={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Yx({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===He?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function zh(e){return He}const Ux=A({name:"i18n-t",props:xt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>gt(e)||!isNaN(e)}},Du),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||ti({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=re(e.plural)?+e.plural:e.plural);const i=Yx(t,s),l=r[fl](e.keypath,i,a),u=xt({},o),c=re(e.tag)||Ue(e.tag)?e.tag:zh();return Tn(c,u,l)}}}),Kd=Ux;function Vx(e){return tt(e)&&!re(e[0])}function qh(e,t,n,o){const{slots:r,attrs:s}=t;return()=>{const a={part:!0};let i={};e.locale&&(a.locale=e.locale),re(e.format)?a.key=e.format:Ue(e.format)&&(re(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((f,g)=>n.includes(g)?xt({},f,{[g]:e.format[g]}):f,{}));const l=o(e.value,a,i);let u=[a.key];tt(l)?u=l.map((f,g)=>{const _=r[f.type],y=_?_({[f.type]:f.value,index:g,parts:l}):[f.value];return Vx(y)&&(y[0].key=`${f.type}-${g}`),y}):re(l)&&(u=[l]);const c=xt({},s),d=re(e.tag)||Ue(e.tag)?e.tag:zh();return Tn(d,c,u)}}const Hx=A({name:"i18n-n",props:xt({value:{type:Number,required:!0},format:{type:[String,Object]}},Du),setup(e,t){const n=e.i18n||ti({useScope:"parent",__useComponent:!0});return qh(e,t,Yh,(...o)=>n[hl](...o))}}),zd=Hx,jx=A({name:"i18n-d",props:xt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Du),setup(e,t){const n=e.i18n||ti({useScope:"parent",__useComponent:!0});return qh(e,t,Wh,(...o)=>n[pl](...o))}}),qd=jx;function Gx(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function Kx(e){const t=a=>{const{instance:i,modifiers:l,value:u}=a;if(!i||!i.$)throw wt(yt.UNEXPECTED_ERROR);const c=Gx(e,i.$),d=Xd(u);return[Reflect.apply(c.t,c,[...Zd(d)]),c]};return{created:(a,i)=>{const[l,u]=t(i);ba&&e.global===u&&(a.__i18nWatcher=Le(u.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=u,a.textContent=l},unmounted:a=>{ba&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const l=a.__composer,u=Xd(i);a.textContent=Reflect.apply(l.t,l,[...Zd(u)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function Xd(e){if(re(e))return{path:e};if(Ce(e)){if(!("path"in e))throw wt(yt.REQUIRED_VALUE,"path");return e}else throw wt(yt.INVALID_VALUE)}function Zd(e){const{path:t,locale:n,args:o,choice:r,plural:s}=e,a={},i=o||{};return re(n)&&(a.locale=n),gt(r)&&(a.plural=r),gt(s)&&(a.plural=s),[t,i,a]}function zx(e,t,...n){const o=Ce(n[0])?n[0]:{},r=!!o.useI18nComponentName;(ke(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":Kd.name,"I18nT"].forEach(a=>e.component(a,Kd)),[zd.name,"I18nN"].forEach(a=>e.component(a,zd)),[qd.name,"I18nD"].forEach(a=>e.component(a,qd))),e.directive("t",Kx(t))}function qx(e,t,n){return{beforeCreate(){const o=Kt();if(!o)throw wt(yt.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const s=r.i18n;if(r.__i18n&&(s.__i18n=r.__i18n),s.__root=t,this===this.$root)this.$i18n=Jd(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=gl(s);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Jd(e,r);else{this.$i18n=gl({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&Kh(t,r,r),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,a)=>this.$i18n.te(s,a),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=Kt();if(!o)throw wt(yt.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(o),delete this.$i18n}}}function Jd(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Hh](t.pluralizationRules||e.pluralizationRules);const n=ei(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const Xx=Do("global-vue-i18n");function Zx(e={},t){const n=__VUE_I18N_LEGACY_API__&&ke(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=ke(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,s=new Map,[a,i]=Jx(e,n),l=Do("");function u(f){return s.get(f)||null}function c(f,g){s.set(f,g)}function d(f){s.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(g,..._){if(g.__VUE_I18N_SYMBOL__=l,g.provide(g.__VUE_I18N_SYMBOL__,f),Ce(_[0])){const v=_[0];f.__composerExtend=v.__composerExtend,f.__vueI18nExtend=v.__vueI18nExtend}let y=null;!n&&o&&(y=iT(g,f.global)),__VUE_I18N_FULL_INSTALL__&&zx(g,f,..._),__VUE_I18N_LEGACY_API__&&n&&g.mixin(qx(i,i.__composer,f));const C=g.unmount;g.unmount=()=>{y&&y(),f.dispose(),C()}},get global(){return i},dispose(){a.stop()},__instances:s,__getInstance:u,__setInstance:c,__deleteInstance:d};return f}}function ti(e={}){const t=Kt();if(t==null)throw wt(yt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw wt(yt.NOT_INSTALLED);const n=Qx(t),o=tT(n),r=Gh(t),s=eT(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw wt(yt.NOT_AVAILABLE_IN_LEGACY_MODE);return sT(t,s,o,e)}if(s==="global")return Kh(o,e,r),o;if(s==="parent"){let l=nT(n,t,e.__useComponent);return l==null&&(l=o),l}const a=n;let i=a.__getInstance(t);if(i==null){const l=xt({},e);"__i18n"in r&&(l.__i18n=r.__i18n),o&&(l.__root=o),i=Pu(l),a.__composerExtend&&(i[ml]=a.__composerExtend(i)),rT(a,t,i),a.__setInstance(t,i)}return i}function Jx(e,t,n){const o=kl();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>gl(e)):o.run(()=>Pu(e));if(r==null)throw wt(yt.UNEXPECTED_ERROR);return[o,r]}}function Qx(e){{const t=jt(e.isCE?Xx:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw wt(e.isCE?yt.NOT_INSTALLED_WITH_PROVIDE:yt.UNEXPECTED_ERROR);return t}}function eT(e,t){return Ja(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function tT(e){return e.mode==="composition"?e.global:e.global.__composer}function nT(e,t,n=!1){let o=null;const r=t.root;let s=oT(t,n);for(;s!=null;){const a=e;if(e.mode==="composition")o=a.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const i=a.__getInstance(s);i!=null&&(o=i.__composer,n&&o&&!o[jh]&&(o=null))}if(o!=null||r===s)break;s=s.parent}return o}function oT(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function rT(e,t,n){dt(()=>{},t),So(()=>{const o=n;e.__deleteInstance(t);const r=o[ml];r&&(r(),delete o[ml])},t)}function sT(e,t,n,o={}){const r=t==="local",s=Mr(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw wt(yt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=ke(o.inheritLocale)?o.inheritLocale:!re(o.locale),i=V(!r||a?n.locale.value:re(o.locale)?o.locale:Tr),l=V(!r||a?n.fallbackLocale.value:re(o.fallbackLocale)||tt(o.fallbackLocale)||Ce(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:i.value),u=V(ei(i.value,o)),c=V(Ce(o.datetimeFormats)?o.datetimeFormats:{[i.value]:{}}),d=V(Ce(o.numberFormats)?o.numberFormats:{[i.value]:{}}),f=r?n.missingWarn:ke(o.missingWarn)||Oo(o.missingWarn)?o.missingWarn:!0,g=r?n.fallbackWarn:ke(o.fallbackWarn)||Oo(o.fallbackWarn)?o.fallbackWarn:!0,_=r?n.fallbackRoot:ke(o.fallbackRoot)?o.fallbackRoot:!0,y=!!o.fallbackFormat,C=Je(o.missing)?o.missing:null,v=Je(o.postTranslation)?o.postTranslation:null,b=r?n.warnHtmlMessage:ke(o.warnHtmlMessage)?o.warnHtmlMessage:!0,w=!!o.escapeParameter,x=r?n.modifiers:Ce(o.modifiers)?o.modifiers:{},S=o.pluralRules||r&&n.pluralRules;function O(){return[i.value,l.value,u.value,c.value,d.value]}const P=G({get:()=>s.value?s.value.locale.value:i.value,set:p=>{s.value&&(s.value.locale.value=p),i.value=p}}),Y=G({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:p=>{s.value&&(s.value.fallbackLocale.value=p),l.value=p}}),I=G(()=>s.value?s.value.messages.value:u.value),R=G(()=>c.value),q=G(()=>d.value);function H(){return s.value?s.value.getPostTranslationHandler():v}function _e(p){s.value&&s.value.setPostTranslationHandler(p)}function ye(){return s.value?s.value.getMissingHandler():C}function Ae(p){s.value&&s.value.setMissingHandler(p)}function de(p){return O(),p()}function he(...p){return s.value?de(()=>Reflect.apply(s.value.t,null,[...p])):de(()=>"")}function be(...p){return s.value?Reflect.apply(s.value.rt,null,[...p]):""}function rt(...p){return s.value?de(()=>Reflect.apply(s.value.d,null,[...p])):de(()=>"")}function mt(...p){return s.value?de(()=>Reflect.apply(s.value.n,null,[...p])):de(()=>"")}function Ne(p){return s.value?s.value.tm(p):{}}function Ge(p,E){return s.value?s.value.te(p,E):!1}function Ot(p){return s.value?s.value.getLocaleMessage(p):{}}function Dt(p,E){s.value&&(s.value.setLocaleMessage(p,E),u.value[p]=E)}function Lt(p,E){s.value&&s.value.mergeLocaleMessage(p,E)}function st(p){return s.value?s.value.getDateTimeFormat(p):{}}function B(p,E){s.value&&(s.value.setDateTimeFormat(p,E),c.value[p]=E)}function Z(p,E){s.value&&s.value.mergeDateTimeFormat(p,E)}function X(p){return s.value?s.value.getNumberFormat(p):{}}function te(p,E){s.value&&(s.value.setNumberFormat(p,E),d.value[p]=E)}function Te(p,E){s.value&&s.value.mergeNumberFormat(p,E)}const De={get id(){return s.value?s.value.id:-1},locale:P,fallbackLocale:Y,messages:I,datetimeFormats:R,numberFormats:q,get inheritLocale(){return s.value?s.value.inheritLocale:a},set inheritLocale(p){s.value&&(s.value.inheritLocale=p)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(u.value)},get modifiers(){return s.value?s.value.modifiers:x},get pluralRules(){return s.value?s.value.pluralRules:S},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:f},set missingWarn(p){s.value&&(s.value.missingWarn=p)},get fallbackWarn(){return s.value?s.value.fallbackWarn:g},set fallbackWarn(p){s.value&&(s.value.missingWarn=p)},get fallbackRoot(){return s.value?s.value.fallbackRoot:_},set fallbackRoot(p){s.value&&(s.value.fallbackRoot=p)},get fallbackFormat(){return s.value?s.value.fallbackFormat:y},set fallbackFormat(p){s.value&&(s.value.fallbackFormat=p)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:b},set warnHtmlMessage(p){s.value&&(s.value.warnHtmlMessage=p)},get escapeParameter(){return s.value?s.value.escapeParameter:w},set escapeParameter(p){s.value&&(s.value.escapeParameter=p)},t:he,getPostTranslationHandler:H,setPostTranslationHandler:_e,getMissingHandler:ye,setMissingHandler:Ae,rt:be,d:rt,n:mt,tm:Ne,te:Ge,getLocaleMessage:Ot,setLocaleMessage:Dt,mergeLocaleMessage:Lt,getDateTimeFormat:st,setDateTimeFormat:B,mergeDateTimeFormat:Z,getNumberFormat:X,setNumberFormat:te,mergeNumberFormat:Te};function m(p){p.locale.value=i.value,p.fallbackLocale.value=l.value,Object.keys(u.value).forEach(E=>{p.mergeLocaleMessage(E,u.value[E])}),Object.keys(c.value).forEach(E=>{p.mergeDateTimeFormat(E,c.value[E])}),Object.keys(d.value).forEach(E=>{p.mergeNumberFormat(E,d.value[E])}),p.escapeParameter=w,p.fallbackFormat=y,p.fallbackRoot=_,p.fallbackWarn=g,p.missingWarn=f,p.warnHtmlMessage=b}return Wl(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw wt(yt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const p=s.value=e.proxy.$i18n.__composer;t==="global"?(i.value=p.locale.value,l.value=p.fallbackLocale.value,u.value=p.messages.value,c.value=p.datetimeFormats.value,d.value=p.numberFormats.value):r&&m(p)}),De}const aT=["locale","fallbackLocale","availableLocales"],Qd=["t","rt","d","n","tm","te"];function iT(e,t){const n=Object.create(null);return aT.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s)throw wt(yt.UNEXPECTED_ERROR);const a=ht(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,r,a)}),e.config.globalProperties.$i18n=n,Qd.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s||!s.value)throw wt(yt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,s)}),()=>{delete e.config.globalProperties.$i18n,Qd.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}$x();__INTLIFY_JIT_COMPILATION__?Ld(Dx):Ld(Px);Cx(rx);xx(Ph);if(__INTLIFY_PROD_DEVTOOLS__){const e=Fn();e.__INTLIFY__=!0,px(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const ef="language";class Li{static setString(t,n){localStorage.setItem(t,n)}static getString(t){return localStorage.getItem(t)}static setLanguage(t){this.setString(ef,t)}static getLanguage(){return this.getString(ef)}}//! moment.js +//! version : 2.30.1 +//! authors : Tim Wood, Iskren Chernev, Moment.js contributors +//! license : MIT +//! momentjs.com +var Xh;function ne(){return Xh.apply(null,arguments)}function lT(e){Xh=e}function pn(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Ho(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function Be(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Lu(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(Be(e,t))return!1;return!0}function Ft(e){return e===void 0}function qn(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Ps(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Zh(e,t){var n=[],o,r=e.length;for(o=0;o>>0,o;for(o=0;o0)for(n=0;n=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+o}var Ru=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,qs=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ai={},vr={};function ce(e,t,n,o){var r=o;typeof o=="string"&&(r=function(){return this[o]()}),e&&(vr[e]=r),t&&(vr[t[0]]=function(){return Sn(r.apply(this,arguments),t[1],t[2])}),n&&(vr[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function pT(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function hT(e){var t=e.match(Ru),n,o;for(n=0,o=t.length;n=0&&qs.test(e);)e=e.replace(qs,o),qs.lastIndex=0,n-=1;return e}var mT={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function gT(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(Ru).map(function(o){return o==="MMMM"||o==="MM"||o==="DD"||o==="dddd"?o.slice(1):o}).join(""),this._longDateFormat[e])}var vT="Invalid date";function _T(){return this._invalidDate}var yT="%d",bT=/\d{1,2}/;function wT(e){return this._ordinal.replace("%d",e)}var ET={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function CT(e,t,n,o){var r=this._relativeTime[n];return Mn(r)?r(e,t,n,o):r.replace(/%d/i,e)}function xT(e,t){var n=this._relativeTime[e>0?"future":"past"];return Mn(n)?n(t):n.replace(/%s/i,t)}var of={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function sn(e){return typeof e=="string"?of[e]||of[e.toLowerCase()]:void 0}function $u(e){var t={},n,o;for(o in e)Be(e,o)&&(n=sn(o),n&&(t[n]=e[o]));return t}var TT={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function OT(e){var t=[],n;for(n in e)Be(e,n)&&t.push({unit:n,priority:TT[n]});return t.sort(function(o,r){return o.priority-r.priority}),t}var tm=/\d/,Zt=/\d\d/,nm=/\d{3}/,Fu=/\d{4}/,oi=/[+-]?\d{6}/,ot=/\d\d?/,om=/\d\d\d\d?/,rm=/\d\d\d\d\d\d?/,ri=/\d{1,3}/,Bu=/\d{1,4}/,si=/[+-]?\d{1,6}/,$r=/\d+/,ai=/[+-]?\d+/,ST=/Z|[+-]\d\d:?\d\d/gi,ii=/Z|[+-]\d\d(?::?\d\d)?/gi,kT=/[+-]?\d+(\.\d{1,3})?/,Ls=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Fr=/^[1-9]\d?/,Wu=/^([1-9]\d|\d)/,Ea;Ea={};function ie(e,t,n){Ea[e]=Mn(t)?t:function(o,r){return o&&n?n:t}}function MT(e,t){return Be(Ea,e)?Ea[e](t._strict,t._locale):new RegExp(PT(e))}function PT(e){return Vn(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,o,r,s){return n||o||r||s}))}function Vn(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function en(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Me(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=en(t)),n}var bl={};function ze(e,t){var n,o=t,r;for(typeof e=="string"&&(e=[e]),qn(t)&&(o=function(s,a){a[t]=Me(s)}),r=e.length,n=0;n68?1900:2e3)};var sm=Br("FullYear",!0);function AT(){return li(this.year())}function Br(e,t){return function(n){return n!=null?(am(this,e,n),ne.updateOffset(this,t),this):_s(this,e)}}function _s(e,t){if(!e.isValid())return NaN;var n=e._d,o=e._isUTC;switch(t){case"Milliseconds":return o?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return o?n.getUTCSeconds():n.getSeconds();case"Minutes":return o?n.getUTCMinutes():n.getMinutes();case"Hours":return o?n.getUTCHours():n.getHours();case"Date":return o?n.getUTCDate():n.getDate();case"Day":return o?n.getUTCDay():n.getDay();case"Month":return o?n.getUTCMonth():n.getMonth();case"FullYear":return o?n.getUTCFullYear():n.getFullYear();default:return NaN}}function am(e,t,n){var o,r,s,a,i;if(!(!e.isValid()||isNaN(n))){switch(o=e._d,r=e._isUTC,t){case"Milliseconds":return void(r?o.setUTCMilliseconds(n):o.setMilliseconds(n));case"Seconds":return void(r?o.setUTCSeconds(n):o.setSeconds(n));case"Minutes":return void(r?o.setUTCMinutes(n):o.setMinutes(n));case"Hours":return void(r?o.setUTCHours(n):o.setHours(n));case"Date":return void(r?o.setUTCDate(n):o.setDate(n));case"FullYear":break;default:return}s=n,a=e.month(),i=e.date(),i=i===29&&a===1&&!li(s)?28:i,r?o.setUTCFullYear(s,a,i):o.setFullYear(s,a,i)}}function NT(e){return e=sn(e),Mn(this[e])?this[e]():this}function RT(e,t){if(typeof e=="object"){e=$u(e);var n=OT(e),o,r=n.length;for(o=0;o=0?(i=new Date(e+400,t,n,o,r,s,a),isFinite(i.getFullYear())&&i.setFullYear(e)):i=new Date(e,t,n,o,r,s,a),i}function ys(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ca(e,t,n){var o=7+t-n,r=(7+ys(e,0,o).getUTCDay()-t)%7;return-r+o-1}function fm(e,t,n,o,r){var s=(7+n-o)%7,a=Ca(e,o,r),i=1+7*(t-1)+s+a,l,u;return i<=0?(l=e-1,u=ss(l)+i):i>ss(e)?(l=e+1,u=i-ss(e)):(l=e,u=i),{year:l,dayOfYear:u}}function bs(e,t,n){var o=Ca(e.year(),t,n),r=Math.floor((e.dayOfYear()-o-1)/7)+1,s,a;return r<1?(a=e.year()-1,s=r+Hn(a,t,n)):r>Hn(e.year(),t,n)?(s=r-Hn(e.year(),t,n),a=e.year()+1):(a=e.year(),s=r),{week:s,year:a}}function Hn(e,t,n){var o=Ca(e,t,n),r=Ca(e+1,t,n);return(ss(e)-o+r)/7}ce("w",["ww",2],"wo","week");ce("W",["WW",2],"Wo","isoWeek");ie("w",ot,Fr);ie("ww",ot,Zt);ie("W",ot,Fr);ie("WW",ot,Zt);Is(["w","ww","W","WW"],function(e,t,n,o){t[o.substr(0,1)]=Me(e)});function qT(e){return bs(e,this._week.dow,this._week.doy).week}var XT={dow:0,doy:6};function ZT(){return this._week.dow}function JT(){return this._week.doy}function QT(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function eO(e){var t=bs(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}ce("d",0,"do","day");ce("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});ce("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});ce("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});ce("e",0,0,"weekday");ce("E",0,0,"isoWeekday");ie("d",ot);ie("e",ot);ie("E",ot);ie("dd",function(e,t){return t.weekdaysMinRegex(e)});ie("ddd",function(e,t){return t.weekdaysShortRegex(e)});ie("dddd",function(e,t){return t.weekdaysRegex(e)});Is(["dd","ddd","dddd"],function(e,t,n,o){var r=n._locale.weekdaysParse(e,o,n._strict);r!=null?t.d=r:Se(n).invalidWeekday=e});Is(["d","e","E"],function(e,t,n,o){t[o]=Me(e)});function tO(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function nO(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Uu(e,t){return e.slice(t,7).concat(e.slice(0,t))}var oO="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),pm="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),rO="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),sO=Ls,aO=Ls,iO=Ls;function lO(e,t){var n=pn(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Uu(n,this._week.dow):e?n[e.day()]:n}function uO(e){return e===!0?Uu(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function cO(e){return e===!0?Uu(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function dO(e,t,n){var o,r,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)s=kn([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(s,"").toLocaleLowerCase();return n?t==="dddd"?(r=ft.call(this._weekdaysParse,a),r!==-1?r:null):t==="ddd"?(r=ft.call(this._shortWeekdaysParse,a),r!==-1?r:null):(r=ft.call(this._minWeekdaysParse,a),r!==-1?r:null):t==="dddd"?(r=ft.call(this._weekdaysParse,a),r!==-1||(r=ft.call(this._shortWeekdaysParse,a),r!==-1)?r:(r=ft.call(this._minWeekdaysParse,a),r!==-1?r:null)):t==="ddd"?(r=ft.call(this._shortWeekdaysParse,a),r!==-1||(r=ft.call(this._weekdaysParse,a),r!==-1)?r:(r=ft.call(this._minWeekdaysParse,a),r!==-1?r:null)):(r=ft.call(this._minWeekdaysParse,a),r!==-1||(r=ft.call(this._weekdaysParse,a),r!==-1)?r:(r=ft.call(this._shortWeekdaysParse,a),r!==-1?r:null))}function fO(e,t,n){var o,r,s;if(this._weekdaysParseExact)return dO.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(r=kn([2e3,1]).day(o),n&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[o]=new RegExp(s.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[o].test(e))return o;if(n&&t==="ddd"&&this._shortWeekdaysParse[o].test(e))return o;if(n&&t==="dd"&&this._minWeekdaysParse[o].test(e))return o;if(!n&&this._weekdaysParse[o].test(e))return o}}function pO(e){if(!this.isValid())return e!=null?this:NaN;var t=_s(this,"Day");return e!=null?(e=tO(e,this.localeData()),this.add(e-t,"d")):t}function hO(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function mO(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=nO(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function gO(e){return this._weekdaysParseExact?(Be(this,"_weekdaysRegex")||Vu.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Be(this,"_weekdaysRegex")||(this._weekdaysRegex=sO),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function vO(e){return this._weekdaysParseExact?(Be(this,"_weekdaysRegex")||Vu.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Be(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=aO),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function _O(e){return this._weekdaysParseExact?(Be(this,"_weekdaysRegex")||Vu.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Be(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=iO),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Vu(){function e(c,d){return d.length-c.length}var t=[],n=[],o=[],r=[],s,a,i,l,u;for(s=0;s<7;s++)a=kn([2e3,1]).day(s),i=Vn(this.weekdaysMin(a,"")),l=Vn(this.weekdaysShort(a,"")),u=Vn(this.weekdays(a,"")),t.push(i),n.push(l),o.push(u),r.push(i),r.push(l),r.push(u);t.sort(e),n.sort(e),o.sort(e),r.sort(e),this._weekdaysRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Hu(){return this.hours()%12||12}function yO(){return this.hours()||24}ce("H",["HH",2],0,"hour");ce("h",["hh",2],0,Hu);ce("k",["kk",2],0,yO);ce("hmm",0,0,function(){return""+Hu.apply(this)+Sn(this.minutes(),2)});ce("hmmss",0,0,function(){return""+Hu.apply(this)+Sn(this.minutes(),2)+Sn(this.seconds(),2)});ce("Hmm",0,0,function(){return""+this.hours()+Sn(this.minutes(),2)});ce("Hmmss",0,0,function(){return""+this.hours()+Sn(this.minutes(),2)+Sn(this.seconds(),2)});function hm(e,t){ce(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}hm("a",!0);hm("A",!1);function mm(e,t){return t._meridiemParse}ie("a",mm);ie("A",mm);ie("H",ot,Wu);ie("h",ot,Fr);ie("k",ot,Fr);ie("HH",ot,Zt);ie("hh",ot,Zt);ie("kk",ot,Zt);ie("hmm",om);ie("hmmss",rm);ie("Hmm",om);ie("Hmmss",rm);ze(["H","HH"],_t);ze(["k","kk"],function(e,t,n){var o=Me(e);t[_t]=o===24?0:o});ze(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});ze(["h","hh"],function(e,t,n){t[_t]=Me(e),Se(n).bigHour=!0});ze("hmm",function(e,t,n){var o=e.length-2;t[_t]=Me(e.substr(0,o)),t[un]=Me(e.substr(o)),Se(n).bigHour=!0});ze("hmmss",function(e,t,n){var o=e.length-4,r=e.length-2;t[_t]=Me(e.substr(0,o)),t[un]=Me(e.substr(o,2)),t[Wn]=Me(e.substr(r)),Se(n).bigHour=!0});ze("Hmm",function(e,t,n){var o=e.length-2;t[_t]=Me(e.substr(0,o)),t[un]=Me(e.substr(o))});ze("Hmmss",function(e,t,n){var o=e.length-4,r=e.length-2;t[_t]=Me(e.substr(0,o)),t[un]=Me(e.substr(o,2)),t[Wn]=Me(e.substr(r))});function bO(e){return(e+"").toLowerCase().charAt(0)==="p"}var wO=/[ap]\.?m?\.?/i,EO=Br("Hours",!0);function CO(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var gm={calendar:dT,longDateFormat:mT,invalidDate:vT,ordinal:yT,dayOfMonthOrdinalParse:bT,relativeTime:ET,months:FT,monthsShort:im,week:XT,weekdays:oO,weekdaysMin:rO,weekdaysShort:pm,meridiemParse:wO},at={},Gr={},ws;function xO(e,t){var n,o=Math.min(e.length,t.length);for(n=0;n0;){if(r=ui(s.slice(0,n).join("-")),r)return r;if(o&&o.length>=n&&xO(s,o)>=n-1)break;n--}t++}return ws}function OO(e){return!!(e&&e.match("^[^/\\\\]*$"))}function ui(e){var t=null,n;if(at[e]===void 0&&typeof module<"u"&&module&&module.exports&&OO(e))try{t=ws._abbr,n=require,n("./locale/"+e),yo(t)}catch{at[e]=null}return at[e]}function yo(e,t){var n;return e&&(Ft(t)?n=to(e):n=ju(e,t),n?ws=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ws._abbr}function ju(e,t){if(t!==null){var n,o=gm;if(t.abbr=e,at[e]!=null)Qh("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=at[e]._config;else if(t.parentLocale!=null)if(at[t.parentLocale]!=null)o=at[t.parentLocale]._config;else if(n=ui(t.parentLocale),n!=null)o=n._config;else return Gr[t.parentLocale]||(Gr[t.parentLocale]=[]),Gr[t.parentLocale].push({name:e,config:t}),null;return at[e]=new Nu(_l(o,t)),Gr[e]&&Gr[e].forEach(function(r){ju(r.name,r.config)}),yo(e),at[e]}else return delete at[e],null}function SO(e,t){if(t!=null){var n,o,r=gm;at[e]!=null&&at[e].parentLocale!=null?at[e].set(_l(at[e]._config,t)):(o=ui(e),o!=null&&(r=o._config),t=_l(r,t),o==null&&(t.abbr=e),n=new Nu(t),n.parentLocale=at[e],at[e]=n),yo(e)}else at[e]!=null&&(at[e].parentLocale!=null?(at[e]=at[e].parentLocale,e===yo()&&yo(e)):at[e]!=null&&delete at[e]);return at[e]}function to(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ws;if(!pn(e)){if(t=ui(e),t)return t;e=[e]}return TO(e)}function kO(){return yl(at)}function Gu(e){var t,n=e._a;return n&&Se(e).overflow===-2&&(t=n[Bn]<0||n[Bn]>11?Bn:n[wn]<1||n[wn]>Yu(n[Mt],n[Bn])?wn:n[_t]<0||n[_t]>24||n[_t]===24&&(n[un]!==0||n[Wn]!==0||n[Yo]!==0)?_t:n[un]<0||n[un]>59?un:n[Wn]<0||n[Wn]>59?Wn:n[Yo]<0||n[Yo]>999?Yo:-1,Se(e)._overflowDayOfYear&&(twn)&&(t=wn),Se(e)._overflowWeeks&&t===-1&&(t=LT),Se(e)._overflowWeekday&&t===-1&&(t=IT),Se(e).overflow=t),e}var MO=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,PO=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,DO=/Z|[+-]\d\d(?::?\d\d)?/,Xs=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ni=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],LO=/^\/?Date\((-?\d+)/i,IO=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,AO={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function vm(e){var t,n,o=e._i,r=MO.exec(o)||PO.exec(o),s,a,i,l,u=Xs.length,c=Ni.length;if(r){for(Se(e).iso=!0,t=0,n=u;tss(a)||e._dayOfYear===0)&&(Se(e)._overflowDayOfYear=!0),n=ys(a,0,e._dayOfYear),e._a[Bn]=n.getUTCMonth(),e._a[wn]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[_t]===24&&e._a[un]===0&&e._a[Wn]===0&&e._a[Yo]===0&&(e._nextDay=!0,e._a[_t]=0),e._d=(e._useUTC?ys:zT).apply(null,o),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_t]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==s&&(Se(e).weekdayMismatch=!0)}}function UO(e){var t,n,o,r,s,a,i,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(s=1,a=4,n=ir(t.GG,e._a[Mt],bs(nt(),1,4).year),o=ir(t.W,1),r=ir(t.E,1),(r<1||r>7)&&(l=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,u=bs(nt(),s,a),n=ir(t.gg,e._a[Mt],u.year),o=ir(t.w,u.week),t.d!=null?(r=t.d,(r<0||r>6)&&(l=!0)):t.e!=null?(r=t.e+s,(t.e<0||t.e>6)&&(l=!0)):r=s),o<1||o>Hn(n,s,a)?Se(e)._overflowWeeks=!0:l!=null?Se(e)._overflowWeekday=!0:(i=fm(n,o,r,s,a),e._a[Mt]=i.year,e._dayOfYear=i.dayOfYear)}ne.ISO_8601=function(){};ne.RFC_2822=function(){};function zu(e){if(e._f===ne.ISO_8601){vm(e);return}if(e._f===ne.RFC_2822){_m(e);return}e._a=[],Se(e).empty=!0;var t=""+e._i,n,o,r,s,a,i=t.length,l=0,u,c;for(r=em(e._f,e._locale).match(Ru)||[],c=r.length,n=0;n0&&Se(e).unusedInput.push(a),t=t.slice(t.indexOf(o)+o.length),l+=o.length),vr[s]?(o?Se(e).empty=!1:Se(e).unusedTokens.push(s),DT(s,o,e)):e._strict&&!o&&Se(e).unusedTokens.push(s);Se(e).charsLeftOver=i-l,t.length>0&&Se(e).unusedInput.push(t),e._a[_t]<=12&&Se(e).bigHour===!0&&e._a[_t]>0&&(Se(e).bigHour=void 0),Se(e).parsedDateParts=e._a.slice(0),Se(e).meridiem=e._meridiem,e._a[_t]=VO(e._locale,e._a[_t],e._meridiem),u=Se(e).era,u!==null&&(e._a[Mt]=e._locale.erasConvertYear(u,e._a[Mt])),Ku(e),Gu(e)}function VO(e,t,n){var o;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(o=e.isPM(n),o&&t<12&&(t+=12),!o&&t===12&&(t=0)),t)}function HO(e){var t,n,o,r,s,a,i=!1,l=e._f.length;if(l===0){Se(e).invalidFormat=!0,e._d=new Date(NaN);return}for(r=0;rthis?this:e:ni()});function wm(e,t){var n,o;if(t.length===1&&pn(t[0])&&(t=t[0]),!t.length)return nt();for(n=t[0],o=1;othis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function dS(){if(!Ft(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Au(e,this),e=ym(e),e._a?(t=e._isUTC?kn(e._a):nt(e._a),this._isDSTShifted=this.isValid()&&nS(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function fS(){return this.isValid()?!this._isUTC:!1}function pS(){return this.isValid()?this._isUTC:!1}function Cm(){return this.isValid()?this._isUTC&&this._offset===0:!1}var hS=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,mS=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function mn(e,t){var n=e,o=null,r,s,a;return ra(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:qn(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(o=hS.exec(e))?(r=o[1]==="-"?-1:1,n={y:0,d:Me(o[wn])*r,h:Me(o[_t])*r,m:Me(o[un])*r,s:Me(o[Wn])*r,ms:Me(wl(o[Yo]*1e3))*r}):(o=mS.exec(e))?(r=o[1]==="-"?-1:1,n={y:Ro(o[2],r),M:Ro(o[3],r),w:Ro(o[4],r),d:Ro(o[5],r),h:Ro(o[6],r),m:Ro(o[7],r),s:Ro(o[8],r)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=gS(nt(n.from),nt(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),s=new ci(n),ra(e)&&Be(e,"_locale")&&(s._locale=e._locale),ra(e)&&Be(e,"_isValid")&&(s._isValid=e._isValid),s}mn.fn=ci.prototype;mn.invalid=tS;function Ro(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function sf(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function gS(e,t){var n;return e.isValid()&&t.isValid()?(t=Xu(t,e),e.isBefore(t)?n=sf(e,t):(n=sf(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function xm(e,t){return function(n,o){var r,s;return o!==null&&!isNaN(+o)&&(Qh(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=n,n=o,o=s),r=mn(n,o),Tm(this,r,e),this}}function Tm(e,t,n,o){var r=t._milliseconds,s=wl(t._days),a=wl(t._months);e.isValid()&&(o=o??!0,a&&um(e,_s(e,"Month")+a*n),s&&am(e,"Date",_s(e,"Date")+s*n),r&&e._d.setTime(e._d.valueOf()+r*n),o&&ne.updateOffset(e,s||a))}var vS=xm(1,"add"),_S=xm(-1,"subtract");function Om(e){return typeof e=="string"||e instanceof String}function yS(e){return hn(e)||Ps(e)||Om(e)||qn(e)||wS(e)||bS(e)||e===null||e===void 0}function bS(e){var t=Ho(e)&&!Lu(e),n=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r,s,a=o.length;for(r=0;rn.valueOf():n.valueOf()9999?oa(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Mn(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",oa(n,"Z")):oa(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function NS(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,o,r,s;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",s=t+'[")]',this.format(n+o+r+s)}function RS(e){e||(e=this.isUtc()?ne.defaultFormatUtc:ne.defaultFormat);var t=oa(this,e);return this.localeData().postformat(t)}function $S(e,t){return this.isValid()&&(hn(e)&&e.isValid()||nt(e).isValid())?mn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function FS(e){return this.from(nt(),e)}function BS(e,t){return this.isValid()&&(hn(e)&&e.isValid()||nt(e).isValid())?mn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function WS(e){return this.to(nt(),e)}function Sm(e){var t;return e===void 0?this._locale._abbr:(t=to(e),t!=null&&(this._locale=t),this)}var km=rn("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Mm(){return this._locale}var xa=1e3,_r=60*xa,Ta=60*_r,Pm=(365*400+97)*24*Ta;function yr(e,t){return(e%t+t)%t}function Dm(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-Pm:new Date(e,t,n).valueOf()}function Lm(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-Pm:Date.UTC(e,t,n)}function YS(e){var t,n;if(e=sn(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Lm:Dm,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=yr(t+(this._isUTC?0:this.utcOffset()*_r),Ta);break;case"minute":t=this._d.valueOf(),t-=yr(t,_r);break;case"second":t=this._d.valueOf(),t-=yr(t,xa);break}return this._d.setTime(t),ne.updateOffset(this,!0),this}function US(e){var t,n;if(e=sn(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Lm:Dm,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ta-yr(t+(this._isUTC?0:this.utcOffset()*_r),Ta)-1;break;case"minute":t=this._d.valueOf(),t+=_r-yr(t,_r)-1;break;case"second":t=this._d.valueOf(),t+=xa-yr(t,xa)-1;break}return this._d.setTime(t),ne.updateOffset(this,!0),this}function VS(){return this._d.valueOf()-(this._offset||0)*6e4}function HS(){return Math.floor(this.valueOf()/1e3)}function jS(){return new Date(this.valueOf())}function GS(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function KS(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function zS(){return this.isValid()?this.toISOString():null}function qS(){return Iu(this)}function XS(){return mo({},Se(this))}function ZS(){return Se(this).overflow}function JS(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ce("N",0,0,"eraAbbr");ce("NN",0,0,"eraAbbr");ce("NNN",0,0,"eraAbbr");ce("NNNN",0,0,"eraName");ce("NNNNN",0,0,"eraNarrow");ce("y",["y",1],"yo","eraYear");ce("y",["yy",2],0,"eraYear");ce("y",["yyy",3],0,"eraYear");ce("y",["yyyy",4],0,"eraYear");ie("N",Zu);ie("NN",Zu);ie("NNN",Zu);ie("NNNN",uk);ie("NNNNN",ck);ze(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,o){var r=n._locale.erasParse(e,o,n._strict);r?Se(n).era=r:Se(n).invalidEra=e});ie("y",$r);ie("yy",$r);ie("yyy",$r);ie("yyyy",$r);ie("yo",dk);ze(["y","yy","yyy","yyyy"],Mt);ze(["yo"],function(e,t,n,o){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Mt]=n._locale.eraYearOrdinalParse(e,r):t[Mt]=parseInt(e,10)});function QS(e,t){var n,o,r,s=this._eras||to("en")._eras;for(n=0,o=s.length;n=0)return s[o]}function tk(e,t){var n=e.since<=e.until?1:-1;return t===void 0?ne(e.since).year():ne(e.since).year()+(t-e.offset)*n}function nk(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;es&&(t=s),_k.call(this,e,t,n,o,r))}function _k(e,t,n,o,r){var s=fm(e,t,n,o,r),a=ys(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}ce("Q",0,"Qo","quarter");ie("Q",tm);ze("Q",function(e,t){t[Bn]=(Me(e)-1)*3});function yk(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}ce("D",["DD",2],"Do","date");ie("D",ot,Fr);ie("DD",ot,Zt);ie("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});ze(["D","DD"],wn);ze("Do",function(e,t){t[wn]=Me(e.match(ot)[0])});var Am=Br("Date",!0);ce("DDD",["DDDD",3],"DDDo","dayOfYear");ie("DDD",ri);ie("DDDD",nm);ze(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Me(e)});function bk(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}ce("m",["mm",2],0,"minute");ie("m",ot,Wu);ie("mm",ot,Zt);ze(["m","mm"],un);var wk=Br("Minutes",!1);ce("s",["ss",2],0,"second");ie("s",ot,Wu);ie("ss",ot,Zt);ze(["s","ss"],Wn);var Ek=Br("Seconds",!1);ce("S",0,0,function(){return~~(this.millisecond()/100)});ce(0,["SS",2],0,function(){return~~(this.millisecond()/10)});ce(0,["SSS",3],0,"millisecond");ce(0,["SSSS",4],0,function(){return this.millisecond()*10});ce(0,["SSSSS",5],0,function(){return this.millisecond()*100});ce(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});ce(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});ce(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});ce(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});ie("S",ri,tm);ie("SS",ri,Zt);ie("SSS",ri,nm);var go,Nm;for(go="SSSS";go.length<=9;go+="S")ie(go,$r);function Ck(e,t){t[Yo]=Me(("0."+e)*1e3)}for(go="S";go.length<=9;go+="S")ze(go,Ck);Nm=Br("Milliseconds",!1);ce("z",0,0,"zoneAbbr");ce("zz",0,0,"zoneName");function xk(){return this._isUTC?"UTC":""}function Tk(){return this._isUTC?"Coordinated Universal Time":""}var z=Ds.prototype;z.add=vS;z.calendar=xS;z.clone=TS;z.diff=LS;z.endOf=US;z.format=RS;z.from=$S;z.fromNow=FS;z.to=BS;z.toNow=WS;z.get=NT;z.invalidAt=ZS;z.isAfter=OS;z.isBefore=SS;z.isBetween=kS;z.isSame=MS;z.isSameOrAfter=PS;z.isSameOrBefore=DS;z.isValid=qS;z.lang=km;z.locale=Sm;z.localeData=Mm;z.max=qO;z.min=zO;z.parsingFlags=XS;z.set=RT;z.startOf=YS;z.subtract=_S;z.toArray=GS;z.toObject=KS;z.toDate=jS;z.toISOString=AS;z.inspect=NS;typeof Symbol<"u"&&Symbol.for!=null&&(z[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});z.toJSON=zS;z.toString=IS;z.unix=HS;z.valueOf=VS;z.creationData=JS;z.eraName=nk;z.eraNarrow=ok;z.eraAbbr=rk;z.eraYear=sk;z.year=sm;z.isLeapYear=AT;z.weekYear=fk;z.isoWeekYear=pk;z.quarter=z.quarters=yk;z.month=cm;z.daysInMonth=jT;z.week=z.weeks=QT;z.isoWeek=z.isoWeeks=eO;z.weeksInYear=gk;z.weeksInWeekYear=vk;z.isoWeeksInYear=hk;z.isoWeeksInISOWeekYear=mk;z.date=Am;z.day=z.days=pO;z.weekday=hO;z.isoWeekday=mO;z.dayOfYear=bk;z.hour=z.hours=EO;z.minute=z.minutes=wk;z.second=z.seconds=Ek;z.millisecond=z.milliseconds=Nm;z.utcOffset=rS;z.utc=aS;z.local=iS;z.parseZone=lS;z.hasAlignedHourOffset=uS;z.isDST=cS;z.isLocal=fS;z.isUtcOffset=pS;z.isUtc=Cm;z.isUTC=Cm;z.zoneAbbr=xk;z.zoneName=Tk;z.dates=rn("dates accessor is deprecated. Use date instead.",Am);z.months=rn("months accessor is deprecated. Use month instead",cm);z.years=rn("years accessor is deprecated. Use year instead",sm);z.zone=rn("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",sS);z.isDSTShifted=rn("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",dS);function Ok(e){return nt(e*1e3)}function Sk(){return nt.apply(null,arguments).parseZone()}function Rm(e){return e}var We=Nu.prototype;We.calendar=fT;We.longDateFormat=gT;We.invalidDate=_T;We.ordinal=wT;We.preparse=Rm;We.postformat=Rm;We.relativeTime=CT;We.pastFuture=xT;We.set=cT;We.eras=QS;We.erasParse=ek;We.erasConvertYear=tk;We.erasAbbrRegex=ik;We.erasNameRegex=ak;We.erasNarrowRegex=lk;We.months=YT;We.monthsShort=UT;We.monthsParse=HT;We.monthsRegex=KT;We.monthsShortRegex=GT;We.week=qT;We.firstDayOfYear=JT;We.firstDayOfWeek=ZT;We.weekdays=lO;We.weekdaysMin=cO;We.weekdaysShort=uO;We.weekdaysParse=fO;We.weekdaysRegex=gO;We.weekdaysShortRegex=vO;We.weekdaysMinRegex=_O;We.isPM=bO;We.meridiem=CO;function Oa(e,t,n,o){var r=to(),s=kn().set(o,t);return r[n](s,e)}function $m(e,t,n){if(qn(e)&&(t=e,e=void 0),e=e||"",t!=null)return Oa(e,t,n,"month");var o,r=[];for(o=0;o<12;o++)r[o]=Oa(e,o,n,"month");return r}function Qu(e,t,n,o){typeof e=="boolean"?(qn(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,qn(t)&&(n=t,t=void 0),t=t||"");var r=to(),s=e?r._week.dow:0,a,i=[];if(n!=null)return Oa(t,(n+s)%7,o,"day");for(a=0;a<7;a++)i[a]=Oa(t,(a+s)%7,o,"day");return i}function kk(e,t){return $m(e,t,"months")}function Mk(e,t){return $m(e,t,"monthsShort")}function Pk(e,t,n){return Qu(e,t,n,"weekdays")}function Dk(e,t,n){return Qu(e,t,n,"weekdaysShort")}function Lk(e,t,n){return Qu(e,t,n,"weekdaysMin")}yo("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=Me(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});ne.lang=rn("moment.lang is deprecated. Use moment.locale instead.",yo);ne.langData=rn("moment.langData is deprecated. Use moment.localeData instead.",to);var Nn=Math.abs;function Ik(){var e=this._data;return this._milliseconds=Nn(this._milliseconds),this._days=Nn(this._days),this._months=Nn(this._months),e.milliseconds=Nn(e.milliseconds),e.seconds=Nn(e.seconds),e.minutes=Nn(e.minutes),e.hours=Nn(e.hours),e.months=Nn(e.months),e.years=Nn(e.years),this}function Fm(e,t,n,o){var r=mn(t,n);return e._milliseconds+=o*r._milliseconds,e._days+=o*r._days,e._months+=o*r._months,e._bubble()}function Ak(e,t){return Fm(this,e,t,1)}function Nk(e,t){return Fm(this,e,t,-1)}function af(e){return e<0?Math.floor(e):Math.ceil(e)}function Rk(){var e=this._milliseconds,t=this._days,n=this._months,o=this._data,r,s,a,i,l;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=af(Cl(n)+t)*864e5,t=0,n=0),o.milliseconds=e%1e3,r=en(e/1e3),o.seconds=r%60,s=en(r/60),o.minutes=s%60,a=en(s/60),o.hours=a%24,t+=en(a/24),l=en(Bm(t)),n+=l,t-=af(Cl(l)),i=en(n/12),n%=12,o.days=t,o.months=n,o.years=i,this}function Bm(e){return e*4800/146097}function Cl(e){return e*146097/4800}function $k(e){if(!this.isValid())return NaN;var t,n,o=this._milliseconds;if(e=sn(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+o/864e5,n=this._months+Bm(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Cl(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return t*24+o/36e5;case"minute":return t*1440+o/6e4;case"second":return t*86400+o/1e3;case"millisecond":return Math.floor(t*864e5)+o;default:throw new Error("Unknown unit "+e)}}function no(e){return function(){return this.as(e)}}var Wm=no("ms"),Fk=no("s"),Bk=no("m"),Wk=no("h"),Yk=no("d"),Uk=no("w"),Vk=no("M"),Hk=no("Q"),jk=no("y"),Gk=Wm;function Kk(){return mn(this)}function zk(e){return e=sn(e),this.isValid()?this[e+"s"]():NaN}function er(e){return function(){return this.isValid()?this._data[e]:NaN}}var qk=er("milliseconds"),Xk=er("seconds"),Zk=er("minutes"),Jk=er("hours"),Qk=er("days"),eM=er("months"),tM=er("years");function nM(){return en(this.days()/7)}var $n=Math.round,ur={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function oM(e,t,n,o,r){return r.relativeTime(t||1,!!n,e,o)}function rM(e,t,n,o){var r=mn(e).abs(),s=$n(r.as("s")),a=$n(r.as("m")),i=$n(r.as("h")),l=$n(r.as("d")),u=$n(r.as("M")),c=$n(r.as("w")),d=$n(r.as("y")),f=s<=n.ss&&["s",s]||s0,f[4]=o,oM.apply(null,f)}function sM(e){return e===void 0?$n:typeof e=="function"?($n=e,!0):!1}function aM(e,t){return ur[e]===void 0?!1:t===void 0?ur[e]:(ur[e]=t,e==="s"&&(ur.ss=t-1),!0)}function iM(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,o=ur,r,s;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(o=Object.assign({},ur,t),t.s!=null&&t.ss==null&&(o.ss=t.s-1)),r=this.localeData(),s=rM(this,!n,o,r),n&&(s=r.pastFuture(+this,s)),r.postformat(s)}var Ri=Math.abs;function rr(e){return(e>0)-(e<0)||+e}function fi(){if(!this.isValid())return this.localeData().invalidDate();var e=Ri(this._milliseconds)/1e3,t=Ri(this._days),n=Ri(this._months),o,r,s,a,i=this.asSeconds(),l,u,c,d;return i?(o=en(e/60),r=en(o/60),e%=60,o%=60,s=en(n/12),n%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=i<0?"-":"",u=rr(this._months)!==rr(i)?"-":"",c=rr(this._days)!==rr(i)?"-":"",d=rr(this._milliseconds)!==rr(i)?"-":"",l+"P"+(s?u+s+"Y":"")+(n?u+n+"M":"")+(t?c+t+"D":"")+(r||o||e?"T":"")+(r?d+r+"H":"")+(o?d+o+"M":"")+(e?d+a+"S":"")):"P0D"}var Ie=ci.prototype;Ie.isValid=eS;Ie.abs=Ik;Ie.add=Ak;Ie.subtract=Nk;Ie.as=$k;Ie.asMilliseconds=Wm;Ie.asSeconds=Fk;Ie.asMinutes=Bk;Ie.asHours=Wk;Ie.asDays=Yk;Ie.asWeeks=Uk;Ie.asMonths=Vk;Ie.asQuarters=Hk;Ie.asYears=jk;Ie.valueOf=Gk;Ie._bubble=Rk;Ie.clone=Kk;Ie.get=zk;Ie.milliseconds=qk;Ie.seconds=Xk;Ie.minutes=Zk;Ie.hours=Jk;Ie.days=Qk;Ie.weeks=nM;Ie.months=eM;Ie.years=tM;Ie.humanize=iM;Ie.toISOString=fi;Ie.toString=fi;Ie.toJSON=fi;Ie.locale=Sm;Ie.localeData=Mm;Ie.toIsoString=rn("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",fi);Ie.lang=km;ce("X",0,0,"unix");ce("x",0,0,"valueOf");ie("x",ai);ie("X",kT);ze("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});ze("x",function(e,t,n){n._d=new Date(Me(e))});//! moment.js +ne.version="2.30.1";lT(nt);ne.fn=z;ne.min=XO;ne.max=ZO;ne.now=JO;ne.utc=kn;ne.unix=Ok;ne.months=kk;ne.isDate=Ps;ne.locale=yo;ne.invalid=ni;ne.duration=mn;ne.isMoment=hn;ne.weekdays=Pk;ne.parseZone=Sk;ne.localeData=to;ne.isDuration=ra;ne.monthsShort=Mk;ne.weekdaysMin=Lk;ne.defineLocale=ju;ne.updateLocale=SO;ne.locales=kO;ne.weekdaysShort=Dk;ne.normalizeUnits=sn;ne.relativeTimeRounding=sM;ne.relativeTimeThreshold=aM;ne.calendarFormat=CS;ne.prototype=z;ne.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const lM={months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return e===12&&(e=0),t==="凌晨"||t==="早上"||t==="上午"?e:t==="下午"||t==="晚上"?e+12:e>=11?e:e+12},meridiem:function(e,t){const n=e*100+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]dddLT",lastDay:"[昨天]LT",lastWeek:"[上]dddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}},uM=A({name:"LanguageSwitcher",components:{Select:oC,SelectContent:aC,SelectGroup:iC,SelectItem:uC,SelectLabel:cC,SelectTrigger:sC,SelectValue:rC},setup(){const e=V(Li.getLanguage()?Li.getLanguage():"language_zh_cn"),{locale:t}=ti(),n=o=>{Li.setLanguage(o);const r="language_";o.startsWith(r)?t.value=o.substring(r.length):t.value=o,o==="language_zh_cn"?ne.locale("zh-cn",lM):ne.locale("en")};return n(e.value),{language:e,injectLanguage:n}}});function cM(e,t,n,o,r,s){const a=Q("SelectValue"),i=Q("SelectTrigger"),l=Q("SelectLabel"),u=Q("SelectItem"),c=Q("SelectGroup"),d=Q("SelectContent"),f=Q("Select");return k(),N(f,{modelValue:e.language,"onUpdate:modelValue":[t[0]||(t[0]=g=>e.language=g),e.injectLanguage]},{default:T(()=>[$(i,{class:"w-[150px]"},{default:T(()=>[$(a,{placeholder:e.$t("region.common.selectLanguage")},null,8,["placeholder"])]),_:1}),$(d,null,{default:T(()=>[$(c,null,{default:T(()=>[$(l,null,{default:T(()=>[ut($e(e.$t("region.common.asia.default")),1)]),_:1}),$(u,{class:"pl-6 cursor-pointer",value:"language_zh_cn"},{default:T(()=>[ut($e(e.$t("region.common.asia.chineseSimple")),1)]),_:1}),$(l,null,{default:T(()=>[ut($e(e.$t("region.common.northAmerica.default")),1)]),_:1}),$(u,{class:"pl-6 cursor-pointer",value:"language_en"},{default:T(()=>[ut($e(e.$t("region.common.northAmerica.english")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])}const dM=Xt(uM,[["render",cM]]),fM={class:"absolute left-0 top-full flex justify-center"},pM=A({__name:"NavigationMenuViewport",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=G(()=>{const{class:r,...s}=t;return s}),o=Nt(n);return(r,s)=>(k(),pe("div",fM,[$(h(Jw),ae(h(o),{class:h(Pe)("origin-top-center relative mt-1.5 h-[--radix-navigation-menu-viewport-height] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[--radix-navigation-menu-viewport-width]",t.class)}),null,16,["class"])]))}}),hM=A({__name:"NavigationMenu",props:{modelValue:{},defaultValue:{},dir:{},orientation:{},delayDuration:{},skipDelayDuration:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=t,r=G(()=>{const{class:a,...i}=n;return i}),s=pt(r,o);return(a,i)=>(k(),N(h(Uw),ae(h(s),{class:h(Pe)("relative z-10 flex max-w-max flex-1 items-center justify-center",n.class)}),{default:T(()=>[F(a.$slots,"default"),$(pM)]),_:3},16,["class"]))}}),mM=A({__name:"NavigationMenuList",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=G(()=>{const{class:r,...s}=t;return s}),o=Nt(n);return(r,s)=>(k(),N(h(qw),ae(h(o),{class:h(Pe)("group flex flex-1 list-none items-center justify-center gap-x-1",t.class)}),{default:T(()=>[F(r.$slots,"default")]),_:3},16,["class"]))}}),gM=A({__name:"NavigationMenuItem",props:{value:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(k(),N(h(jw),Ke(Ze(t)),{default:T(()=>[F(n.$slots,"default")]),_:3},16))}}),vM=A({__name:"NavigationMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=G(()=>{const{class:r,...s}=t;return s}),o=Nt(n);return(r,s)=>(k(),N(h(Zw),ae(h(o),{class:h(Pe)(h(Um)(),"group",t.class)}),{default:T(()=>[F(r.$slots,"default"),$(h(_h),{class:"relative top-px ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]),_:3},16,["class"]))}}),_M=A({__name:"NavigationMenuContent",props:{forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(e,{emit:t}){const n=e,o=t,r=G(()=>{const{class:a,...i}=n;return i}),s=pt(r,o);return(a,i)=>(k(),N(h(Kw),ae(h(s),{class:h(Pe)("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto",n.class)}),{default:T(()=>[F(a.$slots,"default")]),_:3},16,["class"]))}}),Ym=A({__name:"NavigationMenuLink",props:{active:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["select"],setup(e,{emit:t}){const r=pt(e,t);return(s,a)=>(k(),N(h(zw),Ke(Ze(h(r))),{default:T(()=>[F(s.$slots,"default")]),_:3},16))}}),Um=ql("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),yM=A({name:"NavigationItem",components:{NavigationRouterLink:Eu,NavigationMenuLink:Ym,Button:Po},computed:{NavigationPosition(){return Et}},props:{navigator:{type:Object}},setup(){return{cn:Pe}}}),bM={key:0},wM={class:"text-sm font-medium leading-none"},EM={class:"line-clamp-2 text-sm leading-snug text-muted-foreground"};function CM(e,t,n,o,r,s){var l;const a=Q("NavigationRouterLink"),i=Q("NavigationMenuLink");return((l=e.navigator)==null?void 0:l.position)===e.NavigationPosition.TOP?(k(),pe("li",bM,[$(i,{"as-child":""},{default:T(()=>{var u,c,d;return[$(a,{external:(u=e.navigator)==null?void 0:u.external,link:(c=e.navigator)==null?void 0:c.href,class:Ye(e.cn("block select-none space-y-1 rounded-md leading-none no-underline outline-none transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground","pl-5 pr-5 pt-3 pb-2",e.$route.path===`${(d=e.navigator)==null?void 0:d.href}`&&"bg-muted hover:bg-muted"))},{default:T(()=>{var f;return[we("div",wM,$e(e.$t((f=e.navigator)==null?void 0:f.title)),1),we("p",EM,[F(e.$slots,"default")])]}),_:3},8,["external","link","class"])]}),_:3})])):je("",!0)}const xM=Xt(yM,[["render",CM]]),TM=A({name:"NavigationHeader",computed:{NavigationPosition(){return Et}},components:{NavigationItem:xM,NavigationMenu:hM,NavigationMenuContent:_M,NavigationMenuItem:gM,NavigationMenuLink:Ym,NavigationMenuList:mM,NavigationMenuTrigger:vM,navigationMenuTriggerStyle:Um},props:{navigators:{type:Array}}}),OM={key:0},SM={class:"grid gap-3 p-6 md:w-[400px] lg:w-[500px] lg:grid-cols-[minmax(0,.75fr)_minmax(0,1fr)]"},kM={key:0};function MM(e,t,n,o,r,s){const a=Q("NavigationMenuTrigger"),i=Q("NavigationItem"),l=Q("NavigationMenuContent"),u=Q("NavigationMenuItem"),c=Q("NavigationMenuList"),d=Q("NavigationMenu");return k(),N(d,null,{default:T(()=>[$(c,null,{default:T(()=>[(k(!0),pe(He,null,jo(e.navigators,f=>(k(),pe("div",null,[f.position===e.NavigationPosition.TOP?(k(),pe("div",OM,[f!=null&&f.children&&f.children.length>0?(k(),N(u,{key:0},{default:T(()=>[$(a,null,{default:T(()=>[ut($e(e.$t(f==null?void 0:f.group)),1)]),_:2},1024),$(l,null,{default:T(()=>[we("ul",SM,[(k(!0),pe(He,null,jo(f==null?void 0:f.children,g=>(k(),N(i,{navigator:g},{default:T(()=>[g!=null&&g.description?(k(),pe("span",kM,$e(e.$t(g==null?void 0:g.description)),1)):je("",!0)]),_:2},1032,["navigator"]))),256))])]),_:2},1024)]),_:2},1024)):(k(),N(u,{key:1},{default:T(()=>[$(i,{navigator:f},null,8,["navigator"])]),_:2},1024))])):je("",!0)]))),256))]),_:1})]),_:1})}const PM=Xt(TM,[["render",MM]]),DM=A({name:"ThemeSwitcher",components:{Button:Po,Sun:uE,Moon:aE},setup(){const e=V("light");return dt(()=>{const n=e.value==="dark"?"#020817":"#fff",o=document.querySelector("meta[name='theme-color']");o&&o.setAttribute("content",n);const r=window.document.documentElement;r.classList.remove("light","dark"),r.classList.add(e.value)}),Le(()=>e.value,n=>{const o=window.document.documentElement;o.classList.remove("light","dark"),o.classList.add(n)}),{theme:e,setTheme:n=>{e.value=n}}}});function LM(e,t,n,o,r,s){const a=Q("Moon"),i=Q("Sun"),l=Q("Button");return k(),N(l,{size:"icon",variant:"ghost",class:"rounded-full",onClick:t[0]||(t[0]=u=>e.setTheme(e.theme==="light"?"dark":"light"))},{default:T(()=>[e.theme==="light"?(k(),N(a,{key:0,size:20})):(k(),N(i,{key:1,size:20}))]),_:1})}const IM=Xt(DM,[["render",LM]]),AM=A({name:"NavigationUser",components:{Button:Po,DropdownMenu:Cu,DropdownMenuContent:Tu,DropdownMenuGroup:gh,DropdownMenuItem:vh,DropdownMenuLabel:wh,DropdownMenuPortal:vu,DropdownMenuSeparator:bh,DropdownMenuShortcut:yh,DropdownMenuSub:Eh,DropdownMenuSubContent:xh,DropdownMenuSubTrigger:Ch,DropdownMenuTrigger:xu,User:cE}}),NM=we("div",{class:"flex flex-col space-y-1"},[we("p",{class:"text-sm font-medium leading-none"},"Shadcn UI Admin"),we("p",{class:"text-xs leading-none text-muted-foreground"},"community@devlive.org")],-1),RM=we("span",null,"Test",-1),$M={href:"https://github.com/devlive-community/shadcn-ui-vue-admin",target:"_blank"},FM={href:"https://gitee.com/devlive-community/shadcn-ui-vue-admin",target:"_blank"};function BM(e,t,n,o,r,s){const a=Q("User"),i=Q("Button"),l=Q("DropdownMenuTrigger"),u=Q("DropdownMenuLabel"),c=Q("DropdownMenuSeparator"),d=Q("DropdownMenuShortcut"),f=Q("DropdownMenuItem"),g=Q("DropdownMenuSubTrigger"),_=Q("DropdownMenuSubContent"),y=Q("DropdownMenuPortal"),C=Q("DropdownMenuSub"),v=Q("DropdownMenuGroup"),b=Q("RouterLink"),w=Q("DropdownMenuContent"),x=Q("DropdownMenu");return k(),N(x,null,{default:T(()=>[$(l,{"as-child":""},{default:T(()=>[$(i,{size:"icon",class:"rounded-full",variant:"outline"},{default:T(()=>[$(a)]),_:1})]),_:1}),$(w,{class:"w-56"},{default:T(()=>[$(u,{class:"font-normal"},{default:T(()=>[NM]),_:1}),$(c),$(v,null,{default:T(()=>[$(f,null,{default:T(()=>[RM,$(d,null,{default:T(()=>[ut("⌘+T")]),_:1})]),_:1}),$(C,null,{default:T(()=>[$(g,{class:"cursor-pointer"},{default:T(()=>[ut($e(e.$t("common.common.codeMirror")),1)]),_:1}),$(y,null,{default:T(()=>[$(_,null,{default:T(()=>[we("a",$M,[$(f,{class:"cursor-pointer"},{default:T(()=>[ut("GitHub")]),_:1})]),we("a",FM,[$(f,{class:"cursor-pointer"},{default:T(()=>[ut("Gitee")]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1}),$(c),$(b,{to:"/auth/signin"},{default:T(()=>[$(f,{class:"cursor-pointer"},{default:T(()=>[we("span",null,$e(e.$t("common.common.logout")),1),$(d,null,{default:T(()=>[ut("⇧⌘Q")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const WM=Xt(AM,[["render",BM]]),YM=A({__name:"Card",props:{class:{}},setup(e){const t=e;return(n,o)=>(k(),pe("div",{class:Ye(h(Pe)("rounded-xl border bg-card text-card-foreground shadow",t.class))},[F(n.$slots,"default")],2))}}),UM=A({__name:"CardHeader",props:{class:{}},setup(e){const t=e;return(n,o)=>(k(),pe("div",{class:Ye(h(Pe)("flex flex-col gap-y-1.5 p-6",t.class))},[F(n.$slots,"default")],2))}}),VM=A({__name:"CardTitle",props:{class:{}},setup(e){const t=e;return(n,o)=>(k(),pe("h3",{class:Ye(h(Pe)("font-semibold leading-none tracking-tight",t.class))},[F(n.$slots,"default")],2))}}),HM=A({__name:"CardDescription",props:{class:{}},setup(e){const t=e;return(n,o)=>(k(),pe("p",{class:Ye(h(Pe)("text-sm text-muted-foreground",t.class))},[F(n.$slots,"default")],2))}}),jM=A({__name:"CardContent",props:{class:{}},setup(e){const t=e;return(n,o)=>(k(),pe("div",{class:Ye(h(Pe)("p-6 pt-0",t.class))},[F(n.$slots,"default")],2))}}),GM=A({__name:"CardFooter",props:{class:{}},setup(e){const t=e;return(n,o)=>(k(),pe("div",{class:Ye(h(Pe)("flex items-center p-6 pt-0",t.class))},[F(n.$slots,"default")],2))}}),KM=A({__name:"Switch",props:{defaultChecked:{type:Boolean},checked:{type:Boolean},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:checked"],setup(e,{emit:t}){const n=e,o=t,r=G(()=>{const{class:a,...i}=n;return i}),s=pt(r,o);return(a,i)=>(k(),N(h(I1),ae(h(s),{class:h(Pe)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",n.class)}),{default:T(()=>[$(h(A1),{class:Ye(h(Pe)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"))},null,8,["class"])]),_:1},16,["class"]))}});class zM{constructor(){hi(this,"notifications",[])}addNotification(t){this.notifications.push(t)}getNotifications(){return this.notifications}}const qr=new zM,qM=A({name:"NotificationNavigation",components:{Switch:KM,Button:Po,DropdownMenu:Cu,DropdownMenuContent:Tu,DropdownMenuTrigger:xu,Card:YM,CardHeader:UM,CardTitle:VM,CardDescription:HM,CardContent:jM,CardFooter:GM,BellRing:J1,BellIcon:Q1,CheckIcon:eE},setup(){const e=jt("$dt"),t=qr.getNotifications();return{cn:Pe,formatDate:o=>e(o).fromNow(),notifications:t}}}),XM={class:"flex items-center space-x-4 rounded-md border p-4"},ZM={class:"flex-1 space-y-1"},JM={class:"text-sm font-medium leading-none"},QM={class:"text-sm text-muted-foreground"},eP={class:"space-y-1"},tP={class:"text-sm font-medium leading-none"},nP={class:"text-sm text-muted-foreground"},oP={class:"text-sm text-muted-foreground"};function rP(e,t,n,o,r,s){const a=Q("BellRing"),i=Q("Button"),l=Q("DropdownMenuTrigger"),u=Q("CardTitle"),c=Q("CardDescription"),d=Q("CardHeader"),f=Q("BellIcon"),g=Q("Switch"),_=Q("CardContent"),y=Q("CheckIcon"),C=Q("CardFooter"),v=Q("Card"),b=Q("DropdownMenuContent"),w=Q("DropdownMenu");return k(),N(w,null,{default:T(()=>[$(l,{"as-child":""},{default:T(()=>[$(i,{variant:"outline",size:"icon"},{default:T(()=>[$(a,{size:20})]),_:1})]),_:1}),$(b,null,{default:T(()=>[$(v,{class:Ye(e.cn("w-[380px] border-0 shadow-transparent",e.$attrs.class??""))},{default:T(()=>[$(d,null,{default:T(()=>[$(u,null,{default:T(()=>[ut($e(e.$t("user.common.notification")),1)]),_:1}),$(c,null,{default:T(()=>[ut($e(e.$t("user.tip.unreadNotification").replace("REPLACE_COUNT",e.notifications.length.toString())),1)]),_:1})]),_:1}),$(_,{class:"grid gap-4"},{default:T(()=>[we("div",XM,[$(f),we("div",ZM,[we("p",JM,$e(e.$t("user.common.pushNotification")),1),we("p",QM,$e(e.$t("user.tip.pushNotification")),1)]),$(g)]),we("div",null,[(k(!0),pe(He,null,jo(e.notifications,(x,S)=>(k(),pe("div",{key:S,class:"mb-4 grid grid-cols-[25px_minmax(0,1fr)] items-start last:mb-0 last:pb-0"},[we("span",{class:Ye(e.cn(`flex h-2 w-2 ${x.isRead?"":"translate-y-1 rounded-full bg-sky-500"}`))},null,2),we("div",eP,[we("p",tP,$e(x.title),1),we("p",nP,$e(x.description),1),we("p",oP,$e(e.formatDate(x.createTime)),1)])]))),128))])]),_:1}),$(C,null,{default:T(()=>[$(i,{class:"w-full"},{default:T(()=>[$(y,{class:"mr-2 h-4 w-4"}),ut(" "+$e(e.$t("user.common.markAllAsRead")),1)]),_:1})]),_:1})]),_:1},8,["class"])]),_:1})]),_:1})}const sP=Xt(qM,[["render",rP]]),aP=A({name:"LayoutHeader",components:{NotificationNavigation:sP,NavigationUser:WM,NavigationHeader:PM,ThemeSwitcher:IM,LanguageSwitcher:dM,Button:Po},props:{navigators:{type:Array}}}),iP={class:"flex h-[var(--header-height)] flex-none items-center gap-4 bg-background p-4 md:px-8 border-b"},lP={class:"ml-auto flex items-center space-x-4"};function uP(e,t,n,o,r,s){const a=Q("NavigationHeader"),i=Q("ThemeSwitcher"),l=Q("LanguageSwitcher"),u=Q("NotificationNavigation"),c=Q("NavigationUser");return k(),pe("div",iP,[$(a,{navigators:e.navigators},null,8,["navigators"]),we("div",lP,[$(i),$(l),$(u),$(c)])])}const cP=Xt(aP,[["render",uP]]);class dP{constructor(){hi(this,"navigations",[])}addNavigation(t){this.navigations.push(t)}getNavigation(){return this.navigations}}const uo=new dP,fP=A({name:"LayoutContainer",components:{LayoutHeader:cP,LayoutSidebar:nC},setup(){return{cn:Pe}},data(){return{isCollapsed:!1,navigators:[]}},created(){this.handlerInitialize()},methods:{handlerInitialize(){this.navigators=uo.getNavigation()}}}),pP={class:"p-2 space-y-2"};function hP(e,t,n,o,r,s){const a=Q("LayoutSidebar"),i=Q("LayoutHeader"),l=Q("RouterView");return k(),pe(He,null,[$(a,{navigators:e.navigators,onChangeCollapsed:t[0]||(t[0]=u=>e.isCollapsed=u)},null,8,["navigators"]),we("div",{class:Ye(e.cn(`h-full w-fulloverflow-auto ${e.isCollapsed?"md:ml-14":"md:ml-64"}`))},[$(i,{navigators:e.navigators},null,8,["navigators"]),we("div",pP,[$(l)])],2)],64)}const Vm=Xt(fP,[["render",hP]]),mP=e=>{e.addRoute({path:"/",name:"home",redirect:"/dashboard",component:Vm,children:[{name:"dashboard",path:"dashboard",component:()=>Co(()=>import("./DashboardHome-CMMGWMEW.js"),__vite__mapDeps([6,3]))}]}),gP(e),vP(e),_P(e)},gP=e=>{e.addRoute({path:"/common",name:"common",children:[{name:"404",path:"404",component:()=>Co(()=>import("./NotFound-jGWy-c4M.js"),__vite__mapDeps([]))},{name:"403",path:"403",component:()=>Co(()=>import("./Forbidden-CyzKww8s.js"),__vite__mapDeps([]))}]})},vP=e=>{e.addRoute({path:"/user",name:"user",children:[{name:"forgot",path:"forgot",children:[{name:"password",path:"password",component:()=>Co(()=>import("./ForgotPassword-DTTE5vFY.js"),__vite__mapDeps([7,1,2,3]))}]}]})},_P=e=>{e.addRoute({path:"/forms",name:"form",component:Vm,children:[{name:"basic",path:"basic",component:()=>Co(()=>import("./FormBasic-TyTMwxyb.js"),__vite__mapDeps([8,3,2]))},{name:"withAction",path:"withAction",component:()=>Co(()=>import("./FormWithAction-Cg_KA51a.js"),__vite__mapDeps([9,3,2]))}]})},yP=[],pi=gy({history:j_(),routes:yP});by(pi);mP(pi);pi.beforeEach((e,t,n)=>{e.matched.length===0?n("/common/404"):n()});const bP={common:{selectLanguage:"Select Language",asia:{default:"Asia",chineseSimple:"Simple Chinese"},northAmerica:{default:"North America",english:"English"}}},wP={common:{home:"Home",signIn:"Sign In",signUp:"Sign Up",termOfService:"Terms of Service",and:"And",privacyPolicy:"Privacy Policy",createAccount:"Create an account",forgotPassword:"Forgot Password",sendEmail:"Send Email",logout:"Logout",codeMirror:"Code Mirror",openProject:"Open Project",datacap:"DataCap",page:"Page",page404:"404 Not found",pageNotFound:"Page not found",backToHome:"Back to Home",pageForbidden:"Page Forbidden",page403:"403 Forbidden",dashboard:"Dashboard"},tip:{signInInfo:"Enter your information to sign in to your account.",signInNoAccount:"Not have an account?",byCreateAccount:"By creating an account, you agree to our",signUpInfo:"Enter your information to create an account.",signUpHasAccount:"Already have an account?",forgotPasswordInfo:"Enter your registered email and we will send you a link to reset your password.",inputAnyInfo:"Enter your username and password at will",datacap:"DataCap is integrated software for data transformation, integration, and visualization. Support a variety of data sources, file types, big data related database, relational database, NoSQL database, etc. Through the software can realize the management of multiple data sources, the data under the source of various operations conversion, making data charts, monitoring data sources and other functions.",pageNotFound:"Oops! Page Not Found!",pageForbidden:"Oops! Page Forbidden!"}},EP={common:{username:"Username",password:"Password",confirmPassword:"Confirm Password",continueWith:"Or continue with",email:"Email",notification:"Notification Center",pushNotification:"Push Notification",markAllAsRead:"Mark all as read"},validator:{usernameRequired:"Username is required",usernameLengthLeast:"Username must be at least 2 characters",usernameLengthMost:"Username must be at most 20 characters",passwordRequired:"Password is required",passwordLengthLeast:"Password must be at least 6 characters",passwordLengthMost:"Password must be at most 20 characters",passwordNotMatch:"Passwords do not match",emailRequired:"Email is required",emailInvalid:"Email is invalid"},tip:{usernameHolder:"Please enter your username",passwordHolder:"Please enter your password",confirmPasswordHolder:"Please confirm your password",emailHolder:"Please enter your email",signIn:"In this you can enter your information to sign in to your account.",signUp:"In this you can enter your information to create an account.",unreadNotification:"You have REPLACE_COUNT unread messages.",pushNotification:"Send notifications to device."}},CP={common:{form:"Form",formBasic:"Basic Form",formWithAction:"Form with Action",signInWithGoogle:"Sign in with Google"},tip:{formBasic:"This is a basic form example",formWithAction:"Here's an example of a form with an action function"}},xP={region:bP,common:wP,user:EP,form:CP},TP={common:{selectLanguage:"选择语言",asia:{default:"亚洲",chineseSimple:"简体中文"},northAmerica:{default:"北美洲",english:"英语"}}},OP={common:{home:"主页",signIn:"登录",signUp:"注册",termOfService:"服务条款",and:"和",privacyPolicy:"隐私政策",createAccount:"创建账号",forgotPassword:"忘记密码",sendEmail:"发送邮件",logout:"退出",codeMirror:"代码仓库",openProject:"开源项目",datacap:"DataCap",page:"页面",page404:"404 页面未找到",pageNotFound:"页面未找到",backToHome:"返回首页",pageForbidden:"页面禁止访问",page403:"403 页面禁止访问",dashboard:"仪表盘"},tip:{signInInfo:"输入您的信息以登录您的帐户。",signInNoAccount:"没有帐户?",byCreateAccount:"通过创建账号,您同意我们",signUpInfo:"输入您的信息以创建账号。",signUpHasAccount:"已有账号?",forgotPasswordInfo:"输入您注册的邮箱以获取重置密码的链接。",inputAnyInfo:"输入任何信息即可",datacap:"DataCap 是数据转换、集成和可视化的集成软件。支持多种数据源,文件类型,大数据相关数据库,关系型数据库,NoSQL 数据库等。通过软件可以实现管理多种数据源,对该源下的数据进行各种操作转换,制作数据图表,监控数据源等各种功能。",pageNotFound:"Oops! 页面未找到!",pageForbidden:"Oops! 页面禁止访问!"}},SP={common:{username:"用户名",password:"密码",confirmPassword:"确认密码",continueWith:"或者继续使用",email:"邮箱",notification:"通知中心",pushNotification:"推送通知",markAllAsRead:"全部标为已读"},validator:{usernameRequired:"用户名为必填项",usernameLengthLeast:"用户名必须至少为 2 个字符",usernameLengthMost:"用户名最多只能是 20 个字符",passwordRequired:"密码为必填项",passwordLengthLeast:"密码必须至少为 6 个字符",passwordLengthMost:"密码最多只能是 20 个字符",passwordNotMatch:"密码不匹配",emailRequired:"邮箱为必填项",emailInvalid:"邮箱无效"},tip:{usernameHolder:"请输入您的用户名",passwordHolder:"请输入您的密码",confirmPasswordHolder:"请再次输入您的密码",emailHolder:"请输入您的邮箱",signIn:"在这里可以输入您的信息以登录您的帐户。",signUp:"在这里可以输入您的信息以创建账号。",unreadNotification:"您有 REPLACE_COUNT 个未读消息。",pushNotification:"向设备发送通知。"}},kP={common:{form:"表单",formBasic:"基础表单",formWithAction:"带操作功能表单",signInWithGoogle:"使用 Google 登录"},tip:{formBasic:"这是一个表单的基础示例",formWithAction:"这是一个带有操作功能的表单示例"}},MP={region:TP,common:OP,user:SP,form:kP},PP={en:xP,zhCn:MP},DP=(navigator.language||"en").toLocaleLowerCase(),Hm=Zx({fallbackLocale:"zhCn",globalInjection:!0,legacy:!1,silentFallbackWarn:!0,fallbackWarn:!1,silentTranslationWarn:!0,missingWarn:!1,locale:localStorage.getItem("lang")||DP.split("-")[0]||"en",messages:PP}),LP=()=>{uo.addNavigation(Jt("common.common.dashboard",void 0,"/dashboard",oE,Et.LEFT_TOP)),uo.addNavigation(Jt("common.common.dashboard",void 0,"/dashboard",void 0,Et.TOP,[],"common.common.dashboard",void 0));const e=Jt("common.common.signIn",void 0,"/auth/signin",rE,Et.TOP);uo.addNavigation(e);const t=Jt("common.common.signUp",void 0,"/auth/signup",sE,Et.TOP);uo.addNavigation(t);const n=Jt("common.common.datacap",void 0,"https://datacap.edurt.io",void 0,Et.TOP,void 0,void 0,"common.tip.datacap",!0),o=Jt("common.common.openProject",void 0,"/open-project",void 0,Et.TOP,[n],"common.common.openProject");uo.addNavigation(o);const r=Jt("common.common.page404",void 0,"/common/404",Z1,Et.LEFT_TOP),s=Jt("common.common.page403",void 0,"/common/403",nE,Et.LEFT_TOP),a=[r,s],i=Jt("common.common.page",a.length.toString(),"/pages",lE,Et.LEFT_TOP,a,void 0,"common.common.page");uo.addNavigation(i);const l=Jt("form.common.formBasic",void 0,"/forms/basic",yd,Et.LEFT_TOP),u=Jt("form.common.formWithAction",void 0,"/forms/withAction",yd,Et.LEFT_TOP),c=[l,u],d=Jt("form.common.form",c.length.toString(),"/forms",iE,Et.LEFT_TOP,c,void 0,"common.common.form");uo.addNavigation(d)},Jt=(e,t,n,o,r,s,a,i,l)=>({title:e,label:t,href:n,icon:o,position:r,group:a,description:i,children:s,external:l}),IP=()=>{const e={title:"Notification 001",description:"This is the description of the first notification",isRead:!1,createTime:"2024-01-01T00:00:00.000Z"};qr.addNotification(e);const t={title:"Notification 002",description:"This is the description of the second notification",isRead:!1,createTime:"2024-02-01T00:00:00.000Z"};qr.addNotification(t);const n={title:"Notification 003",description:"This is the description of the third notification",isRead:!1,createTime:"2024-03-01T00:00:00.000Z"};qr.addNotification(n);const o={title:"Notification 004",description:"This is the description of the fourth notification",isRead:!0,createTime:"2024-03-24T00:00:00.000Z"};qr.addNotification(o)};LP();IP();const Wr=l_(p_);Wr.use(pi);Wr.use(Hm);Wr.provide("$t",Hm.global.t);Wr.config.globalProperties.$dt=ne;Wr.provide("$dt",ne);Wr.mount("#app");export{hr as $,BP as A,G as B,pt as C,YP as D,VP as E,He as F,WP as G,UM as H,VM as I,jM as J,HM as K,Cu as L,Tu as M,vh as N,UP as O,wh as P,bh as Q,xu as R,jE as S,KE as T,GE as U,Sr as V,it as W,dt as X,ht as Y,Le as Z,Po as _,pi as a,NP as a0,kr as a1,bt as a2,Rf as a3,Un as a4,Tn as a5,Mr as a6,Kt as a7,Fa as a8,Wt as a9,S0 as aa,GM as ab,GP as ac,zg as ad,RP as ae,Xt as b,Q as c,A as d,pe as e,we as f,$ as g,ut as h,jt as i,N as j,je as k,YM as l,ae as m,Pt as n,k as o,F as p,Ye as q,V as r,Pe as s,$e as t,h as u,ql as v,T as w,Ke as x,Ze as y,FP as z}; diff --git a/index.html b/index.html new file mode 100644 index 00000000..a9790b5a --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + + + + + Shadcn UI Admin with vue3 + + + + +
+ +