@runeya/runeya 1.33.8 → 1.33.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/node-red-contrib-runeya.tar +0 -0
  2. package/package.json +1 -1
  3. package/public/assets/{App-ClT0daRA.css → App-BVTb2f1U.css} +1 -1
  4. package/public/assets/App-havugOhG.js +101 -0
  5. package/public/assets/{CurrentEditor-BgkRP7cS.js → CurrentEditor-CGzL3h8U.js} +1 -1
  6. package/public/assets/{Editor-BqvrNzb6.js → Editor-DK3XKnCP.js} +6 -6
  7. package/public/assets/{ImportCreate-B-lRmpLH.js → ImportCreate-Byvpjnq0.js} +1 -1
  8. package/public/assets/{Init-D3C4n99F.js → Init-Dif9nNb1.js} +1 -1
  9. package/public/assets/{LeftLogo-E7dYCAWT.js → LeftLogo-Cbwhm4ku.js} +1 -1
  10. package/public/assets/{Markdown-dzyZ7CTg.js → Markdown-5TtJbvAz.js} +1 -1
  11. package/public/assets/{Overview-YtPSCN3k.js → Overview-Bl8fTVx6.js} +1 -1
  12. package/public/assets/{Section-YBL4Pzic.js → Section-DLhOQaZc.js} +1 -1
  13. package/public/assets/{Settings-DJaMzLUX.js → Settings-BjPflvt4.js} +1 -1
  14. package/public/assets/{StackChooser-DAAV0Rat.js → StackChooser-Dm1JVLNV.js} +1 -1
  15. package/public/assets/{StackChooser-BnNrvv4Y.js → StackChooser-jx7LDKIV.js} +1 -1
  16. package/public/assets/{StackMultiple-D0ozn0Tf.js → StackMultiple-kplS4h1T.js} +1 -1
  17. package/public/assets/{StackSingle-CHHH2rXO.js → StackSingle-vf02csuy.js} +1 -1
  18. package/public/assets/{Tabs-D9ZNelJj.js → Tabs-DnJSk4n2.js} +1 -1
  19. package/public/assets/{cssMode-BEnNoAFz.js → cssMode-BPdPLkVG.js} +1 -1
  20. package/public/assets/{freemarker2-z8zA5ezm.js → freemarker2-3NvUG45O.js} +1 -1
  21. package/public/assets/{handlebars-DTrkysaX.js → handlebars-CFHZlhgH.js} +1 -1
  22. package/public/assets/{html-BiGIRkmo.js → html-Bkw9bGL4.js} +1 -1
  23. package/public/assets/{htmlMode-CGj06Oa8.js → htmlMode-CRd0eLDO.js} +1 -1
  24. package/public/assets/{index-G1ob8hK0.js → index-CWdLNLf2.js} +2 -2
  25. package/public/assets/{javascript-DEAY-G4N.js → javascript-ByJcXg8C.js} +1 -1
  26. package/public/assets/{jsonMode-CLJTah_r.js → jsonMode-eQLqr7ag.js} +1 -1
  27. package/public/assets/{liquid-Bt_q9jyv.js → liquid-D7tDuX3T.js} +1 -1
  28. package/public/assets/{mdx-BtbMy52t.js → mdx-Ct31jTJm.js} +1 -1
  29. package/public/assets/{python-DIVYbK-C.js → python-B9O75g1L.js} +1 -1
  30. package/public/assets/{razor-ztrk2wBu.js → razor-CTgHL3xd.js} +1 -1
  31. package/public/assets/{router-B2S_D5pC.js → router-B5BHMCJX.js} +4 -4
  32. package/public/assets/{system-DYhoWbZ1.js → system-D6n39APF.js} +1 -1
  33. package/public/assets/{tsMode-Fc-Kxr3a.js → tsMode-D-YLfP_n.js} +1 -1
  34. package/public/assets/{typescript-CHa_3xkF.js → typescript-CjO-D8b6.js} +1 -1
  35. package/public/assets/{xml-B2WXRoPu.js → xml-D7AJmN-D.js} +1 -1
  36. package/public/assets/{yaml-6vYkUkh3.js → yaml-Ct88-2x6.js} +1 -1
  37. package/public/index.html +1 -1
  38. package/runeya.vsix +0 -0
  39. package/www.js +235 -173
  40. package/www.js.map +1 -1
  41. package/public/assets/App-Bzzr3d8D.js +0 -101
