diff --git a/latest/200.html b/latest/200.html index 6cae7273..3b4bafad 100644 --- a/latest/200.html +++ b/latest/200.html @@ -1,7 +1,7 @@ - + @@ -10,24 +10,24 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - -
- \ No newline at end of file + +
+ \ No newline at end of file diff --git a/latest/2to3/index.html b/latest/2to3/index.html index 785d645b..c77c91e4 100644 --- a/latest/2to3/index.html +++ b/latest/2to3/index.html @@ -1,7 +1,7 @@ - + @@ -10,24 +10,24 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - -
- \ No newline at end of file + +
+ \ No newline at end of file diff --git a/latest/404.html b/latest/404.html index f821d719..c13ed533 100644 --- a/latest/404.html +++ b/latest/404.html @@ -1,7 +1,7 @@ - + @@ -10,24 +10,24 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - -
- \ No newline at end of file + +
+ \ No newline at end of file diff --git a/latest/_dev/index.html b/latest/_dev/index.html index 16f739cb..b8f5e229 100644 --- a/latest/_dev/index.html +++ b/latest/_dev/index.html @@ -1,7 +1,7 @@ - + @@ -10,24 +10,24 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - -
- \ No newline at end of file + +
+ \ No newline at end of file diff --git a/latest/_dev/many-props/index.html b/latest/_dev/many-props/index.html index 63f9726b..0c8426b1 100644 --- a/latest/_dev/many-props/index.html +++ b/latest/_dev/many-props/index.html @@ -1,7 +1,7 @@ - + @@ -10,24 +10,24 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - -
- \ No newline at end of file + +
+ \ No newline at end of file diff --git a/latest/_dev/one-of-array/index.html b/latest/_dev/one-of-array/index.html index 63f9726b..0c8426b1 100644 --- a/latest/_dev/one-of-array/index.html +++ b/latest/_dev/one-of-array/index.html @@ -1,7 +1,7 @@ - + @@ -10,24 +10,24 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - -
- \ No newline at end of file + +
+ \ No newline at end of file diff --git a/latest/_nuxt/Bt2kilhV.js b/latest/_nuxt/0fwsBrZe.js similarity index 93% rename from latest/_nuxt/Bt2kilhV.js rename to latest/_nuxt/0fwsBrZe.js index 2fed018e..33b5821e 100644 --- a/latest/_nuxt/Bt2kilhV.js +++ b/latest/_nuxt/0fwsBrZe.js @@ -1,4 +1,4 @@ -import{u as G,d as O,e as Q,_ as X,V as b,s as K,t as S}from"./CWbhR30t.js";import{P as ee,Y as te}from"./qubXDR7u.js";import{P}from"./CILx4owX.js";import"./BS89yCMn.js";import{r as L,i as oe,R,o as ne,W as re,D as A,A as z,E,F as U,t as k,z as D,x as J,K as Y,U as ie}from"./CvXVYCmv.js";import{u as se}from"./Bgvi-vPr.js";import{V as le}from"./DX-9AI5c.js";import"./C-mukFY_.js";import"./DzteZw27.js";import"./CggvwESy.js";import"./Roz0zKtG.js";import"./BZfgkF3O.js";import"./DLkDSD5m.js";import"./NOWGDNTz.js";import"./DeTZgfeD.js";import"./ClRYlymu.js";/* empty css */import"./86aUa6D2.js";function V(){}V.prototype={diff:function(e,t){var r,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=s.callback;typeof s=="function"&&(n=s,s={}),this.options=s;var f=this;function u(m){return n?(setTimeout(function(){n(void 0,m)},0),!0):m}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var l=t.length,v=e.length,y=1,c=l+v;s.maxEditLength&&(c=Math.min(c,s.maxEditLength));var g=(r=s.timeout)!==null&&r!==void 0?r:1/0,w=Date.now()+g,d=[{oldPos:-1,lastComponent:void 0}],x=this.extractCommon(d[0],t,e,0);if(d[0].oldPos+1>=v&&x+1>=l)return u([{value:this.join(t),count:t.length}]);var i=-1/0,a=1/0;function p(){for(var m=Math.max(i,-y);m<=Math.min(a,y);m+=2){var C=void 0,N=d[m-1],T=d[m+1];N&&(d[m-1]=void 0);var $=!1;if(T){var q=T.oldPos-m;$=T&&0<=q&&q=v&&x+1>=l)return u(ae(f,C.lastComponent,t,e,f.useLongestToken));d[m]=C,C.oldPos+1>=v&&(a=Math.min(a,m-1)),x+1>=l&&(i=Math.max(i,m+1))}y++}if(n)(function m(){setTimeout(function(){if(y>c||Date.now()>w)return n();p()||m()},0)})();else for(;y<=c&&Date.now()<=w;){var h=p();if(h)return h}},addToPath:function(e,t,r,s){var n=e.lastComponent;return n&&n.added===t&&n.removed===r?{oldPos:e.oldPos+s,lastComponent:{count:n.count+1,added:t,removed:r,previousComponent:n.previousComponent}}:{oldPos:e.oldPos+s,lastComponent:{count:1,added:t,removed:r,previousComponent:n}}},extractCommon:function(e,t,r,s){for(var n=t.length,f=r.length,u=e.oldPos,l=u-s,v=0;l+1x.length?a:x}),c.value=o.join(g)}else c.value=o.join(t.slice(v,v+c.count));v+=c.count,c.added||(y+=c.count)}}var d=n[l-1];return l>1&&typeof d.value=="string"&&(d.added||d.removed)&&o.equals("",d.value)&&(n[l-2].value+=d.value,n.pop()),n}var j=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,H=/\S/,_=new V;_.equals=function(o,e){return this.options.ignoreCase&&(o=o.toLowerCase(),e=e.toLowerCase()),o===e||this.options.ignoreWhitespace&&!H.test(o)&&!H.test(e)};_.tokenize=function(o){for(var e=o.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),t=0;t2&&arguments[2]!==void 0?arguments[2]:{},n=s.callback;typeof s=="function"&&(n=s,s={}),this.options=s;var f=this;function u(m){return n?(setTimeout(function(){n(void 0,m)},0),!0):m}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var l=t.length,v=e.length,y=1,c=l+v;s.maxEditLength&&(c=Math.min(c,s.maxEditLength));var g=(r=s.timeout)!==null&&r!==void 0?r:1/0,w=Date.now()+g,d=[{oldPos:-1,lastComponent:void 0}],x=this.extractCommon(d[0],t,e,0);if(d[0].oldPos+1>=v&&x+1>=l)return u([{value:this.join(t),count:t.length}]);var i=-1/0,a=1/0;function p(){for(var m=Math.max(i,-y);m<=Math.min(a,y);m+=2){var C=void 0,N=d[m-1],T=d[m+1];N&&(d[m-1]=void 0);var $=!1;if(T){var q=T.oldPos-m;$=T&&0<=q&&q=v&&x+1>=l)return u(ae(f,C.lastComponent,t,e,f.useLongestToken));d[m]=C,C.oldPos+1>=v&&(a=Math.min(a,m-1)),x+1>=l&&(i=Math.max(i,m+1))}y++}if(n)(function m(){setTimeout(function(){if(y>c||Date.now()>w)return n();p()||m()},0)})();else for(;y<=c&&Date.now()<=w;){var h=p();if(h)return h}},addToPath:function(e,t,r,s){var n=e.lastComponent;return n&&n.added===t&&n.removed===r?{oldPos:e.oldPos+s,lastComponent:{count:n.count+1,added:t,removed:r,previousComponent:n.previousComponent}}:{oldPos:e.oldPos+s,lastComponent:{count:1,added:t,removed:r,previousComponent:n}}},extractCommon:function(e,t,r,s){for(var n=t.length,f=r.length,u=e.oldPos,l=u-s,v=0;l+1x.length?a:x}),c.value=o.join(g)}else c.value=o.join(t.slice(v,v+c.count));v+=c.count,c.added||(y+=c.count)}}var d=n[l-1];return l>1&&typeof d.value=="string"&&(d.added||d.removed)&&o.equals("",d.value)&&(n[l-2].value+=d.value,n.pop()),n}var j=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,H=/\S/,_=new V;_.equals=function(o,e){return this.options.ignoreCase&&(o=o.toLowerCase(),e=e.toLowerCase()),o===e||this.options.ignoreWhitespace&&!H.test(o)&&!H.test(e)};_.tokenize=function(o){for(var e=o.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),t=0;t"u"?t:f}:r;return typeof o=="string"?o:JSON.stringify(B(o,null,null,s),s," ")};F.equals=function(o,e){return V.prototype.equals.call(F,o.replace(/,([\r\n])/g,"$1"),e.replace(/,([\r\n])/g,"$1"))};function B(o,e,t,r,s){e=e||[],t=t||[],r&&(o=r(s,o));var n;for(n=0;n{};function t(o){r==null||r();const u=Number(o?n.openDelay:n.closeDelay);return new Promise(c=>{r=m(u,()=>{e==null||e(o),c(o)})})}function a(){return t(!0)}function s(){return t(!1)}return{clearDelay:r,runOpenDelay:a,runCloseDelay:s}}function v(){const e=d("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}export{D as V,I as a,S as m,v as u}; +/* empty css */import{r as l}from"./CIrVMAE7.js";import{L as p,by as m,aw as d}from"./CEVEV-m9.js";const D=l("v-spacer","div","VSpacer"),S=p({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function I(n,e){let r=()=>{};function t(o){r==null||r();const u=Number(o?n.openDelay:n.closeDelay);return new Promise(c=>{r=m(u,()=>{e==null||e(o),c(o)})})}function a(){return t(!0)}function s(){return t(!1)}return{clearDelay:r,runOpenDelay:a,runCloseDelay:s}}function v(){const e=d("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}export{D as V,I as a,S as m,v as u}; diff --git a/latest/_nuxt/BZfgkF3O.js b/latest/_nuxt/B08XBO8o.js similarity index 73% rename from latest/_nuxt/BZfgkF3O.js rename to latest/_nuxt/B08XBO8o.js index 3729a036..057724c0 100644 --- a/latest/_nuxt/BZfgkF3O.js +++ b/latest/_nuxt/B08XBO8o.js @@ -1 +1 @@ -import{ag as t,o as e,i as s,aR as n}from"./CvXVYCmv.js";function i(){const o=t(!1);return e(()=>{window.requestAnimationFrame(()=>{o.value=!0})}),{ssrBootStyles:s(()=>o.value?void 0:{transition:"none !important"}),isBooted:n(o)}}export{i as u}; +import{ag as t,o as e,i as s,aR as n}from"./CEVEV-m9.js";function i(){const o=t(!1);return e(()=>{window.requestAnimationFrame(()=>{o.value=!0})}),{ssrBootStyles:s(()=>o.value?void 0:{transition:"none !important"}),isBooted:n(o)}}export{i as u}; diff --git a/latest/_nuxt/CWbhR30t.js b/latest/_nuxt/BBn2cySh.js similarity index 98% rename from latest/_nuxt/CWbhR30t.js rename to latest/_nuxt/BBn2cySh.js index aa1ae531..ae5cd685 100644 --- a/latest/_nuxt/CWbhR30t.js +++ b/latest/_nuxt/BBn2cySh.js @@ -1,4 +1,4 @@ -var sm=Object.defineProperty;var im=(e,a,r)=>a in e?sm(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r;var ct=(e,a,r)=>im(e,typeof a!="symbol"?a+"":a,r);import{a0 as Li,a1 as oc,a2 as om,a3 as Cn,a4 as lm,a5 as ss,a6 as qi,L as ie,M as ve,i as E,h as ze,z as h,U as se,a7 as ni,r as ee,t as ae,v as Fe,A as ne,H as mt,E as Y,x as is,a8 as xa,a9 as ta,aa as Ue,Y as lc,D as he,F as De,ab as uc,R as de,o as oa,S as nt,ac as um,ad as Dt,ae as Bi,af as ra,ag as _e,ah as Ct,ai as cm,aj as Sa,B as Ke,y as xt,I as ye,J as ht,ak as na,al as Ht,am as Ft,an as cc,N as xe,ao as rt,ap as ma,aq as va,ar as pa,X as ce,as as Re,at as dc,au as lt,av as tn,$ as dm,aw as os,ax as fm,e as Ki,ay as pn,az as fc,aA as an,G as ha,aB as mm,aC as Ui,aD as vm,d as yt,aE as pm,aF as zt,aG as Hi,aH as Vn,aI as hn,aJ as vt,Q as wt,aK as Nl,aL as On,aM as hm,aN as ym,aO as mc,aP as ri,aQ as ls,V as vc,aR as gm,aS as bm,aT as km,T as si,aU as $m,aV as zl,aW as wm,aX as _m,O as Fl,aY as Ia,aZ as Sm,a_ as Oa,a$ as Ea,b0 as pc,b1 as hc,b2 as Pm,b3 as Cm,b4 as ur,b5 as Vm,b6 as yc,b7 as Or,b8 as gc,b9 as bc,ba as Wi,bb as Om,bc as kc,W as Em,bd as Ll,be as $c,bf as wc,bg as xm,bh as Im,bi as jm,bj as Gi,K as Am,bk as Tm,bl as Yi,bm as ii,bn as _c,bo as Mm,bp as Dm,bq as Rm,br as Nm,bs as ql}from"./CvXVYCmv.js";import{e as zm,V as Fm}from"./C-mukFY_.js";import{f as Lm,m as En,g as Sc,M as xn,h as Pc,I as Cc,i as Vc,j as oi,k as yn,l as qm,u as Xi,V as Zn,a as It,t as qn,n as Bm,d as Ji,c as Km,b as Um}from"./Roz0zKtG.js";import{V as Oc}from"./NOWGDNTz.js";import{V as Le,b as Hm,m as Wm,u as cr,c as us,d as cs,e as ds}from"./DeTZgfeD.js";/* empty css */import{m as qe,a as Wt,u as pe}from"./DzteZw27.js";import{V as ot,a as Be,m as Gm,b as dr,u as Ec,c as fr,d as At,e as ja,L as xc,f as fs,g as ms,R as mr,h as vr,i as pr,p as Bl,j as Ds,k as Rs,l as Kl,n as Ul,o as Ym,q as Xm,r as Ic,s as jc,t as Jm,v as Qm,w as Ac,x as Zm,y as ev,z as Tc,A as tv,B as av,C as nv,D as rv,E as sv,F as Mc}from"./CggvwESy.js";import{m as hr,u as yr}from"./DLkDSD5m.js";import{m as iv,a as ov,u as Qi,V as Dc}from"./86aUa6D2.js";import{u as lv}from"./BZfgkF3O.js";import{u as er}from"./ClRYlymu.js";import{V as gr}from"./DX-9AI5c.js";class Ga{constructor(a){let{x:r,y:s,width:n,height:t}=a;this.x=r,this.y=s,this.width=n,this.height=t}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 Hl(e,a){return{x:{before:Math.max(0,a.left-e.left),after:Math.max(0,e.right-a.right)},y:{before:Math.max(0,a.top-e.top),after:Math.max(0,e.bottom-a.bottom)}}}function Rc(e){return Array.isArray(e)?new Ga({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function Zi(e){const a=e.getBoundingClientRect(),r=getComputedStyle(e),s=r.transform;if(s){let n,t,i,o,u;if(s.startsWith("matrix3d("))n=s.slice(9,-1).split(/, /),t=+n[0],i=+n[5],o=+n[12],u=+n[13];else if(s.startsWith("matrix("))n=s.slice(7,-1).split(/, /),t=+n[0],i=+n[3],o=+n[4],u=+n[5];else return new Ga(a);const c=r.transformOrigin,l=a.x-o-(1-t)*parseFloat(c),d=a.y-u-(1-i)*parseFloat(c.slice(c.indexOf(" ")+1)),v=t?a.width/t:e.offsetWidth+1,m=i?a.height/i:e.offsetHeight+1;return new Ga({x:l,y:d,width:v,height:m})}else return new Ga(a)}function Ua(e,a,r){if(typeof e.animate>"u")return{finished:Promise.resolve()};let s;try{s=e.animate(a,r)}catch{return{finished:Promise.resolve()}}return typeof s.finished>"u"&&(s.finished=new Promise(n=>{s.onfinish=()=>{n(s)}})),s}const zr=new WeakMap;function uv(e,a){Object.keys(a).forEach(r=>{if(Li(r)){const s=oc(r),n=zr.get(e);if(a[r]==null)n==null||n.forEach(t=>{const[i,o]=t;i===s&&(e.removeEventListener(s,o),n.delete(t))});else if(!n||![...n].some(t=>t[0]===s&&t[1]===a[r])){e.addEventListener(s,a[r]);const t=n||new Set;t.add([s,a[r]]),zr.has(e)||zr.set(e,t)}}else a[r]==null?e.removeAttribute(r):e.setAttribute(r,a[r])})}function cv(e,a){Object.keys(a).forEach(r=>{if(Li(r)){const s=oc(r),n=zr.get(e);n==null||n.forEach(t=>{const[i,o]=t;i===s&&(e.removeEventListener(s,o),n.delete(t))})}else e.removeAttribute(r)})}function Nc(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const a=e.getRootNode();return a!==document&&a.getRootNode({composed:!0})!==document?null:a}const tr="cubic-bezier(0.4, 0, 0.2, 1)",dv="cubic-bezier(0.0, 0, 0.2, 1)",fv="cubic-bezier(0.4, 0, 1, 1)";function zc(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(a?mv(e):eo(e))return e;e=e.parentElement}return document.scrollingElement}function Gr(e,a){const r=[];if(a&&e&&!a.contains(e))return r;for(;e&&(eo(e)&&r.push(e),e!==a);)e=e.parentElement;return r}function eo(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const a=window.getComputedStyle(e);return a.overflowY==="scroll"||a.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function mv(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const a=window.getComputedStyle(e);return["scroll","auto"].includes(a.overflowY)}function vv(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}var li={exports:{}},to={},jt={},gn={},In={},Pe={},bn={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class a{}e._CodeOrName=a,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends a{constructor(y){if(super(),!e.IDENTIFIER.test(y))throw new Error("CodeGen: name must be a valid identifier");this.str=y}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class s extends a{constructor(y){super(),this._items=typeof y=="string"?[y]:y}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const y=this._items[0];return y===""||y==='""'}get str(){var y;return(y=this._str)!==null&&y!==void 0?y:this._str=this._items.reduce((P,_)=>`${P}${_}`,"")}get names(){var y;return(y=this._names)!==null&&y!==void 0?y:this._names=this._items.reduce((P,_)=>(_ instanceof r&&(P[_.str]=(P[_.str]||0)+1),P),{})}}e._Code=s,e.nil=new s("");function n(f,...y){const P=[f[0]];let _=0;for(;_{if(d.scopePath===void 0)throw new Error(`CodeGen: name "${d}" has no value`);return(0,a._)`${c}${d.scopePath}`})}scopeCode(c=this._values,l,d){return this._reduceValues(c,v=>{if(v.value===void 0)throw new Error(`CodeGen: name "${v}" has no value`);return v.value.code},l,d)}_reduceValues(c,l,d={},v){let m=a.nil;for(const p in c){const g=c[p];if(!g)continue;const b=d[p]=d[p]||new Map;g.forEach(f=>{if(b.has(f))return;b.set(f,s.Started);let y=l(f);if(y){const P=this.opts.es5?e.varKinds.var:e.varKinds.const;m=(0,a._)`${m}${P} ${f} = ${y};${this.opts._n}`}else if(y=v==null?void 0:v(f))m=(0,a._)`${m}${y}${this.opts._n}`;else throw new r(f);b.set(f,s.Completed)})}return m}}e.ValueScope=o})(ui);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const a=bn,r=ui;var s=bn;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return s.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return s.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return s.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return s.Name}});var n=ui;Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return n.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return n.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return n.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return n.varKinds}}),e.operators={GT:new a._Code(">"),GTE:new a._Code(">="),LT:new a._Code("<"),LTE:new a._Code("<="),EQ:new a._Code("==="),NEQ:new a._Code("!=="),NOT:new a._Code("!"),OR:new a._Code("||"),AND:new a._Code("&&"),ADD:new a._Code("+")};class t{optimizeNodes(){return this}optimizeNames(k,V){return this}}class i extends t{constructor(k,V,D){super(),this.varKind=k,this.name=V,this.rhs=D}render({es5:k,_n:V}){const D=k?r.varKinds.var:this.varKind,K=this.rhs===void 0?"":` = ${this.rhs}`;return`${D} ${this.name}${K};`+V}optimizeNames(k,V){if(k[this.name.str])return this.rhs&&(this.rhs=B(this.rhs,k,V)),this}get names(){return this.rhs instanceof a._CodeOrName?this.rhs.names:{}}}class o extends t{constructor(k,V,D){super(),this.lhs=k,this.rhs=V,this.sideEffects=D}render({_n:k}){return`${this.lhs} = ${this.rhs};`+k}optimizeNames(k,V){if(!(this.lhs instanceof a.Name&&!k[this.lhs.str]&&!this.sideEffects))return this.rhs=B(this.rhs,k,V),this}get names(){const k=this.lhs instanceof a.Name?{}:{...this.lhs.names};return q(k,this.rhs)}}class u extends o{constructor(k,V,D,K){super(k,D,K),this.op=V}render({_n:k}){return`${this.lhs} ${this.op}= ${this.rhs};`+k}}class c extends t{constructor(k){super(),this.label=k,this.names={}}render({_n:k}){return`${this.label}:`+k}}class l extends t{constructor(k){super(),this.label=k,this.names={}}render({_n:k}){return`break${this.label?` ${this.label}`:""};`+k}}class d extends t{constructor(k){super(),this.error=k}render({_n:k}){return`throw ${this.error};`+k}get names(){return this.error.names}}class v extends t{constructor(k){super(),this.code=k}render({_n:k}){return`${this.code};`+k}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(k,V){return this.code=B(this.code,k,V),this}get names(){return this.code instanceof a._CodeOrName?this.code.names:{}}}class m extends t{constructor(k=[]){super(),this.nodes=k}render(k){return this.nodes.reduce((V,D)=>V+D.render(k),"")}optimizeNodes(){const{nodes:k}=this;let V=k.length;for(;V--;){const D=k[V].optimizeNodes();Array.isArray(D)?k.splice(V,1,...D):D?k[V]=D:k.splice(V,1)}return k.length>0?this:void 0}optimizeNames(k,V){const{nodes:D}=this;let K=D.length;for(;K--;){const Q=D[K];Q.optimizeNames(k,V)||(H(k,Q.names),D.splice(K,1))}return D.length>0?this:void 0}get names(){return this.nodes.reduce((k,V)=>T(k,V.names),{})}}class p extends m{render(k){return"{"+k._n+super.render(k)+"}"+k._n}}class g extends m{}class b extends p{}b.kind="else";class f extends p{constructor(k,V){super(V),this.condition=k}render(k){let V=`if(${this.condition})`+super.render(k);return this.else&&(V+="else "+this.else.render(k)),V}optimizeNodes(){super.optimizeNodes();const k=this.condition;if(k===!0)return this.nodes;let V=this.else;if(V){const D=V.optimizeNodes();V=this.else=Array.isArray(D)?new b(D):D}if(V)return k===!1?V instanceof f?V:V.nodes:this.nodes.length?this:new f(Z(k),V instanceof f?[V]:V.nodes);if(!(k===!1||!this.nodes.length))return this}optimizeNames(k,V){var D;if(this.else=(D=this.else)===null||D===void 0?void 0:D.optimizeNames(k,V),!!(super.optimizeNames(k,V)||this.else))return this.condition=B(this.condition,k,V),this}get names(){const k=super.names;return q(k,this.condition),this.else&&T(k,this.else.names),k}}f.kind="if";class y extends p{}y.kind="for";class P extends y{constructor(k){super(),this.iteration=k}render(k){return`for(${this.iteration})`+super.render(k)}optimizeNames(k,V){if(super.optimizeNames(k,V))return this.iteration=B(this.iteration,k,V),this}get names(){return T(super.names,this.iteration.names)}}class _ extends y{constructor(k,V,D,K){super(),this.varKind=k,this.name=V,this.from=D,this.to=K}render(k){const V=k.es5?r.varKinds.var:this.varKind,{name:D,from:K,to:Q}=this;return`for(${V} ${D}=${K}; ${D}<${Q}; ${D}++)`+super.render(k)}get names(){const k=q(super.names,this.from);return q(k,this.to)}}class O extends y{constructor(k,V,D,K){super(),this.loop=k,this.varKind=V,this.name=D,this.iterable=K}render(k){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(k)}optimizeNames(k,V){if(super.optimizeNames(k,V))return this.iterable=B(this.iterable,k,V),this}get names(){return T(super.names,this.iterable.names)}}class S extends p{constructor(k,V,D){super(),this.name=k,this.args=V,this.async=D}render(k){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(k)}}S.kind="func";class w extends m{render(k){return"return "+super.render(k)}}w.kind="return";class z extends p{render(k){let V="try"+super.render(k);return this.catch&&(V+=this.catch.render(k)),this.finally&&(V+=this.finally.render(k)),V}optimizeNodes(){var k,V;return super.optimizeNodes(),(k=this.catch)===null||k===void 0||k.optimizeNodes(),(V=this.finally)===null||V===void 0||V.optimizeNodes(),this}optimizeNames(k,V){var D,K;return super.optimizeNames(k,V),(D=this.catch)===null||D===void 0||D.optimizeNames(k,V),(K=this.finally)===null||K===void 0||K.optimizeNames(k,V),this}get names(){const k=super.names;return this.catch&&T(k,this.catch.names),this.finally&&T(k,this.finally.names),k}}class x extends p{constructor(k){super(),this.error=k}render(k){return`catch(${this.error})`+super.render(k)}}x.kind="catch";class R extends p{render(k){return"finally"+super.render(k)}}R.kind="finally";class M{constructor(k,V={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...V,_n:V.lines?` +var sm=Object.defineProperty;var im=(e,a,r)=>a in e?sm(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r;var ct=(e,a,r)=>im(e,typeof a!="symbol"?a+"":a,r);import{a0 as Li,a1 as oc,a2 as om,a3 as Cn,a4 as lm,a5 as ss,a6 as qi,L as ie,M as ve,i as E,h as ze,z as h,U as se,a7 as ni,r as ee,t as ae,v as Fe,A as ne,H as mt,E as Y,x as is,a8 as xa,a9 as ta,aa as Ue,Y as lc,D as he,F as De,ab as uc,R as de,o as oa,S as nt,ac as um,ad as Dt,ae as Bi,af as ra,ag as _e,ah as Ct,ai as cm,aj as Sa,B as Ke,y as xt,I as ye,J as ht,ak as na,al as Ht,am as Ft,an as cc,N as xe,ao as rt,ap as ma,aq as va,ar as pa,X as ce,as as Re,at as dc,au as lt,av as tn,$ as dm,aw as os,ax as fm,e as Ki,ay as pn,az as fc,aA as an,G as ha,aB as mm,aC as Ui,aD as vm,d as yt,aE as pm,aF as zt,aG as Hi,aH as Vn,aI as hn,aJ as vt,Q as wt,aK as Nl,aL as On,aM as hm,aN as ym,aO as mc,aP as ri,aQ as ls,V as vc,aR as gm,aS as bm,aT as km,T as si,aU as $m,aV as zl,aW as wm,aX as _m,O as Fl,aY as Ia,aZ as Sm,a_ as Oa,a$ as Ea,b0 as pc,b1 as hc,b2 as Pm,b3 as Cm,b4 as ur,b5 as Vm,b6 as yc,b7 as Or,b8 as gc,b9 as bc,ba as Wi,bb as Om,bc as kc,W as Em,bd as Ll,be as $c,bf as wc,bg as xm,bh as Im,bi as jm,bj as Gi,K as Am,bk as Tm,bl as Yi,bm as ii,bn as _c,bo as Mm,bp as Dm,bq as Rm,br as Nm,bs as ql}from"./CEVEV-m9.js";import{e as zm,V as Fm}from"./DXIbd0AA.js";import{f as Lm,m as En,g as Sc,M as xn,h as Pc,I as Cc,i as Vc,j as oi,k as yn,l as qm,u as Xi,V as Zn,a as It,t as qn,n as Bm,d as Ji,c as Km,b as Um}from"./Bs8uPU8N.js";import{V as Oc}from"./DmsKHaOx.js";import{V as Le,b as Hm,m as Wm,u as cr,c as us,d as cs,e as ds}from"./CWebwQzs.js";/* empty css */import{m as qe,a as Wt,u as pe}from"./C4wkpklv.js";import{V as ot,a as Be,m as Gm,b as dr,u as Ec,c as fr,d as At,e as ja,L as xc,f as fs,g as ms,R as mr,h as vr,i as pr,p as Bl,j as Ds,k as Rs,l as Kl,n as Ul,o as Ym,q as Xm,r as Ic,s as jc,t as Jm,v as Qm,w as Ac,x as Zm,y as ev,z as Tc,A as tv,B as av,C as nv,D as rv,E as sv,F as Mc}from"./CIrVMAE7.js";import{m as hr,u as yr}from"./r3LqnFig.js";import{m as iv,a as ov,u as Qi,V as Dc}from"./7L0px-82.js";import{u as lv}from"./B08XBO8o.js";import{u as er}from"./De5TMrV0.js";import{V as gr}from"./CsQoP8Vj.js";class Ga{constructor(a){let{x:r,y:s,width:n,height:t}=a;this.x=r,this.y=s,this.width=n,this.height=t}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 Hl(e,a){return{x:{before:Math.max(0,a.left-e.left),after:Math.max(0,e.right-a.right)},y:{before:Math.max(0,a.top-e.top),after:Math.max(0,e.bottom-a.bottom)}}}function Rc(e){return Array.isArray(e)?new Ga({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function Zi(e){const a=e.getBoundingClientRect(),r=getComputedStyle(e),s=r.transform;if(s){let n,t,i,o,u;if(s.startsWith("matrix3d("))n=s.slice(9,-1).split(/, /),t=+n[0],i=+n[5],o=+n[12],u=+n[13];else if(s.startsWith("matrix("))n=s.slice(7,-1).split(/, /),t=+n[0],i=+n[3],o=+n[4],u=+n[5];else return new Ga(a);const c=r.transformOrigin,l=a.x-o-(1-t)*parseFloat(c),d=a.y-u-(1-i)*parseFloat(c.slice(c.indexOf(" ")+1)),v=t?a.width/t:e.offsetWidth+1,m=i?a.height/i:e.offsetHeight+1;return new Ga({x:l,y:d,width:v,height:m})}else return new Ga(a)}function Ua(e,a,r){if(typeof e.animate>"u")return{finished:Promise.resolve()};let s;try{s=e.animate(a,r)}catch{return{finished:Promise.resolve()}}return typeof s.finished>"u"&&(s.finished=new Promise(n=>{s.onfinish=()=>{n(s)}})),s}const zr=new WeakMap;function uv(e,a){Object.keys(a).forEach(r=>{if(Li(r)){const s=oc(r),n=zr.get(e);if(a[r]==null)n==null||n.forEach(t=>{const[i,o]=t;i===s&&(e.removeEventListener(s,o),n.delete(t))});else if(!n||![...n].some(t=>t[0]===s&&t[1]===a[r])){e.addEventListener(s,a[r]);const t=n||new Set;t.add([s,a[r]]),zr.has(e)||zr.set(e,t)}}else a[r]==null?e.removeAttribute(r):e.setAttribute(r,a[r])})}function cv(e,a){Object.keys(a).forEach(r=>{if(Li(r)){const s=oc(r),n=zr.get(e);n==null||n.forEach(t=>{const[i,o]=t;i===s&&(e.removeEventListener(s,o),n.delete(t))})}else e.removeAttribute(r)})}function Nc(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const a=e.getRootNode();return a!==document&&a.getRootNode({composed:!0})!==document?null:a}const tr="cubic-bezier(0.4, 0, 0.2, 1)",dv="cubic-bezier(0.0, 0, 0.2, 1)",fv="cubic-bezier(0.4, 0, 1, 1)";function zc(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(a?mv(e):eo(e))return e;e=e.parentElement}return document.scrollingElement}function Gr(e,a){const r=[];if(a&&e&&!a.contains(e))return r;for(;e&&(eo(e)&&r.push(e),e!==a);)e=e.parentElement;return r}function eo(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const a=window.getComputedStyle(e);return a.overflowY==="scroll"||a.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function mv(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const a=window.getComputedStyle(e);return["scroll","auto"].includes(a.overflowY)}function vv(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}var li={exports:{}},to={},jt={},gn={},In={},Pe={},bn={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class a{}e._CodeOrName=a,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends a{constructor(y){if(super(),!e.IDENTIFIER.test(y))throw new Error("CodeGen: name must be a valid identifier");this.str=y}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class s extends a{constructor(y){super(),this._items=typeof y=="string"?[y]:y}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const y=this._items[0];return y===""||y==='""'}get str(){var y;return(y=this._str)!==null&&y!==void 0?y:this._str=this._items.reduce((P,_)=>`${P}${_}`,"")}get names(){var y;return(y=this._names)!==null&&y!==void 0?y:this._names=this._items.reduce((P,_)=>(_ instanceof r&&(P[_.str]=(P[_.str]||0)+1),P),{})}}e._Code=s,e.nil=new s("");function n(f,...y){const P=[f[0]];let _=0;for(;_{if(d.scopePath===void 0)throw new Error(`CodeGen: name "${d}" has no value`);return(0,a._)`${c}${d.scopePath}`})}scopeCode(c=this._values,l,d){return this._reduceValues(c,v=>{if(v.value===void 0)throw new Error(`CodeGen: name "${v}" has no value`);return v.value.code},l,d)}_reduceValues(c,l,d={},v){let m=a.nil;for(const p in c){const g=c[p];if(!g)continue;const b=d[p]=d[p]||new Map;g.forEach(f=>{if(b.has(f))return;b.set(f,s.Started);let y=l(f);if(y){const P=this.opts.es5?e.varKinds.var:e.varKinds.const;m=(0,a._)`${m}${P} ${f} = ${y};${this.opts._n}`}else if(y=v==null?void 0:v(f))m=(0,a._)`${m}${y}${this.opts._n}`;else throw new r(f);b.set(f,s.Completed)})}return m}}e.ValueScope=o})(ui);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const a=bn,r=ui;var s=bn;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return s.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return s.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return s.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return s.Name}});var n=ui;Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return n.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return n.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return n.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return n.varKinds}}),e.operators={GT:new a._Code(">"),GTE:new a._Code(">="),LT:new a._Code("<"),LTE:new a._Code("<="),EQ:new a._Code("==="),NEQ:new a._Code("!=="),NOT:new a._Code("!"),OR:new a._Code("||"),AND:new a._Code("&&"),ADD:new a._Code("+")};class t{optimizeNodes(){return this}optimizeNames(k,V){return this}}class i extends t{constructor(k,V,D){super(),this.varKind=k,this.name=V,this.rhs=D}render({es5:k,_n:V}){const D=k?r.varKinds.var:this.varKind,K=this.rhs===void 0?"":` = ${this.rhs}`;return`${D} ${this.name}${K};`+V}optimizeNames(k,V){if(k[this.name.str])return this.rhs&&(this.rhs=B(this.rhs,k,V)),this}get names(){return this.rhs instanceof a._CodeOrName?this.rhs.names:{}}}class o extends t{constructor(k,V,D){super(),this.lhs=k,this.rhs=V,this.sideEffects=D}render({_n:k}){return`${this.lhs} = ${this.rhs};`+k}optimizeNames(k,V){if(!(this.lhs instanceof a.Name&&!k[this.lhs.str]&&!this.sideEffects))return this.rhs=B(this.rhs,k,V),this}get names(){const k=this.lhs instanceof a.Name?{}:{...this.lhs.names};return q(k,this.rhs)}}class u extends o{constructor(k,V,D,K){super(k,D,K),this.op=V}render({_n:k}){return`${this.lhs} ${this.op}= ${this.rhs};`+k}}class c extends t{constructor(k){super(),this.label=k,this.names={}}render({_n:k}){return`${this.label}:`+k}}class l extends t{constructor(k){super(),this.label=k,this.names={}}render({_n:k}){return`break${this.label?` ${this.label}`:""};`+k}}class d extends t{constructor(k){super(),this.error=k}render({_n:k}){return`throw ${this.error};`+k}get names(){return this.error.names}}class v extends t{constructor(k){super(),this.code=k}render({_n:k}){return`${this.code};`+k}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(k,V){return this.code=B(this.code,k,V),this}get names(){return this.code instanceof a._CodeOrName?this.code.names:{}}}class m extends t{constructor(k=[]){super(),this.nodes=k}render(k){return this.nodes.reduce((V,D)=>V+D.render(k),"")}optimizeNodes(){const{nodes:k}=this;let V=k.length;for(;V--;){const D=k[V].optimizeNodes();Array.isArray(D)?k.splice(V,1,...D):D?k[V]=D:k.splice(V,1)}return k.length>0?this:void 0}optimizeNames(k,V){const{nodes:D}=this;let K=D.length;for(;K--;){const Q=D[K];Q.optimizeNames(k,V)||(H(k,Q.names),D.splice(K,1))}return D.length>0?this:void 0}get names(){return this.nodes.reduce((k,V)=>T(k,V.names),{})}}class p extends m{render(k){return"{"+k._n+super.render(k)+"}"+k._n}}class g extends m{}class b extends p{}b.kind="else";class f extends p{constructor(k,V){super(V),this.condition=k}render(k){let V=`if(${this.condition})`+super.render(k);return this.else&&(V+="else "+this.else.render(k)),V}optimizeNodes(){super.optimizeNodes();const k=this.condition;if(k===!0)return this.nodes;let V=this.else;if(V){const D=V.optimizeNodes();V=this.else=Array.isArray(D)?new b(D):D}if(V)return k===!1?V instanceof f?V:V.nodes:this.nodes.length?this:new f(Z(k),V instanceof f?[V]:V.nodes);if(!(k===!1||!this.nodes.length))return this}optimizeNames(k,V){var D;if(this.else=(D=this.else)===null||D===void 0?void 0:D.optimizeNames(k,V),!!(super.optimizeNames(k,V)||this.else))return this.condition=B(this.condition,k,V),this}get names(){const k=super.names;return q(k,this.condition),this.else&&T(k,this.else.names),k}}f.kind="if";class y extends p{}y.kind="for";class P extends y{constructor(k){super(),this.iteration=k}render(k){return`for(${this.iteration})`+super.render(k)}optimizeNames(k,V){if(super.optimizeNames(k,V))return this.iteration=B(this.iteration,k,V),this}get names(){return T(super.names,this.iteration.names)}}class _ extends y{constructor(k,V,D,K){super(),this.varKind=k,this.name=V,this.from=D,this.to=K}render(k){const V=k.es5?r.varKinds.var:this.varKind,{name:D,from:K,to:Q}=this;return`for(${V} ${D}=${K}; ${D}<${Q}; ${D}++)`+super.render(k)}get names(){const k=q(super.names,this.from);return q(k,this.to)}}class O extends y{constructor(k,V,D,K){super(),this.loop=k,this.varKind=V,this.name=D,this.iterable=K}render(k){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(k)}optimizeNames(k,V){if(super.optimizeNames(k,V))return this.iterable=B(this.iterable,k,V),this}get names(){return T(super.names,this.iterable.names)}}class S extends p{constructor(k,V,D){super(),this.name=k,this.args=V,this.async=D}render(k){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(k)}}S.kind="func";class w extends m{render(k){return"return "+super.render(k)}}w.kind="return";class z extends p{render(k){let V="try"+super.render(k);return this.catch&&(V+=this.catch.render(k)),this.finally&&(V+=this.finally.render(k)),V}optimizeNodes(){var k,V;return super.optimizeNodes(),(k=this.catch)===null||k===void 0||k.optimizeNodes(),(V=this.finally)===null||V===void 0||V.optimizeNodes(),this}optimizeNames(k,V){var D,K;return super.optimizeNames(k,V),(D=this.catch)===null||D===void 0||D.optimizeNames(k,V),(K=this.finally)===null||K===void 0||K.optimizeNames(k,V),this}get names(){const k=super.names;return this.catch&&T(k,this.catch.names),this.finally&&T(k,this.finally.names),k}}class x extends p{constructor(k){super(),this.error=k}render(k){return`catch(${this.error})`+super.render(k)}}x.kind="catch";class R extends p{render(k){return"finally"+super.render(k)}}R.kind="finally";class M{constructor(k,V={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...V,_n:V.lines?` `:""},this._extScope=k,this._scope=new r.Scope({parent:k}),this._nodes=[new g]}toString(){return this._root.render(this.opts)}name(k){return this._scope.name(k)}scopeName(k){return this._extScope.name(k)}scopeValue(k,V){const D=this._extScope.value(k,V);return(this._values[D.prefix]||(this._values[D.prefix]=new Set)).add(D),D}getScopeValue(k,V){return this._extScope.getValue(k,V)}scopeRefs(k){return this._extScope.scopeRefs(k,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(k,V,D,K){const Q=this._scope.toName(V);return D!==void 0&&K&&(this._constants[Q.str]=D),this._leafNode(new i(k,Q,D)),Q}const(k,V,D){return this._def(r.varKinds.const,k,V,D)}let(k,V,D){return this._def(r.varKinds.let,k,V,D)}var(k,V,D){return this._def(r.varKinds.var,k,V,D)}assign(k,V,D){return this._leafNode(new o(k,V,D))}add(k,V){return this._leafNode(new u(k,e.operators.ADD,V))}code(k){return typeof k=="function"?k():k!==a.nil&&this._leafNode(new v(k)),this}object(...k){const V=["{"];for(const[D,K]of k)V.length>1&&V.push(","),V.push(D),(D!==K||this.opts.es5)&&(V.push(":"),(0,a.addCodeArg)(V,K));return V.push("}"),new a._Code(V)}if(k,V,D){if(this._blockNode(new f(k)),V&&D)this.code(V).else().code(D).endIf();else if(V)this.code(V).endIf();else if(D)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(k){return this._elseNode(new f(k))}else(){return this._elseNode(new b)}endIf(){return this._endBlockNode(f,b)}_for(k,V){return this._blockNode(k),V&&this.code(V).endFor(),this}for(k,V){return this._for(new P(k),V)}forRange(k,V,D,K,Q=this.opts.es5?r.varKinds.var:r.varKinds.let){const te=this._scope.toName(k);return this._for(new _(Q,te,V,D),()=>K(te))}forOf(k,V,D,K=r.varKinds.const){const Q=this._scope.toName(k);if(this.opts.es5){const te=V instanceof a.Name?V:this.var("_arr",V);return this.forRange("_i",0,(0,a._)`${te}.length`,X=>{this.var(Q,(0,a._)`${te}[${X}]`),D(Q)})}return this._for(new O("of",K,Q,V),()=>D(Q))}forIn(k,V,D,K=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(k,(0,a._)`Object.keys(${V})`,D);const Q=this._scope.toName(k);return this._for(new O("in",K,Q,V),()=>D(Q))}endFor(){return this._endBlockNode(y)}label(k){return this._leafNode(new c(k))}break(k){return this._leafNode(new l(k))}return(k){const V=new w;if(this._blockNode(V),this.code(k),V.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(w)}try(k,V,D){if(!V&&!D)throw new Error('CodeGen: "try" without "catch" and "finally"');const K=new z;if(this._blockNode(K),this.code(k),V){const Q=this.name("e");this._currNode=K.catch=new x(Q),V(Q)}return D&&(this._currNode=K.finally=new R,this.code(D)),this._endBlockNode(x,R)}throw(k){return this._leafNode(new d(k))}block(k,V){return this._blockStarts.push(this._nodes.length),k&&this.code(k).endBlock(V),this}endBlock(k){const V=this._blockStarts.pop();if(V===void 0)throw new Error("CodeGen: not in self-balancing block");const D=this._nodes.length-V;if(D<0||k!==void 0&&D!==k)throw new Error(`CodeGen: wrong number of nodes: ${D} vs ${k} expected`);return this._nodes.length=V,this}func(k,V=a.nil,D,K){return this._blockNode(new S(k,V,D)),K&&this.code(K).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize(k=1){for(;k-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(k){return this._currNode.nodes.push(k),this}_blockNode(k){this._currNode.nodes.push(k),this._nodes.push(k)}_endBlockNode(k,V){const D=this._currNode;if(D instanceof k||V&&D instanceof V)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${V?`${k.kind}/${V.kind}`:k.kind}"`)}_elseNode(k){const V=this._currNode;if(!(V instanceof f))throw new Error('CodeGen: "else" without "if"');return this._currNode=V.else=k,this}get _root(){return this._nodes[0]}get _currNode(){const k=this._nodes;return k[k.length-1]}set _currNode(k){const V=this._nodes;V[V.length-1]=k}}e.CodeGen=M;function T(j,k){for(const V in k)j[V]=(j[V]||0)+(k[V]||0);return j}function q(j,k){return k instanceof a._CodeOrName?T(j,k.names):j}function B(j,k,V){if(j instanceof a.Name)return D(j);if(!K(j))return j;return new a._Code(j._items.reduce((Q,te)=>(te instanceof a.Name&&(te=D(te)),te instanceof a._Code?Q.push(...te._items):Q.push(te),Q),[]));function D(Q){const te=V[Q.str];return te===void 0||k[Q.str]!==1?Q:(delete k[Q.str],te)}function K(Q){return Q instanceof a._Code&&Q._items.some(te=>te instanceof a.Name&&k[te.str]===1&&V[te.str]!==void 0)}}function H(j,k){for(const V in k)j[V]=(j[V]||0)-(k[V]||0)}function Z(j){return typeof j=="boolean"||typeof j=="number"||j===null?!j:(0,a._)`!${I(j)}`}e.not=Z;const oe=C(e.operators.AND);function L(...j){return j.reduce(oe)}e.and=L;const U=C(e.operators.OR);function $(...j){return j.reduce(U)}e.or=$;function C(j){return(k,V)=>k===a.nil?V:V===a.nil?k:(0,a._)`${I(k)} ${j} ${I(V)}`}function I(j){return j instanceof a.Name?j:(0,a._)`(${j})`}})(Pe);var Ie={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.checkStrictMode=e.getErrorPath=e.Type=e.useFunc=e.setEvaluated=e.evaluatedPropsToName=e.mergeEvaluated=e.eachItem=e.unescapeJsonPointer=e.escapeJsonPointer=e.escapeFragment=e.unescapeFragment=e.schemaRefOrVal=e.schemaHasRulesButRef=e.schemaHasRules=e.checkUnknownRules=e.alwaysValidSchema=e.toHash=void 0;const a=Pe,r=bn;function s(S){const w={};for(const z of S)w[z]=!0;return w}e.toHash=s;function n(S,w){return typeof w=="boolean"?w:Object.keys(w).length===0?!0:(t(S,w),!i(w,S.self.RULES.all))}e.alwaysValidSchema=n;function t(S,w=S.schema){const{opts:z,self:x}=S;if(!z.strictSchema||typeof w=="boolean")return;const R=x.RULES.keywords;for(const M in w)R[M]||O(S,`unknown keyword: "${M}"`)}e.checkUnknownRules=t;function i(S,w){if(typeof S=="boolean")return!S;for(const z in S)if(w[z])return!0;return!1}e.schemaHasRules=i;function o(S,w){if(typeof S=="boolean")return!S;for(const z in S)if(z!=="$ref"&&w.all[z])return!0;return!1}e.schemaHasRulesButRef=o;function u({topSchemaRef:S,schemaPath:w},z,x,R){if(!R){if(typeof z=="number"||typeof z=="boolean")return z;if(typeof z=="string")return(0,a._)`${z}`}return(0,a._)`${S}${w}${(0,a.getProperty)(x)}`}e.schemaRefOrVal=u;function c(S){return v(decodeURIComponent(S))}e.unescapeFragment=c;function l(S){return encodeURIComponent(d(S))}e.escapeFragment=l;function d(S){return typeof S=="number"?`${S}`:S.replace(/~/g,"~0").replace(/\//g,"~1")}e.escapeJsonPointer=d;function v(S){return S.replace(/~1/g,"/").replace(/~0/g,"~")}e.unescapeJsonPointer=v;function m(S,w){if(Array.isArray(S))for(const z of S)w(z);else w(S)}e.eachItem=m;function p({mergeNames:S,mergeToName:w,mergeValues:z,resultToName:x}){return(R,M,T,q)=>{const B=T===void 0?M:T instanceof a.Name?(M instanceof a.Name?S(R,M,T):w(R,M,T),T):M instanceof a.Name?(w(R,T,M),M):z(M,T);return q===a.Name&&!(B instanceof a.Name)?x(R,B):B}}e.mergeEvaluated={props:p({mergeNames:(S,w,z)=>S.if((0,a._)`${z} !== true && ${w} !== undefined`,()=>{S.if((0,a._)`${w} === true`,()=>S.assign(z,!0),()=>S.assign(z,(0,a._)`${z} || {}`).code((0,a._)`Object.assign(${z}, ${w})`))}),mergeToName:(S,w,z)=>S.if((0,a._)`${z} !== true`,()=>{w===!0?S.assign(z,!0):(S.assign(z,(0,a._)`${z} || {}`),b(S,z,w))}),mergeValues:(S,w)=>S===!0?!0:{...S,...w},resultToName:g}),items:p({mergeNames:(S,w,z)=>S.if((0,a._)`${z} !== true && ${w} !== undefined`,()=>S.assign(z,(0,a._)`${w} === true ? true : ${z} > ${w} ? ${z} : ${w}`)),mergeToName:(S,w,z)=>S.if((0,a._)`${z} !== true`,()=>S.assign(z,w===!0?!0:(0,a._)`${z} > ${w} ? ${z} : ${w}`)),mergeValues:(S,w)=>S===!0?!0:Math.max(S,w),resultToName:(S,w)=>S.var("items",w)})};function g(S,w){if(w===!0)return S.var("props",!0);const z=S.var("props",(0,a._)`{}`);return w!==void 0&&b(S,z,w),z}e.evaluatedPropsToName=g;function b(S,w,z){Object.keys(z).forEach(x=>S.assign((0,a._)`${w}${(0,a.getProperty)(x)}`,!0))}e.setEvaluated=b;const f={};function y(S,w){return S.scopeValue("func",{ref:w,code:f[w.code]||(f[w.code]=new r._Code(w.code))})}e.useFunc=y;var P;(function(S){S[S.Num=0]="Num",S[S.Str=1]="Str"})(P=e.Type||(e.Type={}));function _(S,w,z){if(S instanceof a.Name){const x=w===P.Num;return z?x?(0,a._)`"[" + ${S} + "]"`:(0,a._)`"['" + ${S} + "']"`:x?(0,a._)`"/" + ${S}`:(0,a._)`"/" + ${S}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return z?(0,a.getProperty)(S).toString():"/"+d(S)}e.getErrorPath=_;function O(S,w,z=S.opts.strictSchema){if(z){if(w=`strict mode: ${w}`,z===!0)throw new Error(w);S.self.logger.warn(w)}}e.checkStrictMode=O})(Ie);var Vt={};Object.defineProperty(Vt,"__esModule",{value:!0});const pt=Pe,pv={data:new pt.Name("data"),valCxt:new pt.Name("valCxt"),instancePath:new pt.Name("instancePath"),parentData:new pt.Name("parentData"),parentDataProperty:new pt.Name("parentDataProperty"),rootData:new pt.Name("rootData"),dynamicAnchors:new pt.Name("dynamicAnchors"),vErrors:new pt.Name("vErrors"),errors:new pt.Name("errors"),this:new pt.Name("this"),self:new pt.Name("self"),scope:new pt.Name("scope"),json:new pt.Name("json"),jsonPos:new pt.Name("jsonPos"),jsonLen:new pt.Name("jsonLen"),jsonPart:new pt.Name("jsonPart")};Vt.default=pv;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const a=Pe,r=Ie,s=Vt;e.keywordError={message:({keyword:b})=>(0,a.str)`must pass "${b}" keyword validation`},e.keyword$DataError={message:({keyword:b,schemaType:f})=>f?(0,a.str)`"${b}" keyword must be ${f} ($data)`:(0,a.str)`"${b}" keyword is invalid ($data)`};function n(b,f=e.keywordError,y,P){const{it:_}=b,{gen:O,compositeRule:S,allErrors:w}=_,z=d(b,f,y);P??(S||w)?u(O,z):c(_,(0,a._)`[${z}]`)}e.reportError=n;function t(b,f=e.keywordError,y){const{it:P}=b,{gen:_,compositeRule:O,allErrors:S}=P,w=d(b,f,y);u(_,w),O||S||c(P,s.default.vErrors)}e.reportExtraError=t;function i(b,f){b.assign(s.default.errors,f),b.if((0,a._)`${s.default.vErrors} !== null`,()=>b.if(f,()=>b.assign((0,a._)`${s.default.vErrors}.length`,f),()=>b.assign(s.default.vErrors,null)))}e.resetErrorsCount=i;function o({gen:b,keyword:f,schemaValue:y,data:P,errsCount:_,it:O}){if(_===void 0)throw new Error("ajv implementation error");const S=b.name("err");b.forRange("i",_,s.default.errors,w=>{b.const(S,(0,a._)`${s.default.vErrors}[${w}]`),b.if((0,a._)`${S}.instancePath === undefined`,()=>b.assign((0,a._)`${S}.instancePath`,(0,a.strConcat)(s.default.instancePath,O.errorPath))),b.assign((0,a._)`${S}.schemaPath`,(0,a.str)`${O.errSchemaPath}/${f}`),O.opts.verbose&&(b.assign((0,a._)`${S}.schema`,y),b.assign((0,a._)`${S}.data`,P))})}e.extendErrors=o;function u(b,f){const y=b.const("err",f);b.if((0,a._)`${s.default.vErrors} === null`,()=>b.assign(s.default.vErrors,(0,a._)`[${y}]`),(0,a._)`${s.default.vErrors}.push(${y})`),b.code((0,a._)`${s.default.errors}++`)}function c(b,f){const{gen:y,validateName:P,schemaEnv:_}=b;_.$async?y.throw((0,a._)`new ${b.ValidationError}(${f})`):(y.assign((0,a._)`${P}.errors`,f),y.return(!1))}const l={keyword:new a.Name("keyword"),schemaPath:new a.Name("schemaPath"),params:new a.Name("params"),propertyName:new a.Name("propertyName"),message:new a.Name("message"),schema:new a.Name("schema"),parentSchema:new a.Name("parentSchema")};function d(b,f,y){const{createErrors:P}=b.it;return P===!1?(0,a._)`{}`:v(b,f,y)}function v(b,f,y={}){const{gen:P,it:_}=b,O=[m(_,y),p(b,y)];return g(b,f,O),P.object(...O)}function m({errorPath:b},{instancePath:f}){const y=f?(0,a.str)`${b}${(0,r.getErrorPath)(f,r.Type.Str)}`:b;return[s.default.instancePath,(0,a.strConcat)(s.default.instancePath,y)]}function p({keyword:b,it:{errSchemaPath:f}},{schemaPath:y,parentSchema:P}){let _=P?f:(0,a.str)`${f}/${b}`;return y&&(_=(0,a.str)`${_}${(0,r.getErrorPath)(y,r.Type.Str)}`),[l.schemaPath,_]}function g(b,{params:f,message:y},P){const{keyword:_,data:O,schemaValue:S,it:w}=b,{opts:z,propertyName:x,topSchemaRef:R,schemaPath:M}=w;P.push([l.keyword,_],[l.params,typeof f=="function"?f(b):f||(0,a._)`{}`]),z.messages&&P.push([l.message,typeof y=="function"?y(b):y]),z.verbose&&P.push([l.schema,S],[l.parentSchema,(0,a._)`${R}${M}`],[s.default.data,O]),x&&P.push([l.propertyName,x])}})(In);Object.defineProperty(gn,"__esModule",{value:!0});gn.boolOrEmptySchema=gn.topBoolOrEmptySchema=void 0;const hv=In,yv=Pe,gv=Vt,bv={message:"boolean schema is false"};function kv(e){const{gen:a,schema:r,validateName:s}=e;r===!1?Fc(e,!1):typeof r=="object"&&r.$async===!0?a.return(gv.default.data):(a.assign((0,yv._)`${s}.errors`,null),a.return(!0))}gn.topBoolOrEmptySchema=kv;function $v(e,a){const{gen:r,schema:s}=e;s===!1?(r.var(a,!1),Fc(e)):r.var(a,!0)}gn.boolOrEmptySchema=$v;function Fc(e,a){const{gen:r,data:s}=e,n={gen:r,keyword:"false schema",data:s,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,hv.reportError)(n,bv,void 0,a)}var br={},Ja={};Object.defineProperty(Ja,"__esModule",{value:!0});Ja.getRules=Ja.isJSONType=void 0;const wv=["string","number","integer","boolean","null","object","array"],_v=new Set(wv);function Sv(e){return typeof e=="string"&&_v.has(e)}Ja.isJSONType=Sv;function Pv(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}Ja.getRules=Pv;var ca={};Object.defineProperty(ca,"__esModule",{value:!0});ca.shouldUseRule=ca.shouldUseGroup=ca.schemaHasRulesForType=void 0;function Cv({schema:e,self:a},r){const s=a.RULES.types[r];return s&&s!==!0&&Lc(e,s)}ca.schemaHasRulesForType=Cv;function Lc(e,a){return a.rules.some(r=>qc(e,r))}ca.shouldUseGroup=Lc;function qc(e,a){var r;return e[a.keyword]!==void 0||((r=a.definition.implements)===null||r===void 0?void 0:r.some(s=>e[s]!==void 0))}ca.shouldUseRule=qc;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.reportTypeError=e.checkDataTypes=e.checkDataType=e.coerceAndCheckDataType=e.getJSONTypes=e.getSchemaTypes=e.DataType=void 0;const a=Ja,r=ca,s=In,n=Pe,t=Ie;var i;(function(P){P[P.Correct=0]="Correct",P[P.Wrong=1]="Wrong"})(i=e.DataType||(e.DataType={}));function o(P){const _=u(P.type);if(_.includes("null")){if(P.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!_.length&&P.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');P.nullable===!0&&_.push("null")}return _}e.getSchemaTypes=o;function u(P){const _=Array.isArray(P)?P:P?[P]:[];if(_.every(a.isJSONType))return _;throw new Error("type must be JSONType or JSONType[]: "+_.join(","))}e.getJSONTypes=u;function c(P,_){const{gen:O,data:S,opts:w}=P,z=d(_,w.coerceTypes),x=_.length>0&&!(z.length===0&&_.length===1&&(0,r.schemaHasRulesForType)(P,_[0]));if(x){const R=g(_,S,w.strictNumbers,i.Wrong);O.if(R,()=>{z.length?v(P,_,z):f(P)})}return x}e.coerceAndCheckDataType=c;const l=new Set(["string","number","integer","boolean","null"]);function d(P,_){return _?P.filter(O=>l.has(O)||_==="array"&&O==="array"):[]}function v(P,_,O){const{gen:S,data:w,opts:z}=P,x=S.let("dataType",(0,n._)`typeof ${w}`),R=S.let("coerced",(0,n._)`undefined`);z.coerceTypes==="array"&&S.if((0,n._)`${x} == 'object' && Array.isArray(${w}) && ${w}.length == 1`,()=>S.assign(w,(0,n._)`${w}[0]`).assign(x,(0,n._)`typeof ${w}`).if(g(_,w,z.strictNumbers),()=>S.assign(R,w))),S.if((0,n._)`${R} !== undefined`);for(const T of O)(l.has(T)||T==="array"&&z.coerceTypes==="array")&&M(T);S.else(),f(P),S.endIf(),S.if((0,n._)`${R} !== undefined`,()=>{S.assign(w,R),m(P,R)});function M(T){switch(T){case"string":S.elseIf((0,n._)`${x} == "number" || ${x} == "boolean"`).assign(R,(0,n._)`"" + ${w}`).elseIf((0,n._)`${w} === null`).assign(R,(0,n._)`""`);return;case"number":S.elseIf((0,n._)`${x} == "boolean" || ${w} === null || (${x} == "string" && ${w} && ${w} == +${w})`).assign(R,(0,n._)`+${w}`);return;case"integer":S.elseIf((0,n._)`${x} === "boolean" || ${w} === null || (${x} === "string" && ${w} && ${w} == +${w} && !(${w} % 1))`).assign(R,(0,n._)`+${w}`);return;case"boolean":S.elseIf((0,n._)`${w} === "false" || ${w} === 0 || ${w} === null`).assign(R,!1).elseIf((0,n._)`${w} === "true" || ${w} === 1`).assign(R,!0);return;case"null":S.elseIf((0,n._)`${w} === "" || ${w} === 0 || ${w} === false`),S.assign(R,null);return;case"array":S.elseIf((0,n._)`${x} === "string" || ${x} === "number" @@ -17,4 +17,4 @@ var sm=Object.defineProperty;var im=(e,a,r)=>a in e?sm(e,a,{enumerable:!0,config | -------- | -------- | -------- | | Tekst | Tekst | Tekst | -`,bold:"Vet",italic:"Cursief",heading:"Titel",quote:"Citaat",unorderedList:"Ongeordende lijst",orderedList:"Geordende lijst",createLink:"Maak een koppeling",insertImage:"Afbeelding invoegen",createTable:"Tabel aanmaken",preview:"Voorbeeld",mdeGuide:"Documentatie over syntaxis",undo:"Ongedaan maken",redo:"Opnieuw"},_u={en:zm,fr:Rk,nl:Nk},jd={$id:"https://json-layout.github.io/layout-keyword",$defs:{"layout-keyword":{title:"layout keyword",errorMessage:{anyOf:"layout keyword must be a string with a valid component name, or a more complete object definition, or an array of children, or a switch structure"},anyOf:[{$ref:"#/$defs/comp-name"},{$ref:"#/$defs/partial-children"},{$ref:"#/$defs/partial-comp-object"},{$ref:"#/$defs/partial-switch"}]},"partial-switch":{type:"object",required:["switch"],additionalProperties:!1,properties:{switch:{type:"array",items:{$ref:"#/$defs/partial-comp-object"}}}},"partial-comp-object":{title:"partial comp object",type:"object",properties:{comp:{$ref:"#/$defs/comp-name"},help:{type:"string"},children:{$ref:"#/$defs/partial-children"},label:{type:"string"},title:{type:["string","null"]},subtitle:{type:["string","null"]},step:{type:"number"},if:{$ref:"#/$defs/partial-expression"},items:{type:"array",items:{$ref:"#/$defs/partial-select-item"}},getItems:{$ref:"#/$defs/partial-get-items"},listEditMode:{type:"string",enum:["inline","inline-single","menu","dialog"]},listActions:{type:"array",items:{type:"string",enum:["add","edit","delete","sort","duplicate"]}},cols:{$ref:"#/$defs/partial-cols"},props:{type:"object"},getProps:{$ref:"#/$defs/partial-expression"},slots:{type:"object",patternProperties:{".*":{$ref:"#/$defs/partial-slot"}}},options:{type:"object"},getOptions:{$ref:"#/$defs/partial-expression"},messages:{type:"object"},defaultData:{},getDefaultData:{$ref:"#/$defs/partial-expression"},constData:{},getConstData:{$ref:"#/$defs/partial-expression"},transformData:{$ref:"#/$defs/partial-expression"},autofocus:{type:"boolean"},separator:{type:"string"}}},"comp-name":{title:"component name",type:"string"},"partial-child-ref":{type:"object",required:["key"],additionalProperties:!1,properties:{key:{type:["string","integer"]},cols:{$ref:"#/$defs/partial-cols"}}},"partial-child-composite":{type:"object",required:["children"],properties:{comp:{type:"string"},title:{type:["string","null"]},subtitle:{type:["string","null"]},children:{$ref:"#/$defs/partial-children"},cols:{$ref:"#/$defs/partial-cols"}}},"partial-child":{anyOf:[{type:"string"},{$ref:"#/$defs/partial-child-ref"},{$ref:"#/$defs/partial-child-composite"}]},"partial-children":{type:"array",items:{$ref:"#/$defs/partial-child"}},"partial-expression":{oneOf:[{type:"string"},{$ref:"#/$defs/partial-expression-obj"}]},"partial-expression-obj":{type:"object",required:["expr"],properties:{type:{type:"string",enum:["js-fn","js-eval","js-tpl"]},expr:{type:"string"}}},"partial-select-item":{oneOf:[{type:"string"},{type:"object",properties:{key:{type:"string"},title:{type:"string"},value:{}}}]},"partial-get-items":{oneOf:[{type:"string"},{$ref:"#/$defs/partial-get-items-obj"}]},"partial-get-items-obj":{type:"object",allOf:[{properties:{itemTitle:{$ref:"#/$defs/partial-expression"},itemKey:{$ref:"#/$defs/partial-expression"},itemValue:{$ref:"#/$defs/partial-expression"},itemIcon:{$ref:"#/$defs/partial-expression"},itemsResults:{$ref:"#/$defs/partial-expression"}}},{anyOf:[{type:"object"},{$ref:"#/$defs/partial-expression-obj"},{$ref:"#/$defs/partial-get-items-fetch"}]}]},"partial-get-items-fetch":{type:"object",required:["url"],properties:{url:{$ref:"#/$defs/partial-expression"}}},"partial-cols":{oneOf:[{$ref:"#/$defs/partial-cols-number"},{$ref:"#/$defs/partial-cols-obj"}]},"partial-cols-obj":{type:"object",additionalProperties:!1,properties:{xs:{$ref:"#/$defs/partial-cols-number"},sm:{$ref:"#/$defs/partial-cols-number"},md:{$ref:"#/$defs/partial-cols-number"},lg:{$ref:"#/$defs/partial-cols-number"},xl:{$ref:"#/$defs/partial-cols-number"},xxl:{$ref:"#/$defs/partial-cols-number"}}},"partial-cols-number":{type:"integer",minimum:0,maximum:12},"partial-slot":{oneOf:[{type:"string"},{$ref:"#/$defs/partial-slot-text"},{$ref:"#/$defs/partial-slot-markdown"},{$ref:"#/$defs/partial-slot-name"}]},"partial-slot-text":{type:"object",additionalProperties:!1,required:["text"],properties:{text:{type:"string"}}},"partial-slot-markdown":{type:"object",additionalProperties:!1,required:["markdown"],properties:{markdown:{type:"string"}}},"partial-slot-name":{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"}}}}},Ad={$id:"https://json-layout.github.io/normalized-layout-keyword",$defs:{"normalized-layout":{title:"normalized layout",type:"object",unevaluatedProperties:!1,oneOf:[{$ref:"#/$defs/switch-struct"},{$ref:"#/$defs/base-comp-object"}]},"switch-struct":{type:"object",required:["switch"],additionalProperties:!1,properties:{switch:{type:"array",items:{$ref:"#/$defs/base-comp-object"}}}},"base-comp-object":{type:"object",required:["comp"],properties:{comp:{type:"string"},if:{$ref:"#/$defs/expression"},options:{$ref:"#/$defs/state-node-options-base"},getOptions:{$ref:"#/$defs/expression"},defaultData:{},getDefaultData:{$ref:"#/$defs/expression"},constData:{},getConstData:{$ref:"#/$defs/expression"},transformData:{$ref:"#/$defs/expression"},nullable:{type:"boolean"},help:{type:"string"},cols:{$ref:"#/$defs/cols-obj"},props:{$ref:"#/$defs/state-node-props-lib"},getProps:{$ref:"#/$defs/expression"},slots:{type:"object",allOf:[{$ref:"#/$defs/state-node-slots-lib"},{properties:{before:{$ref:"#/$defs/slot"},after:{$ref:"#/$defs/slot"},component:{$ref:"#/$defs/slot"}}}]}}},"composite-comp-object":{allOf:[{$ref:"#/$defs/base-comp-object"},{type:"object",required:["children","comp"],properties:{comp:{type:"string"},title:{type:["string","null"]},subtitle:{type:["string","null"]},children:{$ref:"#/$defs/children"}}}]},"simple-comp-object":{allOf:[{$ref:"#/$defs/base-comp-object"},{type:"object",required:["comp"],properties:{comp:{type:"string"},label:{type:"string"}}}]},"focusable-comp-object":{allOf:[{$ref:"#/$defs/base-comp-object"},{type:"object",required:["comp"],properties:{comp:{type:"string"},label:{type:"string"},autofocus:{type:"boolean"}}}]},"items-based-comp-object":{allOf:[{$ref:"#/$defs/base-comp-object"},{type:"object",required:["comp"],properties:{comp:{type:"string"},items:{$ref:"#/$defs/select-items"},getItems:{$ref:"#/$defs/get-items"},multiple:{type:"boolean"},separator:{type:"string"}}}]},"multiple-compat-comp-object":{allOf:[{$ref:"#/$defs/base-comp-object"},{type:"object",required:["comp"],properties:{comp:{type:"string"},multiple:{type:"boolean"}}}]},"child-ref":{type:"object",required:["key"],additionalProperties:!1,properties:{key:{type:["string","integer"]},cols:{$ref:"#/$defs/cols-obj"}}},"child-composite":{type:"object",required:["key","children"],properties:{key:{type:["string","integer"]},cols:{$ref:"#/$defs/cols-obj"},comp:{type:"string"},title:{type:["string","null"]},subtitle:{type:["string","null"]},children:{$ref:"#/$defs/children"}}},child:{title:"Child",type:"object",oneOf:[{$ref:"#/$defs/child-ref"},{$ref:"#/$defs/child-composite"}]},children:{type:"array",items:{$ref:"#/$defs/child"}},"select-items":{type:"array",items:{$ref:"#/$defs/select-item"}},"select-item":{type:"object",required:["title","key","value"],properties:{title:{type:"string"},key:{type:"string"},value:{},icon:{type:"string"}}},"get-items":{type:"object",allOf:[{properties:{returnObjects:{type:"boolean",readOnly:!0},itemsResults:{$ref:"#/$defs/expression"},itemTitle:{$ref:"#/$defs/expression"},itemKey:{$ref:"#/$defs/expression"},itemValue:{$ref:"#/$defs/expression"},itemIcon:{$ref:"#/$defs/expression"},immutable:{type:"boolean"}}},{oneOf:[{$ref:"#/$defs/expression"},{$ref:"#/$defs/get-items-fetch"}]}]},"get-items-fetch":{type:"object",required:["url"],properties:{url:{$ref:"#/$defs/expression"},qSearchParam:{type:"string"},searchParams:{type:"object",patternProperties:{".*":{$ref:"#/$defs/expression"}}}}},expression:{type:"object",required:["type","expr","pure","dataAlias"],properties:{type:{type:"string",enum:["js-fn","js-eval","js-tpl"]},expr:{type:"string"},pure:{type:"boolean"},dataAlias:{type:"string"},ref:{type:"integer",readOnly:!0}}},"cols-obj":{type:"object",additionalProperties:!1,required:["xs"],properties:{xs:{$ref:"#/$defs/cols",default:12},sm:{$ref:"#/$defs/cols"},md:{$ref:"#/$defs/cols"},lg:{$ref:"#/$defs/cols"},xl:{$ref:"#/$defs/cols"},xxl:{$ref:"#/$defs/cols"}}},cols:{type:"integer",minimum:0,maximum:12},slot:{oneOf:[{type:"object",additionalProperties:!1,required:["text"],properties:{text:{type:"string"}}},{type:"object",additionalProperties:!1,required:["markdown"],properties:{markdown:{type:"string"}}},{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"}}}]},"state-node-options-base":{type:"object",allOf:[{$ref:"#/$defs/state-node-options-base-lib"},{properties:{readOnly:{type:"boolean",default:!1},summary:{type:"boolean",default:!1},titleDepth:{type:"integer",minimum:1,maximum:6,default:2},density:{type:"string",enum:["default","comfortable","compact"],default:"default"},indent:{type:["boolean","integer"]},removeAdditional:{description:"true is the same as 'unknown', false is the same as 'none'",default:"error",oneOf:[{type:"boolean"},{type:"string",enum:["unknown","error","none"]}]},validateOn:{type:"string",enum:["input","blur","submit"],default:"input"},updateOn:{type:"string",enum:["input","blur"],default:"input"},debounceInputMs:{type:"integer",minimum:0,default:300},initialValidation:{type:"string",enum:["never","always","withData"],default:"withData"},defaultOn:{type:"string",enum:["missing","empty","never"],default:"empty"},autofocus:{type:"boolean",default:!1},readOnlyPropertiesMode:{type:"string",enum:["remove","hide","show"],default:"show"}}}]},"state-node-options-base-lib":{type:"object",patternProperties:{".*":{}}},"state-node-props-lib":{type:"object",patternProperties:{".*":{}}},"state-node-slots-lib":{type:"object",patternProperties:{".*":{$ref:"#/$defs/slot"}}}}},zk=[{name:"none"},{name:"section",composite:!0},{name:"tabs",composite:!0},{name:"vertical-tabs",composite:!0},{name:"expansion-panels",composite:!0},{name:"stepper",composite:!0},{name:"card",composite:!0},{name:"list",schema:{required:["listEditMode","listActions"],properties:{title:{type:"string"},listEditMode:{type:"string",enum:["inline","inline-single","menu","dialog"]},listActions:{type:"array",items:{type:"string",enum:["add","edit","delete","sort","duplicate"]}},itemTitle:{$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/expression"},itemSubtitle:{$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/expression"},indexed:{type:"array",items:{type:"string"}},messages:{type:"object",additionalProperties:!1,properties:{addItem:{type:"string"},delete:{type:"string"},edit:{type:"string"},duplicate:{type:"string"},sort:{type:"string"}}}}}},{name:"text-field",shouldDebounce:!0,focusable:!0,emitsBlur:!0,schema:{properties:{placeholder:{type:"string"}}}},{name:"textarea",shouldDebounce:!0,focusable:!0,emitsBlur:!0,schema:{properties:{placeholder:{type:"string"}}}},{name:"number-field",shouldDebounce:!0,focusable:!0,emitsBlur:!0,schema:{properties:{step:{type:"number"},min:{type:"number"},max:{type:"number"},placeholder:{type:"string"}}}},{name:"checkbox"},{name:"switch"},{name:"slider",schema:{properties:{step:{type:"number"},min:{type:"number"},max:{type:"number"}}}},{name:"date-picker",schema:{properties:{min:{type:"string",format:"date"},max:{type:"string",format:"date"},format:{type:"string",enum:["date","date-time"],default:"date"}}}},{name:"date-time-picker",schema:{properties:{min:{type:"string",format:"date-time"},max:{type:"string",format:"date-time"}}}},{name:"time-picker",schema:{properties:{min:{type:"string",format:"time"},max:{type:"string",format:"time"}}}},{name:"color-picker"},{name:"select",focusable:!0,itemsBased:!0,multipleCompat:!0},{name:"autocomplete",focusable:!0,itemsBased:!0,multipleCompat:!0},{name:"combobox",focusable:!0,itemsBased:!0,multipleCompat:!0},{name:"number-combobox",focusable:!0,itemsBased:!0,multipleCompat:!0,schema:{properties:{step:{type:"number"},min:{type:"number"},max:{type:"number"}}}},{name:"checkbox-group",itemsBased:!0,multipleCompat:!0},{name:"switch-group",itemsBased:!0,multipleCompat:!0},{name:"radio-group",itemsBased:!0},{name:"file-input",focusable:!0,multipleCompat:!0,schema:{properties:{accept:{type:"string"},placeholder:{type:"string"}}}},{name:"one-of-select",schema:{properties:{emptyData:{type:"boolean"}}}}];function Fk(e){const a={type:"object",title:e.name,$id:`https://json-layout.github.io/component/${e.name}#`,unevaluatedProperties:!1,allOf:[{properties:{comp:{const:e.name}}},{$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/base-comp-object"}]};return e.composite?a.allOf.push({$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/composite-comp-object"}):a.allOf.push({$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/simple-comp-object"}),e.focusable&&a.allOf.push({$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/focusable-comp-object"}),e.itemsBased&&a.allOf.push({$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/items-based-comp-object"}),e.multipleCompat&&a.allOf.push({$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/multiple-compat-comp-object"}),e.schema&&a.allOf.push(e.schema),a}const Lk=$d,nn=new Lk({code:{source:!0,esm:!0},discriminator:!0,allowMatchingProperties:!0,allowUnionTypes:!0,allErrors:!0});Sd.default(nn);Pd.default(nn);nn.addSchema(jd);nn.addSchema(Ad);const Tr={};function qk(e){if(Tr[e.name])return Tr[e.name];const a=Fk(e);return Tr[e.name]=nn.compile(a),Tr[e.name]}const Su=nn.getSchema(jd.$id);function Bk(e){return typeof e=="string"}function Kk(e){return typeof e=="object"&&"switch"in e}function Uk(e){return Array.isArray(e)}function Hk(e){return typeof e!="string"&&"children"in e}function Wk(e){return typeof e=="object"&&!Array.isArray(e)}function Gk(e){return typeof e=="string"||!!e.expr}function Pu(e){return typeof e=="object"}function Td(e){return typeof e=="object"&&!!e.url}function Yk(e){return typeof e=="object"&&!!e.markdown}const Cu=nn.getSchema(Ad.$id);function fn(e){return typeof e=="object"&&"switch"in e}function Xk(e){return!fn(e)}function Jk(e){return"comp"in e}function Md(e,a){var r;return!!((r=a[e.comp])!=null&&r.composite)}function Qk(e){return e.comp==="list"}function Zk(e,a){var r;return!!((r=a[e.comp])!=null&&r.focusable)}function Zo(e,a){var r;return!!((r=a[e.comp])!=null&&r.itemsBased)}function el(e){return!!e.expr}function tl(e){return!!e.url}function Vu(e){return!!e.text}function e$(e){return!!e.markdown}function t$(e){return!!e.name}function Ou(e,a){var s,n;const r=[];if(a==="object")for(const t of Object.keys(e)){if(t==="properties")for(const i of Object.keys(e.properties??{}))r.push({key:i}),(s=e.dependencies)!=null&&s[i]&&!Array.isArray(e.dependencies[i])&&r.push({key:`$deps-${i}`}),e.dependentSchemas&&e.dependentSchemas[i]&&r.push({key:`$deps-${i}`});if(t==="patternProperties"&&r.push({key:"$patternProperties"}),t==="allOf"&&(n=e.allOf)!=null&&n.length)for(let i=0;i{if(typeof s=="string"){const n=e.find(t=>t.key===s);if(!n)throw new Error(`unknown child "${s}"`);return n}else if(typeof s.cols=="number"&&(s.cols={sm:s.cols}),typeof s.cols=="object"&&s.cols.xs===void 0&&(s.cols.xs=12),s.key){if(!e.find(t=>t.key===s.key))throw new Error(`unknown child "${s.key}"`);return s}else{const n=s;return Hk(n)&&(n.comp||(n.comp="section"),n.children=Si(e,n.children)),"key"in s||(n.key=`$comp-${r}`,r++),n}})}function a$(e,a,r,s){const n=r&&["string","integer","number"].includes(r);if(s==="oneOf")return"one-of-select";if(s==="patternProperties")return"list";if(n&&a.enum)return a.enum.length>20?"autocomplete":"select";if(n&&a.oneOf)return a.oneOf.length>20?"autocomplete":"select";if(n&&a.examples||n&&a.anyOf&&a.anyOf.length&&Object.keys(a.anyOf[a.anyOf.length-1]).length===0)return r==="string"?"combobox":"number-combobox";if(r==="string"&&e.separator)return"combobox";if(e.items)return e.items.length>20?"autocomplete":"select";if(e.getItems)return Td(e.getItems)&&(e.getItems.qSearchParam||typeof e.getItems.url=="string"&&e.getItems.url.includes("{q}")||typeof e.getItems.url=="object"&&typeof e.getItems.url.expr=="string"&&e.getItems.url.expr.includes("{q}"))?"autocomplete":"select";if(r==="array"&&a.items){const t=["string","integer","number"].includes(a.items.type);if(t&&(a.items.enum||a.items.oneOf))return(a.items.enum||a.items.oneOf).length>20?"autocomplete":"select";if(t&&a.items.examples||t&&a.items.anyOf&&a.items.anyOf.length&&Object.keys(a.items.anyOf[a.items.anyOf.length-1]).length===0||t&&!a.items.layout&&!["date","date-time","time"].includes(a.items.format))return a.items.type==="string"?"combobox":"number-combobox"}if(r==="object")return"section";if(r==="array")return Array.isArray(a.items)?"section":"list";if(r==="string")return a.format==="date"?"date-picker":a.format==="date-time"?"date-time-picker":a.format==="time"?"time-picker":"text-field";if(r==="integer"||r==="number")return"number-field";if(r==="boolean")return"checkbox";throw new Error("failed to calculate default component for schema fragment")}function n$(e){return Wk(e)?{...e}:Bk(e)?{comp:e}:Uk(e)?{children:e}:{}}function r$(e){const a=typeof e=="string"?e:e.expr;return!a.includes("rootData.")&&!a.includes("rootData[")&&!a.includes("parent.data")&&!a.includes("parent.parent")}function Ot(e,a="js-eval",r="value"){const s=r$(e);return typeof e=="string"?{type:a,expr:e,pure:s,dataAlias:r}:{pure:s,type:a,dataAlias:r,...e}}function Eu(e){if(!e)return null;const{type:a}=Ya(e),r=a&&["string","integer","number"].includes(a);if(e.enum&&r)return e.enum.map(s=>({key:s+"",title:s+"",value:s}));if(e.examples&&r)return e.examples.map(s=>({key:s+"",title:s+"",value:s}));if(e.anyOf&&r&&e.anyOf.length&&Object.keys(e.anyOf[e.anyOf.length-1]).length===0){const s=e.anyOf.slice(0,-1);if(!s.find(n=>!("const"in n)))return s.map(n=>({...n,key:n.const+"",title:(n.title??n.const)+"",value:n.const}))}return e.oneOf&&r&&!e.oneOf.find(s=>!("const"in s))?e.oneOf.map(s=>({...s,key:s.const+"",title:(s.title??s.const)+"",value:s.const})):null}const Ya=e=>{if(Array.isArray(e.type)&&e.type.length===2&&e.type.includes("null"))return{type:e.type.find(r=>r!=="null"),nullable:!0};if(!e.type&&(e.properties||e.patternProperties))return{type:"object",nullable:!1};if(!e.type){const a=[];for(const r of["allOf","anyOf","oneOf"])if(e[r])for(const s of e[r]){const{type:n}=Ya(s);n&&!a.includes(n)&&a.push(n)}if(a.length===1)return{type:a[0],nullable:!1}}return{type:e.type,nullable:!1}};function xu(e,a,r,s,n,t,i,o,u,c){if("const"in r)return{comp:"none"};if(!s)return{comp:"none"};const l=n$(a);if(s==="array"&&!r.items&&l.comp!=="file-input")return{comp:"none"};l.comp||(l.comp=a$(l,r,s,c));const d=i[l.comp];if(!d)throw new Error(`unknown component "${l.comp}"`);if(l.comp==="none")return{comp:"none"};if(n&&(l.nullable=n),d.composite){const m=Si(Ou(r,s),l.children);l.children=m,"title"in l||m.length===1&&m[0].key==="$patternProperties"||(l.title=r.title??null)}else if(l.comp==="list")if(c==="patternProperties"){if(!("title"in l)){const p=Si(Ou(r,s),l.children);p.length===1&&p[0].key==="$patternProperties"&&(l.title=r.title??null)}let m=!1;for(const p of Object.values(r.patternProperties??{})){const{type:g}=Ya(p);g==="object"&&(m=!0)}l.listEditMode=l.listEditMode??(m?"inline-single":"inline"),l.listActions=l.listActions??["add","edit","delete"],l.indexed=Object.keys(r.patternProperties??{})}else{"title"in l||(l.title=r.title??""+e);const{type:m}=Ya(r.items);l.listEditMode=l.listEditMode??(m==="object"?"inline-single":"inline"),l.listActions=l.listActions??["add","edit","delete","duplicate","sort"]}else!("label"in l)&&!c&&(l.label=r.title??""+e);if(d.itemsBased&&!l.items){let m;s==="array"?m=Eu(r.items):m=Eu(r),m&&(l.getItems&&Pu(l.getItems)?(l.getItems.expr=JSON.stringify(m),l.getItems.immutable=!0):l.getItems={expr:JSON.stringify(m),immutable:!0})}d.multipleCompat&&(s==="array"||l.separator)&&(l.multiple=!0),l.comp==="date-picker"&&(r.format==="date"&&(l.format="date"),r.format==="date-time"&&(l.format="date-time")),["date-picker","date-time-picker","time-picker"].includes(l.comp)&&("formatMinimum"in r&&(l.min=l.min??r.formatMinimum),"formatMaximum"in r&&(l.max=l.max??r.formatMaximum)),["number-field","slider"].includes(l.comp)&&(s==="integer"&&(l.step=l.step??1),"minimum"in r&&(l.min=l.min??r.minimum),"maximum"in r&&(l.max=l.max??r.maximum)),l.if&&(l.if=Ot(l.if)),!l.defaultData&&r.type==="string"&&t.split("#").pop()===""&&(l.defaultData="");for(const m of u)m in l&&(l.options=l.options??{},l.options[m]=l[m],delete l[m]);if(r.readOnly&&(l.options=l.options??{},"readOnly"in l.options||(l.options.readOnly=!0)),l.getOptions!==void 0&&(l.getOptions=Ot(l.getOptions)),l.getDefaultData!==void 0&&(l.getDefaultData=Ot(l.getDefaultData)),l.getConstData!==void 0&&(l.getConstData=Ot(l.getConstData)),l.transformData!==void 0&&(l.transformData=Ot(l.transformData)),l.getProps!==void 0&&(l.getProps=Ot(l.getProps)),l.getItems&&Gk(l.getItems)&&(l.getItems=Ot(l.getItems)),l.getItems&&Pu(l.getItems)){if(s==="object"&&(l.getItems.returnObjects=!0),s==="array"){const{type:m}=Ya(r.items);m==="object"&&(l.getItems.returnObjects=!0)}l.getItems.itemTitle&&(l.getItems.itemTitle=Ot(l.getItems.itemTitle,"js-eval","item")),l.getItems.itemKey&&(l.getItems.itemKey=Ot(l.getItems.itemKey,"js-eval","item")),l.getItems.itemValue&&(l.getItems.itemValue=Ot(l.getItems.itemValue,"js-eval","item")),l.getItems.itemIcon&&(l.getItems.itemIcon=Ot(l.getItems.itemIcon,"js-eval","item")),l.getItems.itemsResults&&(l.getItems.itemsResults=Ot(l.getItems.itemsResults,"js-eval","body"))}if(l.getItems&&Td(l.getItems)&&(l.getItems.url=Ot(l.getItems.url,"js-tpl")),l.items&&(l.items=l.items.map(m=>{if(["string","integer","number"].includes(typeof m))return{title:m+"",key:m+"",value:m};if(typeof m=="object")return{key:(m.key??m.value)+"",title:(m.title??m.key??m.value)+"",value:m.value??m.key};throw new Error(`bad item for select: ${JSON.stringify(m)}`)})),!l.comp&&(l.items??l.getItems)&&(l.comp="select"),l.comp==="date-picker"&&r.format==="date-time"&&(l.format="date-time"),l.slots)for(const[m,p]of Object.entries(l.slots)){typeof p=="string"&&(["before","after"].includes(m)?l.slots[m]={markdown:p}:l.slots[m]={name:p});const g=l.slots[m];Yk(g)&&(g.markdown=o(g.markdown).trim())}r.description&&(d.composite&&l.title?l.subtitle===void 0&&(l.subtitle=r.description):l.help===void 0&&c!=="oneOf"&&(l.help=r.description)),l.help&&(l.help=o(l.help).trim()),l.subtitle&&(l.subtitle=o(l.subtitle).trim()),typeof l.cols=="number"&&(l.cols={xs:l.cols}),typeof l.cols=="object"&&l.cols.xs===void 0&&(l.cols.xs=12);const v=qk(d);if(!v(l)){const m=new Error(`component "${d.name}" validation errors`);throw m.cause=Pi(v.errors),m}return l}function s$(e,a,r,s,n,t,i,o,u,c){if(Kk(a)){const l=[],d=[...a.switch];d.find(v=>!v.if)||d.push({});for(let v=0;vHs(s,n=>n.keyword==="anyOf"||n.keyword==="oneOf"));for(const s of a)e.find(t=>Hs(t,i=>i.instancePath===s.instancePath&&i.keyword!=="type"))&&(e=e.filter(t=>Hs(t,i=>i.instancePath!==s.instancePath||i.keyword!=="type")));const r=[];for(const s of e){let n=s.message??s.keyword;s.params&&(n+=" "+JSON.stringify(s.params)),r.push(n)}return r}const Iu=["readOnly","summary","titleDepth","density","removeAdditional","validateOn","updateOne","debounceInputMs","initialValidation","defaultOn","readOnlyPropertiesMode"];function ju(e,a,r,s,n,t,i,o,u){o=o?o.concat(Iu):Iu;let c;if(u==="oneOf"?c=a.oneOfLayout??{}:u==="patternProperties"?c=a.patternPropertiesLayout??{}:c=a.layout??{},!Su(c)){const d=new Error("layout keyword validation errors at path");throw d.cause=Pi(Su.errors),d}const l=s$(e,c,a,r,s,n,t,i,o,u);if(!Cu(l)){const d=new Error("normalized layout validation errors at path");throw d.cause=Pi(Cu.errors),d}return l}function Ws(e,a,r,s,n=c=>c,t,i,o,u){const{type:c,nullable:l}=o?{type:o,nullable:u??!1}:Ya(a),d=[];try{return{layout:ju(e,a,c,l,r,s,n,t,i),errors:d}}catch(v){try{return d.push(v.message),v.cause&&Array.isArray(v.cause)&&d.push(...v.cause),d.push("failed to normalize layout, use default component"),{layout:ju(e,{...a,layout:{}},c,l,r,s,n,t,i),errors:d}}catch(m){return d.push(m.message),m.cause&&Array.isArray(m.cause)&&d.push(...m.cause),d.push("failed to produce default layout, hide this fragment"),{layout:{comp:"none"},errors:d}}}}function Au(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function i$(){return a;function e(r,s){const n=Object.keys(r),t=new Array(n.length);for(let i=0;i(r,s)=>{var c;const n=a.opts.uriResolver.resolve(r,s),[t,i]=n.split("#");if(e[t]=e[t]??((c=a.getSchema(t))==null?void 0:c.schema),!e[t])throw new Error(`reference not found ${t}`);const o=i.split("/").filter(l=>!!l),{value:u}=o.reduce((l,d)=>{if(l.path.push(d),!(d in l.value))throw new Error(`reference not found ${t}#${l.path.join("/")}`);return l.value=l.value[d],l},{path:[],value:e[t]});return[u,t,n]};function l$(e,a,r="en",s="en"){if(!e.$id)throw new Error("missing schema id");const n=o$({[e.$id]:e},a),t=[];return Ci(e,e.$id,n,r,s,t),n}const Ci=(e,a,r,s,n,t)=>{if(!t.includes(e)){t.push(e);for(const i of Object.keys(e))if(e[i]&&typeof e[i]=="object")if("$ref"in e[i]){const o=e[i].$ref.replace("~$locale~",s),u=e[i].$ref.replace("~$locale~",n);let c,l;try{[c,l]=r(a,o),e[i].$ref=o}catch{[c,l]=r(a,u),e[i].$ref=u}typeof c=="string"?e[i]=c:Ci(c,l,r,s,n,t)}else Ci(e[i],a,r,s,n,t)}};function u$(e,a,r){let s=null;if(e.items&&e.items.$ref){const[n]=r(a,e.items.$ref);s=s??Ka(e),s.items={...n,...e.items}}if(e.properties){for(const n in e.properties)if(e.properties[n].$ref){const[t]=r(a,e.properties[n].$ref);s=s??Ka(e),s.properties[n]={...t,...e.properties[n]}}}if(e.oneOf){for(let n=0;n{C.pure||(z=!1);const I=$.findIndex(j=>j.type===C.type&&j.expr===C.expr);I!==-1?C.ref=I:(C.ref=$.length,$.push(C))},R=fn(w)?w.switch:[w];for(const $ of R){$.if&&x(c,$.if),f.const!==void 0&&$.constData===void 0&&($.constData=f.const),$.constData!==void 0&&!$.getConstData&&($.getConstData={type:"js-eval",expr:"layout.constData",pure:!0,dataAlias:"value"}),$.getConstData&&x(c,$.getConstData);let C;"default"in f?C=f.default:v&&(S?C=null:O==="object"&&Md($,r.components)?C={}:O==="array"&&(C=[])),C!==void 0&&$.defaultData===void 0&&($.defaultData=C),$.defaultData!==void 0&&!$.getDefaultData&&($.getDefaultData={type:"js-eval",expr:"layout.defaultData",pure:!0,dataAlias:"value"}),$.getDefaultData&&x(c,$.getDefaultData),$.options!==void 0&&!$.getOptions&&($.getOptions={type:"js-eval",expr:"layout.options",pure:!0,dataAlias:"value"}),$.getOptions&&x(c,$.getOptions),$.props!==void 0&&!$.getProps&&($.getProps={type:"js-eval",expr:"layout.props",pure:!0,dataAlias:"value"}),$.getProps&&x(c,$.getProps),$.transformData&&x(c,$.transformData),Zo($,r.components)&&$.getItems&&(el($.getItems)&&x(c,$.getItems),tl($.getItems)&&x(c,$.getItems.url),$.getItems.itemTitle&&x(c,$.getItems.itemTitle),$.getItems.itemKey&&x(c,$.getItems.itemKey),$.getItems.itemValue&&x(c,$.getItems.itemValue),$.getItems.itemIcon&&x(c,$.getItems.itemIcon),$.getItems.itemsResults&&x(c,$.getItems.itemsResults))}const M={key:l??"",pointer:d,refPointer:y,pure:z,propertyKeys:[],roPropertyKeys:[],nullable:S,required:v&&!S};if(m){if(fn(w))throw new Error("Switch struct not allowed in conditional schema");M.condition={type:"js-eval",expr:m,pure:!0,dataAlias:"value"},x(c,M.condition)}if(f.oneOf&&(e.errorMessage.oneOf=r.messages.errorOneOf),O==="object"){if(f.properties){M.children=M.children??[];for(const $ of Object.keys(f.properties)){M.propertyKeys.push($),f.properties[$].readOnly&&M.roPropertyKeys.push($);const C=f.dependentRequired&&Object.values(f.dependentRequired).some(j=>j.includes($)),I=`${y}/properties/${$}`;if(t[I]||(t[I]="recursing",t[I]=za(f.properties[$],b,r,s,n,t,i,o,u,c,$,I,(T=f.required)==null?void 0:T.includes($),void 0,C)),M.children.push(I),(q=f.dependentSchemas)!=null&&q[$]||(B=f.dependencies)!=null&&B[$]&&!Array.isArray(f.dependencies[$])){const j=((H=f.dependentSchemas)==null?void 0:H[$])??f.dependencies[$],k=(Z=f.dependentSchemas)!=null&&Z[$]?`${y}/dependentSchemas/${$}`:`${y}/dependencies/${$}`;t[k]||(t[k]="recursing",t[k]=za(j,b,r,s,n,t,i,o,u,c,`$deps-${$}`,k,!1,`data["${$}"] !== undefined`,void 0,"object")),M.children.push(k)}}}if(f.allOf)for(let $=0;${var j;return!t[(j=n[I])==null?void 0:j.root].pure}),propertyKeys:[],roPropertyKeys:[]}),M.children=M.children??[],M.children.push($)}if(f.patternProperties){const $=`${d}/patternProperties`;if(!u[$]){const I=Ws("",f,$,r.components,r.markdown,r.optionsKeys,"patternProperties",O,S);u[$]=I.layout,I.errors.length&&(o[$.replace("_jl#","/")]=I.errors)}const C=[];for(const I of Object.keys(f.patternProperties)){const j=`${$}/${I}`;if(!n[j]){n[j]="recursing",n[j]=Kr(f.patternProperties[I],b,r,s,n,t,i,o,u,c,j,"pattern "+I);const k=u[t[n[j].root].pointer];if(fn(k))for(const V of k.switch)V.nullable=!0;else k.nullable=!0}C.push(j)}t[$]||(t[$]={key:"$patternProperties",pointer:$,refPointer:$,childrenTrees:C,pure:!C.some(I=>{var j;return!t[(j=n[I])==null?void 0:j.root].pure}),propertyKeys:[],roPropertyKeys:[]}),M.children=M.children??[],M.children.push($)}if(f.if){if(i.push(`${d}/if`),f.then){const $=`${y}/then`;t[$]||(t[$]="recursing",t[$]=za(f.then,b,r,s,n,t,i,o,u,c,"$then",$,!1,`validates["${d}/if"](data)`,void 0,"object")),M.children=M.children??[],M.children.push($)}if(f.else){const $=`${y}/else`;t[$]||(t[$]="recursing",t[$]=za(f.else,b,r,s,n,t,i,o,u,c,"$else",$,!1,`!validates["${d}/if"](data)`,void 0,"object")),M.children=M.children??[],M.children.push($)}}for(const $ of M.propertyKeys)(oe=f==null?void 0:f.required)!=null&&oe.includes($)&&(e.errorMessage.required=e.errorMessage.required??{},e.errorMessage.required[$]=r.messages.errorRequired),f.dependentRequired&&Object.keys(f.dependentRequired).includes($)&&(e.errorMessage.dependentRequired=r.messages.errorRequired)}if(O==="array"&&f.items)if(Array.isArray(f.items)){M.children=M.children??[];for(let $=0;${for(const[s,n]of Object.entries(e)){if(s.startsWith("x-i18n-")){typeof n!="object"&&console.error(`i18n property ${s} should be an object`);const t=s.replace("x-i18n-","");e[t]=n[a]??n[r]??e[t],delete e[s]}else if(Array.isArray(n))for(const t of n)Vi(t,a,r);typeof n=="object"&&Vi(n,a,r)}};function Oi(e=[],a=[]){if(!e||!a||e.length!==a.length)return a;for(let r=0;r{for(const r of["ajv","ajvOptions","code","markdown","markdownItOptions","xI18n","locale","defaultLocale","messages","optionsKeys","components"])if(r in a){if(r==="components"&&Dd(Object.keys(e.components??[]),Object.keys(a.components??[])))continue;e[r]=a[r]}else delete e[r]}),m$=e=>{let a=e.ajv;if(!a){const o={allErrors:!0,strict:!1,verbose:!0};e.ajvOptions&&Object.assign(o,e.ajvOptions),e.code&&(o.code={source:!0,esm:!0,lines:!0});const u=new d$(o);Sd.default(u),Pd.default(u),a=u}a.addKeyword("layout");let r=e.markdown;if(!r){const o=new lm(e.markdownItOptions??{});r=o.render.bind(o)}const s=e.defaultLocale||"en",n=e.locale||s,t={..._u[n]||_u[s]};e.messages&&Object.assign(t,e.messages);const i=zk.reduce((o,u)=>(o[u.name]=u,o),{});if(e.components){for(const o of Object.keys(e.components))i[o]={...e.components[o],name:o};Object.assign(i,e.components)}return{ajv:a,code:!1,markdown:r,optionsKeys:[],...e,locale:n,defaultLocale:s,messages:t,components:i,xI18n:!!e.xI18n}};function v$(e,a={}){const r=m$(a),s=Ka(e);s.$id=s.$id??"_jl";const n=l$(s,r.ajv,r.locale,r.defaultLocale);r.xI18n&&Vi(s,r.locale,r.defaultLocale);const t=[],i={},o=[],u={},c={},l={},d=`${s.$id}#`;c[d]="recursing",c[d]=Kr(s,s.$id,r,n,c,l,t,u,i,o,d,"main"),r.ajv.addSchema(s);const v=r.ajv.opts.uriResolver,m={};for(const g of t){const b=v.resolve(s.$id,g);m[g]=r.ajv.compile({$ref:b})}const p=[];for(const g of o){const b=g.pure?["data",g.dataAlias,"options","context","display","layout","validates"]:["data",g.dataAlias,"options","context","display","layout","validates","rootData","parent"];g.type==="js-fn"&&p.push(new Function(...b,g.expr)),g.type==="js-eval"&&p.push(new Function(...b,"return ("+g.expr+")")),g.type==="js-tpl"&&p.push(new Function(...b,"return `"+g.expr+"`"))}return Object.keys(u).length&&console.error("JSON layout encountered some validation errors:",u),{options:r,schema:s,mainTree:d,skeletonTrees:c,skeletonNodes:l,validates:m,validationErrors:u,normalizedLayouts:i,expressions:p,locale:r.locale,messages:r.messages,components:r.components,localizeErrors:Tu[r.locale]||Tu.en}}var Ei={exports:{}},Gs,Mu;function p$(){if(Mu)return Gs;Mu=1;var e=1e3,a=e*60,r=a*60,s=r*24,n=s*7,t=s*365.25;Gs=function(l,d){d=d||{};var v=typeof l;if(v==="string"&&l.length>0)return i(l);if(v==="number"&&isFinite(l))return d.long?u(l):o(l);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(l))};function i(l){if(l=String(l),!(l.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(l);if(d){var v=parseFloat(d[1]),m=(d[2]||"ms").toLowerCase();switch(m){case"years":case"year":case"yrs":case"yr":case"y":return v*t;case"weeks":case"week":case"w":return v*n;case"days":case"day":case"d":return v*s;case"hours":case"hour":case"hrs":case"hr":case"h":return v*r;case"minutes":case"minute":case"mins":case"min":case"m":return v*a;case"seconds":case"second":case"secs":case"sec":case"s":return v*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return v;default:return}}}}function o(l){var d=Math.abs(l);return d>=s?Math.round(l/s)+"d":d>=r?Math.round(l/r)+"h":d>=a?Math.round(l/a)+"m":d>=e?Math.round(l/e)+"s":l+"ms"}function u(l){var d=Math.abs(l);return d>=s?c(l,d,s,"day"):d>=r?c(l,d,r,"hour"):d>=a?c(l,d,a,"minute"):d>=e?c(l,d,e,"second"):l+" ms"}function c(l,d,v,m){var p=d>=v*1.5;return Math.round(l/v)+" "+m+(p?"s":"")}return Gs}function h$(e){r.debug=r,r.default=r,r.coerce=u,r.disable=t,r.enable=n,r.enabled=i,r.humanize=p$(),r.destroy=c,Object.keys(e).forEach(l=>{r[l]=e[l]}),r.names=[],r.skips=[],r.formatters={};function a(l){let d=0;for(let v=0;v{if(S==="%%")return"%";_++;const z=r.formatters[w];if(typeof z=="function"){const x=b[_];S=z.call(f,x),b.splice(_,1),_--}return S}),r.formatArgs.call(f,b),(f.log||r.log).apply(f,b)}return g.namespace=l,g.useColors=r.useColors(),g.color=r.selectColor(l),g.extend=s,g.destroy=r.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>v!==null?v:(m!==r.namespaces&&(m=r.namespaces,p=r.enabled(l)),p),set:b=>{v=b}}),typeof r.init=="function"&&r.init(g),g}function s(l,d){const v=r(this.namespace+(typeof d>"u"?":":d)+l);return v.log=this.log,v}function n(l){r.save(l),r.namespaces=l,r.names=[],r.skips=[];let d;const v=(typeof l=="string"?l:"").split(/[\s,]+/),m=v.length;for(d=0;d"-"+d)].join(",");return r.enable(""),l}function i(l){if(l[l.length-1]==="*")return!0;let d,v;for(d=0,v=r.skips.length;d{let c=!1;return()=>{c||(c=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function s(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let c;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(c=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(c[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const l="color: "+this.color;c.splice(1,0,l,"color: inherit");let d=0,v=0;c[0].replace(/%[a-zA-Z%]/g,m=>{m!=="%%"&&(d++,m==="%c"&&(v=d))}),c.splice(v,0,l)}a.log=console.debug||console.log||(()=>{});function t(c){try{c?a.storage.setItem("debug",c):a.storage.removeItem("debug")}catch{}}function i(){let c;try{c=a.storage.getItem("debug")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=r.DEBUG),c}function o(){try{return localStorage}catch{}}e.exports=y$(a);const{formatters:u}=e.exports;u.j=function(c){try{return JSON.stringify(c)}catch(l){return"[UnexpectedJSONParseError]: "+l.message}}})(Ei,Ei.exports);var g$=Ei.exports;const al=Cn(g$),Mr=["xs","sm","md","lg","xl","xxl"],it={xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560};class xi{constructor(a){ct(this,"width");this.width=a}get name(){for(let a=0;a=it.sm&&this.width=it.sm}get md(){return this.width>=it.md&&this.width=it.md}get lg(){return this.width>=it.lg&&this.width=it.lg}get xl(){return this.width>=it.xl&&this.width=it.xl}get xxl(){return this.width>=it.xxl}}function b$(e,a){if(!a)return[e,12];let r=a.xs;return e.smAndUp&&a.sm!==void 0&&(r=a.sm),e.mdAndUp&&a.md!==void 0&&(r=a.md),e.lgAndUp&&a.lg!==void 0&&(r=a.lg),e.xlAndUp&&a.xl!==void 0&&(r=a.xl),e.xxl&&a.xxl!==void 0&&(r=a.xxl),[r===12?e:new xi(Math.round(e.width*(r/12))),r]}const Ys={};function nl(e){return Ys[e]=Ys[e]??new RegExp(e),Ys[e]}const Dr=al("jl:state-node"),Ur=e=>!!(e===""||e===void 0||Array.isArray(e)&&!e.length||typeof e=="object"&&!Array.isArray(e)&&e&&Object.values(e).findIndex(a=>a!==void 0)===-1),k$=(e,a,r)=>!!(r.defaultOn==="missing"&&e===void 0||r.defaultOn==="empty"&&Ur(e)),$$=$t((e,a,r,s,n,t,i,o,u,c,l,d,v,m,p,g,b,f)=>{if(e.messages=o.messages?w$(e.messages||{},o.messages,m):m.messages,e.key=a,e.fullKey=r,e.parentFullKey=s,e.dataPath=n,e.parentDataPath=t,e.skeleton=i,e.layout=o,e.width=u,e.options=m,e.cols=c,e.data=l,e.error=d,e.itemsCacheKey=b,e.childError=f&&f.findIndex(y=>y.error||y.childError)!==-1,e.validated=v,p)e.autofocus=!0,delete e.autofocusChild;else{delete e.autofocus;const y=f==null?void 0:f.find(P=>P.autofocus);y?e.autofocusChild=y.key:delete e.autofocusChild}e.props=g,e.children=f}),w$=$t((e,a,r)=>{Object.assign(e,r.messages,a)}),_$=$t((e,a)=>{for(const r of a){const s=r.key;r.data===void 0?delete e[s]:e[s]=r.data}for(;e.length&&e[e.length-1]===void 0;)e.pop()}),S$=$t((e,a,r,s,n)=>{for(let t=0;t{if(n&&(n.length||r!=null&&r.length))for(const i of Object.keys(e))n.includes(i)||delete e[i];if(t)for(const i of t)delete e[i];if(r)for(const i of r)if(a===i.dataPath){if(i.data===void 0)continue;Object.assign(e,i.data)}else i.data===void 0?delete e[i.key]:e[i.key]=i.data;if(s)for(const i of s)i.instancePath===a&&(i.keyword==="additionalProperties"&&delete e[i.params.additionalProperty],i.keyword==="unevaluatedProperties"&&delete e[i.params.unevaluatedProperty])}),P$=$t((e,a,r,s)=>{for(const n of Object.keys(a))r.includes(n)||s.some(t=>!!n.match(nl(t)))&&(e[n]=a[n]);for(const n of Object.keys(e))n in a||delete e[n]}),C$=$t((e,a,r={})=>{for(const s in a)e[s]=r[s]??a[s];for(const s in r)e[s]=r[s];for(const s in e)!(s in a)&&!(s in r)&&delete e[s]}),Du=$t(e=>{e.readOnly=!0,e.summary=!0}),V$=$t((e,a)=>{a.title&&e.titleDepth<6&&(e.titleDepth+=1)}),Xs=(e,a,r,s)=>{var t,i,o;const n=((i=(t=e.params)==null?void 0:t.errors)==null?void 0:i[0])??e;return s===n.instancePath&&((o=n.params)==null?void 0:o.missingProperty)===a.key||n.instancePath===r&&(n.schemaPath===a.pointer||n.schemaPath===a.refPointer)},Js=(e,a,r,s)=>{var t,i;const n=((i=(t=e.params)==null?void 0:t.errors)==null?void 0:i[0])??e;return!(n.schemaPath===a.pointer||n.schemaPath.startsWith(a.pointer+"/"))&&!(n.schemaPath===a.refPointer||n.schemaPath.startsWith(a.refPointer+"/"))?!1:!!n.instancePath.startsWith(r)};function Zt(e,a,r,s,n,t,i,o,u){if(a.ref===void 0)throw new Error("expression was not compiled : "+JSON.stringify(a));const c=e[a.ref];try{return a.pure?c(r,r,s,s.context,n,t,i):c(r,r,s,s.context,n,t,i,o,u)}catch(l){const d={expression:a,data:r,context:s.context,display:n};throw d[a.dataAlias]=r,a.pure||(d.rootData=o,d.parent=u),console.warn("json-layout: failed to evaluate expression",l,d),new Error("json-layout: failed to evaluate expression")}}const O$=(e,a,r,s,n,t,i)=>{if(fn(e)){for(const o of e.switch)if(!o.if||Zt(r.expressions,o.if,n,a,s,o,r.validates,t,i))return o}else if(e.if){if(Zt(r.expressions,e.if,n,a,s,e,r.validates,t,i))return e}else return e;return{comp:"none"}};function Wn(e,a,r,s,n,t,i,o,u,c,l,d,v,m,p){var q,B,H,Z,oe,L,U,$,C,I,j,k,V,D,K,Q,te,X,le,J,re,ke,me,fe;Dr("createStateNode",n);let g=null;if(u.pure&&!(p!=null&&p.error)&&!(p!=null&&p.childError)){const ue=m.validatedForm||m.validatedChildren.includes(n);if(g=[p,a,r,n,u,c,l.width,ue,e.activatedItems,e.initial,d],p&&e.cacheKeys[n]&&Dd(e.cacheKeys[n],g))return Dr("createStateNode cache hit",n),e._debugCache&&(e._debugCache[n]=(e._debugCache[n]??[]).concat(["hit"])),p;Dr("createStateNode cache miss",n),e._debugCache&&(e._debugCache[n]=(e._debugCache[n]??[]).concat(["miss"]))}else Dr("createStateNode cache skip",n),e._debugCache&&(e._debugCache[n]=(e._debugCache[n]??[]).concat(["skip"]));const b=c&&Jk(c)?c:r.normalizedLayouts[u.pointer],f=O$(b,a,r,l,d,e.rootData,v),[y,P]=b$(l,(c==null?void 0:c.cols)??f.cols),_=f.getOptions?C$((p==null?void 0:p.options)??{},a,Zt(r.expressions,f.getOptions,d,a,y,f,r.validates,e.rootData,v)):a;e.initial&&a.autofocus&&f.autofocus&&f.comp!=="none"&&(e.autofocusTarget=n);let O;if(Md(f,r.components)){const ue=d??{},Oe=V$(_,f);O=[];let Ce=e.autofocusTarget===n;for(let Ne=0;Ner.skeletonNodes[Gt].key===we.key);if(Ae!==void 0&&(je=r.skeletonNodes[Ae]),je.condition&&!Zt(r.expressions,je.condition,ue,a,y,f,r.validates,e.rootData,v))continue;const He=typeof we.key=="string"&&we.key.startsWith("$"),Ze=`${n}/${we.key}`;Ce&&(e.autofocusTarget=Ze);let gt=He?ue:ue[we.key];if(we.key==="$patternProperties"){const Gt=r.normalizedLayouts[je.pointer];gt=P$(((Z=(H=p==null?void 0:p.children)==null?void 0:H.find(St=>St.key==="$patternProperties"))==null?void 0:Z.data)??{},ue,u.propertyKeys,Gt.indexed??[])}const la=Wn(e,Oe,r,we.key,Ze,n,He?i:`${i}/${we.key}`,i,je,we,y,gt,{parent:v,data:ue},m,(oe=p==null?void 0:p.children)==null?void 0:oe.find(Gt=>Gt.fullKey===Ze));(la.autofocus||la.autofocusChild!==void 0)&&(Ce=!1),O.push(la)}}if(s==="$oneOf"&&u.childrenTrees){const ue=n in e.activatedItems?e.activatedItems[n]:(L=u.childrenTrees)==null?void 0:L.findIndex(Oe=>r.validates[r.skeletonTrees[Oe].root](d));if(ue!==-1){e.errors=(U=e.errors)==null?void 0:U.filter(Ne=>{var je,Ae;const we=((Ae=(je=Ne.params)==null?void 0:je.errors)==null?void 0:Ae[0])??Ne;return!(Xs(Ne,u,i,o)||Js(Ne,u,i)&&(we.schemaPath.startsWith(u.pointer)&&!we.schemaPath.startsWith(u.pointer+"/"+ue)||we.schemaPath.startsWith(u.refPointer)&&!we.schemaPath.startsWith(u.refPointer+"/"+ue)))});const Oe=`${n}/${ue}`;e.autofocusTarget===n&&(e.autofocusTarget=Oe);const Ce=r.skeletonTrees[u.childrenTrees[ue]];O=[Wn(e,_,r,ue,Oe,n,i,i,r.skeletonNodes[Ce.root],null,y,d,{parent:v,data:d},m,($=p==null?void 0:p.children)==null?void 0:$[0])]}}if(Qk(f))if(f.indexed){const ue=d??[],Oe=f.listEditMode==="inline"?_:Du(_);O=[];let Ce=e.autofocusTarget===n;const Ne=Object.keys(ue);for(let we=0;wegt.key===je));(Ze.autofocus||Ze.autofocusChild!==void 0)&&(Ce=!1),O.push(Ze)}}}else{const ue=d??[],Oe=((D=u==null?void 0:u.childrenTrees)==null?void 0:D[0])&&r.skeletonNodes[(Q=r.skeletonTrees[(K=u==null?void 0:u.childrenTrees)==null?void 0:K[0]])==null?void 0:Q.root],Ce=f.listEditMode==="inline"?_:Du(_);O=[];let Ne=e.autofocusTarget===n;for(let we=0;weXs(ue,u,i,o));S||(S=(le=e.errors)==null?void 0:le.findLast(ue=>Js(ue,u,i))),f.comp!=="none"&&S&&(e.errors=(J=e.errors)==null?void 0:J.filter(ue=>!Xs(ue,u,i,o)&&!Js(ue,u,i)));let w=d;w===null&&!f.nullable&&(w=void 0);const z=m.validatedForm||m.validatedChildren.includes(n)||m.initialized===!1&&_.initialValidation==="always"||m.initialized===!1&&_.initialValidation==="withData"&&!Ur(w);if(typeof((re=O==null?void 0:O[0])==null?void 0:re.key)=="number"&&f.comp!=="one-of-select"&&!f.indexed)w=_$(w??[],O);else if(Array.isArray(w)){const ue=((ke=u.childrenTrees)==null?void 0:ke[0])&&r.skeletonTrees[(me=u.childrenTrees)==null?void 0:me[0]],Oe=ue&&r.skeletonNodes[ue.root]||null;w=S$(w??[],i,e.additionalPropertiesErrors,[!0,"unknown"].includes(_.removeAdditional)?Oe==null?void 0:Oe.propertyKeys:void 0,_.readOnlyPropertiesMode==="remove"?Oe==null?void 0:Oe.roPropertyKeys:void 0)}else if((typeof w=="object"||w===void 0&&(O!=null&&O.length))&&!(w instanceof File)){const ue=[!0,"unknown"].includes(_.removeAdditional)||(O==null?void 0:O.some(Oe=>Oe.key==="$patternProperties"));w=Rd(w??{},i,O,e.additionalPropertiesErrors,ue?u.propertyKeys:void 0,_.readOnlyPropertiesMode==="remove"?u.roPropertyKeys:void 0)}if(w!==d&&(Array.isArray(d)&&Array.isArray(w)?w=Oi(d,w):typeof d=="object"&&typeof w=="object"&&(w=c$(d,w))),f.getConstData)e.rehydrate||(w=Zt(r.expressions,f.getConstData,w,_,y,f,r.validates,e.rootData,v));else if(f.getDefaultData&&k$(w,f,_)){if(!e.rehydrate){const ue=Zt(r.expressions,f.getDefaultData,w,_,y,f,r.validates,e.rootData,v);(w===void 0||!Ur(ue))&&(w=ue)}}else Ur(w)&&(f.nullable?(_.defaultOn!=="missing"||w!==void 0)&&(w=null):_.defaultOn!=="missing"&&(w=void 0));let x;f.getProps&&(x=Zt(r.expressions,f.getProps,w,_,y,f,r.validates,e.rootData,v));let R;if(Zo(f,r.components)){if(f.items)R=f.items;else if((fe=f.getItems)!=null&&fe.immutable&&(p!=null&&p.itemsCacheKey))R=p.itemsCacheKey;else if(f.getItems&&el(f.getItems))if(f.getItems.immutable&&(p!=null&&p.itemsCacheKey))R=p.itemsCacheKey;else try{R=Zt(r.expressions,f.getItems,w,_,y,f,r.validates,e.rootData,v)}catch{R=null}else if(f.getItems&&tl(f.getItems))try{R=Zt(r.expressions,f.getItems.url,null,_,y,f,r.validates,e.rootData,v)}catch{R=null}}const M=Zk(f,r.components)&&!_.readOnly&&!_.summary&&e.autofocusTarget===n,T=$$(p??{},s,n,t,i,o,u,f,y.width,P,w,S==null?void 0:S.message,z,_,M,x,R,O&&Oi(p==null?void 0:p.children,O));return g&&(g[0]=T,e.cacheKeys[n]=g),T}const E$=$t((e,a,r)=>{if(a.dataPath===a.parentDataPath){if(Object.assign(e,r),a.data&&typeof r=="object"&&r!==null)for(const s of Object.keys(a.data))s in r||delete e[s]}else e[a.key]=r}),x$=$t((e,a,r)=>{e.root=a,e.valid=r});function*Nd(e){if(yield e,e.children)for(const a of e.children)yield*Nd(a)}function I$(e,a,r,s,n,t,i,o){var d,v;const u=r.validates[s.root],c=u(t);if(u.errors){for(const m of u.errors)m.keyword!=="errorMessage"&&r.localizeErrors([m]);if(e.errors=e.allErrors=u.errors,e.errors.length)for(const m of e.errors){const p=((v=(d=m.params)==null?void 0:d.errors)==null?void 0:v[0])??m;p!=null&&p.parentSchema.__pointer&&(p.schemaPath=p==null?void 0:p.parentSchema.__pointer,p.keyword==="oneOf"&&(p.schemaPath+="/oneOf"))}[!0,"error"].includes(a.removeAdditional)&&(e.additionalPropertiesErrors=u.errors.filter(m=>m.keyword==="additionalProperties"||m.keyword==="unevaluatedProperties"))}const l=Wn(e,a,r,"","",null,"",null,r.skeletonNodes[s.root],null,n,t,null,i,o==null?void 0:o.root);e.nodes=[],e.files=[];for(const m of Nd(l))e.nodes.push(m),m.data instanceof File&&e.files.push({dataPath:m.dataPath,file:m.data});return x$(o??{},l,c)}const rn=e=>!!e&&e.layout.comp==="section",j$=(e,a)=>!!e&&Zo(e.layout,a),_a=al("jl:data-binding");function A$(e,a){const r={...a.messages};return e.messages&&Object.assign(r,e.messages),{context:{},width:1e3,readOnly:!1,summary:!1,density:"default",indent:!1,titleDepth:2,validateOn:"input",initialValidation:"withData",updateOn:"input",debounceInputMs:300,defaultOn:"empty",removeAdditional:"error",autofocus:!1,readOnlyPropertiesMode:"show",onAutofocus:()=>{},onUpdate:()=>{},onData:()=>{},...e,messages:r}}class T${constructor(a,r,s,n){ct(this,"_compiledLayout");ct(this,"_stateTree");ct(this,"skeletonTree");ct(this,"_display");ct(this,"_validationState");ct(this,"_options");ct(this,"_data");ct(this,"_previousData");ct(this,"_dataWaitingForBlur",!1);ct(this,"_lastCreateStateTreeContext");ct(this,"_autofocusTarget");ct(this,"_previousAutofocusTarget");ct(this,"files",[]);ct(this,"debouncedInput",null);ct(this,"_itemsCache",{});ct(this,"activatedItems");_a("create stateful layout",a,r,s,n),this._compiledLayout=a,this.skeletonTree=r,this.prepareOptions(s),this._autofocusTarget=this.options.autofocus?"":null,this._previousAutofocusTarget=null,this._data=n,this._previousData=n,this.initValidationState(),this.activatedItems={},this.updateState(),this.handleAutofocus()}get compiledLayout(){return this._compiledLayout}get stateTree(){return this._stateTree}get display(){return this._display}get validationState(){return this._validationState}set validationState(a){this._validationState={initialized:a.initialized??this._validationState.initialized??!1,validatedForm:a.validatedForm??this._validationState.validatedForm??!1,validatedChildren:a.validatedChildren??this._validationState.validatedChildren??[]},this.updateState()}get options(){return this._options}set options(a){this.prepareOptions(a),this.updateState()}get data(){return this._data}set data(a){_a("apply main data setter",a),this._data=a,this.updateState()}prepareOptions(a){this._options=A$(a,this.compiledLayout),this._display=this._display&&this._display.width===this._options.width?this._display:new xi(this._options.width)}initValidationState(){const a=this.options.initialValidation==="always";this._validationState={initialized:a,validatedForm:a,validatedChildren:[]}}updateState(){this.createStateTree();let a=0;for(;this._data!==(this._stateTree.root.data??null)||this._autofocusTarget!==this._lastCreateStateTreeContext.autofocusTarget;){if(a+=1,a>100)throw console.error("too many iterations in updateState, the data is probably not stable",this._data,this._stateTree.root.data),new Error("too many iterations in updateState, the data is probably not stable");_a("hydrating state tree changed the data, do it again",this._data,this._stateTree.root.data),this._data=this._stateTree.root.data??null,this._autofocusTarget=this._lastCreateStateTreeContext.autofocusTarget,this.createStateTree(!0)}!this._stateTree.valid&&!this._stateTree.root.error&&!this._stateTree.root.childError&&console.error("JSON layout failed to assign validation error to a node",this._lastCreateStateTreeContext.allErrors),_a("emit update event",this._data,this._stateTree),this.options.onUpdate(this),this.emitData()}emitData(){!this._dataWaitingForBlur&&this._data!==this._previousData&&(_a("emit data event",this._data),this.options.onData(this._data),this._previousData=this._data)}createStateTree(a=!1){var s,n;const r={activatedItems:this.activatedItems,autofocusTarget:this._autofocusTarget,initial:!this._lastCreateStateTreeContext,rehydrate:a,cacheKeys:((s=this._lastCreateStateTreeContext)==null?void 0:s.cacheKeys)??{},rootData:this._data,files:[],nodes:[]};this._options._debugCache&&(r._debugCache=((n=this._lastCreateStateTreeContext)==null?void 0:n._debugCache)??{}),this._stateTree=I$(r,this._options,this._compiledLayout,this.skeletonTree,this._display,this._data,this._validationState,this._stateTree),this._lastCreateStateTreeContext=r,this.validationState.initialized||(this._validationState={initialized:!0,validatedForm:this._validationState.validatedForm,validatedChildren:r.nodes.filter(t=>t.validated).map(t=>t.fullKey)}),this.files=Oi(this.files,r.files)}validate(){this.validationState={validatedForm:!0}}resetValidation(){this.initValidationState(),this.updateState()}get valid(){return this.stateTree.valid}get errors(){return this._lastCreateStateTreeContext.nodes.filter(a=>!!a.error).map(a=>a.error)}get hasHiddenError(){return this._lastCreateStateTreeContext.nodes.findIndex(a=>a.error&&!a.validated)!==-1}getParentContextExpression(a){const r=this._lastCreateStateTreeContext.nodes.find(s=>s.fullKey===a.parentFullKey);return r?{parent:this.getParentContextExpression(r),data:r.data}:null}evalNodeExpression(a,r,s){return Zt(this.compiledLayout.expressions,r,s,a.options,new xi(a.width),a.layout,this.compiledLayout.validates,this._data,this.getParentContextExpression(a))}applyInput(a,r,s,n){_a("received input event from node",a,r);const t=a.layout.transformData&&this.evalNodeExpression(a,a.layout.transformData,r);if(a.layout.comp==="file-input"){if(t)r.toJSON=()=>t;else if(r instanceof File){const u={name:r.name,size:r.size,type:r.type};r.toJSON=()=>u}else if(Array.isArray(r))for(const u of r){const c={name:u.name,size:u.size,type:u.type};u.toJSON=()=>c}}else t&&(r=t);if(s&&!this.validationState.validatedChildren.includes(a.fullKey)&&(this.validationState={validatedChildren:this.validationState.validatedChildren.concat([a.fullKey])}),n!==void 0&&(this.activatedItems=$t(this.activatedItems,u=>{u[a.fullKey]=n}),this._autofocusTarget=a.fullKey+"/"+n),a.parentFullKey===null){this._data=r,this.updateState();return}const i=this._lastCreateStateTreeContext.nodes.find(u=>u.fullKey===a.parentFullKey);if(!i)throw new Error(`parent with key "${a.parentFullKey}" not found`);const o=E$(i.data??(typeof a.key=="number"?[]:{}),a,r??(a.skeleton.nullable?null:void 0));this.applyInput(i,o,s),n!==void 0&&this.handleAutofocus()}applyDebouncedInput(){this.debouncedInput&&(clearTimeout(this.debouncedInput[4]),this.applyInput(this.debouncedInput[0],this.debouncedInput[1],this.debouncedInput[2],this.debouncedInput[3]),this.debouncedInput=null)}input(a,r,s){var o,u;this.debouncedInput&&(this.debouncedInput[0]===a?clearTimeout(this.debouncedInput[4]):this.applyDebouncedInput());const n=(o=this.compiledLayout.components[a.layout.comp])==null?void 0:o.emitsBlur;a.options.updateOn==="blur"&&n&&(this._dataWaitingForBlur=!0);const t=a.options.validateOn==="input"||a.options.validateOn==="blur"&&!n;((u=this.compiledLayout.components[a.layout.comp])==null?void 0:u.shouldDebounce)&&a.options.debounceInputMs?this.debouncedInput=[a,r,t,s,setTimeout(()=>this.applyDebouncedInput(),a.options.debounceInputMs)]:this.applyInput(a,r,t,s)}blur(a){this.applyDebouncedInput(),_a("received blur event from node",a),(a.options.validateOn==="input"||a.options.validateOn==="blur")&&!this.validationState.validatedChildren.includes(a.fullKey)&&(this.validationState={validatedChildren:this.validationState.validatedChildren.concat([a.fullKey])}),this._dataWaitingForBlur&&(this._dataWaitingForBlur=!1,this.emitData())}validateNodeRecurse(a){if(this.validationState={validatedChildren:this.validationState.validatedChildren.concat([a.fullKey])},a.children)for(const r of a.children)this.validateNodeRecurse(r)}async getItemsWithoutCache(a,r=""){var i;if(!j$(a,this._compiledLayout.components))throw new Error("node is not a component with an items list");if(a.itemsCacheKey===null)return{appliedQ:!1,items:[]};let s=!1,n;if((a.layout.items||a.layout.getItems&&el(a.layout.getItems))&&(n=a.itemsCacheKey),a.layout.getItems&&tl(a.layout.getItems)){const o=new URL(a.itemsCacheKey);let u=a.layout.getItems.qSearchParam;if(!u)for(const c of o.searchParams.entries())c[1]==="{q}"&&(u=c[0]);u&&(s=!0,r?o.searchParams.set(u,r):o.searchParams.delete(u)),n=await(await fetch(o)).json()}if(!n)throw new Error(`node ${a.fullKey} is missing items or getItems parameters`);if((i=a.layout.getItems)!=null&&i.itemsResults&&(n=this.evalNodeExpression(a,a.layout.getItems.itemsResults,n)),!Array.isArray(n))throw new Error(`getItems didn't return an array for node ${a.fullKey}, you can define itemsResults to extract the array`);const t=n.map(o=>this.prepareSelectItem(a,o));return{appliedQ:s,items:t}}async getItems(a,r=""){let s;return this._itemsCache[a.fullKey]&&this._itemsCache[a.fullKey].key===a.itemsCacheKey&&(!r||!this._itemsCache[a.fullKey].appliedQ)?s=this._itemsCache[a.fullKey]:(s=await this.getItemsWithoutCache(a,r),(!r||!s.appliedQ)&&(this._itemsCache[a.fullKey]={key:a.itemsCacheKey,...s})),r&&!s.appliedQ?s.items.filter(n=>n.title.toLowerCase().includes(r.toLowerCase())):s.items}prepareSelectItem(a,r){var t,i,o,u,c,l,d,v,m;const s={},n=a.layout;return typeof r=="object"?(s.value=(t=n.getItems)!=null&&t.itemValue?this.evalNodeExpression(a,n.getItems.itemValue,r):(i=n.getItems)!=null&&i.returnObjects?r:r.value,s.key=(o=n.getItems)!=null&&o.itemKey?this.evalNodeExpression(a,n.getItems.itemKey,r):r.key,s.title=(u=n.getItems)!=null&&u.itemTitle?this.evalNodeExpression(a,n.getItems.itemTitle,r):r.title,s.value=s.value??s.key,s.key=s.key??s.value+"",s.title=s.title??s.key,!s.icon&&r.icon&&(s.icon=r.icon)):(s.value=(c=n.getItems)!=null&&c.itemValue?this.evalNodeExpression(a,n.getItems.itemValue,r):r,s.key=(l=n.getItems)!=null&&l.itemKey?this.evalNodeExpression(a,n.getItems.itemKey,r):s.value,s.title=(d=n.getItems)!=null&&d.itemTitle?this.evalNodeExpression(a,n.getItems.itemTitle,r):s.value),(v=n.getItems)!=null&&v.itemIcon&&(s.icon=this.evalNodeExpression(a,(m=n.getItems)==null?void 0:m.itemIcon,r)),s}activateItem(a,r){var s,n;if(this.activatedItems=$t(this.activatedItems,t=>{t[a.fullKey]=r}),this._autofocusTarget=a.fullKey+"/"+r,a.key==="$oneOf")if(a.layout.emptyData&&a.data&&typeof a.data=="object"&&((s=a.children)!=null&&s[0])){const t=this._lastCreateStateTreeContext.nodes.find(o=>o.fullKey===a.parentFullKey);if(!t)throw new Error(`parent with key "${a.parentFullKey}" not found`);if(!t.data||typeof t.data!="object")throw new Error(`parent with key "${a.parentFullKey}" is missing data object`);const i={...t.data};for(const o of(n=a.children)==null?void 0:n[0].skeleton.propertyKeys)delete i[o];this.input(t,i)}else this.input(a,void 0);else this.updateState();this.handleAutofocus()}deactivateItem(a){this.activatedItems=$t(this.activatedItems,r=>{for(const s in r)s.startsWith(a.fullKey)&&delete r[s]}),this.updateState()}handleAutofocus(){const a=this._autofocusTarget;a!==null&&this._autofocusTarget!==this._previousAutofocusTarget&&(this._previousAutofocusTarget=a,setTimeout(()=>{_a("emit autofocus event",a),this.options.onAutofocus(a)}))}}const zd=ss.reduce((e,a)=>(e[a]={type:[Boolean,String,Number],default:!1},e),{}),Fd=ss.reduce((e,a)=>{const r="offset"+qi(a);return e[r]={type:[String,Number],default:null},e},{}),Ld=ss.reduce((e,a)=>{const r="order"+qi(a);return e[r]={type:[String,Number],default:null},e},{}),Ru={col:Object.keys(zd),offset:Object.keys(Fd),order:Object.keys(Ld)};function M$(e,a,r){let s=e;if(!(r==null||r===!1)){if(a){const n=a.replace(e,"");s+=`-${n}`}return e==="col"&&(s="v-"+s),e==="col"&&(r===""||r===!0)||(s+=`-${r}`),s.toLowerCase()}}const D$=["auto","start","end","center","baseline","stretch"],R$=ie({cols:{type:[Boolean,String,Number],default:!1},...zd,offset:{type:[String,Number],default:null},...Fd,order:{type:[String,Number],default:null},...Ld,alignSelf:{type:String,default:null,validator:e=>D$.includes(e)},...qe(),...Wt()},"VCol"),qd=ve()({name:"VCol",props:R$(),setup(e,a){let{slots:r}=a;const s=E(()=>{const n=[];let t;for(t in Ru)Ru[t].forEach(o=>{const u=e[o],c=M$(t,o,u);c&&n.push(c)});const i=n.some(o=>o.startsWith("v-col-"));return n.push({"v-col":!i||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),n});return()=>{var n;return ze(e.tag,{class:[s.value,e.class],style:e.style},(n=r.default)==null?void 0:n.call(r))}}}),rl=["start","end","center"],Bd=["space-between","space-around","space-evenly"];function sl(e,a){return ss.reduce((r,s)=>{const n=e+qi(s);return r[n]=a(),r},{})}const N$=[...rl,"baseline","stretch"],Kd=e=>N$.includes(e),Ud=sl("align",()=>({type:String,default:null,validator:Kd})),z$=[...rl,...Bd],Hd=e=>z$.includes(e),Wd=sl("justify",()=>({type:String,default:null,validator:Hd})),F$=[...rl,...Bd,"stretch"],Gd=e=>F$.includes(e),Yd=sl("alignContent",()=>({type:String,default:null,validator:Gd})),Nu={align:Object.keys(Ud),justify:Object.keys(Wd),alignContent:Object.keys(Yd)},L$={align:"align",justify:"justify",alignContent:"align-content"};function q$(e,a,r){let s=L$[e];if(r!=null){if(a){const n=a.replace(e,"");s+=`-${n}`}return s+=`-${r}`,s.toLowerCase()}}const B$=ie({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:Kd},...Ud,justify:{type:String,default:null,validator:Hd},...Wd,alignContent:{type:String,default:null,validator:Gd},...Yd,...qe(),...Wt()},"VRow"),ya=ve()({name:"VRow",props:B$(),setup(e,a){let{slots:r}=a;const s=E(()=>{const n=[];let t;for(t in Nu)Nu[t].forEach(i=>{const o=e[i],u=q$(t,i,o);u&&n.push(u)});return n.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}),n});return()=>{var n;return ze(e.tag,{class:["v-row",s.value,e.class],style:e.style},(n=r.default)==null?void 0:n.call(r))}}}),Hr={props:{layoutSlot:{type:Object,required:!0},node:{type:Object,required:!0},statefulLayout:{type:Object,required:!0},tag:{type:String,default:null}},render(){const e=this.tag??(Vu(this.layoutSlot)?"p":"div");if(Vu(this.layoutSlot))return ze(e,this.layoutSlot.text);if(e$(this.layoutSlot))return ze(e,{innerHTML:this.layoutSlot.markdown});if(t$(this.layoutSlot))if(!this.statefulLayout.options.vjsfSlots[this.layoutSlot.name])console.error(`vjsf: layout references a code slot "${this.layoutSlot.name}" that was not provided.`);else return ze(e,this.statefulLayout.options.vjsfSlots[this.layoutSlot.name]({node:this.node,statefulLayout:this.statefulLayout}));return null}},K$=ie({target:[Object,Array]},"v-dialog-transition"),Xd=ve()({name:"VDialogTransition",props:K$(),setup(e,a){let{slots:r}=a;const s={onBeforeEnter(n){n.style.pointerEvents="none",n.style.visibility="hidden"},async onEnter(n,t){var v;await new Promise(m=>requestAnimationFrame(m)),await new Promise(m=>requestAnimationFrame(m)),n.style.visibility="";const{x:i,y:o,sx:u,sy:c,speed:l}=Fu(e.target,n),d=Ua(n,[{transform:`translate(${i}px, ${o}px) scale(${u}, ${c})`,opacity:0},{}],{duration:225*l,easing:dv});(v=zu(n))==null||v.forEach(m=>{Ua(m,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*l,easing:tr})}),d.finished.then(()=>t())},onAfterEnter(n){n.style.removeProperty("pointer-events")},onBeforeLeave(n){n.style.pointerEvents="none"},async onLeave(n,t){var v;await new Promise(m=>requestAnimationFrame(m));const{x:i,y:o,sx:u,sy:c,speed:l}=Fu(e.target,n);Ua(n,[{},{transform:`translate(${i}px, ${o}px) scale(${u}, ${c})`,opacity:0}],{duration:125*l,easing:fv}).finished.then(()=>t()),(v=zu(n))==null||v.forEach(m=>{Ua(m,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*l,easing:tr})})},onAfterLeave(n){n.style.removeProperty("pointer-events")}};return()=>e.target?h(ni,se({name:"dialog-transition"},s,{css:!1}),r):h(ni,{name:"dialog-transition"},r)}});function zu(e){var r;const a=(r=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return a&&[...a]}function Fu(e,a){const r=Rc(e),s=Zi(a),[n,t]=getComputedStyle(a).transformOrigin.split(" ").map(f=>parseFloat(f)),[i,o]=getComputedStyle(a).getPropertyValue("--v-overlay-anchor-origin").split(" ");let u=r.left+r.width/2;i==="left"||o==="left"?u-=r.width/2:(i==="right"||o==="right")&&(u+=r.width/2);let c=r.top+r.height/2;i==="top"||o==="top"?c-=r.height/2:(i==="bottom"||o==="bottom")&&(c+=r.height/2);const l=r.width/s.width,d=r.height/s.height,v=Math.max(1,l,d),m=l/v||0,p=d/v||0,g=s.width*s.height/(window.innerWidth*window.innerHeight),b=g>.12?Math.min(1.5,(g-.12)*10+1):1;return{x:u-(n+s.left),y:c-(t+s.top),sx:m,sy:p,speed:b}}const U$=["innerHTML"],H$={__name:"help-message",props:{node:{type:Object,required:!0}},setup(e){const a=ee(!1);return(r,s)=>(ae(),Fe("div",{class:ta(`vjsf-help-message vjsf-help-message-${e.node.options.density}`)},[h(Y(Lm),null,{default:ne(()=>[mt(h(Y(Oc),{color:"info"},{default:ne(()=>[is("div",{innerHTML:e.node.layout.help},null,8,U$)]),_:1},512),[[xa,a.value]])]),_:1}),h(Y(Le),{color:"info",class:ta(`vjsf-help-message-toggle vjsf-help-message-toggle-${e.node.options.density}`),icon:a.value?"mdi-close":"mdi-information-symbol",border:0,elevation:a.value?0:2,density:"compact",size:e.node.options.density==="default"?28:24,title:a.value?"":e.node.messages.showHelp,onClick:s[0]||(s[0]=n=>a.value=!a.value)},null,8,["class","icon","elevation","size","title"])],2))}},ga={__name:"node",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfNode");const a=e,r={compact:"my-1",comfortable:"my-2",default:"my-3"},s=lc(),n=E(()=>a.modelValue.parentFullKey===null||!a.modelValue.options.indent||a.modelValue.layout.comp!=="section"||!a.modelValue.layout.title?0:typeof a.modelValue.options.indent=="number"?a.modelValue.options.indent:a.modelValue.options.density==="compact"?2:a.modelValue.options.density==="comfortable"?4:6),t=E(()=>{let i=`vjsf-node vjsf-node-${a.modelValue.layout.comp} vjsf-density-${a.modelValue.options.density}`;return a.modelValue.options.readOnly&&(i+=" vjsf-readonly"),a.modelValue.options.summary&&(i+=" vjsf-summary"),s.current.value.dark&&(i+=" vjsf-dark"),n.value&&(i+=" ml-"+n.value),i});return a.modelValue.layout.comp!=="none"&&!a.statefulLayout.options.nodeComponents[a.modelValue.layout.comp]&&console.error(`vjsf: missing component to render vjsf node "${a.modelValue.layout.comp}", maybe you forgot to register a component from a plugin ?`),(i,o)=>(ae(),he(Y(ot),{defaults:{global:{density:a.modelValue.options.density}}},{default:ne(()=>[e.modelValue.layout.comp!=="none"?(ae(),he(Y(qd),{key:0,cols:e.modelValue.cols,class:ta(t.value)},{default:ne(()=>{var u,c,l,d,v,m;return[(u=e.modelValue.layout.slots)!=null&&u.before?(ae(),he(Hr,{key:"before","layout-slot":(c=e.modelValue.layout.slots)==null?void 0:c.before,node:e.modelValue,"stateful-layout":e.statefulLayout,class:ta(r[e.modelValue.options.density])},null,8,["layout-slot","node","stateful-layout","class"])):De("",!0),e.modelValue.layout.help&&!e.modelValue.options.summary?(ae(),he(H$,{key:1,node:e.modelValue},null,8,["node"])):De("",!0),(l=e.modelValue.layout.slots)!=null&&l.component?(ae(),he(Hr,{key:"component","layout-slot":(d=e.modelValue.layout.slots)==null?void 0:d.component,node:e.modelValue,"stateful-layout":e.statefulLayout},null,8,["layout-slot","node","stateful-layout"])):(ae(),he(uc(a.statefulLayout.options.nodeComponents[e.modelValue.layout.comp]),{key:3,"model-value":e.modelValue,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"])),(v=e.modelValue.layout.slots)!=null&&v.after?(ae(),he(Hr,{key:"after","layout-slot":(m=e.modelValue.layout.slots)==null?void 0:m.after,node:e.modelValue,"stateful-layout":e.statefulLayout,class:ta(r[e.modelValue.options.density])},null,8,["layout-slot","node","stateful-layout","class"])):De("",!0)]}),_:1},8,["cols","class"])):De("",!0)]),_:1},8,["defaults"]))}},W$={__name:"tree",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){return(a,r)=>(ae(),he(Y(ya),{class:"vjsf-tree"},{default:ne(()=>[h(ga,{"stateful-layout":e.statefulLayout,"model-value":e.modelValue.root},null,8,["stateful-layout","model-value"])]),_:1}))}};function il(e){return um()?(Dt(e),!0):!1}function sr(e){return typeof e=="function"?e():Y(e)}const G$=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Y$=Object.prototype.toString,X$=e=>Y$.call(e)==="[object Object]",Ii=()=>{};function J$(e,a){function r(...s){return new Promise((n,t)=>{Promise.resolve(e(()=>a.apply(this,s),{fn:a,thisArg:this,args:s})).then(n).catch(t)})}return r}const Q$=e=>e();function Z$(e,a={}){let r,s,n=Ii;const t=o=>{clearTimeout(o),n(),n=Ii};return o=>{const u=sr(e),c=sr(a.maxWait);return r&&t(r),u<=0||c!==void 0&&c<=0?(s&&(t(s),s=null),Promise.resolve(o())):new Promise((l,d)=>{n=a.rejectOnCancel?d:l,c&&!s&&(s=setTimeout(()=>{r&&t(r),s=null,l(o())},c)),r=setTimeout(()=>{s&&t(s),s=null,l(o())},u)})}}function e0(e){return Bi()}function t0(e,a,r={}){const{eventFilter:s=Q$,...n}=r;return de(e,J$(s,a),n)}function Jd(e,a=!0,r){e0()?oa(e,r):a?e():nt(e)}function NS(e,a,r={}){const{debounce:s=0,maxWait:n=void 0,...t}=r;return t0(e,a,{...t,eventFilter:Z$(s,{maxWait:n})})}function Ha(e){var a;const r=sr(e);return(a=r==null?void 0:r.$el)!=null?a:r}const $r=G$?window:void 0;function a0(...e){let a,r,s,n;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,s,n]=e,a=$r):[a,r,s,n]=e,!a)return Ii;Array.isArray(r)||(r=[r]),Array.isArray(s)||(s=[s]);const t=[],i=()=>{t.forEach(l=>l()),t.length=0},o=(l,d,v,m)=>(l.addEventListener(d,v,m),()=>l.removeEventListener(d,v,m)),u=de(()=>[Ha(a),sr(n)],([l,d])=>{if(i(),!l)return;const v=X$(d)?{...d}:d;t.push(...r.flatMap(m=>s.map(p=>o(l,m,p,v))))},{immediate:!0,flush:"post"}),c=()=>{u(),i()};return il(c),c}function n0(){const e=ee(!1),a=Bi();return a&&oa(()=>{e.value=!0},a),e}function Qd(e){const a=n0();return E(()=>(a.value,!!e()))}function r0(e,a={}){const{window:r=$r}=a,s=Qd(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let n;const t=ee(!1),i=c=>{t.value=c.matches},o=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",i):n.removeListener(i))},u=ra(()=>{s.value&&(o(),n=r.matchMedia(sr(e)),"addEventListener"in n?n.addEventListener("change",i):n.addListener(i),t.value=n.matches)});return il(()=>{u(),o(),n=void 0}),t}function s0(e,a,r={}){const{window:s=$r,...n}=r;let t;const i=Qd(()=>s&&"ResizeObserver"in s),o=()=>{t&&(t.disconnect(),t=void 0)},u=E(()=>Array.isArray(e)?e.map(d=>Ha(d)):[Ha(e)]),c=de(u,d=>{if(o(),i.value&&s){t=new ResizeObserver(a);for(const v of d)v&&t.observe(v,n)}},{immediate:!0,flush:"post"}),l=()=>{o(),c()};return il(l),{isSupported:i,stop:l}}function i0(e,a={width:0,height:0},r={}){const{window:s=$r,box:n="content-box"}=r,t=E(()=>{var d,v;return(v=(d=Ha(e))==null?void 0:d.namespaceURI)==null?void 0:v.includes("svg")}),i=ee(a.width),o=ee(a.height),{stop:u}=s0(e,([d])=>{const v=n==="border-box"?d.borderBoxSize:n==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(s&&t.value){const m=Ha(e);if(m){const p=s.getComputedStyle(m);i.value=Number.parseFloat(p.width),o.value=Number.parseFloat(p.height)}}else if(v){const m=Array.isArray(v)?v:[v];i.value=m.reduce((p,{inlineSize:g})=>p+g,0),o.value=m.reduce((p,{blockSize:g})=>p+g,0)}else i.value=d.contentRect.width,o.value=d.contentRect.height},r);Jd(()=>{const d=Ha(e);d&&(i.value="offsetWidth"in d?d.offsetWidth:a.width,o.value="offsetHeight"in d?d.offsetHeight:a.height)});const c=de(()=>Ha(e),d=>{i.value=d?a.width:0,o.value=d?a.height:0});function l(){u(),c()}return{width:i,height:o,stop:l}}function zS(e={}){const{window:a=$r,initialWidth:r=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:n=!0,includeScrollbar:t=!0}=e,i=ee(r),o=ee(s),u=()=>{a&&(t?(i.value=a.innerWidth,o.value=a.innerHeight):(i.value=a.document.documentElement.clientWidth,o.value=a.document.documentElement.clientHeight))};if(u(),Jd(u),a0("resize",u,{passive:!0}),n){const c=r0("(orientation: portrait)");de(c,()=>u())}return{width:i,height:o}}const o0={nodeComponents:{},plugins:[],pluginsOptions:{}},l0=(e,a,r,s,n,t,i,o)=>{const u={...e==null?void 0:e.components},c={...n,...e==null?void 0:e.nodeComponents};if(e!=null&&e.plugins)for(const d of e.plugins)u[d.info.name]=d.info,c[d.info.name]=d.nodeComponent;return{...o0,readOnly:!!(a&&(a.isDisabled.value||a.isReadonly.value)),...e,onData:t,onUpdate:i,onAutofocus:o,context:e!=null&&e.context?JSON.parse(JSON.stringify(e.context)):{},width:Math.round(r??0),vjsfSlots:{...s},components:u,nodeComponents:c}},Et=al("vjsf:use-vjsf");Dk(!1);const u0={"update:modelValue":e=>!0,"update:state":e=>!0},c0=(e,a,r,s,n,t,i)=>{const o=ee(null),{width:u}=i0(o),c=_e(null),l=_e(null),d=Ct(Symbol.for("vuetify:form"),null);d&&d.register({id:"vjsf",validate:()=>{var _,O;return(_=c.value)==null||_.validate(),(O=c.value)==null?void 0:O.errors},reset:()=>{var _;return(_=c.value)==null?void 0:_.resetValidation()},resetValidation:()=>{var _;return(_=c.value)==null?void 0:_.resetValidation()},vm:Bi()});const v=cm(),m=_=>{Et("onStatefulLayoutUpdate",_),_&&(l.value=_.stateTree,Et(" -> emit update:state"),n("update:state",_),d&&(_.valid?d.update("vjsf",!0,[]):_.hasHiddenError?d.update("vjsf",null,[]):d.update("vjsf",!1,[])))},p=_=>{Et("onDataUpdate",_),Et(" -> emit update:modelValue"),n("update:modelValue",_)},g=()=>{if(!o.value)return;const _=o.value.querySelector(".vjsf-input--autofocus");if(Et("onAutofocus",_),_){const O=_.querySelector("input")??_.querySelector('textarea:not([style*="display: none"]');O&&O.focus()}},b=E(()=>l0(r.value,d,u.value,v,{...s},p,m,g)),f=ee({});de(b,_=>{if(i!=null&&i.value)return;const O=f$(f.value,_);O!==f.value&&(Et("new compileOptions",O),f.value=O)},{immediate:!0});const y=E(()=>{if(i!=null&&i.value)return i==null?void 0:i.value;if(!t)throw new Error("compile function is not available");return t(e.value,f.value)}),P=()=>{u.value&&(c.value=new T$(Sa(y.value),Sa(y.value.skeletonTrees[y.value.mainTree]),Sa(b.value),Sa(a.value)))};return de(b,_=>{Et("watch fullOptions",b),c.value?(Et(" -> update statefulLayout options"),c.value.options=Sa(_)):(Et(" -> init statefulLayout"),P())}),de(a,_=>{const O=Sa(_);c.value&&c.value.data!==O&&(Et("modelValue changed from outside",O),Et(" -> update statefulLayout data"),c.value.data=Sa(O))}),de(y,_=>{Et("watch compiledLayout",_),Et(" -> init statefulLayout"),P()}),{el:o,statefulLayout:c,stateTree:l}},d0=["innerHTML"],Nn={__name:"section-header",props:{node:{type:Object,required:!0},hideTitle:{type:Boolean,default:!1}},setup(e){const a=e,r=E(()=>a.node.options.density==="compact"?6:a.node.options.density==="comfortable"?7:8),s=["text-h1","text-h2","text-h3","text-h4","text-h5","text-h6","text-subtitle-1","text-subtitle-2"],n=E(()=>{const t=a.node.options.titleDepth;return a.node.options.density==="compact"?s[t+2]:a.node.options.density==="comfortable"?s[t+1]:s[t]});return(t,i)=>e.node.layout.title&&!e.hideTitle||e.node.layout.subtitle||e.node.error&&e.node.validated?(ae(),Fe("div",{key:0,class:ta(`mb-${r.value-e.node.options.titleDepth} mt-${r.value-e.node.options.titleDepth}`)},[e.node.layout.title&&!e.hideTitle?(ae(),he(uc(`h${e.node.options.titleDepth}`),{key:0,class:ta(`${n.value}`)},{default:ne(()=>[Ke(xt(e.node.layout.title),1)]),_:1},8,["class"])):De("",!0),e.node.layout.subtitle?(ae(),Fe("p",{key:1,class:ta(`text-subtitle mt-${r.value-e.node.options.titleDepth}`),innerHTML:e.node.layout.subtitle},null,10,d0)):De("",!0),e.node.error&&e.node.validated?(ae(),he(Y(Oc),{key:2,type:"error",class:ta(`mt-${r.value-e.node.options.titleDepth}`)},{default:ne(()=>[Ke(xt(e.node.error),1)]),_:1},8,["class"])):De("",!0)],2)):De("",!0)}},f0={__name:"section",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){return Ue({},"VjsfSection"),(a,r)=>{var s,n;return ae(),Fe(ye,null,[h(Nn,{node:e.modelValue},null,8,["node"]),h(Y(ya),{dense:((s=e.modelValue.options)==null?void 0:s.density)==="compact"||((n=e.modelValue.options)==null?void 0:n.density)==="comfortable"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,t=>(ae(),he(ga,{key:t.fullKey,"model-value":t,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:1},8,["dense"])],64)}}},m0=ie({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...qe(),...En({transition:{component:Sc}})},"VCounter"),ol=ve()({name:"VCounter",functional:!0,props:m0(),setup(e,a){let{slots:r}=a;const s=E(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return pe(()=>h(xn,{transition:e.transition},{default:()=>[mt(h("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[r.default?r.default({counter:s.value,max:e.max,value:e.value}):s.value]),[[xa,e.active]])]})),{}}}),v0=ie({text:String,onClick:na(),...qe(),...Ht()},"VLabel"),wr=ve()({name:"VLabel",props:v0(),setup(e,a){let{slots:r}=a;return pe(()=>{var s;return h("label",{class:["v-label",{"v-label--clickable":!!e.onClick},e.class],style:e.style,onClick:e.onClick},[e.text,(s=r.default)==null?void 0:s.call(r)])}),{}}}),p0=ie({floating:Boolean,...qe()},"VFieldLabel"),Rr=ve()({name:"VFieldLabel",props:p0(),setup(e,a){let{slots:r}=a;return pe(()=>h(wr,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},r)),{}}});function Zd(e){const{t:a}=Ft();function r(s){let{name:n}=s;const t={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[n],i=e[`onClick:${n}`],o=i&&t?a(`$vuetify.input.${t}`,e.label??""):void 0;return h(Be,{icon:e[`${n}Icon`],"aria-label":o,onClick:i},null)}return{InputIcon:r}}const ll=ie({focused:Boolean,"onUpdate:focused":na()},"focus");function sn(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cc();const r=xe(e,"focused"),s=E(()=>({[`${a}--focused`]:r.value}));function n(){r.value=!0}function t(){r.value=!1}return{focusClasses:s,isFocused:r,focus:n,blur:t}}const h0=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Ps=ie({appendInnerIcon:rt,bgColor:String,clearable:Boolean,clearIcon:{type:rt,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:rt,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>h0.includes(e)},"onClick:clear":na(),"onClick:appendInner":na(),"onClick:prependInner":na(),...qe(),...Gm(),...dr(),...Ht()},"VField"),Cs=ve()({name:"VField",inheritAttrs:!1,props:{id:String,...ll(),...Ps()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{attrs:r,emit:s,slots:n}=a;const{themeClasses:t}=ma(e),{loaderClasses:i}=Ec(e),{focusClasses:o,isFocused:u,focus:c,blur:l}=sn(e),{InputIcon:d}=Zd(e),{roundedClasses:v}=fr(e),{rtlClasses:m}=va(),p=E(()=>e.dirty||e.active),g=E(()=>!e.singleLine&&!!(e.label||n.label)),b=pa(),f=E(()=>e.id||`input-${b}`),y=E(()=>`${f.value}-messages`),P=ee(),_=ee(),O=ee(),S=E(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:w,backgroundColorStyles:z}=At(ce(e,"bgColor")),{textColorClasses:x,textColorStyles:R}=ja(E(()=>e.error||e.disabled?void 0:p.value&&u.value?e.color:e.baseColor));de(p,B=>{if(g.value){const H=P.value.$el,Z=_.value.$el;requestAnimationFrame(()=>{const oe=Zi(H),L=Z.getBoundingClientRect(),U=L.x-oe.x,$=L.y-oe.y-(oe.height/2-L.height/2),C=L.width/.75,I=Math.abs(C-oe.width)>1?{maxWidth:Re(C)}:void 0,j=getComputedStyle(H),k=getComputedStyle(Z),V=parseFloat(j.transitionDuration)*1e3||150,D=parseFloat(k.getPropertyValue("--v-field-label-scale")),K=k.getPropertyValue("color");H.style.visibility="visible",Z.style.visibility="hidden",Ua(H,{transform:`translate(${U}px, ${$}px) scale(${D})`,color:K,...I},{duration:V,easing:tr,direction:B?"normal":"reverse"}).finished.then(()=>{H.style.removeProperty("visibility"),Z.style.removeProperty("visibility")})})}},{flush:"post"});const M=E(()=>({isActive:p,isFocused:u,controlRef:O,blur:l,focus:c}));function T(B){B.target!==document.activeElement&&B.preventDefault()}function q(B){var H;B.key!=="Enter"&&B.key!==" "||(B.preventDefault(),B.stopPropagation(),(H=e["onClick:clear"])==null||H.call(e,new MouseEvent("click")))}return pe(()=>{var U,$,C;const B=e.variant==="outlined",H=!!(n["prepend-inner"]||e.prependInnerIcon),Z=!!(e.clearable||n.clear),oe=!!(n["append-inner"]||e.appendInnerIcon||Z),L=()=>n.label?n.label({...M.value,label:e.label,props:{for:f.value}}):e.label;return h("div",se({class:["v-field",{"v-field--active":p.value,"v-field--appended":oe,"v-field--center-affix":e.centerAffix??!S.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":H,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!L(),[`v-field--variant-${e.variant}`]:!0},t.value,w.value,o.value,i.value,v.value,m.value,e.class],style:[z.value,e.style],onClick:T},r),[h("div",{class:"v-field__overlay"},null),h(xc,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:n.loader}),H&&h("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&h(d,{key:"prepend-icon",name:"prependInner"},null),(U=n["prepend-inner"])==null?void 0:U.call(n,M.value)]),h("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&g.value&&h(Rr,{key:"floating-label",ref:_,class:[x.value],floating:!0,for:f.value,style:R.value},{default:()=>[L()]}),h(Rr,{ref:P,for:f.value},{default:()=>[L()]}),($=n.default)==null?void 0:$.call(n,{...M.value,props:{id:f.value,class:"v-field__input","aria-describedby":y.value},focus:c,blur:l})]),Z&&h(Pc,{key:"clear"},{default:()=>[mt(h("div",{class:"v-field__clearable",onMousedown:I=>{I.preventDefault(),I.stopPropagation()}},[h(ot,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[n.clear?n.clear({...M.value,props:{onKeydown:q,onFocus:c,onBlur:l,onClick:e["onClick:clear"]}}):h(d,{name:"clear",onKeydown:q,onFocus:c,onBlur:l},null)]})]),[[xa,e.dirty]])]}),oe&&h("div",{key:"append",class:"v-field__append-inner"},[(C=n["append-inner"])==null?void 0:C.call(n,M.value),e.appendInnerIcon&&h(d,{key:"append-icon",name:"appendInner"},null)]),h("div",{class:["v-field__outline",x.value],style:R.value},[B&&h(ye,null,[h("div",{class:"v-field__outline__start"},null),g.value&&h("div",{class:"v-field__outline__notch"},[h(Rr,{ref:_,floating:!0,for:f.value},{default:()=>[L()]})]),h("div",{class:"v-field__outline__end"},null)]),S.value&&g.value&&h(Rr,{ref:_,floating:!0,for:f.value},{default:()=>[L()]})])])}),{controlRef:O}}});function ul(e){const a=Object.keys(Cs.props).filter(r=>!Li(r)&&r!=="class"&&r!=="style");return dc(e,a)}const y0=ie({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...qe(),...En({transition:{component:Sc,leaveAbsolute:!0,group:!0}})},"VMessages"),g0=ve()({name:"VMessages",props:y0(),setup(e,a){let{slots:r}=a;const s=E(()=>lt(e.messages)),{textColorClasses:n,textColorStyles:t}=ja(E(()=>e.color));return pe(()=>h(xn,{transition:e.transition,tag:"div",class:["v-messages",n.value,e.class],style:[t.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&s.value.map((i,o)=>h("div",{class:"v-messages__message",key:`${o}-${s.value}`},[r.message?r.message({message:i}):i]))]})),{}}}),ef=Symbol.for("vuetify:form"),b0=ie({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function k0(e){const a=xe(e,"modelValue"),r=E(()=>e.disabled),s=E(()=>e.readonly),n=_e(!1),t=ee([]),i=ee([]);async function o(){const l=[];let d=!0;i.value=[],n.value=!0;for(const v of t.value){const m=await v.validate();if(m.length>0&&(d=!1,l.push({id:v.id,errorMessages:m})),!d&&e.fastFail)break}return i.value=l,n.value=!1,{valid:d,errors:i.value}}function u(){t.value.forEach(l=>l.reset())}function c(){t.value.forEach(l=>l.resetValidation())}return de(t,()=>{let l=0,d=0;const v=[];for(const m of t.value)m.isValid===!1?(d++,v.push({id:m.id,errorMessages:m.errorMessages})):m.isValid===!0&&l++;i.value=v,a.value=d>0?!1:l===t.value.length?!0:null},{deep:!0,flush:"post"}),tn(ef,{register:l=>{let{id:d,vm:v,validate:m,reset:p,resetValidation:g}=l;t.value.some(b=>b.id===d),t.value.push({id:d,validate:m,reset:p,resetValidation:g,vm:dm(v),isValid:null,errorMessages:[]})},unregister:l=>{t.value=t.value.filter(d=>d.id!==l)},update:(l,d,v)=>{const m=t.value.find(p=>p.id===l);m&&(m.isValid=d,m.errorMessages=v)},isDisabled:r,isReadonly:s,isValidating:n,isValid:a,items:t,validateOn:ce(e,"validateOn")}),{errors:i,isDisabled:r,isReadonly:s,isValidating:n,isValid:a,items:t,validate:o,reset:u,resetValidation:c}}function Vs(){return Ct(ef,null)}const $0=ie({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...ll()},"validation");function w0(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cc(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:pa();const s=xe(e,"modelValue"),n=E(()=>e.validationValue===void 0?s.value:e.validationValue),t=Vs(),i=ee([]),o=_e(!0),u=E(()=>!!(lt(s.value===""?null:s.value).length||lt(n.value===""?null:n.value).length)),c=E(()=>!!(e.disabled??(t==null?void 0:t.isDisabled.value))),l=E(()=>!!(e.readonly??(t==null?void 0:t.isReadonly.value))),d=E(()=>{var O;return(O=e.errorMessages)!=null&&O.length?lt(e.errorMessages).concat(i.value).slice(0,Math.max(0,+e.maxErrors)):i.value}),v=E(()=>{let O=(e.validateOn??(t==null?void 0:t.validateOn.value))||"input";O==="lazy"&&(O="input lazy");const S=new Set((O==null?void 0:O.split(" "))??[]);return{blur:S.has("blur")||S.has("input"),input:S.has("input"),submit:S.has("submit"),lazy:S.has("lazy")}}),m=E(()=>{var O;return e.error||(O=e.errorMessages)!=null&&O.length?!1:e.rules.length?o.value?i.value.length||v.value.lazy?null:!0:!i.value.length:!0}),p=_e(!1),g=E(()=>({[`${a}--error`]:m.value===!1,[`${a}--dirty`]:u.value,[`${a}--disabled`]:c.value,[`${a}--readonly`]:l.value})),b=os("validation"),f=E(()=>e.name??Y(r));fm(()=>{t==null||t.register({id:f.value,vm:b,validate:_,reset:y,resetValidation:P})}),Ki(()=>{t==null||t.unregister(f.value)}),oa(async()=>{v.value.lazy||await _(!0),t==null||t.update(f.value,m.value,d.value)}),pn(()=>v.value.input,()=>{de(n,()=>{if(n.value!=null)_();else if(e.focused){const O=de(()=>e.focused,S=>{S||_(),O()})}})}),pn(()=>v.value.blur,()=>{de(()=>e.focused,O=>{O||_()})}),de([m,d],()=>{t==null||t.update(f.value,m.value,d.value)});async function y(){s.value=null,await nt(),await P()}async function P(){o.value=!0,v.value.lazy?i.value=[]:await _(!0)}async function _(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const S=[];p.value=!0;for(const w of e.rules){if(S.length>=+(e.maxErrors??1))break;const x=await(typeof w=="function"?w:()=>w)(n.value);if(x!==!0){if(x!==!1&&typeof x!="string"){console.warn(`${x} is not a valid value. Rule functions must return boolean true or a string.`);continue}S.push(x||"")}}return i.value=S,p.value=!1,o.value=O,i.value}return{errorMessages:d,isDirty:u,isDisabled:c,isReadonly:l,isPristine:o,isValid:m,isValidating:p,reset:y,resetValidation:P,validate:_,validationClasses:g}}const Aa=ie({id:String,appendIcon:rt,centerAffix:{type:Boolean,default:!0},prependIcon:rt,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":na(),"onClick:append":na(),...qe(),...fs(),...fc(hr(),["maxWidth","minWidth","width"]),...Ht(),...$0()},"VInput"),_t=ve()({name:"VInput",props:{...Aa()},emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:r,slots:s,emit:n}=a;const{densityClasses:t}=ms(e),{dimensionStyles:i}=yr(e),{themeClasses:o}=ma(e),{rtlClasses:u}=va(),{InputIcon:c}=Zd(e),l=pa(),d=E(()=>e.id||`input-${l}`),v=E(()=>`${d.value}-messages`),{errorMessages:m,isDirty:p,isDisabled:g,isReadonly:b,isPristine:f,isValid:y,isValidating:P,reset:_,resetValidation:O,validate:S,validationClasses:w}=w0(e,"v-input",d),z=E(()=>({id:d,messagesId:v,isDirty:p,isDisabled:g,isReadonly:b,isPristine:f,isValid:y,isValidating:P,reset:_,resetValidation:O,validate:S})),x=E(()=>{var R;return(R=e.errorMessages)!=null&&R.length||!f.value&&m.value.length?m.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return pe(()=>{var B,H,Z,oe;const R=!!(s.prepend||e.prependIcon),M=!!(s.append||e.appendIcon),T=x.value.length>0,q=!e.hideDetails||e.hideDetails==="auto"&&(T||!!s.details);return h("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--hide-spin-buttons":e.hideSpinButtons},t.value,o.value,u.value,w.value,e.class],style:[i.value,e.style]},[R&&h("div",{key:"prepend",class:"v-input__prepend"},[(B=s.prepend)==null?void 0:B.call(s,z.value),e.prependIcon&&h(c,{key:"prepend-icon",name:"prepend"},null)]),s.default&&h("div",{class:"v-input__control"},[(H=s.default)==null?void 0:H.call(s,z.value)]),M&&h("div",{key:"append",class:"v-input__append"},[e.appendIcon&&h(c,{key:"append-icon",name:"append"},null),(Z=s.append)==null?void 0:Z.call(s,z.value)]),q&&h("div",{class:"v-input__details"},[h(g0,{id:v.value,active:T,messages:x.value},{message:s.message}),(oe=s.details)==null?void 0:oe.call(s,z.value)])])}),{reset:_,resetValidation:O,validate:S,isValid:y,errorMessages:m}}}),Qs=Symbol("Forwarded refs");function Zs(e,a){let r=e;for(;r;){const s=Reflect.getOwnPropertyDescriptor(r,a);if(s)return s;r=Object.getPrototypeOf(r)}}function ba(e){for(var a=arguments.length,r=new Array(a>1?a-1:0),s=1;s!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{attrs:r,emit:s,slots:n}=a;const t=xe(e,"modelValue"),{isFocused:i,focus:o,blur:u}=sn(e),c=E(()=>typeof e.counterValue=="function"?e.counterValue(t.value):typeof e.counterValue=="number"?e.counterValue:(t.value??"").toString().length),l=E(()=>{if(r.maxlength)return r.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),d=E(()=>["plain","underlined"].includes(e.variant));function v(S,w){var z,x;!e.autofocus||!S||(x=(z=w[0].target)==null?void 0:z.focus)==null||x.call(z)}const m=ee(),p=ee(),g=ee(),b=E(()=>_0.includes(e.type)||e.persistentPlaceholder||i.value||e.active);function f(){var S;g.value!==document.activeElement&&((S=g.value)==null||S.focus()),i.value||o()}function y(S){s("mousedown:control",S),S.target!==g.value&&(f(),S.preventDefault())}function P(S){f(),s("click:control",S)}function _(S){S.stopPropagation(),f(),nt(()=>{t.value=null,Ui(e["onClick:clear"],S)})}function O(S){var z;const w=S.target;if(t.value=w.value,(z=e.modelModifiers)!=null&&z.trim&&["text","search","password","tel","url"].includes(e.type)){const x=[w.selectionStart,w.selectionEnd];nt(()=>{w.selectionStart=x[0],w.selectionEnd=x[1]})}}return pe(()=>{const S=!!(n.counter||e.counter!==!1&&e.counter!=null),w=!!(S||n.details),[z,x]=an(r),{modelValue:R,...M}=_t.filterProps(e),T=ul(e);return h(_t,se({ref:m,modelValue:t.value,"onUpdate:modelValue":q=>t.value=q,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":d.value},e.class],style:e.style},z,M,{centerAffix:!d.value,focused:i.value}),{...n,default:q=>{let{id:B,isDisabled:H,isDirty:Z,isReadonly:oe,isValid:L}=q;return h(Cs,se({ref:p,onMousedown:y,onClick:P,"onClick:clear":_,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},T,{id:B.value,active:b.value||Z.value,dirty:Z.value||e.dirty,disabled:H.value,focused:i.value,error:L.value===!1}),{...n,default:U=>{let{props:{class:$,...C}}=U;const I=mt(h("input",se({ref:g,value:t.value,onInput:O,autofocus:e.autofocus,readonly:oe.value,disabled:H.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:f,onBlur:u},C,x),null),[[ha("intersect"),{handler:v},null,{once:!0}]]);return h(ye,null,[e.prefix&&h("span",{class:"v-text-field__prefix"},[h("span",{class:"v-text-field__prefix__text"},[e.prefix])]),n.default?h("div",{class:$,"data-no-activator":""},[n.default(),I]):mm(I,{class:$}),e.suffix&&h("span",{class:"v-text-field__suffix"},[h("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:w?q=>{var B;return h(ye,null,[(B=n.details)==null?void 0:B.call(n,q),S&&h(ye,null,[h("span",null,null),h(ol,{active:e.persistentCounter||i.value,value:c.value,max:l.value,disabled:e.disabled},n.counter)])])}:void 0})}),ba({},m,p,g)}}),Lu={fieldPropsCompact:{hideDetails:"auto"},fieldPropsReadOnly:{hideDetails:"auto",variant:"plain"},fieldPropsSummary:{hideDetails:!0}};function qu(e){const a={class:[]};for(const r of e)if(r)for(const s of Object.keys(r))s==="class"?Array.isArray(r.class)?a.class=a.class.concat(r.class):a.class=[r.class]:a[vm(s)]=r[s];return a}function ut(e,a,r={}){r.bindData===void 0&&(r.bindData=!0),r.isMainComp===void 0&&(r.isMainComp=!0);const s=E(()=>e.value.options),n=E(()=>e.value.skeleton),t=E(()=>e.value.layout),i=E(()=>e.value.data),o=E(()=>e.value.error),u=E(()=>e.value.validated),c=E(()=>e.value.props),l=E(()=>e.value.autofocus),d=E(()=>e.value.children),v=E(()=>typeof i.value=="string"&&t.value.separator?i.value.split(t.value.separator):i.value),m=ee();de(v,f=>{m.value=f},{immediate:!0});const p=E(()=>{const f=[];s.value.density==="compact"&&f.push(Lu.fieldPropsCompact),s.value.readOnly&&f.push(Lu.fieldPropsReadOnly),r.isMainComp&&c.value&&f.push(c.value);const y=qu(f);if(y.label=t.value.label,o.value&&u.value&&(y.errorMessages=o.value),s.value.readOnly&&(y.disabled=!0,y.class.push("vjsf-input--readonly")),l.value&&y.class.push("vjsf-input--autofocus"),r.layoutPropsMap)for(const P of r.layoutPropsMap)typeof P=="string"?P in t.value&&(y[P]=t.value[P]):P[1]in t.value&&(y[P[0]]=t.value[P[1]]);return r.bindData&&(y["onUpdate:modelValue"]=P=>{const _=Array.isArray(P)&&t.value.separator?P.join(t.value.separator):P;return m.value=_,a.input(e.value,_)},y.onBlur=()=>a.blur(e.value)),y}),g=E(()=>{const f=[{density:s.value.density}];return r.isMainComp&&f.push(t.value.props),qu(f)}),b=E(()=>{if(!t.value.slots)return{};const f={};for(const[y,P]of Object.entries(t.value.slots))f[y]=()=>ze(Hr,{layoutSlot:P,node:e.value,statefulLayout:a});return f});return{localData:m,inputProps:p,compProps:g,compSlots:b,options:s,skeleton:n,layout:t,data:i,children:d}}const S0=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfTextField");const{inputProps:a,localData:r,compSlots:s}=ut(ce(e,"modelValue"),e.statefulLayout,{layoutPropsMap:["placeholder"]});return()=>ze(sa,{...a.value,modelValue:r.value},s.value)}}),P0=ie({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...Aa(),...Ps()},"VTextarea"),C0=ve()({name:"VTextarea",directives:{Intersect:Cc},inheritAttrs:!1,props:P0(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{attrs:r,emit:s,slots:n}=a;const t=xe(e,"modelValue"),{isFocused:i,focus:o,blur:u}=sn(e),c=E(()=>typeof e.counterValue=="function"?e.counterValue(t.value):(t.value||"").toString().length),l=E(()=>{if(r.maxlength)return r.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter});function d(M,T){var q,B;!e.autofocus||!M||(B=(q=T[0].target)==null?void 0:q.focus)==null||B.call(q)}const v=ee(),m=ee(),p=_e(""),g=ee(),b=E(()=>e.persistentPlaceholder||i.value||e.active);function f(){var M;g.value!==document.activeElement&&((M=g.value)==null||M.focus()),i.value||o()}function y(M){f(),s("click:control",M)}function P(M){s("mousedown:control",M)}function _(M){M.stopPropagation(),f(),nt(()=>{t.value="",Ui(e["onClick:clear"],M)})}function O(M){var q;const T=M.target;if(t.value=T.value,(q=e.modelModifiers)!=null&&q.trim){const B=[T.selectionStart,T.selectionEnd];nt(()=>{T.selectionStart=B[0],T.selectionEnd=B[1]})}}const S=ee(),w=ee(+e.rows),z=E(()=>["plain","underlined"].includes(e.variant));ra(()=>{e.autoGrow||(w.value=+e.rows)});function x(){e.autoGrow&&nt(()=>{if(!S.value||!m.value)return;const M=getComputedStyle(S.value),T=getComputedStyle(m.value.$el),q=parseFloat(M.getPropertyValue("--v-field-padding-top"))+parseFloat(M.getPropertyValue("--v-input-padding-top"))+parseFloat(M.getPropertyValue("--v-field-padding-bottom")),B=S.value.scrollHeight,H=parseFloat(M.lineHeight),Z=Math.max(parseFloat(e.rows)*H+q,parseFloat(T.getPropertyValue("--v-input-control-height"))),oe=parseFloat(e.maxRows)*H+q||1/0,L=zt(B??0,Z,oe);w.value=Math.floor((L-q)/H),p.value=Re(L)})}oa(x),de(t,x),de(()=>e.rows,x),de(()=>e.maxRows,x),de(()=>e.density,x);let R;return de(S,M=>{M?(R=new ResizeObserver(x),R.observe(S.value)):R==null||R.disconnect()}),Ki(()=>{R==null||R.disconnect()}),pe(()=>{const M=!!(n.counter||e.counter||e.counterValue),T=!!(M||n.details),[q,B]=an(r),{modelValue:H,...Z}=_t.filterProps(e),oe=ul(e);return h(_t,se({ref:v,modelValue:t.value,"onUpdate:modelValue":L=>t.value=L,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-input--plain-underlined":z.value},e.class],style:e.style},q,Z,{centerAffix:w.value===1&&!z.value,focused:i.value}),{...n,default:L=>{let{id:U,isDisabled:$,isDirty:C,isReadonly:I,isValid:j}=L;return h(Cs,se({ref:m,style:{"--v-textarea-control-height":p.value},onClick:y,onMousedown:P,"onClick:clear":_,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},oe,{id:U.value,active:b.value||C.value,centerAffix:w.value===1&&!z.value,dirty:C.value||e.dirty,disabled:$.value,focused:i.value,error:j.value===!1}),{...n,default:k=>{let{props:{class:V,...D}}=k;return h(ye,null,[e.prefix&&h("span",{class:"v-text-field__prefix"},[e.prefix]),mt(h("textarea",se({ref:g,class:V,value:t.value,onInput:O,autofocus:e.autofocus,readonly:I.value,disabled:$.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:f,onBlur:u},D,B),null),[[ha("intersect"),{handler:d},null,{once:!0}]]),e.autoGrow&&mt(h("textarea",{class:[V,"v-textarea__sizer"],id:`${D.id}-sizer`,"onUpdate:modelValue":K=>t.value=K,ref:S,readonly:!0,"aria-hidden":"true"},null),[[pm,t.value]]),e.suffix&&h("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:T?L=>{var U;return h(ye,null,[(U=n.details)==null?void 0:U.call(n,L),M&&h(ye,null,[h("span",null,null),h(ol,{active:e.persistentCounter||i.value,value:c.value,max:l.value,disabled:e.disabled},n.counter)])])}:void 0})}),ba({},v,m,g)}}),V0=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfTextArea");const a=ee(null),{inputProps:r,localData:s,compSlots:n,options:t}=ut(ce(e,"modelValue"),e.statefulLayout,{layoutPropsMap:["placeholder"]}),i=E(()=>t.value.readOnly&&t.value.summary?3:void 0),o=E(()=>{const u={...r.value};return u.ref=a,u.rows=i.value,u.modelValue=s.value,u});return de(()=>t.value.readOnly,u=>{u&&a.value&&(a.value.scrollTop=0)}),()=>ze(C0,o.value,n.value)}}),tf=Symbol.for("vuetify:selection-control-group"),cl=ie({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:rt,trueIcon:rt,ripple:{type:[Boolean,Object],default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:Hi},...qe(),...fs(),...Ht()},"SelectionControlGroup"),O0=ie({...cl({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),E0=ve()({name:"VSelectionControlGroup",props:O0(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const s=xe(e,"modelValue"),n=pa(),t=E(()=>e.id||`v-selection-control-group-${n}`),i=E(()=>e.name||t.value),o=new Set;return tn(tf,{modelValue:s,forceUpdate:()=>{o.forEach(u=>u())},onForceUpdate:u=>{o.add(u),Dt(()=>{o.delete(u)})}}),Vn({[e.defaultsTarget]:{color:ce(e,"color"),disabled:ce(e,"disabled"),density:ce(e,"density"),error:ce(e,"error"),inline:ce(e,"inline"),modelValue:s,multiple:E(()=>!!e.multiple||e.multiple==null&&Array.isArray(s.value)),name:i,falseIcon:ce(e,"falseIcon"),trueIcon:ce(e,"trueIcon"),readonly:ce(e,"readonly"),ripple:ce(e,"ripple"),type:ce(e,"type"),valueComparator:ce(e,"valueComparator")}}),pe(()=>{var u;return h("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:e.type==="radio"?"radiogroup":void 0},[(u=r.default)==null?void 0:u.call(r)])}),{}}}),Es=ie({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...qe(),...cl()},"VSelectionControl");function x0(e){const a=Ct(tf,void 0),{densityClasses:r}=ms(e),s=xe(e,"modelValue"),n=E(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),t=E(()=>e.falseValue!==void 0?e.falseValue:!1),i=E(()=>!!e.multiple||e.multiple==null&&Array.isArray(s.value)),o=E({get(){const m=a?a.modelValue.value:s.value;return i.value?lt(m).some(p=>e.valueComparator(p,n.value)):e.valueComparator(m,n.value)},set(m){if(e.readonly)return;const p=m?n.value:t.value;let g=p;i.value&&(g=m?[...lt(s.value),p]:lt(s.value).filter(b=>!e.valueComparator(b,n.value))),a?a.modelValue.value=g:s.value=g}}),{textColorClasses:u,textColorStyles:c}=ja(E(()=>{if(!(e.error||e.disabled))return o.value?e.color:e.baseColor})),{backgroundColorClasses:l,backgroundColorStyles:d}=At(E(()=>o.value&&!e.error&&!e.disabled?e.color:e.baseColor)),v=E(()=>o.value?e.trueIcon:e.falseIcon);return{group:a,densityClasses:r,trueValue:n,falseValue:t,model:o,textColorClasses:u,textColorStyles:c,backgroundColorClasses:l,backgroundColorStyles:d,icon:v}}const en=ve()({name:"VSelectionControl",directives:{Ripple:mr},inheritAttrs:!1,props:Es(),emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:r,slots:s}=a;const{group:n,densityClasses:t,icon:i,model:o,textColorClasses:u,textColorStyles:c,backgroundColorClasses:l,backgroundColorStyles:d,trueValue:v}=x0(e),m=pa(),p=_e(!1),g=_e(!1),b=ee(),f=E(()=>e.id||`input-${m}`),y=E(()=>!e.disabled&&!e.readonly);n==null||n.onForceUpdate(()=>{b.value&&(b.value.checked=o.value)});function P(w){y.value&&(p.value=!0,hn(w.target,":focus-visible")!==!1&&(g.value=!0))}function _(){p.value=!1,g.value=!1}function O(w){w.stopPropagation()}function S(w){if(!y.value){b.value&&(b.value.checked=o.value);return}e.readonly&&n&&nt(()=>n.forceUpdate()),o.value=w.target.checked}return pe(()=>{var M,T;const w=s.label?s.label({label:e.label,props:{for:f.value}}):e.label,[z,x]=an(r),R=h("input",se({ref:b,checked:o.value,disabled:!!e.disabled,id:f.value,onBlur:_,onFocus:P,onInput:S,"aria-disabled":!!e.disabled,"aria-label":e.label,type:e.type,value:v.value,name:e.name,"aria-checked":e.type==="checkbox"?o.value:void 0},x),null);return h("div",se({class:["v-selection-control",{"v-selection-control--dirty":o.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":p.value,"v-selection-control--focus-visible":g.value,"v-selection-control--inline":e.inline},t.value,e.class]},z,{style:e.style}),[h("div",{class:["v-selection-control__wrapper",u.value],style:c.value},[(M=s.default)==null?void 0:M.call(s,{backgroundColorClasses:l,backgroundColorStyles:d}),mt(h("div",{class:["v-selection-control__input"]},[((T=s.input)==null?void 0:T.call(s,{model:o,textColorClasses:u,textColorStyles:c,backgroundColorClasses:l,backgroundColorStyles:d,inputNode:R,icon:i.value,props:{onFocus:P,onBlur:_,id:f.value}}))??h(ye,null,[i.value&&h(Be,{key:"icon",icon:i.value},null),R])]),[[ha("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),w&&h(wr,{for:f.value,onClick:O},{default:()=>[w]})])}),{isFocused:p,input:b}}}),af=ie({indeterminate:Boolean,indeterminateIcon:{type:rt,default:"$checkboxIndeterminate"},...Es({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),_n=ve()({name:"VCheckboxBtn",props:af(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,a){let{slots:r}=a;const s=xe(e,"indeterminate"),n=xe(e,"modelValue");function t(u){s.value&&(s.value=!1)}const i=E(()=>s.value?e.indeterminateIcon:e.falseIcon),o=E(()=>s.value?e.indeterminateIcon:e.trueIcon);return pe(()=>{const u=vt(en.filterProps(e),["modelValue"]);return h(en,se(u,{modelValue:n.value,"onUpdate:modelValue":[c=>n.value=c,t],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:i.value,trueIcon:o.value,"aria-checked":s.value?"mixed":void 0}),r)}),{}}}),I0=ie({...Aa(),...vt(af(),["inline"])},"VCheckbox"),nf=ve()({name:"VCheckbox",inheritAttrs:!1,props:I0(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,a){let{attrs:r,slots:s}=a;const n=xe(e,"modelValue"),{isFocused:t,focus:i,blur:o}=sn(e),u=pa(),c=E(()=>e.id||`checkbox-${u}`);return pe(()=>{const[l,d]=an(r),v=_t.filterProps(e),m=_n.filterProps(e);return h(_t,se({class:["v-checkbox",e.class]},l,v,{modelValue:n.value,"onUpdate:modelValue":p=>n.value=p,id:c.value,focused:t.value,style:e.style}),{...s,default:p=>{let{id:g,messagesId:b,isDisabled:f,isReadonly:y,isValid:P}=p;return h(_n,se(m,{id:g.value,"aria-describedby":b.value,disabled:f.value,readonly:y.value},d,{error:P.value===!1,modelValue:n.value,"onUpdate:modelValue":_=>n.value=_,onFocus:i,onBlur:o}),s)}})}),{}}}),j0=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfCheckbox");const{inputProps:a,localData:r,compSlots:s}=ut(ce(e,"modelValue"),e.statefulLayout),n=E(()=>{const t={...a.value};return"hideDetails"in a||(t.hideDetails="auto"),t.modelValue=r.value,t});return()=>ze(nf,n.value,s.value)}}),A0=ie({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...Aa(),...Es()},"VSwitch"),rf=ve()({name:"VSwitch",inheritAttrs:!1,props:A0(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,a){let{attrs:r,slots:s}=a;const n=xe(e,"indeterminate"),t=xe(e,"modelValue"),{loaderClasses:i}=Ec(e),{isFocused:o,focus:u,blur:c}=sn(e),l=ee(),d=wt&&window.matchMedia("(forced-colors: active)").matches,v=E(()=>typeof e.loading=="string"&&e.loading!==""?e.loading:e.color),m=pa(),p=E(()=>e.id||`switch-${m}`);function g(){n.value&&(n.value=!1)}function b(f){var y,P;f.stopPropagation(),f.preventDefault(),(P=(y=l.value)==null?void 0:y.input)==null||P.click()}return pe(()=>{const[f,y]=an(r),P=_t.filterProps(e),_=en.filterProps(e);return h(_t,se({class:["v-switch",{"v-switch--flat":e.flat},{"v-switch--inset":e.inset},{"v-switch--indeterminate":n.value},i.value,e.class]},f,P,{modelValue:t.value,"onUpdate:modelValue":O=>t.value=O,id:p.value,focused:o.value,style:e.style}),{...s,default:O=>{let{id:S,messagesId:w,isDisabled:z,isReadonly:x,isValid:R}=O;const M={model:t,isValid:R};return h(en,se({ref:l},_,{modelValue:t.value,"onUpdate:modelValue":[T=>t.value=T,g],id:S.value,"aria-describedby":w.value,type:"checkbox","aria-checked":n.value?"mixed":void 0,disabled:z.value,readonly:x.value,onFocus:u,onBlur:c},y),{...s,default:T=>{let{backgroundColorClasses:q,backgroundColorStyles:B}=T;return h("div",{class:["v-switch__track",d?void 0:q.value],style:B.value,onClick:b},[s["track-true"]&&h("div",{key:"prepend",class:"v-switch__track-true"},[s["track-true"](M)]),s["track-false"]&&h("div",{key:"append",class:"v-switch__track-false"},[s["track-false"](M)])])},input:T=>{let{inputNode:q,icon:B,backgroundColorClasses:H,backgroundColorStyles:Z}=T;return h(ye,null,[q,h("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":B||e.loading},e.inset||d?void 0:H.value],style:e.inset?void 0:Z.value},[s.thumb?h(ot,{defaults:{VIcon:{icon:B,size:"x-small"}}},{default:()=>[s.thumb({...M,icon:B})]}):h(Vc,null,{default:()=>[e.loading?h(xc,{name:"v-switch",active:!0,color:R.value===!1?void 0:v.value},{default:oe=>s.loader?s.loader(oe):h(Hm,{active:oe.isActive,color:oe.color,indeterminate:!0,size:"16",width:"2"},null)}):B&&h(Be,{key:String(B),icon:B,size:"x-small"},null)]})])])}})}})}),{}}}),T0=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfSwitch");const{inputProps:a,localData:r,compSlots:s}=ut(ce(e,"modelValue"),e.statefulLayout),n=E(()=>{const t={...a.value};return"hideDetails"in a||(t.hideDetails="auto"),t.modelValue=r.value,t});return()=>ze(rf,n.value,s.value)}}),M0=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfNumberField");const{inputProps:a,localData:r,compSlots:s}=ut(ce(e,"modelValue"),e.statefulLayout,{layoutPropsMap:["step","min","max","placeholder"],bindData:!1}),n=E(()=>{const t={...a.value};return t.type="number",t["onUpdate:modelValue"]=i=>e.statefulLayout.input(e.modelValue,i&&Number(i)),t.modelValue=r.value,t});return()=>ze(sa,n.value,s.value)}}),dl=Symbol.for("vuetify:v-slider");function D0(e,a,r){const s=r==="vertical",n=a.getBoundingClientRect(),t="touches"in e?e.touches[0]:e;return s?t.clientY-(n.top+n.height/2):t.clientX-(n.left+n.width/2)}function R0(e,a){return"touches"in e&&e.touches.length?e.touches[0][a]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][a]:e[a]}const N0=ie({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...dr(),...vr({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),z0=e=>{const a=E(()=>parseFloat(e.min)),r=E(()=>parseFloat(e.max)),s=E(()=>+e.step>0?parseFloat(e.step):0),n=E(()=>Math.max(Nl(s.value),Nl(a.value)));function t(i){if(i=parseFloat(i),s.value<=0)return i;const o=zt(i,a.value,r.value),u=a.value%s.value,c=Math.round((o-u)/s.value)*s.value+u;return parseFloat(Math.min(c,r.value).toFixed(n.value))}return{min:a,max:r,step:s,decimals:n,roundValue:t}},F0=e=>{let{props:a,steps:r,onSliderStart:s,onSliderMove:n,onSliderEnd:t,getActiveThumb:i}=e;const{isRtl:o}=va(),u=ce(a,"reverse"),c=E(()=>a.direction==="vertical"),l=E(()=>c.value!==u.value),{min:d,max:v,step:m,decimals:p,roundValue:g}=r,b=E(()=>parseInt(a.thumbSize,10)),f=E(()=>parseInt(a.tickSize,10)),y=E(()=>parseInt(a.trackSize,10)),P=E(()=>(v.value-d.value)/m.value),_=ce(a,"disabled"),O=E(()=>a.error||a.disabled?void 0:a.thumbColor??a.color),S=E(()=>a.error||a.disabled?void 0:a.trackColor??a.color),w=E(()=>a.error||a.disabled?void 0:a.trackFillColor??a.color),z=_e(!1),x=_e(0),R=ee(),M=ee();function T(D){var me;const K=a.direction==="vertical",Q=K?"top":"left",te=K?"height":"width",X=K?"clientY":"clientX",{[Q]:le,[te]:J}=(me=R.value)==null?void 0:me.$el.getBoundingClientRect(),re=R0(D,X);let ke=Math.min(Math.max((re-le-x.value)/J,0),1)||0;return(K?l.value:l.value!==o.value)&&(ke=1-ke),g(d.value+ke*(v.value-d.value))}const q=D=>{t({value:T(D)}),z.value=!1,x.value=0},B=D=>{M.value=i(D),M.value&&(M.value.focus(),z.value=!0,M.value.contains(D.target)?x.value=D0(D,M.value,a.direction):(x.value=0,n({value:T(D)})),s({value:T(D)}))},H={passive:!0,capture:!0};function Z(D){n({value:T(D)})}function oe(D){D.stopPropagation(),D.preventDefault(),q(D),window.removeEventListener("mousemove",Z,H),window.removeEventListener("mouseup",oe)}function L(D){var K;q(D),window.removeEventListener("touchmove",Z,H),(K=D.target)==null||K.removeEventListener("touchend",L)}function U(D){var K;B(D),window.addEventListener("touchmove",Z,H),(K=D.target)==null||K.addEventListener("touchend",L,{passive:!1})}function $(D){D.preventDefault(),B(D),window.addEventListener("mousemove",Z,H),window.addEventListener("mouseup",oe,{passive:!1})}const C=D=>{const K=(D-d.value)/(v.value-d.value)*100;return zt(isNaN(K)?0:K,0,100)},I=ce(a,"showTicks"),j=E(()=>I.value?a.ticks?Array.isArray(a.ticks)?a.ticks.map(D=>({value:D,position:C(D),label:D.toString()})):Object.keys(a.ticks).map(D=>({value:parseFloat(D),position:C(parseFloat(D)),label:a.ticks[D]})):P.value!==1/0?On(P.value+1).map(D=>{const K=d.value+D*m.value;return{value:K,position:C(K)}}):[]:[]),k=E(()=>j.value.some(D=>{let{label:K}=D;return!!K})),V={activeThumbRef:M,color:ce(a,"color"),decimals:p,disabled:_,direction:ce(a,"direction"),elevation:ce(a,"elevation"),hasLabels:k,isReversed:u,indexFromEnd:l,min:d,max:v,mousePressed:z,numTicks:P,onSliderMousedown:$,onSliderTouchstart:U,parsedTicks:j,parseMouseMove:T,position:C,readonly:ce(a,"readonly"),rounded:ce(a,"rounded"),roundValue:g,showTicks:I,startOffset:x,step:m,thumbSize:b,thumbColor:O,thumbLabel:ce(a,"thumbLabel"),ticks:ce(a,"ticks"),tickSize:f,trackColor:S,trackContainerRef:R,trackFillColor:w,trackSize:y,vertical:c};return tn(dl,V),V},L0=ie({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},name:String,...qe()},"VSliderThumb"),q0=ve()({name:"VSliderThumb",directives:{Ripple:mr},props:L0(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r,emit:s}=a;const n=Ct(dl),{isRtl:t,rtlClasses:i}=va();if(!n)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:o,step:u,disabled:c,thumbSize:l,thumbLabel:d,direction:v,isReversed:m,vertical:p,readonly:g,elevation:b,mousePressed:f,decimals:y,indexFromEnd:P}=n,_=E(()=>c.value?void 0:b.value),{elevationClasses:O}=pr(_),{textColorClasses:S,textColorStyles:w}=ja(o),{pageup:z,pagedown:x,end:R,home:M,left:T,right:q,down:B,up:H}=hm,Z=[z,x,R,M,T,q,B,H],oe=E(()=>u.value?[1,2,3]:[1,5,10]);function L($,C){if(!Z.includes($.key))return;$.preventDefault();const I=u.value||.1,j=(e.max-e.min)/I;if([T,q,B,H].includes($.key)){const V=(p.value?[t.value?T:q,m.value?B:H]:P.value!==t.value?[T,H]:[q,H]).includes($.key)?1:-1,D=$.shiftKey?2:$.ctrlKey?1:0;C=C+V*I*oe.value[D]}else if($.key===M)C=e.min;else if($.key===R)C=e.max;else{const k=$.key===x?1:-1;C=C-k*I*(j>100?j/10:10)}return Math.max(e.min,Math.min(e.max,C))}function U($){const C=L($,e.modelValue);C!=null&&s("update:modelValue",C)}return pe(()=>{const $=Re(P.value?100-e.position:e.position,"%");return h("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&f.value},e.class,i.value],style:[{"--v-slider-thumb-position":$,"--v-slider-thumb-size":Re(l.value)},e.style],role:"slider",tabindex:c.value?-1:0,"aria-label":e.name,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!g.value,"aria-orientation":v.value,onKeydown:g.value?void 0:U},[h("div",{class:["v-slider-thumb__surface",S.value,O.value],style:{...w.value}},null),mt(h("div",{class:["v-slider-thumb__ripple",S.value],style:w.value},null),[[ha("ripple"),e.ripple,null,{circle:!0,center:!0}]]),h(Vc,{origin:"bottom center"},{default:()=>{var C;return[mt(h("div",{class:"v-slider-thumb__label-container"},[h("div",{class:["v-slider-thumb__label"]},[h("div",null,[((C=r["thumb-label"])==null?void 0:C.call(r,{modelValue:e.modelValue}))??e.modelValue.toFixed(u.value?y.value:1)])])]),[[xa,d.value&&e.focused||d.value==="always"]])]}})])}),{}}}),B0=ie({start:{type:Number,required:!0},stop:{type:Number,required:!0},...qe()},"VSliderTrack"),K0=ve()({name:"VSliderTrack",props:B0(),emits:{},setup(e,a){let{slots:r}=a;const s=Ct(dl);if(!s)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:n,parsedTicks:t,rounded:i,showTicks:o,tickSize:u,trackColor:c,trackFillColor:l,trackSize:d,vertical:v,min:m,max:p,indexFromEnd:g}=s,{roundedClasses:b}=fr(i),{backgroundColorClasses:f,backgroundColorStyles:y}=At(l),{backgroundColorClasses:P,backgroundColorStyles:_}=At(c),O=E(()=>`inset-${v.value?"block":"inline"}-${g.value?"end":"start"}`),S=E(()=>v.value?"height":"width"),w=E(()=>({[O.value]:"0%",[S.value]:"100%"})),z=E(()=>e.stop-e.start),x=E(()=>({[O.value]:Re(e.start,"%"),[S.value]:Re(z.value,"%")})),R=E(()=>o.value?(v.value?t.value.slice().reverse():t.value).map((T,q)=>{var H;const B=T.value!==m.value&&T.value!==p.value?Re(T.position,"%"):void 0;return h("div",{key:T.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":T.position>=e.start&&T.position<=e.stop,"v-slider-track__tick--first":T.value===m.value,"v-slider-track__tick--last":T.value===p.value}],style:{[O.value]:B}},[(T.label||r["tick-label"])&&h("div",{class:"v-slider-track__tick-label"},[((H=r["tick-label"])==null?void 0:H.call(r,{tick:T,index:q}))??T.label])])}):[]);return pe(()=>h("div",{class:["v-slider-track",b.value,e.class],style:[{"--v-slider-track-size":Re(d.value),"--v-slider-tick-size":Re(u.value)},e.style]},[h("div",{class:["v-slider-track__background",P.value,{"v-slider-track__background--opacity":!!n.value||!l.value}],style:{...w.value,..._.value}},null),h("div",{class:["v-slider-track__fill",f.value],style:{...x.value,...y.value}},null),o.value&&h("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":o.value==="always"}]},[R.value])])),{}}}),U0=ie({...ll(),...N0(),...Aa(),modelValue:{type:[Number,String],default:0}},"VSlider"),ji=ve()({name:"VSlider",props:U0(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,a){let{slots:r,emit:s}=a;const n=ee(),{rtlClasses:t}=va(),i=z0(e),o=xe(e,"modelValue",void 0,S=>i.roundValue(S??i.min.value)),{min:u,max:c,mousePressed:l,roundValue:d,onSliderMousedown:v,onSliderTouchstart:m,trackContainerRef:p,position:g,hasLabels:b,readonly:f}=F0({props:e,steps:i,onSliderStart:()=>{s("start",o.value)},onSliderEnd:S=>{let{value:w}=S;const z=d(w);o.value=z,s("end",z)},onSliderMove:S=>{let{value:w}=S;return o.value=d(w)},getActiveThumb:()=>{var S;return(S=n.value)==null?void 0:S.$el}}),{isFocused:y,focus:P,blur:_}=sn(e),O=E(()=>g(o.value));return pe(()=>{const S=_t.filterProps(e),w=!!(e.label||r.label||r.prepend);return h(_t,se({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||b.value,"v-slider--focused":y.value,"v-slider--pressed":l.value,"v-slider--disabled":e.disabled},t.value,e.class],style:e.style},S,{focused:y.value}),{...r,prepend:w?z=>{var x,R;return h(ye,null,[((x=r.label)==null?void 0:x.call(r,z))??(e.label?h(wr,{id:z.id.value,class:"v-slider__label",text:e.label},null):void 0),(R=r.prepend)==null?void 0:R.call(r,z)])}:void 0,default:z=>{let{id:x,messagesId:R}=z;return h("div",{class:"v-slider__container",onMousedown:f.value?void 0:v,onTouchstartPassive:f.value?void 0:m},[h("input",{id:x.value,name:e.name||x.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:o.value},null),h(K0,{ref:p,start:0,stop:O.value},{"tick-label":r["tick-label"]}),h(q0,{ref:n,"aria-describedby":R.value,focused:y.value,min:u.value,max:c.value,modelValue:o.value,"onUpdate:modelValue":M=>o.value=M,position:O.value,elevation:e.elevation,onFocus:P,onBlur:_,ripple:e.ripple,name:e.name},{"thumb-label":r["thumb-label"]})])}})}),{}}}),H0=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfSlider");const{inputProps:a,localData:r,compSlots:s}=ut(ce(e,"modelValue"),e.statefulLayout,{layoutPropsMap:["step","min","max"]}),n=E(()=>{const t={...a.value};return t.modelValue=r.value,t["onUpdate:modelValue"]=i=>e.statefulLayout.input(e.modelValue,i&&Number(i)),t});return()=>ze(ji,n.value,s.value)}});function ei(e,a){return{x:e.x+a.x,y:e.y+a.y}}function W0(e,a){return{x:e.x-a.x,y:e.y-a.y}}function Bu(e,a){if(e.side==="top"||e.side==="bottom"){const{side:r,align:s}=e,n=s==="left"?0:s==="center"?a.width/2:s==="right"?a.width:s,t=r==="top"?0:r==="bottom"?a.height:r;return ei({x:n,y:t},a)}else if(e.side==="left"||e.side==="right"){const{side:r,align:s}=e,n=r==="left"?0:r==="right"?a.width:r,t=s==="top"?0:s==="center"?a.height/2:s==="bottom"?a.height:s;return ei({x:n,y:t},a)}return ei({x:a.width/2,y:a.height/2},a)}const sf={static:X0,connected:Q0},G0=ie({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in sf},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Y0(e,a){const r=ee({}),s=ee();wt&&pn(()=>!!(a.isActive.value&&e.locationStrategy),t=>{var i,o;de(()=>e.locationStrategy,t),Dt(()=>{window.removeEventListener("resize",n),s.value=void 0}),window.addEventListener("resize",n,{passive:!0}),typeof e.locationStrategy=="function"?s.value=(i=e.locationStrategy(a,e,r))==null?void 0:i.updateLocation:s.value=(o=sf[e.locationStrategy](a,e,r))==null?void 0:o.updateLocation});function n(t){var i;(i=s.value)==null||i.call(s,t)}return{contentStyles:r,updateLocation:s}}function X0(){}function J0(e,a){a?e.style.removeProperty("left"):e.style.removeProperty("right");const r=Zi(e);return a?r.x+=parseFloat(e.style.right||0):r.x-=parseFloat(e.style.left||0),r.y-=parseFloat(e.style.top||0),r}function Q0(e,a,r){(Array.isArray(e.target.value)||vv(e.target.value))&&Object.assign(r.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:n,preferredOrigin:t}=ym(()=>{const p=Bl(a.location,e.isRtl.value),g=a.origin==="overlap"?p:a.origin==="auto"?Ds(p):Bl(a.origin,e.isRtl.value);return p.side===g.side&&p.align===Rs(g).align?{preferredAnchor:Kl(p),preferredOrigin:Kl(g)}:{preferredAnchor:p,preferredOrigin:g}}),[i,o,u,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(p=>E(()=>{const g=parseFloat(a[p]);return isNaN(g)?1/0:g})),l=E(()=>{if(Array.isArray(a.offset))return a.offset;if(typeof a.offset=="string"){const p=a.offset.split(" ").map(parseFloat);return p.length<2&&p.push(0),p}return typeof a.offset=="number"?[a.offset,0]:[0,0]});let d=!1;const v=new ResizeObserver(()=>{d&&m()});de([e.target,e.contentEl],(p,g)=>{let[b,f]=p,[y,P]=g;y&&!Array.isArray(y)&&v.unobserve(y),b&&!Array.isArray(b)&&v.observe(b),P&&v.unobserve(P),f&&v.observe(f)},{immediate:!0}),Dt(()=>{v.disconnect()});function m(){if(d=!1,requestAnimationFrame(()=>d=!0),!e.target.value||!e.contentEl.value)return;const p=Rc(e.target.value),g=J0(e.contentEl.value,e.isRtl.value),b=Gr(e.contentEl.value),f=12;b.length||(b.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(g.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),g.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const y=b.reduce((M,T)=>{const q=T.getBoundingClientRect(),B=new Ga({x:T===document.documentElement?0:q.x,y:T===document.documentElement?0:q.y,width:T.clientWidth,height:T.clientHeight});return M?new Ga({x:Math.max(M.left,B.left),y:Math.max(M.top,B.top),width:Math.min(M.right,B.right)-Math.max(M.left,B.left),height:Math.min(M.bottom,B.bottom)-Math.max(M.top,B.top)}):B},void 0);y.x+=f,y.y+=f,y.width-=f*2,y.height-=f*2;let P={anchor:n.value,origin:t.value};function _(M){const T=new Ga(g),q=Bu(M.anchor,p),B=Bu(M.origin,T);let{x:H,y:Z}=W0(q,B);switch(M.anchor.side){case"top":Z-=l.value[0];break;case"bottom":Z+=l.value[0];break;case"left":H-=l.value[0];break;case"right":H+=l.value[0];break}switch(M.anchor.align){case"top":Z-=l.value[1];break;case"bottom":Z+=l.value[1];break;case"left":H-=l.value[1];break;case"right":H+=l.value[1];break}return T.x+=H,T.y+=Z,T.width=Math.min(T.width,u.value),T.height=Math.min(T.height,c.value),{overflows:Hl(T,y),x:H,y:Z}}let O=0,S=0;const w={x:0,y:0},z={x:!1,y:!1};let x=-1;for(;!(x++>10);){const{x:M,y:T,overflows:q}=_(P);O+=M,S+=T,g.x+=M,g.y+=T;{const B=Ul(P.anchor),H=q.x.before||q.x.after,Z=q.y.before||q.y.after;let oe=!1;if(["x","y"].forEach(L=>{if(L==="x"&&H&&!z.x||L==="y"&&Z&&!z.y){const U={anchor:{...P.anchor},origin:{...P.origin}},$=L==="x"?B==="y"?Rs:Ds:B==="y"?Ds:Rs;U.anchor=$(U.anchor),U.origin=$(U.origin);const{overflows:C}=_(U);(C[L].before<=q[L].before&&C[L].after<=q[L].after||C[L].before+C[L].after<(q[L].before+q[L].after)/2)&&(P=U,oe=z[L]=!0)}}),oe)continue}q.x.before&&(O+=q.x.before,g.x+=q.x.before),q.x.after&&(O-=q.x.after,g.x-=q.x.after),q.y.before&&(S+=q.y.before,g.y+=q.y.before),q.y.after&&(S-=q.y.after,g.y-=q.y.after);{const B=Hl(g,y);w.x=y.width-B.x.before-B.x.after,w.y=y.height-B.y.before-B.y.after,O+=B.x.before,g.x+=B.x.before,S+=B.y.before,g.y+=B.y.before}break}const R=Ul(P.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${P.anchor.side} ${P.anchor.align}`,transformOrigin:`${P.origin.side} ${P.origin.align}`,top:Re(ti(S)),left:e.isRtl.value?void 0:Re(ti(O)),right:e.isRtl.value?Re(ti(-O)):void 0,minWidth:Re(R==="y"?Math.min(i.value,p.width):i.value),maxWidth:Re(Ku(zt(w.x,i.value===1/0?0:i.value,u.value))),maxHeight:Re(Ku(zt(w.y,o.value===1/0?0:o.value,c.value)))}),{available:w,contentBox:g}}return de(()=>[n.value,t.value,a.offset,a.minWidth,a.minHeight,a.maxWidth,a.maxHeight],()=>m()),nt(()=>{const p=m();if(!p)return;const{available:g,contentBox:b}=p;b.height>g.y&&requestAnimationFrame(()=>{m(),requestAnimationFrame(()=>{m()})})}),{updateLocation:m}}function ti(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Ku(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let Ai=!0;const as=[];function Z0(e){!Ai||as.length?(as.push(e),Ti()):(Ai=!1,e(),Ti())}let Uu=-1;function Ti(){cancelAnimationFrame(Uu),Uu=requestAnimationFrame(()=>{const e=as.shift();e&&e(),as.length?Ti():Ai=!0})}const Wr={none:null,close:aw,block:nw,reposition:rw},ew=ie({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in Wr}},"VOverlay-scroll-strategies");function tw(e,a){if(!wt)return;let r;ra(async()=>{r==null||r.stop(),a.isActive.value&&e.scrollStrategy&&(r=mc(),await new Promise(s=>setTimeout(s)),r.active&&r.run(()=>{var s;typeof e.scrollStrategy=="function"?e.scrollStrategy(a,e,r):(s=Wr[e.scrollStrategy])==null||s.call(Wr,a,e,r)}))}),Dt(()=>{r==null||r.stop()})}function aw(e){function a(r){e.isActive.value=!1}of(e.targetEl.value??e.contentEl.value,a)}function nw(e,a){var i;const r=(i=e.root.value)==null?void 0:i.offsetParent,s=[...new Set([...Gr(e.targetEl.value,a.contained?r:void 0),...Gr(e.contentEl.value,a.contained?r:void 0)])].filter(o=>!o.classList.contains("v-overlay-scroll-blocked")),n=window.innerWidth-document.documentElement.offsetWidth,t=(o=>eo(o)&&o)(r||document.documentElement);t&&e.root.value.classList.add("v-overlay--scroll-blocked"),s.forEach((o,u)=>{o.style.setProperty("--v-body-scroll-x",Re(-o.scrollLeft)),o.style.setProperty("--v-body-scroll-y",Re(-o.scrollTop)),o!==document.documentElement&&o.style.setProperty("--v-scrollbar-offset",Re(n)),o.classList.add("v-overlay-scroll-blocked")}),Dt(()=>{s.forEach((o,u)=>{const c=parseFloat(o.style.getPropertyValue("--v-body-scroll-x")),l=parseFloat(o.style.getPropertyValue("--v-body-scroll-y")),d=o.style.scrollBehavior;o.style.scrollBehavior="auto",o.style.removeProperty("--v-body-scroll-x"),o.style.removeProperty("--v-body-scroll-y"),o.style.removeProperty("--v-scrollbar-offset"),o.classList.remove("v-overlay-scroll-blocked"),o.scrollLeft=-c,o.scrollTop=-l,o.style.scrollBehavior=d}),t&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function rw(e,a,r){let s=!1,n=-1,t=-1;function i(o){Z0(()=>{var l,d;const u=performance.now();(d=(l=e.updateLocation).value)==null||d.call(l,o),s=(performance.now()-u)/(1e3/60)>2})}t=(typeof requestIdleCallback>"u"?o=>o():requestIdleCallback)(()=>{r.run(()=>{of(e.targetEl.value??e.contentEl.value,o=>{s?(cancelAnimationFrame(n),n=requestAnimationFrame(()=>{n=requestAnimationFrame(()=>{i(o)})})):i(o)})})}),Dt(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(t),cancelAnimationFrame(n)})}function of(e,a){const r=[document,...Gr(e)];r.forEach(s=>{s.addEventListener("scroll",a,{passive:!0})}),Dt(()=>{r.forEach(s=>{s.removeEventListener("scroll",a)})})}const Mi=Symbol.for("vuetify:v-menu"),sw=ie({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,...iv()},"VOverlay-activator");function iw(e,a){let{isActive:r,isTop:s}=a;const n=os("useActivator"),t=ee();let i=!1,o=!1,u=!0;const c=E(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),l=E(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!c.value),{runOpenDelay:d,runCloseDelay:v}=ov(e,w=>{w===(e.openOnHover&&i||c.value&&o)&&!(e.openOnHover&&r.value&&!s.value)&&(r.value!==w&&(u=!0),r.value=w)}),m=ee(),p={onClick:w=>{w.stopPropagation(),t.value=w.currentTarget||w.target,r.value||(m.value=[w.clientX,w.clientY]),r.value=!r.value},onMouseenter:w=>{var z;(z=w.sourceCapabilities)!=null&&z.firesTouchEvents||(i=!0,t.value=w.currentTarget||w.target,d())},onMouseleave:w=>{i=!1,v()},onFocus:w=>{hn(w.target,":focus-visible")!==!1&&(o=!0,w.stopPropagation(),t.value=w.currentTarget||w.target,d())},onBlur:w=>{o=!1,w.stopPropagation(),v()}},g=E(()=>{const w={};return l.value&&(w.onClick=p.onClick),e.openOnHover&&(w.onMouseenter=p.onMouseenter,w.onMouseleave=p.onMouseleave),c.value&&(w.onFocus=p.onFocus,w.onBlur=p.onBlur),w}),b=E(()=>{const w={};if(e.openOnHover&&(w.onMouseenter=()=>{i=!0,d()},w.onMouseleave=()=>{i=!1,v()}),c.value&&(w.onFocusin=()=>{o=!0,d()},w.onFocusout=()=>{o=!1,v()}),e.closeOnContentClick){const z=Ct(Mi,null);w.onClick=()=>{r.value=!1,z==null||z.closeParents()}}return w}),f=E(()=>{const w={};return e.openOnHover&&(w.onMouseenter=()=>{u&&(i=!0,u=!1,d())},w.onMouseleave=()=>{i=!1,v()}),w});de(s,w=>{w&&(e.openOnHover&&!i&&(!c.value||!o)||c.value&&!o&&(!e.openOnHover||!i))&&(r.value=!1)}),de(r,w=>{w||setTimeout(()=>{m.value=void 0})},{flush:"post"});const y=ri();ra(()=>{y.value&&nt(()=>{t.value=y.el})});const P=ri(),_=E(()=>e.target==="cursor"&&m.value?m.value:P.value?P.el:lf(e.target,n)||t.value),O=E(()=>Array.isArray(_.value)?void 0:_.value);let S;return de(()=>!!e.activator,w=>{w&&wt?(S=mc(),S.run(()=>{ow(e,n,{activatorEl:t,activatorEvents:g})})):S&&S.stop()},{flush:"post",immediate:!0}),Dt(()=>{S==null||S.stop()}),{activatorEl:t,activatorRef:y,target:_,targetEl:O,targetRef:P,activatorEvents:g,contentEvents:b,scrimEvents:f}}function ow(e,a,r){let{activatorEl:s,activatorEvents:n}=r;de(()=>e.activator,(u,c)=>{if(c&&u!==c){const l=o(c);l&&i(l)}u&&nt(()=>t())},{immediate:!0}),de(()=>e.activatorProps,()=>{t()}),Dt(()=>{i()});function t(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&uv(u,se(n.value,c))}function i(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&cv(u,se(n.value,c))}function o(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const c=lf(u,a);return s.value=(c==null?void 0:c.nodeType)===Node.ELEMENT_NODE?c:void 0,s.value}}function lf(e,a){var s,n;if(!e)return;let r;if(e==="parent"){let t=(n=(s=a==null?void 0:a.proxy)==null?void 0:s.$el)==null?void 0:n.parentNode;for(;t!=null&&t.hasAttribute("data-no-activator");)t=t.parentNode;r=t}else typeof e=="string"?r=document.querySelector(e):"$el"in e?r=e.$el:r=e;return r}function lw(){if(!wt)return _e(!1);const{ssr:e}=ls();if(e){const a=_e(!1);return oa(()=>{a.value=!0}),a}else return _e(!0)}const fl=ie({eager:Boolean},"lazy");function ml(e,a){const r=_e(!1),s=E(()=>r.value||e.eager||a.value);de(a,()=>r.value=!0);function n(){e.eager||(r.value=!1)}return{isBooted:r,hasContent:s,onAfterLeave:n}}const Hu=Symbol.for("vuetify:stack"),Un=vc([]);function uw(e,a,r){const s=os("useStack"),n=!r,t=Ct(Hu,void 0),i=vc({activeChildren:new Set});tn(Hu,i);const o=_e(+a.value);pn(e,()=>{var d;const l=(d=Un.at(-1))==null?void 0:d[1];o.value=l?l+10:+a.value,n&&Un.push([s.uid,o.value]),t==null||t.activeChildren.add(s.uid),Dt(()=>{if(n){const v=Sa(Un).findIndex(m=>m[0]===s.uid);Un.splice(v,1)}t==null||t.activeChildren.delete(s.uid)})});const u=_e(!0);n&&ra(()=>{var d;const l=((d=Un.at(-1))==null?void 0:d[0])===s.uid;setTimeout(()=>u.value=l)});const c=E(()=>!i.activeChildren.size);return{globalTop:gm(u),localTop:c,stackStyles:E(()=>({zIndex:o.value}))}}function cw(e){return{teleportTarget:E(()=>{const r=e();if(r===!0||!wt)return;const s=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(s==null)return;let n=s.querySelector(":scope > .v-overlay-container");return n||(n=document.createElement("div"),n.className="v-overlay-container",s.appendChild(n)),n})}}function dw(){return!0}function uf(e,a,r){if(!e||cf(e,r)===!1)return!1;const s=Nc(a);if(typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&s.host===e.target)return!1;const n=(typeof r.value=="object"&&r.value.include||(()=>[]))();return n.push(a),!n.some(t=>t==null?void 0:t.contains(e.target))}function cf(e,a){return(typeof a.value=="object"&&a.value.closeConditional||dw)(e)}function fw(e,a,r){const s=typeof r.value=="function"?r.value:r.value.handler;a._clickOutside.lastMousedownWasOutside&&uf(e,a,r)&&setTimeout(()=>{cf(e,r)&&s&&s(e)},0)}function Wu(e,a){const r=Nc(e);a(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&a(r)}const mw={mounted(e,a){const r=n=>fw(n,e,a),s=n=>{e._clickOutside.lastMousedownWasOutside=uf(n,e,a)};Wu(e,n=>{n.addEventListener("click",r,!0),n.addEventListener("mousedown",s,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[a.instance.$.uid]={onClick:r,onMousedown:s}},unmounted(e,a){e._clickOutside&&(Wu(e,r=>{var t;if(!r||!((t=e._clickOutside)!=null&&t[a.instance.$.uid]))return;const{onClick:s,onMousedown:n}=e._clickOutside[a.instance.$.uid];r.removeEventListener("click",s,!0),r.removeEventListener("mousedown",n,!0)}),delete e._clickOutside[a.instance.$.uid])}};function vw(e){const{modelValue:a,color:r,...s}=e;return h(ni,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&h("div",se({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},s),null)]})}const df=ie({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},...sw(),...qe(),...hr(),...fl(),...G0(),...ew(),...Ht(),...En()},"VOverlay"),Gu=ve()({name:"VOverlay",directives:{ClickOutside:mw},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...df()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,a){let{slots:r,attrs:s,emit:n}=a;const t=xe(e,"modelValue"),i=E({get:()=>t.value,set:V=>{V&&e.disabled||(t.value=V)}}),{themeClasses:o}=ma(e),{rtlClasses:u,isRtl:c}=va(),{hasContent:l,onAfterLeave:d}=ml(e,i),v=At(E(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:m,localTop:p,stackStyles:g}=uw(i,ce(e,"zIndex"),e._disableGlobalStack),{activatorEl:b,activatorRef:f,target:y,targetEl:P,targetRef:_,activatorEvents:O,contentEvents:S,scrimEvents:w}=iw(e,{isActive:i,isTop:p}),{teleportTarget:z}=cw(()=>{var K;const V=e.attach||e.contained;if(V)return V;const D=(K=b==null?void 0:b.value)==null?void 0:K.getRootNode();return D instanceof ShadowRoot?D:!1}),{dimensionStyles:x}=yr(e),R=lw(),{scopeId:M}=Qi();de(()=>e.disabled,V=>{V&&(i.value=!1)});const T=ee(),q=ee(),B=ee(),{contentStyles:H,updateLocation:Z}=Y0(e,{isRtl:c,contentEl:B,target:y,isActive:i});tw(e,{root:T,contentEl:B,targetEl:P,isActive:i,updateLocation:Z});function oe(V){n("click:outside",V),e.persistent?I():i.value=!1}function L(V){return i.value&&m.value&&(!e.scrim||V.target===q.value)}wt&&de(i,V=>{V?window.addEventListener("keydown",U):window.removeEventListener("keydown",U)},{immediate:!0}),Ki(()=>{wt&&window.removeEventListener("keydown",U)});function U(V){var D,K;V.key==="Escape"&&m.value&&(e.persistent?I():(i.value=!1,(D=B.value)!=null&&D.contains(document.activeElement)&&((K=b.value)==null||K.focus())))}const $=Ym();pn(()=>e.closeOnBack,()=>{Xm($,V=>{m.value&&i.value?(V(!1),e.persistent?I():i.value=!1):V()})});const C=ee();de(()=>i.value&&(e.absolute||e.contained)&&z.value==null,V=>{if(V){const D=zc(T.value);D&&D!==document.scrollingElement&&(C.value=D.scrollTop)}});function I(){e.noClickAnimation||B.value&&Ua(B.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:tr})}function j(){n("afterEnter")}function k(){d(),n("afterLeave")}return pe(()=>{var V;return h(ye,null,[(V=r.activator)==null?void 0:V.call(r,{isActive:i.value,targetRef:_,props:se({ref:f},O.value,e.activatorProps)}),R.value&&l.value&&h(bm,{disabled:!z.value,to:z.value},{default:()=>[h("div",se({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":i.value,"v-overlay--contained":e.contained},o.value,u.value,e.class],style:[g.value,{"--v-overlay-opacity":e.opacity,top:Re(C.value)},e.style],ref:T},M,s),[h(vw,se({color:v,modelValue:i.value&&!!e.scrim,ref:q},w.value),null),h(xn,{appear:!0,persisted:!0,transition:e.transition,target:y.value,onAfterEnter:j,onAfterLeave:k},{default:()=>{var D;return[mt(h("div",se({ref:B,class:["v-overlay__content",e.contentClass],style:[x.value,H.value]},S.value,e.contentProps),[(D=r.default)==null?void 0:D.call(r,{isActive:i})]),[[xa,i.value],[ha("click-outside"),{handler:oe,closeConditional:L,include:()=>[b.value]}]])]}})])]})])}),{activatorEl:b,scrimEl:q,target:y,animateClick:I,contentEl:B,globalTop:m,localTop:p,updateLocation:Z}}}),pw=ie({id:String,...vt(df({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:Xd}}),["absolute"])},"VMenu"),_r=ve()({name:"VMenu",props:pw(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const s=xe(e,"modelValue"),{scopeId:n}=Qi(),t=pa(),i=E(()=>e.id||`v-menu-${t}`),o=ee(),u=Ct(Mi,null),c=_e(0);tn(Mi,{register(){++c.value},unregister(){--c.value},closeParents(g){setTimeout(()=>{!c.value&&!e.persistent&&(g==null||g&&!km(g,o.value.contentEl))&&(s.value=!1,u==null||u.closeParents())},40)}});async function l(g){var y,P,_;const b=g.relatedTarget,f=g.target;await nt(),s.value&&b!==f&&((y=o.value)!=null&&y.contentEl)&&((P=o.value)!=null&&P.globalTop)&&![document,o.value.contentEl].includes(f)&&!o.value.contentEl.contains(f)&&((_=si(o.value.contentEl)[0])==null||_.focus())}de(s,g=>{g?(u==null||u.register(),document.addEventListener("focusin",l,{once:!0})):(u==null||u.unregister(),document.removeEventListener("focusin",l))});function d(g){u==null||u.closeParents(g)}function v(g){var b,f,y;if(!e.disabled)if(g.key==="Tab"||g.key==="Enter"&&!e.closeOnContentClick){if(g.key==="Enter"&&(g.target instanceof HTMLTextAreaElement||g.target instanceof HTMLInputElement&&g.target.closest("form")))return;g.key==="Enter"&&g.preventDefault(),$m(si((b=o.value)==null?void 0:b.contentEl,!1),g.shiftKey?"prev":"next",_=>_.tabIndex>=0)||(s.value=!1,(y=(f=o.value)==null?void 0:f.activatorEl)==null||y.focus())}else["Enter"," "].includes(g.key)&&e.closeOnContentClick&&(s.value=!1,u==null||u.closeParents())}function m(g){var f;if(e.disabled)return;const b=(f=o.value)==null?void 0:f.contentEl;b&&s.value?g.key==="ArrowDown"?(g.preventDefault(),zl(b,"next")):g.key==="ArrowUp"&&(g.preventDefault(),zl(b,"prev")):["ArrowDown","ArrowUp"].includes(g.key)&&(s.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>m(g))))}const p=E(()=>se({"aria-haspopup":"menu","aria-expanded":String(s.value),"aria-owns":i.value,onKeydown:m},e.activatorProps));return pe(()=>{const g=Gu.filterProps(e);return h(Gu,se({ref:o,id:i.value,class:["v-menu",e.class],style:e.style},g,{modelValue:s.value,"onUpdate:modelValue":b=>s.value=b,absolute:!0,activatorProps:p.value,"onClick:outside":d,onKeydown:v},n),{activator:r.activator,default:function(){for(var b=arguments.length,f=new Array(b),y=0;y{var P;return[(P=r.default)==null?void 0:P.call(r,...f)]}})}})}),ba({id:i,ΨopenChildren:c},o)}}),xs={__name:"text-field-menu",props:wm({modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0},formattedValue:{type:String,default:null}},{menuOpened:{type:Boolean,default:!1},menuOpenedModifiers:{}}),emits:["update:menuOpened"],setup(e){const a=e,{inputProps:r,skeleton:s,compProps:n,data:t}=ut(ce(a,"modelValue"),a.statefulLayout,{isMainComp:!1,bindData:!1}),i=E(()=>{const l={...r.value};return l.readonly=!0,l.clearable=l.clearable??!s.value.required,l["onClick:clear"]=()=>{a.statefulLayout.input(a.modelValue,null)},l}),o=E(()=>{const l={...n.value};return l.closeOnContentClick=!1,l.disabled=!0,l}),u=ee(null),c=_m(e,"menuOpened");return(l,d)=>(ae(),Fe(ye,null,[h(Y(sa),se({ref_key:"textField",ref:u},i.value,{"model-value":e.formattedValue??Y(t),"onClick:control":d[0]||(d[0]=v=>{c.value=!c.value,v.stopPropagation()})}),{"prepend-inner":ne(()=>[Fl(l.$slots,"prepend-inner")]),_:3},16,["model-value"]),u.value?(ae(),he(Y(_r),se({key:0},o.value,{modelValue:c.value,"onUpdate:modelValue":d[1]||(d[1]=v=>c.value=v),class:"vjsf-text-field-menu",activator:u.value}),{default:ne(()=>[Fl(l.$slots,"default",{close:()=>c.value=!1})]),_:3},16,["modelValue","activator"])):De("",!0)],64))}},ff=ie({active:{type:[String,Array],default:void 0},disabled:{type:[Boolean,String,Array],default:!1},nextIcon:{type:rt,default:"$next"},prevIcon:{type:rt,default:"$prev"},modeIcon:{type:rt,default:"$subgroup"},text:String,viewMode:{type:String,default:"month"}},"VDatePickerControls"),Yu=ve()({name:"VDatePickerControls",props:ff(),emits:{"click:year":()=>!0,"click:month":()=>!0,"click:prev":()=>!0,"click:next":()=>!0,"click:text":()=>!0},setup(e,a){let{emit:r}=a;const s=E(()=>Array.isArray(e.disabled)?e.disabled.includes("text"):!!e.disabled),n=E(()=>Array.isArray(e.disabled)?e.disabled.includes("mode"):!!e.disabled),t=E(()=>Array.isArray(e.disabled)?e.disabled.includes("prev"):!!e.disabled),i=E(()=>Array.isArray(e.disabled)?e.disabled.includes("next"):!!e.disabled);function o(){r("click:prev")}function u(){r("click:next")}function c(){r("click:year")}function l(){r("click:month")}return pe(()=>h("div",{class:["v-date-picker-controls"]},[h(Le,{class:"v-date-picker-controls__month-btn",disabled:s.value,text:e.text,variant:"text",rounded:!0,onClick:l},null),h(Le,{key:"mode-btn",class:"v-date-picker-controls__mode-btn",disabled:n.value,density:"comfortable",icon:e.modeIcon,variant:"text",onClick:c},null),h(Dc,{key:"mode-spacer"},null),h("div",{key:"month-buttons",class:"v-date-picker-controls__month"},[h(Le,{disabled:t.value,icon:e.prevIcon,variant:"text",onClick:o},null),h(Le,{disabled:i.value,icon:e.nextIcon,variant:"text",onClick:u},null)])])),{}}}),hw=ie({appendIcon:String,color:String,header:String,transition:String,onClick:na()},"VDatePickerHeader"),Xu=ve()({name:"VDatePickerHeader",props:hw(),emits:{click:()=>!0,"click:append":()=>!0},setup(e,a){let{emit:r,slots:s}=a;const{backgroundColorClasses:n,backgroundColorStyles:t}=At(e,"color");function i(){r("click")}function o(){r("click:append")}return pe(()=>{const u=!!(s.default||e.header),c=!!(s.append||e.appendIcon);return h("div",{class:["v-date-picker-header",{"v-date-picker-header--clickable":!!e.onClick},n.value],style:t.value,onClick:i},[s.prepend&&h("div",{key:"prepend",class:"v-date-picker-header__prepend"},[s.prepend()]),u&&h(xn,{key:"content",name:e.transition},{default:()=>{var l;return[h("div",{key:e.header,class:"v-date-picker-header__content"},[((l=s.default)==null?void 0:l.call(s))??e.header])]}}),c&&h("div",{class:"v-date-picker-header__append"},[s.append?h(ot,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VBtn:{icon:e.appendIcon,variant:"text"}}},{default:()=>{var l;return[(l=s.append)==null?void 0:l.call(s)]}}):h(Le,{key:"append-btn",icon:e.appendIcon,variant:"text",onClick:o},null)])])}),{}}}),yw=ie({allowedDates:[Array,Function],disabled:Boolean,displayValue:null,modelValue:Array,month:[Number,String],max:null,min:null,showAdjacentMonths:Boolean,year:[Number,String],weekdays:{type:Array,default:()=>[0,1,2,3,4,5,6]},weeksInMonth:{type:String,default:"dynamic"},firstDayOfWeek:[Number,String]},"calendar");function gw(e){const a=Ia(),r=xe(e,"modelValue",[],m=>lt(m)),s=E(()=>e.displayValue?a.date(e.displayValue):r.value.length>0?a.date(r.value[0]):e.min?a.date(e.min):Array.isArray(e.allowedDates)?a.date(e.allowedDates[0]):a.date()),n=xe(e,"year",void 0,m=>{const p=m!=null?Number(m):a.getYear(s.value);return a.startOfYear(a.setYear(a.date(),p))},m=>a.getYear(m)),t=xe(e,"month",void 0,m=>{const p=m!=null?Number(m):a.getMonth(s.value),g=a.setYear(a.startOfMonth(a.date()),a.getYear(n.value));return a.setMonth(g,p)},m=>a.getMonth(m)),i=E(()=>{const m=Number(e.firstDayOfWeek??0);return e.weekdays.map(p=>(p+m)%7)}),o=E(()=>{const m=a.getWeekArray(t.value,e.firstDayOfWeek),p=m.flat(),g=6*7;if(e.weeksInMonth==="static"&&p.lengthi.value.includes(a.toJsDate(g).getDay())).map((g,b)=>{const f=a.toISO(g),y=!a.isSameMonth(g,t.value),P=a.isSameDay(g,a.startOfMonth(t.value)),_=a.isSameDay(g,a.endOfMonth(t.value)),O=a.isSameDay(g,t.value);return{date:g,isoDate:f,formatted:a.format(g,"keyboardDate"),year:a.getYear(g),month:a.getMonth(g),isDisabled:v(g),isWeekStart:b%7===0,isWeekEnd:b%7===6,isToday:a.isSameDay(g,p),isAdjacent:y,isHidden:y&&!e.showAdjacentMonths,isStart:P,isSelected:r.value.some(S=>a.isSameDay(g,S)),isEnd:_,isSame:O,localized:a.format(g,"dayOfMonth")}})}const c=E(()=>{const m=a.startOfWeek(s.value,e.firstDayOfWeek),p=[];for(let b=0;b<=6;b++)p.push(a.addDays(m,b));const g=a.date();return u(p,g)}),l=E(()=>{const m=o.value.flat(),p=a.date();return u(m,p)}),d=E(()=>o.value.map(m=>m.length?Sm(a,m[0]):null));function v(m){if(e.disabled)return!0;const p=a.date(m);return e.min&&a.isAfter(a.date(e.min),p)||e.max&&a.isAfter(p,a.date(e.max))?!0:Array.isArray(e.allowedDates)&&e.allowedDates.length>0?!e.allowedDates.some(g=>a.isSameDay(a.date(g),p)):typeof e.allowedDates=="function"?!e.allowedDates(p):!1}return{displayValue:s,daysInMonth:l,daysInWeek:c,genDays:u,model:r,weeksInMonth:o,weekDays:i,weekNumbers:d}}const mf=ie({color:String,hideWeekdays:Boolean,multiple:[Boolean,Number,String],showWeek:Boolean,transition:{type:String,default:"picker-transition"},reverseTransition:{type:String,default:"picker-reverse-transition"},...yw()},"VDatePickerMonth"),Ju=ve()({name:"VDatePickerMonth",props:mf(),emits:{"update:modelValue":e=>!0,"update:month":e=>!0,"update:year":e=>!0},setup(e,a){let{emit:r,slots:s}=a;const n=ee(),{daysInMonth:t,model:i,weekNumbers:o}=gw(e),u=Ia(),c=_e(),l=_e(),d=_e(!1),v=E(()=>d.value?e.reverseTransition:e.transition);e.multiple==="range"&&i.value.length>0&&(c.value=i.value[0],i.value.length>1&&(l.value=i.value[i.value.length-1]));const m=E(()=>{const f=["number","string"].includes(typeof e.multiple)?Number(e.multiple):1/0;return i.value.length>=f});de(t,(f,y)=>{y&&(d.value=u.isBefore(f[0].date,y[0].date))});function p(f){const y=u.startOfDay(f);if(i.value.length===0?c.value=void 0:i.value.length===1&&(c.value=i.value[0],l.value=void 0),!c.value)c.value=y,i.value=[c.value];else if(l.value)c.value=f,l.value=void 0,i.value=[c.value];else{if(u.isSameDay(y,c.value)){c.value=void 0,i.value=[];return}else u.isBefore(y,c.value)?(l.value=u.endOfDay(c.value),c.value=y):l.value=u.endOfDay(y);const P=u.getDiff(l.value,c.value,"days"),_=[c.value];for(let O=1;Ou.isSameDay(P,f));if(y===-1)i.value=[...i.value,f];else{const P=[...i.value];P.splice(y,1),i.value=P}}function b(f){e.multiple==="range"?p(f):e.multiple?g(f):i.value=[f]}return()=>h("div",{class:"v-date-picker-month"},[e.showWeek&&h("div",{key:"weeks",class:"v-date-picker-month__weeks"},[!e.hideWeekdays&&h("div",{key:"hide-week-days",class:"v-date-picker-month__day"},[Ke(" ")]),o.value.map(f=>h("div",{class:["v-date-picker-month__day","v-date-picker-month__day--adjacent"]},[f]))]),h(xn,{name:v.value},{default:()=>{var f;return[h("div",{ref:n,key:(f=t.value[0].date)==null?void 0:f.toString(),class:"v-date-picker-month__days"},[!e.hideWeekdays&&u.getWeekdays(e.firstDayOfWeek).map(y=>h("div",{class:["v-date-picker-month__day","v-date-picker-month__weekday"]},[y])),t.value.map((y,P)=>{const _={props:{onClick:()=>b(y.date)},item:y,i:P};return m.value&&!y.isSelected&&(y.isDisabled=!0),h("div",{class:["v-date-picker-month__day",{"v-date-picker-month__day--adjacent":y.isAdjacent,"v-date-picker-month__day--hide-adjacent":y.isHidden,"v-date-picker-month__day--selected":y.isSelected,"v-date-picker-month__day--week-end":y.isWeekEnd,"v-date-picker-month__day--week-start":y.isWeekStart}],"data-v-date":y.isDisabled?void 0:y.isoDate},[(e.showAdjacentMonths||!y.isAdjacent)&&h(ot,{defaults:{VBtn:{class:"v-date-picker-month__day-btn",color:(y.isSelected||y.isToday)&&!y.isDisabled?e.color:void 0,disabled:y.isDisabled,icon:!0,ripple:!1,text:y.localized,variant:y.isDisabled?y.isToday?"outlined":"text":y.isToday&&!y.isSelected?"outlined":"flat",onClick:()=>b(y.date)}}},{default:()=>{var O;return[((O=s.day)==null?void 0:O.call(s,_))??h(Le,_.props,null)]}})])})])]}})])}}),vf=ie({color:String,height:[String,Number],min:null,max:null,modelValue:Number,year:Number},"VDatePickerMonths"),Qu=ve()({name:"VDatePickerMonths",props:vf(),emits:{"update:modelValue":e=>!0},setup(e,a){let{emit:r,slots:s}=a;const n=Ia(),t=xe(e,"modelValue"),i=E(()=>{let o=n.startOfYear(n.date());return e.year&&(o=n.setYear(o,e.year)),On(12).map(u=>{const c=n.format(o,"monthShort"),l=!!(e.min&&n.isAfter(n.startOfMonth(n.date(e.min)),o)||e.max&&n.isAfter(o,n.startOfMonth(n.date(e.max))));return o=n.getNextMonth(o),{isDisabled:l,text:c,value:u}})});return ra(()=>{t.value=t.value??n.getMonth(n.date())}),pe(()=>h("div",{class:"v-date-picker-months",style:{height:Re(e.height)}},[h("div",{class:"v-date-picker-months__content"},[i.value.map((o,u)=>{var d;const c={active:t.value===u,color:t.value===u?e.color:void 0,disabled:o.isDisabled,rounded:!0,text:o.text,variant:t.value===o.value?"flat":"text",onClick:()=>l(u)};function l(v){if(t.value===v){r("update:modelValue",t.value);return}t.value=v}return((d=s.month)==null?void 0:d.call(s,{month:o,i:u,props:c}))??h(Le,se({key:"month"},c),null)})])])),{}}}),pf=ie({color:String,height:[String,Number],min:null,max:null,modelValue:Number},"VDatePickerYears"),Zu=ve()({name:"VDatePickerYears",props:pf(),emits:{"update:modelValue":e=>!0},setup(e,a){let{emit:r,slots:s}=a;const n=Ia(),t=xe(e,"modelValue"),i=E(()=>{const u=n.getYear(n.date());let c=u-100,l=u+52;e.min&&(c=n.getYear(n.date(e.min))),e.max&&(l=n.getYear(n.date(e.max)));let d=n.startOfYear(n.date());return d=n.setYear(d,c),On(l-c+1,c).map(v=>{const m=n.format(d,"year");return d=n.setYear(d,n.getYear(d)+1),{text:m,value:v}})});ra(()=>{t.value=t.value??n.getYear(n.date())});const o=ri();return oa(async()=>{var u;await nt(),(u=o.el)==null||u.scrollIntoView({block:"center"})}),pe(()=>h("div",{class:"v-date-picker-years",style:{height:Re(e.height)}},[h("div",{class:"v-date-picker-years__content"},[i.value.map((u,c)=>{var d;const l={ref:t.value===u.value?o:void 0,active:t.value===u.value,color:t.value===u.value?e.color:void 0,rounded:!0,text:u.text,variant:t.value===u.value?"flat":"text",onClick:()=>{if(t.value===u.value){r("update:modelValue",t.value);return}t.value=u.value}};return((d=s.year)==null?void 0:d.call(s,{year:u,i:c,props:l}))??h(Le,se({key:"month"},l),null)})])])),{}}}),bw=Ic("v-picker-title"),Is=ie({color:String,...jc(),...qe(),...hr(),...vr(),...Jm(),...Qm(),...dr(),...Wt(),...Ht()},"VSheet"),ia=ve()({name:"VSheet",props:Is(),setup(e,a){let{slots:r}=a;const{themeClasses:s}=ma(e),{backgroundColorClasses:n,backgroundColorStyles:t}=At(ce(e,"color")),{borderClasses:i}=Ac(e),{dimensionStyles:o}=yr(e),{elevationClasses:u}=pr(e),{locationStyles:c}=Zm(e),{positionClasses:l}=ev(e),{roundedClasses:d}=fr(e);return pe(()=>h(e.tag,{class:["v-sheet",s.value,n.value,i.value,u.value,l.value,d.value,e.class],style:[t.value,o.value,c.value,e.style]},r)),{}}}),vl=ie({bgColor:String,landscape:Boolean,title:String,hideHeader:Boolean,...Is()},"VPicker"),ns=ve()({name:"VPicker",props:vl(),setup(e,a){let{slots:r}=a;const{backgroundColorClasses:s,backgroundColorStyles:n}=At(ce(e,"color"));return pe(()=>{const t=ia.filterProps(e),i=!!(e.title||r.title);return h(ia,se(t,{color:e.bgColor,class:["v-picker",{"v-picker--landscape":e.landscape,"v-picker--with-actions":!!r.actions},e.class],style:e.style}),{default:()=>{var o;return[!e.hideHeader&&h("div",{key:"header",class:[s.value],style:[n.value]},[i&&h(bw,{key:"picker-title"},{default:()=>{var u;return[((u=r.title)==null?void 0:u.call(r))??e.title]}}),r.header&&h("div",{class:"v-picker__header"},[r.header()])]),h("div",{class:"v-picker__body"},[(o=r.default)==null?void 0:o.call(r)]),r.actions&&h(ot,{defaults:{VBtn:{slim:!0,variant:"text"}}},{default:()=>[h("div",{class:"v-picker__actions"},[r.actions()])]})]}})}),{}}}),kw=ie({header:{type:String,default:"$vuetify.datePicker.header"},...ff(),...mf({weeksInMonth:"static"}),...vt(vf(),["modelValue"]),...vt(pf(),["modelValue"]),...vl({title:"$vuetify.datePicker.title"}),modelValue:null},"VDatePicker"),hf=ve()({name:"VDatePicker",props:kw(),emits:{"update:modelValue":e=>!0,"update:month":e=>!0,"update:year":e=>!0,"update:viewMode":e=>!0},setup(e,a){let{emit:r,slots:s}=a;const n=Ia(),{t}=Ft(),i=xe(e,"modelValue",void 0,x=>lt(x),x=>e.multiple?x:x[0]),o=xe(e,"viewMode"),u=E(()=>{var R;const x=n.date((R=i.value)==null?void 0:R[0]);return x&&n.isValid(x)?x:n.date()}),c=ee(Number(e.month??n.getMonth(n.startOfMonth(u.value)))),l=ee(Number(e.year??n.getYear(n.startOfYear(n.setMonth(u.value,c.value))))),d=_e(!1),v=E(()=>e.multiple&&i.value.length>1?t("$vuetify.datePicker.itemsSelected",i.value.length):i.value[0]&&n.isValid(i.value[0])?n.format(n.date(i.value[0]),"normalDateWithWeekday"):t(e.header)),m=E(()=>{let x=n.date();return x=n.setDate(x,1),x=n.setMonth(x,c.value),x=n.setYear(x,l.value),n.format(x,"monthAndYear")}),p=E(()=>`date-picker-header${d.value?"-reverse":""}-transition`),g=E(()=>{const x=n.date(e.min);return e.min&&n.isValid(x)?x:null}),b=E(()=>{const x=n.date(e.max);return e.max&&n.isValid(x)?x:null}),f=E(()=>{if(e.disabled)return!0;const x=[];if(o.value!=="month")x.push("prev","next");else{let R=n.date();if(R=n.setYear(R,l.value),R=n.setMonth(R,c.value),g.value){const M=n.addDays(n.startOfMonth(R),-1);n.isAfter(g.value,M)&&x.push("prev")}if(b.value){const M=n.addDays(n.endOfMonth(R),1);n.isAfter(M,b.value)&&x.push("next")}}return x});function y(){c.value<11?c.value++:(l.value++,c.value=0,z(l.value)),w(c.value)}function P(){c.value>0?c.value--:(l.value--,c.value=11,z(l.value)),w(c.value)}function _(){o.value="month"}function O(){o.value=o.value==="months"?"month":"months"}function S(){o.value=o.value==="year"?"month":"year"}function w(x){o.value==="months"&&O(),r("update:month",x)}function z(x){o.value==="year"&&S(),r("update:year",x)}return de(i,(x,R)=>{const M=lt(R),T=lt(x);if(!T.length)return;const q=n.date(M[M.length-1]),B=n.date(T[T.length-1]),H=n.getMonth(B),Z=n.getYear(B);H!==c.value&&(c.value=H,w(c.value)),Z!==l.value&&(l.value=Z,z(l.value)),d.value=n.isBefore(q,B)}),pe(()=>{const x=ns.filterProps(e),R=Yu.filterProps(e),M=Xu.filterProps(e),T=Ju.filterProps(e),q=vt(Qu.filterProps(e),["modelValue"]),B=vt(Zu.filterProps(e),["modelValue"]),H={header:v.value,transition:p.value};return h(ns,se(x,{class:["v-date-picker",`v-date-picker--${o.value}`,{"v-date-picker--show-week":e.showWeek},e.class],style:e.style}),{title:()=>{var Z;return((Z=s.title)==null?void 0:Z.call(s))??h("div",{class:"v-date-picker__title"},[t(e.title)])},header:()=>s.header?h(ot,{defaults:{VDatePickerHeader:{...H}}},{default:()=>{var Z;return[(Z=s.header)==null?void 0:Z.call(s,H)]}}):h(Xu,se({key:"header"},M,H,{onClick:o.value!=="month"?_:void 0}),{...s,default:void 0}),default:()=>h(ye,null,[h(Yu,se(R,{disabled:f.value,text:m.value,"onClick:next":y,"onClick:prev":P,"onClick:month":O,"onClick:year":S}),null),h(oi,{hideOnLeave:!0},{default:()=>[o.value==="months"?h(Qu,se({key:"date-picker-months"},q,{modelValue:c.value,"onUpdate:modelValue":[Z=>c.value=Z,w],min:g.value,max:b.value,year:l.value}),null):o.value==="year"?h(Zu,se({key:"date-picker-years"},B,{modelValue:l.value,"onUpdate:modelValue":[Z=>l.value=Z,z],min:g.value,max:b.value}),null):h(Ju,se({key:"date-picker-month"},T,{modelValue:i.value,"onUpdate:modelValue":Z=>i.value=Z,month:c.value,"onUpdate:month":[Z=>c.value=Z,w],year:l.value,"onUpdate:year":[Z=>l.value=Z,z],min:g.value,max:b.value}),null)]})]),actions:s.actions})}),{}}}),Bt=e=>{const a=""+e;return a.length===1?"0"+a:a},yf=e=>{const a=e.getTimezoneOffset(),r=`${Bt(Math.abs(a/60))}:${Bt(Math.abs(a%60))}`;let s;return a<0?s=`+${r}`:a>0?s=`-${r}`:s="Z",`${e.getFullYear()}-${Bt(e.getMonth()+1)}-${Bt(e.getDate())}T${Bt(e.getHours())}:${Bt(e.getMinutes())}:${Bt(e.getSeconds())}${s}`},gf=e=>[`${e.getFullYear()}-${Bt(e.getMonth()+1)}-${Bt(e.getDate())}`,`${Bt(e.getHours())}:${Bt(e.getMinutes())}`],bf=e=>e?e.slice(0,5):"",$w=e=>e+":00Z",ww={__name:"date-picker",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfDatePicker");const a=e,r=Ia(),s=ee(!1),{compProps:n,localData:t}=ut(ce(a,"modelValue"),a.statefulLayout),i=E(()=>{const u={...n.value};return u.hideActions=!0,t.value&&(u.modelValue=new Date(t.value)),u["onUpdate:modelValue"]=c=>{c&&(a.modelValue.layout.format==="date-time"?a.statefulLayout.input(a.modelValue,yf(c)):a.statefulLayout.input(a.modelValue,gf(c)[0]),s.value=!1)},u}),o=E(()=>t.value?r.format(t.value,"fullDateWithWeekday"):null);return(u,c)=>(ae(),he(xs,{"menu-opened":s.value,"onUpdate:menuOpened":c[0]||(c[0]=l=>s.value=l),"model-value":a.modelValue,"stateful-layout":e.statefulLayout,"formatted-value":o.value},{default:ne(()=>[h(Y(hf),Oa(Ea(i.value)),null,16)]),_:1},8,["menu-opened","model-value","stateful-layout","formatted-value"]))}},_w=ie({allowedValues:Function,ampm:Boolean,color:String,disabled:Boolean,displayedValue:null,double:Boolean,format:{type:Function,default:e=>e},max:{type:Number,required:!0},min:{type:Number,required:!0},scrollable:Boolean,readonly:Boolean,rotate:{type:Number,default:0},step:{type:Number,default:1},modelValue:{type:Number}},"VTimePickerClock"),ec=ve()({name:"VTimePickerClock",props:_w(),emits:{change:e=>!0,input:e=>!0},setup(e,a){let{emit:r}=a;const s=ee(null),n=ee(null),t=ee(void 0),i=ee(!1),o=ee(null),u=ee(null),{textColorClasses:c,textColorStyles:l}=ja(ce(e,"color")),{backgroundColorClasses:d,backgroundColorStyles:v}=At(ce(e,"color")),m=E(()=>e.max-e.min+1),p=E(()=>e.double?m.value/2:m.value),g=E(()=>360/p.value),b=E(()=>g.value*Math.PI/180),f=E(()=>e.modelValue==null?e.min:e.modelValue),y=E(()=>.62),P=E(()=>{const L=[];for(let U=e.min;U<=e.max;U=U+e.step)L.push(U);return L});de(()=>e.modelValue,L=>{t.value=L});function _(L){t.value!==L&&(t.value=L),r("input",L)}function O(L){return!e.allowedValues||e.allowedValues(L)}function S(L){if(!e.scrollable||e.disabled)return;L.preventDefault();const U=Math.sign(-L.deltaY||1);let $=f.value;do $=$+U,$=($-e.min+m.value)%m.value+e.min;while(!O($)&&$!==f.value);$!==e.displayedValue&&_($)}function w(L){return e.double&&L-e.min>=p.value}function z(L){return w(L)?y.value:1}function x(L){const U=e.rotate*Math.PI/180;return{x:Math.sin((L-e.min)*b.value+U)*z(L),y:-Math.cos((L-e.min)*b.value+U)*z(L)}}function R(L,U){const $=(Math.round(L/g.value)+(U?p.value:0))%m.value+e.min;return L<360-g.value/2?$:U?e.max-p.value+1:e.min}function M(L){const{x:U,y:$}=x(L);return{left:`${50+U*50}%`,top:`${50+$*50}%`}}function T(L,U){const $=U.x-L.x,C=U.y-L.y;return Math.sqrt($*$+C*C)}function q(L,U){const $=2*Math.atan2(U.y-L.y-T(L,U),U.x-L.x);return Math.abs($*180/Math.PI)}function B(L){o.value===null&&(o.value=L),u.value=L,_(L)}function H(L){var le,J;if(L.preventDefault(),!i.value&&L.type!=="click"||!s.value)return;const{width:U,top:$,left:C}=(le=s.value)==null?void 0:le.getBoundingClientRect(),{width:I}=((J=n.value)==null?void 0:J.getBoundingClientRect())??{width:0},{clientX:j,clientY:k}="touches"in L?L.touches[0]:L,V={x:U/2,y:-U/2},D={x:j-C,y:$-k},K=Math.round(q(V,D)-e.rotate+360)%360,Q=e.double&&T(V,D)<(I+I*y.value)/4,te=Math.ceil(15/g.value);let X;for(let re=0;reh("div",{class:[{"v-time-picker-clock":!0,"v-time-picker-clock--indeterminate":e.modelValue==null,"v-time-picker-clock--readonly":e.readonly}],onMousedown:Z,onTouchstart:Z,onWheel:S,ref:s},[h("div",{class:"v-time-picker-clock__inner",ref:n},[h("div",{class:[{"v-time-picker-clock__hand":!0,"v-time-picker-clock__hand--inner":w(e.modelValue)},c.value],style:[{transform:`rotate(${e.rotate+g.value*(f.value-e.min)}deg) scaleY(${z(f.value)})`},l.value]},null),P.value.map(L=>{const U=L===f.value;return h("div",{class:[{"v-time-picker-clock__item":!0,"v-time-picker-clock__item--active":U,"v-time-picker-clock__item--disabled":e.disabled||!O(L)},U&&d.value],style:[M(L),U&&v.value]},[h("span",null,[e.format(L)])])})])]))}}),Sw=(e,a,r)=>(a=a>>0,e=String(e),r=String(r),e.length>a?String(e):(a=a-e.length,a>r.length&&(r+=r.repeat(a/r.length)),r.slice(0,a)+String(e))),Wa=function(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Sw(e,a,"0")};var Qe=function(e){return e[e.Hour=1]="Hour",e[e.Minute=2]="Minute",e[e.Second=3]="Second",e}(Qe||{});const Pw=ie({ampm:Boolean,ampmInTitle:Boolean,ampmReadonly:Boolean,color:String,disabled:Boolean,hour:Number,minute:Number,second:Number,period:String,readonly:Boolean,useSeconds:Boolean,selecting:Number,value:Number},"VTimePickerControls"),tc=ve()({name:"VTimePickerControls",props:Pw(),emits:{"update:period":e=>!0,"update:selecting":e=>!0},setup(e,a){let{emit:r,slots:s}=a;const{t:n}=Ft();return pe(()=>{let t=e.hour;return e.ampm&&(t=t?(t-1)%12+1:12),h("div",{class:"v-time-picker-controls"},[h("div",{class:{"v-time-picker-controls__time":!0,"v-time-picker-controls__time--with-seconds":e.useSeconds}},[h(Le,{active:e.selecting===1,color:e.selecting===1?e.color:void 0,disabled:e.disabled,variant:"tonal",class:{"v-time-picker-controls__time__btn":!0,"v-time-picker-controls__time--with-ampm__btn":e.ampm,"v-time-picker-controls__time--with-seconds__btn":e.useSeconds},text:e.hour==null?"--":Wa(`${t}`),onClick:()=>r("update:selecting",Qe.Hour)},null),h("span",{class:["v-time-picker-controls__time__separator",{"v-time-picker-controls--with-seconds__time__separator":e.useSeconds}]},[Ke(":")]),h(Le,{active:e.selecting===2,color:e.selecting===2?e.color:void 0,class:{"v-time-picker-controls__time__btn":!0,"v-time-picker-controls__time__btn__active":e.selecting===2,"v-time-picker-controls__time--with-ampm__btn":e.ampm,"v-time-picker-controls__time--with-seconds__btn":e.useSeconds},disabled:e.disabled,variant:"tonal",text:e.minute==null?"--":Wa(e.minute),onClick:()=>r("update:selecting",Qe.Minute)},null),e.useSeconds&&h("span",{class:["v-time-picker-controls__time__separator",{"v-time-picker-controls--with-seconds__time__separator":e.useSeconds}],key:"secondsDivider"},[Ke(":")]),e.useSeconds&&h(Le,{key:"secondsVal",variant:"tonal",onClick:()=>r("update:selecting",Qe.Second),class:{"v-time-picker-controls__time__btn":!0,"v-time-picker-controls__time__btn__active":e.selecting===3,"v-time-picker-controls__time--with-seconds__btn":e.useSeconds},disabled:e.disabled,text:e.second==null?"--":Wa(e.second)},null),e.ampm&&e.ampmInTitle&&h("div",{class:["v-time-picker-controls__ampm",{"v-time-picker-controls__ampm--readonly":e.ampmReadonly}]},[h(Le,{active:e.period==="am",color:e.period==="am"?e.color:void 0,class:{"v-time-picker-controls__ampm__am":!0,"v-time-picker-controls__ampm__btn":!0,"v-time-picker-controls__ampm__btn__active":e.period==="am"},disabled:e.disabled,text:n("$vuetify.timePicker.am"),variant:e.disabled&&e.period==="am"?"elevated":"tonal",onClick:()=>e.period!=="am"?r("update:period","am"):null},null),h(Le,{active:e.period==="pm",color:e.period==="pm"?e.color:void 0,class:{"v-time-picker-controls__ampm__pm":!0,"v-time-picker-controls__ampm__btn":!0,"v-time-picker-controls__ampm__btn__active":e.period==="pm"},disabled:e.disabled,text:n("$vuetify.timePicker.pm"),variant:e.disabled&&e.period==="pm"?"elevated":"tonal",onClick:()=>e.period!=="pm"?r("update:period","pm"):null},null)])])])}),{}}}),Cw=On(24),kf=On(12),Vw=kf.map(e=>e+12);On(60);const Ow={1:"hour",2:"minute",3:"second"},Ew=ie({allowedHours:[Function,Array],allowedMinutes:[Function,Array],allowedSeconds:[Function,Array],ampmInTitle:Boolean,disabled:Boolean,format:{type:String,default:"ampm"},max:String,min:String,modelValue:null,readonly:Boolean,scrollable:Boolean,useSeconds:Boolean,...vt(vl({title:"$vuetify.timePicker.title"}),["landscape"])},"VTimePicker"),$f=ve()({name:"VTimePicker",props:Ew(),emits:{"update:hour":e=>!0,"update:minute":e=>!0,"update:period":e=>!0,"update:second":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{emit:r,slots:s}=a;const{t:n}=Ft(),t=ee(null),i=ee(null),o=ee(null),u=ee(null),c=ee(null),l=ee(null),d=ee("am"),v=ee(Qe.Hour),m=ee(null),p=ee(null),g=E(()=>{let T;if(e.allowedHours instanceof Array?T=H=>e.allowedHours.includes(H):T=e.allowedHours,!e.min&&!e.max)return T;const q=e.min?Number(e.min.split(":")[0]):0,B=e.max?Number(e.max.split(":")[0]):23;return H=>H>=q*1&&H<=B*1&&(!T||T(H))}),b=E(()=>{let T;const q=!g.value||t.value===null||g.value(t.value);if(e.allowedMinutes instanceof Array?T=$=>e.allowedMinutes.includes($):T=e.allowedMinutes,!e.min&&!e.max)return q?T:()=>!1;const[B,H]=e.min?e.min.split(":").map(Number):[0,0],[Z,oe]=e.max?e.max.split(":").map(Number):[23,59],L=B*60+H*1,U=Z*60+oe*1;return $=>{const C=60*t.value+$;return C>=L&&C<=U&&q&&(!T||T($))}}),f=E(()=>{let T;const B=(!g.value||t.value===null||g.value(t.value))&&(!b.value||i.value===null||b.value(i.value));if(e.allowedSeconds instanceof Array?T=j=>e.allowedSeconds.includes(j):T=e.allowedSeconds,!e.min&&!e.max)return B?T:()=>!1;const[H,Z,oe]=e.min?e.min.split(":").map(Number):[0,0,0],[L,U,$]=e.max?e.max.split(":").map(Number):[23,59,59],C=H*3600+Z*60+(oe||0)*1,I=L*3600+U*60+($||0)*1;return j=>{const k=3600*t.value+60*i.value+j;return k>=C&&k<=I&&B&&(!T||T(j))}}),y=E(()=>e.format==="ampm");de(()=>e.modelValue,T=>w(T)),oa(()=>{w(e.modelValue)});function P(){return t.value!=null&&i.value!=null&&(!e.useSeconds||o.value!=null)?`${Wa(t.value)}:${Wa(i.value)}`+(e.useSeconds?`:${Wa(o.value)}`:""):null}function _(){const T=P();T!==null&&r("update:modelValue",T)}function O(T){return T?(T-1)%12+1:12}function S(T,q){return T%12+(q==="pm"?12:0)}function w(T){if(T==null||T==="")t.value=null,i.value=null,o.value=null;else if(T instanceof Date)t.value=T.getHours(),i.value=T.getMinutes(),o.value=T.getSeconds();else{const[q,,B,,H,Z]=T.trim().toLowerCase().match(/^(\d+):(\d+)(:(\d+))?([ap]m)?$/)||new Array(6);t.value=Z?S(parseInt(q,10),Z):parseInt(q,10),i.value=parseInt(B,10),o.value=parseInt(H||0,10)}d.value=t.value==null||t.value<12?"am":"pm"}function z(T,q){const B=g.value;if(!B)return q;const H=y.value?q<12?kf:Vw:Cw;return((H.find(oe=>B((oe+q)%H.length+H[0]))||0)+q)%H.length+H[0]}function x(T){if(d.value=T,t.value!=null){const q=t.value+(d.value==="am"?-12:12);t.value=z("hour",q)}return r("update:period",T),_(),!0}function R(T){v.value===Qe.Hour?t.value=y.value?S(T,d.value):T:v.value===Qe.Minute?i.value=T:o.value=T}function M(T){switch(Ow[v.value]){case"hour":r("update:hour",T);break;case"minute":r("update:minute",T);break;case"second":r("update:second",T);break}const q=v.value===(e.useSeconds?Qe.Second:Qe.Minute);v.value===Qe.Hour?v.value=Qe.Minute:e.useSeconds&&v.value===Qe.Minute&&(v.value=Qe.Second),!(t.value===u.value&&i.value===c.value&&(!e.useSeconds||o.value===l.value)||P()===null)&&(u.value=t.value,c.value=i.value,e.useSeconds&&(l.value=o.value),q&&_())}pe(()=>{const T=ns.filterProps(e),q=tc.filterProps(e),B=ec.filterProps(vt(e,["format","modelValue","min","max"]));return h(ns,se(T,{color:void 0,class:["v-time-picker",e.class],style:e.style}),{title:()=>{var H;return((H=s.title)==null?void 0:H.call(s))??h("div",{class:"v-time-picker__title"},[n(e.title)])},header:()=>h(tc,se(q,{ampm:y.value||e.ampmInTitle,ampmReadonly:y.value&&!e.ampmInTitle,hour:t.value,minute:i.value,period:d.value,second:o.value,selecting:v.value,"onUpdate:period":H=>x(H),"onUpdate:selecting":H=>v.value=H,ref:m}),null),default:()=>h(ec,se(B,{allowedValues:v.value===Qe.Hour?g.value:v.value===Qe.Minute?b.value:f.value,double:v.value===Qe.Hour&&!y.value,format:v.value===Qe.Hour?y.value?O:H=>H:H=>Wa(H,2),max:v.value===Qe.Hour?y.value&&d.value==="am"?11:23:59,min:v.value===Qe.Hour&&y.value&&d.value==="pm"?12:0,size:20,step:v.value===Qe.Hour?1:5,modelValue:v.value===Qe.Hour?t.value:v.value===Qe.Minute?i.value:o.value,onChange:M,onInput:R,ref:p}),null),actions:s.actions})})}}),xw={__name:"time-picker",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfDatePicker");const a=e,r=Ia(),{compProps:s,localData:n}=ut(ce(a,"modelValue"),a.statefulLayout),t=E(()=>{const i={...s.value};return i["ampm-in-title"]=!0,n.value&&(i.modelValue=bf(n.value)),i});return(i,o)=>(ae(),he(xs,{"model-value":a.modelValue,"stateful-layout":e.statefulLayout,"formatted-value":t.value.modelValue&&Y(r).format("2010-04-13T"+t.value.modelValue,"fullTime")},{default:ne(()=>[h(Y($f),se(t.value,{"onUpdate:modelValue":o[0]||(o[0]=u=>{e.statefulLayout.input(a.modelValue,u&&Y($w)(u))})}),null,16)]),_:1},8,["model-value","stateful-layout","formatted-value"]))}},pl=Symbol.for("vuetify:v-tabs"),Iw=ie({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...vt(Wm({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),ir=ve()({name:"VTab",props:Iw(),setup(e,a){let{slots:r,attrs:s}=a;const{textColorClasses:n,textColorStyles:t}=ja(e,"sliderColor"),i=ee(),o=ee(),u=E(()=>e.direction==="horizontal"),c=E(()=>{var d,v;return((v=(d=i.value)==null?void 0:d.group)==null?void 0:v.isSelected.value)??!1});function l(d){var m,p;let{value:v}=d;if(v){const g=(p=(m=i.value)==null?void 0:m.$el.parentElement)==null?void 0:p.querySelector(".v-tab--selected .v-tab__slider"),b=o.value;if(!g||!b)return;const f=getComputedStyle(g).color,y=g.getBoundingClientRect(),P=b.getBoundingClientRect(),_=u.value?"x":"y",O=u.value?"X":"Y",S=u.value?"right":"bottom",w=u.value?"width":"height",z=y[_],x=P[_],R=z>x?y[S]-P[S]:y[_]-P[_],M=Math.sign(R)>0?u.value?"right":"bottom":Math.sign(R)<0?u.value?"left":"top":"center",q=(Math.abs(R)+(Math.sign(R)<0?y[w]:P[w]))/Math.max(y[w],P[w])||0,B=y[w]/P[w]||0,H=1.5;Ua(b,{backgroundColor:[f,"currentcolor"],transform:[`translate${O}(${R}px) scale${O}(${B})`,`translate${O}(${R/H}px) scale${O}(${(q-1)/H+1})`,"none"],transformOrigin:Array(3).fill(M)},{duration:225,easing:tr})}}return pe(()=>{const d=Le.filterProps(e);return h(Le,se({symbol:pl,ref:i,class:["v-tab",e.class],style:e.style,tabindex:c.value?0:-1,role:"tab","aria-selected":String(c.value),active:!1},d,s,{block:e.fixed,maxWidth:e.fixed?300:void 0,"onGroup:selected":l}),{...r,default:()=>{var v;return h(ye,null,[((v=r.default)==null?void 0:v.call(r))??e.text,!e.hideSlider&&h("div",{ref:o,class:["v-tab__slider",n.value],style:t.value},null)])}})}),ba({},i)}}),jw=e=>{const{touchstartX:a,touchendX:r,touchstartY:s,touchendY:n}=e,t=.5,i=16;e.offsetX=r-a,e.offsetY=n-s,Math.abs(e.offsetY)a+i&&e.right(e)),Math.abs(e.offsetX)s+i&&e.down(e))};function Aw(e,a){var s;const r=e.changedTouches[0];a.touchstartX=r.clientX,a.touchstartY=r.clientY,(s=a.start)==null||s.call(a,{originalEvent:e,...a})}function Tw(e,a){var s;const r=e.changedTouches[0];a.touchendX=r.clientX,a.touchendY=r.clientY,(s=a.end)==null||s.call(a,{originalEvent:e,...a}),jw(a)}function Mw(e,a){var s;const r=e.changedTouches[0];a.touchmoveX=r.clientX,a.touchmoveY=r.clientY,(s=a.move)==null||s.call(a,{originalEvent:e,...a})}function Dw(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const a={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:r=>Aw(r,a),touchend:r=>Tw(r,a),touchmove:r=>Mw(r,a)}}function Rw(e,a){var o;const r=a.value,s=r!=null&&r.parent?e.parentElement:e,n=(r==null?void 0:r.options)??{passive:!0},t=(o=a.instance)==null?void 0:o.$.uid;if(!s||!t)return;const i=Dw(a.value);s._touchHandlers=s._touchHandlers??Object.create(null),s._touchHandlers[t]=i,pc(i).forEach(u=>{s.addEventListener(u,i[u],n)})}function Nw(e,a){var t,i;const r=(t=a.value)!=null&&t.parent?e.parentElement:e,s=(i=a.instance)==null?void 0:i.$.uid;if(!(r!=null&&r._touchHandlers)||!s)return;const n=r._touchHandlers[s];pc(n).forEach(o=>{r.removeEventListener(o,n[o])}),delete r._touchHandlers[s]}const wf={mounted:Rw,unmounted:Nw},zw=wf,_f=Symbol.for("vuetify:v-window"),Sf=Symbol.for("vuetify:v-window-group"),hl=ie({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...qe(),...Wt(),...Ht()},"VWindow"),Sn=ve()({name:"VWindow",directives:{Touch:wf},props:hl(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const{themeClasses:s}=ma(e),{isRtl:n}=va(),{t}=Ft(),i=cr(e,Sf),o=ee(),u=E(()=>n.value?!e.reverse:e.reverse),c=_e(!1),l=E(()=>{const _=e.direction==="vertical"?"y":"x",S=(u.value?!c.value:c.value)?"-reverse":"";return`v-window-${_}${S}-transition`}),d=_e(0),v=ee(void 0),m=E(()=>i.items.value.findIndex(_=>i.selected.value.includes(_.id)));de(m,(_,O)=>{const S=i.items.value.length,w=S-1;S<=2?c.value=_e.continuous||m.value!==0),g=E(()=>e.continuous||m.value!==i.items.value.length-1);function b(){p.value&&i.prev()}function f(){g.value&&i.next()}const y=E(()=>{const _=[],O={icon:n.value?e.nextIcon:e.prevIcon,class:`v-window__${u.value?"right":"left"}`,onClick:i.prev,"aria-label":t("$vuetify.carousel.prev")};_.push(p.value?r.prev?r.prev({props:O}):h(Le,O,null):h("div",null,null));const S={icon:n.value?e.prevIcon:e.nextIcon,class:`v-window__${u.value?"left":"right"}`,onClick:i.next,"aria-label":t("$vuetify.carousel.next")};return _.push(g.value?r.next?r.next({props:S}):h(Le,S,null):h("div",null,null)),_}),P=E(()=>e.touch===!1?e.touch:{...{left:()=>{u.value?b():f()},right:()=>{u.value?f():b()},start:O=>{let{originalEvent:S}=O;S.stopPropagation()}},...e.touch===!0?{}:e.touch});return pe(()=>mt(h(e.tag,{ref:o,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},s.value,e.class],style:e.style},{default:()=>{var _,O;return[h("div",{class:"v-window__container",style:{height:v.value}},[(_=r.default)==null?void 0:_.call(r,{group:i}),e.showArrows!==!1&&h("div",{class:"v-window__controls"},[y.value])]),(O=r.additional)==null?void 0:O.call(r,{group:i})]}}),[[ha("touch"),P.value]])),{group:i}}}),Fw=ie({...vt(hl(),["continuous","nextIcon","prevIcon","showArrows","touch","mandatory"])},"VTabsWindow"),Pf=ve()({name:"VTabsWindow",props:Fw(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const s=Ct(pl,null),n=xe(e,"modelValue"),t=E({get(){var i;return n.value!=null||!s?n.value:(i=s.items.value.find(o=>s.selected.value.includes(o.id)))==null?void 0:i.value},set(i){n.value=i}});return pe(()=>{const i=Sn.filterProps(e);return h(Sn,se({_as:"VTabsWindow"},i,{modelValue:t.value,"onUpdate:modelValue":o=>t.value=o,class:["v-tabs-window",e.class],style:e.style,mandatory:!1,touch:!1}),r)}),{}}}),yl=ie({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...qe(),...us(),...fl()},"VWindowItem"),Pn=ve()({name:"VWindowItem",directives:{Touch:zw},props:yl(),emits:{"group:selected":e=>!0},setup(e,a){let{slots:r}=a;const s=Ct(_f),n=cs(e,Sf),{isBooted:t}=lv();if(!s||!n)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const i=_e(!1),o=E(()=>t.value&&(s.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function u(){!i.value||!s||(i.value=!1,s.transitionCount.value>0&&(s.transitionCount.value-=1,s.transitionCount.value===0&&(s.transitionHeight.value=void 0)))}function c(){var p;i.value||!s||(i.value=!0,s.transitionCount.value===0&&(s.transitionHeight.value=Re((p=s.rootRef.value)==null?void 0:p.clientHeight)),s.transitionCount.value+=1)}function l(){u()}function d(p){i.value&&nt(()=>{!o.value||!i.value||!s||(s.transitionHeight.value=Re(p.clientHeight))})}const v=E(()=>{const p=s.isReversed.value?e.reverseTransition:e.transition;return o.value?{name:typeof p!="string"?s.transition.value:p,onBeforeEnter:c,onAfterEnter:u,onEnterCancelled:l,onBeforeLeave:c,onAfterLeave:u,onLeaveCancelled:l,onEnter:d}:!1}),{hasContent:m}=ml(e,n.isSelected);return pe(()=>h(xn,{transition:v.value,disabled:!t.value},{default:()=>{var p;return[mt(h("div",{class:["v-window-item",n.selectedClass.value,e.class],style:e.style},[m.value&&((p=r.default)==null?void 0:p.call(r))]),[[xa,n.isSelected.value]])]}})),{groupItem:n}}}),Lw=ie({...yl()},"VTabsWindowItem"),Di=ve()({name:"VTabsWindowItem",props:Lw(),setup(e,a){let{slots:r}=a;return pe(()=>{const s=Pn.filterProps(e);return h(Pn,se({_as:"VTabsWindowItem"},s,{class:["v-tabs-window-item",e.class],style:e.style}),r)}),{}}});function qw(e){let{selectedElement:a,containerElement:r,isRtl:s,isHorizontal:n}=e;const t=or(n,r),i=Cf(n,s,r),o=or(n,a),u=Vf(n,a),c=o*.4;return i>u?u-c:i+ttypeof e=="boolean"||["always","desktop","mobile"].includes(e)},...qe(),...hc({mobile:null}),...Wt(),...ds({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),rs=ve()({name:"VSlideGroup",props:gl(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const{isRtl:s}=va(),{displayClasses:n,mobile:t}=ls(e),i=cr(e,e.symbol),o=_e(!1),u=_e(0),c=_e(0),l=_e(0),d=E(()=>e.direction==="horizontal"),{resizeRef:v,contentRect:m}=er(),{resizeRef:p,contentRect:g}=er(),b=Pm(),f=E(()=>({container:v.el,duration:200,easing:"easeOutQuart"})),y=E(()=>i.selected.value.length?i.items.value.findIndex($=>$.id===i.selected.value[0]):-1),P=E(()=>i.selected.value.length?i.items.value.findIndex($=>$.id===i.selected.value[i.selected.value.length-1]):-1);if(wt){let $=-1;de(()=>[i.selected.value,m.value,g.value,d.value],()=>{cancelAnimationFrame($),$=requestAnimationFrame(()=>{if(m.value&&g.value){const C=d.value?"width":"height";c.value=m.value[C],l.value=g.value[C],o.value=c.value+1=0&&p.el){const C=p.el.children[P.value];O(C,e.centerActive)}})})}const _=_e(!1);function O($,C){let I=0;C?I=Bw({containerElement:v.el,isHorizontal:d.value,selectedElement:$}):I=qw({containerElement:v.el,isHorizontal:d.value,isRtl:s.value,selectedElement:$}),S(I)}function S($){if(!wt||!v.el)return;const C=or(d.value,v.el),I=Cf(d.value,s.value,v.el);if(!(ac(d.value,v.el)<=C||Math.abs($-I)<16)){if(d.value&&s.value&&v.el){const{scrollWidth:k,offsetWidth:V}=v.el;$=k-V-$}d.value?b.horizontal($,f.value):b($,f.value)}}function w($){const{scrollTop:C,scrollLeft:I}=$.target;u.value=d.value?I:C}function z($){if(_.value=!0,!(!o.value||!p.el)){for(const C of $.composedPath())for(const I of p.el.children)if(I===C){O(I);return}}}function x($){_.value=!1}let R=!1;function M($){var C;!R&&!_.value&&!($.relatedTarget&&((C=p.el)!=null&&C.contains($.relatedTarget)))&&B(),R=!1}function T(){R=!0}function q($){if(!p.el)return;function C(I){$.preventDefault(),B(I)}d.value?$.key==="ArrowRight"?C(s.value?"prev":"next"):$.key==="ArrowLeft"&&C(s.value?"next":"prev"):$.key==="ArrowDown"?C("next"):$.key==="ArrowUp"&&C("prev"),$.key==="Home"?C("first"):$.key==="End"&&C("last")}function B($){var I,j;if(!p.el)return;let C;if(!$)C=si(p.el)[0];else if($==="next"){if(C=(I=p.el.querySelector(":focus"))==null?void 0:I.nextElementSibling,!C)return B("first")}else if($==="prev"){if(C=(j=p.el.querySelector(":focus"))==null?void 0:j.previousElementSibling,!C)return B("last")}else $==="first"?C=p.el.firstElementChild:$==="last"&&(C=p.el.lastElementChild);C&&C.focus({preventScroll:!0})}function H($){const C=d.value&&s.value?-1:1,I=($==="prev"?-C:C)*c.value;let j=u.value+I;if(d.value&&s.value&&v.el){const{scrollWidth:k,offsetWidth:V}=v.el;j+=k-V}S(j)}const Z=E(()=>({next:i.next,prev:i.prev,select:i.select,isSelected:i.isSelected})),oe=E(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!t.value;case!0:return o.value||Math.abs(u.value)>0;case"mobile":return t.value||o.value||Math.abs(u.value)>0;default:return!t.value&&(o.value||Math.abs(u.value)>0)}}),L=E(()=>Math.abs(u.value)>1),U=E(()=>{if(!v.value)return!1;const $=ac(d.value,v.el),C=Kw(d.value,v.el);return $-C-Math.abs(u.value)>1});return pe(()=>h(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!d.value,"v-slide-group--has-affixes":oe.value,"v-slide-group--is-overflowing":o.value},n.value,e.class],style:e.style,tabindex:_.value||i.selected.value.length?-1:0,onFocus:M},{default:()=>{var $,C,I;return[oe.value&&h("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!L.value}],onMousedown:T,onClick:()=>L.value&&H("prev")},[(($=r.prev)==null?void 0:$.call(r,Z.value))??h(oi,null,{default:()=>[h(Be,{icon:s.value?e.nextIcon:e.prevIcon},null)]})]),h("div",{key:"container",ref:v,class:"v-slide-group__container",onScroll:w},[h("div",{ref:p,class:"v-slide-group__content",onFocusin:z,onFocusout:x,onKeydown:q},[(C=r.default)==null?void 0:C.call(r,Z.value)])]),oe.value&&h("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!U.value}],onMousedown:T,onClick:()=>U.value&&H("next")},[((I=r.next)==null?void 0:I.call(r,Z.value))??h(oi,null,{default:()=>[h(Be,{icon:s.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:i.selected,scrollTo:H,scrollOffset:u,focus:B}}});function Hw(e){return e?e.map(a=>Cm(a)?a:{text:a,value:a}):[]}const Ww=ie({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...gl({mandatory:"force",selectedClass:"v-tab-item--selected"}),...fs(),...Wt()},"VTabs"),bl=ve()({name:"VTabs",props:Ww(),emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:r,slots:s}=a;const n=xe(e,"modelValue"),t=E(()=>Hw(e.items)),{densityClasses:i}=ms(e),{backgroundColorClasses:o,backgroundColorStyles:u}=At(ce(e,"bgColor")),{scopeId:c}=Qi();return Vn({VTab:{color:ce(e,"color"),direction:ce(e,"direction"),stacked:ce(e,"stacked"),fixed:ce(e,"fixedTabs"),sliderColor:ce(e,"sliderColor"),hideSlider:ce(e,"hideSlider")}}),pe(()=>{const l=rs.filterProps(e),d=!!(s.window||e.items.length>0);return h(ye,null,[h(rs,se(l,{modelValue:n.value,"onUpdate:modelValue":v=>n.value=v,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},i.value,o.value,e.class],style:[{"--v-tabs-height":Re(e.height)},u.value,e.style],role:"tablist",symbol:pl},c,r),{default:()=>{var v;return[((v=s.default)==null?void 0:v.call(s))??t.value.map(m=>{var p;return((p=s.tab)==null?void 0:p.call(s,{item:m}))??h(ir,se(m,{key:m.text,value:m.value}),{default:s[`tab.${m.value}`]?()=>{var g;return(g=s[`tab.${m.value}`])==null?void 0:g.call(s,{item:m})}:void 0})})]}}),d&&h(Pf,se({modelValue:n.value,"onUpdate:modelValue":v=>n.value=v,key:"tabs-window"},c),{default:()=>{var v;return[t.value.map(m=>{var p;return((p=s.item)==null?void 0:p.call(s,{item:m}))??h(Di,{value:m.value},{default:()=>{var g;return(g=s[`item.${m.value}`])==null?void 0:g.call(s,{item:m})}})}),(v=s.window)==null?void 0:v.call(s)]}})])}),{}}}),Gw={__name:"date-time-picker",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfDatePicker");const a=e,r=Ia(),s=ee("date"),n=ee(!1);de(n,()=>{s.value="date"});const{compProps:t,localData:i}=ut(ce(a,"modelValue"),a.statefulLayout),o=E(()=>{const c={...t.value};return c.hideActions=!0,i.value&&(c.modelValue=new Date(i.value)),c["onUpdate:modelValue"]=l=>{if(l){if(i.value){const d=l&&gf(l)[0];a.statefulLayout.input(a.modelValue,d+i.value.slice(10))}else a.statefulLayout.input(a.modelValue,yf(l));s.value="time"}},c}),u=E(()=>{const c={...t.value};return c["ampm-in-title"]=!0,i.value&&(c.modelValue=bf(i.value.slice(11))),c["onUpdate:modelValue"]=l=>{i.value&&(console.log("set time",l,i.value.slice(0,10),i.value.slice(15)),a.statefulLayout.input(a.modelValue,i.value.slice(0,11)+l+i.value.slice(16)))},c});return(c,l)=>(ae(),he(xs,{"menu-opened":n.value,"onUpdate:menuOpened":l[2]||(l[2]=d=>n.value=d),"model-value":e.modelValue,"stateful-layout":e.statefulLayout,"formatted-value":e.modelValue.data&&Y(r).format(e.modelValue.data,"fullDateTime")},{default:ne(()=>[h(Y(ia),{style:{width:"328px"}},{default:ne(()=>[h(Y(bl),{modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=d=>s.value=d),"align-tabs":"center"},{default:ne(()=>[h(Y(ir),{value:"date"},{default:ne(()=>[h(Y(Be),null,{default:ne(()=>l[3]||(l[3]=[Ke("mdi-calendar")])),_:1})]),_:1}),h(Y(ir),{value:"time",disabled:!e.modelValue.data},{default:ne(()=>[h(Y(Be),null,{default:ne(()=>l[4]||(l[4]=[Ke("mdi-clock")])),_:1})]),_:1},8,["disabled"])]),_:1},8,["modelValue"]),h(Y(Pf),{modelValue:s.value,"onUpdate:modelValue":l[1]||(l[1]=d=>s.value=d)},{default:ne(()=>[h(Y(Di),{value:"date"},{default:ne(()=>[h(Y(hf),Oa(Ea(o.value)),null,16)]),_:1}),h(Y(Di),{value:"time"},{default:ne(()=>[h(Y($f),Oa(Ea(u.value)),null,16)]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["menu-opened","model-value","stateful-layout","formatted-value"]))}},Yw=ie({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...qe()},"VColorPickerCanvas"),Xw=ur({name:"VColorPickerCanvas",props:Yw(),emits:{"update:color":e=>!0,"update:position":e=>!0},setup(e,a){let{emit:r}=a;const s=_e(!1),n=ee(),t=_e(parseFloat(e.width)),i=_e(parseFloat(e.height)),o=ee({x:0,y:0}),u=E({get:()=>o.value,set(b){var P,_;if(!n.value)return;const{x:f,y}=b;o.value=b,r("update:color",{h:((P=e.color)==null?void 0:P.h)??0,s:zt(f,0,t.value)/t.value,v:1-zt(y,0,i.value)/i.value,a:((_=e.color)==null?void 0:_.a)??1})}}),c=E(()=>{const{x:b,y:f}=u.value,y=parseInt(e.dotSize,10)/2;return{width:Re(e.dotSize),height:Re(e.dotSize),transform:`translate(${Re(b-y)}, ${Re(f-y)})`}}),{resizeRef:l}=er(b=>{var P;if(!((P=l.el)!=null&&P.offsetParent))return;const{width:f,height:y}=b[0].contentRect;t.value=f,i.value=y});function d(b,f,y){const{left:P,top:_,width:O,height:S}=y;u.value={x:zt(b-P,0,O),y:zt(f-_,0,S)}}function v(b){b.type==="mousedown"&&b.preventDefault(),!e.disabled&&(m(b),window.addEventListener("mousemove",m),window.addEventListener("mouseup",p),window.addEventListener("touchmove",m),window.addEventListener("touchend",p))}function m(b){if(e.disabled||!n.value)return;s.value=!0;const f=Vm(b);d(f.clientX,f.clientY,n.value.getBoundingClientRect())}function p(){window.removeEventListener("mousemove",m),window.removeEventListener("mouseup",p),window.removeEventListener("touchmove",m),window.removeEventListener("touchend",p)}function g(){var _;if(!n.value)return;const b=n.value,f=b.getContext("2d");if(!f)return;const y=f.createLinearGradient(0,0,b.width,0);y.addColorStop(0,"hsla(0, 0%, 100%, 1)"),y.addColorStop(1,`hsla(${((_=e.color)==null?void 0:_.h)??0}, 100%, 50%, 1)`),f.fillStyle=y,f.fillRect(0,0,b.width,b.height);const P=f.createLinearGradient(0,0,0,b.height);P.addColorStop(0,"hsla(0, 0%, 0%, 0)"),P.addColorStop(1,"hsla(0, 0%, 0%, 1)"),f.fillStyle=P,f.fillRect(0,0,b.width,b.height)}return de(()=>{var b;return(b=e.color)==null?void 0:b.h},g,{immediate:!0}),de(()=>[t.value,i.value],(b,f)=>{g(),o.value={x:u.value.x*b[0]/f[0],y:u.value.y*b[1]/f[1]}},{flush:"post"}),de(()=>e.color,()=>{if(s.value){s.value=!1;return}o.value=e.color?{x:e.color.s*t.value,y:(1-e.color.v)*i.value}:{x:0,y:0}},{deep:!0,immediate:!0}),oa(()=>g()),pe(()=>h("div",{ref:l,class:["v-color-picker-canvas",e.class],style:e.style,onMousedown:v,onTouchstartPassive:v},[h("canvas",{ref:n,width:t.value,height:i.value},null),e.color&&h("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":e.disabled}],style:c.value},null)])),{}}});function Jw(e,a){if(a){const{a:r,...s}=e;return s}return e}function Qw(e,a){if(a==null||typeof a=="string"){const r=yc(e);return e.a===1?r.slice(0,7):r}if(typeof a=="object"){let r;return Or(a,["r","g","b"])?r=gc(e):Or(a,["h","s","l"])?r=bc(e):Or(a,["h","s","v"])&&(r=e),Jw(r,!Or(a,["a"])&&e.a===1)}return e}const mn={h:0,s:0,v:0,a:1},Ri={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:e=>Math.round(e.r),getColor:(e,a)=>({...e,r:Number(a)})},{label:"G",max:255,step:1,getValue:e=>Math.round(e.g),getColor:(e,a)=>({...e,g:Number(a)})},{label:"B",max:255,step:1,getValue:e=>Math.round(e.b),getColor:(e,a)=>({...e,b:Number(a)})},{label:"A",max:1,step:.01,getValue:e=>{let{a}=e;return a!=null?Math.round(a*100)/100:1},getColor:(e,a)=>({...e,a:Number(a)})}],to:gc,from:Wi};var ic;const Zw={...Ri,inputs:(ic=Ri.inputs)==null?void 0:ic.slice(0,3)},Ni={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:e=>Math.round(e.h),getColor:(e,a)=>({...e,h:Number(a)})},{label:"S",max:1,step:.01,getValue:e=>Math.round(e.s*100)/100,getColor:(e,a)=>({...e,s:Number(a)})},{label:"L",max:1,step:.01,getValue:e=>Math.round(e.l*100)/100,getColor:(e,a)=>({...e,l:Number(a)})},{label:"A",max:1,step:.01,getValue:e=>{let{a}=e;return a!=null?Math.round(a*100)/100:1},getColor:(e,a)=>({...e,a:Number(a)})}],to:bc,from:Om},e_={...Ni,inputs:Ni.inputs.slice(0,3)},Of={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:e=>e,getColor:(e,a)=>a}],to:yc,from:kc},t_={...Of,inputs:[{label:"HEX",getValue:e=>e.slice(0,7),getColor:(e,a)=>a}]},Xa={rgb:Zw,rgba:Ri,hsl:e_,hsla:Ni,hex:t_,hexa:Of},a_=e=>{let{label:a,...r}=e;return h("div",{class:"v-color-picker-edit__input"},[h("input",r,null),h("span",null,[a])])},n_=ie({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(Xa).includes(e)},modes:{type:Array,default:()=>Object.keys(Xa),validator:e=>Array.isArray(e)&&e.every(a=>Object.keys(Xa).includes(a))},...qe()},"VColorPickerEdit"),r_=ur({name:"VColorPickerEdit",props:n_(),emits:{"update:color":e=>!0,"update:mode":e=>!0},setup(e,a){let{emit:r}=a;const s=E(()=>e.modes.map(t=>({...Xa[t],name:t}))),n=E(()=>{var o;const t=s.value.find(u=>u.name===e.mode);if(!t)return[];const i=e.color?t.to(e.color):null;return(o=t.inputs)==null?void 0:o.map(u=>{let{getValue:c,getColor:l,...d}=u;return{...t.inputProps,...d,disabled:e.disabled,value:i&&c(i),onChange:v=>{const m=v.target;m&&r("update:color",t.from(l(i??t.to(mn),m.value)))}}})});return pe(()=>{var t;return h("div",{class:["v-color-picker-edit",e.class],style:e.style},[(t=n.value)==null?void 0:t.map(i=>h(a_,i,null)),s.value.length>1&&h(Le,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const i=s.value.findIndex(o=>o.name===e.mode);r("update:mode",s.value[(i+1)%s.value.length].name)}},null)])}),{}}}),s_=ie({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...qe()},"VColorPickerPreview"),i_=ur({name:"VColorPickerPreview",props:s_(),emits:{"update:color":e=>!0},setup(e,a){let{emit:r}=a;const s=new AbortController;Em(()=>s.abort());async function n(){if(!Ll)return;const t=new window.EyeDropper;try{const i=await t.open({signal:s.signal}),o=kc(i.sRGBHex);r("update:color",{...e.color??mn,...o})}catch{}}return pe(()=>{var t,i;return h("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":e.hideAlpha},e.class],style:e.style},[Ll&&h("div",{class:"v-color-picker-preview__eye-dropper",key:"eyeDropper"},[h(Le,{onClick:n,icon:"$eyeDropper",variant:"plain",density:"comfortable"},null)]),h("div",{class:"v-color-picker-preview__dot"},[h("div",{style:{background:$c(e.color??mn)}},null)]),h("div",{class:"v-color-picker-preview__sliders"},[h(ji,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(t=e.color)==null?void 0:t.h,"onUpdate:modelValue":o=>r("update:color",{...e.color??mn,h:o}),step:0,min:0,max:360,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!e.hideAlpha&&h(ji,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((i=e.color)==null?void 0:i.a)??1,"onUpdate:modelValue":o=>r("update:color",{...e.color??mn,a:o}),step:1/256,min:0,max:1,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}}),o_=ie({swatches:{type:Array,default:()=>l_(jm)},disabled:Boolean,color:Object,maxHeight:[Number,String],...qe()},"VColorPickerSwatches");function l_(e){return Object.keys(e).map(a=>{const r=e[a];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const u_=ur({name:"VColorPickerSwatches",props:o_(),emits:{"update:color":e=>!0},setup(e,a){let{emit:r}=a;return pe(()=>h("div",{class:["v-color-picker-swatches",e.class],style:[{maxHeight:Re(e.maxHeight)},e.style]},[h("div",null,[e.swatches.map(s=>h("div",{class:"v-color-picker-swatches__swatch"},[s.map(n=>{const t=wc(n),i=Wi(t),o=xm(t);return h("div",{class:"v-color-picker-swatches__color",onClick:()=>i&&r("update:color",i)},[h("div",{style:{background:o}},[e.color&&Hi(e.color,i)?h(Be,{size:"x-small",icon:"$success",color:Im(n,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}}),c_=ie({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(Xa).includes(e)},modes:{type:Array,default:()=>Object.keys(Xa),validator:e=>Array.isArray(e)&&e.every(a=>Object.keys(Xa).includes(a))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...vt(Is({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),d_=ur({name:"VColorPicker",props:c_(),emits:{"update:modelValue":e=>!0,"update:mode":e=>!0},setup(e){const a=xe(e,"mode"),r=ee(null),s=xe(e,"modelValue",void 0,u=>{if(u==null||u==="")return null;let c;try{c=Wi(wc(u))}catch{return null}return c},u=>u?Qw(u,e.modelValue):null),n=E(()=>s.value?{...s.value,h:r.value??s.value.h}:null),{rtlClasses:t}=va();let i=!0;de(s,u=>{if(!i){i=!0;return}u&&(r.value=u.h)},{immediate:!0});const o=u=>{i=!1,r.value=u.h,s.value=u};return oa(()=>{e.modes.includes(a.value)||(a.value=e.modes[0])}),Vn({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),pe(()=>{const u=ia.filterProps(e);return h(ia,se({rounded:e.rounded,elevation:e.elevation,theme:e.theme,class:["v-color-picker",t.value,e.class],style:[{"--v-color-picker-color-hsv":$c({...n.value??mn,a:1})},e.style]},u,{maxWidth:e.width}),{default:()=>[!e.hideCanvas&&h(Xw,{key:"canvas",color:n.value,"onUpdate:color":o,disabled:e.disabled,dotSize:e.dotSize,width:e.width,height:e.canvasHeight},null),(!e.hideSliders||!e.hideInputs)&&h("div",{key:"controls",class:"v-color-picker__controls"},[!e.hideSliders&&h(i_,{key:"preview",color:n.value,"onUpdate:color":o,hideAlpha:!a.value.endsWith("a"),disabled:e.disabled},null),!e.hideInputs&&h(r_,{key:"edit",modes:e.modes,mode:a.value,"onUpdate:mode":c=>a.value=c,color:n.value,"onUpdate:color":o,disabled:e.disabled},null)]),e.showSwatches&&h(u_,{key:"swatches",color:n.value,"onUpdate:color":o,maxHeight:e.swatchesMaxHeight,swatches:e.swatches,disabled:e.disabled},null)]})}),{}}}),f_={__name:"color-picker",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfColorPicker");const a=e,{compProps:r,localData:s}=ut(ce(a,"modelValue"),a.statefulLayout),n=E(()=>{const t={...r.value};return t.modelValue=s.value,t});return(t,i)=>(ae(),he(xs,{"model-value":e.modelValue,"stateful-layout":e.statefulLayout,"formatted-value":e.modelValue.data},Gi({default:ne(()=>[h(Y(d_),se(n.value,{"onUpdate:modelValue":i[0]||(i[0]=o=>e.statefulLayout.input(e.modelValue,o))}),null,16)]),_:2},[e.modelValue.data?{name:"prepend-inner",fn:ne(()=>[is("div",{style:Am(`height:30px; width: 30px; border-radius: 40px; margin-right:6px; background: ${e.modelValue.data};`)},null,4)]),key:"0"}:void 0]),1032,["model-value","stateful-layout","formatted-value"]))}},Ef=Symbol.for("vuetify:v-chip-group"),m_=ie({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Hi},...gl(),...qe(),...ds({selectedClass:"v-chip--selected"}),...Wt(),...Ht(),...Tc({variant:"tonal"})},"VChipGroup");ve()({name:"VChipGroup",props:m_(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const{themeClasses:s}=ma(e),{isSelected:n,select:t,next:i,prev:o,selected:u}=cr(e,Ef);return Vn({VChip:{color:ce(e,"color"),disabled:ce(e,"disabled"),filter:ce(e,"filter"),variant:ce(e,"variant")}}),pe(()=>{const c=rs.filterProps(e);return h(rs,se(c,{class:["v-chip-group",{"v-chip-group--column":e.column},s.value,e.class],style:e.style}),{default:()=>{var l;return[(l=r.default)==null?void 0:l.call(r,{isSelected:n,select:t,next:i,prev:o,selected:u.value})]}})}),{}}});const v_=ie({activeClass:String,appendAvatar:String,appendIcon:rt,closable:Boolean,closeIcon:{type:rt,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:rt,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:na(),onClickOnce:na(),...jc(),...qe(),...fs(),...vr(),...us(),...dr(),...tv(),...av(),...Wt({tag:"span"}),...Ht(),...Tc({variant:"tonal"})},"VChip"),js=ve()({name:"VChip",directives:{Ripple:mr},props:v_(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,a){let{attrs:r,emit:s,slots:n}=a;const{t}=Ft(),{borderClasses:i}=Ac(e),{colorClasses:o,colorStyles:u,variantClasses:c}=nv(e),{densityClasses:l}=ms(e),{elevationClasses:d}=pr(e),{roundedClasses:v}=fr(e),{sizeClasses:m}=rv(e),{themeClasses:p}=ma(e),g=xe(e,"modelValue"),b=cs(e,Ef,!1),f=sv(e,r),y=E(()=>e.link!==!1&&f.isLink.value),P=E(()=>!e.disabled&&e.link!==!1&&(!!b||e.link||f.isClickable.value)),_=E(()=>({"aria-label":t(e.closeLabel),onClick(w){w.preventDefault(),w.stopPropagation(),g.value=!1,s("click:close",w)}}));function O(w){var z;s("click",w),P.value&&((z=f.navigate)==null||z.call(f,w),b==null||b.toggle())}function S(w){(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),O(w))}return()=>{const w=f.isLink.value?"a":e.tag,z=!!(e.appendIcon||e.appendAvatar),x=!!(z||n.append),R=!!(n.close||e.closable),M=!!(n.filter||e.filter)&&b,T=!!(e.prependIcon||e.prependAvatar),q=!!(T||n.prepend),B=!b||b.isSelected.value;return g.value&&mt(h(w,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":P.value,"v-chip--filter":M,"v-chip--pill":e.pill},p.value,i.value,B?o.value:void 0,l.value,d.value,v.value,m.value,c.value,b==null?void 0:b.selectedClass.value,e.class],style:[B?u.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:f.href.value,tabindex:P.value?0:void 0,onClick:O,onKeydown:P.value&&!y.value&&S},{default:()=>{var H;return[Mc(P.value,"v-chip"),M&&h(Pc,{key:"filter"},{default:()=>[mt(h("div",{class:"v-chip__filter"},[n.filter?h(ot,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},n.filter):h(Be,{key:"filter-icon",icon:e.filterIcon},null)]),[[xa,b.isSelected.value]])]}),q&&h("div",{key:"prepend",class:"v-chip__prepend"},[n.prepend?h(ot,{key:"prepend-defaults",disabled:!T,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},n.prepend):h(ye,null,[e.prependIcon&&h(Be,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&h(yn,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),h("div",{class:"v-chip__content","data-no-activator":""},[((H=n.default)==null?void 0:H.call(n,{isSelected:b==null?void 0:b.isSelected.value,selectedClass:b==null?void 0:b.selectedClass.value,select:b==null?void 0:b.select,toggle:b==null?void 0:b.toggle,value:b==null?void 0:b.value.value,disabled:e.disabled}))??e.text]),x&&h("div",{key:"append",class:"v-chip__append"},[n.append?h(ot,{key:"append-defaults",disabled:!z,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},n.append):h(ye,null,[e.appendIcon&&h(Be,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&h(yn,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),R&&h("button",se({key:"close",class:"v-chip__close",type:"button"},_.value),[n.close?h(ot,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},n.close):h(Be,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[ha("ripple"),P.value&&e.ripple,null]])}}}),p_=ie({start:Boolean,end:Boolean,...qe(),...Wt()},"VListItemAction"),Nr=ve()({name:"VListItemAction",props:p_(),setup(e,a){let{slots:r}=a;return pe(()=>h(e.tag,{class:["v-list-item-action",{"v-list-item-action--start":e.start,"v-list-item-action--end":e.end},e.class],style:e.style},r)),{}}}),h_=ie({renderless:Boolean,...qe()},"VVirtualScrollItem"),y_=ve()({name:"VVirtualScrollItem",inheritAttrs:!1,props:h_(),emits:{"update:height":e=>!0},setup(e,a){let{attrs:r,emit:s,slots:n}=a;const{resizeRef:t,contentRect:i}=er(void 0,"border");de(()=>{var o;return(o=i.value)==null?void 0:o.height},o=>{o!=null&&s("update:height",o)}),pe(()=>{var o,u;return e.renderless?h(ye,null,[(o=n.default)==null?void 0:o.call(n,{itemRef:t})]):h("div",se({ref:t,class:["v-virtual-scroll__item",e.class],style:e.style},r),[(u=n.default)==null?void 0:u.call(n)])})}}),g_=-1,b_=1,ai=100,k_=ie({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function $_(e,a){const r=ls(),s=_e(0);ra(()=>{s.value=parseFloat(e.itemHeight||0)});const n=_e(0),t=_e(Math.ceil((parseInt(e.height)||r.height.value)/(s.value||16))||1),i=_e(0),o=_e(0),u=ee(),c=ee();let l=0;const{resizeRef:d,contentRect:v}=er();ra(()=>{d.value=u.value});const m=E(()=>{var U;return u.value===document.documentElement?r.height.value:((U=v.value)==null?void 0:U.height)||parseInt(e.height)||0}),p=E(()=>!!(u.value&&c.value&&m.value&&s.value));let g=Array.from({length:a.value.length}),b=Array.from({length:a.value.length});const f=_e(0);let y=-1;function P(U){return g[U]||s.value}const _=Tm(()=>{const U=performance.now();b[0]=0;const $=a.value.length;for(let C=1;C<=$-1;C++)b[C]=(b[C-1]||0)+P(C-1);f.value=Math.max(f.value,performance.now()-U)},f),O=de(p,U=>{U&&(O(),l=c.value.offsetTop,_.immediate(),H(),~y&&nt(()=>{wt&&window.requestAnimationFrame(()=>{oe(y),y=-1})}))});Dt(()=>{_.clear()});function S(U,$){const C=g[U],I=s.value;s.value=I?Math.min(s.value,$):$,(C!==$||I!==s.value)&&(g[U]=$,_())}function w(U){return U=zt(U,0,a.value.length-1),b[U]||0}function z(U){return w_(b,U)}let x=0,R=0,M=0;de(m,(U,$)=>{$&&(H(),U<$&&requestAnimationFrame(()=>{R=0,H()}))});function T(){if(!u.value||!c.value)return;const U=u.value.scrollTop,$=performance.now();$-M>500?(R=Math.sign(U-x),l=c.value.offsetTop):R=U-x,x=U,M=$,H()}function q(){!u.value||!c.value||(R=0,M=0,H())}let B=-1;function H(){cancelAnimationFrame(B),B=requestAnimationFrame(Z)}function Z(){if(!u.value||!m.value)return;const U=x-l,$=Math.sign(R),C=Math.max(0,U-ai),I=zt(z(C),0,a.value.length),j=U+m.value+ai,k=zt(z(j)+1,I+1,a.value.length);if(($!==g_||It.value)){const V=w(n.value)-w(I),D=w(k)-w(t.value);Math.max(V,D)>ai?(n.value=I,t.value=k):(I<=0&&(n.value=I),k>=a.value.length&&(t.value=k))}i.value=w(n.value),o.value=w(a.value.length)-w(t.value)}function oe(U){const $=w(U);!u.value||U&&!$?y=U:u.value.scrollTop=$}const L=E(()=>a.value.slice(n.value,t.value).map((U,$)=>({raw:U,index:$+n.value})));return de(a,()=>{g=Array.from({length:a.value.length}),b=Array.from({length:a.value.length}),_.immediate(),H()},{deep:!0}),{containerRef:u,markerRef:c,computedItems:L,paddingTop:i,paddingBottom:o,scrollToIndex:oe,handleScroll:T,handleScrollend:q,handleItemResize:S}}function w_(e,a){let r=e.length-1,s=0,n=0,t=null,i=-1;if(e[r]>1,t=e[n],t>a)r=n-1;else if(t[]},renderless:Boolean,...k_(),...qe(),...hr()},"VVirtualScroll"),kl=ve()({name:"VVirtualScroll",props:__(),setup(e,a){let{slots:r}=a;const s=os("VVirtualScroll"),{dimensionStyles:n}=yr(e),{containerRef:t,markerRef:i,handleScroll:o,handleScrollend:u,handleItemResize:c,scrollToIndex:l,paddingTop:d,paddingBottom:v,computedItems:m}=$_(e,ce(e,"items"));return pn(()=>e.renderless,()=>{function p(){var f,y;const b=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)?"addEventListener":"removeEventListener";t.value===document.documentElement?(document[b]("scroll",o,{passive:!0}),document[b]("scrollend",u)):((f=t.value)==null||f[b]("scroll",o,{passive:!0}),(y=t.value)==null||y[b]("scrollend",u))}oa(()=>{t.value=zc(s.vnode.el,!0),p(!0)}),Dt(p)}),pe(()=>{const p=m.value.map(g=>h(y_,{key:g.index,renderless:e.renderless,"onUpdate:height":b=>c(g.index,b)},{default:b=>{var f;return(f=r.default)==null?void 0:f.call(r,{item:g.raw,index:g.index,...b})}}));return e.renderless?h(ye,null,[h("div",{ref:i,class:"v-virtual-scroll__spacer",style:{paddingTop:Re(d.value)}},null),p,h("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Re(v.value)}},null)]):h("div",{ref:t,class:["v-virtual-scroll",e.class],onScrollPassive:o,onScrollend:u,style:[n.value,e.style]},[h("div",{ref:i,class:"v-virtual-scroll__container",style:{paddingTop:Re(d.value),paddingBottom:Re(v.value)}},[p])])}),{scrollToIndex:l}}});function $l(e,a){const r=_e(!1);let s;function n(o){cancelAnimationFrame(s),r.value=!0,s=requestAnimationFrame(()=>{s=requestAnimationFrame(()=>{r.value=!1})})}async function t(){await new Promise(o=>requestAnimationFrame(o)),await new Promise(o=>requestAnimationFrame(o)),await new Promise(o=>requestAnimationFrame(o)),await new Promise(o=>{if(r.value){const u=de(r,()=>{u(),o()})}else o()})}async function i(o){var l,d;if(o.key==="Tab"&&((l=a.value)==null||l.focus()),!["PageDown","PageUp","Home","End"].includes(o.key))return;const u=(d=e.value)==null?void 0:d.$el;if(!u)return;(o.key==="Home"||o.key==="End")&&u.scrollTo({top:o.key==="Home"?0:u.scrollHeight,behavior:"smooth"}),await t();const c=u.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(o.key==="PageDown"||o.key==="Home"){const v=u.getBoundingClientRect().top;for(const m of c)if(m.getBoundingClientRect().top>=v){m.focus();break}}else{const v=u.getBoundingClientRect().bottom;for(const m of[...c].reverse())if(m.getBoundingClientRect().bottom<=v){m.focus();break}}}return{onListScroll:n,onListKeydown:i}}const wl=ie({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,listProps:{type:Object},menu:Boolean,menuIcon:{type:rt,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...qm({itemChildren:!1})},"Select"),S_=ie({...wl(),...vt(Os({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...En({transition:{component:Xd}})},"VSelect"),xf=ve()({name:"VSelect",props:S_(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,a){let{slots:r}=a;const{t:s}=Ft(),n=ee(),t=ee(),i=ee(),o=xe(e,"menu"),u=E({get:()=>o.value,set:L=>{var U;o.value&&!L&&((U=t.value)!=null&&U.ΨopenChildren)||(o.value=L)}}),{items:c,transformIn:l,transformOut:d}=Xi(e),v=xe(e,"modelValue",[],L=>l(L===null?[null]:lt(L)),L=>{const U=d(L);return e.multiple?U:U[0]??null}),m=E(()=>typeof e.counterValue=="function"?e.counterValue(v.value):typeof e.counterValue=="number"?e.counterValue:v.value.length),p=Vs(),g=E(()=>v.value.map(L=>L.value)),b=_e(!1),f=E(()=>u.value?e.closeText:e.openText);let y="",P;const _=E(()=>e.hideSelected?c.value.filter(L=>!v.value.some(U=>e.valueComparator(U,L))):c.value),O=E(()=>e.hideNoData&&!_.value.length||e.readonly||(p==null?void 0:p.isReadonly.value)),S=E(()=>{var L;return{...e.menuProps,activatorProps:{...((L=e.menuProps)==null?void 0:L.activatorProps)||{},"aria-haspopup":"listbox"}}}),w=ee(),{onListScroll:z,onListKeydown:x}=$l(w,n);function R(L){e.openOnClear&&(u.value=!0)}function M(){O.value||(u.value=!u.value)}function T(L){var j,k;if(!L.key||e.readonly||p!=null&&p.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(L.key)&&L.preventDefault(),["Enter","ArrowDown"," "].includes(L.key)&&(u.value=!0),["Escape","Tab"].includes(L.key)&&(u.value=!1),L.key==="Home"?(j=w.value)==null||j.focus("first"):L.key==="End"&&((k=w.value)==null||k.focus("last"));const U=1e3;function $(V){const D=V.key.length===1,K=!V.ctrlKey&&!V.metaKey&&!V.altKey;return D&&K}if(e.multiple||!$(L))return;const C=performance.now();C-P>U&&(y=""),y+=L.key.toLowerCase(),P=C;const I=c.value.find(V=>V.title.toLowerCase().startsWith(y));if(I!==void 0){v.value=[I];const V=_.value.indexOf(I);wt&&window.requestAnimationFrame(()=>{var D;V>=0&&((D=i.value)==null||D.scrollToIndex(V))})}}function q(L){let U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!L.props.disabled)if(e.multiple){const $=v.value.findIndex(I=>e.valueComparator(I.value,L.value)),C=U??!~$;if(~$){const I=C?[...v.value,L]:[...v.value];I.splice($,1),v.value=I}else C&&(v.value=[...v.value,L])}else{const $=U!==!1;v.value=$?[L]:[],nt(()=>{u.value=!1})}}function B(L){var U;(U=w.value)!=null&&U.$el.contains(L.relatedTarget)||(u.value=!1)}function H(){var L;b.value&&((L=n.value)==null||L.focus())}function Z(L){b.value=!0}function oe(L){if(L==null)v.value=[];else if(hn(n.value,":autofill")||hn(n.value,":-webkit-autofill")){const U=c.value.find($=>$.title===L);U&&q(U)}else n.value&&(n.value.value="")}return de(u,()=>{if(!e.hideSelected&&u.value&&v.value.length){const L=_.value.findIndex(U=>v.value.some($=>e.valueComparator($.value,U.value)));wt&&window.requestAnimationFrame(()=>{var U;L>=0&&((U=i.value)==null||U.scrollToIndex(L))})}}),de(()=>e.items,(L,U)=>{u.value||b.value&&!U.length&&L.length&&(u.value=!0)}),pe(()=>{const L=!!(e.chips||r.chip),U=!!(!e.hideNoData||_.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),$=v.value.length>0,C=sa.filterProps(e),I=$||!b.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return h(sa,se({ref:n},C,{modelValue:v.value.map(j=>j.props.value).join(", "),"onUpdate:modelValue":oe,focused:b.value,"onUpdate:focused":j=>b.value=j,validationValue:v.externalValue,counterValue:m.value,dirty:$,class:["v-select",{"v-select--active-menu":u.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!r.selection},e.class],style:e.style,inputmode:"none",placeholder:I,"onClick:clear":R,"onMousedown:control":M,onBlur:B,onKeydown:T,"aria-label":s(f.value),title:s(f.value)}),{...r,default:()=>h(ye,null,[h(_r,se({ref:t,modelValue:u.value,"onUpdate:modelValue":j=>u.value=j,activator:"parent",contentClass:"v-select__content",disabled:O.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:H},S.value),{default:()=>[U&&h(Zn,se({ref:w,selected:g.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:j=>j.preventDefault(),onKeydown:x,onFocusin:Z,onScrollPassive:z,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},e.listProps),{default:()=>{var j,k,V;return[(j=r["prepend-item"])==null?void 0:j.call(r),!_.value.length&&!e.hideNoData&&(((k=r["no-data"])==null?void 0:k.call(r))??h(It,{title:s(e.noDataText)},null)),h(kl,{ref:i,renderless:!0,items:_.value},{default:D=>{var le;let{item:K,index:Q,itemRef:te}=D;const X=se(K.props,{ref:te,key:Q,onClick:()=>q(K,null)});return((le=r.item)==null?void 0:le.call(r,{item:K,index:Q,props:X}))??h(It,se(X,{role:"option"}),{prepend:J=>{let{isSelected:re}=J;return h(ye,null,[e.multiple&&!e.hideSelected?h(_n,{key:K.value,modelValue:re,ripple:!1,tabindex:"-1"},null):void 0,K.props.prependAvatar&&h(yn,{image:K.props.prependAvatar},null),K.props.prependIcon&&h(Be,{icon:K.props.prependIcon},null)])}})}}),(V=r["append-item"])==null?void 0:V.call(r)]}})]}),v.value.map((j,k)=>{function V(te){te.stopPropagation(),te.preventDefault(),q(j,!1)}const D={"onClick:close":V,onKeydown(te){te.key!=="Enter"&&te.key!==" "||(te.preventDefault(),te.stopPropagation(),V(te))},onMousedown(te){te.preventDefault(),te.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},K=L?!!r.chip:!!r.selection,Q=K?Yi(L?r.chip({item:j,index:k,props:D}):r.selection({item:j,index:k})):void 0;if(!(K&&!Q))return h("div",{key:j.value,class:"v-select__selection"},[L?r.chip?h(ot,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:j.title}}},{default:()=>[Q]}):h(js,se({key:"chip",closable:e.closableChips,size:"small",text:j.title,disabled:j.props.disabled},D),null):Q??h("span",{class:"v-select__selection-text"},[j.title,e.multiple&&k!!(e.value.layout.items||e.value.layout.getItems)),i=async()=>{s.value=!0,r.value=await a.getItems(e.value,n.value),s.value=!1};return de(()=>e.value.itemsCacheKey,(u,c)=>{u!==c&&i()},{immediate:!0}),de(n,()=>{i()}),{hasItems:t,items:r,loading:s,search:n,prepareSelectedItem:(u,c)=>{let l=u;if(u===c)try{l=a.prepareSelectItem(e.value,u),l.value===void 0&&(l.value=c)}catch{l={value:c}}return l}}}const If=yt({props:{icon:{type:String,required:!0}},setup(e){const a=E(()=>e.icon.startsWith("http://")||e.icon.startsWith("https://")),r=E(()=>e.icon.startsWith("a.value?ze("img",{src:e.icon,style:"height:100%;width:100%;"}):r.value?ze("div",{innerHTML:e.icon.replace("e.icon)}}),P_={__name:"select-item",props:{multiple:{type:Boolean,default:!1},itemProps:{type:Object,required:!0},item:{type:Object,required:!0}},setup(e){return(a,r)=>(ae(),he(Y(It),Oa(Ea(e.itemProps)),Gi({_:2},[e.item.icon||e.multiple?{name:"prepend",fn:ne(({isSelected:s})=>[e.multiple?(ae(),he(Y(_n),{key:e.item.key,ripple:!1,tabindex:"-1","model-value":s},null,8,["model-value"])):De("",!0),e.item.icon?(ae(),he(If,{key:1,icon:e.item.icon},null,8,["icon"])):De("",!0)]),key:"0"}:void 0]),1040))}},C_={class:"v-select__selection-text"},V_={key:1,class:"v-select__selection-comma"},O_={__name:"select-selection",props:{multiple:{type:Boolean,default:!1},last:{type:Boolean,default:!1},item:{type:Object,required:!0}},setup(e){return(a,r)=>(ae(),Fe("span",C_,[e.item.icon?(ae(),he(If,{key:0,icon:e.item.icon},null,8,["icon"])):De("",!0),Ke(" "+xt(e.item.title??e.item.key??e.item.value)+" ",1),e.multiple&&!e.last?(ae(),Fe("span",V_,",")):De("",!0)]))}};function jf(e,a){const r=E(()=>e.value.layout),{inputProps:s,options:n,skeleton:t,localData:i,compSlots:o}=ut(e,a,{layoutPropsMap:["multiple"],bindData:!1}),u=Sr(e,a),c=E(()=>{const d={...s.value};return n.value.readOnly&&(d.menuProps={modelValue:!1}),d.clearable=d.clearable??!t.value.required,d.valueComparator=(v,m)=>{const p=typeof v=="object"?a.prepareSelectItem(e.value,v).key:v,g=typeof m=="object"?a.prepareSelectItem(e.value,m).key:m;return p===g},d["onUpdate:modelValue"]=v=>{if(Array.isArray(v)&&Array.isArray(e.value.data))for(let p=0;pa.blur(e.value),d}),l=E(()=>{const d={...o.value};return d.item||(d.item=v=>ze(P_,{multiple:r.value.multiple,itemProps:v.props,item:v.item.raw})),d.selection||(d.selection=v=>ze(O_,{multiple:r.value.multiple,last:r.value.multiple&&v.index===e.value.data.length-1,item:u.prepareSelectedItem(v.item.raw,v.item.value)})),d});return{localData:i,inputProps:s,selectProps:c,compSlots:o,selectSlots:l,getItems:u}}const E_=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfSelect");const{getItems:a,selectProps:r,selectSlots:s,localData:n}=jf(ce(e,"modelValue"),e.statefulLayout),t=E(()=>{const i={...r.value};return i.loading=a.loading.value,i.items=a.items.value,i.modelValue=n.value,i});return()=>ze(xf,t.value,s.value)}}),x_=(e,a,r)=>e==null||a==null?-1:e.toString().toLocaleLowerCase().indexOf(a.toString().toLocaleLowerCase()),Af=ie({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function I_(e,a,r){var o;const s=[],n=(r==null?void 0:r.default)??x_,t=r!=null&&r.filterKeys?lt(r.filterKeys):!1,i=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(e!=null&&e.length))return s;e:for(let u=0;u0)&&!(r!=null&&r.noFilter)){if(typeof c=="object"){const b=t||Object.keys(l);for(const f of b){const y=ii(l,f),P=(o=r==null?void 0:r.customKeyFilter)==null?void 0:o[f];if(m=P?P(y,a,c):n(y,a,c),m!==-1&&m!==!1)P?d[f]=m:v[f]=m;else if((r==null?void 0:r.filterMode)==="every")continue e}}else m=n(c,a,c),m!==-1&&m!==!1&&(v.title=m);const p=Object.keys(v).length,g=Object.keys(d).length;if(!p&&!g||(r==null?void 0:r.filterMode)==="union"&&g!==i&&!p||(r==null?void 0:r.filterMode)==="intersection"&&(g!==i||!p))continue}s.push({index:u,matches:{...v,...d}})}return s}function Tf(e,a,r,s){const n=ee([]),t=ee(new Map),i=E(()=>Y(a));ra(()=>{const u=typeof r=="function"?r():Y(r),c=typeof u!="string"&&typeof u!="number"?"":String(u),l=I_(i.value,c,{customKeyFilter:{...e.customKeyFilter,...Y(s==null?void 0:s.customKeyFilter)},default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),d=Y(a),v=[],m=new Map;l.forEach(p=>{let{index:g,matches:b}=p;const f=d[g];v.push(f),m.set(f.value,b)}),n.value=v,t.value=m});function o(u){return t.value.get(u.value)}return{filteredItems:n,filteredMatches:t,getMatches:o}}function j_(e,a,r){if(a==null)return e;if(Array.isArray(a))throw new Error("Multiple matches is not implemented");return typeof a=="number"&&~a?h(ye,null,[h("span",{class:"v-autocomplete__unmask"},[e.substr(0,a)]),h("span",{class:"v-autocomplete__mask"},[e.substr(a,r)]),h("span",{class:"v-autocomplete__unmask"},[e.substr(a+r)])]):e}const A_=ie({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:Boolean,search:String,...Af({filterKeys:["title"]}),...wl(),...vt(Os({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...En({transition:!1})},"VAutocomplete"),T_=ve()({name:"VAutocomplete",props:A_(),emits:{"update:focused":e=>!0,"update:search":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,a){let{slots:r}=a;const{t:s}=Ft(),n=ee(),t=_e(!1),i=_e(!0),o=_e(!1),u=ee(),c=ee(),l=xe(e,"menu"),d=E({get:()=>l.value,set:X=>{var le;l.value&&!X&&((le=u.value)!=null&&le.ΨopenChildren)||(l.value=X)}}),v=_e(-1),m=E(()=>{var X;return(X=n.value)==null?void 0:X.color}),p=E(()=>d.value?e.closeText:e.openText),{items:g,transformIn:b,transformOut:f}=Xi(e),{textColorClasses:y,textColorStyles:P}=ja(m),_=xe(e,"search",""),O=xe(e,"modelValue",[],X=>b(X===null?[null]:lt(X)),X=>{const le=f(X);return e.multiple?le:le[0]??null}),S=E(()=>typeof e.counterValue=="function"?e.counterValue(O.value):typeof e.counterValue=="number"?e.counterValue:O.value.length),w=Vs(),{filteredItems:z,getMatches:x}=Tf(e,g,()=>i.value?"":_.value),R=E(()=>e.hideSelected?z.value.filter(X=>!O.value.some(le=>le.value===X.value)):z.value),M=E(()=>!!(e.chips||r.chip)),T=E(()=>M.value||!!r.selection),q=E(()=>O.value.map(X=>X.props.value)),B=E(()=>{var le;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&_.value===((le=R.value[0])==null?void 0:le.title))&&R.value.length>0&&!i.value&&!o.value}),H=E(()=>e.hideNoData&&!R.value.length||e.readonly||(w==null?void 0:w.isReadonly.value)),Z=ee(),{onListScroll:oe,onListKeydown:L}=$l(Z,n);function U(X){e.openOnClear&&(d.value=!0),_.value=""}function $(){H.value||(d.value=!0)}function C(X){H.value||(t.value&&(X.preventDefault(),X.stopPropagation()),d.value=!d.value)}function I(X){var re,ke,me;if(e.readonly||w!=null&&w.isReadonly.value)return;const le=n.value.selectionStart,J=O.value.length;if((v.value>-1||["Enter","ArrowDown","ArrowUp"].includes(X.key))&&X.preventDefault(),["Enter","ArrowDown"].includes(X.key)&&(d.value=!0),["Escape"].includes(X.key)&&(d.value=!1),B.value&&["Enter","Tab"].includes(X.key)&&!O.value.some(fe=>{let{value:ue}=fe;return ue===R.value[0].value})&&te(R.value[0]),X.key==="ArrowDown"&&B.value&&((re=Z.value)==null||re.focus("next")),["Backspace","Delete"].includes(X.key)){if(!e.multiple&&T.value&&O.value.length>0&&!_.value)return te(O.value[0],!1);if(~v.value){const fe=v.value;te(O.value[v.value],!1),v.value=fe>=J-1?J-2:fe}else X.key==="Backspace"&&!_.value&&(v.value=J-1)}if(e.multiple){if(X.key==="ArrowLeft"){if(v.value<0&&le>0)return;const fe=v.value>-1?v.value-1:J-1;O.value[fe]?v.value=fe:(v.value=-1,n.value.setSelectionRange((ke=_.value)==null?void 0:ke.length,(me=_.value)==null?void 0:me.length))}if(X.key==="ArrowRight"){if(v.value<0)return;const fe=v.value+1;O.value[fe]?v.value=fe:(v.value=-1,n.value.setSelectionRange(0,0))}}}function j(X){if(hn(n.value,":autofill")||hn(n.value,":-webkit-autofill")){const le=g.value.find(J=>J.title===X.target.value);le&&te(le)}}function k(){var X;t.value&&(i.value=!0,(X=n.value)==null||X.focus())}function V(X){t.value=!0,setTimeout(()=>{o.value=!0})}function D(X){o.value=!1}function K(X){(X==null||X===""&&!e.multiple&&!T.value)&&(O.value=[])}const Q=_e(!1);function te(X){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!(!X||X.props.disabled))if(e.multiple){const J=O.value.findIndex(ke=>e.valueComparator(ke.value,X.value)),re=le??!~J;if(~J){const ke=re?[...O.value,X]:[...O.value];ke.splice(J,1),O.value=ke}else re&&(O.value=[...O.value,X]);e.clearOnSelect&&(_.value="")}else{const J=le!==!1;O.value=J?[X]:[],_.value=J&&!T.value?X.title:"",nt(()=>{d.value=!1,i.value=!0})}}return de(t,(X,le)=>{var J;X!==le&&(X?(Q.value=!0,_.value=e.multiple||T.value?"":String(((J=O.value.at(-1))==null?void 0:J.props.title)??""),i.value=!0,nt(()=>Q.value=!1)):(!e.multiple&&_.value==null&&(O.value=[]),d.value=!1,O.value.some(re=>{let{title:ke}=re;return ke===_.value})||(_.value=""),v.value=-1))}),de(_,X=>{!t.value||Q.value||(X&&(d.value=!0),i.value=!X)}),de(d,()=>{if(!e.hideSelected&&d.value&&O.value.length){const X=R.value.findIndex(le=>O.value.some(J=>le.value===J.value));wt&&window.requestAnimationFrame(()=>{var le;X>=0&&((le=c.value)==null||le.scrollToIndex(X))})}}),de(()=>e.items,(X,le)=>{d.value||t.value&&!le.length&&X.length&&(d.value=!0)}),pe(()=>{const X=!!(!e.hideNoData||R.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),le=O.value.length>0,J=sa.filterProps(e);return h(sa,se({ref:n},J,{modelValue:_.value,"onUpdate:modelValue":[re=>_.value=re,K],focused:t.value,"onUpdate:focused":re=>t.value=re,validationValue:O.externalValue,counterValue:S.value,dirty:le,onChange:j,class:["v-autocomplete",`v-autocomplete--${e.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":d.value,"v-autocomplete--chips":!!e.chips,"v-autocomplete--selection-slot":!!T.value,"v-autocomplete--selecting-index":v.value>-1},e.class],style:e.style,readonly:e.readonly,placeholder:le?void 0:e.placeholder,"onClick:clear":U,"onMousedown:control":$,onKeydown:I}),{...r,default:()=>h(ye,null,[h(_r,se({ref:u,modelValue:d.value,"onUpdate:modelValue":re=>d.value=re,activator:"parent",contentClass:"v-autocomplete__content",disabled:H.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:k},e.menuProps),{default:()=>[X&&h(Zn,se({ref:Z,selected:q.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:re=>re.preventDefault(),onKeydown:L,onFocusin:V,onFocusout:D,onScrollPassive:oe,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},e.listProps),{default:()=>{var re,ke,me;return[(re=r["prepend-item"])==null?void 0:re.call(r),!R.value.length&&!e.hideNoData&&(((ke=r["no-data"])==null?void 0:ke.call(r))??h(It,{title:s(e.noDataText)},null)),h(kl,{ref:c,renderless:!0,items:R.value},{default:fe=>{var we;let{item:ue,index:Oe,itemRef:Ce}=fe;const Ne=se(ue.props,{ref:Ce,key:Oe,active:B.value&&Oe===0?!0:void 0,onClick:()=>te(ue,null)});return((we=r.item)==null?void 0:we.call(r,{item:ue,index:Oe,props:Ne}))??h(It,se(Ne,{role:"option"}),{prepend:je=>{let{isSelected:Ae}=je;return h(ye,null,[e.multiple&&!e.hideSelected?h(_n,{key:ue.value,modelValue:Ae,ripple:!1,tabindex:"-1"},null):void 0,ue.props.prependAvatar&&h(yn,{image:ue.props.prependAvatar},null),ue.props.prependIcon&&h(Be,{icon:ue.props.prependIcon},null)])},title:()=>{var je,Ae;return i.value?ue.title:j_(ue.title,(je=x(ue))==null?void 0:je.title,((Ae=_.value)==null?void 0:Ae.length)??0)}})}}),(me=r["append-item"])==null?void 0:me.call(r)]}})]}),O.value.map((re,ke)=>{function me(Ce){Ce.stopPropagation(),Ce.preventDefault(),te(re,!1)}const fe={"onClick:close":me,onKeydown(Ce){Ce.key!=="Enter"&&Ce.key!==" "||(Ce.preventDefault(),Ce.stopPropagation(),me(Ce))},onMousedown(Ce){Ce.preventDefault(),Ce.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},ue=M.value?!!r.chip:!!r.selection,Oe=ue?Yi(M.value?r.chip({item:re,index:ke,props:fe}):r.selection({item:re,index:ke})):void 0;if(!(ue&&!Oe))return h("div",{key:re.value,class:["v-autocomplete__selection",ke===v.value&&["v-autocomplete__selection--selected",y.value]],style:ke===v.value?P.value:{}},[M.value?r.chip?h(ot,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:re.title}}},{default:()=>[Oe]}):h(js,se({key:"chip",closable:e.closableChips,size:"small",text:re.title,disabled:re.props.disabled},fe),null):Oe??h("span",{class:"v-autocomplete__selection-text"},[re.title,e.multiple&&ke{const i={...r.value};return i.noFilter=!0,i["onUpdate:search"]=o=>{a.search.value=o},i.items=a.items.value,i.loading=a.loading.value,i.modelValue=n.value,i});return()=>ze(T_,t.value,s.value)}}),D_=ie({...Es({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),R_=ve()({name:"VRadio",props:D_(),setup(e,a){let{slots:r}=a;return pe(()=>{const s=en.filterProps(e);return h(en,se(s,{class:["v-radio",e.class],style:e.style,type:"radio"}),r)}),{}}}),N_=ie({height:{type:[Number,String],default:"auto"},...Aa(),...vt(cl(),["multiple"]),trueIcon:{type:rt,default:"$radioOn"},falseIcon:{type:rt,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),z_=ve()({name:"VRadioGroup",inheritAttrs:!1,props:N_(),emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:r,slots:s}=a;const n=pa(),t=E(()=>e.id||`radio-group-${n}`),i=xe(e,"modelValue");return pe(()=>{const[o,u]=an(r),c=_t.filterProps(e),l=en.filterProps(e),d=s.label?s.label({label:e.label,props:{for:t.value}}):e.label;return h(_t,se({class:["v-radio-group",e.class],style:e.style},o,c,{modelValue:i.value,"onUpdate:modelValue":v=>i.value=v,id:t.value}),{...s,default:v=>{let{id:m,messagesId:p,isDisabled:g,isReadonly:b}=v;return h(ye,null,[d&&h(wr,{id:m.value},{default:()=>[d]}),h(E0,se(l,{id:m.value,"aria-describedby":p.value,defaultsTarget:"VRadio",trueIcon:e.trueIcon,falseIcon:e.falseIcon,type:e.type,disabled:g.value,readonly:b.value,"aria-labelledby":d?m.value:void 0,multiple:!1},u,{modelValue:i.value,"onUpdate:modelValue":f=>i.value=f}),s)])}})}),{}}}),F_={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function L_(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return h("div",{class:["v-skeleton-loader__bone",`v-skeleton-loader__${e}`]},[a])}function nc(e){const[a,r]=e.split("@");return Array.from({length:r}).map(()=>As(a))}function As(e){let a=[];if(!e)return a;const r=F_[e];if(e!==r){if(e.includes(","))return rc(e);if(e.includes("@"))return nc(e);r.includes(",")?a=rc(r):r.includes("@")?a=nc(r):r&&a.push(As(r))}return[L_(e,a)]}function rc(e){return e.replace(/\s/g,"").split(",").map(As)}const q_=ie({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...hr(),...vr(),...Ht()},"VSkeletonLoader"),Mf=ve()({name:"VSkeletonLoader",props:q_(),setup(e,a){let{slots:r}=a;const{backgroundColorClasses:s,backgroundColorStyles:n}=At(ce(e,"color")),{dimensionStyles:t}=yr(e),{elevationClasses:i}=pr(e),{themeClasses:o}=ma(e),{t:u}=Ft(),c=E(()=>As(lt(e.type).join(",")));return pe(()=>{var d;const l=!r.default||e.loading;return h("div",{class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":e.boilerplate},o.value,s.value,i.value],style:[n.value,l?t.value:{}],"aria-busy":e.boilerplate?void 0:l,"aria-live":e.boilerplate?void 0:"polite","aria-label":e.boilerplate?void 0:u(e.loadingText),role:e.boilerplate?void 0:"alert"},[l?c.value:(d=r.default)==null?void 0:d.call(r)])}),{}}}),B_=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfRadioGroup");const a=ce(e,"modelValue"),r=Sr(a,e.statefulLayout),{inputProps:s,compSlots:n,localData:t}=ut(a,e.statefulLayout),i=E(()=>{const u={...s.value};return u.modelValue=t.value,u}),o=E(()=>{const u={...n.value},c=[];if(r.loading.value)c.push(ze(Mf,{type:"chip"}));else for(const l of r.items.value)c.push(ze(R_,{label:l.title,value:l.value}));return u.default=()=>c,u});return()=>ze(z_,i.value,o.value)}}),Df=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0},type:{type:String,required:!0}},setup(e){const a=ce(e,"modelValue"),r=Sr(a,e.statefulLayout),{inputProps:s,compSlots:n,localData:t,layout:i}=ut(a,e.statefulLayout,{bindData:!1}),o=E(()=>{const c={...s.value};return c.class.push("v-radio-group"),c.class.push("vjsf-selection-group"),c}),u=E(()=>{const c={...n.value};return c.default||(c.default=()=>{var d;const l=[ze(wr,{text:o.value.label})];if(r.loading.value)l.push(ze(Mf,{type:"chip"}));else{const v=[];for(const m of r.items.value){let p=!1;i.value.multiple?p=(d=t.value)==null?void 0:d.includes(m.value):p=t.value===m.value,v.push(ze(e.type==="switch"?rf:nf,{label:m.title,hideDetails:!0,key:m.key,modelValue:p,onClick:()=>{let g;i.value.multiple?(g=e.modelValue.data?[...e.modelValue.data]:[],g.includes(m.value)?g=g.filter(b=>b!==m.value):g.push(m.value)):e.modelValue.data===m.value?g=void 0:g=m.value,e.statefulLayout.input(e.modelValue,g)}}))}l.push(ze("div",{class:"v-selection-control-group"},v))}return l}),c});return()=>ze(_t,o.value,u.value)}}),K_=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){return Ue({},"VjsfCheckboxGroup"),()=>ze(Df,{modelValue:e.modelValue,statefulLayout:e.statefulLayout,type:"checkbox"})}}),U_=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){return Ue({},"VjsfSwitchGroup"),()=>ze(Df,{modelValue:e.modelValue,statefulLayout:e.statefulLayout,type:"switch"})}}),H_={__name:"one-of-select",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfOneOfSelect");const a=e,{inputProps:r,localData:s,skeleton:n,children:t}=ut(ce(a,"modelValue"),a.statefulLayout,{bindData:!1}),i=ee(void 0);de(()=>{var c,l;return(l=(c=t.value)==null?void 0:c[0])==null?void 0:l.key},()=>{var c,l;((c=a.modelValue.children)==null?void 0:c.length)===1?typeof a.modelValue.children[0].key=="number"&&(i.value=(l=n.value.childrenTrees)==null?void 0:l[a.modelValue.children[0].key]):i.value=void 0},{immediate:!0});const o=c=>{n.value.childrenTrees&&a.statefulLayout.activateItem(a.modelValue,n.value.childrenTrees.indexOf(c))},u=E(()=>{const c={...r.value};c["onUpdate:modelValue"]=o;const l=[];for(const d of n.value.childrenTrees||[]){const v=a.statefulLayout.compiledLayout.skeletonTrees[d],m=a.statefulLayout.compiledLayout.normalizedLayouts[v.root];(!Xk(m)||!m.if||a.statefulLayout.evalNodeExpression(a.modelValue,m.if,s.value))&&l.push(v)}return c.items=l,c.itemTitle="title",c.itemValue=d=>d.root,c});return(c,l)=>(ae(),he(Y(ya),null,{default:ne(()=>{var d,v,m;return[e.modelValue.skeleton.childrenTrees?(ae(),he(Y(qd),{key:0},{default:ne(()=>[h(Y(xf),se(u.value,{"model-value":i.value}),null,16,["model-value"])]),_:1})):De("",!0),(d=e.modelValue.children)!=null&&d[0]?(ae(!0),Fe(ye,{key:1},ht(Y(rn)((v=e.modelValue.children)==null?void 0:v[0])?(m=e.modelValue.children)==null?void 0:m[0].children:e.modelValue.children,p=>(ae(),he(ga,{key:p.fullKey,"model-value":p,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128)):De("",!0)]}),_:1}))}},W_=["innerHTML"],Ts={__name:"child-subtitle",props:{modelValue:{type:Object,required:!0}},setup(e){const a=E(()=>e.modelValue.options.density==="default"?"mt-1 mb-5":e.modelValue.options.density==="comfortable"?"mb-4":"mb-3");return(r,s)=>Y(rn)(e.modelValue)&&e.modelValue.layout.subtitle?(ae(),Fe("p",{key:0,class:ta(`text-subtitle ${a.value}`),innerHTML:e.modelValue.layout.subtitle},null,10,W_)):De("",!0)}};function _l(e,a=null){const r=Ct(Symbol.for("vuetify:defaults"));if(!r)throw new Error("[vjsf] Could not find defaults instance");return E(()=>{var n;const s=((n=r.value)==null?void 0:n[e])??{};return a?{...s,...a}:s})}const G_={__name:"tabs",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfTabs");const a=_l("VjsfTabs-VSheet",{border:!0}),r=ee(0);return(s,n)=>(ae(),Fe(ye,null,[h(Nn,{node:e.modelValue},null,8,["node"]),h(Y(ia),Oa(Ea(Y(a))),{default:ne(()=>[h(Y(bl),{modelValue:r.value,"onUpdate:modelValue":n[0]||(n[0]=t=>r.value=t),direction:"horizontal"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,(t,i)=>(ae(),he(Y(ir),{key:t.key,value:i,color:t.validated&&(t.error||t.childError)?"error":void 0},{default:ne(()=>[t.validated&&(t.error||t.childError)?(ae(),he(Y(Be),{key:0,color:"error"},{default:ne(()=>n[2]||(n[2]=[Ke(" mdi-alert ")])),_:1})):De("",!0),Ke(" "+xt(t.layout.title??t.layout.label),1)]),_:2},1032,["value","color"]))),128))]),_:1},8,["modelValue"]),h(Y(Sn),{modelValue:r.value,"onUpdate:modelValue":n[1]||(n[1]=t=>r.value=t)},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,(t,i)=>(ae(),he(Y(Pn),{key:t.key,value:i},{default:ne(()=>[h(Y(gr),{fluid:""},{default:ne(()=>{var o,u;return[h(Ts,{"model-value":t},null,8,["model-value"]),h(Y(ya),{dense:((o=e.modelValue.options)==null?void 0:o.density)==="compact"||((u=e.modelValue.options)==null?void 0:u.density)==="comfortable"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(Y(rn)(t)?t.children:[t],c=>(ae(),he(ga,{key:c.fullKey,"model-value":c,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:2},1032,["dense"])]}),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1},16)],64))}},Y_={class:"d-flex flex-row"},X_={__name:"vertical-tabs",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfVerticalTabs");const a=_l("VjsfVerticalTabs-VSheet",{border:!0}),r=ee(0);return(s,n)=>(ae(),Fe(ye,null,[h(Nn,{node:e.modelValue},null,8,["node"]),h(Y(ia),Oa(Ea(Y(a))),{default:ne(()=>[is("div",Y_,[h(Y(bl),{modelValue:r.value,"onUpdate:modelValue":n[0]||(n[0]=t=>r.value=t),direction:"vertical"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,(t,i)=>(ae(),he(Y(ir),{key:t.key,value:i,color:t.validated&&(t.error||t.childError)?"error":void 0},{default:ne(()=>[t.validated&&(t.error||t.childError)?(ae(),he(Y(Be),{key:0,color:"error"},{default:ne(()=>n[2]||(n[2]=[Ke(" mdi-alert ")])),_:1})):De("",!0),Ke(" "+xt(t.layout.title??t.layout.label),1)]),_:2},1032,["value","color"]))),128))]),_:1},8,["modelValue"]),h(Y(Sn),{modelValue:r.value,"onUpdate:modelValue":n[1]||(n[1]=t=>r.value=t),class:"flex-fill"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,(t,i)=>(ae(),he(Y(Pn),{key:t.key,value:i},{default:ne(()=>[h(Y(gr),{fluid:""},{default:ne(()=>{var o,u;return[h(Ts,{"model-value":t},null,8,["model-value"]),h(Y(ya),{dense:((o=e.modelValue.options)==null?void 0:o.density)==="compact"||((u=e.modelValue.options)==null?void 0:u.density)==="comfortable"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(Y(rn)(t)?t.children:[t],c=>(ae(),he(ga,{key:c.fullKey,"model-value":c,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:2},1032,["dense"])]}),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])])]),_:1},16)],64))}};function J_(e,a,r){if(a==null)return e;if(Array.isArray(a))throw new Error("Multiple matches is not implemented");return typeof a=="number"&&~a?h(ye,null,[h("span",{class:"v-combobox__unmask"},[e.substr(0,a)]),h("span",{class:"v-combobox__mask"},[e.substr(a,r)]),h("span",{class:"v-combobox__unmask"},[e.substr(a+r)])]):e}const Q_=ie({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:{type:Boolean,default:!0},delimiters:Array,...Af({filterKeys:["title"]}),...wl({hideNoData:!0,returnObject:!0}),...vt(Os({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...En({transition:!1})},"VCombobox"),Rf=ve()({name:"VCombobox",props:Q_(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:search":e=>!0,"update:menu":e=>!0},setup(e,a){var le;let{emit:r,slots:s}=a;const{t:n}=Ft(),t=ee(),i=_e(!1),o=_e(!0),u=_e(!1),c=ee(),l=ee(),d=xe(e,"menu"),v=E({get:()=>d.value,set:J=>{var re;d.value&&!J&&((re=c.value)!=null&&re.ΨopenChildren)||(d.value=J)}}),m=_e(-1);let p=!1;const g=E(()=>{var J;return(J=t.value)==null?void 0:J.color}),b=E(()=>v.value?e.closeText:e.openText),{items:f,transformIn:y,transformOut:P}=Xi(e),{textColorClasses:_,textColorStyles:O}=ja(g),S=xe(e,"modelValue",[],J=>y(lt(J)),J=>{const re=P(J);return e.multiple?re:re[0]??null}),w=Vs(),z=E(()=>!!(e.chips||s.chip)),x=E(()=>z.value||!!s.selection),R=_e(!e.multiple&&!x.value?((le=S.value[0])==null?void 0:le.title)??"":""),M=E({get:()=>R.value,set:J=>{var re;if(R.value=J??"",!e.multiple&&!x.value&&(S.value=[qn(e,J)]),J&&e.multiple&&((re=e.delimiters)!=null&&re.length)){const ke=J.split(new RegExp(`(?:${e.delimiters.join("|")})+`));ke.length>1&&(ke.forEach(me=>{me=me.trim(),me&&K(qn(e,me))}),R.value="")}J||(m.value=-1),o.value=!J}}),T=E(()=>typeof e.counterValue=="function"?e.counterValue(S.value):typeof e.counterValue=="number"?e.counterValue:e.multiple?S.value.length:M.value.length);de(R,J=>{p?nt(()=>p=!1):i.value&&!v.value&&(v.value=!0),r("update:search",J)}),de(S,J=>{var re;!e.multiple&&!x.value&&(R.value=((re=J[0])==null?void 0:re.title)??"")});const{filteredItems:q,getMatches:B}=Tf(e,f,()=>o.value?"":M.value),H=E(()=>e.hideSelected?q.value.filter(J=>!S.value.some(re=>re.value===J.value)):q.value),Z=E(()=>S.value.map(J=>J.value)),oe=E(()=>{var re;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&M.value===((re=H.value[0])==null?void 0:re.title))&&H.value.length>0&&!o.value&&!u.value}),L=E(()=>e.hideNoData&&!H.value.length||e.readonly||(w==null?void 0:w.isReadonly.value)),U=ee(),{onListScroll:$,onListKeydown:C}=$l(U,t);function I(J){p=!0,e.openOnClear&&(v.value=!0)}function j(){L.value||(v.value=!0)}function k(J){L.value||(i.value&&(J.preventDefault(),J.stopPropagation()),v.value=!v.value)}function V(J){var me;if(Mm(J)||e.readonly||w!=null&&w.isReadonly.value)return;const re=t.value.selectionStart,ke=S.value.length;if((m.value>-1||["Enter","ArrowDown","ArrowUp"].includes(J.key))&&J.preventDefault(),["Enter","ArrowDown"].includes(J.key)&&(v.value=!0),["Escape"].includes(J.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(J.key)&&(oe.value&&["Enter","Tab"].includes(J.key)&&!S.value.some(fe=>{let{value:ue}=fe;return ue===H.value[0].value})&&K(q.value[0]),o.value=!0),J.key==="ArrowDown"&&oe.value&&((me=U.value)==null||me.focus("next")),J.key==="Enter"&&M.value&&(K(qn(e,M.value)),x.value&&(R.value="")),["Backspace","Delete"].includes(J.key)){if(!e.multiple&&x.value&&S.value.length>0&&!M.value)return K(S.value[0],!1);if(~m.value){const fe=m.value;K(S.value[m.value],!1),m.value=fe>=ke-1?ke-2:fe}else J.key==="Backspace"&&!M.value&&(m.value=ke-1)}if(e.multiple){if(J.key==="ArrowLeft"){if(m.value<0&&re>0)return;const fe=m.value>-1?m.value-1:ke-1;S.value[fe]?m.value=fe:(m.value=-1,t.value.setSelectionRange(M.value.length,M.value.length))}if(J.key==="ArrowRight"){if(m.value<0)return;const fe=m.value+1;S.value[fe]?m.value=fe:(m.value=-1,t.value.setSelectionRange(0,0))}}}function D(){var J;i.value&&(o.value=!0,(J=t.value)==null||J.focus())}function K(J){let re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!(!J||J.props.disabled))if(e.multiple){const ke=S.value.findIndex(fe=>e.valueComparator(fe.value,J.value)),me=re??!~ke;if(~ke){const fe=me?[...S.value,J]:[...S.value];fe.splice(ke,1),S.value=fe}else me&&(S.value=[...S.value,J]);e.clearOnSelect&&(M.value="")}else{const ke=re!==!1;S.value=ke?[J]:[],R.value=ke&&!x.value?J.title:"",nt(()=>{v.value=!1,o.value=!0})}}function Q(J){i.value=!0,setTimeout(()=>{u.value=!0})}function te(J){u.value=!1}function X(J){(J==null||J===""&&!e.multiple&&!x.value)&&(S.value=[])}return de(i,(J,re)=>{if(!(J||J===re)&&(m.value=-1,v.value=!1,M.value)){if(e.multiple){K(qn(e,M.value));return}if(!x.value)return;S.value.some(ke=>{let{title:me}=ke;return me===M.value})?R.value="":K(qn(e,M.value))}}),de(v,()=>{if(!e.hideSelected&&v.value&&S.value.length){const J=H.value.findIndex(re=>S.value.some(ke=>e.valueComparator(ke.value,re.value)));wt&&window.requestAnimationFrame(()=>{var re;J>=0&&((re=l.value)==null||re.scrollToIndex(J))})}}),de(()=>e.items,(J,re)=>{v.value||i.value&&!re.length&&J.length&&(v.value=!0)}),pe(()=>{const J=!!(!e.hideNoData||H.value.length||s["prepend-item"]||s["append-item"]||s["no-data"]),re=S.value.length>0,ke=sa.filterProps(e);return h(sa,se({ref:t},ke,{modelValue:M.value,"onUpdate:modelValue":[me=>M.value=me,X],focused:i.value,"onUpdate:focused":me=>i.value=me,validationValue:S.externalValue,counterValue:T.value,dirty:re,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!x.value,"v-combobox--selecting-index":m.value>-1,[`v-combobox--${e.multiple?"multiple":"single"}`]:!0},e.class],style:e.style,readonly:e.readonly,placeholder:re?void 0:e.placeholder,"onClick:clear":I,"onMousedown:control":j,onKeydown:V}),{...s,default:()=>h(ye,null,[h(_r,se({ref:c,modelValue:v.value,"onUpdate:modelValue":me=>v.value=me,activator:"parent",contentClass:"v-combobox__content",disabled:L.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:D},e.menuProps),{default:()=>[J&&h(Zn,se({ref:U,selected:Z.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:me=>me.preventDefault(),onKeydown:C,onFocusin:Q,onFocusout:te,onScrollPassive:$,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},e.listProps),{default:()=>{var me,fe,ue;return[(me=s["prepend-item"])==null?void 0:me.call(s),!H.value.length&&!e.hideNoData&&(((fe=s["no-data"])==null?void 0:fe.call(s))??h(It,{title:n(e.noDataText)},null)),h(kl,{ref:l,renderless:!0,items:H.value},{default:Oe=>{var Ae;let{item:Ce,index:Ne,itemRef:we}=Oe;const je=se(Ce.props,{ref:we,key:Ne,active:oe.value&&Ne===0?!0:void 0,onClick:()=>K(Ce,null)});return((Ae=s.item)==null?void 0:Ae.call(s,{item:Ce,index:Ne,props:je}))??h(It,se(je,{role:"option"}),{prepend:He=>{let{isSelected:Ze}=He;return h(ye,null,[e.multiple&&!e.hideSelected?h(_n,{key:Ce.value,modelValue:Ze,ripple:!1,tabindex:"-1"},null):void 0,Ce.props.prependAvatar&&h(yn,{image:Ce.props.prependAvatar},null),Ce.props.prependIcon&&h(Be,{icon:Ce.props.prependIcon},null)])},title:()=>{var He,Ze;return o.value?Ce.title:J_(Ce.title,(He=B(Ce))==null?void 0:He.title,((Ze=M.value)==null?void 0:Ze.length)??0)}})}}),(ue=s["append-item"])==null?void 0:ue.call(s)]}})]}),S.value.map((me,fe)=>{function ue(we){we.stopPropagation(),we.preventDefault(),K(me,!1)}const Oe={"onClick:close":ue,onKeydown(we){we.key!=="Enter"&&we.key!==" "||(we.preventDefault(),we.stopPropagation(),ue(we))},onMousedown(we){we.preventDefault(),we.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},Ce=z.value?!!s.chip:!!s.selection,Ne=Ce?Yi(z.value?s.chip({item:me,index:fe,props:Oe}):s.selection({item:me,index:fe})):void 0;if(!(Ce&&!Ne))return h("div",{key:me.value,class:["v-combobox__selection",fe===m.value&&["v-combobox__selection--selected",_.value]],style:fe===m.value?O.value:{}},[z.value?s.chip?h(ot,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:me.title}}},{default:()=>[Ne]}):h(js,se({key:"chip",closable:e.closableChips,size:"small",text:me.title,disabled:me.props.disabled},Oe),null):Ne??h("span",{class:"v-combobox__selection-text"},[me.title,e.multiple&&fe{const c={...s.value};return c.returnObject=!1,o.value.readOnly&&(c.menuProps={modelValue:!1}),r.hasItems.value&&(c.items=r.items.value,c.loading=r.loading.value),i.value.multiple&&(c.multiple=!0,c.chips=!0,c.closableChips=!0),c});return()=>ze(Rf,{...u.value,modelValue:t.value},n.value)}}),eS=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfCombobox");const a=ce(e,"modelValue"),r=Sr(a,e.statefulLayout),{inputProps:s,compSlots:n,localData:t,layout:i,options:o}=ut(a,e.statefulLayout,{bindData:!1,layoutPropsMap:["step","min","max"]}),u=E(()=>{const c={...s.value};return c.type="number",c.returnObject=!1,o.value.readOnly&&(c.menuProps={modelValue:!1}),r.hasItems.value&&(c.items=r.items.value,c.loading=r.loading.value),i.value.multiple&&(c.multiple=!0,c.chips=!0,c.closableChips=!0),c["onUpdate:modelValue"]=l=>e.statefulLayout.input(e.modelValue,l&&l.map(Number)),c});return()=>ze(Rf,{...u.value,modelValue:t.value},n.value)}}),lr=Symbol.for("vuetify:v-expansion-panel"),Nf=ie({...qe(),...fl()},"VExpansionPanelText"),zi=ve()({name:"VExpansionPanelText",props:Nf(),setup(e,a){let{slots:r}=a;const s=Ct(lr);if(!s)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:n,onAfterLeave:t}=ml(e,s.isSelected);return pe(()=>h(Bm,{onAfterLeave:t},{default:()=>{var i;return[mt(h("div",{class:["v-expansion-panel-text",e.class],style:e.style},[r.default&&n.value&&h("div",{class:"v-expansion-panel-text__wrapper"},[(i=r.default)==null?void 0:i.call(r)])]),[[xa,s.isSelected.value]])]}})),{}}}),zf=ie({color:String,expandIcon:{type:rt,default:"$expand"},collapseIcon:{type:rt,default:"$collapse"},hideActions:Boolean,focusable:Boolean,static:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...qe()},"VExpansionPanelTitle"),Fi=ve()({name:"VExpansionPanelTitle",directives:{Ripple:mr},props:zf(),setup(e,a){let{slots:r}=a;const s=Ct(lr);if(!s)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:n,backgroundColorStyles:t}=At(e,"color"),i=E(()=>({collapseIcon:e.collapseIcon,disabled:s.disabled.value,expanded:s.isSelected.value,expandIcon:e.expandIcon,readonly:e.readonly})),o=E(()=>s.isSelected.value?e.collapseIcon:e.expandIcon);return pe(()=>{var u;return mt(h("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":s.isSelected.value,"v-expansion-panel-title--focusable":e.focusable,"v-expansion-panel-title--static":e.static},n.value,e.class],style:[t.value,e.style],type:"button",tabindex:s.disabled.value?-1:void 0,disabled:s.disabled.value,"aria-expanded":s.isSelected.value,onClick:e.readonly?void 0:s.toggle},[h("span",{class:"v-expansion-panel-title__overlay"},null),(u=r.default)==null?void 0:u.call(r,i.value),!e.hideActions&&h(ot,{defaults:{VIcon:{icon:o.value}}},{default:()=>{var c;return[h("span",{class:"v-expansion-panel-title__icon"},[((c=r.actions)==null?void 0:c.call(r,i.value))??h(Be,null,null)])]}})]),[[ha("ripple"),e.ripple]])}),{}}}),Ff=ie({title:String,text:String,bgColor:String,...vr(),...us(),...dr(),...Wt(),...zf(),...Nf()},"VExpansionPanel"),tS=ve()({name:"VExpansionPanel",props:Ff(),emits:{"group:selected":e=>!0},setup(e,a){let{slots:r}=a;const s=cs(e,lr),{backgroundColorClasses:n,backgroundColorStyles:t}=At(e,"bgColor"),{elevationClasses:i}=pr(e),{roundedClasses:o}=fr(e),u=E(()=>(s==null?void 0:s.disabled.value)||e.disabled),c=E(()=>s.group.items.value.reduce((v,m,p)=>(s.group.selected.value.includes(m.id)&&v.push(p),v),[])),l=E(()=>{const v=s.group.items.value.findIndex(m=>m.id===s.id);return!s.isSelected.value&&c.value.some(m=>m-v===1)}),d=E(()=>{const v=s.group.items.value.findIndex(m=>m.id===s.id);return!s.isSelected.value&&c.value.some(m=>m-v===-1)});return tn(lr,s),pe(()=>{const v=!!(r.text||e.text),m=!!(r.title||e.title),p=Fi.filterProps(e),g=zi.filterProps(e);return h(e.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":s.isSelected.value,"v-expansion-panel--before-active":l.value,"v-expansion-panel--after-active":d.value,"v-expansion-panel--disabled":u.value},o.value,n.value,e.class],style:[t.value,e.style]},{default:()=>[h("div",{class:["v-expansion-panel__shadow",...i.value]},null),h(ot,{defaults:{VExpansionPanelTitle:{...p},VExpansionPanelText:{...g}}},{default:()=>{var b;return[m&&h(Fi,{key:"title"},{default:()=>[r.title?r.title():e.title]}),v&&h(zi,{key:"text"},{default:()=>[r.text?r.text():e.text]}),(b=r.default)==null?void 0:b.call(r)]}})]})}),{groupItem:s}}}),aS=["default","accordion","inset","popout"],nS=ie({flat:Boolean,...ds(),...dc(Ff(),["bgColor","collapseIcon","color","eager","elevation","expandIcon","focusable","hideActions","readonly","ripple","rounded","tile","static"]),...Ht(),...qe(),...Wt(),variant:{type:String,default:"default",validator:e=>aS.includes(e)}},"VExpansionPanels"),rS=ve()({name:"VExpansionPanels",props:nS(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const{next:s,prev:n}=cr(e,lr),{themeClasses:t}=ma(e),i=E(()=>e.variant&&`v-expansion-panels--variant-${e.variant}`);return Vn({VExpansionPanel:{bgColor:ce(e,"bgColor"),collapseIcon:ce(e,"collapseIcon"),color:ce(e,"color"),eager:ce(e,"eager"),elevation:ce(e,"elevation"),expandIcon:ce(e,"expandIcon"),focusable:ce(e,"focusable"),hideActions:ce(e,"hideActions"),readonly:ce(e,"readonly"),ripple:ce(e,"ripple"),rounded:ce(e,"rounded"),static:ce(e,"static")}}),pe(()=>h(e.tag,{class:["v-expansion-panels",{"v-expansion-panels--flat":e.flat,"v-expansion-panels--tile":e.tile},t.value,i.value,e.class],style:e.style},{default:()=>{var o;return[(o=r.default)==null?void 0:o.call(r,{prev:n,next:s})]}})),{next:s,prev:n}}}),sS={__name:"expansion-panels",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfExpansionPanels");const a=e,{compProps:r}=ut(ce(a,"modelValue"),a.statefulLayout);return(s,n)=>(ae(),Fe(ye,null,[h(Nn,{node:e.modelValue},null,8,["node"]),h(Y(rS),Oa(Ea(Y(r))),{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,(t,i)=>(ae(),he(Y(tS),{key:t.key,value:i},{default:ne(()=>[h(Y(Fi),null,{default:ne(()=>[t.validated&&(t.error||t.childError)?(ae(),he(Y(Be),{key:0,color:"error",class:"mr-2"},{default:ne(()=>n[0]||(n[0]=[Ke(" mdi-alert ")])),_:1})):De("",!0),Ke(" "+xt(t.layout.title??t.layout.label),1)]),_:2},1024),h(Y(zi),null,{default:ne(()=>[h(Y(gr),{fluid:""},{default:ne(()=>{var o,u;return[h(Ts,{"model-value":t},null,8,["model-value"]),h(Y(ya),{dense:((o=e.modelValue.options)==null?void 0:o.density)==="compact"||((u=e.modelValue.options)==null?void 0:u.density)==="comfortable"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(Y(rn)(t)?t.children:[t],c=>(ae(),he(ga,{key:c.fullKey,"model-value":c,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:2},1032,["dense"])]}),_:2},1024)]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1},16)],64))}},Sl=Symbol.for("vuetify:v-stepper"),Lf=ie({color:String,disabled:{type:[Boolean,String],default:!1},prevText:{type:String,default:"$vuetify.stepper.prev"},nextText:{type:String,default:"$vuetify.stepper.next"}},"VStepperActions"),qf=ve()({name:"VStepperActions",props:Lf(),emits:{"click:prev":()=>!0,"click:next":()=>!0},setup(e,a){let{emit:r,slots:s}=a;const{t:n}=Ft();function t(){r("click:prev")}function i(){r("click:next")}return pe(()=>{const o={onClick:t},u={onClick:i};return h("div",{class:"v-stepper-actions"},[h(ot,{defaults:{VBtn:{disabled:["prev",!0].includes(e.disabled),text:n(e.prevText),variant:"text"}}},{default:()=>{var c;return[((c=s.prev)==null?void 0:c.call(s,{props:o}))??h(Le,o,null)]}}),h(ot,{defaults:{VBtn:{color:e.color,disabled:["next",!0].includes(e.disabled),text:n(e.nextText),variant:"tonal"}}},{default:()=>{var c;return[((c=s.next)==null?void 0:c.call(s,{props:u}))??h(Le,u,null)]}})])}),{}}}),Bf=Ic("v-stepper-header"),iS=ie({color:String,title:String,subtitle:String,complete:Boolean,completeIcon:{type:String,default:"$complete"},editable:Boolean,editIcon:{type:String,default:"$edit"},error:Boolean,errorIcon:{type:String,default:"$error"},icon:String,ripple:{type:[Boolean,Object],default:!0},rules:{type:Array,default:()=>[]}},"StepperItem"),oS=ie({...iS(),...us()},"VStepperItem"),Kf=ve()({name:"VStepperItem",directives:{Ripple:mr},props:oS(),emits:{"group:selected":e=>!0},setup(e,a){let{slots:r}=a;const s=cs(e,Sl,!0),n=E(()=>(s==null?void 0:s.value.value)??e.value),t=E(()=>e.rules.every(v=>v()===!0)),i=E(()=>!e.disabled&&e.editable),o=E(()=>!e.disabled&&e.editable),u=E(()=>e.error||!t.value),c=E(()=>e.complete||e.rules.length>0&&t.value),l=E(()=>u.value?e.errorIcon:c.value?e.completeIcon:s.isSelected.value&&e.editable?e.editIcon:e.icon),d=E(()=>({canEdit:o.value,hasError:u.value,hasCompleted:c.value,title:e.title,subtitle:e.subtitle,step:n.value,value:e.value}));return pe(()=>{var b,f,y;const v=(!s||s.isSelected.value||c.value||o.value)&&!u.value&&!e.disabled,m=!!(e.title!=null||r.title),p=!!(e.subtitle!=null||r.subtitle);function g(){s==null||s.toggle()}return mt(h("button",{class:["v-stepper-item",{"v-stepper-item--complete":c.value,"v-stepper-item--disabled":e.disabled,"v-stepper-item--error":u.value},s==null?void 0:s.selectedClass.value],disabled:!e.editable,onClick:g},[i.value&&Mc(!0,"v-stepper-item"),h(yn,{key:"stepper-avatar",class:"v-stepper-item__avatar",color:v?e.color:void 0,size:24},{default:()=>{var P;return[((P=r.icon)==null?void 0:P.call(r,d.value))??(l.value?h(Be,{icon:l.value},null):n.value)]}}),h("div",{class:"v-stepper-item__content"},[m&&h("div",{key:"title",class:"v-stepper-item__title"},[((b=r.title)==null?void 0:b.call(r,d.value))??e.title]),p&&h("div",{key:"subtitle",class:"v-stepper-item__subtitle"},[((f=r.subtitle)==null?void 0:f.call(r,d.value))??e.subtitle]),(y=r.default)==null?void 0:y.call(r,d.value)])]),[[ha("ripple"),e.ripple&&e.editable,null]])}),{}}}),lS=ie({...vt(hl(),["continuous","nextIcon","prevIcon","showArrows","touch","mandatory"])},"VStepperWindow"),Uf=ve()({name:"VStepperWindow",props:lS(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const s=Ct(Sl,null),n=xe(e,"modelValue"),t=E({get(){var i;return n.value!=null||!s?n.value:(i=s.items.value.find(o=>s.selected.value.includes(o.id)))==null?void 0:i.value},set(i){n.value=i}});return pe(()=>{const i=Sn.filterProps(e);return h(Sn,se({_as:"VStepperWindow"},i,{modelValue:t.value,"onUpdate:modelValue":o=>t.value=o,class:["v-stepper-window",e.class],style:e.style,mandatory:!1,touch:!1}),r)}),{}}}),uS=ie({...yl()},"VStepperWindowItem"),Hf=ve()({name:"VStepperWindowItem",props:uS(),setup(e,a){let{slots:r}=a;return pe(()=>{const s=Pn.filterProps(e);return h(Pn,se({_as:"VStepperWindowItem"},s,{class:["v-stepper-window-item",e.class],style:e.style}),r)}),{}}}),cS=ie({altLabels:Boolean,bgColor:String,completeIcon:String,editIcon:String,editable:Boolean,errorIcon:String,hideActions:Boolean,items:{type:Array,default:()=>[]},itemTitle:{type:String,default:"title"},itemValue:{type:String,default:"value"},nonLinear:Boolean,flat:Boolean,...hc()},"Stepper"),dS=ie({...cS(),...ds({mandatory:"force",selectedClass:"v-stepper-item--selected"}),...Is(),...fc(Lf(),["prevText","nextText"])},"VStepper"),fS=ve()({name:"VStepper",props:dS(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const{items:s,next:n,prev:t,selected:i}=cr(e,Sl),{displayClasses:o,mobile:u}=ls(e),{completeIcon:c,editIcon:l,errorIcon:d,color:v,editable:m,prevText:p,nextText:g}=Dm(e),b=E(()=>e.items.map((P,_)=>{const O=ii(P,e.itemTitle,P),S=ii(P,e.itemValue,_+1);return{title:O,value:S,raw:P}})),f=E(()=>s.value.findIndex(P=>i.value.includes(P.id))),y=E(()=>e.disabled?e.disabled:f.value===0?"prev":f.value===s.value.length-1?"next":!1);return Vn({VStepperItem:{editable:m,errorIcon:d,completeIcon:c,editIcon:l,prevText:p,nextText:g},VStepperActions:{color:v,disabled:y,prevText:p,nextText:g}}),pe(()=>{const P=ia.filterProps(e),_=!!(r.header||e.items.length),O=e.items.length>0,S=!e.hideActions&&!!(O||r.actions);return h(ia,se(P,{color:e.bgColor,class:["v-stepper",{"v-stepper--alt-labels":e.altLabels,"v-stepper--flat":e.flat,"v-stepper--non-linear":e.nonLinear,"v-stepper--mobile":u.value},o.value,e.class],style:e.style}),{default:()=>{var w,z;return[_&&h(Bf,{key:"stepper-header"},{default:()=>[b.value.map((x,R)=>{let{raw:M,...T}=x;return h(ye,null,[!!R&&h(Ji,null,null),h(Kf,T,{default:r[`header-item.${T.value}`]??r.header,icon:r.icon,title:r.title,subtitle:r.subtitle})])})]}),O&&h(Uf,{key:"stepper-window"},{default:()=>[b.value.map(x=>h(Hf,{value:x.value},{default:()=>{var R,M;return((R=r[`item.${x.value}`])==null?void 0:R.call(r,x))??((M=r.item)==null?void 0:M.call(r,x))}}))]}),(w=r.default)==null?void 0:w.call(r,{prev:t,next:n}),S&&(((z=r.actions)==null?void 0:z.call(r,{next:n,prev:t}))??h(qf,{key:"stepper-actions","onClick:prev":t,"onClick:next":n},r))]}})}),{prev:t,next:n}}}),mS={__name:"stepper",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfStepper");const a=e,r=ee(0),s=E(()=>{const t=a.modelValue.children.findIndex(i=>i.validated&&!!(i.error||i.childError));return t===-1?a.modelValue.children.length:t}),n=()=>{const t=a.modelValue.children[r.value];a.statefulLayout.validateNodeRecurse(t),t.error||t.childError||r.value++};return(t,i)=>(ae(),Fe(ye,null,[h(Nn,{node:e.modelValue},null,8,["node"]),h(Y(fS),{modelValue:r.value,"onUpdate:modelValue":i[1]||(i[1]=o=>r.value=o)},{default:ne(()=>[h(Y(Bf),null,{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,(o,u)=>(ae(),Fe(ye,{key:o.key},[h(Y(Kf),{value:u,title:o.layout.title??o.layout.label,error:o.validated&&!!(o.error||o.childError),complete:o.validated&&!(o.error||o.childError),editable:u<=s.value},null,8,["value","title","error","complete","editable"]),h(Y(Ji))],64))),128))]),_:1}),h(Y(Uf),null,{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,o=>(ae(),he(Y(Hf),{key:o.key},{default:ne(()=>[h(Y(gr),{fluid:"",class:"pa-0"},{default:ne(()=>{var u,c;return[h(Ts,{"model-value":o},null,8,["model-value"]),h(Y(ya),{dense:((u=e.modelValue.options)==null?void 0:u.density)==="compact"||((c=e.modelValue.options)==null?void 0:c.density)==="comfortable"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(Y(rn)(o)?o.children:[o],l=>(ae(),he(ga,{key:l.fullKey,"model-value":l,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:2},1032,["dense"])]}),_:2},1024)]),_:2},1024))),128))]),_:1}),h(Y(qf),null,{prev:ne(()=>[r.value>0?(ae(),he(Y(Le),{key:0,variant:"text",onClick:i[0]||(i[0]=o=>r.value--)},{default:ne(()=>i[2]||(i[2]=[Ke(" Back ")])),_:1})):De("",!0)]),next:ne(()=>[h(Y(Dc)),r.valuei[3]||(i[3]=[Ke(" Next ")])),_:1})):De("",!0)]),_:1})]),_:1},8,["modelValue"])],64))}},vS=ie({...qe(),...b0()},"VForm"),pS=ve()({name:"VForm",props:vS(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,a){let{slots:r,emit:s}=a;const n=k0(e),t=ee();function i(u){u.preventDefault(),n.reset()}function o(u){const c=u,l=n.validate();c.then=l.then.bind(l),c.catch=l.catch.bind(l),c.finally=l.finally.bind(l),s("submit",c),c.defaultPrevented||l.then(d=>{var m;let{valid:v}=d;v&&((m=t.value)==null||m.submit())}),c.preventDefault()}return pe(()=>{var u;return h("form",{ref:t,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:i,onSubmit:o},[(u=r.default)==null?void 0:u.call(r,n)])}),ba(n,t)}});function sc(e,a,r){return a===r||a===-1||r===-1?e:!Array.isArray(e)&&typeof e=="object"?Wf(e,a,r):Pl(e,a,r)}function Pl(e,a,r){if(a===r||a===-1||r===-1)return e;if(!Array.isArray(e)&&typeof e=="object")return Wf(e,a,r);const s=[...e],n=s[a];return s.splice(a,1),s.splice(r,0,n),s}function Wf(e,a,r){if(a===r||a===-1||r===-1)return e;const s=Pl(Object.keys(e),a,r),n={};for(const t of s)n[t]=e[t];return console.log(n),n}function hS(e,a){const r=E(()=>!(!("draggable"in document.createElement("div"))||window.matchMedia("(pointer: coarse)").matches)),s=_e(e),n=ee(-1),t=ee(-1),i=ee(-1);return n.value=1,{activeDnd:r,sortableArray:s,hovered:n,draggable:t,dragging:i,itemBind:c=>({onMouseenter:()=>{n.value=c},onMouseleave:()=>{n.value=-1},onDragstart:()=>{i.value=c},onDragover:()=>{s.value=Pl(s.value,i.value,c),i.value=c},onDragend:()=>{n.value=c,i.value=-1,a()}}),handleBind:c=>({onMouseover(){t.value=c},onMouseout(){t.value=-1}})}}const yS={class:"vjsf-list-item-actions-wrapper"},gS={__name:"list",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfList");const a=_l("VjsfList-VSheet",{border:!0}),r=lc(),s=e,n=E(()=>s.modelValue.options),t=E(()=>s.modelValue.layout),i=E(()=>s.modelValue.children),{activeDnd:o,sortableArray:u,draggable:c,hovered:l,dragging:d,itemBind:v,handleBind:m}=hS(s.modelValue.children,()=>{const x=t.value.indexed?u.value.reduce((R,M)=>(R[M.key]=M.data,R),{}):u.value.map(R=>R.data);s.statefulLayout.input(s.modelValue,x)});de(i,x=>{u.value=x});const p=E(()=>s.statefulLayout.activatedItems[s.modelValue.fullKey]),g=ee(-1),b=E(()=>t.value.listActions.includes("edit")&&t.value.listEditMode==="inline-single"&&p.value!==void 0?p.value:d.value!==-1?-1:g.value!==-1?g.value:l.value),f=E(()=>n.value.density==="default"?"comfortable":n.value.density),y=()=>{const x=(s.modelValue.data??[]).concat([void 0]);s.statefulLayout.input(s.modelValue,x),t.value.listEditMode==="inline-single"&&s.statefulLayout.activateItem(s.modelValue,x.length-1)},P=ee(""),_=ee(null),O=()=>{var R;if(!P.value||!_.value||!_.value.isValid)return;const x={...s.modelValue.data??{},[P.value]:null};s.statefulLayout.input(s.modelValue,x),t.value.listEditMode==="inline-single"&&s.statefulLayout.activateItem(s.modelValue,Object.keys(x).length-1),P.value="",(R=_.value)==null||R.reset()},S=x=>{if(t.value.indexed){const R=s.modelValue.data,M=Object.keys(s.modelValue.data),T={};for(let q=0;q{const M=[...s.modelValue.data.slice(0,R),Ka(x.data),...s.modelValue.data.slice(R)];s.statefulLayout.input(s.modelValue,M),t.value.listEditMode==="inline-single"&&s.statefulLayout.activateItem(s.modelValue,R+1),g.value=-1},z=E(()=>(x,R)=>p.value===R?r.current.value.colors.primary:x.validated&&(x.error||x.childError)?r.current.value.colors.error:n.value.readOnly?"transparent":b.value===R?r.current.value.colors.primary:"transparent");return(x,R)=>(ae(),he(Y(ia),Oa(Ea(Y(a))),{default:ne(()=>[h(Y(Zn),{class:"py-0"},{default:ne(()=>[e.modelValue.layout.title?(ae(),he(Y(Km),{key:0},{default:ne(()=>[Ke(xt(e.modelValue.layout.title),1)]),_:1})):De("",!0),(ae(!0),Fe(ye,null,ht(Y(u),(M,T)=>(ae(),Fe(ye,{key:i.value.findIndex(q=>q===M)},[h(Y(It),se({ref_for:!0},Y(v)(T),{draggable:Y(c)===T,variant:"flat",style:`border: 1px solid ${z.value(M,T)}`,class:"pa-1 vjsf-list-item"}),Gi({default:ne(()=>[e.modelValue.layout.indexed?(ae(),he(Y(Um),{key:0,class:"pl-4 pt-2"},{default:ne(()=>[Ke(xt(M.key),1)]),_:2},1024)):De("",!0),h(Y(ya),{class:"ma-0"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(Y(rn)(M)?M.children:[M],q=>(ae(),he(ga,{key:q.fullKey,"model-value":q,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:2},1024)]),_:2},[!e.modelValue.options.readOnly&&e.modelValue.layout.listActions.length?{name:"append",fn:ne(()=>[is("div",yS,[b.value!==T?(ae(),he(Y(Nr),{key:0},{default:ne(()=>[h(Y(Le),{style:{visibility:"hidden"},variant:"text",density:f.value,icon:"mdi-pencil"},null,8,["density"])]),_:1})):(ae(),Fe(ye,{key:1},[e.modelValue.layout.listActions.includes("edit")&&e.modelValue.layout.listEditMode==="inline-single"?(ae(),he(Y(Nr),{key:0},{default:ne(()=>[p.value!==T?(ae(),he(Y(Le),{key:0,title:e.modelValue.messages.edit,icon:"mdi-pencil",variant:"text",color:"primary",density:f.value,onClick:q=>e.statefulLayout.activateItem(e.modelValue,T)},null,8,["title","density","onClick"])):(ae(),he(Y(Le),{key:1,title:e.modelValue.messages.close,icon:"mdi-close",variant:"flat",color:"primary",density:f.value,onClick:R[0]||(R[0]=q=>e.statefulLayout.deactivateItem(e.modelValue))},null,8,["title","density"]))]),_:2},1024)):De("",!0),p.value===void 0&&e.modelValue.layout.listActions.includes("sort")&&Y(o)?(ae(),he(Y(Nr),{key:1},{default:ne(()=>[h(Y(Le),se({title:e.modelValue.messages.sort,icon:"mdi-arrow-up-down",variant:"plain",density:f.value,ref_for:!0},Y(m)(T)),null,16,["title","density"])]),_:2},1024)):De("",!0),p.value===void 0&&(e.modelValue.layout.listActions.includes("delete")||e.modelValue.layout.listActions.includes("duplicate")||e.modelValue.layout.listActions.includes("sort"))?(ae(),he(Y(Nr),{key:2},{default:ne(()=>[h(Y(_r),{location:"bottom end","onUpdate:modelValue":q=>{g.value=q?T:-1}},{activator:ne(({props:q})=>[h(Y(Le),se({ref_for:!0},q,{icon:"mdi-dots-vertical",variant:"plain",slim:"",density:f.value}),null,16,["density"])]),default:ne(()=>[h(Y(Zn),null,{default:ne(()=>[e.modelValue.layout.listActions.includes("delete")?(ae(),he(Y(It),{key:0,"base-color":"warning",onClick:q=>S(T)},{prepend:ne(()=>[h(Y(Be),{icon:"mdi-delete"})]),default:ne(()=>[Ke(" "+xt(e.modelValue.messages.delete),1)]),_:2},1032,["onClick"])):De("",!0),e.modelValue.layout.listActions.includes("duplicate")?(ae(),he(Y(It),{key:1,onClick:q=>w(M,T)},{prepend:ne(()=>[h(Y(Be),{icon:"mdi-content-duplicate"})]),default:ne(()=>[Ke(" "+xt(e.modelValue.messages.duplicate),1)]),_:2},1032,["onClick"])):De("",!0),e.modelValue.layout.listActions.includes("sort")?(ae(),he(Y(It),{key:2,onClick:q=>e.statefulLayout.input(e.modelValue,Y(sc)(e.modelValue.data,T,T-1))},{prepend:ne(()=>[h(Y(Be),{icon:"mdi-arrow-up"})]),default:ne(()=>[Ke(" "+xt(e.modelValue.messages.up),1)]),_:2},1032,["onClick"])):De("",!0),e.modelValue.layout.listActions.includes("sort")?(ae(),he(Y(It),{key:3,onClick:q=>e.statefulLayout.input(e.modelValue,Y(sc)(e.modelValue.data,T,T+1))},{prepend:ne(()=>[h(Y(Be),{icon:"mdi-arrow-down"})]),default:ne(()=>[Ke(" "+xt(e.modelValue.messages.down),1)]),_:2},1032,["onClick"])):De("",!0)]),_:2},1024)]),_:2},1032,["onUpdate:modelValue"])]),_:2},1024)):De("",!0)],64))])]),key:"0"}:void 0]),1040,["draggable","style"]),T[e.modelValue.layout.indexed?(ae(),he(Y(pS),{key:0,ref_key:"newKeyForm",ref:_,style:{"max-width":"250px"},onSubmit:R[2]||(R[2]=Rm(()=>{},["prevent"]))},{default:ne(()=>[h(Y(sa),{modelValue:P.value,"onUpdate:modelValue":R[1]||(R[1]=M=>P.value=M),variant:"outlined",placeholder:e.modelValue.messages.addItem,"hide-details":"",rules:[M=>!e.modelValue.children.some(T=>T.key===M),M=>{var T;return!M||((T=e.modelValue.layout.indexed)==null?void 0:T.some(q=>M.match(Y(nl)(q))))}],onKeypress:Nm(O,["enter"])},{append:ne(()=>[h(Y(Be),{color:"primary",size:"large",onClick:O},{default:ne(()=>R[3]||(R[3]=[Ke(" mdi-plus ")])),_:1})]),_:1},8,["modelValue","placeholder","rules"])]),_:1},512)):(ae(),he(Y(Le),{key:1,color:"primary",onClick:y},{default:ne(()=>[Ke(xt(e.modelValue.messages.addItem),1)]),_:1}))]),_:1})):De("",!0)]),_:1})]),_:1},16))}},bS=ie({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},hideInput:Boolean,multiple:Boolean,showSize:{type:[Boolean,Number,String],default:!1,validator:e=>typeof e=="boolean"||[1e3,1024].includes(Number(e))},...Aa({prependIcon:"$file"}),modelValue:{type:[Array,Object],default:e=>e.multiple?[]:null,validator:e=>lt(e).every(a=>a!=null&&typeof a=="object")},...Ps({clearable:!0})},"VFileInput"),kS=ve()({name:"VFileInput",inheritAttrs:!1,props:bS(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{attrs:r,emit:s,slots:n}=a;const{t}=Ft(),i=xe(e,"modelValue",e.modelValue,x=>lt(x),x=>e.multiple||Array.isArray(e.modelValue)?x:x[0]??null),{isFocused:o,focus:u,blur:c}=sn(e),l=E(()=>typeof e.showSize!="boolean"?e.showSize:void 0),d=E(()=>(i.value??[]).reduce((x,R)=>{let{size:M=0}=R;return x+M},0)),v=E(()=>ql(d.value,l.value)),m=E(()=>(i.value??[]).map(x=>{const{name:R="",size:M=0}=x;return e.showSize?`${R} (${ql(M,l.value)})`:R})),p=E(()=>{var R;const x=((R=i.value)==null?void 0:R.length)??0;return e.showSize?t(e.counterSizeString,x,v.value):t(e.counterString,x)}),g=ee(),b=ee(),f=ee(),y=E(()=>o.value||e.active),P=E(()=>["plain","underlined"].includes(e.variant));function _(){var x;f.value!==document.activeElement&&((x=f.value)==null||x.focus()),o.value||u()}function O(x){var R;(R=f.value)==null||R.click()}function S(x){s("mousedown:control",x)}function w(x){var R;(R=f.value)==null||R.click(),s("click:control",x)}function z(x){x.stopPropagation(),_(),nt(()=>{i.value=[],Ui(e["onClick:clear"],x)})}return de(i,x=>{(!Array.isArray(x)||!x.length)&&f.value&&(f.value.value="")}),pe(()=>{const x=!!(n.counter||e.counter),R=!!(x||n.details),[M,T]=an(r),{modelValue:q,...B}=_t.filterProps(e),H=ul(e);return h(_t,se({ref:g,modelValue:i.value,"onUpdate:modelValue":Z=>i.value=Z,class:["v-file-input",{"v-file-input--chips":!!e.chips,"v-file-input--hide":e.hideInput,"v-input--plain-underlined":P.value},e.class],style:e.style,"onClick:prepend":O},M,B,{centerAffix:!P.value,focused:o.value}),{...n,default:Z=>{let{id:oe,isDisabled:L,isDirty:U,isReadonly:$,isValid:C}=Z;return h(Cs,se({ref:b,"prepend-icon":e.prependIcon,onMousedown:S,onClick:w,"onClick:clear":z,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},H,{id:oe.value,active:y.value||U.value,dirty:U.value||e.dirty,disabled:L.value,focused:o.value,error:C.value===!1}),{...n,default:I=>{var V;let{props:{class:j,...k}}=I;return h(ye,null,[h("input",se({ref:f,type:"file",readonly:$.value,disabled:L.value,multiple:e.multiple,name:e.name,onClick:D=>{D.stopPropagation(),$.value&&D.preventDefault(),_()},onChange:D=>{if(!D.target)return;const K=D.target;i.value=[...K.files??[]]},onFocus:_,onBlur:c},k,T),null),h("div",{class:j},[!!((V=i.value)!=null&&V.length)&&!e.hideInput&&(n.selection?n.selection({fileNames:m.value,totalBytes:d.value,totalBytesReadable:v.value}):e.chips?m.value.map(D=>h(js,{key:D,size:"small",text:D},null)):m.value.join(", "))])])}})},details:R?Z=>{var oe,L;return h(ye,null,[(oe=n.details)==null?void 0:oe.call(n,Z),x&&h(ye,null,[h("span",null,null),h(ol,{active:!!((L=i.value)!=null&&L.length),value:p.value,disabled:e.disabled},n.counter)])])}:void 0})}),ba({},g,b,f)}}),$S=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfFileInput");const{inputProps:a,localData:r,compSlots:s}=ut(ce(e,"modelValue"),e.statefulLayout,{layoutPropsMap:["placeholder","accept","multiple"]}),n=E(()=>{const t={...a.value};return t.multiple&&console.error("File input doesn't support multiple inputs yet"),t["onUpdate:modelValue"]=i=>{e.statefulLayout.input(e.modelValue,i)},t});return()=>ze(kS,{...n.value,modelValue:r.value},s.value)}}),wS={__name:"card",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){return Ue({},"VjsfCard"),(a,r)=>(ae(),he(Y(Fm),{title:e.modelValue.layout.title??""},{default:ne(()=>[h(Y(gr),{fluid:""},{default:ne(()=>{var s,n;return[h(Nn,{node:e.modelValue,"hide-title":""},null,8,["node"]),h(Y(ya),{dense:((s=e.modelValue.options)==null?void 0:s.density)==="compact"||((n=e.modelValue.options)==null?void 0:n.density)==="comfortable"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,t=>(ae(),he(ga,{key:t.fullKey,"model-value":t,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:1},8,["dense"])]}),_:1})]),_:1},8,["title"]))}},FS={__name:"vjsf",props:{schema:{type:Object,required:!0},precompiledLayout:{type:Object,default:null},modelValue:{type:null,default:null},options:{type:Object,default:null}},emits:u0,setup(e,{emit:a}){const r={section:f0,"text-field":S0,textarea:V0,checkbox:j0,switch:T0,"number-field":M0,slider:H0,"date-picker":ww,"time-picker":xw,"date-time-picker":Gw,"color-picker":f_,select:E_,autocomplete:M_,"radio-group":B_,"checkbox-group":K_,"switch-group":U_,"one-of-select":H_,tabs:G_,"vertical-tabs":X_,"expansion-panels":sS,stepper:mS,list:gS,combobox:Z_,"number-combobox":eS,"file-input":$S,card:wS},s=e,n=a,{el:t,statefulLayout:i,stateTree:o}=c0(E(()=>s.schema),E(()=>s.modelValue),E(()=>s.options),r,n,v$,E(()=>s.precompiledLayout));return(u,c)=>(ae(),Fe("div",{ref_key:"el",ref:t,class:"vjsf"},[Y(i)&&Y(o)?(ae(),he(W$,{key:0,"model-value":Y(o),"stateful-layout":Y(i)},null,8,["model-value","stateful-layout"])):De("",!0)],512))}};export{ya as V,FS as _,Sd as a,RS as b,Ka as c,qd as d,pS as e,xf as f,rf as g,ia as h,Pu as i,Sn as j,ji as k,Pn as l,sa as m,df as n,Xd as o,ba as p,Gu as q,l$ as r,v$ as s,o0 as t,zS as u,ut as v,NS as w,wr as x,_t as y}; +`,bold:"Vet",italic:"Cursief",heading:"Titel",quote:"Citaat",unorderedList:"Ongeordende lijst",orderedList:"Geordende lijst",createLink:"Maak een koppeling",insertImage:"Afbeelding invoegen",createTable:"Tabel aanmaken",preview:"Voorbeeld",mdeGuide:"Documentatie over syntaxis",undo:"Ongedaan maken",redo:"Opnieuw"},_u={en:zm,fr:Rk,nl:Nk},jd={$id:"https://json-layout.github.io/layout-keyword",$defs:{"layout-keyword":{title:"layout keyword",errorMessage:{anyOf:"layout keyword must be a string with a valid component name, or a more complete object definition, or an array of children, or a switch structure"},anyOf:[{$ref:"#/$defs/comp-name"},{$ref:"#/$defs/partial-children"},{$ref:"#/$defs/partial-comp-object"},{$ref:"#/$defs/partial-switch"}]},"partial-switch":{type:"object",required:["switch"],additionalProperties:!1,properties:{switch:{type:"array",items:{$ref:"#/$defs/partial-comp-object"}}}},"partial-comp-object":{title:"partial comp object",type:"object",properties:{comp:{$ref:"#/$defs/comp-name"},help:{type:"string"},children:{$ref:"#/$defs/partial-children"},label:{type:"string"},title:{type:["string","null"]},subtitle:{type:["string","null"]},step:{type:"number"},if:{$ref:"#/$defs/partial-expression"},items:{type:"array",items:{$ref:"#/$defs/partial-select-item"}},getItems:{$ref:"#/$defs/partial-get-items"},listEditMode:{type:"string",enum:["inline","inline-single","menu","dialog"]},listActions:{type:"array",items:{type:"string",enum:["add","edit","delete","sort","duplicate"]}},cols:{$ref:"#/$defs/partial-cols"},props:{type:"object"},getProps:{$ref:"#/$defs/partial-expression"},slots:{type:"object",patternProperties:{".*":{$ref:"#/$defs/partial-slot"}}},options:{type:"object"},getOptions:{$ref:"#/$defs/partial-expression"},messages:{type:"object"},defaultData:{},getDefaultData:{$ref:"#/$defs/partial-expression"},constData:{},getConstData:{$ref:"#/$defs/partial-expression"},transformData:{$ref:"#/$defs/partial-expression"},autofocus:{type:"boolean"},separator:{type:"string"}}},"comp-name":{title:"component name",type:"string"},"partial-child-ref":{type:"object",required:["key"],additionalProperties:!1,properties:{key:{type:["string","integer"]},cols:{$ref:"#/$defs/partial-cols"}}},"partial-child-composite":{type:"object",required:["children"],properties:{comp:{type:"string"},title:{type:["string","null"]},subtitle:{type:["string","null"]},children:{$ref:"#/$defs/partial-children"},cols:{$ref:"#/$defs/partial-cols"}}},"partial-child":{anyOf:[{type:"string"},{$ref:"#/$defs/partial-child-ref"},{$ref:"#/$defs/partial-child-composite"}]},"partial-children":{type:"array",items:{$ref:"#/$defs/partial-child"}},"partial-expression":{oneOf:[{type:"string"},{$ref:"#/$defs/partial-expression-obj"}]},"partial-expression-obj":{type:"object",required:["expr"],properties:{type:{type:"string",enum:["js-fn","js-eval","js-tpl"]},expr:{type:"string"}}},"partial-select-item":{oneOf:[{type:"string"},{type:"object",properties:{key:{type:"string"},title:{type:"string"},value:{}}}]},"partial-get-items":{oneOf:[{type:"string"},{$ref:"#/$defs/partial-get-items-obj"}]},"partial-get-items-obj":{type:"object",allOf:[{properties:{itemTitle:{$ref:"#/$defs/partial-expression"},itemKey:{$ref:"#/$defs/partial-expression"},itemValue:{$ref:"#/$defs/partial-expression"},itemIcon:{$ref:"#/$defs/partial-expression"},itemsResults:{$ref:"#/$defs/partial-expression"}}},{anyOf:[{type:"object"},{$ref:"#/$defs/partial-expression-obj"},{$ref:"#/$defs/partial-get-items-fetch"}]}]},"partial-get-items-fetch":{type:"object",required:["url"],properties:{url:{$ref:"#/$defs/partial-expression"}}},"partial-cols":{oneOf:[{$ref:"#/$defs/partial-cols-number"},{$ref:"#/$defs/partial-cols-obj"}]},"partial-cols-obj":{type:"object",additionalProperties:!1,properties:{xs:{$ref:"#/$defs/partial-cols-number"},sm:{$ref:"#/$defs/partial-cols-number"},md:{$ref:"#/$defs/partial-cols-number"},lg:{$ref:"#/$defs/partial-cols-number"},xl:{$ref:"#/$defs/partial-cols-number"},xxl:{$ref:"#/$defs/partial-cols-number"}}},"partial-cols-number":{type:"integer",minimum:0,maximum:12},"partial-slot":{oneOf:[{type:"string"},{$ref:"#/$defs/partial-slot-text"},{$ref:"#/$defs/partial-slot-markdown"},{$ref:"#/$defs/partial-slot-name"}]},"partial-slot-text":{type:"object",additionalProperties:!1,required:["text"],properties:{text:{type:"string"}}},"partial-slot-markdown":{type:"object",additionalProperties:!1,required:["markdown"],properties:{markdown:{type:"string"}}},"partial-slot-name":{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"}}}}},Ad={$id:"https://json-layout.github.io/normalized-layout-keyword",$defs:{"normalized-layout":{title:"normalized layout",type:"object",unevaluatedProperties:!1,oneOf:[{$ref:"#/$defs/switch-struct"},{$ref:"#/$defs/base-comp-object"}]},"switch-struct":{type:"object",required:["switch"],additionalProperties:!1,properties:{switch:{type:"array",items:{$ref:"#/$defs/base-comp-object"}}}},"base-comp-object":{type:"object",required:["comp"],properties:{comp:{type:"string"},if:{$ref:"#/$defs/expression"},options:{$ref:"#/$defs/state-node-options-base"},getOptions:{$ref:"#/$defs/expression"},defaultData:{},getDefaultData:{$ref:"#/$defs/expression"},constData:{},getConstData:{$ref:"#/$defs/expression"},transformData:{$ref:"#/$defs/expression"},nullable:{type:"boolean"},help:{type:"string"},cols:{$ref:"#/$defs/cols-obj"},props:{$ref:"#/$defs/state-node-props-lib"},getProps:{$ref:"#/$defs/expression"},slots:{type:"object",allOf:[{$ref:"#/$defs/state-node-slots-lib"},{properties:{before:{$ref:"#/$defs/slot"},after:{$ref:"#/$defs/slot"},component:{$ref:"#/$defs/slot"}}}]}}},"composite-comp-object":{allOf:[{$ref:"#/$defs/base-comp-object"},{type:"object",required:["children","comp"],properties:{comp:{type:"string"},title:{type:["string","null"]},subtitle:{type:["string","null"]},children:{$ref:"#/$defs/children"}}}]},"simple-comp-object":{allOf:[{$ref:"#/$defs/base-comp-object"},{type:"object",required:["comp"],properties:{comp:{type:"string"},label:{type:"string"}}}]},"focusable-comp-object":{allOf:[{$ref:"#/$defs/base-comp-object"},{type:"object",required:["comp"],properties:{comp:{type:"string"},label:{type:"string"},autofocus:{type:"boolean"}}}]},"items-based-comp-object":{allOf:[{$ref:"#/$defs/base-comp-object"},{type:"object",required:["comp"],properties:{comp:{type:"string"},items:{$ref:"#/$defs/select-items"},getItems:{$ref:"#/$defs/get-items"},multiple:{type:"boolean"},separator:{type:"string"}}}]},"multiple-compat-comp-object":{allOf:[{$ref:"#/$defs/base-comp-object"},{type:"object",required:["comp"],properties:{comp:{type:"string"},multiple:{type:"boolean"}}}]},"child-ref":{type:"object",required:["key"],additionalProperties:!1,properties:{key:{type:["string","integer"]},cols:{$ref:"#/$defs/cols-obj"}}},"child-composite":{type:"object",required:["key","children"],properties:{key:{type:["string","integer"]},cols:{$ref:"#/$defs/cols-obj"},comp:{type:"string"},title:{type:["string","null"]},subtitle:{type:["string","null"]},children:{$ref:"#/$defs/children"}}},child:{title:"Child",type:"object",oneOf:[{$ref:"#/$defs/child-ref"},{$ref:"#/$defs/child-composite"}]},children:{type:"array",items:{$ref:"#/$defs/child"}},"select-items":{type:"array",items:{$ref:"#/$defs/select-item"}},"select-item":{type:"object",required:["title","key","value"],properties:{title:{type:"string"},key:{type:"string"},value:{},icon:{type:"string"}}},"get-items":{type:"object",allOf:[{properties:{returnObjects:{type:"boolean",readOnly:!0},itemsResults:{$ref:"#/$defs/expression"},itemTitle:{$ref:"#/$defs/expression"},itemKey:{$ref:"#/$defs/expression"},itemValue:{$ref:"#/$defs/expression"},itemIcon:{$ref:"#/$defs/expression"},immutable:{type:"boolean"}}},{oneOf:[{$ref:"#/$defs/expression"},{$ref:"#/$defs/get-items-fetch"}]}]},"get-items-fetch":{type:"object",required:["url"],properties:{url:{$ref:"#/$defs/expression"},qSearchParam:{type:"string"},searchParams:{type:"object",patternProperties:{".*":{$ref:"#/$defs/expression"}}}}},expression:{type:"object",required:["type","expr","pure","dataAlias"],properties:{type:{type:"string",enum:["js-fn","js-eval","js-tpl"]},expr:{type:"string"},pure:{type:"boolean"},dataAlias:{type:"string"},ref:{type:"integer",readOnly:!0}}},"cols-obj":{type:"object",additionalProperties:!1,required:["xs"],properties:{xs:{$ref:"#/$defs/cols",default:12},sm:{$ref:"#/$defs/cols"},md:{$ref:"#/$defs/cols"},lg:{$ref:"#/$defs/cols"},xl:{$ref:"#/$defs/cols"},xxl:{$ref:"#/$defs/cols"}}},cols:{type:"integer",minimum:0,maximum:12},slot:{oneOf:[{type:"object",additionalProperties:!1,required:["text"],properties:{text:{type:"string"}}},{type:"object",additionalProperties:!1,required:["markdown"],properties:{markdown:{type:"string"}}},{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"}}}]},"state-node-options-base":{type:"object",allOf:[{$ref:"#/$defs/state-node-options-base-lib"},{properties:{readOnly:{type:"boolean",default:!1},summary:{type:"boolean",default:!1},titleDepth:{type:"integer",minimum:1,maximum:6,default:2},density:{type:"string",enum:["default","comfortable","compact"],default:"default"},indent:{type:["boolean","integer"]},removeAdditional:{description:"true is the same as 'unknown', false is the same as 'none'",default:"error",oneOf:[{type:"boolean"},{type:"string",enum:["unknown","error","none"]}]},validateOn:{type:"string",enum:["input","blur","submit"],default:"input"},updateOn:{type:"string",enum:["input","blur"],default:"input"},debounceInputMs:{type:"integer",minimum:0,default:300},initialValidation:{type:"string",enum:["never","always","withData"],default:"withData"},defaultOn:{type:"string",enum:["missing","empty","never"],default:"empty"},autofocus:{type:"boolean",default:!1},readOnlyPropertiesMode:{type:"string",enum:["remove","hide","show"],default:"show"}}}]},"state-node-options-base-lib":{type:"object",patternProperties:{".*":{}}},"state-node-props-lib":{type:"object",patternProperties:{".*":{}}},"state-node-slots-lib":{type:"object",patternProperties:{".*":{$ref:"#/$defs/slot"}}}}},zk=[{name:"none"},{name:"section",composite:!0},{name:"tabs",composite:!0},{name:"vertical-tabs",composite:!0},{name:"expansion-panels",composite:!0},{name:"stepper",composite:!0},{name:"card",composite:!0},{name:"list",schema:{required:["listEditMode","listActions"],properties:{title:{type:"string"},listEditMode:{type:"string",enum:["inline","inline-single","menu","dialog"]},listActions:{type:"array",items:{type:"string",enum:["add","edit","delete","sort","duplicate"]}},itemTitle:{$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/expression"},itemSubtitle:{$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/expression"},indexed:{type:"array",items:{type:"string"}},messages:{type:"object",additionalProperties:!1,properties:{addItem:{type:"string"},delete:{type:"string"},edit:{type:"string"},duplicate:{type:"string"},sort:{type:"string"}}}}}},{name:"text-field",shouldDebounce:!0,focusable:!0,emitsBlur:!0,schema:{properties:{placeholder:{type:"string"}}}},{name:"textarea",shouldDebounce:!0,focusable:!0,emitsBlur:!0,schema:{properties:{placeholder:{type:"string"}}}},{name:"number-field",shouldDebounce:!0,focusable:!0,emitsBlur:!0,schema:{properties:{step:{type:"number"},min:{type:"number"},max:{type:"number"},placeholder:{type:"string"}}}},{name:"checkbox"},{name:"switch"},{name:"slider",schema:{properties:{step:{type:"number"},min:{type:"number"},max:{type:"number"}}}},{name:"date-picker",schema:{properties:{min:{type:"string",format:"date"},max:{type:"string",format:"date"},format:{type:"string",enum:["date","date-time"],default:"date"}}}},{name:"date-time-picker",schema:{properties:{min:{type:"string",format:"date-time"},max:{type:"string",format:"date-time"}}}},{name:"time-picker",schema:{properties:{min:{type:"string",format:"time"},max:{type:"string",format:"time"}}}},{name:"color-picker"},{name:"select",focusable:!0,itemsBased:!0,multipleCompat:!0},{name:"autocomplete",focusable:!0,itemsBased:!0,multipleCompat:!0},{name:"combobox",focusable:!0,itemsBased:!0,multipleCompat:!0},{name:"number-combobox",focusable:!0,itemsBased:!0,multipleCompat:!0,schema:{properties:{step:{type:"number"},min:{type:"number"},max:{type:"number"}}}},{name:"checkbox-group",itemsBased:!0,multipleCompat:!0},{name:"switch-group",itemsBased:!0,multipleCompat:!0},{name:"radio-group",itemsBased:!0},{name:"file-input",focusable:!0,multipleCompat:!0,schema:{properties:{accept:{type:"string"},placeholder:{type:"string"}}}},{name:"one-of-select",schema:{properties:{emptyData:{type:"boolean"}}}}];function Fk(e){const a={type:"object",title:e.name,$id:`https://json-layout.github.io/component/${e.name}#`,unevaluatedProperties:!1,allOf:[{properties:{comp:{const:e.name}}},{$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/base-comp-object"}]};return e.composite?a.allOf.push({$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/composite-comp-object"}):a.allOf.push({$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/simple-comp-object"}),e.focusable&&a.allOf.push({$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/focusable-comp-object"}),e.itemsBased&&a.allOf.push({$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/items-based-comp-object"}),e.multipleCompat&&a.allOf.push({$ref:"https://json-layout.github.io/normalized-layout-keyword#/$defs/multiple-compat-comp-object"}),e.schema&&a.allOf.push(e.schema),a}const Lk=$d,nn=new Lk({code:{source:!0,esm:!0},discriminator:!0,allowMatchingProperties:!0,allowUnionTypes:!0,allErrors:!0});Sd.default(nn);Pd.default(nn);nn.addSchema(jd);nn.addSchema(Ad);const Tr={};function qk(e){if(Tr[e.name])return Tr[e.name];const a=Fk(e);return Tr[e.name]=nn.compile(a),Tr[e.name]}const Su=nn.getSchema(jd.$id);function Bk(e){return typeof e=="string"}function Kk(e){return typeof e=="object"&&"switch"in e}function Uk(e){return Array.isArray(e)}function Hk(e){return typeof e!="string"&&"children"in e}function Wk(e){return typeof e=="object"&&!Array.isArray(e)}function Gk(e){return typeof e=="string"||!!e.expr}function Pu(e){return typeof e=="object"}function Td(e){return typeof e=="object"&&!!e.url}function Yk(e){return typeof e=="object"&&!!e.markdown}const Cu=nn.getSchema(Ad.$id);function fn(e){return typeof e=="object"&&"switch"in e}function Xk(e){return!fn(e)}function Jk(e){return"comp"in e}function Md(e,a){var r;return!!((r=a[e.comp])!=null&&r.composite)}function Qk(e){return e.comp==="list"}function Zk(e,a){var r;return!!((r=a[e.comp])!=null&&r.focusable)}function Zo(e,a){var r;return!!((r=a[e.comp])!=null&&r.itemsBased)}function el(e){return!!e.expr}function tl(e){return!!e.url}function Vu(e){return!!e.text}function e$(e){return!!e.markdown}function t$(e){return!!e.name}function Ou(e,a){var s,n;const r=[];if(a==="object")for(const t of Object.keys(e)){if(t==="properties")for(const i of Object.keys(e.properties??{}))r.push({key:i}),(s=e.dependencies)!=null&&s[i]&&!Array.isArray(e.dependencies[i])&&r.push({key:`$deps-${i}`}),e.dependentSchemas&&e.dependentSchemas[i]&&r.push({key:`$deps-${i}`});if(t==="patternProperties"&&r.push({key:"$patternProperties"}),t==="allOf"&&(n=e.allOf)!=null&&n.length)for(let i=0;i{if(typeof s=="string"){const n=e.find(t=>t.key===s);if(!n)throw new Error(`unknown child "${s}"`);return n}else if(typeof s.cols=="number"&&(s.cols={sm:s.cols}),typeof s.cols=="object"&&s.cols.xs===void 0&&(s.cols.xs=12),s.key){if(!e.find(t=>t.key===s.key))throw new Error(`unknown child "${s.key}"`);return s}else{const n=s;return Hk(n)&&(n.comp||(n.comp="section"),n.children=Si(e,n.children)),"key"in s||(n.key=`$comp-${r}`,r++),n}})}function a$(e,a,r,s){const n=r&&["string","integer","number"].includes(r);if(s==="oneOf")return"one-of-select";if(s==="patternProperties")return"list";if(n&&a.enum)return a.enum.length>20?"autocomplete":"select";if(n&&a.oneOf)return a.oneOf.length>20?"autocomplete":"select";if(n&&a.examples||n&&a.anyOf&&a.anyOf.length&&Object.keys(a.anyOf[a.anyOf.length-1]).length===0)return r==="string"?"combobox":"number-combobox";if(r==="string"&&e.separator)return"combobox";if(e.items)return e.items.length>20?"autocomplete":"select";if(e.getItems)return Td(e.getItems)&&(e.getItems.qSearchParam||typeof e.getItems.url=="string"&&e.getItems.url.includes("{q}")||typeof e.getItems.url=="object"&&typeof e.getItems.url.expr=="string"&&e.getItems.url.expr.includes("{q}"))?"autocomplete":"select";if(r==="array"&&a.items){const t=["string","integer","number"].includes(a.items.type);if(t&&(a.items.enum||a.items.oneOf))return(a.items.enum||a.items.oneOf).length>20?"autocomplete":"select";if(t&&a.items.examples||t&&a.items.anyOf&&a.items.anyOf.length&&Object.keys(a.items.anyOf[a.items.anyOf.length-1]).length===0||t&&!a.items.layout&&!["date","date-time","time"].includes(a.items.format))return a.items.type==="string"?"combobox":"number-combobox"}if(r==="object")return"section";if(r==="array")return Array.isArray(a.items)?"section":"list";if(r==="string")return a.format==="date"?"date-picker":a.format==="date-time"?"date-time-picker":a.format==="time"?"time-picker":"text-field";if(r==="integer"||r==="number")return"number-field";if(r==="boolean")return"checkbox";throw new Error("failed to calculate default component for schema fragment")}function n$(e){return Wk(e)?{...e}:Bk(e)?{comp:e}:Uk(e)?{children:e}:{}}function r$(e){const a=typeof e=="string"?e:e.expr;return!a.includes("rootData.")&&!a.includes("rootData[")&&!a.includes("parent.data")&&!a.includes("parent.parent")}function Ot(e,a="js-eval",r="value"){const s=r$(e);return typeof e=="string"?{type:a,expr:e,pure:s,dataAlias:r}:{pure:s,type:a,dataAlias:r,...e}}function Eu(e){if(!e)return null;const{type:a}=Ya(e),r=a&&["string","integer","number"].includes(a);if(e.enum&&r)return e.enum.map(s=>({key:s+"",title:s+"",value:s}));if(e.examples&&r)return e.examples.map(s=>({key:s+"",title:s+"",value:s}));if(e.anyOf&&r&&e.anyOf.length&&Object.keys(e.anyOf[e.anyOf.length-1]).length===0){const s=e.anyOf.slice(0,-1);if(!s.find(n=>!("const"in n)))return s.map(n=>({...n,key:n.const+"",title:(n.title??n.const)+"",value:n.const}))}return e.oneOf&&r&&!e.oneOf.find(s=>!("const"in s))?e.oneOf.map(s=>({...s,key:s.const+"",title:(s.title??s.const)+"",value:s.const})):null}const Ya=e=>{if(Array.isArray(e.type)&&e.type.length===2&&e.type.includes("null"))return{type:e.type.find(r=>r!=="null"),nullable:!0};if(!e.type&&(e.properties||e.patternProperties))return{type:"object",nullable:!1};if(!e.type){const a=[];for(const r of["allOf","anyOf","oneOf"])if(e[r])for(const s of e[r]){const{type:n}=Ya(s);n&&!a.includes(n)&&a.push(n)}if(a.length===1)return{type:a[0],nullable:!1}}return{type:e.type,nullable:!1}};function xu(e,a,r,s,n,t,i,o,u,c){if("const"in r)return{comp:"none"};if(!s)return{comp:"none"};const l=n$(a);if(s==="array"&&!r.items&&l.comp!=="file-input")return{comp:"none"};l.comp||(l.comp=a$(l,r,s,c));const d=i[l.comp];if(!d)throw new Error(`unknown component "${l.comp}"`);if(l.comp==="none")return{comp:"none"};if(n&&(l.nullable=n),d.composite){const m=Si(Ou(r,s),l.children);l.children=m,"title"in l||m.length===1&&m[0].key==="$patternProperties"||(l.title=r.title??null)}else if(l.comp==="list")if(c==="patternProperties"){if(!("title"in l)){const p=Si(Ou(r,s),l.children);p.length===1&&p[0].key==="$patternProperties"&&(l.title=r.title??null)}let m=!1;for(const p of Object.values(r.patternProperties??{})){const{type:g}=Ya(p);g==="object"&&(m=!0)}l.listEditMode=l.listEditMode??(m?"inline-single":"inline"),l.listActions=l.listActions??["add","edit","delete"],l.indexed=Object.keys(r.patternProperties??{})}else{"title"in l||(l.title=r.title??""+e);const{type:m}=Ya(r.items);l.listEditMode=l.listEditMode??(m==="object"?"inline-single":"inline"),l.listActions=l.listActions??["add","edit","delete","duplicate","sort"]}else!("label"in l)&&!c&&(l.label=r.title??""+e);if(d.itemsBased&&!l.items){let m;s==="array"?m=Eu(r.items):m=Eu(r),m&&(l.getItems&&Pu(l.getItems)?(l.getItems.expr=JSON.stringify(m),l.getItems.immutable=!0):l.getItems={expr:JSON.stringify(m),immutable:!0})}d.multipleCompat&&(s==="array"||l.separator)&&(l.multiple=!0),l.comp==="date-picker"&&(r.format==="date"&&(l.format="date"),r.format==="date-time"&&(l.format="date-time")),["date-picker","date-time-picker","time-picker"].includes(l.comp)&&("formatMinimum"in r&&(l.min=l.min??r.formatMinimum),"formatMaximum"in r&&(l.max=l.max??r.formatMaximum)),["number-field","slider"].includes(l.comp)&&(s==="integer"&&(l.step=l.step??1),"minimum"in r&&(l.min=l.min??r.minimum),"maximum"in r&&(l.max=l.max??r.maximum)),l.if&&(l.if=Ot(l.if)),!l.defaultData&&r.type==="string"&&t.split("#").pop()===""&&(l.defaultData="");for(const m of u)m in l&&(l.options=l.options??{},l.options[m]=l[m],delete l[m]);if(r.readOnly&&(l.options=l.options??{},"readOnly"in l.options||(l.options.readOnly=!0)),l.getOptions!==void 0&&(l.getOptions=Ot(l.getOptions)),l.getDefaultData!==void 0&&(l.getDefaultData=Ot(l.getDefaultData)),l.getConstData!==void 0&&(l.getConstData=Ot(l.getConstData)),l.transformData!==void 0&&(l.transformData=Ot(l.transformData)),l.getProps!==void 0&&(l.getProps=Ot(l.getProps)),l.getItems&&Gk(l.getItems)&&(l.getItems=Ot(l.getItems)),l.getItems&&Pu(l.getItems)){if(s==="object"&&(l.getItems.returnObjects=!0),s==="array"){const{type:m}=Ya(r.items);m==="object"&&(l.getItems.returnObjects=!0)}l.getItems.itemTitle&&(l.getItems.itemTitle=Ot(l.getItems.itemTitle,"js-eval","item")),l.getItems.itemKey&&(l.getItems.itemKey=Ot(l.getItems.itemKey,"js-eval","item")),l.getItems.itemValue&&(l.getItems.itemValue=Ot(l.getItems.itemValue,"js-eval","item")),l.getItems.itemIcon&&(l.getItems.itemIcon=Ot(l.getItems.itemIcon,"js-eval","item")),l.getItems.itemsResults&&(l.getItems.itemsResults=Ot(l.getItems.itemsResults,"js-eval","body"))}if(l.getItems&&Td(l.getItems)&&(l.getItems.url=Ot(l.getItems.url,"js-tpl")),l.items&&(l.items=l.items.map(m=>{if(["string","integer","number"].includes(typeof m))return{title:m+"",key:m+"",value:m};if(typeof m=="object")return{key:(m.key??m.value)+"",title:(m.title??m.key??m.value)+"",value:m.value??m.key};throw new Error(`bad item for select: ${JSON.stringify(m)}`)})),!l.comp&&(l.items??l.getItems)&&(l.comp="select"),l.comp==="date-picker"&&r.format==="date-time"&&(l.format="date-time"),l.slots)for(const[m,p]of Object.entries(l.slots)){typeof p=="string"&&(["before","after"].includes(m)?l.slots[m]={markdown:p}:l.slots[m]={name:p});const g=l.slots[m];Yk(g)&&(g.markdown=o(g.markdown).trim())}r.description&&(d.composite&&l.title?l.subtitle===void 0&&(l.subtitle=r.description):l.help===void 0&&c!=="oneOf"&&(l.help=r.description)),l.help&&(l.help=o(l.help).trim()),l.subtitle&&(l.subtitle=o(l.subtitle).trim()),typeof l.cols=="number"&&(l.cols={xs:l.cols}),typeof l.cols=="object"&&l.cols.xs===void 0&&(l.cols.xs=12);const v=qk(d);if(!v(l)){const m=new Error(`component "${d.name}" validation errors`);throw m.cause=Pi(v.errors),m}return l}function s$(e,a,r,s,n,t,i,o,u,c){if(Kk(a)){const l=[],d=[...a.switch];d.find(v=>!v.if)||d.push({});for(let v=0;vHs(s,n=>n.keyword==="anyOf"||n.keyword==="oneOf"));for(const s of a)e.find(t=>Hs(t,i=>i.instancePath===s.instancePath&&i.keyword!=="type"))&&(e=e.filter(t=>Hs(t,i=>i.instancePath!==s.instancePath||i.keyword!=="type")));const r=[];for(const s of e){let n=s.message??s.keyword;s.params&&(n+=" "+JSON.stringify(s.params)),r.push(n)}return r}const Iu=["readOnly","summary","titleDepth","density","removeAdditional","validateOn","updateOne","debounceInputMs","initialValidation","defaultOn","readOnlyPropertiesMode"];function ju(e,a,r,s,n,t,i,o,u){o=o?o.concat(Iu):Iu;let c;if(u==="oneOf"?c=a.oneOfLayout??{}:u==="patternProperties"?c=a.patternPropertiesLayout??{}:c=a.layout??{},!Su(c)){const d=new Error("layout keyword validation errors at path");throw d.cause=Pi(Su.errors),d}const l=s$(e,c,a,r,s,n,t,i,o,u);if(!Cu(l)){const d=new Error("normalized layout validation errors at path");throw d.cause=Pi(Cu.errors),d}return l}function Ws(e,a,r,s,n=c=>c,t,i,o,u){const{type:c,nullable:l}=o?{type:o,nullable:u??!1}:Ya(a),d=[];try{return{layout:ju(e,a,c,l,r,s,n,t,i),errors:d}}catch(v){try{return d.push(v.message),v.cause&&Array.isArray(v.cause)&&d.push(...v.cause),d.push("failed to normalize layout, use default component"),{layout:ju(e,{...a,layout:{}},c,l,r,s,n,t,i),errors:d}}catch(m){return d.push(m.message),m.cause&&Array.isArray(m.cause)&&d.push(...m.cause),d.push("failed to produce default layout, hide this fragment"),{layout:{comp:"none"},errors:d}}}}function Au(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function i$(){return a;function e(r,s){const n=Object.keys(r),t=new Array(n.length);for(let i=0;i(r,s)=>{var c;const n=a.opts.uriResolver.resolve(r,s),[t,i]=n.split("#");if(e[t]=e[t]??((c=a.getSchema(t))==null?void 0:c.schema),!e[t])throw new Error(`reference not found ${t}`);const o=i.split("/").filter(l=>!!l),{value:u}=o.reduce((l,d)=>{if(l.path.push(d),!(d in l.value))throw new Error(`reference not found ${t}#${l.path.join("/")}`);return l.value=l.value[d],l},{path:[],value:e[t]});return[u,t,n]};function l$(e,a,r="en",s="en"){if(!e.$id)throw new Error("missing schema id");const n=o$({[e.$id]:e},a),t=[];return Ci(e,e.$id,n,r,s,t),n}const Ci=(e,a,r,s,n,t)=>{if(!t.includes(e)){t.push(e);for(const i of Object.keys(e))if(e[i]&&typeof e[i]=="object")if("$ref"in e[i]){const o=e[i].$ref.replace("~$locale~",s),u=e[i].$ref.replace("~$locale~",n);let c,l;try{[c,l]=r(a,o),e[i].$ref=o}catch{[c,l]=r(a,u),e[i].$ref=u}typeof c=="string"?e[i]=c:Ci(c,l,r,s,n,t)}else Ci(e[i],a,r,s,n,t)}};function u$(e,a,r){let s=null;if(e.items&&e.items.$ref){const[n]=r(a,e.items.$ref);s=s??Ka(e),s.items={...n,...e.items}}if(e.properties){for(const n in e.properties)if(e.properties[n].$ref){const[t]=r(a,e.properties[n].$ref);s=s??Ka(e),s.properties[n]={...t,...e.properties[n]}}}if(e.oneOf){for(let n=0;n{C.pure||(z=!1);const I=$.findIndex(j=>j.type===C.type&&j.expr===C.expr);I!==-1?C.ref=I:(C.ref=$.length,$.push(C))},R=fn(w)?w.switch:[w];for(const $ of R){$.if&&x(c,$.if),f.const!==void 0&&$.constData===void 0&&($.constData=f.const),$.constData!==void 0&&!$.getConstData&&($.getConstData={type:"js-eval",expr:"layout.constData",pure:!0,dataAlias:"value"}),$.getConstData&&x(c,$.getConstData);let C;"default"in f?C=f.default:v&&(S?C=null:O==="object"&&Md($,r.components)?C={}:O==="array"&&(C=[])),C!==void 0&&$.defaultData===void 0&&($.defaultData=C),$.defaultData!==void 0&&!$.getDefaultData&&($.getDefaultData={type:"js-eval",expr:"layout.defaultData",pure:!0,dataAlias:"value"}),$.getDefaultData&&x(c,$.getDefaultData),$.options!==void 0&&!$.getOptions&&($.getOptions={type:"js-eval",expr:"layout.options",pure:!0,dataAlias:"value"}),$.getOptions&&x(c,$.getOptions),$.props!==void 0&&!$.getProps&&($.getProps={type:"js-eval",expr:"layout.props",pure:!0,dataAlias:"value"}),$.getProps&&x(c,$.getProps),$.transformData&&x(c,$.transformData),Zo($,r.components)&&$.getItems&&(el($.getItems)&&x(c,$.getItems),tl($.getItems)&&x(c,$.getItems.url),$.getItems.itemTitle&&x(c,$.getItems.itemTitle),$.getItems.itemKey&&x(c,$.getItems.itemKey),$.getItems.itemValue&&x(c,$.getItems.itemValue),$.getItems.itemIcon&&x(c,$.getItems.itemIcon),$.getItems.itemsResults&&x(c,$.getItems.itemsResults))}const M={key:l??"",pointer:d,refPointer:y,pure:z,propertyKeys:[],roPropertyKeys:[],nullable:S,required:v&&!S};if(m){if(fn(w))throw new Error("Switch struct not allowed in conditional schema");M.condition={type:"js-eval",expr:m,pure:!0,dataAlias:"value"},x(c,M.condition)}if(f.oneOf&&(e.errorMessage.oneOf=r.messages.errorOneOf),O==="object"){if(f.properties){M.children=M.children??[];for(const $ of Object.keys(f.properties)){M.propertyKeys.push($),f.properties[$].readOnly&&M.roPropertyKeys.push($);const C=f.dependentRequired&&Object.values(f.dependentRequired).some(j=>j.includes($)),I=`${y}/properties/${$}`;if(t[I]||(t[I]="recursing",t[I]=za(f.properties[$],b,r,s,n,t,i,o,u,c,$,I,(T=f.required)==null?void 0:T.includes($),void 0,C)),M.children.push(I),(q=f.dependentSchemas)!=null&&q[$]||(B=f.dependencies)!=null&&B[$]&&!Array.isArray(f.dependencies[$])){const j=((H=f.dependentSchemas)==null?void 0:H[$])??f.dependencies[$],k=(Z=f.dependentSchemas)!=null&&Z[$]?`${y}/dependentSchemas/${$}`:`${y}/dependencies/${$}`;t[k]||(t[k]="recursing",t[k]=za(j,b,r,s,n,t,i,o,u,c,`$deps-${$}`,k,!1,`data["${$}"] !== undefined`,void 0,"object")),M.children.push(k)}}}if(f.allOf)for(let $=0;${var j;return!t[(j=n[I])==null?void 0:j.root].pure}),propertyKeys:[],roPropertyKeys:[]}),M.children=M.children??[],M.children.push($)}if(f.patternProperties){const $=`${d}/patternProperties`;if(!u[$]){const I=Ws("",f,$,r.components,r.markdown,r.optionsKeys,"patternProperties",O,S);u[$]=I.layout,I.errors.length&&(o[$.replace("_jl#","/")]=I.errors)}const C=[];for(const I of Object.keys(f.patternProperties)){const j=`${$}/${I}`;if(!n[j]){n[j]="recursing",n[j]=Kr(f.patternProperties[I],b,r,s,n,t,i,o,u,c,j,"pattern "+I);const k=u[t[n[j].root].pointer];if(fn(k))for(const V of k.switch)V.nullable=!0;else k.nullable=!0}C.push(j)}t[$]||(t[$]={key:"$patternProperties",pointer:$,refPointer:$,childrenTrees:C,pure:!C.some(I=>{var j;return!t[(j=n[I])==null?void 0:j.root].pure}),propertyKeys:[],roPropertyKeys:[]}),M.children=M.children??[],M.children.push($)}if(f.if){if(i.push(`${d}/if`),f.then){const $=`${y}/then`;t[$]||(t[$]="recursing",t[$]=za(f.then,b,r,s,n,t,i,o,u,c,"$then",$,!1,`validates["${d}/if"](data)`,void 0,"object")),M.children=M.children??[],M.children.push($)}if(f.else){const $=`${y}/else`;t[$]||(t[$]="recursing",t[$]=za(f.else,b,r,s,n,t,i,o,u,c,"$else",$,!1,`!validates["${d}/if"](data)`,void 0,"object")),M.children=M.children??[],M.children.push($)}}for(const $ of M.propertyKeys)(oe=f==null?void 0:f.required)!=null&&oe.includes($)&&(e.errorMessage.required=e.errorMessage.required??{},e.errorMessage.required[$]=r.messages.errorRequired),f.dependentRequired&&Object.keys(f.dependentRequired).includes($)&&(e.errorMessage.dependentRequired=r.messages.errorRequired)}if(O==="array"&&f.items)if(Array.isArray(f.items)){M.children=M.children??[];for(let $=0;${for(const[s,n]of Object.entries(e)){if(s.startsWith("x-i18n-")){typeof n!="object"&&console.error(`i18n property ${s} should be an object`);const t=s.replace("x-i18n-","");e[t]=n[a]??n[r]??e[t],delete e[s]}else if(Array.isArray(n))for(const t of n)Vi(t,a,r);typeof n=="object"&&Vi(n,a,r)}};function Oi(e=[],a=[]){if(!e||!a||e.length!==a.length)return a;for(let r=0;r{for(const r of["ajv","ajvOptions","code","markdown","markdownItOptions","xI18n","locale","defaultLocale","messages","optionsKeys","components"])if(r in a){if(r==="components"&&Dd(Object.keys(e.components??[]),Object.keys(a.components??[])))continue;e[r]=a[r]}else delete e[r]}),m$=e=>{let a=e.ajv;if(!a){const o={allErrors:!0,strict:!1,verbose:!0};e.ajvOptions&&Object.assign(o,e.ajvOptions),e.code&&(o.code={source:!0,esm:!0,lines:!0});const u=new d$(o);Sd.default(u),Pd.default(u),a=u}a.addKeyword("layout");let r=e.markdown;if(!r){const o=new lm(e.markdownItOptions??{});r=o.render.bind(o)}const s=e.defaultLocale||"en",n=e.locale||s,t={..._u[n]||_u[s]};e.messages&&Object.assign(t,e.messages);const i=zk.reduce((o,u)=>(o[u.name]=u,o),{});if(e.components){for(const o of Object.keys(e.components))i[o]={...e.components[o],name:o};Object.assign(i,e.components)}return{ajv:a,code:!1,markdown:r,optionsKeys:[],...e,locale:n,defaultLocale:s,messages:t,components:i,xI18n:!!e.xI18n}};function v$(e,a={}){const r=m$(a),s=Ka(e);s.$id=s.$id??"_jl";const n=l$(s,r.ajv,r.locale,r.defaultLocale);r.xI18n&&Vi(s,r.locale,r.defaultLocale);const t=[],i={},o=[],u={},c={},l={},d=`${s.$id}#`;c[d]="recursing",c[d]=Kr(s,s.$id,r,n,c,l,t,u,i,o,d,"main"),r.ajv.addSchema(s);const v=r.ajv.opts.uriResolver,m={};for(const g of t){const b=v.resolve(s.$id,g);m[g]=r.ajv.compile({$ref:b})}const p=[];for(const g of o){const b=g.pure?["data",g.dataAlias,"options","context","display","layout","validates"]:["data",g.dataAlias,"options","context","display","layout","validates","rootData","parent"];g.type==="js-fn"&&p.push(new Function(...b,g.expr)),g.type==="js-eval"&&p.push(new Function(...b,"return ("+g.expr+")")),g.type==="js-tpl"&&p.push(new Function(...b,"return `"+g.expr+"`"))}return Object.keys(u).length&&console.error("JSON layout encountered some validation errors:",u),{options:r,schema:s,mainTree:d,skeletonTrees:c,skeletonNodes:l,validates:m,validationErrors:u,normalizedLayouts:i,expressions:p,locale:r.locale,messages:r.messages,components:r.components,localizeErrors:Tu[r.locale]||Tu.en}}var Ei={exports:{}},Gs,Mu;function p$(){if(Mu)return Gs;Mu=1;var e=1e3,a=e*60,r=a*60,s=r*24,n=s*7,t=s*365.25;Gs=function(l,d){d=d||{};var v=typeof l;if(v==="string"&&l.length>0)return i(l);if(v==="number"&&isFinite(l))return d.long?u(l):o(l);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(l))};function i(l){if(l=String(l),!(l.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(l);if(d){var v=parseFloat(d[1]),m=(d[2]||"ms").toLowerCase();switch(m){case"years":case"year":case"yrs":case"yr":case"y":return v*t;case"weeks":case"week":case"w":return v*n;case"days":case"day":case"d":return v*s;case"hours":case"hour":case"hrs":case"hr":case"h":return v*r;case"minutes":case"minute":case"mins":case"min":case"m":return v*a;case"seconds":case"second":case"secs":case"sec":case"s":return v*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return v;default:return}}}}function o(l){var d=Math.abs(l);return d>=s?Math.round(l/s)+"d":d>=r?Math.round(l/r)+"h":d>=a?Math.round(l/a)+"m":d>=e?Math.round(l/e)+"s":l+"ms"}function u(l){var d=Math.abs(l);return d>=s?c(l,d,s,"day"):d>=r?c(l,d,r,"hour"):d>=a?c(l,d,a,"minute"):d>=e?c(l,d,e,"second"):l+" ms"}function c(l,d,v,m){var p=d>=v*1.5;return Math.round(l/v)+" "+m+(p?"s":"")}return Gs}function h$(e){r.debug=r,r.default=r,r.coerce=u,r.disable=t,r.enable=n,r.enabled=i,r.humanize=p$(),r.destroy=c,Object.keys(e).forEach(l=>{r[l]=e[l]}),r.names=[],r.skips=[],r.formatters={};function a(l){let d=0;for(let v=0;v{if(S==="%%")return"%";_++;const z=r.formatters[w];if(typeof z=="function"){const x=b[_];S=z.call(f,x),b.splice(_,1),_--}return S}),r.formatArgs.call(f,b),(f.log||r.log).apply(f,b)}return g.namespace=l,g.useColors=r.useColors(),g.color=r.selectColor(l),g.extend=s,g.destroy=r.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>v!==null?v:(m!==r.namespaces&&(m=r.namespaces,p=r.enabled(l)),p),set:b=>{v=b}}),typeof r.init=="function"&&r.init(g),g}function s(l,d){const v=r(this.namespace+(typeof d>"u"?":":d)+l);return v.log=this.log,v}function n(l){r.save(l),r.namespaces=l,r.names=[],r.skips=[];let d;const v=(typeof l=="string"?l:"").split(/[\s,]+/),m=v.length;for(d=0;d"-"+d)].join(",");return r.enable(""),l}function i(l){if(l[l.length-1]==="*")return!0;let d,v;for(d=0,v=r.skips.length;d{let c=!1;return()=>{c||(c=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function s(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let c;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(c=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(c[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const l="color: "+this.color;c.splice(1,0,l,"color: inherit");let d=0,v=0;c[0].replace(/%[a-zA-Z%]/g,m=>{m!=="%%"&&(d++,m==="%c"&&(v=d))}),c.splice(v,0,l)}a.log=console.debug||console.log||(()=>{});function t(c){try{c?a.storage.setItem("debug",c):a.storage.removeItem("debug")}catch{}}function i(){let c;try{c=a.storage.getItem("debug")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=r.DEBUG),c}function o(){try{return localStorage}catch{}}e.exports=y$(a);const{formatters:u}=e.exports;u.j=function(c){try{return JSON.stringify(c)}catch(l){return"[UnexpectedJSONParseError]: "+l.message}}})(Ei,Ei.exports);var g$=Ei.exports;const al=Cn(g$),Mr=["xs","sm","md","lg","xl","xxl"],it={xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560};class xi{constructor(a){ct(this,"width");this.width=a}get name(){for(let a=0;a=it.sm&&this.width=it.sm}get md(){return this.width>=it.md&&this.width=it.md}get lg(){return this.width>=it.lg&&this.width=it.lg}get xl(){return this.width>=it.xl&&this.width=it.xl}get xxl(){return this.width>=it.xxl}}function b$(e,a){if(!a)return[e,12];let r=a.xs;return e.smAndUp&&a.sm!==void 0&&(r=a.sm),e.mdAndUp&&a.md!==void 0&&(r=a.md),e.lgAndUp&&a.lg!==void 0&&(r=a.lg),e.xlAndUp&&a.xl!==void 0&&(r=a.xl),e.xxl&&a.xxl!==void 0&&(r=a.xxl),[r===12?e:new xi(Math.round(e.width*(r/12))),r]}const Ys={};function nl(e){return Ys[e]=Ys[e]??new RegExp(e),Ys[e]}const Dr=al("jl:state-node"),Ur=e=>!!(e===""||e===void 0||Array.isArray(e)&&!e.length||typeof e=="object"&&!Array.isArray(e)&&e&&Object.values(e).findIndex(a=>a!==void 0)===-1),k$=(e,a,r)=>!!(r.defaultOn==="missing"&&e===void 0||r.defaultOn==="empty"&&Ur(e)),$$=$t((e,a,r,s,n,t,i,o,u,c,l,d,v,m,p,g,b,f)=>{if(e.messages=o.messages?w$(e.messages||{},o.messages,m):m.messages,e.key=a,e.fullKey=r,e.parentFullKey=s,e.dataPath=n,e.parentDataPath=t,e.skeleton=i,e.layout=o,e.width=u,e.options=m,e.cols=c,e.data=l,e.error=d,e.itemsCacheKey=b,e.childError=f&&f.findIndex(y=>y.error||y.childError)!==-1,e.validated=v,p)e.autofocus=!0,delete e.autofocusChild;else{delete e.autofocus;const y=f==null?void 0:f.find(P=>P.autofocus);y?e.autofocusChild=y.key:delete e.autofocusChild}e.props=g,e.children=f}),w$=$t((e,a,r)=>{Object.assign(e,r.messages,a)}),_$=$t((e,a)=>{for(const r of a){const s=r.key;r.data===void 0?delete e[s]:e[s]=r.data}for(;e.length&&e[e.length-1]===void 0;)e.pop()}),S$=$t((e,a,r,s,n)=>{for(let t=0;t{if(n&&(n.length||r!=null&&r.length))for(const i of Object.keys(e))n.includes(i)||delete e[i];if(t)for(const i of t)delete e[i];if(r)for(const i of r)if(a===i.dataPath){if(i.data===void 0)continue;Object.assign(e,i.data)}else i.data===void 0?delete e[i.key]:e[i.key]=i.data;if(s)for(const i of s)i.instancePath===a&&(i.keyword==="additionalProperties"&&delete e[i.params.additionalProperty],i.keyword==="unevaluatedProperties"&&delete e[i.params.unevaluatedProperty])}),P$=$t((e,a,r,s)=>{for(const n of Object.keys(a))r.includes(n)||s.some(t=>!!n.match(nl(t)))&&(e[n]=a[n]);for(const n of Object.keys(e))n in a||delete e[n]}),C$=$t((e,a,r={})=>{for(const s in a)e[s]=r[s]??a[s];for(const s in r)e[s]=r[s];for(const s in e)!(s in a)&&!(s in r)&&delete e[s]}),Du=$t(e=>{e.readOnly=!0,e.summary=!0}),V$=$t((e,a)=>{a.title&&e.titleDepth<6&&(e.titleDepth+=1)}),Xs=(e,a,r,s)=>{var t,i,o;const n=((i=(t=e.params)==null?void 0:t.errors)==null?void 0:i[0])??e;return s===n.instancePath&&((o=n.params)==null?void 0:o.missingProperty)===a.key||n.instancePath===r&&(n.schemaPath===a.pointer||n.schemaPath===a.refPointer)},Js=(e,a,r,s)=>{var t,i;const n=((i=(t=e.params)==null?void 0:t.errors)==null?void 0:i[0])??e;return!(n.schemaPath===a.pointer||n.schemaPath.startsWith(a.pointer+"/"))&&!(n.schemaPath===a.refPointer||n.schemaPath.startsWith(a.refPointer+"/"))?!1:!!n.instancePath.startsWith(r)};function Zt(e,a,r,s,n,t,i,o,u){if(a.ref===void 0)throw new Error("expression was not compiled : "+JSON.stringify(a));const c=e[a.ref];try{return a.pure?c(r,r,s,s.context,n,t,i):c(r,r,s,s.context,n,t,i,o,u)}catch(l){const d={expression:a,data:r,context:s.context,display:n};throw d[a.dataAlias]=r,a.pure||(d.rootData=o,d.parent=u),console.warn("json-layout: failed to evaluate expression",l,d),new Error("json-layout: failed to evaluate expression")}}const O$=(e,a,r,s,n,t,i)=>{if(fn(e)){for(const o of e.switch)if(!o.if||Zt(r.expressions,o.if,n,a,s,o,r.validates,t,i))return o}else if(e.if){if(Zt(r.expressions,e.if,n,a,s,e,r.validates,t,i))return e}else return e;return{comp:"none"}};function Wn(e,a,r,s,n,t,i,o,u,c,l,d,v,m,p){var q,B,H,Z,oe,L,U,$,C,I,j,k,V,D,K,Q,te,X,le,J,re,ke,me,fe;Dr("createStateNode",n);let g=null;if(u.pure&&!(p!=null&&p.error)&&!(p!=null&&p.childError)){const ue=m.validatedForm||m.validatedChildren.includes(n);if(g=[p,a,r,n,u,c,l.width,ue,e.activatedItems,e.initial,d],p&&e.cacheKeys[n]&&Dd(e.cacheKeys[n],g))return Dr("createStateNode cache hit",n),e._debugCache&&(e._debugCache[n]=(e._debugCache[n]??[]).concat(["hit"])),p;Dr("createStateNode cache miss",n),e._debugCache&&(e._debugCache[n]=(e._debugCache[n]??[]).concat(["miss"]))}else Dr("createStateNode cache skip",n),e._debugCache&&(e._debugCache[n]=(e._debugCache[n]??[]).concat(["skip"]));const b=c&&Jk(c)?c:r.normalizedLayouts[u.pointer],f=O$(b,a,r,l,d,e.rootData,v),[y,P]=b$(l,(c==null?void 0:c.cols)??f.cols),_=f.getOptions?C$((p==null?void 0:p.options)??{},a,Zt(r.expressions,f.getOptions,d,a,y,f,r.validates,e.rootData,v)):a;e.initial&&a.autofocus&&f.autofocus&&f.comp!=="none"&&(e.autofocusTarget=n);let O;if(Md(f,r.components)){const ue=d??{},Oe=V$(_,f);O=[];let Ce=e.autofocusTarget===n;for(let Ne=0;Ner.skeletonNodes[Gt].key===we.key);if(Ae!==void 0&&(je=r.skeletonNodes[Ae]),je.condition&&!Zt(r.expressions,je.condition,ue,a,y,f,r.validates,e.rootData,v))continue;const He=typeof we.key=="string"&&we.key.startsWith("$"),Ze=`${n}/${we.key}`;Ce&&(e.autofocusTarget=Ze);let gt=He?ue:ue[we.key];if(we.key==="$patternProperties"){const Gt=r.normalizedLayouts[je.pointer];gt=P$(((Z=(H=p==null?void 0:p.children)==null?void 0:H.find(St=>St.key==="$patternProperties"))==null?void 0:Z.data)??{},ue,u.propertyKeys,Gt.indexed??[])}const la=Wn(e,Oe,r,we.key,Ze,n,He?i:`${i}/${we.key}`,i,je,we,y,gt,{parent:v,data:ue},m,(oe=p==null?void 0:p.children)==null?void 0:oe.find(Gt=>Gt.fullKey===Ze));(la.autofocus||la.autofocusChild!==void 0)&&(Ce=!1),O.push(la)}}if(s==="$oneOf"&&u.childrenTrees){const ue=n in e.activatedItems?e.activatedItems[n]:(L=u.childrenTrees)==null?void 0:L.findIndex(Oe=>r.validates[r.skeletonTrees[Oe].root](d));if(ue!==-1){e.errors=(U=e.errors)==null?void 0:U.filter(Ne=>{var je,Ae;const we=((Ae=(je=Ne.params)==null?void 0:je.errors)==null?void 0:Ae[0])??Ne;return!(Xs(Ne,u,i,o)||Js(Ne,u,i)&&(we.schemaPath.startsWith(u.pointer)&&!we.schemaPath.startsWith(u.pointer+"/"+ue)||we.schemaPath.startsWith(u.refPointer)&&!we.schemaPath.startsWith(u.refPointer+"/"+ue)))});const Oe=`${n}/${ue}`;e.autofocusTarget===n&&(e.autofocusTarget=Oe);const Ce=r.skeletonTrees[u.childrenTrees[ue]];O=[Wn(e,_,r,ue,Oe,n,i,i,r.skeletonNodes[Ce.root],null,y,d,{parent:v,data:d},m,($=p==null?void 0:p.children)==null?void 0:$[0])]}}if(Qk(f))if(f.indexed){const ue=d??[],Oe=f.listEditMode==="inline"?_:Du(_);O=[];let Ce=e.autofocusTarget===n;const Ne=Object.keys(ue);for(let we=0;wegt.key===je));(Ze.autofocus||Ze.autofocusChild!==void 0)&&(Ce=!1),O.push(Ze)}}}else{const ue=d??[],Oe=((D=u==null?void 0:u.childrenTrees)==null?void 0:D[0])&&r.skeletonNodes[(Q=r.skeletonTrees[(K=u==null?void 0:u.childrenTrees)==null?void 0:K[0]])==null?void 0:Q.root],Ce=f.listEditMode==="inline"?_:Du(_);O=[];let Ne=e.autofocusTarget===n;for(let we=0;weXs(ue,u,i,o));S||(S=(le=e.errors)==null?void 0:le.findLast(ue=>Js(ue,u,i))),f.comp!=="none"&&S&&(e.errors=(J=e.errors)==null?void 0:J.filter(ue=>!Xs(ue,u,i,o)&&!Js(ue,u,i)));let w=d;w===null&&!f.nullable&&(w=void 0);const z=m.validatedForm||m.validatedChildren.includes(n)||m.initialized===!1&&_.initialValidation==="always"||m.initialized===!1&&_.initialValidation==="withData"&&!Ur(w);if(typeof((re=O==null?void 0:O[0])==null?void 0:re.key)=="number"&&f.comp!=="one-of-select"&&!f.indexed)w=_$(w??[],O);else if(Array.isArray(w)){const ue=((ke=u.childrenTrees)==null?void 0:ke[0])&&r.skeletonTrees[(me=u.childrenTrees)==null?void 0:me[0]],Oe=ue&&r.skeletonNodes[ue.root]||null;w=S$(w??[],i,e.additionalPropertiesErrors,[!0,"unknown"].includes(_.removeAdditional)?Oe==null?void 0:Oe.propertyKeys:void 0,_.readOnlyPropertiesMode==="remove"?Oe==null?void 0:Oe.roPropertyKeys:void 0)}else if((typeof w=="object"||w===void 0&&(O!=null&&O.length))&&!(w instanceof File)){const ue=[!0,"unknown"].includes(_.removeAdditional)||(O==null?void 0:O.some(Oe=>Oe.key==="$patternProperties"));w=Rd(w??{},i,O,e.additionalPropertiesErrors,ue?u.propertyKeys:void 0,_.readOnlyPropertiesMode==="remove"?u.roPropertyKeys:void 0)}if(w!==d&&(Array.isArray(d)&&Array.isArray(w)?w=Oi(d,w):typeof d=="object"&&typeof w=="object"&&(w=c$(d,w))),f.getConstData)e.rehydrate||(w=Zt(r.expressions,f.getConstData,w,_,y,f,r.validates,e.rootData,v));else if(f.getDefaultData&&k$(w,f,_)){if(!e.rehydrate){const ue=Zt(r.expressions,f.getDefaultData,w,_,y,f,r.validates,e.rootData,v);(w===void 0||!Ur(ue))&&(w=ue)}}else Ur(w)&&(f.nullable?(_.defaultOn!=="missing"||w!==void 0)&&(w=null):_.defaultOn!=="missing"&&(w=void 0));let x;f.getProps&&(x=Zt(r.expressions,f.getProps,w,_,y,f,r.validates,e.rootData,v));let R;if(Zo(f,r.components)){if(f.items)R=f.items;else if((fe=f.getItems)!=null&&fe.immutable&&(p!=null&&p.itemsCacheKey))R=p.itemsCacheKey;else if(f.getItems&&el(f.getItems))if(f.getItems.immutable&&(p!=null&&p.itemsCacheKey))R=p.itemsCacheKey;else try{R=Zt(r.expressions,f.getItems,w,_,y,f,r.validates,e.rootData,v)}catch{R=null}else if(f.getItems&&tl(f.getItems))try{R=Zt(r.expressions,f.getItems.url,null,_,y,f,r.validates,e.rootData,v)}catch{R=null}}const M=Zk(f,r.components)&&!_.readOnly&&!_.summary&&e.autofocusTarget===n,T=$$(p??{},s,n,t,i,o,u,f,y.width,P,w,S==null?void 0:S.message,z,_,M,x,R,O&&Oi(p==null?void 0:p.children,O));return g&&(g[0]=T,e.cacheKeys[n]=g),T}const E$=$t((e,a,r)=>{if(a.dataPath===a.parentDataPath){if(Object.assign(e,r),a.data&&typeof r=="object"&&r!==null)for(const s of Object.keys(a.data))s in r||delete e[s]}else e[a.key]=r}),x$=$t((e,a,r)=>{e.root=a,e.valid=r});function*Nd(e){if(yield e,e.children)for(const a of e.children)yield*Nd(a)}function I$(e,a,r,s,n,t,i,o){var d,v;const u=r.validates[s.root],c=u(t);if(u.errors){for(const m of u.errors)m.keyword!=="errorMessage"&&r.localizeErrors([m]);if(e.errors=e.allErrors=u.errors,e.errors.length)for(const m of e.errors){const p=((v=(d=m.params)==null?void 0:d.errors)==null?void 0:v[0])??m;p!=null&&p.parentSchema.__pointer&&(p.schemaPath=p==null?void 0:p.parentSchema.__pointer,p.keyword==="oneOf"&&(p.schemaPath+="/oneOf"))}[!0,"error"].includes(a.removeAdditional)&&(e.additionalPropertiesErrors=u.errors.filter(m=>m.keyword==="additionalProperties"||m.keyword==="unevaluatedProperties"))}const l=Wn(e,a,r,"","",null,"",null,r.skeletonNodes[s.root],null,n,t,null,i,o==null?void 0:o.root);e.nodes=[],e.files=[];for(const m of Nd(l))e.nodes.push(m),m.data instanceof File&&e.files.push({dataPath:m.dataPath,file:m.data});return x$(o??{},l,c)}const rn=e=>!!e&&e.layout.comp==="section",j$=(e,a)=>!!e&&Zo(e.layout,a),_a=al("jl:data-binding");function A$(e,a){const r={...a.messages};return e.messages&&Object.assign(r,e.messages),{context:{},width:1e3,readOnly:!1,summary:!1,density:"default",indent:!1,titleDepth:2,validateOn:"input",initialValidation:"withData",updateOn:"input",debounceInputMs:300,defaultOn:"empty",removeAdditional:"error",autofocus:!1,readOnlyPropertiesMode:"show",onAutofocus:()=>{},onUpdate:()=>{},onData:()=>{},...e,messages:r}}class T${constructor(a,r,s,n){ct(this,"_compiledLayout");ct(this,"_stateTree");ct(this,"skeletonTree");ct(this,"_display");ct(this,"_validationState");ct(this,"_options");ct(this,"_data");ct(this,"_previousData");ct(this,"_dataWaitingForBlur",!1);ct(this,"_lastCreateStateTreeContext");ct(this,"_autofocusTarget");ct(this,"_previousAutofocusTarget");ct(this,"files",[]);ct(this,"debouncedInput",null);ct(this,"_itemsCache",{});ct(this,"activatedItems");_a("create stateful layout",a,r,s,n),this._compiledLayout=a,this.skeletonTree=r,this.prepareOptions(s),this._autofocusTarget=this.options.autofocus?"":null,this._previousAutofocusTarget=null,this._data=n,this._previousData=n,this.initValidationState(),this.activatedItems={},this.updateState(),this.handleAutofocus()}get compiledLayout(){return this._compiledLayout}get stateTree(){return this._stateTree}get display(){return this._display}get validationState(){return this._validationState}set validationState(a){this._validationState={initialized:a.initialized??this._validationState.initialized??!1,validatedForm:a.validatedForm??this._validationState.validatedForm??!1,validatedChildren:a.validatedChildren??this._validationState.validatedChildren??[]},this.updateState()}get options(){return this._options}set options(a){this.prepareOptions(a),this.updateState()}get data(){return this._data}set data(a){_a("apply main data setter",a),this._data=a,this.updateState()}prepareOptions(a){this._options=A$(a,this.compiledLayout),this._display=this._display&&this._display.width===this._options.width?this._display:new xi(this._options.width)}initValidationState(){const a=this.options.initialValidation==="always";this._validationState={initialized:a,validatedForm:a,validatedChildren:[]}}updateState(){this.createStateTree();let a=0;for(;this._data!==(this._stateTree.root.data??null)||this._autofocusTarget!==this._lastCreateStateTreeContext.autofocusTarget;){if(a+=1,a>100)throw console.error("too many iterations in updateState, the data is probably not stable",this._data,this._stateTree.root.data),new Error("too many iterations in updateState, the data is probably not stable");_a("hydrating state tree changed the data, do it again",this._data,this._stateTree.root.data),this._data=this._stateTree.root.data??null,this._autofocusTarget=this._lastCreateStateTreeContext.autofocusTarget,this.createStateTree(!0)}!this._stateTree.valid&&!this._stateTree.root.error&&!this._stateTree.root.childError&&console.error("JSON layout failed to assign validation error to a node",this._lastCreateStateTreeContext.allErrors),_a("emit update event",this._data,this._stateTree),this.options.onUpdate(this),this.emitData()}emitData(){!this._dataWaitingForBlur&&this._data!==this._previousData&&(_a("emit data event",this._data),this.options.onData(this._data),this._previousData=this._data)}createStateTree(a=!1){var s,n;const r={activatedItems:this.activatedItems,autofocusTarget:this._autofocusTarget,initial:!this._lastCreateStateTreeContext,rehydrate:a,cacheKeys:((s=this._lastCreateStateTreeContext)==null?void 0:s.cacheKeys)??{},rootData:this._data,files:[],nodes:[]};this._options._debugCache&&(r._debugCache=((n=this._lastCreateStateTreeContext)==null?void 0:n._debugCache)??{}),this._stateTree=I$(r,this._options,this._compiledLayout,this.skeletonTree,this._display,this._data,this._validationState,this._stateTree),this._lastCreateStateTreeContext=r,this.validationState.initialized||(this._validationState={initialized:!0,validatedForm:this._validationState.validatedForm,validatedChildren:r.nodes.filter(t=>t.validated).map(t=>t.fullKey)}),this.files=Oi(this.files,r.files)}validate(){this.validationState={validatedForm:!0}}resetValidation(){this.initValidationState(),this.updateState()}get valid(){return this.stateTree.valid}get errors(){return this._lastCreateStateTreeContext.nodes.filter(a=>!!a.error).map(a=>a.error)}get hasHiddenError(){return this._lastCreateStateTreeContext.nodes.findIndex(a=>a.error&&!a.validated)!==-1}getParentContextExpression(a){const r=this._lastCreateStateTreeContext.nodes.find(s=>s.fullKey===a.parentFullKey);return r?{parent:this.getParentContextExpression(r),data:r.data}:null}evalNodeExpression(a,r,s){return Zt(this.compiledLayout.expressions,r,s,a.options,new xi(a.width),a.layout,this.compiledLayout.validates,this._data,this.getParentContextExpression(a))}applyInput(a,r,s,n){_a("received input event from node",a,r);const t=a.layout.transformData&&this.evalNodeExpression(a,a.layout.transformData,r);if(a.layout.comp==="file-input"){if(t)r.toJSON=()=>t;else if(r instanceof File){const u={name:r.name,size:r.size,type:r.type};r.toJSON=()=>u}else if(Array.isArray(r))for(const u of r){const c={name:u.name,size:u.size,type:u.type};u.toJSON=()=>c}}else t&&(r=t);if(s&&!this.validationState.validatedChildren.includes(a.fullKey)&&(this.validationState={validatedChildren:this.validationState.validatedChildren.concat([a.fullKey])}),n!==void 0&&(this.activatedItems=$t(this.activatedItems,u=>{u[a.fullKey]=n}),this._autofocusTarget=a.fullKey+"/"+n),a.parentFullKey===null){this._data=r,this.updateState();return}const i=this._lastCreateStateTreeContext.nodes.find(u=>u.fullKey===a.parentFullKey);if(!i)throw new Error(`parent with key "${a.parentFullKey}" not found`);const o=E$(i.data??(typeof a.key=="number"?[]:{}),a,r??(a.skeleton.nullable?null:void 0));this.applyInput(i,o,s),n!==void 0&&this.handleAutofocus()}applyDebouncedInput(){this.debouncedInput&&(clearTimeout(this.debouncedInput[4]),this.applyInput(this.debouncedInput[0],this.debouncedInput[1],this.debouncedInput[2],this.debouncedInput[3]),this.debouncedInput=null)}input(a,r,s){var o,u;this.debouncedInput&&(this.debouncedInput[0]===a?clearTimeout(this.debouncedInput[4]):this.applyDebouncedInput());const n=(o=this.compiledLayout.components[a.layout.comp])==null?void 0:o.emitsBlur;a.options.updateOn==="blur"&&n&&(this._dataWaitingForBlur=!0);const t=a.options.validateOn==="input"||a.options.validateOn==="blur"&&!n;((u=this.compiledLayout.components[a.layout.comp])==null?void 0:u.shouldDebounce)&&a.options.debounceInputMs?this.debouncedInput=[a,r,t,s,setTimeout(()=>this.applyDebouncedInput(),a.options.debounceInputMs)]:this.applyInput(a,r,t,s)}blur(a){this.applyDebouncedInput(),_a("received blur event from node",a),(a.options.validateOn==="input"||a.options.validateOn==="blur")&&!this.validationState.validatedChildren.includes(a.fullKey)&&(this.validationState={validatedChildren:this.validationState.validatedChildren.concat([a.fullKey])}),this._dataWaitingForBlur&&(this._dataWaitingForBlur=!1,this.emitData())}validateNodeRecurse(a){if(this.validationState={validatedChildren:this.validationState.validatedChildren.concat([a.fullKey])},a.children)for(const r of a.children)this.validateNodeRecurse(r)}async getItemsWithoutCache(a,r=""){var i;if(!j$(a,this._compiledLayout.components))throw new Error("node is not a component with an items list");if(a.itemsCacheKey===null)return{appliedQ:!1,items:[]};let s=!1,n;if((a.layout.items||a.layout.getItems&&el(a.layout.getItems))&&(n=a.itemsCacheKey),a.layout.getItems&&tl(a.layout.getItems)){const o=new URL(a.itemsCacheKey);let u=a.layout.getItems.qSearchParam;if(!u)for(const c of o.searchParams.entries())c[1]==="{q}"&&(u=c[0]);u&&(s=!0,r?o.searchParams.set(u,r):o.searchParams.delete(u)),n=await(await fetch(o)).json()}if(!n)throw new Error(`node ${a.fullKey} is missing items or getItems parameters`);if((i=a.layout.getItems)!=null&&i.itemsResults&&(n=this.evalNodeExpression(a,a.layout.getItems.itemsResults,n)),!Array.isArray(n))throw new Error(`getItems didn't return an array for node ${a.fullKey}, you can define itemsResults to extract the array`);const t=n.map(o=>this.prepareSelectItem(a,o));return{appliedQ:s,items:t}}async getItems(a,r=""){let s;return this._itemsCache[a.fullKey]&&this._itemsCache[a.fullKey].key===a.itemsCacheKey&&(!r||!this._itemsCache[a.fullKey].appliedQ)?s=this._itemsCache[a.fullKey]:(s=await this.getItemsWithoutCache(a,r),(!r||!s.appliedQ)&&(this._itemsCache[a.fullKey]={key:a.itemsCacheKey,...s})),r&&!s.appliedQ?s.items.filter(n=>n.title.toLowerCase().includes(r.toLowerCase())):s.items}prepareSelectItem(a,r){var t,i,o,u,c,l,d,v,m;const s={},n=a.layout;return typeof r=="object"?(s.value=(t=n.getItems)!=null&&t.itemValue?this.evalNodeExpression(a,n.getItems.itemValue,r):(i=n.getItems)!=null&&i.returnObjects?r:r.value,s.key=(o=n.getItems)!=null&&o.itemKey?this.evalNodeExpression(a,n.getItems.itemKey,r):r.key,s.title=(u=n.getItems)!=null&&u.itemTitle?this.evalNodeExpression(a,n.getItems.itemTitle,r):r.title,s.value=s.value??s.key,s.key=s.key??s.value+"",s.title=s.title??s.key,!s.icon&&r.icon&&(s.icon=r.icon)):(s.value=(c=n.getItems)!=null&&c.itemValue?this.evalNodeExpression(a,n.getItems.itemValue,r):r,s.key=(l=n.getItems)!=null&&l.itemKey?this.evalNodeExpression(a,n.getItems.itemKey,r):s.value,s.title=(d=n.getItems)!=null&&d.itemTitle?this.evalNodeExpression(a,n.getItems.itemTitle,r):s.value),(v=n.getItems)!=null&&v.itemIcon&&(s.icon=this.evalNodeExpression(a,(m=n.getItems)==null?void 0:m.itemIcon,r)),s}activateItem(a,r){var s,n;if(this.activatedItems=$t(this.activatedItems,t=>{t[a.fullKey]=r}),this._autofocusTarget=a.fullKey+"/"+r,a.key==="$oneOf")if(a.layout.emptyData&&a.data&&typeof a.data=="object"&&((s=a.children)!=null&&s[0])){const t=this._lastCreateStateTreeContext.nodes.find(o=>o.fullKey===a.parentFullKey);if(!t)throw new Error(`parent with key "${a.parentFullKey}" not found`);if(!t.data||typeof t.data!="object")throw new Error(`parent with key "${a.parentFullKey}" is missing data object`);const i={...t.data};for(const o of(n=a.children)==null?void 0:n[0].skeleton.propertyKeys)delete i[o];this.input(t,i)}else this.input(a,void 0);else this.updateState();this.handleAutofocus()}deactivateItem(a){this.activatedItems=$t(this.activatedItems,r=>{for(const s in r)s.startsWith(a.fullKey)&&delete r[s]}),this.updateState()}handleAutofocus(){const a=this._autofocusTarget;a!==null&&this._autofocusTarget!==this._previousAutofocusTarget&&(this._previousAutofocusTarget=a,setTimeout(()=>{_a("emit autofocus event",a),this.options.onAutofocus(a)}))}}const zd=ss.reduce((e,a)=>(e[a]={type:[Boolean,String,Number],default:!1},e),{}),Fd=ss.reduce((e,a)=>{const r="offset"+qi(a);return e[r]={type:[String,Number],default:null},e},{}),Ld=ss.reduce((e,a)=>{const r="order"+qi(a);return e[r]={type:[String,Number],default:null},e},{}),Ru={col:Object.keys(zd),offset:Object.keys(Fd),order:Object.keys(Ld)};function M$(e,a,r){let s=e;if(!(r==null||r===!1)){if(a){const n=a.replace(e,"");s+=`-${n}`}return e==="col"&&(s="v-"+s),e==="col"&&(r===""||r===!0)||(s+=`-${r}`),s.toLowerCase()}}const D$=["auto","start","end","center","baseline","stretch"],R$=ie({cols:{type:[Boolean,String,Number],default:!1},...zd,offset:{type:[String,Number],default:null},...Fd,order:{type:[String,Number],default:null},...Ld,alignSelf:{type:String,default:null,validator:e=>D$.includes(e)},...qe(),...Wt()},"VCol"),qd=ve()({name:"VCol",props:R$(),setup(e,a){let{slots:r}=a;const s=E(()=>{const n=[];let t;for(t in Ru)Ru[t].forEach(o=>{const u=e[o],c=M$(t,o,u);c&&n.push(c)});const i=n.some(o=>o.startsWith("v-col-"));return n.push({"v-col":!i||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),n});return()=>{var n;return ze(e.tag,{class:[s.value,e.class],style:e.style},(n=r.default)==null?void 0:n.call(r))}}}),rl=["start","end","center"],Bd=["space-between","space-around","space-evenly"];function sl(e,a){return ss.reduce((r,s)=>{const n=e+qi(s);return r[n]=a(),r},{})}const N$=[...rl,"baseline","stretch"],Kd=e=>N$.includes(e),Ud=sl("align",()=>({type:String,default:null,validator:Kd})),z$=[...rl,...Bd],Hd=e=>z$.includes(e),Wd=sl("justify",()=>({type:String,default:null,validator:Hd})),F$=[...rl,...Bd,"stretch"],Gd=e=>F$.includes(e),Yd=sl("alignContent",()=>({type:String,default:null,validator:Gd})),Nu={align:Object.keys(Ud),justify:Object.keys(Wd),alignContent:Object.keys(Yd)},L$={align:"align",justify:"justify",alignContent:"align-content"};function q$(e,a,r){let s=L$[e];if(r!=null){if(a){const n=a.replace(e,"");s+=`-${n}`}return s+=`-${r}`,s.toLowerCase()}}const B$=ie({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:Kd},...Ud,justify:{type:String,default:null,validator:Hd},...Wd,alignContent:{type:String,default:null,validator:Gd},...Yd,...qe(),...Wt()},"VRow"),ya=ve()({name:"VRow",props:B$(),setup(e,a){let{slots:r}=a;const s=E(()=>{const n=[];let t;for(t in Nu)Nu[t].forEach(i=>{const o=e[i],u=q$(t,i,o);u&&n.push(u)});return n.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}),n});return()=>{var n;return ze(e.tag,{class:["v-row",s.value,e.class],style:e.style},(n=r.default)==null?void 0:n.call(r))}}}),Hr={props:{layoutSlot:{type:Object,required:!0},node:{type:Object,required:!0},statefulLayout:{type:Object,required:!0},tag:{type:String,default:null}},render(){const e=this.tag??(Vu(this.layoutSlot)?"p":"div");if(Vu(this.layoutSlot))return ze(e,this.layoutSlot.text);if(e$(this.layoutSlot))return ze(e,{innerHTML:this.layoutSlot.markdown});if(t$(this.layoutSlot))if(!this.statefulLayout.options.vjsfSlots[this.layoutSlot.name])console.error(`vjsf: layout references a code slot "${this.layoutSlot.name}" that was not provided.`);else return ze(e,this.statefulLayout.options.vjsfSlots[this.layoutSlot.name]({node:this.node,statefulLayout:this.statefulLayout}));return null}},K$=ie({target:[Object,Array]},"v-dialog-transition"),Xd=ve()({name:"VDialogTransition",props:K$(),setup(e,a){let{slots:r}=a;const s={onBeforeEnter(n){n.style.pointerEvents="none",n.style.visibility="hidden"},async onEnter(n,t){var v;await new Promise(m=>requestAnimationFrame(m)),await new Promise(m=>requestAnimationFrame(m)),n.style.visibility="";const{x:i,y:o,sx:u,sy:c,speed:l}=Fu(e.target,n),d=Ua(n,[{transform:`translate(${i}px, ${o}px) scale(${u}, ${c})`,opacity:0},{}],{duration:225*l,easing:dv});(v=zu(n))==null||v.forEach(m=>{Ua(m,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*l,easing:tr})}),d.finished.then(()=>t())},onAfterEnter(n){n.style.removeProperty("pointer-events")},onBeforeLeave(n){n.style.pointerEvents="none"},async onLeave(n,t){var v;await new Promise(m=>requestAnimationFrame(m));const{x:i,y:o,sx:u,sy:c,speed:l}=Fu(e.target,n);Ua(n,[{},{transform:`translate(${i}px, ${o}px) scale(${u}, ${c})`,opacity:0}],{duration:125*l,easing:fv}).finished.then(()=>t()),(v=zu(n))==null||v.forEach(m=>{Ua(m,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*l,easing:tr})})},onAfterLeave(n){n.style.removeProperty("pointer-events")}};return()=>e.target?h(ni,se({name:"dialog-transition"},s,{css:!1}),r):h(ni,{name:"dialog-transition"},r)}});function zu(e){var r;const a=(r=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return a&&[...a]}function Fu(e,a){const r=Rc(e),s=Zi(a),[n,t]=getComputedStyle(a).transformOrigin.split(" ").map(f=>parseFloat(f)),[i,o]=getComputedStyle(a).getPropertyValue("--v-overlay-anchor-origin").split(" ");let u=r.left+r.width/2;i==="left"||o==="left"?u-=r.width/2:(i==="right"||o==="right")&&(u+=r.width/2);let c=r.top+r.height/2;i==="top"||o==="top"?c-=r.height/2:(i==="bottom"||o==="bottom")&&(c+=r.height/2);const l=r.width/s.width,d=r.height/s.height,v=Math.max(1,l,d),m=l/v||0,p=d/v||0,g=s.width*s.height/(window.innerWidth*window.innerHeight),b=g>.12?Math.min(1.5,(g-.12)*10+1):1;return{x:u-(n+s.left),y:c-(t+s.top),sx:m,sy:p,speed:b}}const U$=["innerHTML"],H$={__name:"help-message",props:{node:{type:Object,required:!0}},setup(e){const a=ee(!1);return(r,s)=>(ae(),Fe("div",{class:ta(`vjsf-help-message vjsf-help-message-${e.node.options.density}`)},[h(Y(Lm),null,{default:ne(()=>[mt(h(Y(Oc),{color:"info"},{default:ne(()=>[is("div",{innerHTML:e.node.layout.help},null,8,U$)]),_:1},512),[[xa,a.value]])]),_:1}),h(Y(Le),{color:"info",class:ta(`vjsf-help-message-toggle vjsf-help-message-toggle-${e.node.options.density}`),icon:a.value?"mdi-close":"mdi-information-symbol",border:0,elevation:a.value?0:2,density:"compact",size:e.node.options.density==="default"?28:24,title:a.value?"":e.node.messages.showHelp,onClick:s[0]||(s[0]=n=>a.value=!a.value)},null,8,["class","icon","elevation","size","title"])],2))}},ga={__name:"node",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfNode");const a=e,r={compact:"my-1",comfortable:"my-2",default:"my-3"},s=lc(),n=E(()=>a.modelValue.parentFullKey===null||!a.modelValue.options.indent||a.modelValue.layout.comp!=="section"||!a.modelValue.layout.title?0:typeof a.modelValue.options.indent=="number"?a.modelValue.options.indent:a.modelValue.options.density==="compact"?2:a.modelValue.options.density==="comfortable"?4:6),t=E(()=>{let i=`vjsf-node vjsf-node-${a.modelValue.layout.comp} vjsf-density-${a.modelValue.options.density}`;return a.modelValue.options.readOnly&&(i+=" vjsf-readonly"),a.modelValue.options.summary&&(i+=" vjsf-summary"),s.current.value.dark&&(i+=" vjsf-dark"),n.value&&(i+=" ml-"+n.value),i});return a.modelValue.layout.comp!=="none"&&!a.statefulLayout.options.nodeComponents[a.modelValue.layout.comp]&&console.error(`vjsf: missing component to render vjsf node "${a.modelValue.layout.comp}", maybe you forgot to register a component from a plugin ?`),(i,o)=>(ae(),he(Y(ot),{defaults:{global:{density:a.modelValue.options.density}}},{default:ne(()=>[e.modelValue.layout.comp!=="none"?(ae(),he(Y(qd),{key:0,cols:e.modelValue.cols,class:ta(t.value)},{default:ne(()=>{var u,c,l,d,v,m;return[(u=e.modelValue.layout.slots)!=null&&u.before?(ae(),he(Hr,{key:"before","layout-slot":(c=e.modelValue.layout.slots)==null?void 0:c.before,node:e.modelValue,"stateful-layout":e.statefulLayout,class:ta(r[e.modelValue.options.density])},null,8,["layout-slot","node","stateful-layout","class"])):De("",!0),e.modelValue.layout.help&&!e.modelValue.options.summary?(ae(),he(H$,{key:1,node:e.modelValue},null,8,["node"])):De("",!0),(l=e.modelValue.layout.slots)!=null&&l.component?(ae(),he(Hr,{key:"component","layout-slot":(d=e.modelValue.layout.slots)==null?void 0:d.component,node:e.modelValue,"stateful-layout":e.statefulLayout},null,8,["layout-slot","node","stateful-layout"])):(ae(),he(uc(a.statefulLayout.options.nodeComponents[e.modelValue.layout.comp]),{key:3,"model-value":e.modelValue,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"])),(v=e.modelValue.layout.slots)!=null&&v.after?(ae(),he(Hr,{key:"after","layout-slot":(m=e.modelValue.layout.slots)==null?void 0:m.after,node:e.modelValue,"stateful-layout":e.statefulLayout,class:ta(r[e.modelValue.options.density])},null,8,["layout-slot","node","stateful-layout","class"])):De("",!0)]}),_:1},8,["cols","class"])):De("",!0)]),_:1},8,["defaults"]))}},W$={__name:"tree",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){return(a,r)=>(ae(),he(Y(ya),{class:"vjsf-tree"},{default:ne(()=>[h(ga,{"stateful-layout":e.statefulLayout,"model-value":e.modelValue.root},null,8,["stateful-layout","model-value"])]),_:1}))}};function il(e){return um()?(Dt(e),!0):!1}function sr(e){return typeof e=="function"?e():Y(e)}const G$=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Y$=Object.prototype.toString,X$=e=>Y$.call(e)==="[object Object]",Ii=()=>{};function J$(e,a){function r(...s){return new Promise((n,t)=>{Promise.resolve(e(()=>a.apply(this,s),{fn:a,thisArg:this,args:s})).then(n).catch(t)})}return r}const Q$=e=>e();function Z$(e,a={}){let r,s,n=Ii;const t=o=>{clearTimeout(o),n(),n=Ii};return o=>{const u=sr(e),c=sr(a.maxWait);return r&&t(r),u<=0||c!==void 0&&c<=0?(s&&(t(s),s=null),Promise.resolve(o())):new Promise((l,d)=>{n=a.rejectOnCancel?d:l,c&&!s&&(s=setTimeout(()=>{r&&t(r),s=null,l(o())},c)),r=setTimeout(()=>{s&&t(s),s=null,l(o())},u)})}}function e0(e){return Bi()}function t0(e,a,r={}){const{eventFilter:s=Q$,...n}=r;return de(e,J$(s,a),n)}function Jd(e,a=!0,r){e0()?oa(e,r):a?e():nt(e)}function NS(e,a,r={}){const{debounce:s=0,maxWait:n=void 0,...t}=r;return t0(e,a,{...t,eventFilter:Z$(s,{maxWait:n})})}function Ha(e){var a;const r=sr(e);return(a=r==null?void 0:r.$el)!=null?a:r}const $r=G$?window:void 0;function a0(...e){let a,r,s,n;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,s,n]=e,a=$r):[a,r,s,n]=e,!a)return Ii;Array.isArray(r)||(r=[r]),Array.isArray(s)||(s=[s]);const t=[],i=()=>{t.forEach(l=>l()),t.length=0},o=(l,d,v,m)=>(l.addEventListener(d,v,m),()=>l.removeEventListener(d,v,m)),u=de(()=>[Ha(a),sr(n)],([l,d])=>{if(i(),!l)return;const v=X$(d)?{...d}:d;t.push(...r.flatMap(m=>s.map(p=>o(l,m,p,v))))},{immediate:!0,flush:"post"}),c=()=>{u(),i()};return il(c),c}function n0(){const e=ee(!1),a=Bi();return a&&oa(()=>{e.value=!0},a),e}function Qd(e){const a=n0();return E(()=>(a.value,!!e()))}function r0(e,a={}){const{window:r=$r}=a,s=Qd(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let n;const t=ee(!1),i=c=>{t.value=c.matches},o=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",i):n.removeListener(i))},u=ra(()=>{s.value&&(o(),n=r.matchMedia(sr(e)),"addEventListener"in n?n.addEventListener("change",i):n.addListener(i),t.value=n.matches)});return il(()=>{u(),o(),n=void 0}),t}function s0(e,a,r={}){const{window:s=$r,...n}=r;let t;const i=Qd(()=>s&&"ResizeObserver"in s),o=()=>{t&&(t.disconnect(),t=void 0)},u=E(()=>Array.isArray(e)?e.map(d=>Ha(d)):[Ha(e)]),c=de(u,d=>{if(o(),i.value&&s){t=new ResizeObserver(a);for(const v of d)v&&t.observe(v,n)}},{immediate:!0,flush:"post"}),l=()=>{o(),c()};return il(l),{isSupported:i,stop:l}}function i0(e,a={width:0,height:0},r={}){const{window:s=$r,box:n="content-box"}=r,t=E(()=>{var d,v;return(v=(d=Ha(e))==null?void 0:d.namespaceURI)==null?void 0:v.includes("svg")}),i=ee(a.width),o=ee(a.height),{stop:u}=s0(e,([d])=>{const v=n==="border-box"?d.borderBoxSize:n==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(s&&t.value){const m=Ha(e);if(m){const p=s.getComputedStyle(m);i.value=Number.parseFloat(p.width),o.value=Number.parseFloat(p.height)}}else if(v){const m=Array.isArray(v)?v:[v];i.value=m.reduce((p,{inlineSize:g})=>p+g,0),o.value=m.reduce((p,{blockSize:g})=>p+g,0)}else i.value=d.contentRect.width,o.value=d.contentRect.height},r);Jd(()=>{const d=Ha(e);d&&(i.value="offsetWidth"in d?d.offsetWidth:a.width,o.value="offsetHeight"in d?d.offsetHeight:a.height)});const c=de(()=>Ha(e),d=>{i.value=d?a.width:0,o.value=d?a.height:0});function l(){u(),c()}return{width:i,height:o,stop:l}}function zS(e={}){const{window:a=$r,initialWidth:r=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:n=!0,includeScrollbar:t=!0}=e,i=ee(r),o=ee(s),u=()=>{a&&(t?(i.value=a.innerWidth,o.value=a.innerHeight):(i.value=a.document.documentElement.clientWidth,o.value=a.document.documentElement.clientHeight))};if(u(),Jd(u),a0("resize",u,{passive:!0}),n){const c=r0("(orientation: portrait)");de(c,()=>u())}return{width:i,height:o}}const o0={nodeComponents:{},plugins:[],pluginsOptions:{}},l0=(e,a,r,s,n,t,i,o)=>{const u={...e==null?void 0:e.components},c={...n,...e==null?void 0:e.nodeComponents};if(e!=null&&e.plugins)for(const d of e.plugins)u[d.info.name]=d.info,c[d.info.name]=d.nodeComponent;return{...o0,readOnly:!!(a&&(a.isDisabled.value||a.isReadonly.value)),...e,onData:t,onUpdate:i,onAutofocus:o,context:e!=null&&e.context?JSON.parse(JSON.stringify(e.context)):{},width:Math.round(r??0),vjsfSlots:{...s},components:u,nodeComponents:c}},Et=al("vjsf:use-vjsf");Dk(!1);const u0={"update:modelValue":e=>!0,"update:state":e=>!0},c0=(e,a,r,s,n,t,i)=>{const o=ee(null),{width:u}=i0(o),c=_e(null),l=_e(null),d=Ct(Symbol.for("vuetify:form"),null);d&&d.register({id:"vjsf",validate:()=>{var _,O;return(_=c.value)==null||_.validate(),(O=c.value)==null?void 0:O.errors},reset:()=>{var _;return(_=c.value)==null?void 0:_.resetValidation()},resetValidation:()=>{var _;return(_=c.value)==null?void 0:_.resetValidation()},vm:Bi()});const v=cm(),m=_=>{Et("onStatefulLayoutUpdate",_),_&&(l.value=_.stateTree,Et(" -> emit update:state"),n("update:state",_),d&&(_.valid?d.update("vjsf",!0,[]):_.hasHiddenError?d.update("vjsf",null,[]):d.update("vjsf",!1,[])))},p=_=>{Et("onDataUpdate",_),Et(" -> emit update:modelValue"),n("update:modelValue",_)},g=()=>{if(!o.value)return;const _=o.value.querySelector(".vjsf-input--autofocus");if(Et("onAutofocus",_),_){const O=_.querySelector("input")??_.querySelector('textarea:not([style*="display: none"]');O&&O.focus()}},b=E(()=>l0(r.value,d,u.value,v,{...s},p,m,g)),f=ee({});de(b,_=>{if(i!=null&&i.value)return;const O=f$(f.value,_);O!==f.value&&(Et("new compileOptions",O),f.value=O)},{immediate:!0});const y=E(()=>{if(i!=null&&i.value)return i==null?void 0:i.value;if(!t)throw new Error("compile function is not available");return t(e.value,f.value)}),P=()=>{u.value&&(c.value=new T$(Sa(y.value),Sa(y.value.skeletonTrees[y.value.mainTree]),Sa(b.value),Sa(a.value)))};return de(b,_=>{Et("watch fullOptions",b),c.value?(Et(" -> update statefulLayout options"),c.value.options=Sa(_)):(Et(" -> init statefulLayout"),P())}),de(a,_=>{const O=Sa(_);c.value&&c.value.data!==O&&(Et("modelValue changed from outside",O),Et(" -> update statefulLayout data"),c.value.data=Sa(O))}),de(y,_=>{Et("watch compiledLayout",_),Et(" -> init statefulLayout"),P()}),{el:o,statefulLayout:c,stateTree:l}},d0=["innerHTML"],Nn={__name:"section-header",props:{node:{type:Object,required:!0},hideTitle:{type:Boolean,default:!1}},setup(e){const a=e,r=E(()=>a.node.options.density==="compact"?6:a.node.options.density==="comfortable"?7:8),s=["text-h1","text-h2","text-h3","text-h4","text-h5","text-h6","text-subtitle-1","text-subtitle-2"],n=E(()=>{const t=a.node.options.titleDepth;return a.node.options.density==="compact"?s[t+2]:a.node.options.density==="comfortable"?s[t+1]:s[t]});return(t,i)=>e.node.layout.title&&!e.hideTitle||e.node.layout.subtitle||e.node.error&&e.node.validated?(ae(),Fe("div",{key:0,class:ta(`mb-${r.value-e.node.options.titleDepth} mt-${r.value-e.node.options.titleDepth}`)},[e.node.layout.title&&!e.hideTitle?(ae(),he(uc(`h${e.node.options.titleDepth}`),{key:0,class:ta(`${n.value}`)},{default:ne(()=>[Ke(xt(e.node.layout.title),1)]),_:1},8,["class"])):De("",!0),e.node.layout.subtitle?(ae(),Fe("p",{key:1,class:ta(`text-subtitle mt-${r.value-e.node.options.titleDepth}`),innerHTML:e.node.layout.subtitle},null,10,d0)):De("",!0),e.node.error&&e.node.validated?(ae(),he(Y(Oc),{key:2,type:"error",class:ta(`mt-${r.value-e.node.options.titleDepth}`)},{default:ne(()=>[Ke(xt(e.node.error),1)]),_:1},8,["class"])):De("",!0)],2)):De("",!0)}},f0={__name:"section",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){return Ue({},"VjsfSection"),(a,r)=>{var s,n;return ae(),Fe(ye,null,[h(Nn,{node:e.modelValue},null,8,["node"]),h(Y(ya),{dense:((s=e.modelValue.options)==null?void 0:s.density)==="compact"||((n=e.modelValue.options)==null?void 0:n.density)==="comfortable"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,t=>(ae(),he(ga,{key:t.fullKey,"model-value":t,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:1},8,["dense"])],64)}}},m0=ie({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...qe(),...En({transition:{component:Sc}})},"VCounter"),ol=ve()({name:"VCounter",functional:!0,props:m0(),setup(e,a){let{slots:r}=a;const s=E(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return pe(()=>h(xn,{transition:e.transition},{default:()=>[mt(h("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[r.default?r.default({counter:s.value,max:e.max,value:e.value}):s.value]),[[xa,e.active]])]})),{}}}),v0=ie({text:String,onClick:na(),...qe(),...Ht()},"VLabel"),wr=ve()({name:"VLabel",props:v0(),setup(e,a){let{slots:r}=a;return pe(()=>{var s;return h("label",{class:["v-label",{"v-label--clickable":!!e.onClick},e.class],style:e.style,onClick:e.onClick},[e.text,(s=r.default)==null?void 0:s.call(r)])}),{}}}),p0=ie({floating:Boolean,...qe()},"VFieldLabel"),Rr=ve()({name:"VFieldLabel",props:p0(),setup(e,a){let{slots:r}=a;return pe(()=>h(wr,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},r)),{}}});function Zd(e){const{t:a}=Ft();function r(s){let{name:n}=s;const t={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[n],i=e[`onClick:${n}`],o=i&&t?a(`$vuetify.input.${t}`,e.label??""):void 0;return h(Be,{icon:e[`${n}Icon`],"aria-label":o,onClick:i},null)}return{InputIcon:r}}const ll=ie({focused:Boolean,"onUpdate:focused":na()},"focus");function sn(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cc();const r=xe(e,"focused"),s=E(()=>({[`${a}--focused`]:r.value}));function n(){r.value=!0}function t(){r.value=!1}return{focusClasses:s,isFocused:r,focus:n,blur:t}}const h0=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Ps=ie({appendInnerIcon:rt,bgColor:String,clearable:Boolean,clearIcon:{type:rt,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:rt,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>h0.includes(e)},"onClick:clear":na(),"onClick:appendInner":na(),"onClick:prependInner":na(),...qe(),...Gm(),...dr(),...Ht()},"VField"),Cs=ve()({name:"VField",inheritAttrs:!1,props:{id:String,...ll(),...Ps()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{attrs:r,emit:s,slots:n}=a;const{themeClasses:t}=ma(e),{loaderClasses:i}=Ec(e),{focusClasses:o,isFocused:u,focus:c,blur:l}=sn(e),{InputIcon:d}=Zd(e),{roundedClasses:v}=fr(e),{rtlClasses:m}=va(),p=E(()=>e.dirty||e.active),g=E(()=>!e.singleLine&&!!(e.label||n.label)),b=pa(),f=E(()=>e.id||`input-${b}`),y=E(()=>`${f.value}-messages`),P=ee(),_=ee(),O=ee(),S=E(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:w,backgroundColorStyles:z}=At(ce(e,"bgColor")),{textColorClasses:x,textColorStyles:R}=ja(E(()=>e.error||e.disabled?void 0:p.value&&u.value?e.color:e.baseColor));de(p,B=>{if(g.value){const H=P.value.$el,Z=_.value.$el;requestAnimationFrame(()=>{const oe=Zi(H),L=Z.getBoundingClientRect(),U=L.x-oe.x,$=L.y-oe.y-(oe.height/2-L.height/2),C=L.width/.75,I=Math.abs(C-oe.width)>1?{maxWidth:Re(C)}:void 0,j=getComputedStyle(H),k=getComputedStyle(Z),V=parseFloat(j.transitionDuration)*1e3||150,D=parseFloat(k.getPropertyValue("--v-field-label-scale")),K=k.getPropertyValue("color");H.style.visibility="visible",Z.style.visibility="hidden",Ua(H,{transform:`translate(${U}px, ${$}px) scale(${D})`,color:K,...I},{duration:V,easing:tr,direction:B?"normal":"reverse"}).finished.then(()=>{H.style.removeProperty("visibility"),Z.style.removeProperty("visibility")})})}},{flush:"post"});const M=E(()=>({isActive:p,isFocused:u,controlRef:O,blur:l,focus:c}));function T(B){B.target!==document.activeElement&&B.preventDefault()}function q(B){var H;B.key!=="Enter"&&B.key!==" "||(B.preventDefault(),B.stopPropagation(),(H=e["onClick:clear"])==null||H.call(e,new MouseEvent("click")))}return pe(()=>{var U,$,C;const B=e.variant==="outlined",H=!!(n["prepend-inner"]||e.prependInnerIcon),Z=!!(e.clearable||n.clear),oe=!!(n["append-inner"]||e.appendInnerIcon||Z),L=()=>n.label?n.label({...M.value,label:e.label,props:{for:f.value}}):e.label;return h("div",se({class:["v-field",{"v-field--active":p.value,"v-field--appended":oe,"v-field--center-affix":e.centerAffix??!S.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":H,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!L(),[`v-field--variant-${e.variant}`]:!0},t.value,w.value,o.value,i.value,v.value,m.value,e.class],style:[z.value,e.style],onClick:T},r),[h("div",{class:"v-field__overlay"},null),h(xc,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:n.loader}),H&&h("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&h(d,{key:"prepend-icon",name:"prependInner"},null),(U=n["prepend-inner"])==null?void 0:U.call(n,M.value)]),h("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&g.value&&h(Rr,{key:"floating-label",ref:_,class:[x.value],floating:!0,for:f.value,style:R.value},{default:()=>[L()]}),h(Rr,{ref:P,for:f.value},{default:()=>[L()]}),($=n.default)==null?void 0:$.call(n,{...M.value,props:{id:f.value,class:"v-field__input","aria-describedby":y.value},focus:c,blur:l})]),Z&&h(Pc,{key:"clear"},{default:()=>[mt(h("div",{class:"v-field__clearable",onMousedown:I=>{I.preventDefault(),I.stopPropagation()}},[h(ot,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[n.clear?n.clear({...M.value,props:{onKeydown:q,onFocus:c,onBlur:l,onClick:e["onClick:clear"]}}):h(d,{name:"clear",onKeydown:q,onFocus:c,onBlur:l},null)]})]),[[xa,e.dirty]])]}),oe&&h("div",{key:"append",class:"v-field__append-inner"},[(C=n["append-inner"])==null?void 0:C.call(n,M.value),e.appendInnerIcon&&h(d,{key:"append-icon",name:"appendInner"},null)]),h("div",{class:["v-field__outline",x.value],style:R.value},[B&&h(ye,null,[h("div",{class:"v-field__outline__start"},null),g.value&&h("div",{class:"v-field__outline__notch"},[h(Rr,{ref:_,floating:!0,for:f.value},{default:()=>[L()]})]),h("div",{class:"v-field__outline__end"},null)]),S.value&&g.value&&h(Rr,{ref:_,floating:!0,for:f.value},{default:()=>[L()]})])])}),{controlRef:O}}});function ul(e){const a=Object.keys(Cs.props).filter(r=>!Li(r)&&r!=="class"&&r!=="style");return dc(e,a)}const y0=ie({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...qe(),...En({transition:{component:Sc,leaveAbsolute:!0,group:!0}})},"VMessages"),g0=ve()({name:"VMessages",props:y0(),setup(e,a){let{slots:r}=a;const s=E(()=>lt(e.messages)),{textColorClasses:n,textColorStyles:t}=ja(E(()=>e.color));return pe(()=>h(xn,{transition:e.transition,tag:"div",class:["v-messages",n.value,e.class],style:[t.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&s.value.map((i,o)=>h("div",{class:"v-messages__message",key:`${o}-${s.value}`},[r.message?r.message({message:i}):i]))]})),{}}}),ef=Symbol.for("vuetify:form"),b0=ie({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function k0(e){const a=xe(e,"modelValue"),r=E(()=>e.disabled),s=E(()=>e.readonly),n=_e(!1),t=ee([]),i=ee([]);async function o(){const l=[];let d=!0;i.value=[],n.value=!0;for(const v of t.value){const m=await v.validate();if(m.length>0&&(d=!1,l.push({id:v.id,errorMessages:m})),!d&&e.fastFail)break}return i.value=l,n.value=!1,{valid:d,errors:i.value}}function u(){t.value.forEach(l=>l.reset())}function c(){t.value.forEach(l=>l.resetValidation())}return de(t,()=>{let l=0,d=0;const v=[];for(const m of t.value)m.isValid===!1?(d++,v.push({id:m.id,errorMessages:m.errorMessages})):m.isValid===!0&&l++;i.value=v,a.value=d>0?!1:l===t.value.length?!0:null},{deep:!0,flush:"post"}),tn(ef,{register:l=>{let{id:d,vm:v,validate:m,reset:p,resetValidation:g}=l;t.value.some(b=>b.id===d),t.value.push({id:d,validate:m,reset:p,resetValidation:g,vm:dm(v),isValid:null,errorMessages:[]})},unregister:l=>{t.value=t.value.filter(d=>d.id!==l)},update:(l,d,v)=>{const m=t.value.find(p=>p.id===l);m&&(m.isValid=d,m.errorMessages=v)},isDisabled:r,isReadonly:s,isValidating:n,isValid:a,items:t,validateOn:ce(e,"validateOn")}),{errors:i,isDisabled:r,isReadonly:s,isValidating:n,isValid:a,items:t,validate:o,reset:u,resetValidation:c}}function Vs(){return Ct(ef,null)}const $0=ie({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...ll()},"validation");function w0(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cc(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:pa();const s=xe(e,"modelValue"),n=E(()=>e.validationValue===void 0?s.value:e.validationValue),t=Vs(),i=ee([]),o=_e(!0),u=E(()=>!!(lt(s.value===""?null:s.value).length||lt(n.value===""?null:n.value).length)),c=E(()=>!!(e.disabled??(t==null?void 0:t.isDisabled.value))),l=E(()=>!!(e.readonly??(t==null?void 0:t.isReadonly.value))),d=E(()=>{var O;return(O=e.errorMessages)!=null&&O.length?lt(e.errorMessages).concat(i.value).slice(0,Math.max(0,+e.maxErrors)):i.value}),v=E(()=>{let O=(e.validateOn??(t==null?void 0:t.validateOn.value))||"input";O==="lazy"&&(O="input lazy");const S=new Set((O==null?void 0:O.split(" "))??[]);return{blur:S.has("blur")||S.has("input"),input:S.has("input"),submit:S.has("submit"),lazy:S.has("lazy")}}),m=E(()=>{var O;return e.error||(O=e.errorMessages)!=null&&O.length?!1:e.rules.length?o.value?i.value.length||v.value.lazy?null:!0:!i.value.length:!0}),p=_e(!1),g=E(()=>({[`${a}--error`]:m.value===!1,[`${a}--dirty`]:u.value,[`${a}--disabled`]:c.value,[`${a}--readonly`]:l.value})),b=os("validation"),f=E(()=>e.name??Y(r));fm(()=>{t==null||t.register({id:f.value,vm:b,validate:_,reset:y,resetValidation:P})}),Ki(()=>{t==null||t.unregister(f.value)}),oa(async()=>{v.value.lazy||await _(!0),t==null||t.update(f.value,m.value,d.value)}),pn(()=>v.value.input,()=>{de(n,()=>{if(n.value!=null)_();else if(e.focused){const O=de(()=>e.focused,S=>{S||_(),O()})}})}),pn(()=>v.value.blur,()=>{de(()=>e.focused,O=>{O||_()})}),de([m,d],()=>{t==null||t.update(f.value,m.value,d.value)});async function y(){s.value=null,await nt(),await P()}async function P(){o.value=!0,v.value.lazy?i.value=[]:await _(!0)}async function _(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const S=[];p.value=!0;for(const w of e.rules){if(S.length>=+(e.maxErrors??1))break;const x=await(typeof w=="function"?w:()=>w)(n.value);if(x!==!0){if(x!==!1&&typeof x!="string"){console.warn(`${x} is not a valid value. Rule functions must return boolean true or a string.`);continue}S.push(x||"")}}return i.value=S,p.value=!1,o.value=O,i.value}return{errorMessages:d,isDirty:u,isDisabled:c,isReadonly:l,isPristine:o,isValid:m,isValidating:p,reset:y,resetValidation:P,validate:_,validationClasses:g}}const Aa=ie({id:String,appendIcon:rt,centerAffix:{type:Boolean,default:!0},prependIcon:rt,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":na(),"onClick:append":na(),...qe(),...fs(),...fc(hr(),["maxWidth","minWidth","width"]),...Ht(),...$0()},"VInput"),_t=ve()({name:"VInput",props:{...Aa()},emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:r,slots:s,emit:n}=a;const{densityClasses:t}=ms(e),{dimensionStyles:i}=yr(e),{themeClasses:o}=ma(e),{rtlClasses:u}=va(),{InputIcon:c}=Zd(e),l=pa(),d=E(()=>e.id||`input-${l}`),v=E(()=>`${d.value}-messages`),{errorMessages:m,isDirty:p,isDisabled:g,isReadonly:b,isPristine:f,isValid:y,isValidating:P,reset:_,resetValidation:O,validate:S,validationClasses:w}=w0(e,"v-input",d),z=E(()=>({id:d,messagesId:v,isDirty:p,isDisabled:g,isReadonly:b,isPristine:f,isValid:y,isValidating:P,reset:_,resetValidation:O,validate:S})),x=E(()=>{var R;return(R=e.errorMessages)!=null&&R.length||!f.value&&m.value.length?m.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return pe(()=>{var B,H,Z,oe;const R=!!(s.prepend||e.prependIcon),M=!!(s.append||e.appendIcon),T=x.value.length>0,q=!e.hideDetails||e.hideDetails==="auto"&&(T||!!s.details);return h("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--hide-spin-buttons":e.hideSpinButtons},t.value,o.value,u.value,w.value,e.class],style:[i.value,e.style]},[R&&h("div",{key:"prepend",class:"v-input__prepend"},[(B=s.prepend)==null?void 0:B.call(s,z.value),e.prependIcon&&h(c,{key:"prepend-icon",name:"prepend"},null)]),s.default&&h("div",{class:"v-input__control"},[(H=s.default)==null?void 0:H.call(s,z.value)]),M&&h("div",{key:"append",class:"v-input__append"},[e.appendIcon&&h(c,{key:"append-icon",name:"append"},null),(Z=s.append)==null?void 0:Z.call(s,z.value)]),q&&h("div",{class:"v-input__details"},[h(g0,{id:v.value,active:T,messages:x.value},{message:s.message}),(oe=s.details)==null?void 0:oe.call(s,z.value)])])}),{reset:_,resetValidation:O,validate:S,isValid:y,errorMessages:m}}}),Qs=Symbol("Forwarded refs");function Zs(e,a){let r=e;for(;r;){const s=Reflect.getOwnPropertyDescriptor(r,a);if(s)return s;r=Object.getPrototypeOf(r)}}function ba(e){for(var a=arguments.length,r=new Array(a>1?a-1:0),s=1;s!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{attrs:r,emit:s,slots:n}=a;const t=xe(e,"modelValue"),{isFocused:i,focus:o,blur:u}=sn(e),c=E(()=>typeof e.counterValue=="function"?e.counterValue(t.value):typeof e.counterValue=="number"?e.counterValue:(t.value??"").toString().length),l=E(()=>{if(r.maxlength)return r.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),d=E(()=>["plain","underlined"].includes(e.variant));function v(S,w){var z,x;!e.autofocus||!S||(x=(z=w[0].target)==null?void 0:z.focus)==null||x.call(z)}const m=ee(),p=ee(),g=ee(),b=E(()=>_0.includes(e.type)||e.persistentPlaceholder||i.value||e.active);function f(){var S;g.value!==document.activeElement&&((S=g.value)==null||S.focus()),i.value||o()}function y(S){s("mousedown:control",S),S.target!==g.value&&(f(),S.preventDefault())}function P(S){f(),s("click:control",S)}function _(S){S.stopPropagation(),f(),nt(()=>{t.value=null,Ui(e["onClick:clear"],S)})}function O(S){var z;const w=S.target;if(t.value=w.value,(z=e.modelModifiers)!=null&&z.trim&&["text","search","password","tel","url"].includes(e.type)){const x=[w.selectionStart,w.selectionEnd];nt(()=>{w.selectionStart=x[0],w.selectionEnd=x[1]})}}return pe(()=>{const S=!!(n.counter||e.counter!==!1&&e.counter!=null),w=!!(S||n.details),[z,x]=an(r),{modelValue:R,...M}=_t.filterProps(e),T=ul(e);return h(_t,se({ref:m,modelValue:t.value,"onUpdate:modelValue":q=>t.value=q,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":d.value},e.class],style:e.style},z,M,{centerAffix:!d.value,focused:i.value}),{...n,default:q=>{let{id:B,isDisabled:H,isDirty:Z,isReadonly:oe,isValid:L}=q;return h(Cs,se({ref:p,onMousedown:y,onClick:P,"onClick:clear":_,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},T,{id:B.value,active:b.value||Z.value,dirty:Z.value||e.dirty,disabled:H.value,focused:i.value,error:L.value===!1}),{...n,default:U=>{let{props:{class:$,...C}}=U;const I=mt(h("input",se({ref:g,value:t.value,onInput:O,autofocus:e.autofocus,readonly:oe.value,disabled:H.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:f,onBlur:u},C,x),null),[[ha("intersect"),{handler:v},null,{once:!0}]]);return h(ye,null,[e.prefix&&h("span",{class:"v-text-field__prefix"},[h("span",{class:"v-text-field__prefix__text"},[e.prefix])]),n.default?h("div",{class:$,"data-no-activator":""},[n.default(),I]):mm(I,{class:$}),e.suffix&&h("span",{class:"v-text-field__suffix"},[h("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:w?q=>{var B;return h(ye,null,[(B=n.details)==null?void 0:B.call(n,q),S&&h(ye,null,[h("span",null,null),h(ol,{active:e.persistentCounter||i.value,value:c.value,max:l.value,disabled:e.disabled},n.counter)])])}:void 0})}),ba({},m,p,g)}}),Lu={fieldPropsCompact:{hideDetails:"auto"},fieldPropsReadOnly:{hideDetails:"auto",variant:"plain"},fieldPropsSummary:{hideDetails:!0}};function qu(e){const a={class:[]};for(const r of e)if(r)for(const s of Object.keys(r))s==="class"?Array.isArray(r.class)?a.class=a.class.concat(r.class):a.class=[r.class]:a[vm(s)]=r[s];return a}function ut(e,a,r={}){r.bindData===void 0&&(r.bindData=!0),r.isMainComp===void 0&&(r.isMainComp=!0);const s=E(()=>e.value.options),n=E(()=>e.value.skeleton),t=E(()=>e.value.layout),i=E(()=>e.value.data),o=E(()=>e.value.error),u=E(()=>e.value.validated),c=E(()=>e.value.props),l=E(()=>e.value.autofocus),d=E(()=>e.value.children),v=E(()=>typeof i.value=="string"&&t.value.separator?i.value.split(t.value.separator):i.value),m=ee();de(v,f=>{m.value=f},{immediate:!0});const p=E(()=>{const f=[];s.value.density==="compact"&&f.push(Lu.fieldPropsCompact),s.value.readOnly&&f.push(Lu.fieldPropsReadOnly),r.isMainComp&&c.value&&f.push(c.value);const y=qu(f);if(y.label=t.value.label,o.value&&u.value&&(y.errorMessages=o.value),s.value.readOnly&&(y.disabled=!0,y.class.push("vjsf-input--readonly")),l.value&&y.class.push("vjsf-input--autofocus"),r.layoutPropsMap)for(const P of r.layoutPropsMap)typeof P=="string"?P in t.value&&(y[P]=t.value[P]):P[1]in t.value&&(y[P[0]]=t.value[P[1]]);return r.bindData&&(y["onUpdate:modelValue"]=P=>{const _=Array.isArray(P)&&t.value.separator?P.join(t.value.separator):P;return m.value=_,a.input(e.value,_)},y.onBlur=()=>a.blur(e.value)),y}),g=E(()=>{const f=[{density:s.value.density}];return r.isMainComp&&f.push(t.value.props),qu(f)}),b=E(()=>{if(!t.value.slots)return{};const f={};for(const[y,P]of Object.entries(t.value.slots))f[y]=()=>ze(Hr,{layoutSlot:P,node:e.value,statefulLayout:a});return f});return{localData:m,inputProps:p,compProps:g,compSlots:b,options:s,skeleton:n,layout:t,data:i,children:d}}const S0=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfTextField");const{inputProps:a,localData:r,compSlots:s}=ut(ce(e,"modelValue"),e.statefulLayout,{layoutPropsMap:["placeholder"]});return()=>ze(sa,{...a.value,modelValue:r.value},s.value)}}),P0=ie({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...Aa(),...Ps()},"VTextarea"),C0=ve()({name:"VTextarea",directives:{Intersect:Cc},inheritAttrs:!1,props:P0(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{attrs:r,emit:s,slots:n}=a;const t=xe(e,"modelValue"),{isFocused:i,focus:o,blur:u}=sn(e),c=E(()=>typeof e.counterValue=="function"?e.counterValue(t.value):(t.value||"").toString().length),l=E(()=>{if(r.maxlength)return r.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter});function d(M,T){var q,B;!e.autofocus||!M||(B=(q=T[0].target)==null?void 0:q.focus)==null||B.call(q)}const v=ee(),m=ee(),p=_e(""),g=ee(),b=E(()=>e.persistentPlaceholder||i.value||e.active);function f(){var M;g.value!==document.activeElement&&((M=g.value)==null||M.focus()),i.value||o()}function y(M){f(),s("click:control",M)}function P(M){s("mousedown:control",M)}function _(M){M.stopPropagation(),f(),nt(()=>{t.value="",Ui(e["onClick:clear"],M)})}function O(M){var q;const T=M.target;if(t.value=T.value,(q=e.modelModifiers)!=null&&q.trim){const B=[T.selectionStart,T.selectionEnd];nt(()=>{T.selectionStart=B[0],T.selectionEnd=B[1]})}}const S=ee(),w=ee(+e.rows),z=E(()=>["plain","underlined"].includes(e.variant));ra(()=>{e.autoGrow||(w.value=+e.rows)});function x(){e.autoGrow&&nt(()=>{if(!S.value||!m.value)return;const M=getComputedStyle(S.value),T=getComputedStyle(m.value.$el),q=parseFloat(M.getPropertyValue("--v-field-padding-top"))+parseFloat(M.getPropertyValue("--v-input-padding-top"))+parseFloat(M.getPropertyValue("--v-field-padding-bottom")),B=S.value.scrollHeight,H=parseFloat(M.lineHeight),Z=Math.max(parseFloat(e.rows)*H+q,parseFloat(T.getPropertyValue("--v-input-control-height"))),oe=parseFloat(e.maxRows)*H+q||1/0,L=zt(B??0,Z,oe);w.value=Math.floor((L-q)/H),p.value=Re(L)})}oa(x),de(t,x),de(()=>e.rows,x),de(()=>e.maxRows,x),de(()=>e.density,x);let R;return de(S,M=>{M?(R=new ResizeObserver(x),R.observe(S.value)):R==null||R.disconnect()}),Ki(()=>{R==null||R.disconnect()}),pe(()=>{const M=!!(n.counter||e.counter||e.counterValue),T=!!(M||n.details),[q,B]=an(r),{modelValue:H,...Z}=_t.filterProps(e),oe=ul(e);return h(_t,se({ref:v,modelValue:t.value,"onUpdate:modelValue":L=>t.value=L,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-input--plain-underlined":z.value},e.class],style:e.style},q,Z,{centerAffix:w.value===1&&!z.value,focused:i.value}),{...n,default:L=>{let{id:U,isDisabled:$,isDirty:C,isReadonly:I,isValid:j}=L;return h(Cs,se({ref:m,style:{"--v-textarea-control-height":p.value},onClick:y,onMousedown:P,"onClick:clear":_,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},oe,{id:U.value,active:b.value||C.value,centerAffix:w.value===1&&!z.value,dirty:C.value||e.dirty,disabled:$.value,focused:i.value,error:j.value===!1}),{...n,default:k=>{let{props:{class:V,...D}}=k;return h(ye,null,[e.prefix&&h("span",{class:"v-text-field__prefix"},[e.prefix]),mt(h("textarea",se({ref:g,class:V,value:t.value,onInput:O,autofocus:e.autofocus,readonly:I.value,disabled:$.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:f,onBlur:u},D,B),null),[[ha("intersect"),{handler:d},null,{once:!0}]]),e.autoGrow&&mt(h("textarea",{class:[V,"v-textarea__sizer"],id:`${D.id}-sizer`,"onUpdate:modelValue":K=>t.value=K,ref:S,readonly:!0,"aria-hidden":"true"},null),[[pm,t.value]]),e.suffix&&h("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:T?L=>{var U;return h(ye,null,[(U=n.details)==null?void 0:U.call(n,L),M&&h(ye,null,[h("span",null,null),h(ol,{active:e.persistentCounter||i.value,value:c.value,max:l.value,disabled:e.disabled},n.counter)])])}:void 0})}),ba({},v,m,g)}}),V0=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfTextArea");const a=ee(null),{inputProps:r,localData:s,compSlots:n,options:t}=ut(ce(e,"modelValue"),e.statefulLayout,{layoutPropsMap:["placeholder"]}),i=E(()=>t.value.readOnly&&t.value.summary?3:void 0),o=E(()=>{const u={...r.value};return u.ref=a,u.rows=i.value,u.modelValue=s.value,u});return de(()=>t.value.readOnly,u=>{u&&a.value&&(a.value.scrollTop=0)}),()=>ze(C0,o.value,n.value)}}),tf=Symbol.for("vuetify:selection-control-group"),cl=ie({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:rt,trueIcon:rt,ripple:{type:[Boolean,Object],default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:Hi},...qe(),...fs(),...Ht()},"SelectionControlGroup"),O0=ie({...cl({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),E0=ve()({name:"VSelectionControlGroup",props:O0(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const s=xe(e,"modelValue"),n=pa(),t=E(()=>e.id||`v-selection-control-group-${n}`),i=E(()=>e.name||t.value),o=new Set;return tn(tf,{modelValue:s,forceUpdate:()=>{o.forEach(u=>u())},onForceUpdate:u=>{o.add(u),Dt(()=>{o.delete(u)})}}),Vn({[e.defaultsTarget]:{color:ce(e,"color"),disabled:ce(e,"disabled"),density:ce(e,"density"),error:ce(e,"error"),inline:ce(e,"inline"),modelValue:s,multiple:E(()=>!!e.multiple||e.multiple==null&&Array.isArray(s.value)),name:i,falseIcon:ce(e,"falseIcon"),trueIcon:ce(e,"trueIcon"),readonly:ce(e,"readonly"),ripple:ce(e,"ripple"),type:ce(e,"type"),valueComparator:ce(e,"valueComparator")}}),pe(()=>{var u;return h("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:e.type==="radio"?"radiogroup":void 0},[(u=r.default)==null?void 0:u.call(r)])}),{}}}),Es=ie({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...qe(),...cl()},"VSelectionControl");function x0(e){const a=Ct(tf,void 0),{densityClasses:r}=ms(e),s=xe(e,"modelValue"),n=E(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),t=E(()=>e.falseValue!==void 0?e.falseValue:!1),i=E(()=>!!e.multiple||e.multiple==null&&Array.isArray(s.value)),o=E({get(){const m=a?a.modelValue.value:s.value;return i.value?lt(m).some(p=>e.valueComparator(p,n.value)):e.valueComparator(m,n.value)},set(m){if(e.readonly)return;const p=m?n.value:t.value;let g=p;i.value&&(g=m?[...lt(s.value),p]:lt(s.value).filter(b=>!e.valueComparator(b,n.value))),a?a.modelValue.value=g:s.value=g}}),{textColorClasses:u,textColorStyles:c}=ja(E(()=>{if(!(e.error||e.disabled))return o.value?e.color:e.baseColor})),{backgroundColorClasses:l,backgroundColorStyles:d}=At(E(()=>o.value&&!e.error&&!e.disabled?e.color:e.baseColor)),v=E(()=>o.value?e.trueIcon:e.falseIcon);return{group:a,densityClasses:r,trueValue:n,falseValue:t,model:o,textColorClasses:u,textColorStyles:c,backgroundColorClasses:l,backgroundColorStyles:d,icon:v}}const en=ve()({name:"VSelectionControl",directives:{Ripple:mr},inheritAttrs:!1,props:Es(),emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:r,slots:s}=a;const{group:n,densityClasses:t,icon:i,model:o,textColorClasses:u,textColorStyles:c,backgroundColorClasses:l,backgroundColorStyles:d,trueValue:v}=x0(e),m=pa(),p=_e(!1),g=_e(!1),b=ee(),f=E(()=>e.id||`input-${m}`),y=E(()=>!e.disabled&&!e.readonly);n==null||n.onForceUpdate(()=>{b.value&&(b.value.checked=o.value)});function P(w){y.value&&(p.value=!0,hn(w.target,":focus-visible")!==!1&&(g.value=!0))}function _(){p.value=!1,g.value=!1}function O(w){w.stopPropagation()}function S(w){if(!y.value){b.value&&(b.value.checked=o.value);return}e.readonly&&n&&nt(()=>n.forceUpdate()),o.value=w.target.checked}return pe(()=>{var M,T;const w=s.label?s.label({label:e.label,props:{for:f.value}}):e.label,[z,x]=an(r),R=h("input",se({ref:b,checked:o.value,disabled:!!e.disabled,id:f.value,onBlur:_,onFocus:P,onInput:S,"aria-disabled":!!e.disabled,"aria-label":e.label,type:e.type,value:v.value,name:e.name,"aria-checked":e.type==="checkbox"?o.value:void 0},x),null);return h("div",se({class:["v-selection-control",{"v-selection-control--dirty":o.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":p.value,"v-selection-control--focus-visible":g.value,"v-selection-control--inline":e.inline},t.value,e.class]},z,{style:e.style}),[h("div",{class:["v-selection-control__wrapper",u.value],style:c.value},[(M=s.default)==null?void 0:M.call(s,{backgroundColorClasses:l,backgroundColorStyles:d}),mt(h("div",{class:["v-selection-control__input"]},[((T=s.input)==null?void 0:T.call(s,{model:o,textColorClasses:u,textColorStyles:c,backgroundColorClasses:l,backgroundColorStyles:d,inputNode:R,icon:i.value,props:{onFocus:P,onBlur:_,id:f.value}}))??h(ye,null,[i.value&&h(Be,{key:"icon",icon:i.value},null),R])]),[[ha("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),w&&h(wr,{for:f.value,onClick:O},{default:()=>[w]})])}),{isFocused:p,input:b}}}),af=ie({indeterminate:Boolean,indeterminateIcon:{type:rt,default:"$checkboxIndeterminate"},...Es({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),_n=ve()({name:"VCheckboxBtn",props:af(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,a){let{slots:r}=a;const s=xe(e,"indeterminate"),n=xe(e,"modelValue");function t(u){s.value&&(s.value=!1)}const i=E(()=>s.value?e.indeterminateIcon:e.falseIcon),o=E(()=>s.value?e.indeterminateIcon:e.trueIcon);return pe(()=>{const u=vt(en.filterProps(e),["modelValue"]);return h(en,se(u,{modelValue:n.value,"onUpdate:modelValue":[c=>n.value=c,t],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:i.value,trueIcon:o.value,"aria-checked":s.value?"mixed":void 0}),r)}),{}}}),I0=ie({...Aa(),...vt(af(),["inline"])},"VCheckbox"),nf=ve()({name:"VCheckbox",inheritAttrs:!1,props:I0(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,a){let{attrs:r,slots:s}=a;const n=xe(e,"modelValue"),{isFocused:t,focus:i,blur:o}=sn(e),u=pa(),c=E(()=>e.id||`checkbox-${u}`);return pe(()=>{const[l,d]=an(r),v=_t.filterProps(e),m=_n.filterProps(e);return h(_t,se({class:["v-checkbox",e.class]},l,v,{modelValue:n.value,"onUpdate:modelValue":p=>n.value=p,id:c.value,focused:t.value,style:e.style}),{...s,default:p=>{let{id:g,messagesId:b,isDisabled:f,isReadonly:y,isValid:P}=p;return h(_n,se(m,{id:g.value,"aria-describedby":b.value,disabled:f.value,readonly:y.value},d,{error:P.value===!1,modelValue:n.value,"onUpdate:modelValue":_=>n.value=_,onFocus:i,onBlur:o}),s)}})}),{}}}),j0=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfCheckbox");const{inputProps:a,localData:r,compSlots:s}=ut(ce(e,"modelValue"),e.statefulLayout),n=E(()=>{const t={...a.value};return"hideDetails"in a||(t.hideDetails="auto"),t.modelValue=r.value,t});return()=>ze(nf,n.value,s.value)}}),A0=ie({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...Aa(),...Es()},"VSwitch"),rf=ve()({name:"VSwitch",inheritAttrs:!1,props:A0(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,a){let{attrs:r,slots:s}=a;const n=xe(e,"indeterminate"),t=xe(e,"modelValue"),{loaderClasses:i}=Ec(e),{isFocused:o,focus:u,blur:c}=sn(e),l=ee(),d=wt&&window.matchMedia("(forced-colors: active)").matches,v=E(()=>typeof e.loading=="string"&&e.loading!==""?e.loading:e.color),m=pa(),p=E(()=>e.id||`switch-${m}`);function g(){n.value&&(n.value=!1)}function b(f){var y,P;f.stopPropagation(),f.preventDefault(),(P=(y=l.value)==null?void 0:y.input)==null||P.click()}return pe(()=>{const[f,y]=an(r),P=_t.filterProps(e),_=en.filterProps(e);return h(_t,se({class:["v-switch",{"v-switch--flat":e.flat},{"v-switch--inset":e.inset},{"v-switch--indeterminate":n.value},i.value,e.class]},f,P,{modelValue:t.value,"onUpdate:modelValue":O=>t.value=O,id:p.value,focused:o.value,style:e.style}),{...s,default:O=>{let{id:S,messagesId:w,isDisabled:z,isReadonly:x,isValid:R}=O;const M={model:t,isValid:R};return h(en,se({ref:l},_,{modelValue:t.value,"onUpdate:modelValue":[T=>t.value=T,g],id:S.value,"aria-describedby":w.value,type:"checkbox","aria-checked":n.value?"mixed":void 0,disabled:z.value,readonly:x.value,onFocus:u,onBlur:c},y),{...s,default:T=>{let{backgroundColorClasses:q,backgroundColorStyles:B}=T;return h("div",{class:["v-switch__track",d?void 0:q.value],style:B.value,onClick:b},[s["track-true"]&&h("div",{key:"prepend",class:"v-switch__track-true"},[s["track-true"](M)]),s["track-false"]&&h("div",{key:"append",class:"v-switch__track-false"},[s["track-false"](M)])])},input:T=>{let{inputNode:q,icon:B,backgroundColorClasses:H,backgroundColorStyles:Z}=T;return h(ye,null,[q,h("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":B||e.loading},e.inset||d?void 0:H.value],style:e.inset?void 0:Z.value},[s.thumb?h(ot,{defaults:{VIcon:{icon:B,size:"x-small"}}},{default:()=>[s.thumb({...M,icon:B})]}):h(Vc,null,{default:()=>[e.loading?h(xc,{name:"v-switch",active:!0,color:R.value===!1?void 0:v.value},{default:oe=>s.loader?s.loader(oe):h(Hm,{active:oe.isActive,color:oe.color,indeterminate:!0,size:"16",width:"2"},null)}):B&&h(Be,{key:String(B),icon:B,size:"x-small"},null)]})])])}})}})}),{}}}),T0=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfSwitch");const{inputProps:a,localData:r,compSlots:s}=ut(ce(e,"modelValue"),e.statefulLayout),n=E(()=>{const t={...a.value};return"hideDetails"in a||(t.hideDetails="auto"),t.modelValue=r.value,t});return()=>ze(rf,n.value,s.value)}}),M0=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfNumberField");const{inputProps:a,localData:r,compSlots:s}=ut(ce(e,"modelValue"),e.statefulLayout,{layoutPropsMap:["step","min","max","placeholder"],bindData:!1}),n=E(()=>{const t={...a.value};return t.type="number",t["onUpdate:modelValue"]=i=>e.statefulLayout.input(e.modelValue,i&&Number(i)),t.modelValue=r.value,t});return()=>ze(sa,n.value,s.value)}}),dl=Symbol.for("vuetify:v-slider");function D0(e,a,r){const s=r==="vertical",n=a.getBoundingClientRect(),t="touches"in e?e.touches[0]:e;return s?t.clientY-(n.top+n.height/2):t.clientX-(n.left+n.width/2)}function R0(e,a){return"touches"in e&&e.touches.length?e.touches[0][a]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][a]:e[a]}const N0=ie({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...dr(),...vr({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),z0=e=>{const a=E(()=>parseFloat(e.min)),r=E(()=>parseFloat(e.max)),s=E(()=>+e.step>0?parseFloat(e.step):0),n=E(()=>Math.max(Nl(s.value),Nl(a.value)));function t(i){if(i=parseFloat(i),s.value<=0)return i;const o=zt(i,a.value,r.value),u=a.value%s.value,c=Math.round((o-u)/s.value)*s.value+u;return parseFloat(Math.min(c,r.value).toFixed(n.value))}return{min:a,max:r,step:s,decimals:n,roundValue:t}},F0=e=>{let{props:a,steps:r,onSliderStart:s,onSliderMove:n,onSliderEnd:t,getActiveThumb:i}=e;const{isRtl:o}=va(),u=ce(a,"reverse"),c=E(()=>a.direction==="vertical"),l=E(()=>c.value!==u.value),{min:d,max:v,step:m,decimals:p,roundValue:g}=r,b=E(()=>parseInt(a.thumbSize,10)),f=E(()=>parseInt(a.tickSize,10)),y=E(()=>parseInt(a.trackSize,10)),P=E(()=>(v.value-d.value)/m.value),_=ce(a,"disabled"),O=E(()=>a.error||a.disabled?void 0:a.thumbColor??a.color),S=E(()=>a.error||a.disabled?void 0:a.trackColor??a.color),w=E(()=>a.error||a.disabled?void 0:a.trackFillColor??a.color),z=_e(!1),x=_e(0),R=ee(),M=ee();function T(D){var me;const K=a.direction==="vertical",Q=K?"top":"left",te=K?"height":"width",X=K?"clientY":"clientX",{[Q]:le,[te]:J}=(me=R.value)==null?void 0:me.$el.getBoundingClientRect(),re=R0(D,X);let ke=Math.min(Math.max((re-le-x.value)/J,0),1)||0;return(K?l.value:l.value!==o.value)&&(ke=1-ke),g(d.value+ke*(v.value-d.value))}const q=D=>{t({value:T(D)}),z.value=!1,x.value=0},B=D=>{M.value=i(D),M.value&&(M.value.focus(),z.value=!0,M.value.contains(D.target)?x.value=D0(D,M.value,a.direction):(x.value=0,n({value:T(D)})),s({value:T(D)}))},H={passive:!0,capture:!0};function Z(D){n({value:T(D)})}function oe(D){D.stopPropagation(),D.preventDefault(),q(D),window.removeEventListener("mousemove",Z,H),window.removeEventListener("mouseup",oe)}function L(D){var K;q(D),window.removeEventListener("touchmove",Z,H),(K=D.target)==null||K.removeEventListener("touchend",L)}function U(D){var K;B(D),window.addEventListener("touchmove",Z,H),(K=D.target)==null||K.addEventListener("touchend",L,{passive:!1})}function $(D){D.preventDefault(),B(D),window.addEventListener("mousemove",Z,H),window.addEventListener("mouseup",oe,{passive:!1})}const C=D=>{const K=(D-d.value)/(v.value-d.value)*100;return zt(isNaN(K)?0:K,0,100)},I=ce(a,"showTicks"),j=E(()=>I.value?a.ticks?Array.isArray(a.ticks)?a.ticks.map(D=>({value:D,position:C(D),label:D.toString()})):Object.keys(a.ticks).map(D=>({value:parseFloat(D),position:C(parseFloat(D)),label:a.ticks[D]})):P.value!==1/0?On(P.value+1).map(D=>{const K=d.value+D*m.value;return{value:K,position:C(K)}}):[]:[]),k=E(()=>j.value.some(D=>{let{label:K}=D;return!!K})),V={activeThumbRef:M,color:ce(a,"color"),decimals:p,disabled:_,direction:ce(a,"direction"),elevation:ce(a,"elevation"),hasLabels:k,isReversed:u,indexFromEnd:l,min:d,max:v,mousePressed:z,numTicks:P,onSliderMousedown:$,onSliderTouchstart:U,parsedTicks:j,parseMouseMove:T,position:C,readonly:ce(a,"readonly"),rounded:ce(a,"rounded"),roundValue:g,showTicks:I,startOffset:x,step:m,thumbSize:b,thumbColor:O,thumbLabel:ce(a,"thumbLabel"),ticks:ce(a,"ticks"),tickSize:f,trackColor:S,trackContainerRef:R,trackFillColor:w,trackSize:y,vertical:c};return tn(dl,V),V},L0=ie({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},name:String,...qe()},"VSliderThumb"),q0=ve()({name:"VSliderThumb",directives:{Ripple:mr},props:L0(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r,emit:s}=a;const n=Ct(dl),{isRtl:t,rtlClasses:i}=va();if(!n)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:o,step:u,disabled:c,thumbSize:l,thumbLabel:d,direction:v,isReversed:m,vertical:p,readonly:g,elevation:b,mousePressed:f,decimals:y,indexFromEnd:P}=n,_=E(()=>c.value?void 0:b.value),{elevationClasses:O}=pr(_),{textColorClasses:S,textColorStyles:w}=ja(o),{pageup:z,pagedown:x,end:R,home:M,left:T,right:q,down:B,up:H}=hm,Z=[z,x,R,M,T,q,B,H],oe=E(()=>u.value?[1,2,3]:[1,5,10]);function L($,C){if(!Z.includes($.key))return;$.preventDefault();const I=u.value||.1,j=(e.max-e.min)/I;if([T,q,B,H].includes($.key)){const V=(p.value?[t.value?T:q,m.value?B:H]:P.value!==t.value?[T,H]:[q,H]).includes($.key)?1:-1,D=$.shiftKey?2:$.ctrlKey?1:0;C=C+V*I*oe.value[D]}else if($.key===M)C=e.min;else if($.key===R)C=e.max;else{const k=$.key===x?1:-1;C=C-k*I*(j>100?j/10:10)}return Math.max(e.min,Math.min(e.max,C))}function U($){const C=L($,e.modelValue);C!=null&&s("update:modelValue",C)}return pe(()=>{const $=Re(P.value?100-e.position:e.position,"%");return h("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&f.value},e.class,i.value],style:[{"--v-slider-thumb-position":$,"--v-slider-thumb-size":Re(l.value)},e.style],role:"slider",tabindex:c.value?-1:0,"aria-label":e.name,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!g.value,"aria-orientation":v.value,onKeydown:g.value?void 0:U},[h("div",{class:["v-slider-thumb__surface",S.value,O.value],style:{...w.value}},null),mt(h("div",{class:["v-slider-thumb__ripple",S.value],style:w.value},null),[[ha("ripple"),e.ripple,null,{circle:!0,center:!0}]]),h(Vc,{origin:"bottom center"},{default:()=>{var C;return[mt(h("div",{class:"v-slider-thumb__label-container"},[h("div",{class:["v-slider-thumb__label"]},[h("div",null,[((C=r["thumb-label"])==null?void 0:C.call(r,{modelValue:e.modelValue}))??e.modelValue.toFixed(u.value?y.value:1)])])]),[[xa,d.value&&e.focused||d.value==="always"]])]}})])}),{}}}),B0=ie({start:{type:Number,required:!0},stop:{type:Number,required:!0},...qe()},"VSliderTrack"),K0=ve()({name:"VSliderTrack",props:B0(),emits:{},setup(e,a){let{slots:r}=a;const s=Ct(dl);if(!s)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:n,parsedTicks:t,rounded:i,showTicks:o,tickSize:u,trackColor:c,trackFillColor:l,trackSize:d,vertical:v,min:m,max:p,indexFromEnd:g}=s,{roundedClasses:b}=fr(i),{backgroundColorClasses:f,backgroundColorStyles:y}=At(l),{backgroundColorClasses:P,backgroundColorStyles:_}=At(c),O=E(()=>`inset-${v.value?"block":"inline"}-${g.value?"end":"start"}`),S=E(()=>v.value?"height":"width"),w=E(()=>({[O.value]:"0%",[S.value]:"100%"})),z=E(()=>e.stop-e.start),x=E(()=>({[O.value]:Re(e.start,"%"),[S.value]:Re(z.value,"%")})),R=E(()=>o.value?(v.value?t.value.slice().reverse():t.value).map((T,q)=>{var H;const B=T.value!==m.value&&T.value!==p.value?Re(T.position,"%"):void 0;return h("div",{key:T.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":T.position>=e.start&&T.position<=e.stop,"v-slider-track__tick--first":T.value===m.value,"v-slider-track__tick--last":T.value===p.value}],style:{[O.value]:B}},[(T.label||r["tick-label"])&&h("div",{class:"v-slider-track__tick-label"},[((H=r["tick-label"])==null?void 0:H.call(r,{tick:T,index:q}))??T.label])])}):[]);return pe(()=>h("div",{class:["v-slider-track",b.value,e.class],style:[{"--v-slider-track-size":Re(d.value),"--v-slider-tick-size":Re(u.value)},e.style]},[h("div",{class:["v-slider-track__background",P.value,{"v-slider-track__background--opacity":!!n.value||!l.value}],style:{...w.value,..._.value}},null),h("div",{class:["v-slider-track__fill",f.value],style:{...x.value,...y.value}},null),o.value&&h("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":o.value==="always"}]},[R.value])])),{}}}),U0=ie({...ll(),...N0(),...Aa(),modelValue:{type:[Number,String],default:0}},"VSlider"),ji=ve()({name:"VSlider",props:U0(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,a){let{slots:r,emit:s}=a;const n=ee(),{rtlClasses:t}=va(),i=z0(e),o=xe(e,"modelValue",void 0,S=>i.roundValue(S??i.min.value)),{min:u,max:c,mousePressed:l,roundValue:d,onSliderMousedown:v,onSliderTouchstart:m,trackContainerRef:p,position:g,hasLabels:b,readonly:f}=F0({props:e,steps:i,onSliderStart:()=>{s("start",o.value)},onSliderEnd:S=>{let{value:w}=S;const z=d(w);o.value=z,s("end",z)},onSliderMove:S=>{let{value:w}=S;return o.value=d(w)},getActiveThumb:()=>{var S;return(S=n.value)==null?void 0:S.$el}}),{isFocused:y,focus:P,blur:_}=sn(e),O=E(()=>g(o.value));return pe(()=>{const S=_t.filterProps(e),w=!!(e.label||r.label||r.prepend);return h(_t,se({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||b.value,"v-slider--focused":y.value,"v-slider--pressed":l.value,"v-slider--disabled":e.disabled},t.value,e.class],style:e.style},S,{focused:y.value}),{...r,prepend:w?z=>{var x,R;return h(ye,null,[((x=r.label)==null?void 0:x.call(r,z))??(e.label?h(wr,{id:z.id.value,class:"v-slider__label",text:e.label},null):void 0),(R=r.prepend)==null?void 0:R.call(r,z)])}:void 0,default:z=>{let{id:x,messagesId:R}=z;return h("div",{class:"v-slider__container",onMousedown:f.value?void 0:v,onTouchstartPassive:f.value?void 0:m},[h("input",{id:x.value,name:e.name||x.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:o.value},null),h(K0,{ref:p,start:0,stop:O.value},{"tick-label":r["tick-label"]}),h(q0,{ref:n,"aria-describedby":R.value,focused:y.value,min:u.value,max:c.value,modelValue:o.value,"onUpdate:modelValue":M=>o.value=M,position:O.value,elevation:e.elevation,onFocus:P,onBlur:_,ripple:e.ripple,name:e.name},{"thumb-label":r["thumb-label"]})])}})}),{}}}),H0=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfSlider");const{inputProps:a,localData:r,compSlots:s}=ut(ce(e,"modelValue"),e.statefulLayout,{layoutPropsMap:["step","min","max"]}),n=E(()=>{const t={...a.value};return t.modelValue=r.value,t["onUpdate:modelValue"]=i=>e.statefulLayout.input(e.modelValue,i&&Number(i)),t});return()=>ze(ji,n.value,s.value)}});function ei(e,a){return{x:e.x+a.x,y:e.y+a.y}}function W0(e,a){return{x:e.x-a.x,y:e.y-a.y}}function Bu(e,a){if(e.side==="top"||e.side==="bottom"){const{side:r,align:s}=e,n=s==="left"?0:s==="center"?a.width/2:s==="right"?a.width:s,t=r==="top"?0:r==="bottom"?a.height:r;return ei({x:n,y:t},a)}else if(e.side==="left"||e.side==="right"){const{side:r,align:s}=e,n=r==="left"?0:r==="right"?a.width:r,t=s==="top"?0:s==="center"?a.height/2:s==="bottom"?a.height:s;return ei({x:n,y:t},a)}return ei({x:a.width/2,y:a.height/2},a)}const sf={static:X0,connected:Q0},G0=ie({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in sf},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Y0(e,a){const r=ee({}),s=ee();wt&&pn(()=>!!(a.isActive.value&&e.locationStrategy),t=>{var i,o;de(()=>e.locationStrategy,t),Dt(()=>{window.removeEventListener("resize",n),s.value=void 0}),window.addEventListener("resize",n,{passive:!0}),typeof e.locationStrategy=="function"?s.value=(i=e.locationStrategy(a,e,r))==null?void 0:i.updateLocation:s.value=(o=sf[e.locationStrategy](a,e,r))==null?void 0:o.updateLocation});function n(t){var i;(i=s.value)==null||i.call(s,t)}return{contentStyles:r,updateLocation:s}}function X0(){}function J0(e,a){a?e.style.removeProperty("left"):e.style.removeProperty("right");const r=Zi(e);return a?r.x+=parseFloat(e.style.right||0):r.x-=parseFloat(e.style.left||0),r.y-=parseFloat(e.style.top||0),r}function Q0(e,a,r){(Array.isArray(e.target.value)||vv(e.target.value))&&Object.assign(r.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:n,preferredOrigin:t}=ym(()=>{const p=Bl(a.location,e.isRtl.value),g=a.origin==="overlap"?p:a.origin==="auto"?Ds(p):Bl(a.origin,e.isRtl.value);return p.side===g.side&&p.align===Rs(g).align?{preferredAnchor:Kl(p),preferredOrigin:Kl(g)}:{preferredAnchor:p,preferredOrigin:g}}),[i,o,u,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(p=>E(()=>{const g=parseFloat(a[p]);return isNaN(g)?1/0:g})),l=E(()=>{if(Array.isArray(a.offset))return a.offset;if(typeof a.offset=="string"){const p=a.offset.split(" ").map(parseFloat);return p.length<2&&p.push(0),p}return typeof a.offset=="number"?[a.offset,0]:[0,0]});let d=!1;const v=new ResizeObserver(()=>{d&&m()});de([e.target,e.contentEl],(p,g)=>{let[b,f]=p,[y,P]=g;y&&!Array.isArray(y)&&v.unobserve(y),b&&!Array.isArray(b)&&v.observe(b),P&&v.unobserve(P),f&&v.observe(f)},{immediate:!0}),Dt(()=>{v.disconnect()});function m(){if(d=!1,requestAnimationFrame(()=>d=!0),!e.target.value||!e.contentEl.value)return;const p=Rc(e.target.value),g=J0(e.contentEl.value,e.isRtl.value),b=Gr(e.contentEl.value),f=12;b.length||(b.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(g.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),g.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const y=b.reduce((M,T)=>{const q=T.getBoundingClientRect(),B=new Ga({x:T===document.documentElement?0:q.x,y:T===document.documentElement?0:q.y,width:T.clientWidth,height:T.clientHeight});return M?new Ga({x:Math.max(M.left,B.left),y:Math.max(M.top,B.top),width:Math.min(M.right,B.right)-Math.max(M.left,B.left),height:Math.min(M.bottom,B.bottom)-Math.max(M.top,B.top)}):B},void 0);y.x+=f,y.y+=f,y.width-=f*2,y.height-=f*2;let P={anchor:n.value,origin:t.value};function _(M){const T=new Ga(g),q=Bu(M.anchor,p),B=Bu(M.origin,T);let{x:H,y:Z}=W0(q,B);switch(M.anchor.side){case"top":Z-=l.value[0];break;case"bottom":Z+=l.value[0];break;case"left":H-=l.value[0];break;case"right":H+=l.value[0];break}switch(M.anchor.align){case"top":Z-=l.value[1];break;case"bottom":Z+=l.value[1];break;case"left":H-=l.value[1];break;case"right":H+=l.value[1];break}return T.x+=H,T.y+=Z,T.width=Math.min(T.width,u.value),T.height=Math.min(T.height,c.value),{overflows:Hl(T,y),x:H,y:Z}}let O=0,S=0;const w={x:0,y:0},z={x:!1,y:!1};let x=-1;for(;!(x++>10);){const{x:M,y:T,overflows:q}=_(P);O+=M,S+=T,g.x+=M,g.y+=T;{const B=Ul(P.anchor),H=q.x.before||q.x.after,Z=q.y.before||q.y.after;let oe=!1;if(["x","y"].forEach(L=>{if(L==="x"&&H&&!z.x||L==="y"&&Z&&!z.y){const U={anchor:{...P.anchor},origin:{...P.origin}},$=L==="x"?B==="y"?Rs:Ds:B==="y"?Ds:Rs;U.anchor=$(U.anchor),U.origin=$(U.origin);const{overflows:C}=_(U);(C[L].before<=q[L].before&&C[L].after<=q[L].after||C[L].before+C[L].after<(q[L].before+q[L].after)/2)&&(P=U,oe=z[L]=!0)}}),oe)continue}q.x.before&&(O+=q.x.before,g.x+=q.x.before),q.x.after&&(O-=q.x.after,g.x-=q.x.after),q.y.before&&(S+=q.y.before,g.y+=q.y.before),q.y.after&&(S-=q.y.after,g.y-=q.y.after);{const B=Hl(g,y);w.x=y.width-B.x.before-B.x.after,w.y=y.height-B.y.before-B.y.after,O+=B.x.before,g.x+=B.x.before,S+=B.y.before,g.y+=B.y.before}break}const R=Ul(P.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${P.anchor.side} ${P.anchor.align}`,transformOrigin:`${P.origin.side} ${P.origin.align}`,top:Re(ti(S)),left:e.isRtl.value?void 0:Re(ti(O)),right:e.isRtl.value?Re(ti(-O)):void 0,minWidth:Re(R==="y"?Math.min(i.value,p.width):i.value),maxWidth:Re(Ku(zt(w.x,i.value===1/0?0:i.value,u.value))),maxHeight:Re(Ku(zt(w.y,o.value===1/0?0:o.value,c.value)))}),{available:w,contentBox:g}}return de(()=>[n.value,t.value,a.offset,a.minWidth,a.minHeight,a.maxWidth,a.maxHeight],()=>m()),nt(()=>{const p=m();if(!p)return;const{available:g,contentBox:b}=p;b.height>g.y&&requestAnimationFrame(()=>{m(),requestAnimationFrame(()=>{m()})})}),{updateLocation:m}}function ti(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Ku(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let Ai=!0;const as=[];function Z0(e){!Ai||as.length?(as.push(e),Ti()):(Ai=!1,e(),Ti())}let Uu=-1;function Ti(){cancelAnimationFrame(Uu),Uu=requestAnimationFrame(()=>{const e=as.shift();e&&e(),as.length?Ti():Ai=!0})}const Wr={none:null,close:aw,block:nw,reposition:rw},ew=ie({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in Wr}},"VOverlay-scroll-strategies");function tw(e,a){if(!wt)return;let r;ra(async()=>{r==null||r.stop(),a.isActive.value&&e.scrollStrategy&&(r=mc(),await new Promise(s=>setTimeout(s)),r.active&&r.run(()=>{var s;typeof e.scrollStrategy=="function"?e.scrollStrategy(a,e,r):(s=Wr[e.scrollStrategy])==null||s.call(Wr,a,e,r)}))}),Dt(()=>{r==null||r.stop()})}function aw(e){function a(r){e.isActive.value=!1}of(e.targetEl.value??e.contentEl.value,a)}function nw(e,a){var i;const r=(i=e.root.value)==null?void 0:i.offsetParent,s=[...new Set([...Gr(e.targetEl.value,a.contained?r:void 0),...Gr(e.contentEl.value,a.contained?r:void 0)])].filter(o=>!o.classList.contains("v-overlay-scroll-blocked")),n=window.innerWidth-document.documentElement.offsetWidth,t=(o=>eo(o)&&o)(r||document.documentElement);t&&e.root.value.classList.add("v-overlay--scroll-blocked"),s.forEach((o,u)=>{o.style.setProperty("--v-body-scroll-x",Re(-o.scrollLeft)),o.style.setProperty("--v-body-scroll-y",Re(-o.scrollTop)),o!==document.documentElement&&o.style.setProperty("--v-scrollbar-offset",Re(n)),o.classList.add("v-overlay-scroll-blocked")}),Dt(()=>{s.forEach((o,u)=>{const c=parseFloat(o.style.getPropertyValue("--v-body-scroll-x")),l=parseFloat(o.style.getPropertyValue("--v-body-scroll-y")),d=o.style.scrollBehavior;o.style.scrollBehavior="auto",o.style.removeProperty("--v-body-scroll-x"),o.style.removeProperty("--v-body-scroll-y"),o.style.removeProperty("--v-scrollbar-offset"),o.classList.remove("v-overlay-scroll-blocked"),o.scrollLeft=-c,o.scrollTop=-l,o.style.scrollBehavior=d}),t&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function rw(e,a,r){let s=!1,n=-1,t=-1;function i(o){Z0(()=>{var l,d;const u=performance.now();(d=(l=e.updateLocation).value)==null||d.call(l,o),s=(performance.now()-u)/(1e3/60)>2})}t=(typeof requestIdleCallback>"u"?o=>o():requestIdleCallback)(()=>{r.run(()=>{of(e.targetEl.value??e.contentEl.value,o=>{s?(cancelAnimationFrame(n),n=requestAnimationFrame(()=>{n=requestAnimationFrame(()=>{i(o)})})):i(o)})})}),Dt(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(t),cancelAnimationFrame(n)})}function of(e,a){const r=[document,...Gr(e)];r.forEach(s=>{s.addEventListener("scroll",a,{passive:!0})}),Dt(()=>{r.forEach(s=>{s.removeEventListener("scroll",a)})})}const Mi=Symbol.for("vuetify:v-menu"),sw=ie({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,...iv()},"VOverlay-activator");function iw(e,a){let{isActive:r,isTop:s}=a;const n=os("useActivator"),t=ee();let i=!1,o=!1,u=!0;const c=E(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),l=E(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!c.value),{runOpenDelay:d,runCloseDelay:v}=ov(e,w=>{w===(e.openOnHover&&i||c.value&&o)&&!(e.openOnHover&&r.value&&!s.value)&&(r.value!==w&&(u=!0),r.value=w)}),m=ee(),p={onClick:w=>{w.stopPropagation(),t.value=w.currentTarget||w.target,r.value||(m.value=[w.clientX,w.clientY]),r.value=!r.value},onMouseenter:w=>{var z;(z=w.sourceCapabilities)!=null&&z.firesTouchEvents||(i=!0,t.value=w.currentTarget||w.target,d())},onMouseleave:w=>{i=!1,v()},onFocus:w=>{hn(w.target,":focus-visible")!==!1&&(o=!0,w.stopPropagation(),t.value=w.currentTarget||w.target,d())},onBlur:w=>{o=!1,w.stopPropagation(),v()}},g=E(()=>{const w={};return l.value&&(w.onClick=p.onClick),e.openOnHover&&(w.onMouseenter=p.onMouseenter,w.onMouseleave=p.onMouseleave),c.value&&(w.onFocus=p.onFocus,w.onBlur=p.onBlur),w}),b=E(()=>{const w={};if(e.openOnHover&&(w.onMouseenter=()=>{i=!0,d()},w.onMouseleave=()=>{i=!1,v()}),c.value&&(w.onFocusin=()=>{o=!0,d()},w.onFocusout=()=>{o=!1,v()}),e.closeOnContentClick){const z=Ct(Mi,null);w.onClick=()=>{r.value=!1,z==null||z.closeParents()}}return w}),f=E(()=>{const w={};return e.openOnHover&&(w.onMouseenter=()=>{u&&(i=!0,u=!1,d())},w.onMouseleave=()=>{i=!1,v()}),w});de(s,w=>{w&&(e.openOnHover&&!i&&(!c.value||!o)||c.value&&!o&&(!e.openOnHover||!i))&&(r.value=!1)}),de(r,w=>{w||setTimeout(()=>{m.value=void 0})},{flush:"post"});const y=ri();ra(()=>{y.value&&nt(()=>{t.value=y.el})});const P=ri(),_=E(()=>e.target==="cursor"&&m.value?m.value:P.value?P.el:lf(e.target,n)||t.value),O=E(()=>Array.isArray(_.value)?void 0:_.value);let S;return de(()=>!!e.activator,w=>{w&&wt?(S=mc(),S.run(()=>{ow(e,n,{activatorEl:t,activatorEvents:g})})):S&&S.stop()},{flush:"post",immediate:!0}),Dt(()=>{S==null||S.stop()}),{activatorEl:t,activatorRef:y,target:_,targetEl:O,targetRef:P,activatorEvents:g,contentEvents:b,scrimEvents:f}}function ow(e,a,r){let{activatorEl:s,activatorEvents:n}=r;de(()=>e.activator,(u,c)=>{if(c&&u!==c){const l=o(c);l&&i(l)}u&&nt(()=>t())},{immediate:!0}),de(()=>e.activatorProps,()=>{t()}),Dt(()=>{i()});function t(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&uv(u,se(n.value,c))}function i(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&cv(u,se(n.value,c))}function o(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const c=lf(u,a);return s.value=(c==null?void 0:c.nodeType)===Node.ELEMENT_NODE?c:void 0,s.value}}function lf(e,a){var s,n;if(!e)return;let r;if(e==="parent"){let t=(n=(s=a==null?void 0:a.proxy)==null?void 0:s.$el)==null?void 0:n.parentNode;for(;t!=null&&t.hasAttribute("data-no-activator");)t=t.parentNode;r=t}else typeof e=="string"?r=document.querySelector(e):"$el"in e?r=e.$el:r=e;return r}function lw(){if(!wt)return _e(!1);const{ssr:e}=ls();if(e){const a=_e(!1);return oa(()=>{a.value=!0}),a}else return _e(!0)}const fl=ie({eager:Boolean},"lazy");function ml(e,a){const r=_e(!1),s=E(()=>r.value||e.eager||a.value);de(a,()=>r.value=!0);function n(){e.eager||(r.value=!1)}return{isBooted:r,hasContent:s,onAfterLeave:n}}const Hu=Symbol.for("vuetify:stack"),Un=vc([]);function uw(e,a,r){const s=os("useStack"),n=!r,t=Ct(Hu,void 0),i=vc({activeChildren:new Set});tn(Hu,i);const o=_e(+a.value);pn(e,()=>{var d;const l=(d=Un.at(-1))==null?void 0:d[1];o.value=l?l+10:+a.value,n&&Un.push([s.uid,o.value]),t==null||t.activeChildren.add(s.uid),Dt(()=>{if(n){const v=Sa(Un).findIndex(m=>m[0]===s.uid);Un.splice(v,1)}t==null||t.activeChildren.delete(s.uid)})});const u=_e(!0);n&&ra(()=>{var d;const l=((d=Un.at(-1))==null?void 0:d[0])===s.uid;setTimeout(()=>u.value=l)});const c=E(()=>!i.activeChildren.size);return{globalTop:gm(u),localTop:c,stackStyles:E(()=>({zIndex:o.value}))}}function cw(e){return{teleportTarget:E(()=>{const r=e();if(r===!0||!wt)return;const s=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(s==null)return;let n=s.querySelector(":scope > .v-overlay-container");return n||(n=document.createElement("div"),n.className="v-overlay-container",s.appendChild(n)),n})}}function dw(){return!0}function uf(e,a,r){if(!e||cf(e,r)===!1)return!1;const s=Nc(a);if(typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&s.host===e.target)return!1;const n=(typeof r.value=="object"&&r.value.include||(()=>[]))();return n.push(a),!n.some(t=>t==null?void 0:t.contains(e.target))}function cf(e,a){return(typeof a.value=="object"&&a.value.closeConditional||dw)(e)}function fw(e,a,r){const s=typeof r.value=="function"?r.value:r.value.handler;a._clickOutside.lastMousedownWasOutside&&uf(e,a,r)&&setTimeout(()=>{cf(e,r)&&s&&s(e)},0)}function Wu(e,a){const r=Nc(e);a(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&a(r)}const mw={mounted(e,a){const r=n=>fw(n,e,a),s=n=>{e._clickOutside.lastMousedownWasOutside=uf(n,e,a)};Wu(e,n=>{n.addEventListener("click",r,!0),n.addEventListener("mousedown",s,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[a.instance.$.uid]={onClick:r,onMousedown:s}},unmounted(e,a){e._clickOutside&&(Wu(e,r=>{var t;if(!r||!((t=e._clickOutside)!=null&&t[a.instance.$.uid]))return;const{onClick:s,onMousedown:n}=e._clickOutside[a.instance.$.uid];r.removeEventListener("click",s,!0),r.removeEventListener("mousedown",n,!0)}),delete e._clickOutside[a.instance.$.uid])}};function vw(e){const{modelValue:a,color:r,...s}=e;return h(ni,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&h("div",se({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},s),null)]})}const df=ie({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},...sw(),...qe(),...hr(),...fl(),...G0(),...ew(),...Ht(),...En()},"VOverlay"),Gu=ve()({name:"VOverlay",directives:{ClickOutside:mw},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...df()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,a){let{slots:r,attrs:s,emit:n}=a;const t=xe(e,"modelValue"),i=E({get:()=>t.value,set:V=>{V&&e.disabled||(t.value=V)}}),{themeClasses:o}=ma(e),{rtlClasses:u,isRtl:c}=va(),{hasContent:l,onAfterLeave:d}=ml(e,i),v=At(E(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:m,localTop:p,stackStyles:g}=uw(i,ce(e,"zIndex"),e._disableGlobalStack),{activatorEl:b,activatorRef:f,target:y,targetEl:P,targetRef:_,activatorEvents:O,contentEvents:S,scrimEvents:w}=iw(e,{isActive:i,isTop:p}),{teleportTarget:z}=cw(()=>{var K;const V=e.attach||e.contained;if(V)return V;const D=(K=b==null?void 0:b.value)==null?void 0:K.getRootNode();return D instanceof ShadowRoot?D:!1}),{dimensionStyles:x}=yr(e),R=lw(),{scopeId:M}=Qi();de(()=>e.disabled,V=>{V&&(i.value=!1)});const T=ee(),q=ee(),B=ee(),{contentStyles:H,updateLocation:Z}=Y0(e,{isRtl:c,contentEl:B,target:y,isActive:i});tw(e,{root:T,contentEl:B,targetEl:P,isActive:i,updateLocation:Z});function oe(V){n("click:outside",V),e.persistent?I():i.value=!1}function L(V){return i.value&&m.value&&(!e.scrim||V.target===q.value)}wt&&de(i,V=>{V?window.addEventListener("keydown",U):window.removeEventListener("keydown",U)},{immediate:!0}),Ki(()=>{wt&&window.removeEventListener("keydown",U)});function U(V){var D,K;V.key==="Escape"&&m.value&&(e.persistent?I():(i.value=!1,(D=B.value)!=null&&D.contains(document.activeElement)&&((K=b.value)==null||K.focus())))}const $=Ym();pn(()=>e.closeOnBack,()=>{Xm($,V=>{m.value&&i.value?(V(!1),e.persistent?I():i.value=!1):V()})});const C=ee();de(()=>i.value&&(e.absolute||e.contained)&&z.value==null,V=>{if(V){const D=zc(T.value);D&&D!==document.scrollingElement&&(C.value=D.scrollTop)}});function I(){e.noClickAnimation||B.value&&Ua(B.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:tr})}function j(){n("afterEnter")}function k(){d(),n("afterLeave")}return pe(()=>{var V;return h(ye,null,[(V=r.activator)==null?void 0:V.call(r,{isActive:i.value,targetRef:_,props:se({ref:f},O.value,e.activatorProps)}),R.value&&l.value&&h(bm,{disabled:!z.value,to:z.value},{default:()=>[h("div",se({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":i.value,"v-overlay--contained":e.contained},o.value,u.value,e.class],style:[g.value,{"--v-overlay-opacity":e.opacity,top:Re(C.value)},e.style],ref:T},M,s),[h(vw,se({color:v,modelValue:i.value&&!!e.scrim,ref:q},w.value),null),h(xn,{appear:!0,persisted:!0,transition:e.transition,target:y.value,onAfterEnter:j,onAfterLeave:k},{default:()=>{var D;return[mt(h("div",se({ref:B,class:["v-overlay__content",e.contentClass],style:[x.value,H.value]},S.value,e.contentProps),[(D=r.default)==null?void 0:D.call(r,{isActive:i})]),[[xa,i.value],[ha("click-outside"),{handler:oe,closeConditional:L,include:()=>[b.value]}]])]}})])]})])}),{activatorEl:b,scrimEl:q,target:y,animateClick:I,contentEl:B,globalTop:m,localTop:p,updateLocation:Z}}}),pw=ie({id:String,...vt(df({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:Xd}}),["absolute"])},"VMenu"),_r=ve()({name:"VMenu",props:pw(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const s=xe(e,"modelValue"),{scopeId:n}=Qi(),t=pa(),i=E(()=>e.id||`v-menu-${t}`),o=ee(),u=Ct(Mi,null),c=_e(0);tn(Mi,{register(){++c.value},unregister(){--c.value},closeParents(g){setTimeout(()=>{!c.value&&!e.persistent&&(g==null||g&&!km(g,o.value.contentEl))&&(s.value=!1,u==null||u.closeParents())},40)}});async function l(g){var y,P,_;const b=g.relatedTarget,f=g.target;await nt(),s.value&&b!==f&&((y=o.value)!=null&&y.contentEl)&&((P=o.value)!=null&&P.globalTop)&&![document,o.value.contentEl].includes(f)&&!o.value.contentEl.contains(f)&&((_=si(o.value.contentEl)[0])==null||_.focus())}de(s,g=>{g?(u==null||u.register(),document.addEventListener("focusin",l,{once:!0})):(u==null||u.unregister(),document.removeEventListener("focusin",l))});function d(g){u==null||u.closeParents(g)}function v(g){var b,f,y;if(!e.disabled)if(g.key==="Tab"||g.key==="Enter"&&!e.closeOnContentClick){if(g.key==="Enter"&&(g.target instanceof HTMLTextAreaElement||g.target instanceof HTMLInputElement&&g.target.closest("form")))return;g.key==="Enter"&&g.preventDefault(),$m(si((b=o.value)==null?void 0:b.contentEl,!1),g.shiftKey?"prev":"next",_=>_.tabIndex>=0)||(s.value=!1,(y=(f=o.value)==null?void 0:f.activatorEl)==null||y.focus())}else["Enter"," "].includes(g.key)&&e.closeOnContentClick&&(s.value=!1,u==null||u.closeParents())}function m(g){var f;if(e.disabled)return;const b=(f=o.value)==null?void 0:f.contentEl;b&&s.value?g.key==="ArrowDown"?(g.preventDefault(),zl(b,"next")):g.key==="ArrowUp"&&(g.preventDefault(),zl(b,"prev")):["ArrowDown","ArrowUp"].includes(g.key)&&(s.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>m(g))))}const p=E(()=>se({"aria-haspopup":"menu","aria-expanded":String(s.value),"aria-owns":i.value,onKeydown:m},e.activatorProps));return pe(()=>{const g=Gu.filterProps(e);return h(Gu,se({ref:o,id:i.value,class:["v-menu",e.class],style:e.style},g,{modelValue:s.value,"onUpdate:modelValue":b=>s.value=b,absolute:!0,activatorProps:p.value,"onClick:outside":d,onKeydown:v},n),{activator:r.activator,default:function(){for(var b=arguments.length,f=new Array(b),y=0;y{var P;return[(P=r.default)==null?void 0:P.call(r,...f)]}})}})}),ba({id:i,ΨopenChildren:c},o)}}),xs={__name:"text-field-menu",props:wm({modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0},formattedValue:{type:String,default:null}},{menuOpened:{type:Boolean,default:!1},menuOpenedModifiers:{}}),emits:["update:menuOpened"],setup(e){const a=e,{inputProps:r,skeleton:s,compProps:n,data:t}=ut(ce(a,"modelValue"),a.statefulLayout,{isMainComp:!1,bindData:!1}),i=E(()=>{const l={...r.value};return l.readonly=!0,l.clearable=l.clearable??!s.value.required,l["onClick:clear"]=()=>{a.statefulLayout.input(a.modelValue,null)},l}),o=E(()=>{const l={...n.value};return l.closeOnContentClick=!1,l.disabled=!0,l}),u=ee(null),c=_m(e,"menuOpened");return(l,d)=>(ae(),Fe(ye,null,[h(Y(sa),se({ref_key:"textField",ref:u},i.value,{"model-value":e.formattedValue??Y(t),"onClick:control":d[0]||(d[0]=v=>{c.value=!c.value,v.stopPropagation()})}),{"prepend-inner":ne(()=>[Fl(l.$slots,"prepend-inner")]),_:3},16,["model-value"]),u.value?(ae(),he(Y(_r),se({key:0},o.value,{modelValue:c.value,"onUpdate:modelValue":d[1]||(d[1]=v=>c.value=v),class:"vjsf-text-field-menu",activator:u.value}),{default:ne(()=>[Fl(l.$slots,"default",{close:()=>c.value=!1})]),_:3},16,["modelValue","activator"])):De("",!0)],64))}},ff=ie({active:{type:[String,Array],default:void 0},disabled:{type:[Boolean,String,Array],default:!1},nextIcon:{type:rt,default:"$next"},prevIcon:{type:rt,default:"$prev"},modeIcon:{type:rt,default:"$subgroup"},text:String,viewMode:{type:String,default:"month"}},"VDatePickerControls"),Yu=ve()({name:"VDatePickerControls",props:ff(),emits:{"click:year":()=>!0,"click:month":()=>!0,"click:prev":()=>!0,"click:next":()=>!0,"click:text":()=>!0},setup(e,a){let{emit:r}=a;const s=E(()=>Array.isArray(e.disabled)?e.disabled.includes("text"):!!e.disabled),n=E(()=>Array.isArray(e.disabled)?e.disabled.includes("mode"):!!e.disabled),t=E(()=>Array.isArray(e.disabled)?e.disabled.includes("prev"):!!e.disabled),i=E(()=>Array.isArray(e.disabled)?e.disabled.includes("next"):!!e.disabled);function o(){r("click:prev")}function u(){r("click:next")}function c(){r("click:year")}function l(){r("click:month")}return pe(()=>h("div",{class:["v-date-picker-controls"]},[h(Le,{class:"v-date-picker-controls__month-btn",disabled:s.value,text:e.text,variant:"text",rounded:!0,onClick:l},null),h(Le,{key:"mode-btn",class:"v-date-picker-controls__mode-btn",disabled:n.value,density:"comfortable",icon:e.modeIcon,variant:"text",onClick:c},null),h(Dc,{key:"mode-spacer"},null),h("div",{key:"month-buttons",class:"v-date-picker-controls__month"},[h(Le,{disabled:t.value,icon:e.prevIcon,variant:"text",onClick:o},null),h(Le,{disabled:i.value,icon:e.nextIcon,variant:"text",onClick:u},null)])])),{}}}),hw=ie({appendIcon:String,color:String,header:String,transition:String,onClick:na()},"VDatePickerHeader"),Xu=ve()({name:"VDatePickerHeader",props:hw(),emits:{click:()=>!0,"click:append":()=>!0},setup(e,a){let{emit:r,slots:s}=a;const{backgroundColorClasses:n,backgroundColorStyles:t}=At(e,"color");function i(){r("click")}function o(){r("click:append")}return pe(()=>{const u=!!(s.default||e.header),c=!!(s.append||e.appendIcon);return h("div",{class:["v-date-picker-header",{"v-date-picker-header--clickable":!!e.onClick},n.value],style:t.value,onClick:i},[s.prepend&&h("div",{key:"prepend",class:"v-date-picker-header__prepend"},[s.prepend()]),u&&h(xn,{key:"content",name:e.transition},{default:()=>{var l;return[h("div",{key:e.header,class:"v-date-picker-header__content"},[((l=s.default)==null?void 0:l.call(s))??e.header])]}}),c&&h("div",{class:"v-date-picker-header__append"},[s.append?h(ot,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VBtn:{icon:e.appendIcon,variant:"text"}}},{default:()=>{var l;return[(l=s.append)==null?void 0:l.call(s)]}}):h(Le,{key:"append-btn",icon:e.appendIcon,variant:"text",onClick:o},null)])])}),{}}}),yw=ie({allowedDates:[Array,Function],disabled:Boolean,displayValue:null,modelValue:Array,month:[Number,String],max:null,min:null,showAdjacentMonths:Boolean,year:[Number,String],weekdays:{type:Array,default:()=>[0,1,2,3,4,5,6]},weeksInMonth:{type:String,default:"dynamic"},firstDayOfWeek:[Number,String]},"calendar");function gw(e){const a=Ia(),r=xe(e,"modelValue",[],m=>lt(m)),s=E(()=>e.displayValue?a.date(e.displayValue):r.value.length>0?a.date(r.value[0]):e.min?a.date(e.min):Array.isArray(e.allowedDates)?a.date(e.allowedDates[0]):a.date()),n=xe(e,"year",void 0,m=>{const p=m!=null?Number(m):a.getYear(s.value);return a.startOfYear(a.setYear(a.date(),p))},m=>a.getYear(m)),t=xe(e,"month",void 0,m=>{const p=m!=null?Number(m):a.getMonth(s.value),g=a.setYear(a.startOfMonth(a.date()),a.getYear(n.value));return a.setMonth(g,p)},m=>a.getMonth(m)),i=E(()=>{const m=Number(e.firstDayOfWeek??0);return e.weekdays.map(p=>(p+m)%7)}),o=E(()=>{const m=a.getWeekArray(t.value,e.firstDayOfWeek),p=m.flat(),g=6*7;if(e.weeksInMonth==="static"&&p.lengthi.value.includes(a.toJsDate(g).getDay())).map((g,b)=>{const f=a.toISO(g),y=!a.isSameMonth(g,t.value),P=a.isSameDay(g,a.startOfMonth(t.value)),_=a.isSameDay(g,a.endOfMonth(t.value)),O=a.isSameDay(g,t.value);return{date:g,isoDate:f,formatted:a.format(g,"keyboardDate"),year:a.getYear(g),month:a.getMonth(g),isDisabled:v(g),isWeekStart:b%7===0,isWeekEnd:b%7===6,isToday:a.isSameDay(g,p),isAdjacent:y,isHidden:y&&!e.showAdjacentMonths,isStart:P,isSelected:r.value.some(S=>a.isSameDay(g,S)),isEnd:_,isSame:O,localized:a.format(g,"dayOfMonth")}})}const c=E(()=>{const m=a.startOfWeek(s.value,e.firstDayOfWeek),p=[];for(let b=0;b<=6;b++)p.push(a.addDays(m,b));const g=a.date();return u(p,g)}),l=E(()=>{const m=o.value.flat(),p=a.date();return u(m,p)}),d=E(()=>o.value.map(m=>m.length?Sm(a,m[0]):null));function v(m){if(e.disabled)return!0;const p=a.date(m);return e.min&&a.isAfter(a.date(e.min),p)||e.max&&a.isAfter(p,a.date(e.max))?!0:Array.isArray(e.allowedDates)&&e.allowedDates.length>0?!e.allowedDates.some(g=>a.isSameDay(a.date(g),p)):typeof e.allowedDates=="function"?!e.allowedDates(p):!1}return{displayValue:s,daysInMonth:l,daysInWeek:c,genDays:u,model:r,weeksInMonth:o,weekDays:i,weekNumbers:d}}const mf=ie({color:String,hideWeekdays:Boolean,multiple:[Boolean,Number,String],showWeek:Boolean,transition:{type:String,default:"picker-transition"},reverseTransition:{type:String,default:"picker-reverse-transition"},...yw()},"VDatePickerMonth"),Ju=ve()({name:"VDatePickerMonth",props:mf(),emits:{"update:modelValue":e=>!0,"update:month":e=>!0,"update:year":e=>!0},setup(e,a){let{emit:r,slots:s}=a;const n=ee(),{daysInMonth:t,model:i,weekNumbers:o}=gw(e),u=Ia(),c=_e(),l=_e(),d=_e(!1),v=E(()=>d.value?e.reverseTransition:e.transition);e.multiple==="range"&&i.value.length>0&&(c.value=i.value[0],i.value.length>1&&(l.value=i.value[i.value.length-1]));const m=E(()=>{const f=["number","string"].includes(typeof e.multiple)?Number(e.multiple):1/0;return i.value.length>=f});de(t,(f,y)=>{y&&(d.value=u.isBefore(f[0].date,y[0].date))});function p(f){const y=u.startOfDay(f);if(i.value.length===0?c.value=void 0:i.value.length===1&&(c.value=i.value[0],l.value=void 0),!c.value)c.value=y,i.value=[c.value];else if(l.value)c.value=f,l.value=void 0,i.value=[c.value];else{if(u.isSameDay(y,c.value)){c.value=void 0,i.value=[];return}else u.isBefore(y,c.value)?(l.value=u.endOfDay(c.value),c.value=y):l.value=u.endOfDay(y);const P=u.getDiff(l.value,c.value,"days"),_=[c.value];for(let O=1;Ou.isSameDay(P,f));if(y===-1)i.value=[...i.value,f];else{const P=[...i.value];P.splice(y,1),i.value=P}}function b(f){e.multiple==="range"?p(f):e.multiple?g(f):i.value=[f]}return()=>h("div",{class:"v-date-picker-month"},[e.showWeek&&h("div",{key:"weeks",class:"v-date-picker-month__weeks"},[!e.hideWeekdays&&h("div",{key:"hide-week-days",class:"v-date-picker-month__day"},[Ke(" ")]),o.value.map(f=>h("div",{class:["v-date-picker-month__day","v-date-picker-month__day--adjacent"]},[f]))]),h(xn,{name:v.value},{default:()=>{var f;return[h("div",{ref:n,key:(f=t.value[0].date)==null?void 0:f.toString(),class:"v-date-picker-month__days"},[!e.hideWeekdays&&u.getWeekdays(e.firstDayOfWeek).map(y=>h("div",{class:["v-date-picker-month__day","v-date-picker-month__weekday"]},[y])),t.value.map((y,P)=>{const _={props:{onClick:()=>b(y.date)},item:y,i:P};return m.value&&!y.isSelected&&(y.isDisabled=!0),h("div",{class:["v-date-picker-month__day",{"v-date-picker-month__day--adjacent":y.isAdjacent,"v-date-picker-month__day--hide-adjacent":y.isHidden,"v-date-picker-month__day--selected":y.isSelected,"v-date-picker-month__day--week-end":y.isWeekEnd,"v-date-picker-month__day--week-start":y.isWeekStart}],"data-v-date":y.isDisabled?void 0:y.isoDate},[(e.showAdjacentMonths||!y.isAdjacent)&&h(ot,{defaults:{VBtn:{class:"v-date-picker-month__day-btn",color:(y.isSelected||y.isToday)&&!y.isDisabled?e.color:void 0,disabled:y.isDisabled,icon:!0,ripple:!1,text:y.localized,variant:y.isDisabled?y.isToday?"outlined":"text":y.isToday&&!y.isSelected?"outlined":"flat",onClick:()=>b(y.date)}}},{default:()=>{var O;return[((O=s.day)==null?void 0:O.call(s,_))??h(Le,_.props,null)]}})])})])]}})])}}),vf=ie({color:String,height:[String,Number],min:null,max:null,modelValue:Number,year:Number},"VDatePickerMonths"),Qu=ve()({name:"VDatePickerMonths",props:vf(),emits:{"update:modelValue":e=>!0},setup(e,a){let{emit:r,slots:s}=a;const n=Ia(),t=xe(e,"modelValue"),i=E(()=>{let o=n.startOfYear(n.date());return e.year&&(o=n.setYear(o,e.year)),On(12).map(u=>{const c=n.format(o,"monthShort"),l=!!(e.min&&n.isAfter(n.startOfMonth(n.date(e.min)),o)||e.max&&n.isAfter(o,n.startOfMonth(n.date(e.max))));return o=n.getNextMonth(o),{isDisabled:l,text:c,value:u}})});return ra(()=>{t.value=t.value??n.getMonth(n.date())}),pe(()=>h("div",{class:"v-date-picker-months",style:{height:Re(e.height)}},[h("div",{class:"v-date-picker-months__content"},[i.value.map((o,u)=>{var d;const c={active:t.value===u,color:t.value===u?e.color:void 0,disabled:o.isDisabled,rounded:!0,text:o.text,variant:t.value===o.value?"flat":"text",onClick:()=>l(u)};function l(v){if(t.value===v){r("update:modelValue",t.value);return}t.value=v}return((d=s.month)==null?void 0:d.call(s,{month:o,i:u,props:c}))??h(Le,se({key:"month"},c),null)})])])),{}}}),pf=ie({color:String,height:[String,Number],min:null,max:null,modelValue:Number},"VDatePickerYears"),Zu=ve()({name:"VDatePickerYears",props:pf(),emits:{"update:modelValue":e=>!0},setup(e,a){let{emit:r,slots:s}=a;const n=Ia(),t=xe(e,"modelValue"),i=E(()=>{const u=n.getYear(n.date());let c=u-100,l=u+52;e.min&&(c=n.getYear(n.date(e.min))),e.max&&(l=n.getYear(n.date(e.max)));let d=n.startOfYear(n.date());return d=n.setYear(d,c),On(l-c+1,c).map(v=>{const m=n.format(d,"year");return d=n.setYear(d,n.getYear(d)+1),{text:m,value:v}})});ra(()=>{t.value=t.value??n.getYear(n.date())});const o=ri();return oa(async()=>{var u;await nt(),(u=o.el)==null||u.scrollIntoView({block:"center"})}),pe(()=>h("div",{class:"v-date-picker-years",style:{height:Re(e.height)}},[h("div",{class:"v-date-picker-years__content"},[i.value.map((u,c)=>{var d;const l={ref:t.value===u.value?o:void 0,active:t.value===u.value,color:t.value===u.value?e.color:void 0,rounded:!0,text:u.text,variant:t.value===u.value?"flat":"text",onClick:()=>{if(t.value===u.value){r("update:modelValue",t.value);return}t.value=u.value}};return((d=s.year)==null?void 0:d.call(s,{year:u,i:c,props:l}))??h(Le,se({key:"month"},l),null)})])])),{}}}),bw=Ic("v-picker-title"),Is=ie({color:String,...jc(),...qe(),...hr(),...vr(),...Jm(),...Qm(),...dr(),...Wt(),...Ht()},"VSheet"),ia=ve()({name:"VSheet",props:Is(),setup(e,a){let{slots:r}=a;const{themeClasses:s}=ma(e),{backgroundColorClasses:n,backgroundColorStyles:t}=At(ce(e,"color")),{borderClasses:i}=Ac(e),{dimensionStyles:o}=yr(e),{elevationClasses:u}=pr(e),{locationStyles:c}=Zm(e),{positionClasses:l}=ev(e),{roundedClasses:d}=fr(e);return pe(()=>h(e.tag,{class:["v-sheet",s.value,n.value,i.value,u.value,l.value,d.value,e.class],style:[t.value,o.value,c.value,e.style]},r)),{}}}),vl=ie({bgColor:String,landscape:Boolean,title:String,hideHeader:Boolean,...Is()},"VPicker"),ns=ve()({name:"VPicker",props:vl(),setup(e,a){let{slots:r}=a;const{backgroundColorClasses:s,backgroundColorStyles:n}=At(ce(e,"color"));return pe(()=>{const t=ia.filterProps(e),i=!!(e.title||r.title);return h(ia,se(t,{color:e.bgColor,class:["v-picker",{"v-picker--landscape":e.landscape,"v-picker--with-actions":!!r.actions},e.class],style:e.style}),{default:()=>{var o;return[!e.hideHeader&&h("div",{key:"header",class:[s.value],style:[n.value]},[i&&h(bw,{key:"picker-title"},{default:()=>{var u;return[((u=r.title)==null?void 0:u.call(r))??e.title]}}),r.header&&h("div",{class:"v-picker__header"},[r.header()])]),h("div",{class:"v-picker__body"},[(o=r.default)==null?void 0:o.call(r)]),r.actions&&h(ot,{defaults:{VBtn:{slim:!0,variant:"text"}}},{default:()=>[h("div",{class:"v-picker__actions"},[r.actions()])]})]}})}),{}}}),kw=ie({header:{type:String,default:"$vuetify.datePicker.header"},...ff(),...mf({weeksInMonth:"static"}),...vt(vf(),["modelValue"]),...vt(pf(),["modelValue"]),...vl({title:"$vuetify.datePicker.title"}),modelValue:null},"VDatePicker"),hf=ve()({name:"VDatePicker",props:kw(),emits:{"update:modelValue":e=>!0,"update:month":e=>!0,"update:year":e=>!0,"update:viewMode":e=>!0},setup(e,a){let{emit:r,slots:s}=a;const n=Ia(),{t}=Ft(),i=xe(e,"modelValue",void 0,x=>lt(x),x=>e.multiple?x:x[0]),o=xe(e,"viewMode"),u=E(()=>{var R;const x=n.date((R=i.value)==null?void 0:R[0]);return x&&n.isValid(x)?x:n.date()}),c=ee(Number(e.month??n.getMonth(n.startOfMonth(u.value)))),l=ee(Number(e.year??n.getYear(n.startOfYear(n.setMonth(u.value,c.value))))),d=_e(!1),v=E(()=>e.multiple&&i.value.length>1?t("$vuetify.datePicker.itemsSelected",i.value.length):i.value[0]&&n.isValid(i.value[0])?n.format(n.date(i.value[0]),"normalDateWithWeekday"):t(e.header)),m=E(()=>{let x=n.date();return x=n.setDate(x,1),x=n.setMonth(x,c.value),x=n.setYear(x,l.value),n.format(x,"monthAndYear")}),p=E(()=>`date-picker-header${d.value?"-reverse":""}-transition`),g=E(()=>{const x=n.date(e.min);return e.min&&n.isValid(x)?x:null}),b=E(()=>{const x=n.date(e.max);return e.max&&n.isValid(x)?x:null}),f=E(()=>{if(e.disabled)return!0;const x=[];if(o.value!=="month")x.push("prev","next");else{let R=n.date();if(R=n.setYear(R,l.value),R=n.setMonth(R,c.value),g.value){const M=n.addDays(n.startOfMonth(R),-1);n.isAfter(g.value,M)&&x.push("prev")}if(b.value){const M=n.addDays(n.endOfMonth(R),1);n.isAfter(M,b.value)&&x.push("next")}}return x});function y(){c.value<11?c.value++:(l.value++,c.value=0,z(l.value)),w(c.value)}function P(){c.value>0?c.value--:(l.value--,c.value=11,z(l.value)),w(c.value)}function _(){o.value="month"}function O(){o.value=o.value==="months"?"month":"months"}function S(){o.value=o.value==="year"?"month":"year"}function w(x){o.value==="months"&&O(),r("update:month",x)}function z(x){o.value==="year"&&S(),r("update:year",x)}return de(i,(x,R)=>{const M=lt(R),T=lt(x);if(!T.length)return;const q=n.date(M[M.length-1]),B=n.date(T[T.length-1]),H=n.getMonth(B),Z=n.getYear(B);H!==c.value&&(c.value=H,w(c.value)),Z!==l.value&&(l.value=Z,z(l.value)),d.value=n.isBefore(q,B)}),pe(()=>{const x=ns.filterProps(e),R=Yu.filterProps(e),M=Xu.filterProps(e),T=Ju.filterProps(e),q=vt(Qu.filterProps(e),["modelValue"]),B=vt(Zu.filterProps(e),["modelValue"]),H={header:v.value,transition:p.value};return h(ns,se(x,{class:["v-date-picker",`v-date-picker--${o.value}`,{"v-date-picker--show-week":e.showWeek},e.class],style:e.style}),{title:()=>{var Z;return((Z=s.title)==null?void 0:Z.call(s))??h("div",{class:"v-date-picker__title"},[t(e.title)])},header:()=>s.header?h(ot,{defaults:{VDatePickerHeader:{...H}}},{default:()=>{var Z;return[(Z=s.header)==null?void 0:Z.call(s,H)]}}):h(Xu,se({key:"header"},M,H,{onClick:o.value!=="month"?_:void 0}),{...s,default:void 0}),default:()=>h(ye,null,[h(Yu,se(R,{disabled:f.value,text:m.value,"onClick:next":y,"onClick:prev":P,"onClick:month":O,"onClick:year":S}),null),h(oi,{hideOnLeave:!0},{default:()=>[o.value==="months"?h(Qu,se({key:"date-picker-months"},q,{modelValue:c.value,"onUpdate:modelValue":[Z=>c.value=Z,w],min:g.value,max:b.value,year:l.value}),null):o.value==="year"?h(Zu,se({key:"date-picker-years"},B,{modelValue:l.value,"onUpdate:modelValue":[Z=>l.value=Z,z],min:g.value,max:b.value}),null):h(Ju,se({key:"date-picker-month"},T,{modelValue:i.value,"onUpdate:modelValue":Z=>i.value=Z,month:c.value,"onUpdate:month":[Z=>c.value=Z,w],year:l.value,"onUpdate:year":[Z=>l.value=Z,z],min:g.value,max:b.value}),null)]})]),actions:s.actions})}),{}}}),Bt=e=>{const a=""+e;return a.length===1?"0"+a:a},yf=e=>{const a=e.getTimezoneOffset(),r=`${Bt(Math.abs(a/60))}:${Bt(Math.abs(a%60))}`;let s;return a<0?s=`+${r}`:a>0?s=`-${r}`:s="Z",`${e.getFullYear()}-${Bt(e.getMonth()+1)}-${Bt(e.getDate())}T${Bt(e.getHours())}:${Bt(e.getMinutes())}:${Bt(e.getSeconds())}${s}`},gf=e=>[`${e.getFullYear()}-${Bt(e.getMonth()+1)}-${Bt(e.getDate())}`,`${Bt(e.getHours())}:${Bt(e.getMinutes())}`],bf=e=>e?e.slice(0,5):"",$w=e=>e+":00Z",ww={__name:"date-picker",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfDatePicker");const a=e,r=Ia(),s=ee(!1),{compProps:n,localData:t}=ut(ce(a,"modelValue"),a.statefulLayout),i=E(()=>{const u={...n.value};return u.hideActions=!0,t.value&&(u.modelValue=new Date(t.value)),u["onUpdate:modelValue"]=c=>{c&&(a.modelValue.layout.format==="date-time"?a.statefulLayout.input(a.modelValue,yf(c)):a.statefulLayout.input(a.modelValue,gf(c)[0]),s.value=!1)},u}),o=E(()=>t.value?r.format(t.value,"fullDateWithWeekday"):null);return(u,c)=>(ae(),he(xs,{"menu-opened":s.value,"onUpdate:menuOpened":c[0]||(c[0]=l=>s.value=l),"model-value":a.modelValue,"stateful-layout":e.statefulLayout,"formatted-value":o.value},{default:ne(()=>[h(Y(hf),Oa(Ea(i.value)),null,16)]),_:1},8,["menu-opened","model-value","stateful-layout","formatted-value"]))}},_w=ie({allowedValues:Function,ampm:Boolean,color:String,disabled:Boolean,displayedValue:null,double:Boolean,format:{type:Function,default:e=>e},max:{type:Number,required:!0},min:{type:Number,required:!0},scrollable:Boolean,readonly:Boolean,rotate:{type:Number,default:0},step:{type:Number,default:1},modelValue:{type:Number}},"VTimePickerClock"),ec=ve()({name:"VTimePickerClock",props:_w(),emits:{change:e=>!0,input:e=>!0},setup(e,a){let{emit:r}=a;const s=ee(null),n=ee(null),t=ee(void 0),i=ee(!1),o=ee(null),u=ee(null),{textColorClasses:c,textColorStyles:l}=ja(ce(e,"color")),{backgroundColorClasses:d,backgroundColorStyles:v}=At(ce(e,"color")),m=E(()=>e.max-e.min+1),p=E(()=>e.double?m.value/2:m.value),g=E(()=>360/p.value),b=E(()=>g.value*Math.PI/180),f=E(()=>e.modelValue==null?e.min:e.modelValue),y=E(()=>.62),P=E(()=>{const L=[];for(let U=e.min;U<=e.max;U=U+e.step)L.push(U);return L});de(()=>e.modelValue,L=>{t.value=L});function _(L){t.value!==L&&(t.value=L),r("input",L)}function O(L){return!e.allowedValues||e.allowedValues(L)}function S(L){if(!e.scrollable||e.disabled)return;L.preventDefault();const U=Math.sign(-L.deltaY||1);let $=f.value;do $=$+U,$=($-e.min+m.value)%m.value+e.min;while(!O($)&&$!==f.value);$!==e.displayedValue&&_($)}function w(L){return e.double&&L-e.min>=p.value}function z(L){return w(L)?y.value:1}function x(L){const U=e.rotate*Math.PI/180;return{x:Math.sin((L-e.min)*b.value+U)*z(L),y:-Math.cos((L-e.min)*b.value+U)*z(L)}}function R(L,U){const $=(Math.round(L/g.value)+(U?p.value:0))%m.value+e.min;return L<360-g.value/2?$:U?e.max-p.value+1:e.min}function M(L){const{x:U,y:$}=x(L);return{left:`${50+U*50}%`,top:`${50+$*50}%`}}function T(L,U){const $=U.x-L.x,C=U.y-L.y;return Math.sqrt($*$+C*C)}function q(L,U){const $=2*Math.atan2(U.y-L.y-T(L,U),U.x-L.x);return Math.abs($*180/Math.PI)}function B(L){o.value===null&&(o.value=L),u.value=L,_(L)}function H(L){var le,J;if(L.preventDefault(),!i.value&&L.type!=="click"||!s.value)return;const{width:U,top:$,left:C}=(le=s.value)==null?void 0:le.getBoundingClientRect(),{width:I}=((J=n.value)==null?void 0:J.getBoundingClientRect())??{width:0},{clientX:j,clientY:k}="touches"in L?L.touches[0]:L,V={x:U/2,y:-U/2},D={x:j-C,y:$-k},K=Math.round(q(V,D)-e.rotate+360)%360,Q=e.double&&T(V,D)<(I+I*y.value)/4,te=Math.ceil(15/g.value);let X;for(let re=0;reh("div",{class:[{"v-time-picker-clock":!0,"v-time-picker-clock--indeterminate":e.modelValue==null,"v-time-picker-clock--readonly":e.readonly}],onMousedown:Z,onTouchstart:Z,onWheel:S,ref:s},[h("div",{class:"v-time-picker-clock__inner",ref:n},[h("div",{class:[{"v-time-picker-clock__hand":!0,"v-time-picker-clock__hand--inner":w(e.modelValue)},c.value],style:[{transform:`rotate(${e.rotate+g.value*(f.value-e.min)}deg) scaleY(${z(f.value)})`},l.value]},null),P.value.map(L=>{const U=L===f.value;return h("div",{class:[{"v-time-picker-clock__item":!0,"v-time-picker-clock__item--active":U,"v-time-picker-clock__item--disabled":e.disabled||!O(L)},U&&d.value],style:[M(L),U&&v.value]},[h("span",null,[e.format(L)])])})])]))}}),Sw=(e,a,r)=>(a=a>>0,e=String(e),r=String(r),e.length>a?String(e):(a=a-e.length,a>r.length&&(r+=r.repeat(a/r.length)),r.slice(0,a)+String(e))),Wa=function(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Sw(e,a,"0")};var Qe=function(e){return e[e.Hour=1]="Hour",e[e.Minute=2]="Minute",e[e.Second=3]="Second",e}(Qe||{});const Pw=ie({ampm:Boolean,ampmInTitle:Boolean,ampmReadonly:Boolean,color:String,disabled:Boolean,hour:Number,minute:Number,second:Number,period:String,readonly:Boolean,useSeconds:Boolean,selecting:Number,value:Number},"VTimePickerControls"),tc=ve()({name:"VTimePickerControls",props:Pw(),emits:{"update:period":e=>!0,"update:selecting":e=>!0},setup(e,a){let{emit:r,slots:s}=a;const{t:n}=Ft();return pe(()=>{let t=e.hour;return e.ampm&&(t=t?(t-1)%12+1:12),h("div",{class:"v-time-picker-controls"},[h("div",{class:{"v-time-picker-controls__time":!0,"v-time-picker-controls__time--with-seconds":e.useSeconds}},[h(Le,{active:e.selecting===1,color:e.selecting===1?e.color:void 0,disabled:e.disabled,variant:"tonal",class:{"v-time-picker-controls__time__btn":!0,"v-time-picker-controls__time--with-ampm__btn":e.ampm,"v-time-picker-controls__time--with-seconds__btn":e.useSeconds},text:e.hour==null?"--":Wa(`${t}`),onClick:()=>r("update:selecting",Qe.Hour)},null),h("span",{class:["v-time-picker-controls__time__separator",{"v-time-picker-controls--with-seconds__time__separator":e.useSeconds}]},[Ke(":")]),h(Le,{active:e.selecting===2,color:e.selecting===2?e.color:void 0,class:{"v-time-picker-controls__time__btn":!0,"v-time-picker-controls__time__btn__active":e.selecting===2,"v-time-picker-controls__time--with-ampm__btn":e.ampm,"v-time-picker-controls__time--with-seconds__btn":e.useSeconds},disabled:e.disabled,variant:"tonal",text:e.minute==null?"--":Wa(e.minute),onClick:()=>r("update:selecting",Qe.Minute)},null),e.useSeconds&&h("span",{class:["v-time-picker-controls__time__separator",{"v-time-picker-controls--with-seconds__time__separator":e.useSeconds}],key:"secondsDivider"},[Ke(":")]),e.useSeconds&&h(Le,{key:"secondsVal",variant:"tonal",onClick:()=>r("update:selecting",Qe.Second),class:{"v-time-picker-controls__time__btn":!0,"v-time-picker-controls__time__btn__active":e.selecting===3,"v-time-picker-controls__time--with-seconds__btn":e.useSeconds},disabled:e.disabled,text:e.second==null?"--":Wa(e.second)},null),e.ampm&&e.ampmInTitle&&h("div",{class:["v-time-picker-controls__ampm",{"v-time-picker-controls__ampm--readonly":e.ampmReadonly}]},[h(Le,{active:e.period==="am",color:e.period==="am"?e.color:void 0,class:{"v-time-picker-controls__ampm__am":!0,"v-time-picker-controls__ampm__btn":!0,"v-time-picker-controls__ampm__btn__active":e.period==="am"},disabled:e.disabled,text:n("$vuetify.timePicker.am"),variant:e.disabled&&e.period==="am"?"elevated":"tonal",onClick:()=>e.period!=="am"?r("update:period","am"):null},null),h(Le,{active:e.period==="pm",color:e.period==="pm"?e.color:void 0,class:{"v-time-picker-controls__ampm__pm":!0,"v-time-picker-controls__ampm__btn":!0,"v-time-picker-controls__ampm__btn__active":e.period==="pm"},disabled:e.disabled,text:n("$vuetify.timePicker.pm"),variant:e.disabled&&e.period==="pm"?"elevated":"tonal",onClick:()=>e.period!=="pm"?r("update:period","pm"):null},null)])])])}),{}}}),Cw=On(24),kf=On(12),Vw=kf.map(e=>e+12);On(60);const Ow={1:"hour",2:"minute",3:"second"},Ew=ie({allowedHours:[Function,Array],allowedMinutes:[Function,Array],allowedSeconds:[Function,Array],ampmInTitle:Boolean,disabled:Boolean,format:{type:String,default:"ampm"},max:String,min:String,modelValue:null,readonly:Boolean,scrollable:Boolean,useSeconds:Boolean,...vt(vl({title:"$vuetify.timePicker.title"}),["landscape"])},"VTimePicker"),$f=ve()({name:"VTimePicker",props:Ew(),emits:{"update:hour":e=>!0,"update:minute":e=>!0,"update:period":e=>!0,"update:second":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{emit:r,slots:s}=a;const{t:n}=Ft(),t=ee(null),i=ee(null),o=ee(null),u=ee(null),c=ee(null),l=ee(null),d=ee("am"),v=ee(Qe.Hour),m=ee(null),p=ee(null),g=E(()=>{let T;if(e.allowedHours instanceof Array?T=H=>e.allowedHours.includes(H):T=e.allowedHours,!e.min&&!e.max)return T;const q=e.min?Number(e.min.split(":")[0]):0,B=e.max?Number(e.max.split(":")[0]):23;return H=>H>=q*1&&H<=B*1&&(!T||T(H))}),b=E(()=>{let T;const q=!g.value||t.value===null||g.value(t.value);if(e.allowedMinutes instanceof Array?T=$=>e.allowedMinutes.includes($):T=e.allowedMinutes,!e.min&&!e.max)return q?T:()=>!1;const[B,H]=e.min?e.min.split(":").map(Number):[0,0],[Z,oe]=e.max?e.max.split(":").map(Number):[23,59],L=B*60+H*1,U=Z*60+oe*1;return $=>{const C=60*t.value+$;return C>=L&&C<=U&&q&&(!T||T($))}}),f=E(()=>{let T;const B=(!g.value||t.value===null||g.value(t.value))&&(!b.value||i.value===null||b.value(i.value));if(e.allowedSeconds instanceof Array?T=j=>e.allowedSeconds.includes(j):T=e.allowedSeconds,!e.min&&!e.max)return B?T:()=>!1;const[H,Z,oe]=e.min?e.min.split(":").map(Number):[0,0,0],[L,U,$]=e.max?e.max.split(":").map(Number):[23,59,59],C=H*3600+Z*60+(oe||0)*1,I=L*3600+U*60+($||0)*1;return j=>{const k=3600*t.value+60*i.value+j;return k>=C&&k<=I&&B&&(!T||T(j))}}),y=E(()=>e.format==="ampm");de(()=>e.modelValue,T=>w(T)),oa(()=>{w(e.modelValue)});function P(){return t.value!=null&&i.value!=null&&(!e.useSeconds||o.value!=null)?`${Wa(t.value)}:${Wa(i.value)}`+(e.useSeconds?`:${Wa(o.value)}`:""):null}function _(){const T=P();T!==null&&r("update:modelValue",T)}function O(T){return T?(T-1)%12+1:12}function S(T,q){return T%12+(q==="pm"?12:0)}function w(T){if(T==null||T==="")t.value=null,i.value=null,o.value=null;else if(T instanceof Date)t.value=T.getHours(),i.value=T.getMinutes(),o.value=T.getSeconds();else{const[q,,B,,H,Z]=T.trim().toLowerCase().match(/^(\d+):(\d+)(:(\d+))?([ap]m)?$/)||new Array(6);t.value=Z?S(parseInt(q,10),Z):parseInt(q,10),i.value=parseInt(B,10),o.value=parseInt(H||0,10)}d.value=t.value==null||t.value<12?"am":"pm"}function z(T,q){const B=g.value;if(!B)return q;const H=y.value?q<12?kf:Vw:Cw;return((H.find(oe=>B((oe+q)%H.length+H[0]))||0)+q)%H.length+H[0]}function x(T){if(d.value=T,t.value!=null){const q=t.value+(d.value==="am"?-12:12);t.value=z("hour",q)}return r("update:period",T),_(),!0}function R(T){v.value===Qe.Hour?t.value=y.value?S(T,d.value):T:v.value===Qe.Minute?i.value=T:o.value=T}function M(T){switch(Ow[v.value]){case"hour":r("update:hour",T);break;case"minute":r("update:minute",T);break;case"second":r("update:second",T);break}const q=v.value===(e.useSeconds?Qe.Second:Qe.Minute);v.value===Qe.Hour?v.value=Qe.Minute:e.useSeconds&&v.value===Qe.Minute&&(v.value=Qe.Second),!(t.value===u.value&&i.value===c.value&&(!e.useSeconds||o.value===l.value)||P()===null)&&(u.value=t.value,c.value=i.value,e.useSeconds&&(l.value=o.value),q&&_())}pe(()=>{const T=ns.filterProps(e),q=tc.filterProps(e),B=ec.filterProps(vt(e,["format","modelValue","min","max"]));return h(ns,se(T,{color:void 0,class:["v-time-picker",e.class],style:e.style}),{title:()=>{var H;return((H=s.title)==null?void 0:H.call(s))??h("div",{class:"v-time-picker__title"},[n(e.title)])},header:()=>h(tc,se(q,{ampm:y.value||e.ampmInTitle,ampmReadonly:y.value&&!e.ampmInTitle,hour:t.value,minute:i.value,period:d.value,second:o.value,selecting:v.value,"onUpdate:period":H=>x(H),"onUpdate:selecting":H=>v.value=H,ref:m}),null),default:()=>h(ec,se(B,{allowedValues:v.value===Qe.Hour?g.value:v.value===Qe.Minute?b.value:f.value,double:v.value===Qe.Hour&&!y.value,format:v.value===Qe.Hour?y.value?O:H=>H:H=>Wa(H,2),max:v.value===Qe.Hour?y.value&&d.value==="am"?11:23:59,min:v.value===Qe.Hour&&y.value&&d.value==="pm"?12:0,size:20,step:v.value===Qe.Hour?1:5,modelValue:v.value===Qe.Hour?t.value:v.value===Qe.Minute?i.value:o.value,onChange:M,onInput:R,ref:p}),null),actions:s.actions})})}}),xw={__name:"time-picker",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfDatePicker");const a=e,r=Ia(),{compProps:s,localData:n}=ut(ce(a,"modelValue"),a.statefulLayout),t=E(()=>{const i={...s.value};return i["ampm-in-title"]=!0,n.value&&(i.modelValue=bf(n.value)),i});return(i,o)=>(ae(),he(xs,{"model-value":a.modelValue,"stateful-layout":e.statefulLayout,"formatted-value":t.value.modelValue&&Y(r).format("2010-04-13T"+t.value.modelValue,"fullTime")},{default:ne(()=>[h(Y($f),se(t.value,{"onUpdate:modelValue":o[0]||(o[0]=u=>{e.statefulLayout.input(a.modelValue,u&&Y($w)(u))})}),null,16)]),_:1},8,["model-value","stateful-layout","formatted-value"]))}},pl=Symbol.for("vuetify:v-tabs"),Iw=ie({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...vt(Wm({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),ir=ve()({name:"VTab",props:Iw(),setup(e,a){let{slots:r,attrs:s}=a;const{textColorClasses:n,textColorStyles:t}=ja(e,"sliderColor"),i=ee(),o=ee(),u=E(()=>e.direction==="horizontal"),c=E(()=>{var d,v;return((v=(d=i.value)==null?void 0:d.group)==null?void 0:v.isSelected.value)??!1});function l(d){var m,p;let{value:v}=d;if(v){const g=(p=(m=i.value)==null?void 0:m.$el.parentElement)==null?void 0:p.querySelector(".v-tab--selected .v-tab__slider"),b=o.value;if(!g||!b)return;const f=getComputedStyle(g).color,y=g.getBoundingClientRect(),P=b.getBoundingClientRect(),_=u.value?"x":"y",O=u.value?"X":"Y",S=u.value?"right":"bottom",w=u.value?"width":"height",z=y[_],x=P[_],R=z>x?y[S]-P[S]:y[_]-P[_],M=Math.sign(R)>0?u.value?"right":"bottom":Math.sign(R)<0?u.value?"left":"top":"center",q=(Math.abs(R)+(Math.sign(R)<0?y[w]:P[w]))/Math.max(y[w],P[w])||0,B=y[w]/P[w]||0,H=1.5;Ua(b,{backgroundColor:[f,"currentcolor"],transform:[`translate${O}(${R}px) scale${O}(${B})`,`translate${O}(${R/H}px) scale${O}(${(q-1)/H+1})`,"none"],transformOrigin:Array(3).fill(M)},{duration:225,easing:tr})}}return pe(()=>{const d=Le.filterProps(e);return h(Le,se({symbol:pl,ref:i,class:["v-tab",e.class],style:e.style,tabindex:c.value?0:-1,role:"tab","aria-selected":String(c.value),active:!1},d,s,{block:e.fixed,maxWidth:e.fixed?300:void 0,"onGroup:selected":l}),{...r,default:()=>{var v;return h(ye,null,[((v=r.default)==null?void 0:v.call(r))??e.text,!e.hideSlider&&h("div",{ref:o,class:["v-tab__slider",n.value],style:t.value},null)])}})}),ba({},i)}}),jw=e=>{const{touchstartX:a,touchendX:r,touchstartY:s,touchendY:n}=e,t=.5,i=16;e.offsetX=r-a,e.offsetY=n-s,Math.abs(e.offsetY)a+i&&e.right(e)),Math.abs(e.offsetX)s+i&&e.down(e))};function Aw(e,a){var s;const r=e.changedTouches[0];a.touchstartX=r.clientX,a.touchstartY=r.clientY,(s=a.start)==null||s.call(a,{originalEvent:e,...a})}function Tw(e,a){var s;const r=e.changedTouches[0];a.touchendX=r.clientX,a.touchendY=r.clientY,(s=a.end)==null||s.call(a,{originalEvent:e,...a}),jw(a)}function Mw(e,a){var s;const r=e.changedTouches[0];a.touchmoveX=r.clientX,a.touchmoveY=r.clientY,(s=a.move)==null||s.call(a,{originalEvent:e,...a})}function Dw(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const a={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:r=>Aw(r,a),touchend:r=>Tw(r,a),touchmove:r=>Mw(r,a)}}function Rw(e,a){var o;const r=a.value,s=r!=null&&r.parent?e.parentElement:e,n=(r==null?void 0:r.options)??{passive:!0},t=(o=a.instance)==null?void 0:o.$.uid;if(!s||!t)return;const i=Dw(a.value);s._touchHandlers=s._touchHandlers??Object.create(null),s._touchHandlers[t]=i,pc(i).forEach(u=>{s.addEventListener(u,i[u],n)})}function Nw(e,a){var t,i;const r=(t=a.value)!=null&&t.parent?e.parentElement:e,s=(i=a.instance)==null?void 0:i.$.uid;if(!(r!=null&&r._touchHandlers)||!s)return;const n=r._touchHandlers[s];pc(n).forEach(o=>{r.removeEventListener(o,n[o])}),delete r._touchHandlers[s]}const wf={mounted:Rw,unmounted:Nw},zw=wf,_f=Symbol.for("vuetify:v-window"),Sf=Symbol.for("vuetify:v-window-group"),hl=ie({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...qe(),...Wt(),...Ht()},"VWindow"),Sn=ve()({name:"VWindow",directives:{Touch:wf},props:hl(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const{themeClasses:s}=ma(e),{isRtl:n}=va(),{t}=Ft(),i=cr(e,Sf),o=ee(),u=E(()=>n.value?!e.reverse:e.reverse),c=_e(!1),l=E(()=>{const _=e.direction==="vertical"?"y":"x",S=(u.value?!c.value:c.value)?"-reverse":"";return`v-window-${_}${S}-transition`}),d=_e(0),v=ee(void 0),m=E(()=>i.items.value.findIndex(_=>i.selected.value.includes(_.id)));de(m,(_,O)=>{const S=i.items.value.length,w=S-1;S<=2?c.value=_e.continuous||m.value!==0),g=E(()=>e.continuous||m.value!==i.items.value.length-1);function b(){p.value&&i.prev()}function f(){g.value&&i.next()}const y=E(()=>{const _=[],O={icon:n.value?e.nextIcon:e.prevIcon,class:`v-window__${u.value?"right":"left"}`,onClick:i.prev,"aria-label":t("$vuetify.carousel.prev")};_.push(p.value?r.prev?r.prev({props:O}):h(Le,O,null):h("div",null,null));const S={icon:n.value?e.prevIcon:e.nextIcon,class:`v-window__${u.value?"left":"right"}`,onClick:i.next,"aria-label":t("$vuetify.carousel.next")};return _.push(g.value?r.next?r.next({props:S}):h(Le,S,null):h("div",null,null)),_}),P=E(()=>e.touch===!1?e.touch:{...{left:()=>{u.value?b():f()},right:()=>{u.value?f():b()},start:O=>{let{originalEvent:S}=O;S.stopPropagation()}},...e.touch===!0?{}:e.touch});return pe(()=>mt(h(e.tag,{ref:o,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},s.value,e.class],style:e.style},{default:()=>{var _,O;return[h("div",{class:"v-window__container",style:{height:v.value}},[(_=r.default)==null?void 0:_.call(r,{group:i}),e.showArrows!==!1&&h("div",{class:"v-window__controls"},[y.value])]),(O=r.additional)==null?void 0:O.call(r,{group:i})]}}),[[ha("touch"),P.value]])),{group:i}}}),Fw=ie({...vt(hl(),["continuous","nextIcon","prevIcon","showArrows","touch","mandatory"])},"VTabsWindow"),Pf=ve()({name:"VTabsWindow",props:Fw(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const s=Ct(pl,null),n=xe(e,"modelValue"),t=E({get(){var i;return n.value!=null||!s?n.value:(i=s.items.value.find(o=>s.selected.value.includes(o.id)))==null?void 0:i.value},set(i){n.value=i}});return pe(()=>{const i=Sn.filterProps(e);return h(Sn,se({_as:"VTabsWindow"},i,{modelValue:t.value,"onUpdate:modelValue":o=>t.value=o,class:["v-tabs-window",e.class],style:e.style,mandatory:!1,touch:!1}),r)}),{}}}),yl=ie({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...qe(),...us(),...fl()},"VWindowItem"),Pn=ve()({name:"VWindowItem",directives:{Touch:zw},props:yl(),emits:{"group:selected":e=>!0},setup(e,a){let{slots:r}=a;const s=Ct(_f),n=cs(e,Sf),{isBooted:t}=lv();if(!s||!n)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const i=_e(!1),o=E(()=>t.value&&(s.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function u(){!i.value||!s||(i.value=!1,s.transitionCount.value>0&&(s.transitionCount.value-=1,s.transitionCount.value===0&&(s.transitionHeight.value=void 0)))}function c(){var p;i.value||!s||(i.value=!0,s.transitionCount.value===0&&(s.transitionHeight.value=Re((p=s.rootRef.value)==null?void 0:p.clientHeight)),s.transitionCount.value+=1)}function l(){u()}function d(p){i.value&&nt(()=>{!o.value||!i.value||!s||(s.transitionHeight.value=Re(p.clientHeight))})}const v=E(()=>{const p=s.isReversed.value?e.reverseTransition:e.transition;return o.value?{name:typeof p!="string"?s.transition.value:p,onBeforeEnter:c,onAfterEnter:u,onEnterCancelled:l,onBeforeLeave:c,onAfterLeave:u,onLeaveCancelled:l,onEnter:d}:!1}),{hasContent:m}=ml(e,n.isSelected);return pe(()=>h(xn,{transition:v.value,disabled:!t.value},{default:()=>{var p;return[mt(h("div",{class:["v-window-item",n.selectedClass.value,e.class],style:e.style},[m.value&&((p=r.default)==null?void 0:p.call(r))]),[[xa,n.isSelected.value]])]}})),{groupItem:n}}}),Lw=ie({...yl()},"VTabsWindowItem"),Di=ve()({name:"VTabsWindowItem",props:Lw(),setup(e,a){let{slots:r}=a;return pe(()=>{const s=Pn.filterProps(e);return h(Pn,se({_as:"VTabsWindowItem"},s,{class:["v-tabs-window-item",e.class],style:e.style}),r)}),{}}});function qw(e){let{selectedElement:a,containerElement:r,isRtl:s,isHorizontal:n}=e;const t=or(n,r),i=Cf(n,s,r),o=or(n,a),u=Vf(n,a),c=o*.4;return i>u?u-c:i+ttypeof e=="boolean"||["always","desktop","mobile"].includes(e)},...qe(),...hc({mobile:null}),...Wt(),...ds({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),rs=ve()({name:"VSlideGroup",props:gl(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const{isRtl:s}=va(),{displayClasses:n,mobile:t}=ls(e),i=cr(e,e.symbol),o=_e(!1),u=_e(0),c=_e(0),l=_e(0),d=E(()=>e.direction==="horizontal"),{resizeRef:v,contentRect:m}=er(),{resizeRef:p,contentRect:g}=er(),b=Pm(),f=E(()=>({container:v.el,duration:200,easing:"easeOutQuart"})),y=E(()=>i.selected.value.length?i.items.value.findIndex($=>$.id===i.selected.value[0]):-1),P=E(()=>i.selected.value.length?i.items.value.findIndex($=>$.id===i.selected.value[i.selected.value.length-1]):-1);if(wt){let $=-1;de(()=>[i.selected.value,m.value,g.value,d.value],()=>{cancelAnimationFrame($),$=requestAnimationFrame(()=>{if(m.value&&g.value){const C=d.value?"width":"height";c.value=m.value[C],l.value=g.value[C],o.value=c.value+1=0&&p.el){const C=p.el.children[P.value];O(C,e.centerActive)}})})}const _=_e(!1);function O($,C){let I=0;C?I=Bw({containerElement:v.el,isHorizontal:d.value,selectedElement:$}):I=qw({containerElement:v.el,isHorizontal:d.value,isRtl:s.value,selectedElement:$}),S(I)}function S($){if(!wt||!v.el)return;const C=or(d.value,v.el),I=Cf(d.value,s.value,v.el);if(!(ac(d.value,v.el)<=C||Math.abs($-I)<16)){if(d.value&&s.value&&v.el){const{scrollWidth:k,offsetWidth:V}=v.el;$=k-V-$}d.value?b.horizontal($,f.value):b($,f.value)}}function w($){const{scrollTop:C,scrollLeft:I}=$.target;u.value=d.value?I:C}function z($){if(_.value=!0,!(!o.value||!p.el)){for(const C of $.composedPath())for(const I of p.el.children)if(I===C){O(I);return}}}function x($){_.value=!1}let R=!1;function M($){var C;!R&&!_.value&&!($.relatedTarget&&((C=p.el)!=null&&C.contains($.relatedTarget)))&&B(),R=!1}function T(){R=!0}function q($){if(!p.el)return;function C(I){$.preventDefault(),B(I)}d.value?$.key==="ArrowRight"?C(s.value?"prev":"next"):$.key==="ArrowLeft"&&C(s.value?"next":"prev"):$.key==="ArrowDown"?C("next"):$.key==="ArrowUp"&&C("prev"),$.key==="Home"?C("first"):$.key==="End"&&C("last")}function B($){var I,j;if(!p.el)return;let C;if(!$)C=si(p.el)[0];else if($==="next"){if(C=(I=p.el.querySelector(":focus"))==null?void 0:I.nextElementSibling,!C)return B("first")}else if($==="prev"){if(C=(j=p.el.querySelector(":focus"))==null?void 0:j.previousElementSibling,!C)return B("last")}else $==="first"?C=p.el.firstElementChild:$==="last"&&(C=p.el.lastElementChild);C&&C.focus({preventScroll:!0})}function H($){const C=d.value&&s.value?-1:1,I=($==="prev"?-C:C)*c.value;let j=u.value+I;if(d.value&&s.value&&v.el){const{scrollWidth:k,offsetWidth:V}=v.el;j+=k-V}S(j)}const Z=E(()=>({next:i.next,prev:i.prev,select:i.select,isSelected:i.isSelected})),oe=E(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!t.value;case!0:return o.value||Math.abs(u.value)>0;case"mobile":return t.value||o.value||Math.abs(u.value)>0;default:return!t.value&&(o.value||Math.abs(u.value)>0)}}),L=E(()=>Math.abs(u.value)>1),U=E(()=>{if(!v.value)return!1;const $=ac(d.value,v.el),C=Kw(d.value,v.el);return $-C-Math.abs(u.value)>1});return pe(()=>h(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!d.value,"v-slide-group--has-affixes":oe.value,"v-slide-group--is-overflowing":o.value},n.value,e.class],style:e.style,tabindex:_.value||i.selected.value.length?-1:0,onFocus:M},{default:()=>{var $,C,I;return[oe.value&&h("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!L.value}],onMousedown:T,onClick:()=>L.value&&H("prev")},[(($=r.prev)==null?void 0:$.call(r,Z.value))??h(oi,null,{default:()=>[h(Be,{icon:s.value?e.nextIcon:e.prevIcon},null)]})]),h("div",{key:"container",ref:v,class:"v-slide-group__container",onScroll:w},[h("div",{ref:p,class:"v-slide-group__content",onFocusin:z,onFocusout:x,onKeydown:q},[(C=r.default)==null?void 0:C.call(r,Z.value)])]),oe.value&&h("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!U.value}],onMousedown:T,onClick:()=>U.value&&H("next")},[((I=r.next)==null?void 0:I.call(r,Z.value))??h(oi,null,{default:()=>[h(Be,{icon:s.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:i.selected,scrollTo:H,scrollOffset:u,focus:B}}});function Hw(e){return e?e.map(a=>Cm(a)?a:{text:a,value:a}):[]}const Ww=ie({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...gl({mandatory:"force",selectedClass:"v-tab-item--selected"}),...fs(),...Wt()},"VTabs"),bl=ve()({name:"VTabs",props:Ww(),emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:r,slots:s}=a;const n=xe(e,"modelValue"),t=E(()=>Hw(e.items)),{densityClasses:i}=ms(e),{backgroundColorClasses:o,backgroundColorStyles:u}=At(ce(e,"bgColor")),{scopeId:c}=Qi();return Vn({VTab:{color:ce(e,"color"),direction:ce(e,"direction"),stacked:ce(e,"stacked"),fixed:ce(e,"fixedTabs"),sliderColor:ce(e,"sliderColor"),hideSlider:ce(e,"hideSlider")}}),pe(()=>{const l=rs.filterProps(e),d=!!(s.window||e.items.length>0);return h(ye,null,[h(rs,se(l,{modelValue:n.value,"onUpdate:modelValue":v=>n.value=v,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},i.value,o.value,e.class],style:[{"--v-tabs-height":Re(e.height)},u.value,e.style],role:"tablist",symbol:pl},c,r),{default:()=>{var v;return[((v=s.default)==null?void 0:v.call(s))??t.value.map(m=>{var p;return((p=s.tab)==null?void 0:p.call(s,{item:m}))??h(ir,se(m,{key:m.text,value:m.value}),{default:s[`tab.${m.value}`]?()=>{var g;return(g=s[`tab.${m.value}`])==null?void 0:g.call(s,{item:m})}:void 0})})]}}),d&&h(Pf,se({modelValue:n.value,"onUpdate:modelValue":v=>n.value=v,key:"tabs-window"},c),{default:()=>{var v;return[t.value.map(m=>{var p;return((p=s.item)==null?void 0:p.call(s,{item:m}))??h(Di,{value:m.value},{default:()=>{var g;return(g=s[`item.${m.value}`])==null?void 0:g.call(s,{item:m})}})}),(v=s.window)==null?void 0:v.call(s)]}})])}),{}}}),Gw={__name:"date-time-picker",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfDatePicker");const a=e,r=Ia(),s=ee("date"),n=ee(!1);de(n,()=>{s.value="date"});const{compProps:t,localData:i}=ut(ce(a,"modelValue"),a.statefulLayout),o=E(()=>{const c={...t.value};return c.hideActions=!0,i.value&&(c.modelValue=new Date(i.value)),c["onUpdate:modelValue"]=l=>{if(l){if(i.value){const d=l&&gf(l)[0];a.statefulLayout.input(a.modelValue,d+i.value.slice(10))}else a.statefulLayout.input(a.modelValue,yf(l));s.value="time"}},c}),u=E(()=>{const c={...t.value};return c["ampm-in-title"]=!0,i.value&&(c.modelValue=bf(i.value.slice(11))),c["onUpdate:modelValue"]=l=>{i.value&&(console.log("set time",l,i.value.slice(0,10),i.value.slice(15)),a.statefulLayout.input(a.modelValue,i.value.slice(0,11)+l+i.value.slice(16)))},c});return(c,l)=>(ae(),he(xs,{"menu-opened":n.value,"onUpdate:menuOpened":l[2]||(l[2]=d=>n.value=d),"model-value":e.modelValue,"stateful-layout":e.statefulLayout,"formatted-value":e.modelValue.data&&Y(r).format(e.modelValue.data,"fullDateTime")},{default:ne(()=>[h(Y(ia),{style:{width:"328px"}},{default:ne(()=>[h(Y(bl),{modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=d=>s.value=d),"align-tabs":"center"},{default:ne(()=>[h(Y(ir),{value:"date"},{default:ne(()=>[h(Y(Be),null,{default:ne(()=>l[3]||(l[3]=[Ke("mdi-calendar")])),_:1})]),_:1}),h(Y(ir),{value:"time",disabled:!e.modelValue.data},{default:ne(()=>[h(Y(Be),null,{default:ne(()=>l[4]||(l[4]=[Ke("mdi-clock")])),_:1})]),_:1},8,["disabled"])]),_:1},8,["modelValue"]),h(Y(Pf),{modelValue:s.value,"onUpdate:modelValue":l[1]||(l[1]=d=>s.value=d)},{default:ne(()=>[h(Y(Di),{value:"date"},{default:ne(()=>[h(Y(hf),Oa(Ea(o.value)),null,16)]),_:1}),h(Y(Di),{value:"time"},{default:ne(()=>[h(Y($f),Oa(Ea(u.value)),null,16)]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["menu-opened","model-value","stateful-layout","formatted-value"]))}},Yw=ie({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...qe()},"VColorPickerCanvas"),Xw=ur({name:"VColorPickerCanvas",props:Yw(),emits:{"update:color":e=>!0,"update:position":e=>!0},setup(e,a){let{emit:r}=a;const s=_e(!1),n=ee(),t=_e(parseFloat(e.width)),i=_e(parseFloat(e.height)),o=ee({x:0,y:0}),u=E({get:()=>o.value,set(b){var P,_;if(!n.value)return;const{x:f,y}=b;o.value=b,r("update:color",{h:((P=e.color)==null?void 0:P.h)??0,s:zt(f,0,t.value)/t.value,v:1-zt(y,0,i.value)/i.value,a:((_=e.color)==null?void 0:_.a)??1})}}),c=E(()=>{const{x:b,y:f}=u.value,y=parseInt(e.dotSize,10)/2;return{width:Re(e.dotSize),height:Re(e.dotSize),transform:`translate(${Re(b-y)}, ${Re(f-y)})`}}),{resizeRef:l}=er(b=>{var P;if(!((P=l.el)!=null&&P.offsetParent))return;const{width:f,height:y}=b[0].contentRect;t.value=f,i.value=y});function d(b,f,y){const{left:P,top:_,width:O,height:S}=y;u.value={x:zt(b-P,0,O),y:zt(f-_,0,S)}}function v(b){b.type==="mousedown"&&b.preventDefault(),!e.disabled&&(m(b),window.addEventListener("mousemove",m),window.addEventListener("mouseup",p),window.addEventListener("touchmove",m),window.addEventListener("touchend",p))}function m(b){if(e.disabled||!n.value)return;s.value=!0;const f=Vm(b);d(f.clientX,f.clientY,n.value.getBoundingClientRect())}function p(){window.removeEventListener("mousemove",m),window.removeEventListener("mouseup",p),window.removeEventListener("touchmove",m),window.removeEventListener("touchend",p)}function g(){var _;if(!n.value)return;const b=n.value,f=b.getContext("2d");if(!f)return;const y=f.createLinearGradient(0,0,b.width,0);y.addColorStop(0,"hsla(0, 0%, 100%, 1)"),y.addColorStop(1,`hsla(${((_=e.color)==null?void 0:_.h)??0}, 100%, 50%, 1)`),f.fillStyle=y,f.fillRect(0,0,b.width,b.height);const P=f.createLinearGradient(0,0,0,b.height);P.addColorStop(0,"hsla(0, 0%, 0%, 0)"),P.addColorStop(1,"hsla(0, 0%, 0%, 1)"),f.fillStyle=P,f.fillRect(0,0,b.width,b.height)}return de(()=>{var b;return(b=e.color)==null?void 0:b.h},g,{immediate:!0}),de(()=>[t.value,i.value],(b,f)=>{g(),o.value={x:u.value.x*b[0]/f[0],y:u.value.y*b[1]/f[1]}},{flush:"post"}),de(()=>e.color,()=>{if(s.value){s.value=!1;return}o.value=e.color?{x:e.color.s*t.value,y:(1-e.color.v)*i.value}:{x:0,y:0}},{deep:!0,immediate:!0}),oa(()=>g()),pe(()=>h("div",{ref:l,class:["v-color-picker-canvas",e.class],style:e.style,onMousedown:v,onTouchstartPassive:v},[h("canvas",{ref:n,width:t.value,height:i.value},null),e.color&&h("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":e.disabled}],style:c.value},null)])),{}}});function Jw(e,a){if(a){const{a:r,...s}=e;return s}return e}function Qw(e,a){if(a==null||typeof a=="string"){const r=yc(e);return e.a===1?r.slice(0,7):r}if(typeof a=="object"){let r;return Or(a,["r","g","b"])?r=gc(e):Or(a,["h","s","l"])?r=bc(e):Or(a,["h","s","v"])&&(r=e),Jw(r,!Or(a,["a"])&&e.a===1)}return e}const mn={h:0,s:0,v:0,a:1},Ri={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:e=>Math.round(e.r),getColor:(e,a)=>({...e,r:Number(a)})},{label:"G",max:255,step:1,getValue:e=>Math.round(e.g),getColor:(e,a)=>({...e,g:Number(a)})},{label:"B",max:255,step:1,getValue:e=>Math.round(e.b),getColor:(e,a)=>({...e,b:Number(a)})},{label:"A",max:1,step:.01,getValue:e=>{let{a}=e;return a!=null?Math.round(a*100)/100:1},getColor:(e,a)=>({...e,a:Number(a)})}],to:gc,from:Wi};var ic;const Zw={...Ri,inputs:(ic=Ri.inputs)==null?void 0:ic.slice(0,3)},Ni={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:e=>Math.round(e.h),getColor:(e,a)=>({...e,h:Number(a)})},{label:"S",max:1,step:.01,getValue:e=>Math.round(e.s*100)/100,getColor:(e,a)=>({...e,s:Number(a)})},{label:"L",max:1,step:.01,getValue:e=>Math.round(e.l*100)/100,getColor:(e,a)=>({...e,l:Number(a)})},{label:"A",max:1,step:.01,getValue:e=>{let{a}=e;return a!=null?Math.round(a*100)/100:1},getColor:(e,a)=>({...e,a:Number(a)})}],to:bc,from:Om},e_={...Ni,inputs:Ni.inputs.slice(0,3)},Of={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:e=>e,getColor:(e,a)=>a}],to:yc,from:kc},t_={...Of,inputs:[{label:"HEX",getValue:e=>e.slice(0,7),getColor:(e,a)=>a}]},Xa={rgb:Zw,rgba:Ri,hsl:e_,hsla:Ni,hex:t_,hexa:Of},a_=e=>{let{label:a,...r}=e;return h("div",{class:"v-color-picker-edit__input"},[h("input",r,null),h("span",null,[a])])},n_=ie({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(Xa).includes(e)},modes:{type:Array,default:()=>Object.keys(Xa),validator:e=>Array.isArray(e)&&e.every(a=>Object.keys(Xa).includes(a))},...qe()},"VColorPickerEdit"),r_=ur({name:"VColorPickerEdit",props:n_(),emits:{"update:color":e=>!0,"update:mode":e=>!0},setup(e,a){let{emit:r}=a;const s=E(()=>e.modes.map(t=>({...Xa[t],name:t}))),n=E(()=>{var o;const t=s.value.find(u=>u.name===e.mode);if(!t)return[];const i=e.color?t.to(e.color):null;return(o=t.inputs)==null?void 0:o.map(u=>{let{getValue:c,getColor:l,...d}=u;return{...t.inputProps,...d,disabled:e.disabled,value:i&&c(i),onChange:v=>{const m=v.target;m&&r("update:color",t.from(l(i??t.to(mn),m.value)))}}})});return pe(()=>{var t;return h("div",{class:["v-color-picker-edit",e.class],style:e.style},[(t=n.value)==null?void 0:t.map(i=>h(a_,i,null)),s.value.length>1&&h(Le,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const i=s.value.findIndex(o=>o.name===e.mode);r("update:mode",s.value[(i+1)%s.value.length].name)}},null)])}),{}}}),s_=ie({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...qe()},"VColorPickerPreview"),i_=ur({name:"VColorPickerPreview",props:s_(),emits:{"update:color":e=>!0},setup(e,a){let{emit:r}=a;const s=new AbortController;Em(()=>s.abort());async function n(){if(!Ll)return;const t=new window.EyeDropper;try{const i=await t.open({signal:s.signal}),o=kc(i.sRGBHex);r("update:color",{...e.color??mn,...o})}catch{}}return pe(()=>{var t,i;return h("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":e.hideAlpha},e.class],style:e.style},[Ll&&h("div",{class:"v-color-picker-preview__eye-dropper",key:"eyeDropper"},[h(Le,{onClick:n,icon:"$eyeDropper",variant:"plain",density:"comfortable"},null)]),h("div",{class:"v-color-picker-preview__dot"},[h("div",{style:{background:$c(e.color??mn)}},null)]),h("div",{class:"v-color-picker-preview__sliders"},[h(ji,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(t=e.color)==null?void 0:t.h,"onUpdate:modelValue":o=>r("update:color",{...e.color??mn,h:o}),step:0,min:0,max:360,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!e.hideAlpha&&h(ji,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((i=e.color)==null?void 0:i.a)??1,"onUpdate:modelValue":o=>r("update:color",{...e.color??mn,a:o}),step:1/256,min:0,max:1,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}}),o_=ie({swatches:{type:Array,default:()=>l_(jm)},disabled:Boolean,color:Object,maxHeight:[Number,String],...qe()},"VColorPickerSwatches");function l_(e){return Object.keys(e).map(a=>{const r=e[a];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const u_=ur({name:"VColorPickerSwatches",props:o_(),emits:{"update:color":e=>!0},setup(e,a){let{emit:r}=a;return pe(()=>h("div",{class:["v-color-picker-swatches",e.class],style:[{maxHeight:Re(e.maxHeight)},e.style]},[h("div",null,[e.swatches.map(s=>h("div",{class:"v-color-picker-swatches__swatch"},[s.map(n=>{const t=wc(n),i=Wi(t),o=xm(t);return h("div",{class:"v-color-picker-swatches__color",onClick:()=>i&&r("update:color",i)},[h("div",{style:{background:o}},[e.color&&Hi(e.color,i)?h(Be,{size:"x-small",icon:"$success",color:Im(n,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}}),c_=ie({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(Xa).includes(e)},modes:{type:Array,default:()=>Object.keys(Xa),validator:e=>Array.isArray(e)&&e.every(a=>Object.keys(Xa).includes(a))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...vt(Is({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),d_=ur({name:"VColorPicker",props:c_(),emits:{"update:modelValue":e=>!0,"update:mode":e=>!0},setup(e){const a=xe(e,"mode"),r=ee(null),s=xe(e,"modelValue",void 0,u=>{if(u==null||u==="")return null;let c;try{c=Wi(wc(u))}catch{return null}return c},u=>u?Qw(u,e.modelValue):null),n=E(()=>s.value?{...s.value,h:r.value??s.value.h}:null),{rtlClasses:t}=va();let i=!0;de(s,u=>{if(!i){i=!0;return}u&&(r.value=u.h)},{immediate:!0});const o=u=>{i=!1,r.value=u.h,s.value=u};return oa(()=>{e.modes.includes(a.value)||(a.value=e.modes[0])}),Vn({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),pe(()=>{const u=ia.filterProps(e);return h(ia,se({rounded:e.rounded,elevation:e.elevation,theme:e.theme,class:["v-color-picker",t.value,e.class],style:[{"--v-color-picker-color-hsv":$c({...n.value??mn,a:1})},e.style]},u,{maxWidth:e.width}),{default:()=>[!e.hideCanvas&&h(Xw,{key:"canvas",color:n.value,"onUpdate:color":o,disabled:e.disabled,dotSize:e.dotSize,width:e.width,height:e.canvasHeight},null),(!e.hideSliders||!e.hideInputs)&&h("div",{key:"controls",class:"v-color-picker__controls"},[!e.hideSliders&&h(i_,{key:"preview",color:n.value,"onUpdate:color":o,hideAlpha:!a.value.endsWith("a"),disabled:e.disabled},null),!e.hideInputs&&h(r_,{key:"edit",modes:e.modes,mode:a.value,"onUpdate:mode":c=>a.value=c,color:n.value,"onUpdate:color":o,disabled:e.disabled},null)]),e.showSwatches&&h(u_,{key:"swatches",color:n.value,"onUpdate:color":o,maxHeight:e.swatchesMaxHeight,swatches:e.swatches,disabled:e.disabled},null)]})}),{}}}),f_={__name:"color-picker",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfColorPicker");const a=e,{compProps:r,localData:s}=ut(ce(a,"modelValue"),a.statefulLayout),n=E(()=>{const t={...r.value};return t.modelValue=s.value,t});return(t,i)=>(ae(),he(xs,{"model-value":e.modelValue,"stateful-layout":e.statefulLayout,"formatted-value":e.modelValue.data},Gi({default:ne(()=>[h(Y(d_),se(n.value,{"onUpdate:modelValue":i[0]||(i[0]=o=>e.statefulLayout.input(e.modelValue,o))}),null,16)]),_:2},[e.modelValue.data?{name:"prepend-inner",fn:ne(()=>[is("div",{style:Am(`height:30px; width: 30px; border-radius: 40px; margin-right:6px; background: ${e.modelValue.data};`)},null,4)]),key:"0"}:void 0]),1032,["model-value","stateful-layout","formatted-value"]))}},Ef=Symbol.for("vuetify:v-chip-group"),m_=ie({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Hi},...gl(),...qe(),...ds({selectedClass:"v-chip--selected"}),...Wt(),...Ht(),...Tc({variant:"tonal"})},"VChipGroup");ve()({name:"VChipGroup",props:m_(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const{themeClasses:s}=ma(e),{isSelected:n,select:t,next:i,prev:o,selected:u}=cr(e,Ef);return Vn({VChip:{color:ce(e,"color"),disabled:ce(e,"disabled"),filter:ce(e,"filter"),variant:ce(e,"variant")}}),pe(()=>{const c=rs.filterProps(e);return h(rs,se(c,{class:["v-chip-group",{"v-chip-group--column":e.column},s.value,e.class],style:e.style}),{default:()=>{var l;return[(l=r.default)==null?void 0:l.call(r,{isSelected:n,select:t,next:i,prev:o,selected:u.value})]}})}),{}}});const v_=ie({activeClass:String,appendAvatar:String,appendIcon:rt,closable:Boolean,closeIcon:{type:rt,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:rt,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:na(),onClickOnce:na(),...jc(),...qe(),...fs(),...vr(),...us(),...dr(),...tv(),...av(),...Wt({tag:"span"}),...Ht(),...Tc({variant:"tonal"})},"VChip"),js=ve()({name:"VChip",directives:{Ripple:mr},props:v_(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,a){let{attrs:r,emit:s,slots:n}=a;const{t}=Ft(),{borderClasses:i}=Ac(e),{colorClasses:o,colorStyles:u,variantClasses:c}=nv(e),{densityClasses:l}=ms(e),{elevationClasses:d}=pr(e),{roundedClasses:v}=fr(e),{sizeClasses:m}=rv(e),{themeClasses:p}=ma(e),g=xe(e,"modelValue"),b=cs(e,Ef,!1),f=sv(e,r),y=E(()=>e.link!==!1&&f.isLink.value),P=E(()=>!e.disabled&&e.link!==!1&&(!!b||e.link||f.isClickable.value)),_=E(()=>({"aria-label":t(e.closeLabel),onClick(w){w.preventDefault(),w.stopPropagation(),g.value=!1,s("click:close",w)}}));function O(w){var z;s("click",w),P.value&&((z=f.navigate)==null||z.call(f,w),b==null||b.toggle())}function S(w){(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),O(w))}return()=>{const w=f.isLink.value?"a":e.tag,z=!!(e.appendIcon||e.appendAvatar),x=!!(z||n.append),R=!!(n.close||e.closable),M=!!(n.filter||e.filter)&&b,T=!!(e.prependIcon||e.prependAvatar),q=!!(T||n.prepend),B=!b||b.isSelected.value;return g.value&&mt(h(w,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":P.value,"v-chip--filter":M,"v-chip--pill":e.pill},p.value,i.value,B?o.value:void 0,l.value,d.value,v.value,m.value,c.value,b==null?void 0:b.selectedClass.value,e.class],style:[B?u.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:f.href.value,tabindex:P.value?0:void 0,onClick:O,onKeydown:P.value&&!y.value&&S},{default:()=>{var H;return[Mc(P.value,"v-chip"),M&&h(Pc,{key:"filter"},{default:()=>[mt(h("div",{class:"v-chip__filter"},[n.filter?h(ot,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},n.filter):h(Be,{key:"filter-icon",icon:e.filterIcon},null)]),[[xa,b.isSelected.value]])]}),q&&h("div",{key:"prepend",class:"v-chip__prepend"},[n.prepend?h(ot,{key:"prepend-defaults",disabled:!T,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},n.prepend):h(ye,null,[e.prependIcon&&h(Be,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&h(yn,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),h("div",{class:"v-chip__content","data-no-activator":""},[((H=n.default)==null?void 0:H.call(n,{isSelected:b==null?void 0:b.isSelected.value,selectedClass:b==null?void 0:b.selectedClass.value,select:b==null?void 0:b.select,toggle:b==null?void 0:b.toggle,value:b==null?void 0:b.value.value,disabled:e.disabled}))??e.text]),x&&h("div",{key:"append",class:"v-chip__append"},[n.append?h(ot,{key:"append-defaults",disabled:!z,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},n.append):h(ye,null,[e.appendIcon&&h(Be,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&h(yn,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),R&&h("button",se({key:"close",class:"v-chip__close",type:"button"},_.value),[n.close?h(ot,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},n.close):h(Be,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[ha("ripple"),P.value&&e.ripple,null]])}}}),p_=ie({start:Boolean,end:Boolean,...qe(),...Wt()},"VListItemAction"),Nr=ve()({name:"VListItemAction",props:p_(),setup(e,a){let{slots:r}=a;return pe(()=>h(e.tag,{class:["v-list-item-action",{"v-list-item-action--start":e.start,"v-list-item-action--end":e.end},e.class],style:e.style},r)),{}}}),h_=ie({renderless:Boolean,...qe()},"VVirtualScrollItem"),y_=ve()({name:"VVirtualScrollItem",inheritAttrs:!1,props:h_(),emits:{"update:height":e=>!0},setup(e,a){let{attrs:r,emit:s,slots:n}=a;const{resizeRef:t,contentRect:i}=er(void 0,"border");de(()=>{var o;return(o=i.value)==null?void 0:o.height},o=>{o!=null&&s("update:height",o)}),pe(()=>{var o,u;return e.renderless?h(ye,null,[(o=n.default)==null?void 0:o.call(n,{itemRef:t})]):h("div",se({ref:t,class:["v-virtual-scroll__item",e.class],style:e.style},r),[(u=n.default)==null?void 0:u.call(n)])})}}),g_=-1,b_=1,ai=100,k_=ie({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function $_(e,a){const r=ls(),s=_e(0);ra(()=>{s.value=parseFloat(e.itemHeight||0)});const n=_e(0),t=_e(Math.ceil((parseInt(e.height)||r.height.value)/(s.value||16))||1),i=_e(0),o=_e(0),u=ee(),c=ee();let l=0;const{resizeRef:d,contentRect:v}=er();ra(()=>{d.value=u.value});const m=E(()=>{var U;return u.value===document.documentElement?r.height.value:((U=v.value)==null?void 0:U.height)||parseInt(e.height)||0}),p=E(()=>!!(u.value&&c.value&&m.value&&s.value));let g=Array.from({length:a.value.length}),b=Array.from({length:a.value.length});const f=_e(0);let y=-1;function P(U){return g[U]||s.value}const _=Tm(()=>{const U=performance.now();b[0]=0;const $=a.value.length;for(let C=1;C<=$-1;C++)b[C]=(b[C-1]||0)+P(C-1);f.value=Math.max(f.value,performance.now()-U)},f),O=de(p,U=>{U&&(O(),l=c.value.offsetTop,_.immediate(),H(),~y&&nt(()=>{wt&&window.requestAnimationFrame(()=>{oe(y),y=-1})}))});Dt(()=>{_.clear()});function S(U,$){const C=g[U],I=s.value;s.value=I?Math.min(s.value,$):$,(C!==$||I!==s.value)&&(g[U]=$,_())}function w(U){return U=zt(U,0,a.value.length-1),b[U]||0}function z(U){return w_(b,U)}let x=0,R=0,M=0;de(m,(U,$)=>{$&&(H(),U<$&&requestAnimationFrame(()=>{R=0,H()}))});function T(){if(!u.value||!c.value)return;const U=u.value.scrollTop,$=performance.now();$-M>500?(R=Math.sign(U-x),l=c.value.offsetTop):R=U-x,x=U,M=$,H()}function q(){!u.value||!c.value||(R=0,M=0,H())}let B=-1;function H(){cancelAnimationFrame(B),B=requestAnimationFrame(Z)}function Z(){if(!u.value||!m.value)return;const U=x-l,$=Math.sign(R),C=Math.max(0,U-ai),I=zt(z(C),0,a.value.length),j=U+m.value+ai,k=zt(z(j)+1,I+1,a.value.length);if(($!==g_||It.value)){const V=w(n.value)-w(I),D=w(k)-w(t.value);Math.max(V,D)>ai?(n.value=I,t.value=k):(I<=0&&(n.value=I),k>=a.value.length&&(t.value=k))}i.value=w(n.value),o.value=w(a.value.length)-w(t.value)}function oe(U){const $=w(U);!u.value||U&&!$?y=U:u.value.scrollTop=$}const L=E(()=>a.value.slice(n.value,t.value).map((U,$)=>({raw:U,index:$+n.value})));return de(a,()=>{g=Array.from({length:a.value.length}),b=Array.from({length:a.value.length}),_.immediate(),H()},{deep:!0}),{containerRef:u,markerRef:c,computedItems:L,paddingTop:i,paddingBottom:o,scrollToIndex:oe,handleScroll:T,handleScrollend:q,handleItemResize:S}}function w_(e,a){let r=e.length-1,s=0,n=0,t=null,i=-1;if(e[r]>1,t=e[n],t>a)r=n-1;else if(t[]},renderless:Boolean,...k_(),...qe(),...hr()},"VVirtualScroll"),kl=ve()({name:"VVirtualScroll",props:__(),setup(e,a){let{slots:r}=a;const s=os("VVirtualScroll"),{dimensionStyles:n}=yr(e),{containerRef:t,markerRef:i,handleScroll:o,handleScrollend:u,handleItemResize:c,scrollToIndex:l,paddingTop:d,paddingBottom:v,computedItems:m}=$_(e,ce(e,"items"));return pn(()=>e.renderless,()=>{function p(){var f,y;const b=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)?"addEventListener":"removeEventListener";t.value===document.documentElement?(document[b]("scroll",o,{passive:!0}),document[b]("scrollend",u)):((f=t.value)==null||f[b]("scroll",o,{passive:!0}),(y=t.value)==null||y[b]("scrollend",u))}oa(()=>{t.value=zc(s.vnode.el,!0),p(!0)}),Dt(p)}),pe(()=>{const p=m.value.map(g=>h(y_,{key:g.index,renderless:e.renderless,"onUpdate:height":b=>c(g.index,b)},{default:b=>{var f;return(f=r.default)==null?void 0:f.call(r,{item:g.raw,index:g.index,...b})}}));return e.renderless?h(ye,null,[h("div",{ref:i,class:"v-virtual-scroll__spacer",style:{paddingTop:Re(d.value)}},null),p,h("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Re(v.value)}},null)]):h("div",{ref:t,class:["v-virtual-scroll",e.class],onScrollPassive:o,onScrollend:u,style:[n.value,e.style]},[h("div",{ref:i,class:"v-virtual-scroll__container",style:{paddingTop:Re(d.value),paddingBottom:Re(v.value)}},[p])])}),{scrollToIndex:l}}});function $l(e,a){const r=_e(!1);let s;function n(o){cancelAnimationFrame(s),r.value=!0,s=requestAnimationFrame(()=>{s=requestAnimationFrame(()=>{r.value=!1})})}async function t(){await new Promise(o=>requestAnimationFrame(o)),await new Promise(o=>requestAnimationFrame(o)),await new Promise(o=>requestAnimationFrame(o)),await new Promise(o=>{if(r.value){const u=de(r,()=>{u(),o()})}else o()})}async function i(o){var l,d;if(o.key==="Tab"&&((l=a.value)==null||l.focus()),!["PageDown","PageUp","Home","End"].includes(o.key))return;const u=(d=e.value)==null?void 0:d.$el;if(!u)return;(o.key==="Home"||o.key==="End")&&u.scrollTo({top:o.key==="Home"?0:u.scrollHeight,behavior:"smooth"}),await t();const c=u.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(o.key==="PageDown"||o.key==="Home"){const v=u.getBoundingClientRect().top;for(const m of c)if(m.getBoundingClientRect().top>=v){m.focus();break}}else{const v=u.getBoundingClientRect().bottom;for(const m of[...c].reverse())if(m.getBoundingClientRect().bottom<=v){m.focus();break}}}return{onListScroll:n,onListKeydown:i}}const wl=ie({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,listProps:{type:Object},menu:Boolean,menuIcon:{type:rt,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...qm({itemChildren:!1})},"Select"),S_=ie({...wl(),...vt(Os({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...En({transition:{component:Xd}})},"VSelect"),xf=ve()({name:"VSelect",props:S_(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,a){let{slots:r}=a;const{t:s}=Ft(),n=ee(),t=ee(),i=ee(),o=xe(e,"menu"),u=E({get:()=>o.value,set:L=>{var U;o.value&&!L&&((U=t.value)!=null&&U.ΨopenChildren)||(o.value=L)}}),{items:c,transformIn:l,transformOut:d}=Xi(e),v=xe(e,"modelValue",[],L=>l(L===null?[null]:lt(L)),L=>{const U=d(L);return e.multiple?U:U[0]??null}),m=E(()=>typeof e.counterValue=="function"?e.counterValue(v.value):typeof e.counterValue=="number"?e.counterValue:v.value.length),p=Vs(),g=E(()=>v.value.map(L=>L.value)),b=_e(!1),f=E(()=>u.value?e.closeText:e.openText);let y="",P;const _=E(()=>e.hideSelected?c.value.filter(L=>!v.value.some(U=>e.valueComparator(U,L))):c.value),O=E(()=>e.hideNoData&&!_.value.length||e.readonly||(p==null?void 0:p.isReadonly.value)),S=E(()=>{var L;return{...e.menuProps,activatorProps:{...((L=e.menuProps)==null?void 0:L.activatorProps)||{},"aria-haspopup":"listbox"}}}),w=ee(),{onListScroll:z,onListKeydown:x}=$l(w,n);function R(L){e.openOnClear&&(u.value=!0)}function M(){O.value||(u.value=!u.value)}function T(L){var j,k;if(!L.key||e.readonly||p!=null&&p.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(L.key)&&L.preventDefault(),["Enter","ArrowDown"," "].includes(L.key)&&(u.value=!0),["Escape","Tab"].includes(L.key)&&(u.value=!1),L.key==="Home"?(j=w.value)==null||j.focus("first"):L.key==="End"&&((k=w.value)==null||k.focus("last"));const U=1e3;function $(V){const D=V.key.length===1,K=!V.ctrlKey&&!V.metaKey&&!V.altKey;return D&&K}if(e.multiple||!$(L))return;const C=performance.now();C-P>U&&(y=""),y+=L.key.toLowerCase(),P=C;const I=c.value.find(V=>V.title.toLowerCase().startsWith(y));if(I!==void 0){v.value=[I];const V=_.value.indexOf(I);wt&&window.requestAnimationFrame(()=>{var D;V>=0&&((D=i.value)==null||D.scrollToIndex(V))})}}function q(L){let U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!L.props.disabled)if(e.multiple){const $=v.value.findIndex(I=>e.valueComparator(I.value,L.value)),C=U??!~$;if(~$){const I=C?[...v.value,L]:[...v.value];I.splice($,1),v.value=I}else C&&(v.value=[...v.value,L])}else{const $=U!==!1;v.value=$?[L]:[],nt(()=>{u.value=!1})}}function B(L){var U;(U=w.value)!=null&&U.$el.contains(L.relatedTarget)||(u.value=!1)}function H(){var L;b.value&&((L=n.value)==null||L.focus())}function Z(L){b.value=!0}function oe(L){if(L==null)v.value=[];else if(hn(n.value,":autofill")||hn(n.value,":-webkit-autofill")){const U=c.value.find($=>$.title===L);U&&q(U)}else n.value&&(n.value.value="")}return de(u,()=>{if(!e.hideSelected&&u.value&&v.value.length){const L=_.value.findIndex(U=>v.value.some($=>e.valueComparator($.value,U.value)));wt&&window.requestAnimationFrame(()=>{var U;L>=0&&((U=i.value)==null||U.scrollToIndex(L))})}}),de(()=>e.items,(L,U)=>{u.value||b.value&&!U.length&&L.length&&(u.value=!0)}),pe(()=>{const L=!!(e.chips||r.chip),U=!!(!e.hideNoData||_.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),$=v.value.length>0,C=sa.filterProps(e),I=$||!b.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return h(sa,se({ref:n},C,{modelValue:v.value.map(j=>j.props.value).join(", "),"onUpdate:modelValue":oe,focused:b.value,"onUpdate:focused":j=>b.value=j,validationValue:v.externalValue,counterValue:m.value,dirty:$,class:["v-select",{"v-select--active-menu":u.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!r.selection},e.class],style:e.style,inputmode:"none",placeholder:I,"onClick:clear":R,"onMousedown:control":M,onBlur:B,onKeydown:T,"aria-label":s(f.value),title:s(f.value)}),{...r,default:()=>h(ye,null,[h(_r,se({ref:t,modelValue:u.value,"onUpdate:modelValue":j=>u.value=j,activator:"parent",contentClass:"v-select__content",disabled:O.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:H},S.value),{default:()=>[U&&h(Zn,se({ref:w,selected:g.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:j=>j.preventDefault(),onKeydown:x,onFocusin:Z,onScrollPassive:z,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},e.listProps),{default:()=>{var j,k,V;return[(j=r["prepend-item"])==null?void 0:j.call(r),!_.value.length&&!e.hideNoData&&(((k=r["no-data"])==null?void 0:k.call(r))??h(It,{title:s(e.noDataText)},null)),h(kl,{ref:i,renderless:!0,items:_.value},{default:D=>{var le;let{item:K,index:Q,itemRef:te}=D;const X=se(K.props,{ref:te,key:Q,onClick:()=>q(K,null)});return((le=r.item)==null?void 0:le.call(r,{item:K,index:Q,props:X}))??h(It,se(X,{role:"option"}),{prepend:J=>{let{isSelected:re}=J;return h(ye,null,[e.multiple&&!e.hideSelected?h(_n,{key:K.value,modelValue:re,ripple:!1,tabindex:"-1"},null):void 0,K.props.prependAvatar&&h(yn,{image:K.props.prependAvatar},null),K.props.prependIcon&&h(Be,{icon:K.props.prependIcon},null)])}})}}),(V=r["append-item"])==null?void 0:V.call(r)]}})]}),v.value.map((j,k)=>{function V(te){te.stopPropagation(),te.preventDefault(),q(j,!1)}const D={"onClick:close":V,onKeydown(te){te.key!=="Enter"&&te.key!==" "||(te.preventDefault(),te.stopPropagation(),V(te))},onMousedown(te){te.preventDefault(),te.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},K=L?!!r.chip:!!r.selection,Q=K?Yi(L?r.chip({item:j,index:k,props:D}):r.selection({item:j,index:k})):void 0;if(!(K&&!Q))return h("div",{key:j.value,class:"v-select__selection"},[L?r.chip?h(ot,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:j.title}}},{default:()=>[Q]}):h(js,se({key:"chip",closable:e.closableChips,size:"small",text:j.title,disabled:j.props.disabled},D),null):Q??h("span",{class:"v-select__selection-text"},[j.title,e.multiple&&k!!(e.value.layout.items||e.value.layout.getItems)),i=async()=>{s.value=!0,r.value=await a.getItems(e.value,n.value),s.value=!1};return de(()=>e.value.itemsCacheKey,(u,c)=>{u!==c&&i()},{immediate:!0}),de(n,()=>{i()}),{hasItems:t,items:r,loading:s,search:n,prepareSelectedItem:(u,c)=>{let l=u;if(u===c)try{l=a.prepareSelectItem(e.value,u),l.value===void 0&&(l.value=c)}catch{l={value:c}}return l}}}const If=yt({props:{icon:{type:String,required:!0}},setup(e){const a=E(()=>e.icon.startsWith("http://")||e.icon.startsWith("https://")),r=E(()=>e.icon.startsWith("a.value?ze("img",{src:e.icon,style:"height:100%;width:100%;"}):r.value?ze("div",{innerHTML:e.icon.replace("e.icon)}}),P_={__name:"select-item",props:{multiple:{type:Boolean,default:!1},itemProps:{type:Object,required:!0},item:{type:Object,required:!0}},setup(e){return(a,r)=>(ae(),he(Y(It),Oa(Ea(e.itemProps)),Gi({_:2},[e.item.icon||e.multiple?{name:"prepend",fn:ne(({isSelected:s})=>[e.multiple?(ae(),he(Y(_n),{key:e.item.key,ripple:!1,tabindex:"-1","model-value":s},null,8,["model-value"])):De("",!0),e.item.icon?(ae(),he(If,{key:1,icon:e.item.icon},null,8,["icon"])):De("",!0)]),key:"0"}:void 0]),1040))}},C_={class:"v-select__selection-text"},V_={key:1,class:"v-select__selection-comma"},O_={__name:"select-selection",props:{multiple:{type:Boolean,default:!1},last:{type:Boolean,default:!1},item:{type:Object,required:!0}},setup(e){return(a,r)=>(ae(),Fe("span",C_,[e.item.icon?(ae(),he(If,{key:0,icon:e.item.icon},null,8,["icon"])):De("",!0),Ke(" "+xt(e.item.title??e.item.key??e.item.value)+" ",1),e.multiple&&!e.last?(ae(),Fe("span",V_,",")):De("",!0)]))}};function jf(e,a){const r=E(()=>e.value.layout),{inputProps:s,options:n,skeleton:t,localData:i,compSlots:o}=ut(e,a,{layoutPropsMap:["multiple"],bindData:!1}),u=Sr(e,a),c=E(()=>{const d={...s.value};return n.value.readOnly&&(d.menuProps={modelValue:!1}),d.clearable=d.clearable??!t.value.required,d.valueComparator=(v,m)=>{const p=typeof v=="object"?a.prepareSelectItem(e.value,v).key:v,g=typeof m=="object"?a.prepareSelectItem(e.value,m).key:m;return p===g},d["onUpdate:modelValue"]=v=>{if(Array.isArray(v)&&Array.isArray(e.value.data))for(let p=0;pa.blur(e.value),d}),l=E(()=>{const d={...o.value};return d.item||(d.item=v=>ze(P_,{multiple:r.value.multiple,itemProps:v.props,item:v.item.raw})),d.selection||(d.selection=v=>ze(O_,{multiple:r.value.multiple,last:r.value.multiple&&v.index===e.value.data.length-1,item:u.prepareSelectedItem(v.item.raw,v.item.value)})),d});return{localData:i,inputProps:s,selectProps:c,compSlots:o,selectSlots:l,getItems:u}}const E_=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfSelect");const{getItems:a,selectProps:r,selectSlots:s,localData:n}=jf(ce(e,"modelValue"),e.statefulLayout),t=E(()=>{const i={...r.value};return i.loading=a.loading.value,i.items=a.items.value,i.modelValue=n.value,i});return()=>ze(xf,t.value,s.value)}}),x_=(e,a,r)=>e==null||a==null?-1:e.toString().toLocaleLowerCase().indexOf(a.toString().toLocaleLowerCase()),Af=ie({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function I_(e,a,r){var o;const s=[],n=(r==null?void 0:r.default)??x_,t=r!=null&&r.filterKeys?lt(r.filterKeys):!1,i=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(e!=null&&e.length))return s;e:for(let u=0;u0)&&!(r!=null&&r.noFilter)){if(typeof c=="object"){const b=t||Object.keys(l);for(const f of b){const y=ii(l,f),P=(o=r==null?void 0:r.customKeyFilter)==null?void 0:o[f];if(m=P?P(y,a,c):n(y,a,c),m!==-1&&m!==!1)P?d[f]=m:v[f]=m;else if((r==null?void 0:r.filterMode)==="every")continue e}}else m=n(c,a,c),m!==-1&&m!==!1&&(v.title=m);const p=Object.keys(v).length,g=Object.keys(d).length;if(!p&&!g||(r==null?void 0:r.filterMode)==="union"&&g!==i&&!p||(r==null?void 0:r.filterMode)==="intersection"&&(g!==i||!p))continue}s.push({index:u,matches:{...v,...d}})}return s}function Tf(e,a,r,s){const n=ee([]),t=ee(new Map),i=E(()=>Y(a));ra(()=>{const u=typeof r=="function"?r():Y(r),c=typeof u!="string"&&typeof u!="number"?"":String(u),l=I_(i.value,c,{customKeyFilter:{...e.customKeyFilter,...Y(s==null?void 0:s.customKeyFilter)},default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),d=Y(a),v=[],m=new Map;l.forEach(p=>{let{index:g,matches:b}=p;const f=d[g];v.push(f),m.set(f.value,b)}),n.value=v,t.value=m});function o(u){return t.value.get(u.value)}return{filteredItems:n,filteredMatches:t,getMatches:o}}function j_(e,a,r){if(a==null)return e;if(Array.isArray(a))throw new Error("Multiple matches is not implemented");return typeof a=="number"&&~a?h(ye,null,[h("span",{class:"v-autocomplete__unmask"},[e.substr(0,a)]),h("span",{class:"v-autocomplete__mask"},[e.substr(a,r)]),h("span",{class:"v-autocomplete__unmask"},[e.substr(a+r)])]):e}const A_=ie({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:Boolean,search:String,...Af({filterKeys:["title"]}),...wl(),...vt(Os({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...En({transition:!1})},"VAutocomplete"),T_=ve()({name:"VAutocomplete",props:A_(),emits:{"update:focused":e=>!0,"update:search":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,a){let{slots:r}=a;const{t:s}=Ft(),n=ee(),t=_e(!1),i=_e(!0),o=_e(!1),u=ee(),c=ee(),l=xe(e,"menu"),d=E({get:()=>l.value,set:X=>{var le;l.value&&!X&&((le=u.value)!=null&&le.ΨopenChildren)||(l.value=X)}}),v=_e(-1),m=E(()=>{var X;return(X=n.value)==null?void 0:X.color}),p=E(()=>d.value?e.closeText:e.openText),{items:g,transformIn:b,transformOut:f}=Xi(e),{textColorClasses:y,textColorStyles:P}=ja(m),_=xe(e,"search",""),O=xe(e,"modelValue",[],X=>b(X===null?[null]:lt(X)),X=>{const le=f(X);return e.multiple?le:le[0]??null}),S=E(()=>typeof e.counterValue=="function"?e.counterValue(O.value):typeof e.counterValue=="number"?e.counterValue:O.value.length),w=Vs(),{filteredItems:z,getMatches:x}=Tf(e,g,()=>i.value?"":_.value),R=E(()=>e.hideSelected?z.value.filter(X=>!O.value.some(le=>le.value===X.value)):z.value),M=E(()=>!!(e.chips||r.chip)),T=E(()=>M.value||!!r.selection),q=E(()=>O.value.map(X=>X.props.value)),B=E(()=>{var le;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&_.value===((le=R.value[0])==null?void 0:le.title))&&R.value.length>0&&!i.value&&!o.value}),H=E(()=>e.hideNoData&&!R.value.length||e.readonly||(w==null?void 0:w.isReadonly.value)),Z=ee(),{onListScroll:oe,onListKeydown:L}=$l(Z,n);function U(X){e.openOnClear&&(d.value=!0),_.value=""}function $(){H.value||(d.value=!0)}function C(X){H.value||(t.value&&(X.preventDefault(),X.stopPropagation()),d.value=!d.value)}function I(X){var re,ke,me;if(e.readonly||w!=null&&w.isReadonly.value)return;const le=n.value.selectionStart,J=O.value.length;if((v.value>-1||["Enter","ArrowDown","ArrowUp"].includes(X.key))&&X.preventDefault(),["Enter","ArrowDown"].includes(X.key)&&(d.value=!0),["Escape"].includes(X.key)&&(d.value=!1),B.value&&["Enter","Tab"].includes(X.key)&&!O.value.some(fe=>{let{value:ue}=fe;return ue===R.value[0].value})&&te(R.value[0]),X.key==="ArrowDown"&&B.value&&((re=Z.value)==null||re.focus("next")),["Backspace","Delete"].includes(X.key)){if(!e.multiple&&T.value&&O.value.length>0&&!_.value)return te(O.value[0],!1);if(~v.value){const fe=v.value;te(O.value[v.value],!1),v.value=fe>=J-1?J-2:fe}else X.key==="Backspace"&&!_.value&&(v.value=J-1)}if(e.multiple){if(X.key==="ArrowLeft"){if(v.value<0&&le>0)return;const fe=v.value>-1?v.value-1:J-1;O.value[fe]?v.value=fe:(v.value=-1,n.value.setSelectionRange((ke=_.value)==null?void 0:ke.length,(me=_.value)==null?void 0:me.length))}if(X.key==="ArrowRight"){if(v.value<0)return;const fe=v.value+1;O.value[fe]?v.value=fe:(v.value=-1,n.value.setSelectionRange(0,0))}}}function j(X){if(hn(n.value,":autofill")||hn(n.value,":-webkit-autofill")){const le=g.value.find(J=>J.title===X.target.value);le&&te(le)}}function k(){var X;t.value&&(i.value=!0,(X=n.value)==null||X.focus())}function V(X){t.value=!0,setTimeout(()=>{o.value=!0})}function D(X){o.value=!1}function K(X){(X==null||X===""&&!e.multiple&&!T.value)&&(O.value=[])}const Q=_e(!1);function te(X){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!(!X||X.props.disabled))if(e.multiple){const J=O.value.findIndex(ke=>e.valueComparator(ke.value,X.value)),re=le??!~J;if(~J){const ke=re?[...O.value,X]:[...O.value];ke.splice(J,1),O.value=ke}else re&&(O.value=[...O.value,X]);e.clearOnSelect&&(_.value="")}else{const J=le!==!1;O.value=J?[X]:[],_.value=J&&!T.value?X.title:"",nt(()=>{d.value=!1,i.value=!0})}}return de(t,(X,le)=>{var J;X!==le&&(X?(Q.value=!0,_.value=e.multiple||T.value?"":String(((J=O.value.at(-1))==null?void 0:J.props.title)??""),i.value=!0,nt(()=>Q.value=!1)):(!e.multiple&&_.value==null&&(O.value=[]),d.value=!1,O.value.some(re=>{let{title:ke}=re;return ke===_.value})||(_.value=""),v.value=-1))}),de(_,X=>{!t.value||Q.value||(X&&(d.value=!0),i.value=!X)}),de(d,()=>{if(!e.hideSelected&&d.value&&O.value.length){const X=R.value.findIndex(le=>O.value.some(J=>le.value===J.value));wt&&window.requestAnimationFrame(()=>{var le;X>=0&&((le=c.value)==null||le.scrollToIndex(X))})}}),de(()=>e.items,(X,le)=>{d.value||t.value&&!le.length&&X.length&&(d.value=!0)}),pe(()=>{const X=!!(!e.hideNoData||R.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),le=O.value.length>0,J=sa.filterProps(e);return h(sa,se({ref:n},J,{modelValue:_.value,"onUpdate:modelValue":[re=>_.value=re,K],focused:t.value,"onUpdate:focused":re=>t.value=re,validationValue:O.externalValue,counterValue:S.value,dirty:le,onChange:j,class:["v-autocomplete",`v-autocomplete--${e.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":d.value,"v-autocomplete--chips":!!e.chips,"v-autocomplete--selection-slot":!!T.value,"v-autocomplete--selecting-index":v.value>-1},e.class],style:e.style,readonly:e.readonly,placeholder:le?void 0:e.placeholder,"onClick:clear":U,"onMousedown:control":$,onKeydown:I}),{...r,default:()=>h(ye,null,[h(_r,se({ref:u,modelValue:d.value,"onUpdate:modelValue":re=>d.value=re,activator:"parent",contentClass:"v-autocomplete__content",disabled:H.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:k},e.menuProps),{default:()=>[X&&h(Zn,se({ref:Z,selected:q.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:re=>re.preventDefault(),onKeydown:L,onFocusin:V,onFocusout:D,onScrollPassive:oe,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},e.listProps),{default:()=>{var re,ke,me;return[(re=r["prepend-item"])==null?void 0:re.call(r),!R.value.length&&!e.hideNoData&&(((ke=r["no-data"])==null?void 0:ke.call(r))??h(It,{title:s(e.noDataText)},null)),h(kl,{ref:c,renderless:!0,items:R.value},{default:fe=>{var we;let{item:ue,index:Oe,itemRef:Ce}=fe;const Ne=se(ue.props,{ref:Ce,key:Oe,active:B.value&&Oe===0?!0:void 0,onClick:()=>te(ue,null)});return((we=r.item)==null?void 0:we.call(r,{item:ue,index:Oe,props:Ne}))??h(It,se(Ne,{role:"option"}),{prepend:je=>{let{isSelected:Ae}=je;return h(ye,null,[e.multiple&&!e.hideSelected?h(_n,{key:ue.value,modelValue:Ae,ripple:!1,tabindex:"-1"},null):void 0,ue.props.prependAvatar&&h(yn,{image:ue.props.prependAvatar},null),ue.props.prependIcon&&h(Be,{icon:ue.props.prependIcon},null)])},title:()=>{var je,Ae;return i.value?ue.title:j_(ue.title,(je=x(ue))==null?void 0:je.title,((Ae=_.value)==null?void 0:Ae.length)??0)}})}}),(me=r["append-item"])==null?void 0:me.call(r)]}})]}),O.value.map((re,ke)=>{function me(Ce){Ce.stopPropagation(),Ce.preventDefault(),te(re,!1)}const fe={"onClick:close":me,onKeydown(Ce){Ce.key!=="Enter"&&Ce.key!==" "||(Ce.preventDefault(),Ce.stopPropagation(),me(Ce))},onMousedown(Ce){Ce.preventDefault(),Ce.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},ue=M.value?!!r.chip:!!r.selection,Oe=ue?Yi(M.value?r.chip({item:re,index:ke,props:fe}):r.selection({item:re,index:ke})):void 0;if(!(ue&&!Oe))return h("div",{key:re.value,class:["v-autocomplete__selection",ke===v.value&&["v-autocomplete__selection--selected",y.value]],style:ke===v.value?P.value:{}},[M.value?r.chip?h(ot,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:re.title}}},{default:()=>[Oe]}):h(js,se({key:"chip",closable:e.closableChips,size:"small",text:re.title,disabled:re.props.disabled},fe),null):Oe??h("span",{class:"v-autocomplete__selection-text"},[re.title,e.multiple&&ke{const i={...r.value};return i.noFilter=!0,i["onUpdate:search"]=o=>{a.search.value=o},i.items=a.items.value,i.loading=a.loading.value,i.modelValue=n.value,i});return()=>ze(T_,t.value,s.value)}}),D_=ie({...Es({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),R_=ve()({name:"VRadio",props:D_(),setup(e,a){let{slots:r}=a;return pe(()=>{const s=en.filterProps(e);return h(en,se(s,{class:["v-radio",e.class],style:e.style,type:"radio"}),r)}),{}}}),N_=ie({height:{type:[Number,String],default:"auto"},...Aa(),...vt(cl(),["multiple"]),trueIcon:{type:rt,default:"$radioOn"},falseIcon:{type:rt,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),z_=ve()({name:"VRadioGroup",inheritAttrs:!1,props:N_(),emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:r,slots:s}=a;const n=pa(),t=E(()=>e.id||`radio-group-${n}`),i=xe(e,"modelValue");return pe(()=>{const[o,u]=an(r),c=_t.filterProps(e),l=en.filterProps(e),d=s.label?s.label({label:e.label,props:{for:t.value}}):e.label;return h(_t,se({class:["v-radio-group",e.class],style:e.style},o,c,{modelValue:i.value,"onUpdate:modelValue":v=>i.value=v,id:t.value}),{...s,default:v=>{let{id:m,messagesId:p,isDisabled:g,isReadonly:b}=v;return h(ye,null,[d&&h(wr,{id:m.value},{default:()=>[d]}),h(E0,se(l,{id:m.value,"aria-describedby":p.value,defaultsTarget:"VRadio",trueIcon:e.trueIcon,falseIcon:e.falseIcon,type:e.type,disabled:g.value,readonly:b.value,"aria-labelledby":d?m.value:void 0,multiple:!1},u,{modelValue:i.value,"onUpdate:modelValue":f=>i.value=f}),s)])}})}),{}}}),F_={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function L_(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return h("div",{class:["v-skeleton-loader__bone",`v-skeleton-loader__${e}`]},[a])}function nc(e){const[a,r]=e.split("@");return Array.from({length:r}).map(()=>As(a))}function As(e){let a=[];if(!e)return a;const r=F_[e];if(e!==r){if(e.includes(","))return rc(e);if(e.includes("@"))return nc(e);r.includes(",")?a=rc(r):r.includes("@")?a=nc(r):r&&a.push(As(r))}return[L_(e,a)]}function rc(e){return e.replace(/\s/g,"").split(",").map(As)}const q_=ie({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...hr(),...vr(),...Ht()},"VSkeletonLoader"),Mf=ve()({name:"VSkeletonLoader",props:q_(),setup(e,a){let{slots:r}=a;const{backgroundColorClasses:s,backgroundColorStyles:n}=At(ce(e,"color")),{dimensionStyles:t}=yr(e),{elevationClasses:i}=pr(e),{themeClasses:o}=ma(e),{t:u}=Ft(),c=E(()=>As(lt(e.type).join(",")));return pe(()=>{var d;const l=!r.default||e.loading;return h("div",{class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":e.boilerplate},o.value,s.value,i.value],style:[n.value,l?t.value:{}],"aria-busy":e.boilerplate?void 0:l,"aria-live":e.boilerplate?void 0:"polite","aria-label":e.boilerplate?void 0:u(e.loadingText),role:e.boilerplate?void 0:"alert"},[l?c.value:(d=r.default)==null?void 0:d.call(r)])}),{}}}),B_=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfRadioGroup");const a=ce(e,"modelValue"),r=Sr(a,e.statefulLayout),{inputProps:s,compSlots:n,localData:t}=ut(a,e.statefulLayout),i=E(()=>{const u={...s.value};return u.modelValue=t.value,u}),o=E(()=>{const u={...n.value},c=[];if(r.loading.value)c.push(ze(Mf,{type:"chip"}));else for(const l of r.items.value)c.push(ze(R_,{label:l.title,value:l.value}));return u.default=()=>c,u});return()=>ze(z_,i.value,o.value)}}),Df=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0},type:{type:String,required:!0}},setup(e){const a=ce(e,"modelValue"),r=Sr(a,e.statefulLayout),{inputProps:s,compSlots:n,localData:t,layout:i}=ut(a,e.statefulLayout,{bindData:!1}),o=E(()=>{const c={...s.value};return c.class.push("v-radio-group"),c.class.push("vjsf-selection-group"),c}),u=E(()=>{const c={...n.value};return c.default||(c.default=()=>{var d;const l=[ze(wr,{text:o.value.label})];if(r.loading.value)l.push(ze(Mf,{type:"chip"}));else{const v=[];for(const m of r.items.value){let p=!1;i.value.multiple?p=(d=t.value)==null?void 0:d.includes(m.value):p=t.value===m.value,v.push(ze(e.type==="switch"?rf:nf,{label:m.title,hideDetails:!0,key:m.key,modelValue:p,onClick:()=>{let g;i.value.multiple?(g=e.modelValue.data?[...e.modelValue.data]:[],g.includes(m.value)?g=g.filter(b=>b!==m.value):g.push(m.value)):e.modelValue.data===m.value?g=void 0:g=m.value,e.statefulLayout.input(e.modelValue,g)}}))}l.push(ze("div",{class:"v-selection-control-group"},v))}return l}),c});return()=>ze(_t,o.value,u.value)}}),K_=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){return Ue({},"VjsfCheckboxGroup"),()=>ze(Df,{modelValue:e.modelValue,statefulLayout:e.statefulLayout,type:"checkbox"})}}),U_=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){return Ue({},"VjsfSwitchGroup"),()=>ze(Df,{modelValue:e.modelValue,statefulLayout:e.statefulLayout,type:"switch"})}}),H_={__name:"one-of-select",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfOneOfSelect");const a=e,{inputProps:r,localData:s,skeleton:n,children:t}=ut(ce(a,"modelValue"),a.statefulLayout,{bindData:!1}),i=ee(void 0);de(()=>{var c,l;return(l=(c=t.value)==null?void 0:c[0])==null?void 0:l.key},()=>{var c,l;((c=a.modelValue.children)==null?void 0:c.length)===1?typeof a.modelValue.children[0].key=="number"&&(i.value=(l=n.value.childrenTrees)==null?void 0:l[a.modelValue.children[0].key]):i.value=void 0},{immediate:!0});const o=c=>{n.value.childrenTrees&&a.statefulLayout.activateItem(a.modelValue,n.value.childrenTrees.indexOf(c))},u=E(()=>{const c={...r.value};c["onUpdate:modelValue"]=o;const l=[];for(const d of n.value.childrenTrees||[]){const v=a.statefulLayout.compiledLayout.skeletonTrees[d],m=a.statefulLayout.compiledLayout.normalizedLayouts[v.root];(!Xk(m)||!m.if||a.statefulLayout.evalNodeExpression(a.modelValue,m.if,s.value))&&l.push(v)}return c.items=l,c.itemTitle="title",c.itemValue=d=>d.root,c});return(c,l)=>(ae(),he(Y(ya),null,{default:ne(()=>{var d,v,m;return[e.modelValue.skeleton.childrenTrees?(ae(),he(Y(qd),{key:0},{default:ne(()=>[h(Y(xf),se(u.value,{"model-value":i.value}),null,16,["model-value"])]),_:1})):De("",!0),(d=e.modelValue.children)!=null&&d[0]?(ae(!0),Fe(ye,{key:1},ht(Y(rn)((v=e.modelValue.children)==null?void 0:v[0])?(m=e.modelValue.children)==null?void 0:m[0].children:e.modelValue.children,p=>(ae(),he(ga,{key:p.fullKey,"model-value":p,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128)):De("",!0)]}),_:1}))}},W_=["innerHTML"],Ts={__name:"child-subtitle",props:{modelValue:{type:Object,required:!0}},setup(e){const a=E(()=>e.modelValue.options.density==="default"?"mt-1 mb-5":e.modelValue.options.density==="comfortable"?"mb-4":"mb-3");return(r,s)=>Y(rn)(e.modelValue)&&e.modelValue.layout.subtitle?(ae(),Fe("p",{key:0,class:ta(`text-subtitle ${a.value}`),innerHTML:e.modelValue.layout.subtitle},null,10,W_)):De("",!0)}};function _l(e,a=null){const r=Ct(Symbol.for("vuetify:defaults"));if(!r)throw new Error("[vjsf] Could not find defaults instance");return E(()=>{var n;const s=((n=r.value)==null?void 0:n[e])??{};return a?{...s,...a}:s})}const G_={__name:"tabs",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfTabs");const a=_l("VjsfTabs-VSheet",{border:!0}),r=ee(0);return(s,n)=>(ae(),Fe(ye,null,[h(Nn,{node:e.modelValue},null,8,["node"]),h(Y(ia),Oa(Ea(Y(a))),{default:ne(()=>[h(Y(bl),{modelValue:r.value,"onUpdate:modelValue":n[0]||(n[0]=t=>r.value=t),direction:"horizontal"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,(t,i)=>(ae(),he(Y(ir),{key:t.key,value:i,color:t.validated&&(t.error||t.childError)?"error":void 0},{default:ne(()=>[t.validated&&(t.error||t.childError)?(ae(),he(Y(Be),{key:0,color:"error"},{default:ne(()=>n[2]||(n[2]=[Ke(" mdi-alert ")])),_:1})):De("",!0),Ke(" "+xt(t.layout.title??t.layout.label),1)]),_:2},1032,["value","color"]))),128))]),_:1},8,["modelValue"]),h(Y(Sn),{modelValue:r.value,"onUpdate:modelValue":n[1]||(n[1]=t=>r.value=t)},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,(t,i)=>(ae(),he(Y(Pn),{key:t.key,value:i},{default:ne(()=>[h(Y(gr),{fluid:""},{default:ne(()=>{var o,u;return[h(Ts,{"model-value":t},null,8,["model-value"]),h(Y(ya),{dense:((o=e.modelValue.options)==null?void 0:o.density)==="compact"||((u=e.modelValue.options)==null?void 0:u.density)==="comfortable"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(Y(rn)(t)?t.children:[t],c=>(ae(),he(ga,{key:c.fullKey,"model-value":c,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:2},1032,["dense"])]}),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1},16)],64))}},Y_={class:"d-flex flex-row"},X_={__name:"vertical-tabs",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfVerticalTabs");const a=_l("VjsfVerticalTabs-VSheet",{border:!0}),r=ee(0);return(s,n)=>(ae(),Fe(ye,null,[h(Nn,{node:e.modelValue},null,8,["node"]),h(Y(ia),Oa(Ea(Y(a))),{default:ne(()=>[is("div",Y_,[h(Y(bl),{modelValue:r.value,"onUpdate:modelValue":n[0]||(n[0]=t=>r.value=t),direction:"vertical"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,(t,i)=>(ae(),he(Y(ir),{key:t.key,value:i,color:t.validated&&(t.error||t.childError)?"error":void 0},{default:ne(()=>[t.validated&&(t.error||t.childError)?(ae(),he(Y(Be),{key:0,color:"error"},{default:ne(()=>n[2]||(n[2]=[Ke(" mdi-alert ")])),_:1})):De("",!0),Ke(" "+xt(t.layout.title??t.layout.label),1)]),_:2},1032,["value","color"]))),128))]),_:1},8,["modelValue"]),h(Y(Sn),{modelValue:r.value,"onUpdate:modelValue":n[1]||(n[1]=t=>r.value=t),class:"flex-fill"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,(t,i)=>(ae(),he(Y(Pn),{key:t.key,value:i},{default:ne(()=>[h(Y(gr),{fluid:""},{default:ne(()=>{var o,u;return[h(Ts,{"model-value":t},null,8,["model-value"]),h(Y(ya),{dense:((o=e.modelValue.options)==null?void 0:o.density)==="compact"||((u=e.modelValue.options)==null?void 0:u.density)==="comfortable"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(Y(rn)(t)?t.children:[t],c=>(ae(),he(ga,{key:c.fullKey,"model-value":c,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:2},1032,["dense"])]}),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])])]),_:1},16)],64))}};function J_(e,a,r){if(a==null)return e;if(Array.isArray(a))throw new Error("Multiple matches is not implemented");return typeof a=="number"&&~a?h(ye,null,[h("span",{class:"v-combobox__unmask"},[e.substr(0,a)]),h("span",{class:"v-combobox__mask"},[e.substr(a,r)]),h("span",{class:"v-combobox__unmask"},[e.substr(a+r)])]):e}const Q_=ie({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:{type:Boolean,default:!0},delimiters:Array,...Af({filterKeys:["title"]}),...wl({hideNoData:!0,returnObject:!0}),...vt(Os({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...En({transition:!1})},"VCombobox"),Rf=ve()({name:"VCombobox",props:Q_(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:search":e=>!0,"update:menu":e=>!0},setup(e,a){var le;let{emit:r,slots:s}=a;const{t:n}=Ft(),t=ee(),i=_e(!1),o=_e(!0),u=_e(!1),c=ee(),l=ee(),d=xe(e,"menu"),v=E({get:()=>d.value,set:J=>{var re;d.value&&!J&&((re=c.value)!=null&&re.ΨopenChildren)||(d.value=J)}}),m=_e(-1);let p=!1;const g=E(()=>{var J;return(J=t.value)==null?void 0:J.color}),b=E(()=>v.value?e.closeText:e.openText),{items:f,transformIn:y,transformOut:P}=Xi(e),{textColorClasses:_,textColorStyles:O}=ja(g),S=xe(e,"modelValue",[],J=>y(lt(J)),J=>{const re=P(J);return e.multiple?re:re[0]??null}),w=Vs(),z=E(()=>!!(e.chips||s.chip)),x=E(()=>z.value||!!s.selection),R=_e(!e.multiple&&!x.value?((le=S.value[0])==null?void 0:le.title)??"":""),M=E({get:()=>R.value,set:J=>{var re;if(R.value=J??"",!e.multiple&&!x.value&&(S.value=[qn(e,J)]),J&&e.multiple&&((re=e.delimiters)!=null&&re.length)){const ke=J.split(new RegExp(`(?:${e.delimiters.join("|")})+`));ke.length>1&&(ke.forEach(me=>{me=me.trim(),me&&K(qn(e,me))}),R.value="")}J||(m.value=-1),o.value=!J}}),T=E(()=>typeof e.counterValue=="function"?e.counterValue(S.value):typeof e.counterValue=="number"?e.counterValue:e.multiple?S.value.length:M.value.length);de(R,J=>{p?nt(()=>p=!1):i.value&&!v.value&&(v.value=!0),r("update:search",J)}),de(S,J=>{var re;!e.multiple&&!x.value&&(R.value=((re=J[0])==null?void 0:re.title)??"")});const{filteredItems:q,getMatches:B}=Tf(e,f,()=>o.value?"":M.value),H=E(()=>e.hideSelected?q.value.filter(J=>!S.value.some(re=>re.value===J.value)):q.value),Z=E(()=>S.value.map(J=>J.value)),oe=E(()=>{var re;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&M.value===((re=H.value[0])==null?void 0:re.title))&&H.value.length>0&&!o.value&&!u.value}),L=E(()=>e.hideNoData&&!H.value.length||e.readonly||(w==null?void 0:w.isReadonly.value)),U=ee(),{onListScroll:$,onListKeydown:C}=$l(U,t);function I(J){p=!0,e.openOnClear&&(v.value=!0)}function j(){L.value||(v.value=!0)}function k(J){L.value||(i.value&&(J.preventDefault(),J.stopPropagation()),v.value=!v.value)}function V(J){var me;if(Mm(J)||e.readonly||w!=null&&w.isReadonly.value)return;const re=t.value.selectionStart,ke=S.value.length;if((m.value>-1||["Enter","ArrowDown","ArrowUp"].includes(J.key))&&J.preventDefault(),["Enter","ArrowDown"].includes(J.key)&&(v.value=!0),["Escape"].includes(J.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(J.key)&&(oe.value&&["Enter","Tab"].includes(J.key)&&!S.value.some(fe=>{let{value:ue}=fe;return ue===H.value[0].value})&&K(q.value[0]),o.value=!0),J.key==="ArrowDown"&&oe.value&&((me=U.value)==null||me.focus("next")),J.key==="Enter"&&M.value&&(K(qn(e,M.value)),x.value&&(R.value="")),["Backspace","Delete"].includes(J.key)){if(!e.multiple&&x.value&&S.value.length>0&&!M.value)return K(S.value[0],!1);if(~m.value){const fe=m.value;K(S.value[m.value],!1),m.value=fe>=ke-1?ke-2:fe}else J.key==="Backspace"&&!M.value&&(m.value=ke-1)}if(e.multiple){if(J.key==="ArrowLeft"){if(m.value<0&&re>0)return;const fe=m.value>-1?m.value-1:ke-1;S.value[fe]?m.value=fe:(m.value=-1,t.value.setSelectionRange(M.value.length,M.value.length))}if(J.key==="ArrowRight"){if(m.value<0)return;const fe=m.value+1;S.value[fe]?m.value=fe:(m.value=-1,t.value.setSelectionRange(0,0))}}}function D(){var J;i.value&&(o.value=!0,(J=t.value)==null||J.focus())}function K(J){let re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!(!J||J.props.disabled))if(e.multiple){const ke=S.value.findIndex(fe=>e.valueComparator(fe.value,J.value)),me=re??!~ke;if(~ke){const fe=me?[...S.value,J]:[...S.value];fe.splice(ke,1),S.value=fe}else me&&(S.value=[...S.value,J]);e.clearOnSelect&&(M.value="")}else{const ke=re!==!1;S.value=ke?[J]:[],R.value=ke&&!x.value?J.title:"",nt(()=>{v.value=!1,o.value=!0})}}function Q(J){i.value=!0,setTimeout(()=>{u.value=!0})}function te(J){u.value=!1}function X(J){(J==null||J===""&&!e.multiple&&!x.value)&&(S.value=[])}return de(i,(J,re)=>{if(!(J||J===re)&&(m.value=-1,v.value=!1,M.value)){if(e.multiple){K(qn(e,M.value));return}if(!x.value)return;S.value.some(ke=>{let{title:me}=ke;return me===M.value})?R.value="":K(qn(e,M.value))}}),de(v,()=>{if(!e.hideSelected&&v.value&&S.value.length){const J=H.value.findIndex(re=>S.value.some(ke=>e.valueComparator(ke.value,re.value)));wt&&window.requestAnimationFrame(()=>{var re;J>=0&&((re=l.value)==null||re.scrollToIndex(J))})}}),de(()=>e.items,(J,re)=>{v.value||i.value&&!re.length&&J.length&&(v.value=!0)}),pe(()=>{const J=!!(!e.hideNoData||H.value.length||s["prepend-item"]||s["append-item"]||s["no-data"]),re=S.value.length>0,ke=sa.filterProps(e);return h(sa,se({ref:t},ke,{modelValue:M.value,"onUpdate:modelValue":[me=>M.value=me,X],focused:i.value,"onUpdate:focused":me=>i.value=me,validationValue:S.externalValue,counterValue:T.value,dirty:re,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!x.value,"v-combobox--selecting-index":m.value>-1,[`v-combobox--${e.multiple?"multiple":"single"}`]:!0},e.class],style:e.style,readonly:e.readonly,placeholder:re?void 0:e.placeholder,"onClick:clear":I,"onMousedown:control":j,onKeydown:V}),{...s,default:()=>h(ye,null,[h(_r,se({ref:c,modelValue:v.value,"onUpdate:modelValue":me=>v.value=me,activator:"parent",contentClass:"v-combobox__content",disabled:L.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:D},e.menuProps),{default:()=>[J&&h(Zn,se({ref:U,selected:Z.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:me=>me.preventDefault(),onKeydown:C,onFocusin:Q,onFocusout:te,onScrollPassive:$,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},e.listProps),{default:()=>{var me,fe,ue;return[(me=s["prepend-item"])==null?void 0:me.call(s),!H.value.length&&!e.hideNoData&&(((fe=s["no-data"])==null?void 0:fe.call(s))??h(It,{title:n(e.noDataText)},null)),h(kl,{ref:l,renderless:!0,items:H.value},{default:Oe=>{var Ae;let{item:Ce,index:Ne,itemRef:we}=Oe;const je=se(Ce.props,{ref:we,key:Ne,active:oe.value&&Ne===0?!0:void 0,onClick:()=>K(Ce,null)});return((Ae=s.item)==null?void 0:Ae.call(s,{item:Ce,index:Ne,props:je}))??h(It,se(je,{role:"option"}),{prepend:He=>{let{isSelected:Ze}=He;return h(ye,null,[e.multiple&&!e.hideSelected?h(_n,{key:Ce.value,modelValue:Ze,ripple:!1,tabindex:"-1"},null):void 0,Ce.props.prependAvatar&&h(yn,{image:Ce.props.prependAvatar},null),Ce.props.prependIcon&&h(Be,{icon:Ce.props.prependIcon},null)])},title:()=>{var He,Ze;return o.value?Ce.title:J_(Ce.title,(He=B(Ce))==null?void 0:He.title,((Ze=M.value)==null?void 0:Ze.length)??0)}})}}),(ue=s["append-item"])==null?void 0:ue.call(s)]}})]}),S.value.map((me,fe)=>{function ue(we){we.stopPropagation(),we.preventDefault(),K(me,!1)}const Oe={"onClick:close":ue,onKeydown(we){we.key!=="Enter"&&we.key!==" "||(we.preventDefault(),we.stopPropagation(),ue(we))},onMousedown(we){we.preventDefault(),we.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},Ce=z.value?!!s.chip:!!s.selection,Ne=Ce?Yi(z.value?s.chip({item:me,index:fe,props:Oe}):s.selection({item:me,index:fe})):void 0;if(!(Ce&&!Ne))return h("div",{key:me.value,class:["v-combobox__selection",fe===m.value&&["v-combobox__selection--selected",_.value]],style:fe===m.value?O.value:{}},[z.value?s.chip?h(ot,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:me.title}}},{default:()=>[Ne]}):h(js,se({key:"chip",closable:e.closableChips,size:"small",text:me.title,disabled:me.props.disabled},Oe),null):Ne??h("span",{class:"v-combobox__selection-text"},[me.title,e.multiple&&fe{const c={...s.value};return c.returnObject=!1,o.value.readOnly&&(c.menuProps={modelValue:!1}),r.hasItems.value&&(c.items=r.items.value,c.loading=r.loading.value),i.value.multiple&&(c.multiple=!0,c.chips=!0,c.closableChips=!0),c});return()=>ze(Rf,{...u.value,modelValue:t.value},n.value)}}),eS=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfCombobox");const a=ce(e,"modelValue"),r=Sr(a,e.statefulLayout),{inputProps:s,compSlots:n,localData:t,layout:i,options:o}=ut(a,e.statefulLayout,{bindData:!1,layoutPropsMap:["step","min","max"]}),u=E(()=>{const c={...s.value};return c.type="number",c.returnObject=!1,o.value.readOnly&&(c.menuProps={modelValue:!1}),r.hasItems.value&&(c.items=r.items.value,c.loading=r.loading.value),i.value.multiple&&(c.multiple=!0,c.chips=!0,c.closableChips=!0),c["onUpdate:modelValue"]=l=>e.statefulLayout.input(e.modelValue,l&&l.map(Number)),c});return()=>ze(Rf,{...u.value,modelValue:t.value},n.value)}}),lr=Symbol.for("vuetify:v-expansion-panel"),Nf=ie({...qe(),...fl()},"VExpansionPanelText"),zi=ve()({name:"VExpansionPanelText",props:Nf(),setup(e,a){let{slots:r}=a;const s=Ct(lr);if(!s)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:n,onAfterLeave:t}=ml(e,s.isSelected);return pe(()=>h(Bm,{onAfterLeave:t},{default:()=>{var i;return[mt(h("div",{class:["v-expansion-panel-text",e.class],style:e.style},[r.default&&n.value&&h("div",{class:"v-expansion-panel-text__wrapper"},[(i=r.default)==null?void 0:i.call(r)])]),[[xa,s.isSelected.value]])]}})),{}}}),zf=ie({color:String,expandIcon:{type:rt,default:"$expand"},collapseIcon:{type:rt,default:"$collapse"},hideActions:Boolean,focusable:Boolean,static:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...qe()},"VExpansionPanelTitle"),Fi=ve()({name:"VExpansionPanelTitle",directives:{Ripple:mr},props:zf(),setup(e,a){let{slots:r}=a;const s=Ct(lr);if(!s)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:n,backgroundColorStyles:t}=At(e,"color"),i=E(()=>({collapseIcon:e.collapseIcon,disabled:s.disabled.value,expanded:s.isSelected.value,expandIcon:e.expandIcon,readonly:e.readonly})),o=E(()=>s.isSelected.value?e.collapseIcon:e.expandIcon);return pe(()=>{var u;return mt(h("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":s.isSelected.value,"v-expansion-panel-title--focusable":e.focusable,"v-expansion-panel-title--static":e.static},n.value,e.class],style:[t.value,e.style],type:"button",tabindex:s.disabled.value?-1:void 0,disabled:s.disabled.value,"aria-expanded":s.isSelected.value,onClick:e.readonly?void 0:s.toggle},[h("span",{class:"v-expansion-panel-title__overlay"},null),(u=r.default)==null?void 0:u.call(r,i.value),!e.hideActions&&h(ot,{defaults:{VIcon:{icon:o.value}}},{default:()=>{var c;return[h("span",{class:"v-expansion-panel-title__icon"},[((c=r.actions)==null?void 0:c.call(r,i.value))??h(Be,null,null)])]}})]),[[ha("ripple"),e.ripple]])}),{}}}),Ff=ie({title:String,text:String,bgColor:String,...vr(),...us(),...dr(),...Wt(),...zf(),...Nf()},"VExpansionPanel"),tS=ve()({name:"VExpansionPanel",props:Ff(),emits:{"group:selected":e=>!0},setup(e,a){let{slots:r}=a;const s=cs(e,lr),{backgroundColorClasses:n,backgroundColorStyles:t}=At(e,"bgColor"),{elevationClasses:i}=pr(e),{roundedClasses:o}=fr(e),u=E(()=>(s==null?void 0:s.disabled.value)||e.disabled),c=E(()=>s.group.items.value.reduce((v,m,p)=>(s.group.selected.value.includes(m.id)&&v.push(p),v),[])),l=E(()=>{const v=s.group.items.value.findIndex(m=>m.id===s.id);return!s.isSelected.value&&c.value.some(m=>m-v===1)}),d=E(()=>{const v=s.group.items.value.findIndex(m=>m.id===s.id);return!s.isSelected.value&&c.value.some(m=>m-v===-1)});return tn(lr,s),pe(()=>{const v=!!(r.text||e.text),m=!!(r.title||e.title),p=Fi.filterProps(e),g=zi.filterProps(e);return h(e.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":s.isSelected.value,"v-expansion-panel--before-active":l.value,"v-expansion-panel--after-active":d.value,"v-expansion-panel--disabled":u.value},o.value,n.value,e.class],style:[t.value,e.style]},{default:()=>[h("div",{class:["v-expansion-panel__shadow",...i.value]},null),h(ot,{defaults:{VExpansionPanelTitle:{...p},VExpansionPanelText:{...g}}},{default:()=>{var b;return[m&&h(Fi,{key:"title"},{default:()=>[r.title?r.title():e.title]}),v&&h(zi,{key:"text"},{default:()=>[r.text?r.text():e.text]}),(b=r.default)==null?void 0:b.call(r)]}})]})}),{groupItem:s}}}),aS=["default","accordion","inset","popout"],nS=ie({flat:Boolean,...ds(),...dc(Ff(),["bgColor","collapseIcon","color","eager","elevation","expandIcon","focusable","hideActions","readonly","ripple","rounded","tile","static"]),...Ht(),...qe(),...Wt(),variant:{type:String,default:"default",validator:e=>aS.includes(e)}},"VExpansionPanels"),rS=ve()({name:"VExpansionPanels",props:nS(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const{next:s,prev:n}=cr(e,lr),{themeClasses:t}=ma(e),i=E(()=>e.variant&&`v-expansion-panels--variant-${e.variant}`);return Vn({VExpansionPanel:{bgColor:ce(e,"bgColor"),collapseIcon:ce(e,"collapseIcon"),color:ce(e,"color"),eager:ce(e,"eager"),elevation:ce(e,"elevation"),expandIcon:ce(e,"expandIcon"),focusable:ce(e,"focusable"),hideActions:ce(e,"hideActions"),readonly:ce(e,"readonly"),ripple:ce(e,"ripple"),rounded:ce(e,"rounded"),static:ce(e,"static")}}),pe(()=>h(e.tag,{class:["v-expansion-panels",{"v-expansion-panels--flat":e.flat,"v-expansion-panels--tile":e.tile},t.value,i.value,e.class],style:e.style},{default:()=>{var o;return[(o=r.default)==null?void 0:o.call(r,{prev:n,next:s})]}})),{next:s,prev:n}}}),sS={__name:"expansion-panels",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfExpansionPanels");const a=e,{compProps:r}=ut(ce(a,"modelValue"),a.statefulLayout);return(s,n)=>(ae(),Fe(ye,null,[h(Nn,{node:e.modelValue},null,8,["node"]),h(Y(rS),Oa(Ea(Y(r))),{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,(t,i)=>(ae(),he(Y(tS),{key:t.key,value:i},{default:ne(()=>[h(Y(Fi),null,{default:ne(()=>[t.validated&&(t.error||t.childError)?(ae(),he(Y(Be),{key:0,color:"error",class:"mr-2"},{default:ne(()=>n[0]||(n[0]=[Ke(" mdi-alert ")])),_:1})):De("",!0),Ke(" "+xt(t.layout.title??t.layout.label),1)]),_:2},1024),h(Y(zi),null,{default:ne(()=>[h(Y(gr),{fluid:""},{default:ne(()=>{var o,u;return[h(Ts,{"model-value":t},null,8,["model-value"]),h(Y(ya),{dense:((o=e.modelValue.options)==null?void 0:o.density)==="compact"||((u=e.modelValue.options)==null?void 0:u.density)==="comfortable"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(Y(rn)(t)?t.children:[t],c=>(ae(),he(ga,{key:c.fullKey,"model-value":c,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:2},1032,["dense"])]}),_:2},1024)]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1},16)],64))}},Sl=Symbol.for("vuetify:v-stepper"),Lf=ie({color:String,disabled:{type:[Boolean,String],default:!1},prevText:{type:String,default:"$vuetify.stepper.prev"},nextText:{type:String,default:"$vuetify.stepper.next"}},"VStepperActions"),qf=ve()({name:"VStepperActions",props:Lf(),emits:{"click:prev":()=>!0,"click:next":()=>!0},setup(e,a){let{emit:r,slots:s}=a;const{t:n}=Ft();function t(){r("click:prev")}function i(){r("click:next")}return pe(()=>{const o={onClick:t},u={onClick:i};return h("div",{class:"v-stepper-actions"},[h(ot,{defaults:{VBtn:{disabled:["prev",!0].includes(e.disabled),text:n(e.prevText),variant:"text"}}},{default:()=>{var c;return[((c=s.prev)==null?void 0:c.call(s,{props:o}))??h(Le,o,null)]}}),h(ot,{defaults:{VBtn:{color:e.color,disabled:["next",!0].includes(e.disabled),text:n(e.nextText),variant:"tonal"}}},{default:()=>{var c;return[((c=s.next)==null?void 0:c.call(s,{props:u}))??h(Le,u,null)]}})])}),{}}}),Bf=Ic("v-stepper-header"),iS=ie({color:String,title:String,subtitle:String,complete:Boolean,completeIcon:{type:String,default:"$complete"},editable:Boolean,editIcon:{type:String,default:"$edit"},error:Boolean,errorIcon:{type:String,default:"$error"},icon:String,ripple:{type:[Boolean,Object],default:!0},rules:{type:Array,default:()=>[]}},"StepperItem"),oS=ie({...iS(),...us()},"VStepperItem"),Kf=ve()({name:"VStepperItem",directives:{Ripple:mr},props:oS(),emits:{"group:selected":e=>!0},setup(e,a){let{slots:r}=a;const s=cs(e,Sl,!0),n=E(()=>(s==null?void 0:s.value.value)??e.value),t=E(()=>e.rules.every(v=>v()===!0)),i=E(()=>!e.disabled&&e.editable),o=E(()=>!e.disabled&&e.editable),u=E(()=>e.error||!t.value),c=E(()=>e.complete||e.rules.length>0&&t.value),l=E(()=>u.value?e.errorIcon:c.value?e.completeIcon:s.isSelected.value&&e.editable?e.editIcon:e.icon),d=E(()=>({canEdit:o.value,hasError:u.value,hasCompleted:c.value,title:e.title,subtitle:e.subtitle,step:n.value,value:e.value}));return pe(()=>{var b,f,y;const v=(!s||s.isSelected.value||c.value||o.value)&&!u.value&&!e.disabled,m=!!(e.title!=null||r.title),p=!!(e.subtitle!=null||r.subtitle);function g(){s==null||s.toggle()}return mt(h("button",{class:["v-stepper-item",{"v-stepper-item--complete":c.value,"v-stepper-item--disabled":e.disabled,"v-stepper-item--error":u.value},s==null?void 0:s.selectedClass.value],disabled:!e.editable,onClick:g},[i.value&&Mc(!0,"v-stepper-item"),h(yn,{key:"stepper-avatar",class:"v-stepper-item__avatar",color:v?e.color:void 0,size:24},{default:()=>{var P;return[((P=r.icon)==null?void 0:P.call(r,d.value))??(l.value?h(Be,{icon:l.value},null):n.value)]}}),h("div",{class:"v-stepper-item__content"},[m&&h("div",{key:"title",class:"v-stepper-item__title"},[((b=r.title)==null?void 0:b.call(r,d.value))??e.title]),p&&h("div",{key:"subtitle",class:"v-stepper-item__subtitle"},[((f=r.subtitle)==null?void 0:f.call(r,d.value))??e.subtitle]),(y=r.default)==null?void 0:y.call(r,d.value)])]),[[ha("ripple"),e.ripple&&e.editable,null]])}),{}}}),lS=ie({...vt(hl(),["continuous","nextIcon","prevIcon","showArrows","touch","mandatory"])},"VStepperWindow"),Uf=ve()({name:"VStepperWindow",props:lS(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const s=Ct(Sl,null),n=xe(e,"modelValue"),t=E({get(){var i;return n.value!=null||!s?n.value:(i=s.items.value.find(o=>s.selected.value.includes(o.id)))==null?void 0:i.value},set(i){n.value=i}});return pe(()=>{const i=Sn.filterProps(e);return h(Sn,se({_as:"VStepperWindow"},i,{modelValue:t.value,"onUpdate:modelValue":o=>t.value=o,class:["v-stepper-window",e.class],style:e.style,mandatory:!1,touch:!1}),r)}),{}}}),uS=ie({...yl()},"VStepperWindowItem"),Hf=ve()({name:"VStepperWindowItem",props:uS(),setup(e,a){let{slots:r}=a;return pe(()=>{const s=Pn.filterProps(e);return h(Pn,se({_as:"VStepperWindowItem"},s,{class:["v-stepper-window-item",e.class],style:e.style}),r)}),{}}}),cS=ie({altLabels:Boolean,bgColor:String,completeIcon:String,editIcon:String,editable:Boolean,errorIcon:String,hideActions:Boolean,items:{type:Array,default:()=>[]},itemTitle:{type:String,default:"title"},itemValue:{type:String,default:"value"},nonLinear:Boolean,flat:Boolean,...hc()},"Stepper"),dS=ie({...cS(),...ds({mandatory:"force",selectedClass:"v-stepper-item--selected"}),...Is(),...fc(Lf(),["prevText","nextText"])},"VStepper"),fS=ve()({name:"VStepper",props:dS(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:r}=a;const{items:s,next:n,prev:t,selected:i}=cr(e,Sl),{displayClasses:o,mobile:u}=ls(e),{completeIcon:c,editIcon:l,errorIcon:d,color:v,editable:m,prevText:p,nextText:g}=Dm(e),b=E(()=>e.items.map((P,_)=>{const O=ii(P,e.itemTitle,P),S=ii(P,e.itemValue,_+1);return{title:O,value:S,raw:P}})),f=E(()=>s.value.findIndex(P=>i.value.includes(P.id))),y=E(()=>e.disabled?e.disabled:f.value===0?"prev":f.value===s.value.length-1?"next":!1);return Vn({VStepperItem:{editable:m,errorIcon:d,completeIcon:c,editIcon:l,prevText:p,nextText:g},VStepperActions:{color:v,disabled:y,prevText:p,nextText:g}}),pe(()=>{const P=ia.filterProps(e),_=!!(r.header||e.items.length),O=e.items.length>0,S=!e.hideActions&&!!(O||r.actions);return h(ia,se(P,{color:e.bgColor,class:["v-stepper",{"v-stepper--alt-labels":e.altLabels,"v-stepper--flat":e.flat,"v-stepper--non-linear":e.nonLinear,"v-stepper--mobile":u.value},o.value,e.class],style:e.style}),{default:()=>{var w,z;return[_&&h(Bf,{key:"stepper-header"},{default:()=>[b.value.map((x,R)=>{let{raw:M,...T}=x;return h(ye,null,[!!R&&h(Ji,null,null),h(Kf,T,{default:r[`header-item.${T.value}`]??r.header,icon:r.icon,title:r.title,subtitle:r.subtitle})])})]}),O&&h(Uf,{key:"stepper-window"},{default:()=>[b.value.map(x=>h(Hf,{value:x.value},{default:()=>{var R,M;return((R=r[`item.${x.value}`])==null?void 0:R.call(r,x))??((M=r.item)==null?void 0:M.call(r,x))}}))]}),(w=r.default)==null?void 0:w.call(r,{prev:t,next:n}),S&&(((z=r.actions)==null?void 0:z.call(r,{next:n,prev:t}))??h(qf,{key:"stepper-actions","onClick:prev":t,"onClick:next":n},r))]}})}),{prev:t,next:n}}}),mS={__name:"stepper",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfStepper");const a=e,r=ee(0),s=E(()=>{const t=a.modelValue.children.findIndex(i=>i.validated&&!!(i.error||i.childError));return t===-1?a.modelValue.children.length:t}),n=()=>{const t=a.modelValue.children[r.value];a.statefulLayout.validateNodeRecurse(t),t.error||t.childError||r.value++};return(t,i)=>(ae(),Fe(ye,null,[h(Nn,{node:e.modelValue},null,8,["node"]),h(Y(fS),{modelValue:r.value,"onUpdate:modelValue":i[1]||(i[1]=o=>r.value=o)},{default:ne(()=>[h(Y(Bf),null,{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,(o,u)=>(ae(),Fe(ye,{key:o.key},[h(Y(Kf),{value:u,title:o.layout.title??o.layout.label,error:o.validated&&!!(o.error||o.childError),complete:o.validated&&!(o.error||o.childError),editable:u<=s.value},null,8,["value","title","error","complete","editable"]),h(Y(Ji))],64))),128))]),_:1}),h(Y(Uf),null,{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,o=>(ae(),he(Y(Hf),{key:o.key},{default:ne(()=>[h(Y(gr),{fluid:"",class:"pa-0"},{default:ne(()=>{var u,c;return[h(Ts,{"model-value":o},null,8,["model-value"]),h(Y(ya),{dense:((u=e.modelValue.options)==null?void 0:u.density)==="compact"||((c=e.modelValue.options)==null?void 0:c.density)==="comfortable"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(Y(rn)(o)?o.children:[o],l=>(ae(),he(ga,{key:l.fullKey,"model-value":l,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:2},1032,["dense"])]}),_:2},1024)]),_:2},1024))),128))]),_:1}),h(Y(qf),null,{prev:ne(()=>[r.value>0?(ae(),he(Y(Le),{key:0,variant:"text",onClick:i[0]||(i[0]=o=>r.value--)},{default:ne(()=>i[2]||(i[2]=[Ke(" Back ")])),_:1})):De("",!0)]),next:ne(()=>[h(Y(Dc)),r.valuei[3]||(i[3]=[Ke(" Next ")])),_:1})):De("",!0)]),_:1})]),_:1},8,["modelValue"])],64))}},vS=ie({...qe(),...b0()},"VForm"),pS=ve()({name:"VForm",props:vS(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,a){let{slots:r,emit:s}=a;const n=k0(e),t=ee();function i(u){u.preventDefault(),n.reset()}function o(u){const c=u,l=n.validate();c.then=l.then.bind(l),c.catch=l.catch.bind(l),c.finally=l.finally.bind(l),s("submit",c),c.defaultPrevented||l.then(d=>{var m;let{valid:v}=d;v&&((m=t.value)==null||m.submit())}),c.preventDefault()}return pe(()=>{var u;return h("form",{ref:t,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:i,onSubmit:o},[(u=r.default)==null?void 0:u.call(r,n)])}),ba(n,t)}});function sc(e,a,r){return a===r||a===-1||r===-1?e:!Array.isArray(e)&&typeof e=="object"?Wf(e,a,r):Pl(e,a,r)}function Pl(e,a,r){if(a===r||a===-1||r===-1)return e;if(!Array.isArray(e)&&typeof e=="object")return Wf(e,a,r);const s=[...e],n=s[a];return s.splice(a,1),s.splice(r,0,n),s}function Wf(e,a,r){if(a===r||a===-1||r===-1)return e;const s=Pl(Object.keys(e),a,r),n={};for(const t of s)n[t]=e[t];return console.log(n),n}function hS(e,a){const r=E(()=>!(!("draggable"in document.createElement("div"))||window.matchMedia("(pointer: coarse)").matches)),s=_e(e),n=ee(-1),t=ee(-1),i=ee(-1);return n.value=1,{activeDnd:r,sortableArray:s,hovered:n,draggable:t,dragging:i,itemBind:c=>({onMouseenter:()=>{n.value=c},onMouseleave:()=>{n.value=-1},onDragstart:()=>{i.value=c},onDragover:()=>{s.value=Pl(s.value,i.value,c),i.value=c},onDragend:()=>{n.value=c,i.value=-1,a()}}),handleBind:c=>({onMouseover(){t.value=c},onMouseout(){t.value=-1}})}}const yS={class:"vjsf-list-item-actions-wrapper"},gS={__name:"list",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfList");const a=_l("VjsfList-VSheet",{border:!0}),r=lc(),s=e,n=E(()=>s.modelValue.options),t=E(()=>s.modelValue.layout),i=E(()=>s.modelValue.children),{activeDnd:o,sortableArray:u,draggable:c,hovered:l,dragging:d,itemBind:v,handleBind:m}=hS(s.modelValue.children,()=>{const x=t.value.indexed?u.value.reduce((R,M)=>(R[M.key]=M.data,R),{}):u.value.map(R=>R.data);s.statefulLayout.input(s.modelValue,x)});de(i,x=>{u.value=x});const p=E(()=>s.statefulLayout.activatedItems[s.modelValue.fullKey]),g=ee(-1),b=E(()=>t.value.listActions.includes("edit")&&t.value.listEditMode==="inline-single"&&p.value!==void 0?p.value:d.value!==-1?-1:g.value!==-1?g.value:l.value),f=E(()=>n.value.density==="default"?"comfortable":n.value.density),y=()=>{const x=(s.modelValue.data??[]).concat([void 0]);s.statefulLayout.input(s.modelValue,x),t.value.listEditMode==="inline-single"&&s.statefulLayout.activateItem(s.modelValue,x.length-1)},P=ee(""),_=ee(null),O=()=>{var R;if(!P.value||!_.value||!_.value.isValid)return;const x={...s.modelValue.data??{},[P.value]:null};s.statefulLayout.input(s.modelValue,x),t.value.listEditMode==="inline-single"&&s.statefulLayout.activateItem(s.modelValue,Object.keys(x).length-1),P.value="",(R=_.value)==null||R.reset()},S=x=>{if(t.value.indexed){const R=s.modelValue.data,M=Object.keys(s.modelValue.data),T={};for(let q=0;q{const M=[...s.modelValue.data.slice(0,R),Ka(x.data),...s.modelValue.data.slice(R)];s.statefulLayout.input(s.modelValue,M),t.value.listEditMode==="inline-single"&&s.statefulLayout.activateItem(s.modelValue,R+1),g.value=-1},z=E(()=>(x,R)=>p.value===R?r.current.value.colors.primary:x.validated&&(x.error||x.childError)?r.current.value.colors.error:n.value.readOnly?"transparent":b.value===R?r.current.value.colors.primary:"transparent");return(x,R)=>(ae(),he(Y(ia),Oa(Ea(Y(a))),{default:ne(()=>[h(Y(Zn),{class:"py-0"},{default:ne(()=>[e.modelValue.layout.title?(ae(),he(Y(Km),{key:0},{default:ne(()=>[Ke(xt(e.modelValue.layout.title),1)]),_:1})):De("",!0),(ae(!0),Fe(ye,null,ht(Y(u),(M,T)=>(ae(),Fe(ye,{key:i.value.findIndex(q=>q===M)},[h(Y(It),se({ref_for:!0},Y(v)(T),{draggable:Y(c)===T,variant:"flat",style:`border: 1px solid ${z.value(M,T)}`,class:"pa-1 vjsf-list-item"}),Gi({default:ne(()=>[e.modelValue.layout.indexed?(ae(),he(Y(Um),{key:0,class:"pl-4 pt-2"},{default:ne(()=>[Ke(xt(M.key),1)]),_:2},1024)):De("",!0),h(Y(ya),{class:"ma-0"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(Y(rn)(M)?M.children:[M],q=>(ae(),he(ga,{key:q.fullKey,"model-value":q,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:2},1024)]),_:2},[!e.modelValue.options.readOnly&&e.modelValue.layout.listActions.length?{name:"append",fn:ne(()=>[is("div",yS,[b.value!==T?(ae(),he(Y(Nr),{key:0},{default:ne(()=>[h(Y(Le),{style:{visibility:"hidden"},variant:"text",density:f.value,icon:"mdi-pencil"},null,8,["density"])]),_:1})):(ae(),Fe(ye,{key:1},[e.modelValue.layout.listActions.includes("edit")&&e.modelValue.layout.listEditMode==="inline-single"?(ae(),he(Y(Nr),{key:0},{default:ne(()=>[p.value!==T?(ae(),he(Y(Le),{key:0,title:e.modelValue.messages.edit,icon:"mdi-pencil",variant:"text",color:"primary",density:f.value,onClick:q=>e.statefulLayout.activateItem(e.modelValue,T)},null,8,["title","density","onClick"])):(ae(),he(Y(Le),{key:1,title:e.modelValue.messages.close,icon:"mdi-close",variant:"flat",color:"primary",density:f.value,onClick:R[0]||(R[0]=q=>e.statefulLayout.deactivateItem(e.modelValue))},null,8,["title","density"]))]),_:2},1024)):De("",!0),p.value===void 0&&e.modelValue.layout.listActions.includes("sort")&&Y(o)?(ae(),he(Y(Nr),{key:1},{default:ne(()=>[h(Y(Le),se({title:e.modelValue.messages.sort,icon:"mdi-arrow-up-down",variant:"plain",density:f.value,ref_for:!0},Y(m)(T)),null,16,["title","density"])]),_:2},1024)):De("",!0),p.value===void 0&&(e.modelValue.layout.listActions.includes("delete")||e.modelValue.layout.listActions.includes("duplicate")||e.modelValue.layout.listActions.includes("sort"))?(ae(),he(Y(Nr),{key:2},{default:ne(()=>[h(Y(_r),{location:"bottom end","onUpdate:modelValue":q=>{g.value=q?T:-1}},{activator:ne(({props:q})=>[h(Y(Le),se({ref_for:!0},q,{icon:"mdi-dots-vertical",variant:"plain",slim:"",density:f.value}),null,16,["density"])]),default:ne(()=>[h(Y(Zn),null,{default:ne(()=>[e.modelValue.layout.listActions.includes("delete")?(ae(),he(Y(It),{key:0,"base-color":"warning",onClick:q=>S(T)},{prepend:ne(()=>[h(Y(Be),{icon:"mdi-delete"})]),default:ne(()=>[Ke(" "+xt(e.modelValue.messages.delete),1)]),_:2},1032,["onClick"])):De("",!0),e.modelValue.layout.listActions.includes("duplicate")?(ae(),he(Y(It),{key:1,onClick:q=>w(M,T)},{prepend:ne(()=>[h(Y(Be),{icon:"mdi-content-duplicate"})]),default:ne(()=>[Ke(" "+xt(e.modelValue.messages.duplicate),1)]),_:2},1032,["onClick"])):De("",!0),e.modelValue.layout.listActions.includes("sort")?(ae(),he(Y(It),{key:2,onClick:q=>e.statefulLayout.input(e.modelValue,Y(sc)(e.modelValue.data,T,T-1))},{prepend:ne(()=>[h(Y(Be),{icon:"mdi-arrow-up"})]),default:ne(()=>[Ke(" "+xt(e.modelValue.messages.up),1)]),_:2},1032,["onClick"])):De("",!0),e.modelValue.layout.listActions.includes("sort")?(ae(),he(Y(It),{key:3,onClick:q=>e.statefulLayout.input(e.modelValue,Y(sc)(e.modelValue.data,T,T+1))},{prepend:ne(()=>[h(Y(Be),{icon:"mdi-arrow-down"})]),default:ne(()=>[Ke(" "+xt(e.modelValue.messages.down),1)]),_:2},1032,["onClick"])):De("",!0)]),_:2},1024)]),_:2},1032,["onUpdate:modelValue"])]),_:2},1024)):De("",!0)],64))])]),key:"0"}:void 0]),1040,["draggable","style"]),T[e.modelValue.layout.indexed?(ae(),he(Y(pS),{key:0,ref_key:"newKeyForm",ref:_,style:{"max-width":"250px"},onSubmit:R[2]||(R[2]=Rm(()=>{},["prevent"]))},{default:ne(()=>[h(Y(sa),{modelValue:P.value,"onUpdate:modelValue":R[1]||(R[1]=M=>P.value=M),variant:"outlined",placeholder:e.modelValue.messages.addItem,"hide-details":"",rules:[M=>!e.modelValue.children.some(T=>T.key===M),M=>{var T;return!M||!!((T=e.modelValue.layout.indexed)!=null&&T.some(q=>M.match(Y(nl)(q))))}],onKeypress:Nm(O,["enter"])},{append:ne(()=>[h(Y(Be),{color:"primary",size:"large",onClick:O},{default:ne(()=>R[3]||(R[3]=[Ke(" mdi-plus ")])),_:1})]),_:1},8,["modelValue","placeholder","rules"])]),_:1},512)):(ae(),he(Y(Le),{key:1,color:"primary",onClick:y},{default:ne(()=>[Ke(xt(e.modelValue.messages.addItem),1)]),_:1}))]),_:1})):De("",!0)]),_:1})]),_:1},16))}},bS=ie({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},hideInput:Boolean,multiple:Boolean,showSize:{type:[Boolean,Number,String],default:!1,validator:e=>typeof e=="boolean"||[1e3,1024].includes(Number(e))},...Aa({prependIcon:"$file"}),modelValue:{type:[Array,Object],default:e=>e.multiple?[]:null,validator:e=>lt(e).every(a=>a!=null&&typeof a=="object")},...Ps({clearable:!0})},"VFileInput"),kS=ve()({name:"VFileInput",inheritAttrs:!1,props:bS(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{attrs:r,emit:s,slots:n}=a;const{t}=Ft(),i=xe(e,"modelValue",e.modelValue,x=>lt(x),x=>e.multiple||Array.isArray(e.modelValue)?x:x[0]??null),{isFocused:o,focus:u,blur:c}=sn(e),l=E(()=>typeof e.showSize!="boolean"?e.showSize:void 0),d=E(()=>(i.value??[]).reduce((x,R)=>{let{size:M=0}=R;return x+M},0)),v=E(()=>ql(d.value,l.value)),m=E(()=>(i.value??[]).map(x=>{const{name:R="",size:M=0}=x;return e.showSize?`${R} (${ql(M,l.value)})`:R})),p=E(()=>{var R;const x=((R=i.value)==null?void 0:R.length)??0;return e.showSize?t(e.counterSizeString,x,v.value):t(e.counterString,x)}),g=ee(),b=ee(),f=ee(),y=E(()=>o.value||e.active),P=E(()=>["plain","underlined"].includes(e.variant));function _(){var x;f.value!==document.activeElement&&((x=f.value)==null||x.focus()),o.value||u()}function O(x){var R;(R=f.value)==null||R.click()}function S(x){s("mousedown:control",x)}function w(x){var R;(R=f.value)==null||R.click(),s("click:control",x)}function z(x){x.stopPropagation(),_(),nt(()=>{i.value=[],Ui(e["onClick:clear"],x)})}return de(i,x=>{(!Array.isArray(x)||!x.length)&&f.value&&(f.value.value="")}),pe(()=>{const x=!!(n.counter||e.counter),R=!!(x||n.details),[M,T]=an(r),{modelValue:q,...B}=_t.filterProps(e),H=ul(e);return h(_t,se({ref:g,modelValue:i.value,"onUpdate:modelValue":Z=>i.value=Z,class:["v-file-input",{"v-file-input--chips":!!e.chips,"v-file-input--hide":e.hideInput,"v-input--plain-underlined":P.value},e.class],style:e.style,"onClick:prepend":O},M,B,{centerAffix:!P.value,focused:o.value}),{...n,default:Z=>{let{id:oe,isDisabled:L,isDirty:U,isReadonly:$,isValid:C}=Z;return h(Cs,se({ref:b,"prepend-icon":e.prependIcon,onMousedown:S,onClick:w,"onClick:clear":z,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},H,{id:oe.value,active:y.value||U.value,dirty:U.value||e.dirty,disabled:L.value,focused:o.value,error:C.value===!1}),{...n,default:I=>{var V;let{props:{class:j,...k}}=I;return h(ye,null,[h("input",se({ref:f,type:"file",readonly:$.value,disabled:L.value,multiple:e.multiple,name:e.name,onClick:D=>{D.stopPropagation(),$.value&&D.preventDefault(),_()},onChange:D=>{if(!D.target)return;const K=D.target;i.value=[...K.files??[]]},onFocus:_,onBlur:c},k,T),null),h("div",{class:j},[!!((V=i.value)!=null&&V.length)&&!e.hideInput&&(n.selection?n.selection({fileNames:m.value,totalBytes:d.value,totalBytesReadable:v.value}):e.chips?m.value.map(D=>h(js,{key:D,size:"small",text:D},null)):m.value.join(", "))])])}})},details:R?Z=>{var oe,L;return h(ye,null,[(oe=n.details)==null?void 0:oe.call(n,Z),x&&h(ye,null,[h("span",null,null),h(ol,{active:!!((L=i.value)!=null&&L.length),value:p.value,disabled:e.disabled},n.counter)])])}:void 0})}),ba({},g,b,f)}}),$S=yt({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){Ue({},"VjsfFileInput");const{inputProps:a,localData:r,compSlots:s}=ut(ce(e,"modelValue"),e.statefulLayout,{layoutPropsMap:["placeholder","accept","multiple"]}),n=E(()=>{const t={...a.value};return t.multiple&&console.error("File input doesn't support multiple inputs yet"),t["onUpdate:modelValue"]=i=>{e.statefulLayout.input(e.modelValue,i)},t});return()=>ze(kS,{...n.value,modelValue:r.value},s.value)}}),wS={__name:"card",props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(e){return Ue({},"VjsfCard"),(a,r)=>(ae(),he(Y(Fm),{title:e.modelValue.layout.title??""},{default:ne(()=>[h(Y(gr),{fluid:""},{default:ne(()=>{var s,n;return[h(Nn,{node:e.modelValue,"hide-title":""},null,8,["node"]),h(Y(ya),{dense:((s=e.modelValue.options)==null?void 0:s.density)==="compact"||((n=e.modelValue.options)==null?void 0:n.density)==="comfortable"},{default:ne(()=>[(ae(!0),Fe(ye,null,ht(e.modelValue.children,t=>(ae(),he(ga,{key:t.fullKey,"model-value":t,"stateful-layout":e.statefulLayout},null,8,["model-value","stateful-layout"]))),128))]),_:1},8,["dense"])]}),_:1})]),_:1},8,["title"]))}},FS={__name:"vjsf",props:{schema:{type:Object,required:!0},precompiledLayout:{type:Object,default:null},modelValue:{type:null,default:null},options:{type:Object,default:null}},emits:u0,setup(e,{emit:a}){const r={section:f0,"text-field":S0,textarea:V0,checkbox:j0,switch:T0,"number-field":M0,slider:H0,"date-picker":ww,"time-picker":xw,"date-time-picker":Gw,"color-picker":f_,select:E_,autocomplete:M_,"radio-group":B_,"checkbox-group":K_,"switch-group":U_,"one-of-select":H_,tabs:G_,"vertical-tabs":X_,"expansion-panels":sS,stepper:mS,list:gS,combobox:Z_,"number-combobox":eS,"file-input":$S,card:wS},s=e,n=a,{el:t,statefulLayout:i,stateTree:o}=c0(E(()=>s.schema),E(()=>s.modelValue),E(()=>s.options),r,n,v$,E(()=>s.precompiledLayout));return(u,c)=>(ae(),Fe("div",{ref_key:"el",ref:t,class:"vjsf"},[Y(i)&&Y(o)?(ae(),he(W$,{key:0,"model-value":Y(o),"stateful-layout":Y(i)},null,8,["model-value","stateful-layout"])):De("",!0)],512))}};export{ya as V,FS as _,Sd as a,RS as b,Ka as c,qd as d,pS as e,xf as f,rf as g,ia as h,Pu as i,Sn as j,ji as k,Pn as l,sa as m,df as n,Xd as o,ba as p,Gu as q,l$ as r,v$ as s,o0 as t,zS as u,ut as v,NS as w,wr as x,_t as y}; diff --git a/latest/_nuxt/pn7Sr6eo.js b/latest/_nuxt/BEUdCvUQ.js similarity index 99% rename from latest/_nuxt/pn7Sr6eo.js rename to latest/_nuxt/BEUdCvUQ.js index aa31f5bd..88be21f2 100644 --- a/latest/_nuxt/pn7Sr6eo.js +++ b/latest/_nuxt/BEUdCvUQ.js @@ -1 +1 @@ -import{u as S,d as B,r as q,a as P,o as E,b as I,c as T,e as U,f as V,h as A,g as R,p as F,n as H,i as x,j,k as L,l as D,m as M,q as $,w as G,s as K,_ as Q,t as W,v as J,x as _,y as C,z as X,A as Y,B as Z}from"./CvXVYCmv.js";import{u as ee}from"./Bgvi-vPr.js";async function O(t,r=S()){const{path:l,matched:p}=r.resolve(t);if(!p.length||(r._routePreloaded||(r._routePreloaded=new Set),r._routePreloaded.has(l)))return;const e=r._preloadPromises=r._preloadPromises||[];if(e.length>4)return Promise.all(e).then(()=>O(t,r));r._routePreloaded.add(l);const n=p.map(u=>{var a;return(a=u.components)==null?void 0:a.default}).filter(u=>typeof u=="function");for(const u of n){const a=Promise.resolve(u()).catch(()=>{}).finally(()=>e.splice(e.indexOf(a)));e.push(a)}await Promise.all(e)}const te=(...t)=>t.find(r=>r!==void 0);function re(t){const r=t.componentName||"NuxtLink";function l(e,n){if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;if(typeof e=="string")return z(e,t.trailingSlash);const u="path"in e&&e.path!==void 0?e.path:n(e).path;return{...e,name:void 0,path:z(u,t.trailingSlash)}}function p(e){const n=S(),u=$(),a=x(()=>!!e.target&&e.target!=="_self"),d=x(()=>{const h=e.to||e.href||"";return typeof h=="string"&&j(h,{acceptRelative:!0})}),y=R("RouterLink"),m=y&&typeof y!="string"?y.useLink:void 0,g=x(()=>{if(e.external)return!0;const h=e.to||e.href||"";return typeof h=="object"?!1:h===""||d.value}),i=x(()=>{const h=e.to||e.href||"";return g.value?h:l(h,n.resolve)}),c=g.value||m==null?void 0:m({...e,to:i}),b=x(()=>{var h;if(!i.value||d.value)return i.value;if(g.value){const k=typeof i.value=="object"&&"path"in i.value?L(i.value):i.value,w=typeof k=="object"?n.resolve(k).href:k;return l(w,n.resolve)}return typeof i.value=="object"?((h=n.resolve(i.value))==null?void 0:h.href)??null:l(D(u.app.baseURL,i.value),n.resolve)});return{to:i,hasTarget:a,isAbsoluteUrl:d,isExternal:g,href:b,isActive:(c==null?void 0:c.isActive)??x(()=>i.value===n.currentRoute.value.path),isExactActive:(c==null?void 0:c.isExactActive)??x(()=>i.value===n.currentRoute.value.path),route:(c==null?void 0:c.route)??x(()=>n.resolve(i.value)),async navigate(){await M(b.value,{replace:e.replace,external:g.value||a.value})}}}return B({name:r,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:p,setup(e,{slots:n}){const u=S(),{to:a,href:d,navigate:y,isExternal:m,hasTarget:g,isAbsoluteUrl:i}=p(e),c=q(!1),b=q(null),h=o=>{var f;b.value=e.custom?(f=o==null?void 0:o.$el)==null?void 0:f.nextElementSibling:o==null?void 0:o.$el};function k(o){var f,s;return!c.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===o:((f=e.prefetchOn)==null?void 0:f[o])??((s=t.prefetchOn)==null?void 0:s[o]))&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!oe()}async function w(o=P()){if(c.value)return;c.value=!0;const f=typeof a.value=="string"?a.value:m.value?L(a.value):u.resolve(a.value).fullPath;await Promise.all([o.hooks.callHook("link:prefetch",f).catch(()=>{}),!m.value&&!g.value&&O(a.value,u).catch(()=>{})])}if(k("visibility")){const o=P();let f,s=null;E(()=>{const v=ae();I(()=>{f=T(()=>{var N;(N=b==null?void 0:b.value)!=null&&N.tagName&&(s=v.observe(b.value,async()=>{s==null||s(),s=null,await w(o)}))})})}),U(()=>{f&&V(f),s==null||s(),s=null})}return()=>{var s;if(!m.value&&!g.value){const v={ref:h,to:a.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(k("interaction")&&(v.onPointerenter=w.bind(null,void 0),v.onFocus=w.bind(null,void 0)),c.value&&(v.class=e.prefetchedClass||t.prefetchedClass),v.rel=e.rel||void 0),A(R("RouterLink"),v,n.default)}const o=e.target||null,f=te(e.noRel?"":e.rel,t.externalRelAttribute,i.value||g.value?"noopener noreferrer":"")||null;return e.custom?n.default?n.default({href:d.value,navigate:y,prefetch:w,get route(){if(!d.value)return;const v=new URL(d.value,window.location.href);return{path:v.pathname,fullPath:v.pathname,get query(){return F(v.search)},hash:v.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:d.value}},rel:f,target:o,isExternal:m.value||g.value,isActive:!1,isExactActive:!1}):null:A("a",{ref:b,href:d.value||null,rel:f,target:o},(s=n.default)==null?void 0:s.call(n))}}})}const ne=re(H);function z(t,r){const l=r==="append"?G:K;return j(t)&&!t.startsWith("http")?t:l(t,!0)}function ae(){const t=P();if(t._observer)return t._observer;let r=null;const l=new Map,p=(n,u)=>(r||(r=new IntersectionObserver(a=>{for(const d of a){const y=l.get(d.target);(d.isIntersecting||d.intersectionRatio>0)&&y&&y()}})),l.set(n,u),r.observe(n),()=>{l.delete(n),r.unobserve(n),l.size===0&&(r.disconnect(),r=null)});return t._observer={observe:p}}function oe(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}const ie={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},se={class:"max-w-520px text-center z-20"},le=["textContent"],ue=["textContent"],ce={class:"flex items-center justify-center w-full"},fe={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const r=t;return ee({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(l,p)=>{const e=ne;return W(),J("div",ie,[p[0]||(p[0]=_("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),_("div",se,[_("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:C(t.statusCode)},null,8,le),_("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:C(t.description)},null,8,ue),_("div",ce,[X(e,{to:"/",class:"cursor-pointer gradient-border px-4 py-2 sm:px-6 sm:py-3 sm:text-xl text-md"},{default:Y(()=>[Z(C(t.backHome),1)]),_:1})])])])}}},ve=Q(fe,[["__scopeId","data-v-28c488d2"]]);export{ve as default}; +import{u as S,d as B,r as q,a as P,o as E,b as I,c as T,e as U,f as V,h as A,g as R,p as F,n as H,i as x,j,k as L,l as D,m as M,q as $,w as G,s as K,_ as Q,t as W,v as J,x as _,y as C,z as X,A as Y,B as Z}from"./CEVEV-m9.js";import{u as ee}from"./Cy0AbNDn.js";async function O(t,r=S()){const{path:l,matched:p}=r.resolve(t);if(!p.length||(r._routePreloaded||(r._routePreloaded=new Set),r._routePreloaded.has(l)))return;const e=r._preloadPromises=r._preloadPromises||[];if(e.length>4)return Promise.all(e).then(()=>O(t,r));r._routePreloaded.add(l);const n=p.map(u=>{var a;return(a=u.components)==null?void 0:a.default}).filter(u=>typeof u=="function");for(const u of n){const a=Promise.resolve(u()).catch(()=>{}).finally(()=>e.splice(e.indexOf(a)));e.push(a)}await Promise.all(e)}const te=(...t)=>t.find(r=>r!==void 0);function re(t){const r=t.componentName||"NuxtLink";function l(e,n){if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;if(typeof e=="string")return z(e,t.trailingSlash);const u="path"in e&&e.path!==void 0?e.path:n(e).path;return{...e,name:void 0,path:z(u,t.trailingSlash)}}function p(e){const n=S(),u=$(),a=x(()=>!!e.target&&e.target!=="_self"),d=x(()=>{const h=e.to||e.href||"";return typeof h=="string"&&j(h,{acceptRelative:!0})}),y=R("RouterLink"),m=y&&typeof y!="string"?y.useLink:void 0,g=x(()=>{if(e.external)return!0;const h=e.to||e.href||"";return typeof h=="object"?!1:h===""||d.value}),i=x(()=>{const h=e.to||e.href||"";return g.value?h:l(h,n.resolve)}),c=g.value||m==null?void 0:m({...e,to:i}),b=x(()=>{var h;if(!i.value||d.value)return i.value;if(g.value){const k=typeof i.value=="object"&&"path"in i.value?L(i.value):i.value,w=typeof k=="object"?n.resolve(k).href:k;return l(w,n.resolve)}return typeof i.value=="object"?((h=n.resolve(i.value))==null?void 0:h.href)??null:l(D(u.app.baseURL,i.value),n.resolve)});return{to:i,hasTarget:a,isAbsoluteUrl:d,isExternal:g,href:b,isActive:(c==null?void 0:c.isActive)??x(()=>i.value===n.currentRoute.value.path),isExactActive:(c==null?void 0:c.isExactActive)??x(()=>i.value===n.currentRoute.value.path),route:(c==null?void 0:c.route)??x(()=>n.resolve(i.value)),async navigate(){await M(b.value,{replace:e.replace,external:g.value||a.value})}}}return B({name:r,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:p,setup(e,{slots:n}){const u=S(),{to:a,href:d,navigate:y,isExternal:m,hasTarget:g,isAbsoluteUrl:i}=p(e),c=q(!1),b=q(null),h=o=>{var f;b.value=e.custom?(f=o==null?void 0:o.$el)==null?void 0:f.nextElementSibling:o==null?void 0:o.$el};function k(o){var f,s;return!c.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===o:((f=e.prefetchOn)==null?void 0:f[o])??((s=t.prefetchOn)==null?void 0:s[o]))&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!oe()}async function w(o=P()){if(c.value)return;c.value=!0;const f=typeof a.value=="string"?a.value:m.value?L(a.value):u.resolve(a.value).fullPath;await Promise.all([o.hooks.callHook("link:prefetch",f).catch(()=>{}),!m.value&&!g.value&&O(a.value,u).catch(()=>{})])}if(k("visibility")){const o=P();let f,s=null;E(()=>{const v=ae();I(()=>{f=T(()=>{var N;(N=b==null?void 0:b.value)!=null&&N.tagName&&(s=v.observe(b.value,async()=>{s==null||s(),s=null,await w(o)}))})})}),U(()=>{f&&V(f),s==null||s(),s=null})}return()=>{var s;if(!m.value&&!g.value){const v={ref:h,to:a.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(k("interaction")&&(v.onPointerenter=w.bind(null,void 0),v.onFocus=w.bind(null,void 0)),c.value&&(v.class=e.prefetchedClass||t.prefetchedClass),v.rel=e.rel||void 0),A(R("RouterLink"),v,n.default)}const o=e.target||null,f=te(e.noRel?"":e.rel,t.externalRelAttribute,i.value||g.value?"noopener noreferrer":"")||null;return e.custom?n.default?n.default({href:d.value,navigate:y,prefetch:w,get route(){if(!d.value)return;const v=new URL(d.value,window.location.href);return{path:v.pathname,fullPath:v.pathname,get query(){return F(v.search)},hash:v.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:d.value}},rel:f,target:o,isExternal:m.value||g.value,isActive:!1,isExactActive:!1}):null:A("a",{ref:b,href:d.value||null,rel:f,target:o},(s=n.default)==null?void 0:s.call(n))}}})}const ne=re(H);function z(t,r){const l=r==="append"?G:K;return j(t)&&!t.startsWith("http")?t:l(t,!0)}function ae(){const t=P();if(t._observer)return t._observer;let r=null;const l=new Map,p=(n,u)=>(r||(r=new IntersectionObserver(a=>{for(const d of a){const y=l.get(d.target);(d.isIntersecting||d.intersectionRatio>0)&&y&&y()}})),l.set(n,u),r.observe(n),()=>{l.delete(n),r.unobserve(n),l.size===0&&(r.disconnect(),r=null)});return t._observer={observe:p}}function oe(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}const ie={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},se={class:"max-w-520px text-center z-20"},le=["textContent"],ue=["textContent"],ce={class:"flex items-center justify-center w-full"},fe={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const r=t;return ee({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(l,p)=>{const e=ne;return W(),J("div",ie,[p[0]||(p[0]=_("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),_("div",se,[_("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:C(t.statusCode)},null,8,le),_("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:C(t.description)},null,8,ue),_("div",ce,[X(e,{to:"/",class:"cursor-pointer gradient-border px-4 py-2 sm:px-6 sm:py-3 sm:text-xl text-md"},{default:Y(()=>[Z(C(t.backHome),1)]),_:1})])])])}}},ve=Q(fe,[["__scopeId","data-v-28c488d2"]]);export{ve as default}; diff --git a/latest/_nuxt/CyCu5VJZ.js b/latest/_nuxt/BJWttMQ8.js similarity index 90% rename from latest/_nuxt/CyCu5VJZ.js rename to latest/_nuxt/BJWttMQ8.js index 0187c1e4..096d49df 100644 --- a/latest/_nuxt/CyCu5VJZ.js +++ b/latest/_nuxt/BJWttMQ8.js @@ -1,4 +1,4 @@ -import{_ as l}from"./CzVAowgZ.js";import{u as p}from"./Bgvi-vPr.js";import{D as u,A as e,E as m,t as a,x as o,y as d,z as n,B as s}from"./CvXVYCmv.js";import{V as f}from"./NOWGDNTz.js";import{V as g}from"./DX-9AI5c.js";import"./CILx4owX.js";import"./CggvwESy.js";import"./DzteZw27.js";import"./DLkDSD5m.js";import"./DeTZgfeD.js";import"./ClRYlymu.js";/* empty css */const r="Getting started",T={__name:"getting-started",setup(y){return p({title:"VJSF - "+r}),(v,t)=>{const i=l;return a(),u(m(g),{class:"doc-content-page"},{default:e(()=>[o("h1",{class:"text-h2 mb-8"},d(r)),n(m(f),{type:"warning",variant:"outlined",class:"mb-8"},{default:e(()=>t[0]||(t[0]=[s(" VJSF and its core "),o("i",null,"JSON Layout",-1),s(" are not pre-bundled. They are distributed as pure ESM modules written in JS code with type annotations. The transpiling, tree-shaking, minifying, etc should be performed on your side. ")])),_:1}),t[6]||(t[6]=o("p",null,"Install from npm:",-1)),n(i,null,{default:e(()=>t[1]||(t[1]=[s("npm install @koumoul/vjsf")])),_:1}),t[7]||(t[7]=o("h2",{class:"text-h4 mb-6"}," Compile at runtime ",-1)),t[8]||(t[8]=o("p",null,"This is the simplest way to use VJSF. If you work with static schemas you might want to look into compiling at build time instead.",-1)),n(i,{language:"markup"},{default:e(()=>t[2]||(t[2]=[o("pre",null,`"+pn(e[t].content)+` `};vt.fence=function(e,t,n,r,o){var s=e[t],i=s.info?dY(s.info).trim():"",c="",a="",u,l,f,h,d;return i&&(f=i.split(/(\s+)/g),c=f[0],a=f.slice(2).join("")),n.highlight?u=n.highlight(s.content,c,a)||pn(s.content):u=pn(s.content),u.indexOf(" `:">",s)};Kn.prototype.renderInline=function(e,t,n){for(var r,o="",s=this.rules,i=0,c=e.length;i\s]/i.test(e)}function wY(e){return/^<\/a\s*>/i.test(e)}var xY=function(t){var n,r,o,s,i,c,a,u,l,f,h,d,g,m,x,k,_=t.tokens,p;if(t.md.options.linkify){for(r=0,o=_.length;r=0;n--){if(c=s[n],c.type==="link_close"){for(n--;s[n].level!==c.level&&s[n].type!=="link_open";)n--;continue}if(c.type==="html_inline"&&(kY(c.content)&&g>0&&g--,wY(c.content)&&g++),!(g>0)&&c.type==="text"&&t.md.linkify.test(c.content)){for(l=c.content,p=t.md.linkify.match(l),a=[],d=c.level,h=0,p.length>0&&p[0].index===0&&n>0&&s[n-1].type==="text_special"&&(p=p.slice(1)),u=0;uh&&(i=new t.Token("text","",0),i.content=l.slice(h,f),i.level=d,a.push(i)),i=new t.Token("link_open","a",1),i.attrs=[["href",x]],i.level=d++,i.markup="linkify",i.info="auto",a.push(i),i=new t.Token("text","",0),i.content=k,i.level=d,a.push(i),i=new t.Token("link_close","a",-1),i.level=--d,i.markup="linkify",i.info="auto",a.push(i),h=p[u].lastIndex);h=0;t--)n=e[t],n.type==="text"&&!r&&(n.content=n.content.replace(EY,SY)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function DY(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!r&&Jh.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}var RY=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(CY.test(t.tokens[n].content)&&TY(t.tokens[n].children),Jh.test(t.tokens[n].content)&&DY(t.tokens[n].children))},kl=ce.isWhiteSpace,wl=ce.isPunctChar,xl=ce.isMdAsciiPunct,PY=/['"]/,Cl=/['"]/g,El="’";function Kr(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function LY(e,t){var n,r,o,s,i,c,a,u,l,f,h,d,g,m,x,k,_,p,v,C,w;for(v=[],n=0;n=0&&!(v[_].level<=a);_--);if(v.length=_+1,r.type==="text"){o=r.content,i=0,c=o.length;e:for(;i=0)l=o.charCodeAt(s.index-1);else for(_=n-1;_>=0&&!(e[_].type==="softbreak"||e[_].type==="hardbreak");_--)if(e[_].content){l=e[_].content.charCodeAt(e[_].content.length-1);break}if(f=32,i=48&&l<=57&&(k=x=!1),x&&k&&(x=h,k=d),!x&&!k){p&&(r.content=Kr(r.content,s.index,El));continue}if(k){for(_=v.length-1;_>=0&&(u=v[_],!(v[_].level=0;n--)t.tokens[n].type!=="inline"||!PY.test(t.tokens[n].content)||LY(t.tokens[n].children,t)},MY=function(t){var n,r,o,s,i,c,a=t.tokens;for(n=0,r=a.length;n=0&&(r=this.attrs[n][1]),r};Zn.prototype.attrJoin=function(t,n){var r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};var Cc=Zn,OY=Cc;function Qh(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Qh.prototype.Token=OY;var qY=Qh,IY=xc,Ms=[["normalize",bY],["block",yY],["inline",_Y],["linkify",xY],["replacements",RY],["smartquotes",FY],["text_join",MY]];function Ec(){this.ruler=new IY;for(var e=0;er||(l=n+1,t.sCount[l]=4||(c=t.bMarks[l]+t.tShift[l],c>=t.eMarks[l])||(C=t.src.charCodeAt(c++),C!==124&&C!==45&&C!==58)||c>=t.eMarks[l]||(w=t.src.charCodeAt(c++),w!==124&&w!==45&&w!==58&&!Os(w))||C===45&&Os(w))return!1;for(;c=4||(f=Al(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),h=f.length,h===0||h!==g.length))return!1;if(o)return!0;for(_=t.parentType,t.parentType="table",v=t.md.block.ruler.getRules("blockquote"),d=t.push("table_open","table",1),d.map=x=[n,0],d=t.push("thead_open","thead",1),d.map=[n,n+1],d=t.push("tr_open","tr",1),d.map=[n,n+1],a=0;a=4)break;for(f=Al(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),l===n+2&&(d=t.push("tbody_open","tbody",1),d.map=k=[n+2,0]),d=t.push("tr_open","tr",1),d.map=[l,l+1],a=0;a=4){o++,s=o;continue}break}return t.line=s,i=t.push("code_block","code",0),i.content=t.getLines(n,s,4+t.blkIndent,!1)+` -`,i.map=[n,t.line],!0},BY=function(t,n,r,o){var s,i,c,a,u,l,f,h=!1,d=t.bMarks[n]+t.tShift[n],g=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||d+3>g||(s=t.src.charCodeAt(d),s!==126&&s!==96)||(u=d,d=t.skipChars(d,s),i=d-u,i<3)||(f=t.src.slice(u,d),c=t.src.slice(d,g),s===96&&c.indexOf(String.fromCharCode(s))>=0))return!1;if(o)return!0;for(a=n;a++,!(a>=r||(d=u=t.bMarks[a]+t.tShift[a],g=t.eMarks[a],d=4)&&(d=t.skipChars(d,s),!(d-u=4||t.src.charCodeAt(A)!==62)return!1;if(o)return!0;for(g=[],m=[],_=[],p=[],w=t.md.block.ruler.getRules("blockquote"),k=t.parentType,t.parentType="blockquote",h=n;h=j));h++){if(t.src.charCodeAt(A++)===62&&!I){for(a=t.sCount[h]+1,t.src.charCodeAt(A)===32?(A++,a++,s=!1,v=!0):t.src.charCodeAt(A)===9?(v=!0,(t.bsCount[h]+a)%4===3?(A++,a++,s=!1):s=!0):v=!1,d=a,g.push(t.bMarks[h]),t.bMarks[h]=A;A=j,m.push(t.bsCount[h]),t.bsCount[h]=t.sCount[h]+1+(v?1:0),_.push(t.sCount[h]),t.sCount[h]=d-a,p.push(t.tShift[h]),t.tShift[h]=A-t.bMarks[h];continue}if(l)break;for(C=!1,c=0,u=w.length;c",S.map=f=[n,0],t.md.block.tokenize(t,n,h),S=t.push("blockquote_close","blockquote",-1),S.markup=">",t.lineMax=L,t.parentType=k,f[1]=t.line,c=0;c=4||(s=t.src.charCodeAt(u++),s!==42&&s!==45&&s!==95))return!1;for(i=1;u=s||(n=e.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=s)return-1;if(n=e.src.charCodeAt(o++),n>=48&&n<=57){if(o-r>=10)return-1;continue}if(n===41||n===46)break;return-1}return o=4||t.listIndent>=0&&t.sCount[T]-t.listIndent>=4&&t.sCount[T]=t.blkIndent&&(J=!0),(A=Tl(t,T))>=0){if(f=!0,M=t.bMarks[T]+t.tShift[T],k=Number(t.src.slice(M,A-1)),J&&k!==1)return!1}else if((A=Sl(t,T))>=0)f=!1;else return!1;if(J&&t.skipSpaces(A)>=t.eMarks[T])return!1;if(o)return!0;for(x=t.src.charCodeAt(A-1),m=t.tokens.length,f?(G=t.push("ordered_list_open","ol",1),k!==1&&(G.attrs=[["start",k]])):G=t.push("bullet_list_open","ul",1),G.map=g=[T,0],G.markup=String.fromCharCode(x),j=!1,P=t.md.block.ruler.getRules("list"),C=t.parentType,t.parentType="list";T=_?u=1:u=p-l,u>4&&(u=1),a=l+u,G=t.push("list_item_open","li",1),G.markup=String.fromCharCode(x),G.map=h=[T,0],f&&(G.info=t.src.slice(M,A-1)),I=t.tight,S=t.tShift[T],w=t.sCount[T],v=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=a,t.tight=!0,t.tShift[T]=i-t.bMarks[T],t.sCount[T]=p,i>=_&&t.isEmpty(T+1)?t.line=Math.min(t.line+2,r):t.md.block.tokenize(t,T,r,!0),(!t.tight||j)&&(W=!1),j=t.line-T>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=v,t.tShift[T]=S,t.sCount[T]=w,t.tight=I,G=t.push("list_item_close","li",-1),G.markup=String.fromCharCode(x),T=t.line,h[1]=T,T>=r||t.sCount[T]=4)break;for(z=!1,c=0,d=P.length;c=4||t.src.charCodeAt(w)!==91)return!1;for(;++w3)&&!(t.sCount[I]<0)){for(_=!1,l=0,f=p.length;l"u"&&(t.env.references={}),typeof t.env.references[h]>"u"&&(t.env.references[h]={title:v,href:u}),t.parentType=g,t.line=n+C+1),!0)},YY=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Xo={},JY="[a-zA-Z_:][a-zA-Z0-9:._-]*",QY="[^\"'=<>`\\x00-\\x20]+",XY="'[^']*'",eJ='"[^"]*"',tJ="(?:"+QY+"|"+XY+"|"+eJ+")",nJ="(?:\\s+"+JY+"(?:\\s*=\\s*"+tJ+")?)",ed="<[A-Za-z][A-Za-z0-9\\-]*"+nJ+"*\\s*\\/?>",td="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",rJ="|",oJ="<[?][\\s\\S]*?[?]>",sJ="]*>",iJ="",cJ=new RegExp("^(?:"+ed+"|"+td+"|"+rJ+"|"+oJ+"|"+sJ+"|"+iJ+")"),aJ=new RegExp("^(?:"+ed+"|"+td+")");Xo.HTML_TAG_RE=cJ;Xo.HTML_OPEN_CLOSE_TAG_RE=aJ;var lJ=YY,uJ=Xo.HTML_OPEN_CLOSE_TAG_RE,Cn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(uJ.source+"\\s*$"),/^$/,!1]],fJ=function(t,n,r,o){var s,i,c,a,u=t.bMarks[n]+t.tShift[n],l=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(u)!==60)return!1;for(a=t.src.slice(u,l),s=0;s=4||(s=t.src.charCodeAt(u),s!==35||u>=l))return!1;for(i=1,s=t.src.charCodeAt(++u);s===35&&u6||uu&&Dl(t.src.charCodeAt(c-1))&&(l=c),t.line=n+1,a=t.push("heading_open","h"+String(i),1),a.markup="########".slice(0,i),a.map=[n,t.line],a=t.push("inline","",0),a.content=t.src.slice(u,l).trim(),a.map=[n,t.line],a.children=[],a=t.push("heading_close","h"+String(i),-1),a.markup="########".slice(0,i)),!0)},dJ=function(t,n,r){var o,s,i,c,a,u,l,f,h,d=n+1,g,m=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(g=t.parentType,t.parentType="paragraph";d3)){if(t.sCount[d]>=t.blkIndent&&(u=t.bMarks[d]+t.tShift[d],l=t.eMarks[d],u=l)))){f=h===61?1:2;break}if(!(t.sCount[d]<0)){for(s=!1,i=0,c=m.length;i3)&&!(t.sCount[l]<0)){for(s=!1,i=0,c=f.length;i0&&this.level++,this.tokens.push(r),r};kt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};kt.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!es(this.src.charCodeAt(--t)))return t+1;return t};kt.prototype.skipChars=function(t,n){for(var r=this.src.length;tr;)if(n!==this.src.charCodeAt(--t))return t+1;return t};kt.prototype.getLines=function(t,n,r,o){var s,i,c,a,u,l,f,h=t;if(t>=n)return"";for(l=new Array(n-t),s=0;hr?l[s]=new Array(i-r+1).join(" ")+this.src.slice(a,u):l[s]=this.src.slice(a,u)}return l.join("")};kt.prototype.Token=nd;var gJ=kt,mJ=xc,Yr=[["table",$Y,["paragraph","reference"]],["code",HY],["fence",BY,["paragraph","reference","blockquote","list"]],["blockquote",UY,["paragraph","reference","blockquote","list"]],["hr",zY,["paragraph","reference","blockquote","list"]],["list",WY,["paragraph","reference","blockquote"]],["reference",ZY],["html_block",fJ,["paragraph","reference","blockquote"]],["heading",hJ,["paragraph","reference","blockquote"]],["lheading",dJ],["paragraph",pJ]];function ts(){this.ruler=new mJ;for(var e=0;e=n||e.sCount[a]=l){e.line=n;break}for(s=e.line,o=0;o=e.line)throw new Error("block rule didn't increment state.line");break}if(!r)throw new Error("none of the block rules matched");e.tight=!u,e.isEmpty(e.line-1)&&(u=!0),a=e.line,a0||(r=t.pos,o=t.posMax,r+3>o)||t.src.charCodeAt(r)!==58||t.src.charCodeAt(r+1)!==47||t.src.charCodeAt(r+2)!==47||(s=t.pending.match(vJ),!s)||(i=s[1],c=t.md.linkify.matchAtStart(t.src.slice(r-i.length)),!c)||(a=c.url,a.length<=i.length)||(a=a.replace(/\*+$/,""),u=t.md.normalizeLink(a),!t.md.validateLink(u))?!1:(n||(t.pending=t.pending.slice(0,-i.length),l=t.push("link_open","a",1),l.attrs=[["href",u]],l.markup="linkify",l.info="auto",l=t.push("text","",0),l.content=t.md.normalizeLinkText(a),l=t.push("link_close","a",-1),l.markup="linkify",l.info="auto"),t.pos+=a.length-i.length,!0)},wJ=ce.isSpace,xJ=function(t,n){var r,o,s,i=t.pos;if(t.src.charCodeAt(i)!==10)return!1;if(r=t.pending.length-1,o=t.posMax,!n)if(r>=0&&t.pending.charCodeAt(r)===32)if(r>=1&&t.pending.charCodeAt(r-1)===32){for(s=r-1;s>=1&&t.pending.charCodeAt(s-1)===32;)s--;t.pending=t.pending.slice(0,s),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(e){Ac[e.charCodeAt(0)]=1});var EJ=function(t,n){var r,o,s,i,c,a=t.pos,u=t.posMax;if(t.src.charCodeAt(a)!==92||(a++,a>=u))return!1;if(r=t.src.charCodeAt(a),r===10){for(n||t.push("hardbreak","br",0),a++;a=55296&&r<=56319&&a+1=56320&&o<=57343&&(i+=t.src[a+1],a++)),s="\\"+i,n||(c=t.push("text_special","",0),r<256&&Ac[r]!==0?c.content=i:c.content=s,c.markup=s,c.info="escape"),t.pos=a+1,!0},AJ=function(t,n){var r,o,s,i,c,a,u,l,f=t.pos,h=t.src.charCodeAt(f);if(h!==96)return!1;for(r=f,f++,o=t.posMax;f=0;n--)r=t[n],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(o=t[r.end],c=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===o.token+1,i=String.fromCharCode(r.marker),s=e.tokens[r.token],s.type=c?"strong_open":"em_open",s.tag=c?"strong":"em",s.nesting=1,s.markup=c?i+i:i,s.content="",s=e.tokens[o.token],s.type=c?"strong_close":"em_close",s.tag=c?"strong":"em",s.nesting=-1,s.markup=c?i+i:i,s.content="",c&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}rs.postProcess=function(t){var n,r=t.tokens_meta,o=t.tokens_meta.length;for(Ll(t,t.delimiters),n=0;n=m)return!1;if(x=a,u=t.md.helpers.parseLinkDestination(t.src,a,t.posMax),u.ok){for(h=t.md.normalizeLink(u.str),t.md.validateLink(h)?a=u.pos:h="",x=a;a=m||t.src.charCodeAt(a)!==41)&&(k=!0),a++}if(k){if(typeof t.env.references>"u")return!1;if(a=0?s=t.src.slice(x,a++):a=i+1):a=i+1,s||(s=t.src.slice(c,i)),l=t.env.references[SJ(s)],!l)return t.pos=g,!1;h=l.href,d=l.title}return n||(t.pos=c,t.posMax=i,f=t.push("link_open","a",1),f.attrs=r=[["href",h]],d&&r.push(["title",d]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,f=t.push("link_close","a",-1)),t.pos=a,t.posMax=m,!0},DJ=ce.normalizeReference,Ns=ce.isSpace,RJ=function(t,n){var r,o,s,i,c,a,u,l,f,h,d,g,m,x="",k=t.pos,_=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91||(a=t.pos+2,c=t.md.helpers.parseLinkLabel(t,t.pos+1,!1),c<0))return!1;if(u=c+1,u<_&&t.src.charCodeAt(u)===40){for(u++;u<_&&(o=t.src.charCodeAt(u),!(!Ns(o)&&o!==10));u++);if(u>=_)return!1;for(m=u,f=t.md.helpers.parseLinkDestination(t.src,u,t.posMax),f.ok&&(x=t.md.normalizeLink(f.str),t.md.validateLink(x)?u=f.pos:x=""),m=u;u<_&&(o=t.src.charCodeAt(u),!(!Ns(o)&&o!==10));u++);if(f=t.md.helpers.parseLinkTitle(t.src,u,t.posMax),u<_&&m!==u&&f.ok)for(h=f.str,u=f.pos;u<_&&(o=t.src.charCodeAt(u),!(!Ns(o)&&o!==10));u++);else h="";if(u>=_||t.src.charCodeAt(u)!==41)return t.pos=k,!1;u++}else{if(typeof t.env.references>"u")return!1;if(u<_&&t.src.charCodeAt(u)===91?(m=u+1,u=t.md.helpers.parseLinkLabel(t,u),u>=0?i=t.src.slice(m,u++):u=c+1):u=c+1,i||(i=t.src.slice(a,c)),l=t.env.references[DJ(i)],!l)return t.pos=k,!1;x=l.href,h=l.title}return n||(s=t.src.slice(a,c),t.md.inline.parse(s,t.md,t.env,g=[]),d=t.push("image","img",0),d.attrs=r=[["src",x],["alt",""]],d.children=g,d.content=s,h&&r.push(["title",h])),t.pos=u,t.posMax=_,!0},PJ=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,LJ=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,FJ=function(t,n){var r,o,s,i,c,a,u=t.pos;if(t.src.charCodeAt(u)!==60)return!1;for(c=t.pos,a=t.posMax;;){if(++u>=a||(i=t.src.charCodeAt(u),i===60))return!1;if(i===62)break}return r=t.src.slice(c+1,u),LJ.test(r)?(o=t.md.normalizeLink(r),t.md.validateLink(o)?(n||(s=t.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=t.push("text","",0),s.content=t.md.normalizeLinkText(r),s=t.push("link_close","a",-1),s.markup="autolink",s.info="auto"),t.pos+=r.length+2,!0):!1):PJ.test(r)?(o=t.md.normalizeLink("mailto:"+r),t.md.validateLink(o)?(n||(s=t.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=t.push("text","",0),s.content=t.md.normalizeLinkText(r),s=t.push("link_close","a",-1),s.markup="autolink",s.info="auto"),t.pos+=r.length+2,!0):!1):!1},MJ=Xo.HTML_TAG_RE;function OJ(e){return/^\s]/i.test(e)}function qJ(e){return/^<\/a\s*>/i.test(e)}function IJ(e){var t=e|32;return t>=97&&t<=122}var NJ=function(t,n){var r,o,s,i,c=t.pos;return!t.md.options.html||(s=t.posMax,t.src.charCodeAt(c)!==60||c+2>=s)||(r=t.src.charCodeAt(c+1),r!==33&&r!==63&&r!==47&&!IJ(r))||(o=t.src.slice(c).match(MJ),!o)?!1:(n||(i=t.push("html_inline","",0),i.content=o[0],OJ(i.content)&&t.linkLevel++,qJ(i.content)&&t.linkLevel--),t.pos+=o[0].length,!0)},Fl=Wh,$J=ce.has,HJ=ce.isValidEntityCode,Ml=ce.fromCodePoint,BJ=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,jJ=/^&([a-z][a-z0-9]{1,31});/i,UJ=function(t,n){var r,o,s,i,c=t.pos,a=t.posMax;if(t.src.charCodeAt(c)!==38||c+1>=a)return!1;if(r=t.src.charCodeAt(c+1),r===35){if(s=t.src.slice(c).match(BJ),s)return n||(o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),i=t.push("text_special","",0),i.content=HJ(o)?Ml(o):Ml(65533),i.markup=s[0],i.info="entity"),t.pos+=s[0].length,!0}else if(s=t.src.slice(c).match(jJ),s&&$J(Fl,s[1]))return n||(i=t.push("text_special","",0),i.content=Fl[s[1]],i.markup=s[0],i.info="entity"),t.pos+=s[0].length,!0;return!1};function Ol(e){var t,n,r,o,s,i,c,a,u={},l=e.length;if(l){var f=0,h=-2,d=[];for(t=0;ts;n-=d[n]+1)if(o=e[n],o.marker===r.marker&&o.open&&o.end<0&&(c=!1,(o.close||r.open)&&(o.length+r.length)%3===0&&(o.length%3!==0||r.length%3!==0)&&(c=!0),!c)){a=n>0&&!e[n-1].open?d[n-1]+1:0,d[t]=t-n+a,d[n]=a,r.open=!1,o.end=t,o.close=!1,i=-1,h=-2;break}i!==-1&&(u[r.marker][(r.open?3:0)+(r.length||0)%3]=i)}}}var VJ=function(t){var n,r=t.tokens_meta,o=t.tokens_meta.length;for(Ol(t.delimiters),n=0;n0&&o++,s[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r};Pr.prototype.scanDelims=function(e,t){var n=e,r,o,s,i,c,a,u,l,f,h=!0,d=!0,g=this.posMax,m=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;n=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;t||e.pos++,c[r]=e.pos};Lr.prototype.tokenize=function(e){for(var t,n,r,o=this.ruler.getRules(""),s=o.length,i=e.posMax,c=e.md.options.maxNesting;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(t){if(e.pos>=i)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};Lr.prototype.parse=function(e,t,n,r){var o,s,i,c=new this.State(e,t,n,r);for(this.tokenize(c),s=this.ruler2.getRules(""),i=s.length,o=0;o|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),Bs}function Si(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function os(e){return Object.prototype.toString.call(e)}function ZJ(e){return os(e)==="[object String]"}function YJ(e){return os(e)==="[object Object]"}function JJ(e){return os(e)==="[object RegExp]"}function Bl(e){return os(e)==="[object Function]"}function QJ(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var rd={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function XJ(e){return Object.keys(e||{}).reduce(function(t,n){return t||rd.hasOwnProperty(n)},!1)}var eQ={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},tQ="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",nQ="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function rQ(e){e.__index__=-1,e.__text_cache__=""}function oQ(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function jl(){return function(e,t){t.normalize(e)}}function Po(e){var t=e.re=KJ()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(tQ),n.push(t.src_xn),t.src_tlds=n.join("|");function r(c){return c.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var o=[];e.__compiled__={};function s(c,a){throw new Error('(LinkifyIt) Invalid schema "'+c+'": '+a)}Object.keys(e.__schemas__).forEach(function(c){var a=e.__schemas__[c];if(a!==null){var u={validate:null,link:null};if(e.__compiled__[c]=u,YJ(a)){JJ(a.validate)?u.validate=oQ(a.validate):Bl(a.validate)?u.validate=a.validate:s(c,a),Bl(a.normalize)?u.normalize=a.normalize:a.normalize?s(c,a):u.normalize=jl();return}if(ZJ(a)){o.push(c);return}s(c,a)}}),o.forEach(function(c){e.__compiled__[e.__schemas__[c]]&&(e.__compiled__[c].validate=e.__compiled__[e.__schemas__[c]].validate,e.__compiled__[c].normalize=e.__compiled__[e.__schemas__[c]].normalize)}),e.__compiled__[""]={validate:null,normalize:jl()};var i=Object.keys(e.__compiled__).filter(function(c){return c.length>0&&e.__compiled__[c]}).map(QJ).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),rQ(e)}function sQ(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function Ti(e,t){var n=new sQ(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function We(e,t){if(!(this instanceof We))return new We(e,t);t||XJ(e)&&(t=e,e={}),this.__opts__=Si({},rd,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Si({},eQ,e),this.__compiled__={},this.__tlds__=nQ,this.__tlds_replaced__=!1,this.re={},Po(this)}We.prototype.add=function(t,n){return this.__schemas__[t]=n,Po(this),this};We.prototype.set=function(t){return this.__opts__=Si(this.__opts__,t),this};We.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,r,o,s,i,c,a,u,l;if(this.re.schema_test.test(t)){for(a=this.re.schema_search,a.lastIndex=0;(n=a.exec(t))!==null;)if(s=this.testSchemaAt(t,n[2],a.lastIndex),s){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=t.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u=0&&(o=t.match(this.re.email_fuzzy))!==null&&(i=o.index+o[1].length,c=o.index+o[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=c))),this.__index__>=0};We.prototype.pretest=function(t){return this.re.pretest.test(t)};We.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};We.prototype.match=function(t){var n=0,r=[];this.__index__>=0&&this.__text_cache__===t&&(r.push(Ti(this,n)),n=this.__last_index__);for(var o=n?t.slice(n):t;this.test(o);)r.push(Ti(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};We.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var n=this.re.schema_at_start.exec(t);if(!n)return null;var r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,Ti(this,0)):null};We.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,o,s){return r!==s[o-1]}).reverse(),Po(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Po(this),this)};We.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};We.prototype.onCompile=function(){};var iQ=We;const Hn=2147483647,mt=36,Tc=1,vr=26,cQ=38,aQ=700,od=72,sd=128,id="-",lQ=/^xn--/,uQ=/[^\0-\x7F]/,fQ=/[\x2E\u3002\uFF0E\uFF61]/g,hQ={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},js=mt-Tc,bt=Math.floor,Us=String.fromCharCode;function Vt(e){throw new RangeError(hQ[e])}function dQ(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function cd(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(fQ,".");const o=e.split("."),s=dQ(o,t).join(".");return r+s}function Dc(e){const t=[];let n=0;const r=e.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...e),pQ=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:mt},Ul=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},ld=function(e,t,n){let r=0;for(e=n?bt(e/aQ):e>>1,e+=bt(e/t);e>js*vr>>1;r+=mt)e=bt(e/js);return bt(r+(js+1)*e/(e+cQ))},Rc=function(e){const t=[],n=e.length;let r=0,o=sd,s=od,i=e.lastIndexOf(id);i<0&&(i=0);for(let c=0;c=128&&Vt("not-basic"),t.push(e.charCodeAt(c));for(let c=i>0?i+1:0;c=n&&Vt("invalid-input");const h=pQ(e.charCodeAt(c++));h>=mt&&Vt("invalid-input"),h>bt((Hn-r)/l)&&Vt("overflow"),r+=h*l;const d=f<=s?Tc:f>=s+vr?vr:f-s;if(hbt(Hn/g)&&Vt("overflow"),l*=g}const u=t.length+1;s=ld(r-a,u,a==0),bt(r/u)>Hn-o&&Vt("overflow"),o+=bt(r/u),r%=u,t.splice(r++,0,o)}return String.fromCodePoint(...t)},Pc=function(e){const t=[];e=Dc(e);const n=e.length;let r=sd,o=0,s=od;for(const a of e)a<128&&t.push(Us(a));const i=t.length;let c=i;for(i&&t.push(id);c=r&&lbt((Hn-o)/u)&&Vt("overflow"),o+=(a-r)*u,r=a;for(const l of e)if(lHn&&Vt("overflow"),l===r){let f=o;for(let h=mt;;h+=mt){const d=h<=s?Tc:h>=s+vr?vr:h-s;if(f=0))try{t.hostname=hd.toASCII(t.hostname)}catch{}return cn.encode(cn.format(t))}function LQ(e){var t=cn.parse(e,!0);if(t.hostname&&(!t.protocol||dd.indexOf(t.protocol)>=0))try{t.hostname=hd.toUnicode(t.hostname)}catch{}return cn.decode(cn.format(t),cn.decode.defaultChars+"%")}function nt(e,t){if(!(this instanceof nt))return new nt(e,t);t||fr.isString(e)||(t=e||{},e="default"),this.inline=new EQ,this.block=new CQ,this.core=new xQ,this.renderer=new wQ,this.linkify=new AQ,this.validateLink=RQ,this.normalizeLink=PQ,this.normalizeLinkText=LQ,this.utils=fr,this.helpers=fr.assign({},kQ),this.options={},this.configure(e),t&&this.set(t)}nt.prototype.set=function(e){return fr.assign(this.options,e),this};nt.prototype.configure=function(e){var t=this,n;if(fr.isString(e)&&(n=e,e=SQ[n],!e))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this};nt.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(o){return n.indexOf(o)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};nt.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(o){return n.indexOf(o)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};nt.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};nt.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};nt.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};nt.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};nt.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var FQ=nt,MQ=FQ;const OQ=E_(MQ),qQ=ut(()=>{const e=new OQ;return{provide:{markdown:e.render.bind(e)}}});function IQ(e,t){let n;function r(){n=Pu(),n.run(()=>t.length?t(()=>{n==null||n.stop(),r()}):t())}Xe(e,o=>{o&&!n?r():o||(n==null||n.stop(),n=void 0)},{immediate:!0}),op(()=>{n==null||n.stop()})}const Be=typeof window<"u",Lte=Be&&"IntersectionObserver"in window,NQ=Be&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),Fte=Be&&"EyeDropper"in window;function Vl(e,t,n){$Q(e,t),t.set(e,n)}function $Q(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function HQ(e,t,n){return e.set(pd(e,t),n),n}function nn(e,t){return e.get(pd(e,t))}function pd(e,t,n){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function gd(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let o=0;oBQ(e[r],t[r]))}function Di(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),gd(e,t.split("."),n))}function Mte(e,t,n){if(t===!0)return e===void 0?n:e;if(t==null||typeof t=="boolean")return n;if(e!==Object(e)){if(typeof t!="function")return n;const o=t(e,n);return typeof o>"u"?n:o}if(typeof t=="string")return Di(e,t,n);if(Array.isArray(t))return gd(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function md(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function Ote(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function zl(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function bd(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const qte=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),Ite=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function Nte(e){return Object.keys(e)}function Vs(e,t){return t.every(n=>e.hasOwnProperty(n))}function jQ(e,t){const n={},r=new Set(Object.keys(e));for(const o of t)r.has(o)&&(n[o]=e[o]);return n}function Gl(e,t,n){const r=Object.create(null),o=Object.create(null);for(const s in e)t.some(i=>i instanceof RegExp?i.test(s):i===s)&&!(n!=null&&n.some(i=>i===s))?r[s]=e[s]:o[s]=e[s];return[r,o]}function UQ(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}function $te(e,t){const n={};return t.forEach(r=>n[r]=e[r]),n}const yd=/^on[^a-z]/,Hte=e=>yd.test(e),VQ=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],zQ=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function Bte(e){return e.isComposing&&zQ.includes(e.key)}function jte(e){const[t,n]=Gl(e,[yd]),r=UQ(t,VQ),[o,s]=Gl(n,["class","style","id",/^data-/]);return Object.assign(o,t),Object.assign(s,r),[o,s]}function Ute(e){return e==null?[]:Array.isArray(e)?e:[e]}function Vte(e,t){let n=0;const r=function(){for(var o=arguments.length,s=new Array(o),i=0;ie(...s),se(t))};return r.clear=()=>{clearTimeout(n)},r.immediate=e,r}function _d(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function zte(e){const t=e.toString().trim();return t.includes(".")?t.length-t.indexOf(".")-1:0}function Wl(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function Kl(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function GQ(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r1&&arguments[1]!==void 0?arguments[1]:1e3;if(e=t&&r0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const o in e)r[o]=e[o];for(const o in t){const s=e[o],i=t[o];if(zl(s)&&zl(i)){r[o]=Re(s,i,n);continue}if(Array.isArray(s)&&Array.isArray(i)&&n){r[o]=n(s,i);continue}r[o]=i}return r}function WQ(e){return e.map(t=>t.type===we?WQ(t.children):t).flat()}function hn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(hn.cache.has(e))return hn.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return hn.cache.set(e,t),t}hn.cache=new Map;function Jr(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Jr(e,n)).flat(1);if(t.suspense)return Jr(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(n=>Jr(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return Jr(e,t.component.subTree).flat(1)}return[]}var Qr=new WeakMap,En=new WeakMap;class Wte{constructor(t){Vl(this,Qr,[]),Vl(this,En,0),this.size=t}push(t){nn(Qr,this)[nn(En,this)]=t,HQ(En,this,(nn(En,this)+1)%this.size)}values(){return nn(Qr,this).slice(nn(En,this)).concat(nn(Qr,this).slice(0,nn(En,this)))}}function Kte(e){return"touches"in e?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}}function Zte(e){const t=rt({}),n=oe(e);return Sr(()=>{for(const r in n.value)t[r]=n.value[r]},{flush:"sync"}),Zu(t)}function Yte(e,t){return e.includes(t)}function Jte(e){return e[2].toLowerCase()+e.slice(3)}const Qte=()=>[Function,Array];function Xte(e,t){return t="on"+Cr(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function ene(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(r=>`${r}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(n)]}function ZQ(e,t,n){let r,o=e.indexOf(document.activeElement);const s=t==="next"?1:-1;do o+=s,r=e[o];while((!r||r.offsetParent==null||!((n==null?void 0:n(r))??!0))&&o=0);return r}function YQ(e,t){var r,o,s,i;const n=KQ(e);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((r=n[0])==null||r.focus());else if(t==="first")(o=n[0])==null||o.focus();else if(t==="last")(s=n.at(-1))==null||s.focus();else if(typeof t=="number")(i=n[t])==null||i.focus();else{const c=ZQ(n,t);c?c.focus():YQ(e,t==="next"?"first":"last")}}function tne(){}function nne(e,t){if(!(Be&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function JQ(e){return e.some(t=>dn(t)?t.type===ve?!1:t.type!==we||JQ(t.children):!0)?e:null}function rne(e,t){if(!Be||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}function one(e,t){const n=Ge();return Sr(()=>{n.value=e()},{flush:"sync",...t}),Ui(n)}function sne(e,t){const n=e.clientX,r=e.clientY,o=t.getBoundingClientRect(),s=o.left,i=o.top,c=o.right,a=o.bottom;return n>=s&&n<=c&&r>=i&&r<=a}function ine(){const e=Ge(),t=n=>{e.value=n};return Object.defineProperty(t,"value",{enumerable:!0,get:()=>e.value,set:n=>e.value=n}),Object.defineProperty(t,"el",{enumerable:!0,get:()=>bd(e.value)}),t}const An=2.4,Zl=.2126729,Yl=.7151522,Jl=.072175,QQ=.55,XQ=.58,eX=.57,tX=.62,Xr=.03,Ql=1.45,nX=5e-4,rX=1.25,oX=1.25,Xl=.078,eu=12.82051282051282,eo=.06,tu=.001;function nu(e,t){const n=(e.r/255)**An,r=(e.g/255)**An,o=(e.b/255)**An,s=(t.r/255)**An,i=(t.g/255)**An,c=(t.b/255)**An;let a=n*Zl+r*Yl+o*Jl,u=s*Zl+i*Yl+c*Jl;if(a<=Xr&&(a+=(Xr-a)**Ql),u<=Xr&&(u+=(Xr-u)**Ql),Math.abs(u-a)a){const f=(u**QQ-a**XQ)*rX;l=f-tu?0:f>-Xl?f-f*eu*eo:f+eo}return l*100}function cne(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const Lo=.20689655172413793,sX=e=>e>Lo**3?Math.cbrt(e):e/(3*Lo**2)+4/29,iX=e=>e>Lo?e**3:3*Lo**2*(e-4/29);function vd(e){const t=sX,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function kd(e){const t=iX,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const cX=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],aX=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,lX=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],uX=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function wd(e){const t=Array(3),n=aX,r=cX;for(let o=0;o<3;++o)t[o]=Math.round(_d(n(r[o][0]*e[0]+r[o][1]*e[1]+r[o][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Lc(e){let{r:t,g:n,b:r}=e;const o=[0,0,0],s=uX,i=lX;t=s(t/255),n=s(n/255),r=s(r/255);for(let c=0;c<3;++c)o[c]=i[c][0]*t+i[c][1]*n+i[c][2]*r;return o}function fX(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function ane(e){return fX(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const ru=/^(?(?:rgb|hsl)a?)\((?.+)\)/,hX={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>ou({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>ou({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>gn({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>gn({h:e,s:t,v:n,a:r})};function Dt(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&ru.test(e)){const{groups:t}=e.match(ru),{fn:n,values:r}=t,o=r.split(/,\s*/).map(s=>s.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(s)/100:parseFloat(s));return hX[n](...o)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),Ed(t)}else if(typeof e=="object"){if(Vs(e,["r","g","b"]))return e;if(Vs(e,["h","s","l"]))return gn(xd(e));if(Vs(e,["h","s","v"]))return gn(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function gn(e){const{h:t,s:n,v:r,a:o}=e,s=c=>{const a=(c+t/60)%6;return r-r*n*Math.max(Math.min(a,4-a,1),0)},i=[s(5),s(3),s(1)].map(c=>Math.round(c*255));return{r:i[0],g:i[1],b:i[2],a:o}}function ou(e){return gn(xd(e))}function dX(e){if(!e)return{h:0,s:1,v:1,a:1};const t=e.r/255,n=e.g/255,r=e.b/255,o=Math.max(t,n,r),s=Math.min(t,n,r);let i=0;o!==s&&(o===t?i=60*(0+(n-r)/(o-s)):o===n?i=60*(2+(r-t)/(o-s)):o===r&&(i=60*(4+(t-n)/(o-s)))),i<0&&(i=i+360);const c=o===0?0:(o-s)/o,a=[i,c,o];return{h:a[0],s:a[1],v:a[2],a:e.a}}function lne(e){const{h:t,s:n,v:r,a:o}=e,s=r-r*n/2,i=s===1||s===0?0:(r-s)/Math.min(s,1-s);return{h:t,s:i,l:s,a:o}}function xd(e){const{h:t,s:n,l:r,a:o}=e,s=r+n*Math.min(r,1-r),i=s===0?0:2-2*r/s;return{h:t,s:i,v:s,a:o}}function pX(e){let{r:t,g:n,b:r,a:o}=e;return o===void 0?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${o})`}function une(e){return pX(gn(e))}function to(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function Cd(e){let{r:t,g:n,b:r,a:o}=e;return`#${[to(t),to(n),to(r),o!==void 0?to(Math.round(o*255)):""].join("")}`}function Ed(e){e=gX(e);let[t,n,r,o]=GQ(e,2).map(s=>parseInt(s,16));return o=o===void 0?o:o/255,{r:t,g:n,b:r,a:o}}function fne(e){const t=Ed(e);return dX(t)}function hne(e){return Cd(gn(e))}function gX(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=Wl(Wl(e,6),8,"F")),e}function mX(e,t){const n=vd(Lc(e));return n[0]=n[0]+t*10,wd(kd(n))}function bX(e,t){const n=vd(Lc(e));return n[0]=n[0]-t*10,wd(kd(n))}function Ri(e){const t=Dt(e);return Lc(t)[1]}function dne(e,t){const n=Ri(e),r=Ri(t),o=Math.max(n,r),s=Math.min(n,r);return(o+.05)/(s+.05)}function yX(e){const t=Math.abs(nu(Dt(0),Dt(e)));return Math.abs(nu(Dt(16777215),Dt(e)))>Math.min(t,50)?"#fff":"#000"}function ss(e,t){return n=>Object.keys(e).reduce((r,o)=>{const i=typeof e[o]=="object"&&e[o]!=null&&!Array.isArray(e[o])?e[o]:{type:e[o]};return n&&o in n?r[o]={...i,default:n[o]}:r[o]=i,t&&!r[o].source&&(r[o].source=t),r},{})}function _n(e,t){const n=bn();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function _X(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=_n(e).type;return hn((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let Ad=0,uo=new WeakMap;function Sd(){const e=_n("getUid");if(uo.has(e))return uo.get(e);{const t=Ad++;return uo.set(e,t),t}}Sd.reset=()=>{Ad=0,uo=new WeakMap};function vX(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_n("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}const zn=Symbol.for("vuetify:defaults");function kX(e){return Pe(e)}function Fc(){const e=be(zn);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function pne(e,t){const n=Fc(),r=Pe(e),o=oe(()=>{if(se(t==null?void 0:t.disabled))return n.value;const i=se(t==null?void 0:t.scoped),c=se(t==null?void 0:t.reset),a=se(t==null?void 0:t.root);if(r.value==null&&!(i||c||a))return n.value;let u=Re(r.value,{prev:n.value});if(i)return u;if(c||a){const l=Number(c||1/0);for(let f=0;f<=l&&!(!u||!("prev"in u));f++)u=u.prev;return u&&typeof a=="string"&&a in u&&(u=Re(Re(u,{prev:u}),u[a])),u}return u.prev?Re(u.prev,u):u});return _t(zn,o),o}function wX(e,t){var n,r;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((r=e.props)==null?void 0:r[hn(t)])<"u"}function Td(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Fc();const r=_n("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const o=oe(()=>{var a;return(a=n.value)==null?void 0:a[e._as??t]}),s=new Proxy(e,{get(a,u){var f,h,d,g,m,x,k;const l=Reflect.get(a,u);return u==="class"||u==="style"?[(f=o.value)==null?void 0:f[u],l].filter(_=>_!=null):typeof u=="string"&&!wX(r.vnode,u)?((h=o.value)==null?void 0:h[u])!==void 0?(d=o.value)==null?void 0:d[u]:((m=(g=n.value)==null?void 0:g.global)==null?void 0:m[u])!==void 0?(k=(x=n.value)==null?void 0:x.global)==null?void 0:k[u]:l:l}}),i=Ge();Sr(()=>{if(o.value){const a=Object.entries(o.value).filter(u=>{let[l]=u;return l.startsWith(l[0].toUpperCase())});i.value=a.length?Object.fromEntries(a):void 0}else i.value=void 0});function c(){const a=vX(zn,r);_t(zn,oe(()=>i.value?Re((a==null?void 0:a.value)??{},i.value):a==null?void 0:a.value))}return{props:s,provideSubDefaults:c}}function gne(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const{props:n,provideSubDefaults:r}=Td(e,t);return r(),n}function Fr(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=ss(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(r){return jQ(r,t)},e.props._as=String,e.setup=function(r,o){const s=Fc();if(!s.value)return e._setup(r,o);const{props:i,provideSubDefaults:c}=Td(r,r._as??e.name,s),a=e._setup(i,o);return c(),a}}return e}function xX(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?Fr:Ft)(t)}function CX(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const s=_n("useProxiedModel"),i=Pe(e[t]!==void 0?e[t]:n),c=hn(t),u=oe(c!==t?()=>{var f,h,d,g;return e[t],!!(((f=s.vnode.props)!=null&&f.hasOwnProperty(t)||(h=s.vnode.props)!=null&&h.hasOwnProperty(c))&&((d=s.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${t}`)||(g=s.vnode.props)!=null&&g.hasOwnProperty(`onUpdate:${c}`)))}:()=>{var f,h;return e[t],!!((f=s.vnode.props)!=null&&f.hasOwnProperty(t)&&((h=s.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${t}`)))});IQ(()=>!u.value,()=>{Xe(()=>e[t],f=>{i.value=f})});const l=oe({get(){const f=e[t];return r(u.value?f:i.value)},set(f){const h=o(f),d=ne(u.value?e[t]:i.value);d===h||r(d)===f||(i.value=h,s==null||s.emit(`update:${t}`,h))}});return Object.defineProperty(l,"externalValue",{get:()=>u.value?e[t]:i.value}),l}const EX={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},su="$vuetify.",iu=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[+r])),Dd=(e,t,n)=>function(r){for(var o=arguments.length,s=new Array(o>1?o-1:0),i=1;inew Intl.NumberFormat([e.value,t.value],r).format(n)}function zs(e,t,n){const r=CX(e,t,e[t]??n.value);return r.value=e[t]??n.value,Xe(n,o=>{e[t]==null&&(r.value=n.value)}),r}function Pd(e){return t=>{const n=zs(t,"locale",e.current),r=zs(t,"fallback",e.fallback),o=zs(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:o,t:Dd(n,r,o),n:Rd(n,r),provide:Pd({current:n,fallback:r,messages:o})}}}function AX(e){const t=Ge((e==null?void 0:e.locale)??"en"),n=Ge((e==null?void 0:e.fallback)??"en"),r=Pe({en:EX,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:r,t:Dd(t,n,r),n:Rd(t,n),provide:Pd({current:t,fallback:n,messages:r})}}const Fo=Symbol.for("vuetify:locale");function SX(e){return e.name!=null}function TX(e){const t=e!=null&&e.adapter&&SX(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:AX(e),n=PX(t,e);return{...t,...n}}function DX(){const e=be(Fo);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function RX(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function PX(e,t){const n=Pe((t==null?void 0:t.rtl)??RX()),r=oe(()=>n.value[e.current.value]??!1);return{isRtl:r,rtl:n,rtlClasses:oe(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function LX(){const e=be(Fo);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const is={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function FX(e,t,n){const r=[];let o=[];const s=Ld(e),i=Fd(e),c=n??is[t.slice(-2).toUpperCase()]??0,a=(s.getDay()-c+7)%7,u=(i.getDay()-c+7)%7;for(let l=0;l0&&r.push(o),r}function MX(e,t,n){const r=n??is[t.slice(-2).toUpperCase()]??0,o=new Date(e);for(;o.getDay()!==r;)o.setDate(o.getDate()-1);return o}function OX(e,t){const n=new Date(e),r=((is[t.slice(-2).toUpperCase()]??0)+6)%7;for(;n.getDay()!==r;)n.setDate(n.getDate()+1);return n}function Ld(e){return new Date(e.getFullYear(),e.getMonth(),1)}function Fd(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function qX(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const IX=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function Md(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(IX.test(e))return qX(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const cu=new Date(2e3,0,2);function NX(e,t){const n=t??is[e.slice(-2).toUpperCase()]??0;return md(7).map(r=>{const o=new Date(cu);return o.setDate(cu.getDate()+n+r),new Intl.DateTimeFormat(e,{weekday:"narrow"}).format(o)})}function $X(e,t,n,r){const o=Md(e)??new Date,s=r==null?void 0:r[t];if(typeof s=="function")return s(o,t,n);let i={};switch(t){case"fullDate":i={year:"numeric",month:"long",day:"numeric"};break;case"fullDateWithWeekday":i={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const c=o.getDate(),a=new Intl.DateTimeFormat(n,{month:"long"}).format(o);return`${c} ${a}`;case"normalDateWithWeekday":i={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":i={month:"short",day:"numeric"};break;case"year":i={year:"numeric"};break;case"month":i={month:"long"};break;case"monthShort":i={month:"short"};break;case"monthAndYear":i={month:"long",year:"numeric"};break;case"monthAndDate":i={month:"long",day:"numeric"};break;case"weekday":i={weekday:"long"};break;case"weekdayShort":i={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(n).format(o.getDate());case"hours12h":i={hour:"numeric",hour12:!0};break;case"hours24h":i={hour:"numeric",hour12:!1};break;case"minutes":i={minute:"numeric"};break;case"seconds":i={second:"numeric"};break;case"fullTime":i={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime12h":i={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime24h":i={hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"fullDateTime":i={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime12h":i={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime24h":i={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDate":i={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":i={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDateTime12h":i={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"keyboardDateTime24h":i={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;default:i=s??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,i).format(o)}function HX(e,t){const n=e.toJsDate(t),r=n.getFullYear(),o=Kl(String(n.getMonth()+1),2,"0"),s=Kl(String(n.getDate()),2,"0");return`${r}-${o}-${s}`}function BX(e){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}function jX(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function UX(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function VX(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function zX(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function GX(e,t){const n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function WX(e){return e.getFullYear()}function KX(e){return e.getMonth()}function ZX(e){return e.getDate()}function YX(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function JX(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function QX(e){return e.getHours()}function XX(e){return e.getMinutes()}function eee(e){return new Date(e.getFullYear(),0,1)}function tee(e){return new Date(e.getFullYear(),11,31)}function nee(e,t){return Mo(e,t[0])&&see(e,t[1])}function ree(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function Mo(e,t){return e.getTime()>t.getTime()}function oee(e,t){return Mo(Pi(e),Pi(t))}function see(e,t){return e.getTime(){n.locale=e.locale[r]??r??n.locale}),n}function mne(){const e=be(Od);if(!e)throw new Error("[Vuetify] Could not find injected date options");const t=DX();return qd(e,t)}function bne(e,t){const n=e.toJsDate(t);let r=n.getFullYear(),o=new Date(r,0,1);if(n=c&&(r=r+1,o=c)}const s=Math.abs(n.getTime()-o.getTime()),i=Math.ceil(s/(1e3*60*60*24));return Math.floor(i/7)+1}const yne=["sm","md","lg","xl","xxl"],Li=Symbol.for("vuetify:display"),uu={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},yee=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:uu;return Re(uu,e)};function fu(e){return Be&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function hu(e){return Be&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function du(e){const t=Be&&!e?window.navigator.userAgent:"ssr";function n(g){return!!t.match(g)}const r=n(/android/i),o=n(/iphone|ipad|ipod/i),s=n(/cordova/i),i=n(/electron/i),c=n(/chrome/i),a=n(/edge/i),u=n(/firefox/i),l=n(/opera/i),f=n(/win/i),h=n(/mac/i),d=n(/linux/i);return{android:r,ios:o,cordova:s,electron:i,chrome:c,edge:a,firefox:u,opera:l,win:f,mac:h,linux:d,touch:NQ,ssr:t==="ssr"}}function _ee(e,t){const{thresholds:n,mobileBreakpoint:r}=yee(e),o=Ge(hu(t)),s=Ge(du(t)),i=rt({}),c=Ge(fu(t));function a(){o.value=hu(),c.value=fu()}function u(){a(),s.value=du()}return Sr(()=>{const l=c.value=n.xxl,x=l?"xs":f?"sm":h?"md":d?"lg":g?"xl":"xxl",k=typeof r=="number"?r:n[r],_=c.value0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_X();const n=be(Li);if(!n)throw new Error("Could not find Vuetify display injection");const r=oe(()=>{if(e.mobile!=null)return e.mobile;if(!e.mobileBreakpoint)return n.mobile.value;const s=typeof e.mobileBreakpoint=="number"?e.mobileBreakpoint:n.thresholds.value[e.mobileBreakpoint];return n.width.valuet?{[`${t}--mobile`]:r.value}:{});return{...n,displayClasses:o,mobile:r}}const Id=Symbol.for("vuetify:goto");function Nd(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:{linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5}}}function vee(e){return Mc(e)??(document.scrollingElement||document.body)}function Mc(e){return typeof e=="string"?document.querySelector(e):bd(e)}function Gs(e,t,n){if(typeof e=="number")return t&&n?-e:e;let r=Mc(e),o=0;for(;r;)o+=t?r.offsetLeft:r.offsetTop,r=r.offsetParent;return o}function kee(e,t){return{rtl:t.isRtl,options:Re(Nd(),e)}}async function pu(e,t,n,r){const o=n?"scrollLeft":"scrollTop",s=Re((r==null?void 0:r.options)??Nd(),t),i=r==null?void 0:r.rtl.value,c=(typeof e=="number"?e:Mc(e))??0,a=s.container==="parent"&&c instanceof HTMLElement?c.parentElement:vee(s.container),u=typeof s.easing=="function"?s.easing:s.patterns[s.easing];if(!u)throw new TypeError(`Easing function "${s.easing}" not found.`);let l;if(typeof c=="number")l=Gs(c,n,i);else if(l=Gs(c,n,i)-Gs(a,n,i),s.layout){const g=window.getComputedStyle(c).getPropertyValue("--v-layout-top");g&&(l-=parseInt(g,10))}l+=s.offset,l=wee(a,l,!!i,!!n);const f=a[o]??0;if(l===f)return Promise.resolve(l);const h=performance.now();return new Promise(d=>requestAnimationFrame(function g(m){const k=(m-h)/s.duration,_=Math.floor(f+(l-f)*u(_d(k,0,1)));if(a[o]=_,k>=1&&Math.abs(_-a[o])<10)return d(l);if(k>2)return d(a[o]);requestAnimationFrame(g)}))}function kne(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=be(Id),{isRtl:n}=LX();if(!t)throw new Error("[Vuetify] Could not find injected goto instance");const r={...t,rtl:oe(()=>t.rtl.value||n.value)};async function o(s,i){return pu(s,Re(e,i),!1,r)}return o.horizontal=async(s,i)=>pu(s,Re(e,i),!0,r),o}function wee(e,t,n,r){const{scrollWidth:o,scrollHeight:s}=e,[i,c]=e===document.scrollingElement?[window.innerWidth,window.innerHeight]:[e.offsetWidth,e.offsetHeight];let a,u;return r?n?(a=-(o-i),u=0):(a=0,u=o-i):(a=0,u=s+-c),Math.max(Math.min(t,u),a)}const $d={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",eyeDropper:"mdi-eyedropper"},Hd={component:e=>qe(jd,{...e,class:"mdi"})},xee=[String,Function,Object,Array],Fi=Symbol.for("vuetify:icons"),cs=ss({icon:{type:xee},tag:{type:String,required:!0}},"icon"),gu=xX()({name:"VComponentIcon",props:cs(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return re(e.tag,null,{default:()=>{var o;return[e.icon?re(r,null,null):(o=n.default)==null?void 0:o.call(n)]}})}}}),Bd=Fr({name:"VSvgIcon",inheritAttrs:!1,props:cs(),setup(e,t){let{attrs:n}=t;return()=>re(e.tag,lc(n,{style:null}),{default:()=>[re("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(r=>Array.isArray(r)?re("path",{d:r[0],"fill-opacity":r[1]},null):re("path",{d:r},null)):re("path",{d:e.icon},null)])]})}});Fr({name:"VLigatureIcon",props:cs(),setup(e){return()=>re(e.tag,null,{default:()=>[e.icon]})}});const jd=Fr({name:"VClassIcon",props:cs(),setup(e){return()=>re(e.tag,{class:e.icon},null)}});function Cee(){return{svg:{component:Bd},class:{component:jd}}}function Eee(e){const t=Cee(),n=(e==null?void 0:e.defaultSet)??"mdi";return n==="mdi"&&!t.mdi&&(t.mdi=Hd),Re({defaultSet:n,sets:t,aliases:{...$d,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},e)}const wne=e=>{const t=be(Fi);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:oe(()=>{var a;const r=se(e);if(!r)return{component:gu};let o=r;if(typeof o=="string"&&(o=o.trim(),o.startsWith("$")&&(o=(a=t.aliases)==null?void 0:a[o.slice(1)])),Array.isArray(o))return{component:Bd,icon:o};if(typeof o!="string")return{component:gu,icon:o};const s=Object.keys(t.sets).find(u=>typeof o=="string"&&o.startsWith(`${u}:`)),i=s?o.slice(s.length+1):o;return{component:t.sets[s??t.defaultSet].component,icon:i}})}},kr=Symbol.for("vuetify:theme"),xne=ss({theme:String},"theme");function mu(){return{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function Aee(){var r,o;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:mu();const t=mu();if(!e)return{...t,isDisabled:!0};const n={};for(const[s,i]of Object.entries(e.themes??{})){const c=i.dark||s==="dark"?(r=t.themes)==null?void 0:r.dark:(o=t.themes)==null?void 0:o.light;n[s]=Re(c,i)}return Re(t,{...e,themes:n})}function See(e){const t=Aee(e),n=Pe(t.defaultTheme),r=Pe(t.themes),o=oe(()=>{const l={};for(const[f,h]of Object.entries(r.value)){const d=l[f]={...h,colors:{...h.colors}};if(t.variations)for(const g of t.variations.colors){const m=d.colors[g];if(m)for(const x of["lighten","darken"]){const k=x==="lighten"?mX:bX;for(const _ of md(t.variations[x],1))d.colors[`${g}-${x}-${_}`]=Cd(k(Dt(m),_))}}for(const g of Object.keys(d.colors)){if(/^on-[a-z]/.test(g)||d.colors[`on-${g}`])continue;const m=`on-${g}`,x=Dt(d.colors[g]);d.colors[m]=yX(x)}}return l}),s=oe(()=>o.value[n.value]),i=oe(()=>{var g;const l=[];(g=s.value)!=null&&g.dark&&rn(l,":root",["color-scheme: dark"]),rn(l,":root",bu(s.value));for(const[m,x]of Object.entries(o.value))rn(l,`.v-theme--${m}`,[`color-scheme: ${x.dark?"dark":"normal"}`,...bu(x)]);const f=[],h=[],d=new Set(Object.values(o.value).flatMap(m=>Object.keys(m.colors)));for(const m of d)/^on-[a-z]/.test(m)?rn(h,`.${m}`,[`color: rgb(var(--v-theme-${m})) !important`]):(rn(f,`.bg-${m}`,[`--v-theme-overlay-multiplier: var(--v-theme-${m}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${m})) !important`,`color: rgb(var(--v-theme-on-${m})) !important`]),rn(h,`.text-${m}`,[`color: rgb(var(--v-theme-${m})) !important`]),rn(h,`.border-${m}`,[`--v-border-color: var(--v-theme-${m})`]));return l.push(...f,...h),l.map((m,x)=>x===0?m:` ${m}`).join("")});function c(){return{style:[{children:i.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function a(l){if(t.isDisabled)return;const f=l._context.provides.usehead;if(f)if(f.push){const h=f.push(c);Be&&Xe(i,()=>{h.patch(c)})}else Be?(f.addHeadObjs(oe(c)),Sr(()=>f.updateDOM())):f.addHeadObjs(c());else{let d=function(){if(typeof document<"u"&&!h){const g=document.createElement("style");g.type="text/css",g.id="vuetify-theme-stylesheet",t.cspNonce&&g.setAttribute("nonce",t.cspNonce),h=g,document.head.appendChild(h)}h&&(h.innerHTML=i.value)},h=Be?document.getElementById("vuetify-theme-stylesheet"):null;Be?Xe(i,d,{immediate:!0}):d()}}const u=oe(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:a,isDisabled:t.isDisabled,name:n,themes:r,current:s,computedThemes:o,themeClasses:u,styles:i,global:{name:n,current:s}}}function Cne(e){_n("provideTheme");const t=be(kr,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=oe(()=>e.theme??t.name.value),r=oe(()=>t.themes.value[n.value]),o=oe(()=>t.isDisabled?void 0:`v-theme--${n.value}`),s={...t,name:n,current:r,themeClasses:o};return _t(kr,s),s}function Ene(){_n("useTheme");const e=be(kr,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function rn(e,t,n){e.push(`${t} { +`),n=n.replace(mY,"�"),t.src=n},yY=function(t){var n;t.inlineMode?(n=new t.Token("inline","",0),n.content=t.src,n.map=[0,1],n.children=[],t.tokens.push(n)):t.md.block.parse(t.src,t.md,t.env,t.tokens)},_Y=function(t){var n=t.tokens,r,o,s;for(o=0,s=n.length;o\s]/i.test(e)}function wY(e){return/^<\/a\s*>/i.test(e)}var xY=function(t){var n,r,o,s,i,c,a,u,l,f,h,d,g,m,x,k,_=t.tokens,p;if(t.md.options.linkify){for(r=0,o=_.length;r=0;n--){if(c=s[n],c.type==="link_close"){for(n--;s[n].level!==c.level&&s[n].type!=="link_open";)n--;continue}if(c.type==="html_inline"&&(kY(c.content)&&g>0&&g--,wY(c.content)&&g++),!(g>0)&&c.type==="text"&&t.md.linkify.test(c.content)){for(l=c.content,p=t.md.linkify.match(l),a=[],d=c.level,h=0,p.length>0&&p[0].index===0&&n>0&&s[n-1].type==="text_special"&&(p=p.slice(1)),u=0;uh&&(i=new t.Token("text","",0),i.content=l.slice(h,f),i.level=d,a.push(i)),i=new t.Token("link_open","a",1),i.attrs=[["href",x]],i.level=d++,i.markup="linkify",i.info="auto",a.push(i),i=new t.Token("text","",0),i.content=k,i.level=d,a.push(i),i=new t.Token("link_close","a",-1),i.level=--d,i.markup="linkify",i.info="auto",a.push(i),h=p[u].lastIndex);h=0;t--)n=e[t],n.type==="text"&&!r&&(n.content=n.content.replace(EY,SY)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function DY(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!r&&Jh.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}var RY=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(CY.test(t.tokens[n].content)&&TY(t.tokens[n].children),Jh.test(t.tokens[n].content)&&DY(t.tokens[n].children))},kl=ce.isWhiteSpace,wl=ce.isPunctChar,xl=ce.isMdAsciiPunct,PY=/['"]/,Cl=/['"]/g,El="’";function Zr(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function LY(e,t){var n,r,o,s,i,c,a,u,l,f,h,d,g,m,x,k,_,p,v,C,w;for(v=[],n=0;n=0&&!(v[_].level<=a);_--);if(v.length=_+1,r.type==="text"){o=r.content,i=0,c=o.length;e:for(;i=0)l=o.charCodeAt(s.index-1);else for(_=n-1;_>=0&&!(e[_].type==="softbreak"||e[_].type==="hardbreak");_--)if(e[_].content){l=e[_].content.charCodeAt(e[_].content.length-1);break}if(f=32,i=48&&l<=57&&(k=x=!1),x&&k&&(x=h,k=d),!x&&!k){p&&(r.content=Zr(r.content,s.index,El));continue}if(k){for(_=v.length-1;_>=0&&(u=v[_],!(v[_].level=0;n--)t.tokens[n].type!=="inline"||!PY.test(t.tokens[n].content)||LY(t.tokens[n].children,t)},MY=function(t){var n,r,o,s,i,c,a=t.tokens;for(n=0,r=a.length;n=0&&(r=this.attrs[n][1]),r};Zn.prototype.attrJoin=function(t,n){var r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};var Cc=Zn,OY=Cc;function Qh(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Qh.prototype.Token=OY;var qY=Qh,IY=xc,Ms=[["normalize",bY],["block",yY],["inline",_Y],["linkify",xY],["replacements",RY],["smartquotes",FY],["text_join",MY]];function Ec(){this.ruler=new IY;for(var e=0;er||(l=n+1,t.sCount[l]=4||(c=t.bMarks[l]+t.tShift[l],c>=t.eMarks[l])||(C=t.src.charCodeAt(c++),C!==124&&C!==45&&C!==58)||c>=t.eMarks[l]||(w=t.src.charCodeAt(c++),w!==124&&w!==45&&w!==58&&!Os(w))||C===45&&Os(w))return!1;for(;c=4||(f=Al(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),h=f.length,h===0||h!==g.length))return!1;if(o)return!0;for(_=t.parentType,t.parentType="table",v=t.md.block.ruler.getRules("blockquote"),d=t.push("table_open","table",1),d.map=x=[n,0],d=t.push("thead_open","thead",1),d.map=[n,n+1],d=t.push("tr_open","tr",1),d.map=[n,n+1],a=0;a=4)break;for(f=Al(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),l===n+2&&(d=t.push("tbody_open","tbody",1),d.map=k=[n+2,0]),d=t.push("tr_open","tr",1),d.map=[l,l+1],a=0;a=4){o++,s=o;continue}break}return t.line=s,i=t.push("code_block","code",0),i.content=t.getLines(n,s,4+t.blkIndent,!1)+` +`,i.map=[n,t.line],!0},BY=function(t,n,r,o){var s,i,c,a,u,l,f,h=!1,d=t.bMarks[n]+t.tShift[n],g=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||d+3>g||(s=t.src.charCodeAt(d),s!==126&&s!==96)||(u=d,d=t.skipChars(d,s),i=d-u,i<3)||(f=t.src.slice(u,d),c=t.src.slice(d,g),s===96&&c.indexOf(String.fromCharCode(s))>=0))return!1;if(o)return!0;for(a=n;a++,!(a>=r||(d=u=t.bMarks[a]+t.tShift[a],g=t.eMarks[a],d=4)&&(d=t.skipChars(d,s),!(d-u=4||t.src.charCodeAt(A)!==62)return!1;if(o)return!0;for(g=[],m=[],_=[],p=[],w=t.md.block.ruler.getRules("blockquote"),k=t.parentType,t.parentType="blockquote",h=n;h=j));h++){if(t.src.charCodeAt(A++)===62&&!I){for(a=t.sCount[h]+1,t.src.charCodeAt(A)===32?(A++,a++,s=!1,v=!0):t.src.charCodeAt(A)===9?(v=!0,(t.bsCount[h]+a)%4===3?(A++,a++,s=!1):s=!0):v=!1,d=a,g.push(t.bMarks[h]),t.bMarks[h]=A;A=j,m.push(t.bsCount[h]),t.bsCount[h]=t.sCount[h]+1+(v?1:0),_.push(t.sCount[h]),t.sCount[h]=d-a,p.push(t.tShift[h]),t.tShift[h]=A-t.bMarks[h];continue}if(l)break;for(C=!1,c=0,u=w.length;c",S.map=f=[n,0],t.md.block.tokenize(t,n,h),S=t.push("blockquote_close","blockquote",-1),S.markup=">",t.lineMax=L,t.parentType=k,f[1]=t.line,c=0;c=4||(s=t.src.charCodeAt(u++),s!==42&&s!==45&&s!==95))return!1;for(i=1;u=s||(n=e.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=s)return-1;if(n=e.src.charCodeAt(o++),n>=48&&n<=57){if(o-r>=10)return-1;continue}if(n===41||n===46)break;return-1}return o=4||t.listIndent>=0&&t.sCount[T]-t.listIndent>=4&&t.sCount[T]=t.blkIndent&&(J=!0),(A=Tl(t,T))>=0){if(f=!0,M=t.bMarks[T]+t.tShift[T],k=Number(t.src.slice(M,A-1)),J&&k!==1)return!1}else if((A=Sl(t,T))>=0)f=!1;else return!1;if(J&&t.skipSpaces(A)>=t.eMarks[T])return!1;if(o)return!0;for(x=t.src.charCodeAt(A-1),m=t.tokens.length,f?(G=t.push("ordered_list_open","ol",1),k!==1&&(G.attrs=[["start",k]])):G=t.push("bullet_list_open","ul",1),G.map=g=[T,0],G.markup=String.fromCharCode(x),j=!1,P=t.md.block.ruler.getRules("list"),C=t.parentType,t.parentType="list";T=_?u=1:u=p-l,u>4&&(u=1),a=l+u,G=t.push("list_item_open","li",1),G.markup=String.fromCharCode(x),G.map=h=[T,0],f&&(G.info=t.src.slice(M,A-1)),I=t.tight,S=t.tShift[T],w=t.sCount[T],v=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=a,t.tight=!0,t.tShift[T]=i-t.bMarks[T],t.sCount[T]=p,i>=_&&t.isEmpty(T+1)?t.line=Math.min(t.line+2,r):t.md.block.tokenize(t,T,r,!0),(!t.tight||j)&&(W=!1),j=t.line-T>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=v,t.tShift[T]=S,t.sCount[T]=w,t.tight=I,G=t.push("list_item_close","li",-1),G.markup=String.fromCharCode(x),T=t.line,h[1]=T,T>=r||t.sCount[T]=4)break;for(z=!1,c=0,d=P.length;c=4||t.src.charCodeAt(w)!==91)return!1;for(;++w3)&&!(t.sCount[I]<0)){for(_=!1,l=0,f=p.length;l"u"&&(t.env.references={}),typeof t.env.references[h]>"u"&&(t.env.references[h]={title:v,href:u}),t.parentType=g,t.line=n+C+1),!0)},YY=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Xo={},JY="[a-zA-Z_:][a-zA-Z0-9:._-]*",QY="[^\"'=<>`\\x00-\\x20]+",XY="'[^']*'",eJ='"[^"]*"',tJ="(?:"+QY+"|"+XY+"|"+eJ+")",nJ="(?:\\s+"+JY+"(?:\\s*=\\s*"+tJ+")?)",ed="<[A-Za-z][A-Za-z0-9\\-]*"+nJ+"*\\s*\\/?>",td="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",rJ="|",oJ="<[?][\\s\\S]*?[?]>",sJ="]*>",iJ="",cJ=new RegExp("^(?:"+ed+"|"+td+"|"+rJ+"|"+oJ+"|"+sJ+"|"+iJ+")"),aJ=new RegExp("^(?:"+ed+"|"+td+")");Xo.HTML_TAG_RE=cJ;Xo.HTML_OPEN_CLOSE_TAG_RE=aJ;var lJ=YY,uJ=Xo.HTML_OPEN_CLOSE_TAG_RE,Cn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(uJ.source+"\\s*$"),/^$/,!1]],fJ=function(t,n,r,o){var s,i,c,a,u=t.bMarks[n]+t.tShift[n],l=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(u)!==60)return!1;for(a=t.src.slice(u,l),s=0;s=4||(s=t.src.charCodeAt(u),s!==35||u>=l))return!1;for(i=1,s=t.src.charCodeAt(++u);s===35&&u6||uu&&Dl(t.src.charCodeAt(c-1))&&(l=c),t.line=n+1,a=t.push("heading_open","h"+String(i),1),a.markup="########".slice(0,i),a.map=[n,t.line],a=t.push("inline","",0),a.content=t.src.slice(u,l).trim(),a.map=[n,t.line],a.children=[],a=t.push("heading_close","h"+String(i),-1),a.markup="########".slice(0,i)),!0)},dJ=function(t,n,r){var o,s,i,c,a,u,l,f,h,d=n+1,g,m=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(g=t.parentType,t.parentType="paragraph";d3)){if(t.sCount[d]>=t.blkIndent&&(u=t.bMarks[d]+t.tShift[d],l=t.eMarks[d],u=l)))){f=h===61?1:2;break}if(!(t.sCount[d]<0)){for(s=!1,i=0,c=m.length;i3)&&!(t.sCount[l]<0)){for(s=!1,i=0,c=f.length;i0&&this.level++,this.tokens.push(r),r};kt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};kt.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!es(this.src.charCodeAt(--t)))return t+1;return t};kt.prototype.skipChars=function(t,n){for(var r=this.src.length;tr;)if(n!==this.src.charCodeAt(--t))return t+1;return t};kt.prototype.getLines=function(t,n,r,o){var s,i,c,a,u,l,f,h=t;if(t>=n)return"";for(l=new Array(n-t),s=0;hr?l[s]=new Array(i-r+1).join(" ")+this.src.slice(a,u):l[s]=this.src.slice(a,u)}return l.join("")};kt.prototype.Token=nd;var gJ=kt,mJ=xc,Jr=[["table",$Y,["paragraph","reference"]],["code",HY],["fence",BY,["paragraph","reference","blockquote","list"]],["blockquote",UY,["paragraph","reference","blockquote","list"]],["hr",zY,["paragraph","reference","blockquote","list"]],["list",WY,["paragraph","reference","blockquote"]],["reference",ZY],["html_block",fJ,["paragraph","reference","blockquote"]],["heading",hJ,["paragraph","reference","blockquote"]],["lheading",dJ],["paragraph",pJ]];function ts(){this.ruler=new mJ;for(var e=0;e=n||e.sCount[a]=l){e.line=n;break}for(s=e.line,o=0;o=e.line)throw new Error("block rule didn't increment state.line");break}if(!r)throw new Error("none of the block rules matched");e.tight=!u,e.isEmpty(e.line-1)&&(u=!0),a=e.line,a0||(r=t.pos,o=t.posMax,r+3>o)||t.src.charCodeAt(r)!==58||t.src.charCodeAt(r+1)!==47||t.src.charCodeAt(r+2)!==47||(s=t.pending.match(vJ),!s)||(i=s[1],c=t.md.linkify.matchAtStart(t.src.slice(r-i.length)),!c)||(a=c.url,a.length<=i.length)||(a=a.replace(/\*+$/,""),u=t.md.normalizeLink(a),!t.md.validateLink(u))?!1:(n||(t.pending=t.pending.slice(0,-i.length),l=t.push("link_open","a",1),l.attrs=[["href",u]],l.markup="linkify",l.info="auto",l=t.push("text","",0),l.content=t.md.normalizeLinkText(a),l=t.push("link_close","a",-1),l.markup="linkify",l.info="auto"),t.pos+=a.length-i.length,!0)},wJ=ce.isSpace,xJ=function(t,n){var r,o,s,i=t.pos;if(t.src.charCodeAt(i)!==10)return!1;if(r=t.pending.length-1,o=t.posMax,!n)if(r>=0&&t.pending.charCodeAt(r)===32)if(r>=1&&t.pending.charCodeAt(r-1)===32){for(s=r-1;s>=1&&t.pending.charCodeAt(s-1)===32;)s--;t.pending=t.pending.slice(0,s),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(e){Ac[e.charCodeAt(0)]=1});var EJ=function(t,n){var r,o,s,i,c,a=t.pos,u=t.posMax;if(t.src.charCodeAt(a)!==92||(a++,a>=u))return!1;if(r=t.src.charCodeAt(a),r===10){for(n||t.push("hardbreak","br",0),a++;a=55296&&r<=56319&&a+1=56320&&o<=57343&&(i+=t.src[a+1],a++)),s="\\"+i,n||(c=t.push("text_special","",0),r<256&&Ac[r]!==0?c.content=i:c.content=s,c.markup=s,c.info="escape"),t.pos=a+1,!0},AJ=function(t,n){var r,o,s,i,c,a,u,l,f=t.pos,h=t.src.charCodeAt(f);if(h!==96)return!1;for(r=f,f++,o=t.posMax;f=0;n--)r=t[n],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(o=t[r.end],c=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===o.token+1,i=String.fromCharCode(r.marker),s=e.tokens[r.token],s.type=c?"strong_open":"em_open",s.tag=c?"strong":"em",s.nesting=1,s.markup=c?i+i:i,s.content="",s=e.tokens[o.token],s.type=c?"strong_close":"em_close",s.tag=c?"strong":"em",s.nesting=-1,s.markup=c?i+i:i,s.content="",c&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}rs.postProcess=function(t){var n,r=t.tokens_meta,o=t.tokens_meta.length;for(Ll(t,t.delimiters),n=0;n=m)return!1;if(x=a,u=t.md.helpers.parseLinkDestination(t.src,a,t.posMax),u.ok){for(h=t.md.normalizeLink(u.str),t.md.validateLink(h)?a=u.pos:h="",x=a;a=m||t.src.charCodeAt(a)!==41)&&(k=!0),a++}if(k){if(typeof t.env.references>"u")return!1;if(a=0?s=t.src.slice(x,a++):a=i+1):a=i+1,s||(s=t.src.slice(c,i)),l=t.env.references[SJ(s)],!l)return t.pos=g,!1;h=l.href,d=l.title}return n||(t.pos=c,t.posMax=i,f=t.push("link_open","a",1),f.attrs=r=[["href",h]],d&&r.push(["title",d]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,f=t.push("link_close","a",-1)),t.pos=a,t.posMax=m,!0},DJ=ce.normalizeReference,Ns=ce.isSpace,RJ=function(t,n){var r,o,s,i,c,a,u,l,f,h,d,g,m,x="",k=t.pos,_=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91||(a=t.pos+2,c=t.md.helpers.parseLinkLabel(t,t.pos+1,!1),c<0))return!1;if(u=c+1,u<_&&t.src.charCodeAt(u)===40){for(u++;u<_&&(o=t.src.charCodeAt(u),!(!Ns(o)&&o!==10));u++);if(u>=_)return!1;for(m=u,f=t.md.helpers.parseLinkDestination(t.src,u,t.posMax),f.ok&&(x=t.md.normalizeLink(f.str),t.md.validateLink(x)?u=f.pos:x=""),m=u;u<_&&(o=t.src.charCodeAt(u),!(!Ns(o)&&o!==10));u++);if(f=t.md.helpers.parseLinkTitle(t.src,u,t.posMax),u<_&&m!==u&&f.ok)for(h=f.str,u=f.pos;u<_&&(o=t.src.charCodeAt(u),!(!Ns(o)&&o!==10));u++);else h="";if(u>=_||t.src.charCodeAt(u)!==41)return t.pos=k,!1;u++}else{if(typeof t.env.references>"u")return!1;if(u<_&&t.src.charCodeAt(u)===91?(m=u+1,u=t.md.helpers.parseLinkLabel(t,u),u>=0?i=t.src.slice(m,u++):u=c+1):u=c+1,i||(i=t.src.slice(a,c)),l=t.env.references[DJ(i)],!l)return t.pos=k,!1;x=l.href,h=l.title}return n||(s=t.src.slice(a,c),t.md.inline.parse(s,t.md,t.env,g=[]),d=t.push("image","img",0),d.attrs=r=[["src",x],["alt",""]],d.children=g,d.content=s,h&&r.push(["title",h])),t.pos=u,t.posMax=_,!0},PJ=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,LJ=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,FJ=function(t,n){var r,o,s,i,c,a,u=t.pos;if(t.src.charCodeAt(u)!==60)return!1;for(c=t.pos,a=t.posMax;;){if(++u>=a||(i=t.src.charCodeAt(u),i===60))return!1;if(i===62)break}return r=t.src.slice(c+1,u),LJ.test(r)?(o=t.md.normalizeLink(r),t.md.validateLink(o)?(n||(s=t.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=t.push("text","",0),s.content=t.md.normalizeLinkText(r),s=t.push("link_close","a",-1),s.markup="autolink",s.info="auto"),t.pos+=r.length+2,!0):!1):PJ.test(r)?(o=t.md.normalizeLink("mailto:"+r),t.md.validateLink(o)?(n||(s=t.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=t.push("text","",0),s.content=t.md.normalizeLinkText(r),s=t.push("link_close","a",-1),s.markup="autolink",s.info="auto"),t.pos+=r.length+2,!0):!1):!1},MJ=Xo.HTML_TAG_RE;function OJ(e){return/^\s]/i.test(e)}function qJ(e){return/^<\/a\s*>/i.test(e)}function IJ(e){var t=e|32;return t>=97&&t<=122}var NJ=function(t,n){var r,o,s,i,c=t.pos;return!t.md.options.html||(s=t.posMax,t.src.charCodeAt(c)!==60||c+2>=s)||(r=t.src.charCodeAt(c+1),r!==33&&r!==63&&r!==47&&!IJ(r))||(o=t.src.slice(c).match(MJ),!o)?!1:(n||(i=t.push("html_inline","",0),i.content=o[0],OJ(i.content)&&t.linkLevel++,qJ(i.content)&&t.linkLevel--),t.pos+=o[0].length,!0)},Fl=Wh,$J=ce.has,HJ=ce.isValidEntityCode,Ml=ce.fromCodePoint,BJ=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,jJ=/^&([a-z][a-z0-9]{1,31});/i,UJ=function(t,n){var r,o,s,i,c=t.pos,a=t.posMax;if(t.src.charCodeAt(c)!==38||c+1>=a)return!1;if(r=t.src.charCodeAt(c+1),r===35){if(s=t.src.slice(c).match(BJ),s)return n||(o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),i=t.push("text_special","",0),i.content=HJ(o)?Ml(o):Ml(65533),i.markup=s[0],i.info="entity"),t.pos+=s[0].length,!0}else if(s=t.src.slice(c).match(jJ),s&&$J(Fl,s[1]))return n||(i=t.push("text_special","",0),i.content=Fl[s[1]],i.markup=s[0],i.info="entity"),t.pos+=s[0].length,!0;return!1};function Ol(e){var t,n,r,o,s,i,c,a,u={},l=e.length;if(l){var f=0,h=-2,d=[];for(t=0;ts;n-=d[n]+1)if(o=e[n],o.marker===r.marker&&o.open&&o.end<0&&(c=!1,(o.close||r.open)&&(o.length+r.length)%3===0&&(o.length%3!==0||r.length%3!==0)&&(c=!0),!c)){a=n>0&&!e[n-1].open?d[n-1]+1:0,d[t]=t-n+a,d[n]=a,r.open=!1,o.end=t,o.close=!1,i=-1,h=-2;break}i!==-1&&(u[r.marker][(r.open?3:0)+(r.length||0)%3]=i)}}}var VJ=function(t){var n,r=t.tokens_meta,o=t.tokens_meta.length;for(Ol(t.delimiters),n=0;n0&&o++,s[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r};Lr.prototype.scanDelims=function(e,t){var n=e,r,o,s,i,c,a,u,l,f,h=!0,d=!0,g=this.posMax,m=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;n=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;t||e.pos++,c[r]=e.pos};Fr.prototype.tokenize=function(e){for(var t,n,r,o=this.ruler.getRules(""),s=o.length,i=e.posMax,c=e.md.options.maxNesting;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(t){if(e.pos>=i)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};Fr.prototype.parse=function(e,t,n,r){var o,s,i,c=new this.State(e,t,n,r);for(this.tokenize(c),s=this.ruler2.getRules(""),i=s.length,o=0;o|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),Bs}function Si(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function os(e){return Object.prototype.toString.call(e)}function ZJ(e){return os(e)==="[object String]"}function YJ(e){return os(e)==="[object Object]"}function JJ(e){return os(e)==="[object RegExp]"}function Bl(e){return os(e)==="[object Function]"}function QJ(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var rd={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function XJ(e){return Object.keys(e||{}).reduce(function(t,n){return t||rd.hasOwnProperty(n)},!1)}var eQ={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},tQ="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",nQ="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function rQ(e){e.__index__=-1,e.__text_cache__=""}function oQ(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function jl(){return function(e,t){t.normalize(e)}}function Po(e){var t=e.re=KJ()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(tQ),n.push(t.src_xn),t.src_tlds=n.join("|");function r(c){return c.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var o=[];e.__compiled__={};function s(c,a){throw new Error('(LinkifyIt) Invalid schema "'+c+'": '+a)}Object.keys(e.__schemas__).forEach(function(c){var a=e.__schemas__[c];if(a!==null){var u={validate:null,link:null};if(e.__compiled__[c]=u,YJ(a)){JJ(a.validate)?u.validate=oQ(a.validate):Bl(a.validate)?u.validate=a.validate:s(c,a),Bl(a.normalize)?u.normalize=a.normalize:a.normalize?s(c,a):u.normalize=jl();return}if(ZJ(a)){o.push(c);return}s(c,a)}}),o.forEach(function(c){e.__compiled__[e.__schemas__[c]]&&(e.__compiled__[c].validate=e.__compiled__[e.__schemas__[c]].validate,e.__compiled__[c].normalize=e.__compiled__[e.__schemas__[c]].normalize)}),e.__compiled__[""]={validate:null,normalize:jl()};var i=Object.keys(e.__compiled__).filter(function(c){return c.length>0&&e.__compiled__[c]}).map(QJ).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),rQ(e)}function sQ(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function Ti(e,t){var n=new sQ(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function We(e,t){if(!(this instanceof We))return new We(e,t);t||XJ(e)&&(t=e,e={}),this.__opts__=Si({},rd,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Si({},eQ,e),this.__compiled__={},this.__tlds__=nQ,this.__tlds_replaced__=!1,this.re={},Po(this)}We.prototype.add=function(t,n){return this.__schemas__[t]=n,Po(this),this};We.prototype.set=function(t){return this.__opts__=Si(this.__opts__,t),this};We.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,r,o,s,i,c,a,u,l;if(this.re.schema_test.test(t)){for(a=this.re.schema_search,a.lastIndex=0;(n=a.exec(t))!==null;)if(s=this.testSchemaAt(t,n[2],a.lastIndex),s){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=t.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u=0&&(o=t.match(this.re.email_fuzzy))!==null&&(i=o.index+o[1].length,c=o.index+o[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=c))),this.__index__>=0};We.prototype.pretest=function(t){return this.re.pretest.test(t)};We.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};We.prototype.match=function(t){var n=0,r=[];this.__index__>=0&&this.__text_cache__===t&&(r.push(Ti(this,n)),n=this.__last_index__);for(var o=n?t.slice(n):t;this.test(o);)r.push(Ti(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};We.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var n=this.re.schema_at_start.exec(t);if(!n)return null;var r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,Ti(this,0)):null};We.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,o,s){return r!==s[o-1]}).reverse(),Po(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Po(this),this)};We.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};We.prototype.onCompile=function(){};var iQ=We;const Hn=2147483647,mt=36,Tc=1,kr=26,cQ=38,aQ=700,od=72,sd=128,id="-",lQ=/^xn--/,uQ=/[^\0-\x7F]/,fQ=/[\x2E\u3002\uFF0E\uFF61]/g,hQ={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},js=mt-Tc,bt=Math.floor,Us=String.fromCharCode;function Vt(e){throw new RangeError(hQ[e])}function dQ(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function cd(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(fQ,".");const o=e.split("."),s=dQ(o,t).join(".");return r+s}function Dc(e){const t=[];let n=0;const r=e.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...e),pQ=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:mt},Ul=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},ld=function(e,t,n){let r=0;for(e=n?bt(e/aQ):e>>1,e+=bt(e/t);e>js*kr>>1;r+=mt)e=bt(e/js);return bt(r+(js+1)*e/(e+cQ))},Rc=function(e){const t=[],n=e.length;let r=0,o=sd,s=od,i=e.lastIndexOf(id);i<0&&(i=0);for(let c=0;c=128&&Vt("not-basic"),t.push(e.charCodeAt(c));for(let c=i>0?i+1:0;c=n&&Vt("invalid-input");const h=pQ(e.charCodeAt(c++));h>=mt&&Vt("invalid-input"),h>bt((Hn-r)/l)&&Vt("overflow"),r+=h*l;const d=f<=s?Tc:f>=s+kr?kr:f-s;if(hbt(Hn/g)&&Vt("overflow"),l*=g}const u=t.length+1;s=ld(r-a,u,a==0),bt(r/u)>Hn-o&&Vt("overflow"),o+=bt(r/u),r%=u,t.splice(r++,0,o)}return String.fromCodePoint(...t)},Pc=function(e){const t=[];e=Dc(e);const n=e.length;let r=sd,o=0,s=od;for(const a of e)a<128&&t.push(Us(a));const i=t.length;let c=i;for(i&&t.push(id);c=r&&lbt((Hn-o)/u)&&Vt("overflow"),o+=(a-r)*u,r=a;for(const l of e)if(lHn&&Vt("overflow"),l===r){let f=o;for(let h=mt;;h+=mt){const d=h<=s?Tc:h>=s+kr?kr:h-s;if(f=0))try{t.hostname=hd.toASCII(t.hostname)}catch{}return cn.encode(cn.format(t))}function LQ(e){var t=cn.parse(e,!0);if(t.hostname&&(!t.protocol||dd.indexOf(t.protocol)>=0))try{t.hostname=hd.toUnicode(t.hostname)}catch{}return cn.decode(cn.format(t),cn.decode.defaultChars+"%")}function nt(e,t){if(!(this instanceof nt))return new nt(e,t);t||fr.isString(e)||(t=e||{},e="default"),this.inline=new EQ,this.block=new CQ,this.core=new xQ,this.renderer=new wQ,this.linkify=new AQ,this.validateLink=RQ,this.normalizeLink=PQ,this.normalizeLinkText=LQ,this.utils=fr,this.helpers=fr.assign({},kQ),this.options={},this.configure(e),t&&this.set(t)}nt.prototype.set=function(e){return fr.assign(this.options,e),this};nt.prototype.configure=function(e){var t=this,n;if(fr.isString(e)&&(n=e,e=SQ[n],!e))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this};nt.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(o){return n.indexOf(o)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};nt.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(o){return n.indexOf(o)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};nt.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};nt.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};nt.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};nt.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};nt.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var FQ=nt,MQ=FQ;const OQ=E_(MQ),qQ=ut(()=>{const e=new OQ;return{provide:{markdown:e.render.bind(e)}}});function IQ(e,t){let n;function r(){n=Pu(),n.run(()=>t.length?t(()=>{n==null||n.stop(),r()}):t())}Xe(e,o=>{o&&!n?r():o||(n==null||n.stop(),n=void 0)},{immediate:!0}),op(()=>{n==null||n.stop()})}const Be=typeof window<"u",Lte=Be&&"IntersectionObserver"in window,NQ=Be&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),Fte=Be&&"EyeDropper"in window;function Vl(e,t,n){$Q(e,t),t.set(e,n)}function $Q(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function HQ(e,t,n){return e.set(pd(e,t),n),n}function nn(e,t){return e.get(pd(e,t))}function pd(e,t,n){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function gd(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let o=0;oBQ(e[r],t[r]))}function Di(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),gd(e,t.split("."),n))}function Mte(e,t,n){if(t===!0)return e===void 0?n:e;if(t==null||typeof t=="boolean")return n;if(e!==Object(e)){if(typeof t!="function")return n;const o=t(e,n);return typeof o>"u"?n:o}if(typeof t=="string")return Di(e,t,n);if(Array.isArray(t))return gd(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function md(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function Ote(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function zl(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function bd(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const qte=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),Ite=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function Nte(e){return Object.keys(e)}function Vs(e,t){return t.every(n=>e.hasOwnProperty(n))}function jQ(e,t){const n={},r=new Set(Object.keys(e));for(const o of t)r.has(o)&&(n[o]=e[o]);return n}function Gl(e,t,n){const r=Object.create(null),o=Object.create(null);for(const s in e)t.some(i=>i instanceof RegExp?i.test(s):i===s)&&!(n!=null&&n.some(i=>i===s))?r[s]=e[s]:o[s]=e[s];return[r,o]}function UQ(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}function $te(e,t){const n={};return t.forEach(r=>n[r]=e[r]),n}const yd=/^on[^a-z]/,Hte=e=>yd.test(e),VQ=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],zQ=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function Bte(e){return e.isComposing&&zQ.includes(e.key)}function jte(e){const[t,n]=Gl(e,[yd]),r=UQ(t,VQ),[o,s]=Gl(n,["class","style","id",/^data-/]);return Object.assign(o,t),Object.assign(s,r),[o,s]}function Ute(e){return e==null?[]:Array.isArray(e)?e:[e]}function Vte(e,t){let n=0;const r=function(){for(var o=arguments.length,s=new Array(o),i=0;ie(...s),se(t))};return r.clear=()=>{clearTimeout(n)},r.immediate=e,r}function _d(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function zte(e){const t=e.toString().trim();return t.includes(".")?t.length-t.indexOf(".")-1:0}function Wl(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function Kl(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function GQ(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r1&&arguments[1]!==void 0?arguments[1]:1e3;if(e=t&&r0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const o in e)r[o]=e[o];for(const o in t){const s=e[o],i=t[o];if(zl(s)&&zl(i)){r[o]=Re(s,i,n);continue}if(Array.isArray(s)&&Array.isArray(i)&&n){r[o]=n(s,i);continue}r[o]=i}return r}function WQ(e){return e.map(t=>t.type===we?WQ(t.children):t).flat()}function hn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(hn.cache.has(e))return hn.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return hn.cache.set(e,t),t}hn.cache=new Map;function Qr(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Qr(e,n)).flat(1);if(t.suspense)return Qr(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(n=>Qr(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return Qr(e,t.component.subTree).flat(1)}return[]}var Xr=new WeakMap,En=new WeakMap;class Wte{constructor(t){Vl(this,Xr,[]),Vl(this,En,0),this.size=t}push(t){nn(Xr,this)[nn(En,this)]=t,HQ(En,this,(nn(En,this)+1)%this.size)}values(){return nn(Xr,this).slice(nn(En,this)).concat(nn(Xr,this).slice(0,nn(En,this)))}}function Kte(e){return"touches"in e?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}}function Zte(e){const t=rt({}),n=oe(e);return Tr(()=>{for(const r in n.value)t[r]=n.value[r]},{flush:"sync"}),Zu(t)}function Yte(e,t){return e.includes(t)}function Jte(e){return e[2].toLowerCase()+e.slice(3)}const Qte=()=>[Function,Array];function Xte(e,t){return t="on"+Er(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function ene(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(r=>`${r}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(n)]}function ZQ(e,t,n){let r,o=e.indexOf(document.activeElement);const s=t==="next"?1:-1;do o+=s,r=e[o];while((!r||r.offsetParent==null||!((n==null?void 0:n(r))??!0))&&o=0);return r}function YQ(e,t){var r,o,s,i;const n=KQ(e);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((r=n[0])==null||r.focus());else if(t==="first")(o=n[0])==null||o.focus();else if(t==="last")(s=n.at(-1))==null||s.focus();else if(typeof t=="number")(i=n[t])==null||i.focus();else{const c=ZQ(n,t);c?c.focus():YQ(e,t==="next"?"first":"last")}}function tne(){}function nne(e,t){if(!(Be&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function JQ(e){return e.some(t=>dn(t)?t.type===ve?!1:t.type!==we||JQ(t.children):!0)?e:null}function rne(e,t){if(!Be||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}function one(e,t){const n=Ge();return Tr(()=>{n.value=e()},{flush:"sync",...t}),Ui(n)}function sne(e,t){const n=e.clientX,r=e.clientY,o=t.getBoundingClientRect(),s=o.left,i=o.top,c=o.right,a=o.bottom;return n>=s&&n<=c&&r>=i&&r<=a}function ine(){const e=Ge(),t=n=>{e.value=n};return Object.defineProperty(t,"value",{enumerable:!0,get:()=>e.value,set:n=>e.value=n}),Object.defineProperty(t,"el",{enumerable:!0,get:()=>bd(e.value)}),t}const An=2.4,Zl=.2126729,Yl=.7151522,Jl=.072175,QQ=.55,XQ=.58,eX=.57,tX=.62,eo=.03,Ql=1.45,nX=5e-4,rX=1.25,oX=1.25,Xl=.078,eu=12.82051282051282,to=.06,tu=.001;function nu(e,t){const n=(e.r/255)**An,r=(e.g/255)**An,o=(e.b/255)**An,s=(t.r/255)**An,i=(t.g/255)**An,c=(t.b/255)**An;let a=n*Zl+r*Yl+o*Jl,u=s*Zl+i*Yl+c*Jl;if(a<=eo&&(a+=(eo-a)**Ql),u<=eo&&(u+=(eo-u)**Ql),Math.abs(u-a)a){const f=(u**QQ-a**XQ)*rX;l=f-tu?0:f>-Xl?f-f*eu*to:f+to}return l*100}function cne(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const Lo=.20689655172413793,sX=e=>e>Lo**3?Math.cbrt(e):e/(3*Lo**2)+4/29,iX=e=>e>Lo?e**3:3*Lo**2*(e-4/29);function vd(e){const t=sX,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function kd(e){const t=iX,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const cX=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],aX=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,lX=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],uX=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function wd(e){const t=Array(3),n=aX,r=cX;for(let o=0;o<3;++o)t[o]=Math.round(_d(n(r[o][0]*e[0]+r[o][1]*e[1]+r[o][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Lc(e){let{r:t,g:n,b:r}=e;const o=[0,0,0],s=uX,i=lX;t=s(t/255),n=s(n/255),r=s(r/255);for(let c=0;c<3;++c)o[c]=i[c][0]*t+i[c][1]*n+i[c][2]*r;return o}function fX(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function ane(e){return fX(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const ru=/^(?(?:rgb|hsl)a?)\((?.+)\)/,hX={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>ou({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>ou({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>gn({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>gn({h:e,s:t,v:n,a:r})};function Dt(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&ru.test(e)){const{groups:t}=e.match(ru),{fn:n,values:r}=t,o=r.split(/,\s*/).map(s=>s.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(s)/100:parseFloat(s));return hX[n](...o)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),Ed(t)}else if(typeof e=="object"){if(Vs(e,["r","g","b"]))return e;if(Vs(e,["h","s","l"]))return gn(xd(e));if(Vs(e,["h","s","v"]))return gn(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} +Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function gn(e){const{h:t,s:n,v:r,a:o}=e,s=c=>{const a=(c+t/60)%6;return r-r*n*Math.max(Math.min(a,4-a,1),0)},i=[s(5),s(3),s(1)].map(c=>Math.round(c*255));return{r:i[0],g:i[1],b:i[2],a:o}}function ou(e){return gn(xd(e))}function dX(e){if(!e)return{h:0,s:1,v:1,a:1};const t=e.r/255,n=e.g/255,r=e.b/255,o=Math.max(t,n,r),s=Math.min(t,n,r);let i=0;o!==s&&(o===t?i=60*(0+(n-r)/(o-s)):o===n?i=60*(2+(r-t)/(o-s)):o===r&&(i=60*(4+(t-n)/(o-s)))),i<0&&(i=i+360);const c=o===0?0:(o-s)/o,a=[i,c,o];return{h:a[0],s:a[1],v:a[2],a:e.a}}function lne(e){const{h:t,s:n,v:r,a:o}=e,s=r-r*n/2,i=s===1||s===0?0:(r-s)/Math.min(s,1-s);return{h:t,s:i,l:s,a:o}}function xd(e){const{h:t,s:n,l:r,a:o}=e,s=r+n*Math.min(r,1-r),i=s===0?0:2-2*r/s;return{h:t,s:i,v:s,a:o}}function pX(e){let{r:t,g:n,b:r,a:o}=e;return o===void 0?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${o})`}function une(e){return pX(gn(e))}function no(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function Cd(e){let{r:t,g:n,b:r,a:o}=e;return`#${[no(t),no(n),no(r),o!==void 0?no(Math.round(o*255)):""].join("")}`}function Ed(e){e=gX(e);let[t,n,r,o]=GQ(e,2).map(s=>parseInt(s,16));return o=o===void 0?o:o/255,{r:t,g:n,b:r,a:o}}function fne(e){const t=Ed(e);return dX(t)}function hne(e){return Cd(gn(e))}function gX(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=Wl(Wl(e,6),8,"F")),e}function mX(e,t){const n=vd(Lc(e));return n[0]=n[0]+t*10,wd(kd(n))}function bX(e,t){const n=vd(Lc(e));return n[0]=n[0]-t*10,wd(kd(n))}function Ri(e){const t=Dt(e);return Lc(t)[1]}function dne(e,t){const n=Ri(e),r=Ri(t),o=Math.max(n,r),s=Math.min(n,r);return(o+.05)/(s+.05)}function yX(e){const t=Math.abs(nu(Dt(0),Dt(e)));return Math.abs(nu(Dt(16777215),Dt(e)))>Math.min(t,50)?"#fff":"#000"}function ss(e,t){return n=>Object.keys(e).reduce((r,o)=>{const i=typeof e[o]=="object"&&e[o]!=null&&!Array.isArray(e[o])?e[o]:{type:e[o]};return n&&o in n?r[o]={...i,default:n[o]}:r[o]=i,t&&!r[o].source&&(r[o].source=t),r},{})}function _n(e,t){const n=bn();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function _X(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=_n(e).type;return hn((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let Ad=0,fo=new WeakMap;function Sd(){const e=_n("getUid");if(fo.has(e))return fo.get(e);{const t=Ad++;return fo.set(e,t),t}}Sd.reset=()=>{Ad=0,fo=new WeakMap};function vX(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_n("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}const zn=Symbol.for("vuetify:defaults");function kX(e){return Pe(e)}function Fc(){const e=be(zn);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function pne(e,t){const n=Fc(),r=Pe(e),o=oe(()=>{if(se(t==null?void 0:t.disabled))return n.value;const i=se(t==null?void 0:t.scoped),c=se(t==null?void 0:t.reset),a=se(t==null?void 0:t.root);if(r.value==null&&!(i||c||a))return n.value;let u=Re(r.value,{prev:n.value});if(i)return u;if(c||a){const l=Number(c||1/0);for(let f=0;f<=l&&!(!u||!("prev"in u));f++)u=u.prev;return u&&typeof a=="string"&&a in u&&(u=Re(Re(u,{prev:u}),u[a])),u}return u.prev?Re(u.prev,u):u});return _t(zn,o),o}function wX(e,t){var n,r;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((r=e.props)==null?void 0:r[hn(t)])<"u"}function Td(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Fc();const r=_n("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const o=oe(()=>{var a;return(a=n.value)==null?void 0:a[e._as??t]}),s=new Proxy(e,{get(a,u){var f,h,d,g,m,x,k;const l=Reflect.get(a,u);return u==="class"||u==="style"?[(f=o.value)==null?void 0:f[u],l].filter(_=>_!=null):typeof u=="string"&&!wX(r.vnode,u)?((h=o.value)==null?void 0:h[u])!==void 0?(d=o.value)==null?void 0:d[u]:((m=(g=n.value)==null?void 0:g.global)==null?void 0:m[u])!==void 0?(k=(x=n.value)==null?void 0:x.global)==null?void 0:k[u]:l:l}}),i=Ge();Tr(()=>{if(o.value){const a=Object.entries(o.value).filter(u=>{let[l]=u;return l.startsWith(l[0].toUpperCase())});i.value=a.length?Object.fromEntries(a):void 0}else i.value=void 0});function c(){const a=vX(zn,r);_t(zn,oe(()=>i.value?Re((a==null?void 0:a.value)??{},i.value):a==null?void 0:a.value))}return{props:s,provideSubDefaults:c}}function gne(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const{props:n,provideSubDefaults:r}=Td(e,t);return r(),n}function Mr(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=ss(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(r){return jQ(r,t)},e.props._as=String,e.setup=function(r,o){const s=Fc();if(!s.value)return e._setup(r,o);const{props:i,provideSubDefaults:c}=Td(r,r._as??e.name,s),a=e._setup(i,o);return c(),a}}return e}function xX(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?Mr:Ft)(t)}function CX(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const s=_n("useProxiedModel"),i=Pe(e[t]!==void 0?e[t]:n),c=hn(t),u=oe(c!==t?()=>{var f,h,d,g;return e[t],!!(((f=s.vnode.props)!=null&&f.hasOwnProperty(t)||(h=s.vnode.props)!=null&&h.hasOwnProperty(c))&&((d=s.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${t}`)||(g=s.vnode.props)!=null&&g.hasOwnProperty(`onUpdate:${c}`)))}:()=>{var f,h;return e[t],!!((f=s.vnode.props)!=null&&f.hasOwnProperty(t)&&((h=s.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${t}`)))});IQ(()=>!u.value,()=>{Xe(()=>e[t],f=>{i.value=f})});const l=oe({get(){const f=e[t];return r(u.value?f:i.value)},set(f){const h=o(f),d=ne(u.value?e[t]:i.value);d===h||r(d)===f||(i.value=h,s==null||s.emit(`update:${t}`,h))}});return Object.defineProperty(l,"externalValue",{get:()=>u.value?e[t]:i.value}),l}const EX={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},su="$vuetify.",iu=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[+r])),Dd=(e,t,n)=>function(r){for(var o=arguments.length,s=new Array(o>1?o-1:0),i=1;inew Intl.NumberFormat([e.value,t.value],r).format(n)}function zs(e,t,n){const r=CX(e,t,e[t]??n.value);return r.value=e[t]??n.value,Xe(n,o=>{e[t]==null&&(r.value=n.value)}),r}function Pd(e){return t=>{const n=zs(t,"locale",e.current),r=zs(t,"fallback",e.fallback),o=zs(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:o,t:Dd(n,r,o),n:Rd(n,r),provide:Pd({current:n,fallback:r,messages:o})}}}function AX(e){const t=Ge((e==null?void 0:e.locale)??"en"),n=Ge((e==null?void 0:e.fallback)??"en"),r=Pe({en:EX,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:r,t:Dd(t,n,r),n:Rd(t,n),provide:Pd({current:t,fallback:n,messages:r})}}const Fo=Symbol.for("vuetify:locale");function SX(e){return e.name!=null}function TX(e){const t=e!=null&&e.adapter&&SX(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:AX(e),n=PX(t,e);return{...t,...n}}function DX(){const e=be(Fo);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function RX(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function PX(e,t){const n=Pe((t==null?void 0:t.rtl)??RX()),r=oe(()=>n.value[e.current.value]??!1);return{isRtl:r,rtl:n,rtlClasses:oe(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function LX(){const e=be(Fo);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const is={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function FX(e,t,n){const r=[];let o=[];const s=Ld(e),i=Fd(e),c=n??is[t.slice(-2).toUpperCase()]??0,a=(s.getDay()-c+7)%7,u=(i.getDay()-c+7)%7;for(let l=0;l0&&r.push(o),r}function MX(e,t,n){const r=n??is[t.slice(-2).toUpperCase()]??0,o=new Date(e);for(;o.getDay()!==r;)o.setDate(o.getDate()-1);return o}function OX(e,t){const n=new Date(e),r=((is[t.slice(-2).toUpperCase()]??0)+6)%7;for(;n.getDay()!==r;)n.setDate(n.getDate()+1);return n}function Ld(e){return new Date(e.getFullYear(),e.getMonth(),1)}function Fd(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function qX(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const IX=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function Md(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(IX.test(e))return qX(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const cu=new Date(2e3,0,2);function NX(e,t){const n=t??is[e.slice(-2).toUpperCase()]??0;return md(7).map(r=>{const o=new Date(cu);return o.setDate(cu.getDate()+n+r),new Intl.DateTimeFormat(e,{weekday:"narrow"}).format(o)})}function $X(e,t,n,r){const o=Md(e)??new Date,s=r==null?void 0:r[t];if(typeof s=="function")return s(o,t,n);let i={};switch(t){case"fullDate":i={year:"numeric",month:"long",day:"numeric"};break;case"fullDateWithWeekday":i={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const c=o.getDate(),a=new Intl.DateTimeFormat(n,{month:"long"}).format(o);return`${c} ${a}`;case"normalDateWithWeekday":i={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":i={month:"short",day:"numeric"};break;case"year":i={year:"numeric"};break;case"month":i={month:"long"};break;case"monthShort":i={month:"short"};break;case"monthAndYear":i={month:"long",year:"numeric"};break;case"monthAndDate":i={month:"long",day:"numeric"};break;case"weekday":i={weekday:"long"};break;case"weekdayShort":i={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(n).format(o.getDate());case"hours12h":i={hour:"numeric",hour12:!0};break;case"hours24h":i={hour:"numeric",hour12:!1};break;case"minutes":i={minute:"numeric"};break;case"seconds":i={second:"numeric"};break;case"fullTime":i={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime12h":i={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime24h":i={hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"fullDateTime":i={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime12h":i={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime24h":i={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDate":i={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":i={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDateTime12h":i={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"keyboardDateTime24h":i={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;default:i=s??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,i).format(o)}function HX(e,t){const n=e.toJsDate(t),r=n.getFullYear(),o=Kl(String(n.getMonth()+1),2,"0"),s=Kl(String(n.getDate()),2,"0");return`${r}-${o}-${s}`}function BX(e){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}function jX(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function UX(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function VX(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function zX(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function GX(e,t){const n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function WX(e){return e.getFullYear()}function KX(e){return e.getMonth()}function ZX(e){return e.getDate()}function YX(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function JX(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function QX(e){return e.getHours()}function XX(e){return e.getMinutes()}function eee(e){return new Date(e.getFullYear(),0,1)}function tee(e){return new Date(e.getFullYear(),11,31)}function nee(e,t){return Mo(e,t[0])&&see(e,t[1])}function ree(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function Mo(e,t){return e.getTime()>t.getTime()}function oee(e,t){return Mo(Pi(e),Pi(t))}function see(e,t){return e.getTime(){n.locale=e.locale[r]??r??n.locale}),n}function mne(){const e=be(Od);if(!e)throw new Error("[Vuetify] Could not find injected date options");const t=DX();return qd(e,t)}function bne(e,t){const n=e.toJsDate(t);let r=n.getFullYear(),o=new Date(r,0,1);if(n=c&&(r=r+1,o=c)}const s=Math.abs(n.getTime()-o.getTime()),i=Math.ceil(s/(1e3*60*60*24));return Math.floor(i/7)+1}const yne=["sm","md","lg","xl","xxl"],Li=Symbol.for("vuetify:display"),uu={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},yee=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:uu;return Re(uu,e)};function fu(e){return Be&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function hu(e){return Be&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function du(e){const t=Be&&!e?window.navigator.userAgent:"ssr";function n(g){return!!t.match(g)}const r=n(/android/i),o=n(/iphone|ipad|ipod/i),s=n(/cordova/i),i=n(/electron/i),c=n(/chrome/i),a=n(/edge/i),u=n(/firefox/i),l=n(/opera/i),f=n(/win/i),h=n(/mac/i),d=n(/linux/i);return{android:r,ios:o,cordova:s,electron:i,chrome:c,edge:a,firefox:u,opera:l,win:f,mac:h,linux:d,touch:NQ,ssr:t==="ssr"}}function _ee(e,t){const{thresholds:n,mobileBreakpoint:r}=yee(e),o=Ge(hu(t)),s=Ge(du(t)),i=rt({}),c=Ge(fu(t));function a(){o.value=hu(),c.value=fu()}function u(){a(),s.value=du()}return Tr(()=>{const l=c.value=n.xxl,x=l?"xs":f?"sm":h?"md":d?"lg":g?"xl":"xxl",k=typeof r=="number"?r:n[r],_=c.value0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_X();const n=be(Li);if(!n)throw new Error("Could not find Vuetify display injection");const r=oe(()=>{if(e.mobile!=null)return e.mobile;if(!e.mobileBreakpoint)return n.mobile.value;const s=typeof e.mobileBreakpoint=="number"?e.mobileBreakpoint:n.thresholds.value[e.mobileBreakpoint];return n.width.valuet?{[`${t}--mobile`]:r.value}:{});return{...n,displayClasses:o,mobile:r}}const Id=Symbol.for("vuetify:goto");function Nd(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:{linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5}}}function vee(e){return Mc(e)??(document.scrollingElement||document.body)}function Mc(e){return typeof e=="string"?document.querySelector(e):bd(e)}function Gs(e,t,n){if(typeof e=="number")return t&&n?-e:e;let r=Mc(e),o=0;for(;r;)o+=t?r.offsetLeft:r.offsetTop,r=r.offsetParent;return o}function kee(e,t){return{rtl:t.isRtl,options:Re(Nd(),e)}}async function pu(e,t,n,r){const o=n?"scrollLeft":"scrollTop",s=Re((r==null?void 0:r.options)??Nd(),t),i=r==null?void 0:r.rtl.value,c=(typeof e=="number"?e:Mc(e))??0,a=s.container==="parent"&&c instanceof HTMLElement?c.parentElement:vee(s.container),u=typeof s.easing=="function"?s.easing:s.patterns[s.easing];if(!u)throw new TypeError(`Easing function "${s.easing}" not found.`);let l;if(typeof c=="number")l=Gs(c,n,i);else if(l=Gs(c,n,i)-Gs(a,n,i),s.layout){const g=window.getComputedStyle(c).getPropertyValue("--v-layout-top");g&&(l-=parseInt(g,10))}l+=s.offset,l=wee(a,l,!!i,!!n);const f=a[o]??0;if(l===f)return Promise.resolve(l);const h=performance.now();return new Promise(d=>requestAnimationFrame(function g(m){const k=(m-h)/s.duration,_=Math.floor(f+(l-f)*u(_d(k,0,1)));if(a[o]=_,k>=1&&Math.abs(_-a[o])<10)return d(l);if(k>2)return d(a[o]);requestAnimationFrame(g)}))}function kne(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=be(Id),{isRtl:n}=LX();if(!t)throw new Error("[Vuetify] Could not find injected goto instance");const r={...t,rtl:oe(()=>t.rtl.value||n.value)};async function o(s,i){return pu(s,Re(e,i),!1,r)}return o.horizontal=async(s,i)=>pu(s,Re(e,i),!0,r),o}function wee(e,t,n,r){const{scrollWidth:o,scrollHeight:s}=e,[i,c]=e===document.scrollingElement?[window.innerWidth,window.innerHeight]:[e.offsetWidth,e.offsetHeight];let a,u;return r?n?(a=-(o-i),u=0):(a=0,u=o-i):(a=0,u=s+-c),Math.max(Math.min(t,u),a)}const $d={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",eyeDropper:"mdi-eyedropper"},Hd={component:e=>qe(jd,{...e,class:"mdi"})},xee=[String,Function,Object,Array],Fi=Symbol.for("vuetify:icons"),cs=ss({icon:{type:xee},tag:{type:String,required:!0}},"icon"),gu=xX()({name:"VComponentIcon",props:cs(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return re(e.tag,null,{default:()=>{var o;return[e.icon?re(r,null,null):(o=n.default)==null?void 0:o.call(n)]}})}}}),Bd=Mr({name:"VSvgIcon",inheritAttrs:!1,props:cs(),setup(e,t){let{attrs:n}=t;return()=>re(e.tag,lc(n,{style:null}),{default:()=>[re("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(r=>Array.isArray(r)?re("path",{d:r[0],"fill-opacity":r[1]},null):re("path",{d:r},null)):re("path",{d:e.icon},null)])]})}});Mr({name:"VLigatureIcon",props:cs(),setup(e){return()=>re(e.tag,null,{default:()=>[e.icon]})}});const jd=Mr({name:"VClassIcon",props:cs(),setup(e){return()=>re(e.tag,{class:e.icon},null)}});function Cee(){return{svg:{component:Bd},class:{component:jd}}}function Eee(e){const t=Cee(),n=(e==null?void 0:e.defaultSet)??"mdi";return n==="mdi"&&!t.mdi&&(t.mdi=Hd),Re({defaultSet:n,sets:t,aliases:{...$d,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},e)}const wne=e=>{const t=be(Fi);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:oe(()=>{var a;const r=se(e);if(!r)return{component:gu};let o=r;if(typeof o=="string"&&(o=o.trim(),o.startsWith("$")&&(o=(a=t.aliases)==null?void 0:a[o.slice(1)])),Array.isArray(o))return{component:Bd,icon:o};if(typeof o!="string")return{component:gu,icon:o};const s=Object.keys(t.sets).find(u=>typeof o=="string"&&o.startsWith(`${u}:`)),i=s?o.slice(s.length+1):o;return{component:t.sets[s??t.defaultSet].component,icon:i}})}},wr=Symbol.for("vuetify:theme"),xne=ss({theme:String},"theme");function mu(){return{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function Aee(){var r,o;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:mu();const t=mu();if(!e)return{...t,isDisabled:!0};const n={};for(const[s,i]of Object.entries(e.themes??{})){const c=i.dark||s==="dark"?(r=t.themes)==null?void 0:r.dark:(o=t.themes)==null?void 0:o.light;n[s]=Re(c,i)}return Re(t,{...e,themes:n})}function See(e){const t=Aee(e),n=Pe(t.defaultTheme),r=Pe(t.themes),o=oe(()=>{const l={};for(const[f,h]of Object.entries(r.value)){const d=l[f]={...h,colors:{...h.colors}};if(t.variations)for(const g of t.variations.colors){const m=d.colors[g];if(m)for(const x of["lighten","darken"]){const k=x==="lighten"?mX:bX;for(const _ of md(t.variations[x],1))d.colors[`${g}-${x}-${_}`]=Cd(k(Dt(m),_))}}for(const g of Object.keys(d.colors)){if(/^on-[a-z]/.test(g)||d.colors[`on-${g}`])continue;const m=`on-${g}`,x=Dt(d.colors[g]);d.colors[m]=yX(x)}}return l}),s=oe(()=>o.value[n.value]),i=oe(()=>{var g;const l=[];(g=s.value)!=null&&g.dark&&rn(l,":root",["color-scheme: dark"]),rn(l,":root",bu(s.value));for(const[m,x]of Object.entries(o.value))rn(l,`.v-theme--${m}`,[`color-scheme: ${x.dark?"dark":"normal"}`,...bu(x)]);const f=[],h=[],d=new Set(Object.values(o.value).flatMap(m=>Object.keys(m.colors)));for(const m of d)/^on-[a-z]/.test(m)?rn(h,`.${m}`,[`color: rgb(var(--v-theme-${m})) !important`]):(rn(f,`.bg-${m}`,[`--v-theme-overlay-multiplier: var(--v-theme-${m}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${m})) !important`,`color: rgb(var(--v-theme-on-${m})) !important`]),rn(h,`.text-${m}`,[`color: rgb(var(--v-theme-${m})) !important`]),rn(h,`.border-${m}`,[`--v-border-color: var(--v-theme-${m})`]));return l.push(...f,...h),l.map((m,x)=>x===0?m:` ${m}`).join("")});function c(){return{style:[{children:i.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function a(l){if(t.isDisabled)return;const f=l._context.provides.usehead;if(f)if(f.push){const h=f.push(c);Be&&Xe(i,()=>{h.patch(c)})}else Be?(f.addHeadObjs(oe(c)),Tr(()=>f.updateDOM())):f.addHeadObjs(c());else{let d=function(){if(typeof document<"u"&&!h){const g=document.createElement("style");g.type="text/css",g.id="vuetify-theme-stylesheet",t.cspNonce&&g.setAttribute("nonce",t.cspNonce),h=g,document.head.appendChild(h)}h&&(h.innerHTML=i.value)},h=Be?document.getElementById("vuetify-theme-stylesheet"):null;Be?Xe(i,d,{immediate:!0}):d()}}const u=oe(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:a,isDisabled:t.isDisabled,name:n,themes:r,current:s,computedThemes:o,themeClasses:u,styles:i,global:{name:n,current:s}}}function Cne(e){_n("provideTheme");const t=be(wr,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=oe(()=>e.theme??t.name.value),r=oe(()=>t.themes.value[n.value]),o=oe(()=>t.isDisabled?void 0:`v-theme--${n.value}`),s={...t,name:n,current:r,themeClasses:o};return _t(wr,s),s}function Ene(){_n("useTheme");const e=be(wr,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function rn(e,t,n){e.push(`${t} { `,...n.map(r=>` ${r}; `),`} -`)}function bu(e){const t=e.dark?2:1,n=e.dark?1:2,r=[];for(const[o,s]of Object.entries(e.colors)){const i=Dt(s);r.push(`--v-theme-${o}: ${i.r},${i.g},${i.b}`),o.startsWith("on-")||r.push(`--v-theme-${o}-overlay-multiplier: ${Ri(s)>.18?t:n}`)}for(const[o,s]of Object.entries(e.variables)){const i=typeof s=="string"&&s.startsWith("#")?Dt(s):void 0,c=i?`${i.r}, ${i.g}, ${i.b}`:void 0;r.push(`--v-${o}: ${c??s}`)}return r}function Ud(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,r=Re(t,n),{aliases:o={},components:s={},directives:i={}}=r,c=kX(r.defaults),a=_ee(r.display,r.ssr),u=See(r.theme),l=Eee(r.icons),f=TX(r.locale),h=bee(r.date,f),d=kee(r.goTo,f);return{install:m=>{for(const x in i)m.directive(x,i[x]);for(const x in s)m.component(x,s[x]);for(const x in o)m.component(x,Fr({...o[x],name:x,aliasName:o[x].name}));if(u.install(m),m.provide(zn,c),m.provide(Li,a),m.provide(kr,u),m.provide(Fi,l),m.provide(Fo,f),m.provide(Od,h.options),m.provide(lu,h.instance),m.provide(Id,d),Be&&r.ssr)if(m.$nuxt)m.$nuxt.hook("app:suspense:resolve",()=>{a.update()});else{const{mount:x}=m;m.mount=function(){const k=x(...arguments);return mn(()=>a.update()),m.mount=x,k}}Sd.reset(),m.mixin({computed:{$vuetify(){return rt({defaults:Sn.call(this,zn),display:Sn.call(this,Li),theme:Sn.call(this,kr),icons:Sn.call(this,Fi),locale:Sn.call(this,Fo),date:Sn.call(this,lu)})}}})},defaults:c,display:a,theme:u,icons:l,locale:f,date:h,goTo:d}}const Tee="3.6.13";Ud.version=Tee;function Sn(e){var r,o;const t=this.$,n=((r=t.parent)==null?void 0:r.provides)??((o=t.vnode.appContext)==null?void 0:o.provides);if(n&&e in n)return n[e]}const Dee={base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"},Ree={base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"},Pee={base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"},Lee={base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"},Fee={base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"},Mee={base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"},Oee={base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"},qee={base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"},Iee={base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"},Nee={base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"},$ee={base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"},Hee={base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"},Bee={base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"},jee={base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"},Uee={base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"},Vee={base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"},zee={base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"},Gee={base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"},Wee={base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"},Kee={black:"#000000",white:"#ffffff",transparent:"#ffffff00"},no={red:Dee,pink:Ree,purple:Pee,deepPurple:Lee,indigo:Fee,blue:Mee,lightBlue:Oee,cyan:qee,teal:Iee,green:Nee,lightGreen:$ee,lime:Hee,yellow:Bee,amber:jee,orange:Uee,deepOrange:Vee,brown:zee,blueGrey:Gee,grey:Wee,shades:Kee},Zee=ut(e=>{const t=Ud({ssr:!0,theme:{themes:{light:{dark:!1,colors:{primary:no.cyan.darken1,accent:no.cyan.accent3}},dark:{dark:!0,colors:{surface:no.blueGrey.darken4,primary:no.cyan.lighten4}}}},icons:{defaultSet:"mdi",aliases:$d,sets:{mdi:Hd}}});e.vueApp.use(t)}),Yee=[ey,ny,b_,y_,__,v_,w_,x_,C_,qQ,Zee],Jee=Ft({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o],enumerable:!0});return _t(Rr,Tt(r)),()=>qe(e.vnode,{ref:e.vnodeRef})}}),Qee=Ft({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const o=_e(),s=Pe(),i=be(Rr,null);let c;r({pageRef:s});const a=be(_h,null);let u;const l=o.deferHydration();if(o.isHydrating){const f=o.hooks.hookOnce("app:error",l);tt().beforeEach(f)}return e.pageKey&&Xe(()=>e.pageKey,(f,h)=>{f!==h&&o.callHook("page:loading:start")}),()=>qe(zh,{name:e.name,route:e.route,...t},{default:f=>{const h=ete(i,f.route,f.Component),d=i&&i.matched.length===f.route.matched.length;if(!f.Component){if(u&&!d)return u;l();return}if(u&&a&&!a.isCurrent(f.route))return u;if(h&&i&&(!a||a!=null&&a.isCurrent(i)))return d?u:null;const g=Ai(f,e.pageKey);!o.isHydrating&&!tte(i,f.route,f.Component)&&c===g&&o.callHook("page:loading:end"),c=g;const m=!!(e.transition??f.route.meta.pageTransition??di),x=m&&Xee([e.transition,f.route.meta.pageTransition,di,{onAfterLeave:()=>{o.callHook("page:transition:finish",f.Component)}}].filter(Boolean)),k=e.keepalive??f.route.meta.keepalive??I0;return u=Gh(Zf,m&&x,i_(k,qe(cc,{suspensible:!0,onPending:()=>o.callHook("page:start",f.Component),onResolve:()=>{mn(()=>o.callHook("page:finish",f.Component).then(()=>o.callHook("page:loading:end")).finally(l))}},{default:()=>{const _=qe(Jee,{key:g||void 0,vnode:n.default?qe(we,void 0,n.default(f)):f.Component,route:f.route,renderKey:g||void 0,trackRootNodes:m,vnodeRef:s});return k&&(_.type.name=f.Component.type.name||f.Component.type.__name||"RouteProvider"),_}}))).default(),u}})}});function Xee(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?vc(n.onAfterLeave):void 0}));return bh(...t)}function ete(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>{var s;return((s=o.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((o,s)=>{var i,c,a;return((i=o.components)==null?void 0:i.default)!==((a=(c=e.matched[s])==null?void 0:c.components)==null?void 0:a.default)})||n&&Ai({route:t,Component:n})!==Ai({route:e,Component:n})}function tte(e,t,n){return e?t.matched.findIndex(o=>{var s;return((s=o.components)==null?void 0:s.default)===(n==null?void 0:n.type)})r.default||r);return()=>qe(n,e.layoutProps,t.slots)}}),rte=Ft({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=_e(),r=be(Rr),o=r===gc()?o_():r,s=oe(()=>{let a=se(e.name)??o.meta.layout??"default";return a&&!(a in zt)&&e.fallback&&(a=se(e.fallback)),a}),i=Pe();t.expose({layoutRef:i});const c=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",c);tt().beforeEach(a)}return()=>{const a=s.value&&s.value in zt,u=o.meta.layoutTransition??q0;return Gh(Zf,a&&u,{default:()=>qe(cc,{suspensible:!0,onResolve:()=>{mn(c)}},{default:()=>qe(ote,{layoutProps:lc(t.attrs,{ref:i}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),ote=Ft({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&_t(_h,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,o;return!n||typeof n=="string"&&!(n in zt)?(o=(r=t.slots).default)==null?void 0:o.call(r):qe(nte,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),ste=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ite={};function cte(e,t){const n=Qee,r=rte;return Je(),If("div",null,[re(r,null,{default:Zi(()=>[re(n)]),_:1})])}const ate=ste(ite,[["render",cte]]),lte={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(` +`)}function bu(e){const t=e.dark?2:1,n=e.dark?1:2,r=[];for(const[o,s]of Object.entries(e.colors)){const i=Dt(s);r.push(`--v-theme-${o}: ${i.r},${i.g},${i.b}`),o.startsWith("on-")||r.push(`--v-theme-${o}-overlay-multiplier: ${Ri(s)>.18?t:n}`)}for(const[o,s]of Object.entries(e.variables)){const i=typeof s=="string"&&s.startsWith("#")?Dt(s):void 0,c=i?`${i.r}, ${i.g}, ${i.b}`:void 0;r.push(`--v-${o}: ${c??s}`)}return r}function Ud(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,r=Re(t,n),{aliases:o={},components:s={},directives:i={}}=r,c=kX(r.defaults),a=_ee(r.display,r.ssr),u=See(r.theme),l=Eee(r.icons),f=TX(r.locale),h=bee(r.date,f),d=kee(r.goTo,f);return{install:m=>{for(const x in i)m.directive(x,i[x]);for(const x in s)m.component(x,s[x]);for(const x in o)m.component(x,Mr({...o[x],name:x,aliasName:o[x].name}));if(u.install(m),m.provide(zn,c),m.provide(Li,a),m.provide(wr,u),m.provide(Fi,l),m.provide(Fo,f),m.provide(Od,h.options),m.provide(lu,h.instance),m.provide(Id,d),Be&&r.ssr)if(m.$nuxt)m.$nuxt.hook("app:suspense:resolve",()=>{a.update()});else{const{mount:x}=m;m.mount=function(){const k=x(...arguments);return mn(()=>a.update()),m.mount=x,k}}Sd.reset(),m.mixin({computed:{$vuetify(){return rt({defaults:Sn.call(this,zn),display:Sn.call(this,Li),theme:Sn.call(this,wr),icons:Sn.call(this,Fi),locale:Sn.call(this,Fo),date:Sn.call(this,lu)})}}})},defaults:c,display:a,theme:u,icons:l,locale:f,date:h,goTo:d}}const Tee="3.6.13";Ud.version=Tee;function Sn(e){var r,o;const t=this.$,n=((r=t.parent)==null?void 0:r.provides)??((o=t.vnode.appContext)==null?void 0:o.provides);if(n&&e in n)return n[e]}const Dee={base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"},Ree={base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"},Pee={base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"},Lee={base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"},Fee={base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"},Mee={base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"},Oee={base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"},qee={base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"},Iee={base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"},Nee={base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"},$ee={base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"},Hee={base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"},Bee={base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"},jee={base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"},Uee={base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"},Vee={base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"},zee={base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"},Gee={base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"},Wee={base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"},Kee={black:"#000000",white:"#ffffff",transparent:"#ffffff00"},ro={red:Dee,pink:Ree,purple:Pee,deepPurple:Lee,indigo:Fee,blue:Mee,lightBlue:Oee,cyan:qee,teal:Iee,green:Nee,lightGreen:$ee,lime:Hee,yellow:Bee,amber:jee,orange:Uee,deepOrange:Vee,brown:zee,blueGrey:Gee,grey:Wee,shades:Kee},Zee=ut(e=>{const t=Ud({ssr:!0,theme:{themes:{light:{dark:!1,colors:{primary:ro.cyan.darken1,accent:ro.cyan.accent3}},dark:{dark:!0,colors:{surface:ro.blueGrey.darken4,primary:ro.cyan.lighten4}}}},icons:{defaultSet:"mdi",aliases:$d,sets:{mdi:Hd}}});e.vueApp.use(t)}),Yee=[ey,ny,b_,y_,__,v_,w_,x_,C_,qQ,Zee],Jee=Ft({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o],enumerable:!0});return _t(Pr,Tt(r)),()=>qe(e.vnode,{ref:e.vnodeRef})}}),Qee=Ft({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const o=_e(),s=Pe(),i=be(Pr,null);let c;r({pageRef:s});const a=be(_h,null);let u;const l=o.deferHydration();if(o.isHydrating){const f=o.hooks.hookOnce("app:error",l);tt().beforeEach(f)}return e.pageKey&&Xe(()=>e.pageKey,(f,h)=>{f!==h&&o.callHook("page:loading:start")}),()=>qe(zh,{name:e.name,route:e.route,...t},{default:f=>{const h=ete(i,f.route,f.Component),d=i&&i.matched.length===f.route.matched.length;if(!f.Component){if(u&&!d)return u;l();return}if(u&&a&&!a.isCurrent(f.route))return u;if(h&&i&&(!a||a!=null&&a.isCurrent(i)))return d?u:null;const g=Ai(f,e.pageKey);!o.isHydrating&&!tte(i,f.route,f.Component)&&c===g&&o.callHook("page:loading:end"),c=g;const m=!!(e.transition??f.route.meta.pageTransition??di),x=m&&Xee([e.transition,f.route.meta.pageTransition,di,{onAfterLeave:()=>{o.callHook("page:transition:finish",f.Component)}}].filter(Boolean)),k=e.keepalive??f.route.meta.keepalive??I0;return u=Gh(Zf,m&&x,i_(k,qe(cc,{suspensible:!0,onPending:()=>o.callHook("page:start",f.Component),onResolve:()=>{mn(()=>o.callHook("page:finish",f.Component).then(()=>o.callHook("page:loading:end")).finally(l))}},{default:()=>{const _=qe(Jee,{key:g||void 0,vnode:n.default?qe(we,void 0,n.default(f)):f.Component,route:f.route,renderKey:g||void 0,trackRootNodes:m,vnodeRef:s});return k&&(_.type.name=f.Component.type.name||f.Component.type.__name||"RouteProvider"),_}}))).default(),u}})}});function Xee(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?vc(n.onAfterLeave):void 0}));return bh(...t)}function ete(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>{var s;return((s=o.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((o,s)=>{var i,c,a;return((i=o.components)==null?void 0:i.default)!==((a=(c=e.matched[s])==null?void 0:c.components)==null?void 0:a.default)})||n&&Ai({route:t,Component:n})!==Ai({route:e,Component:n})}function tte(e,t,n){return e?t.matched.findIndex(o=>{var s;return((s=o.components)==null?void 0:s.default)===(n==null?void 0:n.type)})r.default||r);return()=>qe(n,e.layoutProps,t.slots)}}),rte=Ft({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=_e(),r=be(Pr),o=r===gc()?o_():r,s=oe(()=>{let a=se(e.name)??o.meta.layout??"default";return a&&!(a in zt)&&e.fallback&&(a=se(e.fallback)),a}),i=Pe();t.expose({layoutRef:i});const c=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",c);tt().beforeEach(a)}return()=>{const a=s.value&&s.value in zt,u=o.meta.layoutTransition??q0;return Gh(Zf,a&&u,{default:()=>qe(cc,{suspensible:!0,onResolve:()=>{mn(c)}},{default:()=>qe(ote,{layoutProps:lc(t.attrs,{ref:i}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),ote=Ft({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&_t(_h,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,o;return!n||typeof n=="string"&&!(n in zt)?(o=(r=t.slots).default)==null?void 0:o.call(r):qe(nte,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),ste=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ite={};function cte(e,t){const n=Qee,r=rte;return Je(),If("div",null,[re(r,null,{default:Zi(()=>[re(n)]),_:1})])}const ate=ste(ite,[["render",cte]]),lte={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(` `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`${f.text}`).join(` -`);const r=Number(n.statusCode||500),o=r===404,s=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),c=void 0,l=o?Yc(()=>Te(()=>import("./pn7Sr6eo.js"),__vite__mapDeps([54,30,55]),import.meta.url)):Yc(()=>Te(()=>import("./rzM9Bwnp.js"),__vite__mapDeps([56,30,57]),import.meta.url));return(f,h)=>(Je(),St(se(l),ep(Hf({statusCode:se(r),statusMessage:se(s),description:se(i),stack:se(c)})),null,16))}},ute={key:0},yu={__name:"nuxt-root",setup(e){const t=()=>null,n=_e(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);tt().beforeEach(a)}const o=!1;_t(Rr,gc()),n.hooks.callHookWith(a=>a.map(u=>u()),"vue:setup");const s=Go(),i=!1;hf((a,u,l)=>{if(n.hooks.callHook("vue:error",a,u,l).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),ob(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Ln(a)),!1});const c=!1;return(a,u)=>(Je(),St(cc,{onResolve:se(r)},{default:Zi(()=>[se(i)?(Je(),If("div",ute)):se(s)?(Je(),St(se(lte),{key:1,error:se(s)},null,8,["error"])):se(c)?(Je(),St(se(t),{key:2,context:se(c)},null,8,["context"])):se(o)?(Je(),St(ag(se(o)),{key:3})):(Je(),St(se(ate),{key:4}))]),_:1},8,["onResolve"]))}};let _u;{let e;_u=async function(){var i,c;if(e)return e;const r=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((c=document.getElementById("__NUXT_DATA__"))==null?void 0:c.dataset.ssr)==="true")?Rm(yu):Dm(yu),o=j0({vueApp:r});async function s(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||Wo(a)}r.config.errorHandler=s;try{await z0(o,Yee)}catch(a){s(a)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount($0),await o.hooks.callHook("app:mounted",r),await mn()}catch(a){s(a)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},e=_u().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Sp as $,Zi as A,Bf as B,gc as C,St as D,se as E,kte as F,pte as G,fte as H,we as I,gte as J,qo as K,ss as L,xX as M,CX as N,bte as O,Rr as P,Be as Q,Xe as R,mn as S,KQ as T,lc as U,rt as V,ff as W,Mp as X,Ene as Y,Te as Z,ste as _,_e as a,Hf as a$,Hte as a0,Jte as a1,Pte as a2,E_ as a3,OQ as a4,yne as a5,Cr as a6,Zf as a7,wte as a8,Io as a9,jte as aA,Pt as aB,ene as aC,et as aD,Cte as aE,_d as aF,BQ as aG,pne as aH,nne as aI,UQ as aJ,zte as aK,md as aL,Ite as aM,Zte as aN,Pu as aO,ine as aP,vne as aQ,Ui as aR,hte as aS,sne as aT,ZQ as aU,YQ as aV,_te as aW,vte as aX,mne as aY,bne as aZ,ep as a_,gne as aa,ag as ab,Lu as ac,op as ad,bn as ae,Sr as af,Ge as ag,be as ah,yte as ai,ne as aj,Qte as ak,xne as al,DX as am,_X as an,xee as ao,Cne as ap,LX as aq,Sd as ar,Ote as as,jQ as at,Ute as au,_t as av,_n as aw,ng as ax,IQ as ay,$te as az,kc as b,Nte as b0,_ne as b1,kne as b2,zl as b3,Fr as b4,Kte as b5,hne as b6,Vs as b7,gn as b8,lne as b9,Lte as bA,cne as bB,Xi as bC,Jr as bD,Yte as bE,Ae as bF,fX as bG,ane as bH,yX as bI,wne as bJ,WQ as bK,fn as bL,Xte as bM,qte as bN,cc as bO,one as bP,A_ as bQ,dX as ba,xd as bb,fne as bc,Fte as bd,une as be,Dt as bf,pX as bg,dne as bh,no as bi,mte as bj,Vte as bk,JQ as bl,Mte as bm,tne as bn,Bte as bo,Zu as bp,Ete as bq,Ate as br,Gte as bs,Dte as bt,eg as bu,Xp as bv,vi as bw,Wte as bx,rne as by,xte as bz,cl as c,Ft as d,ec as e,Rte as f,dte as g,qe as h,oe as i,yn as j,nb as k,hc as l,Tte as m,Ste as n,Qi as o,Wm as p,zo as q,Pe as r,fc as s,Je as t,tt as u,If as v,ui as w,$f as x,rp as y,re as z}; +`);const r=Number(n.statusCode||500),o=r===404,s=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),c=void 0,l=o?Yc(()=>Te(()=>import("./BEUdCvUQ.js"),__vite__mapDeps([54,30,55]),import.meta.url)):Yc(()=>Te(()=>import("./e8LM5f8I.js"),__vite__mapDeps([56,30,57]),import.meta.url));return(f,h)=>(Je(),St(se(l),ep(Hf({statusCode:se(r),statusMessage:se(s),description:se(i),stack:se(c)})),null,16))}},ute={key:0},yu={__name:"nuxt-root",setup(e){const t=()=>null,n=_e(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);tt().beforeEach(a)}const o=!1;_t(Pr,gc()),n.hooks.callHookWith(a=>a.map(u=>u()),"vue:setup");const s=Go(),i=!1;hf((a,u,l)=>{if(n.hooks.callHook("vue:error",a,u,l).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),ob(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Ln(a)),!1});const c=!1;return(a,u)=>(Je(),St(cc,{onResolve:se(r)},{default:Zi(()=>[se(i)?(Je(),If("div",ute)):se(s)?(Je(),St(se(lte),{key:1,error:se(s)},null,8,["error"])):se(c)?(Je(),St(se(t),{key:2,context:se(c)},null,8,["context"])):se(o)?(Je(),St(ag(se(o)),{key:3})):(Je(),St(se(ate),{key:4}))]),_:1},8,["onResolve"]))}};let _u;{let e;_u=async function(){var i,c;if(e)return e;const r=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((c=document.getElementById("__NUXT_DATA__"))==null?void 0:c.dataset.ssr)==="true")?Rm(yu):Dm(yu),o=j0({vueApp:r});async function s(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||Wo(a)}r.config.errorHandler=s;try{await z0(o,Yee)}catch(a){s(a)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount($0),await o.hooks.callHook("app:mounted",r),await mn()}catch(a){s(a)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},e=_u().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Sp as $,Zi as A,Bf as B,gc as C,St as D,se as E,kte as F,pte as G,fte as H,we as I,gte as J,qo as K,ss as L,xX as M,CX as N,bte as O,Pr as P,Be as Q,Xe as R,mn as S,KQ as T,lc as U,rt as V,ff as W,Mp as X,Ene as Y,Te as Z,ste as _,_e as a,Hf as a$,Hte as a0,Jte as a1,Pte as a2,E_ as a3,OQ as a4,yne as a5,Er as a6,Zf as a7,wte as a8,Io as a9,jte as aA,Pt as aB,ene as aC,et as aD,Cte as aE,_d as aF,BQ as aG,pne as aH,nne as aI,UQ as aJ,zte as aK,md as aL,Ite as aM,Zte as aN,Pu as aO,ine as aP,vne as aQ,Ui as aR,hte as aS,sne as aT,ZQ as aU,YQ as aV,_te as aW,vte as aX,mne as aY,bne as aZ,ep as a_,gne as aa,ag as ab,Lu as ac,op as ad,bn as ae,Tr as af,Ge as ag,be as ah,yte as ai,ne as aj,Qte as ak,xne as al,DX as am,_X as an,xee as ao,Cne as ap,LX as aq,Sd as ar,Ote as as,jQ as at,Ute as au,_t as av,_n as aw,ng as ax,IQ as ay,$te as az,kc as b,Nte as b0,_ne as b1,kne as b2,zl as b3,Mr as b4,Kte as b5,hne as b6,Vs as b7,gn as b8,lne as b9,Lte as bA,cne as bB,Xi as bC,Qr as bD,Yte as bE,Ae as bF,fX as bG,ane as bH,yX as bI,wne as bJ,WQ as bK,fn as bL,Xte as bM,qte as bN,cc as bO,one as bP,A_ as bQ,dX as ba,xd as bb,fne as bc,Fte as bd,une as be,Dt as bf,pX as bg,dne as bh,ro as bi,mte as bj,Vte as bk,JQ as bl,Mte as bm,tne as bn,Bte as bo,Zu as bp,Ete as bq,Ate as br,Gte as bs,Dte as bt,eg as bu,Xp as bv,vi as bw,Wte as bx,rne as by,xte as bz,cl as c,Ft as d,ec as e,Rte as f,dte as g,qe as h,oe as i,yn as j,nb as k,hc as l,Tte as m,Ste as n,Qi as o,Wm as p,zo as q,Pe as r,fc as s,Je as t,tt as u,If as v,ui as w,$f as x,rp as y,re as z}; diff --git a/latest/_nuxt/CggvwESy.js b/latest/_nuxt/CIrVMAE7.js similarity index 98% rename from latest/_nuxt/CggvwESy.js rename to latest/_nuxt/CIrVMAE7.js index 0fe68a78..24a5be61 100644 --- a/latest/_nuxt/CggvwESy.js +++ b/latest/_nuxt/CIrVMAE7.js @@ -1 +1 @@ -import{m as H,a as ee,u as te}from"./DzteZw27.js";import{bE as T,M as $,a6 as Ee,aD as xe,h as Te,bp as Pe,aH as $e,L as p,an as y,i as u,bF as k,aN as ne,bG as Y,bH as Be,bf as Re,bI as Ne,z as d,I as Ve,E as j,as as f,ao as ze,al as ae,r as se,ap as ie,bJ as Ie,X as O,bK as Fe,bL as Oe,ag as De,bA as Ae,e as He,R as Me,aq as oe,N as Xe,aF as W,Q as re,a7 as qe,aw as le,ab as Ye,bM as G,aG as je,S as We,ad as Ge,b3 as Ke,bN as K}from"./CvXVYCmv.js";const ue=["top","bottom"],Ue=["start","end","left","right"];function Je(e,t){let[n,a]=e.split(" ");return a||(a=T(ue,n)?"start":T(Ue,n)?"top":"center"),{side:U(n,t),align:U(a,t)}}function U(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function _t(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function kt(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function St(e){return{side:e.align,align:e.side}}function wt(e){return T(ue,e.side)?"y":"x"}function Lt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return $()({name:n??Ee(xe(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...H()},setup(a,i){let{slots:s}=i;return()=>{var o;return Te(a.tag,{class:[e,a.class],style:a.style},(o=s.default)==null?void 0:o.call(s))}}})}const Qe=p({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Et=$(!1)({name:"VDefaultsProvider",props:Qe(),setup(e,t){let{slots:n}=t;const{defaults:a,disabled:i,reset:s,root:o,scoped:r}=Pe(e);return $e(a,{reset:s,root:o,scoped:r,disabled:i}),()=>{var l;return(l=n.default)==null?void 0:l.call(n)}}}),xt=p({border:[Boolean,Number,String]},"border");function Tt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();return{borderClasses:u(()=>{const a=k(e)?e.value:e.border,i=[];if(a===!0||a==="")i.push(`${t}--border`);else if(typeof a=="string"||a===0)for(const s of String(a).split(" "))i.push(`border-${s}`);return i})}}const Ze=[null,"default","comfortable","compact"],Pt=p({density:{type:String,default:"default",validator:e=>Ze.includes(e)}},"density");function $t(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();return{densityClasses:u(()=>`${t}--density-${e.density}`)}}const Bt=p({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Rt(e){return{elevationClasses:u(()=>{const n=k(e)?e.value:e.elevation,a=[];return n==null||a.push(`elevation-${n}`),a})}}const et=p({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function tt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();return{roundedClasses:u(()=>{const a=k(e)?e.value:e.rounded,i=k(e)?e.value:e.tile,s=[];if(a===!0||a==="")s.push(`${t}--rounded`);else if(typeof a=="string"||a===0)for(const o of String(a).split(" "))s.push(`rounded-${o}`);else(i||a===!1)&&s.push("rounded-0");return s})}}function M(e){return ne(()=>{const t=[],n={};if(e.value.background)if(Y(e.value.background)){if(n.backgroundColor=e.value.background,!e.value.text&&Be(e.value.background)){const a=Re(e.value.background);if(a.a==null||a.a===1){const i=Ne(a);n.color=i,n.caretColor=i}}}else t.push(`bg-${e.value.background}`);return e.value.text&&(Y(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function ce(e,t){const n=u(()=>({text:k(e)?e.value:t?e[t]:null})),{colorClasses:a,colorStyles:i}=M(n);return{textColorClasses:a,textColorStyles:i}}function I(e,t){const n=u(()=>({background:k(e)?e.value:t?e[t]:null})),{colorClasses:a,colorStyles:i}=M(n);return{backgroundColorClasses:a,backgroundColorStyles:i}}const nt=["elevated","flat","tonal","outlined","text","plain"];function Nt(e,t){return d(Ve,null,[e&&d("span",{key:"overlay",class:`${t}__overlay`},null),d("span",{key:"underlay",class:`${t}__underlay`},null)])}const Vt=p({color:String,variant:{type:String,default:"elevated",validator:e=>nt.includes(e)}},"variant");function zt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();const n=u(()=>{const{variant:s}=j(e);return`${t}--variant-${s}`}),{colorClasses:a,colorStyles:i}=M(u(()=>{const{variant:s,color:o}=j(e);return{[["elevated","flat"].includes(s)?"background":"text"]:o}}));return{colorClasses:a,colorStyles:i,variantClasses:n}}const at=["x-small","small","default","large","x-large"],st=p({size:{type:[String,Number],default:"default"}},"size");function it(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();return ne(()=>{let n,a;return T(at,e.size)?n=`${t}--size-${e.size}`:e.size&&(a={width:f(e.size),height:f(e.size)}),{sizeClasses:n,sizeStyles:a}})}const ot=p({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:ze,...H(),...st(),...ee({tag:"i"}),...ae()},"VIcon"),It=$()({name:"VIcon",props:ot(),setup(e,t){let{attrs:n,slots:a}=t;const i=se(),{themeClasses:s}=ie(e),{iconData:o}=Ie(u(()=>i.value||e.icon)),{sizeClasses:r}=it(e),{textColorClasses:l,textColorStyles:h}=ce(O(e,"color"));return te(()=>{var v,m;const b=(v=a.default)==null?void 0:v.call(a);b&&(i.value=(m=Fe(b).filter(C=>C.type===Oe&&C.children&&typeof C.children=="string")[0])==null?void 0:m.children);const c=!!(n.onClick||n.onClickOnce);return d(o.value.component,{tag:e.tag,icon:o.value.icon,class:["v-icon","notranslate",s.value,r.value,l.value,{"v-icon--clickable":c,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[r.value?void 0:{fontSize:f(e.size),height:f(e.size),width:f(e.size)},h.value,e.style],role:c?"button":void 0,"aria-hidden":!c,tabindex:c?e.disabled?-1:0:void 0},{default:()=>[b]})}),{}}});function rt(e,t){const n=se(),a=De(!1);if(Ae){const i=new IntersectionObserver(s=>{a.value=!!s.find(o=>o.isIntersecting)},t);He(()=>{i.disconnect()}),Me(n,(s,o)=>{o&&(i.unobserve(o),a.value=!1),s&&i.observe(s)},{flush:"post"})}return{intersectionRef:n,isIntersecting:a}}const J={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},lt=p({location:String},"location");function ut(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:a}=oe();return{locationStyles:u(()=>{if(!e.location)return{};const{side:s,align:o}=Je(e.location.split(" ").length>1?e.location:`${e.location} center`,a.value);function r(h){return n?n(h):0}const l={};return s!=="center"&&(t?l[J[s]]=`calc(100% - ${r(s)}px)`:l[s]=0),o!=="center"?t?l[J[o]]=`calc(100% - ${r(o)}px)`:l[o]=0:(s==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[s]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[s]),l})}}const ct=p({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...H(),...lt({location:"top"}),...et(),...ee(),...ae()},"VProgressLinear"),dt=$()({name:"VProgressLinear",props:ct(),emits:{"update:modelValue":e=>!0},setup(e,t){var q;let{slots:n}=t;const a=Xe(e,"modelValue"),{isRtl:i,rtlClasses:s}=oe(),{themeClasses:o}=ie(e),{locationStyles:r}=ut(e),{textColorClasses:l,textColorStyles:h}=ce(e,"color"),{backgroundColorClasses:b,backgroundColorStyles:c}=I(u(()=>e.bgColor||e.color)),{backgroundColorClasses:v,backgroundColorStyles:m}=I(u(()=>e.bufferColor||e.bgColor||e.color)),{backgroundColorClasses:C,backgroundColorStyles:X}=I(e,"color"),{roundedClasses:ye}=tt(e),{intersectionRef:B,isIntersecting:Ce}=rt(),R=u(()=>parseFloat(e.max)),_=u(()=>parseFloat(e.height)),N=u(()=>W(parseFloat(e.bufferValue)/R.value*100,0,100)),V=u(()=>W(parseFloat(a.value)/R.value*100,0,100)),E=u(()=>i.value!==e.reverse),_e=u(()=>e.indeterminate?"fade-transition":"slide-x-transition"),x=re&&((q=window.matchMedia)==null?void 0:q.call(window,"(forced-colors: active)").matches);function ke(S){if(!B.value)return;const{left:Se,right:we,width:z}=B.value.getBoundingClientRect(),Le=E.value?z-S.clientX+(we-z):S.clientX-Se;a.value=Math.round(Le/z*R.value)}return te(()=>d(e.tag,{ref:B,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&Ce.value,"v-progress-linear--reverse":E.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},ye.value,o.value,s.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?f(_.value):0,"--v-progress-linear-height":f(_.value),...e.absolute?r.value:{}},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:V.value,onClick:e.clickable&&ke},{default:()=>[e.stream&&d("div",{key:"stream",class:["v-progress-linear__stream",l.value],style:{...h.value,[E.value?"left":"right"]:f(-_.value),borderTop:`${f(_.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${f(_.value/4)})`,width:f(100-N.value,"%"),"--v-progress-linear-stream-to":f(_.value*(E.value?1:-1))}},null),d("div",{class:["v-progress-linear__background",x?void 0:b.value],style:[c.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}]},null),d("div",{class:["v-progress-linear__buffer",x?void 0:v.value],style:[m.value,{opacity:parseFloat(e.bufferOpacity),width:f(N.value,"%")}]},null),d(qe,{name:_e.value},{default:()=>[e.indeterminate?d("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(S=>d("div",{key:S,class:["v-progress-linear__indeterminate",S,x?void 0:C.value],style:X.value},null))]):d("div",{class:["v-progress-linear__determinate",x?void 0:C.value],style:[X.value,{width:f(V.value,"%")}]},null)]}),n.default&&d("div",{class:"v-progress-linear__content"},[n.default({value:V.value,buffer:N.value})])]})),{}}}),Ft=p({loading:[Boolean,String]},"loader");function Ot(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();return{loaderClasses:u(()=>({[`${t}--loading`]:e.loading}))}}function Dt(e,t){var a;let{slots:n}=t;return d("div",{class:`${e.name}__loader`},[((a=n.default)==null?void 0:a.call(n,{color:e.color,isActive:e.active}))||d(dt,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const ft=["static","relative","fixed","absolute","sticky"],At=p({position:{type:String,validator:e=>ft.includes(e)}},"position");function Ht(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();return{positionClasses:u(()=>e.position?`${t}--${e.position}`:void 0)}}function vt(){const e=le("useRoute");return u(()=>{var t;return(t=e==null?void 0:e.proxy)==null?void 0:t.$route})}function Mt(){var e,t;return(t=(e=le("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function Xt(e,t){var h,b;const n=Ye("RouterLink"),a=u(()=>!!(e.href||e.to)),i=u(()=>(a==null?void 0:a.value)||G(t,"click")||G(e,"click"));if(typeof n=="string"||!("useLink"in n))return{isLink:a,isClickable:i,href:O(e,"href")};const s=u(()=>({...e,to:O(()=>e.to||"")})),o=n.useLink(s.value),r=u(()=>e.to?o:void 0),l=vt();return{isLink:a,isClickable:i,route:(h=r.value)==null?void 0:h.route,navigate:(b=r.value)==null?void 0:b.navigate,isActive:u(()=>{var c,v,m;return r.value?e.exact?l.value?((m=r.value.isExactActive)==null?void 0:m.value)&&je(r.value.route.value.query,l.value.query):((v=r.value.isExactActive)==null?void 0:v.value)??!1:((c=r.value.isActive)==null?void 0:c.value)??!1:!1}),href:u(()=>{var c;return e.to?(c=r.value)==null?void 0:c.route.value.href:e.href})}}const qt=p({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let F=!1;function Yt(e,t){let n=!1,a,i;re&&(We(()=>{window.addEventListener("popstate",s),a=e==null?void 0:e.beforeEach((o,r,l)=>{F?n?t(l):l():setTimeout(()=>n?t(l):l()),F=!0}),i=e==null?void 0:e.afterEach(()=>{F=!1})}),Ge(()=>{window.removeEventListener("popstate",s),a==null||a(),i==null||i()}));function s(o){var r;(r=o.state)!=null&&r.replaced||(n=!0,setTimeout(()=>n=!1))}}const D=Symbol("rippleStop"),mt=80;function Q(e,t){e.style.transform=t,e.style.webkitTransform=t}function A(e){return e.constructor.name==="TouchEvent"}function de(e){return e.constructor.name==="KeyboardEvent"}const gt=function(e,t){var c;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=0,i=0;if(!de(e)){const v=t.getBoundingClientRect(),m=A(e)?e.touches[e.touches.length-1]:e;a=m.clientX-v.left,i=m.clientY-v.top}let s=0,o=.3;(c=t._ripple)!=null&&c.circle?(o=.15,s=t.clientWidth/2,s=n.center?s:s+Math.sqrt((a-s)**2+(i-s)**2)/4):s=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const r=`${(t.clientWidth-s*2)/2}px`,l=`${(t.clientHeight-s*2)/2}px`,h=n.center?r:`${a-s}px`,b=n.center?l:`${i-s}px`;return{radius:s,scale:o,x:h,y:b,centerX:r,centerY:l}},P={show(e,t){var m;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((m=t==null?void 0:t._ripple)!=null&&m.enabled))return;const a=document.createElement("span"),i=document.createElement("span");a.appendChild(i),a.className="v-ripple__container",n.class&&(a.className+=` ${n.class}`);const{radius:s,scale:o,x:r,y:l,centerX:h,centerY:b}=gt(e,t,n),c=`${s*2}px`;i.className="v-ripple__animation",i.style.width=c,i.style.height=c,t.appendChild(a);const v=window.getComputedStyle(t);v&&v.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),Q(i,`translate(${r}, ${l}) scale3d(${o},${o},${o})`),i.dataset.activated=String(performance.now()),setTimeout(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),Q(i,`translate(${h}, ${b}) scale3d(1,1,1)`)},0)},hide(e){var s;if(!((s=e==null?void 0:e._ripple)!=null&&s.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const a=performance.now()-Number(n.dataset.activated),i=Math.max(250-a,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var r;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((r=n.parentNode)==null?void 0:r.parentNode)===e&&e.removeChild(n.parentNode)},300)},i)}};function fe(e){return typeof e>"u"||!!e}function w(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[D])){if(e[D]=!0,A(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||de(e),n._ripple.class&&(t.class=n._ripple.class),A(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{P.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var a;(a=n==null?void 0:n._ripple)!=null&&a.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},mt)}else P.show(e,n,t)}}function Z(e){e[D]=!0}function g(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{g(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),P.hide(t)}}function ve(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let L=!1;function me(e){!L&&(e.keyCode===K.enter||e.keyCode===K.space)&&(L=!0,w(e))}function ge(e){L=!1,g(e)}function pe(e){L&&(L=!1,g(e))}function he(e,t,n){const{value:a,modifiers:i}=t,s=fe(a);if(s||P.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=s,e._ripple.centered=i.center,e._ripple.circle=i.circle,Ke(a)&&a.class&&(e._ripple.class=a.class),s&&!n){if(i.stop){e.addEventListener("touchstart",Z,{passive:!0}),e.addEventListener("mousedown",Z);return}e.addEventListener("touchstart",w,{passive:!0}),e.addEventListener("touchend",g,{passive:!0}),e.addEventListener("touchmove",ve,{passive:!0}),e.addEventListener("touchcancel",g),e.addEventListener("mousedown",w),e.addEventListener("mouseup",g),e.addEventListener("mouseleave",g),e.addEventListener("keydown",me),e.addEventListener("keyup",ge),e.addEventListener("blur",pe),e.addEventListener("dragstart",g,{passive:!0})}else!s&&n&&be(e)}function be(e){e.removeEventListener("mousedown",w),e.removeEventListener("touchstart",w),e.removeEventListener("touchend",g),e.removeEventListener("touchmove",ve),e.removeEventListener("touchcancel",g),e.removeEventListener("mouseup",g),e.removeEventListener("mouseleave",g),e.removeEventListener("keydown",me),e.removeEventListener("keyup",ge),e.removeEventListener("dragstart",g),e.removeEventListener("blur",pe)}function pt(e,t){he(e,t,!1)}function ht(e){delete e._ripple,be(e)}function bt(e,t){if(t.value===t.oldValue)return;const n=fe(t.oldValue);he(e,t,n)}const jt={mounted:pt,unmounted:ht,updated:bt};export{qt as A,st as B,zt as C,it as D,Xt as E,Nt as F,U as G,rt as H,Dt as L,jt as R,Et as V,It as a,et as b,tt as c,I as d,ce as e,Pt as f,$t as g,Bt as h,Rt as i,_t as j,kt as k,St as l,Ft as m,wt as n,Mt as o,Je as p,Yt as q,Lt as r,xt as s,lt as t,Ot as u,At as v,Tt as w,ut as x,Ht as y,Vt as z}; +import{m as H,a as ee,u as te}from"./C4wkpklv.js";import{bE as T,M as $,a6 as Ee,aD as xe,h as Te,bp as Pe,aH as $e,L as p,an as y,i as u,bF as k,aN as ne,bG as Y,bH as Be,bf as Re,bI as Ne,z as d,I as Ve,E as j,as as f,ao as ze,al as ae,r as se,ap as ie,bJ as Ie,X as O,bK as Fe,bL as Oe,ag as De,bA as Ae,e as He,R as Me,aq as oe,N as Xe,aF as W,Q as re,a7 as qe,aw as le,ab as Ye,bM as G,aG as je,S as We,ad as Ge,b3 as Ke,bN as K}from"./CEVEV-m9.js";const ue=["top","bottom"],Ue=["start","end","left","right"];function Je(e,t){let[n,a]=e.split(" ");return a||(a=T(ue,n)?"start":T(Ue,n)?"top":"center"),{side:U(n,t),align:U(a,t)}}function U(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function _t(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function kt(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function St(e){return{side:e.align,align:e.side}}function wt(e){return T(ue,e.side)?"y":"x"}function Lt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return $()({name:n??Ee(xe(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...H()},setup(a,i){let{slots:s}=i;return()=>{var o;return Te(a.tag,{class:[e,a.class],style:a.style},(o=s.default)==null?void 0:o.call(s))}}})}const Qe=p({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Et=$(!1)({name:"VDefaultsProvider",props:Qe(),setup(e,t){let{slots:n}=t;const{defaults:a,disabled:i,reset:s,root:o,scoped:r}=Pe(e);return $e(a,{reset:s,root:o,scoped:r,disabled:i}),()=>{var l;return(l=n.default)==null?void 0:l.call(n)}}}),xt=p({border:[Boolean,Number,String]},"border");function Tt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();return{borderClasses:u(()=>{const a=k(e)?e.value:e.border,i=[];if(a===!0||a==="")i.push(`${t}--border`);else if(typeof a=="string"||a===0)for(const s of String(a).split(" "))i.push(`border-${s}`);return i})}}const Ze=[null,"default","comfortable","compact"],Pt=p({density:{type:String,default:"default",validator:e=>Ze.includes(e)}},"density");function $t(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();return{densityClasses:u(()=>`${t}--density-${e.density}`)}}const Bt=p({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Rt(e){return{elevationClasses:u(()=>{const n=k(e)?e.value:e.elevation,a=[];return n==null||a.push(`elevation-${n}`),a})}}const et=p({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function tt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();return{roundedClasses:u(()=>{const a=k(e)?e.value:e.rounded,i=k(e)?e.value:e.tile,s=[];if(a===!0||a==="")s.push(`${t}--rounded`);else if(typeof a=="string"||a===0)for(const o of String(a).split(" "))s.push(`rounded-${o}`);else(i||a===!1)&&s.push("rounded-0");return s})}}function M(e){return ne(()=>{const t=[],n={};if(e.value.background)if(Y(e.value.background)){if(n.backgroundColor=e.value.background,!e.value.text&&Be(e.value.background)){const a=Re(e.value.background);if(a.a==null||a.a===1){const i=Ne(a);n.color=i,n.caretColor=i}}}else t.push(`bg-${e.value.background}`);return e.value.text&&(Y(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function ce(e,t){const n=u(()=>({text:k(e)?e.value:t?e[t]:null})),{colorClasses:a,colorStyles:i}=M(n);return{textColorClasses:a,textColorStyles:i}}function I(e,t){const n=u(()=>({background:k(e)?e.value:t?e[t]:null})),{colorClasses:a,colorStyles:i}=M(n);return{backgroundColorClasses:a,backgroundColorStyles:i}}const nt=["elevated","flat","tonal","outlined","text","plain"];function Nt(e,t){return d(Ve,null,[e&&d("span",{key:"overlay",class:`${t}__overlay`},null),d("span",{key:"underlay",class:`${t}__underlay`},null)])}const Vt=p({color:String,variant:{type:String,default:"elevated",validator:e=>nt.includes(e)}},"variant");function zt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();const n=u(()=>{const{variant:s}=j(e);return`${t}--variant-${s}`}),{colorClasses:a,colorStyles:i}=M(u(()=>{const{variant:s,color:o}=j(e);return{[["elevated","flat"].includes(s)?"background":"text"]:o}}));return{colorClasses:a,colorStyles:i,variantClasses:n}}const at=["x-small","small","default","large","x-large"],st=p({size:{type:[String,Number],default:"default"}},"size");function it(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();return ne(()=>{let n,a;return T(at,e.size)?n=`${t}--size-${e.size}`:e.size&&(a={width:f(e.size),height:f(e.size)}),{sizeClasses:n,sizeStyles:a}})}const ot=p({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:ze,...H(),...st(),...ee({tag:"i"}),...ae()},"VIcon"),It=$()({name:"VIcon",props:ot(),setup(e,t){let{attrs:n,slots:a}=t;const i=se(),{themeClasses:s}=ie(e),{iconData:o}=Ie(u(()=>i.value||e.icon)),{sizeClasses:r}=it(e),{textColorClasses:l,textColorStyles:h}=ce(O(e,"color"));return te(()=>{var v,m;const b=(v=a.default)==null?void 0:v.call(a);b&&(i.value=(m=Fe(b).filter(C=>C.type===Oe&&C.children&&typeof C.children=="string")[0])==null?void 0:m.children);const c=!!(n.onClick||n.onClickOnce);return d(o.value.component,{tag:e.tag,icon:o.value.icon,class:["v-icon","notranslate",s.value,r.value,l.value,{"v-icon--clickable":c,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[r.value?void 0:{fontSize:f(e.size),height:f(e.size),width:f(e.size)},h.value,e.style],role:c?"button":void 0,"aria-hidden":!c,tabindex:c?e.disabled?-1:0:void 0},{default:()=>[b]})}),{}}});function rt(e,t){const n=se(),a=De(!1);if(Ae){const i=new IntersectionObserver(s=>{a.value=!!s.find(o=>o.isIntersecting)},t);He(()=>{i.disconnect()}),Me(n,(s,o)=>{o&&(i.unobserve(o),a.value=!1),s&&i.observe(s)},{flush:"post"})}return{intersectionRef:n,isIntersecting:a}}const J={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},lt=p({location:String},"location");function ut(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:a}=oe();return{locationStyles:u(()=>{if(!e.location)return{};const{side:s,align:o}=Je(e.location.split(" ").length>1?e.location:`${e.location} center`,a.value);function r(h){return n?n(h):0}const l={};return s!=="center"&&(t?l[J[s]]=`calc(100% - ${r(s)}px)`:l[s]=0),o!=="center"?t?l[J[o]]=`calc(100% - ${r(o)}px)`:l[o]=0:(s==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[s]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[s]),l})}}const ct=p({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...H(),...lt({location:"top"}),...et(),...ee(),...ae()},"VProgressLinear"),dt=$()({name:"VProgressLinear",props:ct(),emits:{"update:modelValue":e=>!0},setup(e,t){var q;let{slots:n}=t;const a=Xe(e,"modelValue"),{isRtl:i,rtlClasses:s}=oe(),{themeClasses:o}=ie(e),{locationStyles:r}=ut(e),{textColorClasses:l,textColorStyles:h}=ce(e,"color"),{backgroundColorClasses:b,backgroundColorStyles:c}=I(u(()=>e.bgColor||e.color)),{backgroundColorClasses:v,backgroundColorStyles:m}=I(u(()=>e.bufferColor||e.bgColor||e.color)),{backgroundColorClasses:C,backgroundColorStyles:X}=I(e,"color"),{roundedClasses:ye}=tt(e),{intersectionRef:B,isIntersecting:Ce}=rt(),R=u(()=>parseFloat(e.max)),_=u(()=>parseFloat(e.height)),N=u(()=>W(parseFloat(e.bufferValue)/R.value*100,0,100)),V=u(()=>W(parseFloat(a.value)/R.value*100,0,100)),E=u(()=>i.value!==e.reverse),_e=u(()=>e.indeterminate?"fade-transition":"slide-x-transition"),x=re&&((q=window.matchMedia)==null?void 0:q.call(window,"(forced-colors: active)").matches);function ke(S){if(!B.value)return;const{left:Se,right:we,width:z}=B.value.getBoundingClientRect(),Le=E.value?z-S.clientX+(we-z):S.clientX-Se;a.value=Math.round(Le/z*R.value)}return te(()=>d(e.tag,{ref:B,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&Ce.value,"v-progress-linear--reverse":E.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},ye.value,o.value,s.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?f(_.value):0,"--v-progress-linear-height":f(_.value),...e.absolute?r.value:{}},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:V.value,onClick:e.clickable&&ke},{default:()=>[e.stream&&d("div",{key:"stream",class:["v-progress-linear__stream",l.value],style:{...h.value,[E.value?"left":"right"]:f(-_.value),borderTop:`${f(_.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${f(_.value/4)})`,width:f(100-N.value,"%"),"--v-progress-linear-stream-to":f(_.value*(E.value?1:-1))}},null),d("div",{class:["v-progress-linear__background",x?void 0:b.value],style:[c.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}]},null),d("div",{class:["v-progress-linear__buffer",x?void 0:v.value],style:[m.value,{opacity:parseFloat(e.bufferOpacity),width:f(N.value,"%")}]},null),d(qe,{name:_e.value},{default:()=>[e.indeterminate?d("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(S=>d("div",{key:S,class:["v-progress-linear__indeterminate",S,x?void 0:C.value],style:X.value},null))]):d("div",{class:["v-progress-linear__determinate",x?void 0:C.value],style:[X.value,{width:f(V.value,"%")}]},null)]}),n.default&&d("div",{class:"v-progress-linear__content"},[n.default({value:V.value,buffer:N.value})])]})),{}}}),Ft=p({loading:[Boolean,String]},"loader");function Ot(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();return{loaderClasses:u(()=>({[`${t}--loading`]:e.loading}))}}function Dt(e,t){var a;let{slots:n}=t;return d("div",{class:`${e.name}__loader`},[((a=n.default)==null?void 0:a.call(n,{color:e.color,isActive:e.active}))||d(dt,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const ft=["static","relative","fixed","absolute","sticky"],At=p({position:{type:String,validator:e=>ft.includes(e)}},"position");function Ht(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y();return{positionClasses:u(()=>e.position?`${t}--${e.position}`:void 0)}}function vt(){const e=le("useRoute");return u(()=>{var t;return(t=e==null?void 0:e.proxy)==null?void 0:t.$route})}function Mt(){var e,t;return(t=(e=le("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function Xt(e,t){var h,b;const n=Ye("RouterLink"),a=u(()=>!!(e.href||e.to)),i=u(()=>(a==null?void 0:a.value)||G(t,"click")||G(e,"click"));if(typeof n=="string"||!("useLink"in n))return{isLink:a,isClickable:i,href:O(e,"href")};const s=u(()=>({...e,to:O(()=>e.to||"")})),o=n.useLink(s.value),r=u(()=>e.to?o:void 0),l=vt();return{isLink:a,isClickable:i,route:(h=r.value)==null?void 0:h.route,navigate:(b=r.value)==null?void 0:b.navigate,isActive:u(()=>{var c,v,m;return r.value?e.exact?l.value?((m=r.value.isExactActive)==null?void 0:m.value)&&je(r.value.route.value.query,l.value.query):((v=r.value.isExactActive)==null?void 0:v.value)??!1:((c=r.value.isActive)==null?void 0:c.value)??!1:!1}),href:u(()=>{var c;return e.to?(c=r.value)==null?void 0:c.route.value.href:e.href})}}const qt=p({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let F=!1;function Yt(e,t){let n=!1,a,i;re&&(We(()=>{window.addEventListener("popstate",s),a=e==null?void 0:e.beforeEach((o,r,l)=>{F?n?t(l):l():setTimeout(()=>n?t(l):l()),F=!0}),i=e==null?void 0:e.afterEach(()=>{F=!1})}),Ge(()=>{window.removeEventListener("popstate",s),a==null||a(),i==null||i()}));function s(o){var r;(r=o.state)!=null&&r.replaced||(n=!0,setTimeout(()=>n=!1))}}const D=Symbol("rippleStop"),mt=80;function Q(e,t){e.style.transform=t,e.style.webkitTransform=t}function A(e){return e.constructor.name==="TouchEvent"}function de(e){return e.constructor.name==="KeyboardEvent"}const gt=function(e,t){var c;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=0,i=0;if(!de(e)){const v=t.getBoundingClientRect(),m=A(e)?e.touches[e.touches.length-1]:e;a=m.clientX-v.left,i=m.clientY-v.top}let s=0,o=.3;(c=t._ripple)!=null&&c.circle?(o=.15,s=t.clientWidth/2,s=n.center?s:s+Math.sqrt((a-s)**2+(i-s)**2)/4):s=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const r=`${(t.clientWidth-s*2)/2}px`,l=`${(t.clientHeight-s*2)/2}px`,h=n.center?r:`${a-s}px`,b=n.center?l:`${i-s}px`;return{radius:s,scale:o,x:h,y:b,centerX:r,centerY:l}},P={show(e,t){var m;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((m=t==null?void 0:t._ripple)!=null&&m.enabled))return;const a=document.createElement("span"),i=document.createElement("span");a.appendChild(i),a.className="v-ripple__container",n.class&&(a.className+=` ${n.class}`);const{radius:s,scale:o,x:r,y:l,centerX:h,centerY:b}=gt(e,t,n),c=`${s*2}px`;i.className="v-ripple__animation",i.style.width=c,i.style.height=c,t.appendChild(a);const v=window.getComputedStyle(t);v&&v.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),Q(i,`translate(${r}, ${l}) scale3d(${o},${o},${o})`),i.dataset.activated=String(performance.now()),setTimeout(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),Q(i,`translate(${h}, ${b}) scale3d(1,1,1)`)},0)},hide(e){var s;if(!((s=e==null?void 0:e._ripple)!=null&&s.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const a=performance.now()-Number(n.dataset.activated),i=Math.max(250-a,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var r;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((r=n.parentNode)==null?void 0:r.parentNode)===e&&e.removeChild(n.parentNode)},300)},i)}};function fe(e){return typeof e>"u"||!!e}function w(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[D])){if(e[D]=!0,A(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||de(e),n._ripple.class&&(t.class=n._ripple.class),A(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{P.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var a;(a=n==null?void 0:n._ripple)!=null&&a.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},mt)}else P.show(e,n,t)}}function Z(e){e[D]=!0}function g(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{g(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),P.hide(t)}}function ve(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let L=!1;function me(e){!L&&(e.keyCode===K.enter||e.keyCode===K.space)&&(L=!0,w(e))}function ge(e){L=!1,g(e)}function pe(e){L&&(L=!1,g(e))}function he(e,t,n){const{value:a,modifiers:i}=t,s=fe(a);if(s||P.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=s,e._ripple.centered=i.center,e._ripple.circle=i.circle,Ke(a)&&a.class&&(e._ripple.class=a.class),s&&!n){if(i.stop){e.addEventListener("touchstart",Z,{passive:!0}),e.addEventListener("mousedown",Z);return}e.addEventListener("touchstart",w,{passive:!0}),e.addEventListener("touchend",g,{passive:!0}),e.addEventListener("touchmove",ve,{passive:!0}),e.addEventListener("touchcancel",g),e.addEventListener("mousedown",w),e.addEventListener("mouseup",g),e.addEventListener("mouseleave",g),e.addEventListener("keydown",me),e.addEventListener("keyup",ge),e.addEventListener("blur",pe),e.addEventListener("dragstart",g,{passive:!0})}else!s&&n&&be(e)}function be(e){e.removeEventListener("mousedown",w),e.removeEventListener("touchstart",w),e.removeEventListener("touchend",g),e.removeEventListener("touchmove",ve),e.removeEventListener("touchcancel",g),e.removeEventListener("mouseup",g),e.removeEventListener("mouseleave",g),e.removeEventListener("keydown",me),e.removeEventListener("keyup",ge),e.removeEventListener("dragstart",g),e.removeEventListener("blur",pe)}function pt(e,t){he(e,t,!1)}function ht(e){delete e._ripple,be(e)}function bt(e,t){if(t.value===t.oldValue)return;const n=fe(t.oldValue);he(e,t,n)}const jt={mounted:pt,unmounted:ht,updated:bt};export{qt as A,st as B,zt as C,it as D,Xt as E,Nt as F,U as G,rt as H,Dt as L,jt as R,Et as V,It as a,et as b,tt as c,I as d,ce as e,Pt as f,$t as g,Bt as h,Rt as i,_t as j,kt as k,St as l,Ft as m,wt as n,Mt as o,Je as p,Yt as q,Lt as r,xt as s,lt as t,Ot as u,At as v,Tt as w,ut as x,Ht as y,Vt as z}; diff --git a/latest/_nuxt/DpXkWzat.js b/latest/_nuxt/CJDQ8X2g.js similarity index 64% rename from latest/_nuxt/DpXkWzat.js rename to latest/_nuxt/CJDQ8X2g.js index bd53537c..bdca800a 100644 --- a/latest/_nuxt/DpXkWzat.js +++ b/latest/_nuxt/CJDQ8X2g.js @@ -1 +1 @@ -import{_ as y,a as V}from"./HVaERN1e.js";import{e as g}from"./D0EZ6-Xf.js";import{C as w,i as m,D as i,E as o,A as p,t as r,B as u,x as b,y as B,z as l,F as d}from"./CvXVYCmv.js";import{u as C}from"./Bgvi-vPr.js";import{V as _}from"./NOWGDNTz.js";import{V as v}from"./DeTZgfeD.js";import{V as N}from"./DX-9AI5c.js";import"./CzVAowgZ.js";import"./CILx4owX.js";import"./CWbhR30t.js";import"./C-mukFY_.js";import"./DzteZw27.js";import"./CggvwESy.js";import"./Roz0zKtG.js";import"./BZfgkF3O.js";import"./DLkDSD5m.js";/* empty css */import"./86aUa6D2.js";import"./ClRYlymu.js";import"./BS89yCMn.js";const h={class:"text-h3 mb-3"},Q={__name:"[id]",setup($){const s=w(),f="production",a=m(()=>g.find(t=>t.id===s.params.categoryId)),e=m(()=>{var t;return(t=a.value)==null?void 0:t.examples.find(n=>n.id===s.params.id)}),x=m(()=>{var t;return"VJSF - "+(((t=e.value)==null?void 0:t.title)||"Unknown example")});return C({title:x}),(t,n)=>{const c=y,k=V;return!a.value||!e.value?(r(),i(o(_),{key:0,type:"warning",variant:"outlined",class:"mb-4"},{default:p(()=>n[0]||(n[0]=[u(" Unknown example ")])),_:1})):(r(),i(o(N),{key:1,fluid:""},{default:p(()=>[b("h1",h,[u(B(e.value.title)+" ",1),l(o(v),{icon:"mdi-reply",flat:"",title:"get back to parent page",to:`/${a.value.id}`},null,8,["to"]),o(f)==="development"?(r(),i(o(v),{key:0,icon:"mdi-package-variant-closed",flat:"",title:"open compiled version",to:`/compiled/${a.value.id}/${e.value.id}`},null,8,["to"])):d("",!0)]),e.value.warning?(r(),i(o(_),{key:0,type:"warning",variant:"outlined",class:"mb-4"},{default:p(()=>[l(c,{content:e.value.warning},null,8,["content"])]),_:1})):d("",!0),l(c,{content:e.value.description},null,8,["content"]),l(k,{example:e.value,v2:a.value.id==="v2-compat"},null,8,["example","v2"])]),_:1}))}}};export{Q as default}; +import{_ as y,a as V}from"./Dya5q5gL.js";import{e as g}from"./ryHCEZNQ.js";import{C as w,i as m,D as i,E as o,A as p,t as r,B as u,x as b,y as B,z as l,F as d}from"./CEVEV-m9.js";import{u as C}from"./Cy0AbNDn.js";import{V as _}from"./DmsKHaOx.js";import{V as v}from"./CWebwQzs.js";import{V as N}from"./CsQoP8Vj.js";import"./lKBEMcP3.js";import"./sxJKSY20.js";import"./BBn2cySh.js";import"./DXIbd0AA.js";import"./C4wkpklv.js";import"./CIrVMAE7.js";import"./Bs8uPU8N.js";import"./B08XBO8o.js";import"./r3LqnFig.js";/* empty css */import"./7L0px-82.js";import"./De5TMrV0.js";import"./CwwZrPOO.js";const h={class:"text-h3 mb-3"},Q={__name:"[id]",setup($){const s=w(),f="production",a=m(()=>g.find(t=>t.id===s.params.categoryId)),e=m(()=>{var t;return(t=a.value)==null?void 0:t.examples.find(n=>n.id===s.params.id)}),x=m(()=>{var t;return"VJSF - "+(((t=e.value)==null?void 0:t.title)||"Unknown example")});return C({title:x}),(t,n)=>{const c=y,k=V;return!a.value||!e.value?(r(),i(o(_),{key:0,type:"warning",variant:"outlined",class:"mb-4"},{default:p(()=>n[0]||(n[0]=[u(" Unknown example ")])),_:1})):(r(),i(o(N),{key:1,fluid:""},{default:p(()=>[b("h1",h,[u(B(e.value.title)+" ",1),l(o(v),{icon:"mdi-reply",flat:"",title:"get back to parent page",to:`/${a.value.id}`},null,8,["to"]),o(f)==="development"?(r(),i(o(v),{key:0,icon:"mdi-package-variant-closed",flat:"",title:"open compiled version",to:`/compiled/${a.value.id}/${e.value.id}`},null,8,["to"])):d("",!0)]),e.value.warning?(r(),i(o(_),{key:0,type:"warning",variant:"outlined",class:"mb-4"},{default:p(()=>[l(c,{content:e.value.warning},null,8,["content"])]),_:1})):d("",!0),l(c,{content:e.value.description},null,8,["content"]),l(k,{example:e.value,v2:a.value.id==="v2-compat"},null,8,["example","v2"])]),_:1}))}}};export{Q as default}; diff --git a/latest/_nuxt/DeTZgfeD.js b/latest/_nuxt/CWebwQzs.js similarity index 97% rename from latest/_nuxt/DeTZgfeD.js rename to latest/_nuxt/CWebwQzs.js index bf7d75ba..a2ff264b 100644 --- a/latest/_nuxt/DeTZgfeD.js +++ b/latest/_nuxt/CWebwQzs.js @@ -1 +1 @@ -import{s as j,f as q,h as W,b as J,z as X,g as K,w as Q,i as Y,c as Z,B as p,D as ee,e as F,H as ce,m as ve,t as fe,v as me,A as be,u as ge,x as ye,y as he,E as Ce,C as ke,R as Ie,F as xe,a as E,V as z}from"./CggvwESy.js";import{m as L,a as N,u as R}from"./DzteZw27.js";import{L as P,al as T,M as A,ap as D,aH as Ve,X as I,z as c,aw as te,ar as Se,av as ae,ah as Pe,i as v,e as ne,R as le,V as Be,N as we,o as _e,bC as Ge,aG as Re,au as Ae,bD as Ee,E as ze,U as Le,r as Ne,as as Te,af as De,S as Me,ao as $,H as Oe}from"./CvXVYCmv.js";import{m as Ue,u as Fe}from"./DLkDSD5m.js";import{u as $e}from"./ClRYlymu.js";const se=P({baseColor:String,divided:Boolean,...j(),...L(),...q(),...W(),...J(),...N(),...T(),...X()},"VBtnGroup"),H=A()({name:"VBtnGroup",props:se(),setup(e,r){let{slots:i}=r;const{themeClasses:t}=D(e),{densityClasses:n}=K(e),{borderClasses:s}=Q(e),{elevationClasses:f}=Y(e),{roundedClasses:g}=Z(e);Ve({VBtn:{height:"auto",baseColor:I(e,"baseColor"),color:I(e,"color"),density:I(e,"density"),flat:!0,variant:I(e,"variant")}}),R(()=>c(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},t.value,s.value,n.value,f.value,g.value,e.class],style:e.style},i))}}),He=P({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),je=P({value:null,disabled:Boolean,selectedClass:String},"group-item");function qe(e,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const t=te("useGroupItem");if(!t)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const n=Se();ae(Symbol.for(`${r.description}:id`),n);const s=Pe(r,null);if(!s){if(!i)return s;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${r.description}`)}const f=I(e,"value"),g=v(()=>!!(s.disabled.value||e.disabled));s.register({id:n,value:f,disabled:g},t),ne(()=>{s.unregister(n)});const b=v(()=>s.isSelected(n)),h=v(()=>s.items.value[0].id===n),C=v(()=>s.items.value[s.items.value.length-1].id===n),k=v(()=>b.value&&[s.selectedClass.value,e.selectedClass]);return le(b,l=>{t.emit("group:selected",{value:l})},{flush:"sync"}),{id:n,isSelected:b,isFirst:h,isLast:C,toggle:()=>s.select(n,!b.value),select:l=>s.select(n,l),selectedClass:k,value:f,disabled:g,group:s}}function We(e,r){let i=!1;const t=Be([]),n=we(e,"modelValue",[],l=>l==null?[]:ie(t,Ae(l)),l=>{const u=Xe(t,l);return e.multiple?u:u[0]}),s=te("useGroup");function f(l,u){const d=l,a=Symbol.for(`${r.description}:id`),m=Ee(a,s==null?void 0:s.vnode).indexOf(u);ze(d.value)==null&&(d.value=m,d.useIndexAsValue=!0),m>-1?t.splice(m,0,d):t.push(d)}function g(l){if(i)return;b();const u=t.findIndex(d=>d.id===l);t.splice(u,1)}function b(){const l=t.find(u=>!u.disabled);l&&e.mandatory==="force"&&!n.value.length&&(n.value=[l.id])}_e(()=>{b()}),ne(()=>{i=!0}),Ge(()=>{for(let l=0;la.id===l);if(!(u&&(d!=null&&d.disabled)))if(e.multiple){const a=n.value.slice(),o=a.findIndex(x=>x===l),m=~o;if(u=u??!m,m&&e.mandatory&&a.length<=1||!m&&e.max!=null&&a.length+1>e.max)return;o<0&&u?a.push(l):o>=0&&!u&&a.splice(o,1),n.value=a}else{const a=n.value.includes(l);if(e.mandatory&&a)return;n.value=u??!a?[l]:[]}}function C(l){if(e.multiple,n.value.length){const u=n.value[0],d=t.findIndex(m=>m.id===u);let a=(d+l)%t.length,o=t[a];for(;o.disabled&&a!==d;)a=(a+l)%t.length,o=t[a];if(o.disabled)return;n.value=[t[a].id]}else{const u=t.find(d=>!d.disabled);u&&(n.value=[u.id])}}const k={register:f,unregister:g,selected:n,select:h,disabled:I(e,"disabled"),prev:()=>C(t.length-1),next:()=>C(1),isSelected:l=>n.value.includes(l),selectedClass:v(()=>e.selectedClass),items:v(()=>t),getItemIndex:l=>Je(t,l)};return ae(r,k),k}function Je(e,r){const i=ie(e,[r]);return i.length?e.findIndex(t=>t.id===i[0]):-1}function ie(e,r){const i=[];return r.forEach(t=>{const n=e.find(f=>Re(t,f.value)),s=e[t];(n==null?void 0:n.value)!=null?i.push(n.id):s!=null&&i.push(s.id)}),i}function Xe(e,r){const i=[];return r.forEach(t=>{const n=e.findIndex(s=>s.id===t);if(~n){const s=e[n];i.push(s.value!=null?s.value:n)}}),i}const oe=Symbol.for("vuetify:v-btn-toggle"),Ke=P({...se(),...He()},"VBtnToggle");A()({name:"VBtnToggle",props:Ke(),emits:{"update:modelValue":e=>!0},setup(e,r){let{slots:i}=r;const{isSelected:t,next:n,prev:s,select:f,selected:g}=We(e,oe);return R(()=>{const b=H.filterProps(e);return c(H,Le({class:["v-btn-toggle",e.class]},b,{style:e.style}),{default:()=>{var h;return[(h=i.default)==null?void 0:h.call(i,{isSelected:t,next:n,prev:s,select:f,selected:g})]}})}),{next:n,prev:s,select:f}}});const Qe=P({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},...L(),...p(),...N({tag:"div"}),...T()},"VProgressCircular"),Ye=A()({name:"VProgressCircular",props:Qe(),setup(e,r){let{slots:i}=r;const t=20,n=2*Math.PI*t,s=Ne(),{themeClasses:f}=D(e),{sizeClasses:g,sizeStyles:b}=ee(e),{textColorClasses:h,textColorStyles:C}=F(I(e,"color")),{textColorClasses:k,textColorStyles:l}=F(I(e,"bgColor")),{intersectionRef:u,isIntersecting:d}=ce(),{resizeRef:a,contentRect:o}=$e(),m=v(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),x=v(()=>Number(e.width)),w=v(()=>b.value?Number(e.size):o.value?o.value.width:Math.max(x.value,32)),B=v(()=>t/(1-x.value/w.value)*2),_=v(()=>x.value/w.value*B.value),S=v(()=>Te((100-m.value)/100*n));return De(()=>{u.value=s.value,a.value=s.value}),R(()=>c(e.tag,{ref:s,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":d.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},f.value,g.value,h.value,e.class],style:[b.value,C.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:m.value},{default:()=>[c("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${B.value} ${B.value}`},[c("circle",{class:["v-progress-circular__underlay",k.value],style:l.value,fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":_.value,"stroke-dasharray":n,"stroke-dashoffset":0},null),c("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":_.value,"stroke-dasharray":n,"stroke-dashoffset":S.value},null)]),i.default&&c("div",{class:"v-progress-circular__content"},[i.default({value:m.value})])]})),{}}});function Ze(e,r){le(()=>{var i;return(i=e.isActive)==null?void 0:i.value},i=>{e.isLink.value&&i&&r&&Me(()=>{r(!0)})},{immediate:!0})}const pe=P({active:{type:Boolean,default:void 0},baseColor:String,symbol:{type:null,default:oe},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,...j(),...L(),...q(),...Ue(),...W(),...je(),...ve(),...fe(),...me(),...J(),...be(),...p(),...N({tag:"button"}),...T(),...X({variant:"elevated"})},"VBtn"),st=A()({name:"VBtn",props:pe(),emits:{"group:selected":e=>!0},setup(e,r){let{attrs:i,slots:t}=r;const{themeClasses:n}=D(e),{borderClasses:s}=Q(e),{densityClasses:f}=K(e),{dimensionStyles:g}=Fe(e),{elevationClasses:b}=Y(e),{loaderClasses:h}=ge(e),{locationStyles:C}=ye(e),{positionClasses:k}=he(e),{roundedClasses:l}=Z(e),{sizeClasses:u,sizeStyles:d}=ee(e),a=qe(e,e.symbol,!1),o=Ce(e,i),m=v(()=>{var y;return e.active!==void 0?e.active:o.isLink.value?(y=o.isActive)==null?void 0:y.value:a==null?void 0:a.isSelected.value}),x=v(()=>{var V,G;return{color:(a==null?void 0:a.isSelected.value)&&(!o.isLink.value||((V=o.isActive)==null?void 0:V.value))||!a||((G=o.isActive)==null?void 0:G.value)?e.color??e.baseColor:e.baseColor,variant:e.variant}}),{colorClasses:w,colorStyles:B,variantClasses:_}=ke(x),S=v(()=>(a==null?void 0:a.disabled.value)||e.disabled),ue=v(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),re=v(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function de(y){var V;S.value||o.isLink.value&&(y.metaKey||y.ctrlKey||y.shiftKey||y.button!==0||i.target==="_blank")||((V=o.navigate)==null||V.call(o,y),a==null||a.toggle())}return Ze(o,a==null?void 0:a.select),R(()=>{const y=o.isLink.value?"a":e.tag,V=!!(e.prependIcon||t.prepend),G=!!(e.appendIcon||t.append),M=!!(e.icon&&e.icon!==!0);return Oe(c(y,{type:y==="a"?void 0:"button",class:["v-btn",a==null?void 0:a.selectedClass.value,{"v-btn--active":m.value,"v-btn--block":e.block,"v-btn--disabled":S.value,"v-btn--elevated":ue.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},n.value,s.value,w.value,f.value,b.value,h.value,k.value,l.value,u.value,_.value,e.class],style:[B.value,g.value,C.value,d.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:S.value||void 0,href:o.href.value,tabindex:e.loading||e.readonly?-1:void 0,onClick:de,value:re.value},{default:()=>{var O;return[xe(!0,"v-btn"),!e.icon&&V&&c("span",{key:"prepend",class:"v-btn__prepend"},[t.prepend?c(z,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},t.prepend):c(E,{key:"prepend-icon",icon:e.prependIcon},null)]),c("span",{class:"v-btn__content","data-no-activator":""},[!t.default&&M?c(E,{key:"content-icon",icon:e.icon},null):c(z,{key:"content-defaults",disabled:!M,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var U;return[((U=t.default)==null?void 0:U.call(t))??e.text]}})]),!e.icon&&G&&c("span",{key:"append",class:"v-btn__append"},[t.append?c(z,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},t.append):c(E,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&c("span",{key:"loader",class:"v-btn__loader"},[((O=t.loader)==null?void 0:O.call(t))??c(Ye,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}}),[[Ie,!S.value&&!!e.ripple,"",{center:!!e.icon}]])}),{group:a}}});export{st as V,H as a,Ye as b,je as c,qe as d,He as e,pe as m,We as u}; +import{s as j,f as q,h as W,b as J,z as X,g as K,w as Q,i as Y,c as Z,B as p,D as ee,e as F,H as ce,m as ve,t as fe,v as me,A as be,u as ge,x as ye,y as he,E as Ce,C as ke,R as Ie,F as xe,a as E,V as z}from"./CIrVMAE7.js";import{m as L,a as N,u as R}from"./C4wkpklv.js";import{L as P,al as T,M as A,ap as D,aH as Ve,X as I,z as c,aw as te,ar as Se,av as ae,ah as Pe,i as v,e as ne,R as le,V as Be,N as we,o as _e,bC as Ge,aG as Re,au as Ae,bD as Ee,E as ze,U as Le,r as Ne,as as Te,af as De,S as Me,ao as $,H as Oe}from"./CEVEV-m9.js";import{m as Ue,u as Fe}from"./r3LqnFig.js";import{u as $e}from"./De5TMrV0.js";const se=P({baseColor:String,divided:Boolean,...j(),...L(),...q(),...W(),...J(),...N(),...T(),...X()},"VBtnGroup"),H=A()({name:"VBtnGroup",props:se(),setup(e,r){let{slots:i}=r;const{themeClasses:t}=D(e),{densityClasses:n}=K(e),{borderClasses:s}=Q(e),{elevationClasses:f}=Y(e),{roundedClasses:g}=Z(e);Ve({VBtn:{height:"auto",baseColor:I(e,"baseColor"),color:I(e,"color"),density:I(e,"density"),flat:!0,variant:I(e,"variant")}}),R(()=>c(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},t.value,s.value,n.value,f.value,g.value,e.class],style:e.style},i))}}),He=P({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),je=P({value:null,disabled:Boolean,selectedClass:String},"group-item");function qe(e,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const t=te("useGroupItem");if(!t)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const n=Se();ae(Symbol.for(`${r.description}:id`),n);const s=Pe(r,null);if(!s){if(!i)return s;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${r.description}`)}const f=I(e,"value"),g=v(()=>!!(s.disabled.value||e.disabled));s.register({id:n,value:f,disabled:g},t),ne(()=>{s.unregister(n)});const b=v(()=>s.isSelected(n)),h=v(()=>s.items.value[0].id===n),C=v(()=>s.items.value[s.items.value.length-1].id===n),k=v(()=>b.value&&[s.selectedClass.value,e.selectedClass]);return le(b,l=>{t.emit("group:selected",{value:l})},{flush:"sync"}),{id:n,isSelected:b,isFirst:h,isLast:C,toggle:()=>s.select(n,!b.value),select:l=>s.select(n,l),selectedClass:k,value:f,disabled:g,group:s}}function We(e,r){let i=!1;const t=Be([]),n=we(e,"modelValue",[],l=>l==null?[]:ie(t,Ae(l)),l=>{const u=Xe(t,l);return e.multiple?u:u[0]}),s=te("useGroup");function f(l,u){const d=l,a=Symbol.for(`${r.description}:id`),m=Ee(a,s==null?void 0:s.vnode).indexOf(u);ze(d.value)==null&&(d.value=m,d.useIndexAsValue=!0),m>-1?t.splice(m,0,d):t.push(d)}function g(l){if(i)return;b();const u=t.findIndex(d=>d.id===l);t.splice(u,1)}function b(){const l=t.find(u=>!u.disabled);l&&e.mandatory==="force"&&!n.value.length&&(n.value=[l.id])}_e(()=>{b()}),ne(()=>{i=!0}),Ge(()=>{for(let l=0;la.id===l);if(!(u&&(d!=null&&d.disabled)))if(e.multiple){const a=n.value.slice(),o=a.findIndex(x=>x===l),m=~o;if(u=u??!m,m&&e.mandatory&&a.length<=1||!m&&e.max!=null&&a.length+1>e.max)return;o<0&&u?a.push(l):o>=0&&!u&&a.splice(o,1),n.value=a}else{const a=n.value.includes(l);if(e.mandatory&&a)return;n.value=u??!a?[l]:[]}}function C(l){if(e.multiple,n.value.length){const u=n.value[0],d=t.findIndex(m=>m.id===u);let a=(d+l)%t.length,o=t[a];for(;o.disabled&&a!==d;)a=(a+l)%t.length,o=t[a];if(o.disabled)return;n.value=[t[a].id]}else{const u=t.find(d=>!d.disabled);u&&(n.value=[u.id])}}const k={register:f,unregister:g,selected:n,select:h,disabled:I(e,"disabled"),prev:()=>C(t.length-1),next:()=>C(1),isSelected:l=>n.value.includes(l),selectedClass:v(()=>e.selectedClass),items:v(()=>t),getItemIndex:l=>Je(t,l)};return ae(r,k),k}function Je(e,r){const i=ie(e,[r]);return i.length?e.findIndex(t=>t.id===i[0]):-1}function ie(e,r){const i=[];return r.forEach(t=>{const n=e.find(f=>Re(t,f.value)),s=e[t];(n==null?void 0:n.value)!=null?i.push(n.id):s!=null&&i.push(s.id)}),i}function Xe(e,r){const i=[];return r.forEach(t=>{const n=e.findIndex(s=>s.id===t);if(~n){const s=e[n];i.push(s.value!=null?s.value:n)}}),i}const oe=Symbol.for("vuetify:v-btn-toggle"),Ke=P({...se(),...He()},"VBtnToggle");A()({name:"VBtnToggle",props:Ke(),emits:{"update:modelValue":e=>!0},setup(e,r){let{slots:i}=r;const{isSelected:t,next:n,prev:s,select:f,selected:g}=We(e,oe);return R(()=>{const b=H.filterProps(e);return c(H,Le({class:["v-btn-toggle",e.class]},b,{style:e.style}),{default:()=>{var h;return[(h=i.default)==null?void 0:h.call(i,{isSelected:t,next:n,prev:s,select:f,selected:g})]}})}),{next:n,prev:s,select:f}}});const Qe=P({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},...L(),...p(),...N({tag:"div"}),...T()},"VProgressCircular"),Ye=A()({name:"VProgressCircular",props:Qe(),setup(e,r){let{slots:i}=r;const t=20,n=2*Math.PI*t,s=Ne(),{themeClasses:f}=D(e),{sizeClasses:g,sizeStyles:b}=ee(e),{textColorClasses:h,textColorStyles:C}=F(I(e,"color")),{textColorClasses:k,textColorStyles:l}=F(I(e,"bgColor")),{intersectionRef:u,isIntersecting:d}=ce(),{resizeRef:a,contentRect:o}=$e(),m=v(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),x=v(()=>Number(e.width)),w=v(()=>b.value?Number(e.size):o.value?o.value.width:Math.max(x.value,32)),B=v(()=>t/(1-x.value/w.value)*2),_=v(()=>x.value/w.value*B.value),S=v(()=>Te((100-m.value)/100*n));return De(()=>{u.value=s.value,a.value=s.value}),R(()=>c(e.tag,{ref:s,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":d.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},f.value,g.value,h.value,e.class],style:[b.value,C.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:m.value},{default:()=>[c("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${B.value} ${B.value}`},[c("circle",{class:["v-progress-circular__underlay",k.value],style:l.value,fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":_.value,"stroke-dasharray":n,"stroke-dashoffset":0},null),c("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":_.value,"stroke-dasharray":n,"stroke-dashoffset":S.value},null)]),i.default&&c("div",{class:"v-progress-circular__content"},[i.default({value:m.value})])]})),{}}});function Ze(e,r){le(()=>{var i;return(i=e.isActive)==null?void 0:i.value},i=>{e.isLink.value&&i&&r&&Me(()=>{r(!0)})},{immediate:!0})}const pe=P({active:{type:Boolean,default:void 0},baseColor:String,symbol:{type:null,default:oe},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,...j(),...L(),...q(),...Ue(),...W(),...je(),...ve(),...fe(),...me(),...J(),...be(),...p(),...N({tag:"button"}),...T(),...X({variant:"elevated"})},"VBtn"),st=A()({name:"VBtn",props:pe(),emits:{"group:selected":e=>!0},setup(e,r){let{attrs:i,slots:t}=r;const{themeClasses:n}=D(e),{borderClasses:s}=Q(e),{densityClasses:f}=K(e),{dimensionStyles:g}=Fe(e),{elevationClasses:b}=Y(e),{loaderClasses:h}=ge(e),{locationStyles:C}=ye(e),{positionClasses:k}=he(e),{roundedClasses:l}=Z(e),{sizeClasses:u,sizeStyles:d}=ee(e),a=qe(e,e.symbol,!1),o=Ce(e,i),m=v(()=>{var y;return e.active!==void 0?e.active:o.isLink.value?(y=o.isActive)==null?void 0:y.value:a==null?void 0:a.isSelected.value}),x=v(()=>{var V,G;return{color:(a==null?void 0:a.isSelected.value)&&(!o.isLink.value||((V=o.isActive)==null?void 0:V.value))||!a||((G=o.isActive)==null?void 0:G.value)?e.color??e.baseColor:e.baseColor,variant:e.variant}}),{colorClasses:w,colorStyles:B,variantClasses:_}=ke(x),S=v(()=>(a==null?void 0:a.disabled.value)||e.disabled),ue=v(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),re=v(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function de(y){var V;S.value||o.isLink.value&&(y.metaKey||y.ctrlKey||y.shiftKey||y.button!==0||i.target==="_blank")||((V=o.navigate)==null||V.call(o,y),a==null||a.toggle())}return Ze(o,a==null?void 0:a.select),R(()=>{const y=o.isLink.value?"a":e.tag,V=!!(e.prependIcon||t.prepend),G=!!(e.appendIcon||t.append),M=!!(e.icon&&e.icon!==!0);return Oe(c(y,{type:y==="a"?void 0:"button",class:["v-btn",a==null?void 0:a.selectedClass.value,{"v-btn--active":m.value,"v-btn--block":e.block,"v-btn--disabled":S.value,"v-btn--elevated":ue.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},n.value,s.value,w.value,f.value,b.value,h.value,k.value,l.value,u.value,_.value,e.class],style:[B.value,g.value,C.value,d.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:S.value||void 0,href:o.href.value,tabindex:e.loading||e.readonly?-1:void 0,onClick:de,value:re.value},{default:()=>{var O;return[xe(!0,"v-btn"),!e.icon&&V&&c("span",{key:"prepend",class:"v-btn__prepend"},[t.prepend?c(z,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},t.prepend):c(E,{key:"prepend-icon",icon:e.prependIcon},null)]),c("span",{class:"v-btn__content","data-no-activator":""},[!t.default&&M?c(E,{key:"content-icon",icon:e.icon},null):c(z,{key:"content-defaults",disabled:!M,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var U;return[((U=t.default)==null?void 0:U.call(t))??e.text]}})]),!e.icon&&G&&c("span",{key:"append",class:"v-btn__append"},[t.append?c(z,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},t.append):c(E,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&c("span",{key:"loader",class:"v-btn__loader"},[((O=t.loader)==null?void 0:O.call(t))??c(Ye,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}}),[[Ie,!S.value&&!!e.ripple,"",{center:!!e.icon}]])}),{group:a}}});export{st as V,H as a,Ye as b,je as c,qe as d,He as e,pe as m,We as u}; diff --git a/latest/_nuxt/CXRQEslg.js b/latest/_nuxt/CXRQEslg.js new file mode 100644 index 00000000..cfd06b89 --- /dev/null +++ b/latest/_nuxt/CXRQEslg.js @@ -0,0 +1 @@ +import{u as s}from"./Cy0AbNDn.js";import{D as i,A as a,E as n,t as u,x as e,y as r,B as o}from"./CEVEV-m9.js";import{V as d}from"./CsQoP8Vj.js";/* empty css */import"./C4wkpklv.js";const l="About",g={__name:"about",setup(m){return s({title:"VJSF - "+l}),(p,t)=>(u(),i(n(d),{class:"doc-content-page"},{default:a(()=>[e("h1",{class:"text-h2 mb-8"},r(l)),t[0]||(t[0]=e("p",null,[o(" VJSF is a library to create forms for "),e("a",{href:"https://vuejs.org/"},"Vue.js"),o(" / "),e("a",{href:"https://vuetifyjs.com/"},"Vuetify"),o(" applications in a declarative manner using annotated "),e("a",{href:"https://json-schema.org/"},"JSON Schemas"),o(". The core of VJSF is "),e("a",{href:"https://github.com/json-layout/json-layout"},"JSON Layout"),o(". ")],-1)),t[1]||(t[1]=e("p",null,[o(' It is written primarily as a "scratch my own itch" project by '),e("a",{href:"https://koumoul.com"},"Koumoul"),o(", and we use it extensively. But it is opened to feedback and contributions on "),e("a",{href:"https://github.com/koumoul-dev/vuetify-jsonschema-form"},"Github"),o(" and it is published under the very permissive MIT license. ")],-1)),t[2]||(t[2]=e("p",null," It might be suited for you if: ",-1)),t[3]||(t[3]=e("ul",null,[e("li",null,"you are tired of coding forms"),e("li",null,"you need declarative forms as a consequence of your software's architecture (generic admin UI, etc.)"),e("li",null,"you already use Vue.js + Vuetify (or if you are prepared to pull a bunch of new dependencies)")],-1)),t[4]||(t[4]=e("p",null," We try to strike a nice balance between these qualities: ",-1)),t[5]||(t[5]=e("ul",null,[e("li",null,[e("b",null,"simplicity"),o(" - feed VJSF a simple and valid JSON schema and you should get a viable form")]),e("li",null,[e("b",null,"completeness"),o(" - the main JSON schemas semantics should be covered as well as the most common use-cases for forms in Web applications")]),e("li",null,[e("b",null,"extensibility"),o(" - more specific use cases should also be supported through the use of lower level tools like slots, custom styles, etc.")]),e("li",null,[e("b",null,"validity"),o(" - the output of the form should be valid against the provided schema")]),e("li",null,[e("b",null,"homogeneity"),o(" - the look and feel should be consistent accross all form functionalities and inside your application as a whole")])],-1)),t[6]||(t[6]=e("p",null," While trying to strike this balance we made some debatable choices that you should be aware of: ",-1)),t[7]||(t[7]=e("ul",null,[e("li",null,"Structure and presentation are coupled. Meaning that the rendering of the form is derived directly from the schema (as well as some options) and you will need to change the schema in order to modify a label, create a section, etc."),e("li",null,"Some functionalities are explicitly coupled to Vuetify. We let you use parameters that are directly mapped to Vuetify underlying components (slots, props, layout classes, etc.)")],-1))]),_:1}))}};export{g as default}; diff --git a/latest/_nuxt/qubXDR7u.js b/latest/_nuxt/Ck7lKZph.js similarity index 99% rename from latest/_nuxt/qubXDR7u.js rename to latest/_nuxt/Ck7lKZph.js index f131bbf3..63e7bc84 100644 --- a/latest/_nuxt/qubXDR7u.js +++ b/latest/_nuxt/Ck7lKZph.js @@ -1,4 +1,4 @@ -import{d as qs,h as Q}from"./CvXVYCmv.js";function ke(){return ke=Object.assign||function(s){for(var e=1;e";return e},lineNumbersCount:function(){var e=this.codeData.split(/\r\n|\n/).length;return e}},mounted:function(){this._recordCurrentState(),this.styleLineNumbers()},methods:{setLineNumbersHeight:function(){this.lineNumbersHeight=getComputedStyle(this.$refs.pre).height},styleLineNumbers:function(){if(!(!this.lineNumbers||!this.autoStyleLineNumbers)){var e=this.$refs.pre,t=this.$el.querySelector(".prism-editor__line-numbers"),n=window.getComputedStyle(e);this.$nextTick(function(){var i="border-top-left-radius",r="border-bottom-left-radius";if(t){t.style[i]=n[i],t.style[r]=n[r],e.style[i]="0",e.style[r]="0";var o=["background-color","margin-top","padding-top","font-family","font-size","line-height"];o.forEach(function(l){t.style[l]=n[l]}),t.style["margin-bottom"]="-"+n["padding-top"]}})}},_recordCurrentState:function(){var e=this.$refs.textarea;if(e){var t=e.value,n=e.selectionStart,i=e.selectionEnd;this._recordChange({value:t,selectionStart:n,selectionEnd:i})}},_getLines:function(e,t){return e.substring(0,t).split(` +import{d as qs,h as Q}from"./CEVEV-m9.js";function ke(){return ke=Object.assign||function(s){for(var e=1;e";return e},lineNumbersCount:function(){var e=this.codeData.split(/\r\n|\n/).length;return e}},mounted:function(){this._recordCurrentState(),this.styleLineNumbers()},methods:{setLineNumbersHeight:function(){this.lineNumbersHeight=getComputedStyle(this.$refs.pre).height},styleLineNumbers:function(){if(!(!this.lineNumbers||!this.autoStyleLineNumbers)){var e=this.$refs.pre,t=this.$el.querySelector(".prism-editor__line-numbers"),n=window.getComputedStyle(e);this.$nextTick(function(){var i="border-top-left-radius",r="border-bottom-left-radius";if(t){t.style[i]=n[i],t.style[r]=n[r],e.style[i]="0",e.style[r]="0";var o=["background-color","margin-top","padding-top","font-family","font-size","line-height"];o.forEach(function(l){t.style[l]=n[l]}),t.style["margin-bottom"]="-"+n["padding-top"]}})}},_recordCurrentState:function(){var e=this.$refs.textarea;if(e){var t=e.value,n=e.selectionStart,i=e.selectionEnd;this._recordChange({value:t,selectionStart:n,selectionEnd:i})}},_getLines:function(e,t){return e.substring(0,t).split(` `)},_applyEdits:function(e){var t=this.$refs.textarea,n=this.history.stack[this.history.offset];n&&t&&(this.history.stack[this.history.offset]=ke({},n,{selectionStart:t.selectionStart,selectionEnd:t.selectionEnd})),this._recordChange(e),this._updateInput(e)},_recordChange:function(e,t){t===void 0&&(t=!1);var n=this.history,i=n.stack,r=n.offset;if(i.length&&r>-1){this.history.stack=i.slice(0,r+1);var o=this.history.stack.length;if(o>Dt){var l=o-Dt;this.history.stack=i.slice(l,o),this.history.offset=Math.max(this.history.offset-l,0)}}var a=Date.now();if(t){var c=this.history.stack[this.history.offset];if(c&&a-c.timestamp=f&&J<=d&&v.startsWith(c)?v.substring(c.length):v}).join(` `);if(o!==h){var y=p[f];this._applyEdits({value:h,selectionStart:y.startsWith(c)?l-c.length:l,selectionEnd:a-(o.length-h.length)})}}else if(l!==a){var u=this._getLines(o,l),m=u.length-1,b=this._getLines(o,a).length-1,S=u[m];this._applyEdits({value:o.split(` diff --git a/latest/_nuxt/DX-9AI5c.js b/latest/_nuxt/CsQoP8Vj.js similarity index 69% rename from latest/_nuxt/DX-9AI5c.js rename to latest/_nuxt/CsQoP8Vj.js index cfb2e120..5feebb7a 100644 --- a/latest/_nuxt/DX-9AI5c.js +++ b/latest/_nuxt/CsQoP8Vj.js @@ -1 +1 @@ -/* empty css */import{m as o,a as n,u as r}from"./DzteZw27.js";import{L as l,M as i,aq as m,z as c}from"./CvXVYCmv.js";const u=l({fluid:{type:Boolean,default:!1},...o(),...n()},"VContainer"),d=i()({name:"VContainer",props:u(),setup(e,a){let{slots:s}=a;const{rtlClasses:t}=m();return r(()=>c(e.tag,{class:["v-container",{"v-container--fluid":e.fluid},t.value,e.class],style:e.style},s)),{}}});export{d as V}; +/* empty css */import{m as o,a as n,u as r}from"./C4wkpklv.js";import{L as l,M as i,aq as m,z as c}from"./CEVEV-m9.js";const u=l({fluid:{type:Boolean,default:!1},...o(),...n()},"VContainer"),d=i()({name:"VContainer",props:u(),setup(e,a){let{slots:s}=a;const{rtlClasses:t}=m();return r(()=>c(e.tag,{class:["v-container",{"v-container--fluid":e.fluid},t.value,e.class],style:e.style},s)),{}}});export{d as V}; diff --git a/latest/_nuxt/Bi6dEcX5.js b/latest/_nuxt/Cv3ZNbWM.js similarity index 92% rename from latest/_nuxt/Bi6dEcX5.js rename to latest/_nuxt/Cv3ZNbWM.js index ead9c07d..23479169 100644 --- a/latest/_nuxt/Bi6dEcX5.js +++ b/latest/_nuxt/Cv3ZNbWM.js @@ -1,4 +1,4 @@ -import{_ as u}from"./CzVAowgZ.js";import{u as p}from"./Bgvi-vPr.js";import{D as a,A as s,E as r,t as m,x as t,y as d,z as l,B as o}from"./CvXVYCmv.js";import{V as f}from"./DX-9AI5c.js";import"./CILx4owX.js";/* empty css */import"./DzteZw27.js";const e="Plugins",v={__name:"plugins",setup(g){return p({title:"VJSF - "+e}),(y,n)=>{const i=u;return m(),a(r(f),{class:"doc-content-page"},{default:s(()=>[t("h1",{class:"text-h2 mb-8"},d(e)),n[4]||(n[4]=t("p",null,"All components that are quite light and that mostly use Vuetify components are included directly into vjsf. But other components that use more specific dependencies are externalized into plugins.",-1)),n[5]||(n[5]=t("h2",{class:"text-h4 my-6"}," Using a plugin ",-1)),n[6]||(n[6]=t("p",null,"Install it:",-1)),l(i,{language:"bash"},{default:s(()=>n[0]||(n[0]=[o(" npm install @koumoul/vjsf-markdown ")])),_:1}),n[7]||(n[7]=t("p",null,"When using compilation at build time, installing the plugin is sufficient and the necessary imports will be taken care of automatically.",-1)),n[8]||(n[8]=t("p",null,[o("When using compilation at runtime, you should import the plugin and provide it to vjsf using the "),t("code",null,"plugins"),o(" option:")],-1)),n[9]||(n[9]=t("p",null,[o("Plugins can use specific options defined in the "),t("code",null,"pluginsOptions"),o(" options.")],-1)),l(i,null,{default:s(()=>n[1]||(n[1]=[t("pre",null,`import Vjsf from '@koumoul/vjsf' +import{_ as u}from"./lKBEMcP3.js";import{u as p}from"./Cy0AbNDn.js";import{D as a,A as s,E as r,t as m,x as t,y as d,z as l,B as o}from"./CEVEV-m9.js";import{V as f}from"./CsQoP8Vj.js";import"./sxJKSY20.js";/* empty css */import"./C4wkpklv.js";const e="Plugins",v={__name:"plugins",setup(g){return p({title:"VJSF - "+e}),(y,n)=>{const i=u;return m(),a(r(f),{class:"doc-content-page"},{default:s(()=>[t("h1",{class:"text-h2 mb-8"},d(e)),n[4]||(n[4]=t("p",null,"All components that are quite light and that mostly use Vuetify components are included directly into vjsf. But other components that use more specific dependencies are externalized into plugins.",-1)),n[5]||(n[5]=t("h2",{class:"text-h4 my-6"}," Using a plugin ",-1)),n[6]||(n[6]=t("p",null,"Install it:",-1)),l(i,{language:"bash"},{default:s(()=>n[0]||(n[0]=[o(" npm install @koumoul/vjsf-markdown ")])),_:1}),n[7]||(n[7]=t("p",null,"When using compilation at build time, installing the plugin is sufficient and the necessary imports will be taken care of automatically.",-1)),n[8]||(n[8]=t("p",null,[o("When using compilation at runtime, you should import the plugin and provide it to vjsf using the "),t("code",null,"plugins"),o(" option:")],-1)),n[9]||(n[9]=t("p",null,[o("Plugins can use specific options defined in the "),t("code",null,"pluginsOptions"),o(" options.")],-1)),l(i,null,{default:s(()=>n[1]||(n[1]=[t("pre",null,`import Vjsf from '@koumoul/vjsf' import VjsfMarkdown from '@koumoul/vjsf-markdown' const options = { diff --git a/latest/_nuxt/BS89yCMn.js b/latest/_nuxt/CwwZrPOO.js similarity index 99% rename from latest/_nuxt/BS89yCMn.js rename to latest/_nuxt/CwwZrPOO.js index d79b3b54..0f87a5fa 100644 --- a/latest/_nuxt/BS89yCMn.js +++ b/latest/_nuxt/CwwZrPOO.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CNIDHaEy.js","./CvXVYCmv.js","./entry.B9swg-wU.css"])))=>i.map(i=>d[i]); -var ie=Object.defineProperty;var re=(s,n,t)=>n in s?ie(s,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[n]=t;var V=(s,n,t)=>re(s,typeof n!="symbol"?n+"":n,t);import{d as se,r as le,X as oe,i as B,h as E,o as ae,W as ce,R as Q,Y as ue,Z as he,$ as pe}from"./CvXVYCmv.js";import{v as de,x as fe,y as ge}from"./CWbhR30t.js";const me={name:"markdown",shouldDebounce:!0,emitsBlur:!0,focusable:!0};function Z(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let A=Z();function ke(s){A=s}const J=/[&<>"']/,xe=new RegExp(J.source,"g"),K=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,be=new RegExp(K.source,"g"),we={"&":"&","<":"<",">":">",'"':""","'":"'"},H=s=>we[s];function y(s,n){if(n){if(J.test(s))return s.replace(xe,H)}else if(K.test(s))return s.replace(be,H);return s}const ye=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ee(s){return s.replace(ye,(n,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const _e=/(^|[^\[])\^/g;function b(s,n){s=typeof s=="string"?s:s.source,n=n||"";const t={replace:(e,i)=>(i=i.source||i,i=i.replace(_e,"$1"),s=s.replace(e,i),t),getRegex:()=>new RegExp(s,n)};return t}const $e=/[^\w:]/g,ve=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function F(s,n,t){if(s){let e;try{e=decodeURIComponent(ee(t)).replace($e,"").toLowerCase()}catch{return null}if(e.indexOf("javascript:")===0||e.indexOf("vbscript:")===0||e.indexOf("data:")===0)return null}n&&!ve.test(t)&&(t=Re(n,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const M={},ze=/^[^:]+:\/*[^/]*$/,Se=/^([^:]+:)[\s\S]*$/,Te=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Re(s,n){M[" "+s]||(ze.test(s)?M[" "+s]=s+"/":M[" "+s]=L(s,"/",!0)),s=M[" "+s];const t=s.indexOf(":")===-1;return n.substring(0,2)==="//"?t?n:s.replace(Se,"$1")+n:n.charAt(0)==="/"?t?n:s.replace(Te,"$1")+n:s+n}const D={exec:function(){}};function X(s,n){const t=s.replace(/\|/g,(r,l,o)=>{let c=!1,d=l;for(;--d>=0&&o[d]==="\\";)c=!c;return c?"|":" |"}),e=t.split(/ \|/);let i=0;if(e[0].trim()||e.shift(),e.length>0&&!e[e.length-1].trim()&&e.pop(),e.length>n)e.splice(n);else for(;e.length1;)n&1&&(t+=s),n>>=1,s+=s;return t+s}function G(s,n,t,e){const i=n.href,r=n.title?y(n.title):null,l=s[1].replace(/\\([\[\]])/g,"$1");if(s[0].charAt(0)!=="!"){e.state.inLink=!0;const o={type:"link",raw:t,href:i,title:r,text:l,tokens:e.inlineTokens(l)};return e.state.inLink=!1,o}return{type:"image",raw:t,href:i,title:r,text:y(l)}}function Ee(s,n){const t=s.match(/^(\s+)(?:```)/);if(t===null)return n;const e=t[1];return n.split(` +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Y4qMAcG-.js","./CEVEV-m9.js","./entry.B9swg-wU.css"])))=>i.map(i=>d[i]); +var ie=Object.defineProperty;var re=(s,n,t)=>n in s?ie(s,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[n]=t;var V=(s,n,t)=>re(s,typeof n!="symbol"?n+"":n,t);import{d as se,r as le,X as oe,i as B,h as E,o as ae,W as ce,R as Q,Y as ue,Z as he,$ as pe}from"./CEVEV-m9.js";import{v as de,x as fe,y as ge}from"./BBn2cySh.js";const me={name:"markdown",shouldDebounce:!0,emitsBlur:!0,focusable:!0};function Z(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let A=Z();function ke(s){A=s}const J=/[&<>"']/,xe=new RegExp(J.source,"g"),K=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,be=new RegExp(K.source,"g"),we={"&":"&","<":"<",">":">",'"':""","'":"'"},H=s=>we[s];function y(s,n){if(n){if(J.test(s))return s.replace(xe,H)}else if(K.test(s))return s.replace(be,H);return s}const ye=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ee(s){return s.replace(ye,(n,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const _e=/(^|[^\[])\^/g;function b(s,n){s=typeof s=="string"?s:s.source,n=n||"";const t={replace:(e,i)=>(i=i.source||i,i=i.replace(_e,"$1"),s=s.replace(e,i),t),getRegex:()=>new RegExp(s,n)};return t}const $e=/[^\w:]/g,ve=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function F(s,n,t){if(s){let e;try{e=decodeURIComponent(ee(t)).replace($e,"").toLowerCase()}catch{return null}if(e.indexOf("javascript:")===0||e.indexOf("vbscript:")===0||e.indexOf("data:")===0)return null}n&&!ve.test(t)&&(t=Re(n,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const M={},ze=/^[^:]+:\/*[^/]*$/,Se=/^([^:]+:)[\s\S]*$/,Te=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Re(s,n){M[" "+s]||(ze.test(s)?M[" "+s]=s+"/":M[" "+s]=L(s,"/",!0)),s=M[" "+s];const t=s.indexOf(":")===-1;return n.substring(0,2)==="//"?t?n:s.replace(Se,"$1")+n:n.charAt(0)==="/"?t?n:s.replace(Te,"$1")+n:s+n}const D={exec:function(){}};function X(s,n){const t=s.replace(/\|/g,(r,l,o)=>{let c=!1,d=l;for(;--d>=0&&o[d]==="\\";)c=!c;return c?"|":" |"}),e=t.split(/ \|/);let i=0;if(e[0].trim()||e.shift(),e.length>0&&!e[e.length-1].trim()&&e.pop(),e.length>n)e.splice(n);else for(;e.length1;)n&1&&(t+=s),n>>=1,s+=s;return t+s}function G(s,n,t,e){const i=n.href,r=n.title?y(n.title):null,l=s[1].replace(/\\([\[\]])/g,"$1");if(s[0].charAt(0)!=="!"){e.state.inLink=!0;const o={type:"link",raw:t,href:i,title:r,text:l,tokens:e.inlineTokens(l)};return e.state.inLink=!1,o}return{type:"image",raw:t,href:i,title:r,text:y(l)}}function Ee(s,n){const t=s.match(/^(\s+)(?:```)/);if(t===null)return n;const e=t[1];return n.split(` `).map(i=>{const r=i.match(/^\s+/);if(r===null)return i;const[l]=r;return l.length>=e.length?i.slice(e.length):i}).join(` `)}class q{constructor(n){this.options=n||A}space(n){const t=this.rules.block.newline.exec(n);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(n){const t=this.rules.block.code.exec(n);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:L(e,` `)}}}fences(n){const t=this.rules.block.fences.exec(n);if(t){const e=t[0],i=Ee(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:i}}}heading(n){const t=this.rules.block.heading.exec(n);if(t){let e=t[2].trim();if(/#$/.test(e)){const i=L(e,"#");(this.options.pedantic||!i||/ $/.test(i))&&(e=i.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(n){const t=this.rules.block.hr.exec(n);if(t)return{type:"hr",raw:t[0]}}blockquote(n){const t=this.rules.block.blockquote.exec(n);if(t){const e=t[0].replace(/^ *>[ \t]?/gm,""),i=this.lexer.state.top;this.lexer.state.top=!0;const r=this.lexer.blockTokens(e);return this.lexer.state.top=i,{type:"blockquote",raw:t[0],tokens:r,text:e}}}list(n){let t=this.rules.block.list.exec(n);if(t){let e,i,r,l,o,c,d,f,g,m,a,k,_=t[1].trim();const $=_.length>1,x={type:"list",raw:"",ordered:$,start:$?+_.slice(0,-1):"",loose:!1,items:[]};_=$?`\\d{1,9}\\${_.slice(-1)}`:`\\${_}`,this.options.pedantic&&(_=$?_:"[*+-]");const w=new RegExp(`^( {0,3}${_})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;n&&(k=!1,!(!(t=w.exec(n))||this.rules.block.hr.test(n)));){if(e=t[0],n=n.substring(e.length),f=t[2].split(` @@ -44,7 +44,7 @@ ${n} `}tablecell(n,t){const e=t.header?"th":"td";return(t.align?`<${e} align="${t.align}">`:`<${e}>`)+n+` `}strong(n){return`${n}`}em(n){return`${n}`}codespan(n){return`${n}`}br(){return this.options.xhtml?"
":"
"}del(n){return`${n}`}link(n,t,e){if(n=F(this.options.sanitize,this.options.baseUrl,n),n===null)return e;let i='",i}image(n,t,e){if(n=F(this.options.sanitize,this.options.baseUrl,n),n===null)return e;let i=`${e}":">",i}text(n){return n}}class N{strong(n){return n}em(n){return n}codespan(n){return n}del(n){return n}html(n){return n}text(n){return n}link(n,t,e){return""+e}image(n,t,e){return""+e}br(){return""}}class P{constructor(){this.seen={}}serialize(n){return n.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(n,t){let e=n,i=0;if(this.seen.hasOwnProperty(e)){i=this.seen[n];do i++,e=n+"-"+i;while(this.seen.hasOwnProperty(e))}return t||(this.seen[n]=i,this.seen[e]=0),e}slug(n,t={}){const e=this.serialize(n);return this.getNextSafeSlug(e,t.dryrun)}}class R{constructor(n){this.options=n||A,this.options.renderer=this.options.renderer||new O,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new N,this.slugger=new P}static parse(n,t){return new R(t).parse(n)}static parseInline(n,t){return new R(t).parseInline(n)}parse(n,t=!0){let e="",i,r,l,o,c,d,f,g,m,a,k,_,$,x,w,I,S,v,z;const C=n.length;for(i=0;i0&&w.tokens[0].type==="paragraph"?(w.tokens[0].text=v+" "+w.tokens[0].text,w.tokens[0].tokens&&w.tokens[0].tokens.length>0&&w.tokens[0].tokens[0].type==="text"&&(w.tokens[0].tokens[0].text=v+" "+w.tokens[0].tokens[0].text)):w.tokens.unshift({type:"text",text:v}):x+=v),x+=this.parse(w.tokens,$),m+=this.renderer.listitem(x,S,I);e+=this.renderer.list(m,k,_);continue}case"html":{e+=this.renderer.html(a.text);continue}case"paragraph":{e+=this.renderer.paragraph(this.parseInline(a.tokens));continue}case"text":{for(m=a.tokens?this.parseInline(a.tokens):a.text;i+1{if(e.message+=` -Please report this to https://github.com/markedjs/marked.`,s){const i="

An error occurred:

"+y(e.message+"",!0)+"
";if(n)return Promise.resolve(i);if(t){t(null,i);return}return i}if(n)return Promise.reject(e);if(t){t(e);return}throw e}}function te(s,n){return(t,e,i)=>{typeof e=="function"&&(i=e,e=null);const r={...e};e={...h.defaults,...r};const l=je(e.silent,e.async,i);if(typeof t>"u"||t===null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(Ae(e),e.hooks&&(e.hooks.options=e),i){const o=e.highlight;let c;try{e.hooks&&(t=e.hooks.preprocess(t)),c=s(t,e)}catch(g){return l(g)}const d=function(g){let m;if(!g)try{e.walkTokens&&h.walkTokens(c,e.walkTokens),m=n(c,e),e.hooks&&(m=e.hooks.postprocess(m))}catch(a){g=a}return e.highlight=o,g?l(g):i(null,m)};if(!o||o.length<3||(delete e.highlight,!c.length))return d();let f=0;h.walkTokens(c,function(g){g.type==="code"&&(f++,setTimeout(()=>{o(g.text,g.lang,function(m,a){if(m)return d(m);a!=null&&a!==g.text&&(g.text=a,g.escaped=!0),f--,f===0&&d()})},0))}),f===0&&d();return}if(e.async)return Promise.resolve(e.hooks?e.hooks.preprocess(t):t).then(o=>s(o,e)).then(o=>e.walkTokens?Promise.all(h.walkTokens(o,e.walkTokens)).then(()=>o):o).then(o=>n(o,e)).then(o=>e.hooks?e.hooks.postprocess(o):o).catch(l);try{e.hooks&&(t=e.hooks.preprocess(t));const o=s(t,e);e.walkTokens&&h.walkTokens(o,e.walkTokens);let c=n(o,e);return e.hooks&&(c=e.hooks.postprocess(c)),c}catch(o){return l(o)}}}function h(s,n,t){return te(T.lex,R.parse)(s,n,t)}h.options=h.setOptions=function(s){return h.defaults={...h.defaults,...s},ke(h.defaults),h};h.getDefaults=Z;h.defaults=A;h.use=function(...s){const n=h.defaults.extensions||{renderers:{},childTokens:{}};s.forEach(t=>{const e={...t};if(e.async=h.defaults.async||e.async||!1,t.extensions&&(t.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if(i.renderer){const r=n.renderers[i.name];r?n.renderers[i.name]=function(...l){let o=i.renderer.apply(this,l);return o===!1&&(o=r.apply(this,l)),o}:n.renderers[i.name]=i.renderer}if(i.tokenizer){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");n[i.level]?n[i.level].unshift(i.tokenizer):n[i.level]=[i.tokenizer],i.start&&(i.level==="block"?n.startBlock?n.startBlock.push(i.start):n.startBlock=[i.start]:i.level==="inline"&&(n.startInline?n.startInline.push(i.start):n.startInline=[i.start]))}i.childTokens&&(n.childTokens[i.name]=i.childTokens)}),e.extensions=n),t.renderer){const i=h.defaults.renderer||new O;for(const r in t.renderer){const l=i[r];i[r]=(...o)=>{let c=t.renderer[r].apply(i,o);return c===!1&&(c=l.apply(i,o)),c}}e.renderer=i}if(t.tokenizer){const i=h.defaults.tokenizer||new q;for(const r in t.tokenizer){const l=i[r];i[r]=(...o)=>{let c=t.tokenizer[r].apply(i,o);return c===!1&&(c=l.apply(i,o)),c}}e.tokenizer=i}if(t.hooks){const i=h.defaults.hooks||new j;for(const r in t.hooks){const l=i[r];j.passThroughHooks.has(r)?i[r]=o=>{if(h.defaults.async)return Promise.resolve(t.hooks[r].call(i,o)).then(d=>l.call(i,d));const c=t.hooks[r].call(i,o);return l.call(i,c)}:i[r]=(...o)=>{let c=t.hooks[r].apply(i,o);return c===!1&&(c=l.apply(i,o)),c}}e.hooks=i}if(t.walkTokens){const i=h.defaults.walkTokens;e.walkTokens=function(r){let l=[];return l.push(t.walkTokens.call(this,r)),i&&(l=l.concat(i.call(this,r))),l}}h.setOptions(e)})};h.walkTokens=function(s,n){let t=[];for(const e of s)switch(t=t.concat(n.call(h,e)),e.type){case"table":{for(const i of e.header)t=t.concat(h.walkTokens(i.tokens,n));for(const i of e.rows)for(const r of i)t=t.concat(h.walkTokens(r.tokens,n));break}case"list":{t=t.concat(h.walkTokens(e.items,n));break}default:h.defaults.extensions&&h.defaults.extensions.childTokens&&h.defaults.extensions.childTokens[e.type]?h.defaults.extensions.childTokens[e.type].forEach(function(i){t=t.concat(h.walkTokens(e[i],n))}):e.tokens&&(t=t.concat(h.walkTokens(e.tokens,n)))}return t};h.parseInline=te(T.lexInline,R.parseInline);h.Parser=R;h.parser=R.parse;h.Renderer=O;h.TextRenderer=N;h.Lexer=T;h.lexer=T.lex;h.Tokenizer=q;h.Slugger=P;h.Hooks=j;h.parse=h;const Me=h.options,Le=h.setOptions,De=h.use,qe=h.walkTokens,Oe=h.parseInline,Be=h,Ze=R.parse,Ne=T.lex,He=Object.freeze(Object.defineProperty({__proto__:null,Hooks:j,Lexer:T,Parser:R,Renderer:O,Slugger:P,TextRenderer:N,Tokenizer:q,get defaults(){return A},getDefaults:Z,lexer:Ne,marked:h,options:Me,parse:Be,parseInline:Oe,parser:Ze,setOptions:Le,use:De,walkTokens:qe},Symbol.toStringTag,{value:"Module"})),ne=se({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(s,{expose:n}){const t=le(null),{inputProps:e,compSlots:i,localData:r}=de(oe(s.modelValue),s.statefulLayout),l=B(()=>r.value&&h.parse(r.value)),o=B(()=>{const a={...i.value};return a.default=()=>{const k=[E(fe,{text:e.value.label}),E("textarea",{ref:t})];return s.modelValue.options.summary&&k.push(E("div",{innerHTML:l.value})),E("div",{class:"vjsf-node-markdown-content"},k)},a});let c=null,d=null;const f=async()=>{if(s.modelValue.options.readOnly)return;if(!t.value)throw new Error("component was not mounted for markdown editor");const a=(await he(async()=>{const{default:w}=await import("./CNIDHaEy.js").then(I=>I.e);return{default:w}},__vite__mapDeps([0,1,2]),import.meta.url)).default,k=s.modelValue.messages,_=s.modelValue.options.pluginsOptions.markdown,$={element:t.value,initialValue:s.modelValue.data??"",renderingConfig:{},status:!1,autoDownloadFontAwesome:!1,spellChecker:!1,minHeight:"300px",insertTexts:{link:[k.mdeLink1,k.mdeLink2],image:[k.mdeImg1,k.mdeImg2],table:[k.mdeTable1,k.mdeTable2],horizontalRule:["",` +Please report this to https://github.com/markedjs/marked.`,s){const i="

An error occurred:

"+y(e.message+"",!0)+"
";if(n)return Promise.resolve(i);if(t){t(null,i);return}return i}if(n)return Promise.reject(e);if(t){t(e);return}throw e}}function te(s,n){return(t,e,i)=>{typeof e=="function"&&(i=e,e=null);const r={...e};e={...h.defaults,...r};const l=je(e.silent,e.async,i);if(typeof t>"u"||t===null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(Ae(e),e.hooks&&(e.hooks.options=e),i){const o=e.highlight;let c;try{e.hooks&&(t=e.hooks.preprocess(t)),c=s(t,e)}catch(g){return l(g)}const d=function(g){let m;if(!g)try{e.walkTokens&&h.walkTokens(c,e.walkTokens),m=n(c,e),e.hooks&&(m=e.hooks.postprocess(m))}catch(a){g=a}return e.highlight=o,g?l(g):i(null,m)};if(!o||o.length<3||(delete e.highlight,!c.length))return d();let f=0;h.walkTokens(c,function(g){g.type==="code"&&(f++,setTimeout(()=>{o(g.text,g.lang,function(m,a){if(m)return d(m);a!=null&&a!==g.text&&(g.text=a,g.escaped=!0),f--,f===0&&d()})},0))}),f===0&&d();return}if(e.async)return Promise.resolve(e.hooks?e.hooks.preprocess(t):t).then(o=>s(o,e)).then(o=>e.walkTokens?Promise.all(h.walkTokens(o,e.walkTokens)).then(()=>o):o).then(o=>n(o,e)).then(o=>e.hooks?e.hooks.postprocess(o):o).catch(l);try{e.hooks&&(t=e.hooks.preprocess(t));const o=s(t,e);e.walkTokens&&h.walkTokens(o,e.walkTokens);let c=n(o,e);return e.hooks&&(c=e.hooks.postprocess(c)),c}catch(o){return l(o)}}}function h(s,n,t){return te(T.lex,R.parse)(s,n,t)}h.options=h.setOptions=function(s){return h.defaults={...h.defaults,...s},ke(h.defaults),h};h.getDefaults=Z;h.defaults=A;h.use=function(...s){const n=h.defaults.extensions||{renderers:{},childTokens:{}};s.forEach(t=>{const e={...t};if(e.async=h.defaults.async||e.async||!1,t.extensions&&(t.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if(i.renderer){const r=n.renderers[i.name];r?n.renderers[i.name]=function(...l){let o=i.renderer.apply(this,l);return o===!1&&(o=r.apply(this,l)),o}:n.renderers[i.name]=i.renderer}if(i.tokenizer){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");n[i.level]?n[i.level].unshift(i.tokenizer):n[i.level]=[i.tokenizer],i.start&&(i.level==="block"?n.startBlock?n.startBlock.push(i.start):n.startBlock=[i.start]:i.level==="inline"&&(n.startInline?n.startInline.push(i.start):n.startInline=[i.start]))}i.childTokens&&(n.childTokens[i.name]=i.childTokens)}),e.extensions=n),t.renderer){const i=h.defaults.renderer||new O;for(const r in t.renderer){const l=i[r];i[r]=(...o)=>{let c=t.renderer[r].apply(i,o);return c===!1&&(c=l.apply(i,o)),c}}e.renderer=i}if(t.tokenizer){const i=h.defaults.tokenizer||new q;for(const r in t.tokenizer){const l=i[r];i[r]=(...o)=>{let c=t.tokenizer[r].apply(i,o);return c===!1&&(c=l.apply(i,o)),c}}e.tokenizer=i}if(t.hooks){const i=h.defaults.hooks||new j;for(const r in t.hooks){const l=i[r];j.passThroughHooks.has(r)?i[r]=o=>{if(h.defaults.async)return Promise.resolve(t.hooks[r].call(i,o)).then(d=>l.call(i,d));const c=t.hooks[r].call(i,o);return l.call(i,c)}:i[r]=(...o)=>{let c=t.hooks[r].apply(i,o);return c===!1&&(c=l.apply(i,o)),c}}e.hooks=i}if(t.walkTokens){const i=h.defaults.walkTokens;e.walkTokens=function(r){let l=[];return l.push(t.walkTokens.call(this,r)),i&&(l=l.concat(i.call(this,r))),l}}h.setOptions(e)})};h.walkTokens=function(s,n){let t=[];for(const e of s)switch(t=t.concat(n.call(h,e)),e.type){case"table":{for(const i of e.header)t=t.concat(h.walkTokens(i.tokens,n));for(const i of e.rows)for(const r of i)t=t.concat(h.walkTokens(r.tokens,n));break}case"list":{t=t.concat(h.walkTokens(e.items,n));break}default:h.defaults.extensions&&h.defaults.extensions.childTokens&&h.defaults.extensions.childTokens[e.type]?h.defaults.extensions.childTokens[e.type].forEach(function(i){t=t.concat(h.walkTokens(e[i],n))}):e.tokens&&(t=t.concat(h.walkTokens(e.tokens,n)))}return t};h.parseInline=te(T.lexInline,R.parseInline);h.Parser=R;h.parser=R.parse;h.Renderer=O;h.TextRenderer=N;h.Lexer=T;h.lexer=T.lex;h.Tokenizer=q;h.Slugger=P;h.Hooks=j;h.parse=h;const Me=h.options,Le=h.setOptions,De=h.use,qe=h.walkTokens,Oe=h.parseInline,Be=h,Ze=R.parse,Ne=T.lex,He=Object.freeze(Object.defineProperty({__proto__:null,Hooks:j,Lexer:T,Parser:R,Renderer:O,Slugger:P,TextRenderer:N,Tokenizer:q,get defaults(){return A},getDefaults:Z,lexer:Ne,marked:h,options:Me,parse:Be,parseInline:Oe,parser:Ze,setOptions:Le,use:De,walkTokens:qe},Symbol.toStringTag,{value:"Module"})),ne=se({props:{modelValue:{type:Object,required:!0},statefulLayout:{type:Object,required:!0}},setup(s,{expose:n}){const t=le(null),{inputProps:e,compSlots:i,localData:r}=de(oe(s.modelValue),s.statefulLayout),l=B(()=>r.value&&h.parse(r.value)),o=B(()=>{const a={...i.value};return a.default=()=>{const k=[E(fe,{text:e.value.label}),E("textarea",{ref:t})];return s.modelValue.options.summary&&k.push(E("div",{innerHTML:l.value})),E("div",{class:"vjsf-node-markdown-content"},k)},a});let c=null,d=null;const f=async()=>{if(s.modelValue.options.readOnly)return;if(!t.value)throw new Error("component was not mounted for markdown editor");const a=(await he(async()=>{const{default:w}=await import("./Y4qMAcG-.js").then(I=>I.e);return{default:w}},__vite__mapDeps([0,1,2]),import.meta.url)).default,k=s.modelValue.messages,_=s.modelValue.options.pluginsOptions.markdown,$={element:t.value,initialValue:s.modelValue.data??"",renderingConfig:{},status:!1,autoDownloadFontAwesome:!1,spellChecker:!1,minHeight:"300px",insertTexts:{link:[k.mdeLink1,k.mdeLink2],image:[k.mdeImg1,k.mdeImg2],table:[k.mdeTable1,k.mdeTable2],horizontalRule:["",` ----- diff --git a/latest/_nuxt/Bgvi-vPr.js b/latest/_nuxt/Cy0AbNDn.js similarity index 83% rename from latest/_nuxt/Bgvi-vPr.js rename to latest/_nuxt/Cy0AbNDn.js index ffa6cea0..d7037ed0 100644 --- a/latest/_nuxt/Bgvi-vPr.js +++ b/latest/_nuxt/Cy0AbNDn.js @@ -1 +1 @@ -import{bt as f,r as u,af as o,R as v,e as d,bu as l,bv as i,bw as h,ae as m}from"./CvXVYCmv.js";function w(t,a={}){const e=a.head||f();if(e)return e.ssr?e.push(t,a):p(e,t,a)}function p(t,a,e={}){const s=u(!1),n=u({});o(()=>{n.value=s.value?{}:h(a)});const r=t.push(n.value,e);return v(n,c=>{r.patch(c)}),m()&&(d(()=>{r.dispose()}),l(()=>{s.value=!0}),i(()=>{s.value=!1})),r}export{w as u}; +import{bt as f,r as u,af as o,R as v,e as d,bu as l,bv as i,bw as h,ae as m}from"./CEVEV-m9.js";function w(t,a={}){const e=a.head||f();if(e)return e.ssr?e.push(t,a):p(e,t,a)}function p(t,a,e={}){const s=u(!1),n=u({});o(()=>{n.value=s.value?{}:h(a)});const r=t.push(n.value,e);return v(n,c=>{r.patch(c)}),m()&&(d(()=>{r.dispose()}),l(()=>{s.value=!0}),i(()=>{s.value=!1})),r}export{w as u}; diff --git a/latest/_nuxt/D4iENH2C.js b/latest/_nuxt/D4iENH2C.js new file mode 100644 index 00000000..740758c9 --- /dev/null +++ b/latest/_nuxt/D4iENH2C.js @@ -0,0 +1,2 @@ +import{_ as l}from"./lKBEMcP3.js";import{u as r}from"./Cy0AbNDn.js";import{D as s,A as a,E as u,t as m,x as t,y as p,B as o,z as c}from"./CEVEV-m9.js";import{V as d}from"./CsQoP8Vj.js";import"./sxJKSY20.js";/* empty css */import"./C4wkpklv.js";const i="v2 to v3",V={__name:"2to3",setup(f){return r({title:"VJSF - "+i}),(v,e)=>{const n=l;return m(),s(u(d),{class:"doc-content-page"},{default:a(()=>[t("h1",{class:"text-h2 mb-8"},p(i)),e[1]||(e[1]=t("p",null,[o(" The old documentation for v2 is still available "),t("a",{href:"https://koumoul-dev.github.io/vuetify-jsonschema-form/2.x/"},"here"),o(". ")],-1)),e[2]||(e[2]=t("p",null," VJSF v3 is a complete rewrite. The motivation was to : ",-1)),e[3]||(e[3]=t("ul",null,[t("li",null,"migrate to vue 3 and vuetify 3"),t("li",null,"rethink the annotations vocabulary and the options for more power and clarity"),t("li",null,"losen the coupling between schema structure and presentation while preserving simplicity"),t("li",null,"implement a saner reactivity model and hopefully see gains in performance and stability"),t("li",null,"fully validate the data (using Ajv) and offer a stronger guarantee that a valid form means a valid output data"),t("li",null,[o("extract all the core logic into a separate project ("),t("a",{href:"https://github.com/json-layout/json-layout"},"JSON Layout"),o(") to pave the way for implementations in other UI frameworks")]),t("li",null,"provide a compilation solution that allows the users to move as much pre-processing as possible (and the associated dependencies) to build time")],-1)),e[4]||(e[4]=t("p",null," Being an entirely new major version of VJSF with a new vocabulary of annotations, breaking changes are inevitable. But a compatibility function is provided to help facilitate the migration. ",-1)),c(n,null,{default:a(()=>e[0]||(e[0]=[t("pre",null,`import { v2compat } from '@koumoul/vjsf/compat/v2' +const v3Schema = v2compat(schema)`,-1)])),_:1})]),_:1})}}};export{V as default}; diff --git a/latest/_nuxt/QcP0WtxA.js b/latest/_nuxt/D5kGu5AM.js similarity index 93% rename from latest/_nuxt/QcP0WtxA.js rename to latest/_nuxt/D5kGu5AM.js index dfe3917c..a1fe8f18 100644 --- a/latest/_nuxt/QcP0WtxA.js +++ b/latest/_nuxt/D5kGu5AM.js @@ -1,4 +1,4 @@ -import{_ as a}from"./CzVAowgZ.js";import{u as p}from"./Bgvi-vPr.js";import{D as u,A as o,E as i,t as d,x as t,y as m,z as l,B as n}from"./CvXVYCmv.js";import{V as f}from"./NOWGDNTz.js";import{V as b}from"./DX-9AI5c.js";import"./CILx4owX.js";import"./CggvwESy.js";import"./DzteZw27.js";import"./DLkDSD5m.js";import"./DeTZgfeD.js";import"./ClRYlymu.js";/* empty css */const r="Expressions",F={__name:"expressions",setup(x){return p({title:"VJSF - "+r}),(h,e)=>{const s=a;return d(),u(i(b),{class:"doc-content-page"},{default:o(()=>[t("h1",{class:"text-h2 mb-8"},m(r)),l(i(f),{type:"warning",variant:"outlined",class:"mb-8"},{default:o(()=>e[0]||(e[0]=[n(" Expressions are pieces of imperative code dispersed in a declarative JSON schema. You must consider schemas interpreted by VJSF as part of the code source of your application and you cannot safely use schemas provided by an untrusted source. ")])),_:1}),e[6]||(e[6]=t("p",null,"Expressions are used throughout VJSF to provide dynamic functionalities like conditional rendering, fetching items of a select component, etc.",-1)),e[7]||(e[7]=t("p",null,'There are 3 types of expressions supported for the time being : "js-fn", "js-eval" and "js-tpl". All of them are compiled to Javascript functions that accept the same parameters.',-1)),e[8]||(e[8]=t("h2",{class:"text-h4 mt-8 mb-6"}," Parameters ",-1)),e[9]||(e[9]=t("ul",null,[t("li",null,[t("b",null,"data"),n(" - it varies depending on the expression you are using, it can be the data from the current node, an item in a select component, etc.")]),t("li",null,[t("b",null,"options"),n(" - the options object passed to VJSF then merged with contextual options from all parent nodes.")]),t("li",null,[t("b",null,"context"),n(' - shortcut for "options.context".')]),t("li",null,[t("b",null,"display"),n(" - the display object used to manage responsive layouts.")]),t("li",null,[t("b",null,"layout"),n(" - normalized layout information of the current component.")])],-1)),e[10]||(e[10]=n(" Content of the display parameter: ")),l(s,null,{default:o(()=>e[1]||(e[1]=[t("pre",null,`{ +import{_ as a}from"./lKBEMcP3.js";import{u as p}from"./Cy0AbNDn.js";import{D as u,A as o,E as i,t as d,x as t,y as m,z as l,B as n}from"./CEVEV-m9.js";import{V as f}from"./DmsKHaOx.js";import{V as b}from"./CsQoP8Vj.js";import"./sxJKSY20.js";import"./CIrVMAE7.js";import"./C4wkpklv.js";import"./r3LqnFig.js";import"./CWebwQzs.js";import"./De5TMrV0.js";/* empty css */const r="Expressions",F={__name:"expressions",setup(x){return p({title:"VJSF - "+r}),(h,e)=>{const s=a;return d(),u(i(b),{class:"doc-content-page"},{default:o(()=>[t("h1",{class:"text-h2 mb-8"},m(r)),l(i(f),{type:"warning",variant:"outlined",class:"mb-8"},{default:o(()=>e[0]||(e[0]=[n(" Expressions are pieces of imperative code dispersed in a declarative JSON schema. You must consider schemas interpreted by VJSF as part of the code source of your application and you cannot safely use schemas provided by an untrusted source. ")])),_:1}),e[6]||(e[6]=t("p",null,"Expressions are used throughout VJSF to provide dynamic functionalities like conditional rendering, fetching items of a select component, etc.",-1)),e[7]||(e[7]=t("p",null,'There are 3 types of expressions supported for the time being : "js-fn", "js-eval" and "js-tpl". All of them are compiled to Javascript functions that accept the same parameters.',-1)),e[8]||(e[8]=t("h2",{class:"text-h4 mt-8 mb-6"}," Parameters ",-1)),e[9]||(e[9]=t("ul",null,[t("li",null,[t("b",null,"data"),n(" - it varies depending on the expression you are using, it can be the data from the current node, an item in a select component, etc.")]),t("li",null,[t("b",null,"options"),n(" - the options object passed to VJSF then merged with contextual options from all parent nodes.")]),t("li",null,[t("b",null,"context"),n(' - shortcut for "options.context".')]),t("li",null,[t("b",null,"display"),n(" - the display object used to manage responsive layouts.")]),t("li",null,[t("b",null,"layout"),n(" - normalized layout information of the current component.")])],-1)),e[10]||(e[10]=n(" Content of the display parameter: ")),l(s,null,{default:o(()=>e[1]||(e[1]=[t("pre",null,`{ width: number // the width of the parent container xs: boolean, sm: boolean, diff --git a/latest/_nuxt/CYbiDfia.js b/latest/_nuxt/DAEpKkp1.js similarity index 94% rename from latest/_nuxt/CYbiDfia.js rename to latest/_nuxt/DAEpKkp1.js index dc0d8110..bccc020a 100644 --- a/latest/_nuxt/CYbiDfia.js +++ b/latest/_nuxt/DAEpKkp1.js @@ -1 +1 @@ -import{V as k,d as h,a as g,b as T,e as f}from"./Roz0zKtG.js";import{V,e as O}from"./C-mukFY_.js";import{t as i,D as p,A as s,z as n,E as a,v as l,I as u,J as c,x as o,y as r,B as y,F as v}from"./CvXVYCmv.js";import{u as _}from"./Bgvi-vPr.js";import{V as x}from"./DX-9AI5c.js";import"./DzteZw27.js";import"./BZfgkF3O.js";import"./CggvwESy.js";import"./DLkDSD5m.js";/* empty css */const C={key:0},I=["textContent"],A={__name:"options-list",props:{options:{type:Array,required:!0}},setup(m){return(w,e)=>(i(),p(a(V),{variant:"flat"},{default:s(()=>[n(a(k),{lines:!1},{default:s(()=>[n(a(h)),(i(!0),l(u,null,c(m.options,t=>(i(),l(u,{key:t.key},[n(a(g),{class:"my-2 px-2"},{default:s(()=>[n(a(T),null,{default:s(()=>[o("strong",null,r(t.key),1),e[0]||(e[0]=y()),t.default!==void 0?(i(),l("span",C,"(default="+r(t.default)+")",1)):v("",!0)]),_:2},1024),n(a(f),null,{default:s(()=>[y(r(t.description),1)]),_:2},1024),t.values?(i(),p(a(f),{key:0,class:"my-2"},{default:s(()=>[(i(!0),l(u,null,c(Object.keys(t.values),d=>(i(),l("p",{key:d,class:"pl-4"},[o("strong",null,r(d)+": ",1),o("span",{textContent:r(t.values[d])},null,8,I)]))),128))]),_:2},1024)):v("",!0)]),_:2},1024),n(a(h))],64))),128))]),_:1})]),_:1}))}},j=[{key:"ajv",description:"The Ajv instance to use, you should probably no overwrite this option and let Vjsf handle the Ajv instance."},{key:"ajvOptions",description:"Some options for the Ajv instance that will be created by default.",default:{allErrors:!0,strict:!1}},{key:"markdown",description:"A function that takes a string in markdown format and returns HTML code.",default:"A markdown-it instance render function"},{key:"markdownItOptions",description:"Some options for the markdown-it instance that will be created by default",default:{}},{key:"locale",description:"The locale of the form.",default:"en"},{key:"messages",description:"The locale messages. You can overwrite only the keys you want to change.",default:{},values:O}],D=[{key:"readOnly",description:"Render the form in read-only mode.",default:!1},{key:"summary",description:"Render the form in summary mode. In this mode some information may be omitted for the sake of information density and readability. Items in an editable array are rendered in this mode.",default:!1},{key:"density",description:"Matches the density concept of Material design.",default:"default",values:{default:"default",compact:"compact",comfortable:"comfortable"}},{key:"indent",description:"The indentation of the nested sections of the form.",default:!1,values:{true:"The nested sections are indented.",false:"The nested sections are not indented.",number:"The nested sections are indented with the given number of spaces."}},{key:"context",description:"A contextual data object that can be referenced in expressions",default:{}},{key:"titleDepth",description:"The depth of the section titles (an initial depth of 2 means that the first level of titles will be rendered as h2 tags)",default:2},{key:"validateOn",description:"Control the way form inputs are validated. It does not control the actual execution of a validation function (data is always validated as it changes), only the display of the validation errors to the users.",default:"input",values:{input:"Validate a form input as soon as the user used it to input some data.",blur:"Validate a form input when the user interacts with it then leaves it.",submit:"Validate the form inputs only when the form is submitted."}},{key:"initialValidation",description:'This option complements "validateOn". It controls the validation of form inputs when the form is initialized.',default:"withData",values:{never:"Form inputs are never validated at initialization.",always:"Form inputs are always validated at initialization",withData:"Only the inputs with data at initialization are validated."}},{key:"updateOn",description:"Control when the new data will be emitted by the form.",default:"input",values:{input:"The data will be updated in realtime when the user makes any input (except for the application of debounceInputMs).",blur:"The data will be updated only when the user interacts with a form input then leaves it."}},{key:"debounceInputMs",description:"The debounce time for the input event of editable fields.",default:300},{key:"defaultOn",description:"Control the use of default values in the form.",default:"empty",values:{never:"Never use the default data.",missing:"The default data is used when the property is not defined in the data.",empty:"The default data is used when the property is either undefined or empty (empty string, empty object, etc.)."}},{key:"removeAdditional",description:"Control the way additional data is managed (data that is present in the model but not defined by the schema).",default:"error",values:{true:'Remove all additional properties (alias "unknown").',error:"Remove additional properties that cause a validation error.",false:'Never remove additional properties (alias "none").'}},{key:"readOnlyPropertiesMode",description:"Control the way readOnly properties from the schema are managed.",default:"show",values:{remove:"Hide the readOnly properties and remove them from the data.",hide:"Hide the readOnly properties but keep them in the data.",show:"Show the readOnly properties."}},{key:"autofocus",description:"Activate autofocus. The focus will be given to the first input of the form.",default:!1}],L=[...j],M=[...D],b="Configuration",q={__name:"configuration",setup(m){return _({title:"VJSF - "+b}),(w,e)=>{const t=A;return i(),p(a(x),null,{default:s(()=>[o("h1",{class:"text-h2 mb-8"},r(b)),e[0]||(e[0]=o("h2",{class:"text-h4 mb-6"}," Compile options ",-1)),e[1]||(e[1]=o("p",{class:"mb-6"}," These options can only be used at compile time, they cannot be overwritten at runtime or in the intermediate levels of the schema ",-1)),n(t,{options:a(L)},null,8,["options"]),e[2]||(e[2]=o("h2",{class:"text-h4 my-6"}," Runtime options ",-1)),e[3]||(e[3]=o("p",{class:"mb-6"}," These options can be used both at compile time and at runtime, and they can be overwritten in intermediate levels of the schema using `layout.options`. ",-1)),n(t,{options:a(M)},null,8,["options"])]),_:1})}}};export{q as default}; +import{V as k,d as h,a as g,b as T,e as f}from"./Bs8uPU8N.js";import{V,e as O}from"./DXIbd0AA.js";import{t as i,D as p,A as s,z as n,E as a,v as l,I as u,J as c,x as o,y as r,B as y,F as v}from"./CEVEV-m9.js";import{u as _}from"./Cy0AbNDn.js";import{V as x}from"./CsQoP8Vj.js";import"./C4wkpklv.js";import"./B08XBO8o.js";import"./CIrVMAE7.js";import"./r3LqnFig.js";/* empty css */const C={key:0},I=["textContent"],A={__name:"options-list",props:{options:{type:Array,required:!0}},setup(m){return(w,e)=>(i(),p(a(V),{variant:"flat"},{default:s(()=>[n(a(k),{lines:!1},{default:s(()=>[n(a(h)),(i(!0),l(u,null,c(m.options,t=>(i(),l(u,{key:t.key},[n(a(g),{class:"my-2 px-2"},{default:s(()=>[n(a(T),null,{default:s(()=>[o("strong",null,r(t.key),1),e[0]||(e[0]=y()),t.default!==void 0?(i(),l("span",C,"(default="+r(t.default)+")",1)):v("",!0)]),_:2},1024),n(a(f),null,{default:s(()=>[y(r(t.description),1)]),_:2},1024),t.values?(i(),p(a(f),{key:0,class:"my-2"},{default:s(()=>[(i(!0),l(u,null,c(Object.keys(t.values),d=>(i(),l("p",{key:d,class:"pl-4"},[o("strong",null,r(d)+": ",1),o("span",{textContent:r(t.values[d])},null,8,I)]))),128))]),_:2},1024)):v("",!0)]),_:2},1024),n(a(h))],64))),128))]),_:1})]),_:1}))}},j=[{key:"ajv",description:"The Ajv instance to use, you should probably no overwrite this option and let Vjsf handle the Ajv instance."},{key:"ajvOptions",description:"Some options for the Ajv instance that will be created by default.",default:{allErrors:!0,strict:!1}},{key:"markdown",description:"A function that takes a string in markdown format and returns HTML code.",default:"A markdown-it instance render function"},{key:"markdownItOptions",description:"Some options for the markdown-it instance that will be created by default",default:{}},{key:"locale",description:"The locale of the form.",default:"en"},{key:"messages",description:"The locale messages. You can overwrite only the keys you want to change.",default:{},values:O}],D=[{key:"readOnly",description:"Render the form in read-only mode.",default:!1},{key:"summary",description:"Render the form in summary mode. In this mode some information may be omitted for the sake of information density and readability. Items in an editable array are rendered in this mode.",default:!1},{key:"density",description:"Matches the density concept of Material design.",default:"default",values:{default:"default",compact:"compact",comfortable:"comfortable"}},{key:"indent",description:"The indentation of the nested sections of the form.",default:!1,values:{true:"The nested sections are indented.",false:"The nested sections are not indented.",number:"The nested sections are indented with the given number of spaces."}},{key:"context",description:"A contextual data object that can be referenced in expressions",default:{}},{key:"titleDepth",description:"The depth of the section titles (an initial depth of 2 means that the first level of titles will be rendered as h2 tags)",default:2},{key:"validateOn",description:"Control the way form inputs are validated. It does not control the actual execution of a validation function (data is always validated as it changes), only the display of the validation errors to the users.",default:"input",values:{input:"Validate a form input as soon as the user used it to input some data.",blur:"Validate a form input when the user interacts with it then leaves it.",submit:"Validate the form inputs only when the form is submitted."}},{key:"initialValidation",description:'This option complements "validateOn". It controls the validation of form inputs when the form is initialized.',default:"withData",values:{never:"Form inputs are never validated at initialization.",always:"Form inputs are always validated at initialization",withData:"Only the inputs with data at initialization are validated."}},{key:"updateOn",description:"Control when the new data will be emitted by the form.",default:"input",values:{input:"The data will be updated in realtime when the user makes any input (except for the application of debounceInputMs).",blur:"The data will be updated only when the user interacts with a form input then leaves it."}},{key:"debounceInputMs",description:"The debounce time for the input event of editable fields.",default:300},{key:"defaultOn",description:"Control the use of default values in the form.",default:"empty",values:{never:"Never use the default data.",missing:"The default data is used when the property is not defined in the data.",empty:"The default data is used when the property is either undefined or empty (empty string, empty object, etc.)."}},{key:"removeAdditional",description:"Control the way additional data is managed (data that is present in the model but not defined by the schema).",default:"error",values:{true:'Remove all additional properties (alias "unknown").',error:"Remove additional properties that cause a validation error.",false:'Never remove additional properties (alias "none").'}},{key:"readOnlyPropertiesMode",description:"Control the way readOnly properties from the schema are managed.",default:"show",values:{remove:"Hide the readOnly properties and remove them from the data.",hide:"Hide the readOnly properties but keep them in the data.",show:"Show the readOnly properties."}},{key:"autofocus",description:"Activate autofocus. The focus will be given to the first input of the form.",default:!1}],L=[...j],M=[...D],b="Configuration",q={__name:"configuration",setup(m){return _({title:"VJSF - "+b}),(w,e)=>{const t=A;return i(),p(a(x),null,{default:s(()=>[o("h1",{class:"text-h2 mb-8"},r(b)),e[0]||(e[0]=o("h2",{class:"text-h4 mb-6"}," Compile options ",-1)),e[1]||(e[1]=o("p",{class:"mb-6"}," These options can only be used at compile time, they cannot be overwritten at runtime or in the intermediate levels of the schema ",-1)),n(t,{options:a(L)},null,8,["options"]),e[2]||(e[2]=o("h2",{class:"text-h4 my-6"}," Runtime options ",-1)),e[3]||(e[3]=o("p",{class:"mb-6"}," These options can be used both at compile time and at runtime, and they can be overwritten in intermediate levels of the schema using `layout.options`. ",-1)),n(t,{options:a(M)},null,8,["options"])]),_:1})}}};export{q as default}; diff --git a/latest/_nuxt/DSqIBqpL.js b/latest/_nuxt/DSqIBqpL.js deleted file mode 100644 index c5c4aae2..00000000 --- a/latest/_nuxt/DSqIBqpL.js +++ /dev/null @@ -1,2 +0,0 @@ -import{_ as l}from"./CzVAowgZ.js";import{u as r}from"./Bgvi-vPr.js";import{D as s,A as a,E as u,t as m,x as t,y as p,B as o,z as c}from"./CvXVYCmv.js";import{V as d}from"./DX-9AI5c.js";import"./CILx4owX.js";/* empty css */import"./DzteZw27.js";const i="v2 to v3",V={__name:"2to3",setup(f){return r({title:"VJSF - "+i}),(v,e)=>{const n=l;return m(),s(u(d),{class:"doc-content-page"},{default:a(()=>[t("h1",{class:"text-h2 mb-8"},p(i)),e[1]||(e[1]=t("p",null,[o(" The old documentation for v2 is still available "),t("a",{href:"https://koumoul-dev.github.io/vuetify-jsonschema-form/2.x/"},"here"),o(". ")],-1)),e[2]||(e[2]=t("p",null," VJSF v3 is a complete rewrite. The motivation was to : ",-1)),e[3]||(e[3]=t("p",null,[t("ul",null,[t("li",null,"migrate to vue 3 and vuetify 3"),t("li",null,"rethink the annotations vocabulary and the options for more power and clarity"),t("li",null,"losen the coupling between schema structure and presentation while preserving simplicity"),t("li",null,"implement a saner reactivity model and hopefully see gains in performance and stability"),t("li",null,"fully validate the data (using Ajv) and offer a stronger guarantee that a valid form means a valid output data"),t("li",null,[o("extract all the core logic into a separate project ("),t("a",{href:"https://github.com/json-layout/json-layout"},"JSON Layout"),o(") to pave the way for implementations in other UI frameworks")]),t("li",null,"provide a compilation solution that allows the users to move as much pre-processing as possible (and the associated dependencies) to build time")])],-1)),e[4]||(e[4]=t("p",null," Being an entirely new major version of VJSF with a new vocabulary of annotations, breaking changes are inevitable. But a compatibility function is provided to help facilitate the migration. ",-1)),c(n,null,{default:a(()=>e[0]||(e[0]=[t("pre",null,`import { v2compat } from '@koumoul/vjsf/compat/v2' -const v3Schema = v2compat(schema)`,-1)])),_:1})]),_:1})}}};export{V as default}; diff --git a/latest/_nuxt/Cfp8x83i.js b/latest/_nuxt/DU39n9n6.js similarity index 85% rename from latest/_nuxt/Cfp8x83i.js rename to latest/_nuxt/DU39n9n6.js index b810bd1c..6830db6e 100644 --- a/latest/_nuxt/Cfp8x83i.js +++ b/latest/_nuxt/DU39n9n6.js @@ -1 +1 @@ -import{_ as L,a as A}from"./HVaERN1e.js";import{_ as N,g as d,G as D,t as l,D as m,A as u,H as O,z as c,B as _,v as S,I as V,J as $,K as H,y as p,F as w,C as b,i as x,E as f,x as g,P as j}from"./CvXVYCmv.js";import{V as F}from"./CRABTedc.js";import{V as z,a as J,b as P,c as R}from"./Roz0zKtG.js";import{e as U}from"./D0EZ6-Xf.js";import{u as q}from"./Bgvi-vPr.js";import{V as G}from"./DX-9AI5c.js";import{V as k}from"./NOWGDNTz.js";import{V as K}from"./DeTZgfeD.js";import"./CzVAowgZ.js";import"./CILx4owX.js";import"./CWbhR30t.js";import"./C-mukFY_.js";import"./DzteZw27.js";import"./CggvwESy.js";import"./DLkDSD5m.js";/* empty css */import"./86aUa6D2.js";import"./BZfgkF3O.js";import"./ClRYlymu.js";import"./BS89yCMn.js";import"./C1nOJ5wW.js";function I(t,e){const{self:o=!1}=e.modifiers??{},s=e.value,n=typeof s=="object"&&s.options||{passive:!0},r=typeof s=="function"||"handleEvent"in s?s:s.handler,a=o?t:e.arg?document.querySelector(e.arg):window;a&&(a.addEventListener("scroll",r,n),t._onScroll=Object(t._onScroll),t._onScroll[e.instance.$.uid]={handler:r,options:n,target:o?void 0:a})}function E(t,e){var r;if(!((r=t._onScroll)!=null&&r[e.instance.$.uid]))return;const{handler:o,options:s,target:n=t}=t._onScroll[e.instance.$.uid];n.removeEventListener("scroll",o,s),delete t._onScroll[e.instance.$.uid]}function Y(t,e){e.value!==e.oldValue&&(E(t,e),I(t,e))}const M={mounted:I,unmounted:E,updated:Y},Q={components:{VNavigationDrawer:F,VList:z,VListItem:J,VListItemTitle:P,VListSubheader:R},directives:{Scroll:M},props:{sections:{type:Array,default:()=>[]}},data:()=>({offsets:[],timeout:null,activeSection:null,activeIndex:null}),computed:{toc(){return this.sections.map(t=>({...t,hash:`#${t.id}`})).reverse()}},mounted(){this.onScroll()},methods:{itemStyle(t){return`border-left: 2px solid ${t?this.$vuetify.theme.themes.light.colors.primary:"transparent"};`},goTo(t){const e=document.getElementById(t);if(!e)return null;this.$vuetify.goTo(e.offsetTop+20)},setOffsets(){this.offsets=this.toc.map(t=>{const e=document.getElementById(t.id);return e?e.offsetTop:null}).filter(t=>t!==null)},async findActiveIndex(){const t=window.pageYOffset||document.documentElement.offsetTop||0;this.setOffsets();let e=this.offsets.findIndex(o=>o-40[o.sections&&o.sections.length?O((l(),m(i,{key:0,dense:"",density:"compact"},{default:u(()=>[c(a,null,{default:u(()=>e[0]||(e[0]=[_("Contents")])),_:1}),(l(!0),S(V,null,$(o.sections,(y,C)=>(l(),m(h,{key:C,style:H(r.itemStyle(!!t.activeSection&&t.activeSection.id===y.id)),to:{hash:`#${y.id}`},active:!1},{default:u(()=>[c(v,null,{default:u(()=>[_(p(y.title),1)]),_:2},1024)]),_:2},1032,["style","to"]))),128))]),_:1})),[[B,r.onScroll]]):w("",!0)]),_:1})):w("",!0)}const X=N(Q,[["render",W]]),Z={class:"text-h3 mb-6"},tt=["id"],et={class:"text-h4 mt-8 mb-3"},kt={__name:"index",setup(t){const e=b(),o=x(()=>U.find(n=>n.id===e.params.categoryId)),s=x(()=>{var n;return"VJSF - "+(((n=o.value)==null?void 0:n.title)||"Unknown category")});return q({title:s}),(n,r)=>{const a=L,v=A,h=X;return o.value?(l(),m(f(G),{key:0},{default:u(()=>[g("h1",Z,p(o.value.title),1),c(a,{content:o.value.description},null,8,["content"]),(l(!0),S(V,null,$(o.value.examples,i=>(l(),S(V,{key:i.id},[g("a",{id:i.id,class:"anchor"},null,8,tt),g("h2",et,[_(p(i.title)+" ",1),c(f(K),{icon:"mdi-fullscreen",flat:"",title:"open example in fullscreen",to:`/${o.value.id}/${i.id}`},null,8,["to"])]),i.warning?(l(),m(f(k),{key:0,type:"warning",variant:"outlined",class:"mb-4"},{default:u(()=>[c(a,{content:i.warning},null,8,["content"])]),_:2},1024)):w("",!0),c(a,{content:i.description},null,8,["content"]),c(v,{example:i,v2:o.value.id==="v2-compat"},null,8,["example","v2"])],64))),128)),c(h,{sections:o.value.examples},null,8,["sections"])]),_:1})):(l(),m(f(k),{key:1},{default:u(()=>[_(" No examples category found with id "+p((n._.provides[j]||n.$route).params.categoryId),1)]),_:1}))}}};export{kt as default}; +import{_ as L,a as A}from"./Dya5q5gL.js";import{_ as N,g as d,G as D,t as l,D as m,A as u,H as O,z as c,B as _,v as S,I as V,J as $,K as H,y as p,F as w,C as b,i as x,E as f,x as g,P as j}from"./CEVEV-m9.js";import{V as F}from"./DUImbiTz.js";import{V as z,a as J,b as P,c as R}from"./Bs8uPU8N.js";import{e as U}from"./ryHCEZNQ.js";import{u as q}from"./Cy0AbNDn.js";import{V as G}from"./CsQoP8Vj.js";import{V as k}from"./DmsKHaOx.js";import{V as K}from"./CWebwQzs.js";import"./lKBEMcP3.js";import"./sxJKSY20.js";import"./BBn2cySh.js";import"./DXIbd0AA.js";import"./C4wkpklv.js";import"./CIrVMAE7.js";import"./r3LqnFig.js";/* empty css */import"./7L0px-82.js";import"./B08XBO8o.js";import"./De5TMrV0.js";import"./CwwZrPOO.js";import"./BmUbnay1.js";function I(t,e){const{self:o=!1}=e.modifiers??{},s=e.value,n=typeof s=="object"&&s.options||{passive:!0},r=typeof s=="function"||"handleEvent"in s?s:s.handler,a=o?t:e.arg?document.querySelector(e.arg):window;a&&(a.addEventListener("scroll",r,n),t._onScroll=Object(t._onScroll),t._onScroll[e.instance.$.uid]={handler:r,options:n,target:o?void 0:a})}function E(t,e){var r;if(!((r=t._onScroll)!=null&&r[e.instance.$.uid]))return;const{handler:o,options:s,target:n=t}=t._onScroll[e.instance.$.uid];n.removeEventListener("scroll",o,s),delete t._onScroll[e.instance.$.uid]}function Y(t,e){e.value!==e.oldValue&&(E(t,e),I(t,e))}const M={mounted:I,unmounted:E,updated:Y},Q={components:{VNavigationDrawer:F,VList:z,VListItem:J,VListItemTitle:P,VListSubheader:R},directives:{Scroll:M},props:{sections:{type:Array,default:()=>[]}},data:()=>({offsets:[],timeout:null,activeSection:null,activeIndex:null}),computed:{toc(){return this.sections.map(t=>({...t,hash:`#${t.id}`})).reverse()}},mounted(){this.onScroll()},methods:{itemStyle(t){return`border-left: 2px solid ${t?this.$vuetify.theme.themes.light.colors.primary:"transparent"};`},goTo(t){const e=document.getElementById(t);if(!e)return null;this.$vuetify.goTo(e.offsetTop+20)},setOffsets(){this.offsets=this.toc.map(t=>{const e=document.getElementById(t.id);return e?e.offsetTop:null}).filter(t=>t!==null)},async findActiveIndex(){const t=window.pageYOffset||document.documentElement.offsetTop||0;this.setOffsets();let e=this.offsets.findIndex(o=>o-40[o.sections&&o.sections.length?O((l(),m(i,{key:0,dense:"",density:"compact"},{default:u(()=>[c(a,null,{default:u(()=>e[0]||(e[0]=[_("Contents")])),_:1}),(l(!0),S(V,null,$(o.sections,(y,C)=>(l(),m(h,{key:C,style:H(r.itemStyle(!!t.activeSection&&t.activeSection.id===y.id)),to:{hash:`#${y.id}`},active:!1},{default:u(()=>[c(v,null,{default:u(()=>[_(p(y.title),1)]),_:2},1024)]),_:2},1032,["style","to"]))),128))]),_:1})),[[B,r.onScroll]]):w("",!0)]),_:1})):w("",!0)}const X=N(Q,[["render",W]]),Z={class:"text-h3 mb-6"},tt=["id"],et={class:"text-h4 mt-8 mb-3"},kt={__name:"index",setup(t){const e=b(),o=x(()=>U.find(n=>n.id===e.params.categoryId)),s=x(()=>{var n;return"VJSF - "+(((n=o.value)==null?void 0:n.title)||"Unknown category")});return q({title:s}),(n,r)=>{const a=L,v=A,h=X;return o.value?(l(),m(f(G),{key:0},{default:u(()=>[g("h1",Z,p(o.value.title),1),c(a,{content:o.value.description},null,8,["content"]),(l(!0),S(V,null,$(o.value.examples,i=>(l(),S(V,{key:i.id},[g("a",{id:i.id,class:"anchor"},null,8,tt),g("h2",et,[_(p(i.title)+" ",1),c(f(K),{icon:"mdi-fullscreen",flat:"",title:"open example in fullscreen",to:`/${o.value.id}/${i.id}`},null,8,["to"])]),i.warning?(l(),m(f(k),{key:0,type:"warning",variant:"outlined",class:"mb-4"},{default:u(()=>[c(a,{content:i.warning},null,8,["content"])]),_:2},1024)):w("",!0),c(a,{content:i.description},null,8,["content"]),c(v,{example:i,v2:o.value.id==="v2-compat"},null,8,["example","v2"])],64))),128)),c(h,{sections:o.value.examples},null,8,["sections"])]),_:1})):(l(),m(f(k),{key:1},{default:u(()=>[_(" No examples category found with id "+p((n._.provides[j]||n.$route).params.categoryId),1)]),_:1}))}}};export{kt as default}; diff --git a/latest/_nuxt/CRABTedc.js b/latest/_nuxt/DUImbiTz.js similarity index 96% rename from latest/_nuxt/CRABTedc.js rename to latest/_nuxt/DUImbiTz.js index bf3bf4ba..670d2f92 100644 --- a/latest/_nuxt/CRABTedc.js +++ b/latest/_nuxt/DUImbiTz.js @@ -1 +1 @@ -import{ag as V,i as w,as as te,o as Z,R as H,e as G,bx as ae,ay as L,af as ne,ad as oe,L as le,b1 as ue,al as ie,M as re,aq as se,ap as ce,X as $,aQ as ve,N as de,r as me,aH as fe,z as T,U as q,a7 as he,I as ge,S as ye}from"./CvXVYCmv.js";import{s as we,h as be,b as Se,w as ke,d as A,i as pe,c as Ee,o as Te,G as Me,V as xe}from"./CggvwESy.js";import{m as Pe,a as Ce,u as Ve}from"./DzteZw27.js";import{m as Be,u as Re,a as De}from"./86aUa6D2.js";import{m as He,u as Ie}from"./C1nOJ5wW.js";import{u as Ye}from"./BZfgkF3O.js";import{o as Le}from"./Roz0zKtG.js";function Ne(e){let{rootEl:s,isSticky:i,layoutItemStyles:E}=e;const t=V(!1),r=V(0),a=w(()=>{const b=typeof t.value=="boolean"?"top":t.value;return[i.value?{top:"auto",bottom:"auto",height:void 0}:void 0,t.value?{[b]:te(r.value)}:{top:E.value.top}]});Z(()=>{H(i,b=>{b?window.addEventListener("scroll",p,{passive:!0}):window.removeEventListener("scroll",p)},{immediate:!0})}),G(()=>{window.removeEventListener("scroll",p)});let g=0;function p(){const b=g>window.scrollY?"up":"down",v=s.value.getBoundingClientRect(),d=parseFloat(E.value.top??0),c=window.scrollY-Math.max(0,r.value-d),f=v.height+Math.max(r.value,d)-window.scrollY-window.innerHeight,y=parseFloat(getComputedStyle(s.value).getPropertyValue("--v-body-scroll-y"))||0;v.height0;i--){if(e[i].t===e[i-1].t)continue;const E=F(s),t=(e[i].d-e[i-1].d)/(e[i].t-e[i-1].t);s+=(t-E)*Math.abs(t),i===e.length-1&&(s*=.5)}return F(s)*1e3}function _e(){const e={};function s(t){Array.from(t.changedTouches).forEach(r=>{(e[r.identifier]??(e[r.identifier]=new ae(Oe))).push([t.timeStamp,r])})}function i(t){Array.from(t.changedTouches).forEach(r=>{delete e[r.identifier]})}function E(t){var b;const r=(b=e[t])==null?void 0:b.values().reverse();if(!r)throw new Error(`No samples for touch id ${t}`);const a=r[0],g=[],p=[];for(const v of r){if(a[0]-v[0]>We)break;g.push({t:v[0],d:v[1].clientX}),p.push({t:v[0],d:v[1].clientY})}return{x:U(g),y:U(p),get direction(){const{x:v,y:d}=this,[c,f]=[Math.abs(v),Math.abs(d)];return c>f&&v>=0?"right":c>f&&v<=0?"left":f>c&&d>=0?"down":f>c&&d<=0?"up":Xe()}}}return{addMovement:s,endTouch:i,getVelocity:E}}function Xe(){throw new Error}function ze(e){let{el:s,isActive:i,isTemporary:E,width:t,touchless:r,position:a}=e;Z(()=>{window.addEventListener("touchstart",x,{passive:!0}),window.addEventListener("touchmove",M,{passive:!1}),window.addEventListener("touchend",I,{passive:!0})}),G(()=>{window.removeEventListener("touchstart",x),window.removeEventListener("touchmove",M),window.removeEventListener("touchend",I)});const g=w(()=>["left","right"].includes(a.value)),{addMovement:p,endTouch:b,getVelocity:v}=_e();let d=!1;const c=V(!1),f=V(0),y=V(0);let k;function B(n,o){return(a.value==="left"?n:a.value==="right"?document.documentElement.clientWidth-n:a.value==="top"?n:a.value==="bottom"?document.documentElement.clientHeight-n:C())-(o?t.value:0)}function R(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const l=a.value==="left"?(n-y.value)/t.value:a.value==="right"?(document.documentElement.clientWidth-n-y.value)/t.value:a.value==="top"?(n-y.value)/t.value:a.value==="bottom"?(document.documentElement.clientHeight-n-y.value)/t.value:C();return o?Math.max(0,Math.min(1,l)):l}function x(n){if(r.value)return;const o=n.changedTouches[0].clientX,l=n.changedTouches[0].clientY,u=25,h=a.value==="left"?odocument.documentElement.clientWidth-u:a.value==="top"?ldocument.documentElement.clientHeight-u:C(),m=i.value&&(a.value==="left"?odocument.documentElement.clientWidth-t.value:a.value==="top"?ldocument.documentElement.clientHeight-t.value:C());(h||m||i.value&&E.value)&&(k=[o,l],y.value=B(g.value?o:l,i.value),f.value=R(g.value?o:l),d=y.value>-20&&y.value<80,b(n),p(n))}function M(n){const o=n.changedTouches[0].clientX,l=n.changedTouches[0].clientY;if(d){if(!n.cancelable){d=!1;return}const h=Math.abs(o-k[0]),m=Math.abs(l-k[1]);(g.value?h>m&&h>3:m>h&&m>3)?(c.value=!0,d=!1):(g.value?m:h)>3&&(d=!1)}if(!c.value)return;n.preventDefault(),p(n);const u=R(g.value?o:l,!1);f.value=Math.max(0,Math.min(1,u)),u>1?y.value=B(g.value?o:l,!0):u<0&&(y.value=B(g.value?o:l,!1))}function I(n){if(d=!1,!c.value)return;p(n),c.value=!1;const o=v(n.changedTouches[0].identifier),l=Math.abs(o.x),u=Math.abs(o.y);(g.value?l>u&&l>400:u>l&&u>3)?i.value=o.direction===({left:"right",right:"left",top:"down",bottom:"up"}[a.value]||C()):i.value=f.value>.5}const D=w(()=>c.value?{transform:a.value==="left"?`translateX(calc(-100% + ${f.value*t.value}px))`:a.value==="right"?`translateX(calc(100% - ${f.value*t.value}px))`:a.value==="top"?`translateY(calc(-100% + ${f.value*t.value}px))`:a.value==="bottom"?`translateY(calc(100% - ${f.value*t.value}px))`:C(),transition:"none"}:void 0);return L(c,()=>{var l,u;const n=((l=s.value)==null?void 0:l.style.transform)??null,o=((u=s.value)==null?void 0:u.style.transition)??null;ne(()=>{var h,m,P,Y;(m=s.value)==null||m.style.setProperty("transform",((h=D.value)==null?void 0:h.transform)||"none"),(Y=s.value)==null||Y.style.setProperty("transition",((P=D.value)==null?void 0:P.transition)||null)}),oe(()=>{var h,m;(h=s.value)==null||h.style.setProperty("transform",n),(m=s.value)==null||m.style.setProperty("transition",o)})}),{isDragging:c,dragProgress:f,dragStyles:D}}function C(){throw new Error}const $e=["start","end","left","right","top","bottom"],qe=le({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,persistent:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>$e.includes(e)},sticky:Boolean,...we(),...Pe(),...Be(),...ue({mobile:null}),...be(),...He(),...Se(),...Ce({tag:"nav"}),...ie()},"VNavigationDrawer"),Je=re()({name:"VNavigationDrawer",props:qe(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,s){let{attrs:i,emit:E,slots:t}=s;const{isRtl:r}=se(),{themeClasses:a}=ce(e),{borderClasses:g}=ke(e),{backgroundColorClasses:p,backgroundColorStyles:b}=A($(e,"color")),{elevationClasses:v}=pe(e),{displayClasses:d,mobile:c}=ve(e),{roundedClasses:f}=Ee(e),y=Te(),k=de(e,"modelValue",null,S=>!!S),{ssrBootStyles:B}=Ye(),{scopeId:R}=Re(),x=me(),M=V(!1),{runOpenDelay:I,runCloseDelay:D}=De(e,S=>{M.value=S}),n=w(()=>e.rail&&e.expandOnHover&&M.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),o=w(()=>Me(e.location,r.value)),l=w(()=>e.persistent),u=w(()=>!e.permanent&&(c.value||e.temporary)),h=w(()=>e.sticky&&!u.value&&o.value!=="bottom");L(()=>e.expandOnHover&&e.rail!=null,()=>{H(M,S=>E("update:rail",!S))}),L(()=>!e.disableResizeWatcher,()=>{H(u,S=>!e.permanent&&ye(()=>k.value=!S))}),L(()=>!e.disableRouteWatcher&&!!y,()=>{H(y.currentRoute,()=>u.value&&(k.value=!1))}),H(()=>e.permanent,S=>{S&&(k.value=!0)}),e.modelValue==null&&!u.value&&(k.value=e.permanent||!c.value);const{isDragging:m,dragProgress:P}=ze({el:x,isActive:k,isTemporary:u,width:n,touchless:$(e,"touchless"),position:o}),Y=w(()=>{const S=u.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):n.value;return m.value?S*P.value:S}),Q=w(()=>["top","bottom"].includes(e.location)?0:n.value),{layoutItemStyles:N,layoutItemScrimStyles:j,layoutIsReady:J}=Ie({id:e.name,order:w(()=>parseInt(e.order,10)),position:o,layoutSize:Y,elementSize:Q,active:w(()=>k.value||m.value),disableTransitions:w(()=>m.value),absolute:w(()=>e.absolute||h.value&&typeof W.value!="string")}),{isStuck:W,stickyStyles:K}=Ne({rootEl:x,isSticky:h,layoutItemStyles:N}),O=A(w(()=>typeof e.scrim=="string"?e.scrim:null)),ee=w(()=>({...m.value?{opacity:P.value*.2,transition:"none"}:void 0,...j.value}));return fe({VList:{bgColor:"transparent"}}),Ve(()=>{const S=t.image||e.image;return T(ge,null,[T(e.tag,q({ref:x,onMouseenter:I,onMouseleave:D,class:["v-navigation-drawer",`v-navigation-drawer--${o.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":M.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":u.value,"v-navigation-drawer--persistent":l.value,"v-navigation-drawer--active":k.value,"v-navigation-drawer--sticky":h.value},a.value,p.value,g.value,d.value,v.value,f.value,e.class],style:[b.value,N.value,B.value,K.value,e.style,["top","bottom"].includes(o.value)?{height:"auto"}:{}]},R,i),{default:()=>{var _,X,z;return[S&&T("div",{key:"image",class:"v-navigation-drawer__img"},[t.image?T(xe,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{alt:"",cover:!0,height:"inherit",src:e.image}}},t.image):T(Le,{key:"image-img",alt:"",cover:!0,height:"inherit",src:e.image},null)]),t.prepend&&T("div",{class:"v-navigation-drawer__prepend"},[(_=t.prepend)==null?void 0:_.call(t)]),T("div",{class:"v-navigation-drawer__content"},[(X=t.default)==null?void 0:X.call(t)]),t.append&&T("div",{class:"v-navigation-drawer__append"},[(z=t.append)==null?void 0:z.call(t)])]}}),T(he,{name:"fade-transition"},{default:()=>[u.value&&(m.value||k.value)&&!!e.scrim&&T("div",q({class:["v-navigation-drawer__scrim",O.backgroundColorClasses.value],style:[ee.value,O.backgroundColorStyles.value],onClick:()=>{l.value||(k.value=!1)}},R),null)]})])}),J.then(()=>({isStuck:W}))}});export{Je as V}; +import{ag as V,i as w,as as te,o as Z,R as H,e as G,bx as ae,ay as L,af as ne,ad as oe,L as le,b1 as ue,al as ie,M as re,aq as se,ap as ce,X as $,aQ as ve,N as de,r as me,aH as fe,z as T,U as q,a7 as he,I as ge,S as ye}from"./CEVEV-m9.js";import{s as we,h as be,b as Se,w as ke,d as A,i as pe,c as Ee,o as Te,G as Me,V as xe}from"./CIrVMAE7.js";import{m as Pe,a as Ce,u as Ve}from"./C4wkpklv.js";import{m as Be,u as Re,a as De}from"./7L0px-82.js";import{m as He,u as Ie}from"./BmUbnay1.js";import{u as Ye}from"./B08XBO8o.js";import{o as Le}from"./Bs8uPU8N.js";function Ne(e){let{rootEl:s,isSticky:i,layoutItemStyles:E}=e;const t=V(!1),r=V(0),a=w(()=>{const b=typeof t.value=="boolean"?"top":t.value;return[i.value?{top:"auto",bottom:"auto",height:void 0}:void 0,t.value?{[b]:te(r.value)}:{top:E.value.top}]});Z(()=>{H(i,b=>{b?window.addEventListener("scroll",p,{passive:!0}):window.removeEventListener("scroll",p)},{immediate:!0})}),G(()=>{window.removeEventListener("scroll",p)});let g=0;function p(){const b=g>window.scrollY?"up":"down",v=s.value.getBoundingClientRect(),d=parseFloat(E.value.top??0),c=window.scrollY-Math.max(0,r.value-d),f=v.height+Math.max(r.value,d)-window.scrollY-window.innerHeight,y=parseFloat(getComputedStyle(s.value).getPropertyValue("--v-body-scroll-y"))||0;v.height0;i--){if(e[i].t===e[i-1].t)continue;const E=F(s),t=(e[i].d-e[i-1].d)/(e[i].t-e[i-1].t);s+=(t-E)*Math.abs(t),i===e.length-1&&(s*=.5)}return F(s)*1e3}function _e(){const e={};function s(t){Array.from(t.changedTouches).forEach(r=>{(e[r.identifier]??(e[r.identifier]=new ae(Oe))).push([t.timeStamp,r])})}function i(t){Array.from(t.changedTouches).forEach(r=>{delete e[r.identifier]})}function E(t){var b;const r=(b=e[t])==null?void 0:b.values().reverse();if(!r)throw new Error(`No samples for touch id ${t}`);const a=r[0],g=[],p=[];for(const v of r){if(a[0]-v[0]>We)break;g.push({t:v[0],d:v[1].clientX}),p.push({t:v[0],d:v[1].clientY})}return{x:U(g),y:U(p),get direction(){const{x:v,y:d}=this,[c,f]=[Math.abs(v),Math.abs(d)];return c>f&&v>=0?"right":c>f&&v<=0?"left":f>c&&d>=0?"down":f>c&&d<=0?"up":Xe()}}}return{addMovement:s,endTouch:i,getVelocity:E}}function Xe(){throw new Error}function ze(e){let{el:s,isActive:i,isTemporary:E,width:t,touchless:r,position:a}=e;Z(()=>{window.addEventListener("touchstart",x,{passive:!0}),window.addEventListener("touchmove",M,{passive:!1}),window.addEventListener("touchend",I,{passive:!0})}),G(()=>{window.removeEventListener("touchstart",x),window.removeEventListener("touchmove",M),window.removeEventListener("touchend",I)});const g=w(()=>["left","right"].includes(a.value)),{addMovement:p,endTouch:b,getVelocity:v}=_e();let d=!1;const c=V(!1),f=V(0),y=V(0);let k;function B(n,o){return(a.value==="left"?n:a.value==="right"?document.documentElement.clientWidth-n:a.value==="top"?n:a.value==="bottom"?document.documentElement.clientHeight-n:C())-(o?t.value:0)}function R(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const l=a.value==="left"?(n-y.value)/t.value:a.value==="right"?(document.documentElement.clientWidth-n-y.value)/t.value:a.value==="top"?(n-y.value)/t.value:a.value==="bottom"?(document.documentElement.clientHeight-n-y.value)/t.value:C();return o?Math.max(0,Math.min(1,l)):l}function x(n){if(r.value)return;const o=n.changedTouches[0].clientX,l=n.changedTouches[0].clientY,u=25,h=a.value==="left"?odocument.documentElement.clientWidth-u:a.value==="top"?ldocument.documentElement.clientHeight-u:C(),m=i.value&&(a.value==="left"?odocument.documentElement.clientWidth-t.value:a.value==="top"?ldocument.documentElement.clientHeight-t.value:C());(h||m||i.value&&E.value)&&(k=[o,l],y.value=B(g.value?o:l,i.value),f.value=R(g.value?o:l),d=y.value>-20&&y.value<80,b(n),p(n))}function M(n){const o=n.changedTouches[0].clientX,l=n.changedTouches[0].clientY;if(d){if(!n.cancelable){d=!1;return}const h=Math.abs(o-k[0]),m=Math.abs(l-k[1]);(g.value?h>m&&h>3:m>h&&m>3)?(c.value=!0,d=!1):(g.value?m:h)>3&&(d=!1)}if(!c.value)return;n.preventDefault(),p(n);const u=R(g.value?o:l,!1);f.value=Math.max(0,Math.min(1,u)),u>1?y.value=B(g.value?o:l,!0):u<0&&(y.value=B(g.value?o:l,!1))}function I(n){if(d=!1,!c.value)return;p(n),c.value=!1;const o=v(n.changedTouches[0].identifier),l=Math.abs(o.x),u=Math.abs(o.y);(g.value?l>u&&l>400:u>l&&u>3)?i.value=o.direction===({left:"right",right:"left",top:"down",bottom:"up"}[a.value]||C()):i.value=f.value>.5}const D=w(()=>c.value?{transform:a.value==="left"?`translateX(calc(-100% + ${f.value*t.value}px))`:a.value==="right"?`translateX(calc(100% - ${f.value*t.value}px))`:a.value==="top"?`translateY(calc(-100% + ${f.value*t.value}px))`:a.value==="bottom"?`translateY(calc(100% - ${f.value*t.value}px))`:C(),transition:"none"}:void 0);return L(c,()=>{var l,u;const n=((l=s.value)==null?void 0:l.style.transform)??null,o=((u=s.value)==null?void 0:u.style.transition)??null;ne(()=>{var h,m,P,Y;(m=s.value)==null||m.style.setProperty("transform",((h=D.value)==null?void 0:h.transform)||"none"),(Y=s.value)==null||Y.style.setProperty("transition",((P=D.value)==null?void 0:P.transition)||null)}),oe(()=>{var h,m;(h=s.value)==null||h.style.setProperty("transform",n),(m=s.value)==null||m.style.setProperty("transition",o)})}),{isDragging:c,dragProgress:f,dragStyles:D}}function C(){throw new Error}const $e=["start","end","left","right","top","bottom"],qe=le({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,persistent:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>$e.includes(e)},sticky:Boolean,...we(),...Pe(),...Be(),...ue({mobile:null}),...be(),...He(),...Se(),...Ce({tag:"nav"}),...ie()},"VNavigationDrawer"),Je=re()({name:"VNavigationDrawer",props:qe(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,s){let{attrs:i,emit:E,slots:t}=s;const{isRtl:r}=se(),{themeClasses:a}=ce(e),{borderClasses:g}=ke(e),{backgroundColorClasses:p,backgroundColorStyles:b}=A($(e,"color")),{elevationClasses:v}=pe(e),{displayClasses:d,mobile:c}=ve(e),{roundedClasses:f}=Ee(e),y=Te(),k=de(e,"modelValue",null,S=>!!S),{ssrBootStyles:B}=Ye(),{scopeId:R}=Re(),x=me(),M=V(!1),{runOpenDelay:I,runCloseDelay:D}=De(e,S=>{M.value=S}),n=w(()=>e.rail&&e.expandOnHover&&M.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),o=w(()=>Me(e.location,r.value)),l=w(()=>e.persistent),u=w(()=>!e.permanent&&(c.value||e.temporary)),h=w(()=>e.sticky&&!u.value&&o.value!=="bottom");L(()=>e.expandOnHover&&e.rail!=null,()=>{H(M,S=>E("update:rail",!S))}),L(()=>!e.disableResizeWatcher,()=>{H(u,S=>!e.permanent&&ye(()=>k.value=!S))}),L(()=>!e.disableRouteWatcher&&!!y,()=>{H(y.currentRoute,()=>u.value&&(k.value=!1))}),H(()=>e.permanent,S=>{S&&(k.value=!0)}),e.modelValue==null&&!u.value&&(k.value=e.permanent||!c.value);const{isDragging:m,dragProgress:P}=ze({el:x,isActive:k,isTemporary:u,width:n,touchless:$(e,"touchless"),position:o}),Y=w(()=>{const S=u.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):n.value;return m.value?S*P.value:S}),Q=w(()=>["top","bottom"].includes(e.location)?0:n.value),{layoutItemStyles:N,layoutItemScrimStyles:j,layoutIsReady:J}=Ie({id:e.name,order:w(()=>parseInt(e.order,10)),position:o,layoutSize:Y,elementSize:Q,active:w(()=>k.value||m.value),disableTransitions:w(()=>m.value),absolute:w(()=>e.absolute||h.value&&typeof W.value!="string")}),{isStuck:W,stickyStyles:K}=Ne({rootEl:x,isSticky:h,layoutItemStyles:N}),O=A(w(()=>typeof e.scrim=="string"?e.scrim:null)),ee=w(()=>({...m.value?{opacity:P.value*.2,transition:"none"}:void 0,...j.value}));return fe({VList:{bgColor:"transparent"}}),Ve(()=>{const S=t.image||e.image;return T(ge,null,[T(e.tag,q({ref:x,onMouseenter:I,onMouseleave:D,class:["v-navigation-drawer",`v-navigation-drawer--${o.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":M.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":u.value,"v-navigation-drawer--persistent":l.value,"v-navigation-drawer--active":k.value,"v-navigation-drawer--sticky":h.value},a.value,p.value,g.value,d.value,v.value,f.value,e.class],style:[b.value,N.value,B.value,K.value,e.style,["top","bottom"].includes(o.value)?{height:"auto"}:{}]},R,i),{default:()=>{var _,X,z;return[S&&T("div",{key:"image",class:"v-navigation-drawer__img"},[t.image?T(xe,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{alt:"",cover:!0,height:"inherit",src:e.image}}},t.image):T(Le,{key:"image-img",alt:"",cover:!0,height:"inherit",src:e.image},null)]),t.prepend&&T("div",{class:"v-navigation-drawer__prepend"},[(_=t.prepend)==null?void 0:_.call(t)]),T("div",{class:"v-navigation-drawer__content"},[(X=t.default)==null?void 0:X.call(t)]),t.append&&T("div",{class:"v-navigation-drawer__append"},[(z=t.append)==null?void 0:z.call(t)])]}}),T(he,{name:"fade-transition"},{default:()=>[u.value&&(m.value||k.value)&&!!e.scrim&&T("div",q({class:["v-navigation-drawer__scrim",O.backgroundColorClasses.value],style:[ee.value,O.backgroundColorStyles.value],onClick:()=>{l.value||(k.value=!1)}},R),null)]})])}),J.then(()=>({isStuck:W}))}});export{Je as V}; diff --git a/latest/_nuxt/C-mukFY_.js b/latest/_nuxt/DXIbd0AA.js similarity index 95% rename from latest/_nuxt/C-mukFY_.js rename to latest/_nuxt/DXIbd0AA.js index 6391badf..537cba5a 100644 --- a/latest/_nuxt/C-mukFY_.js +++ b/latest/_nuxt/DXIbd0AA.js @@ -1,4 +1,4 @@ -import{m as l,u as s,a as I}from"./DzteZw27.js";import{M as r,aH as G,z as n,L as y,ao as v,I as h,al as U,ap as j,i as A,H as Q,G as J}from"./CvXVYCmv.js";import{r as K,f as x,a as S,V as f,s as W,h as X,m as Y,t as Z,v as $,b as ee,A as ae,z as te,R as ne,w as de,C as ie,g as le,i as se,u as re,x as ce,y as ue,c as oe,E as me,L as ve,F as ye}from"./CggvwESy.js";import{k as P,o as ge}from"./Roz0zKtG.js";import{m as ke,u as be}from"./DLkDSD5m.js";const Ne={errorOneOf:"chose one",errorRequired:"required information",addItem:"Add item",delete:"Delete",edit:"Edit",close:"Close",duplicate:"Duplicate",sort:"Sort",up:"Move up",down:"Move down",showHelp:"Show a help message",mdeLink1:"[Link title",mdeLink2:"](link url)",mdeImg1:"![](",mdeImg2:"image url)",mdeTable1:"",mdeTable2:` +import{m as l,u as s,a as I}from"./C4wkpklv.js";import{M as r,aH as G,z as n,L as y,ao as v,I as h,al as U,ap as j,i as A,H as Q,G as J}from"./CEVEV-m9.js";import{r as K,f as x,a as S,V as f,s as W,h as X,m as Y,t as Z,v as $,b as ee,A as ae,z as te,R as ne,w as de,C as ie,g as le,i as se,u as re,x as ce,y as ue,c as oe,E as me,L as ve,F as ye}from"./CIrVMAE7.js";import{k as P,o as ge}from"./Bs8uPU8N.js";import{m as ke,u as be}from"./r3LqnFig.js";const Ne={errorOneOf:"chose one",errorRequired:"required information",addItem:"Add item",delete:"Delete",edit:"Edit",close:"Close",duplicate:"Duplicate",sort:"Sort",up:"Move up",down:"Move down",showHelp:"Show a help message",mdeLink1:"[Link title",mdeLink2:"](link url)",mdeImg1:"![](",mdeImg2:"image url)",mdeTable1:"",mdeTable2:` | Column 1 | Column 2 | ColoColumnnne 3 | | -------- | -------- | -------- | diff --git a/latest/_nuxt/ClRYlymu.js b/latest/_nuxt/De5TMrV0.js similarity index 73% rename from latest/_nuxt/ClRYlymu.js rename to latest/_nuxt/De5TMrV0.js index 126a8604..b6842697 100644 --- a/latest/_nuxt/ClRYlymu.js +++ b/latest/_nuxt/De5TMrV0.js @@ -1 +1 @@ -import{aP as f,r as i,Q as R,e as a,R as c,aR as g}from"./CvXVYCmv.js";function m(s){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const o=f(),t=i();if(R){const n=new ResizeObserver(e=>{s==null||s(e,n),e.length&&(u==="content"?t.value=e[0].contentRect:t.value=e[0].target.getBoundingClientRect())});a(()=>{n.disconnect()}),c(()=>o.el,(e,r)=>{r&&(n.unobserve(r),t.value=void 0),e&&n.observe(e)},{flush:"post"})}return{resizeRef:o,contentRect:g(t)}}export{m as u}; +import{aP as f,r as i,Q as R,e as a,R as c,aR as g}from"./CEVEV-m9.js";function m(s){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const o=f(),t=i();if(R){const n=new ResizeObserver(e=>{s==null||s(e,n),e.length&&(u==="content"?t.value=e[0].contentRect:t.value=e[0].target.getBoundingClientRect())});a(()=>{n.disconnect()}),c(()=>o.el,(e,r)=>{r&&(n.unobserve(r),t.value=void 0),e&&n.observe(e)},{flush:"post"})}return{resizeRef:o,contentRect:g(t)}}export{m as u}; diff --git a/latest/_nuxt/Dmnd0KwZ.js b/latest/_nuxt/Dmnd0KwZ.js deleted file mode 100644 index 2b8073c5..00000000 --- a/latest/_nuxt/Dmnd0KwZ.js +++ /dev/null @@ -1 +0,0 @@ -import{u as s}from"./Bgvi-vPr.js";import{D as i,A as a,E as n,t as u,x as e,y as r,B as o}from"./CvXVYCmv.js";import{V as d}from"./DX-9AI5c.js";/* empty css */import"./DzteZw27.js";const l="About",g={__name:"about",setup(m){return s({title:"VJSF - "+l}),(p,t)=>(u(),i(n(d),{class:"doc-content-page"},{default:a(()=>[e("h1",{class:"text-h2 mb-8"},r(l)),t[0]||(t[0]=e("p",null,[o(" VJSF is a library to create forms for "),e("a",{href:"https://vuejs.org/"},"Vue.js"),o(" / "),e("a",{href:"https://vuetifyjs.com/"},"Vuetify"),o(" applications in a declarative manner using annotated "),e("a",{href:"https://json-schema.org/"},"JSON Schemas"),o(". The core of VJSF is "),e("a",{href:"https://github.com/json-layout/json-layout"},"JSON Layout"),o(". ")],-1)),t[1]||(t[1]=e("p",null,[o(' It is written primarily as a "scratch my own itch" project by '),e("a",{href:"https://koumoul.com"},"Koumoul"),o(", and we use it extensively. But it is opened to feedback and contributions on "),e("a",{href:"https://github.com/koumoul-dev/vuetify-jsonschema-form"},"Github"),o(" and it is published under the very permissive MIT license. ")],-1)),t[2]||(t[2]=e("p",null," It might be suited for you if: ",-1)),t[3]||(t[3]=e("p",null,[e("ul",null,[e("li",null,"you are tired of coding forms"),e("li",null,"you need declarative forms as a consequence of your software's architecture (generic admin UI, etc.)"),e("li",null,"you already use Vue.js + Vuetify (or if you are prepared to pull a bunch of new dependencies)")])],-1)),t[4]||(t[4]=e("p",null," We try to strike a nice balance between these qualities: ",-1)),t[5]||(t[5]=e("p",null,[e("ul",null,[e("li",null,[e("b",null,"simplicity"),o(" - feed VJSF a simple and valid JSON schema and you should get a viable form")]),e("li",null,[e("b",null,"completeness"),o(" - the main JSON schemas semantics should be covered as well as the most common use-cases for forms in Web applications")]),e("li",null,[e("b",null,"extensibility"),o(" - more specific use cases should also be supported through the use of lower level tools like slots, custom styles, etc.")]),e("li",null,[e("b",null,"validity"),o(" - the output of the form should be valid against the provided schema")]),e("li",null,[e("b",null,"homogeneity"),o(" - the look and feel should be consistent accross all form functionalities and inside your application as a whole")])])],-1)),t[6]||(t[6]=e("p",null," While trying to strike this balance we made some debatable choices that you should be aware of: ",-1)),t[7]||(t[7]=e("p",null,[e("ul",null,[e("li",null,"Structure and presentation are coupled. Meaning that the rendering of the form is derived directly from the schema (as well as some options) and you will need to change the schema in order to modify a label, create a section, etc."),e("li",null,"Some functionalities are explicitly coupled to Vuetify. We let you use parameters that are directly mapped to Vuetify underlying components (slots, props, layout classes, etc.)")])],-1))]),_:1}))}};export{g as default}; diff --git a/latest/_nuxt/NOWGDNTz.js b/latest/_nuxt/DmsKHaOx.js similarity index 93% rename from latest/_nuxt/NOWGDNTz.js rename to latest/_nuxt/DmsKHaOx.js index dd54d378..6d82f4d7 100644 --- a/latest/_nuxt/NOWGDNTz.js +++ b/latest/_nuxt/DmsKHaOx.js @@ -1 +1 @@ -import{r as I,f as L,h as D,t as $,v as p,b as F,z as R,C as w,g as E,i as M,x as N,y as O,c as j,e as U,F as X,a as q,V as d}from"./CggvwESy.js";import{m as G,a as H}from"./DzteZw27.js";import{m as J,u as K}from"./DLkDSD5m.js";import{L as Q,ao as W,al as Y,M as Z,N as ee,i as s,ap as ae,X as te,am as le,z as t,U as ne}from"./CvXVYCmv.js";import{V as oe}from"./DeTZgfeD.js";const se=I("v-alert-title"),re=["success","info","warning","error"],ie=Q({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:W,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=>re.includes(e)},...G(),...L(),...J(),...D(),...$(),...p(),...F(),...H(),...Y(),...R({variant:"flat"})},"VAlert"),ye=Z()({name:"VAlert",props:ie(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,v){let{emit:m,slots:a}=v;const r=ee(e,"modelValue"),n=s(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),y=s(()=>({color:e.color??e.type,variant:e.variant})),{themeClasses:f}=ae(e),{colorClasses:b,colorStyles:k,variantClasses:V}=w(y),{densityClasses:P}=E(e),{dimensionStyles:C}=K(e),{elevationClasses:g}=M(e),{locationStyles:x}=N(e),{positionClasses:S}=O(e),{roundedClasses:_}=j(e),{textColorClasses:h,textColorStyles:B}=U(te(e,"borderColor")),{t:T}=le(),i=s(()=>({"aria-label":T(e.closeLabel),onClick(o){r.value=!1,m("click:close",o)}}));return()=>{const o=!!(a.prepend||n.value),z=!!(a.title||e.title),A=!!(a.close||e.closable);return r.value&&t(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},f.value,b.value,P.value,g.value,S.value,_.value,V.value,e.class],style:[k.value,C.value,x.value,e.style],role:"alert"},{default:()=>{var c,u;return[X(!1,"v-alert"),e.border&&t("div",{key:"border",class:["v-alert__border",h.value],style:B.value},null),o&&t("div",{key:"prepend",class:"v-alert__prepend"},[a.prepend?t(d,{key:"prepend-defaults",disabled:!n.value,defaults:{VIcon:{density:e.density,icon:n.value,size:e.prominent?44:28}}},a.prepend):t(q,{key:"prepend-icon",density:e.density,icon:n.value,size:e.prominent?44:28},null)]),t("div",{class:"v-alert__content"},[z&&t(se,{key:"title"},{default:()=>{var l;return[((l=a.title)==null?void 0:l.call(a))??e.title]}}),((c=a.text)==null?void 0:c.call(a))??e.text,(u=a.default)==null?void 0:u.call(a)]),a.append&&t("div",{key:"append",class:"v-alert__append"},[a.append()]),A&&t("div",{key:"close",class:"v-alert__close"},[a.close?t(d,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var l;return[(l=a.close)==null?void 0:l.call(a,{props:i.value})]}}):t(oe,ne({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},i.value),null)])]}})}}});export{ye as V}; +import{r as I,f as L,h as D,t as $,v as p,b as F,z as R,C as w,g as E,i as M,x as N,y as O,c as j,e as U,F as X,a as q,V as d}from"./CIrVMAE7.js";import{m as G,a as H}from"./C4wkpklv.js";import{m as J,u as K}from"./r3LqnFig.js";import{L as Q,ao as W,al as Y,M as Z,N as ee,i as s,ap as ae,X as te,am as le,z as t,U as ne}from"./CEVEV-m9.js";import{V as oe}from"./CWebwQzs.js";const se=I("v-alert-title"),re=["success","info","warning","error"],ie=Q({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:W,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=>re.includes(e)},...G(),...L(),...J(),...D(),...$(),...p(),...F(),...H(),...Y(),...R({variant:"flat"})},"VAlert"),ye=Z()({name:"VAlert",props:ie(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,v){let{emit:m,slots:a}=v;const r=ee(e,"modelValue"),n=s(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),y=s(()=>({color:e.color??e.type,variant:e.variant})),{themeClasses:f}=ae(e),{colorClasses:b,colorStyles:k,variantClasses:V}=w(y),{densityClasses:P}=E(e),{dimensionStyles:C}=K(e),{elevationClasses:g}=M(e),{locationStyles:x}=N(e),{positionClasses:S}=O(e),{roundedClasses:_}=j(e),{textColorClasses:h,textColorStyles:B}=U(te(e,"borderColor")),{t:T}=le(),i=s(()=>({"aria-label":T(e.closeLabel),onClick(o){r.value=!1,m("click:close",o)}}));return()=>{const o=!!(a.prepend||n.value),z=!!(a.title||e.title),A=!!(a.close||e.closable);return r.value&&t(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},f.value,b.value,P.value,g.value,S.value,_.value,V.value,e.class],style:[k.value,C.value,x.value,e.style],role:"alert"},{default:()=>{var c,u;return[X(!1,"v-alert"),e.border&&t("div",{key:"border",class:["v-alert__border",h.value],style:B.value},null),o&&t("div",{key:"prepend",class:"v-alert__prepend"},[a.prepend?t(d,{key:"prepend-defaults",disabled:!n.value,defaults:{VIcon:{density:e.density,icon:n.value,size:e.prominent?44:28}}},a.prepend):t(q,{key:"prepend-icon",density:e.density,icon:n.value,size:e.prominent?44:28},null)]),t("div",{class:"v-alert__content"},[z&&t(se,{key:"title"},{default:()=>{var l;return[((l=a.title)==null?void 0:l.call(a))??e.title]}}),((c=a.text)==null?void 0:c.call(a))??e.text,(u=a.default)==null?void 0:u.call(a)]),a.append&&t("div",{key:"append",class:"v-alert__append"},[a.append()]),A&&t("div",{key:"close",class:"v-alert__close"},[a.close?t(d,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var l;return[(l=a.close)==null?void 0:l.call(a,{props:i.value})]}}):t(oe,ne({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},i.value),null)])]}})}}});export{ye as V}; diff --git a/latest/_nuxt/Dya5q5gL.js b/latest/_nuxt/Dya5q5gL.js new file mode 100644 index 00000000..d9bd76d2 --- /dev/null +++ b/latest/_nuxt/Dya5q5gL.js @@ -0,0 +1,12 @@ +import{_ as T,t as c,v as j,L as W,M as q,N as E,H as N,G as H,z as a,g as p,D as O,A as n,I as S,J as C,B as k,y as f,x as V,F as D,K as G,O as J}from"./CEVEV-m9.js";import{_ as Q}from"./lKBEMcP3.js";import{a as X,c as Y,r as Z,b as R,i as ee,_ as te,V as le,d as oe,e as ae,f as ie,g as ne,h as se,j as de,k as re,l as ue,m as pe}from"./BBn2cySh.js";import{V as me}from"./CwwZrPOO.js";import{V as fe}from"./CsQoP8Vj.js";import{V as ye}from"./7L0px-82.js";import{V as ve}from"./CWebwQzs.js";import{m as Ve,I as ce,M as xe,d as be}from"./Bs8uPU8N.js";import{V as we}from"./ryHCEZNQ.js";import{m as Oe,a as ge,u as ke}from"./C4wkpklv.js";import{m as je,u as De}from"./r3LqnFig.js";import{V as Ue}from"./CIrVMAE7.js";const $e={props:{content:{type:String,required:!0}}},Pe=["innerHTML"];function _e(e,t,i,s,r,u){return c(),j("div",{class:"markdown-block",innerHTML:e.$markdown(i.content)},null,8,Pe)}const Ze=T($e,[["render",_e]]),Se=W({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Oe(),...je(),...ge(),...Ve({transition:"fade-transition"})},"VLazy"),Ce=q()({name:"VLazy",directives:{intersect:ce},props:Se(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:i}=t;const{dimensionStyles:s}=De(e),r=E(e,"modelValue");function u(m){r.value||(r.value=m)}return ke(()=>N(a(e.tag,{class:["v-lazy",e.class],style:[s.value,e.style]},{default:()=>[r.value&&a(xe,{transition:e.transition,appear:!0},{default:()=>{var m;return[(m=i.default)==null?void 0:m.call(i)]}})]}),[[H("intersect"),{handler:u,options:e.options},null]])),{}}}),Me=R,Te={modelRoot:"rootData",root:"rootData",model:"data",value:"data"},M=e=>e.match(/^[a-z.]*$/i)&&!["data","context","rootData","parent"].some(t=>e.startsWith(t+"."))?"rootData."+e:e,U=(e,t="js-eval")=>{let i=e,s=!0;i.includes("parent.value")&&(s=!1,i=i.replace(/parent\.value/g,"parent.data"));for(const[r,u]of Object.entries(Te))i=i.replace(new RegExp(`${r}\\.`,"g"),u+".");if(t==="js-eval"&&(i=M(i)),t==="js-tpl")for(const r of i.matchAll(/\{(.*?)\}/g))r[1]!=="q"&&(i=i.replace(r[0],"${"+M(r[1])+"}"));return i.includes("rootData")&&(s=!1),{type:t,expr:i,pure:s}},y=(e,t,i,s)=>{var r,u,m;if(!s.includes(e)){if(s.push(e),e.$ref){const[o,d]=t(i,e.$ref);y(o,t,d,s)}if(!e.layout){const o={};if((e.separator||e["x-separator"])&&(o.separator=e.separator||e["x-separator"],delete e.separator,delete e["x-separator"]),e["x-display"]==="icon"&&(e.enum||(r=e.items)!=null&&r.enum)&&(o.getItems={itemIcon:e["x-itemIcon"]||"data.value"},delete e["x-display"]),e["x-display"]){let d=e["x-display"];d==="radio"&&(d="radio-group"),d==="checkbox"&&e.type!=="boolean"&&(d="checkbox-group"),d==="switch"&&e.type!=="boolean"&&(d="switch-group"),o.comp=d,delete e["x-display"]}if(e.format==="hexcolor"&&(o.comp="color-picker",delete e.format),e["x-props"]&&(o.props=e["x-props"],delete e["x-props"]),e["x-fromData"]&&(o.comp=o.comp??"select",o.getItems=U(e["x-fromData"]),delete e["x-fromData"]),e["x-if"]&&(o.if=U(e["x-if"]),delete e["x-if"]),e["x-fromUrl"]){const d=e["x-fromUrl"];o.getItems={url:U(d,"js-tpl")},delete e["x-fromUrl"]}o.getItems&&ee(o.getItems)&&(e["x-itemKey"]&&(o.getItems.itemKey=`data["${e["x-itemKey"]}"]`),e["x-itemTitle"]&&(o.getItems.itemTitle=`data["${e["x-itemTitle"]}"]`),e["x-itemValue"]&&(o.getItems.itemValue=`data["${e["x-itemValue"]}"]`),e["x-itemIcon"]&&(o.getItems.itemIcon=`data["${e["x-itemIcon"]}"]`),e["x-itemsProp"]&&(o.getItems.itemsResults=`data["${e["x-itemsProp"]}"]`),delete e["x-itemKey"],delete e["x-itemTitle"],delete e["x-itemValue"],delete e["x-itemsProp"]),e["x-cols"]&&(o.cols=e["x-cols"]),Object.keys(o).length===1&&"comp"in o?e.layout=o.comp:Object.keys(o).length>0&&(e.layout=o)}if(e.properties)for(const o of Object.keys(e.properties))y(e.properties[o],t,i,s);if(e.allOf)for(const o of e.allOf)y(o,t,i,s);if(e.oneOf){if(!e.oneOfLayout){const o=Object.keys(((u=e.oneOf[0])==null?void 0:u.properties)||{}).find(d=>{var x;return!!((x=e.oneOf[0])!=null&&x.properties[d].const)});if(o){const d=(m=e.oneOf[0])==null?void 0:m.properties[o];d!=null&&d.title&&(e.oneOfLayout={label:d.title}),e.required&&Array.isArray(e.required)&&(e.required=e.required.filter(x=>x!==o))}}for(const o of e.oneOf)y(o,t,i,s)}if(e.anyOf)for(const o of e.anyOf)y(o,t,i,s);if(e.type==="array"&&e.items)if(Array.isArray(e.items))for(const o of e.items)y(o,t,i,s);else y(e.items,t,i,s);if(e.dependencies)for(const o of Object.keys(e.dependencies))y(e.dependencies[o],t,i,s);e.if&&(e.then&&y(e.then,t,i,s),e.else&&y(e.else,t,i,s))}};function Ae(e,t,i="en"){let s=t;if(!s){const o={strict:!1,allErrors:!0},d=new Me(o);X.default(d),s=d}const r=Y(e);r.$id=r.$id??"_jl";const u=Z(r,s,i),m=[];return y(r,u,r.$id,m),r}const Le={"custom-textarea":` +