@data-fair/app-calendar 1.2.13 → 1.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- import{_ as e,d as t,f as n,g as r,i,n as a,p as o,r as s,t as c,u as l,v as u,y as d}from"./forwardRefs-mMsq8S7y.js";import{$n as f,C as p,F as m,Gt as h,Hn as g,I as _,Jt as v,Nn as y,Pn as b,Qn as x,Rn as S,Sr as C,Tn as w,W as T,X as E,ar as D,bn as O,dr as k,gr as A,jn as j,l as M,sr as N,tr as P,u as F,ur as I,vn as L,w as R,yn as z,z as B}from"./index-DWmVTbRH.js";import{n as V,t as H}from"./messages-BrKqJhrd.js";const U=Symbol.for(`vuetify:layout`);E({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},`layout`),E({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},`layout-item`);function W(){let e=j(U);if(!e)throw Error(`[Vuetify] Could not find injected layout`);return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function G(e){let t=k(e()),n=-1;function r(){clearInterval(n)}function i(){r(),b(()=>t.value=e())}function a(i){let a=i?getComputedStyle(i):{transitionDuration:.2},o=parseFloat(a.transitionDuration)*1e3||200;if(r(),t.value<=0)return;let s=performance.now();n=window.setInterval(()=>{let n=performance.now()-s+o;t.value=Math.max(e()-n,0),t.value<=0&&r()},o)}return N(r),{clear:r,time:t,start:a,reset:i}}const K=E({multiLine:Boolean,text:String,timer:[Boolean,String],timeout:{type:[Number,String],default:5e3},vertical:Boolean,...o({location:`bottom`}),...l(),...M(),...u(),...p(),...h(s({transition:`v-snackbar-transition`}),[`persistent`,`noClickAnimation`,`retainFocus`,`captureFocus`,`disableInitialFocus`,`scrim`,`scrollStrategy`,`stickToTarget`,`viewportMargin`])},`VSnackbar`),q=T()({name:`VSnackbar`,props:K(),emits:{"update:modelValue":e=>!0},setup(o,s){let{slots:l}=s,u=m(o,`modelValue`),{positionClasses:p}=t(o),{scopeId:h}=i(),{themeClasses:g}=R(o),{colorClasses:b,colorStyles:C,variantClasses:T}=d(o),{roundedClasses:E}=F(o),D=G(()=>Number(o.timeout)),O=I(),A=I(),M=k(!1),N=k(0),P=I(),V=j(U,void 0);_(()=>!!V,()=>{let e=W();f(()=>{P.value=e.mainStyles.value})}),x(u,K),x(()=>o.timeout,K),S(()=>{u.value&&K()});let H=-1;function K(){D.reset(),window.clearTimeout(H);let e=Number(o.timeout);if(!u.value||e===-1)return;let t=v(A.value);D.start(t),H=window.setTimeout(()=>{u.value=!1},e)}function q(){D.reset(),window.clearTimeout(H)}function J(){M.value=!0,q()}function Y(){M.value=!1,K()}function X(e){N.value=e.touches[0].clientY}function Z(e){Math.abs(N.value-e.changedTouches[0].clientY)>50&&(u.value=!1)}function Q(){M.value&&Y()}let $=L(()=>o.location.split(` `).reduce((e,t)=>(e[`v-snackbar--${t}`]=!0,e),{}));return B(()=>{let t=a.filterProps(o),i=!!(l.default||l.text||o.text);return w(a,y({ref:O,class:[`v-snackbar`,{"v-snackbar--active":u.value,"v-snackbar--multi-line":o.multiLine&&!o.vertical,"v-snackbar--timer":!!o.timer,"v-snackbar--vertical":o.vertical},$.value,p.value,o.class],style:[P.value,o.style]},t,{modelValue:u.value,"onUpdate:modelValue":e=>u.value=e,contentProps:y({class:[`v-snackbar__wrapper`,g.value,b.value,E.value,T.value],style:[C.value],onPointerenter:J,onPointerleave:Y},t.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:`none`,_disableGlobalStack:!0,onTouchstartPassive:X,onTouchend:Z,onAfterLeave:Q},h),{default:()=>[e(!1,`v-snackbar`),o.timer&&!M.value&&z(`div`,{key:`timer`,class:`v-snackbar__timer`},[w(n,{ref:A,color:typeof o.timer==`string`?o.timer:`info`,max:o.timeout,modelValue:D.time.value},null)]),i&&z(`div`,{key:`content`,class:`v-snackbar__content`,role:`status`,"aria-live":`polite`},[l.text?.()??o.text,l.default?.()]),l.actions&&w(r,{defaults:{VBtn:{variant:`text`,ripple:!1,slim:!0}}},{default:()=>[z(`div`,{class:`v-snackbar__actions`},[l.actions({isActive:u})])]})],activator:l.activator})}),c({},O)}});var J={__name:`SnackBar`,setup(e){return(e,t)=>(g(),O(q,{modelValue:A(H),"onUpdate:modelValue":t[0]||=e=>D(H)?H.value=e:null,variant:`elevated`,timeout:`5000`,color:`red`},{default:P(()=>[z(`div`,null,C(A(V)),1)]),_:1},8,[`modelValue`]))}};export{J as default};
1
+ import{_ as e,d as t,f as n,g as r,i,n as a,p as o,r as s,t as c,u as l,v as u,y as d}from"./forwardRefs-CEpIeMQj.js";import{$n as f,C as p,F as m,Gt as h,Hn as g,I as _,Jt as v,Nn as y,Pn as b,Qn as x,Rn as S,Sr as C,Tn as w,W as T,X as E,ar as D,bn as O,dr as k,gr as A,jn as j,l as M,sr as N,tr as P,u as F,ur as I,vn as L,w as R,yn as z,z as B}from"./index-ul76iyV8.js";import{n as V,t as H}from"./messages-t5dTt0Oj.js";const U=Symbol.for(`vuetify:layout`);E({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},`layout`),E({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},`layout-item`);function W(){let e=j(U);if(!e)throw Error(`[Vuetify] Could not find injected layout`);return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function G(e){let t=k(e()),n=-1;function r(){clearInterval(n)}function i(){r(),b(()=>t.value=e())}function a(i){let a=i?getComputedStyle(i):{transitionDuration:.2},o=parseFloat(a.transitionDuration)*1e3||200;if(r(),t.value<=0)return;let s=performance.now();n=window.setInterval(()=>{let n=performance.now()-s+o;t.value=Math.max(e()-n,0),t.value<=0&&r()},o)}return N(r),{clear:r,time:t,start:a,reset:i}}const K=E({multiLine:Boolean,text:String,timer:[Boolean,String],timeout:{type:[Number,String],default:5e3},vertical:Boolean,...o({location:`bottom`}),...l(),...M(),...u(),...p(),...h(s({transition:`v-snackbar-transition`}),[`persistent`,`noClickAnimation`,`retainFocus`,`captureFocus`,`disableInitialFocus`,`scrim`,`scrollStrategy`,`stickToTarget`,`viewportMargin`])},`VSnackbar`),q=T()({name:`VSnackbar`,props:K(),emits:{"update:modelValue":e=>!0},setup(o,s){let{slots:l}=s,u=m(o,`modelValue`),{positionClasses:p}=t(o),{scopeId:h}=i(),{themeClasses:g}=R(o),{colorClasses:b,colorStyles:C,variantClasses:T}=d(o),{roundedClasses:E}=F(o),D=G(()=>Number(o.timeout)),O=I(),A=I(),M=k(!1),N=k(0),P=I(),V=j(U,void 0);_(()=>!!V,()=>{let e=W();f(()=>{P.value=e.mainStyles.value})}),x(u,K),x(()=>o.timeout,K),S(()=>{u.value&&K()});let H=-1;function K(){D.reset(),window.clearTimeout(H);let e=Number(o.timeout);if(!u.value||e===-1)return;let t=v(A.value);D.start(t),H=window.setTimeout(()=>{u.value=!1},e)}function q(){D.reset(),window.clearTimeout(H)}function J(){M.value=!0,q()}function Y(){M.value=!1,K()}function X(e){N.value=e.touches[0].clientY}function Z(e){Math.abs(N.value-e.changedTouches[0].clientY)>50&&(u.value=!1)}function Q(){M.value&&Y()}let $=L(()=>o.location.split(` `).reduce((e,t)=>(e[`v-snackbar--${t}`]=!0,e),{}));return B(()=>{let t=a.filterProps(o),i=!!(l.default||l.text||o.text);return w(a,y({ref:O,class:[`v-snackbar`,{"v-snackbar--active":u.value,"v-snackbar--multi-line":o.multiLine&&!o.vertical,"v-snackbar--timer":!!o.timer,"v-snackbar--vertical":o.vertical},$.value,p.value,o.class],style:[P.value,o.style]},t,{modelValue:u.value,"onUpdate:modelValue":e=>u.value=e,contentProps:y({class:[`v-snackbar__wrapper`,g.value,b.value,E.value,T.value],style:[C.value],onPointerenter:J,onPointerleave:Y},t.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:`none`,_disableGlobalStack:!0,onTouchstartPassive:X,onTouchend:Z,onAfterLeave:Q},h),{default:()=>[e(!1,`v-snackbar`),o.timer&&!M.value&&z(`div`,{key:`timer`,class:`v-snackbar__timer`},[w(n,{ref:A,color:typeof o.timer==`string`?o.timer:`info`,max:o.timeout,modelValue:D.time.value},null)]),i&&z(`div`,{key:`content`,class:`v-snackbar__content`,role:`status`,"aria-live":`polite`},[l.text?.()??o.text,l.default?.()]),l.actions&&w(r,{defaults:{VBtn:{variant:`text`,ripple:!1,slim:!0}}},{default:()=>[z(`div`,{class:`v-snackbar__actions`},[l.actions({isActive:u})])]})],activator:l.activator})}),c({},O)}});var J={__name:`SnackBar`,setup(e){return(e,t)=>(g(),O(q,{modelValue:A(H),"onUpdate:modelValue":t[0]||=e=>D(H)?H.value=e:null,variant:`elevated`,timeout:`5000`,color:`red`},{default:P(()=>[z(`div`,null,C(A(V)),1)]),_:1},8,[`modelValue`]))}};export{J as default};
@@ -1,4 +1,4 @@
1
- import{Cr as e,Er as t}from"./index-DWmVTbRH.js";var n=e(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n||=self,n.CodeMirror=r())})(e,(function(){var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),a=/Edge\/(\d+)/.exec(e),o=r||i||a,s=o&&(r?document.documentMode||6:+(a||i)[1]),c=!a&&/WebKit\//.test(e),l=c&&/Qt\/\d+\.\d+/.test(e),u=!a&&/Chrome\/(\d+)/.exec(e),d=u&&+u[1],f=/Opera\//.test(e),p=/Apple Computer/.test(navigator.vendor),m=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),h=/PhantomJS/.test(e),g=p&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),_=/Android/.test(e),v=g||_||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=g||/Mac/.test(t),b=/\bCrOS\b/.test(e),x=/win/i.test(t),S=f&&e.match(/Version\/(\d*\.\d*)/);S&&=Number(S[1]),S&&S>=15&&(f=!1,c=!0);var C=y&&(l||f&&(S==null||S<12.11)),w=n||o&&s>=9;function T(e){return RegExp(`(^|\\s)`+e+`(?:$|\\s)\\s*`)}var E=function(e,t){var n=e.className,r=T(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:``)}};function D(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function O(e,t){return D(e).appendChild(t)}function k(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),typeof t==`string`)i.appendChild(document.createTextNode(t));else if(t)for(var a=0;a<t.length;++a)i.appendChild(t[a]);return i}function A(e,t,n,r){var i=k(e,t,n,r);return i.setAttribute(`role`,`presentation`),i}var j=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch{return r}return r.collapse(!0),r.moveEnd(`character`,n),r.moveStart(`character`,t),r};function M(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function ee(e){var t=e.ownerDocument||e,n;try{n=e.activeElement}catch{n=t.body||null}for(;n&&n.shadowRoot&&n.shadowRoot.activeElement;)n=n.shadowRoot.activeElement;return n}function te(e,t){var n=e.className;T(t).test(n)||(e.className+=(n?` `:``)+t)}function N(e,t){for(var n=e.split(` `),r=0;r<n.length;r++)n[r]&&!T(n[r]).test(t)&&(t+=` `+n[r]);return t}var ne=function(e){e.select()};g?ne=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:o&&(ne=function(e){try{e.select()}catch{}});function P(e){return e.display.wrapper.ownerDocument}function re(e){return F(e.display.wrapper)}function F(e){return e.getRootNode?e.getRootNode():e.ownerDocument}function I(e){return P(e).defaultView}function ie(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function L(e,t,n){for(var r in t||={},e)e.hasOwnProperty(r)&&(n!==!1||!t.hasOwnProperty(r))&&(t[r]=e[r]);return t}function R(e,t,n,r,i){t??(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var a=r||0,o=i||0;;){var s=e.indexOf(` `,a);if(s<0||s>=t)return o+(t-a);o+=s-a,o+=n-o%n,a=s+1}}var ae=function(){this.id=null,this.f=null,this.time=0,this.handler=ie(this.onTimeout,this)};ae.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},ae.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};function z(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}var oe=50,se={toString:function(){return`CodeMirror.Pass`}},ce={scroll:!1},le={origin:`*mouse`},ue={origin:`+move`};function B(e,t,n){for(var r=0,i=0;;){var a=e.indexOf(` `,r);a==-1&&(a=e.length);var o=a-r;if(a==e.length||i+o>=t)return r+Math.min(o,t-i);if(i+=a-r,i+=n-i%n,r=a+1,i>=t)return r}}var de=[``];function fe(e){for(;de.length<=e;)de.push(V(de)+` `);return de[e]}function V(e){return e[e.length-1]}function pe(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function me(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}function he(){}function ge(e,t){var n;return Object.create?n=Object.create(e):(he.prototype=e,n=new he),t&&L(t,n),n}var _e=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ve(e){return/\w/.test(e)||e>`€`&&(e.toUpperCase()!=e.toLowerCase()||_e.test(e))}function ye(e,t){return t?t.source.indexOf(`\\w`)>-1&&ve(e)?!0:t.test(e):ve(e)}function be(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var xe=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Se(e){return e.charCodeAt(0)>=768&&xe.test(e)}function Ce(e,t,n){for(;(n<0?t>0:t<e.length)&&Se(e.charAt(t));)t+=n;return t}function we(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,a=r<0?Math.ceil(i):Math.floor(i);if(a==t)return e(a)?t:n;e(a)?n=a:t=a+r}}function Te(e,t,n,r){if(!e)return r(t,n,`ltr`,0);for(var i=!1,a=0;a<e.length;++a){var o=e[a];(o.from<n&&o.to>t||t==n&&o.to==t)&&(r(Math.max(o.from,t),Math.min(o.to,n),o.level==1?`rtl`:`ltr`,a),i=!0)}i||r(t,n,`ltr`)}var Ee=null;function De(e,t,n){var r;Ee=null;for(var i=0;i<e.length;++i){var a=e[i];if(a.from<t&&a.to>t)return i;a.to==t&&(a.from!=a.to&&n==`before`?r=i:Ee=i),a.from==t&&(a.from!=a.to&&n!=`before`?r=i:Ee=i)}return r??Ee}var Oe=(function(){var e=`bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN`,t=`nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111`;function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?`R`:1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?`r`:8192<=n&&n<=8203?`w`:n==8204?`b`:`L`}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,a=/[LRr]/,o=/[Lb1n]/,s=/[1n]/;function c(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var l=t==`ltr`?`L`:`R`;if(e.length==0||t==`ltr`&&!r.test(e))return!1;for(var u=e.length,d=[],f=0;f<u;++f)d.push(n(e.charCodeAt(f)));for(var p=0,m=l;p<u;++p){var h=d[p];h==`m`?d[p]=m:m=h}for(var g=0,_=l;g<u;++g){var v=d[g];v==`1`&&_==`r`?d[g]=`n`:a.test(v)&&(_=v,v==`r`&&(d[g]=`R`))}for(var y=1,b=d[0];y<u-1;++y){var x=d[y];x==`+`&&b==`1`&&d[y+1]==`1`?d[y]=`1`:x==`,`&&b==d[y+1]&&(b==`1`||b==`n`)&&(d[y]=b),b=x}for(var S=0;S<u;++S){var C=d[S];if(C==`,`)d[S]=`N`;else if(C==`%`){var w=void 0;for(w=S+1;w<u&&d[w]==`%`;++w);for(var T=S&&d[S-1]==`!`||w<u&&d[w]==`1`?`1`:`N`,E=S;E<w;++E)d[E]=T;S=w-1}}for(var D=0,O=l;D<u;++D){var k=d[D];O==`L`&&k==`1`?d[D]=`L`:a.test(k)&&(O=k)}for(var A=0;A<u;++A)if(i.test(d[A])){var j=void 0;for(j=A+1;j<u&&i.test(d[j]);++j);for(var M=(A?d[A-1]:l)==`L`,ee=M==((j<u?d[j]:l)==`L`)?M?`L`:`R`:l,te=A;te<j;++te)d[te]=ee;A=j-1}for(var N=[],ne,P=0;P<u;)if(o.test(d[P])){var re=P;for(++P;P<u&&o.test(d[P]);++P);N.push(new c(0,re,P))}else{var F=P,I=N.length,ie=t==`rtl`?1:0;for(++P;P<u&&d[P]!=`L`;++P);for(var L=F;L<P;)if(s.test(d[L])){F<L&&(N.splice(I,0,new c(1,F,L)),I+=ie);var R=L;for(++L;L<P&&s.test(d[L]);++L);N.splice(I,0,new c(2,R,L)),I+=ie,F=L}else ++L;F<P&&N.splice(I,0,new c(1,F,P))}return t==`ltr`&&(N[0].level==1&&(ne=e.match(/^\s+/))&&(N[0].from=ne[0].length,N.unshift(new c(0,0,ne[0].length))),V(N).level==1&&(ne=e.match(/\s+$/))&&(V(N).to-=ne[0].length,N.push(new c(0,u-ne[0].length,u)))),t==`rtl`?N.reverse():N}})();function ke(e,t){var n=e.order;return n??=e.order=Oe(e.text,t),n}var H=[],U=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent(`on`+t,n);else{var r=e._handlers||={};r[t]=(r[t]||H).concat(n)}};function Ae(e,t){return e._handlers&&e._handlers[t]||H}function je(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent(`on`+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var a=z(i,n);a>-1&&(r[t]=i.slice(0,a).concat(i.slice(a+1)))}}}function W(e,t){var n=Ae(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function Me(e,t,n){return typeof t==`string`&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),W(e,n||t.type,e,t),Le(t)||t.codemirrorIgnore}function Ne(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)z(n,t[r])==-1&&n.push(t[r])}function Pe(e,t){return Ae(e,t).length>0}function G(e){e.prototype.on=function(e,t){U(this,e,t)},e.prototype.off=function(e,t){je(this,e,t)}}function Fe(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ie(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Le(e){return e.defaultPrevented==null?e.returnValue==0:e.defaultPrevented}function Re(e){Fe(e),Ie(e)}function ze(e){return e.target||e.srcElement}function Be(e){var t=e.which;return t??(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),y&&e.ctrlKey&&t==1&&(t=3),t}var Ve=function(){if(o&&s<9)return!1;var e=k(`div`);return`draggable`in e||`dragDrop`in e}(),He;function Ue(e){if(He==null){var t=k(`span`,`​`);O(e,k(`span`,[t,document.createTextNode(`x`)])),e.firstChild.offsetHeight!=0&&(He=t.offsetWidth<=1&&t.offsetHeight>2&&!(o&&s<8))}var n=He?k(`span`,`​`):k(`span`,`\xA0`,null,`display: inline-block; width: 1px; margin-right: -1px`);return n.setAttribute(`cm-text`,``),n}var We;function Ge(e){if(We!=null)return We;var t=O(e,document.createTextNode(`AخA`)),n=j(t,0,1).getBoundingClientRect(),r=j(t,1,2).getBoundingClientRect();return D(e),!n||n.left==n.right?!1:We=r.right-n.right<3}var Ke=`
1
+ import{Cr as e,Er as t}from"./index-ul76iyV8.js";var n=e(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n||=self,n.CodeMirror=r())})(e,(function(){var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),a=/Edge\/(\d+)/.exec(e),o=r||i||a,s=o&&(r?document.documentMode||6:+(a||i)[1]),c=!a&&/WebKit\//.test(e),l=c&&/Qt\/\d+\.\d+/.test(e),u=!a&&/Chrome\/(\d+)/.exec(e),d=u&&+u[1],f=/Opera\//.test(e),p=/Apple Computer/.test(navigator.vendor),m=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),h=/PhantomJS/.test(e),g=p&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),_=/Android/.test(e),v=g||_||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=g||/Mac/.test(t),b=/\bCrOS\b/.test(e),x=/win/i.test(t),S=f&&e.match(/Version\/(\d*\.\d*)/);S&&=Number(S[1]),S&&S>=15&&(f=!1,c=!0);var C=y&&(l||f&&(S==null||S<12.11)),w=n||o&&s>=9;function T(e){return RegExp(`(^|\\s)`+e+`(?:$|\\s)\\s*`)}var E=function(e,t){var n=e.className,r=T(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:``)}};function D(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function O(e,t){return D(e).appendChild(t)}function k(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),typeof t==`string`)i.appendChild(document.createTextNode(t));else if(t)for(var a=0;a<t.length;++a)i.appendChild(t[a]);return i}function A(e,t,n,r){var i=k(e,t,n,r);return i.setAttribute(`role`,`presentation`),i}var j=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch{return r}return r.collapse(!0),r.moveEnd(`character`,n),r.moveStart(`character`,t),r};function M(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function ee(e){var t=e.ownerDocument||e,n;try{n=e.activeElement}catch{n=t.body||null}for(;n&&n.shadowRoot&&n.shadowRoot.activeElement;)n=n.shadowRoot.activeElement;return n}function te(e,t){var n=e.className;T(t).test(n)||(e.className+=(n?` `:``)+t)}function N(e,t){for(var n=e.split(` `),r=0;r<n.length;r++)n[r]&&!T(n[r]).test(t)&&(t+=` `+n[r]);return t}var ne=function(e){e.select()};g?ne=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:o&&(ne=function(e){try{e.select()}catch{}});function P(e){return e.display.wrapper.ownerDocument}function re(e){return F(e.display.wrapper)}function F(e){return e.getRootNode?e.getRootNode():e.ownerDocument}function I(e){return P(e).defaultView}function ie(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function L(e,t,n){for(var r in t||={},e)e.hasOwnProperty(r)&&(n!==!1||!t.hasOwnProperty(r))&&(t[r]=e[r]);return t}function R(e,t,n,r,i){t??(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var a=r||0,o=i||0;;){var s=e.indexOf(` `,a);if(s<0||s>=t)return o+(t-a);o+=s-a,o+=n-o%n,a=s+1}}var ae=function(){this.id=null,this.f=null,this.time=0,this.handler=ie(this.onTimeout,this)};ae.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},ae.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};function z(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}var oe=50,se={toString:function(){return`CodeMirror.Pass`}},ce={scroll:!1},le={origin:`*mouse`},ue={origin:`+move`};function B(e,t,n){for(var r=0,i=0;;){var a=e.indexOf(` `,r);a==-1&&(a=e.length);var o=a-r;if(a==e.length||i+o>=t)return r+Math.min(o,t-i);if(i+=a-r,i+=n-i%n,r=a+1,i>=t)return r}}var de=[``];function fe(e){for(;de.length<=e;)de.push(V(de)+` `);return de[e]}function V(e){return e[e.length-1]}function pe(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function me(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}function he(){}function ge(e,t){var n;return Object.create?n=Object.create(e):(he.prototype=e,n=new he),t&&L(t,n),n}var _e=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ve(e){return/\w/.test(e)||e>`€`&&(e.toUpperCase()!=e.toLowerCase()||_e.test(e))}function ye(e,t){return t?t.source.indexOf(`\\w`)>-1&&ve(e)?!0:t.test(e):ve(e)}function be(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var xe=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Se(e){return e.charCodeAt(0)>=768&&xe.test(e)}function Ce(e,t,n){for(;(n<0?t>0:t<e.length)&&Se(e.charAt(t));)t+=n;return t}function we(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,a=r<0?Math.ceil(i):Math.floor(i);if(a==t)return e(a)?t:n;e(a)?n=a:t=a+r}}function Te(e,t,n,r){if(!e)return r(t,n,`ltr`,0);for(var i=!1,a=0;a<e.length;++a){var o=e[a];(o.from<n&&o.to>t||t==n&&o.to==t)&&(r(Math.max(o.from,t),Math.min(o.to,n),o.level==1?`rtl`:`ltr`,a),i=!0)}i||r(t,n,`ltr`)}var Ee=null;function De(e,t,n){var r;Ee=null;for(var i=0;i<e.length;++i){var a=e[i];if(a.from<t&&a.to>t)return i;a.to==t&&(a.from!=a.to&&n==`before`?r=i:Ee=i),a.from==t&&(a.from!=a.to&&n!=`before`?r=i:Ee=i)}return r??Ee}var Oe=(function(){var e=`bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN`,t=`nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111`;function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?`R`:1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?`r`:8192<=n&&n<=8203?`w`:n==8204?`b`:`L`}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,a=/[LRr]/,o=/[Lb1n]/,s=/[1n]/;function c(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var l=t==`ltr`?`L`:`R`;if(e.length==0||t==`ltr`&&!r.test(e))return!1;for(var u=e.length,d=[],f=0;f<u;++f)d.push(n(e.charCodeAt(f)));for(var p=0,m=l;p<u;++p){var h=d[p];h==`m`?d[p]=m:m=h}for(var g=0,_=l;g<u;++g){var v=d[g];v==`1`&&_==`r`?d[g]=`n`:a.test(v)&&(_=v,v==`r`&&(d[g]=`R`))}for(var y=1,b=d[0];y<u-1;++y){var x=d[y];x==`+`&&b==`1`&&d[y+1]==`1`?d[y]=`1`:x==`,`&&b==d[y+1]&&(b==`1`||b==`n`)&&(d[y]=b),b=x}for(var S=0;S<u;++S){var C=d[S];if(C==`,`)d[S]=`N`;else if(C==`%`){var w=void 0;for(w=S+1;w<u&&d[w]==`%`;++w);for(var T=S&&d[S-1]==`!`||w<u&&d[w]==`1`?`1`:`N`,E=S;E<w;++E)d[E]=T;S=w-1}}for(var D=0,O=l;D<u;++D){var k=d[D];O==`L`&&k==`1`?d[D]=`L`:a.test(k)&&(O=k)}for(var A=0;A<u;++A)if(i.test(d[A])){var j=void 0;for(j=A+1;j<u&&i.test(d[j]);++j);for(var M=(A?d[A-1]:l)==`L`,ee=M==((j<u?d[j]:l)==`L`)?M?`L`:`R`:l,te=A;te<j;++te)d[te]=ee;A=j-1}for(var N=[],ne,P=0;P<u;)if(o.test(d[P])){var re=P;for(++P;P<u&&o.test(d[P]);++P);N.push(new c(0,re,P))}else{var F=P,I=N.length,ie=t==`rtl`?1:0;for(++P;P<u&&d[P]!=`L`;++P);for(var L=F;L<P;)if(s.test(d[L])){F<L&&(N.splice(I,0,new c(1,F,L)),I+=ie);var R=L;for(++L;L<P&&s.test(d[L]);++L);N.splice(I,0,new c(2,R,L)),I+=ie,F=L}else ++L;F<P&&N.splice(I,0,new c(1,F,P))}return t==`ltr`&&(N[0].level==1&&(ne=e.match(/^\s+/))&&(N[0].from=ne[0].length,N.unshift(new c(0,0,ne[0].length))),V(N).level==1&&(ne=e.match(/\s+$/))&&(V(N).to-=ne[0].length,N.push(new c(0,u-ne[0].length,u)))),t==`rtl`?N.reverse():N}})();function ke(e,t){var n=e.order;return n??=e.order=Oe(e.text,t),n}var H=[],U=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent(`on`+t,n);else{var r=e._handlers||={};r[t]=(r[t]||H).concat(n)}};function Ae(e,t){return e._handlers&&e._handlers[t]||H}function je(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent(`on`+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var a=z(i,n);a>-1&&(r[t]=i.slice(0,a).concat(i.slice(a+1)))}}}function W(e,t){var n=Ae(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function Me(e,t,n){return typeof t==`string`&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),W(e,n||t.type,e,t),Le(t)||t.codemirrorIgnore}function Ne(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)z(n,t[r])==-1&&n.push(t[r])}function Pe(e,t){return Ae(e,t).length>0}function G(e){e.prototype.on=function(e,t){U(this,e,t)},e.prototype.off=function(e,t){je(this,e,t)}}function Fe(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ie(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Le(e){return e.defaultPrevented==null?e.returnValue==0:e.defaultPrevented}function Re(e){Fe(e),Ie(e)}function ze(e){return e.target||e.srcElement}function Be(e){var t=e.which;return t??(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),y&&e.ctrlKey&&t==1&&(t=3),t}var Ve=function(){if(o&&s<9)return!1;var e=k(`div`);return`draggable`in e||`dragDrop`in e}(),He;function Ue(e){if(He==null){var t=k(`span`,`​`);O(e,k(`span`,[t,document.createTextNode(`x`)])),e.firstChild.offsetHeight!=0&&(He=t.offsetWidth<=1&&t.offsetHeight>2&&!(o&&s<8))}var n=He?k(`span`,`​`):k(`span`,`\xA0`,null,`display: inline-block; width: 1px; margin-right: -1px`);return n.setAttribute(`cm-text`,``),n}var We;function Ge(e){if(We!=null)return We;var t=O(e,document.createTextNode(`AخA`)),n=j(t,0,1).getBoundingClientRect(),r=j(t,1,2).getBoundingClientRect();return D(e),!n||n.left==n.right?!1:We=r.right-n.right<3}var Ke=`
2
2
 
3
3
  b`.split(/\n/).length==3?function(e){return e.split(/\r\n?|\n/)}:function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf(`
4
4
  `,t);i==-1&&(i=e.length);var a=e.slice(t,e.charAt(i-1)==`\r`?i-1:i),o=a.indexOf(`\r`);o==-1?(n.push(a),t=i+1):(n.push(a.slice(0,o)),t+=o+1)}return n},qe=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch{}return!t||t.parentElement()!=e?!1:t.compareEndPoints(`StartToEnd`,t)!=0},Je=(function(){var e=k(`div`);return`oncopy`in e?!0:(e.setAttribute(`oncopy`,`return;`),typeof e.oncopy==`function`)})(),Ye=null;function Xe(e){if(Ye!=null)return Ye;var t=O(e,k(`span`,`x`)),n=t.getBoundingClientRect(),r=j(t,0,1).getBoundingClientRect();return Ye=Math.abs(n.left-r.left)>1}var Ze={},Qe={};function $e(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Ze[e]=t}function et(e,t){Qe[e]=t}function tt(e){if(typeof e==`string`&&Qe.hasOwnProperty(e))e=Qe[e];else if(e&&typeof e.name==`string`&&Qe.hasOwnProperty(e.name)){var t=Qe[e.name];typeof t==`string`&&(t={name:t}),e=ge(t,e),e.name=t.name}else if(typeof e==`string`&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return tt(`application/xml`);else if(typeof e==`string`&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return tt(`application/json`);return typeof e==`string`?{name:e}:e||{name:`null`}}function nt(e,t){t=tt(t);var n=Ze[t.name];if(!n)return nt(e,`text/plain`);var r=n(e,t);if(rt.hasOwnProperty(t.name)){var i=rt[t.name];for(var a in i)i.hasOwnProperty(a)&&(r.hasOwnProperty(a)&&(r[`_`+a]=r[a]),r[a]=i[a])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var o in t.modeProps)r[o]=t.modeProps[o];return r}var rt={};function it(e,t){L(t,rt.hasOwnProperty(e)?rt[e]:rt[e]={})}function at(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function ot(e,t){for(var n;e.innerMode&&(n=e.innerMode(t),!(!n||n.mode==e));)t=n.state,e=n.mode;return n||{mode:e,state:t}}function st(e,t,n){return e.startState?e.startState(t,n):!0}var ct=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};ct.prototype.eol=function(){return this.pos>=this.string.length},ct.prototype.sol=function(){return this.pos==this.lineStart},ct.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},ct.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},ct.prototype.eat=function(e){var t=this.string.charAt(this.pos);if(typeof e==`string`?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},ct.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},ct.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},ct.prototype.skipToEnd=function(){this.pos=this.string.length},ct.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},ct.prototype.backUp=function(e){this.pos-=e},ct.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=R(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},ct.prototype.indentation=function(){return R(this.string,null,this.tabSize)-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},ct.prototype.match=function(e,t,n){if(typeof e==`string`){var r=function(e){return n?e.toLowerCase():e};if(r(this.string.substr(this.pos,e.length))==r(e))return t!==!1&&(this.pos+=e.length),!0}else{var i=this.string.slice(this.pos).match(e);return i&&i.index>0?null:(i&&t!==!1&&(this.pos+=i[0].length),i)}},ct.prototype.current=function(){return this.string.slice(this.start,this.pos)},ct.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},ct.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},ct.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function K(e,t){if(t-=e.first,t<0||t>=e.size)throw Error(`There is no line `+(t+e.first)+` in the document.`);for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],a=i.chunkSize();if(t<a){n=i;break}t-=a}return n.lines[t]}function lt(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,function(e){var a=e.text;i==n.line&&(a=a.slice(0,n.ch)),i==t.line&&(a=a.slice(t.ch)),r.push(a),++i}),r}function ut(e,t,n){var r=[];return e.iter(t,n,function(e){r.push(e.text)}),r}function dt(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function q(e){if(e.parent==null)return null;for(var t=e.parent,n=z(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function ft(e,t){var n=e.first;outer:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],a=i.height;if(t<a){e=i;continue outer}t-=a,n+=i.chunkSize()}return n}while(!e.lines);for(var o=0;o<e.lines.length;++o){var s=e.lines[o].height;if(t<s)break;t-=s}return n+o}function pt(e,t){return t>=e.first&&t<e.first+e.size}function mt(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function J(e,t,n){if(n===void 0&&(n=null),!(this instanceof J))return new J(e,t,n);this.line=e,this.ch=t,this.sticky=n}function Y(e,t){return e.line-t.line||e.ch-t.ch}function ht(e,t){return e.sticky==t.sticky&&Y(e,t)==0}function gt(e){return J(e.line,e.ch)}function _t(e,t){return Y(e,t)<0?t:e}function vt(e,t){return Y(e,t)<0?e:t}function yt(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function X(e,t){if(t.line<e.first)return J(e.first,0);var n=e.first+e.size-1;return t.line>n?J(n,K(e,n).text.length):bt(t,K(e,t.line).text.length)}function bt(e,t){var n=e.ch;return n==null||n>t?J(e.line,t):n<0?J(e.line,0):e}function xt(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=X(e,t[r]);return n}var St=function(e,t){this.state=e,this.lookAhead=t},Ct=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};Ct.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return t!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},Ct.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,``),size:this.baseTokens[this.baseTokenPos]-e}},Ct.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Ct.fromSaved=function(e,t,n){return t instanceof St?new Ct(e,at(e.mode,t.state),n,t.lookAhead):new Ct(e,at(e.mode,t),n)},Ct.prototype.save=function(e){var t=e===!1?this.state:at(this.doc.mode,this.state);return this.maxLookAhead>0?new St(t,this.maxLookAhead):t};function wt(e,t,n,r){var i=[e.state.modeGen],a={};Nt(e,t.text,e.doc.mode,n,function(e,t){return i.push(e,t)},a,r);for(var o=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],c=1,l=0;n.state=!0,Nt(e,t.text,s.mode,n,function(e,t){for(var n=c;l<e;){var r=i[c];r>e&&i.splice(c,1,e,i[c+1],r),c+=2,l=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,c-n,e,`overlay `+t),c=n+2;else for(;n<c;n+=2){var a=i[n+1];i[n+1]=(a?a+` `:``)+`overlay `+t}},a),n.state=o,n.baseTokens=null,n.baseTokenPos=1},c=0;c<e.state.overlays.length;++c)s(c);return{styles:i,classes:a.bgClass||a.textClass?a:null}}function Tt(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=Et(e,q(t)),i=t.text.length>e.options.maxHighlightLength&&at(e.doc.mode,r.state),a=wt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=a.styles,a.classes?t.styleClasses=a.classes:t.styleClasses&&=null,n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Et(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new Ct(r,!0,t);var a=Pt(e,t,n),o=a>r.first&&K(r,a-1).stateAfter,s=o?Ct.fromSaved(r,o,a):new Ct(r,st(r.mode),a);return r.iter(a,t,function(n){Dt(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()}),n&&(r.modeFrontier=s.line),s}function Dt(e,t,n,r){var i=e.doc.mode,a=new ct(t,e.options.tabSize,n);for(a.start=a.pos=r||0,t==``&&Ot(i,n.state);!a.eol();)kt(i,a,n.state),a.start=a.pos}function Ot(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=ot(e,t);if(n.mode.blankLine)return n.mode.blankLine(n.state)}}function kt(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=ot(e,n).mode);var a=e.token(t,n);if(t.pos>t.start)return a}throw Error(`Mode `+e.name+` failed to advance stream.`)}var At=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function jt(e,t,n,r){var i=e.doc,a=i.mode,o;t=X(i,t);var s=K(i,t.line),c=Et(e,t.line,n),l=new ct(s.text,e.options.tabSize,c),u;for(r&&(u=[]);(r||l.pos<t.ch)&&!l.eol();)l.start=l.pos,o=kt(a,l,c.state),r&&u.push(new At(l,o,at(i.mode,c.state)));return r?u:new At(l,o,c.state)}function Mt(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?`bgClass`:`textClass`;t[r]==null?t[r]=n[2]:RegExp(`(?:^|\\s)`+n[2]+`(?:$|\\s)`).test(t[r])||(t[r]+=` `+n[2])}return e}function Nt(e,t,n,r,i,a,o){var s=n.flattenSpans;s??=e.options.flattenSpans;var c=0,l=null,u=new ct(t,e.options.tabSize,r),d,f=e.options.addModeClass&&[null];for(t==``&&Mt(Ot(n,r.state),a);!u.eol();){if(u.pos>e.options.maxHighlightLength?(s=!1,o&&Dt(e,t,r,u.pos),u.pos=t.length,d=null):d=Mt(kt(n,u,r.state,f),a),f){var p=f[0].name;p&&(d=`m-`+(d?p+` `+d:p))}if(!s||l!=d){for(;c<u.start;)c=Math.min(u.start,c+5e3),i(c,l);l=d}u.start=u.pos}for(;c<u.pos;){var m=Math.min(u.pos,c+5e3);i(m,l),c=m}}function Pt(e,t,n){for(var r,i,a=e.doc,o=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>o;--s){if(s<=a.first)return a.first;var c=K(a,s-1),l=c.stateAfter;if(l&&(!n||s+(l instanceof St?l.lookAhead:0)<=a.modeFrontier))return s;var u=R(c.text,null,e.options.tabSize);(i==null||r>u)&&(i=s-1,r=u)}return i}function Ft(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=K(e,r).stateAfter;if(i&&(!(i instanceof St)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}var It=!1,Lt=!1;function Rt(){It=!0}function zt(){Lt=!0}function Bt(e,t,n){this.marker=e,this.from=t,this.to=n}function Vt(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function Ht(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||=[]).push(e[r]);return n}function Ut(e,t,n){var r=n&&window.WeakSet&&(n.markedSpans||=new WeakSet);r&&e.markedSpans&&r.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],r&&r.add(e.markedSpans)),t.marker.attachLine(e)}function Wt(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var a=e[i],o=a.marker;if(a.from==null||(o.inclusiveLeft?a.from<=t:a.from<t)||a.from==t&&o.type==`bookmark`&&(!n||!a.marker.insertLeft)){var s=a.to==null||(o.inclusiveRight?a.to>=t:a.to>t);(r||=[]).push(new Bt(o,a.from,s?null:a.to))}}return r}function Gt(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var a=e[i],o=a.marker;if(a.to==null||(o.inclusiveRight?a.to>=t:a.to>t)||a.from==t&&o.type==`bookmark`&&(!n||a.marker.insertLeft)){var s=a.from==null||(o.inclusiveLeft?a.from<=t:a.from<t);(r||=[]).push(new Bt(o,s?null:a.from-t,a.to==null?null:a.to-t))}}return r}function Kt(e,t){if(t.full)return null;var n=pt(e,t.from.line)&&K(e,t.from.line).markedSpans,r=pt(e,t.to.line)&&K(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,a=t.to.ch,o=Y(t.from,t.to)==0,s=Wt(n,i,o),c=Gt(r,a,o),l=t.text.length==1,u=V(t.text).length+(l?i:0);if(s)for(var d=0;d<s.length;++d){var f=s[d];if(f.to==null){var p=Vt(c,f.marker);p?l&&(f.to=p.to==null?null:p.to+u):f.to=i}}if(c)for(var m=0;m<c.length;++m){var h=c[m];h.to!=null&&(h.to+=u),h.from==null?Vt(s,h.marker)||(h.from=u,l&&(s||=[]).push(h)):(h.from+=u,l&&(s||=[]).push(h))}s&&=qt(s),c&&c!=s&&(c=qt(c));var g=[s];if(!l){var _=t.text.length-2,v;if(_>0&&s)for(var y=0;y<s.length;++y)s[y].to??(v||=[]).push(new Bt(s[y].marker,null,null));for(var b=0;b<_;++b)g.push(v);g.push(c)}return g}function qt(e){for(var t=0;t<e.length;++t){var n=e[t];n.from!=null&&n.from==n.to&&n.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function Jt(e,t,n){var r=null;if(e.iter(t.line,n.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;n.readOnly&&(!r||z(r,n)==-1)&&(r||=[]).push(n)}}),!r)return null;for(var i=[{from:t,to:n}],a=0;a<r.length;++a)for(var o=r[a],s=o.find(0),c=0;c<i.length;++c){var l=i[c];if(!(Y(l.to,s.from)<0||Y(l.from,s.to)>0)){var u=[c,1],d=Y(l.from,s.from),f=Y(l.to,s.to);(d<0||!o.inclusiveLeft&&!d)&&u.push({from:l.from,to:s.from}),(f>0||!o.inclusiveRight&&!f)&&u.push({from:s.to,to:l.to}),i.splice.apply(i,u),c+=u.length-3}}return i}function Yt(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function Xt(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function Zt(e){return e.inclusiveLeft?-1:0}function Qt(e){return e.inclusiveRight?1:0}function $t(e,t){var n=e.lines.length-t.lines.length;if(n!=0)return n;var r=e.find(),i=t.find(),a=Y(r.from,i.from)||Zt(e)-Zt(t);return a?-a:Y(r.to,i.to)||Qt(e)-Qt(t)||t.id-e.id}function en(e,t){var n=Lt&&e.markedSpans,r;if(n)for(var i=void 0,a=0;a<n.length;++a)i=n[a],i.marker.collapsed&&(t?i.from:i.to)==null&&(!r||$t(r,i.marker)<0)&&(r=i.marker);return r}function tn(e){return en(e,!0)}function nn(e){return en(e,!1)}function rn(e,t){var n=Lt&&e.markedSpans,r;if(n)for(var i=0;i<n.length;++i){var a=n[i];a.marker.collapsed&&(a.from==null||a.from<t)&&(a.to==null||a.to>t)&&(!r||$t(r,a.marker)<0)&&(r=a.marker)}return r}function an(e,t,n,r,i){var a=K(e,t),o=Lt&&a.markedSpans;if(o)for(var s=0;s<o.length;++s){var c=o[s];if(c.marker.collapsed){var l=c.marker.find(0),u=Y(l.from,n)||Zt(c.marker)-Zt(i),d=Y(l.to,r)||Qt(c.marker)-Qt(i);if(!(u>=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(c.marker.inclusiveRight&&i.inclusiveLeft?Y(l.to,n)>=0:Y(l.to,n)>0)||u>=0&&(c.marker.inclusiveRight&&i.inclusiveLeft?Y(l.from,r)<=0:Y(l.from,r)<0)))return!0}}}function on(e){for(var t;t=tn(e);)e=t.find(-1,!0).line;return e}function sn(e){for(var t;t=nn(e);)e=t.find(1,!0).line;return e}function cn(e){for(var t,n;t=nn(e);)e=t.find(1,!0).line,(n||=[]).push(e);return n}function ln(e,t){var n=K(e,t),r=on(n);return n==r?t:q(r)}function un(e,t){if(t>e.lastLine())return t;var n=K(e,t),r;if(!dn(e,n))return t;for(;r=nn(n);)n=r.find(1,!0).line;return q(n)+1}function dn(e,t){var n=Lt&&t.markedSpans;if(n){for(var r=void 0,i=0;i<n.length;++i)if(r=n[i],r.marker.collapsed&&(r.from==null||!r.marker.widgetNode&&r.from==0&&r.marker.inclusiveLeft&&fn(e,t,r)))return!0}}function fn(e,t,n){if(n.to==null){var r=n.marker.find(1,!0);return fn(e,r.line,Vt(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,a=0;a<t.markedSpans.length;++a)if(i=t.markedSpans[a],i.marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(i.to==null||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&fn(e,t,i))return!0}function pn(e){e=on(e);for(var t=0,n=e.parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var a=n.parent;a;n=a,a=n.parent)for(var o=0;o<a.children.length;++o){var s=a.children[o];if(s==n)break;t+=s.height}return t}function mn(e){if(e.height==0)return 0;for(var t=e.text.length,n,r=e;n=tn(r);){var i=n.find(0,!0);r=i.from.line,t+=i.from.ch-i.to.ch}for(r=e;n=nn(r);){var a=n.find(0,!0);t-=r.text.length-a.from.ch,r=a.to.line,t+=r.text.length-a.to.ch}return t}function hn(e){var t=e.display,n=e.doc;t.maxLine=K(n,n.first),t.maxLineLength=mn(t.maxLine),t.maxLineChanged=!0,n.iter(function(e){var n=mn(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}var gn=function(e,t,n){this.text=e,Xt(this,t),this.height=n?n(this):1};gn.prototype.lineNo=function(){return q(this)},G(gn);function _n(e,t,n,r){e.text=t,e.stateAfter&&=null,e.styles&&=null,e.order!=null&&(e.order=null),Yt(e),Xt(e,n);var i=r?r(e):1;i!=e.height&&dt(e,i)}function vn(e){e.parent=null,Yt(e)}var yn={},bn={};function xn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?bn:yn;return n[e]||(n[e]=e.replace(/\S+/g,`cm-$&`))}function Sn(e,t){var n=A(`span`,null,null,c?`padding-right: .1px`:null),r={pre:A(`pre`,[n],`CodeMirror-line`),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption(`lineWrapping`)};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var a=i?t.rest[i-1]:t.line,o=void 0;r.pos=0,r.addToken=wn,Ge(e.display.measure)&&(o=ke(a,e.doc.direction))&&(r.addToken=En(r.addToken,o)),r.map=[],On(a,r,Tt(e,a,t!=e.display.externalMeasured&&q(a))),a.styleClasses&&(a.styleClasses.bgClass&&(r.bgClass=N(a.styleClasses.bgClass,r.bgClass||``)),a.styleClasses.textClass&&(r.textClass=N(a.styleClasses.textClass,r.textClass||``))),r.map.length==0&&r.map.push(0,0,r.content.appendChild(Ue(e.display.measure))),i==0?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(c){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(`.cm-tab`))&&(r.content.className=`cm-tab-wrap-hack`)}return W(e,`renderLine`,e,t.line,r.pre),r.pre.className&&(r.textClass=N(r.pre.className,r.textClass||``)),r}function Cn(e){var t=k(`span`,`•`,`cm-invalidchar`);return t.title=`\\u`+e.charCodeAt(0).toString(16),t.setAttribute(`aria-label`,t.title),t}function wn(e,t,n,r,i,a,c){if(t){var l=e.splitSpaces?Tn(t,e.trailingSpace):t,u=e.cm.state.specialChars,d=!1,f;if(!u.test(t))e.col+=t.length,f=document.createTextNode(l),e.map.push(e.pos,e.pos+t.length,f),o&&s<9&&(d=!0),e.pos+=t.length;else{f=document.createDocumentFragment();for(var p=0;;){u.lastIndex=p;var m=u.exec(t),h=m?m.index-p:t.length-p;if(h){var g=document.createTextNode(l.slice(p,p+h));o&&s<9?f.appendChild(k(`span`,[g])):f.appendChild(g),e.map.push(e.pos,e.pos+h,g),e.col+=h,e.pos+=h}if(!m)break;p+=h+1;var _=void 0;if(m[0]==` `){var v=e.cm.options.tabSize,y=v-e.col%v;_=f.appendChild(k(`span`,fe(y),`cm-tab`)),_.setAttribute(`role`,`presentation`),_.setAttribute(`cm-text`,` `),e.col+=y}else m[0]==`\r`||m[0]==`
@@ -1 +1 @@
1
- import{$n as e,Bt as t,C as n,Dt as r,F as i,Ft as a,G as o,Gt as s,H as c,I as l,In as u,J as d,Nn as f,Nt as p,P as m,Pn as h,Qn as g,Rn as _,Tn as v,Un as y,Ut as b,W as x,X as S,Y as C,Yt as w,Zn as T,Zt as E,_t as D,an as O,c as k,cr as A,d as j,dr as M,en as ee,f as N,fr as P,ft as F,h as te,hn as ne,hr as I,jn as L,k as re,l as ie,lr as ae,m as oe,mr as se,nn as ce,nr as le,p as R,pn as ue,pr as z,pt as B,q as V,qn as de,rr as H,s as fe,sr as U,st as pe,u as me,un as he,ur as W,vn as G,vt as ge,w as _e,xr as K,xt as ve,yn as q,yr as J,z as ye,zt as be}from"./index-DWmVTbRH.js";var xe=[`top`,`bottom`],Se=[`start`,`end`,`left`,`right`];function Ce(e,t){let[n,r]=e.split(` `);return r||=a(xe,n)?`start`:a(Se,n)?`top`:`center`,{side:we(n,t),align:we(r,t)}}function we(e,t){return e===`start`?t?`right`:`left`:e===`end`?t?`left`:`right`:e}function Te(e){return{side:{center:`center`,top:`bottom`,bottom:`top`,left:`right`,right:`left`}[e.side],align:e.align}}function Ee(e){return{side:e.side,align:{center:`center`,top:`bottom`,bottom:`top`,left:`right`,right:`left`}[e.align]}}function De(e){return{side:e.align,align:e.side}}function Oe(e){return a(xe,e.side)?`y`:`x`}var Y=class{constructor(e){let t=document.body.currentCSSZoom??1,n=e instanceof Element,r=n?1+(1-t)/t:1,{x:i,y:a,width:o,height:s}=n?e.getBoundingClientRect():e;this.x=i*r,this.y=a*r,this.width=o*r,this.height=s*r}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}};function ke(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function Ae(e){if(Array.isArray(e)){let t=document.body.currentCSSZoom??1,n=1+(1-t)/t;return new Y({x:e[0]*n,y:e[1]*n,width:0*n,height:0*n})}else return new Y(e)}function je(e){if(e===document.documentElement)if(visualViewport){let e=document.body.currentCSSZoom??1;return new Y({x:visualViewport.scale>1?0:visualViewport.offsetLeft,y:visualViewport.scale>1?0:visualViewport.offsetTop,width:visualViewport.width*visualViewport.scale/e,height:visualViewport.height*visualViewport.scale/e})}else return new Y({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});else return new Y(e)}function Me(e){let t=new Y(e),n=getComputedStyle(e),r=n.transform;if(r){let i,a,o,s,c;if(r.startsWith(`matrix3d(`))i=r.slice(9,-1).split(/, /),a=Number(i[0]),o=Number(i[5]),s=Number(i[12]),c=Number(i[13]);else if(r.startsWith(`matrix(`))i=r.slice(7,-1).split(/, /),a=Number(i[0]),o=Number(i[3]),s=Number(i[4]),c=Number(i[5]);else return new Y(t);let l=n.transformOrigin;return new Y({x:t.x-s-(1-a)*parseFloat(l),y:t.y-c-(1-o)*parseFloat(l.slice(l.indexOf(` `)+1)),width:a?t.width/a:e.offsetWidth+1,height:o?t.height/o:e.offsetHeight+1})}else return new Y(t)}function Ne(e,t,n){if(e.animate===void 0)return{finished:Promise.resolve()};let r;try{r=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return r.finished===void 0&&(r.finished=new Promise(e=>{r.onfinish=()=>{e(r)}})),r}var X=new WeakMap;function Pe(e,t){Object.keys(t).forEach(n=>{if(be(n)){let r=ve(n),i=X.get(e);if(t[n]==null)i?.forEach(t=>{let[n,a]=t;n===r&&(e.removeEventListener(r,a),i.delete(t))});else if(!i||![...i]?.some(e=>e[0]===r&&e[1]===t[n])){e.addEventListener(r,t[n]);let a=i||new Set;a.add([r,t[n]]),X.has(e)||X.set(e,a)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function Fe(e,t){Object.keys(t).forEach(t=>{if(be(t)){let n=ve(t),r=X.get(e);r?.forEach(t=>{let[i,a]=t;i===n&&(e.removeEventListener(n,a),r.delete(t))})}else e.removeAttribute(t)})}function Ie(e,n,r,i){if(!r||t(e)||t(n))return;let a=r.get(e);if(a)a.set(n,i);else{let t=new WeakMap;t.set(n,i),r.set(e,t)}}function Le(e,n,r){if(!r||t(e)||t(n))return null;let i=r.get(e)?.get(n);if(typeof i==`boolean`)return i;let a=r.get(n)?.get(e);return typeof a==`boolean`?a:null}function Z(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new WeakMap;if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;let r=Object.keys(e);return r.length===Object.keys(t).length?Le(e,t,n)||(Ie(e,t,n,!0),r.every(r=>Z(e[r],t[r],n))):!1}function Re(e){if(typeof e.getRootNode!=`function`){for(;e.parentNode;)e=e.parentNode;return e===document?document:null}let t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}function ze(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?Ve(e):Be(e))return e;e=e.parentElement}return document.scrollingElement}function Q(e,t){let n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(Be(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function Be(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;let t=window.getComputedStyle(e),n=t.overflowY===`scroll`||t.overflowY===`auto`&&e.scrollHeight>e.clientHeight,r=t.overflowX===`scroll`||t.overflowX===`auto`&&e.scrollWidth>e.clientWidth;return n||r}function Ve(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;let t=window.getComputedStyle(e);return[`scroll`,`auto`].includes(t.overflowY)}function He(e){for(;e;){if(window.getComputedStyle(e).position===`fixed`)return!0;e=e.offsetParent}return!1}function Ue(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`content`,n=w(),r=W();if(E){let i=new ResizeObserver(n=>{e?.(n,i),n.length&&(t===`content`?r.value=n[0].contentRect:r.value=n[0].target.getBoundingClientRect())});u(()=>{i.disconnect()}),g(()=>n.el,(e,t)=>{t&&(i.unobserve(t),r.value=void 0),e&&i.observe(e)},{flush:`post`})}return{resizeRef:n,contentRect:ae(r)}}const We=S({tag:{type:[String,Object,Function],default:`div`}},`tag`),Ge=[`elevated`,`flat`,`tonal`,`outlined`,`text`,`plain`];function Ke(e,t){return q(ue,null,[e&&q(`span`,{key:`overlay`,class:J(`${t}__overlay`)},null),q(`span`,{key:`underlay`,class:J(`${t}__underlay`)},null)])}const qe=S({color:String,variant:{type:String,default:`elevated`,validator:e=>Ge.includes(e)}},`variant`);function Je(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d(),n=z(()=>{let{variant:n}=I(e);return`${t}--variant-${n}`}),{colorClasses:r,colorStyles:i}=N(()=>{let{variant:t,color:n}=I(e);return{[[`elevated`,`flat`].includes(t)?`background`:`text`]:n}});return{colorClasses:r,colorStyles:i,variantClasses:n}}const Ye=S({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},`VDefaultsProvider`),Xe=x(!1)({name:`VDefaultsProvider`,props:Ye(),setup(e,t){let{slots:n}=t,{defaults:r,disabled:i,reset:a,root:s,scoped:c}=se(e);return o(r,{reset:a,root:s,scoped:c,disabled:i}),()=>n.default?.()}});function Ze(e,t){let n=W(),r=M(!1);if(ee){let i=new IntersectionObserver(t=>{e?.(t,i),r.value=!!t.find(e=>e.isIntersecting)},t);U(()=>{i.disconnect()}),g(n,(e,t)=>{t&&(i.unobserve(t),r.value=!1),e&&i.observe(e)},{flush:`post`})}return{intersectionRef:n,isIntersecting:r}}var Qe={center:`center`,top:`bottom`,bottom:`top`,left:`right`,right:`left`};const $e=S({location:String},`location`);function et(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0,{isRtl:r}=m();return{locationStyles:G(()=>{if(!e.location)return{};let{side:i,align:a}=Ce(e.location.split(` `).length>1?e.location:`${e.location} center`,r.value);function o(e){return n?n(e):0}let s={};return i!==`center`&&(t?s[Qe[i]]=`calc(100% - ${o(i)}px)`:s[i]=0),a===`center`?(i===`center`?s.top=s.left=`50%`:s[{top:`left`,bottom:`left`,left:`top`,right:`top`}[i]]=`50%`,s.transform={top:`translateX(-50%)`,bottom:`translateX(-50%)`,left:`translateY(-50%)`,right:`translateY(-50%)`,center:`translate(-50%, -50%)`}[i]):t?s[Qe[a]]=`calc(100% - ${o(a)}px)`:s[a]=0,s})}}const tt=S({chunkCount:{type:[Number,String],default:null},chunkWidth:{type:[Number,String],default:null},chunkGap:{type:[Number,String],default:4}},`chunks`);function nt(e,t){let n=z(()=>!!e.chunkCount||!!e.chunkWidth),r=G(()=>{let n=I(t);if(!n)return 0;if(!e.chunkCount)return Number(e.chunkWidth);let r=Number(e.chunkCount);return(n-Number(e.chunkGap)*(r-1))/r}),i=z(()=>Number(e.chunkGap)),a=G(()=>{if(!n.value)return{};let e=B(i.value),t=B(r.value);return{maskRepeat:`repeat-x`,maskImage:`linear-gradient(90deg, #000, #000 ${t}, transparent ${t}, transparent)`,maskSize:`calc(${t} + ${e}) 100%`}});function o(e){let n=I(t);if(!n)return e;let a=100*i.value/n,o=100*(r.value+i.value)/n;return F(0,Math.floor((e+a)/o)*o-a/2,100)}return{hasChunks:n,chunksMaskStyles:a,snapValueToChunk:o}}const rt=S({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,...tt(),...C(),...$e({location:`top`}),...ie(),...We(),...n()},`VProgressLinear`),it=x()({name:`VProgressLinear`,props:rt(),emits:{"update:modelValue":e=>!0},setup(t,n){let{slots:r}=n,a=W(),o=i(t,`modelValue`),{isRtl:s,rtlClasses:c}=m(),{themeClasses:u}=_e(t),{locationStyles:d}=et(t),{textColorClasses:f,textColorStyles:p}=R(()=>t.color),{backgroundColorClasses:h,backgroundColorStyles:g}=j(()=>t.bgColor||t.color),{backgroundColorClasses:_,backgroundColorStyles:y}=j(()=>t.bufferColor||t.bgColor||t.color),{backgroundColorClasses:b,backgroundColorStyles:x}=j(()=>t.color),{roundedClasses:S}=me(t),{intersectionRef:C,isIntersecting:w}=Ze(),T=G(()=>parseFloat(t.max)),E=G(()=>parseFloat(t.height)),D=G(()=>F(parseFloat(t.bufferValue)/T.value*100,0,100)),k=G(()=>F(parseFloat(o.value)/T.value*100,0,100)),A=G(()=>s.value!==t.reverse),ee=G(()=>t.indeterminate?`fade-transition`:`slide-x-transition`),N=M(0),{hasChunks:P,chunksMaskStyles:te,snapValueToChunk:ne}=nt(t,N);l(P,()=>{let{resizeRef:t}=Ue(e=>N.value=e[0].contentRect.width);e(()=>t.value=a.value)});let I=G(()=>P.value?ne(D.value):D.value),L=G(()=>P.value?ne(k.value):k.value);function re(e){if(!C.value)return;let{left:t,right:n,width:r}=C.value.getBoundingClientRect(),i=A.value?r-e.clientX+(n-r):e.clientX-t;o.value=Math.round(i/r*T.value)}return e(()=>{C.value=a.value}),ye(()=>v(t.tag,{ref:a,class:J([`v-progress-linear`,{"v-progress-linear--absolute":t.absolute,"v-progress-linear--active":t.active&&w.value,"v-progress-linear--reverse":A.value,"v-progress-linear--rounded":t.rounded,"v-progress-linear--rounded-bar":t.roundedBar,"v-progress-linear--striped":t.striped,"v-progress-linear--clickable":t.clickable},S.value,u.value,c.value,t.class]),style:K([{bottom:t.location===`bottom`?0:void 0,top:t.location===`top`?0:void 0,height:t.active?B(E.value):0,"--v-progress-linear-height":B(E.value),...t.absolute?d.value:{}},te.value,t.style]),role:`progressbar`,"aria-hidden":t.active?`false`:`true`,"aria-valuemin":`0`,"aria-valuemax":t.max,"aria-valuenow":t.indeterminate?void 0:Math.min(parseFloat(o.value),T.value),onClick:t.clickable&&re},{default:()=>[t.stream&&q(`div`,{key:`stream`,class:J([`v-progress-linear__stream`,f.value]),style:{...p.value,[A.value?`left`:`right`]:B(-E.value),borderTop:`${B(E.value/2)} dotted`,opacity:parseFloat(t.bufferOpacity),top:`calc(50% - ${B(E.value/4)})`,width:B(100-D.value,`%`),"--v-progress-linear-stream-to":B(E.value*(A.value?1:-1))}},null),q(`div`,{class:J([`v-progress-linear__background`,h.value]),style:K([g.value,{opacity:parseFloat(t.bgOpacity),width:t.stream?0:void 0}])},null),q(`div`,{class:J([`v-progress-linear__buffer`,_.value]),style:K([y.value,{opacity:parseFloat(t.bufferOpacity),width:B(I.value,`%`)}])},null),v(O,{name:ee.value},{default:()=>[t.indeterminate?q(`div`,{class:`v-progress-linear__indeterminate`},[[`long`,`short`].map(e=>q(`div`,{key:e,class:J([`v-progress-linear__indeterminate`,e,b.value]),style:K(x.value)},null))]):q(`div`,{class:J([`v-progress-linear__determinate`,b.value]),style:K([x.value,{width:B(L.value,`%`)}])},null)]}),r.default&&q(`div`,{class:`v-progress-linear__content`},[r.default({value:k.value,buffer:D.value})])]})),{}}});var at=[`static`,`relative`,`fixed`,`absolute`,`sticky`];const ot=S({position:{type:String,validator:e=>at.includes(e)}},`position`);function st(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d();return{positionClasses:z(()=>e.position?`${t}--${e.position}`:void 0)}}function ct(){let e=V(`useRoute`);return G(()=>e?.proxy?.$route)}function lt(){return V(`useRouter`)?.proxy?.$router}function ut(e,t){let n=de(`RouterLink`),r=z(()=>!!(e.href||e.to)),i=G(()=>r?.value||p(t,`click`)||p(e,`click`));if(typeof n==`string`||!(`useLink`in n)){let t=z(()=>e.href);return{isLink:r,isRouterLink:z(()=>!1),isClickable:i,href:t,linkProps:A({href:t}),route:z(()=>void 0),navigate:z(()=>void 0)}}let a=n.useLink({to:z(()=>e.to||``),replace:z(()=>e.replace)}),o=G(()=>e.to?a:void 0),s=ct(),c=G(()=>o.value?e.exact?s.value?o.value.isExactActive?.value&&Z(o.value.route.value.query,s.value.query):o.value.isExactActive?.value??!1:o.value.isActive?.value??!1:!1),l=G(()=>e.to?o.value?.route.value.href:e.href);return{isLink:r,isRouterLink:z(()=>!!e.to),isClickable:i,isActive:c,route:z(()=>o.value?.route.value),navigate:z(()=>o.value?.navigate),href:l,linkProps:A({href:l,"aria-current":z(()=>c.value?`page`:void 0),"aria-disabled":z(()=>e.disabled&&r.value?`true`:void 0),tabindex:z(()=>e.disabled&&r.value?`-1`:void 0)})}}const dt=S({href:String,replace:Boolean,to:[String,Object],exact:Boolean},`router`);var ft=!1;function pt(e,t){let n=!1,r,i;E&&e?.beforeEach&&(h(()=>{window.addEventListener(`popstate`,a),r=e.beforeEach((e,r,i)=>{ft?n?t(i):i():setTimeout(()=>n?t(i):i()),ft=!0}),i=e?.afterEach(()=>{ft=!1})}),U(()=>{window.removeEventListener(`popstate`,a),r?.(),i?.()}));function a(e){e.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}function mt(e,t){return{x:e.x+t.x,y:e.y+t.y}}function ht(e,t){return{x:e.x-t.x,y:e.y-t.y}}function gt(e,t){if(e.side===`top`||e.side===`bottom`){let{side:n,align:r}=e;return mt({x:r===`left`?0:r===`center`?t.width/2:r===`right`?t.width:r,y:n===`top`?0:n===`bottom`?t.height:n},t)}else if(e.side===`left`||e.side===`right`){let{side:n,align:r}=e;return mt({x:n===`left`?0:n===`right`?t.width:n,y:r===`top`?0:r===`center`?t.height/2:r===`bottom`?t.height:r},t)}return mt({x:t.width/2,y:t.height/2},t)}var _t={static:bt,connected:St};const vt=S({locationStrategy:{type:[String,Function],default:`static`,validator:e=>typeof e==`function`||e in _t},location:{type:String,default:`bottom`},origin:{type:String,default:`auto`},offset:[Number,String,Array],stickToTarget:Boolean,viewportMargin:{type:[Number,String],default:12}},`VOverlay-location-strategies`);function yt(e,t){let n=W({}),r=W();E&&l(()=>!!(t.isActive.value&&e.locationStrategy),s=>{g(()=>e.locationStrategy,s),U(()=>{window.removeEventListener(`resize`,i),visualViewport?.removeEventListener(`resize`,a),visualViewport?.removeEventListener(`scroll`,o),r.value=void 0}),window.addEventListener(`resize`,i,{passive:!0}),visualViewport?.addEventListener(`resize`,a,{passive:!0}),visualViewport?.addEventListener(`scroll`,o,{passive:!0}),typeof e.locationStrategy==`function`?r.value=e.locationStrategy(t,e,n)?.updateLocation:r.value=_t[e.locationStrategy](t,e,n)?.updateLocation});function i(e){r.value?.(e)}function a(e){r.value?.(e)}function o(e){r.value?.(e)}return{contentStyles:n,updateLocation:r}}function bt(){}function xt(e,t){let n=Me(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function St(e,t,n){(Array.isArray(e.target.value)||He(e.target.value))&&Object.assign(n.value,{position:`fixed`,top:0,[e.isRtl.value?`right`:`left`]:0});let{preferredAnchor:r,preferredOrigin:i}=ge(()=>{let n=Ce(t.location,e.isRtl.value),r=t.origin===`overlap`?n:t.origin===`auto`?Te(n):Ce(t.origin,e.isRtl.value);return n.side===r.side&&n.align===Ee(r).align?{preferredAnchor:De(n),preferredOrigin:De(r)}:{preferredAnchor:n,preferredOrigin:r}}),[a,o,s,c]=[`minWidth`,`minHeight`,`maxWidth`,`maxHeight`].map(e=>G(()=>{let n=parseFloat(t[e]);return isNaN(n)?1/0:n})),l=G(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset==`string`){let e=t.offset.split(` `).map(parseFloat);return e.length<2&&e.push(0),e}return typeof t.offset==`number`?[t.offset,0]:[0,0]}),u=!1,d=-1,f=new pe(4),p=new ResizeObserver(()=>{if(!u)return;if(requestAnimationFrame(e=>{e!==d&&f.clear(),requestAnimationFrame(e=>{d=e})}),f.isFull){let e=f.values();if(Z(e.at(-1),e.at(-3))&&!Z(e.at(-1),e.at(-2)))return}let e=_();e&&f.push(e.flipped)}),m=new Y({x:0,y:0,width:0,height:0});g(e.target,(e,t)=>{t&&!Array.isArray(t)&&p.unobserve(t),Array.isArray(e)?Z(e,t)||_():e&&p.observe(e)},{immediate:!0}),g(e.contentEl,(e,t)=>{t&&p.unobserve(t),e&&p.observe(e)},{immediate:!0}),U(()=>{p.disconnect()});function _(){if(u=!1,requestAnimationFrame(()=>u=!0),!e.target.value||!e.contentEl.value)return;(Array.isArray(e.target.value)||e.target.value.offsetParent||e.target.value.getClientRects().length)&&(m=Ae(e.target.value));let d=xt(e.contentEl.value,e.isRtl.value),f=Q(e.contentEl.value),p=Number(t.viewportMargin);f.length||(f.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(d.x-=parseFloat(document.documentElement.style.getPropertyValue(`--v-body-scroll-x`)||0),d.y-=parseFloat(document.documentElement.style.getPropertyValue(`--v-body-scroll-y`)||0)));let h=f.reduce((e,t)=>{let n=je(t);return e?new Y({x:Math.max(e.left,n.left),y:Math.max(e.top,n.top),width:Math.min(e.right,n.right)-Math.max(e.left,n.left),height:Math.min(e.bottom,n.bottom)-Math.max(e.top,n.top)}):n},void 0);t.stickToTarget?(h.x+=Math.min(p,m.x),h.y+=Math.min(p,m.y),h.width=Math.max(h.width-p*2,m.x+m.width-p),h.height=Math.max(h.height-p*2,m.y+m.height-p)):(h.x+=p,h.y+=p,h.width-=p*2,h.height-=p*2);let g={anchor:r.value,origin:i.value};function _(e){let t=new Y(d),{x:n,y:r}=ht(gt(e.anchor,m),gt(e.origin,t));switch(e.anchor.side){case`top`:r-=l.value[0];break;case`bottom`:r+=l.value[0];break;case`left`:n-=l.value[0];break;case`right`:n+=l.value[0];break}switch(e.anchor.align){case`top`:r-=l.value[1];break;case`bottom`:r+=l.value[1];break;case`left`:n-=l.value[1];break;case`right`:n+=l.value[1];break}return t.x+=n,t.y+=r,t.width=Math.min(t.width,s.value),t.height=Math.min(t.height,c.value),{overflows:ke(t,h),x:n,y:r}}let v=0,y=0,b={x:0,y:0},x={x:!1,y:!1},S=-1;for(;;){if(S++>10){ce(`Infinite loop detected in connectedLocationStrategy`);break}let{x:e,y:t,overflows:n}=_(g);v+=e,y+=t,d.x+=e,d.y+=t;{let e=Oe(g.anchor),t=n.x.before||n.x.after,r=n.y.before||n.y.after,i=!1;if([`x`,`y`].forEach(a=>{if(a===`x`&&t&&!x.x||a===`y`&&r&&!x.y){let t={anchor:{...g.anchor},origin:{...g.origin}},r=a===`x`?e===`y`?Ee:Te:e===`y`?Te:Ee;t.anchor=r(t.anchor),t.origin=r(t.origin);let{overflows:o}=_(t);(o[a].before<=n[a].before&&o[a].after<=n[a].after||o[a].before+o[a].after<(n[a].before+n[a].after)/2)&&(g=t,i=x[a]=!0)}}),i)continue}n.x.before&&(v+=n.x.before,d.x+=n.x.before),n.x.after&&(v-=n.x.after,d.x-=n.x.after),n.y.before&&(y+=n.y.before,d.y+=n.y.before),n.y.after&&(y-=n.y.after,d.y-=n.y.after);{let e=ke(d,h);b.x=h.width-e.x.before-e.x.after,b.y=h.height-e.y.before-e.y.after,v+=e.x.before,d.x+=e.x.before,y+=e.y.before,d.y+=e.y.before}break}let C=Oe(g.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${g.anchor.side} ${g.anchor.align}`,transformOrigin:`${g.origin.side} ${g.origin.align}`,top:B(Ct(y)),left:e.isRtl.value?void 0:B(Ct(v)),right:e.isRtl.value?B(Ct(-v)):void 0,minWidth:B(C===`y`?Math.min(a.value,m.width):a.value),maxWidth:B(wt(F(b.x,a.value===1/0?0:a.value,s.value))),maxHeight:B(wt(F(b.y,o.value===1/0?0:o.value,c.value)))}),{available:b,contentBox:d,flipped:x}}return g(()=>[r.value,i.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>_()),h(()=>{let e=_();if(!e)return;let{available:t,contentBox:n}=e;n.height>t.y&&requestAnimationFrame(()=>{_(),requestAnimationFrame(()=>{_()})})}),{updateLocation:_}}function Ct(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function wt(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}var Tt=!0,Et=[];function Dt(e){!Tt||Et.length?(Et.push(e),kt()):(Tt=!1,e(),kt())}var Ot=-1;function kt(){cancelAnimationFrame(Ot),Ot=requestAnimationFrame(()=>{let e=Et.shift();e&&e(),Et.length?kt():Tt=!0})}var At={none:null,close:Nt,block:Pt,reposition:Ft};const jt=S({scrollStrategy:{type:[String,Function],default:`block`,validator:e=>typeof e==`function`||e in At}},`VOverlay-scroll-strategies`);function Mt(t,n){if(!E)return;let r;e(async()=>{r?.stop(),n.isActive.value&&t.scrollStrategy&&(r=H(),await new Promise(e=>setTimeout(e)),r.active&&r.run(()=>{typeof t.scrollStrategy==`function`?t.scrollStrategy(n,t,r):At[t.scrollStrategy]?.(n,t,r)}))}),U(()=>{r?.stop()})}function Nt(e){function t(t){e.isActive.value=!1}Lt(It(e.target.value,e.contentEl.value),t)}function Pt(e,t){let n=e.root.value?.offsetParent,r=It(e.target.value,e.contentEl.value),i=[...new Set([...Q(r,t.contained?n:void 0),...Q(e.contentEl.value,t.contained?n:void 0)])].filter(e=>!e.classList.contains(`v-overlay-scroll-blocked`)),a=window.innerWidth-document.documentElement.offsetWidth,o=(e=>Be(e)&&e)(n||document.documentElement);o&&e.root.value.classList.add(`v-overlay--scroll-blocked`),i.forEach((e,t)=>{e.style.setProperty(`--v-body-scroll-x`,B(-e.scrollLeft)),e.style.setProperty(`--v-body-scroll-y`,B(-e.scrollTop)),e!==document.documentElement&&e.style.setProperty(`--v-scrollbar-offset`,B(a)),e.classList.add(`v-overlay-scroll-blocked`)}),U(()=>{i.forEach((e,t)=>{let n=parseFloat(e.style.getPropertyValue(`--v-body-scroll-x`)),r=parseFloat(e.style.getPropertyValue(`--v-body-scroll-y`)),i=e.style.scrollBehavior;e.style.scrollBehavior=`auto`,e.style.removeProperty(`--v-body-scroll-x`),e.style.removeProperty(`--v-body-scroll-y`),e.style.removeProperty(`--v-scrollbar-offset`),e.classList.remove(`v-overlay-scroll-blocked`),e.scrollLeft=-n,e.scrollTop=-r,e.style.scrollBehavior=i}),o&&e.root.value.classList.remove(`v-overlay--scroll-blocked`)})}function Ft(e,t,n){let r=!1,i=-1,a=-1;function o(t){Dt(()=>{let n=performance.now();e.updateLocation.value?.(t),r=(performance.now()-n)/(1e3/60)>2})}a=(typeof requestIdleCallback>`u`?e=>e():requestIdleCallback)(()=>{n.run(()=>{Lt(It(e.target.value,e.contentEl.value),e=>{r?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{o(e)})})):o(e)})})}),U(()=>{typeof cancelIdleCallback<`u`&&cancelIdleCallback(a),cancelAnimationFrame(i)})}function It(e,t){return Array.isArray(e)?document.elementsFromPoint(...e).find(e=>!t?.contains(e)):e??t}function Lt(e,t){let n=[document,...Q(e)];n.forEach(e=>{e.addEventListener(`scroll`,t,{passive:!0})}),U(()=>{n.forEach(e=>{e.removeEventListener(`scroll`,t)})})}const Rt=Symbol.for(`vuetify:v-menu`),zt=S({closeDelay:[Number,String],openDelay:[Number,String]},`delay`);function Bt(e,t){let n=()=>{};function r(r,i){n?.();let a=r?e.openDelay:e.closeDelay,o=Math.max(i?.minDelay??0,Number(a??0));return new Promise(e=>{n=D(o,()=>{t?.(r),e(r)})})}function i(){return r(!0)}function a(e){return r(!1,e)}return{clearDelay:n,runOpenDelay:i,runCloseDelay:a}}const Vt=S({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...zt()},`VOverlay-activator`);function Ht(t,n){let{isActive:r,isTop:i,contentEl:a}=n,o=V(`useActivator`),s=W(),c=!1,l=!1,u=!0,d=G(()=>t.openOnFocus||t.openOnFocus==null&&t.openOnHover),f=G(()=>t.openOnClick||t.openOnClick==null&&!t.openOnHover&&!d.value),{runOpenDelay:p,runCloseDelay:m}=Bt(t,e=>{e===(t.openOnHover&&c||d.value&&l)&&!(t.openOnHover&&r.value&&!i.value)&&(r.value!==e&&(u=!0),r.value=e)}),_=W(),v={onClick:e=>{e.stopPropagation(),s.value=e.currentTarget||e.target,r.value||(_.value=[e.clientX,e.clientY]),r.value=!r.value},onMouseenter:e=>{c=!0,s.value=e.currentTarget||e.target,p()},onMouseleave:e=>{c=!1,m()},onFocus:e=>{b(e.target,`:focus-visible`)!==!1&&(l=!0,e.stopPropagation(),s.value=e.currentTarget||e.target,p())},onBlur:e=>{l=!1,e.stopPropagation(),m({minDelay:1})}},y=G(()=>{let e={};return f.value&&(e.onClick=v.onClick),t.openOnHover&&(e.onMouseenter=v.onMouseenter,e.onMouseleave=v.onMouseleave),d.value&&(e.onFocus=v.onFocus,e.onBlur=v.onBlur),e}),x=G(()=>{let e={};if(t.openOnHover&&(e.onMouseenter=()=>{c=!0,p()},e.onMouseleave=()=>{c=!1,m()}),d.value&&(e.onFocusin=e=>{e.target.matches(`:focus-visible`)&&(l=!0,p())},e.onFocusout=()=>{l=!1,m({minDelay:1})}),t.closeOnContentClick){let t=L(Rt,null);e.onClick=()=>{r.value=!1,t?.closeParents()}}return e}),S=G(()=>{let e={};return t.openOnHover&&(e.onMouseenter=()=>{u&&(c=!0,u=!1,p())},e.onMouseleave=()=>{c=!1,m()}),e});g(i,e=>{e&&(t.openOnHover&&!c&&(!d.value||!l)||d.value&&!l&&(!t.openOnHover||!c))&&!a.value?.contains(document.activeElement)&&(r.value=!1)}),g(r,e=>{e||setTimeout(()=>{_.value=void 0})},{flush:`post`});let C=w();e(()=>{C.value&&h(()=>{s.value=C.el})});let T=w(),D=G(()=>t.target===`cursor`&&_.value?_.value:T.value?T.el:Wt(t.target,o)||s.value),O=G(()=>Array.isArray(D.value)?void 0:D.value),k;return g(()=>!!t.activator,e=>{e&&E?(k=H(),k.run(()=>{Ut(t,o,{activatorEl:s,activatorEvents:y})})):k&&k.stop()},{flush:`post`,immediate:!0}),U(()=>{k?.stop()}),{activatorEl:s,activatorRef:C,target:D,targetEl:O,targetRef:T,activatorEvents:y,contentEvents:x,scrimEvents:S}}function Ut(e,t,n){let{activatorEl:r,activatorEvents:i}=n;g(()=>e.activator,(e,t)=>{if(t&&e!==t){let e=s(t);e&&o(e)}e&&h(()=>a())},{immediate:!0}),g(()=>e.activatorProps,()=>{a()}),U(()=>{o()});function a(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s(),n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;t&&Pe(t,f(i.value,n))}function o(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s(),n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;t&&Fe(t,f(i.value,n))}function s(){let n=Wt(arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator,t);return r.value=n?.nodeType===Node.ELEMENT_NODE?n:void 0,r.value}}function Wt(e,t){if(!e)return;let n;if(e===`parent`){let e=t?.proxy?.$el?.parentNode;for(;e?.hasAttribute(`data-no-activator`);)e=e.parentNode;n=e}else n=typeof e==`string`?document.querySelector(e):`$el`in e?e.$el:e;return n}const Gt=S({retainFocus:Boolean,captureFocus:Boolean,disableInitialFocus:Boolean},`focusTrap`);var Kt=new Map,qt=0;function Jt(e){let t=document.activeElement;if(e.key!==`Tab`||!t)return;let n=Array.from(Kt.values()).filter(e=>{let{isActive:n,contentEl:r}=e;return n.value&&r.value?.contains(t)}).map(e=>e.contentEl.value),i,a=t.parentElement;for(;a;){if(n.includes(a)){i=a;break}a=a.parentElement}if(!i)return;let o=r(i).filter(e=>e.tabIndex>=0);if(!o.length)return;let s=document.activeElement;if(o.length===1&&o[0].classList.contains(`v-list`)&&o[0].contains(s)){e.preventDefault();return}let c=o[0],l=o[o.length-1];e.shiftKey&&(s===c||c.classList.contains(`v-list`)&&c.contains(s))&&(e.preventDefault(),l.focus()),!e.shiftKey&&(s===l||l.classList.contains(`v-list`)&&l.contains(s))&&(e.preventDefault(),c.focus())}function Yt(e,t){let{isActive:n,localTop:i,activatorEl:a,contentEl:o}=t,s=Symbol(`trap`),c=!1,l=-1;async function u(){c=!0,l=window.setTimeout(()=>{c=!1},100)}async function d(e){let t=e.relatedTarget,a=e.target;document.removeEventListener(`pointerdown`,u),document.removeEventListener(`keydown`,f),await h(),n.value&&!c&&t!==a&&o.value&&I(i)&&![document,o.value].includes(a)&&!o.value.contains(a)&&r(o.value)[0]?.focus()}function f(e){if(e.key===`Tab`&&(document.removeEventListener(`keydown`,f),n.value&&o.value&&e.target&&!o.value.contains(e.target))){let t=r(document.documentElement);if(e.shiftKey&&e.target===t.at(0)||!e.shiftKey&&e.target===t.at(-1)){let t=r(o.value);t.length>0&&(e.preventDefault(),t[0].focus())}}}let p=z(()=>n.value&&e.captureFocus&&!e.disableInitialFocus);E&&(g(()=>e.retainFocus,e=>{e?Kt.set(s,{isActive:n,contentEl:o}):Kt.delete(s)},{immediate:!0}),g(p,e=>{e?(document.addEventListener(`pointerdown`,u),document.addEventListener(`focusin`,d,{once:!0}),document.addEventListener(`keydown`,f)):(document.removeEventListener(`pointerdown`,u),document.removeEventListener(`focusin`,d),document.removeEventListener(`keydown`,f))},{immediate:!0}),qt++<1&&document.addEventListener(`keydown`,Jt)),U(()=>{Kt.delete(s),clearTimeout(l),document.removeEventListener(`pointerdown`,u),document.removeEventListener(`focusin`,d),document.removeEventListener(`keydown`,f),--qt<1&&document.removeEventListener(`keydown`,Jt)})}function Xt(){if(!E)return M(!1);let{ssr:e}=re();if(e){let e=M(!1);return _(()=>{e.value=!0}),e}else return M(!0)}const Zt=S({eager:Boolean},`lazy`);function Qt(e,t){let n=M(!1),r=z(()=>n.value||e.eager||t.value);g(t,()=>n.value=!0);function i(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:r,onAfterLeave:i}}function $t(){let e=V(`useScopeId`).vnode.scopeId;return{scopeId:e?{[e]:``}:void 0}}var en=Symbol.for(`vuetify:stack`),$=A([]);function tn(t,n,r){let i=V(`useStack`),a=!r,o=L(en,void 0),s=A({activeChildren:new Set});y(en,s);let c=M(Number(I(n)));l(t,()=>{let e=$.at(-1)?.[1];c.value=e?e+10:Number(I(n)),a&&$.push([i.uid,c.value]),o?.activeChildren.add(i.uid),U(()=>{if(a){let e=P($).findIndex(e=>e[0]===i.uid);$.splice(e,1)}o?.activeChildren.delete(i.uid)})});let u=M(!0);a&&e(()=>{let e=$.at(-1)?.[0]===i.uid;setTimeout(()=>u.value=e)});let d=z(()=>!s.activeChildren.size);return{globalTop:ae(u),localTop:d,stackStyles:z(()=>({zIndex:c.value}))}}function nn(e){return{teleportTarget:G(()=>{let t=e();if(t===!0||!E)return;let n=t===!1?document.body:typeof t==`string`?document.querySelector(t):t;if(n==null){T(`Unable to locate target ${t}`);return}let r=[...n.children].find(e=>e.matches(`.v-overlay-container`));return r||(r=document.createElement(`div`),r.className=`v-overlay-container`,n.appendChild(r)),r})}}function rn(){return!0}function an(e,t,n){if(!e||on(e,n)===!1)return!1;let r=Re(t);if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&r.host===e.target)return!1;let i=(typeof n.value==`object`&&n.value.include||(()=>[]))();return i.push(t),!i.some(t=>t?.contains(e.target))}function on(e,t){return(typeof t.value==`object`&&t.value.closeConditional||rn)(e)}function sn(e,t,n){let r=typeof n.value==`function`?n.value:n.value.handler;e.shadowTarget=e.target,t._clickOutside.lastMousedownWasOutside&&an(e,t,n)&&setTimeout(()=>{on(e,n)&&r&&r(e)},0)}function cn(e,t){let n=Re(e);t(document),typeof ShadowRoot<`u`&&n instanceof ShadowRoot&&t(n)}var ln={mounted(e,t){let n=n=>sn(n,e,t),r=n=>{e._clickOutside.lastMousedownWasOutside=an(n,e,t)};cn(e,e=>{e.addEventListener(`click`,n,!0),e.addEventListener(`mousedown`,r,!0)}),e._clickOutside||={lastMousedownWasOutside:!1},e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:r}},beforeUnmount(e,t){e._clickOutside&&(cn(e,n=>{if(!n||!e._clickOutside?.[t.instance.$.uid])return;let{onClick:r,onMousedown:i}=e._clickOutside[t.instance.$.uid];n.removeEventListener(`click`,r,!0),n.removeEventListener(`mousedown`,i,!0)}),delete e._clickOutside[t.instance.$.uid])}};function un(e){let{modelValue:t,color:n,...r}=e;return v(O,{name:`fade-transition`,appear:!0},{default:()=>[e.modelValue&&q(`div`,f({class:[`v-overlay__scrim`,e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},r),null)]})}const dn=S({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},...Vt(),...C(),...oe(),...Zt(),...vt(),...jt(),...Gt(),...n(),...k()},`VOverlay`),fn=x()({name:`VOverlay`,directives:{vClickOutside:ln},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...s(dn(),[`disableInitialFocus`])},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,keydown:e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:r,emit:a}=t,o=V(`VOverlay`),s=W(),c=W(),d=W(),p=i(e,`modelValue`),h=G({get:()=>p.value,set:t=>{t&&e.disabled||(p.value=t)}}),{themeClasses:_}=_e(e),{rtlClasses:y,isRtl:b}=m(),{hasContent:x,onAfterLeave:S}=Qt(e,h),C=j(()=>typeof e.scrim==`string`?e.scrim:null),{globalTop:w,localTop:T,stackStyles:D}=tn(h,()=>e.zIndex,e._disableGlobalStack),{activatorEl:O,activatorRef:k,target:A,targetEl:M,targetRef:ee,activatorEvents:N,contentEvents:P,scrimEvents:F}=Ht(e,{isActive:h,isTop:T,contentEl:d}),{teleportTarget:I}=nn(()=>{let t=e.attach||e.contained;if(t)return t;let n=O?.value?.getRootNode()||o.proxy?.$el?.getRootNode();return n instanceof ShadowRoot?n:!1}),{dimensionStyles:L}=te(e),re=Xt(),{scopeId:ie}=$t();g(()=>e.disabled,e=>{e&&(h.value=!1)});let{contentStyles:ae,updateLocation:oe}=yt(e,{isRtl:b,contentEl:d,target:A,isActive:h});Mt(e,{root:s,contentEl:d,targetEl:M,target:A,isActive:h,updateLocation:oe});function se(t){a(`click:outside`,t),e.persistent?U():h.value=!1}function ce(t){return h.value&&T.value&&(!e.scrim||t.target===c.value||t instanceof MouseEvent&&t.shadowTarget===c.value)}Yt(e,{isActive:h,localTop:T,contentEl:d,activatorEl:O}),E&&g(h,e=>{e?window.addEventListener(`keydown`,R):window.removeEventListener(`keydown`,R)},{immediate:!0}),u(()=>{E&&window.removeEventListener(`keydown`,R)});function R(t){t.key===`Escape`&&w.value&&(d.value?.contains(document.activeElement)||a(`keydown`,t),e.persistent?U():(h.value=!1,d.value?.contains(document.activeElement)&&O.value?.focus()))}function z(e){e.key===`Escape`&&!w.value||a(`keydown`,e)}let de=lt();l(()=>e.closeOnBack,()=>{pt(de,t=>{w.value&&h.value?(t(!1),e.persistent?U():h.value=!1):t()})});let H=W();g(()=>h.value&&(e.absolute||e.contained)&&I.value==null,e=>{if(e){let e=ze(s.value);e&&e!==document.scrollingElement&&(H.value=e.scrollTop)}});function U(){e.noClickAnimation||d.value&&Ne(d.value,[{transformOrigin:`center`},{transform:`scale(1.03)`},{transformOrigin:`center`}],{duration:150,easing:`cubic-bezier(0.4, 0, 0.2, 1)`})}function pe(){a(`afterEnter`)}function me(){S(),a(`afterLeave`)}return ye(()=>q(ue,null,[n.activator?.({isActive:h.value,targetRef:ee,props:f({ref:k},N.value,e.activatorProps)}),re.value&&x.value&&v(ne,{disabled:!I.value,to:I.value},{default:()=>[q(`div`,f({class:[`v-overlay`,{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":h.value,"v-overlay--contained":e.contained},_.value,y.value,e.class],style:[D.value,{"--v-overlay-opacity":e.opacity,top:B(H.value)},e.style],ref:s,onKeydown:z},ie,r),[v(un,f({color:C,modelValue:h.value&&!!e.scrim,ref:c},F.value),null),v(fe,{appear:!0,persisted:!0,transition:e.transition,target:A.value,onAfterEnter:pe,onAfterLeave:me},{default:()=>[le(q(`div`,f({ref:d,class:[`v-overlay__content`,e.contentClass],style:[L.value,ae.value]},P.value,e.contentProps),[n.default?.({isActive:h})]),[[he,h.value],[ln,{handler:se,closeConditional:ce,include:()=>[O.value]}]])]})])]})])),{activatorEl:O,scrimEl:c,target:A,animateClick:U,contentEl:d,rootEl:s,globalTop:w,localTop:T,updateLocation:oe}}});var pn=Symbol(`Forwarded refs`);function mn(e,t){let n=e;for(;n;){let e=Reflect.getOwnPropertyDescriptor(n,t);if(e)return e;n=Object.getPrototypeOf(n)}}function hn(e){var t=[...arguments].slice(1);return e[pn]=t,new Proxy(e,{get(e,n){if(Reflect.has(e,n))return Reflect.get(e,n);if(!(typeof n==`symbol`||n.startsWith(`$`)||n.startsWith(`__`))){for(let e of t)if(e.value&&Reflect.has(e.value,n)){let t=Reflect.get(e.value,n);return typeof t==`function`?t.bind(e.value):t}}},has(e,n){if(Reflect.has(e,n))return!0;if(typeof n==`symbol`||n.startsWith(`$`)||n.startsWith(`__`))return!1;for(let e of t)if(e.value&&Reflect.has(e.value,n))return!0;return!1},set(e,n,r){if(Reflect.has(e,n))return Reflect.set(e,n,r);if(typeof n==`symbol`||n.startsWith(`$`)||n.startsWith(`__`))return!1;for(let e of t)if(e.value&&Reflect.has(e.value,n))return Reflect.set(e.value,n,r);return!1},getOwnPropertyDescriptor(e,n){let r=Reflect.getOwnPropertyDescriptor(e,n);if(r)return r;if(!(typeof n==`symbol`||n.startsWith(`$`)||n.startsWith(`__`))){for(let e of t){if(!e.value)continue;let t=mn(e.value,n)??(`_`in e.value?mn(e.value._?.setupState,n):void 0);if(t)return t}for(let e of t){let t=e.value&&e.value[pn];if(!t)continue;let r=t.slice();for(;r.length;){let e=r.shift(),t=mn(e.value,n);if(t)return t;let i=e.value&&e.value[pn];i&&r.push(...i)}}}}})}export{Z as C,Ae as E,ze as S,Me as T,Ke as _,Zt as a,We as b,dt as c,st as d,it as f,Xe as g,Ze as h,$t as i,ut as l,et as m,fn as n,Qt as o,$e as p,dn as r,Rt as s,hn as t,ot as u,qe as v,Ne as w,Ue as x,Je as y};
1
+ import{$n as e,Bt as t,C as n,Dt as r,F as i,Ft as a,G as o,Gt as s,H as c,I as l,In as u,J as d,Nn as f,Nt as p,P as m,Pn as h,Qn as g,Rn as _,Tn as v,Un as y,Ut as b,W as x,X as S,Y as C,Yt as w,Zn as T,Zt as E,_t as D,an as O,c as k,cr as A,d as j,dr as M,en as ee,f as N,fr as P,ft as F,h as te,hn as ne,hr as I,jn as L,k as re,l as ie,lr as ae,m as oe,mr as se,nn as ce,nr as le,p as R,pn as ue,pr as z,pt as B,q as V,qn as de,rr as H,s as fe,sr as U,st as pe,u as me,un as he,ur as W,vn as G,vt as ge,w as _e,xr as K,xt as ve,yn as q,yr as J,z as ye,zt as be}from"./index-ul76iyV8.js";var xe=[`top`,`bottom`],Se=[`start`,`end`,`left`,`right`];function Ce(e,t){let[n,r]=e.split(` `);return r||=a(xe,n)?`start`:a(Se,n)?`top`:`center`,{side:we(n,t),align:we(r,t)}}function we(e,t){return e===`start`?t?`right`:`left`:e===`end`?t?`left`:`right`:e}function Te(e){return{side:{center:`center`,top:`bottom`,bottom:`top`,left:`right`,right:`left`}[e.side],align:e.align}}function Ee(e){return{side:e.side,align:{center:`center`,top:`bottom`,bottom:`top`,left:`right`,right:`left`}[e.align]}}function De(e){return{side:e.align,align:e.side}}function Oe(e){return a(xe,e.side)?`y`:`x`}var Y=class{constructor(e){let t=document.body.currentCSSZoom??1,n=e instanceof Element,r=n?1+(1-t)/t:1,{x:i,y:a,width:o,height:s}=n?e.getBoundingClientRect():e;this.x=i*r,this.y=a*r,this.width=o*r,this.height=s*r}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}};function ke(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function Ae(e){if(Array.isArray(e)){let t=document.body.currentCSSZoom??1,n=1+(1-t)/t;return new Y({x:e[0]*n,y:e[1]*n,width:0*n,height:0*n})}else return new Y(e)}function je(e){if(e===document.documentElement)if(visualViewport){let e=document.body.currentCSSZoom??1;return new Y({x:visualViewport.scale>1?0:visualViewport.offsetLeft,y:visualViewport.scale>1?0:visualViewport.offsetTop,width:visualViewport.width*visualViewport.scale/e,height:visualViewport.height*visualViewport.scale/e})}else return new Y({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});else return new Y(e)}function Me(e){let t=new Y(e),n=getComputedStyle(e),r=n.transform;if(r){let i,a,o,s,c;if(r.startsWith(`matrix3d(`))i=r.slice(9,-1).split(/, /),a=Number(i[0]),o=Number(i[5]),s=Number(i[12]),c=Number(i[13]);else if(r.startsWith(`matrix(`))i=r.slice(7,-1).split(/, /),a=Number(i[0]),o=Number(i[3]),s=Number(i[4]),c=Number(i[5]);else return new Y(t);let l=n.transformOrigin;return new Y({x:t.x-s-(1-a)*parseFloat(l),y:t.y-c-(1-o)*parseFloat(l.slice(l.indexOf(` `)+1)),width:a?t.width/a:e.offsetWidth+1,height:o?t.height/o:e.offsetHeight+1})}else return new Y(t)}function Ne(e,t,n){if(e.animate===void 0)return{finished:Promise.resolve()};let r;try{r=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return r.finished===void 0&&(r.finished=new Promise(e=>{r.onfinish=()=>{e(r)}})),r}var X=new WeakMap;function Pe(e,t){Object.keys(t).forEach(n=>{if(be(n)){let r=ve(n),i=X.get(e);if(t[n]==null)i?.forEach(t=>{let[n,a]=t;n===r&&(e.removeEventListener(r,a),i.delete(t))});else if(!i||![...i]?.some(e=>e[0]===r&&e[1]===t[n])){e.addEventListener(r,t[n]);let a=i||new Set;a.add([r,t[n]]),X.has(e)||X.set(e,a)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function Fe(e,t){Object.keys(t).forEach(t=>{if(be(t)){let n=ve(t),r=X.get(e);r?.forEach(t=>{let[i,a]=t;i===n&&(e.removeEventListener(n,a),r.delete(t))})}else e.removeAttribute(t)})}function Ie(e,n,r,i){if(!r||t(e)||t(n))return;let a=r.get(e);if(a)a.set(n,i);else{let t=new WeakMap;t.set(n,i),r.set(e,t)}}function Le(e,n,r){if(!r||t(e)||t(n))return null;let i=r.get(e)?.get(n);if(typeof i==`boolean`)return i;let a=r.get(n)?.get(e);return typeof a==`boolean`?a:null}function Z(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new WeakMap;if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;let r=Object.keys(e);return r.length===Object.keys(t).length?Le(e,t,n)||(Ie(e,t,n,!0),r.every(r=>Z(e[r],t[r],n))):!1}function Re(e){if(typeof e.getRootNode!=`function`){for(;e.parentNode;)e=e.parentNode;return e===document?document:null}let t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}function ze(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?Ve(e):Be(e))return e;e=e.parentElement}return document.scrollingElement}function Q(e,t){let n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(Be(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function Be(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;let t=window.getComputedStyle(e),n=t.overflowY===`scroll`||t.overflowY===`auto`&&e.scrollHeight>e.clientHeight,r=t.overflowX===`scroll`||t.overflowX===`auto`&&e.scrollWidth>e.clientWidth;return n||r}function Ve(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;let t=window.getComputedStyle(e);return[`scroll`,`auto`].includes(t.overflowY)}function He(e){for(;e;){if(window.getComputedStyle(e).position===`fixed`)return!0;e=e.offsetParent}return!1}function Ue(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`content`,n=w(),r=W();if(E){let i=new ResizeObserver(n=>{e?.(n,i),n.length&&(t===`content`?r.value=n[0].contentRect:r.value=n[0].target.getBoundingClientRect())});u(()=>{i.disconnect()}),g(()=>n.el,(e,t)=>{t&&(i.unobserve(t),r.value=void 0),e&&i.observe(e)},{flush:`post`})}return{resizeRef:n,contentRect:ae(r)}}const We=S({tag:{type:[String,Object,Function],default:`div`}},`tag`),Ge=[`elevated`,`flat`,`tonal`,`outlined`,`text`,`plain`];function Ke(e,t){return q(ue,null,[e&&q(`span`,{key:`overlay`,class:J(`${t}__overlay`)},null),q(`span`,{key:`underlay`,class:J(`${t}__underlay`)},null)])}const qe=S({color:String,variant:{type:String,default:`elevated`,validator:e=>Ge.includes(e)}},`variant`);function Je(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d(),n=z(()=>{let{variant:n}=I(e);return`${t}--variant-${n}`}),{colorClasses:r,colorStyles:i}=N(()=>{let{variant:t,color:n}=I(e);return{[[`elevated`,`flat`].includes(t)?`background`:`text`]:n}});return{colorClasses:r,colorStyles:i,variantClasses:n}}const Ye=S({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},`VDefaultsProvider`),Xe=x(!1)({name:`VDefaultsProvider`,props:Ye(),setup(e,t){let{slots:n}=t,{defaults:r,disabled:i,reset:a,root:s,scoped:c}=se(e);return o(r,{reset:a,root:s,scoped:c,disabled:i}),()=>n.default?.()}});function Ze(e,t){let n=W(),r=M(!1);if(ee){let i=new IntersectionObserver(t=>{e?.(t,i),r.value=!!t.find(e=>e.isIntersecting)},t);U(()=>{i.disconnect()}),g(n,(e,t)=>{t&&(i.unobserve(t),r.value=!1),e&&i.observe(e)},{flush:`post`})}return{intersectionRef:n,isIntersecting:r}}var Qe={center:`center`,top:`bottom`,bottom:`top`,left:`right`,right:`left`};const $e=S({location:String},`location`);function et(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0,{isRtl:r}=m();return{locationStyles:G(()=>{if(!e.location)return{};let{side:i,align:a}=Ce(e.location.split(` `).length>1?e.location:`${e.location} center`,r.value);function o(e){return n?n(e):0}let s={};return i!==`center`&&(t?s[Qe[i]]=`calc(100% - ${o(i)}px)`:s[i]=0),a===`center`?(i===`center`?s.top=s.left=`50%`:s[{top:`left`,bottom:`left`,left:`top`,right:`top`}[i]]=`50%`,s.transform={top:`translateX(-50%)`,bottom:`translateX(-50%)`,left:`translateY(-50%)`,right:`translateY(-50%)`,center:`translate(-50%, -50%)`}[i]):t?s[Qe[a]]=`calc(100% - ${o(a)}px)`:s[a]=0,s})}}const tt=S({chunkCount:{type:[Number,String],default:null},chunkWidth:{type:[Number,String],default:null},chunkGap:{type:[Number,String],default:4}},`chunks`);function nt(e,t){let n=z(()=>!!e.chunkCount||!!e.chunkWidth),r=G(()=>{let n=I(t);if(!n)return 0;if(!e.chunkCount)return Number(e.chunkWidth);let r=Number(e.chunkCount);return(n-Number(e.chunkGap)*(r-1))/r}),i=z(()=>Number(e.chunkGap)),a=G(()=>{if(!n.value)return{};let e=B(i.value),t=B(r.value);return{maskRepeat:`repeat-x`,maskImage:`linear-gradient(90deg, #000, #000 ${t}, transparent ${t}, transparent)`,maskSize:`calc(${t} + ${e}) 100%`}});function o(e){let n=I(t);if(!n)return e;let a=100*i.value/n,o=100*(r.value+i.value)/n;return F(0,Math.floor((e+a)/o)*o-a/2,100)}return{hasChunks:n,chunksMaskStyles:a,snapValueToChunk:o}}const rt=S({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,...tt(),...C(),...$e({location:`top`}),...ie(),...We(),...n()},`VProgressLinear`),it=x()({name:`VProgressLinear`,props:rt(),emits:{"update:modelValue":e=>!0},setup(t,n){let{slots:r}=n,a=W(),o=i(t,`modelValue`),{isRtl:s,rtlClasses:c}=m(),{themeClasses:u}=_e(t),{locationStyles:d}=et(t),{textColorClasses:f,textColorStyles:p}=R(()=>t.color),{backgroundColorClasses:h,backgroundColorStyles:g}=j(()=>t.bgColor||t.color),{backgroundColorClasses:_,backgroundColorStyles:y}=j(()=>t.bufferColor||t.bgColor||t.color),{backgroundColorClasses:b,backgroundColorStyles:x}=j(()=>t.color),{roundedClasses:S}=me(t),{intersectionRef:C,isIntersecting:w}=Ze(),T=G(()=>parseFloat(t.max)),E=G(()=>parseFloat(t.height)),D=G(()=>F(parseFloat(t.bufferValue)/T.value*100,0,100)),k=G(()=>F(parseFloat(o.value)/T.value*100,0,100)),A=G(()=>s.value!==t.reverse),ee=G(()=>t.indeterminate?`fade-transition`:`slide-x-transition`),N=M(0),{hasChunks:P,chunksMaskStyles:te,snapValueToChunk:ne}=nt(t,N);l(P,()=>{let{resizeRef:t}=Ue(e=>N.value=e[0].contentRect.width);e(()=>t.value=a.value)});let I=G(()=>P.value?ne(D.value):D.value),L=G(()=>P.value?ne(k.value):k.value);function re(e){if(!C.value)return;let{left:t,right:n,width:r}=C.value.getBoundingClientRect(),i=A.value?r-e.clientX+(n-r):e.clientX-t;o.value=Math.round(i/r*T.value)}return e(()=>{C.value=a.value}),ye(()=>v(t.tag,{ref:a,class:J([`v-progress-linear`,{"v-progress-linear--absolute":t.absolute,"v-progress-linear--active":t.active&&w.value,"v-progress-linear--reverse":A.value,"v-progress-linear--rounded":t.rounded,"v-progress-linear--rounded-bar":t.roundedBar,"v-progress-linear--striped":t.striped,"v-progress-linear--clickable":t.clickable},S.value,u.value,c.value,t.class]),style:K([{bottom:t.location===`bottom`?0:void 0,top:t.location===`top`?0:void 0,height:t.active?B(E.value):0,"--v-progress-linear-height":B(E.value),...t.absolute?d.value:{}},te.value,t.style]),role:`progressbar`,"aria-hidden":t.active?`false`:`true`,"aria-valuemin":`0`,"aria-valuemax":t.max,"aria-valuenow":t.indeterminate?void 0:Math.min(parseFloat(o.value),T.value),onClick:t.clickable&&re},{default:()=>[t.stream&&q(`div`,{key:`stream`,class:J([`v-progress-linear__stream`,f.value]),style:{...p.value,[A.value?`left`:`right`]:B(-E.value),borderTop:`${B(E.value/2)} dotted`,opacity:parseFloat(t.bufferOpacity),top:`calc(50% - ${B(E.value/4)})`,width:B(100-D.value,`%`),"--v-progress-linear-stream-to":B(E.value*(A.value?1:-1))}},null),q(`div`,{class:J([`v-progress-linear__background`,h.value]),style:K([g.value,{opacity:parseFloat(t.bgOpacity),width:t.stream?0:void 0}])},null),q(`div`,{class:J([`v-progress-linear__buffer`,_.value]),style:K([y.value,{opacity:parseFloat(t.bufferOpacity),width:B(I.value,`%`)}])},null),v(O,{name:ee.value},{default:()=>[t.indeterminate?q(`div`,{class:`v-progress-linear__indeterminate`},[[`long`,`short`].map(e=>q(`div`,{key:e,class:J([`v-progress-linear__indeterminate`,e,b.value]),style:K(x.value)},null))]):q(`div`,{class:J([`v-progress-linear__determinate`,b.value]),style:K([x.value,{width:B(L.value,`%`)}])},null)]}),r.default&&q(`div`,{class:`v-progress-linear__content`},[r.default({value:k.value,buffer:D.value})])]})),{}}});var at=[`static`,`relative`,`fixed`,`absolute`,`sticky`];const ot=S({position:{type:String,validator:e=>at.includes(e)}},`position`);function st(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d();return{positionClasses:z(()=>e.position?`${t}--${e.position}`:void 0)}}function ct(){let e=V(`useRoute`);return G(()=>e?.proxy?.$route)}function lt(){return V(`useRouter`)?.proxy?.$router}function ut(e,t){let n=de(`RouterLink`),r=z(()=>!!(e.href||e.to)),i=G(()=>r?.value||p(t,`click`)||p(e,`click`));if(typeof n==`string`||!(`useLink`in n)){let t=z(()=>e.href);return{isLink:r,isRouterLink:z(()=>!1),isClickable:i,href:t,linkProps:A({href:t}),route:z(()=>void 0),navigate:z(()=>void 0)}}let a=n.useLink({to:z(()=>e.to||``),replace:z(()=>e.replace)}),o=G(()=>e.to?a:void 0),s=ct(),c=G(()=>o.value?e.exact?s.value?o.value.isExactActive?.value&&Z(o.value.route.value.query,s.value.query):o.value.isExactActive?.value??!1:o.value.isActive?.value??!1:!1),l=G(()=>e.to?o.value?.route.value.href:e.href);return{isLink:r,isRouterLink:z(()=>!!e.to),isClickable:i,isActive:c,route:z(()=>o.value?.route.value),navigate:z(()=>o.value?.navigate),href:l,linkProps:A({href:l,"aria-current":z(()=>c.value?`page`:void 0),"aria-disabled":z(()=>e.disabled&&r.value?`true`:void 0),tabindex:z(()=>e.disabled&&r.value?`-1`:void 0)})}}const dt=S({href:String,replace:Boolean,to:[String,Object],exact:Boolean},`router`);var ft=!1;function pt(e,t){let n=!1,r,i;E&&e?.beforeEach&&(h(()=>{window.addEventListener(`popstate`,a),r=e.beforeEach((e,r,i)=>{ft?n?t(i):i():setTimeout(()=>n?t(i):i()),ft=!0}),i=e?.afterEach(()=>{ft=!1})}),U(()=>{window.removeEventListener(`popstate`,a),r?.(),i?.()}));function a(e){e.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}function mt(e,t){return{x:e.x+t.x,y:e.y+t.y}}function ht(e,t){return{x:e.x-t.x,y:e.y-t.y}}function gt(e,t){if(e.side===`top`||e.side===`bottom`){let{side:n,align:r}=e;return mt({x:r===`left`?0:r===`center`?t.width/2:r===`right`?t.width:r,y:n===`top`?0:n===`bottom`?t.height:n},t)}else if(e.side===`left`||e.side===`right`){let{side:n,align:r}=e;return mt({x:n===`left`?0:n===`right`?t.width:n,y:r===`top`?0:r===`center`?t.height/2:r===`bottom`?t.height:r},t)}return mt({x:t.width/2,y:t.height/2},t)}var _t={static:bt,connected:St};const vt=S({locationStrategy:{type:[String,Function],default:`static`,validator:e=>typeof e==`function`||e in _t},location:{type:String,default:`bottom`},origin:{type:String,default:`auto`},offset:[Number,String,Array],stickToTarget:Boolean,viewportMargin:{type:[Number,String],default:12}},`VOverlay-location-strategies`);function yt(e,t){let n=W({}),r=W();E&&l(()=>!!(t.isActive.value&&e.locationStrategy),s=>{g(()=>e.locationStrategy,s),U(()=>{window.removeEventListener(`resize`,i),visualViewport?.removeEventListener(`resize`,a),visualViewport?.removeEventListener(`scroll`,o),r.value=void 0}),window.addEventListener(`resize`,i,{passive:!0}),visualViewport?.addEventListener(`resize`,a,{passive:!0}),visualViewport?.addEventListener(`scroll`,o,{passive:!0}),typeof e.locationStrategy==`function`?r.value=e.locationStrategy(t,e,n)?.updateLocation:r.value=_t[e.locationStrategy](t,e,n)?.updateLocation});function i(e){r.value?.(e)}function a(e){r.value?.(e)}function o(e){r.value?.(e)}return{contentStyles:n,updateLocation:r}}function bt(){}function xt(e,t){let n=Me(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function St(e,t,n){(Array.isArray(e.target.value)||He(e.target.value))&&Object.assign(n.value,{position:`fixed`,top:0,[e.isRtl.value?`right`:`left`]:0});let{preferredAnchor:r,preferredOrigin:i}=ge(()=>{let n=Ce(t.location,e.isRtl.value),r=t.origin===`overlap`?n:t.origin===`auto`?Te(n):Ce(t.origin,e.isRtl.value);return n.side===r.side&&n.align===Ee(r).align?{preferredAnchor:De(n),preferredOrigin:De(r)}:{preferredAnchor:n,preferredOrigin:r}}),[a,o,s,c]=[`minWidth`,`minHeight`,`maxWidth`,`maxHeight`].map(e=>G(()=>{let n=parseFloat(t[e]);return isNaN(n)?1/0:n})),l=G(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset==`string`){let e=t.offset.split(` `).map(parseFloat);return e.length<2&&e.push(0),e}return typeof t.offset==`number`?[t.offset,0]:[0,0]}),u=!1,d=-1,f=new pe(4),p=new ResizeObserver(()=>{if(!u)return;if(requestAnimationFrame(e=>{e!==d&&f.clear(),requestAnimationFrame(e=>{d=e})}),f.isFull){let e=f.values();if(Z(e.at(-1),e.at(-3))&&!Z(e.at(-1),e.at(-2)))return}let e=_();e&&f.push(e.flipped)}),m=new Y({x:0,y:0,width:0,height:0});g(e.target,(e,t)=>{t&&!Array.isArray(t)&&p.unobserve(t),Array.isArray(e)?Z(e,t)||_():e&&p.observe(e)},{immediate:!0}),g(e.contentEl,(e,t)=>{t&&p.unobserve(t),e&&p.observe(e)},{immediate:!0}),U(()=>{p.disconnect()});function _(){if(u=!1,requestAnimationFrame(()=>u=!0),!e.target.value||!e.contentEl.value)return;(Array.isArray(e.target.value)||e.target.value.offsetParent||e.target.value.getClientRects().length)&&(m=Ae(e.target.value));let d=xt(e.contentEl.value,e.isRtl.value),f=Q(e.contentEl.value),p=Number(t.viewportMargin);f.length||(f.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(d.x-=parseFloat(document.documentElement.style.getPropertyValue(`--v-body-scroll-x`)||0),d.y-=parseFloat(document.documentElement.style.getPropertyValue(`--v-body-scroll-y`)||0)));let h=f.reduce((e,t)=>{let n=je(t);return e?new Y({x:Math.max(e.left,n.left),y:Math.max(e.top,n.top),width:Math.min(e.right,n.right)-Math.max(e.left,n.left),height:Math.min(e.bottom,n.bottom)-Math.max(e.top,n.top)}):n},void 0);t.stickToTarget?(h.x+=Math.min(p,m.x),h.y+=Math.min(p,m.y),h.width=Math.max(h.width-p*2,m.x+m.width-p),h.height=Math.max(h.height-p*2,m.y+m.height-p)):(h.x+=p,h.y+=p,h.width-=p*2,h.height-=p*2);let g={anchor:r.value,origin:i.value};function _(e){let t=new Y(d),{x:n,y:r}=ht(gt(e.anchor,m),gt(e.origin,t));switch(e.anchor.side){case`top`:r-=l.value[0];break;case`bottom`:r+=l.value[0];break;case`left`:n-=l.value[0];break;case`right`:n+=l.value[0];break}switch(e.anchor.align){case`top`:r-=l.value[1];break;case`bottom`:r+=l.value[1];break;case`left`:n-=l.value[1];break;case`right`:n+=l.value[1];break}return t.x+=n,t.y+=r,t.width=Math.min(t.width,s.value),t.height=Math.min(t.height,c.value),{overflows:ke(t,h),x:n,y:r}}let v=0,y=0,b={x:0,y:0},x={x:!1,y:!1},S=-1;for(;;){if(S++>10){ce(`Infinite loop detected in connectedLocationStrategy`);break}let{x:e,y:t,overflows:n}=_(g);v+=e,y+=t,d.x+=e,d.y+=t;{let e=Oe(g.anchor),t=n.x.before||n.x.after,r=n.y.before||n.y.after,i=!1;if([`x`,`y`].forEach(a=>{if(a===`x`&&t&&!x.x||a===`y`&&r&&!x.y){let t={anchor:{...g.anchor},origin:{...g.origin}},r=a===`x`?e===`y`?Ee:Te:e===`y`?Te:Ee;t.anchor=r(t.anchor),t.origin=r(t.origin);let{overflows:o}=_(t);(o[a].before<=n[a].before&&o[a].after<=n[a].after||o[a].before+o[a].after<(n[a].before+n[a].after)/2)&&(g=t,i=x[a]=!0)}}),i)continue}n.x.before&&(v+=n.x.before,d.x+=n.x.before),n.x.after&&(v-=n.x.after,d.x-=n.x.after),n.y.before&&(y+=n.y.before,d.y+=n.y.before),n.y.after&&(y-=n.y.after,d.y-=n.y.after);{let e=ke(d,h);b.x=h.width-e.x.before-e.x.after,b.y=h.height-e.y.before-e.y.after,v+=e.x.before,d.x+=e.x.before,y+=e.y.before,d.y+=e.y.before}break}let C=Oe(g.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${g.anchor.side} ${g.anchor.align}`,transformOrigin:`${g.origin.side} ${g.origin.align}`,top:B(Ct(y)),left:e.isRtl.value?void 0:B(Ct(v)),right:e.isRtl.value?B(Ct(-v)):void 0,minWidth:B(C===`y`?Math.min(a.value,m.width):a.value),maxWidth:B(wt(F(b.x,a.value===1/0?0:a.value,s.value))),maxHeight:B(wt(F(b.y,o.value===1/0?0:o.value,c.value)))}),{available:b,contentBox:d,flipped:x}}return g(()=>[r.value,i.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>_()),h(()=>{let e=_();if(!e)return;let{available:t,contentBox:n}=e;n.height>t.y&&requestAnimationFrame(()=>{_(),requestAnimationFrame(()=>{_()})})}),{updateLocation:_}}function Ct(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function wt(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}var Tt=!0,Et=[];function Dt(e){!Tt||Et.length?(Et.push(e),kt()):(Tt=!1,e(),kt())}var Ot=-1;function kt(){cancelAnimationFrame(Ot),Ot=requestAnimationFrame(()=>{let e=Et.shift();e&&e(),Et.length?kt():Tt=!0})}var At={none:null,close:Nt,block:Pt,reposition:Ft};const jt=S({scrollStrategy:{type:[String,Function],default:`block`,validator:e=>typeof e==`function`||e in At}},`VOverlay-scroll-strategies`);function Mt(t,n){if(!E)return;let r;e(async()=>{r?.stop(),n.isActive.value&&t.scrollStrategy&&(r=H(),await new Promise(e=>setTimeout(e)),r.active&&r.run(()=>{typeof t.scrollStrategy==`function`?t.scrollStrategy(n,t,r):At[t.scrollStrategy]?.(n,t,r)}))}),U(()=>{r?.stop()})}function Nt(e){function t(t){e.isActive.value=!1}Lt(It(e.target.value,e.contentEl.value),t)}function Pt(e,t){let n=e.root.value?.offsetParent,r=It(e.target.value,e.contentEl.value),i=[...new Set([...Q(r,t.contained?n:void 0),...Q(e.contentEl.value,t.contained?n:void 0)])].filter(e=>!e.classList.contains(`v-overlay-scroll-blocked`)),a=window.innerWidth-document.documentElement.offsetWidth,o=(e=>Be(e)&&e)(n||document.documentElement);o&&e.root.value.classList.add(`v-overlay--scroll-blocked`),i.forEach((e,t)=>{e.style.setProperty(`--v-body-scroll-x`,B(-e.scrollLeft)),e.style.setProperty(`--v-body-scroll-y`,B(-e.scrollTop)),e!==document.documentElement&&e.style.setProperty(`--v-scrollbar-offset`,B(a)),e.classList.add(`v-overlay-scroll-blocked`)}),U(()=>{i.forEach((e,t)=>{let n=parseFloat(e.style.getPropertyValue(`--v-body-scroll-x`)),r=parseFloat(e.style.getPropertyValue(`--v-body-scroll-y`)),i=e.style.scrollBehavior;e.style.scrollBehavior=`auto`,e.style.removeProperty(`--v-body-scroll-x`),e.style.removeProperty(`--v-body-scroll-y`),e.style.removeProperty(`--v-scrollbar-offset`),e.classList.remove(`v-overlay-scroll-blocked`),e.scrollLeft=-n,e.scrollTop=-r,e.style.scrollBehavior=i}),o&&e.root.value.classList.remove(`v-overlay--scroll-blocked`)})}function Ft(e,t,n){let r=!1,i=-1,a=-1;function o(t){Dt(()=>{let n=performance.now();e.updateLocation.value?.(t),r=(performance.now()-n)/(1e3/60)>2})}a=(typeof requestIdleCallback>`u`?e=>e():requestIdleCallback)(()=>{n.run(()=>{Lt(It(e.target.value,e.contentEl.value),e=>{r?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{o(e)})})):o(e)})})}),U(()=>{typeof cancelIdleCallback<`u`&&cancelIdleCallback(a),cancelAnimationFrame(i)})}function It(e,t){return Array.isArray(e)?document.elementsFromPoint(...e).find(e=>!t?.contains(e)):e??t}function Lt(e,t){let n=[document,...Q(e)];n.forEach(e=>{e.addEventListener(`scroll`,t,{passive:!0})}),U(()=>{n.forEach(e=>{e.removeEventListener(`scroll`,t)})})}const Rt=Symbol.for(`vuetify:v-menu`),zt=S({closeDelay:[Number,String],openDelay:[Number,String]},`delay`);function Bt(e,t){let n=()=>{};function r(r,i){n?.();let a=r?e.openDelay:e.closeDelay,o=Math.max(i?.minDelay??0,Number(a??0));return new Promise(e=>{n=D(o,()=>{t?.(r),e(r)})})}function i(){return r(!0)}function a(e){return r(!1,e)}return{clearDelay:n,runOpenDelay:i,runCloseDelay:a}}const Vt=S({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...zt()},`VOverlay-activator`);function Ht(t,n){let{isActive:r,isTop:i,contentEl:a}=n,o=V(`useActivator`),s=W(),c=!1,l=!1,u=!0,d=G(()=>t.openOnFocus||t.openOnFocus==null&&t.openOnHover),f=G(()=>t.openOnClick||t.openOnClick==null&&!t.openOnHover&&!d.value),{runOpenDelay:p,runCloseDelay:m}=Bt(t,e=>{e===(t.openOnHover&&c||d.value&&l)&&!(t.openOnHover&&r.value&&!i.value)&&(r.value!==e&&(u=!0),r.value=e)}),_=W(),v={onClick:e=>{e.stopPropagation(),s.value=e.currentTarget||e.target,r.value||(_.value=[e.clientX,e.clientY]),r.value=!r.value},onMouseenter:e=>{c=!0,s.value=e.currentTarget||e.target,p()},onMouseleave:e=>{c=!1,m()},onFocus:e=>{b(e.target,`:focus-visible`)!==!1&&(l=!0,e.stopPropagation(),s.value=e.currentTarget||e.target,p())},onBlur:e=>{l=!1,e.stopPropagation(),m({minDelay:1})}},y=G(()=>{let e={};return f.value&&(e.onClick=v.onClick),t.openOnHover&&(e.onMouseenter=v.onMouseenter,e.onMouseleave=v.onMouseleave),d.value&&(e.onFocus=v.onFocus,e.onBlur=v.onBlur),e}),x=G(()=>{let e={};if(t.openOnHover&&(e.onMouseenter=()=>{c=!0,p()},e.onMouseleave=()=>{c=!1,m()}),d.value&&(e.onFocusin=e=>{e.target.matches(`:focus-visible`)&&(l=!0,p())},e.onFocusout=()=>{l=!1,m({minDelay:1})}),t.closeOnContentClick){let t=L(Rt,null);e.onClick=()=>{r.value=!1,t?.closeParents()}}return e}),S=G(()=>{let e={};return t.openOnHover&&(e.onMouseenter=()=>{u&&(c=!0,u=!1,p())},e.onMouseleave=()=>{c=!1,m()}),e});g(i,e=>{e&&(t.openOnHover&&!c&&(!d.value||!l)||d.value&&!l&&(!t.openOnHover||!c))&&!a.value?.contains(document.activeElement)&&(r.value=!1)}),g(r,e=>{e||setTimeout(()=>{_.value=void 0})},{flush:`post`});let C=w();e(()=>{C.value&&h(()=>{s.value=C.el})});let T=w(),D=G(()=>t.target===`cursor`&&_.value?_.value:T.value?T.el:Wt(t.target,o)||s.value),O=G(()=>Array.isArray(D.value)?void 0:D.value),k;return g(()=>!!t.activator,e=>{e&&E?(k=H(),k.run(()=>{Ut(t,o,{activatorEl:s,activatorEvents:y})})):k&&k.stop()},{flush:`post`,immediate:!0}),U(()=>{k?.stop()}),{activatorEl:s,activatorRef:C,target:D,targetEl:O,targetRef:T,activatorEvents:y,contentEvents:x,scrimEvents:S}}function Ut(e,t,n){let{activatorEl:r,activatorEvents:i}=n;g(()=>e.activator,(e,t)=>{if(t&&e!==t){let e=s(t);e&&o(e)}e&&h(()=>a())},{immediate:!0}),g(()=>e.activatorProps,()=>{a()}),U(()=>{o()});function a(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s(),n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;t&&Pe(t,f(i.value,n))}function o(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s(),n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;t&&Fe(t,f(i.value,n))}function s(){let n=Wt(arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator,t);return r.value=n?.nodeType===Node.ELEMENT_NODE?n:void 0,r.value}}function Wt(e,t){if(!e)return;let n;if(e===`parent`){let e=t?.proxy?.$el?.parentNode;for(;e?.hasAttribute(`data-no-activator`);)e=e.parentNode;n=e}else n=typeof e==`string`?document.querySelector(e):`$el`in e?e.$el:e;return n}const Gt=S({retainFocus:Boolean,captureFocus:Boolean,disableInitialFocus:Boolean},`focusTrap`);var Kt=new Map,qt=0;function Jt(e){let t=document.activeElement;if(e.key!==`Tab`||!t)return;let n=Array.from(Kt.values()).filter(e=>{let{isActive:n,contentEl:r}=e;return n.value&&r.value?.contains(t)}).map(e=>e.contentEl.value),i,a=t.parentElement;for(;a;){if(n.includes(a)){i=a;break}a=a.parentElement}if(!i)return;let o=r(i).filter(e=>e.tabIndex>=0);if(!o.length)return;let s=document.activeElement;if(o.length===1&&o[0].classList.contains(`v-list`)&&o[0].contains(s)){e.preventDefault();return}let c=o[0],l=o[o.length-1];e.shiftKey&&(s===c||c.classList.contains(`v-list`)&&c.contains(s))&&(e.preventDefault(),l.focus()),!e.shiftKey&&(s===l||l.classList.contains(`v-list`)&&l.contains(s))&&(e.preventDefault(),c.focus())}function Yt(e,t){let{isActive:n,localTop:i,activatorEl:a,contentEl:o}=t,s=Symbol(`trap`),c=!1,l=-1;async function u(){c=!0,l=window.setTimeout(()=>{c=!1},100)}async function d(e){let t=e.relatedTarget,a=e.target;document.removeEventListener(`pointerdown`,u),document.removeEventListener(`keydown`,f),await h(),n.value&&!c&&t!==a&&o.value&&I(i)&&![document,o.value].includes(a)&&!o.value.contains(a)&&r(o.value)[0]?.focus()}function f(e){if(e.key===`Tab`&&(document.removeEventListener(`keydown`,f),n.value&&o.value&&e.target&&!o.value.contains(e.target))){let t=r(document.documentElement);if(e.shiftKey&&e.target===t.at(0)||!e.shiftKey&&e.target===t.at(-1)){let t=r(o.value);t.length>0&&(e.preventDefault(),t[0].focus())}}}let p=z(()=>n.value&&e.captureFocus&&!e.disableInitialFocus);E&&(g(()=>e.retainFocus,e=>{e?Kt.set(s,{isActive:n,contentEl:o}):Kt.delete(s)},{immediate:!0}),g(p,e=>{e?(document.addEventListener(`pointerdown`,u),document.addEventListener(`focusin`,d,{once:!0}),document.addEventListener(`keydown`,f)):(document.removeEventListener(`pointerdown`,u),document.removeEventListener(`focusin`,d),document.removeEventListener(`keydown`,f))},{immediate:!0}),qt++<1&&document.addEventListener(`keydown`,Jt)),U(()=>{Kt.delete(s),clearTimeout(l),document.removeEventListener(`pointerdown`,u),document.removeEventListener(`focusin`,d),document.removeEventListener(`keydown`,f),--qt<1&&document.removeEventListener(`keydown`,Jt)})}function Xt(){if(!E)return M(!1);let{ssr:e}=re();if(e){let e=M(!1);return _(()=>{e.value=!0}),e}else return M(!0)}const Zt=S({eager:Boolean},`lazy`);function Qt(e,t){let n=M(!1),r=z(()=>n.value||e.eager||t.value);g(t,()=>n.value=!0);function i(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:r,onAfterLeave:i}}function $t(){let e=V(`useScopeId`).vnode.scopeId;return{scopeId:e?{[e]:``}:void 0}}var en=Symbol.for(`vuetify:stack`),$=A([]);function tn(t,n,r){let i=V(`useStack`),a=!r,o=L(en,void 0),s=A({activeChildren:new Set});y(en,s);let c=M(Number(I(n)));l(t,()=>{let e=$.at(-1)?.[1];c.value=e?e+10:Number(I(n)),a&&$.push([i.uid,c.value]),o?.activeChildren.add(i.uid),U(()=>{if(a){let e=P($).findIndex(e=>e[0]===i.uid);$.splice(e,1)}o?.activeChildren.delete(i.uid)})});let u=M(!0);a&&e(()=>{let e=$.at(-1)?.[0]===i.uid;setTimeout(()=>u.value=e)});let d=z(()=>!s.activeChildren.size);return{globalTop:ae(u),localTop:d,stackStyles:z(()=>({zIndex:c.value}))}}function nn(e){return{teleportTarget:G(()=>{let t=e();if(t===!0||!E)return;let n=t===!1?document.body:typeof t==`string`?document.querySelector(t):t;if(n==null){T(`Unable to locate target ${t}`);return}let r=[...n.children].find(e=>e.matches(`.v-overlay-container`));return r||(r=document.createElement(`div`),r.className=`v-overlay-container`,n.appendChild(r)),r})}}function rn(){return!0}function an(e,t,n){if(!e||on(e,n)===!1)return!1;let r=Re(t);if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&r.host===e.target)return!1;let i=(typeof n.value==`object`&&n.value.include||(()=>[]))();return i.push(t),!i.some(t=>t?.contains(e.target))}function on(e,t){return(typeof t.value==`object`&&t.value.closeConditional||rn)(e)}function sn(e,t,n){let r=typeof n.value==`function`?n.value:n.value.handler;e.shadowTarget=e.target,t._clickOutside.lastMousedownWasOutside&&an(e,t,n)&&setTimeout(()=>{on(e,n)&&r&&r(e)},0)}function cn(e,t){let n=Re(e);t(document),typeof ShadowRoot<`u`&&n instanceof ShadowRoot&&t(n)}var ln={mounted(e,t){let n=n=>sn(n,e,t),r=n=>{e._clickOutside.lastMousedownWasOutside=an(n,e,t)};cn(e,e=>{e.addEventListener(`click`,n,!0),e.addEventListener(`mousedown`,r,!0)}),e._clickOutside||={lastMousedownWasOutside:!1},e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:r}},beforeUnmount(e,t){e._clickOutside&&(cn(e,n=>{if(!n||!e._clickOutside?.[t.instance.$.uid])return;let{onClick:r,onMousedown:i}=e._clickOutside[t.instance.$.uid];n.removeEventListener(`click`,r,!0),n.removeEventListener(`mousedown`,i,!0)}),delete e._clickOutside[t.instance.$.uid])}};function un(e){let{modelValue:t,color:n,...r}=e;return v(O,{name:`fade-transition`,appear:!0},{default:()=>[e.modelValue&&q(`div`,f({class:[`v-overlay__scrim`,e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},r),null)]})}const dn=S({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},...Vt(),...C(),...oe(),...Zt(),...vt(),...jt(),...Gt(),...n(),...k()},`VOverlay`),fn=x()({name:`VOverlay`,directives:{vClickOutside:ln},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...s(dn(),[`disableInitialFocus`])},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,keydown:e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:r,emit:a}=t,o=V(`VOverlay`),s=W(),c=W(),d=W(),p=i(e,`modelValue`),h=G({get:()=>p.value,set:t=>{t&&e.disabled||(p.value=t)}}),{themeClasses:_}=_e(e),{rtlClasses:y,isRtl:b}=m(),{hasContent:x,onAfterLeave:S}=Qt(e,h),C=j(()=>typeof e.scrim==`string`?e.scrim:null),{globalTop:w,localTop:T,stackStyles:D}=tn(h,()=>e.zIndex,e._disableGlobalStack),{activatorEl:O,activatorRef:k,target:A,targetEl:M,targetRef:ee,activatorEvents:N,contentEvents:P,scrimEvents:F}=Ht(e,{isActive:h,isTop:T,contentEl:d}),{teleportTarget:I}=nn(()=>{let t=e.attach||e.contained;if(t)return t;let n=O?.value?.getRootNode()||o.proxy?.$el?.getRootNode();return n instanceof ShadowRoot?n:!1}),{dimensionStyles:L}=te(e),re=Xt(),{scopeId:ie}=$t();g(()=>e.disabled,e=>{e&&(h.value=!1)});let{contentStyles:ae,updateLocation:oe}=yt(e,{isRtl:b,contentEl:d,target:A,isActive:h});Mt(e,{root:s,contentEl:d,targetEl:M,target:A,isActive:h,updateLocation:oe});function se(t){a(`click:outside`,t),e.persistent?U():h.value=!1}function ce(t){return h.value&&T.value&&(!e.scrim||t.target===c.value||t instanceof MouseEvent&&t.shadowTarget===c.value)}Yt(e,{isActive:h,localTop:T,contentEl:d,activatorEl:O}),E&&g(h,e=>{e?window.addEventListener(`keydown`,R):window.removeEventListener(`keydown`,R)},{immediate:!0}),u(()=>{E&&window.removeEventListener(`keydown`,R)});function R(t){t.key===`Escape`&&w.value&&(d.value?.contains(document.activeElement)||a(`keydown`,t),e.persistent?U():(h.value=!1,d.value?.contains(document.activeElement)&&O.value?.focus()))}function z(e){e.key===`Escape`&&!w.value||a(`keydown`,e)}let de=lt();l(()=>e.closeOnBack,()=>{pt(de,t=>{w.value&&h.value?(t(!1),e.persistent?U():h.value=!1):t()})});let H=W();g(()=>h.value&&(e.absolute||e.contained)&&I.value==null,e=>{if(e){let e=ze(s.value);e&&e!==document.scrollingElement&&(H.value=e.scrollTop)}});function U(){e.noClickAnimation||d.value&&Ne(d.value,[{transformOrigin:`center`},{transform:`scale(1.03)`},{transformOrigin:`center`}],{duration:150,easing:`cubic-bezier(0.4, 0, 0.2, 1)`})}function pe(){a(`afterEnter`)}function me(){S(),a(`afterLeave`)}return ye(()=>q(ue,null,[n.activator?.({isActive:h.value,targetRef:ee,props:f({ref:k},N.value,e.activatorProps)}),re.value&&x.value&&v(ne,{disabled:!I.value,to:I.value},{default:()=>[q(`div`,f({class:[`v-overlay`,{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":h.value,"v-overlay--contained":e.contained},_.value,y.value,e.class],style:[D.value,{"--v-overlay-opacity":e.opacity,top:B(H.value)},e.style],ref:s,onKeydown:z},ie,r),[v(un,f({color:C,modelValue:h.value&&!!e.scrim,ref:c},F.value),null),v(fe,{appear:!0,persisted:!0,transition:e.transition,target:A.value,onAfterEnter:pe,onAfterLeave:me},{default:()=>[le(q(`div`,f({ref:d,class:[`v-overlay__content`,e.contentClass],style:[L.value,ae.value]},P.value,e.contentProps),[n.default?.({isActive:h})]),[[he,h.value],[ln,{handler:se,closeConditional:ce,include:()=>[O.value]}]])]})])]})])),{activatorEl:O,scrimEl:c,target:A,animateClick:U,contentEl:d,rootEl:s,globalTop:w,localTop:T,updateLocation:oe}}});var pn=Symbol(`Forwarded refs`);function mn(e,t){let n=e;for(;n;){let e=Reflect.getOwnPropertyDescriptor(n,t);if(e)return e;n=Object.getPrototypeOf(n)}}function hn(e){var t=[...arguments].slice(1);return e[pn]=t,new Proxy(e,{get(e,n){if(Reflect.has(e,n))return Reflect.get(e,n);if(!(typeof n==`symbol`||n.startsWith(`$`)||n.startsWith(`__`))){for(let e of t)if(e.value&&Reflect.has(e.value,n)){let t=Reflect.get(e.value,n);return typeof t==`function`?t.bind(e.value):t}}},has(e,n){if(Reflect.has(e,n))return!0;if(typeof n==`symbol`||n.startsWith(`$`)||n.startsWith(`__`))return!1;for(let e of t)if(e.value&&Reflect.has(e.value,n))return!0;return!1},set(e,n,r){if(Reflect.has(e,n))return Reflect.set(e,n,r);if(typeof n==`symbol`||n.startsWith(`$`)||n.startsWith(`__`))return!1;for(let e of t)if(e.value&&Reflect.has(e.value,n))return Reflect.set(e.value,n,r);return!1},getOwnPropertyDescriptor(e,n){let r=Reflect.getOwnPropertyDescriptor(e,n);if(r)return r;if(!(typeof n==`symbol`||n.startsWith(`$`)||n.startsWith(`__`))){for(let e of t){if(!e.value)continue;let t=mn(e.value,n)??(`_`in e.value?mn(e.value._?.setupState,n):void 0);if(t)return t}for(let e of t){let t=e.value&&e.value[pn];if(!t)continue;let r=t.slice();for(;r.length;){let e=r.shift(),t=mn(e.value,n);if(t)return t;let i=e.value&&e.value[pn];i&&r.push(...i)}}}}})}export{Z as C,Ae as E,ze as S,Me as T,Ke as _,Zt as a,We as b,dt as c,st as d,it as f,Xe as g,Ze as h,$t as i,ut as l,et as m,fn as n,Qt as o,$e as p,dn as r,Rt as s,hn as t,ot as u,qe as v,Ne as w,Ue as x,Je as y};