From b8af9c6bbfccde038a7155c113fcc4d3af132912 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 4 Sep 2026 18:39:02 +0000 Subject: [PATCH 1/2] chore(deps): bump virtua from 0.49.2 to 0.50.5 Bumps [virtua](https://github.com/inokawa/virtua) from 0.49.2 to 0.50.5. - [Release notes](https://github.com/inokawa/virtua/releases) - [Commits](https://github.com/inokawa/virtua/compare/0.49.2...0.50.5) --- updated-dependencies: - dependency-name: virtua dependency-version: 0.50.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 16 ++++++++++++---- package.json | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1228f724e..65bec5dd1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "@nextcloud/typings": "^1.10.0", "@nextcloud/vue": "^9.9.0", "pinia": "^3.0.4", - "virtua": "^0.49.1", + "virtua": "^0.50.5", "vue-cropperjs": "^5.0.0", "vue-material-design-icons": "^5.3.1", "vue-router": "^4.6.4", @@ -11890,11 +11890,13 @@ } }, "node_modules/virtua": { - "version": "0.49.2", - "resolved": "https://registry.npmjs.org/virtua/-/virtua-0.49.2.tgz", - "integrity": "sha512-aEp3+6cmIRjHUlQnWdgGXYMYtrIG26QnN9jJDZEE5LRhvo1Z9HzoJwLDgyVULUPWcSdCnZAroQm7raXJyTG0AA==", + "version": "0.50.5", + "resolved": "https://registry.npmjs.org/virtua/-/virtua-0.50.5.tgz", + "integrity": "sha512-dhr2b3fiK8jWlXzTZr1lICU6gIjF+Q9ftzlDR9KoAbW4vgusx0hEsNwdhxrEVVnm7ZpB+40jgGtJH8/BSsfrZg==", "license": "MIT", "peerDependencies": { + "@angular/common": ">=20.0.0", + "@angular/core": ">=20.0.0", "react": ">=16.14.0", "react-dom": ">=16.14.0", "solid-js": ">=1.0", @@ -11902,6 +11904,12 @@ "vue": ">=3.2" }, "peerDependenciesMeta": { + "@angular/common": { + "optional": true + }, + "@angular/core": { + "optional": true + }, "react": { "optional": true }, diff --git a/package.json b/package.json index 9a29fed86..42f6622d7 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@nextcloud/typings": "^1.10.0", "@nextcloud/vue": "^9.9.0", "pinia": "^3.0.4", - "virtua": "^0.49.1", + "virtua": "^0.50.5", "vue-cropperjs": "^5.0.0", "vue-material-design-icons": "^5.3.1", "vue-router": "^4.6.4", From bdcfc880bfc8019039be40fa0a0f1a7067a4ed8d Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Fri, 4 Sep 2026 18:44:17 +0000 Subject: [PATCH 2/2] chore(assets): Recompile assets Signed-off-by: nextcloud-command --- js/teams-main.mjs | 40 +++++++++++++++++------------------ js/teams-main.mjs.license | 2 +- js/teams-main.mjs.map | 2 +- js/teams-main.mjs.map.license | 2 +- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/js/teams-main.mjs b/js/teams-main.mjs index 067cb181b..18487de11 100644 --- a/js/teams-main.mjs +++ b/js/teams-main.mjs @@ -1,4 +1,4 @@ -import{aR as Ga,d as He,as as va,X as ht,at as rc,c as W,ae as rr,aS as th,j as v,aT as nh,aU as oc,aC as Qi,aV as So,D as sc,aB as ko,b as ve,aW as xo,aD as ih,ax as ah,ay as rh,C as Ze,n as pn,aX as oh,ap as Io,o as On,aY as mi,an as $t,e as _,f as Y,Z as Xn,aA as sh,p as O,v as Be,O as Ii,y as ea,r as Je,aZ as lh,_ as st,V as Ae,i as Q,s as re,G as at,K as xe,L as zt,Q as li,R as ta,h as F,k as L,w as A,a as ze,N as Fe,a_ as ch,a$ as uh,q as Ne,aQ as dh,b0 as qn,B as hh,b1 as ph,aP as lc,a4 as mh,x as ut,ab as mn,F as na,a9 as To,aa as No,P as I,H as xt,T as Xe,b2 as fh,ad as cc,u as Oo,z as vh,J as Qr,E as ga,b3 as gh,b4 as uc,b5 as yh,a1 as _h,b6 as bh,S as eo,b7 as Wi,b8 as En,b9 as It,ba as Ta,bb as Ao,bc as Ch,bd as dc,be as Un,bf as wh,bg as hc,bh as Eh,bi as $n,bj as pc,bk as Rs,bl as Sh,bm as kh,bn as xh,bo as Ih,bp as Th,bq as or,br as Nh,bs as Mo,bt as Oh,bu as Ah,av as Mh,bv as Lh,I as ia,$ as Dh,a0 as Br,a7 as Ph,bw as mc,l as ii,bx as Rh,by as fc,bz as jh,bA as vc,bB as zh,bC as Vh,bD as Bh,bE as $h,bF as gc,bG as yc,bH as Hh,g as Uh,bI as Fh,bJ as Xh,bK as qh,bL as Gh,bM as Wh,bN as Yh,bO as js,bP as Kh,bQ as Jh,bR as Zh,bS as Qh,bT as ep,bU as tp,bV as np,bW as Lo,bX as ip,ag as ap,bY as rp,U as op}from"./_plugin-vue_export-helper-BBv7rb2Q.chunk.mjs";import{L as Sn,ae as _c,K as bc,e as kn,am as sp,an as lp,ao as fi,f as Re,H as cp,J as up,b as xn,x as Ie,N as sr,ap as Cc,aq as dp,ar as hp,as as Wa,F as tn,at as wc,au as to,y as Qt,a as qe,B as pp,ah as aa,av as mp,aw as fp,ag as vp,ax as gp,ay as yp,E as Ec,d as Sc,z as no,az as zs,aA as _p,aB as bp,aC as Cp,aD as kc,aE as wp,aF as Ya,aG as xc,D as Ep,G as Sp,aH as kp,aI as xp,aJ as Ip,c as Na,R as Tp,aK as Np,m as Ic,aL as Op,aM as Ap,aN as Mp,aO as Lp,aP as Dp,aQ as Pp,aR as Rp,aS as jp,aT as zp,aU as Vp,aV as Bp,aW as $p,aX as Hp,Q as Do,u as Po,aY as Up,aZ as Fp,P as Xp,a_ as qp,a$ as Gp,b1 as Wp,b2 as Yp,b3 as Kp,b4 as Jp}from"./logger-CzbArXbo.chunk.mjs";import{N as ci,u as Zp,a as Qp}from"./NcAvatar-1KxMUN7V-C_o8olwW.chunk.mjs";import{_ as Gn,a as em,d as Ro,N as tm}from"./NcPasswordField-BFyzHTOO-DGi_OWh5.chunk.mjs";import{N as In}from"./NcActionButton-BO5T5ePT-DeqgTzaL.chunk.mjs";import{N as Et}from"./NcActionRouter-vYFtIOzD-CvuCidcL.chunk.mjs";import{d as nm,c as im,e as am,s as rm,f as om,h as sm,i as lm,j as cm,N as um,k as Vs,m as dm,P as hm,n as Bs,C as $s,o as pm,u as mm,p as fm,q as vm,r as gm,t as ym,v as _m,w as bm,x as Cm,y as wm,z as Em,A as Sm,B as km,D as xm,E as Im,M as Lt,F as Si,G as Tm,H as Hs,S as Us,I as Nm,J as Om,K as Am,L as Mm,O as Lm,Q as Dm,R as Pm,T as $r,U as Rm,V as jm,W as zm,X as Fs,Y as Vm,Z as Bm,_ as Va,$ as $m,a0 as Hm}from"./api-BfwHnA18.chunk.mjs";import{h as Um,C as Fm,g as Xm,F as Pn,f as qm,d as Gm,e as Wm,r as Xs,N as Tc,S as Nc}from"./NcSelect--kERLlBK-CbTXAvL-.chunk.mjs";import{a as Ym,b as Km,_ as qs,P as Jm}from"./index-BHU37c3G.chunk.mjs";import"./index-BuIDJ7AE.chunk.mjs";import"./index-DjVE9kLk.chunk.mjs";import{C as _i}from"./colors-Cv9F-jWS-KfUUs2UU.chunk.mjs";import"./NcSettingsSection-Caz1fuWt-BRuIFkG8.chunk.mjs";const ic="circles",ac="36.0.0-dev.0";function Gs(e,n){return(e.aliasOf||e)===(n.aliasOf||n)}function Zm(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(var i in e)if(!Qm(e[i],n[i]))return!1;return!0}function Qm(e,n){return Ga(e)?Ws(e,n):Ga(n)?Ws(n,e):(e&&e.valueOf())===(n&&n.valueOf())}function Ws(e,n){return Ga(n)?e.length===n.length&&e.every((i,a)=>i===n[a]):e.length===1&&e[0]===n}function Ys(e){const n=ht(rc),i=ht(th),a=W(()=>{const c=v(e.to);return n.resolve(c)}),r=W(()=>{const{matched:c}=a.value,{length:f}=c,g=c[f-1],d=i.matched;if(!g||!d.length)return-1;const y=d.findIndex(Gs.bind(null,g));if(y>-1)return y;const b=Ks(c[f-2]);return f>1&&Ks(g)===b&&d[d.length-1].path!==b?d.findIndex(Gs.bind(null,c[f-2])):y}),o=W(()=>r.value>-1&&af(i.params,a.value.params)),s=W(()=>r.value>-1&&r.value===i.matched.length-1&&Zm(i.params,a.value.params));function l(c={}){if(nf(c)){const f=n[v(e.replace)?"replace":"push"](v(e.to)).catch(nh);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:a,href:W(()=>a.value.href),isActive:o,isExactActive:s,navigate:l}}function ef(e){return e.length===1?e[0]:e}const tf=He({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Ys,setup(e,{slots:n}){const i=va(Ys(e)),{options:a}=ht(rc),r=W(()=>({[Js(e.activeClass,a.linkActiveClass,"router-link-active")]:i.isActive,[Js(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const o=n.default&&ef(n.default(i));return e.custom?o:rr("a",{"aria-current":i.isExactActive?e.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:r.value},o)}}});function nf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const n=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return e.preventDefault&&e.preventDefault(),!0}}function af(e,n){for(const i in n){const a=n[i],r=e[i];if(typeof a=="string"){if(a!==r)return!1}else if(!Ga(r)||r.length!==a.length||a.some((o,s)=>o.valueOf()!==r[s].valueOf()))return!1}return!0}function Ks(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Js=(e,n,i)=>e??n??i;let Oc;const lr=e=>Oc=e,Ac=Symbol();function io(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Yi;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Yi||(Yi={}));function rf(){const e=ko(!0),n=e.run(()=>ve({}));let i=[],a=[];const r=xo({install(o){lr(r),r._a=o,o.provide(Ac,r),o.config.globalProperties.$pinia=r,a.forEach(s=>i.push(s)),a=[]},use(o){return this._a?i.push(o):a.push(o),this},_p:i,_a:null,_e:e,_s:new Map,state:n});return r}const Mc=()=>{};function Zs(e,n,i,a=Mc){e.add(n);const r=()=>{e.delete(n)&&a()};return!i&&ah()&&rh(r),r}function bi(e,...n){e.forEach(i=>{i(...n)})}const of=e=>e(),Qs=Symbol(),Hr=Symbol();function ao(e,n){e instanceof Map&&n instanceof Map?n.forEach((i,a)=>e.set(a,i)):e instanceof Set&&n instanceof Set&&n.forEach(e.add,e);for(const i in n){if(!n.hasOwnProperty(i))continue;const a=n[i],r=e[i];io(r)&&io(a)&&e.hasOwnProperty(i)&&!Qi(a)&&!So(a)?e[i]=ao(r,a):e[i]=a}return e}const sf=Symbol();function lf(e){return!io(e)||!Object.prototype.hasOwnProperty.call(e,sf)}const{assign:zn}=Object;function cf(e){return!!(Qi(e)&&e.effect)}function uf(e,n,i,a){const{state:r,actions:o,getters:s}=n,l=i.state.value[e];let c;function f(){l||(i.state.value[e]=r?r():{});const g=oh(i.state.value[e]);return zn(g,o,Object.keys(s||{}).reduce((d,y)=>(d[y]=xo(W(()=>{lr(i);const b=i._s.get(e);return s[y].call(b,b)})),d),{}))}return c=Lc(e,f,n,i,a,!0),c}function Lc(e,n,i={},a,r,o){let s;const l=zn({actions:{}},i),c={deep:!0};let f,g,d=new Set,y=new Set,b;const x=a.state.value[e];!o&&!x&&(a.state.value[e]={}),ve({});let T;function P(le){let ee;f=g=!1,typeof le=="function"?(le(a.state.value[e]),ee={type:Yi.patchFunction,storeId:e,events:b}):(ao(a.state.value[e],le),ee={type:Yi.patchObject,payload:le,storeId:e,events:b});const te=T=Symbol();pn().then(()=>{T===te&&(f=!0)}),g=!0,bi(d,ee,a.state.value[e])}const z=o?function(){const{state:le}=i,ee=le?le():{};this.$patch(te=>{zn(te,ee)})}:Mc;function R(){s.stop(),d.clear(),y.clear(),a._s.delete(e)}const K=(le,ee="")=>{if(Qs in le)return le[Hr]=ee,le;const te=function(){lr(a);const ce=Array.from(arguments),we=new Set,fe=new Set;function ae(M){we.add(M)}function H(M){fe.add(M)}bi(y,{args:ce,name:te[Hr],store:X,after:ae,onError:H});let U;try{U=le.apply(this&&this.$id===e?this:X,ce)}catch(M){throw bi(fe,M),M}return U instanceof Promise?U.then(M=>(bi(we,M),M)).catch(M=>(bi(fe,M),Promise.reject(M))):(bi(we,U),U)};return te[Qs]=!0,te[Hr]=ee,te},de={_p:a,$id:e,$onAction:Zs.bind(null,y),$patch:P,$reset:z,$subscribe(le,ee={}){const te=Zs(d,le,ee.detached,()=>ce()),ce=s.run(()=>Ze(()=>a.state.value[e],we=>{(ee.flush==="sync"?g:f)&&le({storeId:e,type:Yi.direct,events:b},we)},zn({},c,ee)));return te},$dispose:R},X=va(de);a._s.set(e,X);const he=(a._a&&a._a.runWithContext||of)(()=>a._e.run(()=>(s=ko()).run(()=>n({action:K}))));for(const le in he){const ee=he[le];if(Qi(ee)&&!cf(ee)||So(ee))o||(x&&lf(ee)&&(Qi(ee)?ee.value=x[le]:ao(ee,x[le])),a.state.value[e][le]=ee);else if(typeof ee=="function"){const te=K(ee,le);he[le]=te,l.actions[le]=ee}}return zn(X,he),zn(oc(X),he),Object.defineProperty(X,"$state",{get:()=>a.state.value[e],set:le=>{P(ee=>{zn(ee,le)})}}),a._p.forEach(le=>{zn(X,s.run(()=>le({store:X,app:a._a,pinia:a,options:l})))}),x&&o&&i.hydrate&&i.hydrate(X.$state,x),f=!0,g=!0,X}function Dc(e,n,i){let a;const r=typeof n=="function";a=r?i:n;function o(s,l){const c=ih();return s=s||(c?ht(Ac,null):null),s&&lr(s),s=Oc,s._s.has(e)||(r?Lc(e,n,a,s):uf(e,a,s)),s._s.get(e)}return o.$id=e,o}function Pc(e){const n=oc(e),i={};for(const a in n){const r=n[a];r.effect?i[a]=W({get:()=>e[a],set(o){e[a]=o}}):(Qi(r)||So(r))&&(i[a]=sc(e,a))}return i}const df={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(e,{emit:n}){const i=n,a=e,r=Io(),o=ve([]),s=W(()=>o.value.reduce((S,D)=>(S[~~D.id]=D)&&S,{})),l=W(()=>o.value.length),c=ve(null),f=ve(!1),g=ve({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),d=ve({splitter:null,timeoutId:null}),y=W(()=>({[`splitpanes splitpanes--${a.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":g.value.dragging})),b=()=>{document.addEventListener("mousemove",P,{passive:!1}),document.addEventListener("mouseup",z),"ontouchstart"in window&&(document.addEventListener("touchmove",P,{passive:!1}),document.addEventListener("touchend",z))},x=()=>{document.removeEventListener("mousemove",P,{passive:!1}),document.removeEventListener("mouseup",z),"ontouchstart"in window&&(document.removeEventListener("touchmove",P,{passive:!1}),document.removeEventListener("touchend",z))},T=(S,D)=>{const j=S.target.closest(".splitpanes__splitter");if(j){const{left:V,top:J}=j.getBoundingClientRect(),{clientX:be,clientY:ye}="ontouchstart"in window&&S.touches?S.touches[0]:S;g.value.cursorOffset=a.horizontal?ye-J:be-V}b(),g.value.mouseDown=!0,g.value.activeSplitter=D},P=S=>{g.value.mouseDown&&(S.preventDefault(),g.value.dragging=!0,requestAnimationFrame(()=>{le(X(S)),Te("resize",{event:S},!0)}))},z=S=>{g.value.dragging&&(window.getSelection().removeAllRanges(),Te("resized",{event:S},!0)),g.value.mouseDown=!1,g.value.activeSplitter=null,setTimeout(()=>{g.value.dragging=!1,x()},100)},R=(S,D)=>{"ontouchstart"in window&&(S.preventDefault(),d.value.splitter===D?(clearTimeout(d.value.timeoutId),d.value.timeoutId=null,K(S,D),d.value.splitter=null):(d.value.splitter=D,d.value.timeoutId=setTimeout(()=>d.value.splitter=null,500))),g.value.dragging||Te("splitter-click",{event:S,index:D},!0)},K=(S,D)=>{if(Te("splitter-dblclick",{event:S,index:D},!0),a.maximizePanes){let j=0;o.value=o.value.map((V,J)=>(V.size=J===D?V.max:V.min,J!==D&&(j+=V.min),V)),o.value[D].size-=j,Te("pane-maximize",{event:S,index:D,pane:o.value[D]}),Te("resized",{event:S,index:D},!0)}},de=(S,D)=>{Te("pane-click",{event:S,index:s.value[D].index,pane:s.value[D]})},X=S=>{const D=c.value.getBoundingClientRect(),{clientX:j,clientY:V}="ontouchstart"in window&&S.touches?S.touches[0]:S;return{x:j-(a.horizontal?0:g.value.cursorOffset)-D.left,y:V-(a.horizontal?g.value.cursorOffset:0)-D.top}},he=S=>{S=S[a.horizontal?"y":"x"];const D=c.value[a.horizontal?"clientHeight":"clientWidth"];return a.rtl&&!a.horizontal&&(S=D-S),S*100/D},le=S=>{const D=g.value.activeSplitter;let j={prevPanesSize:te(D),nextPanesSize:ce(D),prevReachedMinPanes:0,nextReachedMinPanes:0};const V=0+(a.pushOtherPanes?0:j.prevPanesSize),J=100-(a.pushOtherPanes?0:j.nextPanesSize),be=Math.max(Math.min(he(S),J),V);let ye=[D,D+1],Se=o.value[ye[0]]||null,Ve=o.value[ye[1]]||null;const _e=Se.max<100&&be>=Se.max+j.prevPanesSize,ue=Ve.max<100&&be<=100-(Ve.max+ce(D+1));if(_e||ue){_e?(Se.size=Se.max,Ve.size=Math.max(100-Se.max-j.prevPanesSize-j.nextPanesSize,0)):(Se.size=Math.max(100-Ve.max-j.prevPanesSize-ce(D+1),0),Ve.size=Ve.max);return}if(a.pushOtherPanes){const ke=ee(j,be);if(!ke)return;({sums:j,panesToResize:ye}=ke),Se=o.value[ye[0]]||null,Ve=o.value[ye[1]]||null}Se!==null&&(Se.size=Math.min(Math.max(be-j.prevPanesSize-j.prevReachedMinPanes,Se.min),Se.max)),Ve!==null&&(Ve.size=Math.min(Math.max(100-be-j.nextPanesSize-j.nextReachedMinPanes,Ve.min),Ve.max))},ee=(S,D)=>{const j=g.value.activeSplitter,V=[j,j+1];return D{be>V[0]&&be<=j&&(J.size=J.min,S.prevReachedMinPanes+=J.min)}),S.prevPanesSize=te(V[0]),V[0]===void 0)?(S.prevReachedMinPanes=0,o.value[0].size=o.value[0].min,o.value.forEach((J,be)=>{be>0&&be<=j&&(J.size=J.min,S.prevReachedMinPanes+=J.min)}),o.value[V[1]].size=100-S.prevReachedMinPanes-o.value[0].min-S.prevPanesSize-S.nextPanesSize,null):D>100-S.nextPanesSize-o.value[V[1]].min&&(V[1]=fe(j).index,S.nextReachedMinPanes=0,V[1]>j+1&&o.value.forEach((J,be)=>{be>j&&be{be=j+1&&(J.size=J.min,S.nextReachedMinPanes+=J.min)}),o.value[V[0]].size=100-S.prevPanesSize-ce(V[0]-1),null):{sums:S,panesToResize:V}},te=S=>o.value.reduce((D,j,V)=>D+(Vo.value.reduce((D,j,V)=>D+(V>S+1?j.size:0),0),we=S=>[...o.value].reverse().find(D=>D.indexD.min)||{},fe=S=>o.value.find(D=>D.index>S+1&&D.size>D.min)||{},ae=()=>{var S;const D=Array.from(((S=c.value)==null?void 0:S.children)||[]);for(const j of D){const V=j.classList.contains("splitpanes__pane"),J=j.classList.contains("splitpanes__splitter");!V&&!J&&(j.remove(),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed."))}},H=(S,D,j=!1)=>{const V=S-1,J=document.createElement("div");J.classList.add("splitpanes__splitter"),j||(J.onmousedown=be=>T(be,V),typeof window<"u"&&"ontouchstart"in window&&(J.ontouchstart=be=>T(be,V)),J.onclick=be=>R(be,V+1)),J.ondblclick=be=>K(be,V+1),D.parentNode.insertBefore(J,D)},U=S=>{S.onmousedown=void 0,S.onclick=void 0,S.ondblclick=void 0,S.remove()},M=()=>{var S;const D=Array.from(((S=c.value)==null?void 0:S.children)||[]);for(const V of D)V.className.includes("splitpanes__splitter")&&U(V);let j=0;for(const V of D)V.className.includes("splitpanes__pane")&&(!j&&a.firstSplitter?H(j,V,!0):j&&H(j,V),j++)},ne=({uid:S,...D})=>{const j=s.value[S];for(const[V,J]of Object.entries(D))j[V]=J},Ce=S=>{var D;let j=-1;Array.from(((D=c.value)==null?void 0:D.children)||[]).some(V=>(V.className.includes("splitpanes__pane")&&j++,V.isSameNode(S.el))),o.value.splice(j,0,{...S,index:j}),o.value.forEach((V,J)=>V.index=J),f.value&&pn(()=>{M(),Oe({addedPane:o.value[j]}),Te("pane-add",{pane:o.value[j]})})},Ee=S=>{const D=o.value.findIndex(V=>V.id===S);o.value[D].el=null;const j=o.value.splice(D,1)[0];o.value.forEach((V,J)=>V.index=J),pn(()=>{M(),Te("pane-remove",{pane:j}),Oe({removedPane:{...j}})})},Oe=(S={})=>{!S.addedPane&&!S.removedPane?lt():o.value.some(D=>D.givenSize!==null||D.min||D.max<100)?Me(S):nt(),f.value&&Te("resized")},nt=()=>{const S=100/l.value;let D=0;const j=[],V=[];for(const J of o.value)J.size=Math.max(Math.min(S,J.max),J.min),D-=J.size,J.size>=J.max&&j.push(J.id),J.size<=J.min&&V.push(J.id);D>.1&&De(D,j,V)},lt=()=>{let S=100;const D=[],j=[];let V=0;for(const be of o.value)S-=be.size,be.givenSize!==null&&V++,be.size>=be.max&&D.push(be.id),be.size<=be.min&&j.push(be.id);let J=100;if(S>.1){for(const be of o.value)be.givenSize===null&&(be.size=Math.max(Math.min(S/(l.value-V),be.max),be.min)),J-=be.size;J>.1&&De(J,D,j)}},Me=({addedPane:S,removedPane:D}={})=>{let j=100/l.value,V=0;const J=[],be=[];(S?.givenSize??null)!==null&&(j=(100-S.givenSize)/(l.value-1));for(const ye of o.value)V-=ye.size,ye.size>=ye.max&&J.push(ye.id),ye.size<=ye.min&&be.push(ye.id);if(!(Math.abs(V)<.1)){for(const ye of o.value)S?.givenSize!==null&&S?.id===ye.id||(ye.size=Math.max(Math.min(j,ye.max),ye.min)),V-=ye.size,ye.size>=ye.max&&J.push(ye.id),ye.size<=ye.min&&be.push(ye.id);V>.1&&De(V,J,be)}},De=(S,D,j)=>{let V;S>0?V=S/(l.value-D.length):V=S/(l.value-j.length),o.value.forEach((J,be)=>{if(S>0&&!D.includes(J.id)){const ye=Math.max(Math.min(J.size+V,J.max),J.min),Se=ye-J.size;S-=Se,J.size=ye}else if(!j.includes(J.id)){const ye=Math.max(Math.min(J.size+V,J.max),J.min),Se=ye-J.size;S-=Se,J.size=ye}}),Math.abs(S)>.1&&pn(()=>{f.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},Te=(S,D=void 0,j=!1)=>{const V=D?.index??g.value.activeSplitter??null;i(S,{...D,...V!==null&&{index:V},...j&&V!==null&&{prevPane:o.value[V-(a.firstSplitter?1:0)],nextPane:o.value[V+(a.firstSplitter?0:1)]},panes:o.value.map(J=>({min:J.min,max:J.max,size:J.size}))})};Ze(()=>a.firstSplitter,()=>M()),On(()=>{ae(),M(),Oe(),Te("ready"),f.value=!0}),mi(()=>f.value=!1);const dt=()=>{var S;return rr("div",{ref:c,class:y.value},(S=r.default)==null?void 0:S.call(r))};return $t("panes",o),$t("indexedPanes",s),$t("horizontal",W(()=>a.horizontal)),$t("requestUpdate",ne),$t("onPaneAdd",Ce),$t("onPaneRemove",Ee),$t("onPaneClick",de),(S,D)=>(_(),Y(Xn(dt)))}},hf={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(e){var n;const i=e,a=ht("requestUpdate"),r=ht("onPaneAdd"),o=ht("horizontal"),s=ht("onPaneRemove"),l=ht("onPaneClick"),c=(n=sh())==null?void 0:n.uid,f=ht("indexedPanes"),g=W(()=>f.value[c]),d=ve(null),y=W(()=>{const P=isNaN(i.size)||i.size===void 0?0:parseFloat(i.size);return Math.max(Math.min(P,x.value),b.value)}),b=W(()=>{const P=parseFloat(i.minSize);return isNaN(P)?0:P}),x=W(()=>{const P=parseFloat(i.maxSize);return isNaN(P)?100:P}),T=W(()=>{var P;return`${o.value?"height":"width"}: ${(P=g.value)==null?void 0:P.size}%`});return Ze(()=>y.value,P=>a({uid:c,size:P})),Ze(()=>b.value,P=>a({uid:c,min:P})),Ze(()=>x.value,P=>a({uid:c,max:P})),On(()=>{r({id:c,el:d.value,min:b.value,max:x.value,givenSize:i.size===void 0?null:y.value,size:y.value})}),mi(()=>s(c)),(P,z)=>(_(),O("div",{ref_key:"paneEl",ref:d,class:"splitpanes__pane",onClick:z[0]||(z[0]=R=>v(l)(R,P._.uid)),style:Ii(T.value)},[Be(P.$slots,"default")],4))}};function pf(e){let n=!1,i;return(...a)=>(n||(n=!0,i=e(...a)),i)}let Rc="missing-app-name";try{Rc=ic}catch{Sn.error("The `@nextcloud/vue` library was used without setting / replacing the `appName`.")}const mf=Rc;let jc="";try{jc=ac}catch{Sn.error("The `@nextcloud/vue` library was used without setting / replacing the `appVersion`.")}const ff=jc;function zc(){return ht("appName",mf)}const Vc=pf(()=>{const e=ea("core","apps",[]),n=zc();return e.find(({id:i})=>i===n)?.name??n});Je(lh);const vf=He({__name:"NcAppContentDetailsToggle",setup(e){const n=fi();Ze(n,i),On(()=>{i(n.value)}),mi(()=>{n.value&&i(!1)});function i(a=!0){const r=document.querySelector(".app-navigation .app-navigation-toggle");r&&(r.style.display=a?"none":"",a===!0&&kn("toggle-navigation",{open:!1}))}return(a,r)=>(_(),Y(v(Fe),{"aria-label":v(ze)("Go back to the list"),class:xe(["app-details-toggle",{"app-details-toggle--mobile":v(n)}]),title:v(ze)("Go back to the list"),variant:"tertiary"},{icon:A(()=>[L(v(Re),{directional:"",path:v(cp)},null,8,["path"])]),_:1},8,["aria-label","class","title"]))}}),gf=st(vf,[["__scopeId","data-v-a28923a1"]]),el=_c("nextcloud").persist().build(),yf=bc().theming?.name??"Nextcloud",_f={name:"NcAppContent",components:{NcAppContentDetailsToggle:gf,Pane:hf,Splitpanes:df},props:{disableSwipe:{type:Boolean,default:!1},listSize:{type:Number,default:20},listMinWidth:{type:Number,default:15},listMaxWidth:{type:Number,default:40},paneConfigKey:{type:String,default:""},showDetails:{type:Boolean,default:!0},layout:{type:String,default:"vertical-split",validator(e){return["no-split","vertical-split","horizontal-split"].includes(e)}},pageHeading:{type:String,default:null},pageTitle:{type:String,default:null}},emits:["update:showDetails","resizeList"],setup(){return{appName:zc(),localizedAppName:Vc(),isMobile:fi(),isRtl:lp}},data(){return{contentHeight:0,swiping:{},listPaneSize:this.restorePaneConfig()}},computed:{paneConfigID(){if(this.paneConfigKey!=="")return`pane-list-size-${this.paneConfigKey}`;try{return`pane-list-size-${this.appName}`}catch{return Sn.info("[NcAppContent]: falling back to global nextcloud pane config"),"pane-list-size-nextcloud"}},detailsPaneSize(){return this.listPaneSize?100-this.listPaneSize:this.paneDefaults.details.size},paneDefaults(){return{list:{size:this.listSize,min:this.listMinWidth,max:this.listMaxWidth},details:{size:100-this.listSize,min:100-this.listMaxWidth,max:100-this.listMinWidth}}},realPageTitle(){const e=new Set;if(this.pageTitle)for(const n of this.pageTitle.split(" - "))e.add(n);else if(this.pageHeading){for(const n of this.pageHeading.split(" - "))e.add(n);e.size>0&&e.add(this.localizedAppName)}else return null;return e.add(yf),[...e.values()].join(" - ")}},watch:{realPageTitle:{immediate:!0,handler(){this.realPageTitle!==null&&(document.title=this.realPageTitle)}},paneConfigKey:{immediate:!0,handler(){this.restorePaneConfig()}}},mounted(){this.disableSwipe||(this.swiping=sp(this.$el,{onSwipeEnd:this.handleSwipe})),this.restorePaneConfig()},methods:{handleSwipe(e,n){Math.abs(this.swiping.lengthX)>70&&(this.swiping.coordsStart.x<300/2&&n==="right"?kn("toggle-navigation",{open:!0}):this.swiping.coordsStart.x<300*1.5&&n==="left"&&kn("toggle-navigation",{open:!1}))},handlePaneResize(e){const n=parseInt(e.panes[0].size,10);el.setItem(this.paneConfigID,JSON.stringify(n)),this.listPaneSize=n,this.$emit("resizeList",{size:n}),Sn.debug("[NcAppContent] pane config",{listPaneSize:n})},restorePaneConfig(){const e=parseInt(el.getItem(this.paneConfigID),10);if(!isNaN(e)&&e!==this.listPaneSize)return Sn.debug("[NcAppContent] pane config",{listPaneSize:e}),this.listPaneSize=e,e},hideDetails(){this.$emit("update:showDetails",!1)}}},bf={key:0,class:"hidden-visually"},Cf={class:"app-content-wrapper__list"},wf={key:1,class:"app-content-wrapper"};function Ef(e,n,i,a,r,o){const s=Ae("NcAppContentDetailsToggle"),l=Ae("Pane"),c=Ae("Splitpanes");return _(),O("main",{id:"app-content-vue",class:xe(["app-content no-snapper",{"app-content--has-list":!!e.$slots.list}])},[i.pageHeading?(_(),O("h1",bf,Q(i.pageHeading),1)):re("",!0),e.$slots.list?(_(),O(at,{key:1},[a.isMobile||i.layout==="no-split"?(_(),O("div",{key:0,class:xe(["app-content-wrapper app-content-wrapper--no-split",{"app-content-wrapper--show-details":i.showDetails,"app-content-wrapper--show-list":!i.showDetails,"app-content-wrapper--mobile":a.isMobile}])},[i.showDetails?(_(),Y(s,{key:0,onClick:zt(o.hideDetails,["stop","prevent"])},null,8,["onClick"])):re("",!0),li(F("div",Cf,[Be(e.$slots,"list",{},void 0,!0)],512),[[ta,!i.showDetails]]),i.showDetails?Be(e.$slots,"default",{key:1},void 0,!0):re("",!0)],2)):i.layout==="vertical-split"||i.layout==="horizontal-split"?(_(),O("div",wf,[L(c,{horizontal:i.layout==="horizontal-split",class:xe(["default-theme",{"splitpanes--horizontal":i.layout==="horizontal-split","splitpanes--vertical":i.layout==="vertical-split"}]),rtl:a.isRtl,onResized:o.handlePaneResize},{default:A(()=>[L(l,{class:"splitpanes__pane-list",size:r.listPaneSize||o.paneDefaults.list.size,minSize:o.paneDefaults.list.min,maxSize:o.paneDefaults.list.max},{default:A(()=>[Be(e.$slots,"list",{},void 0,!0)]),_:3},8,["size","minSize","maxSize"]),L(l,{class:"splitpanes__pane-details",size:o.detailsPaneSize,minSize:o.paneDefaults.details.min,maxSize:o.paneDefaults.details.max},{default:A(()=>[Be(e.$slots,"default",{},void 0,!0)]),_:3},8,["size","minSize","maxSize"])]),_:3},8,["horizontal","class","rtl","onResized"])])):re("",!0)],64)):re("",!0),e.$slots.list?re("",!0):Be(e.$slots,"default",{key:2},void 0,!0)],2)}const Sf=st(_f,[["render",Ef],["__scopeId","data-v-51427d61"]]),Bc=Symbol.for("NcContent:setHasAppNavigation"),kf=Symbol.for("NcContent:selector");Je(ch);const xf=` @@ -24,7 +24,7 @@ import{aR as Ga,d as He,as as va,X as ht,at as rc,c as W,ae as rr,aS as th,j as -`,If=` @@ -50,16 +50,16 @@ import{aR as Ga,d as He,as as va,X as ht,at as rc,c as W,ae as rr,aS as th,j as -`,Tf={class:"vue-skip-actions__container"},Nf={class:"vue-skip-actions__headline"},Of={class:"vue-skip-actions__buttons"},Af=He({__name:"NcContent",props:{appName:{}},setup(e){const n=e;$t(Bc,l),$t(kf,"#content-vue"),$t("appName",W(()=>n.appName));const i=fi(),a=ve(!1),r=ve(),o=W(()=>r.value==="navigation"?If:xf);uh(()=>{const c=document.getElementById("skip-actions");c&&(c.innerHTML="",c.classList.add("vue-skip-actions"))});function s(){kn("toggle-navigation",{open:!0}),pn(()=>{window.location.hash="app-navigation-vue",document.getElementById("app-navigation-vue").focus()})}function l(c){a.value=c,r.value||(r.value="navigation")}return(c,f)=>(_(),O("div",{id:"content-vue",class:xe(["content",[`app-${e.appName.toLowerCase()}`,{"content--legacy":v(qn)}]])},[(_(),Y(dh,{to:"#skip-actions"},[F("div",Tf,[F("div",Nf,Q(v(ze)("Keyboard navigation help")),1),F("div",Of,[li(L(Fe,{href:"#app-navigation-vue",variant:"tertiary",onClick:zt(s,["prevent"]),onFocusin:f[0]||(f[0]=g=>r.value="navigation"),onMouseover:f[1]||(f[1]=g=>r.value="navigation")},{default:A(()=>[Ne(Q(v(ze)("Skip to app navigation")),1)]),_:1},512),[[ta,a.value]]),L(Fe,{href:"#app-content-vue",variant:"tertiary",onFocusin:f[2]||(f[2]=g=>r.value="content"),onMouseover:f[3]||(f[3]=g=>r.value="content")},{default:A(()=>[Ne(Q(v(ze)("Skip to main content")),1)]),_:1})]),li(L(Re,{class:"vue-skip-actions__image",svg:o.value,size:"auto"},null,8,["svg"]),[[ta,!v(i)]])])])),Be(c.$slots,"default",{},void 0,!0)],2))}}),Mf=st(Af,[["__scopeId","data-v-d13dcb98"]]),ki=typeof document<"u";function $c(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Lf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&$c(e.default)}const et=Object.assign;function Ur(e,n){const i={};for(const a in n){const r=n[a];i[a]=sn(r)?r.map(e):e(r)}return i}const Ki=()=>{},sn=Array.isArray;function tl(e,n){const i={};for(const a in e)i[a]=a in n?n[a]:e[a];return i}const Hc=/#/g,Df=/&/g,Pf=/\//g,Rf=/=/g,jf=/\?/g,Uc=/\+/g,zf=/%5B/g,Vf=/%5D/g,Fc=/%5E/g,Bf=/%60/g,Xc=/%7B/g,$f=/%7C/g,qc=/%7D/g,Hf=/%20/g;function jo(e){return e==null?"":encodeURI(""+e).replace($f,"|").replace(zf,"[").replace(Vf,"]")}function Uf(e){return jo(e).replace(Xc,"{").replace(qc,"}").replace(Fc,"^")}function ro(e){return jo(e).replace(Uc,"%2B").replace(Hf,"+").replace(Hc,"%23").replace(Df,"%26").replace(Bf,"`").replace(Xc,"{").replace(qc,"}").replace(Fc,"^")}function Ff(e){return ro(e).replace(Rf,"%3D")}function Xf(e){return jo(e).replace(Hc,"%23").replace(jf,"%3F")}function qf(e){return Xf(e).replace(Pf,"%2F")}function ra(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Gf=/\/$/,Wf=e=>e.replace(Gf,"");function Fr(e,n,i="/"){let a,r={},o="",s="";const l=n.indexOf("#");let c=n.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(a=n.slice(0,c),o=n.slice(c,l>0?l:n.length),r=e(o.slice(1))),l>=0&&(a=a||n.slice(0,l),s=n.slice(l,n.length)),a=Zf(a??n,i),{fullPath:a+o+s,path:a,query:r,hash:ra(s)}}function Yf(e,n){const i=n.query?e(n.query):"";return n.path+(i&&"?")+i+(n.hash||"")}function nl(e,n){return!n||!e.toLowerCase().startsWith(n.toLowerCase())?e:e.slice(n.length)||"/"}function Kf(e,n,i){const a=n.matched.length-1,r=i.matched.length-1;return a>-1&&a===r&&Ni(n.matched[a],i.matched[r])&&Gc(n.params,i.params)&&e(n.query)===e(i.query)&&n.hash===i.hash}function Ni(e,n){return(e.aliasOf||e)===(n.aliasOf||n)}function Gc(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(var i in e)if(!Jf(e[i],n[i]))return!1;return!0}function Jf(e,n){return sn(e)?il(e,n):sn(n)?il(n,e):e?.valueOf()===n?.valueOf()}function il(e,n){return sn(n)?e.length===n.length&&e.every((i,a)=>i===n[a]):e.length===1&&e[0]===n}function Zf(e,n){if(e.startsWith("/"))return e;if(!e)return n;const i=n.split("/"),a=e.split("/"),r=a[a.length-1];(r===".."||r===".")&&a.push("");let o=i.length-1,s,l;for(s=0;s1&&o--;else break;return i.slice(0,o).join("/")+"/"+a.slice(s).join("/")}const Rn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let oo=(function(e){return e.pop="pop",e.push="push",e})({}),Xr=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Qf(e){if(!e)if(ki){const n=document.querySelector("base");e=n&&n.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Wf(e)}const e1=/^[^#]+#/;function t1(e,n){return e.replace(e1,"#")+n}function n1(e,n){const i=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:n.behavior,left:a.left-i.left-(n.left||0),top:a.top-i.top-(n.top||0)}}const cr=()=>({left:window.scrollX,top:window.scrollY});function i1(e){let n;if("el"in e){const i=e.el,a=typeof i=="string"&&i.startsWith("#"),r=typeof i=="string"?a?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!r)return;n=n1(r,e)}else n=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(n):window.scrollTo(n.left!=null?n.left:window.scrollX,n.top!=null?n.top:window.scrollY)}function al(e,n){return(history.state?history.state.position-n:-1)+e}const so=new Map;function a1(e,n){so.set(e,n)}function r1(e){const n=so.get(e);return so.delete(e),n}function o1(e){return typeof e=="string"||e&&typeof e=="object"}function Wc(e){return typeof e=="string"||typeof e=="symbol"}let pt=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Yc=Symbol("");pt.MATCHER_NOT_FOUND+"",pt.NAVIGATION_GUARD_REDIRECT+"",pt.NAVIGATION_ABORTED+"",pt.NAVIGATION_CANCELLED+"",pt.NAVIGATION_DUPLICATED+"";function Oi(e,n){return et(new Error,{type:e,[Yc]:!0},n)}function yn(e,n){return e instanceof Error&&Yc in e&&(n==null||!!(e.type&n))}function s1(e){const n={};if(e===""||e==="?")return n;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;ar&&ro(r)):[a&&ro(a)]).forEach(r=>{r!==void 0&&(n+=(n.length?"&":"")+i,r!=null&&(n+="="+r))})}return n}function l1(e){const n={};for(const i in e){const a=e[i];a!==void 0&&(n[i]=sn(a)?a.map(r=>r==null?null:""+r):a==null?a:""+a)}return n}const c1=Symbol(""),ol=Symbol(""),ur=Symbol(""),zo=Symbol(""),lo=Symbol("");function Xi(){let e=[];function n(a){return e.push(a),()=>{const r=e.indexOf(a);r>-1&&e.splice(r,1)}}function i(){e=[]}return{add:n,list:()=>e.slice(),reset:i}}function Vn(e,n,i,a,r,o=s=>s()){const s=a&&(a.enterCallbacks[r]=a.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const f=y=>{y===!1?c(Oi(pt.NAVIGATION_ABORTED,{from:i,to:n})):y instanceof Error?c(y):o1(y)?c(Oi(pt.NAVIGATION_GUARD_REDIRECT,{from:n,to:y})):(s&&a.enterCallbacks[r]===s&&typeof y=="function"&&s.push(y),l())},g=o(()=>e.call(a&&a.instances[r],n,i,f));let d=Promise.resolve(g);e.length<3&&(d=d.then(f)),d.catch(y=>c(y))})}function qr(e,n,i,a,r=o=>o()){const o=[];for(const s of e)for(const l in s.components){let c=s.components[l];if(!(n!=="beforeRouteEnter"&&!s.instances[l]))if($c(c)){const f=(c.__vccOpts||c)[n];f&&o.push(Vn(f,i,a,s,l,r))}else{let f=c();o.push(()=>f.then(g=>{if(!g)throw new Error(`Couldn't resolve component "${l}" at "${s.path}"`);const d=Lf(g)?g.default:g;s.mods[l]=g,s.components[l]=d;const y=(d.__vccOpts||d)[n];return y&&Vn(y,i,a,s,l,r)()}))}}return o}function u1(e,n){const i=[],a=[],r=[],o=Math.max(n.matched.length,e.matched.length);for(let s=0;sNi(f,l))?a.push(l):i.push(l));const c=e.matched[s];c&&(n.matched.find(f=>Ni(f,c))||r.push(c))}return[i,a,r]}let d1=()=>location.protocol+"//"+location.host;function Kc(e,n){const{pathname:i,search:a,hash:r}=n,o=e.indexOf("#");if(o>-1){let s=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(s);return l[0]!=="/"&&(l="/"+l),nl(l,"")}return nl(i,e)+a+r}function h1(e,n,i,a){let r=[],o=[],s=null;const l=({state:y})=>{const b=Kc(e,location),x=i.value,T=n.value;let P=0;if(y){if(i.value=b,n.value=y,s&&s===x){s=null;return}P=T?y.position-T.position:0}else a(b);r.forEach(z=>{z(i.value,x,{delta:P,type:oo.pop,direction:P?P>0?Xr.forward:Xr.back:Xr.unknown})})};function c(){s=i.value}function f(y){r.push(y);const b=()=>{const x=r.indexOf(y);x>-1&&r.splice(x,1)};return o.push(b),b}function g(){if(document.visibilityState==="hidden"){const{history:y}=window;if(!y.state)return;y.replaceState(et({},y.state,{scroll:cr()}),"")}}function d(){for(const y of o)y();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",g),document.removeEventListener("visibilitychange",g)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",g),document.addEventListener("visibilitychange",g),{pauseListeners:c,listen:f,destroy:d}}function sl(e,n,i,a=!1,r=!1){return{back:e,current:n,forward:i,replaced:a,position:window.history.length,scroll:r?cr():null}}function p1(e){const{history:n,location:i}=window,a={value:Kc(e,i)},r={value:n.state};r.value||o(a.value,{back:null,current:a.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function o(c,f,g){const d=e.indexOf("#"),y=d>-1?(i.host&&document.querySelector("base")?e:e.slice(d))+c:d1()+e+c;try{n[g?"replaceState":"pushState"](f,"",y),r.value=f}catch(b){console.error(b),i[g?"replace":"assign"](y)}}function s(c,f){o(c,et({},n.state,sl(r.value.back,c,r.value.forward,!0),f,{position:r.value.position}),!0),a.value=c}function l(c,f){const g=et({},r.value,n.state,{forward:c,scroll:cr()});o(g.current,g,!0),o(c,et({},sl(a.value,c,null),{position:g.position+1},f),!1),a.value=c}return{location:a,state:r,push:l,replace:s}}function m1(e){e=Qf(e);const n=p1(e),i=h1(e,n.state,n.location,n.replace);function a(o,s=!0){s||i.pauseListeners(),history.go(o)}const r=et({location:"",base:e,go:a,createHref:t1.bind(null,e)},n,i);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>n.state.value}),r}let ai=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var kt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(kt||{});const f1={type:ai.Static,value:""},v1=/[a-zA-Z0-9_]/;function g1(e){if(!e)return[[]];if(e==="/")return[[f1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function n(b){throw new Error(`ERR (${i})/"${f}": ${b}`)}let i=kt.Static,a=i;const r=[];let o;function s(){o&&r.push(o),o=[]}let l=0,c,f="",g="";function d(){f&&(i===kt.Static?o.push({type:ai.Static,value:f}):i===kt.Param||i===kt.ParamRegExp||i===kt.ParamRegExpEnd?(o.length>1&&(c==="*"||c==="+")&&n(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:ai.Param,value:f,regexp:g,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):n("Invalid state to consume buffer"),f="")}function y(){f+=c}for(;ln.length?n.length===1&&n[0]===Bt.Static+Bt.Segment?1:-1:0}function Jc(e,n){let i=0;const a=e.score,r=n.score;for(;i0&&n[n.length-1]<0}const w1={strict:!1,end:!0,sensitive:!1};function E1(e,n,i){const a=b1(g1(e.path),i),r=et(a,{record:e,parent:n,children:[],alias:[]});return n&&!r.record.aliasOf==!n.record.aliasOf&&n.children.push(r),r}function S1(e,n){const i=[],a=new Map;n=tl(w1,n);function r(d){return a.get(d)}function o(d,y,b){const x=!b,T=dl(d);T.aliasOf=b&&b.record;const P=tl(n,d),z=[T];if("alias"in d){const de=typeof d.alias=="string"?[d.alias]:d.alias;for(const X of de)z.push(dl(et({},T,{components:b?b.record.components:T.components,path:X,aliasOf:b?b.record:T})))}let R,K;for(const de of z){const{path:X}=de;if(y&&X[0]!=="/"){const he=y.record.path,le=he[he.length-1]==="/"?"":"/";de.path=y.record.path+(X&&le+X)}if(R=E1(de,y,P),b?b.alias.push(R):(K=K||R,K!==R&&K.alias.push(R),x&&d.name&&!hl(R)&&s(d.name)),Zc(R)&&c(R),T.children){const he=T.children;for(let le=0;le{s(K)}:Ki}function s(d){if(Wc(d)){const y=a.get(d);y&&(a.delete(d),i.splice(i.indexOf(y),1),y.children.forEach(s),y.alias.forEach(s))}else{const y=i.indexOf(d);y>-1&&(i.splice(y,1),d.record.name&&a.delete(d.record.name),d.children.forEach(s),d.alias.forEach(s))}}function l(){return i}function c(d){const y=I1(d,i);i.splice(y,0,d),d.record.name&&!hl(d)&&a.set(d.record.name,d)}function f(d,y){let b,x={},T,P;if("name"in d&&d.name){if(b=a.get(d.name),!b)throw Oi(pt.MATCHER_NOT_FOUND,{location:d});P=b.record.name,x=et(ul(y.params,b.keys.filter(K=>!K.optional).concat(b.parent?b.parent.keys.filter(K=>K.optional):[]).map(K=>K.name)),d.params&&ul(d.params,b.keys.map(K=>K.name))),T=b.stringify(x)}else if(d.path!=null)T=d.path,b=i.find(K=>K.re.test(T)),b&&(x=b.parse(T),P=b.record.name);else{if(b=y.name?a.get(y.name):i.find(K=>K.re.test(y.path)),!b)throw Oi(pt.MATCHER_NOT_FOUND,{location:d,currentLocation:y});P=b.record.name,x=et({},y.params,d.params),T=b.stringify(x)}const z=[];let R=b;for(;R;)z.unshift(R.record),R=R.parent;return{name:P,path:T,params:x,matched:z,meta:x1(z)}}e.forEach(d=>o(d));function g(){i.length=0,a.clear()}return{addRoute:o,resolve:f,removeRoute:s,clearRoutes:g,getRoutes:l,getRecordMatcher:r}}function ul(e,n){const i={};for(const a of n)a in e&&(i[a]=e[a]);return i}function dl(e){const n={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:k1(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(n,"mods",{value:{}}),n}function k1(e){const n={},i=e.props||!1;if("component"in e)n.default=i;else for(const a in e.components)n[a]=typeof i=="object"?i[a]:i;return n}function hl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function x1(e){return e.reduce((n,i)=>et(n,i.meta),{})}function I1(e,n){let i=0,a=n.length;for(;i!==a;){const o=i+a>>1;Jc(e,n[o])<0?a=o:i=o+1}const r=T1(e);return r&&(a=n.lastIndexOf(r,a-1)),a}function T1(e){let n=e;for(;n=n.parent;)if(Zc(n)&&Jc(e,n)===0)return n}function Zc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function pl(e){const n=ht(ur),i=ht(zo),a=W(()=>{const c=v(e.to);return n.resolve(c)}),r=W(()=>{const{matched:c}=a.value,{length:f}=c,g=c[f-1],d=i.matched;if(!g||!d.length)return-1;const y=d.findIndex(Ni.bind(null,g));if(y>-1)return y;const b=ml(c[f-2]);return f>1&&ml(g)===b&&d[d.length-1].path!==b?d.findIndex(Ni.bind(null,c[f-2])):y}),o=W(()=>r.value>-1&&L1(i.params,a.value.params)),s=W(()=>r.value>-1&&r.value===i.matched.length-1&&Gc(i.params,a.value.params));function l(c={}){if(M1(c)){const f=n[v(e.replace)?"replace":"push"](v(e.to)).catch(Ki);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:a,href:W(()=>a.value.href),isActive:o,isExactActive:s,navigate:l}}function N1(e){return e.length===1?e[0]:e}const O1=He({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:pl,setup(e,{slots:n}){const i=va(pl(e)),{options:a}=ht(ur),r=W(()=>({[fl(e.activeClass,a.linkActiveClass,"router-link-active")]:i.isActive,[fl(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const o=n.default&&N1(n.default(i));return e.custom?o:rr("a",{"aria-current":i.isExactActive?e.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:r.value},o)}}}),A1=O1;function M1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const n=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return e.preventDefault&&e.preventDefault(),!0}}function L1(e,n){for(const i in n){const a=n[i],r=e[i];if(typeof a=="string"){if(a!==r)return!1}else if(!sn(r)||r.length!==a.length||a.some((o,s)=>o.valueOf()!==r[s].valueOf()))return!1}return!0}function ml(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fl=(e,n,i)=>e??n??i,D1=He({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:n,slots:i}){const a=ht(lo),r=W(()=>e.route||a.value),o=ht(ol,0),s=W(()=>{let f=v(o);const{matched:g}=r.value;let d;for(;(d=g[f])&&!d.components;)f++;return f}),l=W(()=>r.value.matched[s.value]);$t(ol,W(()=>s.value+1)),$t(c1,l),$t(lo,r);const c=ve();return Ze(()=>[c.value,l.value,e.name],([f,g,d],[y,b,x])=>{g&&(g.instances[d]=f,b&&b!==g&&f&&f===y&&(g.leaveGuards.size||(g.leaveGuards=b.leaveGuards),g.updateGuards.size||(g.updateGuards=b.updateGuards))),f&&g&&(!b||!Ni(g,b)||!y)&&(g.enterCallbacks[d]||[]).forEach(T=>T(f))},{flush:"post"}),()=>{const f=r.value,g=e.name,d=l.value,y=d&&d.components[g];if(!y)return vl(i.default,{Component:y,route:f});const b=d.props[g],x=b?b===!0?f.params:typeof b=="function"?b(f):b:null,T=rr(y,et({},x,n,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(d.instances[g]=null)},ref:c}));return vl(i.default,{Component:T,route:f})||T}}});function vl(e,n){if(!e)return null;const i=e(n);return i.length===1?i[0]:i}const P1=D1;function R1(e){const n=S1(e.routes,e),i=e.parseQuery||s1,a=e.stringifyQuery||rl,r=e.history,o=Xi(),s=Xi(),l=Xi(),c=hh(Rn);let f=Rn;ki&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const g=Ur.bind(null,S=>""+S),d=Ur.bind(null,qf),y=Ur.bind(null,ra);function b(S,D){let j,V;return Wc(S)?(j=n.getRecordMatcher(S),V=D):V=S,n.addRoute(V,j)}function x(S){const D=n.getRecordMatcher(S);D&&n.removeRoute(D)}function T(){return n.getRoutes().map(S=>S.record)}function P(S){return!!n.getRecordMatcher(S)}function z(S,D){if(D=et({},D||c.value),typeof S=="string"){const Se=Fr(i,S,D.path),Ve=n.resolve({path:Se.path},D),_e=r.createHref(Se.fullPath);return et(Se,Ve,{params:y(Ve.params),hash:ra(Se.hash),redirectedFrom:void 0,href:_e})}let j;if(S.path!=null)j=et({},S,{path:Fr(i,S.path,D.path).path});else{const Se=et({},S.params);for(const Ve in Se)Se[Ve]==null&&delete Se[Ve];j=et({},S,{params:d(Se)}),D.params=d(D.params)}const V=n.resolve(j,D),J=S.hash||"";V.params=g(y(V.params));const be=Yf(a,et({},S,{hash:Uf(J),path:V.path})),ye=r.createHref(be);return et({fullPath:be,hash:J,query:a===rl?l1(S.query):S.query||{}},V,{redirectedFrom:void 0,href:ye})}function R(S){return typeof S=="string"?Fr(i,S,c.value.path):et({},S)}function K(S,D){if(f!==S)return Oi(pt.NAVIGATION_CANCELLED,{from:D,to:S})}function de(S){return le(S)}function X(S){return de(et(R(S),{replace:!0}))}function he(S,D){const j=S.matched[S.matched.length-1];if(j&&j.redirect){const{redirect:V}=j;let J=typeof V=="function"?V(S,D):V;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=R(J):{path:J},J.params={}),et({query:S.query,hash:S.hash,params:J.path!=null?{}:S.params},J)}}function le(S,D){const j=f=z(S),V=c.value,J=S.state,be=S.force,ye=S.replace===!0,Se=he(j,V);if(Se)return le(et(R(Se),{state:typeof Se=="object"?et({},J,Se.state):J,force:be,replace:ye}),D||j);const Ve=j;Ve.redirectedFrom=D;let _e;return!be&&Kf(a,V,j)&&(_e=Oi(pt.NAVIGATION_DUPLICATED,{to:Ve,from:V}),nt(V,V,!0,!1)),(_e?Promise.resolve(_e):ce(Ve,V)).catch(ue=>yn(ue)?yn(ue,pt.NAVIGATION_GUARD_REDIRECT)?ue:Oe(ue):Ce(ue,Ve,V)).then(ue=>{if(ue){if(yn(ue,pt.NAVIGATION_GUARD_REDIRECT))return le(et({replace:ye},R(ue.to),{state:typeof ue.to=="object"?et({},J,ue.to.state):J,force:be}),D||Ve)}else ue=fe(Ve,V,!0,ye,J);return we(Ve,V,ue),ue})}function ee(S,D){const j=K(S,D);return j?Promise.reject(j):Promise.resolve()}function te(S){const D=De.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(S):S()}function ce(S,D){let j;const[V,J,be]=u1(S,D);j=qr(V.reverse(),"beforeRouteLeave",S,D);for(const Se of V)Se.leaveGuards.forEach(Ve=>{j.push(Vn(Ve,S,D))});const ye=ee.bind(null,S,D);return j.push(ye),dt(j).then(()=>{j=[];for(const Se of o.list())j.push(Vn(Se,S,D));return j.push(ye),dt(j)}).then(()=>{j=qr(J,"beforeRouteUpdate",S,D);for(const Se of J)Se.updateGuards.forEach(Ve=>{j.push(Vn(Ve,S,D))});return j.push(ye),dt(j)}).then(()=>{j=[];for(const Se of be)if(Se.beforeEnter)if(sn(Se.beforeEnter))for(const Ve of Se.beforeEnter)j.push(Vn(Ve,S,D));else j.push(Vn(Se.beforeEnter,S,D));return j.push(ye),dt(j)}).then(()=>(S.matched.forEach(Se=>Se.enterCallbacks={}),j=qr(be,"beforeRouteEnter",S,D,te),j.push(ye),dt(j))).then(()=>{j=[];for(const Se of s.list())j.push(Vn(Se,S,D));return j.push(ye),dt(j)}).catch(Se=>yn(Se,pt.NAVIGATION_CANCELLED)?Se:Promise.reject(Se))}function we(S,D,j){l.list().forEach(V=>te(()=>V(S,D,j)))}function fe(S,D,j,V,J){const be=K(S,D);if(be)return be;const ye=D===Rn,Se=ki?history.state:{};j&&(V||ye?r.replace(S.fullPath,et({scroll:ye&&Se&&Se.scroll},J)):r.push(S.fullPath,J)),c.value=S,nt(S,D,j,ye),Oe()}let ae;function H(){ae||(ae=r.listen((S,D,j)=>{if(!Te.listening)return;const V=z(S),J=he(V,Te.currentRoute.value);if(J){le(et(J,{replace:!0,force:!0}),V).catch(Ki);return}f=V;const be=c.value;ki&&a1(al(be.fullPath,j.delta),cr()),ce(V,be).catch(ye=>yn(ye,pt.NAVIGATION_ABORTED|pt.NAVIGATION_CANCELLED)?ye:yn(ye,pt.NAVIGATION_GUARD_REDIRECT)?(le(et(R(ye.to),{force:!0}),V).then(Se=>{yn(Se,pt.NAVIGATION_ABORTED|pt.NAVIGATION_DUPLICATED)&&!j.delta&&j.type===oo.pop&&r.go(-1,!1)}).catch(Ki),Promise.reject()):(j.delta&&r.go(-j.delta,!1),Ce(ye,V,be))).then(ye=>{ye=ye||fe(V,be,!1),ye&&(j.delta&&!yn(ye,pt.NAVIGATION_CANCELLED)?r.go(-j.delta,!1):j.type===oo.pop&&yn(ye,pt.NAVIGATION_ABORTED|pt.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),we(V,be,ye)}).catch(Ki)}))}let U=Xi(),M=Xi(),ne;function Ce(S,D,j){Oe(S);const V=M.list();return V.length?V.forEach(J=>J(S,D,j)):console.error(S),Promise.reject(S)}function Ee(){return ne&&c.value!==Rn?Promise.resolve():new Promise((S,D)=>{U.add([S,D])})}function Oe(S){return ne||(ne=!S,H(),U.list().forEach(([D,j])=>S?j(S):D()),U.reset()),S}function nt(S,D,j,V){const{scrollBehavior:J}=e;if(!ki||!J)return Promise.resolve();const be=!j&&r1(al(S.fullPath,0))||(V||!j)&&history.state&&history.state.scroll||null;return pn().then(()=>J(S,D,be)).then(ye=>ye&&i1(ye)).catch(ye=>Ce(ye,S,D))}const lt=S=>r.go(S);let Me;const De=new Set,Te={currentRoute:c,listening:!0,addRoute:b,removeRoute:x,clearRoutes:n.clearRoutes,hasRoute:P,getRoutes:T,resolve:z,options:e,push:de,replace:X,go:lt,back:()=>lt(-1),forward:()=>lt(1),beforeEach:o.add,beforeResolve:s.add,afterEach:l.add,onError:M.add,isReady:Ee,install(S){S.component("RouterLink",A1),S.component("RouterView",P1),S.config.globalProperties.$router=Te,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>v(c)}),ki&&!Me&&c.value===Rn&&(Me=!0,de(r.location).catch(V=>{}));const D={};for(const V in Rn)Object.defineProperty(D,V,{get:()=>c.value[V],enumerable:!0});S.provide(ur,Te),S.provide(zo,ph(D)),S.provide(lo,c);const j=S.unmount;De.add(S),S.unmount=function(){De.delete(S),De.size<1&&(f=Rn,ae&&ae(),ae=null,c.value=Rn,Me=!1,ne=!1),j()}}};function dt(S){return S.reduce((D,j)=>D.then(()=>te(j)),Promise.resolve())}return Te}function zi(){return ht(ur)}function Qc(e){return ht(zo)}Je(lc);const j1={key:0,class:"nc-chip__icon"},z1={class:"nc-chip__text"},V1=He({__name:"NcChip",props:{ariaLabelClose:{default:ze("Close")},actionsContainer:{default:"body"},text:{default:""},iconPath:{default:void 0},iconSvg:{default:void 0},noClose:{type:Boolean},variant:{default:"secondary"}},emits:["close"],setup(e,{emit:n}){const i=e,a=n,r=Io(),o=W(()=>!i.noClose),s=()=>!!r.actions,l=()=>!!(i.iconPath||i.iconSvg||r.icon);return(c,f)=>(_(),O("div",{class:xe(["nc-chip",{[`nc-chip--${e.variant}`]:!0,"nc-chip--no-actions":e.noClose&&!s(),"nc-chip--no-icon":!l()}])},[l()?(_(),O("span",j1,[Be(c.$slots,"icon",{},()=>[e.iconPath||e.iconSvg?(_(),Y(Re,{key:0,inline:"",path:e.iconPath,svg:e.iconPath?void 0:e.iconSvg,size:18},null,8,["path","svg"])):re("",!0)],!0)])):re("",!0),F("span",z1,[Be(c.$slots,"default",{},()=>[Ne(Q(e.text),1)],!0)]),o.value||s()?(_(),Y(xn,{key:1,class:"nc-chip__actions",container:e.actionsContainer,forceMenu:!o.value,variant:"tertiary-no-background"},{default:A(()=>[o.value?(_(),Y(In,{key:0,closeAfterClick:"",onClick:f[0]||(f[0]=g=>a("close"))},{icon:A(()=>[L(Re,{path:v(up),size:20},null,8,["path"])]),default:A(()=>[Ne(" "+Q(e.ariaLabelClose),1)]),_:1})):re("",!0),Be(c.$slots,"actions",{},void 0,!0)]),_:3},8,["container","forceMenu"])):re("",!0)],2))}}),B1=st(V1,[["__scopeId","data-v-8f5d3c40"]]),$1=["title"],H1=He({__name:"NcCounterBubble",props:{count:{},active:{type:Boolean},type:{default:""},raw:{type:Boolean}},setup(e){const n=e,i=W(()=>n.raw?n.count.toString():new Intl.NumberFormat(mh(),{notation:"compact",compactDisplay:"short"}).format(n.count)),a=W(()=>{if(n.raw)return;const r=n.count.toString();if(r!==i.value)return r});return(r,o)=>(_(),O("div",{class:xe(["counter-bubble__counter",{active:e.active,"counter-bubble__counter--highlighted":e.type==="highlighted","counter-bubble__counter--outlined":e.type==="outlined"}]),title:a.value},Q(i.value),11,$1))}}),U1=st(H1,[["__scopeId","data-v-36ffc13f"]]),Vo=He({name:"NcVNodes",props:{vnodes:{type:[Array,Object],default:null}},render(){return this.vnodes||this.$slots?.default?.({})}}),F1={name:"NcListItem",components:{NcActions:xn,NcCounterBubble:U1,NcVNodes:Vo},inheritAttrs:!1,props:{details:{type:String,default:""},name:{type:String,default:void 0},to:{type:[String,Object],default:null},href:{type:String,default:"#"},target:{type:String,default:""},anchorId:{type:String,default:""},bold:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},active:{type:Boolean,default:void 0},linkAriaLabel:{type:String,default:""},actionsAriaLabel:{type:String,default:void 0},counterNumber:{type:[Number,String],default:0},counterType:{type:String,default:"",validator(e){return["highlighted","outlined",""].indexOf(e)!==-1}},forceDisplayActions:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},oneLine:{type:Boolean,default:!1}},emits:["click","dragstart","update:menuOpen"],setup(){return{isLegacy34:qn}},data(){return{hovered:!1,hasActions:!1,hasSubname:!1,displayActionsOnHoverFocus:!1,menuOpen:!1,hasIndicator:!1,hasDetails:!1}},computed:{showAdditionalElements(){return!this.displayActionsOnHoverFocus||this.forceDisplayActions},showDetails(){return(this.details!==""||this.hasDetails)&&(!this.displayActionsOnHoverFocus||this.forceDisplayActions)}},watch:{menuOpen(e){!e&&!this.hovered&&(this.displayActionsOnHoverFocus=!1)}},mounted(){this.checkSlots()},updated(){this.checkSlots()},methods:{onClick(e,n,i){this.$emit("click",e),!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&i&&(n?.(e),e.preventDefault())},showActions(){this.hasActions&&(this.displayActionsOnHoverFocus=!0),this.hovered=!1},hideActions(){this.displayActionsOnHoverFocus=!1},handleBlur(e){this.menuOpen||this.$refs["list-item"]?.contains(e.relatedTarget)||this.hideActions()},handleMouseleave(){this.menuOpen||(this.displayActionsOnHoverFocus=!1),this.hovered=!1},handleMouseover(){this.showActions(),this.hovered=!0},handleActionsUpdateOpen(e){this.menuOpen=e,this.$emit("update:menuOpen",e)},checkSlots(){this.hasActions!==!!this.$slots.actions&&(this.hasActions=!!this.$slots.actions),this.hasSubname!==!!this.$slots.subname&&(this.hasSubname=!!this.$slots.subname),this.hasIndicator!==!!this.$slots.indicator&&(this.hasIndicator=!!this.$slots.indicator),this.hasDetails!==!!this.$slots.details&&(this.hasDetails=!!this.$slots.details)}}},X1=["id","aria-label","href","target","rel","onClick"],q1={class:"list-item-content"},G1={class:"list-item-content__main"},W1={class:"list-item-content__name"},Y1={class:"list-item-content__details"},K1={key:0,class:"list-item-details__details"},J1={key:1,class:"list-item-details__extra"},Z1={key:1,class:"list-item-details__indicator"},Q1={key:0,class:"list-item-content__extra-actions"},e0={key:2,class:"list-item__extra"};function t0(e,n,i,a,r,o){const s=Ae("NcCounterBubble"),l=Ae("NcActions");return _(),Y(Xn(i.to?"router-link":"NcVNodes"),To(No({...i.to&&{custom:!0,to:i.to}})),{default:A(({href:c,navigate:f,isActive:g})=>[F("li",ut({class:["list-item__wrapper",{"list-item__wrapper--active":i.active??g,"list-item__wrapper--legacy":a.isLegacy34}]},e.$attrs),[F("div",{ref:"list-item",class:xe(["list-item",{"list-item--compact":i.compact,"list-item--one-line":i.oneLine}]),onMouseover:n[5]||(n[5]=(...d)=>o.handleMouseover&&o.handleMouseover(...d)),onMouseleave:n[6]||(n[6]=(...d)=>o.handleMouseleave&&o.handleMouseleave(...d))},[F("a",{id:i.anchorId||void 0,"aria-label":i.linkAriaLabel,class:"list-item__anchor",href:c||i.href,target:i.target||(i.href==="#"?void 0:"_blank"),rel:i.href==="#"?void 0:"noopener noreferrer",onFocus:n[0]||(n[0]=(...d)=>o.showActions&&o.showActions(...d)),onFocusout:n[1]||(n[1]=(...d)=>o.handleBlur&&o.handleBlur(...d)),onClick:d=>o.onClick(d,f,c),onDragstart:n[2]||(n[2]=d=>e.$emit("dragstart",d)),onKeydown:n[3]||(n[3]=mn((...d)=>o.hideActions&&o.hideActions(...d),["esc"]))},[Be(e.$slots,"icon",{},void 0,!0),F("div",q1,[F("div",G1,[F("div",W1,[Be(e.$slots,"name",{},()=>[Ne(Q(i.name),1)],!0)]),r.hasSubname?(_(),O("div",{key:0,class:xe(["list-item-content__subname",{"list-item-content__subname--bold":i.bold}])},[Be(e.$slots,"subname",{},void 0,!0)],2)):re("",!0)]),F("div",Y1,[o.showDetails?(_(),O("div",K1,[Be(e.$slots,"details",{},()=>[Ne(Q(i.details),1)],!0)])):re("",!0),i.counterNumber!==0||r.hasIndicator?li((_(),O("div",J1,[i.counterNumber!==0?(_(),Y(s,{key:0,count:i.counterNumber,active:a.isLegacy34?i.active??g:!1,class:"list-item-details__counter",type:i.counterType},null,8,["count","active","type"])):re("",!0),r.hasIndicator?(_(),O("span",Z1,[Be(e.$slots,"indicator",{},void 0,!0)])):re("",!0)],512)),[[ta,o.showAdditionalElements]]):re("",!0)])])],40,X1),e.$slots["extra-actions"]?(_(),O("div",Q1,[Be(e.$slots,"extra-actions",{},void 0,!0)])):re("",!0),i.forceDisplayActions||r.displayActionsOnHoverFocus?(_(),O("div",{key:1,class:"list-item-content__actions",onFocusout:n[4]||(n[4]=(...d)=>o.handleBlur&&o.handleBlur(...d))},[L(l,{ref:"actions",primary:a.isLegacy34?i.active??g:!1,forceMenu:i.forceMenu,"aria-label":i.actionsAriaLabel,"onUpdate:open":o.handleActionsUpdateOpen},na({default:A(()=>[Be(e.$slots,"actions",{},void 0,!0)]),_:2},[e.$slots["actions-icon"]?{name:"icon",fn:A(()=>[Be(e.$slots,"actions-icon",{},void 0,!0)]),key:"0"}:void 0]),1032,["primary","forceMenu","aria-label","onUpdate:open"])],32)):re("",!0),e.$slots.extra?(_(),O("div",e0,[Be(e.$slots,"extra",{},void 0,!0)])):re("",!0)],34)],16)]),_:3},16)}const Bo=st(F1,[["render",t0],["__scopeId","data-v-0e705f5a"]]),vi=Dc("teams",{state:()=>({teams:[],loading:!1,loadError:!1,createWizardOpen:!1}),getters:{getTeam:e=>n=>e.teams.find(i=>i.id===n),searchTeams:e=>n=>{const i=n.trim().toLowerCase();return i?e.teams.filter(a=>a.displayName.toLowerCase().includes(i)):e.teams}},actions:{openCreateTeamWizard(){this.createWizardOpen=!0},async loadTeams(){this.loading=!0,this.loadError=!1;try{this.teams=await cm()}catch(e){this.loadError=!0,Ie.error("Failed to load teams",{error:e})}finally{this.loading=!1}},fetchTeamMembers(e){return lm(e)},async createTeam(e,n=!0,i=""){const a=await om(e.trim(),n),r=i.trim();if(r)try{await sm(a,r)}catch(o){Ie.warn("Failed to set team description",{error:o})}return await this.loadTeams(),this.getTeam(a)},searchMemberCandidates(e){return rm(e)},addTeamMembers(e,n){return am(e,n)},async leaveTeam(e){await im(e),await this.loadTeams()},async deleteTeam(e){await nm(e),await this.loadTeams()}}}),n0={class:"team-wizard"},i0={key:0,class:"team-wizard__step"},a0={key:0,class:"team-wizard__advanced"},r0={key:0,class:"team-wizard__advanced-body"},o0={class:"team-wizard__hint"},s0={key:1,class:"team-wizard__step"},l0={key:0,class:"team-wizard__selection"},c0={key:3,class:"team-wizard__results"},u0={class:"team-wizard__caption"},d0={class:"team-wizard__result-list"},gl=3,h0=He({__name:"TeamCreationWizard",emits:["close"],setup(e,{emit:n}){const i=n,a=zi(),r=vi(),o=ve(!0),s=ve("name"),l=ve(!1);Ze(o,U=>{U||i("close")});const c=ve(""),f=ve(!1),g=W(()=>c.value.trim().length>=gl),d=W(()=>!f.value||g.value?"":c.value.trim().length===0?I("circles","Please enter a team name"):I("circles","The team name must be at least {min} characters long",{min:gl})),y=!!ea("circles","teamFolderProvisioningEnabled",!0),b=ve(!0),x=ve(!1),T=ve(""),P=ve(!1),z=ve([]),R=ve(new Map),K=W(()=>Array.from(R.value.values()));let de;function X(U){clearTimeout(de),de=setTimeout(async()=>{P.value=!0;try{z.value=await r.searchMemberCandidates(U)}catch(M){Ie.error("Failed to search for members",{error:M})}finally{P.value=!1}},300)}Ze(T,U=>X(U));function he(U){const M=new Map(R.value);M.has(U.key)?M.delete(U.key):M.set(U.key,U),R.value=M}function le(){T.value=""}function ee(U){switch(U){case 0:return I("circles","Add users");case 1:return I("circles","Add groups");case 4:return I("circles","Add emails");case 7:return I("circles","Add teams");default:return I("circles","Other")}}const te=W(()=>{const U=[];for(const M of z.value){if(R.value.has(M.key))continue;const ne=ee(M.shareType);let Ce=U.find(Ee=>Ee.caption===ne);Ce||(Ce={caption:ne,items:[]},U.push(Ce)),Ce.items.push(M)}return U});function ce(){return g.value?(s.value="members",X(T.value),!1):(f.value=!0,!1)}function we(){return s.value="name",!1}async function fe(){if(!g.value||l.value)return!1;l.value=!0;try{const U=await r.createTeam(c.value,b.value);if(!U)throw new Error("Team creation did not return a team");if(K.value.length>0)try{await r.addTeamMembers(U.id,K.value){const U={label:I("circles","Cancel"),disabled:l.value};return s.value==="name"?[U,{label:I("circles","Next"),type:"submit",variant:"primary",callback:ce}]:[{label:I("circles","Back"),disabled:l.value,callback:we},U,{label:I("circles","Create team"),type:"submit",variant:"primary",callback:fe}]});function H(){s.value==="name"?ce():fe()}return(U,M)=>(_(),Y(v(sr),{open:o.value,"onUpdate:open":M[5]||(M[5]=ne=>o.value=ne),isForm:"",size:"normal",name:v(I)("circles","Create a new team"),buttons:ae.value,onSubmit:H},{default:A(()=>[F("div",n0,[s.value==="name"?(_(),O("section",i0,[F("h3",null,Q(v(I)("circles","Name your team")),1),L(v(Gn),{modelValue:c.value,"onUpdate:modelValue":M[0]||(M[0]=ne=>c.value=ne),label:v(I)("circles","Team name"),error:!!d.value,helperText:d.value,placeholder:v(I)("circles","e.g. Design")},null,8,["modelValue","label","error","helperText","placeholder"]),v(y)?(_(),O("div",a0,[L(v(Fe),{variant:"tertiary","aria-expanded":x.value?"true":"false",onClick:M[1]||(M[1]=ne=>x.value=!x.value)},{icon:A(()=>[L(v(Re),{path:x.value?v(Cc):v(dp),size:20},null,8,["path"])]),default:A(()=>[Ne(" "+Q(v(I)("circles","Advanced")),1)]),_:1},8,["aria-expanded"]),x.value?(_(),O("div",r0,[L(v(em),{modelValue:b.value,"onUpdate:modelValue":M[2]||(M[2]=ne=>b.value=ne)},{default:A(()=>[Ne(Q(v(I)("circles","Create a team space")),1)]),_:1},8,["modelValue"]),F("p",o0,Q(v(I)("circles","A shared folder for this team. You can also add one later from the team page.")),1)])):re("",!0)])):re("",!0)])):s.value==="members"?(_(),O("section",s0,[F("h3",null,Q(v(I)("circles","Add initial members")),1),L(v(Gn),{modelValue:T.value,"onUpdate:modelValue":M[3]||(M[3]=ne=>T.value=ne),label:v(I)("circles","Search people, groups, teams…"),showTrailingButton:T.value!=="",trailingButtonLabel:v(I)("circles","Cancel search"),onTrailingButtonClick:le,onKeydown:M[4]||(M[4]=mn(zt(()=>{},["prevent"]),["enter"]))},{icon:A(()=>[L(v(Re),{path:v(Wa),size:20},null,8,["path"])]),"trailing-button-icon":A(()=>[L(v(Re),{path:v(hp),size:20},null,8,["path"])]),_:1},8,["modelValue","label","showTrailingButton","trailingButtonLabel"]),K.value.length>0?(_(),O("div",l0,[(_(!0),O(at,null,xt(K.value,ne=>(_(),Y(v(B1),{key:ne.key,text:ne.displayName,ariaLabelClose:v(I)("circles","Remove {name}",{name:ne.displayName}),onClose:Ce=>he(ne)},{icon:A(()=>[L(v(ci),{user:ne.isUser?ne.shareWith:void 0,displayName:ne.displayName,isNoUser:!ne.isUser,size:24,disableMenu:"",hideStatus:""},null,8,["user","displayName","isNoUser"])]),_:2},1032,["text","ariaLabelClose","onClose"]))),128))])):re("",!0),P.value?(_(),Y(v(tn),{key:1,class:"team-wizard__loading",size:32})):te.value.length===0?(_(),Y(v(Et),{key:2,name:v(I)("circles","Search for people to add"),description:v(I)("circles","You can always add or remove members later from the team page.")},{icon:A(()=>[L(v(Re),{path:v(wc)},null,8,["path"])]),_:1},8,["name","description"])):(_(),O("div",c0,[(_(!0),O(at,null,xt(te.value,ne=>(_(),O(at,{key:ne.caption},[F("div",u0,Q(ne.caption),1),F("ul",d0,[(_(!0),O(at,null,xt(ne.items,Ce=>(_(),Y(v(Bo),{key:Ce.key,name:Ce.displayName,compact:"",onClick:Ee=>he(Ce)},{icon:A(()=>[L(v(ci),{user:Ce.isUser?Ce.shareWith:void 0,displayName:Ce.displayName,isNoUser:!Ce.isUser,size:32,disableMenu:"",hideStatus:""},null,8,["user","displayName","isNoUser"])]),_:2},1032,["name","onClick"]))),128))])],64))),128))]))])):re("",!0)])]),_:1},8,["open","name","buttons"]))}}),p0=Xe(h0,[["__scopeId","data-v-cfd0363f"]]);function m0(){return eu().__VUE_DEVTOOLS_GLOBAL_HOOK__}function eu(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const f0=typeof Proxy=="function",v0="devtools-plugin:setup",g0="plugin:settings:set";let qi,co;function y0(){var e;return qi!==void 0||(typeof window<"u"&&window.performance?(qi=!0,co=window.performance):typeof globalThis<"u"&&!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance?(qi=!0,co=globalThis.perf_hooks.performance):qi=!1),qi}function _0(){return y0()?co.now():Date.now()}class b0{constructor(n,i){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=n,this.hook=i;const a={};if(n.settings)for(const s in n.settings){const l=n.settings[s];a[s]=l.defaultValue}const r=`__vue-devtools-plugin-settings__${n.id}`;let o=Object.assign({},a);try{const s=localStorage.getItem(r),l=JSON.parse(s);Object.assign(o,l)}catch{}this.fallbacks={getSettings(){return o},setSettings(s){try{localStorage.setItem(r,JSON.stringify(s))}catch{}o=s},now(){return _0()}},i&&i.on(g0,(s,l)=>{s===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(s,l)=>this.target?this.target.on[l]:(...c)=>{this.onQueue.push({method:l,args:c})}}),this.proxiedTarget=new Proxy({},{get:(s,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...c)=>(this.targetQueue.push({method:l,args:c,resolve:()=>{}}),this.fallbacks[l](...c)):(...c)=>new Promise(f=>{this.targetQueue.push({method:l,args:c,resolve:f})})})}async setRealTarget(n){this.target=n;for(const i of this.onQueue)this.target.on[i.method](...i.args);for(const i of this.targetQueue)i.resolve(await this.target[i.method](...i.args))}}function C0(e,n){const i=e,a=eu(),r=m0(),o=f0&&i.enableEarlyProxy;if(r&&(a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))r.emit(v0,e,n);else{const s=o?new b0(i,r):null;(a.__VUE_DEVTOOLS_PLUGINS__=a.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:i,setupFn:n,proxy:s}),s&&n(s.proxiedTarget)}}var tu="store";function Yn(e){return e===void 0&&(e=null),ht(e!==null?e:tu)}function xi(e,n){Object.keys(e).forEach(function(i){return n(e[i],i)})}function w0(e){return e!==null&&typeof e=="object"}function E0(e){return e&&typeof e.then=="function"}function S0(e,n){return function(){return e(n)}}function yl(e,n,i){return n.indexOf(e)<0&&(i&&i.prepend?n.unshift(e):n.push(e)),function(){var a=n.indexOf(e);a>-1&&n.splice(a,1)}}function _l(e,n){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var i=e.state;dr(e,i,[],e._modules.root,!0),$o(e,i,n)}function $o(e,n,i){var a=e._state,r=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,s={},l={},c=ko(!0);c.run(function(){xi(o,function(f,g){s[g]=S0(f,e),l[g]=W(function(){return s[g]()}),Object.defineProperty(e.getters,g,{get:function(){return l[g].value},enumerable:!0})})}),e._state=va({data:n}),e._scope=c,e.strict&&N0(e),a&&i&&e._withCommit(function(){a.data=null}),r&&r.stop()}function dr(e,n,i,a,r){var o=!i.length,s=e._modules.getNamespace(i);if(a.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=a),!o&&!r){var l=Ho(n,i.slice(0,-1)),c=i[i.length-1];e._withCommit(function(){l[c]=a.state})}var f=a.context=k0(e,s,i);a.forEachMutation(function(g,d){var y=s+d;x0(e,y,g,f)}),a.forEachAction(function(g,d){var y=g.root?d:s+d,b=g.handler||g;I0(e,y,b,f)}),a.forEachGetter(function(g,d){var y=s+d;T0(e,y,g,f)}),a.forEachChild(function(g,d){dr(e,n,i.concat(d),g,r)})}function k0(e,n,i){var a=n==="",r={dispatch:a?e.dispatch:function(o,s,l){var c=Ka(o,s,l),f=c.payload,g=c.options,d=c.type;return(!g||!g.root)&&(d=n+d),e.dispatch(d,f)},commit:a?e.commit:function(o,s,l){var c=Ka(o,s,l),f=c.payload,g=c.options,d=c.type;(!g||!g.root)&&(d=n+d),e.commit(d,f,g)}};return Object.defineProperties(r,{getters:{get:a?function(){return e.getters}:function(){return nu(e,n)}},state:{get:function(){return Ho(e.state,i)}}}),r}function nu(e,n){if(!e._makeLocalGettersCache[n]){var i={},a=n.length;Object.keys(e.getters).forEach(function(r){if(r.slice(0,a)===n){var o=r.slice(a);Object.defineProperty(i,o,{get:function(){return e.getters[r]},enumerable:!0})}}),e._makeLocalGettersCache[n]=i}return e._makeLocalGettersCache[n]}function x0(e,n,i,a){var r=e._mutations[n]||(e._mutations[n]=[]);r.push(function(o){i.call(e,a.state,o)})}function I0(e,n,i,a){var r=e._actions[n]||(e._actions[n]=[]);r.push(function(o){var s=i.call(e,{dispatch:a.dispatch,commit:a.commit,getters:a.getters,state:a.state,rootGetters:e.getters,rootState:e.state},o);return E0(s)||(s=Promise.resolve(s)),e._devtoolHook?s.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):s})}function T0(e,n,i,a){e._wrappedGetters[n]||(e._wrappedGetters[n]=function(r){return i(a.state,a.getters,r.state,r.getters)})}function N0(e){Ze(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Ho(e,n){return n.reduce(function(i,a){return i[a]},e)}function Ka(e,n,i){return w0(e)&&e.type&&(i=n,n=e,e=e.type),{type:e,payload:n,options:i}}var O0="vuex bindings",bl="vuex:mutations",Gr="vuex:actions",Ci="vuex",A0=0;function M0(e,n){C0({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[O0]},function(i){i.addTimelineLayer({id:bl,label:"Vuex Mutations",color:Cl}),i.addTimelineLayer({id:Gr,label:"Vuex Actions",color:Cl}),i.addInspector({id:Ci,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),i.on.getInspectorTree(function(a){if(a.app===e&&a.inspectorId===Ci)if(a.filter){var r=[];ou(r,n._modules.root,a.filter,""),a.rootNodes=r}else a.rootNodes=[ru(n._modules.root,"")]}),i.on.getInspectorState(function(a){if(a.app===e&&a.inspectorId===Ci){var r=a.nodeId;nu(n,r),a.state=P0(j0(n._modules,r),r==="root"?n.getters:n._makeLocalGettersCache,r)}}),i.on.editInspectorState(function(a){if(a.app===e&&a.inspectorId===Ci){var r=a.nodeId,o=a.path;r!=="root"&&(o=r.split("/").filter(Boolean).concat(o)),n._withCommit(function(){a.set(n._state.data,o,a.state.value)})}}),n.subscribe(function(a,r){var o={};a.payload&&(o.payload=a.payload),o.state=r,i.notifyComponentUpdate(),i.sendInspectorTree(Ci),i.sendInspectorState(Ci),i.addTimelineEvent({layerId:bl,event:{time:Date.now(),title:a.type,data:o}})}),n.subscribeAction({before:function(a,r){var o={};a.payload&&(o.payload=a.payload),a._id=A0++,a._time=Date.now(),o.state=r,i.addTimelineEvent({layerId:Gr,event:{time:a._time,title:a.type,groupId:a._id,subtitle:"start",data:o}})},after:function(a,r){var o={},s=Date.now()-a._time;o.duration={_custom:{type:"duration",display:s+"ms",tooltip:"Action duration",value:s}},a.payload&&(o.payload=a.payload),o.state=r,i.addTimelineEvent({layerId:Gr,event:{time:Date.now(),title:a.type,groupId:a._id,subtitle:"end",data:o}})}})})}var Cl=8702998,L0=6710886,D0=16777215,iu={label:"namespaced",textColor:D0,backgroundColor:L0};function au(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function ru(e,n){return{id:n||"root",label:au(n),tags:e.namespaced?[iu]:[],children:Object.keys(e._children).map(function(i){return ru(e._children[i],n+i+"/")})}}function ou(e,n,i,a){a.includes(i)&&e.push({id:a||"root",label:a.endsWith("/")?a.slice(0,a.length-1):a||"Root",tags:n.namespaced?[iu]:[]}),Object.keys(n._children).forEach(function(r){ou(e,n._children[r],i,a+r+"/")})}function P0(e,n,i){n=i==="root"?n:n[i];var a=Object.keys(n),r={state:Object.keys(e.state).map(function(s){return{key:s,editable:!0,value:e.state[s]}})};if(a.length){var o=R0(n);r.getters=Object.keys(o).map(function(s){return{key:s.endsWith("/")?au(s):s,editable:!1,value:uo(function(){return o[s]})}})}return r}function R0(e){var n={};return Object.keys(e).forEach(function(i){var a=i.split("/");if(a.length>1){var r=n,o=a.pop();a.forEach(function(s){r[s]||(r[s]={_custom:{value:{},display:s,tooltip:"Module",abstract:!0}}),r=r[s]._custom.value}),r[o]=uo(function(){return e[i]})}else n[i]=uo(function(){return e[i]})}),n}function j0(e,n){var i=n.split("/").filter(function(a){return a});return i.reduce(function(a,r,o){var s=a[r];if(!s)throw new Error('Missing module "'+r+'" for path "'+n+'".');return o===i.length-1?s:s._children},n==="root"?e:e.root._children)}function uo(e){try{return e()}catch(n){return n}}var an=function(e,n){this.runtime=n,this._children=Object.create(null),this._rawModule=e;var i=e.state;this.state=(typeof i=="function"?i():i)||{}},wl={namespaced:{configurable:!0}};wl.namespaced.get=function(){return!!this._rawModule.namespaced},an.prototype.addChild=function(e,n){this._children[e]=n},an.prototype.removeChild=function(e){delete this._children[e]},an.prototype.getChild=function(e){return this._children[e]},an.prototype.hasChild=function(e){return e in this._children},an.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},an.prototype.forEachChild=function(e){xi(this._children,e)},an.prototype.forEachGetter=function(e){this._rawModule.getters&&xi(this._rawModule.getters,e)},an.prototype.forEachAction=function(e){this._rawModule.actions&&xi(this._rawModule.actions,e)},an.prototype.forEachMutation=function(e){this._rawModule.mutations&&xi(this._rawModule.mutations,e)},Object.defineProperties(an.prototype,wl);var ti=function(e){this.register([],e,!1)};ti.prototype.get=function(e){return e.reduce(function(n,i){return n.getChild(i)},this.root)},ti.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(i,a){return n=n.getChild(a),i+(n.namespaced?a+"/":"")},"")},ti.prototype.update=function(e){su([],this.root,e)},ti.prototype.register=function(e,n,i){var a=this;i===void 0&&(i=!0);var r=new an(n,i);if(e.length===0)this.root=r;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],r)}n.modules&&xi(n.modules,function(s,l){a.register(e.concat(l),s,i)})},ti.prototype.unregister=function(e){var n=this.get(e.slice(0,-1)),i=e[e.length-1],a=n.getChild(i);a&&a.runtime&&n.removeChild(i)},ti.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),i=e[e.length-1];return n?n.hasChild(i):!1};function su(e,n,i){if(n.update(i),i.modules)for(var a in i.modules){if(!n.getChild(a))return;su(e.concat(a),n.getChild(a),i.modules[a])}}function z0(e){return new Xt(e)}var Xt=function(e){var n=this;e===void 0&&(e={});var i=e.plugins;i===void 0&&(i=[]);var a=e.strict;a===void 0&&(a=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ti(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var o=this,s=this,l=s.dispatch,c=s.commit;this.dispatch=function(g,d){return l.call(o,g,d)},this.commit=function(g,d,y){return c.call(o,g,d,y)},this.strict=a;var f=this._modules.root.state;dr(this,f,[],this._modules.root),$o(this,f),i.forEach(function(g){return g(n)})},Wr={state:{configurable:!0}};Xt.prototype.install=function(e,n){e.provide(n||tu,this),e.config.globalProperties.$store=this;var i=this._devtools!==void 0?this._devtools:!1;i&&M0(e,this)},Wr.state.get=function(){return this._state.data},Wr.state.set=function(e){},Xt.prototype.commit=function(e,n,i){var a=this,r=Ka(e,n,i),o=r.type,s=r.payload,l={type:o,payload:s},c=this._mutations[o];c&&(this._withCommit(function(){c.forEach(function(f){f(s)})}),this._subscribers.slice().forEach(function(f){return f(l,a.state)}))},Xt.prototype.dispatch=function(e,n){var i=this,a=Ka(e,n),r=a.type,o=a.payload,s={type:r,payload:o},l=this._actions[r];if(l){try{this._actionSubscribers.slice().filter(function(f){return f.before}).forEach(function(f){return f.before(s,i.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(f){return f(o)})):l[0](o);return new Promise(function(f,g){c.then(function(d){try{i._actionSubscribers.filter(function(y){return y.after}).forEach(function(y){return y.after(s,i.state)})}catch{}f(d)},function(d){try{i._actionSubscribers.filter(function(y){return y.error}).forEach(function(y){return y.error(s,i.state,d)})}catch{}g(d)})})}},Xt.prototype.subscribe=function(e,n){return yl(e,this._subscribers,n)},Xt.prototype.subscribeAction=function(e,n){var i=typeof e=="function"?{before:e}:e;return yl(i,this._actionSubscribers,n)},Xt.prototype.watch=function(e,n,i){var a=this;return Ze(function(){return e(a.state,a.getters)},n,Object.assign({},i))},Xt.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})},Xt.prototype.registerModule=function(e,n,i){i===void 0&&(i={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),dr(this,this.state,e,this._modules.get(e),i.preserveState),$o(this,this.state)},Xt.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var i=Ho(n.state,e.slice(0,-1));delete i[e[e.length-1]]}),_l(this)},Xt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)},Xt.prototype.hotUpdate=function(e){this._modules.update(e),_l(this,!0)},Xt.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n},Object.defineProperties(Xt.prototype,Wr);const V0={name:"NcActionCaption",inject:{isInSemanticMenu:{from:pp,default:!1}},props:{name:{type:String,required:!0}}},B0=["role"];function $0(e,n,i,a,r,o){return _(),O("li",{class:"app-navigation-caption",role:o.isInSemanticMenu&&"presentation"},Q(i.name),9,B0)}const El=st(V0,[["render",$0],["__scopeId","data-v-1009e96c"]]),H0={name:"NcActionSeparator"},U0={class:"action action-separator action--disabled",role:"separator"};function F0(e,n,i,a,r,o){return _(),O("li",U0)}const lu=st(H0,[["render",F0],["__scopeId","data-v-3e2324b7"]]),X0={name:"NcAppNavigationList"},q0={class:"app-navigation-list"};function G0(e,n,i,a,r,o){return _(),O("ul",q0,[Be(e.$slots,"default",{},void 0,!0)])}const W0=st(X0,[["render",G0],["__scopeId","data-v-d72957ed"]]);Je(fh);const Y0={class:"app-navigation-toggle-wrapper"},K0=He({__name:"NcAppNavigationToggle",props:{open:{type:Boolean,required:!0},openModifiers:{}},emits:["update:open"],setup(e){const n=ga(e,"open"),i=W(()=>n.value?ze("Close navigation"):ze("Open navigation"));return(a,r)=>(_(),O("div",Y0,[L(v(Fe),{class:"app-navigation-toggle","aria-controls":"app-navigation-vue","aria-expanded":n.value?"true":"false","aria-label":i.value,title:i.value,variant:"tertiary",onClick:r[0]||(r[0]=o=>n.value=!n.value)},{icon:A(()=>[L(Re,{path:n.value?v(gp):v(yp)},null,8,["path"])]),_:1},8,["aria-expanded","aria-label","title"])]))}}),J0=st(K0,[["__scopeId","data-v-5a15295d"]]),Z0=["aria-hidden","aria-label","aria-labelledby","inert"],Q0={class:"app-navigation__search"},ev=He({__name:"NcAppNavigation",props:{ariaLabel:{},ariaLabelledby:{}},setup(e){const n=e;let i;const a=ht(Bc,()=>cc(),!1),r=Oo("appNavigationContainer"),o=fi(),s=ve(!o.value),l=W(()=>o.value&&s.value);vh(()=>{!n.ariaLabel&&n.ariaLabelledby}),Ze(o,()=>{s.value=!o.value}),Ze(l,()=>{g()}),On(()=>{a(!0),aa("toggle-navigation",f),kn("navigation-toggled",{open:s.value}),i=mp(r.value,{allowOutsideClick:!0,clickOutsideDeactivates:()=>(o.value&&(i.deactivate({returnFocus:!1}),c(!1)),!1),fallbackFocus:r.value,trapStack:fp(),escapeDeactivates:!1}),g()}),Qr(()=>{a(!1),vp("toggle-navigation",f),i.deactivate()});function c(y){if(s.value===y){kn("navigation-toggled",{open:s.value});return}s.value=y===void 0?!s.value:y;const b=getComputedStyle(document.body),x=parseInt(b.getPropertyValue("--animation-quick"))||100;setTimeout(()=>{kn("navigation-toggled",{open:s.value})},1.5*x)}function f({open:y}){return c(y)}function g(){l.value?i.activate():i.deactivate()}function d(){o.value&&c(!1)}return(y,b)=>(_(),O("div",{ref:"appNavigationContainer",class:xe(["app-navigation",{"app-navigation--closed":!s.value,"app-navigation--legacy":v(qn)}])},[F("nav",{id:"app-navigation-vue","aria-hidden":s.value?"false":"true","aria-label":e.ariaLabel||void 0,"aria-labelledby":e.ariaLabelledby||void 0,class:"app-navigation__content",inert:!s.value||void 0,onKeydown:mn(d,["esc"])},[F("div",Q0,[Be(y.$slots,"search",{},void 0,!0)]),F("div",{class:xe(["app-navigation__body",{"app-navigation__body--no-list":!y.$slots.list}])},[Be(y.$slots,"default",{},void 0,!0)],2),y.$slots.list?(_(),Y(W0,{key:0,class:"app-navigation__list"},{default:A(()=>[Be(y.$slots,"list",{},void 0,!0)]),_:3})):re("",!0),Be(y.$slots,"footer",{},void 0,!0)],40,Z0),L(J0,{open:s.value,"onUpdate:open":c},null,8,["open"])],2))}}),tv=st(ev,[["__scopeId","data-v-1344f70d"]]),nv={name:"NcAppNavigationCaption",components:{NcActions:xn},props:{name:{type:String,required:!0},headingId:{type:String,default:null},isHeading:{type:Boolean,default:!1},headingLevel:{type:Number,default:2},...xn.props},computed:{actionsProps(){const e=Object.keys(xn.props),n=Object.entries(this.$props).filter(([i,a])=>e.includes(i));return Object.fromEntries(n)},wrapperTag(){return this.isHeading?"div":"li"},captionTag(){const e=Math.max(2,this.headingLevel);return this.isHeading?`h${e}`:"span"}}},iv={key:0,class:"app-navigation-caption__actions"};function av(e,n,i,a,r,o){const s=Ae("NcActions");return _(),Y(Xn(o.wrapperTag),{class:xe(["app-navigation-caption",{"app-navigation-caption--heading":i.isHeading}])},{default:A(()=>[(_(),Y(Xn(o.captionTag),{id:i.headingId,class:"app-navigation-caption__name"},{default:A(()=>[Ne(Q(i.name),1)]),_:1},8,["id"])),e.$slots.actions?(_(),O("div",iv,[L(s,To(No(o.actionsProps)),{icon:A(()=>[Be(e.$slots,"actionsTriggerIcon",{},void 0,!0)]),default:A(()=>[Be(e.$slots,"actions",{},void 0,!0)]),_:3},16)])):re("",!0)]),_:3},8,["class"])}const rv=st(nv,[["render",av],["__scopeId","data-v-f0e411c2"]]),ov={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},sv=["aria-hidden","aria-label"],lv=["fill","width","height"],cv={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},uv={key:0};function dv(e,n,i,a,r,o){return _(),O("span",ut(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(_(),O("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[F("path",cv,[i.title?(_(),O("title",uv,Q(i.title),1)):re("",!0)])],8,lv))],16,sv)}const hv=st(ov,[["render",dv]]),pv={name:"ArrowRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},mv=["aria-hidden","aria-label"],fv=["fill","width","height"],vv={d:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"},gv={key:0};function yv(e,n,i,a,r,o){return _(),O("span",ut(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon arrow-right-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(_(),O("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[F("path",vv,[i.title?(_(),O("title",gv,Q(i.title),1)):re("",!0)])],8,fv))],16,mv)}const _v=st(pv,[["render",yv]]);Je(gh);const bv={name:"NcInputConfirmCancel",components:{IconArrowRight:_v,IconClose:Um,NcButton:Fe},props:{primary:{default:!1,type:Boolean},placeholder:{default:"",type:String},modelValue:{default:"",type:String}},emits:["cancel","confirm","update:modelValue"],setup(){return{isLegacy34:qn}},data(){return{labelConfirm:ze("Confirm changes"),labelCancel:ze("Cancel changes")}},computed:{valueModel:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{confirm(){this.$emit("confirm")},cancel(){this.$emit("cancel")},focusInput(){this.$refs.input.focus()}}},Cv=["placeholder"];function wv(e,n,i,a,r,o){const s=Ae("IconArrowRight"),l=Ae("NcButton"),c=Ae("IconClose");return _(),O("div",{class:xe(["app-navigation-input-confirm",{"app-navigation-input-confirm--legacy":a.isLegacy34}])},[F("form",{onSubmit:n[1]||(n[1]=zt((...f)=>o.confirm&&o.confirm(...f),["prevent"])),onKeydown:n[2]||(n[2]=mn(zt((...f)=>o.cancel&&o.cancel(...f),["exact","stop","prevent"]),["esc"])),onClick:n[3]||(n[3]=zt(()=>{},["stop","prevent"]))},[li(F("input",{ref:"input","onUpdate:modelValue":n[0]||(n[0]=f=>o.valueModel=f),type:"text",class:"app-navigation-input-confirm__input",placeholder:i.placeholder},null,8,Cv),[[uc,o.valueModel]]),L(l,{"aria-label":r.labelConfirm,type:"submit",variant:"primary",onClick:zt(o.confirm,["stop","prevent"])},{icon:A(()=>[L(s,{size:20})]),_:1},8,["aria-label","onClick"]),L(l,{"aria-label":r.labelCancel,type:"reset",variant:i.primary?"primary":"tertiary",onClick:zt(o.cancel,["stop","prevent"])},{icon:A(()=>[L(c,{size:20})]),_:1},8,["aria-label","variant","onClick"])],32)],2)}const Ev=st(bv,[["render",wv],["__scopeId","data-v-6926a0b8"]]),Sv={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},kv=["aria-hidden","aria-label"],xv=["fill","width","height"],Iv={d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},Tv={key:0};function Nv(e,n,i,a,r,o){return _(),O("span",ut(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon pencil-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(_(),O("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[F("path",Iv,[i.title?(_(),O("title",Tv,Q(i.title),1)):re("",!0)])],8,xv))],16,kv)}const Ov=st(Sv,[["render",Nv]]),Av={name:"UndoIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Mv=["aria-hidden","aria-label"],Lv=["fill","width","height"],Dv={d:"M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z"},Pv={key:0};function Rv(e,n,i,a,r,o){return _(),O("span",ut(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon undo-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(_(),O("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[F("path",Dv,[i.title?(_(),O("title",Pv,Q(i.title),1)):re("",!0)])],8,Lv))],16,Mv)}const jv=st(Av,[["render",Rv]]);Je(yh);const zv={name:"NcAppNavigationIconCollapsible",components:{NcButton:Fe,ChevronDown:Fm,ChevronUp:hv},props:{open:{type:Boolean,required:!0},active:{type:Boolean,required:!0}},emits:["click"],setup(){return{isLegacy34:qn}},computed:{labelButton(){return this.open?ze("Collapse menu"):ze("Open menu")}},methods:{onClick(e){this.$emit("click",e)}}};function Vv(e,n,i,a,r,o){const s=Ae("ChevronUp"),l=Ae("ChevronDown"),c=Ae("NcButton");return _(),Y(c,{class:xe(["icon-collapse",{"icon-collapse--active":i.active,"icon-collapse--open":i.open}]),"aria-label":o.labelButton,variant:i.active&&a.isLegacy34?"tertiary-on-primary":"tertiary",onClick:o.onClick},{icon:A(()=>[i.open?(_(),Y(s,{key:0,size:20})):(_(),Y(l,{key:1,size:20}))]),_:1},8,["class","aria-label","variant","onClick"])}const Bv=st(zv,[["render",Vv],["__scopeId","data-v-cfbd3794"]]);Je(bh,_h);const $v={name:"NcAppNavigationItem",components:{NcActions:xn,NcActionButton:In,NcAppNavigationIconCollapsible:Bv,NcInputConfirmCancel:Ev,NcLoadingIcon:tn,NcVNodes:Vo,Pencil:Ov,Undo:jv},props:{active:{type:Boolean,default:!1},name:{type:String,required:!0},title:{type:String,default:null},id:{type:String,default:()=>Ec(),validator:e=>e.trim()!==""},icon:{type:String,default:""},loading:{type:Boolean,default:!1},to:{type:[String,Object],default:null},href:{type:String,default:null},allowCollapse:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""},pinned:{type:Boolean,default:!1},undo:{type:Boolean,default:!1},open:{type:Boolean,default:!1},menuOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuIcon:{type:String,default:void 0},menuPlacement:{type:String,default:"bottom"},ariaDescription:{type:String,default:null},forceDisplayActions:{type:Boolean,default:!1},inlineActions:{type:Number,default:0}},emits:["update:menuOpen","update:open","update:name","click","undo"],setup(){return{isMobile:fi(),isLegacy34:qn}},data(){return{actionsBoundariesElement:void 0,editingValue:"",opened:this.open,editingActive:!1,menuOpenLocalValue:!1,focused:!1}},computed:{isRouterLink(){return this.to&&!this.href},canHaveChildren(){return this.$parent.$options._componentTag!=="AppNavigationItem"},editButtonAriaLabel(){return this.editLabel?this.editLabel:ze("Edit item")},undoButtonAriaLabel(){return ze("Undo changes")}},watch:{open(e){this.opened=e}},mounted(){this.actionsBoundariesElement=document.querySelector("#content-vue")||void 0},methods:{onMenuToggle(e){this.$emit("update:menuOpen",e),this.menuOpenLocalValue=e},toggleCollapse(){this.opened=!this.opened,this.$emit("update:open",this.opened)},onClick(e,n,i){this.$emit("click",e),!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&i&&(n?.(e),e.preventDefault())},handleEdit(){this.editingValue=this.name,this.editingActive=!0,this.onMenuToggle(!1),this.$nextTick(()=>{this.$refs.editingInput.focusInput()})},cancelEditing(){this.editingActive=!1},handleEditingDone(){this.$emit("update:name",this.editingValue),this.editingValue="",this.editingActive=!1},handleUndo(){this.$emit("undo")},handleFocus(){this.focused=!0},handleBlur(){this.focused=!1},handleTab(e){this.$refs.actions&&(this.focused?(e.preventDefault(),this.$refs.actions.$refs.triggerButton.$el.focus(),this.focused=!1):this.$refs.actions.$refs.triggerButton.$el.blur())},isExternal(e){return e&&e.match(/[a-z]+:\/\//i)}}},Hv=["id"],Uv=["aria-current","aria-description","aria-expanded","href","target","title","onClick"],Fv={key:0,class:"editingContainer"},Xv={key:1,class:"app-navigation-entry__deleted"},qv={class:"app-navigation-entry__deleted-description"},Gv={key:0,class:"app-navigation-entry__counter-wrapper"},Wv={key:0,class:"app-navigation-entry__children"};function Yv(e,n,i,a,r,o){const s=Ae("NcLoadingIcon"),l=Ae("NcInputConfirmCancel"),c=Ae("Pencil"),f=Ae("NcActionButton"),g=Ae("Undo"),d=Ae("NcActions"),y=Ae("NcAppNavigationIconCollapsible");return _(),O("li",{id:i.id,class:xe([{"app-navigation-entry--opened":r.opened,"app-navigation-entry--pinned":i.pinned,"app-navigation-entry--collapsible":i.allowCollapse&&!!e.$slots.default},"app-navigation-entry-wrapper"])},[(_(),Y(Xn(o.isRouterLink?"router-link":"NcVNodes"),To(No({...o.isRouterLink&&{custom:!0,to:i.to}})),{default:A(({href:b,navigate:x,isActive:T})=>[F("div",{class:xe(["app-navigation-entry",{"app-navigation-entry--editing":r.editingActive,"app-navigation-entry--deleted":i.undo,"app-navigation-entry--legacy":a.isLegacy34,active:i.to&&T||i.active}])},[i.undo?re("",!0):(_(),O("a",{key:0,class:"app-navigation-entry-link","aria-current":i.active||i.to&&T?"page":void 0,"aria-description":i.ariaDescription,"aria-expanded":e.$slots.default?r.opened.toString():void 0,href:i.href||b||"#",target:o.isExternal(i.href)?"_blank":void 0,title:i.title||i.name,onBlur:n[1]||(n[1]=(...P)=>o.handleBlur&&o.handleBlur(...P)),onClick:P=>o.onClick(P,x,b),onFocus:n[2]||(n[2]=(...P)=>o.handleFocus&&o.handleFocus(...P)),onKeydown:n[3]||(n[3]=mn(zt((...P)=>o.handleTab&&o.handleTab(...P),["exact"]),["tab"]))},[F("div",{class:xe(["app-navigation-entry-icon",{[i.icon]:i.icon}])},[i.loading?(_(),Y(s,{key:0})):Be(e.$slots,"icon",{key:1,active:i.active||i.to&&T},void 0,!0)],2),F("span",{class:xe(["app-navigation-entry__name",{"hidden-visually":r.editingActive}])},Q(i.name),3),r.editingActive?(_(),O("div",Fv,[L(l,{ref:"editingInput",modelValue:r.editingValue,"onUpdate:modelValue":n[0]||(n[0]=P=>r.editingValue=P),placeholder:i.editPlaceholder!==""?i.editPlaceholder:i.name,primary:i.to&&T||i.active,onCancel:o.cancelEditing,onConfirm:o.handleEditingDone},null,8,["modelValue","placeholder","primary","onCancel","onConfirm"])])):re("",!0)],40,Uv)),i.undo?(_(),O("div",Xv,[F("div",qv,Q(i.name),1)])):re("",!0),(e.$slots.actions||e.$slots.counter||i.editable||i.undo)&&!r.editingActive?(_(),O("div",{key:2,class:xe(["app-navigation-entry__utils",{"app-navigation-entry__utils--display-actions":i.forceDisplayActions||r.menuOpenLocalValue||i.menuOpen}])},[e.$slots.counter?(_(),O("div",Gv,[Be(e.$slots,"counter",{},void 0,!0)])):re("",!0),e.$slots.actions||i.editable&&!r.editingActive||i.undo?(_(),Y(d,{key:1,ref:"actions",class:"app-navigation-entry__actions",container:"#app-navigation-vue",boundariesElement:r.actionsBoundariesElement,inline:i.inlineActions,placement:i.menuPlacement,open:i.menuOpen,forceMenu:i.forceMenu,defaultIcon:i.menuIcon,variant:"tertiary","onUpdate:open":o.onMenuToggle},{icon:A(()=>[Be(e.$slots,"menu-icon",{},void 0,!0)]),default:A(()=>[i.editable&&!r.editingActive?(_(),Y(f,{key:0,"aria-label":o.editButtonAriaLabel,onClick:o.handleEdit},{icon:A(()=>[L(c,{size:20})]),default:A(()=>[Ne(" "+Q(i.editLabel),1)]),_:1},8,["aria-label","onClick"])):re("",!0),i.undo?(_(),Y(f,{key:1,"aria-label":o.undoButtonAriaLabel,onClick:o.handleUndo},{icon:A(()=>[L(g,{size:20})]),_:1},8,["aria-label","onClick"])):re("",!0),Be(e.$slots,"actions",{},void 0,!0)]),_:3},8,["boundariesElement","inline","placement","open","forceMenu","defaultIcon","onUpdate:open"])):re("",!0)],2)):re("",!0),i.allowCollapse&&e.$slots.default?(_(),Y(y,{key:3,active:i.to&&T||i.active,open:r.opened,onClick:zt(o.toggleCollapse,["prevent","stop"])},null,8,["active","open","onClick"])):re("",!0),Be(e.$slots,"extra",{},void 0,!0)],2)]),_:3},16)),o.canHaveChildren&&e.$slots.default?(_(),O("ul",Wv,[Be(e.$slots,"default",{},void 0,!0)])):re("",!0)],10,Hv)}const Yr=st($v,[["render",Yv],["__scopeId","data-v-fcab058b"]]),cu=va(new Map);aa("circles:avatar:updated",e=>{typeof e=="string"&&cu.set(e,Date.now())});function ho(e){const n=cu.get(e);return eo(`/apps/circles/circles/${e}/avatar`)+(n===void 0?"":`?v=${n}`)}const Ji=He({__name:"TeamAvatar",props:{displayName:{},circleId:{},size:{default:32}},setup(e){const n=e,i=W(()=>ho(n.circleId));return(a,r)=>(_(),Y(v(ci),{displayName:e.displayName,url:i.value,isNoUser:!0,size:e.size,hideStatus:"",disableMenu:"",disableTooltip:""},null,8,["displayName","url","size"]))}}),Kv={class:"team-members-row"},Jv={key:0,class:"team-members-row__more"},Zv=He({__name:"TeamMembersRow",props:{members:{},hiddenCount:{}},setup(e){return(n,i)=>(_(),O("span",Kv,[(_(!0),O(at,null,xt(e.members,a=>(_(),Y(v(ci),{key:a.singleId,user:a.isUser?a.userId:void 0,displayName:a.displayName,isNoUser:!a.isUser,size:24,hideStatus:"",disableMenu:""},null,8,["user","displayName","isNoUser"]))),128)),e.hiddenCount>0?(_(),O("span",Jv," +"+Q(e.hiddenCount),1)):re("",!0)]))}}),Sl=Xe(Zv,[["__scopeId","data-v-02d2a1f3"]]);function uu(e){return e?e.isOwner&&!e.isPersonal||!!Sc()?.isAdmin:!1}function Uo(e){const n=zi(),i=vi(),a=W(()=>({name:"team",params:{teamId:e()?.id}})),r=W(()=>e()?.myRole==="owner"),o=W(()=>{const y=e();return!!y&&["owner","admin","moderator"].includes(y.myRole)}),s=W(()=>{const y=e();return!!y&&["owner","admin"].includes(y.myRole)}),l=W(()=>!!e()&&!r.value),c=W(()=>r.value);async function f(){const y=window.location.origin+n.resolve(a.value).href;try{await navigator.clipboard.writeText(y),Qt(I("circles","Link copied to the clipboard"))}catch(b){Ie.error("Could not copy link",{error:b}),qe(I("circles","Could not copy link to the clipboard"))}}async function g(){const y=e();if(!(!y||!await no({name:I("circles","Leave team"),text:I("circles","Are you sure you want to leave {team}?",{team:y.displayName}),labelConfirm:I("circles","Leave team"),labelReject:I("circles","Cancel"),severity:"warning"})))try{await i.leaveTeam(y.id),Qt(I("circles",'You left "{name}"',{name:y.displayName})),n.currentRoute.value.params.teamId===y.id&&n.push({name:"home"})}catch(b){Ie.error("Could not leave the team",{error:b}),qe(I("circles","Could not leave the team"))}}async function d(){const y=e();if(!(!y||!await no({name:I("circles","Delete team"),text:I("circles","Are you sure you want to delete {team}? This cannot be undone.",{team:y.displayName}),labelConfirm:I("circles","Delete team"),labelReject:I("circles","Cancel"),severity:"error"})))try{await i.deleteTeam(y.id),Qt(I("circles","Team deleted")),n.currentRoute.value.params.teamId===y.id&&n.push({name:"home"})}catch(b){Ie.error("Could not delete the team",{error:b}),qe(I("circles","Could not delete the team"))}}return{canManage:o,isTeamAdmin:s,canLeave:l,canDelete:c,onCopyLink:f,onLeave:g,onDelete:d}}const Qv={class:"team-header"},eg=["title","aria-label"],tg={class:"team-header__info"},ng=["title"],ig={class:"team-header__switcher"},ag={class:"team-header__switcher-current"},rg={class:"team-header__info"},og=["title"],sg=["title","aria-label"],lg={key:0,class:"team-header__switcher-caption"},cg={class:"team-header__switcher-caption-text"},ug={class:"team-header__switcher-list"},dg={class:"team-header__switcher-footer"},kl=28,hg=36,Oa=8,pg=He({__name:"TeamHeader",props:{circle:{}},setup(e){const n=e,i=zi(),a=Yn(),r=vi(),o=W(()=>r.getTeam(n.circle.id)),{canLeave:s,canDelete:l,onCopyLink:c,onLeave:f,onDelete:g}=Uo(()=>o.value),d=W(()=>Object.values(a.getters.getCircle(n.circle.id)?.members??{})),y=ve(null),{width:b}=zs(y),x=W(()=>{const M=b.value;if(!M||d.value.length*kl-4<=M)return d.value;const ne=Math.max(1,Math.floor((M-hg)/kl));return d.value.slice(0,ne)}),T=W(()=>d.value.length-x.value.length),P=ve(!1),z=ve(null),{width:R,height:K}=zs(z);function de(){const M=z.value?.closest("#app-navigation-vue");if(!M)return;const ne=M.getBoundingClientRect(),Ce=document.documentElement.style;Ce.setProperty("--team-switcher-top",`${ne.top+Oa}px`),Ce.setProperty("--team-switcher-left",`${ne.left+Oa}px`),Ce.setProperty("--team-switcher-width",`${ne.width-2*Oa}px`);const Ee=window.innerHeight-ne.top-2*Oa;Ce.setProperty("--team-switcher-max-height",`${Ee}px`)}Ze([R,K],()=>{P.value&&de()}),Ze(P,M=>{M&&de()}),_p(window,"resize",()=>{P.value&&de()});const X=W(()=>r.teams.filter(M=>M.id!==n.circle.id)),he=ve(!1),le=ve(""),ee=ve(null),te=ve(null),ce=W(()=>{const M=le.value.trim().toLowerCase();return M?X.value.filter(ne=>ne.displayName.toLowerCase().includes(M)):X.value});Ze(P,M=>{M||(he.value=!1,le.value="")});async function we(){he.value=!0,await pn(),ee.value?.focus()}async function fe(){he.value=!1,le.value="",await pn(),te.value?.$el.focus()}async function ae(){P.value=!1,await i.push({name:"home"})}function H(){P.value=!1,r.createWizardOpen=!0}async function U(){P.value=!1,await i.push({name:"team-members",params:{teamId:n.circle.id}})}return(M,ne)=>(_(),O("div",Qv,[L(v(xc),{popupRole:"dialog",shown:P.value,popoverBaseClass:"team-switcher-popover","onUpdate:shown":ne[3]||(ne[3]=Ce=>P.value=Ce)},{trigger:A(()=>[F("button",{ref_key:"triggerEl",ref:z,type:"button",class:"team-header__trigger",title:v(I)("circles","Switch team"),"aria-label":v(I)("circles","Switch team"),onClick:ne[0]||(ne[0]=Ce=>P.value=!0)},[L(Ji,{displayName:e.circle.displayName,circleId:e.circle.id,size:44},null,8,["displayName","circleId"]),F("span",tg,[F("h2",{class:"team-header__name",title:e.circle.displayName},Q(e.circle.displayName),9,ng),o.value&&d.value.length>0?(_(),Y(Sl,{key:0,ref_key:"membersRowEl",ref:y,members:x.value,hiddenCount:T.value},null,8,["members","hiddenCount"])):re("",!0)]),L(v(Re),{class:"team-header__chevron",path:v(Cc),size:20},null,8,["path"])],8,eg)]),default:A(()=>[F("div",ig,[F("div",ag,[L(Ji,{displayName:e.circle.displayName,circleId:e.circle.id,size:44},null,8,["displayName","circleId"]),F("div",rg,[F("span",{class:"team-header__name",title:e.circle.displayName},Q(e.circle.displayName),9,og),o.value&&d.value.length>0?(_(),O("button",{key:0,type:"button",class:"team-header__members-button",title:v(I)("circles","Show members"),"aria-label":v(I)("circles","Show members"),onClick:U},[L(Sl,{members:x.value,hiddenCount:T.value},null,8,["members","hiddenCount"])],8,sg)):re("",!0)]),o.value?(_(),Y(v(xn),{key:0,class:"team-header__switcher-actions","aria-label":v(I)("circles","Team actions")},{default:A(()=>[L(v(In),{closeAfterClick:"",onClick:v(c)},{icon:A(()=>[L(v(Re),{path:v(bp),size:20},null,8,["path"])]),default:A(()=>[Ne(" "+Q(v(I)("circles","Copy team link")),1)]),_:1},8,["onClick"]),v(s)?(_(),Y(v(In),{key:0,closeAfterClick:"",onClick:v(f)},{icon:A(()=>[L(v(Re),{path:v(Cp),size:20},null,8,["path"])]),default:A(()=>[Ne(" "+Q(v(I)("circles","Leave team")),1)]),_:1},8,["onClick"])):re("",!0),v(l)?(_(),Y(v(In),{key:1,closeAfterClick:"",onClick:v(g)},{icon:A(()=>[L(v(Re),{path:v(kc),size:20},null,8,["path"])]),default:A(()=>[Ne(" "+Q(v(I)("circles","Delete team")),1)]),_:1},8,["onClick"])):re("",!0)]),_:1},8,["aria-label"])):re("",!0)]),ne[4]||(ne[4]=F("hr",{class:"team-header__switcher-divider team-header__switcher-divider--caption"},null,-1)),he.value?(_(),Y(v(Gn),{key:1,ref_key:"searchFieldEl",ref:ee,modelValue:le.value,"onUpdate:modelValue":ne[1]||(ne[1]=Ce=>le.value=Ce),class:"team-header__switcher-search",label:v(I)("circles","Search teams"),showTrailingButton:"",trailingButtonIcon:"close",trailingButtonLabel:v(I)("circles","Cancel search"),onTrailingButtonClick:fe,onKeydown:mn(zt(fe,["stop","prevent"]),["esc"])},null,8,["modelValue","label","trailingButtonLabel","onKeydown"])):(_(),O("div",lg,[F("span",cg,Q(v(I)("circles","Go to team")),1),L(v(Fe),{ref_key:"searchButtonEl",ref:te,variant:"tertiary",title:v(I)("circles","Search teams"),"aria-label":v(I)("circles","Search teams"),onClick:we},{icon:A(()=>[L(v(Re),{path:v(Wa),size:20},null,8,["path"])]),_:1},8,["title","aria-label"])])),F("ul",ug,[(_(!0),O(at,null,xt(ce.value,Ce=>(_(),Y(v(Bo),{key:Ce.id,name:Ce.displayName,to:{name:"team",params:{teamId:Ce.id}},oneLine:"",onClick:ne[2]||(ne[2]=Ee=>P.value=!1)},{icon:A(()=>[L(Ji,{displayName:Ce.displayName,circleId:Ce.id,size:32},null,8,["displayName","circleId"])]),_:2},1032,["name","to"]))),128))]),ne[5]||(ne[5]=F("hr",{class:"team-header__switcher-divider"},null,-1)),F("div",dg,[L(v(Fe),{variant:"tertiary",title:v(I)("circles","Home"),"aria-label":v(I)("circles","Home"),onClick:ae},{icon:A(()=>[L(v(Re),{path:v(wp),size:20},null,8,["path"])]),_:1},8,["title","aria-label"]),L(v(Fe),{class:"team-header__switcher-new",variant:"secondary",onClick:H},{icon:A(()=>[L(v(Re),{path:v(Ya),size:20},null,8,["path"])]),default:A(()=>[Ne(" "+Q(v(I)("circles","New team")),1)]),_:1})])])]),_:1},8,["shown"])]))}}),mg=Xe(pg,[["__scopeId","data-v-c2615309"]]);var Aa={},xl={exports:{}},Il={};const Ai=Symbol(""),Ti=Symbol(""),hr=Symbol(""),oa=Symbol(""),Fo=Symbol(""),Wn=Symbol(""),Xo=Symbol(""),qo=Symbol(""),pr=Symbol(""),mr=Symbol(""),Vi=Symbol(""),fr=Symbol(""),Go=Symbol(""),vr=Symbol(""),gr=Symbol(""),yr=Symbol(""),_r=Symbol(""),br=Symbol(""),Cr=Symbol(""),Wo=Symbol(""),Yo=Symbol(""),ya=Symbol(""),sa=Symbol(""),wr=Symbol(""),Er=Symbol(""),Mi=Symbol(""),Bi=Symbol(""),Sr=Symbol(""),Ja=Symbol(""),du=Symbol(""),Za=Symbol(""),la=Symbol(""),hu=Symbol(""),pu=Symbol(""),kr=Symbol(""),mu=Symbol(""),fu=Symbol(""),xr=Symbol(""),Ko=Symbol(""),ui={[Ai]:"Fragment",[Ti]:"Teleport",[hr]:"Suspense",[oa]:"KeepAlive",[Fo]:"BaseTransition",[Wn]:"openBlock",[Xo]:"createBlock",[qo]:"createElementBlock",[pr]:"createVNode",[mr]:"createElementVNode",[Vi]:"createCommentVNode",[fr]:"createTextVNode",[Go]:"createStaticVNode",[vr]:"resolveComponent",[gr]:"resolveDynamicComponent",[yr]:"resolveDirective",[_r]:"resolveFilter",[br]:"withDirectives",[Cr]:"renderList",[Wo]:"renderSlot",[Yo]:"createSlots",[ya]:"toDisplayString",[sa]:"mergeProps",[wr]:"normalizeClass",[Er]:"normalizeStyle",[Mi]:"normalizeProps",[Bi]:"guardReactiveProps",[Sr]:"toHandlers",[Ja]:"camelize",[du]:"capitalize",[Za]:"toHandlerKey",[la]:"setBlockTracking",[hu]:"pushScopeId",[pu]:"popScopeId",[kr]:"withCtx",[mu]:"unref",[fu]:"isRef",[xr]:"withMemo",[Ko]:"isMemoSame"};function vu(e){Object.getOwnPropertySymbols(e).forEach(n=>{ui[n]=e[n]})}const fg={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},vg={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},gg={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},yg={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Tt={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function gu(e,n=""){return{type:0,source:n,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Tt}}function Li(e,n,i,a,r,o,s,l=!1,c=!1,f=!1,g=Tt){return e&&(l?(e.helper(Wn),e.helper(pi(e.inSSR,f))):e.helper(hi(e.inSSR,f)),s&&e.helper(br)),{type:13,tag:n,props:i,children:a,patchFlag:r,dynamicProps:o,directives:s,isBlock:l,disableTracking:c,isComponent:f,loc:g}}function Fn(e,n=Tt){return{type:17,loc:n,elements:e}}function Jt(e,n=Tt){return{type:15,loc:n,properties:e}}function _t(e,n){return{type:16,loc:Tt,key:It(e)?je(e,!0):e,value:n}}function je(e,n=!1,i=Tt,a=0){return{type:4,loc:i,content:e,isStatic:n,constType:n?3:a}}function _g(e,n){return{type:5,loc:n,content:It(e)?je(e,!1,n):e}}function en(e,n=Tt){return{type:8,loc:n,children:e}}function wt(e,n=[],i=Tt){return{type:14,loc:i,callee:e,arguments:n}}function di(e,n=void 0,i=!1,a=!1,r=Tt){return{type:18,params:e,returns:n,newline:i,isSlot:a,loc:r}}function Qa(e,n,i,a=!0){return{type:19,test:e,consequent:n,alternate:i,newline:a,loc:Tt}}function yu(e,n,i=!1,a=!1){return{type:20,index:e,value:n,needPauseTracking:i,inVOnce:a,needArraySpread:!1,loc:Tt}}function _u(e){return{type:21,body:e,loc:Tt}}function bg(e){return{type:22,elements:e,loc:Tt}}function Cg(e,n,i){return{type:23,test:e,consequent:n,alternate:i,loc:Tt}}function wg(e,n){return{type:24,left:e,right:n,loc:Tt}}function Eg(e){return{type:25,expressions:e,loc:Tt}}function Sg(e){return{type:26,returns:e,loc:Tt}}function hi(e,n){return e||n?pr:mr}function pi(e,n){return e||n?Xo:qo}function Ir(e,{helper:n,removeHelper:i,inSSR:a}){e.isBlock||(e.isBlock=!0,i(hi(a,e.isComponent)),n(Wn),n(pi(a,e.isComponent)))}const Tl=new Uint8Array([123,123]),Nl=new Uint8Array([125,125]);function Ol(e){return e>=97&&e<=122||e>=65&&e<=90}function Kt(e){return e===32||e===10||e===9||e===12||e===13}function jn(e){return e===47||e===62||Kt(e)}function er(e){const n=new Uint8Array(e.length);for(let i=0;i=0;r--){const o=this.newlines[r];if(n>o){i=r+2,a=n-o;break}}return{column:a,line:i,offset:n}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(n){n===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&n===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(n))}stateInterpolationOpen(n){if(n===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const i=this.index+1-this.delimiterOpen.length;i>this.sectionStart&&this.cbs.ontext(this.sectionStart,i),this.state=3,this.sectionStart=i}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(n)):(this.state=1,this.stateText(n))}stateInterpolation(n){n===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(n))}stateInterpolationClose(n){n===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(n))}stateSpecialStartSequence(n){const i=this.sequenceIndex===this.currentSequence.length;if(!(i?jn(n):(n|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!i){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(n)}stateInRCDATA(n){if(this.sequenceIndex===this.currentSequence.length){if(n===62||Kt(n)){const i=this.index-this.currentSequence.length;if(this.sectionStart=n||(this.state===28?this.currentSequence===Rt.CdataEnd?this.cbs.oncdata(this.sectionStart,n):this.cbs.oncomment(this.sectionStart,n):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,n))}emitCodePoint(n,i){}}const xg={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},Ig={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with