@@ -1 +1 @@
1
- import{L as B,B as D}from"./LeftLogo-E7dYCAWT.js";import{_ as I}from"./Section-YBL4Pzic.js";import{r as f,j as b,c as C,a as n,o as a,b as s,t as u,F as h,q as v,d as k,l,e as d,f as y,O as F}from"./index-G1ob8hK0.js";import{k as x,M as L,u as A,S as _}from"./router-B2S_D5pC.js";import{_ as w}from"./_plugin-vue_export-helper-DlAUqK2U.js";import N from"./system-DYhoWbZ1.js";import"./Markdown-dzyZ7CTg.js";import"./Editor-BqvrNzb6.js";const R={name:"explorer",props:{},setup(){const r=f([]),e=f(""),c=async o=>{e.value=o,r.value=await x.ls(o)};return b(async()=>{const o=await x.homeDir();await c(o)}),{dir:r,ls:c,currentPath:e,directories:C(()=>r.value.filter(o=>o.isDirectory)),files:C(()=>r.value.filter(o=>!o.isDirectory&&o.isStack))}}},T={class:"explorer-root"},V={class:"explorer-content"},E={class:"header"},j={class:"current-directory"},q={class:"current-path"},O={class:"explorer-view"},z=["onClick"],G={key:0,class:"fas fa-arrow-left","aria-hidden":"true"},H={key:1,class:"fas fa-folder","aria-hidden":"true"},J={key:2,class:"fab fa-npm","aria-hidden":"true"},K=["onClick"];function Q(r,e,c,o,m,$){return a(),n("div",T,[s("div",V,[s("div",E,[s("div",j,[e[0]||(e[0]=s("i",{class:"fas fa-folder-open","aria-hidden":"true"},null,-1)),s("div",q,u(o.currentPath),1)])]),s("div",O,[s("ul",null,[(a(!0),n(h,null,v(o.directories,t=>(a(),n("li",{key:t.name,onClick:p=>o.ls(t.absolutePath)},[t.name===".."?(a(),n("i",G)):t.npmInfos?(a(),n("i",J)):(a(),n("i",H)),k(" "+u(t.name),1)],8,z))),128))]),s("ul",null,[(a(!0),n(h,null,v(o.files,t=>(a(),n("li",{key:t.name,class:"success",onClick:p=>r.$emit("file",t.absolutePath)},[e[1]||(e[1]=s("i",{class:"fas fa-cog","aria-hidden":"true"},null,-1)),k(" "+u(t.name),1)],8,K))),128))])])])])}const U=w(R,[["render",Q],["__scopeId","data-v-4cc70bf2"]]),W={name:"StackChooser",components:{BackgroundStackChooser:D,SectionCmp:I,Modal:L,Explorer:U,LeftLogo:B},setup(){const r=A(),e=f([]);b(async()=>{e.value=await _.getAllConfsPath()});const c=f(null);return{modalRef:c,recents:e,System:N,async deleteConf(o){await _.deleteConf(o),e.value=await _.getAllConfsPath()},openModal(){var o;(o=c.value)==null||o.open().subscribe(m=>{})},async openPath(o){await _.selectConf(o),setTimeout(()=>{r.push({name:"stack-chooser"})},100)}}}},X={class:"import-export-root"},Y={class:"import-export-container"},Z=["onClick"],oo=["onClick"],eo={class:"version"};function so(r,e,c,o,m,$){const t=l("background-stack-chooser"),p=l("left-logo"),g=l("section-cmp"),P=l("explorer"),S=l("modal");return a(),n("div",X,[d(t,{"low-resources":!0}),d(p),s("div",Y,[d(g,{header:"Choose configuration",class:"section-recent",actions:[{label:"Import",icon:"fas fa-download",click:()=>o.openModal()}]},{default:y(()=>[(a(!0),n(h,null,v(o.recents,i=>(a(),n("div",{key:i,onClick:M=>o.openPath(i),class:"recent"},[s("i",{class:"fas fa-times","aria-hidden":"true",onClick:F(M=>o.deleteConf(i),["stop"])},null,8,oo),k(" "+u(i),1)],8,Z))),128))]),_:1},8,["actions"])]),s("div",eo,u(o.System.version.value),1),s("div",{class:"tools",onClick:e[0]||(e[0]=i=>r.$router.push({name:"Toolbox"}))},e[1]||(e[1]=[s("i",{class:"fas fa-toolbox"},null,-1)])),d(S,{ref:"modalRef",noActions:!0},{body:y(()=>[d(P,{onFile:o.openPath},null,8,["onFile"])]),_:1},512)])}const _o=w(W,[["render",so],["__scopeId","data-v-445142a6"]]);export{_o as default};
1
+ import{L as B,B as D}from"./LeftLogo-Cbwhm4ku.js";import{_ as I}from"./Section-DLhOQaZc.js";import{r as f,j as b,c as C,a as n,o as a,b as s,t as u,F as h,q as v,d as k,l,e as d,f as y,O as F}from"./index-CWdLNLf2.js";import{k as x,M as L,u as A,S as _}from"./router-B5BHMCJX.js";import{_ as w}from"./_plugin-vue_export-helper-DlAUqK2U.js";import N from"./system-D6n39APF.js";import"./Markdown-5TtJbvAz.js";import"./Editor-DK3XKnCP.js";const R={name:"explorer",props:{},setup(){const r=f([]),e=f(""),c=async o=>{e.value=o,r.value=await x.ls(o)};return b(async()=>{const o=await x.homeDir();await c(o)}),{dir:r,ls:c,currentPath:e,directories:C(()=>r.value.filter(o=>o.isDirectory)),files:C(()=>r.value.filter(o=>!o.isDirectory&&o.isStack))}}},T={class:"explorer-root"},V={class:"explorer-content"},E={class:"header"},j={class:"current-directory"},q={class:"current-path"},O={class:"explorer-view"},z=["onClick"],G={key:0,class:"fas fa-arrow-left","aria-hidden":"true"},H={key:1,class:"fas fa-folder","aria-hidden":"true"},J={key:2,class:"fab fa-npm","aria-hidden":"true"},K=["onClick"];function Q(r,e,c,o,m,$){return a(),n("div",T,[s("div",V,[s("div",E,[s("div",j,[e[0]||(e[0]=s("i",{class:"fas fa-folder-open","aria-hidden":"true"},null,-1)),s("div",q,u(o.currentPath),1)])]),s("div",O,[s("ul",null,[(a(!0),n(h,null,v(o.directories,t=>(a(),n("li",{key:t.name,onClick:p=>o.ls(t.absolutePath)},[t.name===".."?(a(),n("i",G)):t.npmInfos?(a(),n("i",J)):(a(),n("i",H)),k(" "+u(t.name),1)],8,z))),128))]),s("ul",null,[(a(!0),n(h,null,v(o.files,t=>(a(),n("li",{key:t.name,class:"success",onClick:p=>r.$emit("file",t.absolutePath)},[e[1]||(e[1]=s("i",{class:"fas fa-cog","aria-hidden":"true"},null,-1)),k(" "+u(t.name),1)],8,K))),128))])])])])}const U=w(R,[["render",Q],["__scopeId","data-v-4cc70bf2"]]),W={name:"StackChooser",components:{BackgroundStackChooser:D,SectionCmp:I,Modal:L,Explorer:U,LeftLogo:B},setup(){const r=A(),e=f([]);b(async()=>{e.value=await _.getAllConfsPath()});const c=f(null);return{modalRef:c,recents:e,System:N,async deleteConf(o){await _.deleteConf(o),e.value=await _.getAllConfsPath()},openModal(){var o;(o=c.value)==null||o.open().subscribe(m=>{})},async openPath(o){await _.selectConf(o),setTimeout(()=>{r.push({name:"stack-chooser"})},100)}}}},X={class:"import-export-root"},Y={class:"import-export-container"},Z=["onClick"],oo=["onClick"],eo={class:"version"};function so(r,e,c,o,m,$){const t=l("background-stack-chooser"),p=l("left-logo"),g=l("section-cmp"),P=l("explorer"),S=l("modal");return a(),n("div",X,[d(t,{"low-resources":!0}),d(p),s("div",Y,[d(g,{header:"Choose configuration",class:"section-recent",actions:[{label:"Import",icon:"fas fa-download",click:()=>o.openModal()}]},{default:y(()=>[(a(!0),n(h,null,v(o.recents,i=>(a(),n("div",{key:i,onClick:M=>o.openPath(i),class:"recent"},[s("i",{class:"fas fa-times","aria-hidden":"true",onClick:F(M=>o.deleteConf(i),["stop"])},null,8,oo),k(" "+u(i),1)],8,Z))),128))]),_:1},8,["actions"])]),s("div",eo,u(o.System.version.value),1),s("div",{class:"tools",onClick:e[0]||(e[0]=i=>r.$router.push({name:"Toolbox"}))},e[1]||(e[1]=[s("i",{class:"fas fa-toolbox"},null,-1)])),d(S,{ref:"modalRef",noActions:!0},{body:y(()=>[d(P,{onFile:o.openPath},null,8,["onFile"])]),_:1},512)])}const _o=w(W,[["render",so],["__scopeId","data-v-445142a6"]]);export{_o as default};
@@ -1 +1 @@
1
- import{_ as o}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as r,o as n,b as t}from"./index-G1ob8hK0.js";const s={};function a(c,e){return n(),r("div",null,e[0]||(e[0]=[t("h1",null,"Configure",-1)]))}const i=o(s,[["render",a]]);export{i as default};
1
+ import{_ as o}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as r,o as n,b as t}from"./index-CWdLNLf2.js";const s={};function a(c,e){return n(),r("div",null,e[0]||(e[0]=[t("h1",null,"Configure",-1)]))}const i=o(s,[["render",a]]);export{i as default};
@@ -1 +1 @@
1
- import{r as _,j as h,K as w,a as r,o as s,b as l,e as b,f as g,F as v,q as x,u as y,x as L,d as R}from"./index-G1ob8hK0.js";import{_ as $}from"./_plugin-vue_export-helper-DlAUqK2U.js";const T={props:{lowResources:{default:!1}},setup(i){const n=_([]),p=t=>{const o=Math.floor(t*100/5/100),m=Math.floor(100*100/5/100),M=t*100/5%100,B=o*100/m,d=Math.floor(Math.random()*40),z=Math.random()>.5?M+d:M-d;return{top:(Math.random()>.5?B+d:B-d)+"%",left:z+"%",backgroundColor:"rgba(255, 255, 255, 0.6)",boxShadow:"0 0 10px 1px white"}};h(()=>n.value=Array(100).fill("").map((t,o)=>p(o)));const c=10,u=t=>({bottom:"0",top:t*100/c+"%",width:Math.random()*50+"%"}),f=t=>({right:"0",top:t*100/c+"%",width:Math.random()*50+"%"}),a=_([]),e=_([]);h(()=>setTimeout(()=>a.value=Array(10).fill("").map((t,o)=>u(o)))),h(()=>setTimeout(()=>e.value=Array(10).fill("").map((t,o)=>f(o))));let k;return i.lowResources||(k=setInterval(()=>{n.value.map(t=>{const o=Math.random()/3+.3333333333333333;t.backgroundColor=`rgba(255, 255, 255, ${o})`})},300)),w(()=>clearInterval(k)),{barsLeft:a,barsRight:e,stars:n}}},C={class:"background-root"},I={class:"stars"},S={class:"bars left"},q={class:"bars right"};function A(i,n,p,c,u,f){return s(),r("div",C,[l("div",I,[b(L,{name:"appear"},{default:g(()=>[(s(!0),r(v,null,x(c.stars,(a,e)=>(s(),r("div",{class:"star",key:"star-"+e,style:y({...a})},null,4))),128))]),_:1})]),l("div",S,[b(L,{name:"appear"},{default:g(()=>[(s(!0),r(v,null,x(c.barsLeft,(a,e)=>(s(),r("div",{class:"bar",key:"bar-left"+e,style:y({...a})},null,4))),128))]),_:1})]),l("div",q,[b(L,{name:"appear"},{default:g(()=>[(s(!0),r(v,null,x(c.barsRight,(a,e)=>(s(),r("div",{class:"bar",key:"bar-right"+e,style:y({...a})},null,4))),128))]),_:1})])])}const K=$(T,[["render",A],["__scopeId","data-v-750299bb"]]),N="/assets/rocket-Cqyxqx2p.png",P={},V={class:"left"};function F(i,n,p,c,u,f){return s(),r("div",V,n[0]||(n[0]=[l("div",{class:"logo"},[l("img",{src:N,alt:""}),R(" Runeya ")],-1)]))}const U=$(P,[["render",F],["__scopeId","data-v-c6f9ad9a"]]);export{K as B,U as L};
1
+ import{r as _,j as h,K as w,a as r,o as s,b as l,e as b,f as g,F as v,q as x,u as y,x as L,d as R}from"./index-CWdLNLf2.js";import{_ as $}from"./_plugin-vue_export-helper-DlAUqK2U.js";const T={props:{lowResources:{default:!1}},setup(i){const n=_([]),p=t=>{const o=Math.floor(t*100/5/100),m=Math.floor(100*100/5/100),M=t*100/5%100,B=o*100/m,d=Math.floor(Math.random()*40),z=Math.random()>.5?M+d:M-d;return{top:(Math.random()>.5?B+d:B-d)+"%",left:z+"%",backgroundColor:"rgba(255, 255, 255, 0.6)",boxShadow:"0 0 10px 1px white"}};h(()=>n.value=Array(100).fill("").map((t,o)=>p(o)));const c=10,u=t=>({bottom:"0",top:t*100/c+"%",width:Math.random()*50+"%"}),f=t=>({right:"0",top:t*100/c+"%",width:Math.random()*50+"%"}),a=_([]),e=_([]);h(()=>setTimeout(()=>a.value=Array(10).fill("").map((t,o)=>u(o)))),h(()=>setTimeout(()=>e.value=Array(10).fill("").map((t,o)=>f(o))));let k;return i.lowResources||(k=setInterval(()=>{n.value.map(t=>{const o=Math.random()/3+.3333333333333333;t.backgroundColor=`rgba(255, 255, 255, ${o})`})},300)),w(()=>clearInterval(k)),{barsLeft:a,barsRight:e,stars:n}}},C={class:"background-root"},I={class:"stars"},S={class:"bars left"},q={class:"bars right"};function A(i,n,p,c,u,f){return s(),r("div",C,[l("div",I,[b(L,{name:"appear"},{default:g(()=>[(s(!0),r(v,null,x(c.stars,(a,e)=>(s(),r("div",{class:"star",key:"star-"+e,style:y({...a})},null,4))),128))]),_:1})]),l("div",S,[b(L,{name:"appear"},{default:g(()=>[(s(!0),r(v,null,x(c.barsLeft,(a,e)=>(s(),r("div",{class:"bar",key:"bar-left"+e,style:y({...a})},null,4))),128))]),_:1})]),l("div",q,[b(L,{name:"appear"},{default:g(()=>[(s(!0),r(v,null,x(c.barsRight,(a,e)=>(s(),r("div",{class:"bar",key:"bar-right"+e,style:y({...a})},null,4))),128))]),_:1})])])}const K=$(T,[["render",A],["__scopeId","data-v-750299bb"]]),N="/assets/rocket-Cqyxqx2p.png",P={},V={class:"left"};function F(i,n,p,c,u,f){return s(),r("div",V,n[0]||(n[0]=[l("div",{class:"logo"},[l("img",{src:N,alt:""}),R(" Runeya ")],-1)]))}const U=$(P,[["render",F],["__scopeId","data-v-c6f9ad9a"]]);export{K as B,U as L};
@@ -1,4 +1,4 @@
1
- import{b3 as g_,aU as Uo,B as ze,I as wt,b4 as Cn,aV as S_,ab as sn,b5 as yt,b6 as f_,b7 as it,b8 as Dt,b9 as ot,av as b_,D as T_,ba as R_,y as C_,a as on,o as Mt,r as Bo,c as h_,b as hn,s as N_,g as O_,L as A_}from"./index-G1ob8hK0.js";import{_ as I_}from"./_plugin-vue_export-helper-DlAUqK2U.js";function Gu(...t){if(t){let e=[];for(let n=0;n<t.length;n++){const r=t[n];if(!r)continue;const a=typeof r;if(a==="string"||a==="number")e.push(r);else if(a==="object"){const i=Array.isArray(r)?[Gu(...r)]:Object.entries(r).map(([s,o])=>o?s:void 0);e=i.length?e.concat(i.filter(s=>!!s)):e}}return e.join(" ").trim()}}var Tf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function v_(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Rf(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return t[r]}})}),n}function y_(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pc",e=g_();return"".concat(t).concat(e.replace("v-","").replaceAll("-","_"))}var Go=ze.extend({name:"common"});function Pt(t){"@babel/helpers - typeof";return Pt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pt(t)}function D_(t){return Vu(t)||x_(t)||qu(t)||Yu()}function x_(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function xt(t,e){return Vu(t)||M_(t,e)||qu(t,e)||Yu()}function Yu(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{b3 as g_,aU as Uo,B as ze,I as wt,b4 as Cn,aV as S_,ab as sn,b5 as yt,b6 as f_,b7 as it,b8 as Dt,b9 as ot,av as b_,D as T_,ba as R_,y as C_,a as on,o as Mt,r as Bo,c as h_,b as hn,s as N_,g as O_,L as A_}from"./index-CWdLNLf2.js";import{_ as I_}from"./_plugin-vue_export-helper-DlAUqK2U.js";function Gu(...t){if(t){let e=[];for(let n=0;n<t.length;n++){const r=t[n];if(!r)continue;const a=typeof r;if(a==="string"||a==="number")e.push(r);else if(a==="object"){const i=Array.isArray(r)?[Gu(...r)]:Object.entries(r).map(([s,o])=>o?s:void 0);e=i.length?e.concat(i.filter(s=>!!s)):e}}return e.join(" ").trim()}}var Tf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function v_(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Rf(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return t[r]}})}),n}function y_(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pc",e=g_();return"".concat(t).concat(e.replace("v-","").replaceAll("-","_"))}var Go=ze.extend({name:"common"});function Pt(t){"@babel/helpers - typeof";return Pt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pt(t)}function D_(t){return Vu(t)||x_(t)||qu(t)||Yu()}function x_(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function xt(t,e){return Vu(t)||M_(t,e)||qu(t,e)||Yu()}function Yu(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qu(t,e){if(t){if(typeof t=="string")return Yo(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yo(t,e):void 0}}function Yo(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function M_(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,a,i,s,o=[],l=!0,c=!1;try{if(i=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(o.push(r.value),o.length!==e);l=!0);}catch(u){c=!0,a=u}finally{try{if(!l&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw a}}return o}}function Vu(t){if(Array.isArray(t))return t}function qo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function V(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?qo(Object(n),!0).forEach(function(r){Lt(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qo(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Lt(t,e,n){return(e=L_(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L_(t){var e=w_(t,"string");return Pt(e)=="symbol"?e:e+""}function w_(t,e){if(Pt(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(Pt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var P_={name:"BaseComponent",props:{pt:{type:Object,default:void 0},ptOptions:{type:Object,default:void 0},unstyled:{type:Boolean,default:void 0},dt:{type:Object,default:void 0}},inject:{$parentInstance:{default:void 0}},watch:{isUnstyled:{immediate:!0,handler:function(e){it.off("theme:change",this._loadCoreStyles),e||(this._loadCoreStyles(),this._themeChangeListener(this._loadCoreStyles))}},dt:{immediate:!0,handler:function(e,n){var r=this;it.off("theme:change",this._themeScopedListener),e?(this._loadScopedThemeStyles(e),this._themeScopedListener=function(){return r._loadScopedThemeStyles(e)},this._themeChangeListener(this._themeScopedListener)):this._unloadScopedThemeStyles()}}},scopedStyleEl:void 0,rootEl:void 0,uid:void 0,$attrSelector:void 0,beforeCreate:function(){var e,n,r,a,i,s,o,l,c,u,_,p=(e=this.pt)===null||e===void 0?void 0:e._usept,m=p?(n=this.pt)===null||n===void 0||(n=n.originalValue)===null||n===void 0?void 0:n[this.$.type.name]:void 0,d=p?(r=this.pt)===null||r===void 0||(r=r.value)===null||r===void 0?void 0:r[this.$.type.name]:this.pt;(a=d||m)===null||a===void 0||(a=a.hooks)===null||a===void 0||(i=a.onBeforeCreate)===null||i===void 0||i.call(a);var g=(s=this.$primevueConfig)===null||s===void 0||(s=s.pt)===null||s===void 0?void 0:s._usept,S=g?(o=this.$primevue)===null||o===void 0||(o=o.config)===null||o===void 0||(o=o.pt)===null||o===void 0?void 0:o.originalValue:void 0,b=g?(l=this.$primevue)===null||l===void 0||(l=l.config)===null||l===void 0||(l=l.pt)===null||l===void 0?void 0:l.value:(c=this.$primevue)===null||c===void 0||(c=c.config)===null||c===void 0?void 0:c.pt;(u=b||S)===null||u===void 0||(u=u[this.$.type.name])===null||u===void 0||(u=u.hooks)===null||u===void 0||(_=u.onBeforeCreate)===null||_===void 0||_.call(u),this.$attrSelector=y_(),this.uid=this.$attrs.id||this.$attrSelector.replace("pc","pv_id_")},created:function(){this._hook("onCreated")},beforeMount:function(){var e;this.rootEl=T_(R_(this.$el)?this.$el:(e=this.$el)===null||e===void 0?void 0:e.parentElement,"[".concat(this.$attrSelector,"]")),this.rootEl&&(this.rootEl.$pc=V({name:this.$.type.name,attrSelector:this.$attrSelector},this.$params)),this._loadStyles(),this._hook("onBeforeMount")},mounted:function(){this._hook("onMounted")},beforeUpdate:function(){this._hook("onBeforeUpdate")},updated:function(){this._hook("onUpdated")},beforeUnmount:function(){this._hook("onBeforeUnmount")},unmounted:function(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this._hook("onUnmounted")},methods:{_hook:function(e){if(!this.$options.hostName){var n=this._usePT(this._getPT(this.pt,this.$.type.name),this._getOptionValue,"hooks.".concat(e)),r=this._useDefaultPT(this._getOptionValue,"hooks.".concat(e));n==null||n(),r==null||r()}},_mergeProps:function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return b_(e)?e.apply(void 0,r):wt.apply(void 0,r)},_load:function(){Dt.isStyleNameLoaded("base")||(ze.loadCSS(this.$styleOptions),this._loadGlobalStyles(),Dt.setLoadedStyleName("base")),this._loadThemeStyles()},_loadStyles:function(){this._load(),this._themeChangeListener(this._load)},_loadCoreStyles:function(){var e,n;!Dt.isStyleNameLoaded((e=this.$style)===null||e===void 0?void 0:e.name)&&(n=this.$style)!==null&&n!==void 0&&n.name&&(Go.loadCSS(this.$styleOptions),this.$options.style&&this.$style.loadCSS(this.$styleOptions),Dt.setLoadedStyleName(this.$style.name))},_loadGlobalStyles:function(){var e=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);sn(e)&&ze.load(e,V({name:"global"},this.$styleOptions))},_loadThemeStyles:function(){var e,n;if(!(this.isUnstyled||this.$theme==="none")){if(!ot.isStyleNameLoaded("common")){var r,a,i=((r=this.$style)===null||r===void 0||(a=r.getCommonTheme)===null||a===void 0?void 0:a.call(r))||{},s=i.primitive,o=i.semantic,l=i.global,c=i.style;ze.load(s==null?void 0:s.css,V({name:"primitive-variables"},this.$styleOptions)),ze.load(o==null?void 0:o.css,V({name:"semantic-variables"},this.$styleOptions)),ze.load(l==null?void 0:l.css,V({name:"global-variables"},this.$styleOptions)),ze.loadStyle(V({name:"global-style"},this.$styleOptions),c),ot.setLoadedStyleName("common")}if(!ot.isStyleNameLoaded((e=this.$style)===null||e===void 0?void 0:e.name)&&(n=this.$style)!==null&&n!==void 0&&n.name){var u,_,p,m,d=((u=this.$style)===null||u===void 0||(_=u.getComponentTheme)===null||_===void 0?void 0:_.call(u))||{},g=d.css,S=d.style;(p=this.$style)===null||p===void 0||p.load(g,V({name:"".concat(this.$style.name,"-variables")},this.$styleOptions)),(m=this.$style)===null||m===void 0||m.loadStyle(V({name:"".concat(this.$style.name,"-style")},this.$styleOptions),S),ot.setLoadedStyleName(this.$style.name)}if(!ot.isStyleNameLoaded("layer-order")){var b,f,T=(b=this.$style)===null||b===void 0||(f=b.getLayerOrderThemeCSS)===null||f===void 0?void 0:f.call(b);ze.load(T,V({name:"layer-order",first:!0},this.$styleOptions)),ot.setLoadedStyleName("layer-order")}}},_loadScopedThemeStyles:function(e){var n,r,a,i=((n=this.$style)===null||n===void 0||(r=n.getPresetTheme)===null||r===void 0?void 0:r.call(n,e,"[".concat(this.$attrSelector,"]")))||{},s=i.css,o=(a=this.$style)===null||a===void 0?void 0:a.load(s,V({name:"".concat(this.$attrSelector,"-").concat(this.$style.name)},this.$styleOptions));this.scopedStyleEl=o.el},_unloadScopedThemeStyles:function(){var e;(e=this.scopedStyleEl)===null||e===void 0||(e=e.value)===null||e===void 0||e.remove()},_themeChangeListener:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};Dt.clearLoadedStyleNames(),it.on("theme:change",e)},_removeThemeListeners:function(){it.off("theme:change",this._loadCoreStyles),it.off("theme:change",this._load),it.off("theme:change",this._themeScopedListener)},_getHostInstance:function(e){return e?this.$options.hostName?e.$.type.name===this.$options.hostName?e:this._getHostInstance(e.$parentInstance):e.$parentInstance:void 0},_getPropValue:function(e){var n;return this[e]||((n=this._getHostInstance(this))===null||n===void 0?void 0:n[e])},_getOptionValue:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return f_(e,n,r)},_getPTValue:function(){var e,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,s=/./g.test(r)&&!!a[r.split(".")[0]],o=this._getPropValue("ptOptions")||((e=this.$primevueConfig)===null||e===void 0?void 0:e.ptOptions)||{},l=o.mergeSections,c=l===void 0?!0:l,u=o.mergeProps,_=u===void 0?!1:u,p=i?s?this._useGlobalPT(this._getPTClassValue,r,a):this._useDefaultPT(this._getPTClassValue,r,a):void 0,m=s?void 0:this._getPTSelf(n,this._getPTClassValue,r,V(V({},a),{},{global:p||{}})),d=this._getPTDatasets(r);return c||!c&&m?_?this._mergeProps(_,p,m,d):V(V(V({},p),m),d):V(V({},m),d)},_getPTSelf:function(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return wt(this._usePT.apply(this,[this._getPT(e,this.$name)].concat(r)),this._usePT.apply(this,[this.$_attrsPT].concat(r)))},_getPTDatasets:function(){var e,n,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",a="data-pc-",i=r==="root"&&sn((e=this.pt)===null||e===void 0?void 0:e["data-pc-section"]);return r!=="transition"&&V(V({},r==="root"&&V(V(Lt({},"".concat(a,"name"),yt(i?(n=this.pt)===null||n===void 0?void 0:n["data-pc-section"]:this.$.type.name)),i&&Lt({},"".concat(a,"extend"),yt(this.$.type.name))),{},Lt({},"".concat(this.$attrSelector),""))),{},Lt({},"".concat(a,"section"),yt(r)))},_getPTClassValue:function(){var e=this._getOptionValue.apply(this,arguments);return Cn(e)||S_(e)?{class:e}:e},_getPT:function(e){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a=arguments.length>2?arguments[2]:void 0,i=function(o){var l,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=a?a(o):o,_=yt(r),p=yt(n.$name);return(l=c?_!==p?u==null?void 0:u[_]:void 0:u==null?void 0:u[_])!==null&&l!==void 0?l:u};return e!=null&&e.hasOwnProperty("_usept")?{_usept:e._usept,originalValue:i(e.originalValue),value:i(e.value)}:i(e,!0)},_usePT:function(e,n,r,a){var i=function(g){return n(g,r,a)};if(e!=null&&e.hasOwnProperty("_usept")){var s,o=e._usept||((s=this.$primevueConfig)===null||s===void 0?void 0:s.ptOptions)||{},l=o.mergeSections,c=l===void 0?!0:l,u=o.mergeProps,_=u===void 0?!1:u,p=i(e.originalValue),m=i(e.value);return p===void 0&&m===void 0?void 0:Cn(m)?m:Cn(p)?p:c||!c&&m?_?this._mergeProps(_,p,m):V(V({},p),m):m}return i(e)},_useGlobalPT:function(e,n,r){return this._usePT(this.globalPT,e,n,r)},_useDefaultPT:function(e,n,r){return this._usePT(this.defaultPT,e,n,r)},ptm:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._getPTValue(this.pt,e,V(V({},this.$params),n))},ptmi:function(){var e,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=wt(this.$_attrsWithoutPT,this.ptm(n,r));return a!=null&&a.hasOwnProperty("id")&&((e=a.id)!==null&&e!==void 0||(a.id=this.$id)),a},ptmo:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._getPTValue(e,n,V({instance:this},r),!1)},cx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,e,V(V({},this.$params),n))},sx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(n){var a=this._getOptionValue(this.$style.inlineStyles,e,V(V({},this.$params),r)),i=this._getOptionValue(Go.inlineStyles,e,V(V({},this.$params),r));return[i,a]}}},computed:{globalPT:function(){var e,n=this;return this._getPT((e=this.$primevueConfig)===null||e===void 0?void 0:e.pt,void 0,function(r){return Uo(r,{instance:n})})},defaultPT:function(){var e,n=this;return this._getPT((e=this.$primevueConfig)===null||e===void 0?void 0:e.pt,void 0,function(r){return n._getOptionValue(r,n.$name,V({},n.$params))||Uo(r,V({},n.$params))})},isUnstyled:function(){var e;return this.unstyled!==void 0?this.unstyled:(e=this.$primevueConfig)===null||e===void 0?void 0:e.unstyled},$id:function(){return this.$attrs.id||this.uid},$inProps:function(){var e,n=Object.keys(((e=this.$.vnode)===null||e===void 0?void 0:e.props)||{});return Object.fromEntries(Object.entries(this.$props).filter(function(r){var a=xt(r,1),i=a[0];return n==null?void 0:n.includes(i)}))},$theme:function(){var e;return(e=this.$primevueConfig)===null||e===void 0?void 0:e.theme},$style:function(){return V(V({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadStyle:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$styleOptions:function(){var e;return{nonce:(e=this.$primevueConfig)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce}},$primevueConfig:function(){var e;return(e=this.$primevue)===null||e===void 0?void 0:e.config},$name:function(){return this.$options.hostName||this.$.type.name},$params:function(){var e=this._getHostInstance(this)||this.$parent;return{instance:this,props:this.$props,state:this.$data,attrs:this.$attrs,parent:{instance:e,props:e==null?void 0:e.$props,state:e==null?void 0:e.$data,attrs:e==null?void 0:e.$attrs}}},$_attrsPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){var n=xt(e,1),r=n[0];return r==null?void 0:r.startsWith("pt:")}).reduce(function(e,n){var r=xt(n,2),a=r[0],i=r[1],s=a.split(":"),o=D_(s),l=o.slice(1);return l==null||l.reduce(function(c,u,_,p){return!c[u]&&(c[u]=_===p.length-1?i:{}),c[u]},e),e},{})},$_attrsWithoutPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){var n=xt(e,1),r=n[0];return!(r!=null&&r.startsWith("pt:"))}).reduce(function(e,n){var r=xt(n,2),a=r[0],i=r[1];return e[a]=i,e},{})}}},k_={name:"BaseEditableHolder",extends:P_,emits:["update:modelValue","value-change"],props:{modelValue:{type:null,default:void 0},defaultValue:{type:null,default:void 0},name:{type:String,default:void 0},invalid:{type:Boolean,default:void 0},disabled:{type:Boolean,default:!1},formControl:{type:Object,default:void 0}},inject:{$parentInstance:{default:void 0},$pcForm:{default:void 0},$pcFormField:{default:void 0}},data:function(){return{d_value:this.defaultValue!==void 0?this.defaultValue:this.modelValue}},watch:{modelValue:function(e){this.d_value=e},defaultValue:function(e){this.d_value=e},$formName:{immediate:!0,handler:function(e){var n,r;this.formField=((n=this.$pcForm)===null||n===void 0||(r=n.register)===null||r===void 0?void 0:r.call(n,e,this.$formControl))||{}}},$formControl:{immediate:!0,handler:function(e){var n,r;this.formField=((n=this.$pcForm)===null||n===void 0||(r=n.register)===null||r===void 0?void 0:r.call(n,this.$formName,e))||{}}},$formDefaultValue:{immediate:!0,handler:function(e){this.d_value!==e&&(this.d_value=e)}},$formValue:{immediate:!1,handler:function(e){var n;(n=this.$pcForm)!==null&&n!==void 0&&n.getFieldState(this.$formName)&&e!==this.d_value&&(this.d_value=e)}}},formField:{},methods:{writeValue:function(e,n){var r,a;this.controlled&&(this.d_value=e,this.$emit("update:modelValue",e)),this.$emit("value-change",e),(r=(a=this.formField).onChange)===null||r===void 0||r.call(a,{originalEvent:n,value:e})},findNonEmpty:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.find(sn)}},computed:{$filled:function(){return sn(this.d_value)},$invalid:function(){var e,n;return!this.$formNovalidate&&this.findNonEmpty(this.invalid,(e=this.$pcFormField)===null||e===void 0||(e=e.$field)===null||e===void 0?void 0:e.invalid,(n=this.$pcForm)===null||n===void 0||(n=n.getFieldState(this.$formName))===null||n===void 0?void 0:n.invalid)},$formName:function(){var e;return this.$formNovalidate?void 0:this.name||((e=this.$formControl)===null||e===void 0?void 0:e.name)},$formControl:function(){var e;return this.formControl||((e=this.$pcFormField)===null||e===void 0?void 0:e.formControl)},$formNovalidate:function(){var e;return(e=this.$formControl)===null||e===void 0?void 0:e.novalidate},$formDefaultValue:function(){var e,n;return this.findNonEmpty(this.d_value,(e=this.$pcFormField)===null||e===void 0?void 0:e.initialValue,(n=this.$pcForm)===null||n===void 0||(n=n.initialValues)===null||n===void 0?void 0:n[this.$formName])},$formValue:function(){var e,n;return this.findNonEmpty((e=this.$pcFormField)===null||e===void 0||(e=e.$field)===null||e===void 0?void 0:e.value,(n=this.$pcForm)===null||n===void 0||(n=n.getFieldState(this.$formName))===null||n===void 0?void 0:n.value)},controlled:function(){return this.$inProps.hasOwnProperty("modelValue")||!this.$inProps.hasOwnProperty("modelValue")&&!this.$inProps.hasOwnProperty("defaultValue")},filled:function(){return this.$filled}}},F_={name:"BaseInput",extends:k_,props:{size:{type:String,default:null},fluid:{type:Boolean,default:null},variant:{type:String,default:null}},inject:{$parentInstance:{default:void 0},$pcFluid:{default:void 0}},computed:{$variant:function(){var e;return(e=this.variant)!==null&&e!==void 0?e:this.$primevue.config.inputStyle||this.$primevue.config.inputVariant},$fluid:function(){var e;return(e=this.fluid)!==null&&e!==void 0?e:!!this.$pcFluid},hasFluid:function(){return this.$fluid}}},U_=C_`
3
3
  .p-textarea {
4
4
  font-family: inherit;
@@ -1 +1 @@
1
- import{_ as u}from"./Section-YBL4Pzic.js";import{S as p,f as _}from"./router-B2S_D5pC.js";import{S as f}from"./StackChooser-DAAV0Rat.js";import{c as v,r as b,j as k,k as h,l as x,a as s,o as e,e as n,s as y,g as S,f as g,b as r,d as c,F as w,q as C,n as i,t as B}from"./index-G1ob8hK0.js";import{_ as N}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Markdown-dzyZ7CTg.js";import"./Editor-BqvrNzb6.js";import"./system-DYhoWbZ1.js";import"./LeftLogo-E7dYCAWT.js";const V={class:"overview-root column"},D={key:0,class:"spinner-container"},z={__name:"Overview",setup(E){const m=v(()=>p.services.value.slice().sort((o,t)=>t.enabled-o.enabled)),l=b(!1);return k(async()=>{const{data:o}=await h.get("/documentation/service/global/is-available");l.value=!!o}),(o,t)=>{const d=x("Documentation");return e(),s("div",V,[n(u,{class:"home-container"},{default:g(()=>[t[0]||(t[0]=r("h2",null,[r("i",{class:"fas fa-home"}),c("Mes services")],-1)),r("ul",null,[(e(!0),s(w,null,C(m.value,a=>(e(),s("li",{key:a.label,class:i(["service",{enabled:a.enabled}])},[a.enabled?(e(),s("div",D,[n(_,{size:"10"})])):(e(),s("i",{key:1,class:i(["fas",{"fa-pause":!a.enabled}])},null,2)),c(" "+B(a.label),1)],2))),128))])]),_:1,__:[0]}),n(f,{class:"stack-chooser",embed:!0}),l.value?(e(),y(d,{key:0,class:"doc-container"})):S("",!0)])}}},A=N(z,[["__scopeId","data-v-e8f4bd3f"]]);export{A as default};
1
+ import{_ as u}from"./Section-DLhOQaZc.js";import{S as p,f as _}from"./router-B5BHMCJX.js";import{S as f}from"./StackChooser-Dm1JVLNV.js";import{c as v,r as b,j as k,k as h,l as x,a as s,o as e,e as n,s as y,g as S,f as g,b as r,d as c,F as w,q as C,n as i,t as B}from"./index-CWdLNLf2.js";import{_ as N}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Markdown-5TtJbvAz.js";import"./Editor-DK3XKnCP.js";import"./system-D6n39APF.js";import"./LeftLogo-Cbwhm4ku.js";const V={class:"overview-root column"},D={key:0,class:"spinner-container"},z={__name:"Overview",setup(E){const m=v(()=>p.services.value.slice().sort((o,t)=>t.enabled-o.enabled)),l=b(!1);return k(async()=>{const{data:o}=await h.get("/documentation/service/global/is-available");l.value=!!o}),(o,t)=>{const d=x("Documentation");return e(),s("div",V,[n(u,{class:"home-container"},{default:g(()=>[t[0]||(t[0]=r("h2",null,[r("i",{class:"fas fa-home"}),c("Mes services")],-1)),r("ul",null,[(e(!0),s(w,null,C(m.value,a=>(e(),s("li",{key:a.label,class:i(["service",{enabled:a.enabled}])},[a.enabled?(e(),s("div",D,[n(_,{size:"10"})])):(e(),s("i",{key:1,class:i(["fas",{"fa-pause":!a.enabled}])},null,2)),c(" "+B(a.label),1)],2))),128))])]),_:1,__:[0]}),n(f,{class:"stack-chooser",embed:!0}),l.value?(e(),y(d,{key:0,class:"doc-container"})):S("",!0)])}}},A=N(z,[["__scopeId","data-v-e8f4bd3f"]]);export{A as default};
@@ -1 +1 @@
1
- import{_ as xr}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as vt,j as Tr,a as se,o as Q,b as Ee,h as De,u as st,n as at,c as Ar,g as rt,t as mt,F as Er,q as Dr,s as Cr,f as Mt}from"./index-G1ob8hK0.js";var W="top",Y="bottom",X="right",I="left",At="auto",Ue=[W,Y,X,I],Ce="start",Ne="end",Sr="clippingParents",Zt="viewport",He="popper",Lr="reference",kt=Ue.reduce(function(e,t){return e.concat([t+"-"+Ce,t+"-"+Ne])},[]),Qt=[].concat(Ue,[At]).reduce(function(e,t){return e.concat([t,t+"-"+Ce,t+"-"+Ne])},[]),Br="beforeRead",Rr="read",Pr="afterRead",Mr="beforeMain",kr="main",$r="afterMain",jr="beforeWrite",Hr="write",Vr="afterWrite",Wr=[Br,Rr,Pr,Mr,kr,$r,jr,Hr,Vr];function re(e){return e?(e.nodeName||"").toLowerCase():null}function U(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ye(e){var t=U(e).Element;return e instanceof t||e instanceof Element}function z(e){var t=U(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Et(e){if(typeof ShadowRoot>"u")return!1;var t=U(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ir(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},u=t.elements[r];!z(u)||!re(u)||(Object.assign(u.style,n),Object.keys(a).forEach(function(s){var c=a[s];c===!1?u.removeAttribute(s):u.setAttribute(s,c===!0?"":c)}))})}function Nr(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],u=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),c=s.reduce(function(f,p){return f[p]="",f},{});!z(a)||!re(a)||(Object.assign(a.style,c),Object.keys(u).forEach(function(f){a.removeAttribute(f)}))})}}const er={name:"applyStyles",enabled:!0,phase:"write",fn:Ir,effect:Nr,requires:["computeStyles"]};function te(e){return e.split("-")[0]}var ge=Math.max,ut=Math.min,Se=Math.round;function wt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function tr(){return!/^((?!chrome|android).)*safari/i.test(wt())}function Le(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,u=1;t&&z(e)&&(a=e.offsetWidth>0&&Se(n.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Se(n.height)/e.offsetHeight||1);var s=ye(e)?U(e):window,c=s.visualViewport,f=!tr()&&r,p=(n.left+(f&&c?c.offsetLeft:0))/a,l=(n.top+(f&&c?c.offsetTop:0))/u,b=n.width/a,x=n.height/u;return{width:b,height:x,top:l,right:p+b,bottom:l+x,left:p,x:p,y:l}}function Dt(e){var t=Le(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function rr(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Et(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ue(e){return U(e).getComputedStyle(e)}function Fr(e){return["table","td","th"].indexOf(re(e))>=0}function le(e){return((ye(e)?e.ownerDocument:e.document)||window.document).documentElement}function ct(e){return re(e)==="html"?e:e.assignedSlot||e.parentNode||(Et(e)?e.host:null)||le(e)}function $t(e){return!z(e)||ue(e).position==="fixed"?null:e.offsetParent}function Ur(e){var t=/firefox/i.test(wt()),r=/Trident/i.test(wt());if(r&&z(e)){var n=ue(e);if(n.position==="fixed")return null}var a=ct(e);for(Et(a)&&(a=a.host);z(a)&&["html","body"].indexOf(re(a))<0;){var u=ue(a);if(u.transform!=="none"||u.perspective!=="none"||u.contain==="paint"||["transform","perspective"].indexOf(u.willChange)!==-1||t&&u.willChange==="filter"||t&&u.filter&&u.filter!=="none")return a;a=a.parentNode}return null}function qe(e){for(var t=U(e),r=$t(e);r&&Fr(r)&&ue(r).position==="static";)r=$t(r);return r&&(re(r)==="html"||re(r)==="body"&&ue(r).position==="static")?t:r||Ur(e)||t}function Ct(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ve(e,t,r){return ge(e,ut(t,r))}function qr(e,t,r){var n=Ve(e,t,r);return n>r?r:n}function nr(){return{top:0,right:0,bottom:0,left:0}}function ir(e){return Object.assign({},nr(),e)}function ar(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var zr=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,ir(typeof t!="number"?t:ar(t,Ue))};function Yr(e){var t,r=e.state,n=e.name,a=e.options,u=r.elements.arrow,s=r.modifiersData.popperOffsets,c=te(r.placement),f=Ct(c),p=[I,X].indexOf(c)>=0,l=p?"height":"width";if(!(!u||!s)){var b=zr(a.padding,r),x=Dt(u),h=f==="y"?W:I,w=f==="y"?Y:X,g=r.rects.reference[l]+r.rects.reference[f]-s[f]-r.rects.popper[l],y=s[f]-r.rects.reference[f],A=qe(u),D=A?f==="y"?A.clientHeight||0:A.clientWidth||0:0,S=g/2-y/2,i=b[h],T=D-x[l]-b[w],v=D/2-x[l]/2+S,C=Ve(i,v,T),M=f;r.modifiersData[n]=(t={},t[M]=C,t.centerOffset=C-v,t)}}function Xr(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||rr(t.elements.popper,a)&&(t.elements.arrow=a))}const _r={name:"arrow",enabled:!0,phase:"main",fn:Yr,effect:Xr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Be(e){return e.split("-")[1]}var Gr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kr(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Se(r*a)/a||0,y:Se(n*a)/a||0}}function jt(e){var t,r=e.popper,n=e.popperRect,a=e.placement,u=e.variation,s=e.offsets,c=e.position,f=e.gpuAcceleration,p=e.adaptive,l=e.roundOffsets,b=e.isFixed,x=s.x,h=x===void 0?0:x,w=s.y,g=w===void 0?0:w,y=typeof l=="function"?l({x:h,y:g}):{x:h,y:g};h=y.x,g=y.y;var A=s.hasOwnProperty("x"),D=s.hasOwnProperty("y"),S=I,i=W,T=window;if(p){var v=qe(r),C="clientHeight",M="clientWidth";if(v===U(r)&&(v=le(r),ue(v).position!=="static"&&c==="absolute"&&(C="scrollHeight",M="scrollWidth")),v=v,a===W||(a===I||a===X)&&u===Ne){i=Y;var P=b&&v===T&&T.visualViewport?T.visualViewport.height:v[C];g-=P-n.height,g*=f?1:-1}if(a===I||(a===W||a===Y)&&u===Ne){S=X;var B=b&&v===T&&T.visualViewport?T.visualViewport.width:v[M];h-=B-n.width,h*=f?1:-1}}var k=Object.assign({position:c},p&&Gr),R=l===!0?Kr({x:h,y:g},U(r)):{x:h,y:g};if(h=R.x,g=R.y,f){var L;return Object.assign({},k,(L={},L[i]=D?"0":"",L[S]=A?"0":"",L.transform=(T.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",L))}return Object.assign({},k,(t={},t[i]=D?g+"px":"",t[S]=A?h+"px":"",t.transform="",t))}function Jr(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,u=r.adaptive,s=u===void 0?!0:u,c=r.roundOffsets,f=c===void 0?!0:c,p={placement:te(t.placement),variation:Be(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,jt(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,jt(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Zr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Jr,data:{}};var nt={passive:!0};function Qr(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,u=a===void 0?!0:a,s=n.resize,c=s===void 0?!0:s,f=U(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return u&&p.forEach(function(l){l.addEventListener("scroll",r.update,nt)}),c&&f.addEventListener("resize",r.update,nt),function(){u&&p.forEach(function(l){l.removeEventListener("scroll",r.update,nt)}),c&&f.removeEventListener("resize",r.update,nt)}}const en={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Qr,data:{}};var tn={left:"right",right:"left",bottom:"top",top:"bottom"};function ot(e){return e.replace(/left|right|bottom|top/g,function(t){return tn[t]})}var rn={start:"end",end:"start"};function Ht(e){return e.replace(/start|end/g,function(t){return rn[t]})}function St(e){var t=U(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Lt(e){return Le(le(e)).left+St(e).scrollLeft}function nn(e,t){var r=U(e),n=le(e),a=r.visualViewport,u=n.clientWidth,s=n.clientHeight,c=0,f=0;if(a){u=a.width,s=a.height;var p=tr();(p||!p&&t==="fixed")&&(c=a.offsetLeft,f=a.offsetTop)}return{width:u,height:s,x:c+Lt(e),y:f}}function an(e){var t,r=le(e),n=St(e),a=(t=e.ownerDocument)==null?void 0:t.body,u=ge(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=ge(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),c=-n.scrollLeft+Lt(e),f=-n.scrollTop;return ue(a||r).direction==="rtl"&&(c+=ge(r.clientWidth,a?a.clientWidth:0)-u),{width:u,height:s,x:c,y:f}}function Bt(e){var t=ue(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function or(e){return["html","body","#document"].indexOf(re(e))>=0?e.ownerDocument.body:z(e)&&Bt(e)?e:or(ct(e))}function We(e,t){var r;t===void 0&&(t=[]);var n=or(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),u=U(n),s=a?[u].concat(u.visualViewport||[],Bt(n)?n:[]):n,c=t.concat(s);return a?c:c.concat(We(ct(s)))}function Ot(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function on(e,t){var r=Le(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Vt(e,t,r){return t===Zt?Ot(nn(e,r)):ye(t)?on(t,r):Ot(an(le(e)))}function sn(e){var t=We(ct(e)),r=["absolute","fixed"].indexOf(ue(e).position)>=0,n=r&&z(e)?qe(e):e;return ye(n)?t.filter(function(a){return ye(a)&&rr(a,n)&&re(a)!=="body"}):[]}function un(e,t,r,n){var a=t==="clippingParents"?sn(e):[].concat(t),u=[].concat(a,[r]),s=u[0],c=u.reduce(function(f,p){var l=Vt(e,p,n);return f.top=ge(l.top,f.top),f.right=ut(l.right,f.right),f.bottom=ut(l.bottom,f.bottom),f.left=ge(l.left,f.left),f},Vt(e,s,n));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function sr(e){var t=e.reference,r=e.element,n=e.placement,a=n?te(n):null,u=n?Be(n):null,s=t.x+t.width/2-r.width/2,c=t.y+t.height/2-r.height/2,f;switch(a){case W:f={x:s,y:t.y-r.height};break;case Y:f={x:s,y:t.y+t.height};break;case X:f={x:t.x+t.width,y:c};break;case I:f={x:t.x-r.width,y:c};break;default:f={x:t.x,y:t.y}}var p=a?Ct(a):null;if(p!=null){var l=p==="y"?"height":"width";switch(u){case Ce:f[p]=f[p]-(t[l]/2-r[l]/2);break;case Ne:f[p]=f[p]+(t[l]/2-r[l]/2);break}}return f}function Fe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,u=r.strategy,s=u===void 0?e.strategy:u,c=r.boundary,f=c===void 0?Sr:c,p=r.rootBoundary,l=p===void 0?Zt:p,b=r.elementContext,x=b===void 0?He:b,h=r.altBoundary,w=h===void 0?!1:h,g=r.padding,y=g===void 0?0:g,A=ir(typeof y!="number"?y:ar(y,Ue)),D=x===He?Lr:He,S=e.rects.popper,i=e.elements[w?D:x],T=un(ye(i)?i:i.contextElement||le(e.elements.popper),f,l,s),v=Le(e.elements.reference),C=sr({reference:v,element:S,placement:a}),M=Ot(Object.assign({},S,C)),P=x===He?M:v,B={top:T.top-P.top+A.top,bottom:P.bottom-T.bottom+A.bottom,left:T.left-P.left+A.left,right:P.right-T.right+A.right},k=e.modifiersData.offset;if(x===He&&k){var R=k[a];Object.keys(B).forEach(function(L){var N=[X,Y].indexOf(L)>=0?1:-1,F=[W,Y].indexOf(L)>=0?"y":"x";B[L]+=R[F]*N})}return B}function fn(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,u=r.rootBoundary,s=r.padding,c=r.flipVariations,f=r.allowedAutoPlacements,p=f===void 0?Qt:f,l=Be(n),b=l?c?kt:kt.filter(function(w){return Be(w)===l}):Ue,x=b.filter(function(w){return p.indexOf(w)>=0});x.length===0&&(x=b);var h=x.reduce(function(w,g){return w[g]=Fe(e,{placement:g,boundary:a,rootBoundary:u,padding:s})[te(g)],w},{});return Object.keys(h).sort(function(w,g){return h[w]-h[g]})}function cn(e){if(te(e)===At)return[];var t=ot(e);return[Ht(e),t,Ht(t)]}function ln(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,u=a===void 0?!0:a,s=r.altAxis,c=s===void 0?!0:s,f=r.fallbackPlacements,p=r.padding,l=r.boundary,b=r.rootBoundary,x=r.altBoundary,h=r.flipVariations,w=h===void 0?!0:h,g=r.allowedAutoPlacements,y=t.options.placement,A=te(y),D=A===y,S=f||(D||!w?[ot(y)]:cn(y)),i=[y].concat(S).reduce(function(ne,_){return ne.concat(te(_)===At?fn(t,{placement:_,boundary:l,rootBoundary:b,padding:p,flipVariations:w,allowedAutoPlacements:g}):_)},[]),T=t.rects.reference,v=t.rects.popper,C=new Map,M=!0,P=i[0],B=0;B<i.length;B++){var k=i[B],R=te(k),L=Be(k)===Ce,N=[W,Y].indexOf(R)>=0,F=N?"width":"height",j=Fe(t,{placement:k,boundary:l,rootBoundary:b,altBoundary:x,padding:p}),H=N?L?X:I:L?Y:W;T[F]>v[F]&&(H=ot(H));var $=ot(H),K=[];if(u&&K.push(j[R]<=0),c&&K.push(j[H]<=0,j[$]<=0),K.every(function(ne){return ne})){P=k,M=!1;break}C.set(k,K)}if(M)for(var J=w?3:1,pe=function(_){var ie=i.find(function(be){var ae=C.get(be);if(ae)return ae.slice(0,_).every(function(we){return we})});if(ie)return P=ie,"break"},Z=J;Z>0;Z--){var de=pe(Z);if(de==="break")break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}}const pn={name:"flip",enabled:!0,phase:"main",fn:ln,requiresIfExists:["offset"],data:{_skip:!1}};function Wt(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function It(e){return[W,X,Y,I].some(function(t){return e[t]>=0})}function dn(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,u=t.modifiersData.preventOverflow,s=Fe(t,{elementContext:"reference"}),c=Fe(t,{altBoundary:!0}),f=Wt(s,n),p=Wt(c,a,u),l=It(f),b=It(p);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:p,isReferenceHidden:l,hasPopperEscaped:b},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":b})}const vn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:dn};function mn(e,t,r){var n=te(e),a=[I,W].indexOf(n)>=0?-1:1,u=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=u[0],c=u[1];return s=s||0,c=(c||0)*a,[I,X].indexOf(n)>=0?{x:c,y:s}:{x:s,y:c}}function hn(e){var t=e.state,r=e.options,n=e.name,a=r.offset,u=a===void 0?[0,0]:a,s=Qt.reduce(function(l,b){return l[b]=mn(b,t.rects,u),l},{}),c=s[t.placement],f=c.x,p=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=s}const gn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hn};function yn(e){var t=e.state,r=e.name;t.modifiersData[r]=sr({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const bn={name:"popperOffsets",enabled:!0,phase:"read",fn:yn,data:{}};function wn(e){return e==="x"?"y":"x"}function On(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,u=a===void 0?!0:a,s=r.altAxis,c=s===void 0?!1:s,f=r.boundary,p=r.rootBoundary,l=r.altBoundary,b=r.padding,x=r.tether,h=x===void 0?!0:x,w=r.tetherOffset,g=w===void 0?0:w,y=Fe(t,{boundary:f,rootBoundary:p,padding:b,altBoundary:l}),A=te(t.placement),D=Be(t.placement),S=!D,i=Ct(A),T=wn(i),v=t.modifiersData.popperOffsets,C=t.rects.reference,M=t.rects.popper,P=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,B=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(v){if(u){var L,N=i==="y"?W:I,F=i==="y"?Y:X,j=i==="y"?"height":"width",H=v[i],$=H+y[N],K=H-y[F],J=h?-M[j]/2:0,pe=D===Ce?C[j]:M[j],Z=D===Ce?-M[j]:-C[j],de=t.elements.arrow,ne=h&&de?Dt(de):{width:0,height:0},_=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nr(),ie=_[N],be=_[F],ae=Ve(0,C[j],ne[j]),we=S?C[j]/2-J-ae-ie-B.mainAxis:pe-ae-ie-B.mainAxis,fe=S?-C[j]/2+J+ae+be+B.mainAxis:Z+ae+be+B.mainAxis,Oe=t.elements.arrow&&qe(t.elements.arrow),ze=Oe?i==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,Pe=(L=k==null?void 0:k[i])!=null?L:0,Ye=H+we-Pe-ze,Xe=H+fe-Pe,Me=Ve(h?ut($,Ye):$,H,h?ge(K,Xe):K);v[i]=Me,R[i]=Me-H}if(c){var ke,_e=i==="x"?W:I,Ge=i==="x"?Y:X,oe=v[T],ce=T==="y"?"height":"width",$e=oe+y[_e],ve=oe-y[Ge],je=[W,I].indexOf(A)!==-1,Ke=(ke=k==null?void 0:k[T])!=null?ke:0,Je=je?$e:oe-C[ce]-M[ce]-Ke+B.altAxis,Ze=je?oe+C[ce]+M[ce]-Ke-B.altAxis:ve,Qe=h&&je?qr(Je,oe,Ze):Ve(h?Je:$e,oe,h?Ze:ve);v[T]=Qe,R[T]=Qe-oe}t.modifiersData[n]=R}}const xn={name:"preventOverflow",enabled:!0,phase:"main",fn:On,requiresIfExists:["offset"]};function Tn(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function An(e){return e===U(e)||!z(e)?St(e):Tn(e)}function En(e){var t=e.getBoundingClientRect(),r=Se(t.width)/e.offsetWidth||1,n=Se(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Dn(e,t,r){r===void 0&&(r=!1);var n=z(t),a=z(t)&&En(t),u=le(t),s=Le(e,a,r),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(n||!n&&!r)&&((re(t)!=="body"||Bt(u))&&(c=An(t)),z(t)?(f=Le(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):u&&(f.x=Lt(u))),{x:s.left+c.scrollLeft-f.x,y:s.top+c.scrollTop-f.y,width:s.width,height:s.height}}function Cn(e){var t=new Map,r=new Set,n=[];e.forEach(function(u){t.set(u.name,u)});function a(u){r.add(u.name);var s=[].concat(u.requires||[],u.requiresIfExists||[]);s.forEach(function(c){if(!r.has(c)){var f=t.get(c);f&&a(f)}}),n.push(u)}return e.forEach(function(u){r.has(u.name)||a(u)}),n}function Sn(e){var t=Cn(e);return Wr.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function Ln(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Bn(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Nt={placement:"bottom",modifiers:[],strategy:"absolute"};function Ft(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Rn(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,u=a===void 0?Nt:a;return function(c,f,p){p===void 0&&(p=u);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Nt,u),modifiersData:{},elements:{reference:c,popper:f},attributes:{},styles:{}},b=[],x=!1,h={state:l,setOptions:function(A){var D=typeof A=="function"?A(l.options):A;g(),l.options=Object.assign({},u,l.options,D),l.scrollParents={reference:ye(c)?We(c):c.contextElement?We(c.contextElement):[],popper:We(f)};var S=Sn(Bn([].concat(n,l.options.modifiers)));return l.orderedModifiers=S.filter(function(i){return i.enabled}),w(),h.update()},forceUpdate:function(){if(!x){var A=l.elements,D=A.reference,S=A.popper;if(Ft(D,S)){l.rects={reference:Dn(D,qe(S),l.options.strategy==="fixed"),popper:Dt(S)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(B){return l.modifiersData[B.name]=Object.assign({},B.data)});for(var i=0;i<l.orderedModifiers.length;i++){if(l.reset===!0){l.reset=!1,i=-1;continue}var T=l.orderedModifiers[i],v=T.fn,C=T.options,M=C===void 0?{}:C,P=T.name;typeof v=="function"&&(l=v({state:l,options:M,name:P,instance:h})||l)}}}},update:Ln(function(){return new Promise(function(y){h.forceUpdate(),y(l)})}),destroy:function(){g(),x=!0}};if(!Ft(c,f))return h;h.setOptions(p).then(function(y){!x&&p.onFirstUpdate&&p.onFirstUpdate(y)});function w(){l.orderedModifiers.forEach(function(y){var A=y.name,D=y.options,S=D===void 0?{}:D,i=y.effect;if(typeof i=="function"){var T=i({state:l,name:A,instance:h,options:S}),v=function(){};b.push(T||v)}})}function g(){b.forEach(function(y){return y()}),b=[]}return h}}var Pn=[en,bn,Zr,er,gn,pn,xn,_r,vn],Mn=Rn({defaultModifiers:Pn}),kn="tippy-box",ur="tippy-content",$n="tippy-backdrop",fr="tippy-arrow",cr="tippy-svg-arrow",he={passive:!0,capture:!0},lr=function(){return document.body};function ht(e,t,r){if(Array.isArray(e)){var n=e[t];return n??(Array.isArray(r)?r[t]:r)}return e}function Rt(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function pr(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Ut(e,t){if(t===0)return e;var r;return function(n){clearTimeout(r),r=setTimeout(function(){e(n)},t)}}function jn(e){return e.split(/\s+/).filter(Boolean)}function Ae(e){return[].concat(e)}function qt(e,t){e.indexOf(t)===-1&&e.push(t)}function Hn(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function Vn(e){return e.split("-")[0]}function ft(e){return[].slice.call(e)}function zt(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function Ie(){return document.createElement("div")}function lt(e){return["Element","Fragment"].some(function(t){return Rt(e,t)})}function Wn(e){return Rt(e,"NodeList")}function In(e){return Rt(e,"MouseEvent")}function Nn(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Fn(e){return lt(e)?[e]:Wn(e)?ft(e):Array.isArray(e)?e:ft(document.querySelectorAll(e))}function gt(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function Yt(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function Un(e){var t,r=Ae(e),n=r[0];return n!=null&&(t=n.ownerDocument)!=null&&t.body?n.ownerDocument:document}function qn(e,t){var r=t.clientX,n=t.clientY;return e.every(function(a){var u=a.popperRect,s=a.popperState,c=a.props,f=c.interactiveBorder,p=Vn(s.placement),l=s.modifiersData.offset;if(!l)return!0;var b=p==="bottom"?l.top.y:0,x=p==="top"?l.bottom.y:0,h=p==="right"?l.left.x:0,w=p==="left"?l.right.x:0,g=u.top-n+b>f,y=n-u.bottom-x>f,A=u.left-r+h>f,D=r-u.right-w>f;return g||y||A||D})}function yt(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(a){e[n](a,r)})}function Xt(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=r.getRootNode==null||(n=r.getRootNode())==null?void 0:n.host}return!1}var ee={isTouch:!1},_t=0;function zn(){ee.isTouch||(ee.isTouch=!0,window.performance&&document.addEventListener("mousemove",dr))}function dr(){var e=performance.now();e-_t<20&&(ee.isTouch=!1,document.removeEventListener("mousemove",dr)),_t=e}function Yn(){var e=document.activeElement;if(Nn(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Xn(){document.addEventListener("touchstart",zn,he),window.addEventListener("blur",Yn)}var _n=typeof window<"u"&&typeof document<"u",Gn=_n?!!window.msCrypto:!1,Kn={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Jn={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},G=Object.assign({appendTo:lr,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Kn,Jn),Zn=Object.keys(G),Qn=function(t){var r=Object.keys(t);r.forEach(function(n){G[n]=t[n]})};function vr(e){var t=e.plugins||[],r=t.reduce(function(n,a){var u=a.name,s=a.defaultValue;if(u){var c;n[u]=e[u]!==void 0?e[u]:(c=G[u])!=null?c:s}return n},{});return Object.assign({},e,r)}function ei(e,t){var r=t?Object.keys(vr(Object.assign({},G,{plugins:t}))):Zn,n=r.reduce(function(a,u){var s=(e.getAttribute("data-tippy-"+u)||"").trim();if(!s)return a;if(u==="content")a[u]=s;else try{a[u]=JSON.parse(s)}catch{a[u]=s}return a},{});return n}function Gt(e,t){var r=Object.assign({},t,{content:pr(t.content,[e])},t.ignoreAttributes?{}:ei(e,t.plugins));return r.aria=Object.assign({},G.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}var ti=function(){return"innerHTML"};function xt(e,t){e[ti()]=t}function Kt(e){var t=Ie();return e===!0?t.className=fr:(t.className=cr,lt(e)?t.appendChild(e):xt(t,e)),t}function Jt(e,t){lt(t.content)?(xt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?xt(e,t.content):e.textContent=t.content)}function Tt(e){var t=e.firstElementChild,r=ft(t.children);return{box:t,content:r.find(function(n){return n.classList.contains(ur)}),arrow:r.find(function(n){return n.classList.contains(fr)||n.classList.contains(cr)}),backdrop:r.find(function(n){return n.classList.contains($n)})}}function mr(e){var t=Ie(),r=Ie();r.className=kn,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var n=Ie();n.className=ur,n.setAttribute("data-state","hidden"),Jt(n,e.props),t.appendChild(r),r.appendChild(n),a(e.props,e.props);function a(u,s){var c=Tt(t),f=c.box,p=c.content,l=c.arrow;s.theme?f.setAttribute("data-theme",s.theme):f.removeAttribute("data-theme"),typeof s.animation=="string"?f.setAttribute("data-animation",s.animation):f.removeAttribute("data-animation"),s.inertia?f.setAttribute("data-inertia",""):f.removeAttribute("data-inertia"),f.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?f.setAttribute("role",s.role):f.removeAttribute("role"),(u.content!==s.content||u.allowHTML!==s.allowHTML)&&Jt(p,e.props),s.arrow?l?u.arrow!==s.arrow&&(f.removeChild(l),f.appendChild(Kt(s.arrow))):f.appendChild(Kt(s.arrow)):l&&f.removeChild(l)}return{popper:t,onUpdate:a}}mr.$$tippy=!0;var ri=1,it=[],bt=[];function ni(e,t){var r=Gt(e,Object.assign({},G,vr(zt(t)))),n,a,u,s=!1,c=!1,f=!1,p=!1,l,b,x,h=[],w=Ut(Ye,r.interactiveDebounce),g,y=ri++,A=null,D=Hn(r.plugins),S={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},i={id:y,reference:e,popper:Ie(),popperInstance:A,props:r,state:S,plugins:D,clearDelayTimeouts:Je,setProps:Ze,setContent:Qe,show:hr,hide:gr,hideWithInteractivity:yr,enable:je,disable:Ke,unmount:br,destroy:wr};if(!r.render)return i;var T=r.render(i),v=T.popper,C=T.onUpdate;v.setAttribute("data-tippy-root",""),v.id="tippy-"+i.id,i.popper=v,e._tippy=i,v._tippy=i;var M=D.map(function(o){return o.fn(i)}),P=e.hasAttribute("aria-expanded");return Oe(),J(),H(),$("onCreate",[i]),r.showOnCreate&&$e(),v.addEventListener("mouseenter",function(){i.props.interactive&&i.state.isVisible&&i.clearDelayTimeouts()}),v.addEventListener("mouseleave",function(){i.props.interactive&&i.props.trigger.indexOf("mouseenter")>=0&&N().addEventListener("mousemove",w)}),i;function B(){var o=i.props.touch;return Array.isArray(o)?o:[o,0]}function k(){return B()[0]==="hold"}function R(){var o;return!!((o=i.props.render)!=null&&o.$$tippy)}function L(){return g||e}function N(){var o=L().parentNode;return o?Un(o):document}function F(){return Tt(v)}function j(o){return i.state.isMounted&&!i.state.isVisible||ee.isTouch||l&&l.type==="focus"?0:ht(i.props.delay,o?0:1,G.delay)}function H(o){o===void 0&&(o=!1),v.style.pointerEvents=i.props.interactive&&!o?"":"none",v.style.zIndex=""+i.props.zIndex}function $(o,d,m){if(m===void 0&&(m=!0),M.forEach(function(O){O[o]&&O[o].apply(O,d)}),m){var E;(E=i.props)[o].apply(E,d)}}function K(){var o=i.props.aria;if(o.content){var d="aria-"+o.content,m=v.id,E=Ae(i.props.triggerTarget||e);E.forEach(function(O){var V=O.getAttribute(d);if(i.state.isVisible)O.setAttribute(d,V?V+" "+m:m);else{var q=V&&V.replace(m,"").trim();q?O.setAttribute(d,q):O.removeAttribute(d)}})}}function J(){if(!(P||!i.props.aria.expanded)){var o=Ae(i.props.triggerTarget||e);o.forEach(function(d){i.props.interactive?d.setAttribute("aria-expanded",i.state.isVisible&&d===L()?"true":"false"):d.removeAttribute("aria-expanded")})}}function pe(){N().removeEventListener("mousemove",w),it=it.filter(function(o){return o!==w})}function Z(o){if(!(ee.isTouch&&(f||o.type==="mousedown"))){var d=o.composedPath&&o.composedPath()[0]||o.target;if(!(i.props.interactive&&Xt(v,d))){if(Ae(i.props.triggerTarget||e).some(function(m){return Xt(m,d)})){if(ee.isTouch||i.state.isVisible&&i.props.trigger.indexOf("click")>=0)return}else $("onClickOutside",[i,o]);i.props.hideOnClick===!0&&(i.clearDelayTimeouts(),i.hide(),c=!0,setTimeout(function(){c=!1}),i.state.isMounted||ie())}}}function de(){f=!0}function ne(){f=!1}function _(){var o=N();o.addEventListener("mousedown",Z,!0),o.addEventListener("touchend",Z,he),o.addEventListener("touchstart",ne,he),o.addEventListener("touchmove",de,he)}function ie(){var o=N();o.removeEventListener("mousedown",Z,!0),o.removeEventListener("touchend",Z,he),o.removeEventListener("touchstart",ne,he),o.removeEventListener("touchmove",de,he)}function be(o,d){we(o,function(){!i.state.isVisible&&v.parentNode&&v.parentNode.contains(v)&&d()})}function ae(o,d){we(o,d)}function we(o,d){var m=F().box;function E(O){O.target===m&&(yt(m,"remove",E),d())}if(o===0)return d();yt(m,"remove",b),yt(m,"add",E),b=E}function fe(o,d,m){m===void 0&&(m=!1);var E=Ae(i.props.triggerTarget||e);E.forEach(function(O){O.addEventListener(o,d,m),h.push({node:O,eventType:o,handler:d,options:m})})}function Oe(){k()&&(fe("touchstart",Pe,{passive:!0}),fe("touchend",Xe,{passive:!0})),jn(i.props.trigger).forEach(function(o){if(o!=="manual")switch(fe(o,Pe),o){case"mouseenter":fe("mouseleave",Xe);break;case"focus":fe(Gn?"focusout":"blur",Me);break;case"focusin":fe("focusout",Me);break}})}function ze(){h.forEach(function(o){var d=o.node,m=o.eventType,E=o.handler,O=o.options;d.removeEventListener(m,E,O)}),h=[]}function Pe(o){var d,m=!1;if(!(!i.state.isEnabled||ke(o)||c)){var E=((d=l)==null?void 0:d.type)==="focus";l=o,g=o.currentTarget,J(),!i.state.isVisible&&In(o)&&it.forEach(function(O){return O(o)}),o.type==="click"&&(i.props.trigger.indexOf("mouseenter")<0||s)&&i.props.hideOnClick!==!1&&i.state.isVisible?m=!0:$e(o),o.type==="click"&&(s=!m),m&&!E&&ve(o)}}function Ye(o){var d=o.target,m=L().contains(d)||v.contains(d);if(!(o.type==="mousemove"&&m)){var E=ce().concat(v).map(function(O){var V,q=O._tippy,xe=(V=q.popperInstance)==null?void 0:V.state;return xe?{popperRect:O.getBoundingClientRect(),popperState:xe,props:r}:null}).filter(Boolean);qn(E,o)&&(pe(),ve(o))}}function Xe(o){var d=ke(o)||i.props.trigger.indexOf("click")>=0&&s;if(!d){if(i.props.interactive){i.hideWithInteractivity(o);return}ve(o)}}function Me(o){i.props.trigger.indexOf("focusin")<0&&o.target!==L()||i.props.interactive&&o.relatedTarget&&v.contains(o.relatedTarget)||ve(o)}function ke(o){return ee.isTouch?k()!==o.type.indexOf("touch")>=0:!1}function _e(){Ge();var o=i.props,d=o.popperOptions,m=o.placement,E=o.offset,O=o.getReferenceClientRect,V=o.moveTransition,q=R()?Tt(v).arrow:null,xe=O?{getBoundingClientRect:O,contextElement:O.contextElement||L()}:e,Pt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(et){var Te=et.state;if(R()){var Or=F(),dt=Or.box;["placement","reference-hidden","escaped"].forEach(function(tt){tt==="placement"?dt.setAttribute("data-placement",Te.placement):Te.attributes.popper["data-popper-"+tt]?dt.setAttribute("data-"+tt,""):dt.removeAttribute("data-"+tt)}),Te.attributes.popper={}}}},me=[{name:"offset",options:{offset:E}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!V}},Pt];R()&&q&&me.push({name:"arrow",options:{element:q,padding:3}}),me.push.apply(me,(d==null?void 0:d.modifiers)||[]),i.popperInstance=Mn(xe,v,Object.assign({},d,{placement:m,onFirstUpdate:x,modifiers:me}))}function Ge(){i.popperInstance&&(i.popperInstance.destroy(),i.popperInstance=null)}function oe(){var o=i.props.appendTo,d,m=L();i.props.interactive&&o===lr||o==="parent"?d=m.parentNode:d=pr(o,[m]),d.contains(v)||d.appendChild(v),i.state.isMounted=!0,_e()}function ce(){return ft(v.querySelectorAll("[data-tippy-root]"))}function $e(o){i.clearDelayTimeouts(),o&&$("onTrigger",[i,o]),_();var d=j(!0),m=B(),E=m[0],O=m[1];ee.isTouch&&E==="hold"&&O&&(d=O),d?n=setTimeout(function(){i.show()},d):i.show()}function ve(o){if(i.clearDelayTimeouts(),$("onUntrigger",[i,o]),!i.state.isVisible){ie();return}if(!(i.props.trigger.indexOf("mouseenter")>=0&&i.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(o.type)>=0&&s)){var d=j(!1);d?a=setTimeout(function(){i.state.isVisible&&i.hide()},d):u=requestAnimationFrame(function(){i.hide()})}}function je(){i.state.isEnabled=!0}function Ke(){i.hide(),i.state.isEnabled=!1}function Je(){clearTimeout(n),clearTimeout(a),cancelAnimationFrame(u)}function Ze(o){if(!i.state.isDestroyed){$("onBeforeUpdate",[i,o]),ze();var d=i.props,m=Gt(e,Object.assign({},d,zt(o),{ignoreAttributes:!0}));i.props=m,Oe(),d.interactiveDebounce!==m.interactiveDebounce&&(pe(),w=Ut(Ye,m.interactiveDebounce)),d.triggerTarget&&!m.triggerTarget?Ae(d.triggerTarget).forEach(function(E){E.removeAttribute("aria-expanded")}):m.triggerTarget&&e.removeAttribute("aria-expanded"),J(),H(),C&&C(d,m),i.popperInstance&&(_e(),ce().forEach(function(E){requestAnimationFrame(E._tippy.popperInstance.forceUpdate)})),$("onAfterUpdate",[i,o])}}function Qe(o){i.setProps({content:o})}function hr(){var o=i.state.isVisible,d=i.state.isDestroyed,m=!i.state.isEnabled,E=ee.isTouch&&!i.props.touch,O=ht(i.props.duration,0,G.duration);if(!(o||d||m||E)&&!L().hasAttribute("disabled")&&($("onShow",[i],!1),i.props.onShow(i)!==!1)){if(i.state.isVisible=!0,R()&&(v.style.visibility="visible"),H(),_(),i.state.isMounted||(v.style.transition="none"),R()){var V=F(),q=V.box,xe=V.content;gt([q,xe],0)}x=function(){var me;if(!(!i.state.isVisible||p)){if(p=!0,v.offsetHeight,v.style.transition=i.props.moveTransition,R()&&i.props.animation){var pt=F(),et=pt.box,Te=pt.content;gt([et,Te],O),Yt([et,Te],"visible")}K(),J(),qt(bt,i),(me=i.popperInstance)==null||me.forceUpdate(),$("onMount",[i]),i.props.animation&&R()&&ae(O,function(){i.state.isShown=!0,$("onShown",[i])})}},oe()}}function gr(){var o=!i.state.isVisible,d=i.state.isDestroyed,m=!i.state.isEnabled,E=ht(i.props.duration,1,G.duration);if(!(o||d||m)&&($("onHide",[i],!1),i.props.onHide(i)!==!1)){if(i.state.isVisible=!1,i.state.isShown=!1,p=!1,s=!1,R()&&(v.style.visibility="hidden"),pe(),ie(),H(!0),R()){var O=F(),V=O.box,q=O.content;i.props.animation&&(gt([V,q],E),Yt([V,q],"hidden"))}K(),J(),i.props.animation?R()&&be(E,i.unmount):i.unmount()}}function yr(o){N().addEventListener("mousemove",w),qt(it,w),w(o)}function br(){i.state.isVisible&&i.hide(),i.state.isMounted&&(Ge(),ce().forEach(function(o){o._tippy.unmount()}),v.parentNode&&v.parentNode.removeChild(v),bt=bt.filter(function(o){return o!==i}),i.state.isMounted=!1,$("onHidden",[i]))}function wr(){i.state.isDestroyed||(i.clearDelayTimeouts(),i.unmount(),ze(),delete e._tippy,i.state.isDestroyed=!0,$("onDestroy",[i]))}}function Re(e,t){t===void 0&&(t={});var r=G.plugins.concat(t.plugins||[]);Xn();var n=Object.assign({},t,{plugins:r}),a=Fn(e),u=a.reduce(function(s,c){var f=c&&ni(c,n);return f&&s.push(f),s},[]);return lt(e)?u[0]:u}Re.defaultProps=G;Re.setDefaultProps=Qn;Re.currentInput=ee;Object.assign({},er,{effect:function(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow)}});Re.setDefaultProps({render:mr});const ii={props:{triggerHeight:{default:"auto"},maxHeight:{default:"auto"},maxWidth:{default:"100vh"},trigger:{default:"click"},placement:{default:"bottom"},appendTo:{default:"parent"},disable:{default:!1},fullWidth:{default:!1},showOnCreate:{default:!1}},setup(e){const t=vt(null),r=vt(null),n=vt();return Tr(()=>{t.value&&(n.value=Re(t.value,{trigger:e.trigger,maxWidth:e.maxWidth,content:r.value,placement:e.placement,interactive:!0,allowHTML:!0,appendTo:e.appendTo||document.querySelector("body"),arrow:!0,hideOnClick:!0,animation:"shift-away",theme:"light-border",showOnCreate:e.showOnCreate}))}),{tippyInstance:n,refTrigger:t,refContent:r,tippy:Re}}},ai={key:1,class:"popover-root"};function oi(e,t,r,n,a,u){return r.disable?(Q(),se("div",ai,[De(e.$slots,"trigger",{},void 0,!0)])):(Q(),se("div",{key:0,class:at(["popover-root",{fullWidth:r.fullWidth}])},[Ee("div",{ref:"refTrigger",class:"trigger",style:st({height:r.triggerHeight})},[De(e.$slots,"trigger",{},void 0,!0)],4),Ee("div",{ref:"refContent",class:"content",style:st({maxHeight:r.maxHeight,overflow:r.maxHeight!=="auto"?"auto":"inherit"})},[De(e.$slots,"content",{},void 0,!0)],4)],2))}const si=xr(ii,[["render",oi],["__scopeId","data-v-6d2b88ed"]]),ui={key:0,class:"title"},fi={key:0},ci={class:"actions"},li=["onClick"],pi={key:1,class:"text"},di={key:0,class:"text"},vi={__name:"Section",props:{header:{default:""},actions:{default:()=>[]},maxHeight:{default:"auto"},noStyle:{default:!1},noBodyPadding:{default:!1},scroll:{default:!0},headerBold:{default:!1},headerCenter:{default:!1},noRadius:{default:!1}},setup(e){const t=e,r=Ar(()=>t.actions.filter(n=>!n.hidden));return(n,a)=>{var u;return Q(),se("div",{class:at(["section-rtJYbnZTmbTnRmjreRzSMmHPf4NqoWVqEbGFBsz8BGaeKn",{noStyle:e.noStyle,noBodyPadding:e.noBodyPadding,headerBold:e.headerBold,headerCenter:e.headerCenter,noRadius:e.noRadius}])},[a[0]||(a[0]=Ee("div",{class:"background"},null,-1)),e.header||(u=e.actions)!=null&&u.length||n.$slots.header?(Q(),se("div",ui,[e.header?(Q(),se("div",fi,mt(e.header),1)):De(n.$slots,"header",{key:1}),Ee("div",ci,[De(n.$slots,"actions"),(Q(!0),se(Er,null,Dr(r.value,s=>(Q(),Cr(si,{key:s.label,appendTo:"parent",trigger:"mouseenter",placement:"top",disable:!s.hover},{trigger:Mt(()=>[Ee("button",{onClick:c=>{var f;return(f=s==null?void 0:s.click)==null?void 0:f.call(s)},class:at(["action small",{mini:!s.label&&s.icon||s.small,active:s.active}]),style:st(s.style||{})},[s.icon?(Q(),se("i",{key:0,class:at(s.icon),"aria-hidden":"true"},null,2)):rt("",!0),s.label?(Q(),se("span",pi,mt(s.label),1)):rt("",!0)],14,li)]),content:Mt(()=>[s.hover?(Q(),se("span",di,mt(s.hover),1)):rt("",!0)]),_:2},1032,["disable"]))),128))])])):rt("",!0),Ee("div",{class:"content",style:st({maxHeight:e.maxHeight,overflow:e.scroll?"auto":"inherit"})},[De(n.$slots,"default")],4)],2)}}},gi=Object.freeze(Object.defineProperty({__proto__:null,default:vi},Symbol.toStringTag,{value:"Module"}));export{si as P,gi as S,vi as _};
1
+ import{_ as xr}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as vt,j as Tr,a as se,o as Q,b as Ee,h as De,u as st,n as at,c as Ar,g as rt,t as mt,F as Er,q as Dr,s as Cr,f as Mt}from"./index-CWdLNLf2.js";var W="top",Y="bottom",X="right",I="left",At="auto",Ue=[W,Y,X,I],Ce="start",Ne="end",Sr="clippingParents",Zt="viewport",He="popper",Lr="reference",kt=Ue.reduce(function(e,t){return e.concat([t+"-"+Ce,t+"-"+Ne])},[]),Qt=[].concat(Ue,[At]).reduce(function(e,t){return e.concat([t,t+"-"+Ce,t+"-"+Ne])},[]),Br="beforeRead",Rr="read",Pr="afterRead",Mr="beforeMain",kr="main",$r="afterMain",jr="beforeWrite",Hr="write",Vr="afterWrite",Wr=[Br,Rr,Pr,Mr,kr,$r,jr,Hr,Vr];function re(e){return e?(e.nodeName||"").toLowerCase():null}function U(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ye(e){var t=U(e).Element;return e instanceof t||e instanceof Element}function z(e){var t=U(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Et(e){if(typeof ShadowRoot>"u")return!1;var t=U(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ir(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},u=t.elements[r];!z(u)||!re(u)||(Object.assign(u.style,n),Object.keys(a).forEach(function(s){var c=a[s];c===!1?u.removeAttribute(s):u.setAttribute(s,c===!0?"":c)}))})}function Nr(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],u=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),c=s.reduce(function(f,p){return f[p]="",f},{});!z(a)||!re(a)||(Object.assign(a.style,c),Object.keys(u).forEach(function(f){a.removeAttribute(f)}))})}}const er={name:"applyStyles",enabled:!0,phase:"write",fn:Ir,effect:Nr,requires:["computeStyles"]};function te(e){return e.split("-")[0]}var ge=Math.max,ut=Math.min,Se=Math.round;function wt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function tr(){return!/^((?!chrome|android).)*safari/i.test(wt())}function Le(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,u=1;t&&z(e)&&(a=e.offsetWidth>0&&Se(n.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Se(n.height)/e.offsetHeight||1);var s=ye(e)?U(e):window,c=s.visualViewport,f=!tr()&&r,p=(n.left+(f&&c?c.offsetLeft:0))/a,l=(n.top+(f&&c?c.offsetTop:0))/u,b=n.width/a,x=n.height/u;return{width:b,height:x,top:l,right:p+b,bottom:l+x,left:p,x:p,y:l}}function Dt(e){var t=Le(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function rr(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Et(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ue(e){return U(e).getComputedStyle(e)}function Fr(e){return["table","td","th"].indexOf(re(e))>=0}function le(e){return((ye(e)?e.ownerDocument:e.document)||window.document).documentElement}function ct(e){return re(e)==="html"?e:e.assignedSlot||e.parentNode||(Et(e)?e.host:null)||le(e)}function $t(e){return!z(e)||ue(e).position==="fixed"?null:e.offsetParent}function Ur(e){var t=/firefox/i.test(wt()),r=/Trident/i.test(wt());if(r&&z(e)){var n=ue(e);if(n.position==="fixed")return null}var a=ct(e);for(Et(a)&&(a=a.host);z(a)&&["html","body"].indexOf(re(a))<0;){var u=ue(a);if(u.transform!=="none"||u.perspective!=="none"||u.contain==="paint"||["transform","perspective"].indexOf(u.willChange)!==-1||t&&u.willChange==="filter"||t&&u.filter&&u.filter!=="none")return a;a=a.parentNode}return null}function qe(e){for(var t=U(e),r=$t(e);r&&Fr(r)&&ue(r).position==="static";)r=$t(r);return r&&(re(r)==="html"||re(r)==="body"&&ue(r).position==="static")?t:r||Ur(e)||t}function Ct(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ve(e,t,r){return ge(e,ut(t,r))}function qr(e,t,r){var n=Ve(e,t,r);return n>r?r:n}function nr(){return{top:0,right:0,bottom:0,left:0}}function ir(e){return Object.assign({},nr(),e)}function ar(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var zr=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,ir(typeof t!="number"?t:ar(t,Ue))};function Yr(e){var t,r=e.state,n=e.name,a=e.options,u=r.elements.arrow,s=r.modifiersData.popperOffsets,c=te(r.placement),f=Ct(c),p=[I,X].indexOf(c)>=0,l=p?"height":"width";if(!(!u||!s)){var b=zr(a.padding,r),x=Dt(u),h=f==="y"?W:I,w=f==="y"?Y:X,g=r.rects.reference[l]+r.rects.reference[f]-s[f]-r.rects.popper[l],y=s[f]-r.rects.reference[f],A=qe(u),D=A?f==="y"?A.clientHeight||0:A.clientWidth||0:0,S=g/2-y/2,i=b[h],T=D-x[l]-b[w],v=D/2-x[l]/2+S,C=Ve(i,v,T),M=f;r.modifiersData[n]=(t={},t[M]=C,t.centerOffset=C-v,t)}}function Xr(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||rr(t.elements.popper,a)&&(t.elements.arrow=a))}const _r={name:"arrow",enabled:!0,phase:"main",fn:Yr,effect:Xr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Be(e){return e.split("-")[1]}var Gr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kr(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Se(r*a)/a||0,y:Se(n*a)/a||0}}function jt(e){var t,r=e.popper,n=e.popperRect,a=e.placement,u=e.variation,s=e.offsets,c=e.position,f=e.gpuAcceleration,p=e.adaptive,l=e.roundOffsets,b=e.isFixed,x=s.x,h=x===void 0?0:x,w=s.y,g=w===void 0?0:w,y=typeof l=="function"?l({x:h,y:g}):{x:h,y:g};h=y.x,g=y.y;var A=s.hasOwnProperty("x"),D=s.hasOwnProperty("y"),S=I,i=W,T=window;if(p){var v=qe(r),C="clientHeight",M="clientWidth";if(v===U(r)&&(v=le(r),ue(v).position!=="static"&&c==="absolute"&&(C="scrollHeight",M="scrollWidth")),v=v,a===W||(a===I||a===X)&&u===Ne){i=Y;var P=b&&v===T&&T.visualViewport?T.visualViewport.height:v[C];g-=P-n.height,g*=f?1:-1}if(a===I||(a===W||a===Y)&&u===Ne){S=X;var B=b&&v===T&&T.visualViewport?T.visualViewport.width:v[M];h-=B-n.width,h*=f?1:-1}}var k=Object.assign({position:c},p&&Gr),R=l===!0?Kr({x:h,y:g},U(r)):{x:h,y:g};if(h=R.x,g=R.y,f){var L;return Object.assign({},k,(L={},L[i]=D?"0":"",L[S]=A?"0":"",L.transform=(T.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",L))}return Object.assign({},k,(t={},t[i]=D?g+"px":"",t[S]=A?h+"px":"",t.transform="",t))}function Jr(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,u=r.adaptive,s=u===void 0?!0:u,c=r.roundOffsets,f=c===void 0?!0:c,p={placement:te(t.placement),variation:Be(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,jt(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,jt(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Zr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Jr,data:{}};var nt={passive:!0};function Qr(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,u=a===void 0?!0:a,s=n.resize,c=s===void 0?!0:s,f=U(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return u&&p.forEach(function(l){l.addEventListener("scroll",r.update,nt)}),c&&f.addEventListener("resize",r.update,nt),function(){u&&p.forEach(function(l){l.removeEventListener("scroll",r.update,nt)}),c&&f.removeEventListener("resize",r.update,nt)}}const en={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Qr,data:{}};var tn={left:"right",right:"left",bottom:"top",top:"bottom"};function ot(e){return e.replace(/left|right|bottom|top/g,function(t){return tn[t]})}var rn={start:"end",end:"start"};function Ht(e){return e.replace(/start|end/g,function(t){return rn[t]})}function St(e){var t=U(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Lt(e){return Le(le(e)).left+St(e).scrollLeft}function nn(e,t){var r=U(e),n=le(e),a=r.visualViewport,u=n.clientWidth,s=n.clientHeight,c=0,f=0;if(a){u=a.width,s=a.height;var p=tr();(p||!p&&t==="fixed")&&(c=a.offsetLeft,f=a.offsetTop)}return{width:u,height:s,x:c+Lt(e),y:f}}function an(e){var t,r=le(e),n=St(e),a=(t=e.ownerDocument)==null?void 0:t.body,u=ge(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=ge(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),c=-n.scrollLeft+Lt(e),f=-n.scrollTop;return ue(a||r).direction==="rtl"&&(c+=ge(r.clientWidth,a?a.clientWidth:0)-u),{width:u,height:s,x:c,y:f}}function Bt(e){var t=ue(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function or(e){return["html","body","#document"].indexOf(re(e))>=0?e.ownerDocument.body:z(e)&&Bt(e)?e:or(ct(e))}function We(e,t){var r;t===void 0&&(t=[]);var n=or(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),u=U(n),s=a?[u].concat(u.visualViewport||[],Bt(n)?n:[]):n,c=t.concat(s);return a?c:c.concat(We(ct(s)))}function Ot(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function on(e,t){var r=Le(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Vt(e,t,r){return t===Zt?Ot(nn(e,r)):ye(t)?on(t,r):Ot(an(le(e)))}function sn(e){var t=We(ct(e)),r=["absolute","fixed"].indexOf(ue(e).position)>=0,n=r&&z(e)?qe(e):e;return ye(n)?t.filter(function(a){return ye(a)&&rr(a,n)&&re(a)!=="body"}):[]}function un(e,t,r,n){var a=t==="clippingParents"?sn(e):[].concat(t),u=[].concat(a,[r]),s=u[0],c=u.reduce(function(f,p){var l=Vt(e,p,n);return f.top=ge(l.top,f.top),f.right=ut(l.right,f.right),f.bottom=ut(l.bottom,f.bottom),f.left=ge(l.left,f.left),f},Vt(e,s,n));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function sr(e){var t=e.reference,r=e.element,n=e.placement,a=n?te(n):null,u=n?Be(n):null,s=t.x+t.width/2-r.width/2,c=t.y+t.height/2-r.height/2,f;switch(a){case W:f={x:s,y:t.y-r.height};break;case Y:f={x:s,y:t.y+t.height};break;case X:f={x:t.x+t.width,y:c};break;case I:f={x:t.x-r.width,y:c};break;default:f={x:t.x,y:t.y}}var p=a?Ct(a):null;if(p!=null){var l=p==="y"?"height":"width";switch(u){case Ce:f[p]=f[p]-(t[l]/2-r[l]/2);break;case Ne:f[p]=f[p]+(t[l]/2-r[l]/2);break}}return f}function Fe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,u=r.strategy,s=u===void 0?e.strategy:u,c=r.boundary,f=c===void 0?Sr:c,p=r.rootBoundary,l=p===void 0?Zt:p,b=r.elementContext,x=b===void 0?He:b,h=r.altBoundary,w=h===void 0?!1:h,g=r.padding,y=g===void 0?0:g,A=ir(typeof y!="number"?y:ar(y,Ue)),D=x===He?Lr:He,S=e.rects.popper,i=e.elements[w?D:x],T=un(ye(i)?i:i.contextElement||le(e.elements.popper),f,l,s),v=Le(e.elements.reference),C=sr({reference:v,element:S,placement:a}),M=Ot(Object.assign({},S,C)),P=x===He?M:v,B={top:T.top-P.top+A.top,bottom:P.bottom-T.bottom+A.bottom,left:T.left-P.left+A.left,right:P.right-T.right+A.right},k=e.modifiersData.offset;if(x===He&&k){var R=k[a];Object.keys(B).forEach(function(L){var N=[X,Y].indexOf(L)>=0?1:-1,F=[W,Y].indexOf(L)>=0?"y":"x";B[L]+=R[F]*N})}return B}function fn(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,u=r.rootBoundary,s=r.padding,c=r.flipVariations,f=r.allowedAutoPlacements,p=f===void 0?Qt:f,l=Be(n),b=l?c?kt:kt.filter(function(w){return Be(w)===l}):Ue,x=b.filter(function(w){return p.indexOf(w)>=0});x.length===0&&(x=b);var h=x.reduce(function(w,g){return w[g]=Fe(e,{placement:g,boundary:a,rootBoundary:u,padding:s})[te(g)],w},{});return Object.keys(h).sort(function(w,g){return h[w]-h[g]})}function cn(e){if(te(e)===At)return[];var t=ot(e);return[Ht(e),t,Ht(t)]}function ln(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,u=a===void 0?!0:a,s=r.altAxis,c=s===void 0?!0:s,f=r.fallbackPlacements,p=r.padding,l=r.boundary,b=r.rootBoundary,x=r.altBoundary,h=r.flipVariations,w=h===void 0?!0:h,g=r.allowedAutoPlacements,y=t.options.placement,A=te(y),D=A===y,S=f||(D||!w?[ot(y)]:cn(y)),i=[y].concat(S).reduce(function(ne,_){return ne.concat(te(_)===At?fn(t,{placement:_,boundary:l,rootBoundary:b,padding:p,flipVariations:w,allowedAutoPlacements:g}):_)},[]),T=t.rects.reference,v=t.rects.popper,C=new Map,M=!0,P=i[0],B=0;B<i.length;B++){var k=i[B],R=te(k),L=Be(k)===Ce,N=[W,Y].indexOf(R)>=0,F=N?"width":"height",j=Fe(t,{placement:k,boundary:l,rootBoundary:b,altBoundary:x,padding:p}),H=N?L?X:I:L?Y:W;T[F]>v[F]&&(H=ot(H));var $=ot(H),K=[];if(u&&K.push(j[R]<=0),c&&K.push(j[H]<=0,j[$]<=0),K.every(function(ne){return ne})){P=k,M=!1;break}C.set(k,K)}if(M)for(var J=w?3:1,pe=function(_){var ie=i.find(function(be){var ae=C.get(be);if(ae)return ae.slice(0,_).every(function(we){return we})});if(ie)return P=ie,"break"},Z=J;Z>0;Z--){var de=pe(Z);if(de==="break")break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}}const pn={name:"flip",enabled:!0,phase:"main",fn:ln,requiresIfExists:["offset"],data:{_skip:!1}};function Wt(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function It(e){return[W,X,Y,I].some(function(t){return e[t]>=0})}function dn(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,u=t.modifiersData.preventOverflow,s=Fe(t,{elementContext:"reference"}),c=Fe(t,{altBoundary:!0}),f=Wt(s,n),p=Wt(c,a,u),l=It(f),b=It(p);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:p,isReferenceHidden:l,hasPopperEscaped:b},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":b})}const vn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:dn};function mn(e,t,r){var n=te(e),a=[I,W].indexOf(n)>=0?-1:1,u=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=u[0],c=u[1];return s=s||0,c=(c||0)*a,[I,X].indexOf(n)>=0?{x:c,y:s}:{x:s,y:c}}function hn(e){var t=e.state,r=e.options,n=e.name,a=r.offset,u=a===void 0?[0,0]:a,s=Qt.reduce(function(l,b){return l[b]=mn(b,t.rects,u),l},{}),c=s[t.placement],f=c.x,p=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=s}const gn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hn};function yn(e){var t=e.state,r=e.name;t.modifiersData[r]=sr({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const bn={name:"popperOffsets",enabled:!0,phase:"read",fn:yn,data:{}};function wn(e){return e==="x"?"y":"x"}function On(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,u=a===void 0?!0:a,s=r.altAxis,c=s===void 0?!1:s,f=r.boundary,p=r.rootBoundary,l=r.altBoundary,b=r.padding,x=r.tether,h=x===void 0?!0:x,w=r.tetherOffset,g=w===void 0?0:w,y=Fe(t,{boundary:f,rootBoundary:p,padding:b,altBoundary:l}),A=te(t.placement),D=Be(t.placement),S=!D,i=Ct(A),T=wn(i),v=t.modifiersData.popperOffsets,C=t.rects.reference,M=t.rects.popper,P=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,B=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(v){if(u){var L,N=i==="y"?W:I,F=i==="y"?Y:X,j=i==="y"?"height":"width",H=v[i],$=H+y[N],K=H-y[F],J=h?-M[j]/2:0,pe=D===Ce?C[j]:M[j],Z=D===Ce?-M[j]:-C[j],de=t.elements.arrow,ne=h&&de?Dt(de):{width:0,height:0},_=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nr(),ie=_[N],be=_[F],ae=Ve(0,C[j],ne[j]),we=S?C[j]/2-J-ae-ie-B.mainAxis:pe-ae-ie-B.mainAxis,fe=S?-C[j]/2+J+ae+be+B.mainAxis:Z+ae+be+B.mainAxis,Oe=t.elements.arrow&&qe(t.elements.arrow),ze=Oe?i==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,Pe=(L=k==null?void 0:k[i])!=null?L:0,Ye=H+we-Pe-ze,Xe=H+fe-Pe,Me=Ve(h?ut($,Ye):$,H,h?ge(K,Xe):K);v[i]=Me,R[i]=Me-H}if(c){var ke,_e=i==="x"?W:I,Ge=i==="x"?Y:X,oe=v[T],ce=T==="y"?"height":"width",$e=oe+y[_e],ve=oe-y[Ge],je=[W,I].indexOf(A)!==-1,Ke=(ke=k==null?void 0:k[T])!=null?ke:0,Je=je?$e:oe-C[ce]-M[ce]-Ke+B.altAxis,Ze=je?oe+C[ce]+M[ce]-Ke-B.altAxis:ve,Qe=h&&je?qr(Je,oe,Ze):Ve(h?Je:$e,oe,h?Ze:ve);v[T]=Qe,R[T]=Qe-oe}t.modifiersData[n]=R}}const xn={name:"preventOverflow",enabled:!0,phase:"main",fn:On,requiresIfExists:["offset"]};function Tn(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function An(e){return e===U(e)||!z(e)?St(e):Tn(e)}function En(e){var t=e.getBoundingClientRect(),r=Se(t.width)/e.offsetWidth||1,n=Se(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Dn(e,t,r){r===void 0&&(r=!1);var n=z(t),a=z(t)&&En(t),u=le(t),s=Le(e,a,r),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(n||!n&&!r)&&((re(t)!=="body"||Bt(u))&&(c=An(t)),z(t)?(f=Le(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):u&&(f.x=Lt(u))),{x:s.left+c.scrollLeft-f.x,y:s.top+c.scrollTop-f.y,width:s.width,height:s.height}}function Cn(e){var t=new Map,r=new Set,n=[];e.forEach(function(u){t.set(u.name,u)});function a(u){r.add(u.name);var s=[].concat(u.requires||[],u.requiresIfExists||[]);s.forEach(function(c){if(!r.has(c)){var f=t.get(c);f&&a(f)}}),n.push(u)}return e.forEach(function(u){r.has(u.name)||a(u)}),n}function Sn(e){var t=Cn(e);return Wr.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function Ln(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Bn(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Nt={placement:"bottom",modifiers:[],strategy:"absolute"};function Ft(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Rn(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,u=a===void 0?Nt:a;return function(c,f,p){p===void 0&&(p=u);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Nt,u),modifiersData:{},elements:{reference:c,popper:f},attributes:{},styles:{}},b=[],x=!1,h={state:l,setOptions:function(A){var D=typeof A=="function"?A(l.options):A;g(),l.options=Object.assign({},u,l.options,D),l.scrollParents={reference:ye(c)?We(c):c.contextElement?We(c.contextElement):[],popper:We(f)};var S=Sn(Bn([].concat(n,l.options.modifiers)));return l.orderedModifiers=S.filter(function(i){return i.enabled}),w(),h.update()},forceUpdate:function(){if(!x){var A=l.elements,D=A.reference,S=A.popper;if(Ft(D,S)){l.rects={reference:Dn(D,qe(S),l.options.strategy==="fixed"),popper:Dt(S)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(B){return l.modifiersData[B.name]=Object.assign({},B.data)});for(var i=0;i<l.orderedModifiers.length;i++){if(l.reset===!0){l.reset=!1,i=-1;continue}var T=l.orderedModifiers[i],v=T.fn,C=T.options,M=C===void 0?{}:C,P=T.name;typeof v=="function"&&(l=v({state:l,options:M,name:P,instance:h})||l)}}}},update:Ln(function(){return new Promise(function(y){h.forceUpdate(),y(l)})}),destroy:function(){g(),x=!0}};if(!Ft(c,f))return h;h.setOptions(p).then(function(y){!x&&p.onFirstUpdate&&p.onFirstUpdate(y)});function w(){l.orderedModifiers.forEach(function(y){var A=y.name,D=y.options,S=D===void 0?{}:D,i=y.effect;if(typeof i=="function"){var T=i({state:l,name:A,instance:h,options:S}),v=function(){};b.push(T||v)}})}function g(){b.forEach(function(y){return y()}),b=[]}return h}}var Pn=[en,bn,Zr,er,gn,pn,xn,_r,vn],Mn=Rn({defaultModifiers:Pn}),kn="tippy-box",ur="tippy-content",$n="tippy-backdrop",fr="tippy-arrow",cr="tippy-svg-arrow",he={passive:!0,capture:!0},lr=function(){return document.body};function ht(e,t,r){if(Array.isArray(e)){var n=e[t];return n??(Array.isArray(r)?r[t]:r)}return e}function Rt(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function pr(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Ut(e,t){if(t===0)return e;var r;return function(n){clearTimeout(r),r=setTimeout(function(){e(n)},t)}}function jn(e){return e.split(/\s+/).filter(Boolean)}function Ae(e){return[].concat(e)}function qt(e,t){e.indexOf(t)===-1&&e.push(t)}function Hn(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function Vn(e){return e.split("-")[0]}function ft(e){return[].slice.call(e)}function zt(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function Ie(){return document.createElement("div")}function lt(e){return["Element","Fragment"].some(function(t){return Rt(e,t)})}function Wn(e){return Rt(e,"NodeList")}function In(e){return Rt(e,"MouseEvent")}function Nn(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Fn(e){return lt(e)?[e]:Wn(e)?ft(e):Array.isArray(e)?e:ft(document.querySelectorAll(e))}function gt(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function Yt(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function Un(e){var t,r=Ae(e),n=r[0];return n!=null&&(t=n.ownerDocument)!=null&&t.body?n.ownerDocument:document}function qn(e,t){var r=t.clientX,n=t.clientY;return e.every(function(a){var u=a.popperRect,s=a.popperState,c=a.props,f=c.interactiveBorder,p=Vn(s.placement),l=s.modifiersData.offset;if(!l)return!0;var b=p==="bottom"?l.top.y:0,x=p==="top"?l.bottom.y:0,h=p==="right"?l.left.x:0,w=p==="left"?l.right.x:0,g=u.top-n+b>f,y=n-u.bottom-x>f,A=u.left-r+h>f,D=r-u.right-w>f;return g||y||A||D})}function yt(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(a){e[n](a,r)})}function Xt(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=r.getRootNode==null||(n=r.getRootNode())==null?void 0:n.host}return!1}var ee={isTouch:!1},_t=0;function zn(){ee.isTouch||(ee.isTouch=!0,window.performance&&document.addEventListener("mousemove",dr))}function dr(){var e=performance.now();e-_t<20&&(ee.isTouch=!1,document.removeEventListener("mousemove",dr)),_t=e}function Yn(){var e=document.activeElement;if(Nn(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Xn(){document.addEventListener("touchstart",zn,he),window.addEventListener("blur",Yn)}var _n=typeof window<"u"&&typeof document<"u",Gn=_n?!!window.msCrypto:!1,Kn={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Jn={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},G=Object.assign({appendTo:lr,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Kn,Jn),Zn=Object.keys(G),Qn=function(t){var r=Object.keys(t);r.forEach(function(n){G[n]=t[n]})};function vr(e){var t=e.plugins||[],r=t.reduce(function(n,a){var u=a.name,s=a.defaultValue;if(u){var c;n[u]=e[u]!==void 0?e[u]:(c=G[u])!=null?c:s}return n},{});return Object.assign({},e,r)}function ei(e,t){var r=t?Object.keys(vr(Object.assign({},G,{plugins:t}))):Zn,n=r.reduce(function(a,u){var s=(e.getAttribute("data-tippy-"+u)||"").trim();if(!s)return a;if(u==="content")a[u]=s;else try{a[u]=JSON.parse(s)}catch{a[u]=s}return a},{});return n}function Gt(e,t){var r=Object.assign({},t,{content:pr(t.content,[e])},t.ignoreAttributes?{}:ei(e,t.plugins));return r.aria=Object.assign({},G.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}var ti=function(){return"innerHTML"};function xt(e,t){e[ti()]=t}function Kt(e){var t=Ie();return e===!0?t.className=fr:(t.className=cr,lt(e)?t.appendChild(e):xt(t,e)),t}function Jt(e,t){lt(t.content)?(xt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?xt(e,t.content):e.textContent=t.content)}function Tt(e){var t=e.firstElementChild,r=ft(t.children);return{box:t,content:r.find(function(n){return n.classList.contains(ur)}),arrow:r.find(function(n){return n.classList.contains(fr)||n.classList.contains(cr)}),backdrop:r.find(function(n){return n.classList.contains($n)})}}function mr(e){var t=Ie(),r=Ie();r.className=kn,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var n=Ie();n.className=ur,n.setAttribute("data-state","hidden"),Jt(n,e.props),t.appendChild(r),r.appendChild(n),a(e.props,e.props);function a(u,s){var c=Tt(t),f=c.box,p=c.content,l=c.arrow;s.theme?f.setAttribute("data-theme",s.theme):f.removeAttribute("data-theme"),typeof s.animation=="string"?f.setAttribute("data-animation",s.animation):f.removeAttribute("data-animation"),s.inertia?f.setAttribute("data-inertia",""):f.removeAttribute("data-inertia"),f.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?f.setAttribute("role",s.role):f.removeAttribute("role"),(u.content!==s.content||u.allowHTML!==s.allowHTML)&&Jt(p,e.props),s.arrow?l?u.arrow!==s.arrow&&(f.removeChild(l),f.appendChild(Kt(s.arrow))):f.appendChild(Kt(s.arrow)):l&&f.removeChild(l)}return{popper:t,onUpdate:a}}mr.$$tippy=!0;var ri=1,it=[],bt=[];function ni(e,t){var r=Gt(e,Object.assign({},G,vr(zt(t)))),n,a,u,s=!1,c=!1,f=!1,p=!1,l,b,x,h=[],w=Ut(Ye,r.interactiveDebounce),g,y=ri++,A=null,D=Hn(r.plugins),S={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},i={id:y,reference:e,popper:Ie(),popperInstance:A,props:r,state:S,plugins:D,clearDelayTimeouts:Je,setProps:Ze,setContent:Qe,show:hr,hide:gr,hideWithInteractivity:yr,enable:je,disable:Ke,unmount:br,destroy:wr};if(!r.render)return i;var T=r.render(i),v=T.popper,C=T.onUpdate;v.setAttribute("data-tippy-root",""),v.id="tippy-"+i.id,i.popper=v,e._tippy=i,v._tippy=i;var M=D.map(function(o){return o.fn(i)}),P=e.hasAttribute("aria-expanded");return Oe(),J(),H(),$("onCreate",[i]),r.showOnCreate&&$e(),v.addEventListener("mouseenter",function(){i.props.interactive&&i.state.isVisible&&i.clearDelayTimeouts()}),v.addEventListener("mouseleave",function(){i.props.interactive&&i.props.trigger.indexOf("mouseenter")>=0&&N().addEventListener("mousemove",w)}),i;function B(){var o=i.props.touch;return Array.isArray(o)?o:[o,0]}function k(){return B()[0]==="hold"}function R(){var o;return!!((o=i.props.render)!=null&&o.$$tippy)}function L(){return g||e}function N(){var o=L().parentNode;return o?Un(o):document}function F(){return Tt(v)}function j(o){return i.state.isMounted&&!i.state.isVisible||ee.isTouch||l&&l.type==="focus"?0:ht(i.props.delay,o?0:1,G.delay)}function H(o){o===void 0&&(o=!1),v.style.pointerEvents=i.props.interactive&&!o?"":"none",v.style.zIndex=""+i.props.zIndex}function $(o,d,m){if(m===void 0&&(m=!0),M.forEach(function(O){O[o]&&O[o].apply(O,d)}),m){var E;(E=i.props)[o].apply(E,d)}}function K(){var o=i.props.aria;if(o.content){var d="aria-"+o.content,m=v.id,E=Ae(i.props.triggerTarget||e);E.forEach(function(O){var V=O.getAttribute(d);if(i.state.isVisible)O.setAttribute(d,V?V+" "+m:m);else{var q=V&&V.replace(m,"").trim();q?O.setAttribute(d,q):O.removeAttribute(d)}})}}function J(){if(!(P||!i.props.aria.expanded)){var o=Ae(i.props.triggerTarget||e);o.forEach(function(d){i.props.interactive?d.setAttribute("aria-expanded",i.state.isVisible&&d===L()?"true":"false"):d.removeAttribute("aria-expanded")})}}function pe(){N().removeEventListener("mousemove",w),it=it.filter(function(o){return o!==w})}function Z(o){if(!(ee.isTouch&&(f||o.type==="mousedown"))){var d=o.composedPath&&o.composedPath()[0]||o.target;if(!(i.props.interactive&&Xt(v,d))){if(Ae(i.props.triggerTarget||e).some(function(m){return Xt(m,d)})){if(ee.isTouch||i.state.isVisible&&i.props.trigger.indexOf("click")>=0)return}else $("onClickOutside",[i,o]);i.props.hideOnClick===!0&&(i.clearDelayTimeouts(),i.hide(),c=!0,setTimeout(function(){c=!1}),i.state.isMounted||ie())}}}function de(){f=!0}function ne(){f=!1}function _(){var o=N();o.addEventListener("mousedown",Z,!0),o.addEventListener("touchend",Z,he),o.addEventListener("touchstart",ne,he),o.addEventListener("touchmove",de,he)}function ie(){var o=N();o.removeEventListener("mousedown",Z,!0),o.removeEventListener("touchend",Z,he),o.removeEventListener("touchstart",ne,he),o.removeEventListener("touchmove",de,he)}function be(o,d){we(o,function(){!i.state.isVisible&&v.parentNode&&v.parentNode.contains(v)&&d()})}function ae(o,d){we(o,d)}function we(o,d){var m=F().box;function E(O){O.target===m&&(yt(m,"remove",E),d())}if(o===0)return d();yt(m,"remove",b),yt(m,"add",E),b=E}function fe(o,d,m){m===void 0&&(m=!1);var E=Ae(i.props.triggerTarget||e);E.forEach(function(O){O.addEventListener(o,d,m),h.push({node:O,eventType:o,handler:d,options:m})})}function Oe(){k()&&(fe("touchstart",Pe,{passive:!0}),fe("touchend",Xe,{passive:!0})),jn(i.props.trigger).forEach(function(o){if(o!=="manual")switch(fe(o,Pe),o){case"mouseenter":fe("mouseleave",Xe);break;case"focus":fe(Gn?"focusout":"blur",Me);break;case"focusin":fe("focusout",Me);break}})}function ze(){h.forEach(function(o){var d=o.node,m=o.eventType,E=o.handler,O=o.options;d.removeEventListener(m,E,O)}),h=[]}function Pe(o){var d,m=!1;if(!(!i.state.isEnabled||ke(o)||c)){var E=((d=l)==null?void 0:d.type)==="focus";l=o,g=o.currentTarget,J(),!i.state.isVisible&&In(o)&&it.forEach(function(O){return O(o)}),o.type==="click"&&(i.props.trigger.indexOf("mouseenter")<0||s)&&i.props.hideOnClick!==!1&&i.state.isVisible?m=!0:$e(o),o.type==="click"&&(s=!m),m&&!E&&ve(o)}}function Ye(o){var d=o.target,m=L().contains(d)||v.contains(d);if(!(o.type==="mousemove"&&m)){var E=ce().concat(v).map(function(O){var V,q=O._tippy,xe=(V=q.popperInstance)==null?void 0:V.state;return xe?{popperRect:O.getBoundingClientRect(),popperState:xe,props:r}:null}).filter(Boolean);qn(E,o)&&(pe(),ve(o))}}function Xe(o){var d=ke(o)||i.props.trigger.indexOf("click")>=0&&s;if(!d){if(i.props.interactive){i.hideWithInteractivity(o);return}ve(o)}}function Me(o){i.props.trigger.indexOf("focusin")<0&&o.target!==L()||i.props.interactive&&o.relatedTarget&&v.contains(o.relatedTarget)||ve(o)}function ke(o){return ee.isTouch?k()!==o.type.indexOf("touch")>=0:!1}function _e(){Ge();var o=i.props,d=o.popperOptions,m=o.placement,E=o.offset,O=o.getReferenceClientRect,V=o.moveTransition,q=R()?Tt(v).arrow:null,xe=O?{getBoundingClientRect:O,contextElement:O.contextElement||L()}:e,Pt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(et){var Te=et.state;if(R()){var Or=F(),dt=Or.box;["placement","reference-hidden","escaped"].forEach(function(tt){tt==="placement"?dt.setAttribute("data-placement",Te.placement):Te.attributes.popper["data-popper-"+tt]?dt.setAttribute("data-"+tt,""):dt.removeAttribute("data-"+tt)}),Te.attributes.popper={}}}},me=[{name:"offset",options:{offset:E}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!V}},Pt];R()&&q&&me.push({name:"arrow",options:{element:q,padding:3}}),me.push.apply(me,(d==null?void 0:d.modifiers)||[]),i.popperInstance=Mn(xe,v,Object.assign({},d,{placement:m,onFirstUpdate:x,modifiers:me}))}function Ge(){i.popperInstance&&(i.popperInstance.destroy(),i.popperInstance=null)}function oe(){var o=i.props.appendTo,d,m=L();i.props.interactive&&o===lr||o==="parent"?d=m.parentNode:d=pr(o,[m]),d.contains(v)||d.appendChild(v),i.state.isMounted=!0,_e()}function ce(){return ft(v.querySelectorAll("[data-tippy-root]"))}function $e(o){i.clearDelayTimeouts(),o&&$("onTrigger",[i,o]),_();var d=j(!0),m=B(),E=m[0],O=m[1];ee.isTouch&&E==="hold"&&O&&(d=O),d?n=setTimeout(function(){i.show()},d):i.show()}function ve(o){if(i.clearDelayTimeouts(),$("onUntrigger",[i,o]),!i.state.isVisible){ie();return}if(!(i.props.trigger.indexOf("mouseenter")>=0&&i.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(o.type)>=0&&s)){var d=j(!1);d?a=setTimeout(function(){i.state.isVisible&&i.hide()},d):u=requestAnimationFrame(function(){i.hide()})}}function je(){i.state.isEnabled=!0}function Ke(){i.hide(),i.state.isEnabled=!1}function Je(){clearTimeout(n),clearTimeout(a),cancelAnimationFrame(u)}function Ze(o){if(!i.state.isDestroyed){$("onBeforeUpdate",[i,o]),ze();var d=i.props,m=Gt(e,Object.assign({},d,zt(o),{ignoreAttributes:!0}));i.props=m,Oe(),d.interactiveDebounce!==m.interactiveDebounce&&(pe(),w=Ut(Ye,m.interactiveDebounce)),d.triggerTarget&&!m.triggerTarget?Ae(d.triggerTarget).forEach(function(E){E.removeAttribute("aria-expanded")}):m.triggerTarget&&e.removeAttribute("aria-expanded"),J(),H(),C&&C(d,m),i.popperInstance&&(_e(),ce().forEach(function(E){requestAnimationFrame(E._tippy.popperInstance.forceUpdate)})),$("onAfterUpdate",[i,o])}}function Qe(o){i.setProps({content:o})}function hr(){var o=i.state.isVisible,d=i.state.isDestroyed,m=!i.state.isEnabled,E=ee.isTouch&&!i.props.touch,O=ht(i.props.duration,0,G.duration);if(!(o||d||m||E)&&!L().hasAttribute("disabled")&&($("onShow",[i],!1),i.props.onShow(i)!==!1)){if(i.state.isVisible=!0,R()&&(v.style.visibility="visible"),H(),_(),i.state.isMounted||(v.style.transition="none"),R()){var V=F(),q=V.box,xe=V.content;gt([q,xe],0)}x=function(){var me;if(!(!i.state.isVisible||p)){if(p=!0,v.offsetHeight,v.style.transition=i.props.moveTransition,R()&&i.props.animation){var pt=F(),et=pt.box,Te=pt.content;gt([et,Te],O),Yt([et,Te],"visible")}K(),J(),qt(bt,i),(me=i.popperInstance)==null||me.forceUpdate(),$("onMount",[i]),i.props.animation&&R()&&ae(O,function(){i.state.isShown=!0,$("onShown",[i])})}},oe()}}function gr(){var o=!i.state.isVisible,d=i.state.isDestroyed,m=!i.state.isEnabled,E=ht(i.props.duration,1,G.duration);if(!(o||d||m)&&($("onHide",[i],!1),i.props.onHide(i)!==!1)){if(i.state.isVisible=!1,i.state.isShown=!1,p=!1,s=!1,R()&&(v.style.visibility="hidden"),pe(),ie(),H(!0),R()){var O=F(),V=O.box,q=O.content;i.props.animation&&(gt([V,q],E),Yt([V,q],"hidden"))}K(),J(),i.props.animation?R()&&be(E,i.unmount):i.unmount()}}function yr(o){N().addEventListener("mousemove",w),qt(it,w),w(o)}function br(){i.state.isVisible&&i.hide(),i.state.isMounted&&(Ge(),ce().forEach(function(o){o._tippy.unmount()}),v.parentNode&&v.parentNode.removeChild(v),bt=bt.filter(function(o){return o!==i}),i.state.isMounted=!1,$("onHidden",[i]))}function wr(){i.state.isDestroyed||(i.clearDelayTimeouts(),i.unmount(),ze(),delete e._tippy,i.state.isDestroyed=!0,$("onDestroy",[i]))}}function Re(e,t){t===void 0&&(t={});var r=G.plugins.concat(t.plugins||[]);Xn();var n=Object.assign({},t,{plugins:r}),a=Fn(e),u=a.reduce(function(s,c){var f=c&&ni(c,n);return f&&s.push(f),s},[]);return lt(e)?u[0]:u}Re.defaultProps=G;Re.setDefaultProps=Qn;Re.currentInput=ee;Object.assign({},er,{effect:function(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow)}});Re.setDefaultProps({render:mr});const ii={props:{triggerHeight:{default:"auto"},maxHeight:{default:"auto"},maxWidth:{default:"100vh"},trigger:{default:"click"},placement:{default:"bottom"},appendTo:{default:"parent"},disable:{default:!1},fullWidth:{default:!1},showOnCreate:{default:!1}},setup(e){const t=vt(null),r=vt(null),n=vt();return Tr(()=>{t.value&&(n.value=Re(t.value,{trigger:e.trigger,maxWidth:e.maxWidth,content:r.value,placement:e.placement,interactive:!0,allowHTML:!0,appendTo:e.appendTo||document.querySelector("body"),arrow:!0,hideOnClick:!0,animation:"shift-away",theme:"light-border",showOnCreate:e.showOnCreate}))}),{tippyInstance:n,refTrigger:t,refContent:r,tippy:Re}}},ai={key:1,class:"popover-root"};function oi(e,t,r,n,a,u){return r.disable?(Q(),se("div",ai,[De(e.$slots,"trigger",{},void 0,!0)])):(Q(),se("div",{key:0,class:at(["popover-root",{fullWidth:r.fullWidth}])},[Ee("div",{ref:"refTrigger",class:"trigger",style:st({height:r.triggerHeight})},[De(e.$slots,"trigger",{},void 0,!0)],4),Ee("div",{ref:"refContent",class:"content",style:st({maxHeight:r.maxHeight,overflow:r.maxHeight!=="auto"?"auto":"inherit"})},[De(e.$slots,"content",{},void 0,!0)],4)],2))}const si=xr(ii,[["render",oi],["__scopeId","data-v-6d2b88ed"]]),ui={key:0,class:"title"},fi={key:0},ci={class:"actions"},li=["onClick"],pi={key:1,class:"text"},di={key:0,class:"text"},vi={__name:"Section",props:{header:{default:""},actions:{default:()=>[]},maxHeight:{default:"auto"},noStyle:{default:!1},noBodyPadding:{default:!1},scroll:{default:!0},headerBold:{default:!1},headerCenter:{default:!1},noRadius:{default:!1}},setup(e){const t=e,r=Ar(()=>t.actions.filter(n=>!n.hidden));return(n,a)=>{var u;return Q(),se("div",{class:at(["section-rtJYbnZTmbTnRmjreRzSMmHPf4NqoWVqEbGFBsz8BGaeKn",{noStyle:e.noStyle,noBodyPadding:e.noBodyPadding,headerBold:e.headerBold,headerCenter:e.headerCenter,noRadius:e.noRadius}])},[a[0]||(a[0]=Ee("div",{class:"background"},null,-1)),e.header||(u=e.actions)!=null&&u.length||n.$slots.header?(Q(),se("div",ui,[e.header?(Q(),se("div",fi,mt(e.header),1)):De(n.$slots,"header",{key:1}),Ee("div",ci,[De(n.$slots,"actions"),(Q(!0),se(Er,null,Dr(r.value,s=>(Q(),Cr(si,{key:s.label,appendTo:"parent",trigger:"mouseenter",placement:"top",disable:!s.hover},{trigger:Mt(()=>[Ee("button",{onClick:c=>{var f;return(f=s==null?void 0:s.click)==null?void 0:f.call(s)},class:at(["action small",{mini:!s.label&&s.icon||s.small,active:s.active}]),style:st(s.style||{})},[s.icon?(Q(),se("i",{key:0,class:at(s.icon),"aria-hidden":"true"},null,2)):rt("",!0),s.label?(Q(),se("span",pi,mt(s.label),1)):rt("",!0)],14,li)]),content:Mt(()=>[s.hover?(Q(),se("span",di,mt(s.hover),1)):rt("",!0)]),_:2},1032,["disable"]))),128))])])):rt("",!0),Ee("div",{class:"content",style:st({maxHeight:e.maxHeight,overflow:e.scroll?"auto":"inherit"})},[De(n.$slots,"default")],4)],2)}}},gi=Object.freeze(Object.defineProperty({__proto__:null,default:vi},Symbol.toStringTag,{value:"Module"}));export{si as P,gi as S,vi as _};
@@ -1,4 +1,4 @@
1
- import{y as de,B as ce,a as h,o as p,g as L,I as $,h as j,r as k,j as J,S as se,K as pe,e as r,f as c,F as M,q,b as d,s as C,d as z,L as a,t as E,p as ie,k as D,ag as Re,ah as De,ai as Ue,a5 as Be,aj as Ae,ak as ae,al as Ke,l as oe,H as ue,T as Ce,G as Ne,m as ge,n as Se,aS as qe,c as Pe,b2 as He,w as ze,by as Ze,bz as Q,bA as ve,bB as Fe}from"./index-G1ob8hK0.js";import{P as We,_ as B}from"./Section-YBL4Pzic.js";import{S as _e,a as O,g as ee,e as Ge,s as U,l as Ye,M as K,m as Ie,o as R,n as P,q as Ve,r as Je,O as Qe,u as me,t as Xe,v as et,w as tt,x as st,R as ot,h as ne,y as Ee,i as Oe,z as X,A as ye,B as nt,C as at,b as lt}from"./router-B2S_D5pC.js";import{s as Le,b as H,a as te,d as rt}from"./Markdown-dzyZ7CTg.js";import{_ as A}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{C as it}from"./CurrentEditor-BgkRP7cS.js";import"./Editor-BqvrNzb6.js";var ut=de`
1
+ import{y as de,B as ce,a as h,o as p,g as L,I as $,h as j,r as k,j as J,S as se,K as pe,e as r,f as c,F as M,q,b as d,s as C,d as z,L as a,t as E,p as ie,k as D,ag as Re,ah as De,ai as Ue,a5 as Be,aj as Ae,ak as ae,al as Ke,l as oe,H as ue,T as Ce,G as Ne,m as ge,n as Se,aS as qe,c as Pe,b2 as He,w as ze,by as Ze,bz as Q,bA as ve,bB as Fe}from"./index-CWdLNLf2.js";import{P as We,_ as B}from"./Section-DLhOQaZc.js";import{S as _e,a as O,g as ee,e as Ge,s as U,l as Ye,M as K,m as Ie,o as R,n as P,q as Ve,r as Je,O as Qe,u as me,t as Xe,v as et,w as tt,x as st,R as ot,h as ne,y as Ee,i as Oe,z as X,A as ye,B as nt,C as at,b as lt}from"./router-B5BHMCJX.js";import{s as Le,b as H,a as te,d as rt}from"./Markdown-5TtJbvAz.js";import{_ as A}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{C as it}from"./CurrentEditor-CGzL3h8U.js";import"./Editor-DK3XKnCP.js";var ut=de`
2
2
  .p-divider-horizontal {
3
3
  display: flex;
4
4
  width: 100%;
@@ -1 +1 @@
1
- import{u as G,S as d}from"./router-B2S_D5pC.js";import V from"./system-DYhoWbZ1.js";import{_ as I}from"./Section-YBL4Pzic.js";import{l as M,s as O,g as S,o as r,f as U,b as c,a as u,F as A,q as L,d as E,t as _,O as N,m as q,p as F,v as K,r as T,j,S as m,N as D,c as C,V as x}from"./index-G1ob8hK0.js";import{L as R,B as z}from"./LeftLogo-E7dYCAWT.js";import{_ as H}from"./_plugin-vue_export-helper-DlAUqK2U.js";const J={name:"StackChooser",components:{sectionCmp:I,BackgroundStackChooser:z,LeftLogo:R},props:{embed:{default:!1}},setup(){var o,h,f;const v=G(),t=T([]);async function b(){if(await d.loadServices(),!d.services.value.length)return v.push({name:"stack-single-no-view"});if(t.value=d.services.value.map(e=>{const l=localStorage.getItem(`automatic-toggle-${e.label}`);return{label:e.label,enabled:l==="true"||e.enabled||!1,groups:e.groups}}),v.currentRoute.value.name==="stack-chooser"){const e=d.services.value.find(l=>l.enabled);if(e){const l=d.services.value.find(a=>a.label===localStorage.getItem("last-service-visisted")&&a.enabled);l?v.push({name:"stack-single",params:{label:l.label}}):v.push({name:"stack-single",params:{label:e.label}})}}}j(b),(o=m)==null||o.on("stack:selectConf",b),(h=m)==null||h.on("service:start",b),(f=m)==null||f.on("stack:services-reloaded",b),D(()=>{var e,l,a;(e=m)==null||e.off("stack:selectConf",b),(l=m)==null||l.off("service:start",b),(a=m)==null||a.off("stack:services-reloaded",b)});const s=async()=>{var l,a;t.value.forEach(i=>{const w=d.services.value.find(B=>B.label===i.label);w&&(w.enabled=i.enabled)}),d.launchServices(t.value.map(i=>({label:i.label,enabled:i.enabled})));const e=await d.getEnabledServices();v.push({name:"stack-single",params:{label:((l=e[0])==null?void 0:l.label)||((a=d.services.value[0])==null?void 0:a.label)}})},g=e=>t.value.filter(l=>{var a;return((a=l.groups)==null?void 0:a.includes(e))||e==="All"}),y=e=>g(e).every(l=>l.enabled),p=T(""),n=async e=>{e!=null&&e.label&&localStorage.setItem(`automatic-toggle-${e.label}`,e.enabled==null?"false":e.enabled.toString())},k=async(e,l=null)=>{e!=null&&(e.enabled=l??!e.enabled,await n(e))};return{servicesToLaunch:t,search:p,isAllEnabled:C(()=>t.value.every(e=>e.enabled)),oneOrMoreEnabled:C(()=>t.value.some(e=>e.enabled)),groups:C(()=>{const e=t.value.reduce((l,a)=>(a.groups&&a.groups.forEach(i=>{l[i]||(l[i]=x({services:[],label:i})),l[i].services.push(a)}),l.All||(l.All=x({services:[],label:"All"})),l.All.services.push(a),l),{});return Object.keys(e).map(l=>e[l]).sort((l,a)=>l.label.localeCompare(a.label))}),toggleGroup(e){const l=y(e);g(e).map(a=>{k(a,!l)})},save:n,isGroupSelected:y,Stack:d,System:V,validate:s,displayedServices(e){return e.filter(l=>{var a;return(a=l.label)==null?void 0:a.toUpperCase().includes(p.value.toUpperCase())})},toggleService:k}}},P={class:"groups"},Q=["onClick"],W={class:"left-header"},X={key:0,class:"fas fa-chevron-down","aria-hidden":"true"},Y={class:"right-header"},Z=["onClick"],$={key:0,class:"far fa-check-square","aria-hidden":"true"},ee={key:1,class:"far fa-square","aria-hidden":"true"},le={key:0},ae=["onKeypress"],se=["id","value","checked","onChange"],te=["for"],ne={class:"actions"};function oe(v,t,b,s,g,y){const p=M("section-cmp");return s.servicesToLaunch?(r(),O(p,{key:0,class:"stack-chooser",header:"Choose all services to launch"},{default:U(()=>[c("div",P,[(r(!0),u(A,null,L(s.groups,n=>{var k;return r(),u("div",{key:n.label},[c("div",{class:"group-header",onClick:o=>n.show=!n.show},[c("div",W,[n.label!=="All"?(r(),u("i",X)):S("",!0),c("h3",null,[E(_(n.label)+" ",1),c("span",null,"("+_((k=n.services)==null?void 0:k.length)+")",1)])]),c("div",Y,[c("button",{onClick:N(o=>s.toggleGroup(n.label),["stop"]),class:"mini"},[s.isGroupSelected(n.label)?(r(),u("i",$)):(r(),u("i",ee))],8,Z)])],8,Q),n.show||n.label==="All"?(r(),u("ul",le,[q(c("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=o=>s.search=o),onKeypress:F(o=>s.toggleService(s.servicesToLaunch.find(h=>{var f;return h.label===((f=s.displayedServices(n.services)[0])==null?void 0:f.label)})),["enter"]),placeholder:"Type+Enter to toggle..."},null,40,ae),[[K,s.search]]),(r(!0),u(A,null,L(s.displayedServices(n.services),o=>{var h,f;return r(),u("li",{key:"services-"+o.label},[c("input",{type:"checkbox",id:"input-"+o.label,value:(h=s.servicesToLaunch.find(e=>e.label===o.label))==null?void 0:h.enabled,checked:(f=s.servicesToLaunch.find(e=>e.label===o.label))==null?void 0:f.enabled,onChange:e=>s.toggleService(s.servicesToLaunch.find(l=>l.label===o.label))},null,40,se),c("label",{for:"input-"+o.label},_(o.label),9,te)])}),128))])):S("",!0)])}),128))]),c("div",ne,[s.isAllEnabled?(r(),u("button",{key:1,onClick:t[2]||(t[2]=n=>s.toggleGroup("All"))},"Unselect all")):(r(),u("button",{key:0,onClick:t[1]||(t[1]=n=>s.toggleGroup("All"))},"Select all")),c("button",{onClick:t[3]||(t[3]=(...n)=>s.validate&&s.validate(...n)),class:"success"},[t[4]||(t[4]=c("i",{class:"fas fa-play","aria-hidden":"true"},null,-1)),E(" "+_(s.oneOrMoreEnabled?"Launch":"Open without launching"),1)])])]),_:1})):S("",!0)}const fe=H(J,[["render",oe],["__scopeId","data-v-cd4be6aa"]]);export{fe as S};
1
+ import{u as G,S as d}from"./router-B5BHMCJX.js";import V from"./system-D6n39APF.js";import{_ as I}from"./Section-DLhOQaZc.js";import{l as M,s as O,g as S,o as r,f as U,b as c,a as u,F as A,q as L,d as E,t as _,O as N,m as q,p as F,v as K,r as T,j,S as m,N as D,c as C,V as x}from"./index-CWdLNLf2.js";import{L as R,B as z}from"./LeftLogo-Cbwhm4ku.js";import{_ as H}from"./_plugin-vue_export-helper-DlAUqK2U.js";const J={name:"StackChooser",components:{sectionCmp:I,BackgroundStackChooser:z,LeftLogo:R},props:{embed:{default:!1}},setup(){var o,h,f;const v=G(),t=T([]);async function b(){if(await d.loadServices(),!d.services.value.length)return v.push({name:"stack-single-no-view"});if(t.value=d.services.value.map(e=>{const l=localStorage.getItem(`automatic-toggle-${e.label}`);return{label:e.label,enabled:l==="true"||e.enabled||!1,groups:e.groups}}),v.currentRoute.value.name==="stack-chooser"){const e=d.services.value.find(l=>l.enabled);if(e){const l=d.services.value.find(a=>a.label===localStorage.getItem("last-service-visisted")&&a.enabled);l?v.push({name:"stack-single",params:{label:l.label}}):v.push({name:"stack-single",params:{label:e.label}})}}}j(b),(o=m)==null||o.on("stack:selectConf",b),(h=m)==null||h.on("service:start",b),(f=m)==null||f.on("stack:services-reloaded",b),D(()=>{var e,l,a;(e=m)==null||e.off("stack:selectConf",b),(l=m)==null||l.off("service:start",b),(a=m)==null||a.off("stack:services-reloaded",b)});const s=async()=>{var l,a;t.value.forEach(i=>{const w=d.services.value.find(B=>B.label===i.label);w&&(w.enabled=i.enabled)}),d.launchServices(t.value.map(i=>({label:i.label,enabled:i.enabled})));const e=await d.getEnabledServices();v.push({name:"stack-single",params:{label:((l=e[0])==null?void 0:l.label)||((a=d.services.value[0])==null?void 0:a.label)}})},g=e=>t.value.filter(l=>{var a;return((a=l.groups)==null?void 0:a.includes(e))||e==="All"}),y=e=>g(e).every(l=>l.enabled),p=T(""),n=async e=>{e!=null&&e.label&&localStorage.setItem(`automatic-toggle-${e.label}`,e.enabled==null?"false":e.enabled.toString())},k=async(e,l=null)=>{e!=null&&(e.enabled=l??!e.enabled,await n(e))};return{servicesToLaunch:t,search:p,isAllEnabled:C(()=>t.value.every(e=>e.enabled)),oneOrMoreEnabled:C(()=>t.value.some(e=>e.enabled)),groups:C(()=>{const e=t.value.reduce((l,a)=>(a.groups&&a.groups.forEach(i=>{l[i]||(l[i]=x({services:[],label:i})),l[i].services.push(a)}),l.All||(l.All=x({services:[],label:"All"})),l.All.services.push(a),l),{});return Object.keys(e).map(l=>e[l]).sort((l,a)=>l.label.localeCompare(a.label))}),toggleGroup(e){const l=y(e);g(e).map(a=>{k(a,!l)})},save:n,isGroupSelected:y,Stack:d,System:V,validate:s,displayedServices(e){return e.filter(l=>{var a;return(a=l.label)==null?void 0:a.toUpperCase().includes(p.value.toUpperCase())})},toggleService:k}}},P={class:"groups"},Q=["onClick"],W={class:"left-header"},X={key:0,class:"fas fa-chevron-down","aria-hidden":"true"},Y={class:"right-header"},Z=["onClick"],$={key:0,class:"far fa-check-square","aria-hidden":"true"},ee={key:1,class:"far fa-square","aria-hidden":"true"},le={key:0},ae=["onKeypress"],se=["id","value","checked","onChange"],te=["for"],ne={class:"actions"};function oe(v,t,b,s,g,y){const p=M("section-cmp");return s.servicesToLaunch?(r(),O(p,{key:0,class:"stack-chooser",header:"Choose all services to launch"},{default:U(()=>[c("div",P,[(r(!0),u(A,null,L(s.groups,n=>{var k;return r(),u("div",{key:n.label},[c("div",{class:"group-header",onClick:o=>n.show=!n.show},[c("div",W,[n.label!=="All"?(r(),u("i",X)):S("",!0),c("h3",null,[E(_(n.label)+" ",1),c("span",null,"("+_((k=n.services)==null?void 0:k.length)+")",1)])]),c("div",Y,[c("button",{onClick:N(o=>s.toggleGroup(n.label),["stop"]),class:"mini"},[s.isGroupSelected(n.label)?(r(),u("i",$)):(r(),u("i",ee))],8,Z)])],8,Q),n.show||n.label==="All"?(r(),u("ul",le,[q(c("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=o=>s.search=o),onKeypress:F(o=>s.toggleService(s.servicesToLaunch.find(h=>{var f;return h.label===((f=s.displayedServices(n.services)[0])==null?void 0:f.label)})),["enter"]),placeholder:"Type+Enter to toggle..."},null,40,ae),[[K,s.search]]),(r(!0),u(A,null,L(s.displayedServices(n.services),o=>{var h,f;return r(),u("li",{key:"services-"+o.label},[c("input",{type:"checkbox",id:"input-"+o.label,value:(h=s.servicesToLaunch.find(e=>e.label===o.label))==null?void 0:h.enabled,checked:(f=s.servicesToLaunch.find(e=>e.label===o.label))==null?void 0:f.enabled,onChange:e=>s.toggleService(s.servicesToLaunch.find(l=>l.label===o.label))},null,40,se),c("label",{for:"input-"+o.label},_(o.label),9,te)])}),128))])):S("",!0)])}),128))]),c("div",ne,[s.isAllEnabled?(r(),u("button",{key:1,onClick:t[2]||(t[2]=n=>s.toggleGroup("All"))},"Unselect all")):(r(),u("button",{key:0,onClick:t[1]||(t[1]=n=>s.toggleGroup("All"))},"Select all")),c("button",{onClick:t[3]||(t[3]=(...n)=>s.validate&&s.validate(...n)),class:"success"},[t[4]||(t[4]=c("i",{class:"fas fa-play","aria-hidden":"true"},null,-1)),E(" "+_(s.oneOrMoreEnabled?"Launch":"Open without launching"),1)])])]),_:1})):S("",!0)}const fe=H(J,[["render",oe],["__scopeId","data-v-cd4be6aa"]]);export{fe as S};
@@ -1 +1 @@
1
- import a from"./system-DYhoWbZ1.js";import{B as c,L as i}from"./LeftLogo-E7dYCAWT.js";import{S as n}from"./StackChooser-DAAV0Rat.js";import{u as m}from"./router-B2S_D5pC.js";import{_ as l}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as p,o as f,e as t,b as s,t as u,L as r}from"./index-G1ob8hK0.js";import"./Section-YBL4Pzic.js";import"./Markdown-dzyZ7CTg.js";import"./Editor-BqvrNzb6.js";const _={class:"stack-chooser-root"},d={class:"right"},k={class:"version"},v={__name:"StackChooser",setup(h){const e=m();return(S,o)=>(f(),p("div",_,[t(c,{lowResources:!0}),t(i),s("div",d,[t(n,{class:"stack-chooser"})]),s("div",k,u(r(a).version.value),1),s("div",{class:"tools",onClick:o[0]||(o[0]=x=>r(e).push({name:"Toolbox"}))},o[1]||(o[1]=[s("i",{class:"fas fa-toolbox"},null,-1)]))]))}},$=l(v,[["__scopeId","data-v-3f1446fa"]]);export{$ as default};
1
+ import a from"./system-D6n39APF.js";import{B as c,L as i}from"./LeftLogo-Cbwhm4ku.js";import{S as n}from"./StackChooser-Dm1JVLNV.js";import{u as m}from"./router-B5BHMCJX.js";import{_ as l}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as p,o as f,e as t,b as s,t as u,L as r}from"./index-CWdLNLf2.js";import"./Section-DLhOQaZc.js";import"./Markdown-5TtJbvAz.js";import"./Editor-DK3XKnCP.js";const _={class:"stack-chooser-root"},d={class:"right"},k={class:"version"},v={__name:"StackChooser",setup(h){const e=m();return(S,o)=>(f(),p("div",_,[t(c,{lowResources:!0}),t(i),s("div",d,[t(n,{class:"stack-chooser"})]),s("div",k,u(r(a).version.value),1),s("div",{class:"tools",onClick:o[0]||(o[0]=x=>r(e).push({name:"Toolbox"}))},o[1]||(o[1]=[s("i",{class:"fas fa-toolbox"},null,-1)]))]))}},$=l(v,[["__scopeId","data-v-3f1446fa"]]);export{$ as default};
@@ -1,4 +1,4 @@
1
- import{_ as Qa}from"./Section-YBL4Pzic.js";import{P as ka,S as Za}from"./router-B2S_D5pC.js";import{T as qa}from"./Tabs-D9ZNelJj.js";import{f as Or,g as _a}from"./Markdown-dzyZ7CTg.js";import{bb as bn,bc as mt,bd as Ae,be as Hn,bf as vi,bg as es,bh as Mo,bi as Pt,bj as ts,bk as Lo,bl as ns,bm as ht,bn as wo,bo as Zi,bp as rs,bq as is,br as os,bs as as,bt as ss,bu as Ir,bv as ls,bw as cs,bx as fs,l as Wr,a as us,o as qi,e as Yr,f as Jr,b as ds,I as hs,s as ps,H as ms,r as zr,j as gs,k as _i,w as vs}from"./index-G1ob8hK0.js";import{_ as Es}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Editor-BqvrNzb6.js";var _n={exports:{}},Qr={exports:{}},kr={};/**
1
+ import{_ as Qa}from"./Section-DLhOQaZc.js";import{P as ka,S as Za}from"./router-B5BHMCJX.js";import{T as qa}from"./Tabs-DnJSk4n2.js";import{f as Or,g as _a}from"./Markdown-5TtJbvAz.js";import{bb as bn,bc as mt,bd as Ae,be as Hn,bf as vi,bg as es,bh as Mo,bi as Pt,bj as ts,bk as Lo,bl as ns,bm as ht,bn as wo,bo as Zi,bp as rs,bq as is,br as os,bs as as,bt as ss,bu as Ir,bv as ls,bw as cs,bx as fs,l as Wr,a as us,o as qi,e as Yr,f as Jr,b as ds,I as hs,s as ps,H as ms,r as zr,j as gs,k as _i,w as vs}from"./index-CWdLNLf2.js";import{_ as Es}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Editor-DK3XKnCP.js";var _n={exports:{}},Qr={exports:{}},kr={};/**
2
2
  * @vue/compiler-core v3.5.14
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
@@ -1 +1 @@
1
- import{n as j,u as L,S as V}from"./router-B2S_D5pC.js";import B from"./system-DYhoWbZ1.js";import{_ as C}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as c,o,b as r,u as z,h as D,n as F,l as f,g as S,s as w,d as H,f as m,t as I,e as u,F as M,q,H as K,r as p,w as A,j as E,S as N,K as R,k as G}from"./index-G1ob8hK0.js";import{P as J,_ as Q}from"./Section-YBL4Pzic.js";import{T as W}from"./Tabs-D9ZNelJj.js";import{C as X}from"./CurrentEditor-BgkRP7cS.js";import"./Markdown-dzyZ7CTg.js";import"./Editor-BqvrNzb6.js";const Y={props:{percent:{default:0}}},Z={class:"progress progress-moved"};function $(d,t,n,e,y,_){return o(),c("div",Z,[r("div",{class:"progress-bar",style:z({width:`${(n.percent||0)>100?100:n.percent||0}%`})},null,4)])}const ee=C(Y,[["render",$],["__scopeId","data-v-3bbda6b0"]]),te={class:"card-container"},re={__name:"Card",props:{color:{default:"blue"},mini:{default:!1}},setup(d){return(t,n)=>(o(),c("div",{class:F(["card-root",{[d.color]:!0,mini:d.mini}])},[r("div",te,[D(t.$slots,"default",{},void 0,!0)])],2))}},se=C(re,[["__scopeId","data-v-bebaadaf"]]),ne={__name:"NotificationBell",setup(d){const t=()=>j.openHistory.next();return(n,e)=>(o(),c("div",{class:"notification-bell-root",onClick:t},e[0]||(e[0]=[r("i",{class:"fas fa-bell","aria-hidden":"true"},null,-1)])))}},ae=C(ne,[["__scopeId","data-v-c97a762b"]]),oe={name:"StackSingle",components:{progressCmp:ee,sectionCmp:Q,Tabs:W,Card:se,CurrentEditor:X,Popover:J,NotificationBell:ae},setup(){const d=L(),t=p([]),n=p(),e=p(0),y=p(0),_=p(!1);A(()=>d.currentRoute.value.params.label,async()=>{await g()});const h=s=>{s.includes(d.currentRoute.value.params.label.toString())&&g()};E(()=>{N.on("conf:update",h)}),R(()=>{N.off("conf:update",h)});let b;const k=p([]);async function g(){var s;if(await V.loadServices(),n.value=await V.getService((s=d.currentRoute.value.params.label)==null?void 0:s.toString()),n.value){const{data:l}=await G.get("/plugins/services/"+n.value.label);k.value=l.sort((a,v)=>a.order-v.order).map(a=>{var i,P,x,O;const v={label:a.name,id:a.name,icon:a.icon,hidden:a.hidden,warning:0};if(a.name==="Configuration"){const T=Object.keys(((P=(i=n.value)==null?void 0:i.spawnOptions)==null?void 0:P.overrideEnvs)||{});Object.keys(((O=(x=n.value)==null?void 0:x.spawnOptions)==null?void 0:O.env)||{}).some(U=>T.includes(U))&&(v.warning=1)}return v})}}return E(async()=>{await g(),b=setInterval(async()=>{var a;if(!((a=n.value)!=null&&a.label))return;const{cpu:s,mem:l}=await B.getInfos(n.value.label.toString());e.value=s,y.value=l},1e3)}),R(()=>{b&&clearInterval(b)}),{stack:t,System:B,currentService:n,cpu:e,mem:y,tabs:k,restartInProgress:_,async openInVsCode(s,l){var a;(a=n.value)==null||a.openInVsCode(s,l)},async openFolder(s){var l;(l=n.value)==null||l.openFolder(s)},async restart(){var s;_.value=!0,await((s=n.value)==null?void 0:s.restart().finally(()=>_.value=!1))},async stop(){var s;await((s=n.value)==null?void 0:s.stop())},async start(){var s;await((s=n.value)==null?void 0:s.start())}}}},ie={class:"main"},le={class:"header"},ce={class:"left"},de={class:"title"},ue={class:"description"},ve={class:"right"},fe={class:"icons"},me=["href"],pe=["href"],_e=["href","title"],be={class:"sections"},ge={key:0,class:"sections"},Se={key:1,class:"system-cards"},ye=["disabled"],he={class:"tab"};function ke(d,t,n,e,y,_){var v;const h=f("Popover"),b=f("notification-bell"),k=f("CurrentEditor"),g=f("section-cmp"),s=f("progress-cmp"),l=f("card"),a=f("tabs");return e.currentService?(o(),c("div",{class:"stack-single",key:d.$route.params.label.toString()},[r("div",ie,[r("div",le,[r("div",ce,[r("div",de,[(v=e.currentService.container)!=null&&v.enabled?(o(),w(h,{key:0,trigger:"mouseenter",appendTo:"parent","max-width":"50vh"},{trigger:m(()=>t[4]||(t[4]=[r("i",{class:"fab fa-docker"},null,-1)])),content:m(()=>[r("ul",null,[r("li",null,"Container name: "+I(e.currentService.container.name),1)])]),_:1})):S("",!0),H(" "+I(e.currentService.label),1)]),r("div",ue,I(e.currentService.description),1)]),r("div",ve,[u(b),r("div",fe,[e.currentService.git&&e.currentService.git.home?(o(),c("a",{key:0,href:e.currentService.git.home,target:"_blank",title:"Open git home"},t[5]||(t[5]=[r("i",{class:"fab fa-github","aria-hidden":"true"},null,-1)]),8,me)):S("",!0),e.currentService.url?(o(),c("a",{key:1,href:e.currentService.url,target:"_blank",title:"Open service URL"},t[6]||(t[6]=[r("i",{class:"fas fa-globe","aria-hidden":"true"},null,-1)]),8,pe)):S("",!0),(o(!0),c(M,null,q(e.currentService.urls,i=>(o(),c("a",{key:i,href:i,target:"_blank",title:i},t[7]||(t[7]=[r("i",{class:"fas fa-globe","aria-hidden":"true"},null,-1)]),8,_e))),128)),(o(),w(k,{key:"current-editor-"+e.currentService.label,service:e.currentService,onOpenEditor:t[0]||(t[0]=i=>e.openInVsCode(e.currentService.rootPath,i))},null,8,["service"])),e.currentService.rootPath?(o(),c("i",{key:2,class:"fas fa-folder","aria-hidden":"true",title:"Open folder",onClick:t[1]||(t[1]=i=>e.openFolder(e.currentService.rootPath))})):S("",!0)])])]),r("div",be,[e.currentService.enabled?(o(),c("div",Se,[u(l,{class:"card to-hide-for-small-screen",mini:!0},{default:m(()=>[t[8]||(t[8]=r("i",{class:"fas fa-memory"},null,-1)),t[9]||(t[9]=r("div",{class:"hovered"},"Memory",-1)),u(s,{percent:e.mem},null,8,["percent"])]),_:1,__:[8,9]}),u(l,{class:"card to-hide-for-small-screen",color:"purple",mini:!0},{default:m(()=>[t[10]||(t[10]=r("i",{class:"fas fa-microchip"},null,-1)),t[11]||(t[11]=r("div",{class:"hovered"},"CPU",-1)),u(s,{percent:e.cpu},null,8,["percent"])]),_:1,__:[10,11]}),u(l,{class:"card restart-stop-card",color:"orange",mini:!0},{default:m(()=>[r("button",{class:"small",onClick:t[2]||(t[2]=i=>e.restart()),disabled:e.restartInProgress},[r("i",{class:F(["fas fa-sync",{rotate:e.restartInProgress}]),"aria-hidden":"true"},null,2),t[12]||(t[12]=r("span",null,"Restart",-1))],8,ye),r("button",{class:"small",onClick:t[3]||(t[3]=i=>e.stop())},t[13]||(t[13]=[r("i",{class:"fas fa-stop","aria-hidden":"true"},null,-1),r("span",null,"Stop",-1)]))]),_:1})])):(o(),c("div",ge,[u(g,{header:"This service is not started",actions:[{label:"Start",click:()=>e.start(),icon:"fas fa-play"}],class:"section-not-started"},null,8,["actions"])])),u(a,{class:"tabs",tabs:e.tabs,showLabels:!1,direction:"left",contentCss:{height:"100%"}},{default:m(({tab:i})=>[r("div",he,[(o(),w(K(i.id),{service:e.currentService,key:e.currentService.label},null,8,["service"]))])]),_:1},8,["tabs"])])])])):S("",!0)}const Re=C(oe,[["render",ke],["__scopeId","data-v-92f03861"]]);export{Re as default};
1
+ import{n as j,u as L,S as V}from"./router-B5BHMCJX.js";import B from"./system-D6n39APF.js";import{_ as C}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as c,o,b as r,u as z,h as D,n as F,l as f,g as S,s as w,d as H,f as m,t as I,e as u,F as M,q,H as K,r as p,w as A,j as E,S as N,K as R,k as G}from"./index-CWdLNLf2.js";import{P as J,_ as Q}from"./Section-DLhOQaZc.js";import{T as W}from"./Tabs-DnJSk4n2.js";import{C as X}from"./CurrentEditor-CGzL3h8U.js";import"./Markdown-5TtJbvAz.js";import"./Editor-DK3XKnCP.js";const Y={props:{percent:{default:0}}},Z={class:"progress progress-moved"};function $(d,t,n,e,y,_){return o(),c("div",Z,[r("div",{class:"progress-bar",style:z({width:`${(n.percent||0)>100?100:n.percent||0}%`})},null,4)])}const ee=C(Y,[["render",$],["__scopeId","data-v-3bbda6b0"]]),te={class:"card-container"},re={__name:"Card",props:{color:{default:"blue"},mini:{default:!1}},setup(d){return(t,n)=>(o(),c("div",{class:F(["card-root",{[d.color]:!0,mini:d.mini}])},[r("div",te,[D(t.$slots,"default",{},void 0,!0)])],2))}},se=C(re,[["__scopeId","data-v-bebaadaf"]]),ne={__name:"NotificationBell",setup(d){const t=()=>j.openHistory.next();return(n,e)=>(o(),c("div",{class:"notification-bell-root",onClick:t},e[0]||(e[0]=[r("i",{class:"fas fa-bell","aria-hidden":"true"},null,-1)])))}},ae=C(ne,[["__scopeId","data-v-c97a762b"]]),oe={name:"StackSingle",components:{progressCmp:ee,sectionCmp:Q,Tabs:W,Card:se,CurrentEditor:X,Popover:J,NotificationBell:ae},setup(){const d=L(),t=p([]),n=p(),e=p(0),y=p(0),_=p(!1);A(()=>d.currentRoute.value.params.label,async()=>{await g()});const h=s=>{s.includes(d.currentRoute.value.params.label.toString())&&g()};E(()=>{N.on("conf:update",h)}),R(()=>{N.off("conf:update",h)});let b;const k=p([]);async function g(){var s;if(await V.loadServices(),n.value=await V.getService((s=d.currentRoute.value.params.label)==null?void 0:s.toString()),n.value){const{data:l}=await G.get("/plugins/services/"+n.value.label);k.value=l.sort((a,v)=>a.order-v.order).map(a=>{var i,P,x,O;const v={label:a.name,id:a.name,icon:a.icon,hidden:a.hidden,warning:0};if(a.name==="Configuration"){const T=Object.keys(((P=(i=n.value)==null?void 0:i.spawnOptions)==null?void 0:P.overrideEnvs)||{});Object.keys(((O=(x=n.value)==null?void 0:x.spawnOptions)==null?void 0:O.env)||{}).some(U=>T.includes(U))&&(v.warning=1)}return v})}}return E(async()=>{await g(),b=setInterval(async()=>{var a;if(!((a=n.value)!=null&&a.label))return;const{cpu:s,mem:l}=await B.getInfos(n.value.label.toString());e.value=s,y.value=l},1e3)}),R(()=>{b&&clearInterval(b)}),{stack:t,System:B,currentService:n,cpu:e,mem:y,tabs:k,restartInProgress:_,async openInVsCode(s,l){var a;(a=n.value)==null||a.openInVsCode(s,l)},async openFolder(s){var l;(l=n.value)==null||l.openFolder(s)},async restart(){var s;_.value=!0,await((s=n.value)==null?void 0:s.restart().finally(()=>_.value=!1))},async stop(){var s;await((s=n.value)==null?void 0:s.stop())},async start(){var s;await((s=n.value)==null?void 0:s.start())}}}},ie={class:"main"},le={class:"header"},ce={class:"left"},de={class:"title"},ue={class:"description"},ve={class:"right"},fe={class:"icons"},me=["href"],pe=["href"],_e=["href","title"],be={class:"sections"},ge={key:0,class:"sections"},Se={key:1,class:"system-cards"},ye=["disabled"],he={class:"tab"};function ke(d,t,n,e,y,_){var v;const h=f("Popover"),b=f("notification-bell"),k=f("CurrentEditor"),g=f("section-cmp"),s=f("progress-cmp"),l=f("card"),a=f("tabs");return e.currentService?(o(),c("div",{class:"stack-single",key:d.$route.params.label.toString()},[r("div",ie,[r("div",le,[r("div",ce,[r("div",de,[(v=e.currentService.container)!=null&&v.enabled?(o(),w(h,{key:0,trigger:"mouseenter",appendTo:"parent","max-width":"50vh"},{trigger:m(()=>t[4]||(t[4]=[r("i",{class:"fab fa-docker"},null,-1)])),content:m(()=>[r("ul",null,[r("li",null,"Container name: "+I(e.currentService.container.name),1)])]),_:1})):S("",!0),H(" "+I(e.currentService.label),1)]),r("div",ue,I(e.currentService.description),1)]),r("div",ve,[u(b),r("div",fe,[e.currentService.git&&e.currentService.git.home?(o(),c("a",{key:0,href:e.currentService.git.home,target:"_blank",title:"Open git home"},t[5]||(t[5]=[r("i",{class:"fab fa-github","aria-hidden":"true"},null,-1)]),8,me)):S("",!0),e.currentService.url?(o(),c("a",{key:1,href:e.currentService.url,target:"_blank",title:"Open service URL"},t[6]||(t[6]=[r("i",{class:"fas fa-globe","aria-hidden":"true"},null,-1)]),8,pe)):S("",!0),(o(!0),c(M,null,q(e.currentService.urls,i=>(o(),c("a",{key:i,href:i,target:"_blank",title:i},t[7]||(t[7]=[r("i",{class:"fas fa-globe","aria-hidden":"true"},null,-1)]),8,_e))),128)),(o(),w(k,{key:"current-editor-"+e.currentService.label,service:e.currentService,onOpenEditor:t[0]||(t[0]=i=>e.openInVsCode(e.currentService.rootPath,i))},null,8,["service"])),e.currentService.rootPath?(o(),c("i",{key:2,class:"fas fa-folder","aria-hidden":"true",title:"Open folder",onClick:t[1]||(t[1]=i=>e.openFolder(e.currentService.rootPath))})):S("",!0)])])]),r("div",be,[e.currentService.enabled?(o(),c("div",Se,[u(l,{class:"card to-hide-for-small-screen",mini:!0},{default:m(()=>[t[8]||(t[8]=r("i",{class:"fas fa-memory"},null,-1)),t[9]||(t[9]=r("div",{class:"hovered"},"Memory",-1)),u(s,{percent:e.mem},null,8,["percent"])]),_:1,__:[8,9]}),u(l,{class:"card to-hide-for-small-screen",color:"purple",mini:!0},{default:m(()=>[t[10]||(t[10]=r("i",{class:"fas fa-microchip"},null,-1)),t[11]||(t[11]=r("div",{class:"hovered"},"CPU",-1)),u(s,{percent:e.cpu},null,8,["percent"])]),_:1,__:[10,11]}),u(l,{class:"card restart-stop-card",color:"orange",mini:!0},{default:m(()=>[r("button",{class:"small",onClick:t[2]||(t[2]=i=>e.restart()),disabled:e.restartInProgress},[r("i",{class:F(["fas fa-sync",{rotate:e.restartInProgress}]),"aria-hidden":"true"},null,2),t[12]||(t[12]=r("span",null,"Restart",-1))],8,ye),r("button",{class:"small",onClick:t[3]||(t[3]=i=>e.stop())},t[13]||(t[13]=[r("i",{class:"fas fa-stop","aria-hidden":"true"},null,-1),r("span",null,"Stop",-1)]))]),_:1})])):(o(),c("div",ge,[u(g,{header:"This service is not started",actions:[{label:"Start",click:()=>e.start(),icon:"fas fa-play"}],class:"section-not-started"},null,8,["actions"])])),u(a,{class:"tabs",tabs:e.tabs,showLabels:!1,direction:"left",contentCss:{height:"100%"}},{default:m(({tab:i})=>[r("div",he,[(o(),w(K(i.id),{service:e.currentService,key:e.currentService.label},null,8,["service"]))])]),_:1},8,["tabs"])])])])):S("",!0)}const Re=C(oe,[["render",ke],["__scopeId","data-v-92f03861"]]);export{Re as default};
@@ -1 +1 @@
1
- import{u as x}from"./router-B2S_D5pC.js";import{P as I}from"./Section-YBL4Pzic.js";import{_ as B}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as L,j as N,w as T,c as P,a as u,o,b as f,F as V,q as j,s as z,f as _,d as F,t as d,n as v,g as i,h as $,u as w}from"./index-G1ob8hK0.js";const D=["onClick"],E={key:0},M={key:2},O={key:3,class:"badge warning"},W={__name:"Tabs",props:{tabs:{default:[]},height:{default:"calc(100vh - 220px)"},direction:{default:""},showLabels:{default:!0},contentCss:{default:()=>({})},invertColor:{default:!1}},setup(n,{expose:S}){const r=x(),l=n,a=L(),h=()=>{if(l.tabs){const t=localStorage.getItem("tab");a.value=l.tabs.find(s=>s.id===t)||l.tabs[0]}};N(()=>{var t;r.currentRoute.value.query.tab&&localStorage.setItem("tab",(t=r.currentRoute.value.query.tab)==null?void 0:t.toString()),h()}),T(()=>l.tabs,()=>{var t;!a.value&&((t=l.tabs)!=null&&t[0])&&h()}),T(()=>r.currentRoute.value,()=>{var s;const t=r.currentRoute.value.query.tab;t&&(a.value=(s=l.tabs)==null?void 0:s.find(c=>c.id===t))},{immediate:!0});const R=()=>{var s;const t=(s=a.value)!=null&&s.id?a.value.id:"";localStorage.setItem("tab",t),r.push({path:r.currentRoute.value.fullPath,query:Object.assign({},r.currentRoute.value.query||{},{tab:t})})},q=P(()=>l.tabs.filter(t=>!t.hidden));return S({currentTab:a}),(t,s)=>{var c,g,m,y;return o(),u("div",{class:v(["tabs",{[n.direction]:!0}]),style:w({height:n.height})},[f("div",{class:v(["buttons",{invert:n.invertColor}])},[(o(!0),u(V,null,j(q.value,e=>(o(),z(I,{key:e.label,appendTo:"self",trigger:"mouseenter",placement:"right",fullWidth:!0},{trigger:_(()=>{var p,k,b,C;return[f("button",{onClick:A=>{a.value=e,R()},class:v({active:(e==null?void 0:e.id)===((p=a.value)==null?void 0:p.id)})},[e.label&&!e.icon?(o(),u("div",E,d(e.label),1)):i("",!0),e.icon?(o(),u("i",{key:1,class:v(e.icon),"aria-hidden":"true"},null,2)):i("",!0),n.showLabels?(o(),u("label",M,d(((b=(k=e==null?void 0:e.data)==null?void 0:k.value)==null?void 0:b.length)||((C=e==null?void 0:e.data)==null?void 0:C.length)||0),1)):i("",!0),e!=null&&e.warning?(o(),u("div",O,d(e.warning),1)):i("",!0)],10,D)]}),content:_(()=>[F(d(e.label),1)]),_:2},1024))),128))],2),f("div",{class:"content",style:w(n.contentCss)},[a.value?$(t.$slots,"default",{key:(c=a.value)==null?void 0:c.id,data:((m=(g=a.value)==null?void 0:g.data)==null?void 0:m.value)||((y=a.value)==null?void 0:y.data),tab:a.value},void 0,!0):i("",!0)],4)],6)}}},Q=B(W,[["__scopeId","data-v-31cd57b8"]]);export{Q as T};
1
+ import{u as x}from"./router-B5BHMCJX.js";import{P as I}from"./Section-DLhOQaZc.js";import{_ as B}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as L,j as N,w as T,c as P,a as u,o,b as f,F as V,q as j,s as z,f as _,d as F,t as d,n as v,g as i,h as $,u as w}from"./index-CWdLNLf2.js";const D=["onClick"],E={key:0},M={key:2},O={key:3,class:"badge warning"},W={__name:"Tabs",props:{tabs:{default:[]},height:{default:"calc(100vh - 220px)"},direction:{default:""},showLabels:{default:!0},contentCss:{default:()=>({})},invertColor:{default:!1}},setup(n,{expose:S}){const r=x(),l=n,a=L(),h=()=>{if(l.tabs){const t=localStorage.getItem("tab");a.value=l.tabs.find(s=>s.id===t)||l.tabs[0]}};N(()=>{var t;r.currentRoute.value.query.tab&&localStorage.setItem("tab",(t=r.currentRoute.value.query.tab)==null?void 0:t.toString()),h()}),T(()=>l.tabs,()=>{var t;!a.value&&((t=l.tabs)!=null&&t[0])&&h()}),T(()=>r.currentRoute.value,()=>{var s;const t=r.currentRoute.value.query.tab;t&&(a.value=(s=l.tabs)==null?void 0:s.find(c=>c.id===t))},{immediate:!0});const R=()=>{var s;const t=(s=a.value)!=null&&s.id?a.value.id:"";localStorage.setItem("tab",t),r.push({path:r.currentRoute.value.fullPath,query:Object.assign({},r.currentRoute.value.query||{},{tab:t})})},q=P(()=>l.tabs.filter(t=>!t.hidden));return S({currentTab:a}),(t,s)=>{var c,g,m,y;return o(),u("div",{class:v(["tabs",{[n.direction]:!0}]),style:w({height:n.height})},[f("div",{class:v(["buttons",{invert:n.invertColor}])},[(o(!0),u(V,null,j(q.value,e=>(o(),z(I,{key:e.label,appendTo:"self",trigger:"mouseenter",placement:"right",fullWidth:!0},{trigger:_(()=>{var p,k,b,C;return[f("button",{onClick:A=>{a.value=e,R()},class:v({active:(e==null?void 0:e.id)===((p=a.value)==null?void 0:p.id)})},[e.label&&!e.icon?(o(),u("div",E,d(e.label),1)):i("",!0),e.icon?(o(),u("i",{key:1,class:v(e.icon),"aria-hidden":"true"},null,2)):i("",!0),n.showLabels?(o(),u("label",M,d(((b=(k=e==null?void 0:e.data)==null?void 0:k.value)==null?void 0:b.length)||((C=e==null?void 0:e.data)==null?void 0:C.length)||0),1)):i("",!0),e!=null&&e.warning?(o(),u("div",O,d(e.warning),1)):i("",!0)],10,D)]}),content:_(()=>[F(d(e.label),1)]),_:2},1024))),128))],2),f("div",{class:"content",style:w(n.contentCss)},[a.value?$(t.$slots,"default",{key:(c=a.value)==null?void 0:c.id,data:((m=(g=a.value)==null?void 0:g.data)==null?void 0:m.value)||((y=a.value)==null?void 0:y.data),tab:a.value},void 0,!0):i("",!0)],4)],6)}}},Q=B(W,[["__scopeId","data-v-31cd57b8"]]);export{Q as T};
@@ -1,4 +1,4 @@
1
- import{m as Le}from"./Editor-BqvrNzb6.js";import"./index-G1ob8hK0.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as Le}from"./Editor-DK3XKnCP.js";import"./index-CWdLNLf2.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
4
4
  * Released under the MIT license
@@ -1,4 +1,4 @@
1
- import{m as f}from"./Editor-BqvrNzb6.js";import"./index-G1ob8hK0.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as f}from"./Editor-DK3XKnCP.js";import"./index-CWdLNLf2.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
4
4
  * Released under the MIT license
@@ -1,4 +1,4 @@
1
- import{m as i}from"./Editor-BqvrNzb6.js";import"./index-G1ob8hK0.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as i}from"./Editor-DK3XKnCP.js";import"./index-CWdLNLf2.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
4
4
  * Released under the MIT license
@@ -1,4 +1,4 @@
1
- import{m as s}from"./Editor-BqvrNzb6.js";import"./index-G1ob8hK0.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as s}from"./Editor-DK3XKnCP.js";import"./index-CWdLNLf2.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
4
4
  * Released under the MIT license
@@ -1,4 +1,4 @@
1
- import{m as $e}from"./Editor-BqvrNzb6.js";import"./index-G1ob8hK0.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as $e}from"./Editor-DK3XKnCP.js";import"./index-CWdLNLf2.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
4
4
  * Released under the MIT license