@data-fair/app-calendar 1.0.2 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- import{f as F,h as U,a as q,i as z,u as G,g as H,j as J,V as K,e as X,d as S}from"./router-tttAuCuM.js";import{m as $,u as Q,V as p,f as W}from"./forwardRefs-Ba3A_63W.js";import{a6 as D,q as Z,a0 as ee,X as te,t as ae,v as ne,x as oe,Y as se,a2 as re,r as w,s as g,aD as ie,e as L,o as le,aE as ue,c as ce,A as me,B as s,z as B,a as ve,w as fe,n as de,C as ye,D as ke,E as be,I as Ve,J as Se,u as R,i as we}from"./index-BOM4rIEv.js";const I=Symbol.for("vuetify:layout");function ge(){const e=D(I);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Pe(e){const o=g(e());let t=-1;function a(){clearInterval(t)}function f(){a(),de(()=>o.value=e())}function d(i){const y=i?getComputedStyle(i):{transitionDuration:.2},l=parseFloat(y.transitionDuration)*1e3||200;if(a(),o.value<=0)return;const k=performance.now();t=window.setInterval(()=>{const b=performance.now()-k+l;o.value=Math.max(e()-b,0),o.value<=0&&a()},l)}return ve(a),{clear:a,time:o,start:d,reset:f}}const he=Z({multiLine:Boolean,text:String,timer:[Boolean,String],timeout:{type:[Number,String],default:5e3},vertical:Boolean,...F({location:"bottom"}),...U(),...ee(),...q(),...te(),...ae($({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),Te=ne()({name:"VSnackbar",props:he(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:t}=o;const a=oe(e,"modelValue"),{positionClasses:f}=z(e),{scopeId:d}=Q(),{themeClasses:i}=se(e),{colorClasses:y,colorStyles:l,variantClasses:k}=G(e),{roundedClasses:b}=re(e),u=Pe(()=>Number(e.timeout)),P=w(),h=w(),c=g(!1),T=g(0),_=w(),A=D(I,void 0);ie(()=>!!A,()=>{const n=ge();fe(()=>{_.value=n.mainStyles.value})}),L(a,m),L(()=>e.timeout,m),le(()=>{a.value&&m()});let V=-1;function m(){u.reset(),window.clearTimeout(V);const n=Number(e.timeout);if(!a.value||n===-1)return;const r=ue(h.value);u.start(r),V=window.setTimeout(()=>{a.value=!1},n)}function E(){u.reset(),window.clearTimeout(V)}function M(){c.value=!0,E()}function C(){c.value=!1,m()}function N(n){T.value=n.touches[0].clientY}function Y(n){Math.abs(T.value-n.changedTouches[0].clientY)>50&&(a.value=!1)}function j(){c.value&&C()}const O=ce(()=>e.location.split(" ").reduce((n,r)=>(n[`v-snackbar--${r}`]=!0,n),{}));return me(()=>{const n=p.filterProps(e),r=!!(t.default||t.text||e.text);return s(p,B({ref:P,class:["v-snackbar",{"v-snackbar--active":a.value,"v-snackbar--multi-line":e.multiLine&&!e.vertical,"v-snackbar--timer":!!e.timer,"v-snackbar--vertical":e.vertical},O.value,f.value,e.class],style:[_.value,e.style]},n,{modelValue:a.value,"onUpdate:modelValue":v=>a.value=v,contentProps:B({class:["v-snackbar__wrapper",i.value,y.value,b.value,k.value],style:[l.value],onPointerenter:M,onPointerleave:C},n.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0,onTouchstartPassive:N,onTouchend:Y,onAfterLeave:j},d),{default:()=>{var v,x;return[H(!1,"v-snackbar"),e.timer&&!c.value&&s("div",{key:"timer",class:"v-snackbar__timer"},[s(J,{ref:h,color:typeof e.timer=="string"?e.timer:"info",max:e.timeout,"model-value":u.time.value},null)]),r&&s("div",{key:"content",class:"v-snackbar__content",role:"status","aria-live":"polite"},[((v=t.text)==null?void 0:v.call(t))??e.text,(x=t.default)==null?void 0:x.call(t)]),t.actions&&s(K,{defaults:{VBtn:{variant:"text",ripple:!1,slim:!0}}},{default:()=>[s("div",{class:"v-snackbar__actions"},[t.actions({isActive:a})])]})]},activator:t.activator})}),W({},P)}}),pe={__name:"SnackBar",setup(e){return(o,t)=>(ye(),ke(Te,{modelValue:R(S),"onUpdate:modelValue":t[0]||(t[0]=a=>we(S)?S.value=a:null),timeout:"5000",color:"red"},{default:be(()=>[Ve("div",null,Se(R(X)),1)]),_:1},8,["modelValue"]))}};export{pe as default};
1
+ import{f as F,h as U,a as q,i as z,u as G,g as H,j as J,V as K,e as X,d as S}from"./router-DaBOc3fQ.js";import{m as $,u as Q,V as p,f as W}from"./forwardRefs-Nmk76dzH.js";import{a6 as D,q as Z,a0 as ee,X as te,t as ae,v as ne,x as oe,Y as se,a2 as re,r as w,s as g,aD as ie,e as L,o as le,aE as ue,c as ce,A as me,B as s,z as B,a as ve,w as fe,n as de,C as ye,D as ke,E as be,I as Ve,J as Se,u as R,i as we}from"./index-CNx65Vgw.js";const I=Symbol.for("vuetify:layout");function ge(){const e=D(I);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Pe(e){const o=g(e());let t=-1;function a(){clearInterval(t)}function f(){a(),de(()=>o.value=e())}function d(i){const y=i?getComputedStyle(i):{transitionDuration:.2},l=parseFloat(y.transitionDuration)*1e3||200;if(a(),o.value<=0)return;const k=performance.now();t=window.setInterval(()=>{const b=performance.now()-k+l;o.value=Math.max(e()-b,0),o.value<=0&&a()},l)}return ve(a),{clear:a,time:o,start:d,reset:f}}const he=Z({multiLine:Boolean,text:String,timer:[Boolean,String],timeout:{type:[Number,String],default:5e3},vertical:Boolean,...F({location:"bottom"}),...U(),...ee(),...q(),...te(),...ae($({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),Te=ne()({name:"VSnackbar",props:he(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:t}=o;const a=oe(e,"modelValue"),{positionClasses:f}=z(e),{scopeId:d}=Q(),{themeClasses:i}=se(e),{colorClasses:y,colorStyles:l,variantClasses:k}=G(e),{roundedClasses:b}=re(e),u=Pe(()=>Number(e.timeout)),P=w(),h=w(),c=g(!1),T=g(0),_=w(),A=D(I,void 0);ie(()=>!!A,()=>{const n=ge();fe(()=>{_.value=n.mainStyles.value})}),L(a,m),L(()=>e.timeout,m),le(()=>{a.value&&m()});let V=-1;function m(){u.reset(),window.clearTimeout(V);const n=Number(e.timeout);if(!a.value||n===-1)return;const r=ue(h.value);u.start(r),V=window.setTimeout(()=>{a.value=!1},n)}function E(){u.reset(),window.clearTimeout(V)}function M(){c.value=!0,E()}function C(){c.value=!1,m()}function N(n){T.value=n.touches[0].clientY}function Y(n){Math.abs(T.value-n.changedTouches[0].clientY)>50&&(a.value=!1)}function j(){c.value&&C()}const O=ce(()=>e.location.split(" ").reduce((n,r)=>(n[`v-snackbar--${r}`]=!0,n),{}));return me(()=>{const n=p.filterProps(e),r=!!(t.default||t.text||e.text);return s(p,B({ref:P,class:["v-snackbar",{"v-snackbar--active":a.value,"v-snackbar--multi-line":e.multiLine&&!e.vertical,"v-snackbar--timer":!!e.timer,"v-snackbar--vertical":e.vertical},O.value,f.value,e.class],style:[_.value,e.style]},n,{modelValue:a.value,"onUpdate:modelValue":v=>a.value=v,contentProps:B({class:["v-snackbar__wrapper",i.value,y.value,b.value,k.value],style:[l.value],onPointerenter:M,onPointerleave:C},n.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0,onTouchstartPassive:N,onTouchend:Y,onAfterLeave:j},d),{default:()=>{var v,x;return[H(!1,"v-snackbar"),e.timer&&!c.value&&s("div",{key:"timer",class:"v-snackbar__timer"},[s(J,{ref:h,color:typeof e.timer=="string"?e.timer:"info",max:e.timeout,"model-value":u.time.value},null)]),r&&s("div",{key:"content",class:"v-snackbar__content",role:"status","aria-live":"polite"},[((v=t.text)==null?void 0:v.call(t))??e.text,(x=t.default)==null?void 0:x.call(t)]),t.actions&&s(K,{defaults:{VBtn:{variant:"text",ripple:!1,slim:!0}}},{default:()=>[s("div",{class:"v-snackbar__actions"},[t.actions({isActive:a})])]})]},activator:t.activator})}),W({},P)}}),pe={__name:"SnackBar",setup(e){return(o,t)=>(ye(),ke(Te,{modelValue:R(S),"onUpdate:modelValue":t[0]||(t[0]=a=>we(S)?S.value=a:null),timeout:"5000",color:"red"},{default:be(()=>[Ve("div",null,Se(R(X)),1)]),_:1},8,["modelValue"]))}};export{pe as default};
@@ -1 +1 @@
1
- import{v as S,aO as ee,M as bt,O as I,h as fe,aL as ht,r as me,U as Ct,aa as ge,e as ye,ac as kt,q as k,aP as te,c as m,i as Re,a0 as q,X as G,Y as M,a2 as X,Z as pe,_ as T,A as x,B as i,ab as Oe,y as St,a7 as je,a6 as _t,f as Vt,x as Ge,o as It,aQ as wt,W as xt,a9 as Lt,aR as Pt,u as At,z as Me,aH as Bt,aS as Tt,aj as F,N as $,aT as Et,ai as Q,aU as Nt,aV as $t,w as zt,n as Rt,av as pt,aW as Pe,af as be,ag as he,a3 as De,ao as Ue,F as Ae,a4 as Ot,aX as ne,a1 as jt}from"./index-BOM4rIEv.js";import{m as L,a as K,s as Gt,j as Mt,f as Ce,h as ke,b as Fe,t as Se,i as _e,c as He,u as ae,g as le,V as N}from"./router-tttAuCuM.js";function We(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return S()({name:n??ee(bt(e.replace(/__/g,"-"))),props:{tag:{type:String,default:a},...I()},setup(t,l){let{slots:s}=l;return()=>{var c;return fe(t.tag,{class:[e,t.class],style:t.style},(c=s.default)==null?void 0:c.call(s))}}})}function Dt(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=ht(),t=me();if(Ct){const l=new ResizeObserver(s=>{e==null||e(s,l),s.length&&(a==="content"?t.value=s[0].contentRect:t.value=s[0].target.getBoundingClientRect())});ge(()=>{l.disconnect()}),ye(()=>n.el,(s,c)=>{c&&(l.unobserve(c),t.value=void 0),s&&l.observe(s)},{flush:"post"})}return{resizeRef:n,contentRect:kt(t)}}const se=k({border:[Boolean,Number,String]},"border");function ie(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te();return{borderClasses:m(()=>{const t=Re(e)?e.value:e.border,l=[];if(t===!0||t==="")l.push(`${a}--border`);else if(typeof t=="string"||t===0)for(const s of String(t).split(" "))l.push(`border-${s}`);return l})}}const Ut=[null,"default","comfortable","compact"],H=k({density:{type:String,default:"default",validator:e=>Ut.includes(e)}},"density");function J(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te();return{densityClasses:m(()=>`${a}--density-${e.density}`)}}const re=k({elevation:{type:[Number,String],validator(e){const a=parseInt(e);return!isNaN(a)&&a>=0&&a<=24}}},"elevation");function oe(e){return{elevationClasses:m(()=>{const n=Re(e)?e.value:e.elevation,t=[];return n==null||t.push(`elevation-${n}`),t})}}const Ye=k({baseColor:String,divided:Boolean,...se(),...I(),...H(),...re(),...q(),...L(),...G(),...K()},"VBtnGroup"),Be=S()({name:"VBtnGroup",props:Ye(),setup(e,a){let{slots:n}=a;const{themeClasses:t}=M(e),{densityClasses:l}=J(e),{borderClasses:s}=ie(e),{elevationClasses:c}=oe(e),{roundedClasses:u}=X(e);pe({VBtn:{height:"auto",baseColor:T(e,"baseColor"),color:T(e,"color"),density:T(e,"density"),flat:!0,variant:T(e,"variant")}}),x(()=>i(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},t.value,s.value,l.value,c.value,u.value,e.class],style:e.style},n))}}),Ft=k({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Ht=k({value:null,disabled:Boolean,selectedClass:String},"group-item");function Wt(e,a){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const t=Oe("useGroupItem");if(!t)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const l=St();je(Symbol.for(`${a.description}:id`),l);const s=_t(a,null);if(!s){if(!n)return s;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${a.description}`)}const c=T(e,"value"),u=m(()=>!!(s.disabled.value||e.disabled));s.register({id:l,value:c,disabled:u},t),ge(()=>{s.unregister(l)});const v=m(()=>s.isSelected(l)),g=m(()=>s.items.value[0].id===l),y=m(()=>s.items.value[s.items.value.length-1].id===l),h=m(()=>v.value&&[s.selectedClass.value,e.selectedClass]);return ye(v,r=>{t.emit("group:selected",{value:r})},{flush:"sync"}),{id:l,isSelected:v,isFirst:g,isLast:y,toggle:()=>s.select(l,!v.value),select:r=>s.select(l,r),selectedClass:h,value:c,disabled:u,group:s}}function Yt(e,a){let n=!1;const t=Vt([]),l=Ge(e,"modelValue",[],r=>r==null?[]:qe(t,Lt(r)),r=>{const d=Xt(t,r);return e.multiple?d:d[0]}),s=Oe("useGroup");function c(r,d){const b=r,o=Symbol.for(`${a.description}:id`),C=Pt(o,s==null?void 0:s.vnode).indexOf(d);At(b.value)==null&&(b.value=C,b.useIndexAsValue=!0),C>-1?t.splice(C,0,b):t.push(b)}function u(r){if(n)return;v();const d=t.findIndex(b=>b.id===r);t.splice(d,1)}function v(){const r=t.find(d=>!d.disabled);r&&e.mandatory==="force"&&!l.value.length&&(l.value=[r.id])}It(()=>{v()}),ge(()=>{n=!0}),wt(()=>{for(let r=0;r<t.length;r++)t[r].useIndexAsValue&&(t[r].value=r)});function g(r,d){const b=t.find(o=>o.id===r);if(!(d&&(b!=null&&b.disabled)))if(e.multiple){const o=l.value.slice(),f=o.findIndex(_=>_===r),C=~f;if(d=d??!C,C&&e.mandatory&&o.length<=1||!C&&e.max!=null&&o.length+1>e.max)return;f<0&&d?o.push(r):f>=0&&!d&&o.splice(f,1),l.value=o}else{const o=l.value.includes(r);if(e.mandatory&&o)return;l.value=d??!o?[r]:[]}}function y(r){if(e.multiple,l.value.length){const d=l.value[0],b=t.findIndex(C=>C.id===d);let o=(b+r)%t.length,f=t[o];for(;f.disabled&&o!==b;)o=(o+r)%t.length,f=t[o];if(f.disabled)return;l.value=[t[o].id]}else{const d=t.find(b=>!b.disabled);d&&(l.value=[d.id])}}const h={register:c,unregister:u,selected:l,select:g,disabled:T(e,"disabled"),prev:()=>y(t.length-1),next:()=>y(1),isSelected:r=>l.value.includes(r),selectedClass:m(()=>e.selectedClass),items:m(()=>t),getItemIndex:r=>qt(t,r)};return je(a,h),h}function qt(e,a){const n=qe(e,[a]);return n.length?e.findIndex(t=>t.id===n[0]):-1}function qe(e,a){const n=[];return a.forEach(t=>{const l=e.find(c=>xt(t,c.value)),s=e[t];(l==null?void 0:l.value)!=null?n.push(l.id):s!=null&&n.push(s.id)}),n}function Xt(e,a){const n=[];return a.forEach(t=>{const l=e.findIndex(s=>s.id===t);if(~l){const s=e[l];n.push(s.value!=null?s.value:l)}}),n}const Xe=Symbol.for("vuetify:v-btn-toggle"),Kt=k({...Ye(),...Ft()},"VBtnToggle");S()({name:"VBtnToggle",props:Kt(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:n}=a;const{isSelected:t,next:l,prev:s,select:c,selected:u}=Yt(e,Xe);return x(()=>{const v=Be.filterProps(e);return i(Be,Me({class:["v-btn-toggle",e.class]},v,{style:e.style}),{default:()=>{var g;return[(g=n.default)==null?void 0:g.call(n,{isSelected:t,next:l,prev:s,select:c,selected:u})]}})}),{next:l,prev:s,select:c}}});const Jt=["x-small","small","default","large","x-large"],ce=k({size:{type:[String,Number],default:"default"}},"size");function ue(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te();return Bt(()=>{let n,t;return Tt(Jt,e.size)?n=`${a}--size-${e.size}`:e.size&&(t={width:F(e.size),height:F(e.size)}),{sizeClasses:n,sizeStyles:t}})}const Qt=k({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:$,...I(),...ce(),...L({tag:"i"}),...G()},"VIcon"),j=S()({name:"VIcon",props:Qt(),setup(e,a){let{attrs:n,slots:t}=a;const l=me(),{themeClasses:s}=M(e),{iconData:c}=Et(m(()=>l.value||e.icon)),{sizeClasses:u}=ue(e),{textColorClasses:v,textColorStyles:g}=Q(T(e,"color"));return x(()=>{var r,d;const y=(r=t.default)==null?void 0:r.call(t);y&&(l.value=(d=Nt(y).filter(b=>b.type===$t&&b.children&&typeof b.children=="string")[0])==null?void 0:d.children);const h=!!(n.onClick||n.onClickOnce);return i(c.value.component,{tag:e.tag,icon:c.value.icon,class:["v-icon","notranslate",s.value,u.value,v.value,{"v-icon--clickable":h,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[u.value?void 0:{fontSize:F(e.size),height:F(e.size),width:F(e.size)},g.value,e.style],role:h?"button":void 0,"aria-hidden":!h,tabindex:h?e.disabled?-1:0:void 0},{default:()=>[y]})}),{}}}),Zt=k({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...I(),...ce(),...L({tag:"div"}),...G()},"VProgressCircular"),en=S()({name:"VProgressCircular",props:Zt(),setup(e,a){let{slots:n}=a;const t=20,l=2*Math.PI*t,s=me(),{themeClasses:c}=M(e),{sizeClasses:u,sizeStyles:v}=ue(e),{textColorClasses:g,textColorStyles:y}=Q(T(e,"color")),{textColorClasses:h,textColorStyles:r}=Q(T(e,"bgColor")),{intersectionRef:d,isIntersecting:b}=Gt(),{resizeRef:o,contentRect:f}=Dt(),C=m(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),_=m(()=>Number(e.width)),z=m(()=>v.value?Number(e.size):f.value?f.value.width:Math.max(_.value,32)),P=m(()=>t/(1-_.value/z.value)*2),A=m(()=>_.value/z.value*P.value),p=m(()=>F((100-C.value)/100*l));return zt(()=>{d.value=s.value,o.value=s.value}),x(()=>i(e.tag,{ref:s,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":b.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},c.value,u.value,g.value,e.class],style:[v.value,y.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:C.value},{default:()=>[i("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${P.value} ${P.value}`},[i("circle",{class:["v-progress-circular__underlay",h.value],style:r.value,fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":A.value,"stroke-dasharray":l,"stroke-dashoffset":0},null),i("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":A.value,"stroke-dasharray":l,"stroke-dashoffset":p.value},null)]),n.default&&i("div",{class:"v-progress-circular__content"},[n.default({value:C.value})])]})),{}}}),Ke=k({loading:[Boolean,String]},"loader");function Je(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te();return{loaderClasses:m(()=>({[`${a}--loading`]:e.loading}))}}function tn(e,a){var t;let{slots:n}=a;return i("div",{class:`${e.name}__loader`},[((t=n.default)==null?void 0:t.call(n,{color:e.color,isActive:e.active}))||i(Mt,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}function nn(e,a){ye(()=>{var n;return(n=e.isActive)==null?void 0:n.value},n=>{e.isLink.value&&n&&a&&Rt(()=>{a(!0)})},{immediate:!0})}const de=Symbol("rippleStop"),an=80;function Te(e,a){e.style.transform=a,e.style.webkitTransform=a}function ve(e){return e.constructor.name==="TouchEvent"}function Qe(e){return e.constructor.name==="KeyboardEvent"}const ln=function(e,a){var h;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t=0,l=0;if(!Qe(e)){const r=a.getBoundingClientRect(),d=ve(e)?e.touches[e.touches.length-1]:e;t=d.clientX-r.left,l=d.clientY-r.top}let s=0,c=.3;(h=a._ripple)!=null&&h.circle?(c=.15,s=a.clientWidth/2,s=n.center?s:s+Math.sqrt((t-s)**2+(l-s)**2)/4):s=Math.sqrt(a.clientWidth**2+a.clientHeight**2)/2;const u=`${(a.clientWidth-s*2)/2}px`,v=`${(a.clientHeight-s*2)/2}px`,g=n.center?u:`${t-s}px`,y=n.center?v:`${l-s}px`;return{radius:s,scale:c,x:g,y,centerX:u,centerY:v}},Z={show(e,a){var d;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((d=a==null?void 0:a._ripple)!=null&&d.enabled))return;const t=document.createElement("span"),l=document.createElement("span");t.appendChild(l),t.className="v-ripple__container",n.class&&(t.className+=` ${n.class}`);const{radius:s,scale:c,x:u,y:v,centerX:g,centerY:y}=ln(e,a,n),h=`${s*2}px`;l.className="v-ripple__animation",l.style.width=h,l.style.height=h,a.appendChild(t);const r=window.getComputedStyle(a);r&&r.position==="static"&&(a.style.position="relative",a.dataset.previousPosition="static"),l.classList.add("v-ripple__animation--enter"),l.classList.add("v-ripple__animation--visible"),Te(l,`translate(${u}, ${v}) scale3d(${c},${c},${c})`),l.dataset.activated=String(performance.now()),setTimeout(()=>{l.classList.remove("v-ripple__animation--enter"),l.classList.add("v-ripple__animation--in"),Te(l,`translate(${g}, ${y}) scale3d(1,1,1)`)},0)},hide(e){var s;if(!((s=e==null?void 0:e._ripple)!=null&&s.enabled))return;const a=e.getElementsByClassName("v-ripple__animation");if(a.length===0)return;const n=a[a.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const t=performance.now()-Number(n.dataset.activated),l=Math.max(250-t,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var u;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((u=n.parentNode)==null?void 0:u.parentNode)===e&&e.removeChild(n.parentNode)},300)},l)}};function Ze(e){return typeof e>"u"||!!e}function W(e){const a={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[de])){if(e[de]=!0,ve(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(a.center=n._ripple.centered||Qe(e),n._ripple.class&&(a.class=n._ripple.class),ve(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Z.show(e,n,a)},n._ripple.showTimer=window.setTimeout(()=>{var t;(t=n==null?void 0:n._ripple)!=null&&t.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},an)}else Z.show(e,n,a)}}function Ee(e){e[de]=!0}function w(e){const a=e.currentTarget;if(a!=null&&a._ripple){if(window.clearTimeout(a._ripple.showTimer),e.type==="touchend"&&a._ripple.showTimerCommit){a._ripple.showTimerCommit(),a._ripple.showTimerCommit=null,a._ripple.showTimer=window.setTimeout(()=>{w(e)});return}window.setTimeout(()=>{a._ripple&&(a._ripple.touched=!1)}),Z.hide(a)}}function et(e){const a=e.currentTarget;a!=null&&a._ripple&&(a._ripple.showTimerCommit&&(a._ripple.showTimerCommit=null),window.clearTimeout(a._ripple.showTimer))}let Y=!1;function tt(e){!Y&&(e.keyCode===Pe.enter||e.keyCode===Pe.space)&&(Y=!0,W(e))}function nt(e){Y=!1,w(e)}function at(e){Y&&(Y=!1,w(e))}function lt(e,a,n){const{value:t,modifiers:l}=a,s=Ze(t);if(s||Z.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=s,e._ripple.centered=l.center,e._ripple.circle=l.circle,pt(t)&&t.class&&(e._ripple.class=t.class),s&&!n){if(l.stop){e.addEventListener("touchstart",Ee,{passive:!0}),e.addEventListener("mousedown",Ee);return}e.addEventListener("touchstart",W,{passive:!0}),e.addEventListener("touchend",w,{passive:!0}),e.addEventListener("touchmove",et,{passive:!0}),e.addEventListener("touchcancel",w),e.addEventListener("mousedown",W),e.addEventListener("mouseup",w),e.addEventListener("mouseleave",w),e.addEventListener("keydown",tt),e.addEventListener("keyup",nt),e.addEventListener("blur",at),e.addEventListener("dragstart",w,{passive:!0})}else!s&&n&&st(e)}function st(e){e.removeEventListener("mousedown",W),e.removeEventListener("touchstart",W),e.removeEventListener("touchend",w),e.removeEventListener("touchmove",et),e.removeEventListener("touchcancel",w),e.removeEventListener("mouseup",w),e.removeEventListener("mouseleave",w),e.removeEventListener("keydown",tt),e.removeEventListener("keyup",nt),e.removeEventListener("dragstart",w),e.removeEventListener("blur",at)}function sn(e,a){lt(e,a,!1)}function rn(e){delete e._ripple,st(e)}function on(e,a){if(a.value===a.oldValue)return;const n=Ze(a.oldValue);lt(e,a,n)}const it={mounted:sn,unmounted:rn,updated:on},cn=k({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:Xe},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:$,appendIcon:$,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...se(),...I(),...H(),...be(),...re(),...Ht(),...Ke(),...Ce(),...ke(),...q(),...Fe(),...ce(),...L({tag:"button"}),...G(),...K({variant:"elevated"})},"VBtn"),un=S()({name:"VBtn",props:cn(),emits:{"group:selected":e=>!0},setup(e,a){let{attrs:n,slots:t}=a;const{themeClasses:l}=M(e),{borderClasses:s}=ie(e),{densityClasses:c}=J(e),{dimensionStyles:u}=he(e),{elevationClasses:v}=oe(e),{loaderClasses:g}=Je(e),{locationStyles:y}=Se(e),{positionClasses:h}=_e(e),{roundedClasses:r}=X(e),{sizeClasses:d,sizeStyles:b}=ue(e),o=Wt(e,e.symbol,!1),f=He(e,n),C=m(()=>{var V;return e.active!==void 0?e.active:f.isLink.value?(V=f.isActive)==null?void 0:V.value:o==null?void 0:o.isSelected.value}),_=m(()=>C.value?e.activeColor??e.color:e.color),z=m(()=>{var B,O;return{color:(o==null?void 0:o.isSelected.value)&&(!f.isLink.value||((B=f.isActive)==null?void 0:B.value))||!o||((O=f.isActive)==null?void 0:O.value)?_.value??e.baseColor:e.baseColor,variant:e.variant}}),{colorClasses:P,colorStyles:A,variantClasses:p}=ae(z),R=m(()=>(o==null?void 0:o.disabled.value)||e.disabled),D=m(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),U=m(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function E(V){var B;R.value||f.isLink.value&&(V.metaKey||V.ctrlKey||V.shiftKey||V.button!==0||n.target==="_blank")||((B=f.navigate)==null||B.call(f,V),o==null||o.toggle())}return nn(f,o==null?void 0:o.select),x(()=>{const V=f.isLink.value?"a":e.tag,B=!!(e.prependIcon||t.prepend),O=!!(e.appendIcon||t.append),we=!!(e.icon&&e.icon!==!0);return De(i(V,{type:V==="a"?void 0:"button",class:["v-btn",o==null?void 0:o.selectedClass.value,{"v-btn--active":C.value,"v-btn--block":e.block,"v-btn--disabled":R.value,"v-btn--elevated":D.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},l.value,s.value,P.value,c.value,v.value,g.value,h.value,r.value,d.value,p.value,e.class],style:[A.value,u.value,y.value,b.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:R.value||void 0,href:f.href.value,tabindex:e.loading||e.readonly?-1:void 0,onClick:E,value:U.value},{default:()=>{var xe;return[le(!0,"v-btn"),!e.icon&&B&&i("span",{key:"prepend",class:"v-btn__prepend"},[t.prepend?i(N,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},t.prepend):i(j,{key:"prepend-icon",icon:e.prependIcon},null)]),i("span",{class:"v-btn__content","data-no-activator":""},[!t.default&&we?i(j,{key:"content-icon",icon:e.icon},null):i(N,{key:"content-defaults",disabled:!we,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var Le;return[((Le=t.default)==null?void 0:Le.call(t))??e.text]}})]),!e.icon&&O&&i("span",{key:"append",class:"v-btn__append"},[t.append?i(N,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},t.append):i(j,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&i("span",{key:"loader",class:"v-btn__loader"},[((xe=t.loader)==null?void 0:xe.call(t))??i(en,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}}),[[it,!R.value&&e.ripple,"",{center:!!e.icon}]])}),{group:o}}}),dn=S()({name:"VCardActions",props:I(),setup(e,a){let{slots:n}=a;return pe({VBtn:{slim:!0,variant:"text"}}),x(()=>{var t;return i("div",{class:["v-card-actions",e.class],style:e.style},[(t=n.default)==null?void 0:t.call(n)])}),{}}}),vn=k({opacity:[Number,String],...I(),...L()},"VCardSubtitle"),fn=S()({name:"VCardSubtitle",props:vn(),setup(e,a){let{slots:n}=a;return x(()=>i(e.tag,{class:["v-card-subtitle",e.class],style:[{"--v-card-subtitle-opacity":e.opacity},e.style]},n)),{}}}),mn=We("v-card-title"),gn=k({start:Boolean,end:Boolean,icon:$,image:String,text:String,...se(),...I(),...H(),...q(),...ce(),...L(),...G(),...K({variant:"flat"})},"VAvatar"),Ne=S()({name:"VAvatar",props:gn(),setup(e,a){let{slots:n}=a;const{themeClasses:t}=M(e),{borderClasses:l}=ie(e),{colorClasses:s,colorStyles:c,variantClasses:u}=ae(e),{densityClasses:v}=J(e),{roundedClasses:g}=X(e),{sizeClasses:y,sizeStyles:h}=ue(e);return x(()=>i(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},t.value,l.value,s.value,v.value,g.value,y.value,u.value,e.class],style:[c.value,h.value,e.style]},{default:()=>[n.default?i(N,{key:"content-defaults",defaults:{VImg:{cover:!0,src:e.image},VIcon:{icon:e.icon}}},{default:()=>[n.default()]}):e.image?i(Ue,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?i(j,{key:"icon",icon:e.icon},null):e.text,le(!1,"v-avatar")]})),{}}}),yn=k({appendAvatar:String,appendIcon:$,prependAvatar:String,prependIcon:$,subtitle:[String,Number],title:[String,Number],...I(),...H()},"VCardItem"),bn=S()({name:"VCardItem",props:yn(),setup(e,a){let{slots:n}=a;return x(()=>{var g;const t=!!(e.prependAvatar||e.prependIcon),l=!!(t||n.prepend),s=!!(e.appendAvatar||e.appendIcon),c=!!(s||n.append),u=!!(e.title!=null||n.title),v=!!(e.subtitle!=null||n.subtitle);return i("div",{class:["v-card-item",e.class],style:e.style},[l&&i("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?i(N,{key:"prepend-defaults",disabled:!t,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},n.prepend):i(Ae,null,[e.prependAvatar&&i(Ne,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&i(j,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),i("div",{class:"v-card-item__content"},[u&&i(mn,{key:"title"},{default:()=>{var y;return[((y=n.title)==null?void 0:y.call(n))??e.title]}}),v&&i(fn,{key:"subtitle"},{default:()=>{var y;return[((y=n.subtitle)==null?void 0:y.call(n))??e.subtitle]}}),(g=n.default)==null?void 0:g.call(n)]),c&&i("div",{key:"append",class:"v-card-item__append"},[n.append?i(N,{key:"append-defaults",disabled:!s,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},n.append):i(Ae,null,[e.appendIcon&&i(j,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&i(Ne,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])])}),{}}}),hn=k({opacity:[Number,String],...I(),...L()},"VCardText"),Cn=S()({name:"VCardText",props:hn(),setup(e,a){let{slots:n}=a;return x(()=>i(e.tag,{class:["v-card-text",e.class],style:[{"--v-card-text-opacity":e.opacity},e.style]},n)),{}}}),kn=k({appendAvatar:String,appendIcon:$,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:$,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...se(),...I(),...H(),...be(),...re(),...Ke(),...Ce(),...ke(),...q(),...Fe(),...L(),...G(),...K({variant:"elevated"})},"VCard"),zn=S()({name:"VCard",directives:{Ripple:it},props:kn(),setup(e,a){let{attrs:n,slots:t}=a;const{themeClasses:l}=M(e),{borderClasses:s}=ie(e),{colorClasses:c,colorStyles:u,variantClasses:v}=ae(e),{densityClasses:g}=J(e),{dimensionStyles:y}=he(e),{elevationClasses:h}=oe(e),{loaderClasses:r}=Je(e),{locationStyles:d}=Se(e),{positionClasses:b}=_e(e),{roundedClasses:o}=X(e),f=He(e,n),C=m(()=>e.link!==!1&&f.isLink.value),_=m(()=>!e.disabled&&e.link!==!1&&(e.link||f.isClickable.value));return x(()=>{const z=C.value?"a":e.tag,P=!!(t.title||e.title!=null),A=!!(t.subtitle||e.subtitle!=null),p=P||A,R=!!(t.append||e.appendAvatar||e.appendIcon),D=!!(t.prepend||e.prependAvatar||e.prependIcon),U=!!(t.image||e.image),E=p||D||R,V=!!(t.text||e.text!=null);return De(i(z,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":_.value},l.value,s.value,c.value,g.value,h.value,r.value,b.value,o.value,v.value,e.class],style:[u.value,y.value,d.value,e.style],href:f.href.value,onClick:_.value&&f.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var B;return[U&&i("div",{key:"image",class:"v-card__image"},[t.image?i(N,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},t.image):i(Ue,{key:"image-img",cover:!0,src:e.image},null)]),i(tn,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:t.loader}),E&&i(bn,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:t.item,prepend:t.prepend,title:t.title,subtitle:t.subtitle,append:t.append}),V&&i(Cn,{key:"text"},{default:()=>{var O;return[((O=t.text)==null?void 0:O.call(t))??e.text]}}),(B=t.default)==null?void 0:B.call(t),t.actions&&i(dn,null,{default:t.actions}),le(_.value,"v-card")]}}),[[Ot("ripple"),_.value&&e.ripple]])}),{}}}),rt=ne.reduce((e,a)=>(e[a]={type:[Boolean,String,Number],default:!1},e),{}),ot=ne.reduce((e,a)=>{const n="offset"+ee(a);return e[n]={type:[String,Number],default:null},e},{}),ct=ne.reduce((e,a)=>{const n="order"+ee(a);return e[n]={type:[String,Number],default:null},e},{}),$e={col:Object.keys(rt),offset:Object.keys(ot),order:Object.keys(ct)};function Sn(e,a,n){let t=e;if(!(n==null||n===!1)){if(a){const l=a.replace(e,"");t+=`-${l}`}return e==="col"&&(t="v-"+t),e==="col"&&(n===""||n===!0)||(t+=`-${n}`),t.toLowerCase()}}const _n=["auto","start","end","center","baseline","stretch"],Vn=k({cols:{type:[Boolean,String,Number],default:!1},...rt,offset:{type:[String,Number],default:null},...ot,order:{type:[String,Number],default:null},...ct,alignSelf:{type:String,default:null,validator:e=>_n.includes(e)},...I(),...L()},"VCol"),Rn=S()({name:"VCol",props:Vn(),setup(e,a){let{slots:n}=a;const t=m(()=>{const l=[];let s;for(s in $e)$e[s].forEach(u=>{const v=e[u],g=Sn(s,u,v);g&&l.push(g)});const c=l.some(u=>u.startsWith("v-col-"));return l.push({"v-col":!c||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),l});return()=>{var l;return fe(e.tag,{class:[t.value,e.class],style:e.style},(l=n.default)==null?void 0:l.call(n))}}}),Ve=["start","end","center"],ut=["space-between","space-around","space-evenly"];function Ie(e,a){return ne.reduce((n,t)=>{const l=e+ee(t);return n[l]=a(),n},{})}const In=[...Ve,"baseline","stretch"],dt=e=>In.includes(e),vt=Ie("align",()=>({type:String,default:null,validator:dt})),wn=[...Ve,...ut],ft=e=>wn.includes(e),mt=Ie("justify",()=>({type:String,default:null,validator:ft})),xn=[...Ve,...ut,"stretch"],gt=e=>xn.includes(e),yt=Ie("alignContent",()=>({type:String,default:null,validator:gt})),ze={align:Object.keys(vt),justify:Object.keys(mt),alignContent:Object.keys(yt)},Ln={align:"align",justify:"justify",alignContent:"align-content"};function Pn(e,a,n){let t=Ln[e];if(n!=null){if(a){const l=a.replace(e,"");t+=`-${l}`}return t+=`-${n}`,t.toLowerCase()}}const An=k({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:dt},...vt,justify:{type:String,default:null,validator:ft},...mt,alignContent:{type:String,default:null,validator:gt},...yt,...I(),...L()},"VRow"),pn=S()({name:"VRow",props:An(),setup(e,a){let{slots:n}=a;const t=m(()=>{const l=[];let s;for(s in ze)ze[s].forEach(c=>{const u=e[c],v=Pn(s,c,u);v&&l.push(v)});return l.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),l});return()=>{var l;return fe(e.tag,{class:["v-row",t.value,e.class],style:e.style},(l=n.default)==null?void 0:l.call(n))}}}),Bn=We("v-alert-title"),Tn=["success","info","warning","error"],En=k({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:$,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>Tn.includes(e)},...I(),...H(),...be(),...re(),...Ce(),...ke(),...q(),...L(),...G(),...K({variant:"flat"})},"VAlert"),On=S()({name:"VAlert",props:En(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{emit:n,slots:t}=a;const l=Ge(e,"modelValue"),s=m(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),c=m(()=>({color:e.color??e.type,variant:e.variant})),{themeClasses:u}=M(e),{colorClasses:v,colorStyles:g,variantClasses:y}=ae(c),{densityClasses:h}=J(e),{dimensionStyles:r}=he(e),{elevationClasses:d}=oe(e),{locationStyles:b}=Se(e),{positionClasses:o}=_e(e),{roundedClasses:f}=X(e),{textColorClasses:C,textColorStyles:_}=Q(T(e,"borderColor")),{t:z}=jt(),P=m(()=>({"aria-label":z(e.closeLabel),onClick(A){l.value=!1,n("click:close",A)}}));return()=>{const A=!!(t.prepend||s.value),p=!!(t.title||e.title),R=!!(t.close||e.closable);return l.value&&i(e.tag,{class:["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},u.value,v.value,h.value,d.value,o.value,f.value,y.value,e.class],style:[g.value,r.value,b.value,e.style],role:"alert"},{default:()=>{var D,U;return[le(!1,"v-alert"),e.border&&i("div",{key:"border",class:["v-alert__border",C.value],style:_.value},null),A&&i("div",{key:"prepend",class:"v-alert__prepend"},[t.prepend?i(N,{key:"prepend-defaults",disabled:!s.value,defaults:{VIcon:{density:e.density,icon:s.value,size:e.prominent?44:28}}},t.prepend):i(j,{key:"prepend-icon",density:e.density,icon:s.value,size:e.prominent?44:28},null)]),i("div",{class:"v-alert__content"},[p&&i(Bn,{key:"title"},{default:()=>{var E;return[((E=t.title)==null?void 0:E.call(t))??e.title]}}),((D=t.text)==null?void 0:D.call(t))??e.text,(U=t.default)==null?void 0:U.call(t)]),t.append&&i("div",{key:"append",class:"v-alert__append"},[t.append()]),R&&i("div",{key:"close",class:"v-alert__close"},[t.close?i(N,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var E;return[(E=t.close)==null?void 0:E.call(t,{props:P.value})]}}):i(un,Me({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},P.value),null)])]}})}}});export{cn as A,tn as L,it as R,un as V,j as a,dn as b,We as c,Dt as d,se as e,H as f,re as g,Ht as h,ce as i,ie as j,J as k,oe as l,Ft as m,ue as n,Wt as o,Ne as p,mn as q,Cn as r,zn as s,On as t,Yt as u,pn as v,Rn as w,en as x,Ke as y,Je as z};
1
+ import{v as S,aO as ee,M as bt,O as I,h as fe,aL as ht,r as me,U as Ct,aa as ge,e as ye,ac as kt,q as k,aP as te,c as m,i as Re,a0 as q,X as G,Y as M,a2 as X,Z as pe,_ as T,A as x,B as i,ab as Oe,y as St,a7 as je,a6 as _t,f as Vt,x as Ge,o as It,aQ as wt,W as xt,a9 as Lt,aR as Pt,u as At,z as Me,aH as Bt,aS as Tt,aj as F,N as $,aT as Et,ai as Q,aU as Nt,aV as $t,w as zt,n as Rt,av as pt,aW as Pe,af as be,ag as he,a3 as De,ao as Ue,F as Ae,a4 as Ot,aX as ne,a1 as jt}from"./index-CNx65Vgw.js";import{m as L,a as K,s as Gt,j as Mt,f as Ce,h as ke,b as Fe,t as Se,i as _e,c as He,u as ae,g as le,V as N}from"./router-DaBOc3fQ.js";function We(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return S()({name:n??ee(bt(e.replace(/__/g,"-"))),props:{tag:{type:String,default:a},...I()},setup(t,l){let{slots:s}=l;return()=>{var c;return fe(t.tag,{class:[e,t.class],style:t.style},(c=s.default)==null?void 0:c.call(s))}}})}function Dt(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=ht(),t=me();if(Ct){const l=new ResizeObserver(s=>{e==null||e(s,l),s.length&&(a==="content"?t.value=s[0].contentRect:t.value=s[0].target.getBoundingClientRect())});ge(()=>{l.disconnect()}),ye(()=>n.el,(s,c)=>{c&&(l.unobserve(c),t.value=void 0),s&&l.observe(s)},{flush:"post"})}return{resizeRef:n,contentRect:kt(t)}}const se=k({border:[Boolean,Number,String]},"border");function ie(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te();return{borderClasses:m(()=>{const t=Re(e)?e.value:e.border,l=[];if(t===!0||t==="")l.push(`${a}--border`);else if(typeof t=="string"||t===0)for(const s of String(t).split(" "))l.push(`border-${s}`);return l})}}const Ut=[null,"default","comfortable","compact"],H=k({density:{type:String,default:"default",validator:e=>Ut.includes(e)}},"density");function J(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te();return{densityClasses:m(()=>`${a}--density-${e.density}`)}}const re=k({elevation:{type:[Number,String],validator(e){const a=parseInt(e);return!isNaN(a)&&a>=0&&a<=24}}},"elevation");function oe(e){return{elevationClasses:m(()=>{const n=Re(e)?e.value:e.elevation,t=[];return n==null||t.push(`elevation-${n}`),t})}}const Ye=k({baseColor:String,divided:Boolean,...se(),...I(),...H(),...re(),...q(),...L(),...G(),...K()},"VBtnGroup"),Be=S()({name:"VBtnGroup",props:Ye(),setup(e,a){let{slots:n}=a;const{themeClasses:t}=M(e),{densityClasses:l}=J(e),{borderClasses:s}=ie(e),{elevationClasses:c}=oe(e),{roundedClasses:u}=X(e);pe({VBtn:{height:"auto",baseColor:T(e,"baseColor"),color:T(e,"color"),density:T(e,"density"),flat:!0,variant:T(e,"variant")}}),x(()=>i(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},t.value,s.value,l.value,c.value,u.value,e.class],style:e.style},n))}}),Ft=k({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Ht=k({value:null,disabled:Boolean,selectedClass:String},"group-item");function Wt(e,a){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const t=Oe("useGroupItem");if(!t)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const l=St();je(Symbol.for(`${a.description}:id`),l);const s=_t(a,null);if(!s){if(!n)return s;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${a.description}`)}const c=T(e,"value"),u=m(()=>!!(s.disabled.value||e.disabled));s.register({id:l,value:c,disabled:u},t),ge(()=>{s.unregister(l)});const v=m(()=>s.isSelected(l)),g=m(()=>s.items.value[0].id===l),y=m(()=>s.items.value[s.items.value.length-1].id===l),h=m(()=>v.value&&[s.selectedClass.value,e.selectedClass]);return ye(v,r=>{t.emit("group:selected",{value:r})},{flush:"sync"}),{id:l,isSelected:v,isFirst:g,isLast:y,toggle:()=>s.select(l,!v.value),select:r=>s.select(l,r),selectedClass:h,value:c,disabled:u,group:s}}function Yt(e,a){let n=!1;const t=Vt([]),l=Ge(e,"modelValue",[],r=>r==null?[]:qe(t,Lt(r)),r=>{const d=Xt(t,r);return e.multiple?d:d[0]}),s=Oe("useGroup");function c(r,d){const b=r,o=Symbol.for(`${a.description}:id`),C=Pt(o,s==null?void 0:s.vnode).indexOf(d);At(b.value)==null&&(b.value=C,b.useIndexAsValue=!0),C>-1?t.splice(C,0,b):t.push(b)}function u(r){if(n)return;v();const d=t.findIndex(b=>b.id===r);t.splice(d,1)}function v(){const r=t.find(d=>!d.disabled);r&&e.mandatory==="force"&&!l.value.length&&(l.value=[r.id])}It(()=>{v()}),ge(()=>{n=!0}),wt(()=>{for(let r=0;r<t.length;r++)t[r].useIndexAsValue&&(t[r].value=r)});function g(r,d){const b=t.find(o=>o.id===r);if(!(d&&(b!=null&&b.disabled)))if(e.multiple){const o=l.value.slice(),f=o.findIndex(_=>_===r),C=~f;if(d=d??!C,C&&e.mandatory&&o.length<=1||!C&&e.max!=null&&o.length+1>e.max)return;f<0&&d?o.push(r):f>=0&&!d&&o.splice(f,1),l.value=o}else{const o=l.value.includes(r);if(e.mandatory&&o)return;l.value=d??!o?[r]:[]}}function y(r){if(e.multiple,l.value.length){const d=l.value[0],b=t.findIndex(C=>C.id===d);let o=(b+r)%t.length,f=t[o];for(;f.disabled&&o!==b;)o=(o+r)%t.length,f=t[o];if(f.disabled)return;l.value=[t[o].id]}else{const d=t.find(b=>!b.disabled);d&&(l.value=[d.id])}}const h={register:c,unregister:u,selected:l,select:g,disabled:T(e,"disabled"),prev:()=>y(t.length-1),next:()=>y(1),isSelected:r=>l.value.includes(r),selectedClass:m(()=>e.selectedClass),items:m(()=>t),getItemIndex:r=>qt(t,r)};return je(a,h),h}function qt(e,a){const n=qe(e,[a]);return n.length?e.findIndex(t=>t.id===n[0]):-1}function qe(e,a){const n=[];return a.forEach(t=>{const l=e.find(c=>xt(t,c.value)),s=e[t];(l==null?void 0:l.value)!=null?n.push(l.id):s!=null&&n.push(s.id)}),n}function Xt(e,a){const n=[];return a.forEach(t=>{const l=e.findIndex(s=>s.id===t);if(~l){const s=e[l];n.push(s.value!=null?s.value:l)}}),n}const Xe=Symbol.for("vuetify:v-btn-toggle"),Kt=k({...Ye(),...Ft()},"VBtnToggle");S()({name:"VBtnToggle",props:Kt(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:n}=a;const{isSelected:t,next:l,prev:s,select:c,selected:u}=Yt(e,Xe);return x(()=>{const v=Be.filterProps(e);return i(Be,Me({class:["v-btn-toggle",e.class]},v,{style:e.style}),{default:()=>{var g;return[(g=n.default)==null?void 0:g.call(n,{isSelected:t,next:l,prev:s,select:c,selected:u})]}})}),{next:l,prev:s,select:c}}});const Jt=["x-small","small","default","large","x-large"],ce=k({size:{type:[String,Number],default:"default"}},"size");function ue(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te();return Bt(()=>{let n,t;return Tt(Jt,e.size)?n=`${a}--size-${e.size}`:e.size&&(t={width:F(e.size),height:F(e.size)}),{sizeClasses:n,sizeStyles:t}})}const Qt=k({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:$,...I(),...ce(),...L({tag:"i"}),...G()},"VIcon"),j=S()({name:"VIcon",props:Qt(),setup(e,a){let{attrs:n,slots:t}=a;const l=me(),{themeClasses:s}=M(e),{iconData:c}=Et(m(()=>l.value||e.icon)),{sizeClasses:u}=ue(e),{textColorClasses:v,textColorStyles:g}=Q(T(e,"color"));return x(()=>{var r,d;const y=(r=t.default)==null?void 0:r.call(t);y&&(l.value=(d=Nt(y).filter(b=>b.type===$t&&b.children&&typeof b.children=="string")[0])==null?void 0:d.children);const h=!!(n.onClick||n.onClickOnce);return i(c.value.component,{tag:e.tag,icon:c.value.icon,class:["v-icon","notranslate",s.value,u.value,v.value,{"v-icon--clickable":h,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[u.value?void 0:{fontSize:F(e.size),height:F(e.size),width:F(e.size)},g.value,e.style],role:h?"button":void 0,"aria-hidden":!h,tabindex:h?e.disabled?-1:0:void 0},{default:()=>[y]})}),{}}}),Zt=k({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...I(),...ce(),...L({tag:"div"}),...G()},"VProgressCircular"),en=S()({name:"VProgressCircular",props:Zt(),setup(e,a){let{slots:n}=a;const t=20,l=2*Math.PI*t,s=me(),{themeClasses:c}=M(e),{sizeClasses:u,sizeStyles:v}=ue(e),{textColorClasses:g,textColorStyles:y}=Q(T(e,"color")),{textColorClasses:h,textColorStyles:r}=Q(T(e,"bgColor")),{intersectionRef:d,isIntersecting:b}=Gt(),{resizeRef:o,contentRect:f}=Dt(),C=m(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),_=m(()=>Number(e.width)),z=m(()=>v.value?Number(e.size):f.value?f.value.width:Math.max(_.value,32)),P=m(()=>t/(1-_.value/z.value)*2),A=m(()=>_.value/z.value*P.value),p=m(()=>F((100-C.value)/100*l));return zt(()=>{d.value=s.value,o.value=s.value}),x(()=>i(e.tag,{ref:s,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":b.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},c.value,u.value,g.value,e.class],style:[v.value,y.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:C.value},{default:()=>[i("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${P.value} ${P.value}`},[i("circle",{class:["v-progress-circular__underlay",h.value],style:r.value,fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":A.value,"stroke-dasharray":l,"stroke-dashoffset":0},null),i("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":A.value,"stroke-dasharray":l,"stroke-dashoffset":p.value},null)]),n.default&&i("div",{class:"v-progress-circular__content"},[n.default({value:C.value})])]})),{}}}),Ke=k({loading:[Boolean,String]},"loader");function Je(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te();return{loaderClasses:m(()=>({[`${a}--loading`]:e.loading}))}}function tn(e,a){var t;let{slots:n}=a;return i("div",{class:`${e.name}__loader`},[((t=n.default)==null?void 0:t.call(n,{color:e.color,isActive:e.active}))||i(Mt,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}function nn(e,a){ye(()=>{var n;return(n=e.isActive)==null?void 0:n.value},n=>{e.isLink.value&&n&&a&&Rt(()=>{a(!0)})},{immediate:!0})}const de=Symbol("rippleStop"),an=80;function Te(e,a){e.style.transform=a,e.style.webkitTransform=a}function ve(e){return e.constructor.name==="TouchEvent"}function Qe(e){return e.constructor.name==="KeyboardEvent"}const ln=function(e,a){var h;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t=0,l=0;if(!Qe(e)){const r=a.getBoundingClientRect(),d=ve(e)?e.touches[e.touches.length-1]:e;t=d.clientX-r.left,l=d.clientY-r.top}let s=0,c=.3;(h=a._ripple)!=null&&h.circle?(c=.15,s=a.clientWidth/2,s=n.center?s:s+Math.sqrt((t-s)**2+(l-s)**2)/4):s=Math.sqrt(a.clientWidth**2+a.clientHeight**2)/2;const u=`${(a.clientWidth-s*2)/2}px`,v=`${(a.clientHeight-s*2)/2}px`,g=n.center?u:`${t-s}px`,y=n.center?v:`${l-s}px`;return{radius:s,scale:c,x:g,y,centerX:u,centerY:v}},Z={show(e,a){var d;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((d=a==null?void 0:a._ripple)!=null&&d.enabled))return;const t=document.createElement("span"),l=document.createElement("span");t.appendChild(l),t.className="v-ripple__container",n.class&&(t.className+=` ${n.class}`);const{radius:s,scale:c,x:u,y:v,centerX:g,centerY:y}=ln(e,a,n),h=`${s*2}px`;l.className="v-ripple__animation",l.style.width=h,l.style.height=h,a.appendChild(t);const r=window.getComputedStyle(a);r&&r.position==="static"&&(a.style.position="relative",a.dataset.previousPosition="static"),l.classList.add("v-ripple__animation--enter"),l.classList.add("v-ripple__animation--visible"),Te(l,`translate(${u}, ${v}) scale3d(${c},${c},${c})`),l.dataset.activated=String(performance.now()),setTimeout(()=>{l.classList.remove("v-ripple__animation--enter"),l.classList.add("v-ripple__animation--in"),Te(l,`translate(${g}, ${y}) scale3d(1,1,1)`)},0)},hide(e){var s;if(!((s=e==null?void 0:e._ripple)!=null&&s.enabled))return;const a=e.getElementsByClassName("v-ripple__animation");if(a.length===0)return;const n=a[a.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const t=performance.now()-Number(n.dataset.activated),l=Math.max(250-t,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var u;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((u=n.parentNode)==null?void 0:u.parentNode)===e&&e.removeChild(n.parentNode)},300)},l)}};function Ze(e){return typeof e>"u"||!!e}function W(e){const a={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[de])){if(e[de]=!0,ve(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(a.center=n._ripple.centered||Qe(e),n._ripple.class&&(a.class=n._ripple.class),ve(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Z.show(e,n,a)},n._ripple.showTimer=window.setTimeout(()=>{var t;(t=n==null?void 0:n._ripple)!=null&&t.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},an)}else Z.show(e,n,a)}}function Ee(e){e[de]=!0}function w(e){const a=e.currentTarget;if(a!=null&&a._ripple){if(window.clearTimeout(a._ripple.showTimer),e.type==="touchend"&&a._ripple.showTimerCommit){a._ripple.showTimerCommit(),a._ripple.showTimerCommit=null,a._ripple.showTimer=window.setTimeout(()=>{w(e)});return}window.setTimeout(()=>{a._ripple&&(a._ripple.touched=!1)}),Z.hide(a)}}function et(e){const a=e.currentTarget;a!=null&&a._ripple&&(a._ripple.showTimerCommit&&(a._ripple.showTimerCommit=null),window.clearTimeout(a._ripple.showTimer))}let Y=!1;function tt(e){!Y&&(e.keyCode===Pe.enter||e.keyCode===Pe.space)&&(Y=!0,W(e))}function nt(e){Y=!1,w(e)}function at(e){Y&&(Y=!1,w(e))}function lt(e,a,n){const{value:t,modifiers:l}=a,s=Ze(t);if(s||Z.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=s,e._ripple.centered=l.center,e._ripple.circle=l.circle,pt(t)&&t.class&&(e._ripple.class=t.class),s&&!n){if(l.stop){e.addEventListener("touchstart",Ee,{passive:!0}),e.addEventListener("mousedown",Ee);return}e.addEventListener("touchstart",W,{passive:!0}),e.addEventListener("touchend",w,{passive:!0}),e.addEventListener("touchmove",et,{passive:!0}),e.addEventListener("touchcancel",w),e.addEventListener("mousedown",W),e.addEventListener("mouseup",w),e.addEventListener("mouseleave",w),e.addEventListener("keydown",tt),e.addEventListener("keyup",nt),e.addEventListener("blur",at),e.addEventListener("dragstart",w,{passive:!0})}else!s&&n&&st(e)}function st(e){e.removeEventListener("mousedown",W),e.removeEventListener("touchstart",W),e.removeEventListener("touchend",w),e.removeEventListener("touchmove",et),e.removeEventListener("touchcancel",w),e.removeEventListener("mouseup",w),e.removeEventListener("mouseleave",w),e.removeEventListener("keydown",tt),e.removeEventListener("keyup",nt),e.removeEventListener("dragstart",w),e.removeEventListener("blur",at)}function sn(e,a){lt(e,a,!1)}function rn(e){delete e._ripple,st(e)}function on(e,a){if(a.value===a.oldValue)return;const n=Ze(a.oldValue);lt(e,a,n)}const it={mounted:sn,unmounted:rn,updated:on},cn=k({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:Xe},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:$,appendIcon:$,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...se(),...I(),...H(),...be(),...re(),...Ht(),...Ke(),...Ce(),...ke(),...q(),...Fe(),...ce(),...L({tag:"button"}),...G(),...K({variant:"elevated"})},"VBtn"),un=S()({name:"VBtn",props:cn(),emits:{"group:selected":e=>!0},setup(e,a){let{attrs:n,slots:t}=a;const{themeClasses:l}=M(e),{borderClasses:s}=ie(e),{densityClasses:c}=J(e),{dimensionStyles:u}=he(e),{elevationClasses:v}=oe(e),{loaderClasses:g}=Je(e),{locationStyles:y}=Se(e),{positionClasses:h}=_e(e),{roundedClasses:r}=X(e),{sizeClasses:d,sizeStyles:b}=ue(e),o=Wt(e,e.symbol,!1),f=He(e,n),C=m(()=>{var V;return e.active!==void 0?e.active:f.isLink.value?(V=f.isActive)==null?void 0:V.value:o==null?void 0:o.isSelected.value}),_=m(()=>C.value?e.activeColor??e.color:e.color),z=m(()=>{var B,O;return{color:(o==null?void 0:o.isSelected.value)&&(!f.isLink.value||((B=f.isActive)==null?void 0:B.value))||!o||((O=f.isActive)==null?void 0:O.value)?_.value??e.baseColor:e.baseColor,variant:e.variant}}),{colorClasses:P,colorStyles:A,variantClasses:p}=ae(z),R=m(()=>(o==null?void 0:o.disabled.value)||e.disabled),D=m(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),U=m(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function E(V){var B;R.value||f.isLink.value&&(V.metaKey||V.ctrlKey||V.shiftKey||V.button!==0||n.target==="_blank")||((B=f.navigate)==null||B.call(f,V),o==null||o.toggle())}return nn(f,o==null?void 0:o.select),x(()=>{const V=f.isLink.value?"a":e.tag,B=!!(e.prependIcon||t.prepend),O=!!(e.appendIcon||t.append),we=!!(e.icon&&e.icon!==!0);return De(i(V,{type:V==="a"?void 0:"button",class:["v-btn",o==null?void 0:o.selectedClass.value,{"v-btn--active":C.value,"v-btn--block":e.block,"v-btn--disabled":R.value,"v-btn--elevated":D.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},l.value,s.value,P.value,c.value,v.value,g.value,h.value,r.value,d.value,p.value,e.class],style:[A.value,u.value,y.value,b.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:R.value||void 0,href:f.href.value,tabindex:e.loading||e.readonly?-1:void 0,onClick:E,value:U.value},{default:()=>{var xe;return[le(!0,"v-btn"),!e.icon&&B&&i("span",{key:"prepend",class:"v-btn__prepend"},[t.prepend?i(N,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},t.prepend):i(j,{key:"prepend-icon",icon:e.prependIcon},null)]),i("span",{class:"v-btn__content","data-no-activator":""},[!t.default&&we?i(j,{key:"content-icon",icon:e.icon},null):i(N,{key:"content-defaults",disabled:!we,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var Le;return[((Le=t.default)==null?void 0:Le.call(t))??e.text]}})]),!e.icon&&O&&i("span",{key:"append",class:"v-btn__append"},[t.append?i(N,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},t.append):i(j,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&i("span",{key:"loader",class:"v-btn__loader"},[((xe=t.loader)==null?void 0:xe.call(t))??i(en,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}}),[[it,!R.value&&e.ripple,"",{center:!!e.icon}]])}),{group:o}}}),dn=S()({name:"VCardActions",props:I(),setup(e,a){let{slots:n}=a;return pe({VBtn:{slim:!0,variant:"text"}}),x(()=>{var t;return i("div",{class:["v-card-actions",e.class],style:e.style},[(t=n.default)==null?void 0:t.call(n)])}),{}}}),vn=k({opacity:[Number,String],...I(),...L()},"VCardSubtitle"),fn=S()({name:"VCardSubtitle",props:vn(),setup(e,a){let{slots:n}=a;return x(()=>i(e.tag,{class:["v-card-subtitle",e.class],style:[{"--v-card-subtitle-opacity":e.opacity},e.style]},n)),{}}}),mn=We("v-card-title"),gn=k({start:Boolean,end:Boolean,icon:$,image:String,text:String,...se(),...I(),...H(),...q(),...ce(),...L(),...G(),...K({variant:"flat"})},"VAvatar"),Ne=S()({name:"VAvatar",props:gn(),setup(e,a){let{slots:n}=a;const{themeClasses:t}=M(e),{borderClasses:l}=ie(e),{colorClasses:s,colorStyles:c,variantClasses:u}=ae(e),{densityClasses:v}=J(e),{roundedClasses:g}=X(e),{sizeClasses:y,sizeStyles:h}=ue(e);return x(()=>i(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},t.value,l.value,s.value,v.value,g.value,y.value,u.value,e.class],style:[c.value,h.value,e.style]},{default:()=>[n.default?i(N,{key:"content-defaults",defaults:{VImg:{cover:!0,src:e.image},VIcon:{icon:e.icon}}},{default:()=>[n.default()]}):e.image?i(Ue,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?i(j,{key:"icon",icon:e.icon},null):e.text,le(!1,"v-avatar")]})),{}}}),yn=k({appendAvatar:String,appendIcon:$,prependAvatar:String,prependIcon:$,subtitle:[String,Number],title:[String,Number],...I(),...H()},"VCardItem"),bn=S()({name:"VCardItem",props:yn(),setup(e,a){let{slots:n}=a;return x(()=>{var g;const t=!!(e.prependAvatar||e.prependIcon),l=!!(t||n.prepend),s=!!(e.appendAvatar||e.appendIcon),c=!!(s||n.append),u=!!(e.title!=null||n.title),v=!!(e.subtitle!=null||n.subtitle);return i("div",{class:["v-card-item",e.class],style:e.style},[l&&i("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?i(N,{key:"prepend-defaults",disabled:!t,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},n.prepend):i(Ae,null,[e.prependAvatar&&i(Ne,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&i(j,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),i("div",{class:"v-card-item__content"},[u&&i(mn,{key:"title"},{default:()=>{var y;return[((y=n.title)==null?void 0:y.call(n))??e.title]}}),v&&i(fn,{key:"subtitle"},{default:()=>{var y;return[((y=n.subtitle)==null?void 0:y.call(n))??e.subtitle]}}),(g=n.default)==null?void 0:g.call(n)]),c&&i("div",{key:"append",class:"v-card-item__append"},[n.append?i(N,{key:"append-defaults",disabled:!s,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},n.append):i(Ae,null,[e.appendIcon&&i(j,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&i(Ne,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])])}),{}}}),hn=k({opacity:[Number,String],...I(),...L()},"VCardText"),Cn=S()({name:"VCardText",props:hn(),setup(e,a){let{slots:n}=a;return x(()=>i(e.tag,{class:["v-card-text",e.class],style:[{"--v-card-text-opacity":e.opacity},e.style]},n)),{}}}),kn=k({appendAvatar:String,appendIcon:$,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:$,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...se(),...I(),...H(),...be(),...re(),...Ke(),...Ce(),...ke(),...q(),...Fe(),...L(),...G(),...K({variant:"elevated"})},"VCard"),zn=S()({name:"VCard",directives:{Ripple:it},props:kn(),setup(e,a){let{attrs:n,slots:t}=a;const{themeClasses:l}=M(e),{borderClasses:s}=ie(e),{colorClasses:c,colorStyles:u,variantClasses:v}=ae(e),{densityClasses:g}=J(e),{dimensionStyles:y}=he(e),{elevationClasses:h}=oe(e),{loaderClasses:r}=Je(e),{locationStyles:d}=Se(e),{positionClasses:b}=_e(e),{roundedClasses:o}=X(e),f=He(e,n),C=m(()=>e.link!==!1&&f.isLink.value),_=m(()=>!e.disabled&&e.link!==!1&&(e.link||f.isClickable.value));return x(()=>{const z=C.value?"a":e.tag,P=!!(t.title||e.title!=null),A=!!(t.subtitle||e.subtitle!=null),p=P||A,R=!!(t.append||e.appendAvatar||e.appendIcon),D=!!(t.prepend||e.prependAvatar||e.prependIcon),U=!!(t.image||e.image),E=p||D||R,V=!!(t.text||e.text!=null);return De(i(z,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":_.value},l.value,s.value,c.value,g.value,h.value,r.value,b.value,o.value,v.value,e.class],style:[u.value,y.value,d.value,e.style],href:f.href.value,onClick:_.value&&f.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var B;return[U&&i("div",{key:"image",class:"v-card__image"},[t.image?i(N,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},t.image):i(Ue,{key:"image-img",cover:!0,src:e.image},null)]),i(tn,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:t.loader}),E&&i(bn,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:t.item,prepend:t.prepend,title:t.title,subtitle:t.subtitle,append:t.append}),V&&i(Cn,{key:"text"},{default:()=>{var O;return[((O=t.text)==null?void 0:O.call(t))??e.text]}}),(B=t.default)==null?void 0:B.call(t),t.actions&&i(dn,null,{default:t.actions}),le(_.value,"v-card")]}}),[[Ot("ripple"),_.value&&e.ripple]])}),{}}}),rt=ne.reduce((e,a)=>(e[a]={type:[Boolean,String,Number],default:!1},e),{}),ot=ne.reduce((e,a)=>{const n="offset"+ee(a);return e[n]={type:[String,Number],default:null},e},{}),ct=ne.reduce((e,a)=>{const n="order"+ee(a);return e[n]={type:[String,Number],default:null},e},{}),$e={col:Object.keys(rt),offset:Object.keys(ot),order:Object.keys(ct)};function Sn(e,a,n){let t=e;if(!(n==null||n===!1)){if(a){const l=a.replace(e,"");t+=`-${l}`}return e==="col"&&(t="v-"+t),e==="col"&&(n===""||n===!0)||(t+=`-${n}`),t.toLowerCase()}}const _n=["auto","start","end","center","baseline","stretch"],Vn=k({cols:{type:[Boolean,String,Number],default:!1},...rt,offset:{type:[String,Number],default:null},...ot,order:{type:[String,Number],default:null},...ct,alignSelf:{type:String,default:null,validator:e=>_n.includes(e)},...I(),...L()},"VCol"),Rn=S()({name:"VCol",props:Vn(),setup(e,a){let{slots:n}=a;const t=m(()=>{const l=[];let s;for(s in $e)$e[s].forEach(u=>{const v=e[u],g=Sn(s,u,v);g&&l.push(g)});const c=l.some(u=>u.startsWith("v-col-"));return l.push({"v-col":!c||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),l});return()=>{var l;return fe(e.tag,{class:[t.value,e.class],style:e.style},(l=n.default)==null?void 0:l.call(n))}}}),Ve=["start","end","center"],ut=["space-between","space-around","space-evenly"];function Ie(e,a){return ne.reduce((n,t)=>{const l=e+ee(t);return n[l]=a(),n},{})}const In=[...Ve,"baseline","stretch"],dt=e=>In.includes(e),vt=Ie("align",()=>({type:String,default:null,validator:dt})),wn=[...Ve,...ut],ft=e=>wn.includes(e),mt=Ie("justify",()=>({type:String,default:null,validator:ft})),xn=[...Ve,...ut,"stretch"],gt=e=>xn.includes(e),yt=Ie("alignContent",()=>({type:String,default:null,validator:gt})),ze={align:Object.keys(vt),justify:Object.keys(mt),alignContent:Object.keys(yt)},Ln={align:"align",justify:"justify",alignContent:"align-content"};function Pn(e,a,n){let t=Ln[e];if(n!=null){if(a){const l=a.replace(e,"");t+=`-${l}`}return t+=`-${n}`,t.toLowerCase()}}const An=k({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:dt},...vt,justify:{type:String,default:null,validator:ft},...mt,alignContent:{type:String,default:null,validator:gt},...yt,...I(),...L()},"VRow"),pn=S()({name:"VRow",props:An(),setup(e,a){let{slots:n}=a;const t=m(()=>{const l=[];let s;for(s in ze)ze[s].forEach(c=>{const u=e[c],v=Pn(s,c,u);v&&l.push(v)});return l.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),l});return()=>{var l;return fe(e.tag,{class:["v-row",t.value,e.class],style:e.style},(l=n.default)==null?void 0:l.call(n))}}}),Bn=We("v-alert-title"),Tn=["success","info","warning","error"],En=k({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:$,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>Tn.includes(e)},...I(),...H(),...be(),...re(),...Ce(),...ke(),...q(),...L(),...G(),...K({variant:"flat"})},"VAlert"),On=S()({name:"VAlert",props:En(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{emit:n,slots:t}=a;const l=Ge(e,"modelValue"),s=m(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),c=m(()=>({color:e.color??e.type,variant:e.variant})),{themeClasses:u}=M(e),{colorClasses:v,colorStyles:g,variantClasses:y}=ae(c),{densityClasses:h}=J(e),{dimensionStyles:r}=he(e),{elevationClasses:d}=oe(e),{locationStyles:b}=Se(e),{positionClasses:o}=_e(e),{roundedClasses:f}=X(e),{textColorClasses:C,textColorStyles:_}=Q(T(e,"borderColor")),{t:z}=jt(),P=m(()=>({"aria-label":z(e.closeLabel),onClick(A){l.value=!1,n("click:close",A)}}));return()=>{const A=!!(t.prepend||s.value),p=!!(t.title||e.title),R=!!(t.close||e.closable);return l.value&&i(e.tag,{class:["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},u.value,v.value,h.value,d.value,o.value,f.value,y.value,e.class],style:[g.value,r.value,b.value,e.style],role:"alert"},{default:()=>{var D,U;return[le(!1,"v-alert"),e.border&&i("div",{key:"border",class:["v-alert__border",C.value],style:_.value},null),A&&i("div",{key:"prepend",class:"v-alert__prepend"},[t.prepend?i(N,{key:"prepend-defaults",disabled:!s.value,defaults:{VIcon:{density:e.density,icon:s.value,size:e.prominent?44:28}}},t.prepend):i(j,{key:"prepend-icon",density:e.density,icon:s.value,size:e.prominent?44:28},null)]),i("div",{class:"v-alert__content"},[p&&i(Bn,{key:"title"},{default:()=>{var E;return[((E=t.title)==null?void 0:E.call(t))??e.title]}}),((D=t.text)==null?void 0:D.call(t))??e.text,(U=t.default)==null?void 0:U.call(t)]),t.append&&i("div",{key:"append",class:"v-alert__append"},[t.append()]),R&&i("div",{key:"close",class:"v-alert__close"},[t.close?i(N,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var E;return[(E=t.close)==null?void 0:E.call(t,{props:P.value})]}}):i(un,Me({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},P.value),null)])]}})}}});export{cn as A,tn as L,it as R,un as V,j as a,dn as b,We as c,Dt as d,se as e,H as f,re as g,Ht as h,ce as i,ie as j,J as k,oe as l,Ft as m,ue as n,Wt as o,Ne as p,mn as q,Cn as r,zn as s,On as t,Yt as u,pn as v,Rn as w,en as x,Ke as y,Je as z};
@@ -1,4 +1,4 @@
1
- import{m as vf,b2 as Kl,p as mf}from"./index-BOM4rIEv.js";import{m as yf}from"./EventEdit-CSfOzNeo.js";var Xl={exports:{}};(function(f,x){(function(c,m){f.exports=m()})(vf,function(){var c=navigator.userAgent,m=navigator.platform,p=/gecko\/\d/i.test(c),S=/MSIE \d/.test(c),d=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(c),v=/Edge\/(\d+)/.exec(c),g=S||d||v,k=g&&(S?document.documentMode||6:+(v||d)[1]),E=!v&&/WebKit\//.test(c),N=E&&/Qt\/\d+\.\d+/.test(c),M=!v&&/Chrome\/(\d+)/.exec(c),O=M&&+M[1],I=/Opera\//.test(c),Z=/Apple Computer/.test(navigator.vendor),_=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(c),j=/PhantomJS/.test(c),D=Z&&(/Mobile\/\w+/.test(c)||navigator.maxTouchPoints>2),A=/Android/.test(c),H=D||A||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(c),z=D||/Mac/.test(m),G=/\bCrOS\b/.test(c),B=/win/i.test(m),Q=I&&c.match(/Version\/(\d*\.\d*)/);Q&&(Q=Number(Q[1])),Q&&Q>=15&&(I=!1,E=!0);var re=z&&(N||I&&(Q==null||Q<12.11)),we=p||g&&k>=9;function K(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var fe=function(e,t){var i=e.className,r=K(t).exec(i);if(r){var n=i.slice(r.index+r[0].length);e.className=i.slice(0,r.index)+(n?r[1]+n:"")}};function ce(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function le(e,t){return ce(e).appendChild(t)}function L(e,t,i,r){var n=document.createElement(e);if(i&&(n.className=i),r&&(n.style.cssText=r),typeof t=="string")n.appendChild(document.createTextNode(t));else if(t)for(var a=0;a<t.length;++a)n.appendChild(t[a]);return n}function q(e,t,i,r){var n=L(e,t,i,r);return n.setAttribute("role","presentation"),n}var R;document.createRange?R=function(e,t,i,r){var n=document.createRange();return n.setEnd(r||e,i),n.setStart(e,t),n}:R=function(e,t,i){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch{return r}return r.collapse(!0),r.moveEnd("character",i),r.moveStart("character",t),r};function ee(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function ge(e){var t=e.ownerDocument||e,i;try{i=e.activeElement}catch{i=t.body||null}for(;i&&i.shadowRoot&&i.shadowRoot.activeElement;)i=i.shadowRoot.activeElement;return i}function qe(e,t){var i=e.className;K(t).test(i)||(e.className+=(i?" ":"")+t)}function Nt(e,t){for(var i=e.split(" "),r=0;r<i.length;r++)i[r]&&!K(i[r]).test(t)&&(t+=" "+i[r]);return t}var w=function(e){e.select()};D?w=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:g&&(w=function(e){try{e.select()}catch{}});function h(e){return e.display.wrapper.ownerDocument}function te(e){return ve(e.display.wrapper)}function ve(e){return e.getRootNode?e.getRootNode():e.ownerDocument}function he(e){return h(e).defaultView}function Je(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function ot(e,t,i){t||(t={});for(var r in e)e.hasOwnProperty(r)&&(i!==!1||!t.hasOwnProperty(r))&&(t[r]=e[r]);return t}function Oe(e,t,i,r,n){t==null&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var a=r||0,o=n||0;;){var l=e.indexOf(" ",a);if(l<0||l>=t)return o+(t-a);o+=l-a,o+=i-o%i,a=l+1}}var Xe=function(){this.id=null,this.f=null,this.time=0,this.handler=Je(this.onTimeout,this)};Xe.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},Xe.prototype.set=function(e,t){this.f=t;var i=+new Date+e;(!this.id||i<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=i)};function ke(e,t){for(var i=0;i<e.length;++i)if(e[i]==t)return i;return-1}var Me=50,Ie={toString:function(){return"CodeMirror.Pass"}},Qe={scroll:!1},Nr={origin:"*mouse"},mt={origin:"+move"};function yt(e,t,i){for(var r=0,n=0;;){var a=e.indexOf(" ",r);a==-1&&(a=e.length);var o=a-r;if(a==e.length||n+o>=t)return r+Math.min(o,t-n);if(n+=a-r,n+=i-n%i,r=a+1,n>=t)return r}}var ct=[""];function Ht(e){for(;ct.length<=e;)ct.push(pe(ct)+" ");return ct[e]}function pe(e){return e[e.length-1]}function ht(e,t){for(var i=[],r=0;r<e.length;r++)i[r]=t(e[r],r);return i}function Ot(e,t,i){for(var r=0,n=i(t);r<e.length&&i(e[r])<=n;)r++;e.splice(r,0,t)}function di(){}function Ha(e,t){var i;return Object.create?i=Object.create(e):(di.prototype=e,i=new di),t&&ot(t,i),i}var is=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function vn(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||is.test(e))}function pi(e,t){return t?t.source.indexOf("\\w")>-1&&vn(e)?!0:t.test(e):vn(e)}function Oa(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ns=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function mn(e){return e.charCodeAt(0)>=768&&ns.test(e)}function Ia(e,t,i){for(;(i<0?t>0:t<e.length)&&mn(e.charAt(t));)t+=i;return t}function Hr(e,t,i){for(var r=t>i?-1:1;;){if(t==i)return t;var n=(t+i)/2,a=r<0?Math.ceil(n):Math.floor(n);if(a==t)return e(a)?t:i;e(a)?i=a:t=a+r}}function as(e,t,i,r){if(!e)return r(t,i,"ltr",0);for(var n=!1,a=0;a<e.length;++a){var o=e[a];(o.from<i&&o.to>t||t==i&&o.to==t)&&(r(Math.max(o.from,t),Math.min(o.to,i),o.level==1?"rtl":"ltr",a),n=!0)}n||r(t,i,"ltr")}var Or=null;function Ir(e,t,i){var r;Or=null;for(var n=0;n<e.length;++n){var a=e[n];if(a.from<t&&a.to>t)return n;a.to==t&&(a.from!=a.to&&i=="before"?r=n:Or=n),a.from==t&&(a.from!=a.to&&i!="before"?r=n:Or=n)}return r??Or}var os=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(u){return u<=247?e.charAt(u):1424<=u&&u<=1524?"R":1536<=u&&u<=1785?t.charAt(u-1536):1774<=u&&u<=2220?"r":8192<=u&&u<=8203?"w":u==8204?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,n=/[stwN]/,a=/[LRr]/,o=/[Lb1n]/,l=/[1n]/;function s(u,y,b){this.level=u,this.from=y,this.to=b}return function(u,y){var b=y=="ltr"?"L":"R";if(u.length==0||y=="ltr"&&!r.test(u))return!1;for(var T=u.length,C=[],F=0;F<T;++F)C.push(i(u.charCodeAt(F)));for(var P=0,U=b;P<T;++P){var X=C[P];X=="m"?C[P]=U:U=X}for(var J=0,Y=b;J<T;++J){var $=C[J];$=="1"&&Y=="r"?C[J]="n":a.test($)&&(Y=$,$=="r"&&(C[J]="R"))}for(var ae=1,ne=C[0];ae<T-1;++ae){var de=C[ae];de=="+"&&ne=="1"&&C[ae+1]=="1"?C[ae]="1":de==","&&ne==C[ae+1]&&(ne=="1"||ne=="n")&&(C[ae]=ne),ne=de}for(var be=0;be<T;++be){var _e=C[be];if(_e==",")C[be]="N";else if(_e=="%"){var Te=void 0;for(Te=be+1;Te<T&&C[Te]=="%";++Te);for(var at=be&&C[be-1]=="!"||Te<T&&C[Te]=="1"?"1":"N",tt=be;tt<Te;++tt)C[tt]=at;be=Te-1}}for(var Ne=0,rt=b;Ne<T;++Ne){var Ge=C[Ne];rt=="L"&&Ge=="1"?C[Ne]="L":a.test(Ge)&&(rt=Ge)}for(var Pe=0;Pe<T;++Pe)if(n.test(C[Pe])){var He=void 0;for(He=Pe+1;He<T&&n.test(C[He]);++He);for(var De=(Pe?C[Pe-1]:b)=="L",it=(He<T?C[He]:b)=="L",Dr=De==it?De?"L":"R":b,qt=Pe;qt<He;++qt)C[qt]=Dr;Pe=He-1}for(var Ke=[],kt,Ue=0;Ue<T;)if(o.test(C[Ue])){var ka=Ue;for(++Ue;Ue<T&&o.test(C[Ue]);++Ue);Ke.push(new s(0,ka,Ue))}else{var Et=Ue,ir=Ke.length,nr=y=="rtl"?1:0;for(++Ue;Ue<T&&C[Ue]!="L";++Ue);for(var Ze=Et;Ze<Ue;)if(l.test(C[Ze])){Et<Ze&&(Ke.splice(ir,0,new s(1,Et,Ze)),ir+=nr);var Fr=Ze;for(++Ze;Ze<Ue&&l.test(C[Ze]);++Ze);Ke.splice(ir,0,new s(2,Fr,Ze)),ir+=nr,Et=Ze}else++Ze;Et<Ue&&Ke.splice(ir,0,new s(1,Et,Ue))}return y=="ltr"&&(Ke[0].level==1&&(kt=u.match(/^\s+/))&&(Ke[0].from=kt[0].length,Ke.unshift(new s(0,0,kt[0].length))),pe(Ke).level==1&&(kt=u.match(/\s+$/))&&(pe(Ke).to-=kt[0].length,Ke.push(new s(0,T-kt[0].length,T)))),y=="rtl"?Ke.reverse():Ke}}();function Ct(e,t){var i=e.order;return i==null&&(i=e.order=os(e.text,t)),i}var Pa=[],oe=function(e,t,i){if(e.addEventListener)e.addEventListener(t,i,!1);else if(e.attachEvent)e.attachEvent("on"+t,i);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||Pa).concat(i)}};function yn(e,t){return e._handlers&&e._handlers[t]||Pa}function lt(e,t,i){if(e.removeEventListener)e.removeEventListener(t,i,!1);else if(e.detachEvent)e.detachEvent("on"+t,i);else{var r=e._handlers,n=r&&r[t];if(n){var a=ke(n,i);a>-1&&(r[t]=n.slice(0,a).concat(n.slice(a+1)))}}}function Ee(e,t){var i=yn(e,t);if(i.length)for(var r=Array.prototype.slice.call(arguments,2),n=0;n<i.length;++n)i[n].apply(null,r)}function Be(e,t,i){return typeof t=="string"&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),Ee(e,i||t.type,e,t),xn(t)||t.codemirrorIgnore}function Ba(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var i=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)ke(i,t[r])==-1&&i.push(t[r])}function ft(e,t){return yn(e,t).length>0}function sr(e){e.prototype.on=function(t,i){oe(this,t,i)},e.prototype.off=function(t,i){lt(this,t,i)}}function Ve(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ra(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function xn(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Pr(e){Ve(e),Ra(e)}function bn(e){return e.target||e.srcElement}function Wa(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),z&&e.ctrlKey&&t==1&&(t=3),t}var ls=function(){if(g&&k<9)return!1;var e=L("div");return"draggable"in e||"dragDrop"in e}(),Sn;function ss(e){if(Sn==null){var t=L("span","​");le(e,L("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(Sn=t.offsetWidth<=1&&t.offsetHeight>2&&!(g&&k<8))}var i=Sn?L("span","​"):L("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}var wn;function us(e){if(wn!=null)return wn;var t=le(e,document.createTextNode("AخA")),i=R(t,0,1).getBoundingClientRect(),r=R(t,1,2).getBoundingClientRect();return ce(e),!i||i.left==i.right?!1:wn=r.right-i.right<3}var kn=`
1
+ import{m as vf,b2 as Kl,p as mf}from"./index-CNx65Vgw.js";import{m as yf}from"./EventEdit-CvFm_kCa.js";var Xl={exports:{}};(function(f,x){(function(c,m){f.exports=m()})(vf,function(){var c=navigator.userAgent,m=navigator.platform,p=/gecko\/\d/i.test(c),S=/MSIE \d/.test(c),d=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(c),v=/Edge\/(\d+)/.exec(c),g=S||d||v,k=g&&(S?document.documentMode||6:+(v||d)[1]),E=!v&&/WebKit\//.test(c),N=E&&/Qt\/\d+\.\d+/.test(c),M=!v&&/Chrome\/(\d+)/.exec(c),O=M&&+M[1],I=/Opera\//.test(c),Z=/Apple Computer/.test(navigator.vendor),_=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(c),j=/PhantomJS/.test(c),D=Z&&(/Mobile\/\w+/.test(c)||navigator.maxTouchPoints>2),A=/Android/.test(c),H=D||A||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(c),z=D||/Mac/.test(m),G=/\bCrOS\b/.test(c),B=/win/i.test(m),Q=I&&c.match(/Version\/(\d*\.\d*)/);Q&&(Q=Number(Q[1])),Q&&Q>=15&&(I=!1,E=!0);var re=z&&(N||I&&(Q==null||Q<12.11)),we=p||g&&k>=9;function K(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var fe=function(e,t){var i=e.className,r=K(t).exec(i);if(r){var n=i.slice(r.index+r[0].length);e.className=i.slice(0,r.index)+(n?r[1]+n:"")}};function ce(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function le(e,t){return ce(e).appendChild(t)}function L(e,t,i,r){var n=document.createElement(e);if(i&&(n.className=i),r&&(n.style.cssText=r),typeof t=="string")n.appendChild(document.createTextNode(t));else if(t)for(var a=0;a<t.length;++a)n.appendChild(t[a]);return n}function q(e,t,i,r){var n=L(e,t,i,r);return n.setAttribute("role","presentation"),n}var R;document.createRange?R=function(e,t,i,r){var n=document.createRange();return n.setEnd(r||e,i),n.setStart(e,t),n}:R=function(e,t,i){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch{return r}return r.collapse(!0),r.moveEnd("character",i),r.moveStart("character",t),r};function ee(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function ge(e){var t=e.ownerDocument||e,i;try{i=e.activeElement}catch{i=t.body||null}for(;i&&i.shadowRoot&&i.shadowRoot.activeElement;)i=i.shadowRoot.activeElement;return i}function qe(e,t){var i=e.className;K(t).test(i)||(e.className+=(i?" ":"")+t)}function Nt(e,t){for(var i=e.split(" "),r=0;r<i.length;r++)i[r]&&!K(i[r]).test(t)&&(t+=" "+i[r]);return t}var w=function(e){e.select()};D?w=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:g&&(w=function(e){try{e.select()}catch{}});function h(e){return e.display.wrapper.ownerDocument}function te(e){return ve(e.display.wrapper)}function ve(e){return e.getRootNode?e.getRootNode():e.ownerDocument}function he(e){return h(e).defaultView}function Je(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function ot(e,t,i){t||(t={});for(var r in e)e.hasOwnProperty(r)&&(i!==!1||!t.hasOwnProperty(r))&&(t[r]=e[r]);return t}function Oe(e,t,i,r,n){t==null&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var a=r||0,o=n||0;;){var l=e.indexOf(" ",a);if(l<0||l>=t)return o+(t-a);o+=l-a,o+=i-o%i,a=l+1}}var Xe=function(){this.id=null,this.f=null,this.time=0,this.handler=Je(this.onTimeout,this)};Xe.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},Xe.prototype.set=function(e,t){this.f=t;var i=+new Date+e;(!this.id||i<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=i)};function ke(e,t){for(var i=0;i<e.length;++i)if(e[i]==t)return i;return-1}var Me=50,Ie={toString:function(){return"CodeMirror.Pass"}},Qe={scroll:!1},Nr={origin:"*mouse"},mt={origin:"+move"};function yt(e,t,i){for(var r=0,n=0;;){var a=e.indexOf(" ",r);a==-1&&(a=e.length);var o=a-r;if(a==e.length||n+o>=t)return r+Math.min(o,t-n);if(n+=a-r,n+=i-n%i,r=a+1,n>=t)return r}}var ct=[""];function Ht(e){for(;ct.length<=e;)ct.push(pe(ct)+" ");return ct[e]}function pe(e){return e[e.length-1]}function ht(e,t){for(var i=[],r=0;r<e.length;r++)i[r]=t(e[r],r);return i}function Ot(e,t,i){for(var r=0,n=i(t);r<e.length&&i(e[r])<=n;)r++;e.splice(r,0,t)}function di(){}function Ha(e,t){var i;return Object.create?i=Object.create(e):(di.prototype=e,i=new di),t&&ot(t,i),i}var is=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function vn(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||is.test(e))}function pi(e,t){return t?t.source.indexOf("\\w")>-1&&vn(e)?!0:t.test(e):vn(e)}function Oa(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ns=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function mn(e){return e.charCodeAt(0)>=768&&ns.test(e)}function Ia(e,t,i){for(;(i<0?t>0:t<e.length)&&mn(e.charAt(t));)t+=i;return t}function Hr(e,t,i){for(var r=t>i?-1:1;;){if(t==i)return t;var n=(t+i)/2,a=r<0?Math.ceil(n):Math.floor(n);if(a==t)return e(a)?t:i;e(a)?i=a:t=a+r}}function as(e,t,i,r){if(!e)return r(t,i,"ltr",0);for(var n=!1,a=0;a<e.length;++a){var o=e[a];(o.from<i&&o.to>t||t==i&&o.to==t)&&(r(Math.max(o.from,t),Math.min(o.to,i),o.level==1?"rtl":"ltr",a),n=!0)}n||r(t,i,"ltr")}var Or=null;function Ir(e,t,i){var r;Or=null;for(var n=0;n<e.length;++n){var a=e[n];if(a.from<t&&a.to>t)return n;a.to==t&&(a.from!=a.to&&i=="before"?r=n:Or=n),a.from==t&&(a.from!=a.to&&i!="before"?r=n:Or=n)}return r??Or}var os=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(u){return u<=247?e.charAt(u):1424<=u&&u<=1524?"R":1536<=u&&u<=1785?t.charAt(u-1536):1774<=u&&u<=2220?"r":8192<=u&&u<=8203?"w":u==8204?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,n=/[stwN]/,a=/[LRr]/,o=/[Lb1n]/,l=/[1n]/;function s(u,y,b){this.level=u,this.from=y,this.to=b}return function(u,y){var b=y=="ltr"?"L":"R";if(u.length==0||y=="ltr"&&!r.test(u))return!1;for(var T=u.length,C=[],F=0;F<T;++F)C.push(i(u.charCodeAt(F)));for(var P=0,U=b;P<T;++P){var X=C[P];X=="m"?C[P]=U:U=X}for(var J=0,Y=b;J<T;++J){var $=C[J];$=="1"&&Y=="r"?C[J]="n":a.test($)&&(Y=$,$=="r"&&(C[J]="R"))}for(var ae=1,ne=C[0];ae<T-1;++ae){var de=C[ae];de=="+"&&ne=="1"&&C[ae+1]=="1"?C[ae]="1":de==","&&ne==C[ae+1]&&(ne=="1"||ne=="n")&&(C[ae]=ne),ne=de}for(var be=0;be<T;++be){var _e=C[be];if(_e==",")C[be]="N";else if(_e=="%"){var Te=void 0;for(Te=be+1;Te<T&&C[Te]=="%";++Te);for(var at=be&&C[be-1]=="!"||Te<T&&C[Te]=="1"?"1":"N",tt=be;tt<Te;++tt)C[tt]=at;be=Te-1}}for(var Ne=0,rt=b;Ne<T;++Ne){var Ge=C[Ne];rt=="L"&&Ge=="1"?C[Ne]="L":a.test(Ge)&&(rt=Ge)}for(var Pe=0;Pe<T;++Pe)if(n.test(C[Pe])){var He=void 0;for(He=Pe+1;He<T&&n.test(C[He]);++He);for(var De=(Pe?C[Pe-1]:b)=="L",it=(He<T?C[He]:b)=="L",Dr=De==it?De?"L":"R":b,qt=Pe;qt<He;++qt)C[qt]=Dr;Pe=He-1}for(var Ke=[],kt,Ue=0;Ue<T;)if(o.test(C[Ue])){var ka=Ue;for(++Ue;Ue<T&&o.test(C[Ue]);++Ue);Ke.push(new s(0,ka,Ue))}else{var Et=Ue,ir=Ke.length,nr=y=="rtl"?1:0;for(++Ue;Ue<T&&C[Ue]!="L";++Ue);for(var Ze=Et;Ze<Ue;)if(l.test(C[Ze])){Et<Ze&&(Ke.splice(ir,0,new s(1,Et,Ze)),ir+=nr);var Fr=Ze;for(++Ze;Ze<Ue&&l.test(C[Ze]);++Ze);Ke.splice(ir,0,new s(2,Fr,Ze)),ir+=nr,Et=Ze}else++Ze;Et<Ue&&Ke.splice(ir,0,new s(1,Et,Ue))}return y=="ltr"&&(Ke[0].level==1&&(kt=u.match(/^\s+/))&&(Ke[0].from=kt[0].length,Ke.unshift(new s(0,0,kt[0].length))),pe(Ke).level==1&&(kt=u.match(/\s+$/))&&(pe(Ke).to-=kt[0].length,Ke.push(new s(0,T-kt[0].length,T)))),y=="rtl"?Ke.reverse():Ke}}();function Ct(e,t){var i=e.order;return i==null&&(i=e.order=os(e.text,t)),i}var Pa=[],oe=function(e,t,i){if(e.addEventListener)e.addEventListener(t,i,!1);else if(e.attachEvent)e.attachEvent("on"+t,i);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||Pa).concat(i)}};function yn(e,t){return e._handlers&&e._handlers[t]||Pa}function lt(e,t,i){if(e.removeEventListener)e.removeEventListener(t,i,!1);else if(e.detachEvent)e.detachEvent("on"+t,i);else{var r=e._handlers,n=r&&r[t];if(n){var a=ke(n,i);a>-1&&(r[t]=n.slice(0,a).concat(n.slice(a+1)))}}}function Ee(e,t){var i=yn(e,t);if(i.length)for(var r=Array.prototype.slice.call(arguments,2),n=0;n<i.length;++n)i[n].apply(null,r)}function Be(e,t,i){return typeof t=="string"&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),Ee(e,i||t.type,e,t),xn(t)||t.codemirrorIgnore}function Ba(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var i=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)ke(i,t[r])==-1&&i.push(t[r])}function ft(e,t){return yn(e,t).length>0}function sr(e){e.prototype.on=function(t,i){oe(this,t,i)},e.prototype.off=function(t,i){lt(this,t,i)}}function Ve(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ra(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function xn(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Pr(e){Ve(e),Ra(e)}function bn(e){return e.target||e.srcElement}function Wa(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),z&&e.ctrlKey&&t==1&&(t=3),t}var ls=function(){if(g&&k<9)return!1;var e=L("div");return"draggable"in e||"dragDrop"in e}(),Sn;function ss(e){if(Sn==null){var t=L("span","​");le(e,L("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(Sn=t.offsetWidth<=1&&t.offsetHeight>2&&!(g&&k<8))}var i=Sn?L("span","​"):L("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}var wn;function us(e){if(wn!=null)return wn;var t=le(e,document.createTextNode("AخA")),i=R(t,0,1).getBoundingClientRect(),r=R(t,1,2).getBoundingClientRect();return ce(e),!i||i.left==i.right?!1:wn=r.right-i.right<3}var kn=`
2
2
 
3
3
  b`.split(/\n/).length!=3?function(e){for(var t=0,i=[],r=e.length;t<=r;){var n=e.indexOf(`
4
4
  `,t);n==-1&&(n=e.length);var a=e.slice(t,e.charAt(n-1)=="\r"?n-1:n),o=a.indexOf("\r");o!=-1?(i.push(a.slice(0,o)),t+=o+1):(i.push(a),t=n+1)}return i}:function(e){return e.split(/\r\n?|\n/)},fs=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch{}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},cs=function(){var e=L("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Cn=null;function hs(e){if(Cn!=null)return Cn;var t=le(e,L("span","x")),i=t.getBoundingClientRect(),r=R(t,0,1).getBoundingClientRect();return Cn=Math.abs(i.left-r.left)>1}var Ln={},ur={};function ds(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Ln[e]=t}function ps(e,t){ur[e]=t}function gi(e){if(typeof e=="string"&&ur.hasOwnProperty(e))e=ur[e];else if(e&&typeof e.name=="string"&&ur.hasOwnProperty(e.name)){var t=ur[e.name];typeof t=="string"&&(t={name:t}),e=Ha(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return gi("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return gi("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Tn(e,t){t=gi(t);var i=Ln[t.name];if(!i)return Tn(e,"text/plain");var r=i(e,t);if(fr.hasOwnProperty(t.name)){var n=fr[t.name];for(var a in n)n.hasOwnProperty(a)&&(r.hasOwnProperty(a)&&(r["_"+a]=r[a]),r[a]=n[a])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var o in t.modeProps)r[o]=t.modeProps[o];return r}var fr={};function gs(e,t){var i=fr.hasOwnProperty(e)?fr[e]:fr[e]={};ot(t,i)}function Kt(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var i={};for(var r in t){var n=t[r];n instanceof Array&&(n=n.concat([])),i[r]=n}return i}function Mn(e,t){for(var i;e.innerMode&&(i=e.innerMode(t),!(!i||i.mode==e));)t=i.state,e=i.mode;return i||{mode:e,state:t}}function za(e,t,i){return e.startState?e.startState(t,i):!0}var Ae=function(e,t,i){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=i};Ae.prototype.eol=function(){return this.pos>=this.string.length},Ae.prototype.sol=function(){return this.pos==this.lineStart},Ae.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ae.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ae.prototype.eat=function(e){var t=this.string.charAt(this.pos),i;if(typeof e=="string"?i=t==e:i=t&&(e.test?e.test(t):e(t)),i)return++this.pos,t},Ae.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ae.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ae.prototype.skipToEnd=function(){this.pos=this.string.length},Ae.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ae.prototype.backUp=function(e){this.pos-=e},Ae.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Oe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Oe(this.string,this.lineStart,this.tabSize):0)},Ae.prototype.indentation=function(){return Oe(this.string,null,this.tabSize)-(this.lineStart?Oe(this.string,this.lineStart,this.tabSize):0)},Ae.prototype.match=function(e,t,i){if(typeof e=="string"){var r=function(o){return i?o.toLowerCase():o},n=this.string.substr(this.pos,e.length);if(r(n)==r(e))return t!==!1&&(this.pos+=e.length),!0}else{var a=this.string.slice(this.pos).match(e);return a&&a.index>0?null:(a&&t!==!1&&(this.pos+=a[0].length),a)}},Ae.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ae.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ae.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ae.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function ie(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var i=e;!i.lines;)for(var r=0;;++r){var n=i.children[r],a=n.chunkSize();if(t<a){i=n;break}t-=a}return i.lines[t]}function Xt(e,t,i){var r=[],n=t.line;return e.iter(t.line,i.line+1,function(a){var o=a.text;n==i.line&&(o=o.slice(0,i.ch)),n==t.line&&(o=o.slice(t.ch)),r.push(o),++n}),r}function Dn(e,t,i){var r=[];return e.iter(t,i,function(n){r.push(n.text)}),r}function xt(e,t){var i=t-e.height;if(i)for(var r=e;r;r=r.parent)r.height+=i}function ye(e){if(e.parent==null)return null;for(var t=e.parent,i=ke(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var n=0;r.children[n]!=t;++n)i+=r.children[n].chunkSize();return i+t.first}function Yt(e,t){var i=e.first;e:do{for(var r=0;r<e.children.length;++r){var n=e.children[r],a=n.height;if(t<a){e=n;continue e}t-=a,i+=n.chunkSize()}return i}while(!e.lines);for(var o=0;o<e.lines.length;++o){var l=e.lines[o],s=l.height;if(t<s)break;t-=s}return i+o}function Br(e,t){return t>=e.first&&t<e.first+e.size}function Fn(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function W(e,t,i){if(i===void 0&&(i=null),!(this instanceof W))return new W(e,t,i);this.line=e,this.ch=t,this.sticky=i}function se(e,t){return e.line-t.line||e.ch-t.ch}function En(e,t){return e.sticky==t.sticky&&se(e,t)==0}function An(e){return W(e.line,e.ch)}function vi(e,t){return se(e,t)<0?t:e}function mi(e,t){return se(e,t)<0?e:t}function _a(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function ue(e,t){if(t.line<e.first)return W(e.first,0);var i=e.first+e.size-1;return t.line>i?W(i,ie(e,i).text.length):vs(t,ie(e,t.line).text.length)}function vs(e,t){var i=e.ch;return i==null||i>t?W(e.line,t):i<0?W(e.line,0):e}function Ua(e,t){for(var i=[],r=0;r<t.length;r++)i[r]=ue(e,t[r]);return i}var yi=function(e,t){this.state=e,this.lookAhead=t},bt=function(e,t,i,r){this.state=t,this.doc=e,this.line=i,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};bt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return t!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},bt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},bt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},bt.fromSaved=function(e,t,i){return t instanceof yi?new bt(e,Kt(e.mode,t.state),i,t.lookAhead):new bt(e,Kt(e.mode,t),i)},bt.prototype.save=function(e){var t=e!==!1?Kt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new yi(t,this.maxLookAhead):t};function qa(e,t,i,r){var n=[e.state.modeGen],a={};Za(e,t.text,e.doc.mode,i,function(u,y){return n.push(u,y)},a,r);for(var o=i.state,l=function(u){i.baseTokens=n;var y=e.state.overlays[u],b=1,T=0;i.state=!0,Za(e,t.text,y.mode,i,function(C,F){for(var P=b;T<C;){var U=n[b];U>C&&n.splice(b,1,C,n[b+1],U),b+=2,T=Math.min(C,U)}if(F)if(y.opaque)n.splice(P,b-P,C,"overlay "+F),b=P+2;else for(;P<b;P+=2){var X=n[P+1];n[P+1]=(X?X+" ":"")+"overlay "+F}},a),i.state=o,i.baseTokens=null,i.baseTokenPos=1},s=0;s<e.state.overlays.length;++s)l(s);return{styles:n,classes:a.bgClass||a.textClass?a:null}}function Ga(e,t,i){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=Rr(e,ye(t)),n=t.text.length>e.options.maxHighlightLength&&Kt(e.doc.mode,r.state),a=qa(e,t,r);n&&(r.state=n),t.stateAfter=r.save(!n),t.styles=a.styles,a.classes?t.styleClasses=a.classes:t.styleClasses&&(t.styleClasses=null),i===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Rr(e,t,i){var r=e.doc,n=e.display;if(!r.mode.startState)return new bt(r,!0,t);var a=ms(e,t,i),o=a>r.first&&ie(r,a-1).stateAfter,l=o?bt.fromSaved(r,o,a):new bt(r,za(r.mode),a);return r.iter(a,t,function(s){Nn(e,s.text,l);var u=l.line;s.stateAfter=u==t-1||u%5==0||u>=n.viewFrom&&u<n.viewTo?l.save():null,l.nextLine()}),i&&(r.modeFrontier=l.line),l}function Nn(e,t,i,r){var n=e.doc.mode,a=new Ae(t,e.options.tabSize,i);for(a.start=a.pos=r||0,t==""&&ja(n,i.state);!a.eol();)Hn(n,a,i.state),a.start=a.pos}function ja(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var i=Mn(e,t);if(i.mode.blankLine)return i.mode.blankLine(i.state)}}function Hn(e,t,i,r){for(var n=0;n<10;n++){r&&(r[0]=Mn(e,i).mode);var a=e.token(t,i);if(t.pos>t.start)return a}throw new Error("Mode "+e.name+" failed to advance stream.")}var Ka=function(e,t,i){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=i};function Xa(e,t,i,r){var n=e.doc,a=n.mode,o;t=ue(n,t);var l=ie(n,t.line),s=Rr(e,t.line,i),u=new Ae(l.text,e.options.tabSize,s),y;for(r&&(y=[]);(r||u.pos<t.ch)&&!u.eol();)u.start=u.pos,o=Hn(a,u,s.state),r&&y.push(new Ka(u,o,Kt(n.mode,s.state)));return r?y:new Ka(u,o,s.state)}function Ya(e,t){if(e)for(;;){var i=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!i)break;e=e.slice(0,i.index)+e.slice(i.index+i[0].length);var r=i[1]?"bgClass":"textClass";t[r]==null?t[r]=i[2]:new RegExp("(?:^|\\s)"+i[2]+"(?:$|\\s)").test(t[r])||(t[r]+=" "+i[2])}return e}function Za(e,t,i,r,n,a,o){var l=i.flattenSpans;l==null&&(l=e.options.flattenSpans);var s=0,u=null,y=new Ae(t,e.options.tabSize,r),b,T=e.options.addModeClass&&[null];for(t==""&&Ya(ja(i,r.state),a);!y.eol();){if(y.pos>e.options.maxHighlightLength?(l=!1,o&&Nn(e,t,r,y.pos),y.pos=t.length,b=null):b=Ya(Hn(i,y,r.state,T),a),T){var C=T[0].name;C&&(b="m-"+(b?C+" "+b:C))}if(!l||u!=b){for(;s<y.start;)s=Math.min(y.start,s+5e3),n(s,u);u=b}y.start=y.pos}for(;s<y.pos;){var F=Math.min(y.pos,s+5e3);n(F,u),s=F}}function ms(e,t,i){for(var r,n,a=e.doc,o=i?-1:t-(e.doc.mode.innerMode?1e3:100),l=t;l>o;--l){if(l<=a.first)return a.first;var s=ie(a,l-1),u=s.stateAfter;if(u&&(!i||l+(u instanceof yi?u.lookAhead:0)<=a.modeFrontier))return l;var y=Oe(s.text,null,e.options.tabSize);(n==null||r>y)&&(n=l-1,r=y)}return n}function ys(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var i=e.first,r=t-1;r>i;r--){var n=ie(e,r).stateAfter;if(n&&(!(n instanceof yi)||r+n.lookAhead<t)){i=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,i)}}var Ja=!1,Lt=!1;function xs(){Ja=!0}function bs(){Lt=!0}function xi(e,t,i){this.marker=e,this.from=t,this.to=i}function Wr(e,t){if(e)for(var i=0;i<e.length;++i){var r=e[i];if(r.marker==t)return r}}function Ss(e,t){for(var i,r=0;r<e.length;++r)e[r]!=t&&(i||(i=[])).push(e[r]);return i}function ws(e,t,i){var r=i&&window.WeakSet&&(i.markedSpans||(i.markedSpans=new WeakSet));r&&e.markedSpans&&r.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],r&&r.add(e.markedSpans)),t.marker.attachLine(e)}function ks(e,t,i){var r;if(e)for(var n=0;n<e.length;++n){var a=e[n],o=a.marker,l=a.from==null||(o.inclusiveLeft?a.from<=t:a.from<t);if(l||a.from==t&&o.type=="bookmark"&&(!i||!a.marker.insertLeft)){var s=a.to==null||(o.inclusiveRight?a.to>=t:a.to>t);(r||(r=[])).push(new xi(o,a.from,s?null:a.to))}}return r}function Cs(e,t,i){var r;if(e)for(var n=0;n<e.length;++n){var a=e[n],o=a.marker,l=a.to==null||(o.inclusiveRight?a.to>=t:a.to>t);if(l||a.from==t&&o.type=="bookmark"&&(!i||a.marker.insertLeft)){var s=a.from==null||(o.inclusiveLeft?a.from<=t:a.from<t);(r||(r=[])).push(new xi(o,s?null:a.from-t,a.to==null?null:a.to-t))}}return r}function On(e,t){if(t.full)return null;var i=Br(e,t.from.line)&&ie(e,t.from.line).markedSpans,r=Br(e,t.to.line)&&ie(e,t.to.line).markedSpans;if(!i&&!r)return null;var n=t.from.ch,a=t.to.ch,o=se(t.from,t.to)==0,l=ks(i,n,o),s=Cs(r,a,o),u=t.text.length==1,y=pe(t.text).length+(u?n:0);if(l)for(var b=0;b<l.length;++b){var T=l[b];if(T.to==null){var C=Wr(s,T.marker);C?u&&(T.to=C.to==null?null:C.to+y):T.to=n}}if(s)for(var F=0;F<s.length;++F){var P=s[F];if(P.to!=null&&(P.to+=y),P.from==null){var U=Wr(l,P.marker);U||(P.from=y,u&&(l||(l=[])).push(P))}else P.from+=y,u&&(l||(l=[])).push(P)}l&&(l=Qa(l)),s&&s!=l&&(s=Qa(s));var X=[l];if(!u){var J=t.text.length-2,Y;if(J>0&&l)for(var $=0;$<l.length;++$)l[$].to==null&&(Y||(Y=[])).push(new xi(l[$].marker,null,null));for(var ae=0;ae<J;++ae)X.push(Y);X.push(s)}return X}function Qa(e){for(var t=0;t<e.length;++t){var i=e[t];i.from!=null&&i.from==i.to&&i.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function Ls(e,t,i){var r=null;if(e.iter(t.line,i.line+1,function(C){if(C.markedSpans)for(var F=0;F<C.markedSpans.length;++F){var P=C.markedSpans[F].marker;P.readOnly&&(!r||ke(r,P)==-1)&&(r||(r=[])).push(P)}}),!r)return null;for(var n=[{from:t,to:i}],a=0;a<r.length;++a)for(var o=r[a],l=o.find(0),s=0;s<n.length;++s){var u=n[s];if(!(se(u.to,l.from)<0||se(u.from,l.to)>0)){var y=[s,1],b=se(u.from,l.from),T=se(u.to,l.to);(b<0||!o.inclusiveLeft&&!b)&&y.push({from:u.from,to:l.from}),(T>0||!o.inclusiveRight&&!T)&&y.push({from:l.to,to:u.to}),n.splice.apply(n,y),s+=y.length-3}}return n}function Va(e){var t=e.markedSpans;if(t){for(var i=0;i<t.length;++i)t[i].marker.detachLine(e);e.markedSpans=null}}function $a(e,t){if(t){for(var i=0;i<t.length;++i)t[i].marker.attachLine(e);e.markedSpans=t}}function bi(e){return e.inclusiveLeft?-1:0}function Si(e){return e.inclusiveRight?1:0}function In(e,t){var i=e.lines.length-t.lines.length;if(i!=0)return i;var r=e.find(),n=t.find(),a=se(r.from,n.from)||bi(e)-bi(t);if(a)return-a;var o=se(r.to,n.to)||Si(e)-Si(t);return o||t.id-e.id}function eo(e,t){var i=Lt&&e.markedSpans,r;if(i)for(var n=void 0,a=0;a<i.length;++a)n=i[a],n.marker.collapsed&&(t?n.from:n.to)==null&&(!r||In(r,n.marker)<0)&&(r=n.marker);return r}function to(e){return eo(e,!0)}function wi(e){return eo(e,!1)}function Ts(e,t){var i=Lt&&e.markedSpans,r;if(i)for(var n=0;n<i.length;++n){var a=i[n];a.marker.collapsed&&(a.from==null||a.from<t)&&(a.to==null||a.to>t)&&(!r||In(r,a.marker)<0)&&(r=a.marker)}return r}function ro(e,t,i,r,n){var a=ie(e,t),o=Lt&&a.markedSpans;if(o)for(var l=0;l<o.length;++l){var s=o[l];if(s.marker.collapsed){var u=s.marker.find(0),y=se(u.from,i)||bi(s.marker)-bi(n),b=se(u.to,r)||Si(s.marker)-Si(n);if(!(y>=0&&b<=0||y<=0&&b>=0)&&(y<=0&&(s.marker.inclusiveRight&&n.inclusiveLeft?se(u.to,i)>=0:se(u.to,i)>0)||y>=0&&(s.marker.inclusiveRight&&n.inclusiveLeft?se(u.from,r)<=0:se(u.from,r)<0)))return!0}}}function dt(e){for(var t;t=to(e);)e=t.find(-1,!0).line;return e}function Ms(e){for(var t;t=wi(e);)e=t.find(1,!0).line;return e}function Ds(e){for(var t,i;t=wi(e);)e=t.find(1,!0).line,(i||(i=[])).push(e);return i}function Pn(e,t){var i=ie(e,t),r=dt(i);return i==r?t:ye(r)}function io(e,t){if(t>e.lastLine())return t;var i=ie(e,t),r;if(!It(e,i))return t;for(;r=wi(i);)i=r.find(1,!0).line;return ye(i)+1}function It(e,t){var i=Lt&&t.markedSpans;if(i){for(var r=void 0,n=0;n<i.length;++n)if(r=i[n],!!r.marker.collapsed){if(r.from==null)return!0;if(!r.marker.widgetNode&&r.from==0&&r.marker.inclusiveLeft&&Bn(e,t,r))return!0}}}function Bn(e,t,i){if(i.to==null){var r=i.marker.find(1,!0);return Bn(e,r.line,Wr(r.line.markedSpans,i.marker))}if(i.marker.inclusiveRight&&i.to==t.text.length)return!0;for(var n=void 0,a=0;a<t.markedSpans.length;++a)if(n=t.markedSpans[a],n.marker.collapsed&&!n.marker.widgetNode&&n.from==i.to&&(n.to==null||n.to!=i.from)&&(n.marker.inclusiveLeft||i.marker.inclusiveRight)&&Bn(e,t,n))return!0}function Tt(e){e=dt(e);for(var t=0,i=e.parent,r=0;r<i.lines.length;++r){var n=i.lines[r];if(n==e)break;t+=n.height}for(var a=i.parent;a;i=a,a=i.parent)for(var o=0;o<a.children.length;++o){var l=a.children[o];if(l==i)break;t+=l.height}return t}function ki(e){if(e.height==0)return 0;for(var t=e.text.length,i,r=e;i=to(r);){var n=i.find(0,!0);r=n.from.line,t+=n.from.ch-n.to.ch}for(r=e;i=wi(r);){var a=i.find(0,!0);t-=r.text.length-a.from.ch,r=a.to.line,t+=r.text.length-a.to.ch}return t}function Rn(e){var t=e.display,i=e.doc;t.maxLine=ie(i,i.first),t.maxLineLength=ki(t.maxLine),t.maxLineChanged=!0,i.iter(function(r){var n=ki(r);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=r)})}var cr=function(e,t,i){this.text=e,$a(this,t),this.height=i?i(this):1};cr.prototype.lineNo=function(){return ye(this)},sr(cr);function Fs(e,t,i,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Va(e),$a(e,i);var n=r?r(e):1;n!=e.height&&xt(e,n)}function Es(e){e.parent=null,Va(e)}var As={},Ns={};function no(e,t){if(!e||/^\s*$/.test(e))return null;var i=t.addModeClass?Ns:As;return i[e]||(i[e]=e.replace(/\S+/g,"cm-$&"))}function ao(e,t){var i=q("span",null,null,E?"padding-right: .1px":null),r={pre:q("pre",[i],"CodeMirror-line"),content:i,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var n=0;n<=(t.rest?t.rest.length:0);n++){var a=n?t.rest[n-1]:t.line,o=void 0;r.pos=0,r.addToken=Os,us(e.display.measure)&&(o=Ct(a,e.doc.direction))&&(r.addToken=Ps(r.addToken,o)),r.map=[];var l=t!=e.display.externalMeasured&&ye(a);Bs(a,r,Ga(e,a,l)),a.styleClasses&&(a.styleClasses.bgClass&&(r.bgClass=Nt(a.styleClasses.bgClass,r.bgClass||"")),a.styleClasses.textClass&&(r.textClass=Nt(a.styleClasses.textClass,r.textClass||""))),r.map.length==0&&r.map.push(0,0,r.content.appendChild(ss(e.display.measure))),n==0?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(E){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return Ee(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=Nt(r.pre.className,r.textClass||"")),r}function Hs(e){var t=L("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Os(e,t,i,r,n,a,o){if(t){var l=e.splitSpaces?Is(t,e.trailingSpace):t,s=e.cm.state.specialChars,u=!1,y;if(!s.test(t))e.col+=t.length,y=document.createTextNode(l),e.map.push(e.pos,e.pos+t.length,y),g&&k<9&&(u=!0),e.pos+=t.length;else{y=document.createDocumentFragment();for(var b=0;;){s.lastIndex=b;var T=s.exec(t),C=T?T.index-b:t.length-b;if(C){var F=document.createTextNode(l.slice(b,b+C));g&&k<9?y.appendChild(L("span",[F])):y.appendChild(F),e.map.push(e.pos,e.pos+C,F),e.col+=C,e.pos+=C}if(!T)break;b+=C+1;var P=void 0;if(T[0]==" "){var U=e.cm.options.tabSize,X=U-e.col%U;P=y.appendChild(L("span",Ht(X),"cm-tab")),P.setAttribute("role","presentation"),P.setAttribute("cm-text"," "),e.col+=X}else T[0]=="\r"||T[0]==`
@@ -1 +1 @@
1
- import{aF as Le,aG as Me,q as X,r as V,U as j,aD as ve,e as B,a as H,aH as je,c as P,n as me,aj as W,aI as xe,w as he,aJ as Be,aK as qe,ab as oe,a6 as Fe,aL as Ee,z,aM as Ye,s as G,R as Ue,o as Ge,f as Ne,a7 as Xe,a8 as Ke,ac as Je,O as Qe,af as Ze,X as et,aN as tt,v as nt,x as ot,Y as rt,Q as at,al as it,_ as st,ag as lt,aa as ct,A as ut,B as I,T as ft,ae as dt,a3 as vt,a5 as mt,a4 as ht,F as gt,L as yt}from"./index-BOM4rIEv.js";import{p as Se,k as ae,l as ie,n as Oe,o as pe,q as wt,r as bt}from"./router-tttAuCuM.js";class ${constructor(t){let{x:n,y:o,width:a,height:r}=t;this.x=n,this.y=o,this.width=a,this.height=r}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Pe(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function xt(e){return Array.isArray(e)?new $({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function Et(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),o=n.transform;if(o){let a,r,s,i,c;if(o.startsWith("matrix3d("))a=o.slice(9,-1).split(/, /),r=+a[0],s=+a[5],i=+a[12],c=+a[13];else if(o.startsWith("matrix("))a=o.slice(7,-1).split(/, /),r=+a[0],s=+a[3],i=+a[4],c=+a[5];else return new $(t);const f=n.transformOrigin,l=t.x-i-(1-r)*parseFloat(f),g=t.y-c-(1-s)*parseFloat(f.slice(f.indexOf(" ")+1)),x=r?t.width/r:e.offsetWidth+1,w=s?t.height/s:e.offsetHeight+1;return new $({x:l,y:g,width:x,height:w})}else return new $(t)}function St(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let o;try{o=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof o.finished>"u"&&(o.finished=new Promise(a=>{o.onfinish=()=>{a(o)}})),o}const Z=new WeakMap;function Ot(e,t){Object.keys(t).forEach(n=>{if(Le(n)){const o=Me(n),a=Z.get(e);if(t[n]==null)a==null||a.forEach(r=>{const[s,i]=r;s===o&&(e.removeEventListener(o,i),a.delete(r))});else if(!a||![...a].some(r=>r[0]===o&&r[1]===t[n])){e.addEventListener(o,t[n]);const r=a||new Set;r.add([o,t[n]]),Z.has(e)||Z.set(e,r)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function pt(e,t){Object.keys(t).forEach(n=>{if(Le(n)){const o=Me(n),a=Z.get(e);a==null||a.forEach(r=>{const[s,i]=r;s===o&&(e.removeEventListener(o,i),a.delete(r))})}else e.removeAttribute(n)})}function _e(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const Pt="cubic-bezier(0.4, 0, 0.2, 1)",sn="cubic-bezier(0.0, 0, 0.2, 1)",ln="cubic-bezier(0.4, 0, 1, 1)";function Ct(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?At(e):ge(e))return e;e=e.parentElement}return document.scrollingElement}function te(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(ge(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function ge(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function At(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function Rt(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function se(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Tt(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ce(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:o}=e,a=o==="left"?0:o==="center"?t.width/2:o==="right"?t.width:o,r=n==="top"?0:n==="bottom"?t.height:n;return se({x:a,y:r},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:o}=e,a=n==="left"?0:n==="right"?t.width:n,r=o==="top"?0:o==="center"?t.height/2:o==="bottom"?t.height:o;return se({x:a,y:r},t)}return se({x:t.width/2,y:t.height/2},t)}const We={static:Mt,connected:Ft},kt=X({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in We},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Lt(e,t){const n=V({}),o=V();j&&ve(()=>!!(t.isActive.value&&e.locationStrategy),r=>{var s,i;B(()=>e.locationStrategy,r),H(()=>{window.removeEventListener("resize",a),o.value=void 0}),window.addEventListener("resize",a,{passive:!0}),typeof e.locationStrategy=="function"?o.value=(s=e.locationStrategy(t,e,n))==null?void 0:s.updateLocation:o.value=(i=We[e.locationStrategy](t,e,n))==null?void 0:i.updateLocation});function a(r){var s;(s=o.value)==null||s.call(o,r)}return{contentStyles:n,updateLocation:o}}function Mt(){}function Bt(e,t){const n=Et(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function Ft(e,t,n){(Array.isArray(e.target.value)||Rt(e.target.value))&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:a,preferredOrigin:r}=je(()=>{const v=Se(t.location,e.isRtl.value),d=t.origin==="overlap"?v:t.origin==="auto"?ae(v):Se(t.origin,e.isRtl.value);return v.side===d.side&&v.align===ie(d).align?{preferredAnchor:Oe(v),preferredOrigin:Oe(d)}:{preferredAnchor:v,preferredOrigin:d}}),[s,i,c,f]=["minWidth","minHeight","maxWidth","maxHeight"].map(v=>P(()=>{const d=parseFloat(t[v]);return isNaN(d)?1/0:d})),l=P(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const v=t.offset.split(" ").map(parseFloat);return v.length<2&&v.push(0),v}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let g=!1;const x=new ResizeObserver(()=>{g&&w()});B([e.target,e.contentEl],(v,d)=>{let[C,A]=v,[S,E]=d;S&&!Array.isArray(S)&&x.unobserve(S),C&&!Array.isArray(C)&&x.observe(C),E&&x.unobserve(E),A&&x.observe(A)},{immediate:!0}),H(()=>{x.disconnect()});function w(){if(g=!1,requestAnimationFrame(()=>g=!0),!e.target.value||!e.contentEl.value)return;const v=xt(e.target.value),d=Bt(e.contentEl.value,e.isRtl.value),C=te(e.contentEl.value),A=12;C.length||(C.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(d.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),d.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const S=C.reduce((O,b)=>{const m=b.getBoundingClientRect(),y=new $({x:b===document.documentElement?0:m.x,y:b===document.documentElement?0:m.y,width:b.clientWidth,height:b.clientHeight});return O?new $({x:Math.max(O.left,y.left),y:Math.max(O.top,y.top),width:Math.min(O.right,y.right)-Math.max(O.left,y.left),height:Math.min(O.bottom,y.bottom)-Math.max(O.top,y.top)}):y},void 0);S.x+=A,S.y+=A,S.width-=A*2,S.height-=A*2;let E={anchor:a.value,origin:r.value};function T(O){const b=new $(d),m=Ce(O.anchor,v),y=Ce(O.origin,b);let{x:N,y:_}=Tt(m,y);switch(O.anchor.side){case"top":_-=l.value[0];break;case"bottom":_+=l.value[0];break;case"left":N-=l.value[0];break;case"right":N+=l.value[0];break}switch(O.anchor.align){case"top":_-=l.value[1];break;case"bottom":_+=l.value[1];break;case"left":N-=l.value[1];break;case"right":N+=l.value[1];break}return b.x+=N,b.y+=_,b.width=Math.min(b.width,c.value),b.height=Math.min(b.height,f.value),{overflows:Pe(b,S),x:N,y:_}}let L=0,F=0;const p={x:0,y:0},u={x:!1,y:!1};let k=-1;for(;!(k++>10);){const{x:O,y:b,overflows:m}=T(E);L+=O,F+=b,d.x+=O,d.y+=b;{const y=pe(E.anchor),N=m.x.before||m.x.after,_=m.y.before||m.y.after;let q=!1;if(["x","y"].forEach(R=>{if(R==="x"&&N&&!u.x||R==="y"&&_&&!u.y){const D={anchor:{...E.anchor},origin:{...E.origin}},Y=R==="x"?y==="y"?ie:ae:y==="y"?ae:ie;D.anchor=Y(D.anchor),D.origin=Y(D.origin);const{overflows:U}=T(D);(U[R].before<=m[R].before&&U[R].after<=m[R].after||U[R].before+U[R].after<(m[R].before+m[R].after)/2)&&(E=D,q=u[R]=!0)}}),q)continue}m.x.before&&(L+=m.x.before,d.x+=m.x.before),m.x.after&&(L-=m.x.after,d.x-=m.x.after),m.y.before&&(F+=m.y.before,d.y+=m.y.before),m.y.after&&(F-=m.y.after,d.y-=m.y.after);{const y=Pe(d,S);p.x=S.width-y.x.before-y.x.after,p.y=S.height-y.y.before-y.y.after,L+=y.x.before,d.x+=y.x.before,F+=y.y.before,d.y+=y.y.before}break}const re=pe(E.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${E.anchor.side} ${E.anchor.align}`,transformOrigin:`${E.origin.side} ${E.origin.align}`,top:W(le(F)),left:e.isRtl.value?void 0:W(le(L)),right:e.isRtl.value?W(le(-L)):void 0,minWidth:W(re==="y"?Math.min(s.value,v.width):s.value),maxWidth:W(Ae(xe(p.x,s.value===1/0?0:s.value,c.value))),maxHeight:W(Ae(xe(p.y,i.value===1/0?0:i.value,f.value)))}),{available:p,contentBox:d}}return B(()=>[a.value,r.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>w()),me(()=>{const v=w();if(!v)return;const{available:d,contentBox:C}=v;C.height>d.y&&requestAnimationFrame(()=>{w(),requestAnimationFrame(()=>{w()})})}),{updateLocation:w}}function le(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Ae(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let fe=!0;const ne=[];function Nt(e){!fe||ne.length?(ne.push(e),de()):(fe=!1,e(),de())}let Re=-1;function de(){cancelAnimationFrame(Re),Re=requestAnimationFrame(()=>{const e=ne.shift();e&&e(),ne.length?de():fe=!0})}const ee={none:null,close:Ht,block:Dt,reposition:It},_t=X({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in ee}},"VOverlay-scroll-strategies");function Wt(e,t){if(!j)return;let n;he(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=Be(),await new Promise(o=>setTimeout(o)),n.active&&n.run(()=>{var o;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(o=ee[e.scrollStrategy])==null||o.call(ee,t,e,n)}))}),H(()=>{n==null||n.stop()})}function Ht(e){function t(n){e.isActive.value=!1}He(e.targetEl.value??e.contentEl.value,t)}function Dt(e,t){var s;const n=(s=e.root.value)==null?void 0:s.offsetParent,o=[...new Set([...te(e.targetEl.value,t.contained?n:void 0),...te(e.contentEl.value,t.contained?n:void 0)])].filter(i=>!i.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,r=(i=>ge(i)&&i)(n||document.documentElement);r&&e.root.value.classList.add("v-overlay--scroll-blocked"),o.forEach((i,c)=>{i.style.setProperty("--v-body-scroll-x",W(-i.scrollLeft)),i.style.setProperty("--v-body-scroll-y",W(-i.scrollTop)),i!==document.documentElement&&i.style.setProperty("--v-scrollbar-offset",W(a)),i.classList.add("v-overlay-scroll-blocked")}),H(()=>{o.forEach((i,c)=>{const f=parseFloat(i.style.getPropertyValue("--v-body-scroll-x")),l=parseFloat(i.style.getPropertyValue("--v-body-scroll-y")),g=i.style.scrollBehavior;i.style.scrollBehavior="auto",i.style.removeProperty("--v-body-scroll-x"),i.style.removeProperty("--v-body-scroll-y"),i.style.removeProperty("--v-scrollbar-offset"),i.classList.remove("v-overlay-scroll-blocked"),i.scrollLeft=-f,i.scrollTop=-l,i.style.scrollBehavior=g}),r&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function It(e,t,n){let o=!1,a=-1,r=-1;function s(i){Nt(()=>{var l,g;const c=performance.now();(g=(l=e.updateLocation).value)==null||g.call(l,i),o=(performance.now()-c)/(1e3/60)>2})}r=(typeof requestIdleCallback>"u"?i=>i():requestIdleCallback)(()=>{n.run(()=>{He(e.targetEl.value??e.contentEl.value,i=>{o?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{s(i)})})):s(i)})})}),H(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(a)})}function He(e,t){const n=[document,...te(e)];n.forEach(o=>{o.addEventListener("scroll",t,{passive:!0})}),H(()=>{n.forEach(o=>{o.removeEventListener("scroll",t)})})}const Vt=Symbol.for("vuetify:v-menu"),zt=X({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function $t(e,t){let n=()=>{};function o(s){n==null||n();const i=Number(s?e.openDelay:e.closeDelay);return new Promise(c=>{n=qe(i,()=>{t==null||t(s),c(s)})})}function a(){return o(!0)}function r(){return o(!1)}return{clearDelay:n,runOpenDelay:a,runCloseDelay:r}}const jt=X({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...zt()},"VOverlay-activator");function qt(e,t){let{isActive:n,isTop:o,contentEl:a}=t;const r=oe("useActivator"),s=V();let i=!1,c=!1,f=!0;const l=P(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),g=P(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!l.value),{runOpenDelay:x,runCloseDelay:w}=$t(e,u=>{u===(e.openOnHover&&i||l.value&&c)&&!(e.openOnHover&&n.value&&!o.value)&&(n.value!==u&&(f=!0),n.value=u)}),v=V(),d={onClick:u=>{u.stopPropagation(),s.value=u.currentTarget||u.target,n.value||(v.value=[u.clientX,u.clientY]),n.value=!n.value},onMouseenter:u=>{var k;(k=u.sourceCapabilities)!=null&&k.firesTouchEvents||(i=!0,s.value=u.currentTarget||u.target,x())},onMouseleave:u=>{i=!1,w()},onFocus:u=>{Ye(u.target,":focus-visible")!==!1&&(c=!0,u.stopPropagation(),s.value=u.currentTarget||u.target,x())},onBlur:u=>{c=!1,u.stopPropagation(),w()}},C=P(()=>{const u={};return g.value&&(u.onClick=d.onClick),e.openOnHover&&(u.onMouseenter=d.onMouseenter,u.onMouseleave=d.onMouseleave),l.value&&(u.onFocus=d.onFocus,u.onBlur=d.onBlur),u}),A=P(()=>{const u={};if(e.openOnHover&&(u.onMouseenter=()=>{i=!0,x()},u.onMouseleave=()=>{i=!1,w()}),l.value&&(u.onFocusin=()=>{c=!0,x()},u.onFocusout=()=>{c=!1,w()}),e.closeOnContentClick){const k=Fe(Vt,null);u.onClick=()=>{n.value=!1,k==null||k.closeParents()}}return u}),S=P(()=>{const u={};return e.openOnHover&&(u.onMouseenter=()=>{f&&(i=!0,f=!1,x())},u.onMouseleave=()=>{i=!1,w()}),u});B(o,u=>{var k;u&&(e.openOnHover&&!i&&(!l.value||!c)||l.value&&!c&&(!e.openOnHover||!i))&&!((k=a.value)!=null&&k.contains(document.activeElement))&&(n.value=!1)}),B(n,u=>{u||setTimeout(()=>{v.value=void 0})},{flush:"post"});const E=Ee();he(()=>{E.value&&me(()=>{s.value=E.el})});const T=Ee(),L=P(()=>e.target==="cursor"&&v.value?v.value:T.value?T.el:De(e.target,r)||s.value),F=P(()=>Array.isArray(L.value)?void 0:L.value);let p;return B(()=>!!e.activator,u=>{u&&j?(p=Be(),p.run(()=>{Yt(e,r,{activatorEl:s,activatorEvents:C})})):p&&p.stop()},{flush:"post",immediate:!0}),H(()=>{p==null||p.stop()}),{activatorEl:s,activatorRef:E,target:L,targetEl:F,targetRef:T,activatorEvents:C,contentEvents:A,scrimEvents:S}}function Yt(e,t,n){let{activatorEl:o,activatorEvents:a}=n;B(()=>e.activator,(c,f)=>{if(f&&c!==f){const l=i(f);l&&s(l)}c&&me(()=>r())},{immediate:!0}),B(()=>e.activatorProps,()=>{r()}),H(()=>{s()});function r(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i(),f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;c&&Ot(c,z(a.value,f))}function s(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i(),f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;c&&pt(c,z(a.value,f))}function i(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const f=De(c,t);return o.value=(f==null?void 0:f.nodeType)===Node.ELEMENT_NODE?f:void 0,o.value}}function De(e,t){var o,a;if(!e)return;let n;if(e==="parent"){let r=(a=(o=t==null?void 0:t.proxy)==null?void 0:o.$el)==null?void 0:a.parentNode;for(;r!=null&&r.hasAttribute("data-no-activator");)r=r.parentNode;n=r}else typeof e=="string"?n=document.querySelector(e):"$el"in e?n=e.$el:n=e;return n}function Ut(){if(!j)return G(!1);const{ssr:e}=Ue();if(e){const t=G(!1);return Ge(()=>{t.value=!0}),t}else return G(!0)}const Gt=X({eager:Boolean},"lazy");function Xt(e,t){const n=G(!1),o=P(()=>n.value||e.eager||t.value);B(t,()=>n.value=!0);function a(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:o,onAfterLeave:a}}function Kt(){const t=oe("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const Te=Symbol.for("vuetify:stack"),J=Ne([]);function Jt(e,t,n){const o=oe("useStack"),a=!n,r=Fe(Te,void 0),s=Ne({activeChildren:new Set});Xe(Te,s);const i=G(+t.value);ve(e,()=>{var g;const l=(g=J.at(-1))==null?void 0:g[1];i.value=l?l+10:+t.value,a&&J.push([o.uid,i.value]),r==null||r.activeChildren.add(o.uid),H(()=>{if(a){const x=Ke(J).findIndex(w=>w[0]===o.uid);J.splice(x,1)}r==null||r.activeChildren.delete(o.uid)})});const c=G(!0);a&&he(()=>{var g;const l=((g=J.at(-1))==null?void 0:g[0])===o.uid;setTimeout(()=>c.value=l)});const f=P(()=>!s.activeChildren.size);return{globalTop:Je(c),localTop:f,stackStyles:P(()=>({zIndex:i.value}))}}function Qt(e){return{teleportTarget:P(()=>{const n=e();if(n===!0||!j)return;const o=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(o==null)return;let a=[...o.children].find(r=>r.matches(".v-overlay-container"));return a||(a=document.createElement("div"),a.className="v-overlay-container",o.appendChild(a)),a})}}function Zt(){return!0}function Ie(e,t,n){if(!e||Ve(e,n)===!1)return!1;const o=_e(t);if(typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&o.host===e.target)return!1;const a=(typeof n.value=="object"&&n.value.include||(()=>[]))();return a.push(t),!a.some(r=>r==null?void 0:r.contains(e.target))}function Ve(e,t){return(typeof t.value=="object"&&t.value.closeConditional||Zt)(e)}function en(e,t,n){const o=typeof n.value=="function"?n.value:n.value.handler;e.shadowTarget=e.target,t._clickOutside.lastMousedownWasOutside&&Ie(e,t,n)&&setTimeout(()=>{Ve(e,n)&&o&&o(e)},0)}function ke(e,t){const n=_e(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const tn={mounted(e,t){const n=a=>en(a,e,t),o=a=>{e._clickOutside.lastMousedownWasOutside=Ie(a,e,t)};ke(e,a=>{a.addEventListener("click",n,!0),a.addEventListener("mousedown",o,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:o}},beforeUnmount(e,t){e._clickOutside&&(ke(e,n=>{var r;if(!n||!((r=e._clickOutside)!=null&&r[t.instance.$.uid]))return;const{onClick:o,onMousedown:a}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",o,!0),n.removeEventListener("mousedown",a,!0)}),delete e._clickOutside[t.instance.$.uid])}};function nn(e){const{modelValue:t,color:n,...o}=e;return I(yt,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&I("div",z({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},o),null)]})}const on=X({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...jt(),...Qe(),...Ze(),...Gt(),...kt(),..._t(),...et(),...tt()},"VOverlay"),cn=nt()({name:"VOverlay",directives:{ClickOutside:tn},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...on()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:o,emit:a}=t;const r=oe("VOverlay"),s=V(),i=V(),c=V(),f=ot(e,"modelValue"),l=P({get:()=>f.value,set:h=>{h&&e.disabled||(f.value=h)}}),{themeClasses:g}=rt(e),{rtlClasses:x,isRtl:w}=at(),{hasContent:v,onAfterLeave:d}=Xt(e,l),C=it(P(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:A,localTop:S,stackStyles:E}=Jt(l,st(e,"zIndex"),e._disableGlobalStack),{activatorEl:T,activatorRef:L,target:F,targetEl:p,targetRef:u,activatorEvents:k,contentEvents:re,scrimEvents:O}=qt(e,{isActive:l,isTop:S,contentEl:c}),{teleportTarget:b}=Qt(()=>{var K,we,be;const h=e.attach||e.contained;if(h)return h;const M=((K=T==null?void 0:T.value)==null?void 0:K.getRootNode())||((be=(we=r.proxy)==null?void 0:we.$el)==null?void 0:be.getRootNode());return M instanceof ShadowRoot?M:!1}),{dimensionStyles:m}=lt(e),y=Ut(),{scopeId:N}=Kt();B(()=>e.disabled,h=>{h&&(l.value=!1)});const{contentStyles:_,updateLocation:q}=Lt(e,{isRtl:w,contentEl:c,target:F,isActive:l});Wt(e,{root:s,contentEl:c,targetEl:p,isActive:l,updateLocation:q});function R(h){a("click:outside",h),e.persistent?Q():l.value=!1}function D(h){return l.value&&A.value&&(!e.scrim||h.target===i.value||h instanceof MouseEvent&&h.shadowTarget===i.value)}j&&B(l,h=>{h?window.addEventListener("keydown",Y):window.removeEventListener("keydown",Y)},{immediate:!0}),ct(()=>{j&&window.removeEventListener("keydown",Y)});function Y(h){var M,K;h.key==="Escape"&&A.value&&(e.persistent?Q():(l.value=!1,(M=c.value)!=null&&M.contains(document.activeElement)&&((K=T.value)==null||K.focus())))}const U=wt();ve(()=>e.closeOnBack,()=>{bt(U,h=>{A.value&&l.value?(h(!1),e.persistent?Q():l.value=!1):h()})});const ye=V();B(()=>l.value&&(e.absolute||e.contained)&&b.value==null,h=>{if(h){const M=Ct(s.value);M&&M!==document.scrollingElement&&(ye.value=M.scrollTop)}});function Q(){e.noClickAnimation||c.value&&St(c.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Pt})}function ze(){a("afterEnter")}function $e(){d(),a("afterLeave")}return ut(()=>{var h;return I(gt,null,[(h=n.activator)==null?void 0:h.call(n,{isActive:l.value,targetRef:u,props:z({ref:L},k.value,e.activatorProps)}),y.value&&v.value&&I(ft,{disabled:!b.value,to:b.value},{default:()=>[I("div",z({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":l.value,"v-overlay--contained":e.contained},g.value,x.value,e.class],style:[E.value,{"--v-overlay-opacity":e.opacity,top:W(ye.value)},e.style],ref:s},N,o),[I(nn,z({color:C,modelValue:l.value&&!!e.scrim,ref:i},O.value),null),I(dt,{appear:!0,persisted:!0,transition:e.transition,target:F.value,onAfterEnter:ze,onAfterLeave:$e},{default:()=>{var M;return[vt(I("div",z({ref:c,class:["v-overlay__content",e.contentClass],style:[m.value,_.value]},re.value,e.contentProps),[(M=n.default)==null?void 0:M.call(n,{isActive:l})]),[[mt,l.value],[ht("click-outside"),{handler:R,closeConditional:D,include:()=>[T.value]}]])]}})])]})])}),{activatorEl:T,scrimEl:i,target:F,animateClick:Q,contentEl:c,globalTop:A,localTop:S,updateLocation:q}}}),ce=Symbol("Forwarded refs");function ue(e,t){let n=e;for(;n;){const o=Reflect.getOwnPropertyDescriptor(n,t);if(o)return o;n=Object.getPrototypeOf(n)}}function un(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return e[ce]=n,new Proxy(e,{get(a,r){if(Reflect.has(a,r))return Reflect.get(a,r);if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const s of n)if(s.value&&Reflect.has(s.value,r)){const i=Reflect.get(s.value,r);return typeof i=="function"?i.bind(s.value):i}}},has(a,r){if(Reflect.has(a,r))return!0;if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const s of n)if(s.value&&Reflect.has(s.value,r))return!0;return!1},set(a,r,s){if(Reflect.has(a,r))return Reflect.set(a,r,s);if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const i of n)if(i.value&&Reflect.has(i.value,r))return Reflect.set(i.value,r,s);return!1},getOwnPropertyDescriptor(a,r){var i;const s=Reflect.getOwnPropertyDescriptor(a,r);if(s)return s;if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const c of n){if(!c.value)continue;const f=ue(c.value,r)??("_"in c.value?ue((i=c.value._)==null?void 0:i.setupState,r):void 0);if(f)return f}for(const c of n){const f=c.value&&c.value[ce];if(!f)continue;const l=f.slice();for(;l.length;){const g=l.shift(),x=ue(g.value,r);if(x)return x;const w=g.value&&g.value[ce];w&&l.push(...w)}}}}})}export{cn as V,St as a,ln as b,Vt as c,sn as d,Gt as e,un as f,xt as g,Xt as h,Ct as i,on as m,Et as n,Pt as s,Kt as u};
1
+ import{aF as Le,aG as Me,q as X,r as V,U as j,aD as ve,e as B,a as H,aH as je,c as P,n as me,aj as W,aI as xe,w as he,aJ as Be,aK as qe,ab as oe,a6 as Fe,aL as Ee,z,aM as Ye,s as G,R as Ue,o as Ge,f as Ne,a7 as Xe,a8 as Ke,ac as Je,O as Qe,af as Ze,X as et,aN as tt,v as nt,x as ot,Y as rt,Q as at,al as it,_ as st,ag as lt,aa as ct,A as ut,B as I,T as ft,ae as dt,a3 as vt,a5 as mt,a4 as ht,F as gt,L as yt}from"./index-CNx65Vgw.js";import{p as Se,k as ae,l as ie,n as Oe,o as pe,q as wt,r as bt}from"./router-DaBOc3fQ.js";class ${constructor(t){let{x:n,y:o,width:a,height:r}=t;this.x=n,this.y=o,this.width=a,this.height=r}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Pe(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function xt(e){return Array.isArray(e)?new $({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function Et(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),o=n.transform;if(o){let a,r,s,i,c;if(o.startsWith("matrix3d("))a=o.slice(9,-1).split(/, /),r=+a[0],s=+a[5],i=+a[12],c=+a[13];else if(o.startsWith("matrix("))a=o.slice(7,-1).split(/, /),r=+a[0],s=+a[3],i=+a[4],c=+a[5];else return new $(t);const f=n.transformOrigin,l=t.x-i-(1-r)*parseFloat(f),g=t.y-c-(1-s)*parseFloat(f.slice(f.indexOf(" ")+1)),x=r?t.width/r:e.offsetWidth+1,w=s?t.height/s:e.offsetHeight+1;return new $({x:l,y:g,width:x,height:w})}else return new $(t)}function St(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let o;try{o=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof o.finished>"u"&&(o.finished=new Promise(a=>{o.onfinish=()=>{a(o)}})),o}const Z=new WeakMap;function Ot(e,t){Object.keys(t).forEach(n=>{if(Le(n)){const o=Me(n),a=Z.get(e);if(t[n]==null)a==null||a.forEach(r=>{const[s,i]=r;s===o&&(e.removeEventListener(o,i),a.delete(r))});else if(!a||![...a].some(r=>r[0]===o&&r[1]===t[n])){e.addEventListener(o,t[n]);const r=a||new Set;r.add([o,t[n]]),Z.has(e)||Z.set(e,r)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function pt(e,t){Object.keys(t).forEach(n=>{if(Le(n)){const o=Me(n),a=Z.get(e);a==null||a.forEach(r=>{const[s,i]=r;s===o&&(e.removeEventListener(o,i),a.delete(r))})}else e.removeAttribute(n)})}function _e(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const Pt="cubic-bezier(0.4, 0, 0.2, 1)",sn="cubic-bezier(0.0, 0, 0.2, 1)",ln="cubic-bezier(0.4, 0, 1, 1)";function Ct(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?At(e):ge(e))return e;e=e.parentElement}return document.scrollingElement}function te(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(ge(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function ge(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function At(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function Rt(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function se(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Tt(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ce(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:o}=e,a=o==="left"?0:o==="center"?t.width/2:o==="right"?t.width:o,r=n==="top"?0:n==="bottom"?t.height:n;return se({x:a,y:r},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:o}=e,a=n==="left"?0:n==="right"?t.width:n,r=o==="top"?0:o==="center"?t.height/2:o==="bottom"?t.height:o;return se({x:a,y:r},t)}return se({x:t.width/2,y:t.height/2},t)}const We={static:Mt,connected:Ft},kt=X({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in We},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Lt(e,t){const n=V({}),o=V();j&&ve(()=>!!(t.isActive.value&&e.locationStrategy),r=>{var s,i;B(()=>e.locationStrategy,r),H(()=>{window.removeEventListener("resize",a),o.value=void 0}),window.addEventListener("resize",a,{passive:!0}),typeof e.locationStrategy=="function"?o.value=(s=e.locationStrategy(t,e,n))==null?void 0:s.updateLocation:o.value=(i=We[e.locationStrategy](t,e,n))==null?void 0:i.updateLocation});function a(r){var s;(s=o.value)==null||s.call(o,r)}return{contentStyles:n,updateLocation:o}}function Mt(){}function Bt(e,t){const n=Et(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function Ft(e,t,n){(Array.isArray(e.target.value)||Rt(e.target.value))&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:a,preferredOrigin:r}=je(()=>{const v=Se(t.location,e.isRtl.value),d=t.origin==="overlap"?v:t.origin==="auto"?ae(v):Se(t.origin,e.isRtl.value);return v.side===d.side&&v.align===ie(d).align?{preferredAnchor:Oe(v),preferredOrigin:Oe(d)}:{preferredAnchor:v,preferredOrigin:d}}),[s,i,c,f]=["minWidth","minHeight","maxWidth","maxHeight"].map(v=>P(()=>{const d=parseFloat(t[v]);return isNaN(d)?1/0:d})),l=P(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const v=t.offset.split(" ").map(parseFloat);return v.length<2&&v.push(0),v}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let g=!1;const x=new ResizeObserver(()=>{g&&w()});B([e.target,e.contentEl],(v,d)=>{let[C,A]=v,[S,E]=d;S&&!Array.isArray(S)&&x.unobserve(S),C&&!Array.isArray(C)&&x.observe(C),E&&x.unobserve(E),A&&x.observe(A)},{immediate:!0}),H(()=>{x.disconnect()});function w(){if(g=!1,requestAnimationFrame(()=>g=!0),!e.target.value||!e.contentEl.value)return;const v=xt(e.target.value),d=Bt(e.contentEl.value,e.isRtl.value),C=te(e.contentEl.value),A=12;C.length||(C.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(d.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),d.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const S=C.reduce((O,b)=>{const m=b.getBoundingClientRect(),y=new $({x:b===document.documentElement?0:m.x,y:b===document.documentElement?0:m.y,width:b.clientWidth,height:b.clientHeight});return O?new $({x:Math.max(O.left,y.left),y:Math.max(O.top,y.top),width:Math.min(O.right,y.right)-Math.max(O.left,y.left),height:Math.min(O.bottom,y.bottom)-Math.max(O.top,y.top)}):y},void 0);S.x+=A,S.y+=A,S.width-=A*2,S.height-=A*2;let E={anchor:a.value,origin:r.value};function T(O){const b=new $(d),m=Ce(O.anchor,v),y=Ce(O.origin,b);let{x:N,y:_}=Tt(m,y);switch(O.anchor.side){case"top":_-=l.value[0];break;case"bottom":_+=l.value[0];break;case"left":N-=l.value[0];break;case"right":N+=l.value[0];break}switch(O.anchor.align){case"top":_-=l.value[1];break;case"bottom":_+=l.value[1];break;case"left":N-=l.value[1];break;case"right":N+=l.value[1];break}return b.x+=N,b.y+=_,b.width=Math.min(b.width,c.value),b.height=Math.min(b.height,f.value),{overflows:Pe(b,S),x:N,y:_}}let L=0,F=0;const p={x:0,y:0},u={x:!1,y:!1};let k=-1;for(;!(k++>10);){const{x:O,y:b,overflows:m}=T(E);L+=O,F+=b,d.x+=O,d.y+=b;{const y=pe(E.anchor),N=m.x.before||m.x.after,_=m.y.before||m.y.after;let q=!1;if(["x","y"].forEach(R=>{if(R==="x"&&N&&!u.x||R==="y"&&_&&!u.y){const D={anchor:{...E.anchor},origin:{...E.origin}},Y=R==="x"?y==="y"?ie:ae:y==="y"?ae:ie;D.anchor=Y(D.anchor),D.origin=Y(D.origin);const{overflows:U}=T(D);(U[R].before<=m[R].before&&U[R].after<=m[R].after||U[R].before+U[R].after<(m[R].before+m[R].after)/2)&&(E=D,q=u[R]=!0)}}),q)continue}m.x.before&&(L+=m.x.before,d.x+=m.x.before),m.x.after&&(L-=m.x.after,d.x-=m.x.after),m.y.before&&(F+=m.y.before,d.y+=m.y.before),m.y.after&&(F-=m.y.after,d.y-=m.y.after);{const y=Pe(d,S);p.x=S.width-y.x.before-y.x.after,p.y=S.height-y.y.before-y.y.after,L+=y.x.before,d.x+=y.x.before,F+=y.y.before,d.y+=y.y.before}break}const re=pe(E.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${E.anchor.side} ${E.anchor.align}`,transformOrigin:`${E.origin.side} ${E.origin.align}`,top:W(le(F)),left:e.isRtl.value?void 0:W(le(L)),right:e.isRtl.value?W(le(-L)):void 0,minWidth:W(re==="y"?Math.min(s.value,v.width):s.value),maxWidth:W(Ae(xe(p.x,s.value===1/0?0:s.value,c.value))),maxHeight:W(Ae(xe(p.y,i.value===1/0?0:i.value,f.value)))}),{available:p,contentBox:d}}return B(()=>[a.value,r.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>w()),me(()=>{const v=w();if(!v)return;const{available:d,contentBox:C}=v;C.height>d.y&&requestAnimationFrame(()=>{w(),requestAnimationFrame(()=>{w()})})}),{updateLocation:w}}function le(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Ae(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let fe=!0;const ne=[];function Nt(e){!fe||ne.length?(ne.push(e),de()):(fe=!1,e(),de())}let Re=-1;function de(){cancelAnimationFrame(Re),Re=requestAnimationFrame(()=>{const e=ne.shift();e&&e(),ne.length?de():fe=!0})}const ee={none:null,close:Ht,block:Dt,reposition:It},_t=X({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in ee}},"VOverlay-scroll-strategies");function Wt(e,t){if(!j)return;let n;he(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=Be(),await new Promise(o=>setTimeout(o)),n.active&&n.run(()=>{var o;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(o=ee[e.scrollStrategy])==null||o.call(ee,t,e,n)}))}),H(()=>{n==null||n.stop()})}function Ht(e){function t(n){e.isActive.value=!1}He(e.targetEl.value??e.contentEl.value,t)}function Dt(e,t){var s;const n=(s=e.root.value)==null?void 0:s.offsetParent,o=[...new Set([...te(e.targetEl.value,t.contained?n:void 0),...te(e.contentEl.value,t.contained?n:void 0)])].filter(i=>!i.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,r=(i=>ge(i)&&i)(n||document.documentElement);r&&e.root.value.classList.add("v-overlay--scroll-blocked"),o.forEach((i,c)=>{i.style.setProperty("--v-body-scroll-x",W(-i.scrollLeft)),i.style.setProperty("--v-body-scroll-y",W(-i.scrollTop)),i!==document.documentElement&&i.style.setProperty("--v-scrollbar-offset",W(a)),i.classList.add("v-overlay-scroll-blocked")}),H(()=>{o.forEach((i,c)=>{const f=parseFloat(i.style.getPropertyValue("--v-body-scroll-x")),l=parseFloat(i.style.getPropertyValue("--v-body-scroll-y")),g=i.style.scrollBehavior;i.style.scrollBehavior="auto",i.style.removeProperty("--v-body-scroll-x"),i.style.removeProperty("--v-body-scroll-y"),i.style.removeProperty("--v-scrollbar-offset"),i.classList.remove("v-overlay-scroll-blocked"),i.scrollLeft=-f,i.scrollTop=-l,i.style.scrollBehavior=g}),r&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function It(e,t,n){let o=!1,a=-1,r=-1;function s(i){Nt(()=>{var l,g;const c=performance.now();(g=(l=e.updateLocation).value)==null||g.call(l,i),o=(performance.now()-c)/(1e3/60)>2})}r=(typeof requestIdleCallback>"u"?i=>i():requestIdleCallback)(()=>{n.run(()=>{He(e.targetEl.value??e.contentEl.value,i=>{o?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{s(i)})})):s(i)})})}),H(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(a)})}function He(e,t){const n=[document,...te(e)];n.forEach(o=>{o.addEventListener("scroll",t,{passive:!0})}),H(()=>{n.forEach(o=>{o.removeEventListener("scroll",t)})})}const Vt=Symbol.for("vuetify:v-menu"),zt=X({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function $t(e,t){let n=()=>{};function o(s){n==null||n();const i=Number(s?e.openDelay:e.closeDelay);return new Promise(c=>{n=qe(i,()=>{t==null||t(s),c(s)})})}function a(){return o(!0)}function r(){return o(!1)}return{clearDelay:n,runOpenDelay:a,runCloseDelay:r}}const jt=X({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...zt()},"VOverlay-activator");function qt(e,t){let{isActive:n,isTop:o,contentEl:a}=t;const r=oe("useActivator"),s=V();let i=!1,c=!1,f=!0;const l=P(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),g=P(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!l.value),{runOpenDelay:x,runCloseDelay:w}=$t(e,u=>{u===(e.openOnHover&&i||l.value&&c)&&!(e.openOnHover&&n.value&&!o.value)&&(n.value!==u&&(f=!0),n.value=u)}),v=V(),d={onClick:u=>{u.stopPropagation(),s.value=u.currentTarget||u.target,n.value||(v.value=[u.clientX,u.clientY]),n.value=!n.value},onMouseenter:u=>{var k;(k=u.sourceCapabilities)!=null&&k.firesTouchEvents||(i=!0,s.value=u.currentTarget||u.target,x())},onMouseleave:u=>{i=!1,w()},onFocus:u=>{Ye(u.target,":focus-visible")!==!1&&(c=!0,u.stopPropagation(),s.value=u.currentTarget||u.target,x())},onBlur:u=>{c=!1,u.stopPropagation(),w()}},C=P(()=>{const u={};return g.value&&(u.onClick=d.onClick),e.openOnHover&&(u.onMouseenter=d.onMouseenter,u.onMouseleave=d.onMouseleave),l.value&&(u.onFocus=d.onFocus,u.onBlur=d.onBlur),u}),A=P(()=>{const u={};if(e.openOnHover&&(u.onMouseenter=()=>{i=!0,x()},u.onMouseleave=()=>{i=!1,w()}),l.value&&(u.onFocusin=()=>{c=!0,x()},u.onFocusout=()=>{c=!1,w()}),e.closeOnContentClick){const k=Fe(Vt,null);u.onClick=()=>{n.value=!1,k==null||k.closeParents()}}return u}),S=P(()=>{const u={};return e.openOnHover&&(u.onMouseenter=()=>{f&&(i=!0,f=!1,x())},u.onMouseleave=()=>{i=!1,w()}),u});B(o,u=>{var k;u&&(e.openOnHover&&!i&&(!l.value||!c)||l.value&&!c&&(!e.openOnHover||!i))&&!((k=a.value)!=null&&k.contains(document.activeElement))&&(n.value=!1)}),B(n,u=>{u||setTimeout(()=>{v.value=void 0})},{flush:"post"});const E=Ee();he(()=>{E.value&&me(()=>{s.value=E.el})});const T=Ee(),L=P(()=>e.target==="cursor"&&v.value?v.value:T.value?T.el:De(e.target,r)||s.value),F=P(()=>Array.isArray(L.value)?void 0:L.value);let p;return B(()=>!!e.activator,u=>{u&&j?(p=Be(),p.run(()=>{Yt(e,r,{activatorEl:s,activatorEvents:C})})):p&&p.stop()},{flush:"post",immediate:!0}),H(()=>{p==null||p.stop()}),{activatorEl:s,activatorRef:E,target:L,targetEl:F,targetRef:T,activatorEvents:C,contentEvents:A,scrimEvents:S}}function Yt(e,t,n){let{activatorEl:o,activatorEvents:a}=n;B(()=>e.activator,(c,f)=>{if(f&&c!==f){const l=i(f);l&&s(l)}c&&me(()=>r())},{immediate:!0}),B(()=>e.activatorProps,()=>{r()}),H(()=>{s()});function r(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i(),f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;c&&Ot(c,z(a.value,f))}function s(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i(),f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;c&&pt(c,z(a.value,f))}function i(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const f=De(c,t);return o.value=(f==null?void 0:f.nodeType)===Node.ELEMENT_NODE?f:void 0,o.value}}function De(e,t){var o,a;if(!e)return;let n;if(e==="parent"){let r=(a=(o=t==null?void 0:t.proxy)==null?void 0:o.$el)==null?void 0:a.parentNode;for(;r!=null&&r.hasAttribute("data-no-activator");)r=r.parentNode;n=r}else typeof e=="string"?n=document.querySelector(e):"$el"in e?n=e.$el:n=e;return n}function Ut(){if(!j)return G(!1);const{ssr:e}=Ue();if(e){const t=G(!1);return Ge(()=>{t.value=!0}),t}else return G(!0)}const Gt=X({eager:Boolean},"lazy");function Xt(e,t){const n=G(!1),o=P(()=>n.value||e.eager||t.value);B(t,()=>n.value=!0);function a(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:o,onAfterLeave:a}}function Kt(){const t=oe("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const Te=Symbol.for("vuetify:stack"),J=Ne([]);function Jt(e,t,n){const o=oe("useStack"),a=!n,r=Fe(Te,void 0),s=Ne({activeChildren:new Set});Xe(Te,s);const i=G(+t.value);ve(e,()=>{var g;const l=(g=J.at(-1))==null?void 0:g[1];i.value=l?l+10:+t.value,a&&J.push([o.uid,i.value]),r==null||r.activeChildren.add(o.uid),H(()=>{if(a){const x=Ke(J).findIndex(w=>w[0]===o.uid);J.splice(x,1)}r==null||r.activeChildren.delete(o.uid)})});const c=G(!0);a&&he(()=>{var g;const l=((g=J.at(-1))==null?void 0:g[0])===o.uid;setTimeout(()=>c.value=l)});const f=P(()=>!s.activeChildren.size);return{globalTop:Je(c),localTop:f,stackStyles:P(()=>({zIndex:i.value}))}}function Qt(e){return{teleportTarget:P(()=>{const n=e();if(n===!0||!j)return;const o=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(o==null)return;let a=[...o.children].find(r=>r.matches(".v-overlay-container"));return a||(a=document.createElement("div"),a.className="v-overlay-container",o.appendChild(a)),a})}}function Zt(){return!0}function Ie(e,t,n){if(!e||Ve(e,n)===!1)return!1;const o=_e(t);if(typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&o.host===e.target)return!1;const a=(typeof n.value=="object"&&n.value.include||(()=>[]))();return a.push(t),!a.some(r=>r==null?void 0:r.contains(e.target))}function Ve(e,t){return(typeof t.value=="object"&&t.value.closeConditional||Zt)(e)}function en(e,t,n){const o=typeof n.value=="function"?n.value:n.value.handler;e.shadowTarget=e.target,t._clickOutside.lastMousedownWasOutside&&Ie(e,t,n)&&setTimeout(()=>{Ve(e,n)&&o&&o(e)},0)}function ke(e,t){const n=_e(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const tn={mounted(e,t){const n=a=>en(a,e,t),o=a=>{e._clickOutside.lastMousedownWasOutside=Ie(a,e,t)};ke(e,a=>{a.addEventListener("click",n,!0),a.addEventListener("mousedown",o,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:o}},beforeUnmount(e,t){e._clickOutside&&(ke(e,n=>{var r;if(!n||!((r=e._clickOutside)!=null&&r[t.instance.$.uid]))return;const{onClick:o,onMousedown:a}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",o,!0),n.removeEventListener("mousedown",a,!0)}),delete e._clickOutside[t.instance.$.uid])}};function nn(e){const{modelValue:t,color:n,...o}=e;return I(yt,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&I("div",z({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},o),null)]})}const on=X({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...jt(),...Qe(),...Ze(),...Gt(),...kt(),..._t(),...et(),...tt()},"VOverlay"),cn=nt()({name:"VOverlay",directives:{ClickOutside:tn},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...on()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:o,emit:a}=t;const r=oe("VOverlay"),s=V(),i=V(),c=V(),f=ot(e,"modelValue"),l=P({get:()=>f.value,set:h=>{h&&e.disabled||(f.value=h)}}),{themeClasses:g}=rt(e),{rtlClasses:x,isRtl:w}=at(),{hasContent:v,onAfterLeave:d}=Xt(e,l),C=it(P(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:A,localTop:S,stackStyles:E}=Jt(l,st(e,"zIndex"),e._disableGlobalStack),{activatorEl:T,activatorRef:L,target:F,targetEl:p,targetRef:u,activatorEvents:k,contentEvents:re,scrimEvents:O}=qt(e,{isActive:l,isTop:S,contentEl:c}),{teleportTarget:b}=Qt(()=>{var K,we,be;const h=e.attach||e.contained;if(h)return h;const M=((K=T==null?void 0:T.value)==null?void 0:K.getRootNode())||((be=(we=r.proxy)==null?void 0:we.$el)==null?void 0:be.getRootNode());return M instanceof ShadowRoot?M:!1}),{dimensionStyles:m}=lt(e),y=Ut(),{scopeId:N}=Kt();B(()=>e.disabled,h=>{h&&(l.value=!1)});const{contentStyles:_,updateLocation:q}=Lt(e,{isRtl:w,contentEl:c,target:F,isActive:l});Wt(e,{root:s,contentEl:c,targetEl:p,isActive:l,updateLocation:q});function R(h){a("click:outside",h),e.persistent?Q():l.value=!1}function D(h){return l.value&&A.value&&(!e.scrim||h.target===i.value||h instanceof MouseEvent&&h.shadowTarget===i.value)}j&&B(l,h=>{h?window.addEventListener("keydown",Y):window.removeEventListener("keydown",Y)},{immediate:!0}),ct(()=>{j&&window.removeEventListener("keydown",Y)});function Y(h){var M,K;h.key==="Escape"&&A.value&&(e.persistent?Q():(l.value=!1,(M=c.value)!=null&&M.contains(document.activeElement)&&((K=T.value)==null||K.focus())))}const U=wt();ve(()=>e.closeOnBack,()=>{bt(U,h=>{A.value&&l.value?(h(!1),e.persistent?Q():l.value=!1):h()})});const ye=V();B(()=>l.value&&(e.absolute||e.contained)&&b.value==null,h=>{if(h){const M=Ct(s.value);M&&M!==document.scrollingElement&&(ye.value=M.scrollTop)}});function Q(){e.noClickAnimation||c.value&&St(c.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Pt})}function ze(){a("afterEnter")}function $e(){d(),a("afterLeave")}return ut(()=>{var h;return I(gt,null,[(h=n.activator)==null?void 0:h.call(n,{isActive:l.value,targetRef:u,props:z({ref:L},k.value,e.activatorProps)}),y.value&&v.value&&I(ft,{disabled:!b.value,to:b.value},{default:()=>[I("div",z({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":l.value,"v-overlay--contained":e.contained},g.value,x.value,e.class],style:[E.value,{"--v-overlay-opacity":e.opacity,top:W(ye.value)},e.style],ref:s},N,o),[I(nn,z({color:C,modelValue:l.value&&!!e.scrim,ref:i},O.value),null),I(dt,{appear:!0,persisted:!0,transition:e.transition,target:F.value,onAfterEnter:ze,onAfterLeave:$e},{default:()=>{var M;return[vt(I("div",z({ref:c,class:["v-overlay__content",e.contentClass],style:[m.value,_.value]},re.value,e.contentProps),[(M=n.default)==null?void 0:M.call(n,{isActive:l})]),[[mt,l.value],[ht("click-outside"),{handler:R,closeConditional:D,include:()=>[T.value]}]])]}})])]})])}),{activatorEl:T,scrimEl:i,target:F,animateClick:Q,contentEl:c,globalTop:A,localTop:S,updateLocation:q}}}),ce=Symbol("Forwarded refs");function ue(e,t){let n=e;for(;n;){const o=Reflect.getOwnPropertyDescriptor(n,t);if(o)return o;n=Object.getPrototypeOf(n)}}function un(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return e[ce]=n,new Proxy(e,{get(a,r){if(Reflect.has(a,r))return Reflect.get(a,r);if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const s of n)if(s.value&&Reflect.has(s.value,r)){const i=Reflect.get(s.value,r);return typeof i=="function"?i.bind(s.value):i}}},has(a,r){if(Reflect.has(a,r))return!0;if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const s of n)if(s.value&&Reflect.has(s.value,r))return!0;return!1},set(a,r,s){if(Reflect.has(a,r))return Reflect.set(a,r,s);if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const i of n)if(i.value&&Reflect.has(i.value,r))return Reflect.set(i.value,r,s);return!1},getOwnPropertyDescriptor(a,r){var i;const s=Reflect.getOwnPropertyDescriptor(a,r);if(s)return s;if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const c of n){if(!c.value)continue;const f=ue(c.value,r)??("_"in c.value?ue((i=c.value._)==null?void 0:i.setupState,r):void 0);if(f)return f}for(const c of n){const f=c.value&&c.value[ce];if(!f)continue;const l=f.slice();for(;l.length;){const g=l.shift(),x=ue(g.value,r);if(x)return x;const w=g.value&&g.value[ce];w&&l.push(...w)}}}}})}export{cn as V,St as a,ln as b,Vt as c,sn as d,Gt as e,un as f,xt as g,Xt as h,Ct as i,on as m,Et as n,Pt as s,Kt as u};