diff --git a/app/kuma-ui/pkg/resources/data/assets/AccordionList-b4038978.js b/app/kuma-ui/pkg/resources/data/assets/AccordionList-2feffd04.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/AccordionList-b4038978.js rename to app/kuma-ui/pkg/resources/data/assets/AccordionList-2feffd04.js index fdd855cf8b5d..c454c0c35bad 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AccordionList-b4038978.js +++ b/app/kuma-ui/pkg/resources/data/assets/AccordionList-2feffd04.js @@ -1 +1 @@ -import{d as v,ao as m,y as i,h as y,o as c,l,p as A,U as s,n as h,j as b,w as x,m as O,T as I,B as L,t as p,ap as g}from"./index-2441451c.js";const B=["aria-expanded"],$={key:0,class:"accordion-item-content","data-testid":"accordion-item-content"},C=v({__name:"AccordionItem",setup(r){const e=m("parentAccordion"),t=i(null),n=y(()=>e===void 0?!1:e.multipleOpen&&Array.isArray(e.active.value)&&t.value!==null?e.active.value.includes(t.value):t.value===e.active.value);e!==void 0&&(t.value=e.count.value++);function o(){n.value?u():_()}function u(){e!==void 0&&(e.multipleOpen&&Array.isArray(e.active.value)&&t.value!==null?e.active.value.splice(e.active.value.indexOf(t.value),1):e.active.value=null)}function _(){e!==void 0&&(e.multipleOpen&&Array.isArray(e.active.value)&&t.value!==null?e.active.value.push(t.value):e.active.value=t.value)}function d(a){a instanceof HTMLElement&&(a.style.height=`${a.scrollHeight}px`)}function f(a){a instanceof HTMLElement&&(a.style.height="auto")}return(a,T)=>(c(),l("li",{class:L(["accordion-item",{active:n.value}])},[A("button",{class:"accordion-item-header",type:"button","aria-expanded":n.value?"true":"false","data-testid":"accordion-item-button",onClick:o},[s(a.$slots,"accordion-header",{},void 0,!0)],8,B),h(),b(I,{name:"accordion",onEnter:d,onAfterEnter:f,onBeforeLeave:d},{default:x(()=>[n.value?(c(),l("div",$,[s(a.$slots,"accordion-content",{},void 0,!0)])):O("",!0)]),_:3})],2))}});const V=p(C,[["__scopeId","data-v-53a0b6ce"]]),E={class:"accordion-list"},N=v({__name:"AccordionList",props:{initiallyOpen:{type:[Number,Array],required:!1,default:null},multipleOpen:{type:Boolean,required:!1,default:!1}},setup(r){const e=r,t=i(0),n=i(e.initiallyOpen!==null?e.initiallyOpen:e.multipleOpen?[]:null);return g("parentAccordion",{multipleOpen:e.multipleOpen,active:n,count:t}),(o,u)=>(c(),l("ul",E,[s(o.$slots,"default",{},void 0,!0)]))}});const w=p(N,[["__scopeId","data-v-bdbadd5e"]]);export{V as A,w as a}; +import{d as v,ao as m,y as i,h as y,o as c,l,p as A,U as s,n as h,j as b,w as x,m as O,T as I,B as L,t as p,ap as g}from"./index-78eccadf.js";const B=["aria-expanded"],$={key:0,class:"accordion-item-content","data-testid":"accordion-item-content"},C=v({__name:"AccordionItem",setup(r){const e=m("parentAccordion"),t=i(null),n=y(()=>e===void 0?!1:e.multipleOpen&&Array.isArray(e.active.value)&&t.value!==null?e.active.value.includes(t.value):t.value===e.active.value);e!==void 0&&(t.value=e.count.value++);function o(){n.value?u():_()}function u(){e!==void 0&&(e.multipleOpen&&Array.isArray(e.active.value)&&t.value!==null?e.active.value.splice(e.active.value.indexOf(t.value),1):e.active.value=null)}function _(){e!==void 0&&(e.multipleOpen&&Array.isArray(e.active.value)&&t.value!==null?e.active.value.push(t.value):e.active.value=t.value)}function d(a){a instanceof HTMLElement&&(a.style.height=`${a.scrollHeight}px`)}function f(a){a instanceof HTMLElement&&(a.style.height="auto")}return(a,T)=>(c(),l("li",{class:L(["accordion-item",{active:n.value}])},[A("button",{class:"accordion-item-header",type:"button","aria-expanded":n.value?"true":"false","data-testid":"accordion-item-button",onClick:o},[s(a.$slots,"accordion-header",{},void 0,!0)],8,B),h(),b(I,{name:"accordion",onEnter:d,onAfterEnter:f,onBeforeLeave:d},{default:x(()=>[n.value?(c(),l("div",$,[s(a.$slots,"accordion-content",{},void 0,!0)])):O("",!0)]),_:3})],2))}});const V=p(C,[["__scopeId","data-v-53a0b6ce"]]),E={class:"accordion-list"},N=v({__name:"AccordionList",props:{initiallyOpen:{type:[Number,Array],required:!1,default:null},multipleOpen:{type:Boolean,required:!1,default:!1}},setup(r){const e=r,t=i(0),n=i(e.initiallyOpen!==null?e.initiallyOpen:e.multipleOpen?[]:null);return g("parentAccordion",{multipleOpen:e.multipleOpen,active:n,count:t}),(o,u)=>(c(),l("ul",E,[s(o.$slots,"default",{},void 0,!0)]))}});const w=p(N,[["__scopeId","data-v-bdbadd5e"]]);export{V as A,w as a}; diff --git a/app/kuma-ui/pkg/resources/data/assets/AddNewServices-774b8190.js b/app/kuma-ui/pkg/resources/data/assets/AddNewServices-5f2733ee.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/AddNewServices-774b8190.js rename to app/kuma-ui/pkg/resources/data/assets/AddNewServices-5f2733ee.js index 29a12da65b44..c3959d75eec3 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AddNewServices-774b8190.js +++ b/app/kuma-ui/pkg/resources/data/assets/AddNewServices-5f2733ee.js @@ -1,4 +1,4 @@ -import{O as w,a as y,b as h}from"./OnboardingPage-055a5e15.js";import{d as _,o as v,l as S,U as B,B as k,t as m,r as c,i as C,w as t,j as s,n as a,p as e,D as A,G as N}from"./index-2441451c.js";const V=""+new URL("new-service-demo-bff0792e.svg",import.meta.url).href,R=""+new URL("new-service-manually-5bec5301.svg",import.meta.url).href,I=_({__name:"ServiceBox",props:{active:{type:Boolean,required:!1,default:!1}},emits:["clicked"],setup(o,{emit:d}){const i=o;return(r,n)=>(v(),S("div",{class:k(["box",{"box--active":i.active}]),"data-testid":"box",onClick:n[0]||(n[0]=l=>d("clicked"))},[B(r.$slots,"default",{},void 0,!0)],2))}});const p=m(I,[["__scopeId","data-v-9846ff30"]]),u=o=>(A("data-v-c81d235d"),o=o(),N(),o),$={class:"service-mode-list"},O=u(()=>e("div",{class:"service-box-content"},[e("img",{src:V}),a(),e("p",{class:"service-mode-title"},` +import{O as w,a as y,b as h}from"./OnboardingPage-5ac3187f.js";import{d as _,o as v,l as S,U as B,B as k,t as m,r as c,i as C,w as t,j as s,n as a,p as e,D as A,G as N}from"./index-78eccadf.js";const V=""+new URL("new-service-demo-bff0792e.svg",import.meta.url).href,R=""+new URL("new-service-manually-5bec5301.svg",import.meta.url).href,I=_({__name:"ServiceBox",props:{active:{type:Boolean,required:!1,default:!1}},emits:["clicked"],setup(o,{emit:d}){const i=o;return(r,n)=>(v(),S("div",{class:k(["box",{"box--active":i.active}]),"data-testid":"box",onClick:n[0]||(n[0]=l=>d("clicked"))},[B(r.$slots,"default",{},void 0,!0)],2))}});const p=m(I,[["__scopeId","data-v-9846ff30"]]),u=o=>(A("data-v-c81d235d"),o=o(),N(),o),$={class:"service-mode-list"},O=u(()=>e("div",{class:"service-box-content"},[e("img",{src:V}),a(),e("p",{class:"service-mode-title"},` Demo app `),a(),e("p",null,"Counter application")],-1)),T=u(()=>e("div",{class:"service-box-content"},[e("img",{src:R}),a(),e("p",{class:"service-mode-title"},` Manually diff --git a/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-e3d5bbba.js b/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-7379079c.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-e3d5bbba.js rename to app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-7379079c.js index 50eee2b65dc5..858e3df6c869 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-e3d5bbba.js +++ b/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-7379079c.js @@ -1,4 +1,4 @@ -import{L as y}from"./LoadingBox-e061a793.js";import{O as A,a as N,b as R}from"./OnboardingPage-055a5e15.js";import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";import{d as T,R as C,y as _,S as V,r as u,o as n,i as D,w as a,j as t,n as e,l as c,F as P,p as o,m as I,D as L,G as O,t as S}from"./index-2441451c.js";const b=d=>(L("data-v-7e9a50ed"),d=d(),O(),d),E=b(()=>o("p",{class:"mb-4 text-center"},` +import{L as y}from"./LoadingBox-ba4b7035.js";import{O as A,a as N,b as R}from"./OnboardingPage-5ac3187f.js";import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";import{d as T,R as C,y as _,S as V,r as u,o as n,i as D,w as a,j as t,n as e,l as c,F as P,p as o,m as I,D as L,G as O,t as S}from"./index-78eccadf.js";const b=d=>(L("data-v-7e9a50ed"),d=d(),O(),d),E=b(()=>o("p",{class:"mb-4 text-center"},` The demo application includes two services: a Redis backend to store a counter value, and a frontend web UI to show and increment the counter. `,-1)),B=b(()=>o("p",null,"To run execute the following command:",-1)),G={key:1},q={class:"status-box mt-4"},F={key:0,class:"status--is-connected","data-testid":"dpps-connected"},H={key:1,class:"status--is-disconnected","data-testid":"dpps-disconnected"},K={key:0,class:"status-loading-box mt-4"},M=1e3,h="https://github.com/kumahq/kuma-counter-demo/",U="https://github.com/kumahq/kuma-counter-demo/blob/master/README.md",$="kubectl apply -f https://bit.ly/3Kh2Try",j=T({__name:"AddNewServicesCode",setup(d){const v=C(),s=_(!1),l=_(null);r(),V(function(){p()});async function r(){try{const{total:i}=await v.getAllDataplanes();s.value=i>0}catch(i){console.error(i)}finally{s.value||(p(),l.value=window.setTimeout(()=>r(),M))}}function p(){l.value!==null&&window.clearTimeout(l.value)}return(i,z)=>{const g=u("RouteTitle"),f=u("AppView"),k=u("RouteView");return n(),D(k,{name:"onboarding-add-new-services"},{default:a(({can:w,t:x})=>[t(g,{title:x("onboarding.routes.add-services-code.title")},null,8,["title"]),e(),t(f,null,{default:a(()=>[t(A,null,{header:a(()=>[t(N,null,{title:a(()=>[e(` Add services diff --git a/app/kuma-ui/pkg/resources/data/assets/App-0f2c3caf.js b/app/kuma-ui/pkg/resources/data/assets/App-32fcfab8.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/App-0f2c3caf.js rename to app/kuma-ui/pkg/resources/data/assets/App-32fcfab8.js index 0808a04a2abb..5bfeae62f391 100644 --- a/app/kuma-ui/pkg/resources/data/assets/App-0f2c3caf.js +++ b/app/kuma-ui/pkg/resources/data/assets/App-32fcfab8.js @@ -1 +1 @@ -import{d as w,u as B,a as L,b as h,c as E,e as M,f as R,g as V,h as x,r as u,i as t,w as s,_ as C,o as e,j as n,k as a,l as i,m as r,n as o,A as N,p,T as H,q as S,F as Y,s as P,t as j}from"./index-2441451c.js";const q={key:1},z={key:2,class:"app-content-container"},F=["innerHTML"],G={class:"transition-root"},I=w({__name:"App",props:{data:{type:Object,required:!1,default:void 0}},setup(l){const m=l,[f,A,v,y]=[B(),L(),h(),E()],c=M(),g=R(),{t:k}=V(),d=x(()=>c.meta.isWizard===!0);return(K,W)=>{const _=u("RouterView"),b=u("KAlert");return e(),t(C,{name:"app"},{default:s(()=>[n(P,{src:"/control-plane/addresses"},{default:s(({data:O})=>[typeof O>"u"||a(c).name===void 0?(e(),t(a(v),{key:0})):(e(),i(Y,{key:1},[d.value?r("",!0):(e(),t(a(A),{key:0})),o(),a(c).meta.onboardingProcess?(e(),i("div",q,[n(_)])):(e(),i("div",z,[d.value?r("",!0):(e(),t(a(f),{key:0})),o(),n(N,null,{default:s(()=>[a(g)("use state")?r("",!0):(e(),t(b,{key:0,class:"mb-4",appearance:"warning"},{alertMessage:s(()=>[p("ul",null,[p("li",{"data-testid":"warning-GLOBAL_STORE_TYPE_MEMORY",innerHTML:a(k)("common.warnings.GLOBAL_STORE_TYPE_MEMORY")},null,8,F),o()])]),_:1})),o(),d.value?r("",!0):(e(),t(a(y),{key:1})),o(),n(_,null,{default:s(({Component:T})=>[n(H,{mode:"out-in",name:"fade"},{default:s(()=>[p("div",G,[(e(),t(S(T),{data:m.data},null,8,["data"]))])]),_:2},1024)]),_:1})]),_:1})]))],64))]),_:1})]),_:1})}}});const D=j(I,[["__scopeId","data-v-ab14cd45"]]);export{D as default}; +import{d as w,u as B,a as L,b as h,c as E,e as M,f as R,g as V,h as x,r as u,i as t,w as s,_ as C,o as e,j as n,k as a,l as i,m as r,n as o,A as N,p,T as H,q as S,F as Y,s as P,t as j}from"./index-78eccadf.js";const q={key:1},z={key:2,class:"app-content-container"},F=["innerHTML"],G={class:"transition-root"},I=w({__name:"App",props:{data:{type:Object,required:!1,default:void 0}},setup(l){const m=l,[f,A,v,y]=[B(),L(),h(),E()],c=M(),g=R(),{t:k}=V(),d=x(()=>c.meta.isWizard===!0);return(K,W)=>{const _=u("RouterView"),b=u("KAlert");return e(),t(C,{name:"app"},{default:s(()=>[n(P,{src:"/control-plane/addresses"},{default:s(({data:O})=>[typeof O>"u"||a(c).name===void 0?(e(),t(a(v),{key:0})):(e(),i(Y,{key:1},[d.value?r("",!0):(e(),t(a(A),{key:0})),o(),a(c).meta.onboardingProcess?(e(),i("div",q,[n(_)])):(e(),i("div",z,[d.value?r("",!0):(e(),t(a(f),{key:0})),o(),n(N,null,{default:s(()=>[a(g)("use state")?r("",!0):(e(),t(b,{key:0,class:"mb-4",appearance:"warning"},{alertMessage:s(()=>[p("ul",null,[p("li",{"data-testid":"warning-GLOBAL_STORE_TYPE_MEMORY",innerHTML:a(k)("common.warnings.GLOBAL_STORE_TYPE_MEMORY")},null,8,F),o()])]),_:1})),o(),d.value?r("",!0):(e(),t(a(y),{key:1})),o(),n(_,null,{default:s(({Component:T})=>[n(H,{mode:"out-in",name:"fade"},{default:s(()=>[p("div",G,[(e(),t(S(T),{data:m.data},null,8,["data"]))])]),_:2},1024)]),_:1})]),_:1})]))],64))]),_:1})]),_:1})}}});const D=j(I,[["__scopeId","data-v-ab14cd45"]]);export{D as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-8135f659.js b/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-531393f5.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-8135f659.js rename to app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-531393f5.js index 58f7b92bc974..c891f3552830 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-8135f659.js +++ b/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-531393f5.js @@ -1,3 +1,3 @@ -import{d as r,r as t,o as l,i as u,w as e,j as o,p as n,v as m,n as a}from"./index-2441451c.js";const d={class:"overview"},f=n("p",null,"The page or entity you were looking for does not exist.",-1),x=r({__name:"AppNotFoundView",setup(w){return(V,h)=>{const s=t("RouteTitle"),p=t("KButton"),c=t("KEmptyState"),_=t("AppView"),i=t("RouteView");return l(),u(i,{name:"app-not-found-view"},{default:e(()=>[o(_,null,{default:e(()=>[n("div",d,[o(c,null,{title:e(()=>[o(m,{class:"mb-3"}),a(),n("h1",null,[o(s,{title:"Page Not Found",render:!0})])]),message:e(()=>[f]),cta:e(()=>[o(p,{appearance:"primary",to:{name:"home"}},{default:e(()=>[a(` +import{d as r,r as t,o as l,i as u,w as e,j as o,p as n,v as m,n as a}from"./index-78eccadf.js";const d={class:"overview"},f=n("p",null,"The page or entity you were looking for does not exist.",-1),x=r({__name:"AppNotFoundView",setup(w){return(V,h)=>{const s=t("RouteTitle"),p=t("KButton"),c=t("KEmptyState"),_=t("AppView"),i=t("RouteView");return l(),u(i,{name:"app-not-found-view"},{default:e(()=>[o(_,null,{default:e(()=>[n("div",d,[o(c,null,{title:e(()=>[o(m,{class:"mb-3"}),a(),n("h1",null,[o(s,{title:"Page Not Found",render:!0})])]),message:e(()=>[f]),cta:e(()=>[o(p,{appearance:"primary",to:{name:"home"}},{default:e(()=>[a(` Go Home `)]),_:1})]),_:1})])]),_:1})]),_:1})}}});export{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ClustersView-0c8d24ec.js b/app/kuma-ui/pkg/resources/data/assets/ClustersView-54bb639d.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/ClustersView-0c8d24ec.js rename to app/kuma-ui/pkg/resources/data/assets/ClustersView-54bb639d.js index 26a8721652ca..66b524eb5cad 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ClustersView-0c8d24ec.js +++ b/app/kuma-ui/pkg/resources/data/assets/ClustersView-54bb639d.js @@ -1 +1 @@ -import{E as p}from"./EnvoyData-2ae64069.js";import{g as m}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-2441451c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";const k=_({__name:"ClustersView",props:{data:{}},setup(o){const n=o;return(V,h)=>{const r=e("RouteTitle"),a=e("KCard"),u=e("AppView"),c=e("RouteView");return d(),g(c,{name:"zone-egress-clusters-view",params:{zoneEgress:""}},{default:t(({route:l,t:i})=>[s(u,null,{title:t(()=>[f("h2",null,[s(r,{title:i("zone-egresses.routes.item.navigation.zone-egress-clusters-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(a,null,{body:t(()=>[s(p,{status:z(m)(n.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${l.params.zoneEgress}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; +import{E as p}from"./EnvoyData-3228efeb.js";import{g as m}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-78eccadf.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";const k=_({__name:"ClustersView",props:{data:{}},setup(o){const n=o;return(V,h)=>{const r=e("RouteTitle"),a=e("KCard"),u=e("AppView"),c=e("RouteView");return d(),g(c,{name:"zone-egress-clusters-view",params:{zoneEgress:""}},{default:t(({route:l,t:i})=>[s(u,null,{title:t(()=>[f("h2",null,[s(r,{title:i("zone-egresses.routes.item.navigation.zone-egress-clusters-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(a,null,{body:t(()=>[s(p,{status:z(m)(n.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${l.params.zoneEgress}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ClustersView-6073dca6.js b/app/kuma-ui/pkg/resources/data/assets/ClustersView-d81751a6.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/ClustersView-6073dca6.js rename to app/kuma-ui/pkg/resources/data/assets/ClustersView-d81751a6.js index 3877b4dd4ed3..7efbd98683b7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ClustersView-6073dca6.js +++ b/app/kuma-ui/pkg/resources/data/assets/ClustersView-d81751a6.js @@ -1 +1 @@ -import{E as p}from"./EnvoyData-2ae64069.js";import{g as m}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-2441451c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";const k=_({__name:"ClustersView",props:{data:{}},setup(n){const o=n;return(V,h)=>{const r=e("RouteTitle"),a=e("KCard"),i=e("AppView"),u=e("RouteView");return d(),g(u,{name:"zone-ingress-clusters-view",params:{zoneIngress:""}},{default:t(({route:c,t:l})=>[s(i,null,{title:t(()=>[f("h2",null,[s(r,{title:l("zone-ingresses.routes.item.navigation.zone-ingress-clusters-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(a,null,{body:t(()=>[s(p,{status:z(m)(o.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${c.params.zoneIngress}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-ingress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; +import{E as p}from"./EnvoyData-3228efeb.js";import{g as m}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-78eccadf.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";const k=_({__name:"ClustersView",props:{data:{}},setup(n){const o=n;return(V,h)=>{const r=e("RouteTitle"),a=e("KCard"),i=e("AppView"),u=e("RouteView");return d(),g(u,{name:"zone-ingress-clusters-view",params:{zoneIngress:""}},{default:t(({route:c,t:l})=>[s(i,null,{title:t(()=>[f("h2",null,[s(r,{title:l("zone-ingresses.routes.item.navigation.zone-ingress-clusters-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(a,null,{body:t(()=>[s(p,{status:z(m)(o.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${c.params.zoneIngress}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-ingress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js b/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js rename to app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js index c132aca31dd2..0a2a15261d0f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js +++ b/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js @@ -1,4 +1,4 @@ -var ae=Object.defineProperty;var ne=(g,c,a)=>c in g?ae(g,c,{enumerable:!0,configurable:!0,writable:!0,value:a}):g[c]=a;var Y=(g,c,a)=>(ne(g,typeof c!="symbol"?c+"":c,a),a);import{ah as W,ai as re,d as ie,y as se,o as oe,i as le,w as ue,U as ce,aj as de,k as Z,ak as ge}from"./index-2441451c.js";class pe{constructor(c){Y(this,"storageAdapter");this.storageAdapter=c}get(c){let a;try{a=this.storageAdapter.getItem(c)}catch{return null}if(a===null||!(a.startsWith("[")||a.startsWith("{")))return a;try{return JSON.parse(a)}catch{return a}}set(c,a){try{const u=typeof a=="string"?a:JSON.stringify(a);this.storageAdapter.setItem(c,u)}catch{}}has(c){try{return this.storageAdapter.getItem(c)!==null}catch{return!1}}remove(c){try{this.storageAdapter.removeItem(c)}catch{}}}const U=new pe(window.localStorage);var J={exports:{}};(function(g){var c=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** +var ae=Object.defineProperty;var ne=(g,c,a)=>c in g?ae(g,c,{enumerable:!0,configurable:!0,writable:!0,value:a}):g[c]=a;var Y=(g,c,a)=>(ne(g,typeof c!="symbol"?c+"":c,a),a);import{ah as W,ai as re,d as ie,y as se,o as oe,i as le,w as ue,U as ce,aj as de,k as Z,ak as ge}from"./index-78eccadf.js";class pe{constructor(c){Y(this,"storageAdapter");this.storageAdapter=c}get(c){let a;try{a=this.storageAdapter.getItem(c)}catch{return null}if(a===null||!(a.startsWith("[")||a.startsWith("{")))return a;try{return JSON.parse(a)}catch{return a}}set(c,a){try{const u=typeof a=="string"?a:JSON.stringify(a);this.storageAdapter.setItem(c,u)}catch{}}has(c){try{return this.storageAdapter.getItem(c)!==null}catch{return!1}}remove(c){try{this.storageAdapter.removeItem(c)}catch{}}}const U=new pe(window.localStorage);var J={exports:{}};(function(g){var c=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT diff --git a/app/kuma-ui/pkg/resources/data/assets/CompletedView-257bedc2.js b/app/kuma-ui/pkg/resources/data/assets/CompletedView-076a6d94.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/CompletedView-257bedc2.js rename to app/kuma-ui/pkg/resources/data/assets/CompletedView-076a6d94.js index 4c1472962e8d..f3a6480814f4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CompletedView-257bedc2.js +++ b/app/kuma-ui/pkg/resources/data/assets/CompletedView-076a6d94.js @@ -1,3 +1,3 @@ -import{O as d,a as l,b as r}from"./OnboardingPage-055a5e15.js";import{d as m,r as a,o as u,i as g,w as e,j as t,n,D as f,G as w,p as s,t as b}from"./index-2441451c.js";const h=""+new URL("kuma_gui-ecebdf10.png",import.meta.url).href,V=o=>(f("data-v-dcfc3ebc"),o=o(),w(),o),v=V(()=>s("div",{class:"gui-preview-image"},[s("img",{src:h})],-1)),x=m({__name:"CompletedView",setup(o){return(C,R)=>{const c=a("RouteTitle"),i=a("AppView"),p=a("RouteView");return u(),g(p,{name:"onboarding-completed"},{default:e(({t:_})=>[t(c,{title:_("onboarding.routes.completed.title")},null,8,["title"]),n(),t(i,null,{default:e(()=>[t(d,null,{header:e(()=>[t(l,null,{title:e(()=>[n(` +import{O as d,a as l,b as r}from"./OnboardingPage-5ac3187f.js";import{d as m,r as a,o as u,i as g,w as e,j as t,n,D as f,G as w,p as s,t as b}from"./index-78eccadf.js";const h=""+new URL("kuma_gui-ecebdf10.png",import.meta.url).href,V=o=>(f("data-v-dcfc3ebc"),o=o(),w(),o),v=V(()=>s("div",{class:"gui-preview-image"},[s("img",{src:h})],-1)),x=m({__name:"CompletedView",setup(o){return(C,R)=>{const c=a("RouteTitle"),i=a("AppView"),p=a("RouteView");return u(),g(p,{name:"onboarding-completed"},{default:e(({t:_})=>[t(c,{title:_("onboarding.routes.completed.title")},null,8,["title"]),n(),t(i,null,{default:e(()=>[t(d,null,{header:e(()=>[t(l,null,{title:e(()=>[n(` Go to the dashboard `)]),_:1})]),content:e(()=>[v]),navigation:e(()=>[t(r,{"next-step":"home","next-step-title":"Complete","last-step":"","show-skip":!1})]),_:1})]),_:1})]),_:1})}}});const N=b(x,[["__scopeId","data-v-dcfc3ebc"]]);export{N as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ConfigView-b590301a.js b/app/kuma-ui/pkg/resources/data/assets/ConfigView-3be41e99.js similarity index 83% rename from app/kuma-ui/pkg/resources/data/assets/ConfigView-b590301a.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigView-3be41e99.js index 5e8d327d9cf6..a72c1eeb5301 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigView-b590301a.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigView-3be41e99.js @@ -1 +1 @@ -import{_ as V}from"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";import{d as C,r as o,o as n,i as p,w as t,j as d,a8 as v,p as m,n as c,l as r,F as _,I as g,H as N}from"./index-2441451c.js";const S=["data-testid","innerHTML"],A=C({__name:"ConfigView",props:{data:{},notifications:{default:()=>[]}},setup(k){const l=k;function y(f){var s;const i=((s=f.zoneInsight)==null?void 0:s.subscriptions)??[];if(i.length>0){const a=i[i.length-1];if(a.config)return JSON.stringify(JSON.parse(a.config),null,2)}return null}return(f,i)=>{const s=o("RouteTitle"),a=o("KAlert"),w=o("KCard"),h=o("AppView"),b=o("RouteView");return n(),p(b,{name:"zone-cp-config-view",params:{zone:""}},{default:t(({t:u})=>[d(h,null,v({title:t(()=>[m("h2",null,[d(s,{title:u("zone-cps.routes.item.navigation.zone-cp-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[c(),c(),d(w,{class:"mt-4"},{body:t(()=>[(n(!0),r(_,null,g([y(l.data)],(e,z)=>(n(),r(_,{key:z},[e!==null?(n(),p(V,{key:0,id:"code-block-zone-config",language:"json",code:e,"is-searchable":"","query-key":"zone-config"},null,8,["code"])):(n(),p(a,{key:1,class:"mt-4","data-testid":"warning-no-subscriptions",appearance:"warning"},{alertMessage:t(()=>[c(N(u("zone-cps.detail.no_subscriptions")),1)]),_:2},1024))],64))),128))]),_:2},1024)]),_:2},[l.notifications.length>0?{name:"notifications",fn:t(()=>[m("ul",null,[(n(!0),r(_,null,g(l.notifications,e=>(n(),r("li",{key:e.kind,"data-testid":`warning-${e.kind}`,innerHTML:u(`common.warnings.${e.kind}`,e.payload)},null,8,S))),128)),c()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{A as default}; +import{_ as V}from"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";import{d as C,r as o,o as n,i as p,w as t,j as d,a8 as v,p as m,n as c,l as r,F as _,I as g,H as N}from"./index-78eccadf.js";const S=["data-testid","innerHTML"],A=C({__name:"ConfigView",props:{data:{},notifications:{default:()=>[]}},setup(k){const l=k;function y(f){var s;const i=((s=f.zoneInsight)==null?void 0:s.subscriptions)??[];if(i.length>0){const a=i[i.length-1];if(a.config)return JSON.stringify(JSON.parse(a.config),null,2)}return null}return(f,i)=>{const s=o("RouteTitle"),a=o("KAlert"),w=o("KCard"),h=o("AppView"),b=o("RouteView");return n(),p(b,{name:"zone-cp-config-view",params:{zone:""}},{default:t(({t:u})=>[d(h,null,v({title:t(()=>[m("h2",null,[d(s,{title:u("zone-cps.routes.item.navigation.zone-cp-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[c(),c(),d(w,{class:"mt-4"},{body:t(()=>[(n(!0),r(_,null,g([y(l.data)],(e,z)=>(n(),r(_,{key:z},[e!==null?(n(),p(V,{key:0,id:"code-block-zone-config",language:"json",code:e,"is-searchable":"","query-key":"zone-config"},null,8,["code"])):(n(),p(a,{key:1,class:"mt-4","data-testid":"warning-no-subscriptions",appearance:"warning"},{alertMessage:t(()=>[c(N(u("zone-cps.detail.no_subscriptions")),1)]),_:2},1024))],64))),128))]),_:2},1024)]),_:2},[l.notifications.length>0?{name:"notifications",fn:t(()=>[m("ul",null,[(n(!0),r(_,null,g(l.notifications,e=>(n(),r("li",{key:e.kind,"data-testid":`warning-${e.kind}`,innerHTML:u(`common.warnings.${e.kind}`,e.payload)},null,8,S))),128)),c()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{A as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ConfigView-77dfcdfe.js b/app/kuma-ui/pkg/resources/data/assets/ConfigView-71550ab4.js similarity index 78% rename from app/kuma-ui/pkg/resources/data/assets/ConfigView-77dfcdfe.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigView-71550ab4.js index 3cdd9c47b84a..4a6d5dd9f870 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigView-77dfcdfe.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigView-71550ab4.js @@ -1 +1 @@ -import{d as g,R as k,r as e,o as s,i as r,w as o,j as t,p as w,n as z,E as V,x as h,k as v}from"./index-2441451c.js";import{_ as C}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-a10f960a.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";import"./toYaml-4e00099e.js";const K=g({__name:"ConfigView",setup(E){const i=k();return(x,R)=>{const u=e("RouteTitle"),_=e("DataSource"),l=e("KCard"),m=e("AppView"),p=e("RouteView");return s(),r(p,{name:"zone-egress-config-view",params:{zoneEgress:""}},{default:o(({route:n,t:d})=>[t(m,null,{title:o(()=>[w("h2",null,[t(u,{title:d("zone-egresses.routes.item.navigation.zone-egress-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[z(),t(l,{class:"mt-4"},{body:o(()=>[t(_,{src:`/zone-egresses/${n.params.zoneEgress}`},{default:o(({data:a,error:c})=>[c!==void 0?(s(),r(V,{key:0,error:c},null,8,["error"])):a===void 0?(s(),r(h,{key:1})):(s(),r(C,{key:2,id:"code-block-zone-egress",resource:a,"resource-fetcher":f=>v(i).getZoneEgress({name:n.params.zoneEgress},f),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; +import{d as g,R as k,r as e,o as s,i as r,w as o,j as t,p as w,n as z,E as V,x as h,k as v}from"./index-78eccadf.js";import{_ as C}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-74215da3.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";import"./toYaml-4e00099e.js";const K=g({__name:"ConfigView",setup(E){const i=k();return(x,R)=>{const u=e("RouteTitle"),_=e("DataSource"),l=e("KCard"),m=e("AppView"),p=e("RouteView");return s(),r(p,{name:"zone-egress-config-view",params:{zoneEgress:""}},{default:o(({route:n,t:d})=>[t(m,null,{title:o(()=>[w("h2",null,[t(u,{title:d("zone-egresses.routes.item.navigation.zone-egress-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[z(),t(l,{class:"mt-4"},{body:o(()=>[t(_,{src:`/zone-egresses/${n.params.zoneEgress}`},{default:o(({data:a,error:c})=>[c!==void 0?(s(),r(V,{key:0,error:c},null,8,["error"])):a===void 0?(s(),r(h,{key:1})):(s(),r(C,{key:2,id:"code-block-zone-egress",resource:a,"resource-fetcher":f=>v(i).getZoneEgress({name:n.params.zoneEgress},f),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ConfigView-7cbb036d.js b/app/kuma-ui/pkg/resources/data/assets/ConfigView-88c8c6dc.js similarity index 78% rename from app/kuma-ui/pkg/resources/data/assets/ConfigView-7cbb036d.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigView-88c8c6dc.js index b28e3117f169..52f2ac74050f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigView-7cbb036d.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigView-88c8c6dc.js @@ -1 +1 @@ -import{d as g,R as k,r as e,o as s,i as n,w as o,j as r,p as w,n as z,E as V,x as h,k as v}from"./index-2441451c.js";import{_ as C}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-a10f960a.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";import"./toYaml-4e00099e.js";const K=g({__name:"ConfigView",setup(x){const i=k();return(R,y)=>{const u=e("RouteTitle"),_=e("DataSource"),l=e("KCard"),m=e("AppView"),p=e("RouteView");return s(),n(p,{name:"zone-ingress-config-view",params:{zoneIngress:""}},{default:o(({route:t,t:d})=>[r(m,null,{title:o(()=>[w("h2",null,[r(u,{title:d("zone-ingresses.routes.item.navigation.zone-ingress-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[z(),r(l,{class:"mt-4"},{body:o(()=>[r(_,{src:`/zone-ingresses/${t.params.zoneIngress}`},{default:o(({data:a,error:c})=>[c!==void 0?(s(),n(V,{key:0,error:c},null,8,["error"])):a===void 0?(s(),n(h,{key:1})):(s(),n(C,{key:2,id:"code-block-zone-ingress",resource:a,"resource-fetcher":f=>v(i).getZoneIngress({name:t.params.zoneIngress},f),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; +import{d as g,R as k,r as e,o as s,i as n,w as o,j as r,p as w,n as z,E as V,x as h,k as v}from"./index-78eccadf.js";import{_ as C}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-74215da3.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";import"./toYaml-4e00099e.js";const K=g({__name:"ConfigView",setup(x){const i=k();return(R,y)=>{const u=e("RouteTitle"),_=e("DataSource"),l=e("KCard"),m=e("AppView"),p=e("RouteView");return s(),n(p,{name:"zone-ingress-config-view",params:{zoneIngress:""}},{default:o(({route:t,t:d})=>[r(m,null,{title:o(()=>[w("h2",null,[r(u,{title:d("zone-ingresses.routes.item.navigation.zone-ingress-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[z(),r(l,{class:"mt-4"},{body:o(()=>[r(_,{src:`/zone-ingresses/${t.params.zoneIngress}`},{default:o(({data:a,error:c})=>[c!==void 0?(s(),n(V,{key:0,error:c},null,8,["error"])):a===void 0?(s(),n(h,{key:1})):(s(),n(C,{key:2,id:"code-block-zone-ingress",resource:a,"resource-fetcher":f=>v(i).getZoneIngress({name:t.params.zoneIngress},f),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-f086ed67.js b/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-99742ac3.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-f086ed67.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-99742ac3.js index ba6b47914315..a52a37440e1a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-f086ed67.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-99742ac3.js @@ -1,4 +1,4 @@ -import{O as h,a as x,b as C}from"./OnboardingPage-055a5e15.js";import{d as G,N as T,O as w,P,Q as R,y as K,h as O,r,o as u,i as d,w as e,j as o,n as t,p,q as M,t as N}from"./index-2441451c.js";const k={class:"graph-list mb-6"},U={class:"radio-button-group"},A=G({__name:"ConfigurationTypes",setup(B){const i=T(),m=w(),c=P(),_={postgres:R(),memory:c,kubernetes:m},n=K(i("KUMA_STORE_TYPE")),g=O(()=>_[n.value]);return(z,a)=>{const v=r("RouteTitle"),l=r("KRadio"),y=r("AppView"),f=r("RouteView");return u(),d(f,{name:"onboarding-configuration-types"},{default:e(({can:b,t:V})=>[o(v,{title:V("onboarding.routes.configuration-types.title")},null,8,["title"]),t(),o(y,null,{default:e(()=>[o(h,{"with-image":""},{header:e(()=>[o(x,null,{title:e(()=>[t(` +import{O as h,a as x,b as C}from"./OnboardingPage-5ac3187f.js";import{d as G,N as T,O as w,P,Q as R,y as K,h as O,r,o as u,i as d,w as e,j as o,n as t,p,q as M,t as N}from"./index-78eccadf.js";const k={class:"graph-list mb-6"},U={class:"radio-button-group"},A=G({__name:"ConfigurationTypes",setup(B){const i=T(),m=w(),c=P(),_={postgres:R(),memory:c,kubernetes:m},n=K(i("KUMA_STORE_TYPE")),g=O(()=>_[n.value]);return(z,a)=>{const v=r("RouteTitle"),l=r("KRadio"),y=r("AppView"),f=r("RouteView");return u(),d(f,{name:"onboarding-configuration-types"},{default:e(({can:b,t:V})=>[o(v,{title:V("onboarding.routes.configuration-types.title")},null,8,["title"]),t(),o(y,null,{default:e(()=>[o(h,{"with-image":""},{header:e(()=>[o(x,null,{title:e(()=>[t(` Learn about configuration storage `)]),_:1})]),content:e(()=>[p("div",k,[(u(),d(M(g.value)))]),t(),p("div",U,[o(l,{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=s=>n.value=s),name:"deployment","selected-value":"kubernetes"},{default:e(()=>[t(` Kubernetes diff --git a/app/kuma-ui/pkg/resources/data/assets/CreateMesh-ccb365d5.js b/app/kuma-ui/pkg/resources/data/assets/CreateMesh-be27fc42.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/CreateMesh-ccb365d5.js rename to app/kuma-ui/pkg/resources/data/assets/CreateMesh-be27fc42.js index a55f414f98c0..6bd7b4c26390 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CreateMesh-ccb365d5.js +++ b/app/kuma-ui/pkg/resources/data/assets/CreateMesh-be27fc42.js @@ -1,4 +1,4 @@ -import{O as h,a as b,b as g}from"./OnboardingPage-055a5e15.js";import{d as v,y as f,r as o,o as y,i as x,w as e,j as t,n as a,p as s,H as A,D as w,G as C,t as T}from"./index-2441451c.js";const c=n=>(w("data-v-11d1e65d"),n=n(),C(),n),V={class:"mb-4 text-center"},N=c(()=>s("i",null,"default",-1)),S=c(()=>s("p",{class:"mt-4 text-center"},` +import{O as h,a as b,b as g}from"./OnboardingPage-5ac3187f.js";import{d as v,y as f,r as o,o as y,i as x,w as e,j as t,n as a,p as s,H as A,D as w,G as C,t as T}from"./index-78eccadf.js";const c=n=>(w("data-v-11d1e65d"),n=n(),C(),n),V={class:"mb-4 text-center"},N=c(()=>s("i",null,"default",-1)),S=c(()=>s("p",{class:"mt-4 text-center"},` This mesh is empty. Next, you add services and their data plane proxies. `,-1)),k=v({__name:"CreateMesh",setup(n){const d=[{label:"Name",key:"name"},{label:"Services",key:"servicesAmount"},{label:"DPPs",key:"dppsAmount"}],r=f({total:1,data:[{name:"default",servicesAmount:0,dppsAmount:0}]});return(D,R)=>{const l=o("RouteTitle"),p=o("KTable"),_=o("AppView"),u=o("RouteView");return y(),x(u,{name:"onboarding-create-mesh"},{default:e(({can:m,t:i})=>[t(l,{title:i("onboarding.routes.create-mesh.title")},null,8,["title"]),a(),t(_,null,{default:e(()=>[t(h,null,{header:e(()=>[t(b,null,{title:e(()=>[a(` Create the mesh diff --git a/app/kuma-ui/pkg/resources/data/assets/CreateView-2f807ae5.js b/app/kuma-ui/pkg/resources/data/assets/CreateView-003e343c.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/CreateView-2f807ae5.js rename to app/kuma-ui/pkg/resources/data/assets/CreateView-003e343c.js index 610c8ac6fb1e..d6d45c7612e4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CreateView-2f807ae5.js +++ b/app/kuma-ui/pkg/resources/data/assets/CreateView-003e343c.js @@ -1,4 +1,4 @@ -import{d as L,y as f,z as de,V as me,r as b,o as l,l as p,p as t,j as i,w as r,i as g,k as e,aA as G,aB as H,aC as pe,aD as _e,aE as fe,aF as j,n,U as S,g as x,e as J,h as I,H as o,R as ve,a4 as be,aG as U,F as Z,m as y,I as ze,J as he,K as X,aH as ge,t as ke}from"./index-2441451c.js";import{_ as E}from"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";import{g as ye}from"./dataplane-0a086c06.js";const Ee=["data-test-state"],Ce={class:"scanner-content"},$e={class:"mr-1"},Ie=L({__name:"EntityScanner",props:{interval:{type:Number,required:!1,default:1e3},retries:{type:Number,required:!1,default:3600},hasError:{type:Boolean,default:!1},loaderFunction:{type:Function,required:!0},canComplete:{type:Boolean,default:!1}},emits:["hide-siblings"],setup(k,{emit:s}){const a=k,h=f(0),z=f(!1),C=f(!1),u=f(null);de(function(){$()}),me(function(){K()});function $(){z.value=!0,C.value=!1,K(),u.value=window.setInterval(async()=>{h.value++,await a.loaderFunction(),(h.value===a.retries||a.canComplete===!0)&&(K(),z.value=!1,C.value=!0,s("hide-siblings",!0))},a.interval)}function K(){u.value!==null&&window.clearInterval(u.value)}return(d,N)=>{const w=b("KEmptyState");return l(),p("div",{class:"scanner","data-test-state":z.value?"waiting":k.hasError?"error":"success"},[t("div",Ce,[i(w,{"cta-is-hidden":""},{title:r(()=>[t("span",$e,[z.value?(l(),g(e(G),{key:0,color:e(H)},null,8,["color"])):k.hasError?(l(),g(e(pe),{key:1,color:e(_e)},null,8,["color"])):(l(),g(e(fe),{key:2,color:e(j)},null,8,["color"]))]),n(),z.value?S(d.$slots,"loading-title",{key:0}):k.hasError?S(d.$slots,"error-title",{key:1}):S(d.$slots,"complete-title",{key:2})]),message:r(()=>[z.value?S(d.$slots,"loading-content",{key:0}):k.hasError?S(d.$slots,"error-content",{key:1}):S(d.$slots,"complete-content",{key:2})]),_:3})])],8,Ee)}}}),Ke={class:"form-step-title"},we=t("span",{class:"form-step-number"},"1",-1),Ve={class:"instruction-list"},Se={href:"https://helm.sh/docs/intro/install/"},Ne={class:"form-step-title"},Te=t("span",{class:"form-step-number"},"2",-1),qe=t("p",null,"On your local machine, create a namespace in your Kubernetes cluster and pull down the kong Helm repo.",-1),Ze={class:"instruction-list"},Le={class:"form-step-title"},Ae=t("span",{class:"form-step-number"},"3",-1),De={class:"form-step-title"},Be=t("span",{class:"form-step-number"},"4",-1),Re={class:"field-group-label mt-4"},Ue={class:"mt-4"},xe=L({__name:"ZoneCreateKubernetesInstructions",props:{zoneName:{type:String,required:!0},globalKdsAddress:{type:String,required:!0},zoneIngressEnabled:{type:Boolean,required:!0},zoneEgressEnabled:{type:Boolean,required:!0},token:{type:String,required:!0},base64EncodedToken:{type:String,required:!0}},setup(k){const s=k,a=x(),h=J(),z=I(()=>a.t("zones.form.kubernetes.secret.createSecretCommand",{token:s.base64EncodedToken}).trim()),C=I(()=>{const u={zoneName:s.zoneName,globalKdsAddress:s.globalKdsAddress,zoneIngressEnabled:String(s.zoneIngressEnabled),zoneEgressEnabled:String(s.zoneEgressEnabled)};return typeof h.params.virtualControlPlaneId=="string"&&(u.controlPlaneId=h.params.virtualControlPlaneId),a.t("zones.form.kubernetes.connectZone.config",u).trim()});return(u,$)=>(l(),p("div",null,[t("h3",Ke,[we,n(" "+o(e(a).t("zones.form.kubernetes.prerequisites.title")),1)]),n(),t("ul",Ve,[t("li",null,[t("b",null,o(e(a).t("zones.form.kubernetes.prerequisites.step1Label"))+o(s.zoneIngressEnabled?" "+e(a).t("zones.form.kubernetes.prerequisites.step1LabelAddendum"):""),1),n(`: +import{d as L,y as f,z as de,V as me,r as b,o as l,l as p,p as t,j as i,w as r,i as g,k as e,aA as G,aB as H,aC as pe,aD as _e,aE as fe,aF as j,n,U as S,g as x,e as J,h as I,H as o,R as ve,a4 as be,aG as U,F as Z,m as y,I as ze,J as he,K as X,aH as ge,t as ke}from"./index-78eccadf.js";import{_ as E}from"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";import{g as ye}from"./dataplane-0a086c06.js";const Ee=["data-test-state"],Ce={class:"scanner-content"},$e={class:"mr-1"},Ie=L({__name:"EntityScanner",props:{interval:{type:Number,required:!1,default:1e3},retries:{type:Number,required:!1,default:3600},hasError:{type:Boolean,default:!1},loaderFunction:{type:Function,required:!0},canComplete:{type:Boolean,default:!1}},emits:["hide-siblings"],setup(k,{emit:s}){const a=k,h=f(0),z=f(!1),C=f(!1),u=f(null);de(function(){$()}),me(function(){K()});function $(){z.value=!0,C.value=!1,K(),u.value=window.setInterval(async()=>{h.value++,await a.loaderFunction(),(h.value===a.retries||a.canComplete===!0)&&(K(),z.value=!1,C.value=!0,s("hide-siblings",!0))},a.interval)}function K(){u.value!==null&&window.clearInterval(u.value)}return(d,N)=>{const w=b("KEmptyState");return l(),p("div",{class:"scanner","data-test-state":z.value?"waiting":k.hasError?"error":"success"},[t("div",Ce,[i(w,{"cta-is-hidden":""},{title:r(()=>[t("span",$e,[z.value?(l(),g(e(G),{key:0,color:e(H)},null,8,["color"])):k.hasError?(l(),g(e(pe),{key:1,color:e(_e)},null,8,["color"])):(l(),g(e(fe),{key:2,color:e(j)},null,8,["color"]))]),n(),z.value?S(d.$slots,"loading-title",{key:0}):k.hasError?S(d.$slots,"error-title",{key:1}):S(d.$slots,"complete-title",{key:2})]),message:r(()=>[z.value?S(d.$slots,"loading-content",{key:0}):k.hasError?S(d.$slots,"error-content",{key:1}):S(d.$slots,"complete-content",{key:2})]),_:3})])],8,Ee)}}}),Ke={class:"form-step-title"},we=t("span",{class:"form-step-number"},"1",-1),Ve={class:"instruction-list"},Se={href:"https://helm.sh/docs/intro/install/"},Ne={class:"form-step-title"},Te=t("span",{class:"form-step-number"},"2",-1),qe=t("p",null,"On your local machine, create a namespace in your Kubernetes cluster and pull down the kong Helm repo.",-1),Ze={class:"instruction-list"},Le={class:"form-step-title"},Ae=t("span",{class:"form-step-number"},"3",-1),De={class:"form-step-title"},Be=t("span",{class:"form-step-number"},"4",-1),Re={class:"field-group-label mt-4"},Ue={class:"mt-4"},xe=L({__name:"ZoneCreateKubernetesInstructions",props:{zoneName:{type:String,required:!0},globalKdsAddress:{type:String,required:!0},zoneIngressEnabled:{type:Boolean,required:!0},zoneEgressEnabled:{type:Boolean,required:!0},token:{type:String,required:!0},base64EncodedToken:{type:String,required:!0}},setup(k){const s=k,a=x(),h=J(),z=I(()=>a.t("zones.form.kubernetes.secret.createSecretCommand",{token:s.base64EncodedToken}).trim()),C=I(()=>{const u={zoneName:s.zoneName,globalKdsAddress:s.globalKdsAddress,zoneIngressEnabled:String(s.zoneIngressEnabled),zoneEgressEnabled:String(s.zoneEgressEnabled)};return typeof h.params.virtualControlPlaneId=="string"&&(u.controlPlaneId=h.params.virtualControlPlaneId),a.t("zones.form.kubernetes.connectZone.config",u).trim()});return(u,$)=>(l(),p("div",null,[t("h3",Ke,[we,n(" "+o(e(a).t("zones.form.kubernetes.prerequisites.title")),1)]),n(),t("ul",Ve,[t("li",null,[t("b",null,o(e(a).t("zones.form.kubernetes.prerequisites.step1Label"))+o(s.zoneIngressEnabled?" "+e(a).t("zones.form.kubernetes.prerequisites.step1LabelAddendum"):""),1),n(`: `+o(e(a).t("zones.form.kubernetes.prerequisites.step1Description",{productName:e(a).t("common.product.name")})),1)]),n(),t("li",null,[t("b",null,o(e(a).t("zones.form.kubernetes.prerequisites.step2Label")),1),n(`: `+o(e(a).t("zones.form.kubernetes.prerequisites.step2Description")),1)]),n(),t("li",null,[t("a",Se,o(e(a).t("zones.form.kubernetes.prerequisites.step3LinkTitle")),1),n(" "+o(e(a).t("zones.form.kubernetes.prerequisites.step3Tail")),1)])]),n(),t("h3",Ne,[Te,n(" "+o(e(a).t("zones.form.kubernetes.helm.title")),1)]),n(),qe,n(),t("ol",Ze,[t("li",null,[t("b",null,o(e(a).t("zones.form.kubernetes.helm.step1Description")),1),n(),i(E,{id:"zone-kubernetes-create-namespace",class:"mt-2",code:e(a).t("zones.form.kubernetes.helm.step1Command"),language:"bash"},null,8,["code"])]),n(),t("li",null,[t("b",null,o(e(a).t("zones.form.kubernetes.helm.step2Description")),1),n(),i(E,{id:"zone-kubernetes-add-charts-repo",class:"mt-2",code:e(a).t("zones.form.kubernetes.helm.step2Command"),language:"bash"},null,8,["code"])]),n(),t("li",null,[t("b",null,o(e(a).t("zones.form.kubernetes.helm.step3Description")),1),n(),i(E,{id:"zone-kubernetes-repo-update",class:"mt-2",code:e(a).t("zones.form.kubernetes.helm.step3Command"),language:"bash"},null,8,["code"])])]),n(),t("h3",Le,[Ae,n(" "+o(e(a).t("zones.form.kubernetes.secret.title")),1)]),n(),t("p",null,o(e(a).t("zones.form.kubernetes.secret.createSecretDescription")),1),n(),i(E,{id:"zone-kubernetes-create-secret",class:"mt-4",code:z.value,language:"bash"},null,8,["code"]),n(),t("h3",De,[Be,n(" "+o(e(a).t("zones.form.kubernetes.connectZone.title")),1)]),n(),t("p",null,o(e(a).t("zones.form.kubernetes.connectZone.configDescription")),1),n(),t("span",Re,o(e(a).t("zones.form.kubernetes.connectZone.configFileName")),1),n(),i(E,{id:"zone-kubernetes-config-code-block","data-testid":"zone-kubernetes-config",code:C.value,language:"yaml"},null,8,["code"]),n(),t("p",Ue,o(e(a).t("zones.form.kubernetes.connectZone.connectDescription")),1),n(),i(E,{id:"zone-kubernetes-command-code-block",class:"mt-4",code:e(a).t("zones.form.kubernetes.connectZone.connectCommand").trim(),language:"bash"},null,8,["code"])]))}}),Oe={class:"form-step-title"},Fe=t("span",{class:"form-step-number"},"1",-1),Pe={class:"form-step-title"},Me=t("span",{class:"form-step-number"},"2",-1),Xe={class:"field-group-label mt-4"},Ge={class:"mt-4"},He=L({__name:"ZoneCreateUniversalInstructions",props:{zoneName:{type:String,required:!0},globalKdsAddress:{type:String,required:!0},token:{type:String,required:!0}},setup(k){const s=k,a=x(),h=J(),z=I(()=>a.t("zones.form.universal.saveToken.saveTokenCommand",{token:s.token}).trim()),C=I(()=>{const u={zoneName:s.zoneName,globalKdsAddress:s.globalKdsAddress};return typeof h.params.virtualControlPlaneId=="string"&&(u.controlPlaneId=h.params.virtualControlPlaneId),a.t("zones.form.universal.connectZone.config",u).trim()});return(u,$)=>(l(),p("div",null,[t("h3",Oe,[Fe,n(" "+o(e(a).t("zones.form.universal.saveToken.title")),1)]),n(),t("p",null,o(e(a).t("zones.form.universal.saveToken.saveTokenDescription")),1),n(),i(E,{id:"zone-kubernetes-token",class:"mt-4",code:z.value,language:"bash"},null,8,["code"]),n(),t("h3",Pe,[Me,n(" "+o(e(a).t("zones.form.universal.connectZone.title")),1)]),n(),t("p",null,o(e(a).t("zones.form.universal.connectZone.configDescription")),1),n(),t("span",Xe,o(e(a).t("zones.form.universal.connectZone.configFileName")),1),n(),i(E,{id:"zone-universal-config-code-block","data-testid":"zone-universal-config",class:"mt-4",code:C.value,language:"yaml"},null,8,["code"]),n(),t("p",Ge,o(e(a).t("zones.form.universal.connectZone.connectDescription")),1),n(),i(E,{id:"zone-universal-connect-command-code-block",class:"mt-4",code:e(a).t("zones.form.universal.connectZone.connectCommand").trim(),language:"bash"},null,8,["code"])]))}}),je={class:"form-wrapper"},Je={key:1},We={key:2},Qe={class:"form"},Ye={class:"form-header"},en={class:"form-title"},nn={class:"text-gradient"},tn={key:0},on={key:0},sn={class:"fact-list"},an={class:"form-section"},rn={class:"form-section__header"},ln={class:"form-section-title"},cn={key:0},un={class:"form-section__content"},dn={class:"form-section","data-testid":"connect-zone-instructions"},mn={class:"form-section__header"},pn={class:"form-section-title"},_n={key:0},fn={class:"form-section__content"},vn={class:"field-group-list"},bn={class:"field-group"},zn={class:"field-group-label"},hn={class:"radio-button-group"},gn={class:"field-group"},kn={class:"field-group-label"},yn={class:"radio-button-group"},En={class:"field-group"},Cn={class:"field-group-label"},$n={class:"radio-button-group"},In={class:"form-section"},Kn={class:"form-section__header"},wn={class:"form-section-title"},Vn={key:0},Sn={class:"form-section__content"},Nn={class:"form-section"},Tn={class:"form-section__header"},qn={class:"form-section-title"},Zn={key:0},Ln={class:"form-section__content"},An={class:"mt-2"},Dn=L({__name:"CreateView",setup(k){const{t:s,tm:a}=x(),h=ve(),z=be(),C=/^(?![-0-9])[a-z0-9-]{1,63}$/,u=f(null),$=f(!1),K=f(!1),d=f(null),N=f(null),w=f(!1),A=f(null),v=f(""),V=f("kubernetes"),D=f(!0),B=f(!0),T=I(()=>u.value!==null&&u.value.token?u.value.token:""),W=I(()=>T.value!==""?window.btoa(T.value):""),Q=I(()=>v.value===""||$.value||u.value!==null),R=I(()=>{if(N.value!==null)return N.value;if(d.value instanceof U){const _=d.value.invalidParameters.find(c=>c.field==="name");if(_!==void 0)return _.reason}return null});async function Y(){$.value=!0,d.value=null;try{if(!O(v.value))return;u.value=await h.createZone({name:v.value})}catch(_){_ instanceof Error?d.value=_:console.error(_)}finally{$.value=!1}}function O(_){const c=C.test(_);return c?N.value=null:N.value=s("zones.create.invalidNameError"),c}async function ee(){w.value=!1,A.value=null;try{const _=await h.getZoneOverview({name:v.value}),c=ye(_.zoneInsight);w.value=c==="online"}catch(_){_ instanceof Error?A.value=_:console.error(_)}}function F(){K.value=!K.value}return(_,c)=>{const ne=b("RouteTitle"),q=b("KButton"),te=b("KAlert"),oe=b("KLabel"),se=b("KInput"),P=b("KRadio"),M=b("KInputSwitch"),ae=b("DataSource"),re=b("KCard"),le=b("KModal"),ie=b("AppView"),ce=b("RouteView");return l(),g(ce,{name:"zone-create-view",attrs:{class:"is-fullscreen"}},{default:r(()=>[i(ie,{fullscreen:!0,breadcrumbs:[]},{title:r(()=>[t("h1",null,[i(ne,{title:e(s)("zones.routes.create.title"),render:!0},null,8,["title"])])]),actions:r(()=>[T.value===""||w.value?(l(),g(q,{key:0,appearance:"outline","data-testid":"exit-button",to:{name:"zone-cp-list-view"}},{default:r(()=>[n(o(e(s)("zones.form.exit")),1)]),_:1})):(l(),g(q,{key:1,appearance:"outline","data-testid":"exit-button",onClick:F},{default:r(()=>[n(o(e(s)("zones.form.exit")),1)]),_:1}))]),default:r(()=>[n(),n(),t("div",je,[d.value!==null?(l(),g(te,{key:0,appearance:"danger",class:"mb-4","dismiss-type":"icon","data-testid":"create-zone-error"},{alertMessage:r(()=>[d.value instanceof e(U)&&[409,500].includes(d.value.status)?(l(),p(Z,{key:0},[t("p",null,o(e(s)(`zones.create.status_error.${d.value.status}.title`,{name:v.value})),1),n(),t("p",null,o(e(s)(`zones.create.status_error.${d.value.status}.description`)),1)],64)):d.value instanceof e(U)?(l(),p("p",Je,o(e(s)("common.error_state.api_error",{status:d.value.status,title:d.value.title})),1)):(l(),p("p",We,o(e(s)("common.error_state.default_error")),1))]),_:1})):y("",!0),n(),i(re,{class:"form-card"},{body:r(()=>[t("div",Qe,[t("div",Ye,[t("div",null,[t("h1",en,[t("span",nn,o(e(s)("zones.form.title")),1)]),n(),e(s)("zones.form.description")!==" "?(l(),p("p",tn,o(e(s)("zones.form.description")),1)):y("",!0)]),n(),e(a)("zones.form.facts").length>0?(l(),p("div",on,[t("ul",sn,[(l(!0),p(Z,null,ze(e(a)("zones.form.facts"),(m,ue)=>(l(),p("li",{key:ue,class:"fact-list__item"},[i(e(he),{color:e(j)},null,8,["color"]),n(" "+o(m),1)]))),128))])])):y("",!0)]),n(),t("div",an,[t("div",rn,[t("h2",ln,o(e(s)("zones.form.section.name.title")),1),n(),e(s)("zones.form.section.name.description")!==" "?(l(),p("p",cn,o(e(s)("zones.form.section.name.description")),1)):y("",!0)]),n(),t("div",un,[t("div",null,[i(oe,{for:"zone-name",required:"","tooltip-attributes":{placement:"right"}},{tooltip:r(()=>[n(o(e(s)("zones.form.name_tooltip")),1)]),default:r(()=>[n(o(e(s)("zones.form.nameLabel"))+" ",1)]),_:1}),n(),i(se,{id:"zone-name",modelValue:v.value,"onUpdate:modelValue":c[0]||(c[0]=m=>v.value=m),type:"text",name:"zone-name","data-testid":"name-input","data-test-error-type":R.value!==null?"invalid-dns-name":void 0,"has-error":R.value!==null,"error-message":R.value??void 0,disabled:u.value!==null,onBlur:c[1]||(c[1]=m=>O(v.value))},null,8,["modelValue","data-test-error-type","has-error","error-message","disabled"])]),n(),i(q,{appearance:"primary",class:"mt-4",disabled:Q.value,"data-testid":"create-zone-button",onClick:Y},{default:r(()=>[$.value?(l(),g(e(G),{key:0,color:e(H),size:e(X)},null,8,["color","size"])):(l(),g(e(ge),{key:1,size:e(X)},null,8,["size"])),n(" "+o(e(s)("zones.form.createZoneButtonLabel")),1)]),_:1},8,["disabled"])])]),n(),u.value!==null?(l(),p(Z,{key:0},[t("div",dn,[t("div",mn,[t("h2",pn,o(e(s)("zones.form.section.configuration.title")),1),n(),e(s)("zones.form.section.configuration.description")!==" "?(l(),p("p",_n,o(e(s)("zones.form.section.configuration.description")),1)):y("",!0)]),n(),t("div",fn,[t("div",vn,[t("div",bn,[t("span",zn,o(e(s)("zones.form.environmentLabel"))+` * `,1),n(),t("div",hn,[i(P,{id:"zone-environment-universal",modelValue:V.value,"onUpdate:modelValue":c[2]||(c[2]=m=>V.value=m),"selected-value":"universal",name:"zone-environment","data-testid":"environment-universal-radio-button"},{default:r(()=>[n(o(e(s)("zones.form.universalLabel")),1)]),_:1},8,["modelValue"]),n(),i(P,{id:"zone-environment-kubernetes",modelValue:V.value,"onUpdate:modelValue":c[3]||(c[3]=m=>V.value=m),"selected-value":"kubernetes",name:"zone-environment","data-testid":"environment-kubernetes-radio-button"},{default:r(()=>[n(o(e(s)("zones.form.kubernetesLabel")),1)]),_:1},8,["modelValue"])])]),n(),V.value==="kubernetes"?(l(),p(Z,{key:0},[t("div",gn,[t("span",kn,o(e(s)("zones.form.zoneIngressLabel"))+` * diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-0affc52b.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-e64792ca.js similarity index 80% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-0affc52b.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-e64792ca.js index 93743cea0391..6c4056aca5a0 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-0affc52b.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-e64792ca.js @@ -1 +1 @@ -import{E as d}from"./EnvoyData-2ae64069.js";import{a as i}from"./dataplane-0a086c06.js";import{d as m,r as a,o as _,i as f,w as e,j as t,p as w,n as h,k as V}from"./index-2441451c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";const k=m({__name:"DataPlaneClustersView",props:{data:{}},setup(o){const s=o;return(v,y)=>{const r=a("RouteTitle"),l=a("KCard"),p=a("AppView"),u=a("RouteView");return _(),f(u,{name:"data-plane-clusters-view",params:{mesh:"",dataPlane:""}},{default:e(({route:n,t:c})=>[t(p,null,{title:e(()=>[w("h2",null,[t(r,{title:c("data-planes.routes.item.navigation.data-plane-clusters-view"),render:!0},null,8,["title"])])]),default:e(()=>[h(),t(l,null,{body:e(()=>[t(d,{status:V(i)(s.data.dataplane,s.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${n.params.mesh}/dataplanes/${n.params.dataPlane}/data-path/clusters`,"query-key":"envoy-data-clusters-data-plane"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; +import{E as d}from"./EnvoyData-3228efeb.js";import{a as i}from"./dataplane-0a086c06.js";import{d as m,r as a,o as _,i as f,w as e,j as t,p as w,n as h,k as V}from"./index-78eccadf.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";const k=m({__name:"DataPlaneClustersView",props:{data:{}},setup(o){const s=o;return(v,y)=>{const r=a("RouteTitle"),l=a("KCard"),p=a("AppView"),u=a("RouteView");return _(),f(u,{name:"data-plane-clusters-view",params:{mesh:"",dataPlane:""}},{default:e(({route:n,t:c})=>[t(p,null,{title:e(()=>[w("h2",null,[t(r,{title:c("data-planes.routes.item.navigation.data-plane-clusters-view"),render:!0},null,8,["title"])])]),default:e(()=>[h(),t(l,null,{body:e(()=>[t(d,{status:V(i)(s.data.dataplane,s.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${n.params.mesh}/dataplanes/${n.params.dataPlane}/data-path/clusters`,"query-key":"envoy-data-clusters-data-plane"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-6d9b3472.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-a898b8ed.js similarity index 83% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-6d9b3472.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-a898b8ed.js index 1bba9557f9af..a79d790a6c1a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-6d9b3472.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-a898b8ed.js @@ -1 +1 @@ -import{d as h,R as k,r as e,o,i as n,w as a,j as s,p as w,n as V,E as C,x as g,k as v}from"./index-2441451c.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-a10f960a.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";import"./toYaml-4e00099e.js";const K=h({__name:"DataPlaneConfigView",setup(R){const l=k();return(y,A)=>{const i=e("RouteTitle"),m=e("DataSource"),p=e("KCard"),u=e("AppView"),_=e("RouteView");return o(),n(_,{name:"data-plane-config-view",params:{mesh:"",dataPlane:""}},{default:a(({route:r,t:d})=>[s(u,null,{title:a(()=>[w("h2",null,[s(i,{title:d("data-planes.routes.item.navigation.data-plane-config-view"),render:!0},null,8,["title"])])]),default:a(()=>[V(),s(p,null,{body:a(()=>[s(m,{src:`/meshes/${r.params.mesh}/dataplanes/${r.params.dataPlane}`},{default:a(({data:t,error:c})=>[c?(o(),n(C,{key:0,error:c},null,8,["error"])):t===void 0?(o(),n(g,{key:1})):(o(),n(x,{key:2,id:"code-block-data-plane",resource:t,"resource-fetcher":f=>v(l).getDataplaneFromMesh({mesh:t.mesh,name:t.name},f),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; +import{d as h,R as k,r as e,o,i as n,w as a,j as s,p as w,n as V,E as C,x as g,k as v}from"./index-78eccadf.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-74215da3.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";import"./toYaml-4e00099e.js";const K=h({__name:"DataPlaneConfigView",setup(R){const l=k();return(y,A)=>{const i=e("RouteTitle"),m=e("DataSource"),p=e("KCard"),u=e("AppView"),_=e("RouteView");return o(),n(_,{name:"data-plane-config-view",params:{mesh:"",dataPlane:""}},{default:a(({route:r,t:d})=>[s(u,null,{title:a(()=>[w("h2",null,[s(i,{title:d("data-planes.routes.item.navigation.data-plane-config-view"),render:!0},null,8,["title"])])]),default:a(()=>[V(),s(p,null,{body:a(()=>[s(m,{src:`/meshes/${r.params.mesh}/dataplanes/${r.params.dataPlane}`},{default:a(({data:t,error:c})=>[c?(o(),n(C,{key:0,error:c},null,8,["error"])):t===void 0?(o(),n(g,{key:1})):(o(),n(x,{key:2,id:"code-block-data-plane",resource:t,"resource-fetcher":f=>v(l).getDataplaneFromMesh({mesh:t.mesh,name:t.name},f),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-7fe6fba5.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-6492bfb8.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-7fe6fba5.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-6492bfb8.js index 59f88695192f..2817d26b914e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-7fe6fba5.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-6492bfb8.js @@ -1 +1 @@ -import{d as g,g as R,a4 as $,r as o,o as r,i as c,w as t,j as s,k as w,p as k,a5 as B,n as h,E as C,x as G,l as N,F as T,q as D}from"./index-2441451c.js";import{N as P}from"./NavTabs-9c3818b4.js";const S=g({__name:"DataPlaneDetailTabsView",props:{isGatewayView:{type:Boolean,required:!1,default:!1}},setup(b){var _;const n=b,{t:p}=R(),v=(((_=$().getRoutes().find(a=>a.name===`${n.isGatewayView?"gateway":"data-plane"}-detail-tabs-view`))==null?void 0:_.children)??[]).map(a=>{var i,m;const u=typeof a.name>"u"?(i=a.children)==null?void 0:i[0]:a,l=u.name,d=((m=u.meta)==null?void 0:m.module)??"";return{title:p(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.navigation.${l}`),routeName:l,module:d}});return(a,u)=>{const l=o("RouteTitle"),d=o("RouterView"),f=o("DataSource"),i=o("AppView"),m=o("RouteView");return r(),c(m,{name:"data-plane-detail-tabs-view",params:{mesh:"",dataPlane:""}},{default:t(({route:e})=>[s(i,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:e.params.mesh}},text:e.params.mesh},{to:{name:`${n.isGatewayView?"gateway":"data-plane"}-list-view`,params:{mesh:e.params.mesh}},text:w(p)(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.breadcrumbs`)}]},{title:t(()=>[k("h1",null,[s(B,{text:e.params.dataPlane},{default:t(()=>[s(l,{title:w(p)(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.title`,{name:e.params.dataPlane}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[h(),s(f,{src:`/meshes/${e.params.mesh}/dataplane-overviews/${e.params.dataPlane}`},{default:t(({data:y,error:V})=>[V?(r(),c(C,{key:0,error:V},null,8,["error"])):y===void 0?(r(),c(G,{key:1})):(r(),N(T,{key:2},[s(P,{class:"route-data-plane-view-tabs",tabs:w(v)},null,8,["tabs"]),h(),s(d,null,{default:t(x=>[(r(),c(D(x.Component),{data:y},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{S as default}; +import{d as g,g as R,a4 as $,r as o,o as r,i as c,w as t,j as s,k as w,p as k,a5 as B,n as h,E as C,x as G,l as N,F as T,q as D}from"./index-78eccadf.js";import{N as P}from"./NavTabs-2aea5887.js";const S=g({__name:"DataPlaneDetailTabsView",props:{isGatewayView:{type:Boolean,required:!1,default:!1}},setup(b){var _;const n=b,{t:p}=R(),v=(((_=$().getRoutes().find(a=>a.name===`${n.isGatewayView?"gateway":"data-plane"}-detail-tabs-view`))==null?void 0:_.children)??[]).map(a=>{var i,m;const u=typeof a.name>"u"?(i=a.children)==null?void 0:i[0]:a,l=u.name,d=((m=u.meta)==null?void 0:m.module)??"";return{title:p(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.navigation.${l}`),routeName:l,module:d}});return(a,u)=>{const l=o("RouteTitle"),d=o("RouterView"),f=o("DataSource"),i=o("AppView"),m=o("RouteView");return r(),c(m,{name:"data-plane-detail-tabs-view",params:{mesh:"",dataPlane:""}},{default:t(({route:e})=>[s(i,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:e.params.mesh}},text:e.params.mesh},{to:{name:`${n.isGatewayView?"gateway":"data-plane"}-list-view`,params:{mesh:e.params.mesh}},text:w(p)(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.breadcrumbs`)}]},{title:t(()=>[k("h1",null,[s(B,{text:e.params.dataPlane},{default:t(()=>[s(l,{title:w(p)(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.title`,{name:e.params.dataPlane}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[h(),s(f,{src:`/meshes/${e.params.mesh}/dataplane-overviews/${e.params.dataPlane}`},{default:t(({data:y,error:V})=>[V?(r(),c(C,{key:0,error:V},null,8,["error"])):y===void 0?(r(),c(G,{key:1})):(r(),N(T,{key:2},[s(P,{class:"route-data-plane-view-tabs",tabs:w(v)},null,8,["tabs"]),h(),s(d,null,{default:t(x=>[(r(),c(D(x.Component),{data:y},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{S as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-cf090b8b.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-48610eda.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-cf090b8b.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-48610eda.js index 24d813dfe318..87223eb0eebc 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-cf090b8b.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-48610eda.js @@ -1 +1 @@ -import{d as O,g as z,f as L,h as v,r as P,o as n,i as y,w as t,j as i,a8 as H,n as e,p as u,k as p,$ as C,a9 as _,H as s,W as S,aa as K,ab as $,K as F,m as N,l as r,F as m,I as b,ac as W,t as j}from"./index-2441451c.js";import{_ as U}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-7eeb44a1.js";import{T as R}from"./TagList-26efeadd.js";import{a as Z,d as x,b as G,c as X,C as q,I as J}from"./dataplane-0a086c06.js";import"./AccordionList-b4038978.js";const Q=["data-testid","innerHTML"],Y={class:"stack","data-testid":"detail-view-details"},ee={class:"columns",style:{"--columns":"3"}},te={class:"status-with-reason"},ae={class:"columns",style:{"--columns":"5"}},se=["innerHTML"],ne={key:0},le=O({__name:"DataPlaneDetailView",props:{data:{}},setup(B){const o=B,{formatIsoDate:w}=z(),M=L(),D=v(()=>Z(o.data.dataplane,o.data.dataplaneInsight)),T=v(()=>x(o.data.dataplane)),V=v(()=>G(o.data.dataplaneInsight)),E=v(()=>{var d,k;const f=((d=o.data.dataplaneInsight)==null?void 0:d.subscriptions)??[];if(f.length===0)return[];const h=f[f.length-1];if(!("version"in h)||!h.version)return[];const c=h.version,g=[];if(c.kumaDp&&c.envoy){const l=X(c);l.kind!==q&&l.kind!==J&&g.push(l)}const a=(k=o.data.dataplaneInsight)==null?void 0:k.mTLS;return a&&Date.now()>new Date(a==null?void 0:a.certificateExpirationTime).getTime()&&g.push({kind:"CERT_EXPIRED",payload:{}}),M("use zones")&&x(o.data.dataplane).find(A=>A.label==="kuma.io/zone")&&typeof c.kumaDp.kumaCpCompatible=="boolean"&&!c.kumaDp.kumaCpCompatible&&g.push({kind:"INCOMPATIBLE_ZONE_CP_AND_KUMA_DP_VERSIONS",payload:{kumaDp:c.kumaDp.version}}),g});return(f,h)=>{const c=P("AppView"),g=P("RouteView");return n(),y(g,{name:"data-plane-detail-view"},{default:t(({t:a})=>[i(c,null,H({default:t(()=>{var d,k;return[e(),u("div",Y,[i(p(C),null,{body:t(()=>[u("div",ee,[i(_,null,{title:t(()=>[e(s(a("http.api.property.status")),1)]),body:t(()=>[u("div",te,[i(S,{status:D.value.status},null,8,["status"]),e(),D.value.reason.length>0?(n(),y(p(K),{key:0,label:D.value.reason.join(", "),class:"reason-tooltip"},{default:t(()=>[i(p($),{size:p(F),"hide-title":""},null,8,["size"])]),_:1},8,["label"])):N("",!0)])]),_:2},1024),e(),i(_,null,{title:t(()=>[e(s(a("http.api.property.tags")),1)]),body:t(()=>[T.value.length>0?(n(),y(R,{key:0,tags:T.value},null,8,["tags"])):(n(),r(m,{key:1},[e(s(a("common.detail.none")),1)],64))]),_:2},1024),e(),i(_,null,{title:t(()=>[e(s(a("http.api.property.dependencies")),1)]),body:t(()=>[V.value!==null?(n(),y(R,{key:0,tags:V.value},null,8,["tags"])):(n(),r(m,{key:1},[e(s(a("common.detail.none")),1)],64))]),_:2},1024)])]),_:2},1024),e(),u("div",null,[u("h2",null,s(a("data-planes.routes.item.mtls.title")),1),e(),(d=o.data.dataplaneInsight)!=null&&d.mTLS?(n(!0),r(m,{key:0},b([o.data.dataplaneInsight.mTLS],l=>(n(),y(p(C),{key:l,class:"mt-4"},{body:t(()=>[u("div",ae,[i(_,null,{title:t(()=>[e(s(a("data-planes.routes.item.mtls.expiration_time.title")),1)]),body:t(()=>[e(s(p(w)(l.certificateExpirationTime)),1)]),_:2},1024),e(),i(_,null,{title:t(()=>[e(s(a("data-planes.routes.item.mtls.generation_time.title")),1)]),body:t(()=>[e(s(p(w)(l.lastCertificateRegeneration)),1)]),_:2},1024),e(),i(_,null,{title:t(()=>[e(s(a("data-planes.routes.item.mtls.regenerations.title")),1)]),body:t(()=>[e(s(a("common.formats.integer",{value:l.certificateRegenerations})),1)]),_:2},1024),e(),i(_,null,{title:t(()=>[e(s(a("data-planes.routes.item.mtls.issued_backend.title")),1)]),body:t(()=>[e(s(l.issuedBackend),1)]),_:2},1024),e(),i(_,null,{title:t(()=>[e(s(a("data-planes.routes.item.mtls.supported_backends.title")),1)]),body:t(()=>[u("ul",null,[(n(!0),r(m,null,b(l.supportedBackends,I=>(n(),r("li",{key:I},s(I),1))),128))])]),_:2},1024)])]),_:2},1024))),128)):(n(),y(p(W),{key:1,class:"mt-4",appearance:"warning"},{alertMessage:t(()=>[u("div",{innerHTML:a("data-planes.routes.item.mtls.disabled")},null,8,se)]),_:2},1024))]),e(),(n(!0),r(m,null,b([((k=o.data.dataplaneInsight)==null?void 0:k.subscriptions)??[]],l=>(n(),r(m,{key:l},[l.length>0?(n(),r("div",ne,[u("h2",null,s(a("data-planes.routes.item.subscriptions.title")),1),e(),i(p(C),{class:"mt-4"},{body:t(()=>[i(U,{subscriptions:l},null,8,["subscriptions"])]),_:2},1024)])):N("",!0)],64))),128))])]}),_:2},[E.value.length>0?{name:"notifications",fn:t(()=>[u("ul",null,[(n(!0),r(m,null,b(E.value,d=>(n(),r("li",{key:d.kind,"data-testid":`warning-${d.kind}`,innerHTML:a(`common.warnings.${d.kind}`,d.payload)},null,8,Q))),128)),e()])]),key:"0"}:void 0]),1024)]),_:1})}}});const pe=j(le,[["__scopeId","data-v-d0ff1930"]]);export{pe as default}; +import{d as O,g as z,f as L,h as v,r as P,o as n,i as y,w as t,j as i,a8 as H,n as e,p as u,k as p,$ as C,a9 as _,H as s,W as S,aa as K,ab as $,K as F,m as N,l as r,F as m,I as b,ac as W,t as j}from"./index-78eccadf.js";import{_ as U}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-6be9f81a.js";import{T as R}from"./TagList-a8a084c7.js";import{a as Z,d as x,b as G,c as X,C as q,I as J}from"./dataplane-0a086c06.js";import"./AccordionList-2feffd04.js";const Q=["data-testid","innerHTML"],Y={class:"stack","data-testid":"detail-view-details"},ee={class:"columns",style:{"--columns":"3"}},te={class:"status-with-reason"},ae={class:"columns",style:{"--columns":"5"}},se=["innerHTML"],ne={key:0},le=O({__name:"DataPlaneDetailView",props:{data:{}},setup(B){const o=B,{formatIsoDate:w}=z(),M=L(),D=v(()=>Z(o.data.dataplane,o.data.dataplaneInsight)),T=v(()=>x(o.data.dataplane)),V=v(()=>G(o.data.dataplaneInsight)),E=v(()=>{var d,k;const f=((d=o.data.dataplaneInsight)==null?void 0:d.subscriptions)??[];if(f.length===0)return[];const h=f[f.length-1];if(!("version"in h)||!h.version)return[];const c=h.version,g=[];if(c.kumaDp&&c.envoy){const l=X(c);l.kind!==q&&l.kind!==J&&g.push(l)}const a=(k=o.data.dataplaneInsight)==null?void 0:k.mTLS;return a&&Date.now()>new Date(a==null?void 0:a.certificateExpirationTime).getTime()&&g.push({kind:"CERT_EXPIRED",payload:{}}),M("use zones")&&x(o.data.dataplane).find(A=>A.label==="kuma.io/zone")&&typeof c.kumaDp.kumaCpCompatible=="boolean"&&!c.kumaDp.kumaCpCompatible&&g.push({kind:"INCOMPATIBLE_ZONE_CP_AND_KUMA_DP_VERSIONS",payload:{kumaDp:c.kumaDp.version}}),g});return(f,h)=>{const c=P("AppView"),g=P("RouteView");return n(),y(g,{name:"data-plane-detail-view"},{default:t(({t:a})=>[i(c,null,H({default:t(()=>{var d,k;return[e(),u("div",Y,[i(p(C),null,{body:t(()=>[u("div",ee,[i(_,null,{title:t(()=>[e(s(a("http.api.property.status")),1)]),body:t(()=>[u("div",te,[i(S,{status:D.value.status},null,8,["status"]),e(),D.value.reason.length>0?(n(),y(p(K),{key:0,label:D.value.reason.join(", "),class:"reason-tooltip"},{default:t(()=>[i(p($),{size:p(F),"hide-title":""},null,8,["size"])]),_:1},8,["label"])):N("",!0)])]),_:2},1024),e(),i(_,null,{title:t(()=>[e(s(a("http.api.property.tags")),1)]),body:t(()=>[T.value.length>0?(n(),y(R,{key:0,tags:T.value},null,8,["tags"])):(n(),r(m,{key:1},[e(s(a("common.detail.none")),1)],64))]),_:2},1024),e(),i(_,null,{title:t(()=>[e(s(a("http.api.property.dependencies")),1)]),body:t(()=>[V.value!==null?(n(),y(R,{key:0,tags:V.value},null,8,["tags"])):(n(),r(m,{key:1},[e(s(a("common.detail.none")),1)],64))]),_:2},1024)])]),_:2},1024),e(),u("div",null,[u("h2",null,s(a("data-planes.routes.item.mtls.title")),1),e(),(d=o.data.dataplaneInsight)!=null&&d.mTLS?(n(!0),r(m,{key:0},b([o.data.dataplaneInsight.mTLS],l=>(n(),y(p(C),{key:l,class:"mt-4"},{body:t(()=>[u("div",ae,[i(_,null,{title:t(()=>[e(s(a("data-planes.routes.item.mtls.expiration_time.title")),1)]),body:t(()=>[e(s(p(w)(l.certificateExpirationTime)),1)]),_:2},1024),e(),i(_,null,{title:t(()=>[e(s(a("data-planes.routes.item.mtls.generation_time.title")),1)]),body:t(()=>[e(s(p(w)(l.lastCertificateRegeneration)),1)]),_:2},1024),e(),i(_,null,{title:t(()=>[e(s(a("data-planes.routes.item.mtls.regenerations.title")),1)]),body:t(()=>[e(s(a("common.formats.integer",{value:l.certificateRegenerations})),1)]),_:2},1024),e(),i(_,null,{title:t(()=>[e(s(a("data-planes.routes.item.mtls.issued_backend.title")),1)]),body:t(()=>[e(s(l.issuedBackend),1)]),_:2},1024),e(),i(_,null,{title:t(()=>[e(s(a("data-planes.routes.item.mtls.supported_backends.title")),1)]),body:t(()=>[u("ul",null,[(n(!0),r(m,null,b(l.supportedBackends,I=>(n(),r("li",{key:I},s(I),1))),128))])]),_:2},1024)])]),_:2},1024))),128)):(n(),y(p(W),{key:1,class:"mt-4",appearance:"warning"},{alertMessage:t(()=>[u("div",{innerHTML:a("data-planes.routes.item.mtls.disabled")},null,8,se)]),_:2},1024))]),e(),(n(!0),r(m,null,b([((k=o.data.dataplaneInsight)==null?void 0:k.subscriptions)??[]],l=>(n(),r(m,{key:l},[l.length>0?(n(),r("div",ne,[u("h2",null,s(a("data-planes.routes.item.subscriptions.title")),1),e(),i(p(C),{class:"mt-4"},{body:t(()=>[i(U,{subscriptions:l},null,8,["subscriptions"])]),_:2},1024)])):N("",!0)],64))),128))])]}),_:2},[E.value.length>0?{name:"notifications",fn:t(()=>[u("ul",null,[(n(!0),r(m,null,b(E.value,d=>(n(),r("li",{key:d.kind,"data-testid":`warning-${d.kind}`,innerHTML:a(`common.warnings.${d.kind}`,d.payload)},null,8,Q))),128)),e()])]),key:"0"}:void 0]),1024)]),_:1})}}});const pe=j(le,[["__scopeId","data-v-d0ff1930"]]);export{pe as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-3ee4263b.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-cedf5eb1.js similarity index 93% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-3ee4263b.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-cedf5eb1.js index ba932297936f..f342bddeb335 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-3ee4263b.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-cedf5eb1.js @@ -1 +1 @@ -import{D as g,K as y}from"./KFilterBar-8087b16b.js";import{d as h,r as s,o,i,w as a,j as n,p as V,n as w,E as C,m as k,t as v}from"./index-2441451c.js";import"./dataplane-0a086c06.js";const b=h({__name:"DataPlaneListView",setup(z){return(q,x)=>{const c=s("RouteTitle"),m=s("KCard"),d=s("AppView"),p=s("DataSource"),_=s("RouteView");return o(),i(p,{src:"/me"},{default:a(({data:u})=>[u?(o(),i(_,{key:0,name:"data-plane-list-view",params:{page:1,size:50,query:"",s:"",mesh:""}},{default:a(({route:e,t:f})=>[n(p,{src:`/meshes/${e.params.mesh}/dataplanes?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:a(({data:t,error:r})=>[n(d,null,{title:a(()=>[V("h2",null,[n(c,{title:f("data-planes.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[w(),n(m,null,{body:a(()=>[r!==void 0?(o(),i(C,{key:0,error:r},null,8,["error"])):(o(),i(g,{key:1,"data-testid":"data-plane-collection",class:"data-plane-collection","page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:t==null?void 0:t.total,items:t==null?void 0:t.items,error:r,onChange:e.update},{toolbar:a(()=>[n(y,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:e.params.query,fields:{name:{description:"filter by name or parts of a name"},service:{description:"filter by “kuma.io/service” value"},tag:{description:"filter by tags (e.g. “tag: version:2”)"},zone:{description:"filter by “kuma.io/zone” value"}},onFieldsChange:l=>e.update({query:l.query,s:l.query.length>0?JSON.stringify(l.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"])]),_:2},1032,["page-number","page-size","total","items","error","onChange"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"])]),_:1})):k("",!0)]),_:1})}}});const K=v(b,[["__scopeId","data-v-da19d488"]]);export{K as default}; +import{D as g,K as y}from"./KFilterBar-b4682513.js";import{d as h,r as s,o,i,w as a,j as n,p as V,n as w,E as C,m as k,t as v}from"./index-78eccadf.js";import"./dataplane-0a086c06.js";const b=h({__name:"DataPlaneListView",setup(z){return(q,x)=>{const c=s("RouteTitle"),m=s("KCard"),d=s("AppView"),p=s("DataSource"),_=s("RouteView");return o(),i(p,{src:"/me"},{default:a(({data:u})=>[u?(o(),i(_,{key:0,name:"data-plane-list-view",params:{page:1,size:50,query:"",s:"",mesh:""}},{default:a(({route:e,t:f})=>[n(p,{src:`/meshes/${e.params.mesh}/dataplanes?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:a(({data:t,error:r})=>[n(d,null,{title:a(()=>[V("h2",null,[n(c,{title:f("data-planes.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[w(),n(m,null,{body:a(()=>[r!==void 0?(o(),i(C,{key:0,error:r},null,8,["error"])):(o(),i(g,{key:1,"data-testid":"data-plane-collection",class:"data-plane-collection","page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:t==null?void 0:t.total,items:t==null?void 0:t.items,error:r,onChange:e.update},{toolbar:a(()=>[n(y,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:e.params.query,fields:{name:{description:"filter by name or parts of a name"},service:{description:"filter by “kuma.io/service” value"},tag:{description:"filter by tags (e.g. “tag: version:2”)"},zone:{description:"filter by “kuma.io/zone” value"}},onFieldsChange:l=>e.update({query:l.query,s:l.query.length>0?JSON.stringify(l.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"])]),_:2},1032,["page-number","page-size","total","items","error","onChange"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"])]),_:1})):k("",!0)]),_:1})}}});const K=v(b,[["__scopeId","data-v-da19d488"]]);export{K as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-b7bb8fe9.js b/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-3b66da89.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-b7bb8fe9.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-3b66da89.js index a9daae8983c0..92e1af0e92b1 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-b7bb8fe9.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-3b66da89.js @@ -1,4 +1,4 @@ -import{d as N,r as E,o as t,i as _,w as i,l as a,F as p,I as B,p as P,j as y,n as l,H as v,k as w,ad as H,t as K,m as D,h as F,E as x,x as J}from"./index-2441451c.js";import{A as M,a as Y}from"./AccordionList-b4038978.js";import{_ as z}from"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";import{P as G}from"./PolicyTypeTag-f315c056.js";import{T as j}from"./TagList-26efeadd.js";import{t as I}from"./toYaml-4e00099e.js";const Q={class:"policy-type-heading"},U={class:"policy-list"},W={key:0},X=N({__name:"PolicyTypeEntryList",props:{id:{type:String,required:!1,default:"entry-list"},policyTypeEntries:{type:Object,required:!0}},setup(C){const f=C,A=[{label:"From",key:"sourceTags"},{label:"To",key:"destinationTags"},{label:"On",key:"name"},{label:"Conf",key:"config"},{label:"Origin policies",key:"origins"}];function T({headerKey:h}){return{class:`cell-${h}`}}return(h,R)=>{const $=E("router-link");return t(),_(Y,{"initially-open":[],"multiple-open":""},{default:i(()=>[(t(!0),a(p,null,B(f.policyTypeEntries,(u,s)=>(t(),_(M,{key:s},{"accordion-header":i(()=>[P("h3",Q,[y(G,{"policy-type":u.type},{default:i(()=>[l(v(u.type)+" ("+v(u.connections.length)+`) +import{d as N,r as E,o as t,i as _,w as i,l as a,F as p,I as B,p as P,j as y,n as l,H as v,k as w,ad as H,t as K,m as D,h as F,E as x,x as J}from"./index-78eccadf.js";import{A as M,a as Y}from"./AccordionList-2feffd04.js";import{_ as z}from"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";import{P as G}from"./PolicyTypeTag-a975dbc4.js";import{T as j}from"./TagList-a8a084c7.js";import{t as I}from"./toYaml-4e00099e.js";const Q={class:"policy-type-heading"},U={class:"policy-list"},W={key:0},X=N({__name:"PolicyTypeEntryList",props:{id:{type:String,required:!1,default:"entry-list"},policyTypeEntries:{type:Object,required:!0}},setup(C){const f=C,A=[{label:"From",key:"sourceTags"},{label:"To",key:"destinationTags"},{label:"On",key:"name"},{label:"Conf",key:"config"},{label:"Origin policies",key:"origins"}];function T({headerKey:h}){return{class:`cell-${h}`}}return(h,R)=>{const $=E("router-link");return t(),_(Y,{"initially-open":[],"multiple-open":""},{default:i(()=>[(t(!0),a(p,null,B(f.policyTypeEntries,(u,s)=>(t(),_(M,{key:s},{"accordion-header":i(()=>[P("h3",Q,[y(G,{"policy-type":u.type},{default:i(()=>[l(v(u.type)+" ("+v(u.connections.length)+`) `,1)]),_:2},1032,["policy-type"])])]),"accordion-content":i(()=>[P("div",U,[y(w(H),{class:"policy-type-table",fetcher:()=>({data:u.connections,total:u.connections.length}),headers:A,"cell-attrs":T,"disable-pagination":"","is-clickable":""},{sourceTags:i(({rowValue:e})=>[e.length>0?(t(),_(j,{key:0,class:"tag-list",tags:e},null,8,["tags"])):(t(),a(p,{key:1},[l(` — `)],64))]),destinationTags:i(({rowValue:e})=>[e.length>0?(t(),_(j,{key:0,class:"tag-list",tags:e},null,8,["tags"])):(t(),a(p,{key:1},[l(` diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-cbe53184.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-01b0b27c.js similarity index 80% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-cbe53184.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-01b0b27c.js index 9d24d9fb75a1..c1da78f8e0f2 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-cbe53184.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-01b0b27c.js @@ -1 +1 @@ -import{E as c}from"./EnvoyData-2ae64069.js";import{a as m}from"./dataplane-0a086c06.js";import{d as u,r as a,o as _,i as f,w as t,j as e,p as w,n as h,k as V}from"./index-2441451c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";const k=u({__name:"DataPlaneStatsView",props:{data:{}},setup(o){const s=o;return(v,y)=>{const r=a("RouteTitle"),p=a("KCard"),l=a("AppView"),d=a("RouteView");return _(),f(d,{name:"data-plane-stats-view",params:{mesh:"",dataPlane:""}},{default:t(({route:n,t:i})=>[e(l,null,{title:t(()=>[w("h2",null,[e(r,{title:i("data-planes.routes.item.navigation.data-plane-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[h(),e(p,null,{body:t(()=>[e(c,{status:V(m)(s.data.dataplane,s.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${n.params.mesh}/dataplanes/${n.params.dataPlane}/data-path/stats`,"query-key":"envoy-data-stats-data-plane"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; +import{E as c}from"./EnvoyData-3228efeb.js";import{a as m}from"./dataplane-0a086c06.js";import{d as u,r as a,o as _,i as f,w as t,j as e,p as w,n as h,k as V}from"./index-78eccadf.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";const k=u({__name:"DataPlaneStatsView",props:{data:{}},setup(o){const s=o;return(v,y)=>{const r=a("RouteTitle"),p=a("KCard"),l=a("AppView"),d=a("RouteView");return _(),f(d,{name:"data-plane-stats-view",params:{mesh:"",dataPlane:""}},{default:t(({route:n,t:i})=>[e(l,null,{title:t(()=>[w("h2",null,[e(r,{title:i("data-planes.routes.item.navigation.data-plane-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[h(),e(p,null,{body:t(()=>[e(c,{status:V(m)(s.data.dataplane,s.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${n.params.mesh}/dataplanes/${n.params.dataPlane}/data-path/stats`,"query-key":"envoy-data-stats-data-plane"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-715dbc15.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-4d19bc26.js similarity index 80% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-715dbc15.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-4d19bc26.js index 1d67be25cba4..26b8007f70d9 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-715dbc15.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-4d19bc26.js @@ -1 +1 @@ -import{E as c}from"./EnvoyData-2ae64069.js";import{a as m}from"./dataplane-0a086c06.js";import{d as u,r as a,o as _,i as f,w as e,j as t,p as w,n as x,k as h}from"./index-2441451c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";const R=u({__name:"DataPlaneXdsConfigView",props:{data:{}},setup(o){const n=o;return(V,g)=>{const r=a("RouteTitle"),p=a("KCard"),d=a("AppView"),l=a("RouteView");return _(),f(l,{name:"data-plane-xds-config-view",params:{mesh:"",dataPlane:""}},{default:e(({route:s,t:i})=>[t(d,null,{title:e(()=>[w("h2",null,[t(r,{title:i("data-planes.routes.item.navigation.data-plane-xds-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[x(),t(p,null,{body:e(()=>[t(c,{status:h(m)(n.data.dataplane,n.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${s.params.mesh}/dataplanes/${s.params.dataPlane}/data-path/xds`,"query-key":"envoy-data-xds-data-plane"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{R as default}; +import{E as c}from"./EnvoyData-3228efeb.js";import{a as m}from"./dataplane-0a086c06.js";import{d as u,r as a,o as _,i as f,w as e,j as t,p as w,n as x,k as h}from"./index-78eccadf.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";const R=u({__name:"DataPlaneXdsConfigView",props:{data:{}},setup(o){const n=o;return(V,g)=>{const r=a("RouteTitle"),p=a("KCard"),d=a("AppView"),l=a("RouteView");return _(),f(l,{name:"data-plane-xds-config-view",params:{mesh:"",dataPlane:""}},{default:e(({route:s,t:i})=>[t(d,null,{title:e(()=>[w("h2",null,[t(r,{title:i("data-planes.routes.item.navigation.data-plane-xds-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[x(),t(p,null,{body:e(()=>[t(c,{status:h(m)(n.data.dataplane,n.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${s.params.mesh}/dataplanes/${s.params.dataPlane}/data-path/xds`,"query-key":"envoy-data-xds-data-plane"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{R as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-e0d19791.js b/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-48d94e54.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-e0d19791.js rename to app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-48d94e54.js index 5be1295c55c5..5c2d2b560786 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-e0d19791.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-48d94e54.js @@ -1,3 +1,3 @@ -import{L as D}from"./LoadingBox-e061a793.js";import{O,a as T,b as B}from"./OnboardingPage-055a5e15.js";import{d as R,R as V,y as k,V as F,r as d,o as s,i as g,w as t,j as o,n as c,l as p,I,H as f,p as h,F as x,W as N,t as P}from"./index-2441451c.js";import{g as S}from"./dataplane-0a086c06.js";const E={key:0,class:"status-loading-box mb-4"},L={key:1},C={class:"mb-4"},H=R({__name:"DataplanesOverview",setup(K){const b=V(),A=[{label:"Mesh",key:"mesh"},{label:"Name",key:"name"},{label:"Status",key:"status"}],a=k({total:0,data:[]}),_=k(null);F(function(){w()}),y();function w(){_.value!==null&&window.clearTimeout(_.value)}async function y(){let i=!1;const v=[];try{const{items:n}=await b.getAllDataplanes({size:10});if(Array.isArray(n)&&n.length>0)for(const m of n){const{name:r,mesh:u}=m,l=await b.getDataplaneOverviewFromMesh({mesh:u,name:r}),e=S(l.dataplaneInsight);e==="offline"&&(i=!0),v.push({status:e,name:r,mesh:u})}else i=!0}catch(n){console.error(n)}a.value.data=v,a.value.total=a.value.data.length,i&&(w(),_.value=window.setTimeout(y,1e3))}return(i,v)=>{const n=d("RouteTitle"),m=d("KTable"),r=d("AppView"),u=d("RouteView");return s(),g(u,{name:"onboarding-dataplanes-overview"},{default:t(({t:l})=>[o(n,{title:l("onboarding.routes.dataplanes-overview.title")},null,8,["title"]),c(),o(r,null,{default:t(()=>[o(O,null,{header:t(()=>[(s(!0),p(x,null,I([a.value.data.length>0?"success":"waiting"],e=>(s(),g(T,{key:e,"data-testid":`state-${e}`},{title:t(()=>[c(f(l(`onboarding.routes.dataplanes-overview.header.${e}.title`)),1)]),description:t(()=>[h("p",null,f(l(`onboarding.routes.dataplanes-overview.header.${e}.description`)),1)]),_:2},1032,["data-testid"]))),128))]),content:t(()=>[a.value.data.length===0?(s(),p("div",E,[o(D)])):(s(),p("div",L,[h("p",C,[h("b",null,"Found "+f(a.value.data.length)+" DPPs:",1)]),c(),o(m,{class:"mb-4",fetcher:()=>a.value,headers:A,"disable-pagination":""},{status:t(({rowValue:e})=>[e?(s(),g(N,{key:0,status:e},null,8,["status"])):(s(),p(x,{key:1},[c(` +import{L as D}from"./LoadingBox-ba4b7035.js";import{O,a as T,b as B}from"./OnboardingPage-5ac3187f.js";import{d as R,R as V,y as k,V as F,r as d,o as s,i as g,w as t,j as o,n as c,l as p,I,H as f,p as h,F as x,W as N,t as P}from"./index-78eccadf.js";import{g as S}from"./dataplane-0a086c06.js";const E={key:0,class:"status-loading-box mb-4"},L={key:1},C={class:"mb-4"},H=R({__name:"DataplanesOverview",setup(K){const b=V(),A=[{label:"Mesh",key:"mesh"},{label:"Name",key:"name"},{label:"Status",key:"status"}],a=k({total:0,data:[]}),_=k(null);F(function(){w()}),y();function w(){_.value!==null&&window.clearTimeout(_.value)}async function y(){let i=!1;const v=[];try{const{items:n}=await b.getAllDataplanes({size:10});if(Array.isArray(n)&&n.length>0)for(const m of n){const{name:r,mesh:u}=m,l=await b.getDataplaneOverviewFromMesh({mesh:u,name:r}),e=S(l.dataplaneInsight);e==="offline"&&(i=!0),v.push({status:e,name:r,mesh:u})}else i=!0}catch(n){console.error(n)}a.value.data=v,a.value.total=a.value.data.length,i&&(w(),_.value=window.setTimeout(y,1e3))}return(i,v)=>{const n=d("RouteTitle"),m=d("KTable"),r=d("AppView"),u=d("RouteView");return s(),g(u,{name:"onboarding-dataplanes-overview"},{default:t(({t:l})=>[o(n,{title:l("onboarding.routes.dataplanes-overview.title")},null,8,["title"]),c(),o(r,null,{default:t(()=>[o(O,null,{header:t(()=>[(s(!0),p(x,null,I([a.value.data.length>0?"success":"waiting"],e=>(s(),g(T,{key:e,"data-testid":`state-${e}`},{title:t(()=>[c(f(l(`onboarding.routes.dataplanes-overview.header.${e}.title`)),1)]),description:t(()=>[h("p",null,f(l(`onboarding.routes.dataplanes-overview.header.${e}.description`)),1)]),_:2},1032,["data-testid"]))),128))]),content:t(()=>[a.value.data.length===0?(s(),p("div",E,[o(D)])):(s(),p("div",L,[h("p",C,[h("b",null,"Found "+f(a.value.data.length)+" DPPs:",1)]),c(),o(m,{class:"mb-4",fetcher:()=>a.value,headers:A,"disable-pagination":""},{status:t(({rowValue:e})=>[e?(s(),g(N,{key:0,status:e},null,8,["status"])):(s(),p(x,{key:1},[c(` — `)],64))]),_:1},8,["fetcher"])]))]),navigation:t(()=>[o(B,{"next-step":"onboarding-completed","previous-step":"onboarding-add-services-code","should-allow-next":a.value.data.length>0},null,8,["should-allow-next"])]),_:2},1024)]),_:2},1024)]),_:1})}}});const U=P(H,[["__scopeId","data-v-87fb4342"]]);export{U as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-032407fb.js b/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-099ede88.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-032407fb.js rename to app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-099ede88.js index 08ab1e9cc8df..d5093fb271b6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-032407fb.js +++ b/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-099ede88.js @@ -1 +1 @@ -import{d as g,g as k,y as B,o as t,i as f,w as m,U as q,n as i,k as n,ac as F,aG as S,l as o,F as y,p as u,H as s,I as T,m as v,aL as V}from"./index-2441451c.js";const h=["data-testid"],C={key:1},D=g({__name:"DeleteResourceModal",props:{actionButtonText:{type:String,required:!1,default:"Yes, delete"},confirmationText:{type:String,required:!1,default:""},deleteFunction:{type:Function,required:!0},isVisible:{type:Boolean,required:!0},title:{type:String,required:!1,default:"Delete"}},emits:["cancel","delete"],setup(_,{emit:c}){const a=_,{t:d}=k(),e=B(null);async function x(){e.value=null;try{await a.deleteFunction(),c("delete")}catch(r){r instanceof Error?e.value=r:console.error(r)}}return(r,p)=>(t(),f(n(V),{"action-button-text":a.actionButtonText,"confirmation-text":a.confirmationText,"is-visible":a.isVisible,title:a.title,type:"danger",onCanceled:p[0]||(p[0]=l=>c("cancel")),onProceed:x},{"body-content":m(()=>[q(r.$slots,"body-content"),i(),e.value!==null?(t(),f(n(F),{key:0,class:"mt-4",appearance:"danger","is-dismissible":""},{alertMessage:m(()=>[e.value instanceof n(S)?(t(),o(y,{key:0},[u("p",null,s(n(d)("common.error_state.api_error",{status:e.value.status,title:e.value.title})),1),i(),e.value.invalidParameters.length>0?(t(),o("ul",{key:0,"data-testid":`error-${e.value.status}`},[(t(!0),o(y,null,T(e.value.invalidParameters,(l,b)=>(t(),o("li",{key:b},[u("b",null,[u("code",null,s(l.field),1)]),i(": "+s(l.reason),1)]))),128))],8,h)):v("",!0)],64)):(t(),o("p",C,s(n(d)("common.error_state.default_error")),1))]),_:1})):v("",!0)]),_:3},8,["action-button-text","confirmation-text","is-visible","title"]))}});export{D as _}; +import{d as g,g as k,y as B,o as t,i as f,w as m,U as q,n as i,k as n,ac as F,aG as S,l as o,F as y,p as u,H as s,I as T,m as v,aL as V}from"./index-78eccadf.js";const h=["data-testid"],C={key:1},D=g({__name:"DeleteResourceModal",props:{actionButtonText:{type:String,required:!1,default:"Yes, delete"},confirmationText:{type:String,required:!1,default:""},deleteFunction:{type:Function,required:!0},isVisible:{type:Boolean,required:!0},title:{type:String,required:!1,default:"Delete"}},emits:["cancel","delete"],setup(_,{emit:c}){const a=_,{t:d}=k(),e=B(null);async function x(){e.value=null;try{await a.deleteFunction(),c("delete")}catch(r){r instanceof Error?e.value=r:console.error(r)}}return(r,p)=>(t(),f(n(V),{"action-button-text":a.actionButtonText,"confirmation-text":a.confirmationText,"is-visible":a.isVisible,title:a.title,type:"danger",onCanceled:p[0]||(p[0]=l=>c("cancel")),onProceed:x},{"body-content":m(()=>[q(r.$slots,"body-content"),i(),e.value!==null?(t(),f(n(F),{key:0,class:"mt-4",appearance:"danger","is-dismissible":""},{alertMessage:m(()=>[e.value instanceof n(S)?(t(),o(y,{key:0},[u("p",null,s(n(d)("common.error_state.api_error",{status:e.value.status,title:e.value.title})),1),i(),e.value.invalidParameters.length>0?(t(),o("ul",{key:0,"data-testid":`error-${e.value.status}`},[(t(!0),o(y,null,T(e.value.invalidParameters,(l,b)=>(t(),o("li",{key:b},[u("b",null,[u("code",null,s(l.field),1)]),i(": "+s(l.reason),1)]))),128))],8,h)):v("",!0)],64)):(t(),o("p",C,s(n(d)("common.error_state.default_error")),1))]),_:1})):v("",!0)]),_:3},8,["action-button-text","confirmation-text","is-visible","title"]))}});export{D as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-57f77585.js b/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-956bec01.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-57f77585.js rename to app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-956bec01.js index fd7aea354224..f7597956f963 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-57f77585.js +++ b/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-956bec01.js @@ -1,4 +1,4 @@ -import{O as f,a as V,b as h}from"./OnboardingPage-055a5e15.js";import{d as z,L as w,M as x,f as C,y as G,h as R,r as s,o as u,i as r,w as e,j as o,n,p as d,H as T,q as D,t as M}from"./index-2441451c.js";const S={class:"graph-list mb-6"},N={class:"radio-button-group"},O=z({__name:"DeploymentTypes",setup(B){const m=w(),c={standalone:x(),"multi-zone":m},_=C(),t=G(_("use zones")?"multi-zone":"standalone"),y=R(()=>c[t.value]);return(A,a)=>{const g=s("RouteTitle"),i=s("KRadio"),b=s("AppView"),v=s("RouteView");return u(),r(v,{name:"onboarding-deployment-types"},{default:e(({t:p})=>[o(g,{title:p("onboarding.routes.deployment-types.title")},null,8,["title"]),n(),o(b,null,{default:e(()=>[o(f,{"with-image":""},{header:e(()=>[o(V,null,{title:e(()=>[n(` +import{O as f,a as V,b as h}from"./OnboardingPage-5ac3187f.js";import{d as z,L as w,M as x,f as C,y as G,h as R,r as s,o as u,i as r,w as e,j as o,n,p as d,H as T,q as D,t as M}from"./index-78eccadf.js";const S={class:"graph-list mb-6"},N={class:"radio-button-group"},O=z({__name:"DeploymentTypes",setup(B){const m=w(),c={standalone:x(),"multi-zone":m},_=C(),t=G(_("use zones")?"multi-zone":"standalone"),y=R(()=>c[t.value]);return(A,a)=>{const g=s("RouteTitle"),i=s("KRadio"),b=s("AppView"),v=s("RouteView");return u(),r(v,{name:"onboarding-deployment-types"},{default:e(({t:p})=>[o(g,{title:p("onboarding.routes.deployment-types.title")},null,8,["title"]),n(),o(b,null,{default:e(()=>[o(f,{"with-image":""},{header:e(()=>[o(V,null,{title:e(()=>[n(` Learn about deployments `)]),description:e(()=>[d("p",null,T(p("common.product.name"))+" can be deployed in standalone or multi-zone mode.",1)]),_:2},1024)]),content:e(()=>[d("div",S,[(u(),r(D(y.value)))]),n(),d("div",N,[o(i,{modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=l=>t.value=l),name:"mode","selected-value":"standalone","data-testid":"onboarding-standalone-radio-button"},{default:e(()=>[n(` Standalone deployment diff --git a/app/kuma-ui/pkg/resources/data/assets/DetailView-ff3f0a07.js b/app/kuma-ui/pkg/resources/data/assets/DetailView-7e59df2d.js similarity index 84% rename from app/kuma-ui/pkg/resources/data/assets/DetailView-ff3f0a07.js rename to app/kuma-ui/pkg/resources/data/assets/DetailView-7e59df2d.js index 9cb226b9414d..a78695436b9d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DetailView-ff3f0a07.js +++ b/app/kuma-ui/pkg/resources/data/assets/DetailView-7e59df2d.js @@ -1 +1 @@ -import{d as f,r as l,o,i as g,w as e,j as t,p,a9 as h,n,H as i,W as V,k as z,a5 as C,l as d,F as c,I as x,m as E}from"./index-2441451c.js";import{_ as v}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-7eeb44a1.js";import{g as B}from"./dataplane-0a086c06.js";import"./AccordionList-b4038978.js";const b={class:"stack","data-testid":"detail-view-details"},I={class:"columns",style:{"--columns":"2"}},N={key:0},R=f({__name:"DetailView",props:{data:{}},setup(k){const s=k;return(D,F)=>{const u=l("KCard"),w=l("AppView"),y=l("RouteView");return o(),g(y,{name:"zone-egress-detail-view"},{default:e(({t:r})=>[t(w,null,{default:e(()=>{var m;return[p("div",b,[t(u,null,{body:e(()=>[p("div",I,[t(h,null,{title:e(()=>[n(i(r("http.api.property.status")),1)]),body:e(()=>[t(V,{status:z(B)(s.data.zoneEgressInsight)},null,8,["status"])]),_:2},1024),n(),t(h,null,{title:e(()=>[n(i(r("http.api.property.address")),1)]),body:e(()=>{var a,_;return[(a=s.data.zoneEgress.networking)!=null&&a.address&&((_=s.data.zoneEgress.networking)!=null&&_.port)?(o(),g(C,{key:0,text:`${s.data.zoneEgress.networking.address}:${s.data.zoneEgress.networking.port}`},null,8,["text"])):(o(),d(c,{key:1},[n(i(r("common.detail.none")),1)],64))]}),_:2},1024)])]),_:2},1024),n(),(o(!0),d(c,null,x([((m=s.data.zoneEgressInsight)==null?void 0:m.subscriptions)??[]],a=>(o(),d(c,{key:a},[a.length>0?(o(),d("div",N,[p("h2",null,i(r("zone-egresses.routes.item.subscriptions.title")),1),n(),t(u,{class:"mt-4"},{body:e(()=>[t(v,{subscriptions:a},null,8,["subscriptions"])]),_:2},1024)])):E("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{R as default}; +import{d as f,r as l,o,i as g,w as e,j as t,p,a9 as h,n,H as i,W as V,k as z,a5 as C,l as d,F as c,I as x,m as E}from"./index-78eccadf.js";import{_ as v}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-6be9f81a.js";import{g as B}from"./dataplane-0a086c06.js";import"./AccordionList-2feffd04.js";const b={class:"stack","data-testid":"detail-view-details"},I={class:"columns",style:{"--columns":"2"}},N={key:0},R=f({__name:"DetailView",props:{data:{}},setup(k){const s=k;return(D,F)=>{const u=l("KCard"),w=l("AppView"),y=l("RouteView");return o(),g(y,{name:"zone-egress-detail-view"},{default:e(({t:r})=>[t(w,null,{default:e(()=>{var m;return[p("div",b,[t(u,null,{body:e(()=>[p("div",I,[t(h,null,{title:e(()=>[n(i(r("http.api.property.status")),1)]),body:e(()=>[t(V,{status:z(B)(s.data.zoneEgressInsight)},null,8,["status"])]),_:2},1024),n(),t(h,null,{title:e(()=>[n(i(r("http.api.property.address")),1)]),body:e(()=>{var a,_;return[(a=s.data.zoneEgress.networking)!=null&&a.address&&((_=s.data.zoneEgress.networking)!=null&&_.port)?(o(),g(C,{key:0,text:`${s.data.zoneEgress.networking.address}:${s.data.zoneEgress.networking.port}`},null,8,["text"])):(o(),d(c,{key:1},[n(i(r("common.detail.none")),1)],64))]}),_:2},1024)])]),_:2},1024),n(),(o(!0),d(c,null,x([((m=s.data.zoneEgressInsight)==null?void 0:m.subscriptions)??[]],a=>(o(),d(c,{key:a},[a.length>0?(o(),d("div",N,[p("h2",null,i(r("zone-egresses.routes.item.subscriptions.title")),1),n(),t(u,{class:"mt-4"},{body:e(()=>[t(v,{subscriptions:a},null,8,["subscriptions"])]),_:2},1024)])):E("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{R as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DetailView-3762447c.js b/app/kuma-ui/pkg/resources/data/assets/DetailView-cfe9ea11.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/DetailView-3762447c.js rename to app/kuma-ui/pkg/resources/data/assets/DetailView-cfe9ea11.js index a304a2755455..883864025696 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DetailView-3762447c.js +++ b/app/kuma-ui/pkg/resources/data/assets/DetailView-cfe9ea11.js @@ -1 +1 @@ -import{d as g,h as p,aN as b,aK as T,aO as B,r as u,o as i,i as N,w as t,j as n,a8 as S,n as e,p as r,a9 as m,H as l,W as x,l as c,F as _,I as h,m as D}from"./index-2441451c.js";import{_ as $}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-7eeb44a1.js";import"./AccordionList-b4038978.js";const z=["data-testid","innerHTML"],A={"data-testid":"detail-view-details",class:"stack"},H={class:"columns",style:{"--columns":"3"}},K={key:0},M=g({__name:"DetailView",props:{data:{},notifications:{default:()=>[]}},setup(f){const s=f,v=p(()=>b(s.data)),k=p(()=>T(s.data)),w=p(()=>B(s.data));return(L,Z)=>{const y=u("KCard"),C=u("AppView"),V=u("RouteView");return i(),N(V,{name:"zone-cp-detail-view"},{default:t(({t:a})=>[n(C,null,S({default:t(()=>{var o;return[e(),r("div",A,[n(y,null,{body:t(()=>[r("div",H,[n(m,null,{title:t(()=>[e(l(a("http.api.property.status")),1)]),body:t(()=>[n(x,{status:k.value},null,8,["status"])]),_:2},1024),e(),n(m,null,{title:t(()=>[e(l(a("http.api.property.type")),1)]),body:t(()=>[e(l(a(`common.product.environment.${v.value||"unknown"}`)),1)]),_:2},1024),e(),n(m,null,{title:t(()=>[e(l(a("http.api.property.authenticationType")),1)]),body:t(()=>[e(l(w.value||a("common.not_applicable")),1)]),_:2},1024)])]),_:2},1024),e(),(i(!0),c(_,null,h([((o=s.data.zoneInsight)==null?void 0:o.subscriptions)??[]],d=>(i(),c(_,{key:d},[d.length>0?(i(),c("div",K,[r("h2",null,l(a("zone-cps.detail.subscriptions")),1),e(),n(y,{class:"mt-4"},{body:t(()=>[n($,{subscriptions:d},null,8,["subscriptions"])]),_:2},1024)])):D("",!0)],64))),128))])]}),_:2},[s.notifications.length>0?{name:"notifications",fn:t(()=>[r("ul",null,[(i(!0),c(_,null,h(s.notifications,o=>(i(),c("li",{key:o.kind,"data-testid":`warning-${o.kind}`,innerHTML:a(`common.warnings.${o.kind}`,o.payload)},null,8,z))),128)),e()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{M as default}; +import{d as g,h as p,aN as b,aK as T,aO as B,r as u,o as i,i as N,w as t,j as n,a8 as S,n as e,p as r,a9 as m,H as l,W as x,l as c,F as _,I as h,m as D}from"./index-78eccadf.js";import{_ as $}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-6be9f81a.js";import"./AccordionList-2feffd04.js";const z=["data-testid","innerHTML"],A={"data-testid":"detail-view-details",class:"stack"},H={class:"columns",style:{"--columns":"3"}},K={key:0},M=g({__name:"DetailView",props:{data:{},notifications:{default:()=>[]}},setup(f){const s=f,v=p(()=>b(s.data)),k=p(()=>T(s.data)),w=p(()=>B(s.data));return(L,Z)=>{const y=u("KCard"),C=u("AppView"),V=u("RouteView");return i(),N(V,{name:"zone-cp-detail-view"},{default:t(({t:a})=>[n(C,null,S({default:t(()=>{var o;return[e(),r("div",A,[n(y,null,{body:t(()=>[r("div",H,[n(m,null,{title:t(()=>[e(l(a("http.api.property.status")),1)]),body:t(()=>[n(x,{status:k.value},null,8,["status"])]),_:2},1024),e(),n(m,null,{title:t(()=>[e(l(a("http.api.property.type")),1)]),body:t(()=>[e(l(a(`common.product.environment.${v.value||"unknown"}`)),1)]),_:2},1024),e(),n(m,null,{title:t(()=>[e(l(a("http.api.property.authenticationType")),1)]),body:t(()=>[e(l(w.value||a("common.not_applicable")),1)]),_:2},1024)])]),_:2},1024),e(),(i(!0),c(_,null,h([((o=s.data.zoneInsight)==null?void 0:o.subscriptions)??[]],d=>(i(),c(_,{key:d},[d.length>0?(i(),c("div",K,[r("h2",null,l(a("zone-cps.detail.subscriptions")),1),e(),n(y,{class:"mt-4"},{body:t(()=>[n($,{subscriptions:d},null,8,["subscriptions"])]),_:2},1024)])):D("",!0)],64))),128))])]}),_:2},[s.notifications.length>0?{name:"notifications",fn:t(()=>[r("ul",null,[(i(!0),c(_,null,h(s.notifications,o=>(i(),c("li",{key:o.kind,"data-testid":`warning-${o.kind}`,innerHTML:a(`common.warnings.${o.kind}`,o.payload)},null,8,z))),128)),e()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{M as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DetailView-c2fb9029.js b/app/kuma-ui/pkg/resources/data/assets/DetailView-ffc89ced.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/DetailView-c2fb9029.js rename to app/kuma-ui/pkg/resources/data/assets/DetailView-ffc89ced.js index cd471fc2fb0b..15592974a1f6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DetailView-c2fb9029.js +++ b/app/kuma-ui/pkg/resources/data/assets/DetailView-ffc89ced.js @@ -1 +1 @@ -import{d as z,r as c,o as a,i as u,w as t,j as o,p as m,a9 as g,n,H as d,W as f,k as v,a5 as w,l,F as p,I as x,m as V}from"./index-2441451c.js";import{_ as C}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-7eeb44a1.js";import{g as b}from"./dataplane-0a086c06.js";import"./AccordionList-b4038978.js";const B={class:"stack","data-testid":"detail-view-details"},A={class:"columns",style:{"--columns":"3"}},$={key:0},R=z({__name:"DetailView",props:{data:{}},setup(y){const e=y;return(N,D)=>{const _=c("KCard"),I=c("AppView"),h=c("RouteView");return a(),u(h,{name:"zone-ingress-detail-view"},{default:t(({t:r})=>[o(I,null,{default:t(()=>{var k;return[m("div",B,[o(_,null,{body:t(()=>[m("div",A,[o(g,null,{title:t(()=>[n(d(r("http.api.property.status")),1)]),body:t(()=>[o(f,{status:v(b)(e.data.zoneIngressInsight)},null,8,["status"])]),_:2},1024),n(),o(g,null,{title:t(()=>[n(d(r("http.api.property.address")),1)]),body:t(()=>{var s,i;return[(s=e.data.zoneIngress.networking)!=null&&s.address&&((i=e.data.zoneIngress.networking)!=null&&i.port)?(a(),u(w,{key:0,text:`${e.data.zoneIngress.networking.address}:${e.data.zoneIngress.networking.port}`},null,8,["text"])):(a(),l(p,{key:1},[n(d(r("common.detail.none")),1)],64))]}),_:2},1024),n(),o(g,null,{title:t(()=>[n(d(r("http.api.property.advertisedAddress")),1)]),body:t(()=>{var s,i;return[(s=e.data.zoneIngress.networking)!=null&&s.advertisedAddress&&((i=e.data.zoneIngress.networking)!=null&&i.advertisedPort)?(a(),u(w,{key:0,text:`${e.data.zoneIngress.networking.advertisedAddress}:${e.data.zoneIngress.networking.advertisedPort}`},null,8,["text"])):(a(),l(p,{key:1},[n(d(r("common.detail.none")),1)],64))]}),_:2},1024)])]),_:2},1024),n(),(a(!0),l(p,null,x([((k=e.data.zoneIngressInsight)==null?void 0:k.subscriptions)??[]],s=>(a(),l(p,{key:s},[s.length>0?(a(),l("div",$,[m("h2",null,d(r("zone-ingresses.routes.item.subscriptions.title")),1),n(),o(_,{class:"mt-4"},{body:t(()=>[o(C,{subscriptions:s},null,8,["subscriptions"])]),_:2},1024)])):V("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{R as default}; +import{d as z,r as c,o as a,i as u,w as t,j as o,p as m,a9 as g,n,H as d,W as f,k as v,a5 as w,l,F as p,I as x,m as V}from"./index-78eccadf.js";import{_ as C}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-6be9f81a.js";import{g as b}from"./dataplane-0a086c06.js";import"./AccordionList-2feffd04.js";const B={class:"stack","data-testid":"detail-view-details"},A={class:"columns",style:{"--columns":"3"}},$={key:0},R=z({__name:"DetailView",props:{data:{}},setup(y){const e=y;return(N,D)=>{const _=c("KCard"),I=c("AppView"),h=c("RouteView");return a(),u(h,{name:"zone-ingress-detail-view"},{default:t(({t:r})=>[o(I,null,{default:t(()=>{var k;return[m("div",B,[o(_,null,{body:t(()=>[m("div",A,[o(g,null,{title:t(()=>[n(d(r("http.api.property.status")),1)]),body:t(()=>[o(f,{status:v(b)(e.data.zoneIngressInsight)},null,8,["status"])]),_:2},1024),n(),o(g,null,{title:t(()=>[n(d(r("http.api.property.address")),1)]),body:t(()=>{var s,i;return[(s=e.data.zoneIngress.networking)!=null&&s.address&&((i=e.data.zoneIngress.networking)!=null&&i.port)?(a(),u(w,{key:0,text:`${e.data.zoneIngress.networking.address}:${e.data.zoneIngress.networking.port}`},null,8,["text"])):(a(),l(p,{key:1},[n(d(r("common.detail.none")),1)],64))]}),_:2},1024),n(),o(g,null,{title:t(()=>[n(d(r("http.api.property.advertisedAddress")),1)]),body:t(()=>{var s,i;return[(s=e.data.zoneIngress.networking)!=null&&s.advertisedAddress&&((i=e.data.zoneIngress.networking)!=null&&i.advertisedPort)?(a(),u(w,{key:0,text:`${e.data.zoneIngress.networking.advertisedAddress}:${e.data.zoneIngress.networking.advertisedPort}`},null,8,["text"])):(a(),l(p,{key:1},[n(d(r("common.detail.none")),1)],64))]}),_:2},1024)])]),_:2},1024),n(),(a(!0),l(p,null,x([((k=e.data.zoneIngressInsight)==null?void 0:k.subscriptions)??[]],s=>(a(),l(p,{key:s},[s.length>0?(a(),l("div",$,[m("h2",null,d(r("zone-ingresses.routes.item.subscriptions.title")),1),n(),o(_,{class:"mt-4"},{body:t(()=>[o(C,{subscriptions:s},null,8,["subscriptions"])]),_:2},1024)])):V("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{R as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-1078cb05.js b/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-c37d2592.js similarity index 81% rename from app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-1078cb05.js rename to app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-c37d2592.js index 058cc01634e0..a1c34f5dbda2 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-1078cb05.js +++ b/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-c37d2592.js @@ -1 +1 @@ -import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";import{d as p,r as e,o,i as s,w as t,j as n,p as f,n as g,E as b,x as k}from"./index-2441451c.js";const h=p({__name:"DiagnosticsView",setup(V){return(w,y)=>{const r=e("RouteTitle"),d=e("KCard"),l=e("AppView"),u=e("DataSource"),_=e("RouteView");return o(),s(_,{name:"diagnostics"},{default:t(({t:a})=>[n(u,{src:"/config"},{default:t(({data:c,error:i})=>[n(l,{breadcrumbs:[{to:{name:"diagnostics"},text:a("diagnostics.routes.item.breadcrumbs")}]},{title:t(()=>[f("h1",null,[n(r,{title:a("diagnostics.routes.item.title"),render:!0},null,8,["title"])])]),default:t(()=>[g(),n(d,null,{body:t(()=>[i?(o(),s(b,{key:0,error:i},null,8,["error"])):c===void 0?(o(),s(k,{key:1})):(o(),s(m,{key:2,id:"code-block-diagnostics","data-testid":"code-block-diagnostics",language:"json",code:JSON.stringify(c,null,2),"is-searchable":"","query-key":"diagnostics"},null,8,["code"]))]),_:2},1024)]),_:2},1032,["breadcrumbs"])]),_:2},1024)]),_:1})}}});export{h as default}; +import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";import{d as p,r as e,o,i as s,w as t,j as n,p as f,n as g,E as b,x as k}from"./index-78eccadf.js";const h=p({__name:"DiagnosticsView",setup(V){return(w,y)=>{const r=e("RouteTitle"),d=e("KCard"),l=e("AppView"),u=e("DataSource"),_=e("RouteView");return o(),s(_,{name:"diagnostics"},{default:t(({t:a})=>[n(u,{src:"/config"},{default:t(({data:c,error:i})=>[n(l,{breadcrumbs:[{to:{name:"diagnostics"},text:a("diagnostics.routes.item.breadcrumbs")}]},{title:t(()=>[f("h1",null,[n(r,{title:a("diagnostics.routes.item.title"),render:!0},null,8,["title"])])]),default:t(()=>[g(),n(d,null,{body:t(()=>[i?(o(),s(b,{key:0,error:i},null,8,["error"])):c===void 0?(o(),s(k,{key:1})):(o(),s(m,{key:2,id:"code-block-diagnostics","data-testid":"code-block-diagnostics",language:"json",code:JSON.stringify(c,null,2),"is-searchable":"","query-key":"diagnostics"},null,8,["code"]))]),_:2},1024)]),_:2},1032,["breadcrumbs"])]),_:2},1024)]),_:1})}}});export{h as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/EnvoyData-2ae64069.js b/app/kuma-ui/pkg/resources/data/assets/EnvoyData-3228efeb.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/EnvoyData-2ae64069.js rename to app/kuma-ui/pkg/resources/data/assets/EnvoyData-3228efeb.js index f9ddebc514b8..bf286c19c782 100644 --- a/app/kuma-ui/pkg/resources/data/assets/EnvoyData-2ae64069.js +++ b/app/kuma-ui/pkg/resources/data/assets/EnvoyData-3228efeb.js @@ -1,4 +1,4 @@ -import{d as p,g as f,o as e,l as i,i as s,w as n,p as _,H as k,k as r,ac as m,E as g,x as v,af as q,F as x,j as o,Y as E,ar as S,K as h,n as u,s as b,t as B}from"./index-2441451c.js";import{_ as C}from"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";const I={class:"envoy-data-actions"},N=p({__name:"EnvoyData",props:{status:{type:String,required:!0},resource:{type:String,required:!0},src:{type:String,required:!0},queryKey:{type:String,required:!0}},setup(l){const t=l,{t:y}=f();return(D,K)=>(e(),i("div",null,[t.status!=="online"?(e(),s(r(m),{key:0,appearance:"info"},{alertMessage:n(()=>[_("p",null,k(r(y)("common.detail.no_envoy_data",{resource:t.resource})),1)]),_:1})):(e(),s(b,{key:1,src:t.src},{default:n(({data:a,error:c,refresh:d})=>[c?(e(),s(g,{key:0,error:c},null,8,["error"])):a===void 0?(e(),s(v,{key:1})):a===""?(e(),s(q,{key:2})):(e(),i(x,{key:3},[_("div",I,[o(r(E),{appearance:"primary","data-testid":"envoy-data-refresh-button",onClick:d},{default:n(()=>[o(r(S),{size:r(h)},null,8,["size"]),u(` +import{d as p,g as f,o as e,l as i,i as s,w as n,p as _,H as k,k as r,ac as m,E as g,x as v,af as q,F as x,j as o,Y as E,ar as S,K as h,n as u,s as b,t as B}from"./index-78eccadf.js";import{_ as C}from"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";const I={class:"envoy-data-actions"},N=p({__name:"EnvoyData",props:{status:{type:String,required:!0},resource:{type:String,required:!0},src:{type:String,required:!0},queryKey:{type:String,required:!0}},setup(l){const t=l,{t:y}=f();return(D,K)=>(e(),i("div",null,[t.status!=="online"?(e(),s(r(m),{key:0,appearance:"info"},{alertMessage:n(()=>[_("p",null,k(r(y)("common.detail.no_envoy_data",{resource:t.resource})),1)]),_:1})):(e(),s(b,{key:1,src:t.src},{default:n(({data:a,error:c,refresh:d})=>[c?(e(),s(g,{key:0,error:c},null,8,["error"])):a===void 0?(e(),s(v,{key:1})):a===""?(e(),s(q,{key:2})):(e(),i(x,{key:3},[_("div",I,[o(r(E),{appearance:"primary","data-testid":"envoy-data-refresh-button",onClick:d},{default:n(()=>[o(r(S),{size:r(h)},null,8,["size"]),u(` Refresh `)]),_:2},1032,["onClick"])]),u(),o(C,{id:"code-block-envoy-data",language:"json",code:typeof a=="string"?a:JSON.stringify(a,null,2),"is-searchable":"","query-key":t.queryKey},null,8,["code","query-key"])],64))]),_:1},8,["src"]))]))}});const j=B(N,[["__scopeId","data-v-faac85b9"]]);export{j as E}; diff --git a/app/kuma-ui/pkg/resources/data/assets/GatewayListView-639e8a24.js b/app/kuma-ui/pkg/resources/data/assets/GatewayListView-001c81fc.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/GatewayListView-639e8a24.js rename to app/kuma-ui/pkg/resources/data/assets/GatewayListView-001c81fc.js index ccc5b0e26af0..6f99cdee9f9e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/GatewayListView-639e8a24.js +++ b/app/kuma-ui/pkg/resources/data/assets/GatewayListView-001c81fc.js @@ -1 +1 @@ -import{d as h,r as l,o as i,i as n,w as t,j as o,p as v,n as p,E as S,H as z,m as V,t as C}from"./index-2441451c.js";import{D as k,K as T}from"./KFilterBar-8087b16b.js";import"./dataplane-0a086c06.js";const q=h({__name:"GatewayListView",setup(x){return(B,D)=>{const u=l("RouteTitle"),_=l("KSelect"),y=l("KCard"),g=l("AppView"),c=l("DataSource"),d=l("RouteView");return i(),n(c,{src:"/me"},{default:t(({data:m})=>[m?(i(),n(d,{key:0,name:"gateway-list-view",params:{page:1,size:m.pageSize,gatewayType:"all",query:"",s:"",mesh:""}},{default:t(({route:e,can:f,t:w})=>[o(c,{src:`/meshes/${e.params.mesh}/gateways/of/${e.params.gatewayType}?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:t(({data:s,error:r})=>[o(g,null,{title:t(()=>[v("h2",null,[o(u,{title:w("gateways.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[p(),o(y,null,{body:t(()=>[r!==void 0?(i(),n(S,{key:0,error:r},null,8,["error"])):(i(),n(k,{key:1,"data-testid":"gateway-collection",class:"gateway-collection","page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:s==null?void 0:s.total,items:s==null?void 0:s.items,error:r,gateways:!0,onChange:({page:a,size:b})=>{e.update({page:String(a),size:String(b)})}},{toolbar:t(()=>[o(T,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:e.params.query,fields:{name:{description:"filter by name or parts of a name"},service:{description:"filter by “kuma.io/service” value"},tag:{description:"filter by tags (e.g. “tag: version:2”)"},...f("use zones")?{zone:{description:"filter by “kuma.io/zone” value"}}:{}},onFieldsChange:a=>e.update({query:a.query,s:a.query.length>0?JSON.stringify(a.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"]),p(),o(_,{label:"Type","overlay-label":!0,items:[{label:"All",value:"all"},{label:"Builtin",value:"builtin"},{label:"Delegated",value:"delegated"}].map(a=>({...a,selected:a.value===e.params.gatewayType})),appearance:"select",onSelected:a=>e.update({gatewayType:String(a.value)})},{"item-template":t(({item:a})=>[p(z(a.label),1)]),_:2},1032,["items","onSelected"])]),_:2},1032,["page-number","page-size","total","items","error","onChange"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):V("",!0)]),_:1})}}});const L=C(q,[["__scopeId","data-v-98b75f4c"]]);export{L as default}; +import{d as h,r as l,o as i,i as n,w as t,j as o,p as v,n as p,E as S,H as z,m as V,t as C}from"./index-78eccadf.js";import{D as k,K as T}from"./KFilterBar-b4682513.js";import"./dataplane-0a086c06.js";const q=h({__name:"GatewayListView",setup(x){return(B,D)=>{const u=l("RouteTitle"),_=l("KSelect"),y=l("KCard"),g=l("AppView"),c=l("DataSource"),d=l("RouteView");return i(),n(c,{src:"/me"},{default:t(({data:m})=>[m?(i(),n(d,{key:0,name:"gateway-list-view",params:{page:1,size:m.pageSize,gatewayType:"all",query:"",s:"",mesh:""}},{default:t(({route:e,can:f,t:w})=>[o(c,{src:`/meshes/${e.params.mesh}/gateways/of/${e.params.gatewayType}?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:t(({data:s,error:r})=>[o(g,null,{title:t(()=>[v("h2",null,[o(u,{title:w("gateways.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[p(),o(y,null,{body:t(()=>[r!==void 0?(i(),n(S,{key:0,error:r},null,8,["error"])):(i(),n(k,{key:1,"data-testid":"gateway-collection",class:"gateway-collection","page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:s==null?void 0:s.total,items:s==null?void 0:s.items,error:r,gateways:!0,onChange:({page:a,size:b})=>{e.update({page:String(a),size:String(b)})}},{toolbar:t(()=>[o(T,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:e.params.query,fields:{name:{description:"filter by name or parts of a name"},service:{description:"filter by “kuma.io/service” value"},tag:{description:"filter by tags (e.g. “tag: version:2”)"},...f("use zones")?{zone:{description:"filter by “kuma.io/zone” value"}}:{}},onFieldsChange:a=>e.update({query:a.query,s:a.query.length>0?JSON.stringify(a.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"]),p(),o(_,{label:"Type","overlay-label":!0,items:[{label:"All",value:"all"},{label:"Builtin",value:"builtin"},{label:"Delegated",value:"delegated"}].map(a=>({...a,selected:a.value===e.params.gatewayType})),appearance:"select",onSelected:a=>e.update({gatewayType:String(a.value)})},{"item-template":t(({item:a})=>[p(z(a.label),1)]),_:2},1032,["items","onSelected"])]),_:2},1032,["page-number","page-size","total","items","error","onChange"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):V("",!0)]),_:1})}}});const L=C(q,[["__scopeId","data-v-98b75f4c"]]);export{L as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-29031140.js b/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-0c7ed791.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-29031140.js rename to app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-0c7ed791.js index 29bce9cfe7c8..17256b3976d8 100644 --- a/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-29031140.js +++ b/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-0c7ed791.js @@ -1,4 +1,4 @@ -import{A as $,a as x}from"./AccordionList-b4038978.js";import{d as S,h as R,r as v,o as e,l as c,p as o,n as t,F as g,I as b,H as r,j as _,w as l,m as B,i as f,a8 as C,D as I,G as A,t as K,E as V,x as j}from"./index-2441451c.js";const k=w=>(I("data-v-c7f30269"),w=w(),A(),w),T={class:"policies-list"},F={class:"mesh-gateway-policy-list"},H=k(()=>o("h3",{class:"mb-2"},` +import{A as $,a as x}from"./AccordionList-2feffd04.js";import{d as S,h as R,r as v,o as e,l as c,p as o,n as t,F as g,I as b,H as r,j as _,w as l,m as B,i as f,a8 as C,D as I,G as A,t as K,E as V,x as j}from"./index-78eccadf.js";const k=w=>(I("data-v-c7f30269"),w=w(),A(),w),T={class:"policies-list"},F={class:"mesh-gateway-policy-list"},H=k(()=>o("h3",{class:"mb-2"},` Gateway policies `,-1)),O={key:0},M=k(()=>o("h3",{class:"mt-6 mb-2"},` Listeners diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-4a7b4610.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-043c2b48.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-4a7b4610.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-043c2b48.js index fc5edafe4960..cf1e40d082a3 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-4a7b4610.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-043c2b48.js @@ -1 +1 @@ -import{d as x,g as V,a4 as R,r as n,o,i as u,w as t,j as s,k as l,p as k,a5 as h,n as w,E as y,x as B,l as C,F as I,q as N}from"./index-2441451c.js";import{N as T}from"./NavTabs-9c3818b4.js";const S=x({__name:"IndexView",setup(D){var _;const{t:a}=V(),z=(((_=R().getRoutes().find(e=>e.name==="zone-ingress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var i,c;const m=typeof e.name>"u"?(i=e.children)==null?void 0:i[0]:e,r=m.name,p=((c=m.meta)==null?void 0:c.module)??"";return{title:a(`zone-ingresses.routes.item.navigation.${r}`),routeName:r,module:p}});return(e,m)=>{const r=n("RouteTitle"),p=n("RouterView"),f=n("DataSource"),i=n("AppView"),c=n("RouteView");return o(),u(c,{name:"zone-ingress-detail-tabs-view",params:{zoneIngress:""}},{default:t(({route:d})=>[s(i,{breadcrumbs:[{to:{name:"zone-cp-list-view"},text:l(a)("zone-cps.routes.item.breadcrumbs")},{to:{name:"zone-ingress-list-view"},text:l(a)("zone-ingresses.routes.item.breadcrumbs")}]},{title:t(()=>[k("h1",null,[s(h,{text:d.params.zoneIngress},{default:t(()=>[s(r,{title:l(a)("zone-ingresses.routes.item.title",{name:d.params.zoneIngress}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[w(),s(f,{src:`/zone-ingress-overviews/${d.params.zoneIngress}`},{default:t(({data:g,error:b})=>[b!==void 0?(o(),u(y,{key:0,error:b},null,8,["error"])):g===void 0?(o(),u(B,{key:1})):(o(),C(I,{key:2},[s(T,{class:"route-zone-ingress-detail-view-tabs",tabs:l(z)},null,8,["tabs"]),w(),s(p,null,{default:t(v=>[(o(),u(N(v.Component),{data:g},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{S as default}; +import{d as x,g as V,a4 as R,r as n,o,i as u,w as t,j as s,k as l,p as k,a5 as h,n as w,E as y,x as B,l as C,F as I,q as N}from"./index-78eccadf.js";import{N as T}from"./NavTabs-2aea5887.js";const S=x({__name:"IndexView",setup(D){var _;const{t:a}=V(),z=(((_=R().getRoutes().find(e=>e.name==="zone-ingress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var i,c;const m=typeof e.name>"u"?(i=e.children)==null?void 0:i[0]:e,r=m.name,p=((c=m.meta)==null?void 0:c.module)??"";return{title:a(`zone-ingresses.routes.item.navigation.${r}`),routeName:r,module:p}});return(e,m)=>{const r=n("RouteTitle"),p=n("RouterView"),f=n("DataSource"),i=n("AppView"),c=n("RouteView");return o(),u(c,{name:"zone-ingress-detail-tabs-view",params:{zoneIngress:""}},{default:t(({route:d})=>[s(i,{breadcrumbs:[{to:{name:"zone-cp-list-view"},text:l(a)("zone-cps.routes.item.breadcrumbs")},{to:{name:"zone-ingress-list-view"},text:l(a)("zone-ingresses.routes.item.breadcrumbs")}]},{title:t(()=>[k("h1",null,[s(h,{text:d.params.zoneIngress},{default:t(()=>[s(r,{title:l(a)("zone-ingresses.routes.item.title",{name:d.params.zoneIngress}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[w(),s(f,{src:`/zone-ingress-overviews/${d.params.zoneIngress}`},{default:t(({data:g,error:b})=>[b!==void 0?(o(),u(y,{key:0,error:b},null,8,["error"])):g===void 0?(o(),u(B,{key:1})):(o(),C(I,{key:2},[s(T,{class:"route-zone-ingress-detail-view-tabs",tabs:l(z)},null,8,["tabs"]),w(),s(p,null,{default:t(v=>[(o(),u(N(v.Component),{data:g},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{S as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-1698b5cd.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-14a77b4d.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-1698b5cd.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-14a77b4d.js index dd06595315e6..5ab395412e86 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-1698b5cd.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-14a77b4d.js @@ -1 +1 @@ -import{d as V,g as R,a4 as k,r as o,o as n,i as u,w as t,j as s,k as l,p as E,a5 as h,n as w,E as y,x as B,l as C,F as N,q as T}from"./index-2441451c.js";import{N as D}from"./NavTabs-9c3818b4.js";const j=V({__name:"IndexView",setup($){var _;const{t:a}=R(),z=(((_=k().getRoutes().find(e=>e.name==="zone-egress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var c,i;const m=typeof e.name>"u"?(c=e.children)==null?void 0:c[0]:e,r=m.name,p=((i=m.meta)==null?void 0:i.module)??"";return{title:a(`zone-egresses.routes.item.navigation.${r}`),routeName:r,module:p}});return(e,m)=>{const r=o("RouteTitle"),p=o("RouterView"),f=o("DataSource"),c=o("AppView"),i=o("RouteView");return n(),u(i,{name:"zone-egress-detail-tabs-view",params:{zoneEgress:""}},{default:t(({route:d,can:v})=>[s(c,{breadcrumbs:[...v("use zones")?[{to:{name:"zone-cp-list-view"},text:l(a)("zone-cps.routes.item.breadcrumbs")}]:[],{to:{name:"zone-egress-list-view"},text:l(a)("zone-egresses.routes.item.breadcrumbs")}]},{title:t(()=>[E("h1",null,[s(h,{text:d.params.zoneEgress},{default:t(()=>[s(r,{title:l(a)("zone-egresses.routes.item.title",{name:d.params.zoneEgress}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[w(),s(f,{src:`/zone-egress-overviews/${d.params.zoneEgress}`},{default:t(({data:g,error:b})=>[b!==void 0?(n(),u(y,{key:0,error:b},null,8,["error"])):g===void 0?(n(),u(B,{key:1})):(n(),C(N,{key:2},[s(D,{class:"route-zone-egress-detail-view-tabs",tabs:l(z)},null,8,["tabs"]),w(),s(p,null,{default:t(x=>[(n(),u(T(x.Component),{data:g},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{j as default}; +import{d as V,g as R,a4 as k,r as o,o as n,i as u,w as t,j as s,k as l,p as E,a5 as h,n as w,E as y,x as B,l as C,F as N,q as T}from"./index-78eccadf.js";import{N as D}from"./NavTabs-2aea5887.js";const j=V({__name:"IndexView",setup($){var _;const{t:a}=R(),z=(((_=k().getRoutes().find(e=>e.name==="zone-egress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var c,i;const m=typeof e.name>"u"?(c=e.children)==null?void 0:c[0]:e,r=m.name,p=((i=m.meta)==null?void 0:i.module)??"";return{title:a(`zone-egresses.routes.item.navigation.${r}`),routeName:r,module:p}});return(e,m)=>{const r=o("RouteTitle"),p=o("RouterView"),f=o("DataSource"),c=o("AppView"),i=o("RouteView");return n(),u(i,{name:"zone-egress-detail-tabs-view",params:{zoneEgress:""}},{default:t(({route:d,can:v})=>[s(c,{breadcrumbs:[...v("use zones")?[{to:{name:"zone-cp-list-view"},text:l(a)("zone-cps.routes.item.breadcrumbs")}]:[],{to:{name:"zone-egress-list-view"},text:l(a)("zone-egresses.routes.item.breadcrumbs")}]},{title:t(()=>[E("h1",null,[s(h,{text:d.params.zoneEgress},{default:t(()=>[s(r,{title:l(a)("zone-egresses.routes.item.title",{name:d.params.zoneEgress}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[w(),s(f,{src:`/zone-egress-overviews/${d.params.zoneEgress}`},{default:t(({data:g,error:b})=>[b!==void 0?(n(),u(y,{key:0,error:b},null,8,["error"])):g===void 0?(n(),u(B,{key:1})):(n(),C(N,{key:2},[s(D,{class:"route-zone-egress-detail-view-tabs",tabs:l(z)},null,8,["tabs"]),w(),s(p,null,{default:t(x=>[(n(),u(T(x.Component),{data:g},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{j as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-6dde2d3b.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-27b32497.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-6dde2d3b.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-27b32497.js index 202c7d1df1ce..690bd93a1f25 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-6dde2d3b.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-27b32497.js @@ -1 +1 @@ -import{d as N,g as R,R as T,a4 as E,y as A,o as l,l as B,j as c,w as o,k as e,a3 as D,aM as M,n as _,H as g,a1 as I,i as d,p as h,m as Z,r as b,E as $,x as L,a8 as j,a5 as P,q}from"./index-2441451c.js";import{_ as G}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-032407fb.js";import{N as Y}from"./NavTabs-9c3818b4.js";const H=N({__name:"ZoneActionMenu",props:{zoneOverview:{type:Object,required:!0},kpopAttributes:{type:Object,default:()=>({placement:"bottomEnd"})}},setup(x){const s=x,{t:r}=R(),O=T(),z=E(),u=A(!1);function v(){u.value=!u.value}async function w(){await O.deleteZone({name:s.zoneOverview.name})}function t(){z.push({name:"zone-cp-list-view"})}return(i,n)=>(l(),B("div",null,[c(e(I),{"button-appearance":"creation","kpop-attributes":s.kpopAttributes,label:e(r)("zones.action_menu.toggle_button"),"show-caret":"",width:"280"},{items:o(()=>[c(e(D),{"is-dangerous":"","data-testid":"delete-button",onClick:M(v,["prevent"])},{default:o(()=>[_(g(e(r)("zones.action_menu.delete_button")),1)]),_:1},8,["onClick"])]),_:1},8,["kpop-attributes","label"]),_(),u.value?(l(),d(G,{key:0,"confirmation-text":s.zoneOverview.name,"delete-function":w,"is-visible":"","action-button-text":e(r)("common.delete_modal.proceed_button"),title:e(r)("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:v,onDelete:t},{"body-content":o(()=>[h("p",null,g(e(r)("common.delete_modal.text1",{type:"Zone",name:s.zoneOverview.name})),1),_(),h("p",null,g(e(r)("common.delete_modal.text2")),1)]),_:1},8,["confirmation-text","action-button-text","title"])):Z("",!0)]))}}),F=N({__name:"IndexView",setup(x){var w;const{t:s}=R(),z=(((w=E().getRoutes().find(t=>t.name==="zone-cp-detail-tabs-view"))==null?void 0:w.children)??[]).map(t=>{var a,p;const i=typeof t.name>"u"?(a=t.children)==null?void 0:a[0]:t,n=i.name,m=((p=i.meta)==null?void 0:p.module)??"";return{title:s(`zone-cps.routes.item.navigation.${n}`),routeName:n,module:m}}),u=A([]),v=t=>{var m,f;const i=[],n=((m=t.zoneInsight)==null?void 0:m.subscriptions)??[];if(n.length>0){const a=n[n.length-1],p=a.version.kumaCp.version||"-",{kumaCpGlobalCompatible:k=!0}=a.version.kumaCp;a.config&&((f=JSON.parse(a.config))==null?void 0:f.store.type)==="memory"&&i.push({kind:"ZONE_STORE_TYPE_MEMORY",payload:{}}),k||i.push({kind:"INCOMPATIBLE_ZONE_AND_GLOBAL_CPS_VERSIONS",payload:{zoneCpVersion:p}})}u.value=i};return(t,i)=>{const n=b("RouteTitle"),m=b("RouterView"),f=b("AppView"),a=b("DataSource"),p=b("RouteView");return l(),d(p,{name:"zone-cp-detail-tabs-view",params:{zone:""}},{default:o(({can:k,route:y})=>[c(a,{src:`/zone-cps/${y.params.zone}`,onChange:v},{default:o(({data:C,error:V})=>[V!==void 0?(l(),d($,{key:0,error:V},null,8,["error"])):C===void 0?(l(),d(L,{key:1})):(l(),d(f,{key:2,breadcrumbs:[{to:{name:"zone-cp-list-view"},text:e(s)("zone-cps.routes.item.breadcrumbs")}]},j({title:o(()=>[h("h1",null,[c(P,{text:y.params.zone},{default:o(()=>[c(n,{title:e(s)("zone-cps.routes.item.title",{name:y.params.zone}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:o(()=>[_(),_(),c(Y,{class:"route-zone-detail-view-tabs",tabs:e(z)},null,8,["tabs"]),_(),c(m,null,{default:o(S=>[(l(),d(q(S.Component),{data:C,notifications:u.value},null,8,["data","notifications"]))]),_:2},1024)]),_:2},[k("create zones")?{name:"actions",fn:o(()=>[c(H,{"zone-overview":C},null,8,["zone-overview"])]),key:"0"}:void 0]),1032,["breadcrumbs"]))]),_:2},1032,["src"])]),_:1})}}});export{F as default}; +import{d as N,g as R,R as T,a4 as E,y as A,o as l,l as B,j as c,w as o,k as e,a3 as D,aM as M,n as _,H as g,a1 as I,i as d,p as h,m as Z,r as b,E as $,x as L,a8 as j,a5 as P,q}from"./index-78eccadf.js";import{_ as G}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-099ede88.js";import{N as Y}from"./NavTabs-2aea5887.js";const H=N({__name:"ZoneActionMenu",props:{zoneOverview:{type:Object,required:!0},kpopAttributes:{type:Object,default:()=>({placement:"bottomEnd"})}},setup(x){const s=x,{t:r}=R(),O=T(),z=E(),u=A(!1);function v(){u.value=!u.value}async function w(){await O.deleteZone({name:s.zoneOverview.name})}function t(){z.push({name:"zone-cp-list-view"})}return(i,n)=>(l(),B("div",null,[c(e(I),{"button-appearance":"creation","kpop-attributes":s.kpopAttributes,label:e(r)("zones.action_menu.toggle_button"),"show-caret":"",width:"280"},{items:o(()=>[c(e(D),{"is-dangerous":"","data-testid":"delete-button",onClick:M(v,["prevent"])},{default:o(()=>[_(g(e(r)("zones.action_menu.delete_button")),1)]),_:1},8,["onClick"])]),_:1},8,["kpop-attributes","label"]),_(),u.value?(l(),d(G,{key:0,"confirmation-text":s.zoneOverview.name,"delete-function":w,"is-visible":"","action-button-text":e(r)("common.delete_modal.proceed_button"),title:e(r)("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:v,onDelete:t},{"body-content":o(()=>[h("p",null,g(e(r)("common.delete_modal.text1",{type:"Zone",name:s.zoneOverview.name})),1),_(),h("p",null,g(e(r)("common.delete_modal.text2")),1)]),_:1},8,["confirmation-text","action-button-text","title"])):Z("",!0)]))}}),F=N({__name:"IndexView",setup(x){var w;const{t:s}=R(),z=(((w=E().getRoutes().find(t=>t.name==="zone-cp-detail-tabs-view"))==null?void 0:w.children)??[]).map(t=>{var a,p;const i=typeof t.name>"u"?(a=t.children)==null?void 0:a[0]:t,n=i.name,m=((p=i.meta)==null?void 0:p.module)??"";return{title:s(`zone-cps.routes.item.navigation.${n}`),routeName:n,module:m}}),u=A([]),v=t=>{var m,f;const i=[],n=((m=t.zoneInsight)==null?void 0:m.subscriptions)??[];if(n.length>0){const a=n[n.length-1],p=a.version.kumaCp.version||"-",{kumaCpGlobalCompatible:k=!0}=a.version.kumaCp;a.config&&((f=JSON.parse(a.config))==null?void 0:f.store.type)==="memory"&&i.push({kind:"ZONE_STORE_TYPE_MEMORY",payload:{}}),k||i.push({kind:"INCOMPATIBLE_ZONE_AND_GLOBAL_CPS_VERSIONS",payload:{zoneCpVersion:p}})}u.value=i};return(t,i)=>{const n=b("RouteTitle"),m=b("RouterView"),f=b("AppView"),a=b("DataSource"),p=b("RouteView");return l(),d(p,{name:"zone-cp-detail-tabs-view",params:{zone:""}},{default:o(({can:k,route:y})=>[c(a,{src:`/zone-cps/${y.params.zone}`,onChange:v},{default:o(({data:C,error:V})=>[V!==void 0?(l(),d($,{key:0,error:V},null,8,["error"])):C===void 0?(l(),d(L,{key:1})):(l(),d(f,{key:2,breadcrumbs:[{to:{name:"zone-cp-list-view"},text:e(s)("zone-cps.routes.item.breadcrumbs")}]},j({title:o(()=>[h("h1",null,[c(P,{text:y.params.zone},{default:o(()=>[c(n,{title:e(s)("zone-cps.routes.item.title",{name:y.params.zone}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:o(()=>[_(),_(),c(Y,{class:"route-zone-detail-view-tabs",tabs:e(z)},null,8,["tabs"]),_(),c(m,null,{default:o(S=>[(l(),d(q(S.Component),{data:C,notifications:u.value},null,8,["data","notifications"]))]),_:2},1024)]),_:2},[k("create zones")?{name:"actions",fn:o(()=>[c(H,{"zone-overview":C},null,8,["zone-overview"])]),key:"0"}:void 0]),1032,["breadcrumbs"]))]),_:2},1032,["src"])]),_:1})}}});export{F as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-87802f56.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-32e4ccfe.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-87802f56.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-32e4ccfe.js index 0eae591c75b5..fcf1754f3d5d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-87802f56.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-32e4ccfe.js @@ -1 +1 @@ -import{d as B,r as s,o as n,i as l,w as e,j as a,p as E,n as d,E as R,a0 as D,H as y,a5 as S,l as z,F as x,W as N,k as v,a2 as T,K as $,m as A,t as F}from"./index-2441451c.js";import{g as L}from"./dataplane-0a086c06.js";const P=B({__name:"IndexView",setup(M){function b(f){return f.map(i=>{const{name:m}=i,u={name:"zone-egress-detail-view",params:{zoneEgress:m}},{networking:t}=i.zoneEgress;let p;t!=null&&t.address&&(t!=null&&t.port)&&(p=`${t.address}:${t.port}`);const _=L(i.zoneEgressInsight??{});return{detailViewRoute:u,name:m,addressPort:p,status:_}})}return(f,i)=>{const m=s("RouteTitle"),u=s("RouterLink"),t=s("KButton"),p=s("KDropdownItem"),_=s("KDropdownMenu"),h=s("KCard"),w=s("DataSource"),C=s("AppView"),I=s("RouteView");return n(),l(w,{src:"/me"},{default:e(({data:V})=>[V?(n(),l(I,{key:0,name:"zone-egress-list-view",params:{zone:""}},{default:e(({route:k,t:c})=>[a(C,null,{title:e(()=>[E("h2",null,[a(m,{title:c("zone-egresses.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[d(),a(w,{src:`/zone-cps/${k.params.zone||"*"}/egresses?page=1&size=100`},{default:e(({data:r,error:g})=>[a(h,null,{body:e(()=>[g!==void 0?(n(),l(R,{key:0,error:g},null,8,["error"])):(n(),l(D,{key:1,class:"zone-egress-collection","data-testid":"zone-egress-collection",headers:[{label:"Name",key:"name"},{label:"Address",key:"addressPort"},{label:"Status",key:"status"},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":1,"page-size":100,total:r==null?void 0:r.total,items:r?b(r.items):void 0,error:g,"empty-state-message":c("common.emptyState.message",{type:"Zone Egresses"}),"empty-state-cta-to":c("zone-egresses.href.docs"),"empty-state-cta-text":c("common.documentation"),onChange:k.update},{name:e(({row:o,rowValue:K})=>[a(u,{to:o.detailViewRoute,"data-testid":"detail-view-link"},{default:e(()=>[d(y(K),1)]),_:2},1032,["to"])]),addressPort:e(({rowValue:o})=>[o?(n(),l(S,{key:0,text:o},null,8,["text"])):(n(),z(x,{key:1},[d(y(c("common.collection.none")),1)],64))]),status:e(({rowValue:o})=>[o?(n(),l(N,{key:0,status:o},null,8,["status"])):(n(),z(x,{key:1},[d(y(c("common.collection.none")),1)],64))]),actions:e(({row:o})=>[a(_,{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[a(t,{class:"non-visual-button",appearance:"secondary",size:"small"},{default:e(()=>[a(v(T),{size:v($)},null,8,["size"])]),_:1})]),items:e(()=>[a(p,{item:{to:o.detailViewRoute,label:c("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024)]),_:2},1032,["src"])]),_:2},1024)]),_:1},8,["params"])):A("",!0)]),_:1})}}});const j=F(P,[["__scopeId","data-v-f2886350"]]);export{j as default}; +import{d as B,r as s,o as n,i as l,w as e,j as a,p as E,n as d,E as R,a0 as D,H as y,a5 as S,l as z,F as x,W as N,k as v,a2 as T,K as $,m as A,t as F}from"./index-78eccadf.js";import{g as L}from"./dataplane-0a086c06.js";const P=B({__name:"IndexView",setup(M){function b(f){return f.map(i=>{const{name:m}=i,u={name:"zone-egress-detail-view",params:{zoneEgress:m}},{networking:t}=i.zoneEgress;let p;t!=null&&t.address&&(t!=null&&t.port)&&(p=`${t.address}:${t.port}`);const _=L(i.zoneEgressInsight??{});return{detailViewRoute:u,name:m,addressPort:p,status:_}})}return(f,i)=>{const m=s("RouteTitle"),u=s("RouterLink"),t=s("KButton"),p=s("KDropdownItem"),_=s("KDropdownMenu"),h=s("KCard"),w=s("DataSource"),C=s("AppView"),I=s("RouteView");return n(),l(w,{src:"/me"},{default:e(({data:V})=>[V?(n(),l(I,{key:0,name:"zone-egress-list-view",params:{zone:""}},{default:e(({route:k,t:c})=>[a(C,null,{title:e(()=>[E("h2",null,[a(m,{title:c("zone-egresses.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[d(),a(w,{src:`/zone-cps/${k.params.zone||"*"}/egresses?page=1&size=100`},{default:e(({data:r,error:g})=>[a(h,null,{body:e(()=>[g!==void 0?(n(),l(R,{key:0,error:g},null,8,["error"])):(n(),l(D,{key:1,class:"zone-egress-collection","data-testid":"zone-egress-collection",headers:[{label:"Name",key:"name"},{label:"Address",key:"addressPort"},{label:"Status",key:"status"},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":1,"page-size":100,total:r==null?void 0:r.total,items:r?b(r.items):void 0,error:g,"empty-state-message":c("common.emptyState.message",{type:"Zone Egresses"}),"empty-state-cta-to":c("zone-egresses.href.docs"),"empty-state-cta-text":c("common.documentation"),onChange:k.update},{name:e(({row:o,rowValue:K})=>[a(u,{to:o.detailViewRoute,"data-testid":"detail-view-link"},{default:e(()=>[d(y(K),1)]),_:2},1032,["to"])]),addressPort:e(({rowValue:o})=>[o?(n(),l(S,{key:0,text:o},null,8,["text"])):(n(),z(x,{key:1},[d(y(c("common.collection.none")),1)],64))]),status:e(({rowValue:o})=>[o?(n(),l(N,{key:0,status:o},null,8,["status"])):(n(),z(x,{key:1},[d(y(c("common.collection.none")),1)],64))]),actions:e(({row:o})=>[a(_,{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[a(t,{class:"non-visual-button",appearance:"secondary",size:"small"},{default:e(()=>[a(v(T),{size:v($)},null,8,["size"])]),_:1})]),items:e(()=>[a(p,{item:{to:o.detailViewRoute,label:c("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024)]),_:2},1032,["src"])]),_:2},1024)]),_:1},8,["params"])):A("",!0)]),_:1})}}});const j=F(P,[["__scopeId","data-v-f2886350"]]);export{j as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-97b4b9d3.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-40d75528.js similarity index 98% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-97b4b9d3.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-40d75528.js index 9500b4c9a9c4..c794e218c0af 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-97b4b9d3.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-40d75528.js @@ -1 +1 @@ -import{d as T,r as s,o as n,i as c,w as t,j as a,p as B,n as l,E as S,a0 as D,H as u,a5 as b,l as g,F as I,W as E,k as w,aJ as N,K as P,m as $,t as L}from"./index-2441451c.js";import{g as O}from"./dataplane-0a086c06.js";const F=T({__name:"IndexView",setup(U){function C(z){return z.map(i=>{const{name:m}=i,y={name:"zone-ingress-detail-view",params:{zoneIngress:m}},{networking:e}=i.zoneIngress;let p;e!=null&&e.address&&(e!=null&&e.port)&&(p=`${e.address}:${e.port}`);let _;e!=null&&e.advertisedAddress&&(e!=null&&e.advertisedPort)&&(_=`${e.advertisedAddress}:${e.advertisedPort}`);const f=O(i.zoneIngressInsight??{});return{detailViewRoute:y,name:m,addressPort:p,advertisedAddressPort:_,status:f}})}return(z,i)=>{const m=s("RouteTitle"),y=s("RouterLink"),e=s("KIcon"),p=s("KButton"),_=s("KDropdownItem"),f=s("KDropdownMenu"),K=s("KCard"),k=s("DataSource"),R=s("AppView"),h=s("RouteView");return n(),c(k,{src:"/me"},{default:t(({data:A})=>[A?(n(),c(h,{key:0,name:"zone-ingress-list-view",params:{zone:""}},{default:t(({route:x,t:r})=>[a(R,null,{title:t(()=>[B("h2",null,[a(m,{title:r("zone-ingresses.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[l(),a(k,{src:`/zone-cps/${x.params.zone}/ingresses?page=1&size=100`},{default:t(({data:d,error:v})=>[a(K,null,{body:t(()=>[v!==void 0?(n(),c(S,{key:0,error:v},null,8,["error"])):(n(),c(D,{key:1,class:"zone-ingress-collection","data-testid":"zone-ingress-collection",headers:[{label:"Name",key:"name"},{label:"Address",key:"addressPort"},{label:"Advertised address",key:"advertisedAddressPort"},{label:"Status",key:"status"},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":1,"page-size":100,total:d==null?void 0:d.total,items:d?C(d.items):void 0,error:v,"empty-state-message":r("common.emptyState.message",{type:"Zone Ingresses"}),"empty-state-cta-to":r("zone-ingresses.href.docs"),"empty-state-cta-text":r("common.documentation"),onChange:x.update},{name:t(({row:o,rowValue:V})=>[a(y,{to:o.detailViewRoute,"data-testid":"detail-view-link"},{default:t(()=>[l(u(V),1)]),_:2},1032,["to"])]),addressPort:t(({rowValue:o})=>[o?(n(),c(b,{key:0,text:o},null,8,["text"])):(n(),g(I,{key:1},[l(u(r("common.collection.none")),1)],64))]),advertisedAddressPort:t(({rowValue:o})=>[o?(n(),c(b,{key:0,text:o},null,8,["text"])):(n(),g(I,{key:1},[l(u(r("common.collection.none")),1)],64))]),status:t(({rowValue:o})=>[o?(n(),c(E,{key:0,status:o},null,8,["status"])):(n(),g(I,{key:1},[l(u(r("common.collection.none")),1)],64))]),actions:t(({row:o})=>[a(f,{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:t(()=>[a(p,{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:t(()=>[a(e,{color:w(N),icon:"more",size:w(P)},null,8,["color","size"])]),_:1})]),items:t(()=>[a(_,{item:{to:o.detailViewRoute,label:r("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024)]),_:2},1032,["src"])]),_:2},1024)]),_:1},8,["params"])):$("",!0)]),_:1})}}});const Z=L(F,[["__scopeId","data-v-f0fbdc79"]]);export{Z as default}; +import{d as T,r as s,o as n,i as c,w as t,j as a,p as B,n as l,E as S,a0 as D,H as u,a5 as b,l as g,F as I,W as E,k as w,aJ as N,K as P,m as $,t as L}from"./index-78eccadf.js";import{g as O}from"./dataplane-0a086c06.js";const F=T({__name:"IndexView",setup(U){function C(z){return z.map(i=>{const{name:m}=i,y={name:"zone-ingress-detail-view",params:{zoneIngress:m}},{networking:e}=i.zoneIngress;let p;e!=null&&e.address&&(e!=null&&e.port)&&(p=`${e.address}:${e.port}`);let _;e!=null&&e.advertisedAddress&&(e!=null&&e.advertisedPort)&&(_=`${e.advertisedAddress}:${e.advertisedPort}`);const f=O(i.zoneIngressInsight??{});return{detailViewRoute:y,name:m,addressPort:p,advertisedAddressPort:_,status:f}})}return(z,i)=>{const m=s("RouteTitle"),y=s("RouterLink"),e=s("KIcon"),p=s("KButton"),_=s("KDropdownItem"),f=s("KDropdownMenu"),K=s("KCard"),k=s("DataSource"),R=s("AppView"),h=s("RouteView");return n(),c(k,{src:"/me"},{default:t(({data:A})=>[A?(n(),c(h,{key:0,name:"zone-ingress-list-view",params:{zone:""}},{default:t(({route:x,t:r})=>[a(R,null,{title:t(()=>[B("h2",null,[a(m,{title:r("zone-ingresses.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[l(),a(k,{src:`/zone-cps/${x.params.zone}/ingresses?page=1&size=100`},{default:t(({data:d,error:v})=>[a(K,null,{body:t(()=>[v!==void 0?(n(),c(S,{key:0,error:v},null,8,["error"])):(n(),c(D,{key:1,class:"zone-ingress-collection","data-testid":"zone-ingress-collection",headers:[{label:"Name",key:"name"},{label:"Address",key:"addressPort"},{label:"Advertised address",key:"advertisedAddressPort"},{label:"Status",key:"status"},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":1,"page-size":100,total:d==null?void 0:d.total,items:d?C(d.items):void 0,error:v,"empty-state-message":r("common.emptyState.message",{type:"Zone Ingresses"}),"empty-state-cta-to":r("zone-ingresses.href.docs"),"empty-state-cta-text":r("common.documentation"),onChange:x.update},{name:t(({row:o,rowValue:V})=>[a(y,{to:o.detailViewRoute,"data-testid":"detail-view-link"},{default:t(()=>[l(u(V),1)]),_:2},1032,["to"])]),addressPort:t(({rowValue:o})=>[o?(n(),c(b,{key:0,text:o},null,8,["text"])):(n(),g(I,{key:1},[l(u(r("common.collection.none")),1)],64))]),advertisedAddressPort:t(({rowValue:o})=>[o?(n(),c(b,{key:0,text:o},null,8,["text"])):(n(),g(I,{key:1},[l(u(r("common.collection.none")),1)],64))]),status:t(({rowValue:o})=>[o?(n(),c(E,{key:0,status:o},null,8,["status"])):(n(),g(I,{key:1},[l(u(r("common.collection.none")),1)],64))]),actions:t(({row:o})=>[a(f,{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:t(()=>[a(p,{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:t(()=>[a(e,{color:w(N),icon:"more",size:w(P)},null,8,["color","size"])]),_:1})]),items:t(()=>[a(_,{item:{to:o.detailViewRoute,label:r("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024)]),_:2},1032,["src"])]),_:2},1024)]),_:1},8,["params"])):$("",!0)]),_:1})}}});const Z=L(F,[["__scopeId","data-v-f0fbdc79"]]);export{Z as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-1f4df612.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-b88dc26a.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-1f4df612.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-b88dc26a.js index 87c05a07128e..1c21e20366c4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-1f4df612.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-b88dc26a.js @@ -1 +1 @@ -import{d as j,R as F,y as Z,r as v,o as n,i as u,w as e,j as l,a8 as G,p as x,n as a,k as i,$ as J,E as M,a0 as P,H as c,W,l as k,F as V,aa as H,I as X,m as h,v as Y,K as T,a1 as q,Y as E,aI as Q,aJ as ee,a3 as B,aK as te,t as oe}from"./index-2441451c.js";import{_ as ne}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-032407fb.js";const ae=["data-testid"],se=j({__name:"IndexView",setup(le){const $=F(),I=Z(!1),D=Z(!1),z=Z("");function A(m){return m.map(g=>{var r;const{name:b}=g,S={name:"zone-cp-detail-view",params:{zone:b}};let y="",w="kubernetes",C=!1,f=!0;(((r=g.zoneInsight)==null?void 0:r.subscriptions)??[]).forEach(s=>{if(s.version&&s.version.kumaCp){y=s.version.kumaCp.version;const{kumaCpGlobalCompatible:p=!0}=s.version.kumaCp;f=p}if(s.config){const p=JSON.parse(s.config);w=p.environment,C=p.store.type==="memory"}});const t=te(g);return{detailViewRoute:S,name:b,status:t,zoneCpVersion:y,type:w,warnings:{version_mismatch:!f,store_memory:C}}})}async function L(){await $.deleteZone({name:z.value})}function R(){I.value=!I.value}function K(m){R(),z.value=m}function O(m){D.value=(m==null?void 0:m.items.length)>0}return(m,g)=>{const b=v("RouteTitle"),S=v("RouterLink"),y=v("DataSource"),w=v("AppView"),C=v("RouteView");return n(),u(y,{src:"/me"},{default:e(({data:f})=>[f?(n(),u(C,{key:0,name:"zone-cp-list-view",params:{page:1,size:f.pageSize}},{default:e(({route:d,t,can:r})=>[l(w,null,G({title:e(()=>[x("h1",null,[l(b,{title:t("zone-cps.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[a(),a(),l(y,{src:`/zone-cps?page=${d.params.page}&size=${d.params.size}`,onChange:O},{default:e(({data:s,error:p,refresh:U})=>[l(i(J),null,{body:e(()=>[p!==void 0?(n(),u(M,{key:0,error:p},null,8,["error"])):(n(),u(P,{key:1,class:"zone-cp-collection","data-testid":"zone-cp-collection",headers:[{label:"Name",key:"name"},{label:"Zone CP Version",key:"zoneCpVersion"},{label:"Type",key:"type"},{label:"Status",key:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":parseInt(d.params.page),"page-size":parseInt(d.params.size),total:s==null?void 0:s.total,items:s?A(s.items):void 0,error:p,"empty-state-title":r("create zones")?t("zone-cps.empty_state.title"):void 0,"empty-state-message":r("create zones")?t("zone-cps.empty_state.message"):void 0,"empty-state-cta-to":r("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":r("create zones")?t("zones.index.create"):void 0,onChange:d.update},{name:e(({row:o,rowValue:_})=>[l(S,{to:o.detailViewRoute,"data-testid":"detail-view-link"},{default:e(()=>[a(c(_),1)]),_:2},1032,["to"])]),zoneCpVersion:e(({rowValue:o})=>[a(c(o||t("common.collection.none")),1)]),type:e(({rowValue:o})=>[a(c(o||t("common.collection.none")),1)]),status:e(({rowValue:o})=>[o?(n(),u(W,{key:0,status:o},null,8,["status"])):(n(),k(V,{key:1},[a(c(t("common.collection.none")),1)],64))]),warnings:e(({row:o})=>[Object.values(o.warnings).some(_=>_)?(n(),u(i(H),{key:0},{content:e(()=>[x("ul",null,[(n(!0),k(V,null,X(o.warnings,(_,N)=>(n(),k(V,{key:N},[_?(n(),k("li",{key:0,"data-testid":`warning-${N}`},c(t(`zone-cps.list.${N}`)),9,ae)):h("",!0)],64))),128))])]),default:e(()=>[a(),l(Y,{"data-testid":"warning",class:"mr-1",size:i(T),"hide-title":""},null,8,["size"])]),_:2},1024)):(n(),k(V,{key:1},[a(c(t("common.collection.none")),1)],64))]),actions:e(({row:o})=>[l(i(q),{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[l(i(E),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:e(()=>[l(i(Q),{color:i(ee),icon:"more",size:i(T)},null,8,["color","size"])]),_:1})]),items:e(()=>[l(i(B),{item:{to:o.detailViewRoute,label:t("common.collection.actions.view")}},null,8,["item"]),a(),r("create zones")?(n(),u(i(B),{key:0,"has-divider":"","is-dangerous":"","data-testid":"dropdown-delete-item",onClick:_=>K(o.name)},{default:e(()=>[a(c(t("common.collection.actions.delete")),1)]),_:2},1032,["onClick"])):h("",!0)]),_:2},1024)]),_:2},1032,["page-number","page-size","total","items","error","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024),a(),I.value?(n(),u(ne,{key:0,"confirmation-text":z.value,"delete-function":L,"is-visible":"","action-button-text":t("common.delete_modal.proceed_button"),title:t("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:R,onDelete:()=>{R(),U()}},{"body-content":e(()=>[x("p",null,c(t("common.delete_modal.text1",{type:"Zone",name:z.value})),1),a(),x("p",null,c(t("common.delete_modal.text2")),1)]),_:2},1032,["confirmation-text","action-button-text","title","onDelete"])):h("",!0)]),_:2},1032,["src"])]),_:2},[r("create zones")&&D.value?{name:"actions",fn:e(()=>[l(i(E),{appearance:"primary",icon:"plus",to:{name:"zone-create-view"},"data-testid":"create-zone-link"},{default:e(()=>[a(c(t("zones.index.create")),1)]),_:2},1024)]),key:"0"}:void 0]),1024)]),_:2},1032,["params"])):h("",!0)]),_:1})}}});const re=oe(se,[["__scopeId","data-v-570e5473"]]);export{re as default}; +import{d as j,R as F,y as Z,r as v,o as n,i as u,w as e,j as l,a8 as G,p as x,n as a,k as i,$ as J,E as M,a0 as P,H as c,W,l as k,F as V,aa as H,I as X,m as h,v as Y,K as T,a1 as q,Y as E,aI as Q,aJ as ee,a3 as B,aK as te,t as oe}from"./index-78eccadf.js";import{_ as ne}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-099ede88.js";const ae=["data-testid"],se=j({__name:"IndexView",setup(le){const $=F(),I=Z(!1),D=Z(!1),z=Z("");function A(m){return m.map(g=>{var r;const{name:b}=g,S={name:"zone-cp-detail-view",params:{zone:b}};let y="",w="kubernetes",C=!1,f=!0;(((r=g.zoneInsight)==null?void 0:r.subscriptions)??[]).forEach(s=>{if(s.version&&s.version.kumaCp){y=s.version.kumaCp.version;const{kumaCpGlobalCompatible:p=!0}=s.version.kumaCp;f=p}if(s.config){const p=JSON.parse(s.config);w=p.environment,C=p.store.type==="memory"}});const t=te(g);return{detailViewRoute:S,name:b,status:t,zoneCpVersion:y,type:w,warnings:{version_mismatch:!f,store_memory:C}}})}async function L(){await $.deleteZone({name:z.value})}function R(){I.value=!I.value}function K(m){R(),z.value=m}function O(m){D.value=(m==null?void 0:m.items.length)>0}return(m,g)=>{const b=v("RouteTitle"),S=v("RouterLink"),y=v("DataSource"),w=v("AppView"),C=v("RouteView");return n(),u(y,{src:"/me"},{default:e(({data:f})=>[f?(n(),u(C,{key:0,name:"zone-cp-list-view",params:{page:1,size:f.pageSize}},{default:e(({route:d,t,can:r})=>[l(w,null,G({title:e(()=>[x("h1",null,[l(b,{title:t("zone-cps.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[a(),a(),l(y,{src:`/zone-cps?page=${d.params.page}&size=${d.params.size}`,onChange:O},{default:e(({data:s,error:p,refresh:U})=>[l(i(J),null,{body:e(()=>[p!==void 0?(n(),u(M,{key:0,error:p},null,8,["error"])):(n(),u(P,{key:1,class:"zone-cp-collection","data-testid":"zone-cp-collection",headers:[{label:"Name",key:"name"},{label:"Zone CP Version",key:"zoneCpVersion"},{label:"Type",key:"type"},{label:"Status",key:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":parseInt(d.params.page),"page-size":parseInt(d.params.size),total:s==null?void 0:s.total,items:s?A(s.items):void 0,error:p,"empty-state-title":r("create zones")?t("zone-cps.empty_state.title"):void 0,"empty-state-message":r("create zones")?t("zone-cps.empty_state.message"):void 0,"empty-state-cta-to":r("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":r("create zones")?t("zones.index.create"):void 0,onChange:d.update},{name:e(({row:o,rowValue:_})=>[l(S,{to:o.detailViewRoute,"data-testid":"detail-view-link"},{default:e(()=>[a(c(_),1)]),_:2},1032,["to"])]),zoneCpVersion:e(({rowValue:o})=>[a(c(o||t("common.collection.none")),1)]),type:e(({rowValue:o})=>[a(c(o||t("common.collection.none")),1)]),status:e(({rowValue:o})=>[o?(n(),u(W,{key:0,status:o},null,8,["status"])):(n(),k(V,{key:1},[a(c(t("common.collection.none")),1)],64))]),warnings:e(({row:o})=>[Object.values(o.warnings).some(_=>_)?(n(),u(i(H),{key:0},{content:e(()=>[x("ul",null,[(n(!0),k(V,null,X(o.warnings,(_,N)=>(n(),k(V,{key:N},[_?(n(),k("li",{key:0,"data-testid":`warning-${N}`},c(t(`zone-cps.list.${N}`)),9,ae)):h("",!0)],64))),128))])]),default:e(()=>[a(),l(Y,{"data-testid":"warning",class:"mr-1",size:i(T),"hide-title":""},null,8,["size"])]),_:2},1024)):(n(),k(V,{key:1},[a(c(t("common.collection.none")),1)],64))]),actions:e(({row:o})=>[l(i(q),{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[l(i(E),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:e(()=>[l(i(Q),{color:i(ee),icon:"more",size:i(T)},null,8,["color","size"])]),_:1})]),items:e(()=>[l(i(B),{item:{to:o.detailViewRoute,label:t("common.collection.actions.view")}},null,8,["item"]),a(),r("create zones")?(n(),u(i(B),{key:0,"has-divider":"","is-dangerous":"","data-testid":"dropdown-delete-item",onClick:_=>K(o.name)},{default:e(()=>[a(c(t("common.collection.actions.delete")),1)]),_:2},1032,["onClick"])):h("",!0)]),_:2},1024)]),_:2},1032,["page-number","page-size","total","items","error","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024),a(),I.value?(n(),u(ne,{key:0,"confirmation-text":z.value,"delete-function":L,"is-visible":"","action-button-text":t("common.delete_modal.proceed_button"),title:t("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:R,onDelete:()=>{R(),U()}},{"body-content":e(()=>[x("p",null,c(t("common.delete_modal.text1",{type:"Zone",name:z.value})),1),a(),x("p",null,c(t("common.delete_modal.text2")),1)]),_:2},1032,["confirmation-text","action-button-text","title","onDelete"])):h("",!0)]),_:2},1032,["src"])]),_:2},[r("create zones")&&D.value?{name:"actions",fn:e(()=>[l(i(E),{appearance:"primary",icon:"plus",to:{name:"zone-create-view"},"data-testid":"create-zone-link"},{default:e(()=>[a(c(t("zones.index.create")),1)]),_:2},1024)]),key:"0"}:void 0]),1024)]),_:2},1032,["params"])):h("",!0)]),_:1})}}});const re=oe(se,[["__scopeId","data-v-570e5473"]]);export{re as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/KFilterBar-8087b16b.js b/app/kuma-ui/pkg/resources/data/assets/KFilterBar-b4682513.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/KFilterBar-8087b16b.js rename to app/kuma-ui/pkg/resources/data/assets/KFilterBar-b4682513.js index 226720cc04b5..f04bef69212e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/KFilterBar-8087b16b.js +++ b/app/kuma-ui/pkg/resources/data/assets/KFilterBar-b4682513.js @@ -1,2 +1,2 @@ -var ce=Object.defineProperty;var de=(n,o,a)=>o in n?ce(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a;var V=(n,o,a)=>(de(n,typeof o!="symbol"?o+"":o,a),a);import{d as oe,g as pe,f as me,r as fe,o as p,i as B,w as y,U as ie,j as D,n as f,H as b,l as k,F as L,W as ge,k as c,aa as ve,p as w,I as le,m as H,v as ye,K as M,a1 as he,Y as be,a2 as ke,a3 as _e,a0 as Te,t as re,y as U,h as Q,as as ae,at as Se,au as we,av as Ce,B as ne,aw as xe,ax as De,z as Ie,V as ze,D as Ue,G as Le}from"./index-2441451c.js";import{d as Ae,a as Ne,c as Fe,C as je}from"./dataplane-0a086c06.js";const Ee={key:0},Be=oe({__name:"DataPlaneList",props:{total:{default:0},pageNumber:{},pageSize:{},items:{},error:{},gateways:{type:Boolean,default:!1}},emits:["load-data","change"],setup(n,{emit:o}){const a=n,{t:i,formatIsoDate:s}=pe(),g=me()("use zones");function T(v){return v.map(l=>{var j,I,K,e,r,m,z,Y;const S=l.mesh,t=l.name,_=((j=l.dataplane.networking.gateway)==null?void 0:j.type)||"STANDARD",x={name:_==="STANDARD"?"data-plane-detail-view":"gateway-detail-view",params:{mesh:S,dataPlane:t}},O=["kuma.io/protocol","kuma.io/service","kuma.io/zone"],A=Ae(l.dataplane).filter(u=>O.includes(u.label)),E=(I=A.find(u=>u.label==="kuma.io/service"))==null?void 0:I.value,Z=(K=A.find(u=>u.label==="kuma.io/protocol"))==null?void 0:K.value,N=(e=A.find(u=>u.label==="kuma.io/zone"))==null?void 0:e.value;let $;E!==void 0&&($={name:"service-detail-view",params:{mesh:S,service:E}});let P;N!==void 0&&(P={name:"zone-cp-detail-view",params:{zone:N}});const{status:R}=Ne(l.dataplane,l.dataplaneInsight),W=((r=l.dataplaneInsight)==null?void 0:r.subscriptions)??[],G={totalUpdates:0,totalRejectedUpdates:0,dpVersion:null,envoyVersion:null,selectedTime:NaN,selectedUpdateTime:NaN,version:null},h=W.reduce((u,C)=>{var X,ee;if(C.connectTime){const te=Date.parse(C.connectTime);(!u.selectedTime||te>u.selectedTime)&&(u.selectedTime=te)}const J=Date.parse(C.status.lastUpdateTime);return J&&(!u.selectedUpdateTime||J>u.selectedUpdateTime)&&(u.selectedUpdateTime=J),{totalUpdates:u.totalUpdates+parseInt(C.status.total.responsesSent??"0",10),totalRejectedUpdates:u.totalRejectedUpdates+parseInt(C.status.total.responsesRejected??"0",10),dpVersion:((X=C.version)==null?void 0:X.kumaDp.version)||u.dpVersion,envoyVersion:((ee=C.version)==null?void 0:ee.envoy.version)||u.envoyVersion,selectedTime:u.selectedTime,selectedUpdateTime:u.selectedUpdateTime,version:C.version||u.version}},G),F={name:t,dataplaneInsight:l.dataplaneInsight,detailViewRoute:x,type:_,zone:{title:N??i("common.collection.none"),route:P},service:{title:E??i("common.collection.none"),route:$},protocol:Z??i("common.collection.none"),status:R,totalUpdates:h.totalUpdates,totalRejectedUpdates:h.totalRejectedUpdates,envoyVersion:h.envoyVersion??i("common.collection.none"),warnings:{version_mismatch:!1,cert_expired:!1},lastUpdated:h.selectedUpdateTime?s(new Date(h.selectedUpdateTime).toUTCString()):i("common.collection.none"),lastConnected:h.selectedTime?s(new Date(h.selectedTime).toUTCString()):i("common.collection.none"),overview:l};if(h.version){const{kind:u}=Fe(h.version);u!==je&&(F.warnings.version_mismatch=!0)}g&&h.dpVersion&&A.find(C=>C.label==="kuma.io/zone")&&typeof((m=h.version)==null?void 0:m.kumaDp.kumaCpCompatible)=="boolean"&&!h.version.kumaDp.kumaCpCompatible&&(F.warnings.version_mismatch=!0);const q=(Y=(z=l.dataplaneInsight)==null?void 0:z.mTLS)==null?void 0:Y.certificateExpirationTime;return q&&Date.now()>new Date(q).getTime()&&(F.warnings.cert_expired=!0),F})}return(v,l)=>{const S=fe("RouterLink");return p(),B(Te,{"empty-state-message":c(i)("common.emptyState.message",{type:a.gateways?"Gateways":"Data Plane Proxies"}),"empty-state-cta-to":c(i)(`data-planes.href.docs.${a.gateways?"gateway":"data_plane_proxy"}`),"empty-state-cta-text":c(i)("common.documentation"),headers:[{label:"Name",key:"name"},...a.gateways?[{label:"Type",key:"type"}]:[],{label:"Service",key:"service"},...a.gateways?[]:[{label:"Protocol",key:"protocol"}],...c(g)?[{label:"Zone",key:"zone"}]:[],{label:"Last Updated",key:"lastUpdated"},{label:"Certificate Info",key:"certificate"},{label:"Status",key:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":a.pageNumber,"page-size":a.pageSize,total:a.total,items:a.items?T(a.items):void 0,error:a.error,onChange:l[0]||(l[0]=t=>o("change",t))},{toolbar:y(()=>[ie(v.$slots,"toolbar",{},void 0,!0)]),name:y(({row:t})=>[D(S,{to:{name:a.gateways?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:t.name}},"data-testid":"detail-view-link"},{default:y(()=>[f(b(t.name),1)]),_:2},1032,["to"])]),service:y(({rowValue:t})=>[t.route?(p(),B(S,{key:0,to:t.route},{default:y(()=>[f(b(t.title),1)]),_:2},1032,["to"])):(p(),k(L,{key:1},[f(b(t.title),1)],64))]),zone:y(({rowValue:t})=>[t.route?(p(),B(S,{key:0,to:t.route},{default:y(()=>[f(b(t.title),1)]),_:2},1032,["to"])):(p(),k(L,{key:1},[f(b(t.title),1)],64))]),status:y(({rowValue:t})=>[t?(p(),B(ge,{key:0,status:t},null,8,["status"])):(p(),k(L,{key:1},[f(b(c(i)("common.collection.none")),1)],64))]),warnings:y(({row:t})=>[Object.values(t.warnings).some(_=>_)?(p(),B(c(ve),{key:0},{content:y(()=>[w("ul",null,[(p(!0),k(L,null,le(t.warnings,(_,x)=>(p(),k(L,{key:x},[_?(p(),k("li",Ee,b(c(i)(`data-planes.components.data-plane-list.${x}`)),1)):H("",!0)],64))),128))])]),default:y(()=>[f(),D(ye,{class:"mr-1",size:c(M),"hide-title":""},null,8,["size"])]),_:2},1024)):(p(),k(L,{key:1},[f(b(c(i)("common.collection.none")),1)],64))]),certificate:y(({row:t})=>{var _,x;return[f(b((x=(_=t.dataplaneInsight)==null?void 0:_.mTLS)!=null&&x.certificateExpirationTime?c(s)(new Date(t.dataplaneInsight.mTLS.certificateExpirationTime).toUTCString()):c(i)("data-planes.components.data-plane-list.certificate.none")),1)]}),actions:y(({row:t})=>[D(c(he),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:y(()=>[D(c(be),{class:"non-visual-button",appearance:"secondary",size:"small"},{default:y(()=>[D(c(ke),{size:c(M)},null,8,["size"])]),_:1})]),items:y(()=>[D(c(_e),{item:{to:{name:a.gateways?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:t.name}},label:c(i)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:3},8,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error"])}}});const lt=re(Be,[["__scopeId","data-v-c24aa601"]]);function Me(n,o,a){return Math.max(o,Math.min(n,a))}const $e=["ControlLeft","ControlRight","ShiftLeft","ShiftRight","AltLeft"];class Pe{constructor(o,a){V(this,"commands");V(this,"keyMap");V(this,"boundTriggerShortcuts");this.commands=a,this.keyMap=Object.fromEntries(Object.entries(o).map(([i,s])=>[i.toLowerCase(),s])),this.boundTriggerShortcuts=this.triggerShortcuts.bind(this)}registerListener(){document.addEventListener("keydown",this.boundTriggerShortcuts)}unRegisterListener(){document.removeEventListener("keydown",this.boundTriggerShortcuts)}triggerShortcuts(o){Re(o,this.keyMap,this.commands)}}function Re(n,o,a){const i=qe(n.code),s=[n.ctrlKey?"ctrl":"",n.shiftKey?"shift":"",n.altKey?"alt":"",i].filter(T=>T!=="").join("+"),d=o[s];if(!d)return;const g=a[d];g.isAllowedContext&&!g.isAllowedContext(n)||(g.shouldPreventDefaultAction&&n.preventDefault(),!(g.isDisabled&&g.isDisabled())&&g.trigger(n))}function qe(n){return $e.includes(n)?"":n.replace(/^Key/,"").toLowerCase()}function Ke(n,o){const a=" "+n,i=a.matchAll(/ ([-\s\w]+):\s*/g),s=[];for(const d of Array.from(i)){if(d.index===void 0)continue;const g=Ve(d[1]);if(o.length>0&&!o.includes(g))throw new Error(`Unknown field “${g}”. Known fields: ${o.join(", ")}`);const T=d.index+d[0].length,v=a.substring(T);let l;if(/^\s*["']/.test(v)){const t=v.match(/['"](.*?)['"]/);if(t!==null)l=t[1];else throw new Error(`Quote mismatch for field “${g}”.`)}else{const t=v.indexOf(" "),_=t===-1?v.length:t;l=v.substring(0,_)}l!==""&&s.push([g,l])}return s}function Ve(n){return n.trim().replace(/\s+/g,"-").replace(/-[a-z]/g,(o,a)=>a===0?o:o.substring(1).toUpperCase())}let se=0;const Qe=(n="unique")=>(se++,`${n}-${se}`),ue=n=>(Ue("data-v-9e2bf5f8"),n=n(),Le(),n),He=ue(()=>w("span",{class:"visually-hidden"},"Focus filter",-1)),Oe={class:"k-filter-icon"},Ze=["for"],We=["id","placeholder"],Ge={key:0,class:"k-suggestion-box","data-testid":"k-filter-bar-suggestion-box"},Je={class:"k-suggestion-list"},Ye={key:0,class:"k-filter-bar-error"},Xe={key:0},et=["title","data-filter-field"],tt={class:"visually-hidden"},at=ue(()=>w("span",{class:"visually-hidden"},"Clear query",-1)),nt=oe({__name:"KFilterBar",props:{id:{type:String,required:!1,default:()=>Qe("k-filter-bar")},fields:{type:Object,required:!0},placeholder:{type:String,required:!1,default:null},query:{type:String,required:!1,default:""}},emits:["fields-change"],setup(n,{emit:o}){const a=n,i=U(null),s=U(null),d=U(a.query),g=U([]),T=U(null),v=U(!1),l=U(-1),S=Q(()=>Object.keys(a.fields)),t=Q(()=>Object.entries(a.fields).slice(0,5).map(([e,r])=>({fieldName:e,...r}))),_=Q(()=>S.value.length>0?`Filter by ${S.value.join(", ")}`:"Filter"),x=Q(()=>a.placeholder??_.value);ae(()=>g.value,function(e,r){K(e,r)||(T.value=null,o("fields-change",{fields:e,query:d.value}))}),ae(()=>d.value,function(){d.value===""&&(T.value=null),v.value=!0});const O={Enter:"submitQuery",Escape:"closeSuggestionBox",ArrowDown:"jumpToNextSuggestion",ArrowUp:"jumpToPreviousSuggestion"},A={submitQuery:{trigger:N,isAllowedContext(e){return s.value!==null&&e.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},jumpToNextSuggestion:{trigger:$,isAllowedContext(e){return s.value!==null&&e.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},jumpToPreviousSuggestion:{trigger:P,isAllowedContext(e){return s.value!==null&&e.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},closeSuggestionBox:{trigger:j,isAllowedContext(e){return i.value!==null&&e.composedPath().includes(i.value)}}};function E(){const e=new Pe(O,A);Ie(function(){e.registerListener()}),ze(function(){e.unRegisterListener()}),I(d.value)}E();function Z(e){const r=e.target;I(r.value)}function N(){if(s.value instanceof HTMLInputElement)if(l.value===-1)I(s.value.value),v.value=!1;else{const e=t.value[l.value].fieldName;e&&h(s.value,e)}}function $(){R(1)}function P(){R(-1)}function R(e){l.value=Me(l.value+e,-1,t.value.length-1)}function W(){s.value instanceof HTMLInputElement&&s.value.focus()}function G(e){const m=e.currentTarget.getAttribute("data-filter-field");m&&s.value instanceof HTMLInputElement&&h(s.value,m)}function h(e,r){const m=d.value===""||d.value.endsWith(" ")?"":" ";d.value+=m+r+":",e.focus(),l.value=-1}function F(){d.value="",s.value instanceof HTMLInputElement&&(s.value.value="",s.value.focus(),I(""))}function q(e){e.relatedTarget===null&&j(),i.value instanceof HTMLElement&&e.relatedTarget instanceof Node&&!i.value.contains(e.relatedTarget)&&j()}function j(){v.value=!1}function I(e){T.value=null;try{const r=Ke(e,S.value);r.sort((m,z)=>m[0].localeCompare(z[0])),g.value=r}catch(r){if(r instanceof Error)T.value=r,v.value=!0;else throw r}}function K(e,r){return JSON.stringify(e)===JSON.stringify(r)}return(e,r)=>(p(),k("div",{ref_key:"filterBar",ref:i,class:"k-filter-bar","data-testid":"k-filter-bar"},[w("button",{class:"k-focus-filter-input-button",title:"Focus filter",type:"button","data-testid":"k-filter-bar-focus-filter-input-button",onClick:W},[He,f(),w("span",Oe,[D(c(Se),{decorative:"","data-testid":"k-filter-bar-filter-icon","hide-title":"",size:c(M)},null,8,["size"])])]),f(),w("label",{for:`${a.id}-filter-bar-input`,class:"visually-hidden"},[ie(e.$slots,"default",{},()=>[f(b(_.value),1)],!0)],8,Ze),f(),we(w("input",{id:`${a.id}-filter-bar-input`,ref_key:"filterInput",ref:s,"onUpdate:modelValue":r[0]||(r[0]=m=>d.value=m),class:"k-filter-bar-input",type:"text",placeholder:x.value,"data-testid":"k-filter-bar-filter-input",onFocus:r[1]||(r[1]=m=>v.value=!0),onBlur:q,onChange:Z},null,40,We),[[Ce,d.value]]),f(),v.value?(p(),k("div",Ge,[w("div",Je,[T.value!==null?(p(),k("p",Ye,b(T.value.message),1)):(p(),k("button",{key:1,class:ne(["k-submit-query-button",{"k-submit-query-button-is-selected":l.value===-1}]),title:"Submit query",type:"button","data-testid":"k-filter-bar-submit-query-button",onClick:N},` +var ce=Object.defineProperty;var de=(n,o,a)=>o in n?ce(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a;var V=(n,o,a)=>(de(n,typeof o!="symbol"?o+"":o,a),a);import{d as oe,g as pe,f as me,r as fe,o as p,i as B,w as y,U as ie,j as D,n as f,H as b,l as k,F as L,W as ge,k as c,aa as ve,p as w,I as le,m as H,v as ye,K as M,a1 as he,Y as be,a2 as ke,a3 as _e,a0 as Te,t as re,y as U,h as Q,as as ae,at as Se,au as we,av as Ce,B as ne,aw as xe,ax as De,z as Ie,V as ze,D as Ue,G as Le}from"./index-78eccadf.js";import{d as Ae,a as Ne,c as Fe,C as je}from"./dataplane-0a086c06.js";const Ee={key:0},Be=oe({__name:"DataPlaneList",props:{total:{default:0},pageNumber:{},pageSize:{},items:{},error:{},gateways:{type:Boolean,default:!1}},emits:["load-data","change"],setup(n,{emit:o}){const a=n,{t:i,formatIsoDate:s}=pe(),g=me()("use zones");function T(v){return v.map(l=>{var j,I,K,e,r,m,z,Y;const S=l.mesh,t=l.name,_=((j=l.dataplane.networking.gateway)==null?void 0:j.type)||"STANDARD",x={name:_==="STANDARD"?"data-plane-detail-view":"gateway-detail-view",params:{mesh:S,dataPlane:t}},O=["kuma.io/protocol","kuma.io/service","kuma.io/zone"],A=Ae(l.dataplane).filter(u=>O.includes(u.label)),E=(I=A.find(u=>u.label==="kuma.io/service"))==null?void 0:I.value,Z=(K=A.find(u=>u.label==="kuma.io/protocol"))==null?void 0:K.value,N=(e=A.find(u=>u.label==="kuma.io/zone"))==null?void 0:e.value;let $;E!==void 0&&($={name:"service-detail-view",params:{mesh:S,service:E}});let P;N!==void 0&&(P={name:"zone-cp-detail-view",params:{zone:N}});const{status:R}=Ne(l.dataplane,l.dataplaneInsight),W=((r=l.dataplaneInsight)==null?void 0:r.subscriptions)??[],G={totalUpdates:0,totalRejectedUpdates:0,dpVersion:null,envoyVersion:null,selectedTime:NaN,selectedUpdateTime:NaN,version:null},h=W.reduce((u,C)=>{var X,ee;if(C.connectTime){const te=Date.parse(C.connectTime);(!u.selectedTime||te>u.selectedTime)&&(u.selectedTime=te)}const J=Date.parse(C.status.lastUpdateTime);return J&&(!u.selectedUpdateTime||J>u.selectedUpdateTime)&&(u.selectedUpdateTime=J),{totalUpdates:u.totalUpdates+parseInt(C.status.total.responsesSent??"0",10),totalRejectedUpdates:u.totalRejectedUpdates+parseInt(C.status.total.responsesRejected??"0",10),dpVersion:((X=C.version)==null?void 0:X.kumaDp.version)||u.dpVersion,envoyVersion:((ee=C.version)==null?void 0:ee.envoy.version)||u.envoyVersion,selectedTime:u.selectedTime,selectedUpdateTime:u.selectedUpdateTime,version:C.version||u.version}},G),F={name:t,dataplaneInsight:l.dataplaneInsight,detailViewRoute:x,type:_,zone:{title:N??i("common.collection.none"),route:P},service:{title:E??i("common.collection.none"),route:$},protocol:Z??i("common.collection.none"),status:R,totalUpdates:h.totalUpdates,totalRejectedUpdates:h.totalRejectedUpdates,envoyVersion:h.envoyVersion??i("common.collection.none"),warnings:{version_mismatch:!1,cert_expired:!1},lastUpdated:h.selectedUpdateTime?s(new Date(h.selectedUpdateTime).toUTCString()):i("common.collection.none"),lastConnected:h.selectedTime?s(new Date(h.selectedTime).toUTCString()):i("common.collection.none"),overview:l};if(h.version){const{kind:u}=Fe(h.version);u!==je&&(F.warnings.version_mismatch=!0)}g&&h.dpVersion&&A.find(C=>C.label==="kuma.io/zone")&&typeof((m=h.version)==null?void 0:m.kumaDp.kumaCpCompatible)=="boolean"&&!h.version.kumaDp.kumaCpCompatible&&(F.warnings.version_mismatch=!0);const q=(Y=(z=l.dataplaneInsight)==null?void 0:z.mTLS)==null?void 0:Y.certificateExpirationTime;return q&&Date.now()>new Date(q).getTime()&&(F.warnings.cert_expired=!0),F})}return(v,l)=>{const S=fe("RouterLink");return p(),B(Te,{"empty-state-message":c(i)("common.emptyState.message",{type:a.gateways?"Gateways":"Data Plane Proxies"}),"empty-state-cta-to":c(i)(`data-planes.href.docs.${a.gateways?"gateway":"data_plane_proxy"}`),"empty-state-cta-text":c(i)("common.documentation"),headers:[{label:"Name",key:"name"},...a.gateways?[{label:"Type",key:"type"}]:[],{label:"Service",key:"service"},...a.gateways?[]:[{label:"Protocol",key:"protocol"}],...c(g)?[{label:"Zone",key:"zone"}]:[],{label:"Last Updated",key:"lastUpdated"},{label:"Certificate Info",key:"certificate"},{label:"Status",key:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":a.pageNumber,"page-size":a.pageSize,total:a.total,items:a.items?T(a.items):void 0,error:a.error,onChange:l[0]||(l[0]=t=>o("change",t))},{toolbar:y(()=>[ie(v.$slots,"toolbar",{},void 0,!0)]),name:y(({row:t})=>[D(S,{to:{name:a.gateways?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:t.name}},"data-testid":"detail-view-link"},{default:y(()=>[f(b(t.name),1)]),_:2},1032,["to"])]),service:y(({rowValue:t})=>[t.route?(p(),B(S,{key:0,to:t.route},{default:y(()=>[f(b(t.title),1)]),_:2},1032,["to"])):(p(),k(L,{key:1},[f(b(t.title),1)],64))]),zone:y(({rowValue:t})=>[t.route?(p(),B(S,{key:0,to:t.route},{default:y(()=>[f(b(t.title),1)]),_:2},1032,["to"])):(p(),k(L,{key:1},[f(b(t.title),1)],64))]),status:y(({rowValue:t})=>[t?(p(),B(ge,{key:0,status:t},null,8,["status"])):(p(),k(L,{key:1},[f(b(c(i)("common.collection.none")),1)],64))]),warnings:y(({row:t})=>[Object.values(t.warnings).some(_=>_)?(p(),B(c(ve),{key:0},{content:y(()=>[w("ul",null,[(p(!0),k(L,null,le(t.warnings,(_,x)=>(p(),k(L,{key:x},[_?(p(),k("li",Ee,b(c(i)(`data-planes.components.data-plane-list.${x}`)),1)):H("",!0)],64))),128))])]),default:y(()=>[f(),D(ye,{class:"mr-1",size:c(M),"hide-title":""},null,8,["size"])]),_:2},1024)):(p(),k(L,{key:1},[f(b(c(i)("common.collection.none")),1)],64))]),certificate:y(({row:t})=>{var _,x;return[f(b((x=(_=t.dataplaneInsight)==null?void 0:_.mTLS)!=null&&x.certificateExpirationTime?c(s)(new Date(t.dataplaneInsight.mTLS.certificateExpirationTime).toUTCString()):c(i)("data-planes.components.data-plane-list.certificate.none")),1)]}),actions:y(({row:t})=>[D(c(he),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:y(()=>[D(c(be),{class:"non-visual-button",appearance:"secondary",size:"small"},{default:y(()=>[D(c(ke),{size:c(M)},null,8,["size"])]),_:1})]),items:y(()=>[D(c(_e),{item:{to:{name:a.gateways?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:t.name}},label:c(i)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:3},8,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error"])}}});const lt=re(Be,[["__scopeId","data-v-c24aa601"]]);function Me(n,o,a){return Math.max(o,Math.min(n,a))}const $e=["ControlLeft","ControlRight","ShiftLeft","ShiftRight","AltLeft"];class Pe{constructor(o,a){V(this,"commands");V(this,"keyMap");V(this,"boundTriggerShortcuts");this.commands=a,this.keyMap=Object.fromEntries(Object.entries(o).map(([i,s])=>[i.toLowerCase(),s])),this.boundTriggerShortcuts=this.triggerShortcuts.bind(this)}registerListener(){document.addEventListener("keydown",this.boundTriggerShortcuts)}unRegisterListener(){document.removeEventListener("keydown",this.boundTriggerShortcuts)}triggerShortcuts(o){Re(o,this.keyMap,this.commands)}}function Re(n,o,a){const i=qe(n.code),s=[n.ctrlKey?"ctrl":"",n.shiftKey?"shift":"",n.altKey?"alt":"",i].filter(T=>T!=="").join("+"),d=o[s];if(!d)return;const g=a[d];g.isAllowedContext&&!g.isAllowedContext(n)||(g.shouldPreventDefaultAction&&n.preventDefault(),!(g.isDisabled&&g.isDisabled())&&g.trigger(n))}function qe(n){return $e.includes(n)?"":n.replace(/^Key/,"").toLowerCase()}function Ke(n,o){const a=" "+n,i=a.matchAll(/ ([-\s\w]+):\s*/g),s=[];for(const d of Array.from(i)){if(d.index===void 0)continue;const g=Ve(d[1]);if(o.length>0&&!o.includes(g))throw new Error(`Unknown field “${g}”. Known fields: ${o.join(", ")}`);const T=d.index+d[0].length,v=a.substring(T);let l;if(/^\s*["']/.test(v)){const t=v.match(/['"](.*?)['"]/);if(t!==null)l=t[1];else throw new Error(`Quote mismatch for field “${g}”.`)}else{const t=v.indexOf(" "),_=t===-1?v.length:t;l=v.substring(0,_)}l!==""&&s.push([g,l])}return s}function Ve(n){return n.trim().replace(/\s+/g,"-").replace(/-[a-z]/g,(o,a)=>a===0?o:o.substring(1).toUpperCase())}let se=0;const Qe=(n="unique")=>(se++,`${n}-${se}`),ue=n=>(Ue("data-v-9e2bf5f8"),n=n(),Le(),n),He=ue(()=>w("span",{class:"visually-hidden"},"Focus filter",-1)),Oe={class:"k-filter-icon"},Ze=["for"],We=["id","placeholder"],Ge={key:0,class:"k-suggestion-box","data-testid":"k-filter-bar-suggestion-box"},Je={class:"k-suggestion-list"},Ye={key:0,class:"k-filter-bar-error"},Xe={key:0},et=["title","data-filter-field"],tt={class:"visually-hidden"},at=ue(()=>w("span",{class:"visually-hidden"},"Clear query",-1)),nt=oe({__name:"KFilterBar",props:{id:{type:String,required:!1,default:()=>Qe("k-filter-bar")},fields:{type:Object,required:!0},placeholder:{type:String,required:!1,default:null},query:{type:String,required:!1,default:""}},emits:["fields-change"],setup(n,{emit:o}){const a=n,i=U(null),s=U(null),d=U(a.query),g=U([]),T=U(null),v=U(!1),l=U(-1),S=Q(()=>Object.keys(a.fields)),t=Q(()=>Object.entries(a.fields).slice(0,5).map(([e,r])=>({fieldName:e,...r}))),_=Q(()=>S.value.length>0?`Filter by ${S.value.join(", ")}`:"Filter"),x=Q(()=>a.placeholder??_.value);ae(()=>g.value,function(e,r){K(e,r)||(T.value=null,o("fields-change",{fields:e,query:d.value}))}),ae(()=>d.value,function(){d.value===""&&(T.value=null),v.value=!0});const O={Enter:"submitQuery",Escape:"closeSuggestionBox",ArrowDown:"jumpToNextSuggestion",ArrowUp:"jumpToPreviousSuggestion"},A={submitQuery:{trigger:N,isAllowedContext(e){return s.value!==null&&e.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},jumpToNextSuggestion:{trigger:$,isAllowedContext(e){return s.value!==null&&e.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},jumpToPreviousSuggestion:{trigger:P,isAllowedContext(e){return s.value!==null&&e.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},closeSuggestionBox:{trigger:j,isAllowedContext(e){return i.value!==null&&e.composedPath().includes(i.value)}}};function E(){const e=new Pe(O,A);Ie(function(){e.registerListener()}),ze(function(){e.unRegisterListener()}),I(d.value)}E();function Z(e){const r=e.target;I(r.value)}function N(){if(s.value instanceof HTMLInputElement)if(l.value===-1)I(s.value.value),v.value=!1;else{const e=t.value[l.value].fieldName;e&&h(s.value,e)}}function $(){R(1)}function P(){R(-1)}function R(e){l.value=Me(l.value+e,-1,t.value.length-1)}function W(){s.value instanceof HTMLInputElement&&s.value.focus()}function G(e){const m=e.currentTarget.getAttribute("data-filter-field");m&&s.value instanceof HTMLInputElement&&h(s.value,m)}function h(e,r){const m=d.value===""||d.value.endsWith(" ")?"":" ";d.value+=m+r+":",e.focus(),l.value=-1}function F(){d.value="",s.value instanceof HTMLInputElement&&(s.value.value="",s.value.focus(),I(""))}function q(e){e.relatedTarget===null&&j(),i.value instanceof HTMLElement&&e.relatedTarget instanceof Node&&!i.value.contains(e.relatedTarget)&&j()}function j(){v.value=!1}function I(e){T.value=null;try{const r=Ke(e,S.value);r.sort((m,z)=>m[0].localeCompare(z[0])),g.value=r}catch(r){if(r instanceof Error)T.value=r,v.value=!0;else throw r}}function K(e,r){return JSON.stringify(e)===JSON.stringify(r)}return(e,r)=>(p(),k("div",{ref_key:"filterBar",ref:i,class:"k-filter-bar","data-testid":"k-filter-bar"},[w("button",{class:"k-focus-filter-input-button",title:"Focus filter",type:"button","data-testid":"k-filter-bar-focus-filter-input-button",onClick:W},[He,f(),w("span",Oe,[D(c(Se),{decorative:"","data-testid":"k-filter-bar-filter-icon","hide-title":"",size:c(M)},null,8,["size"])])]),f(),w("label",{for:`${a.id}-filter-bar-input`,class:"visually-hidden"},[ie(e.$slots,"default",{},()=>[f(b(_.value),1)],!0)],8,Ze),f(),we(w("input",{id:`${a.id}-filter-bar-input`,ref_key:"filterInput",ref:s,"onUpdate:modelValue":r[0]||(r[0]=m=>d.value=m),class:"k-filter-bar-input",type:"text",placeholder:x.value,"data-testid":"k-filter-bar-filter-input",onFocus:r[1]||(r[1]=m=>v.value=!0),onBlur:q,onChange:Z},null,40,We),[[Ce,d.value]]),f(),v.value?(p(),k("div",Ge,[w("div",Je,[T.value!==null?(p(),k("p",Ye,b(T.value.message),1)):(p(),k("button",{key:1,class:ne(["k-submit-query-button",{"k-submit-query-button-is-selected":l.value===-1}]),title:"Submit query",type:"button","data-testid":"k-filter-bar-submit-query-button",onClick:N},` Submit `+b(d.value),3)),f(),(p(!0),k(L,null,le(t.value,(m,z)=>(p(),k("div",{key:`${a.id}-${z}`,class:ne(["k-suggestion-list-item",{"k-suggestion-list-item-is-selected":l.value===z}])},[w("b",null,b(m.fieldName),1),m.description!==""?(p(),k("span",Xe,": "+b(m.description),1)):H("",!0),f(),w("button",{class:"k-apply-suggestion-button",title:`Add ${m.fieldName}:`,type:"button","data-filter-field":m.fieldName,"data-testid":"k-filter-bar-apply-suggestion-button",onClick:G},[w("span",tt,"Add "+b(m.fieldName)+":",1),f(),D(c(xe),{decorative:"","hide-title":"",size:c(M)},null,8,["size"])],8,et)],2))),128))])])):H("",!0),f(),d.value!==""?(p(),k("button",{key:1,class:"k-clear-query-button",title:"Clear query",type:"button","data-testid":"k-filter-bar-clear-query-button",onClick:F},[at,f(),D(c(De),{decorative:"","hide-title":"",size:c(M)},null,8,["size"])])):H("",!0)],512))}});const rt=re(nt,[["__scopeId","data-v-9e2bf5f8"]]);export{lt as D,rt as K}; diff --git a/app/kuma-ui/pkg/resources/data/assets/LoadingBox-e061a793.js b/app/kuma-ui/pkg/resources/data/assets/LoadingBox-ba4b7035.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/LoadingBox-e061a793.js rename to app/kuma-ui/pkg/resources/data/assets/LoadingBox-ba4b7035.js index 4d2cecf1e698..e6f7ee17b765 100644 --- a/app/kuma-ui/pkg/resources/data/assets/LoadingBox-e061a793.js +++ b/app/kuma-ui/pkg/resources/data/assets/LoadingBox-ba4b7035.js @@ -1 +1 @@ -import{t as d,o as n,l as _,n as s,D as l,G as c,p as o}from"./index-2441451c.js";const a={},e=t=>(l("data-v-67594d24"),t=t(),c(),t),i={class:"loading","data-testid":"loading"},u=e(()=>o("div",null,null,-1)),p=e(()=>o("div",null,null,-1)),r=e(()=>o("div",null,null,-1)),v=e(()=>o("div",null,null,-1)),h=e(()=>o("div",null,null,-1));function x(t,f){return n(),_("div",i,[u,s(),p,s(),r,s(),v,s(),h])}const B=d(a,[["render",x],["__scopeId","data-v-67594d24"]]);export{B as L}; +import{t as d,o as n,l as _,n as s,D as l,G as c,p as o}from"./index-78eccadf.js";const a={},e=t=>(l("data-v-67594d24"),t=t(),c(),t),i={class:"loading","data-testid":"loading"},u=e(()=>o("div",null,null,-1)),p=e(()=>o("div",null,null,-1)),r=e(()=>o("div",null,null,-1)),v=e(()=>o("div",null,null,-1)),h=e(()=>o("div",null,null,-1));function x(t,f){return n(),_("div",i,[u,s(),p,s(),r,s(),v,s(),h])}const B=d(a,[["render",x],["__scopeId","data-v-67594d24"]]);export{B as L}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-b7f664c9.js b/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-1e961acd.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/MainOverviewView-b7f664c9.js rename to app/kuma-ui/pkg/resources/data/assets/MainOverviewView-1e961acd.js index 97772ade0da3..a9997aab032a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-b7f664c9.js +++ b/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-1e961acd.js @@ -1 +1 @@ -import{d as c,Z as l,r as e,o as u,i as p,w as t,j as o,p as _,n as m,k as w}from"./index-2441451c.js";const h=c({__name:"MainOverviewView",setup(d){const n=l();return(v,V)=>{const a=e("RouteTitle"),i=e("AppView"),r=e("RouteView");return u(),p(r,{name:"home"},{default:t(({t:s})=>[o(i,null,{title:t(()=>[_("h1",null,[o(a,{title:s("main-overview.routes.item.title"),render:!0},null,8,["title"])])]),default:t(()=>[m(),o(w(n))]),_:2},1024)]),_:1})}}});export{h as default}; +import{d as c,Z as l,r as e,o as u,i as p,w as t,j as o,p as _,n as m,k as w}from"./index-78eccadf.js";const h=c({__name:"MainOverviewView",setup(d){const n=l();return(v,V)=>{const a=e("RouteTitle"),i=e("AppView"),r=e("RouteView");return u(),p(r,{name:"home"},{default:t(({t:s})=>[o(i,null,{title:t(()=>[_("h1",null,[o(a,{title:s("main-overview.routes.item.title"),render:!0},null,8,["title"])])]),default:t(()=>[m(),o(w(n))]),_:2},1024)]),_:1})}}});export{h as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-8fcae539.js b/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-8d4bb4d2.js similarity index 77% rename from app/kuma-ui/pkg/resources/data/assets/MeshConfigView-8fcae539.js rename to app/kuma-ui/pkg/resources/data/assets/MeshConfigView-8d4bb4d2.js index 96cae6814278..462dd2cfbf99 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-8fcae539.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-8d4bb4d2.js @@ -1 +1 @@ -import{d as h,R as w,r as e,o as t,i as s,w as o,j as a,p as k,n as V,E as v,x as g,k as C}from"./index-2441451c.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-a10f960a.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";import"./toYaml-4e00099e.js";const $=h({__name:"MeshConfigView",setup(R){const i=w();return(y,A)=>{const m=e("RouteTitle"),u=e("DataSource"),_=e("KCard"),p=e("AppView"),l=e("RouteView");return t(),s(l,{name:"mesh-config-view","data-testid":"mesh-config-view",params:{mesh:""}},{default:o(({route:n,t:d})=>[a(p,null,{title:o(()=>[k("h2",null,[a(m,{title:d("meshes.routes.item.navigation.mesh-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[V(),a(_,{class:"mt-4"},{body:o(()=>[a(u,{src:`/meshes/${n.params.mesh}`},{default:o(({data:r,error:c})=>[c!==void 0?(t(),s(v,{key:0,error:c},null,8,["error"])):r===void 0?(t(),s(g,{key:1})):(t(),s(x,{key:2,id:"code-block-mesh",resource:r,"resource-fetcher":f=>C(i).getMesh({name:n.params.mesh},f)},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{$ as default}; +import{d as h,R as w,r as e,o as t,i as s,w as o,j as a,p as k,n as V,E as v,x as g,k as C}from"./index-78eccadf.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-74215da3.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";import"./toYaml-4e00099e.js";const $=h({__name:"MeshConfigView",setup(R){const i=w();return(y,A)=>{const m=e("RouteTitle"),u=e("DataSource"),_=e("KCard"),p=e("AppView"),l=e("RouteView");return t(),s(l,{name:"mesh-config-view","data-testid":"mesh-config-view",params:{mesh:""}},{default:o(({route:n,t:d})=>[a(p,null,{title:o(()=>[k("h2",null,[a(m,{title:d("meshes.routes.item.navigation.mesh-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[V(),a(_,{class:"mt-4"},{body:o(()=>[a(u,{src:`/meshes/${n.params.mesh}`},{default:o(({data:r,error:c})=>[c!==void 0?(t(),s(v,{key:0,error:c},null,8,["error"])):r===void 0?(t(),s(g,{key:1})):(t(),s(x,{key:2,id:"code-block-mesh",resource:r,"resource-fetcher":f=>C(i).getMesh({name:n.params.mesh},f)},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{$ as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-84325288.js b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-52555917.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/MeshDetailView-84325288.js rename to app/kuma-ui/pkg/resources/data/assets/MeshDetailView-52555917.js index 25e014c4cf89..c03b698d86e4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-84325288.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-52555917.js @@ -1 +1 @@ -import{d as V,g,h as D,o as t,l as k,n as r,H as i,k as _,j as e,a6 as R,t as x,a7 as S,r as c,i as u,w as n,E as B,x as M,p as $}from"./index-2441451c.js";const I={class:"date-status"},C=V({__name:"ResourceDateStatus",props:{creationTime:{},modificationTime:{}},setup(p){const a=p,{t:m,formatIsoDate:d}=g(),l=D(()=>d(a.creationTime)),s=D(()=>d(a.modificationTime));return(f,h)=>(t(),k("span",I,[r(i(_(m)("common.detail.created"))+": "+i(l.value)+" ",1),e(_(R)),r(" "+i(_(m)("common.detail.modified"))+": "+i(s.value),1)]))}});const N=x(C,[["__scopeId","data-v-fa366713"]]),A={key:2,class:"stack","data-testid":"detail-view-details"},E={class:"date-status-wrapper"},b=V({__name:"MeshDetailView",setup(p){const a=S();return(m,d)=>{const l=c("RouteTitle"),s=c("DataSource"),f=c("AppView"),h=c("RouteView");return t(),u(h,{name:"mesh-overview-view",params:{mesh:""}},{default:n(({route:v,t:T})=>[e(l,{title:T("meshes.routes.overview.title")},null,8,["title"]),r(),e(f,null,{default:n(()=>[e(s,{src:`/meshes/${v.params.mesh}`},{default:n(({data:o,error:w})=>[e(s,{src:`/mesh-insights/${v.params.mesh}`},{default:n(({data:y})=>[w?(t(),u(B,{key:0,error:w},null,8,["error"])):o===void 0?(t(),u(M,{key:1})):(t(),k("div",A,[e(_(a),{mesh:o,"mesh-insight":y},null,8,["mesh","mesh-insight"]),r(),$("div",E,[e(N,{"creation-time":o.creationTime,"modification-time":o.modificationTime},null,8,["creation-time","modification-time"])])]))]),_:2},1032,["src"])]),_:2},1032,["src"])]),_:2},1024)]),_:1})}}});const H=x(b,[["__scopeId","data-v-e0c46cc1"]]);export{H as default}; +import{d as V,g,h as D,o as t,l as k,n as r,H as i,k as _,j as e,a6 as R,t as x,a7 as S,r as c,i as u,w as n,E as B,x as M,p as $}from"./index-78eccadf.js";const I={class:"date-status"},C=V({__name:"ResourceDateStatus",props:{creationTime:{},modificationTime:{}},setup(p){const a=p,{t:m,formatIsoDate:d}=g(),l=D(()=>d(a.creationTime)),s=D(()=>d(a.modificationTime));return(f,h)=>(t(),k("span",I,[r(i(_(m)("common.detail.created"))+": "+i(l.value)+" ",1),e(_(R)),r(" "+i(_(m)("common.detail.modified"))+": "+i(s.value),1)]))}});const N=x(C,[["__scopeId","data-v-fa366713"]]),A={key:2,class:"stack","data-testid":"detail-view-details"},E={class:"date-status-wrapper"},b=V({__name:"MeshDetailView",setup(p){const a=S();return(m,d)=>{const l=c("RouteTitle"),s=c("DataSource"),f=c("AppView"),h=c("RouteView");return t(),u(h,{name:"mesh-overview-view",params:{mesh:""}},{default:n(({route:v,t:T})=>[e(l,{title:T("meshes.routes.overview.title")},null,8,["title"]),r(),e(f,null,{default:n(()=>[e(s,{src:`/meshes/${v.params.mesh}`},{default:n(({data:o,error:w})=>[e(s,{src:`/mesh-insights/${v.params.mesh}`},{default:n(({data:y})=>[w?(t(),u(B,{key:0,error:w},null,8,["error"])):o===void 0?(t(),u(M,{key:1})):(t(),k("div",A,[e(_(a),{mesh:o,"mesh-insight":y},null,8,["mesh","mesh-insight"]),r(),$("div",E,[e(N,{"creation-time":o.creationTime,"modification-time":o.modificationTime},null,8,["creation-time","modification-time"])])]))]),_:2},1032,["src"])]),_:2},1032,["src"])]),_:2},1024)]),_:1})}}});const H=x(b,[["__scopeId","data-v-e0c46cc1"]]);export{H as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-8d53813a.js b/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-f5ece8ac.js similarity index 69% rename from app/kuma-ui/pkg/resources/data/assets/MeshIndexView-8d53813a.js rename to app/kuma-ui/pkg/resources/data/assets/MeshIndexView-f5ece8ac.js index ed99638449b2..7853aac1662a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-8d53813a.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-f5ece8ac.js @@ -1 +1 @@ -import{t as a,r as e,o as i,i as m,w as t,j as o}from"./index-2441451c.js";const _={};function u(p,d){const s=e("RouterView"),n=e("AppView"),r=e("RouteView");return i(),m(r,{name:"mesh-index-view"},{default:t(({t:c})=>[o(n,{breadcrumbs:[{to:{name:"mesh-list-view"},text:c("meshes.routes.item.breadcrumbs")}]},{default:t(()=>[o(s)]),_:2},1032,["breadcrumbs"])]),_:1})}const f=a(_,[["render",u]]);export{f as default}; +import{t as a,r as e,o as i,i as m,w as t,j as o}from"./index-78eccadf.js";const _={};function u(p,d){const s=e("RouterView"),n=e("AppView"),r=e("RouteView");return i(),m(r,{name:"mesh-index-view"},{default:t(({t:c})=>[o(n,{breadcrumbs:[{to:{name:"mesh-list-view"},text:c("meshes.routes.item.breadcrumbs")}]},{default:t(()=>[o(s)]),_:2},1032,["breadcrumbs"])]),_:1})}const f=a(_,[["render",u]]);export{f as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshListView-16ee4934.js b/app/kuma-ui/pkg/resources/data/assets/MeshListView-581ba27a.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/MeshListView-16ee4934.js rename to app/kuma-ui/pkg/resources/data/assets/MeshListView-581ba27a.js index 248824f7bd20..96a76f9d12ff 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshListView-16ee4934.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshListView-581ba27a.js @@ -1 +1 @@ -import{d as f,r as m,o as l,i as c,w as e,j as t,p as u,n as d,k as a,$ as k,E as v,a0 as b,H as V,a1 as z,Y as x,a2 as C,K as I,a3 as L,m as N,t as R}from"./index-2441451c.js";const S={class:"stack"},A=f({__name:"MeshListView",setup(B){return(E,M)=>{const h=m("RouteTitle"),y=m("RouterLink"),w=m("AppView"),r=m("DataSource"),g=m("RouteView");return l(),c(r,{src:"/me"},{default:e(({data:_})=>[_?(l(),c(g,{key:0,name:"mesh-list-view",params:{page:1,size:_.pageSize}},{default:e(({route:o,t:n})=>[t(r,{src:`/meshes?page=${o.params.page}&size=${o.params.size}`},{default:e(({data:s,error:p})=>[t(w,null,{title:e(()=>[u("h1",null,[t(h,{title:n("meshes.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[d(),u("div",S,[t(a(k),null,{body:e(()=>[p!==void 0?(l(),c(v,{key:0,error:p},null,8,["error"])):(l(),c(b,{key:1,class:"mesh-collection","data-testid":"mesh-collection",headers:[{label:"Name",key:"name"},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":parseInt(o.params.page),"page-size":parseInt(o.params.size),total:s==null?void 0:s.total,items:s==null?void 0:s.items,error:p,"empty-state-message":n("common.emptyState.message",{type:"Meshes"}),"empty-state-cta-to":n("meshes.href.docs"),"empty-state-cta-text":n("common.documentation"),onChange:o.update},{name:e(({row:i})=>[t(y,{to:{name:"mesh-detail-view",params:{mesh:i.name}}},{default:e(()=>[d(V(i.name),1)]),_:2},1032,["to"])]),actions:e(({row:i})=>[t(a(z),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[t(a(x),{class:"non-visual-button",appearance:"secondary",size:"small"},{default:e(()=>[t(a(C),{size:a(I)},null,8,["size"])]),_:1})]),items:e(()=>[t(a(L),{item:{to:{name:"mesh-detail-view",params:{mesh:i.name}},label:n("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["page-number","page-size","total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024)])]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):N("",!0)]),_:1})}}});const D=R(A,[["__scopeId","data-v-4b21a06e"]]);export{D as default}; +import{d as f,r as m,o as l,i as c,w as e,j as t,p as u,n as d,k as a,$ as k,E as v,a0 as b,H as V,a1 as z,Y as x,a2 as C,K as I,a3 as L,m as N,t as R}from"./index-78eccadf.js";const S={class:"stack"},A=f({__name:"MeshListView",setup(B){return(E,M)=>{const h=m("RouteTitle"),y=m("RouterLink"),w=m("AppView"),r=m("DataSource"),g=m("RouteView");return l(),c(r,{src:"/me"},{default:e(({data:_})=>[_?(l(),c(g,{key:0,name:"mesh-list-view",params:{page:1,size:_.pageSize}},{default:e(({route:o,t:n})=>[t(r,{src:`/meshes?page=${o.params.page}&size=${o.params.size}`},{default:e(({data:s,error:p})=>[t(w,null,{title:e(()=>[u("h1",null,[t(h,{title:n("meshes.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[d(),u("div",S,[t(a(k),null,{body:e(()=>[p!==void 0?(l(),c(v,{key:0,error:p},null,8,["error"])):(l(),c(b,{key:1,class:"mesh-collection","data-testid":"mesh-collection",headers:[{label:"Name",key:"name"},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":parseInt(o.params.page),"page-size":parseInt(o.params.size),total:s==null?void 0:s.total,items:s==null?void 0:s.items,error:p,"empty-state-message":n("common.emptyState.message",{type:"Meshes"}),"empty-state-cta-to":n("meshes.href.docs"),"empty-state-cta-text":n("common.documentation"),onChange:o.update},{name:e(({row:i})=>[t(y,{to:{name:"mesh-detail-view",params:{mesh:i.name}}},{default:e(()=>[d(V(i.name),1)]),_:2},1032,["to"])]),actions:e(({row:i})=>[t(a(z),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[t(a(x),{class:"non-visual-button",appearance:"secondary",size:"small"},{default:e(()=>[t(a(C),{size:a(I)},null,8,["size"])]),_:1})]),items:e(()=>[t(a(L),{item:{to:{name:"mesh-detail-view",params:{mesh:i.name}},label:n("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["page-number","page-size","total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024)])]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):N("",!0)]),_:1})}}});const D=R(A,[["__scopeId","data-v-4b21a06e"]]);export{D as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-21a1b25f.js b/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-2e89a0ae.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/MeshTabsView-21a1b25f.js rename to app/kuma-ui/pkg/resources/data/assets/MeshTabsView-2e89a0ae.js index 78e7e573b4c1..025f644d5f5b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-21a1b25f.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-2e89a0ae.js @@ -1 +1 @@ -import{d as h,g as f,a4 as w,r as n,o as R,i as V,w as m,j as s,p as b,a5 as x,k as p,n as _}from"./index-2441451c.js";import{N as v}from"./NavTabs-9c3818b4.js";const k=h({__name:"MeshTabsView",setup(N){var c;const{t:i}=f(),d=(((c=w().getRoutes().find(e=>e.name==="mesh-tabs-view"))==null?void 0:c.children)??[]).map(e=>{var a,t;const r=typeof e.name>"u"?(a=e.children)==null?void 0:a[0]:e,o=r.name,u=((t=r.meta)==null?void 0:t.module)??"";return{title:i(`meshes.routes.item.navigation.${o}`),routeName:o,module:u}});return(e,r)=>{const o=n("RouteTitle"),u=n("RouterView"),l=n("AppView"),a=n("RouteView");return R(),V(a,{name:"mesh-tabs-view",params:{mesh:""}},{default:m(({route:t})=>[s(l,null,{title:m(()=>[b("h1",null,[s(x,{text:t.params.mesh},{default:m(()=>[s(o,{title:p(i)("meshes.routes.item.title",{name:t.params.mesh}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:m(()=>[_(),s(v,{class:"route-mesh-view-tabs",tabs:p(d)},null,8,["tabs"]),_(),s(u)]),_:2},1024)]),_:1})}}});export{k as default}; +import{d as h,g as f,a4 as w,r as n,o as R,i as V,w as m,j as s,p as b,a5 as x,k as p,n as _}from"./index-78eccadf.js";import{N as v}from"./NavTabs-2aea5887.js";const k=h({__name:"MeshTabsView",setup(N){var c;const{t:i}=f(),d=(((c=w().getRoutes().find(e=>e.name==="mesh-tabs-view"))==null?void 0:c.children)??[]).map(e=>{var a,t;const r=typeof e.name>"u"?(a=e.children)==null?void 0:a[0]:e,o=r.name,u=((t=r.meta)==null?void 0:t.module)??"";return{title:i(`meshes.routes.item.navigation.${o}`),routeName:o,module:u}});return(e,r)=>{const o=n("RouteTitle"),u=n("RouterView"),l=n("AppView"),a=n("RouteView");return R(),V(a,{name:"mesh-tabs-view",params:{mesh:""}},{default:m(({route:t})=>[s(l,null,{title:m(()=>[b("h1",null,[s(x,{text:t.params.mesh},{default:m(()=>[s(o,{title:p(i)("meshes.routes.item.title",{name:t.params.mesh}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:m(()=>[_(),s(v,{class:"route-mesh-view-tabs",tabs:p(d)},null,8,["tabs"]),_(),s(u)]),_:2},1024)]),_:1})}}});export{k as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-6475ea55.js b/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-4d7fbfc6.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/MultiZoneView-6475ea55.js rename to app/kuma-ui/pkg/resources/data/assets/MultiZoneView-4d7fbfc6.js index 93b6cc5ba451..22c9f0fb52a9 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-6475ea55.js +++ b/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-4d7fbfc6.js @@ -1,4 +1,4 @@ -import{L as z}from"./LoadingBox-e061a793.js";import{O as T,a as V,b as I}from"./OnboardingPage-055a5e15.js";import{d as k,R as O,y as r,S as A,r as p,o as a,i as N,w as i,j as c,n as e,p as n,l,m as C,D as L,G as R,t as B}from"./index-2441451c.js";const S=u=>(L("data-v-052795d6"),u=u(),R(),u),D=S(()=>n("p",{class:"mb-4 text-center"},` +import{L as z}from"./LoadingBox-ba4b7035.js";import{O as T,a as V,b as I}from"./OnboardingPage-5ac3187f.js";import{d as k,R as O,y as r,S as A,r as p,o as a,i as N,w as i,j as c,n as e,p as n,l,m as C,D as L,G as R,t as B}from"./index-78eccadf.js";const S=u=>(L("data-v-052795d6"),u=u(),R(),u),D=S(()=>n("p",{class:"mb-4 text-center"},` A zone requires both the zone control plane and zone ingress. On Kubernetes, you run a single command to create both resources. On Universal, you must create them separately. `,-1)),G={class:"mb-4 text-center"},M=["href"],E={class:"status-box mt-4"},K={key:0,class:"status--is-connected","data-testid":"zone-connected"},P={key:1,class:"status--is-disconnected","data-testid":"zone-disconnected"},U={class:"status-box mt-4"},j={key:0,class:"status--is-connected","data-testid":"zone-ingress-connected"},q={key:1,class:"status--is-disconnected","data-testid":"zone-ingress-disconnected"},H={key:0,class:"status-loading-box mt-4"},b=1e3,F=k({__name:"MultiZoneView",setup(u){const m=O(),o=r(!1),s=r(!1),d=r(null),_=r(null);A(function(){f(),h()}),g(),v();async function g(){try{const{total:t}=await m.getZones();o.value=t>0}catch(t){o.value=!1,console.error(t)}finally{o.value||(f(),d.value=window.setTimeout(g,b))}}async function v(){try{const{total:t}=await m.getAllZoneIngressOverviews();s.value=t>0}catch(t){s.value=!1,console.error(t)}finally{s.value||(h(),_.value=window.setTimeout(v,b))}}function f(){d.value!==null&&window.clearTimeout(d.value)}function h(){_.value!==null&&window.clearTimeout(_.value)}return(t,J)=>{const y=p("RouteTitle"),x=p("AppView"),Z=p("RouteView");return a(),N(Z,{name:"onboarding-multi-zone"},{default:i(({t:w})=>[c(y,{title:w("onboarding.routes.multizone.title")},null,8,["title"]),e(),c(x,null,{default:i(()=>[c(T,null,{header:i(()=>[c(V,null,{title:i(()=>[e(` Add zones diff --git a/app/kuma-ui/pkg/resources/data/assets/NavTabs-9c3818b4.js b/app/kuma-ui/pkg/resources/data/assets/NavTabs-2aea5887.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/NavTabs-9c3818b4.js rename to app/kuma-ui/pkg/resources/data/assets/NavTabs-2aea5887.js index 4bcd779ab302..467a95d759c9 100644 --- a/app/kuma-ui/pkg/resources/data/assets/NavTabs-9c3818b4.js +++ b/app/kuma-ui/pkg/resources/data/assets/NavTabs-2aea5887.js @@ -1 +1 @@ -import{d,e as _,h as n,r as i,o as p,i as N,a8 as f,I as v,w as u,j as b,n as h,H as k,k as x,al as y,t as T}from"./index-2441451c.js";const L=d({__name:"NavTabs",props:{tabs:{type:Array,required:!0}},setup(c){const a=c,o=_(),m=n(()=>a.tabs.map(t=>({title:t.title,hash:"#"+t.routeName}))),l=n(()=>{const t=o.matched.map(e=>e.meta.module??"").filter(e=>e!=="");t.reverse();const s=a.tabs.find(e=>!!(e.routeName===o.name||t.includes(e.module)));return"#"+((s==null?void 0:s.routeName)??a.tabs[0].routeName)});return(t,s)=>{const r=i("RouterLink");return p(),N(x(y),{tabs:m.value,"model-value":l.value,"has-panels":!1,class:"nav-tabs","data-testid":"nav-tabs"},f({_:2},[v(a.tabs,e=>({name:`${e.routeName}-anchor`,fn:u(()=>[b(r,{"data-testid":`${e.routeName}-tab`,to:{name:e.routeName}},{default:u(()=>[h(k(e.title),1)]),_:2},1032,["data-testid","to"])])}))]),1032,["tabs","model-value"])}}});const R=T(L,[["__scopeId","data-v-20397c75"]]);export{R as N}; +import{d,e as _,h as n,r as i,o as p,i as N,a8 as f,I as v,w as u,j as b,n as h,H as k,k as x,al as y,t as T}from"./index-78eccadf.js";const L=d({__name:"NavTabs",props:{tabs:{type:Array,required:!0}},setup(c){const a=c,o=_(),m=n(()=>a.tabs.map(t=>({title:t.title,hash:"#"+t.routeName}))),l=n(()=>{const t=o.matched.map(e=>e.meta.module??"").filter(e=>e!=="");t.reverse();const s=a.tabs.find(e=>!!(e.routeName===o.name||t.includes(e.module)));return"#"+((s==null?void 0:s.routeName)??a.tabs[0].routeName)});return(t,s)=>{const r=i("RouterLink");return p(),N(x(y),{tabs:m.value,"model-value":l.value,"has-panels":!1,class:"nav-tabs","data-testid":"nav-tabs"},f({_:2},[v(a.tabs,e=>({name:`${e.routeName}-anchor`,fn:u(()=>[b(r,{"data-testid":`${e.routeName}-tab`,to:{name:e.routeName}},{default:u(()=>[h(k(e.title),1)]),_:2},1032,["data-testid","to"])])}))]),1032,["tabs","model-value"])}}});const R=T(L,[["__scopeId","data-v-20397c75"]]);export{R as N}; diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-055a5e15.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-5ac3187f.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingPage-055a5e15.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingPage-5ac3187f.js index c93ff7ce02b7..001af3a6e49c 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-055a5e15.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-5ac3187f.js @@ -1,4 +1,4 @@ -import{d as p,X as v,o as s,l as r,p as o,U as i,n as t,k as d,m as l,t as u,i as b,w as c,Y as _,j as h,H as f,B as m,D as S,G as y}from"./index-2441451c.js";const x={class:"onboarding-heading"},k={class:"onboarding-title","data-testid":"onboarding-header"},$={key:0,class:"onboarding-description"},w=p({__name:"OnboardingHeading",setup(a){const e=v();return(n,g)=>(s(),r("div",x,[o("h1",k,[i(n.$slots,"title",{},void 0,!0)]),t(),d(e).description?(s(),r("div",$,[i(n.$slots,"description",{},void 0,!0)])):l("",!0)]))}});const D=u(w,[["__scopeId","data-v-cd4747d1"]]),B={class:"onboarding-actions"},N={class:"button-list"},O=p({__name:"OnboardingNavigation",props:{shouldAllowNext:{type:Boolean,required:!1,default:!0},showSkip:{type:Boolean,required:!1,default:!0},nextStep:{type:String,required:!0},previousStep:{type:String,required:!1,default:""},nextStepTitle:{type:String,required:!1,default:"Next"},lastStep:{type:Boolean,required:!1,default:!1}},setup(a){const e=a;return(n,g)=>(s(),r("div",B,[e.previousStep?(s(),b(d(_),{key:0,appearance:"secondary",to:{name:e.previousStep},"data-testid":"onboarding-previous-button"},{default:c(()=>[t(` +import{d as p,X as v,o as s,l as r,p as o,U as i,n as t,k as d,m as l,t as u,i as b,w as c,Y as _,j as h,H as f,B as m,D as S,G as y}from"./index-78eccadf.js";const x={class:"onboarding-heading"},k={class:"onboarding-title","data-testid":"onboarding-header"},$={key:0,class:"onboarding-description"},w=p({__name:"OnboardingHeading",setup(a){const e=v();return(n,g)=>(s(),r("div",x,[o("h1",k,[i(n.$slots,"title",{},void 0,!0)]),t(),d(e).description?(s(),r("div",$,[i(n.$slots,"description",{},void 0,!0)])):l("",!0)]))}});const D=u(w,[["__scopeId","data-v-cd4747d1"]]),B={class:"onboarding-actions"},N={class:"button-list"},O=p({__name:"OnboardingNavigation",props:{shouldAllowNext:{type:Boolean,required:!1,default:!0},showSkip:{type:Boolean,required:!1,default:!0},nextStep:{type:String,required:!0},previousStep:{type:String,required:!1,default:""},nextStepTitle:{type:String,required:!1,default:"Next"},lastStep:{type:Boolean,required:!1,default:!1}},setup(a){const e=a;return(n,g)=>(s(),r("div",B,[e.previousStep?(s(),b(d(_),{key:0,appearance:"secondary",to:{name:e.previousStep},"data-testid":"onboarding-previous-button"},{default:c(()=>[t(` Back `)]),_:1},8,["to"])):l("",!0),t(),o("div",N,[e.showSkip?(s(),b(d(_),{key:0,appearance:"outline","data-testid":"onboarding-skip-button",to:{name:"home"}},{default:c(()=>[t(` Skip setup diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingView-6d24078d.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingView-d4ba4ecc.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingView-6d24078d.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingView-d4ba4ecc.js index d5573d381d91..97983e2f76bd 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingView-6d24078d.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingView-d4ba4ecc.js @@ -1 +1 @@ -import{d as _,e as f,y as w,r as e,o,i as n,w as t,j as u,k as V,q as i}from"./index-2441451c.js";const g=_({__name:"OnboardingView",setup(k){const d=f(),a=w("demo");return(v,s)=>{const l=e("RouterView"),m=e("AppView"),c=e("RouteView");return o(),n(c,{name:"onboarding"},{default:t(()=>[u(m,null,{default:t(()=>[u(l,null,{default:t(({Component:r})=>[V(d).name==="onboarding-add-services"?(o(),n(i(r),{key:0,mode:a.value,onChange:s[0]||(s[0]=p=>{a.value=p})},null,40,["mode"])):(o(),n(i(r),{key:1}))]),_:1})]),_:1})]),_:1})}}});export{g as default}; +import{d as _,e as f,y as w,r as e,o,i as n,w as t,j as u,k as V,q as i}from"./index-78eccadf.js";const g=_({__name:"OnboardingView",setup(k){const d=f(),a=w("demo");return(v,s)=>{const l=e("RouterView"),m=e("AppView"),c=e("RouteView");return o(),n(c,{name:"onboarding"},{default:t(()=>[u(m,null,{default:t(()=>[u(l,null,{default:t(({Component:r})=>[V(d).name==="onboarding-add-services"?(o(),n(i(r),{key:0,mode:a.value,onChange:s[0]||(s[0]=p=>{a.value=p})},null,40,["mode"])):(o(),n(i(r),{key:1}))]),_:1})]),_:1})]),_:1})}}});export{g as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-a8d94bc6.js b/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-ca95d278.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-a8d94bc6.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-ca95d278.js index 2e88d829beea..2b38e9ac943c 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-a8d94bc6.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-ca95d278.js @@ -1 +1 @@ -import{d as $,g as b,y as B,r as u,o as e,l as n,j as i,k as h,ay as L,n as _,w as o,i as s,E as v,x,af as P,F as S,I as C,H as R,s as N,R as A,p as q,$ as E,a5 as I}from"./index-2441451c.js";import{_ as j}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-a10f960a.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";import"./toYaml-4e00099e.js";const F={key:3,"data-testid":"affected-data-plane-proxies"},H=$({__name:"PolicyConnections",props:{mesh:{type:String,required:!0},policyPath:{type:String,required:!0},policyName:{type:String,required:!0}},setup(y){const t=y,{t:f}=b(),r=B("");return(k,p)=>{const c=u("RouterLink");return e(),n("div",null,[i(h(L),{id:"dataplane-search",modelValue:r.value,"onUpdate:modelValue":p[0]||(p[0]=a=>r.value=a),type:"text",placeholder:h(f)("policies.detail.dataplane_input_placeholder"),required:"","data-testid":"dataplane-search-input"},null,8,["modelValue","placeholder"]),_(),i(N,{src:`/meshes/${t.mesh}/policy-path/${t.policyPath}/policy/${t.policyName}/dataplanes`},{default:o(({data:a,error:m})=>[m?(e(),s(v,{key:0,error:m},null,8,["error"])):a===void 0?(e(),s(x,{key:1})):a.items.length===0?(e(),s(P,{key:2})):(e(),n("ul",F,[(e(!0),n(S,null,C(a.items.filter(l=>l.dataplane.name.toLowerCase().includes(r.value.toLowerCase())),(l,w)=>(e(),n("li",{key:w,"data-testid":"dataplane-name"},[i(c,{to:{name:"data-plane-detail-view",params:{mesh:l.dataplane.mesh,dataPlane:l.dataplane.name}}},{default:o(()=>[_(R(l.dataplane.name),1)]),_:2},1032,["to"])]))),128))]))]),_:1},8,["src"])])}}}),K={class:"stack"},O=$({__name:"PolicyDetails",props:{policy:{type:Object,required:!0},path:{type:String,required:!0}},setup(y){const t=y,{t:f}=b(),r=A();return(k,p)=>(e(),n("div",K,[i(h(E),null,{body:o(()=>[q("h2",null,R(h(f)("policies.detail.affected_dpps")),1),_(),i(H,{class:"mt-4",mesh:t.policy.mesh,"policy-name":t.policy.name,"policy-path":t.path},null,8,["mesh","policy-name","policy-path"])]),_:1}),_(),i(j,{id:"code-block-policy",resource:t.policy,"resource-fetcher":c=>h(r).getSinglePolicyEntity({name:t.policy.name,mesh:t.policy.mesh,path:t.path},c),"is-searchable":""},null,8,["resource","resource-fetcher"])]))}}),G=$({__name:"PolicyDetailView",setup(y){return(t,f)=>{const r=u("RouteTitle"),k=u("DataSource"),p=u("AppView"),c=u("RouteView");return e(),s(c,{name:"policy-detail-view",params:{mesh:"",policy:"",policyPath:""}},{default:o(({route:a,t:m})=>[i(k,{src:"/*/policy-types"},{default:o(({data:l,error:w})=>[w?(e(),s(v,{key:0,error:w},null,8,["error"])):l===void 0?(e(),s(x,{key:1})):l.policies.length===0?(e(),s(P,{key:2})):(e(!0),n(S,{key:3},C([l.policies.find(d=>d.path===a.params.policyPath)??l.policies[0]],d=>(e(),s(p,{key:d.name,breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:a.params.mesh}},text:a.params.mesh},{to:{name:"policy-list-view",params:{mesh:a.params.mesh,policyPath:a.params.policyPath}},text:m("policies.routes.item.breadcrumbs")}]},{title:o(()=>[q("h1",null,[i(I,{text:a.params.policy},{default:o(()=>[i(r,{title:m("policies.routes.item.title",{name:a.params.policy}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:o(()=>[_(),i(k,{src:`/meshes/${a.params.mesh}/policy-path/${d.path}/policy/${a.params.policy}`},{default:o(({data:g,error:V})=>[V?(e(),s(v,{key:0,error:V},null,8,["error"])):g===void 0?(e(),s(x,{key:1})):(e(),s(O,{key:2,policy:g,path:d.path,"data-testid":"detail-view-details"},null,8,["policy","path"]))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"]))),128))]),_:2},1024)]),_:1})}}});export{G as default}; +import{d as $,g as b,y as B,r as u,o as e,l as n,j as i,k as h,ay as L,n as _,w as o,i as s,E as v,x,af as P,F as S,I as C,H as R,s as N,R as A,p as q,$ as E,a5 as I}from"./index-78eccadf.js";import{_ as j}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-74215da3.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";import"./toYaml-4e00099e.js";const F={key:3,"data-testid":"affected-data-plane-proxies"},H=$({__name:"PolicyConnections",props:{mesh:{type:String,required:!0},policyPath:{type:String,required:!0},policyName:{type:String,required:!0}},setup(y){const t=y,{t:f}=b(),r=B("");return(k,p)=>{const c=u("RouterLink");return e(),n("div",null,[i(h(L),{id:"dataplane-search",modelValue:r.value,"onUpdate:modelValue":p[0]||(p[0]=a=>r.value=a),type:"text",placeholder:h(f)("policies.detail.dataplane_input_placeholder"),required:"","data-testid":"dataplane-search-input"},null,8,["modelValue","placeholder"]),_(),i(N,{src:`/meshes/${t.mesh}/policy-path/${t.policyPath}/policy/${t.policyName}/dataplanes`},{default:o(({data:a,error:m})=>[m?(e(),s(v,{key:0,error:m},null,8,["error"])):a===void 0?(e(),s(x,{key:1})):a.items.length===0?(e(),s(P,{key:2})):(e(),n("ul",F,[(e(!0),n(S,null,C(a.items.filter(l=>l.dataplane.name.toLowerCase().includes(r.value.toLowerCase())),(l,w)=>(e(),n("li",{key:w,"data-testid":"dataplane-name"},[i(c,{to:{name:"data-plane-detail-view",params:{mesh:l.dataplane.mesh,dataPlane:l.dataplane.name}}},{default:o(()=>[_(R(l.dataplane.name),1)]),_:2},1032,["to"])]))),128))]))]),_:1},8,["src"])])}}}),K={class:"stack"},O=$({__name:"PolicyDetails",props:{policy:{type:Object,required:!0},path:{type:String,required:!0}},setup(y){const t=y,{t:f}=b(),r=A();return(k,p)=>(e(),n("div",K,[i(h(E),null,{body:o(()=>[q("h2",null,R(h(f)("policies.detail.affected_dpps")),1),_(),i(H,{class:"mt-4",mesh:t.policy.mesh,"policy-name":t.policy.name,"policy-path":t.path},null,8,["mesh","policy-name","policy-path"])]),_:1}),_(),i(j,{id:"code-block-policy",resource:t.policy,"resource-fetcher":c=>h(r).getSinglePolicyEntity({name:t.policy.name,mesh:t.policy.mesh,path:t.path},c),"is-searchable":""},null,8,["resource","resource-fetcher"])]))}}),G=$({__name:"PolicyDetailView",setup(y){return(t,f)=>{const r=u("RouteTitle"),k=u("DataSource"),p=u("AppView"),c=u("RouteView");return e(),s(c,{name:"policy-detail-view",params:{mesh:"",policy:"",policyPath:""}},{default:o(({route:a,t:m})=>[i(k,{src:"/*/policy-types"},{default:o(({data:l,error:w})=>[w?(e(),s(v,{key:0,error:w},null,8,["error"])):l===void 0?(e(),s(x,{key:1})):l.policies.length===0?(e(),s(P,{key:2})):(e(!0),n(S,{key:3},C([l.policies.find(d=>d.path===a.params.policyPath)??l.policies[0]],d=>(e(),s(p,{key:d.name,breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:a.params.mesh}},text:a.params.mesh},{to:{name:"policy-list-view",params:{mesh:a.params.mesh,policyPath:a.params.policyPath}},text:m("policies.routes.item.breadcrumbs")}]},{title:o(()=>[q("h1",null,[i(I,{text:a.params.policy},{default:o(()=>[i(r,{title:m("policies.routes.item.title",{name:a.params.policy}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:o(()=>[_(),i(k,{src:`/meshes/${a.params.mesh}/policy-path/${d.path}/policy/${a.params.policy}`},{default:o(({data:g,error:V})=>[V?(e(),s(v,{key:0,error:V},null,8,["error"])):g===void 0?(e(),s(x,{key:1})):(e(),s(O,{key:2,policy:g,path:d.path,"data-testid":"detail-view-details"},null,8,["policy","path"]))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"]))),128))]),_:2},1024)]),_:1})}}});export{G as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyListView-bd677da7.js b/app/kuma-ui/pkg/resources/data/assets/PolicyListView-6073e164.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/PolicyListView-bd677da7.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyListView-6073e164.js index ac42a7a9910f..fda30c33a247 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyListView-bd677da7.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyListView-6073e164.js @@ -1 +1 @@ -import{d as R,g as L,e as B,r as g,o as c,l as h,j as n,w as a,F as C,I as N,B as S,k as e,n as i,H as r,p as m,$ as v,i as p,ag as b,m as f,az as V,E as $,a0 as A,a1 as K,Y as F,a2 as O,K as j,a3 as H,t as M,x as U,af as Y}from"./index-2441451c.js";import{P as Z}from"./PolicyTypeTag-f315c056.js";const q={class:"policy-list-content"},D={class:"policy-count"},G={class:"policy-list"},J={class:"stack"},Q={class:"description"},W={class:"description-content"},X={class:"description-actions"},ee={class:"visually-hidden"},te={key:0},ae=R({__name:"PolicyList",props:{pageNumber:{},pageSize:{},policyTypes:{},currentPolicyType:{},policyCollection:{},policyError:{},meshInsight:{}},emits:["change"],setup(z,{emit:T}){const t=z,{t:l}=L(),y=B();return(w,k)=>{const u=g("RouterLink");return c(),h("div",q,[n(e(v),{class:"policy-type-list","data-testid":"policy-type-list"},{body:a(()=>[(c(!0),h(C,null,N(t.policyTypes,(s,d)=>{var o,_,P;return c(),h("div",{key:d,class:S(["policy-type-link-wrapper",{"policy-type-link-wrapper--is-active":s.path===t.currentPolicyType.path}])},[n(u,{class:"policy-type-link",to:{name:"policy-list-view",params:{mesh:e(y).params.mesh,policyPath:s.path}},"data-testid":`policy-type-link-${s.name}`},{default:a(()=>[i(r(s.name),1)]),_:2},1032,["to","data-testid"]),i(),m("div",D,r(((P=(_=(o=t.meshInsight)==null?void 0:o.policies)==null?void 0:_[s.name])==null?void 0:P.total)??0),1)],2)}),128))]),_:1}),i(),m("div",G,[m("div",J,[n(e(v),null,{body:a(()=>[m("div",Q,[m("div",W,[m("h3",null,[n(Z,{"policy-type":t.currentPolicyType.name},{default:a(()=>[i(r(e(l)("policies.collection.title",{name:t.currentPolicyType.name})),1)]),_:1},8,["policy-type"])]),i(),m("p",null,r(e(l)(`policies.type.${t.currentPolicyType.name}.description`,void 0,{defaultMessage:e(l)("policies.collection.description")})),1)]),i(),m("div",X,[t.currentPolicyType.isExperimental?(c(),p(e(b),{key:0,appearance:"warning"},{default:a(()=>[i(r(e(l)("policies.collection.beta")),1)]),_:1})):f("",!0),i(),t.currentPolicyType.isInbound?(c(),p(e(b),{key:1,appearance:"neutral"},{default:a(()=>[i(r(e(l)("policies.collection.inbound")),1)]),_:1})):f("",!0),i(),t.currentPolicyType.isOutbound?(c(),p(e(b),{key:2,appearance:"neutral"},{default:a(()=>[i(r(e(l)("policies.collection.outbound")),1)]),_:1})):f("",!0),i(),n(V,{href:e(l)("policies.href.docs",{name:t.currentPolicyType.name}),"data-testid":"policy-documentation-link"},{default:a(()=>[m("span",ee,r(e(l)("common.documentation")),1)]),_:1},8,["href"])])])]),_:1}),i(),n(e(v),null,{body:a(()=>{var s,d;return[t.policyError!==void 0?(c(),p($,{key:0,error:t.policyError},null,8,["error"])):(c(),p(A,{key:1,class:"policy-collection","data-testid":"policy-collection","empty-state-message":e(l)("common.emptyState.message",{type:`${t.currentPolicyType.name} policies`}),"empty-state-cta-to":e(l)("policies.href.docs",{name:t.currentPolicyType.name}),"empty-state-cta-text":e(l)("common.documentation"),headers:[{label:"Name",key:"name"},...t.currentPolicyType.isTargetRefBased?[{label:"Target ref",key:"targetRef"}]:[],{label:"Actions",key:"actions",hideLabel:!0}],"page-number":t.pageNumber,"page-size":t.pageSize,total:(s=t.policyCollection)==null?void 0:s.total,items:(d=t.policyCollection)==null?void 0:d.items,error:t.policyError,onChange:k[0]||(k[0]=o=>T("change",o))},{name:a(({rowValue:o})=>[n(u,{to:{name:"policy-detail-view",params:{mesh:e(y).params.mesh,policyPath:t.currentPolicyType.path,policy:o}}},{default:a(()=>[i(r(o),1)]),_:2},1032,["to"])]),targetRef:a(({row:o})=>[t.currentPolicyType.isTargetRefBased?(c(),p(e(b),{key:0,appearance:"neutral"},{default:a(()=>[i(r(o.spec.targetRef.kind),1),o.spec.targetRef.name?(c(),h("span",te,[i(":"),m("b",null,r(o.spec.targetRef.name),1)])):f("",!0)]),_:2},1024)):(c(),h(C,{key:1},[i(r(e(l)("common.detail.none")),1)],64))]),actions:a(({row:o})=>[n(e(K),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:a(()=>[n(e(F),{class:"non-visual-button",appearance:"secondary",size:"small"},{default:a(()=>[n(e(O),{size:e(j)},null,8,["size"])]),_:1})]),items:a(()=>[n(e(H),{item:{to:{name:"policy-detail-view",params:{mesh:e(y).params.mesh,policyPath:t.currentPolicyType.path,policy:o.name}},label:e(l)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:1},8,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error"]))]}),_:1})])])])}}});const se=M(ae,[["__scopeId","data-v-9ebcab5f"]]),ce=R({__name:"PolicyListView",setup(z){return(T,t)=>{const l=g("RouteTitle"),y=g("DataSource"),w=g("AppView"),k=g("RouteView");return c(),p(y,{src:"/me"},{default:a(({data:u})=>[u?(c(),p(k,{key:0,name:"policy-list-view",params:{page:1,size:u.pageSize,mesh:"",policyPath:""}},{default:a(({route:s,t:d})=>[n(w,null,{title:a(()=>[m("h2",null,[n(l,{title:d("policies.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[i(),n(y,{src:"/*/policy-types"},{default:a(({data:o,error:_})=>[_?(c(),p($,{key:0,error:_},null,8,["error"])):o===void 0?(c(),p(U,{key:1})):o.policies.length===0?(c(),p(Y,{key:2})):(c(),p(y,{key:3,src:`/meshes/${s.params.mesh}/policy-path/${s.params.policyPath}?page=${s.params.page}&size=${s.params.size}`},{default:a(({data:P,error:x})=>[n(y,{src:`/mesh-insights/${s.params.mesh}`},{default:a(({data:I})=>[(c(),p(se,{key:s.params.policyPath,"page-number":parseInt(s.params.page),"page-size":parseInt(s.params.size),"current-policy-type":o.policies.find(E=>E.path===s.params.policyPath)??o.policies[0],"policy-types":o.policies,"mesh-insight":I,"policy-collection":P,"policy-error":x,onChange:s.update},null,8,["page-number","page-size","current-policy-type","policy-types","mesh-insight","policy-collection","policy-error","onChange"]))]),_:2},1032,["src"])]),_:2},1032,["src"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["params"])):f("",!0)]),_:1})}}});export{ce as default}; +import{d as R,g as L,e as B,r as g,o as c,l as h,j as n,w as a,F as C,I as N,B as S,k as e,n as i,H as r,p as m,$ as v,i as p,ag as b,m as f,az as V,E as $,a0 as A,a1 as K,Y as F,a2 as O,K as j,a3 as H,t as M,x as U,af as Y}from"./index-78eccadf.js";import{P as Z}from"./PolicyTypeTag-a975dbc4.js";const q={class:"policy-list-content"},D={class:"policy-count"},G={class:"policy-list"},J={class:"stack"},Q={class:"description"},W={class:"description-content"},X={class:"description-actions"},ee={class:"visually-hidden"},te={key:0},ae=R({__name:"PolicyList",props:{pageNumber:{},pageSize:{},policyTypes:{},currentPolicyType:{},policyCollection:{},policyError:{},meshInsight:{}},emits:["change"],setup(z,{emit:T}){const t=z,{t:l}=L(),y=B();return(w,k)=>{const u=g("RouterLink");return c(),h("div",q,[n(e(v),{class:"policy-type-list","data-testid":"policy-type-list"},{body:a(()=>[(c(!0),h(C,null,N(t.policyTypes,(s,d)=>{var o,_,P;return c(),h("div",{key:d,class:S(["policy-type-link-wrapper",{"policy-type-link-wrapper--is-active":s.path===t.currentPolicyType.path}])},[n(u,{class:"policy-type-link",to:{name:"policy-list-view",params:{mesh:e(y).params.mesh,policyPath:s.path}},"data-testid":`policy-type-link-${s.name}`},{default:a(()=>[i(r(s.name),1)]),_:2},1032,["to","data-testid"]),i(),m("div",D,r(((P=(_=(o=t.meshInsight)==null?void 0:o.policies)==null?void 0:_[s.name])==null?void 0:P.total)??0),1)],2)}),128))]),_:1}),i(),m("div",G,[m("div",J,[n(e(v),null,{body:a(()=>[m("div",Q,[m("div",W,[m("h3",null,[n(Z,{"policy-type":t.currentPolicyType.name},{default:a(()=>[i(r(e(l)("policies.collection.title",{name:t.currentPolicyType.name})),1)]),_:1},8,["policy-type"])]),i(),m("p",null,r(e(l)(`policies.type.${t.currentPolicyType.name}.description`,void 0,{defaultMessage:e(l)("policies.collection.description")})),1)]),i(),m("div",X,[t.currentPolicyType.isExperimental?(c(),p(e(b),{key:0,appearance:"warning"},{default:a(()=>[i(r(e(l)("policies.collection.beta")),1)]),_:1})):f("",!0),i(),t.currentPolicyType.isInbound?(c(),p(e(b),{key:1,appearance:"neutral"},{default:a(()=>[i(r(e(l)("policies.collection.inbound")),1)]),_:1})):f("",!0),i(),t.currentPolicyType.isOutbound?(c(),p(e(b),{key:2,appearance:"neutral"},{default:a(()=>[i(r(e(l)("policies.collection.outbound")),1)]),_:1})):f("",!0),i(),n(V,{href:e(l)("policies.href.docs",{name:t.currentPolicyType.name}),"data-testid":"policy-documentation-link"},{default:a(()=>[m("span",ee,r(e(l)("common.documentation")),1)]),_:1},8,["href"])])])]),_:1}),i(),n(e(v),null,{body:a(()=>{var s,d;return[t.policyError!==void 0?(c(),p($,{key:0,error:t.policyError},null,8,["error"])):(c(),p(A,{key:1,class:"policy-collection","data-testid":"policy-collection","empty-state-message":e(l)("common.emptyState.message",{type:`${t.currentPolicyType.name} policies`}),"empty-state-cta-to":e(l)("policies.href.docs",{name:t.currentPolicyType.name}),"empty-state-cta-text":e(l)("common.documentation"),headers:[{label:"Name",key:"name"},...t.currentPolicyType.isTargetRefBased?[{label:"Target ref",key:"targetRef"}]:[],{label:"Actions",key:"actions",hideLabel:!0}],"page-number":t.pageNumber,"page-size":t.pageSize,total:(s=t.policyCollection)==null?void 0:s.total,items:(d=t.policyCollection)==null?void 0:d.items,error:t.policyError,onChange:k[0]||(k[0]=o=>T("change",o))},{name:a(({rowValue:o})=>[n(u,{to:{name:"policy-detail-view",params:{mesh:e(y).params.mesh,policyPath:t.currentPolicyType.path,policy:o}}},{default:a(()=>[i(r(o),1)]),_:2},1032,["to"])]),targetRef:a(({row:o})=>[t.currentPolicyType.isTargetRefBased?(c(),p(e(b),{key:0,appearance:"neutral"},{default:a(()=>[i(r(o.spec.targetRef.kind),1),o.spec.targetRef.name?(c(),h("span",te,[i(":"),m("b",null,r(o.spec.targetRef.name),1)])):f("",!0)]),_:2},1024)):(c(),h(C,{key:1},[i(r(e(l)("common.detail.none")),1)],64))]),actions:a(({row:o})=>[n(e(K),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:a(()=>[n(e(F),{class:"non-visual-button",appearance:"secondary",size:"small"},{default:a(()=>[n(e(O),{size:e(j)},null,8,["size"])]),_:1})]),items:a(()=>[n(e(H),{item:{to:{name:"policy-detail-view",params:{mesh:e(y).params.mesh,policyPath:t.currentPolicyType.path,policy:o.name}},label:e(l)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:1},8,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error"]))]}),_:1})])])])}}});const se=M(ae,[["__scopeId","data-v-9ebcab5f"]]),ce=R({__name:"PolicyListView",setup(z){return(T,t)=>{const l=g("RouteTitle"),y=g("DataSource"),w=g("AppView"),k=g("RouteView");return c(),p(y,{src:"/me"},{default:a(({data:u})=>[u?(c(),p(k,{key:0,name:"policy-list-view",params:{page:1,size:u.pageSize,mesh:"",policyPath:""}},{default:a(({route:s,t:d})=>[n(w,null,{title:a(()=>[m("h2",null,[n(l,{title:d("policies.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[i(),n(y,{src:"/*/policy-types"},{default:a(({data:o,error:_})=>[_?(c(),p($,{key:0,error:_},null,8,["error"])):o===void 0?(c(),p(U,{key:1})):o.policies.length===0?(c(),p(Y,{key:2})):(c(),p(y,{key:3,src:`/meshes/${s.params.mesh}/policy-path/${s.params.policyPath}?page=${s.params.page}&size=${s.params.size}`},{default:a(({data:P,error:x})=>[n(y,{src:`/mesh-insights/${s.params.mesh}`},{default:a(({data:I})=>[(c(),p(se,{key:s.params.policyPath,"page-number":parseInt(s.params.page),"page-size":parseInt(s.params.size),"current-policy-type":o.policies.find(E=>E.path===s.params.policyPath)??o.policies[0],"policy-types":o.policies,"mesh-insight":I,"policy-collection":P,"policy-error":x,onChange:s.update},null,8,["page-number","page-size","current-policy-type","policy-types","mesh-insight","policy-collection","policy-error","onChange"]))]),_:2},1032,["src"])]),_:2},1032,["src"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["params"])):f("",!0)]),_:1})}}});export{ce as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-f315c056.js b/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-a975dbc4.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-f315c056.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-a975dbc4.js index d985a63acd04..3bd96a02c88f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-f315c056.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-a975dbc4.js @@ -1 +1 @@ -import{d as Q,o as e,l as t,i as l,k as m,aq as p,n,U as d,H as w,t as z}from"./index-2441451c.js";const B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAAAVFBMVEXa2tra2tra2tra2tra2tra2tr////a2toAfd6izPLvzPnRfvDYteSKr86zas0Aar4AhODY6vr3+Prx8v2Kv+9aqOk3muUOj+N5t+211vXhqfW01fXvn55GAAAABnRSTlMC9s/Hbhsvz/I3AAABVklEQVRo3u3b3Y6CMBCG4SJYhnV/KD+K7v3f57bN7AFJTcDUmZB+74lH5EmMA5hmjK+pq1awqm5M6HxqxTudPSzssmxM06rUmDp8DFawIYi1qYRdlisTeCtcMAGnAgwYMGDAgJ8GGPDB4B8frepnl9cZH5d1374E7GmX1WVuA0xzTvixA+5zwpc0/OXrVgU5N/yx6tMHGDBgwIABvxmeiBZhmF3fPMjDFLuOSjDdnBJMvVOAb1G+y8PjlUKdOGyHOcpLJniiDfEVC/FYZYA3unxFx2OVAd7sTjZ073msRGB2Yy7KvcsC2z05Hitx2P6PVTEwf9W/h/5xvTBOB76ByN8ydzRRzofELln1schjVNCrTxyjsl5vtV7ol7L+tAEGDLhMWOAw5ADHPxIHXmpHfAWepgJOBBgwYMCAAT8NMGDAgJOw2hKO2tqR2qKV1mqZ3jKd2vrgH/W3idgykdWgAAAAAElFTkSuQmCC",a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAH90lEQVRoBdVaC4xU1Rn+zr2zu8PyEBGoKMFVK0KLFXyiVKS2FFGIhhT7Smq1aQXbuMQHCwRQiBWVUl7CaiuxGoGosSQ0tJuU4qNrpQEfq0AReQisLKK7iCIsO3fO3+8/wx1mdgdmlp3srCdhz8y9597zff/7P4wBhxw50jfW2Pi4ERkhQB+91lGHAerEmFeLotHJprS01ij4oLGxRkR6dFTQmXAZYxoi0eilpqmhYQVEfpppUYe/ZsxKE6uv39fRzeZkglRzMk319cT/9R1eVuixAPazzyFBPG2p/fgA7M6PAd4v5MhKwB46DDnQAPvRPiCFhFiBNB5LXC8giawETPeuQHER0BRDnCRCTfjn9oLpVAJRDSm5ApHITiDiwy87J0lCwToSngfvvD4FJ5GVgLPvXEl8/mW7u0ProhB9QM1IzUnNyqNmDMkhbmEJ3uvWGSiKtCuJrBqQo3TUTw8C1gLNNCF79yfA+jSns85od/C6eVYC9uAXEBKwu+vSSDgHpuQLPbKakMRikI/qXLRR0Oq4oAO3GBpin6uC/Oc94H+7IWd0gbmoL3Db92GGXdJieb4uZCXgNjoeKjVkZiIhH9bCTF4KbK+FML+71M4ZnnHfzcir4M24E+jSKV+4k+/JjYAub06iHzVB22chCNw6FbKdWbmYDjzvdzBXfQs41gS89g7s4pcgX34FXPJN+IvvyzuJDLaQJJf+gdHFRR3OzrHDkGko6vn3AL27JzL1C2vpzIxM6tTjRsCsmAXDpIfNOxCUzwO+Opr+3jZ+y10D4UaqCQ2ZmqFTQ+YuJrhfzYHUHwKuGQRv4SSgpDjx1H6WIhMfha37DBh0ISIL7wU658ecWk8gJJJpVhK/fvQEifnlSRLySYKE7K8Hvn0BIgvyQyJ3E8oEuPm181ly/HkK0Ks75L+bIXOXJ1eYb/SAVzkFpk8vyJZdCO6dnxdzyi8BwjUkYZ6qcKHW/q0aONKYTmLpZJhzejLUksR9C9pMIu8EFK3pSYeO0v41QtFnUodqwn9iMnD2WRCSiD2wsE0k8k+AEreTaB4sQTCkP8CE1nyEJFQTsmUngj+eMLXma7N9zzsB2bQT+k+TGC5kJj7JML15CDLsUqqLitpVm1ilRWIry5O8E9Ak5s25m0mOWfjldbCVf81IIb6mGvblf5GAgTd2OOyGzTj2s6k4Nv5+2I1bMj6T6WJ+w2jKDvLKW4hPr3QFoLl9DPwJ41Lu8uPRRgQVi2CZ4FzU+oLZOqC/aPnBjF784ER4lzOjZxn+jIqKh7Ksye02VS/Tn3JZ2GinptHognMhr70N1HzILi6Ad8VA2GdWszxvgDfgfHgjLke8Zhuwh2W5WPjjWPhdXEbn3ol49Tvw+p/HiMUsfoqRHw1oQzNlKVTq6NkN/qrHAVauOuTVtxDMJDECNN+5iP6xA0Ip+9PugD9yqNNEfMmLQN/e8H9yI9cJmiY+DKu9RrdSRJfNBkpPnrXbTiAVPDf0lzwADCxz4MM/qoXgwSdpTjzJIHgtnxyJqXfC/8HV4TI3B4tWIKiqhkSLUDLzbniDL0673/xL25xYzYaSx7qNQNdO6eApSflgt9vPXH8Z/NkTYPr3Q2TWBHijrnHX44tXpuEJFi134DWH5AJeHz59Agq+YgmE4EUlzwyblDzBxx/5C+J3zYGtfteB9IZfhsjTM2A6RxF/hYR189HfdbP+CRYuR7zqDSbAIhTPJMkskg8fPD0C7L5kaiWsgu/aErwleGGY1LLadCkN93Jz8PzfXbTxaP+RCT9KXCN4ZzYlCp7RZ/CAtGdO9aX1BJoCyLQnIW+8D9ODDluZInnupOAtwUtpCfy55TCDmY1ThjegzHVs8Q2bYLfvTUj+H9UwNBsXOlsBXl/bOidubII8tAzy9lZIpyi8ub91dh3ik4efQXzNvxk1ovDnTWoB3q1jOI3N/hPsmzU85WAHx+gkKvlZ6rC5Sz7cM3cNaI0zaxmwdTcsy2VvwT1p4O3vFTzNhiHP/0NLyYcbKuiimb+Bdy3LCB7VtAW8vjM3DRxmG/jYctYs7HspXUy/Habf2UlM9rHnICydNYP68wh+yKlDn3tQNTH3Wfijh52W5MPNsxPQ0+n5LwD72A4yguD+n7PHZT1/fMSfeBGympJng+8/MjE38OHDeZhphKcY2rgvWQUcYp3CGt+UjwdYz4fDPr0aWMuQyP7Wn0at5CL58OE8zScnoM35sjX8H0x2VDxhMHfd4oqucF/7fBXA0kFYMvjlP4a5MnvhFT6bzzkzgQMHISvXwrCb8s7sytOGMQDncMhL64DX33Xp3v/lGJihg8Jb7T63JFBXD1n1OsMb20F2U/KLH7Ko6pIE5py1miGQp9Nm/CiY6wYn7xXiQxoBqf0U3j83uCNzq6dst91A8DwyD0fVesibmxJHJTdeDe/6IeGdgs1JAnqAa9ZvgejJG4/RzbjhaYdPWvNg41ZKPgLzvSEwN1xRMNCpGzsCsmMf8N52l1S01jVjr03E++MrRU2mZgeMauXKgTAj00vg1Be292cPH+xtMDxV1ipR7d7cel0aeKynyWza5Qoz4bGgGdVxwLOtqPPMtj2eZldhkWbGDqN9F50QIk1Gtu11ZoMytok3Jer4EwsK+0l/9OFFxNxhDh+NmdFD0w9rtY+lX+gBrvQ+E2YMyXWgoT/2cL9YUUzNf24j79Pe93zizmiEJYK5mT7RQYaaTerPbf4PGwFZsK8ONooAAAAASUVORK5CYII=",c="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAEj0lEQVRoBe1aS28TVxT+7ngydhwnPGISTBKHEB6iUtOWHTvWqCtKqQhISC2vBbCpRDf9BUgsgAWbdlGppWqlSl1UXfMLCmXRqgXUxmCclOCWxI4Tv4Zz7s00BntmLh4rTCSfxJ4755458333fHfuTTQCZFOHTo+ijCs2cAi2nWJfaE2InABuw8Lle7e/eCwYvL2CXwF7a2hBtwQm8iKKdwwe+Y0HnhnRgBN2Q8qmJcPwOxm7EXrNe40jzVfDq38j9HUJvOkqdSvQrUDAEeiIhGaPH8bsyfe1oWQuTuPxhePa8V6BplenTl85tQ2l9A7YMUsnHMsTIyjtm9CK1QkKXIHC3nEI2l3RgqhzPzw/sB/g+A5ZYAKlPTsVFMnCH1Xx3f26XP2TUUQgAuXhJKr9fQqQRgVYPpUtA7IANvQq5sciEIHi7jHKb5OE9DQh5SOvoGs6pKNABJYn06tAaDQ1SLB82DoFnnO1TaA8NIhqIo7IQkFLDI58zPx/WvEMTsfaJlAiPbPF789oiWHxPTX6A3f/kPGdmQEBKlCaGJUE+oiANJ9JvEAEeOL23/ldHvVmjUrt9d1WBSrJLaiRfMzCEqzcU8pPcDzmAMunSk8f699FxP7KqngvVK/R19ZKvDy+Qy5cvQ8z8la2xuhzII8+m9foF9+axOz0YRm3/dbP6PvtoWy7fZm1iIV6tAd1i4+W3BLUrR7Y1Jb+1T7eKqg41ccajj94JPPy4DskaoleZM8cRYmeUGyO1hm0Q6DRz5XMnj2KpV1jTcSYyOTnNzjc1Uw1eCwBpQIFhNWqfvhKCZDPZbCQoGK5eVhz82uJKYjBPDp/DFwhBswZnEcmT3YlnzV/jRbBzKVplFNDTeDXEnu3TLNeBpb44x3o20vksh8fQYU2d1GaF+nr3yBCc6SVOaQyl05gxYm/9rWMf1VCra5v9LU1BxoT/N+mCpSHB2HNzmP05neu4J14ltZKKqnIroLnPta8n2ycHHzsHAGqgPXPM4x8+QOBLzXeo6ntSMsiGaYbwDcFajg6QiA6k0M9EQM/NSJFb/CMqe/PDD0QTKrU976V8uMg3j74ifOg8IsNZX9bC1mYmHQJvOlqBJ7EcUPgw8EELFq5vn1WQKHmPaX6IwIXhzdJ3jfmnmPRJ95vgAJJqJfAf0Tgx3pMpGn7cW5oExIE0M0Y/GepzdgT65EfbrPvVZuKW7g6vlV+uO1lYurgWTtmGHIEo7QYxYhSlM6jlJf9UT6nNvtiBFj5+SjUNeRbrNWpLTBmRSiOc6h8bjfOlquya8TyEQDdN1+t4dOZvFsqXsjU3ob/rqVfMv5iGaijbdORO2ihUlshiqdu5RZ4Uqnix3wRBsWcSiawj/8/xAEqGSd8ye4vV8DS4e3EheEBWYmXAl7zJJTrAMvm1LaEpPLV0wLu8V7NxUJJwAVrS3egSdwy4zo7uwTWecCbbtetQNOQrLPDoOd1bp3v2bnbEXZaN+nFiQ1qjJ3WfFymZdN9rQ4tOcJM2CNzf/+ysH33gVuiLlIkpyTh7Q8tZgbGr9sI8RO9qfIBv27zAiEVYZQrGIvuAAAAAElFTkSuQmCC",r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAFt0lEQVRoBe1aa2xTVRz/3d7bBytdXddtbIN1sId7IG4yHhGICxluMohOAkGChhiMih/8IiSERImRaBD9YGIkGg0xypwo8YkajGyikxqemziyDbbhBoyN7kHLStfb6zm3u01v1zvaritrwn9Zz+Pec87v//j9z2lzGBBZYHpyttMt7IWAcgFCOu2brsKAuQoG9TqO2dFkO9zNjIE/JwiCabqCDoaLYRgbUeJB1qgu2E/ALw720jTvm8ELSOdo2EhAy6vKpKpiWf/zSdmzUMbIBgQ0IpnPN4ZgV033mA/QV9ak2Jk8wxOCrDfOGqo4wzsObtwrwMWahD4CjtlysuvHvQfukXgcq2LcEfchxPkbTIlQgcTzHzOV9VDwxL0HYkLiIn0qNqQVoyDBjMN9/+Kr3hZ4yF80ZEoVeNiYRYAXYb4+TcQ6KnigZlS44OjD25cb0eUcnLQOUVeAAlxlysH61PmYo0sUAbbeuoG63vM4MXwZm2YtwMa0B+Ahynx+rRm115rAkyNxpMI8t/6NoKMjIW4Cq8YnhY/DrNaLeKzDPfiytxnn7L0yfLkzkvCKZQVo2T4ygH1df5DSJnsnsKFE6KiSOJHViOA7SGhsbfkOuy7+Og48BUZBv3Thexy4ehYW4qX3C9ZgS3pJIOaQ2lELoXlJGWB5Hh/kVOH4UBf6k41ovdGNo5dOTQjEojNiZ/Yjojd2tB/F6ZtXJnw/8OGkPVCanovd5c9g76qtMOuN4vxqqGBzDuP5smq8Vv400vT3Ba7ra3c5h3Bs4JLY1rOybcn3zkSVSSmwMCMPu1ZsQq4pEz+2/Y2OQW+scwyL2uZj2Nd4CFnGVLxT+SJW5yl/7XZ5vClVzYSvgGyEElGCEZr8vAGDJkE0zusNn5Jw6YFWxYptTuW1y4nuFvxzvRPPllaS/ypkJprx0akj4wzqJhmJCsswsmeh4AnbA2pwWKbOx079Wrg9vLigATps1C0FJ3jtwZFUKondNYL3rN+IihSnZEvdspIXvPPQFByuyDwQzNKBE27Xr4ZJNRNnRzt9CrgYD7JYM+7nvL+JccQ7geLi3ZA8E/iMbnBU/BWn7VDwhK1ykkqPQ04rPnM2+hTwEAXedfyEi+7rsPOjyCb5vTI5h2LwCfUWq2BhXvBuRSzhTrgStgI8sZa080khxJHs4Sb76ZBwC3s6GnDT7cL2rOV4M6cCKWM8cXvcYMc44g/SwGlRYpgldmnGuOP//E51xe/ESu7jySGMI2mSytBth1hWzC1Fu60HDpcTS/hivNrWgOq0HKwx5+Pjghp8eOUkTl5pQx7JVpKka2diXUoRHkvOF8lPw6hjRPlspERodmHxyt3SpP5lZ3vwDaVcU4hOTx+6+BsYdNpBSVqZW4aKeQ/hmt2GW3YnEqDFFwNn0ESOEKWGdPFsZOQZ7G/5DSZWi22zF+HlOUtRSE6pThJa9IS6p+P3CY8T2bkZ/vB89bB34s26ZSjiMvDt7dOwjl4UJ0qbacK2RWtRnGLBn/+dx4HTv8AljIpK9Qz2YzGXhJqUAtBYl4h63eXA1wT4kf42jHhGfYDCrYStAM3/yzX5qNaUoJPvQ91tKzQkqCxsMpKyTNi8oIIA5UnGYaHjNOi+2Ye3jtfBTFLsC5llUBEiU+D1to5JnUIlRcNWQBqYTFLpBt0SzGVTCHwWAx4H6px/waZ1YkvJo9CrdWR3tpLYb5WGTEkpU0CJKEqEpohKOQv5ZHDO3UXoLeWn6GANBY9sI4tk2TME+N0UmQfuJpBI1w57I4t0oakaF/cKKO7EoVoskOBKxJPmC/d9aZxSGfceuEdiJdfGqj/uQ0i2kd2JgNSq0SZhJPP5j1GJdw9i5e8or0OxM/mJNQfJVYOnojx3TKYj9yVqVfTWB704EZMVo7jI2GWPHWzvSMtwpr7oIL04QVxiJmsYorhO1KcSw4ZhfiCGX0ev2/wPquz9nGykU2YAAAAASUVORK5CYII=",i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB5CAYAAADyOOV3AAAFOklEQVR4Ae2dP2tUQRTFp7S385MofgRFiGBhKr9GuqBiI9iktwosCAnRLo0g8Q+ojSaNBomumESTIAqSLiPTTc4k7+bmztudu3sCAztv7p137/nNebtuREMIIXz9eXBluLO/NNzZe8sxCRrsL23tHlxObMP33b3ZzeHO0edv25FjcjRITBPbsPXj12+CnRywOcvENtC9kwk3gU5sQ048vf7775DDsQbIswAc+eNaAQJ2jU8unoBljVxHELBrfHLxBCxr5DqCgF3jk4snYFkj1xEE7BqfXDwByxq5jiBg1/jk4glY1sh1BAG7xicXT8CyRq4jCNg1Prl4ApY1ch1BwK7xycUTsKyR6wgCdo1PLp6AZY1cRxCwa3xy8QQsa+Q6goBd45OLJ2BZI9cRBOwan1w8AcsauY4gYNf45OIJWNbIdQQBu8YnF0/AskauIwjYNT65eAKWNXIdUQD+c2sm5iPemY2mIcnD/bsVMuqTs0yvQ7wQYtXRXb79XtxfpSEB4wH3foCgHwIGQSS+5qeddAOsxzgPOwsLMR9xsBhNQ2qA+3crZNQnZ5le89/o6Jbb3WrxKRovuOuIBR9TAHnSwcfk8T8hYP8MOzsg4E55/C8SsH+GnR0QcKc8/hcJ2D/Dzg4IuFMe/4sE7J9hZwcE3CmP/8WpAzz7cCnm48bdQaw58r3T63H/TB3gcG0+jnIQ8IgVGCXcdK9x/9DBPTuagEesADr43uBFrDlwf217+B5unV+fX4z5mPjfJiGA95vbsebA/bWAMb/6HJ/Z2gJbj0fBasJNe+H+Wj0wv/qcgG2ORiAErFXAGI8AWnfwo5U30TLmHq/GfPA92PiejAdIex4x33oAl9c+xnwQMAFrz2Rb8bUdgg7D/bXdYz7ur53n7k2v6WA6WHsm24qv7RB0FO6v7R7zcX/tnA42OhYFR0AErFXAGI8AEJB1jvtry8V8az2Fg/PvLdNr63ehmK9tuHZ8bQERAO6vrR/zcX/tvACMN6g91zZcOx770QomxeP+2voxX7qftE7A0/YejCeo9lx7omvHYz+SA7TruL+2fszX3h/jCwfn31um15bvQVMuFqxtGN/DrXOsBwWxznF/bb+Yb62nAIwXrDfAgq0N437WubU/zMd6rP3i/to58gx4QbshxtduGPezzrFe6xzrIWBBARSs9twKFPOxPqG9YhnzcX/tHA3bvIOtnwkwXyuYFI+ACoLCBcyX7ietuwMsNTTudQQk8CyWMd/aDwFP25+Dkbj1BOGJLI6scAHzrfX0nY/1Cu0Vy5hvrRd5Nv8ebG2473wEVBAULmC+tV4C5iO6rb9Gaj3RfeejAwXDFsuYb62XDqaD6WCNi9CBhUWFC5ivufdJsXQwHUwHn+SM066hAwXDFsuYf9p9znqdDqaD6zpY+/vc2if6rCf/vHFY77j7HbmDUQDt/LzCjypP248Ub62bgHt+REsApXUCrgzIKqgETLturad3B+PvX61za8N951v7w3xrvb0DthbIfNuHXAJu7BFf+0ATMAHbHhG1TyT30/Ggg+lg3Ymhw9rSiw6mg9s6kXxC6HjQwXSw7sTQYW3pRQfTwW2dSD4hdDzoYDpYd2LosLb0ooPp4LZOJJ8QOh50MB2sOzF0WFt60cF0cFsnkk8IHQ86mA7WnRg6rC296OBpd/Dqu0+Rw68GhYNXXq4f4UXOj//fQ171SGzD8tr60GsDrFs6iOvDcPP+k5mnrzYOKZYklq/1xDSxDWHmwcWr84NLz15v3H7+4csch38NEsvENLH9DwLs1co+Fv2iAAAAAElFTkSuQmCC",g=""+new URL("Retry-8b2ec896.png",import.meta.url).href,C=""+new URL("Timeout-dcabf0f7.jpg",import.meta.url).href,D="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAABYklEQVRoBe2av0oDQRDGZxbRxhfwDRI0NhKtRAhWPkM6Ex9KTOczWElArBRsAuEeIS+QRpvJfJdcqkWRLWYH5or7s7N797v59j4Odph2m4hw//xywsT3JHQqJMddrIajcq2Jaalcs2bx+cTMAi7Grn9xfSI/388kMsJ19RvznA+Pxs3X+yoh867gkV1NNJjBzr3BcKpT5rH6rOcAmR5SO+dzQQdtYE/4YB2w5hGVPdXmNnnSfCvYUz7kpzVewFor9woc/DeDb/OXX4fcjO728b/67jsWnLhXgHtnw/anqCAJpkPdKxAvYDp/9OHhQtYKhAtZKxAuZK1AuJC1AuFC1gqEC1krEC5krUC4kLUC4ULWCoQLWSsQLmStQLhQKFCYAaxSrgvvYTYc7AnL92YEpQ9WdqxSzkrvYzUe7Lwt8rh6dVMn0WVL6yWaxcdtQtUHCidIG7pY9cddsUfL3sF6LbfZAN5wf/+tIkpkAAAAAElFTkSuQmCC",f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAGRklEQVRoBdVZ629URRQ/c2/b7e62Fii2FBqsSOQZpSEBQkJiSGtMfKFRv0gMSUU+mJj4xcTEhPDJxD9BbaIJflETUfETDZoQNYgiREtBHsHYF9At0H10n/d6frM73Xsvey+zW+22J7l7zsyZOa+ZOffcWUElsG1bTMfjr3NzgGzawrhF8RYJTpCgYbZlcEVr68dCCBt2Cfwkk8mudME6Sra9F+1FD0KcbDaN/dFodMJA5JeU8YguBxo2w3YRm5k5yFvmw0Uf9UoGCnrD4P6BSrwl0jcgYndn4mzsYjuwuvFLYAWWqvFwsqVB11W/cZZl0e9/XqKr10cplc74DavYH2kO0SM93dS7dQMZBmJZPczbARj/x8Wr1WvmGXBYzd3+2KaaZMzbAUQe0LdnB3V3dVRlxOjEDRo6dUauXq0O1LZuDjPVtqnWeIjo7uqUkpQMh1htct4OaGv6nwYueQe0zsDgF9/5xs/05VTHCNIx8PLTvsK0HECKQ7qsCmJ3iD47RmL4LznN3vIo0av7iNqXVSXmfulVy4GmBpPSWYv2P99PoaYmlwGffH7c1ZYNNl688z5RIjnHEz/+SnR+hOwP3q3ohDfKmWyWjn59gqA7CLTOQDQaljLiidkgWWUeR95p/BwDDoGnAUqX0u03RcuB9rY2OX/85pSfHFe/2jauzlIjiOccr3Qp3U6ek9ZyQOX4kWt/cykuP4ScMv5zGjqgC6B0+ynRcmAtv2Ej4RDvilk6N3LZT9Zcvzywcy03EcRTI6EDuqATuoNAywHTNGjXtq1Sztnhy3Ty57M0OnnLv3hDtmmJ3qsXfeBVALyNIROyoQMAndAdBPge0N4TF65cp9PnLpDl2EZmiT7wyjNuPZppVGWxgpCf51KGwfTObZtp8/oet8wKLa00quZB4OrOlQRHxidjvAKzZOXyiu3GyPdvHeCvVT1o5HQZaQ7T6lXt0vBlrS1aE6tyABIheHdvcTuhrSIIej7w2gtP1TQ9eIPVJHJhJ2mtQFCdEvye1HcmSIf3Le2UquVALbXQeOo2HfntS/pp4pLUt7trAx3e/hKtjix36r8vXZdaCMY/8c0RupMp10JfXfuFvh8bph+eO1zRCW+U61oLIfJO41WY0QeeDtStFsoUcnR67CKFbIOa+VFY0afHLlGu4JN6HZ7VpRZK5TI0NjNFhjDI5MeJQRcfQf/wmGyAE3WphRLZWZpMTvOLy6bejh6+5xHyrqeM2Snu6+14mEdYNJGIUTafc8S8TC54LZQRebqVust39Ww0R/rQpiepLRRlutguYiH7Dm3ql2NQjkzyYbdK7+q61UJ5ylHOKNCzfXvKIWTqVjpOH10covNTxbL48ZUP0cGNffRgc6tr3PETpyhsNZHNjitYsFoomU5RhiNpyMijGMOD6kdQZ7iN3ut90dHHpIOPFsYK/t7GCkaMMEUXqhbatW0LxWbjfBBz9O3QKTakuFWkTdLIIlU0GHS50vTSiDbY/f07qD3cSiGzUU3WwlpvYqekAt9OTKcTlLcKpaxSXHrs/VpAzcP5uZ1O0nI+O6EGfSeqcgD5+25mVn5WIk1isygMQ8obqLIrxc1V3GQYgfFqHuQAZjibPcBY1wntsMF4CId6lVVMXv5IKMROCIrFbst+0IrvxYoHjGeK5wBDhhoLp5CSsT11QGsF0pyv8ZLCMvPfmy65a9esoit8Q32G73xqAawAZKitpGQks6yvSVCjGWxiMJelpTkScMCrQCnavH6d5I2O3+TLr6zqrow9e6y5sYm613TQxnU99wQGAlKsN8I4yInAb2IYLl/57qBXNk6n13sIvHM8Dip2mDOTnxNYgQQ/rg9Q6EFRlretmv/6UcpdWAVCYRez1KjAy3DGE1yGNIh7Pp8SDbyth/lc7lSyYHyaDywuG/y2jRq7kDhb4MtlvmJpcJ5Bth0rMMiPdAD1CaKOIHgPK4zFIUaxBgxQNHBtADmYq8Ku6Mry8O4RhikzV0nfoMDf9dPxxBBfn+8tIOwMarpXfGlS3RFSrmkYJ1e0tvTxigh7aibzJoncp/wvwI66W6djgDDO5A16G7aLGwm7k89HN+YZVmofR5/v/ux1fP2GDHYfmO8aYa2VDKhSNLAHDJFiu65x7I9ZhnmsyG0c/xfNI5E629R1xgAAAABJRU5ErkJggg==",v="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAGKUlEQVRoBc2aX2xTVRzHv/fe/tnf7h+bG24y4yBZJAETTBhGQ5BKiMYXnoY8EEgw0RDBGYJvxAeNcyLEFyUGjaI88WIMREGsJmSgD0CiWXSDQFbWSV3XtVvXru29/n6n3HE7u97b3gv2JLc9vT33dz6/f+ece+6VQGUqoXWqanoQ0DZDQwefK1TajnrE6btvLhT6++GckxACpIAsuw+11EhBF8Nr2fR1gm82JZBU0yYPvIEwsNZPzNuIfZ3rnuXN4YlMYgUk6YEzWulAI4NrFDUuETZWrmAFZM1iy4fVTNssF4v5pRiSxApUQBjpYBROsl639E0hJCuV5YWSFJC4dSUkssHalAPWi8ThUxk5vAgtheMp05iQCbrWoyCSytE3ezXMLWShml652E/Rii7freQCIp1VLcs3VYCFN9a4IS8ZPlVNQzSRtq2EkF9N8rliKCpZJzpvLt80B9jyDP/jWAxPHftDHFznc/yf3SLkE/zc6Dnc+rBLHFxnhazIN/VAM1ufhDF8KJ4WvB31blw98CTYShHygp2iy2f4bCwoRCm+TnQPjCMTD+H20EpIbCc6+DuvThls6gE7cE5cS5FKU9X9scOYdvyfqQfqvQq8bkWE0FvfjQumoZe68HyPD7FUFgvprC3OOiWDquoaEULhb/cJWa0vn0Dt6u1Ikew49VGsmCrAuVUoiSNJFTvPxnD8uWq0VOUnYLEOjf+ps2HMfrULq147A6U2fznmWBLzUMmjDVuDhfLBlt95dgaXQmn0fz+HqaTRsUbE5etqPIzox36kRgO4/ekOJOcTi/K5LysjEEs39cByCBGC7v8hjtGoitUNMk5vq0ezRU8I+ON+ZMMjUFb2ovH185DrWpfrquj5spOYYU+/UI81TRLG4uSR8zGwUmaF4aeP+pGZJPh2e/DcV9kK8MWsxDd+UqJRwmgsg1cuzJASy69W1VgYkSGCD43AxfD7y7c898/FlgIsoLlKxtdbfeQJmTxBSlwsrATDTw3eg+ewecM+vCMKLCqxpUHkwg3yxMBwDB4aenmS4qNOzmDmk13ITIzA3dGLpoMEX19ezHN/xlJ2EhuF6HUOn4HLUXzpb0UTzR/GkolHaJmwA75XTzkGz/IdVYAFsuV9BH8hmMDB4Sk+hY/6WrC1swbJRAKzakkreHF9sQ/bObBUeJ07J5LhQ4msOHRFPFXVS5vb/u24AraJShTguAKp5LxA4LDpqFHEwXUus+nlh1jRoIwPR3MgG6VJamgXet45A5cvf20zTcuP3YEQPtiwAs1e5+zmmCSGv3vYj8T1AMaO0NqGEta4dtr98wQu/5PE7kuTdGtafIVZiiMc8QDD/32IJqngCDyP96L13fNQGvLHeYbeMzyJsVgaPXRDdHJTO3kif6gtBVxva9sDAn7Aj/QtmqS6CsNzZwx7sq8dPT4FY7MpUibkiCdsKcDwkwcI/jZZvrsXbe//1/K6pe4rsZKUcOHG3AL2XL5jW4myFchOhxHan7O86zGCHyT4xvywMcLrdfbE5xsfpTBy4SYpsffKHXCCl1ss5QDflfEOgb5vk5qfx839LyJxNQD3E73oOGYN3gg5TftKe38N4sbsAja21OCLTV2opVmci/P7QgX2bTIzEfw5sAMrjpyyZHkjvF5nJQ5fn8Bnz6xCkyd/iWF138nUA/pN/dS5c/hrX+6me82JE2jZvh3zcwnMafkd63BWv7209Kj3uhC4G8Xbv98Sl723thub2xqt3dT/JEGTiMG458J7MDIdfH7DtQl4HunAcFcXUsGg6MDb2Ym+8XExzju1L9R38Romk7k9pvYqN4a3rLckPy+JeZ+FC+8iclX/LU5W6IdrbSxVFE27N9lw2BhDiC/iZLNbWIaX3M1hYwwhq/JNc0DsCxVIYqv7NmYKLrfv5FgSM8DSYbSUYc5MAaP8mWxuPmhQFOe2160AONXm6V+uUQICvz273rJIe2Og5W6sNSznMW5lKSDGxNIGhopSoJwHiDLFHL17UBlFpgfpJT1MJ3ZymhSoDHyioEe44kmoZSB+6YPe+pAgRSxf8wAb8psAVj3AzMwu8ysrkuJeR+uH0/97OPGrDGYP0jnkiZWZmf1f1o7IN6awz1AAAAAASUVORK5CYII=",o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAEs0lEQVRoBe1azWtUVxQ/781HkslHzQwpDfkQUUpdaHZtaUtTuhACYtC/wI22FHd+bMSlFNSdIhjcddFNKW0pZlfS0BayEdSFqAjRJMbGfBgTZ+JM8p7nd27ezMvkvsy7yUucAS+898479+P8zj3n3nvembGIy8xMttOhwiVy6RuX3HbwqrVYZE2SRUM2Jc5lMqlxaxX8Hdd109UKWofLsqxZVqLHxszXGngoBMzAbsNtdBrWBI+x29Xu8xtNJLDbGzWohbr3CrxrK8W3A4BtW9SYqqdEQg1fKCzT6+wSOY4bubjIFQD41g+ayLZL3hmrS1KSlZmbX4xciZKUiOYGMw/wfz/M0ldXnsgFGjzURV2sfRceF+3KhwPxCYdDQslhml+ImVq54KKlVwv6v7Pd9GFzXIA/f7Ui/T5qidE/Z3bT1MIyfXn5qfRBhb9/ptGmvv11dOLzFCVi0i3ULe560mVEBr/6lN4igW/+Nr5hRU+u8/TlfdlXqychr9QO8tQUTGcd+ul2TmT98EVK31nDtaamX1aWqukYxGpuaqB69nm4zfk/Xkizi0faqPfjFC29ydPCIoPUlH9H83T61gKlUzbdOt6qaaFnRa6AbhFDtOM4FRfxpzdmxNgj32X0aDXcyHchbJXYbTa1jTIa0502cgXUbLuBrqKZxCJrhffEgP2i2Kac2BYFyoWEfmc0pguyqhRwePusaQu4cW9bDW0z2hYLbDYWcmOmDkTRK6DbRsPGQuJC4SdfWm5bLDQ4sURdv07KBbpSLDT8f55c9oc0hxQmxciFCg7RtUdZ+v1ZnqbfOBIz+WMn0HePdhFCtpMjczSe4w6r9NixdprnffLA4CxzAlwlZlF/d530CXszUuDq4yzdfLqkgh+eKMDwLzuhA+ImAEIc5LCfl3YaNFajtNXZ1N+epFN7w8dBGNNIgd+m8gJgoKeFvs4k0H9daeZEDcrAZ61iBY/GcxfX3T8UPkxAn0rFKBb6ZHhW3OZBbzAI3SIGiDCxUCWwunojCzichPHZXzeefHFtOhbSjrgx00gBHDRhCgK6oLA5TH+TNkYKYAFWWzFSgOSory4VjBRQFgjnRjulptGxJ8FWiA9u7ET4tEy3NssFGrytlO9fLNLMynoXNlOAW1daB942iu/iGKdScIFWuaLNK/FnNk/fTr4kPP3FSIG2es7Gs9P99brgH2MN7eWFBl/lqOv+hFygK8VCawYJeIEFYAm/NYwOsh/ncnR9PldMo3hhgHpCqkWjB7uoPRkX4OMFlRfq5ETP2P4Omswv0557Y3IYKoywiAolpDe/+tNQHi1pm7KpznDcdDHdaBZKnNnVwPGMS78s5mlqhUMGBDUiX7mGCFKkwld+R/PVSwDzrQSf3ZPfMaQKRvCCrBEz+Mm/jaHLumJkgXW9NQwvLwS3OTmByJPjoo409bU0bJgX0gy1htX5RI0F5uFUUmYfVjDaRteMGPCCLDQSuQA81tJRbIVYCHVbKZ7bQAGvRK7AlvJCHirN0z/r/urIXcg/+E7QZWt7J0RGK+O9AtHOp/loHKHwfw9qtAC7zefDUI3i5wOOhmr/zx74ywr+9cE5nZ9rwZ2AEViBGdjfAhPs4mowdpbkAAAAAElFTkSuQmCC",Y=""+new URL("VirtualOutbound-3bb05b70.png",import.meta.url).href,u={class:"policy-type-tag"},G=["src"],E=Q({__name:"PolicyTypeTag",props:{policyType:{type:String,required:!0}},setup(T){const A=T,s={CircuitBreaker:B,FaultInjection:a,HealthCheck:c,MeshAccessLog:D,MeshCircuitBreaker:B,MeshFaultInjection:a,MeshHealthCheck:c,MeshProxyPatch:r,MeshRateLimit:i,MeshRetry:g,MeshTimeout:C,MeshTrace:o,MeshTrafficPermission:f,ProxyTemplate:r,RateLimit:i,Retry:g,Timeout:C,TrafficLog:D,TrafficPermission:f,TrafficRoute:v,TrafficTrace:o,VirtualOutbound:Y};return(h,O)=>(e(),t("span",u,[s[A.policyType]?(e(),t("img",{key:0,class:"policy-type-tag-icon",src:s[A.policyType],alt:""},null,8,G)):(e(),l(m(p),{key:1})),n(),d(h.$slots,"default",{},()=>[n(w(A.policyType),1)],!0)]))}});const U=z(E,[["__scopeId","data-v-9604a2cd"]]);export{U as P}; +import{d as Q,o as e,l as t,i as l,k as m,aq as p,n,U as d,H as w,t as z}from"./index-78eccadf.js";const B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAAAVFBMVEXa2tra2tra2tra2tra2tra2tr////a2toAfd6izPLvzPnRfvDYteSKr86zas0Aar4AhODY6vr3+Prx8v2Kv+9aqOk3muUOj+N5t+211vXhqfW01fXvn55GAAAABnRSTlMC9s/Hbhsvz/I3AAABVklEQVRo3u3b3Y6CMBCG4SJYhnV/KD+K7v3f57bN7AFJTcDUmZB+74lH5EmMA5hmjK+pq1awqm5M6HxqxTudPSzssmxM06rUmDp8DFawIYi1qYRdlisTeCtcMAGnAgwYMGDAgJ8GGPDB4B8frepnl9cZH5d1374E7GmX1WVuA0xzTvixA+5zwpc0/OXrVgU5N/yx6tMHGDBgwIABvxmeiBZhmF3fPMjDFLuOSjDdnBJMvVOAb1G+y8PjlUKdOGyHOcpLJniiDfEVC/FYZYA3unxFx2OVAd7sTjZ073msRGB2Yy7KvcsC2z05Hitx2P6PVTEwf9W/h/5xvTBOB76ByN8ydzRRzofELln1schjVNCrTxyjsl5vtV7ol7L+tAEGDLhMWOAw5ADHPxIHXmpHfAWepgJOBBgwYMCAAT8NMGDAgJOw2hKO2tqR2qKV1mqZ3jKd2vrgH/W3idgykdWgAAAAAElFTkSuQmCC",a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAH90lEQVRoBdVaC4xU1Rn+zr2zu8PyEBGoKMFVK0KLFXyiVKS2FFGIhhT7Smq1aQXbuMQHCwRQiBWVUl7CaiuxGoGosSQ0tJuU4qNrpQEfq0AReQisLKK7iCIsO3fO3+8/wx1mdgdmlp3srCdhz8y9597zff/7P4wBhxw50jfW2Pi4ERkhQB+91lGHAerEmFeLotHJprS01ij4oLGxRkR6dFTQmXAZYxoi0eilpqmhYQVEfpppUYe/ZsxKE6uv39fRzeZkglRzMk319cT/9R1eVuixAPazzyFBPG2p/fgA7M6PAd4v5MhKwB46DDnQAPvRPiCFhFiBNB5LXC8giawETPeuQHER0BRDnCRCTfjn9oLpVAJRDSm5ApHITiDiwy87J0lCwToSngfvvD4FJ5GVgLPvXEl8/mW7u0ProhB9QM1IzUnNyqNmDMkhbmEJ3uvWGSiKtCuJrBqQo3TUTw8C1gLNNCF79yfA+jSns85od/C6eVYC9uAXEBKwu+vSSDgHpuQLPbKakMRikI/qXLRR0Oq4oAO3GBpin6uC/Oc94H+7IWd0gbmoL3Db92GGXdJieb4uZCXgNjoeKjVkZiIhH9bCTF4KbK+FML+71M4ZnnHfzcir4M24E+jSKV+4k+/JjYAub06iHzVB22chCNw6FbKdWbmYDjzvdzBXfQs41gS89g7s4pcgX34FXPJN+IvvyzuJDLaQJJf+gdHFRR3OzrHDkGko6vn3AL27JzL1C2vpzIxM6tTjRsCsmAXDpIfNOxCUzwO+Opr+3jZ+y10D4UaqCQ2ZmqFTQ+YuJrhfzYHUHwKuGQRv4SSgpDjx1H6WIhMfha37DBh0ISIL7wU658ecWk8gJJJpVhK/fvQEifnlSRLySYKE7K8Hvn0BIgvyQyJ3E8oEuPm181ly/HkK0Ks75L+bIXOXJ1eYb/SAVzkFpk8vyJZdCO6dnxdzyi8BwjUkYZ6qcKHW/q0aONKYTmLpZJhzejLUksR9C9pMIu8EFK3pSYeO0v41QtFnUodqwn9iMnD2WRCSiD2wsE0k8k+AEreTaB4sQTCkP8CE1nyEJFQTsmUngj+eMLXma7N9zzsB2bQT+k+TGC5kJj7JML15CDLsUqqLitpVm1ilRWIry5O8E9Ak5s25m0mOWfjldbCVf81IIb6mGvblf5GAgTd2OOyGzTj2s6k4Nv5+2I1bMj6T6WJ+w2jKDvLKW4hPr3QFoLl9DPwJ41Lu8uPRRgQVi2CZ4FzU+oLZOqC/aPnBjF784ER4lzOjZxn+jIqKh7Ksye02VS/Tn3JZ2GinptHognMhr70N1HzILi6Ad8VA2GdWszxvgDfgfHgjLke8Zhuwh2W5WPjjWPhdXEbn3ol49Tvw+p/HiMUsfoqRHw1oQzNlKVTq6NkN/qrHAVauOuTVtxDMJDECNN+5iP6xA0Ip+9PugD9yqNNEfMmLQN/e8H9yI9cJmiY+DKu9RrdSRJfNBkpPnrXbTiAVPDf0lzwADCxz4MM/qoXgwSdpTjzJIHgtnxyJqXfC/8HV4TI3B4tWIKiqhkSLUDLzbniDL0673/xL25xYzYaSx7qNQNdO6eApSflgt9vPXH8Z/NkTYPr3Q2TWBHijrnHX44tXpuEJFi134DWH5AJeHz59Agq+YgmE4EUlzwyblDzBxx/5C+J3zYGtfteB9IZfhsjTM2A6RxF/hYR189HfdbP+CRYuR7zqDSbAIhTPJMkskg8fPD0C7L5kaiWsgu/aErwleGGY1LLadCkN93Jz8PzfXbTxaP+RCT9KXCN4ZzYlCp7RZ/CAtGdO9aX1BJoCyLQnIW+8D9ODDluZInnupOAtwUtpCfy55TCDmY1ThjegzHVs8Q2bYLfvTUj+H9UwNBsXOlsBXl/bOidubII8tAzy9lZIpyi8ub91dh3ik4efQXzNvxk1ovDnTWoB3q1jOI3N/hPsmzU85WAHx+gkKvlZ6rC5Sz7cM3cNaI0zaxmwdTcsy2VvwT1p4O3vFTzNhiHP/0NLyYcbKuiimb+Bdy3LCB7VtAW8vjM3DRxmG/jYctYs7HspXUy/Habf2UlM9rHnICydNYP68wh+yKlDn3tQNTH3Wfijh52W5MPNsxPQ0+n5LwD72A4yguD+n7PHZT1/fMSfeBGympJng+8/MjE38OHDeZhphKcY2rgvWQUcYp3CGt+UjwdYz4fDPr0aWMuQyP7Wn0at5CL58OE8zScnoM35sjX8H0x2VDxhMHfd4oqucF/7fBXA0kFYMvjlP4a5MnvhFT6bzzkzgQMHISvXwrCb8s7sytOGMQDncMhL64DX33Xp3v/lGJihg8Jb7T63JFBXD1n1OsMb20F2U/KLH7Ko6pIE5py1miGQp9Nm/CiY6wYn7xXiQxoBqf0U3j83uCNzq6dst91A8DwyD0fVesibmxJHJTdeDe/6IeGdgs1JAnqAa9ZvgejJG4/RzbjhaYdPWvNg41ZKPgLzvSEwN1xRMNCpGzsCsmMf8N52l1S01jVjr03E++MrRU2mZgeMauXKgTAj00vg1Be292cPH+xtMDxV1ipR7d7cel0aeKynyWza5Qoz4bGgGdVxwLOtqPPMtj2eZldhkWbGDqN9F50QIk1Gtu11ZoMytok3Jer4EwsK+0l/9OFFxNxhDh+NmdFD0w9rtY+lX+gBrvQ+E2YMyXWgoT/2cL9YUUzNf24j79Pe93zizmiEJYK5mT7RQYaaTerPbf4PGwFZsK8ONooAAAAASUVORK5CYII=",c="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAEj0lEQVRoBe1aS28TVxT+7ngydhwnPGISTBKHEB6iUtOWHTvWqCtKqQhISC2vBbCpRDf9BUgsgAWbdlGppWqlSl1UXfMLCmXRqgXUxmCclOCWxI4Tv4Zz7s00BntmLh4rTCSfxJ4755458333fHfuTTQCZFOHTo+ijCs2cAi2nWJfaE2InABuw8Lle7e/eCwYvL2CXwF7a2hBtwQm8iKKdwwe+Y0HnhnRgBN2Q8qmJcPwOxm7EXrNe40jzVfDq38j9HUJvOkqdSvQrUDAEeiIhGaPH8bsyfe1oWQuTuPxhePa8V6BplenTl85tQ2l9A7YMUsnHMsTIyjtm9CK1QkKXIHC3nEI2l3RgqhzPzw/sB/g+A5ZYAKlPTsVFMnCH1Xx3f26XP2TUUQgAuXhJKr9fQqQRgVYPpUtA7IANvQq5sciEIHi7jHKb5OE9DQh5SOvoGs6pKNABJYn06tAaDQ1SLB82DoFnnO1TaA8NIhqIo7IQkFLDI58zPx/WvEMTsfaJlAiPbPF789oiWHxPTX6A3f/kPGdmQEBKlCaGJUE+oiANJ9JvEAEeOL23/ldHvVmjUrt9d1WBSrJLaiRfMzCEqzcU8pPcDzmAMunSk8f699FxP7KqngvVK/R19ZKvDy+Qy5cvQ8z8la2xuhzII8+m9foF9+axOz0YRm3/dbP6PvtoWy7fZm1iIV6tAd1i4+W3BLUrR7Y1Jb+1T7eKqg41ccajj94JPPy4DskaoleZM8cRYmeUGyO1hm0Q6DRz5XMnj2KpV1jTcSYyOTnNzjc1Uw1eCwBpQIFhNWqfvhKCZDPZbCQoGK5eVhz82uJKYjBPDp/DFwhBswZnEcmT3YlnzV/jRbBzKVplFNDTeDXEnu3TLNeBpb44x3o20vksh8fQYU2d1GaF+nr3yBCc6SVOaQyl05gxYm/9rWMf1VCra5v9LU1BxoT/N+mCpSHB2HNzmP05neu4J14ltZKKqnIroLnPta8n2ycHHzsHAGqgPXPM4x8+QOBLzXeo6ntSMsiGaYbwDcFajg6QiA6k0M9EQM/NSJFb/CMqe/PDD0QTKrU976V8uMg3j74ifOg8IsNZX9bC1mYmHQJvOlqBJ7EcUPgw8EELFq5vn1WQKHmPaX6IwIXhzdJ3jfmnmPRJ95vgAJJqJfAf0Tgx3pMpGn7cW5oExIE0M0Y/GepzdgT65EfbrPvVZuKW7g6vlV+uO1lYurgWTtmGHIEo7QYxYhSlM6jlJf9UT6nNvtiBFj5+SjUNeRbrNWpLTBmRSiOc6h8bjfOlquya8TyEQDdN1+t4dOZvFsqXsjU3ob/rqVfMv5iGaijbdORO2ihUlshiqdu5RZ4Uqnix3wRBsWcSiawj/8/xAEqGSd8ye4vV8DS4e3EheEBWYmXAl7zJJTrAMvm1LaEpPLV0wLu8V7NxUJJwAVrS3egSdwy4zo7uwTWecCbbtetQNOQrLPDoOd1bp3v2bnbEXZaN+nFiQ1qjJ3WfFymZdN9rQ4tOcJM2CNzf/+ysH33gVuiLlIkpyTh7Q8tZgbGr9sI8RO9qfIBv27zAiEVYZQrGIvuAAAAAElFTkSuQmCC",r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAFt0lEQVRoBe1aa2xTVRz/3d7bBytdXddtbIN1sId7IG4yHhGICxluMohOAkGChhiMih/8IiSERImRaBD9YGIkGg0xypwo8YkajGyikxqemziyDbbhBoyN7kHLStfb6zm3u01v1zvaritrwn9Zz+Pec87v//j9z2lzGBBZYHpyttMt7IWAcgFCOu2brsKAuQoG9TqO2dFkO9zNjIE/JwiCabqCDoaLYRgbUeJB1qgu2E/ALw720jTvm8ELSOdo2EhAy6vKpKpiWf/zSdmzUMbIBgQ0IpnPN4ZgV033mA/QV9ak2Jk8wxOCrDfOGqo4wzsObtwrwMWahD4CjtlysuvHvQfukXgcq2LcEfchxPkbTIlQgcTzHzOV9VDwxL0HYkLiIn0qNqQVoyDBjMN9/+Kr3hZ4yF80ZEoVeNiYRYAXYb4+TcQ6KnigZlS44OjD25cb0eUcnLQOUVeAAlxlysH61PmYo0sUAbbeuoG63vM4MXwZm2YtwMa0B+Ahynx+rRm115rAkyNxpMI8t/6NoKMjIW4Cq8YnhY/DrNaLeKzDPfiytxnn7L0yfLkzkvCKZQVo2T4ygH1df5DSJnsnsKFE6KiSOJHViOA7SGhsbfkOuy7+Og48BUZBv3Thexy4ehYW4qX3C9ZgS3pJIOaQ2lELoXlJGWB5Hh/kVOH4UBf6k41ovdGNo5dOTQjEojNiZ/Yjojd2tB/F6ZtXJnw/8OGkPVCanovd5c9g76qtMOuN4vxqqGBzDuP5smq8Vv400vT3Ba7ra3c5h3Bs4JLY1rOybcn3zkSVSSmwMCMPu1ZsQq4pEz+2/Y2OQW+scwyL2uZj2Nd4CFnGVLxT+SJW5yl/7XZ5vClVzYSvgGyEElGCEZr8vAGDJkE0zusNn5Jw6YFWxYptTuW1y4nuFvxzvRPPllaS/ypkJprx0akj4wzqJhmJCsswsmeh4AnbA2pwWKbOx079Wrg9vLigATps1C0FJ3jtwZFUKondNYL3rN+IihSnZEvdspIXvPPQFByuyDwQzNKBE27Xr4ZJNRNnRzt9CrgYD7JYM+7nvL+JccQ7geLi3ZA8E/iMbnBU/BWn7VDwhK1ykkqPQ04rPnM2+hTwEAXedfyEi+7rsPOjyCb5vTI5h2LwCfUWq2BhXvBuRSzhTrgStgI8sZa080khxJHs4Sb76ZBwC3s6GnDT7cL2rOV4M6cCKWM8cXvcYMc44g/SwGlRYpgldmnGuOP//E51xe/ESu7jySGMI2mSytBth1hWzC1Fu60HDpcTS/hivNrWgOq0HKwx5+Pjghp8eOUkTl5pQx7JVpKka2diXUoRHkvOF8lPw6hjRPlspERodmHxyt3SpP5lZ3vwDaVcU4hOTx+6+BsYdNpBSVqZW4aKeQ/hmt2GW3YnEqDFFwNn0ESOEKWGdPFsZOQZ7G/5DSZWi22zF+HlOUtRSE6pThJa9IS6p+P3CY8T2bkZ/vB89bB34s26ZSjiMvDt7dOwjl4UJ0qbacK2RWtRnGLBn/+dx4HTv8AljIpK9Qz2YzGXhJqUAtBYl4h63eXA1wT4kf42jHhGfYDCrYStAM3/yzX5qNaUoJPvQ91tKzQkqCxsMpKyTNi8oIIA5UnGYaHjNOi+2Ye3jtfBTFLsC5llUBEiU+D1to5JnUIlRcNWQBqYTFLpBt0SzGVTCHwWAx4H6px/waZ1YkvJo9CrdWR3tpLYb5WGTEkpU0CJKEqEpohKOQv5ZHDO3UXoLeWn6GANBY9sI4tk2TME+N0UmQfuJpBI1w57I4t0oakaF/cKKO7EoVoskOBKxJPmC/d9aZxSGfceuEdiJdfGqj/uQ0i2kd2JgNSq0SZhJPP5j1GJdw9i5e8or0OxM/mJNQfJVYOnojx3TKYj9yVqVfTWB704EZMVo7jI2GWPHWzvSMtwpr7oIL04QVxiJmsYorhO1KcSw4ZhfiCGX0ev2/wPquz9nGykU2YAAAAASUVORK5CYII=",i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB5CAYAAADyOOV3AAAFOklEQVR4Ae2dP2tUQRTFp7S385MofgRFiGBhKr9GuqBiI9iktwosCAnRLo0g8Q+ojSaNBomumESTIAqSLiPTTc4k7+bmztudu3sCAztv7p137/nNebtuREMIIXz9eXBluLO/NNzZe8sxCRrsL23tHlxObMP33b3ZzeHO0edv25FjcjRITBPbsPXj12+CnRywOcvENtC9kwk3gU5sQ048vf7775DDsQbIswAc+eNaAQJ2jU8unoBljVxHELBrfHLxBCxr5DqCgF3jk4snYFkj1xEE7BqfXDwByxq5jiBg1/jk4glY1sh1BAG7xicXT8CyRq4jCNg1Prl4ApY1ch1BwK7xycUTsKyR6wgCdo1PLp6AZY1cRxCwa3xy8QQsa+Q6goBd45OLJ2BZI9cRBOwan1w8AcsauY4gYNf45OIJWNbIdQQBu8YnF0/AskauIwjYNT65eAKWNXIdUQD+c2sm5iPemY2mIcnD/bsVMuqTs0yvQ7wQYtXRXb79XtxfpSEB4wH3foCgHwIGQSS+5qeddAOsxzgPOwsLMR9xsBhNQ2qA+3crZNQnZ5le89/o6Jbb3WrxKRovuOuIBR9TAHnSwcfk8T8hYP8MOzsg4E55/C8SsH+GnR0QcKc8/hcJ2D/Dzg4IuFMe/4sE7J9hZwcE3CmP/8WpAzz7cCnm48bdQaw58r3T63H/TB3gcG0+jnIQ8IgVGCXcdK9x/9DBPTuagEesADr43uBFrDlwf217+B5unV+fX4z5mPjfJiGA95vbsebA/bWAMb/6HJ/Z2gJbj0fBasJNe+H+Wj0wv/qcgG2ORiAErFXAGI8AWnfwo5U30TLmHq/GfPA92PiejAdIex4x33oAl9c+xnwQMAFrz2Rb8bUdgg7D/bXdYz7ur53n7k2v6WA6WHsm24qv7RB0FO6v7R7zcX/tnA42OhYFR0AErFXAGI8AEJB1jvtry8V8az2Fg/PvLdNr63ehmK9tuHZ8bQERAO6vrR/zcX/tvACMN6g91zZcOx770QomxeP+2voxX7qftE7A0/YejCeo9lx7omvHYz+SA7TruL+2fszX3h/jCwfn31um15bvQVMuFqxtGN/DrXOsBwWxznF/bb+Yb62nAIwXrDfAgq0N437WubU/zMd6rP3i/to58gx4QbshxtduGPezzrFe6xzrIWBBARSs9twKFPOxPqG9YhnzcX/tHA3bvIOtnwkwXyuYFI+ACoLCBcyX7ietuwMsNTTudQQk8CyWMd/aDwFP25+Dkbj1BOGJLI6scAHzrfX0nY/1Cu0Vy5hvrRd5Nv8ebG2473wEVBAULmC+tV4C5iO6rb9Gaj3RfeejAwXDFsuYb62XDqaD6WCNi9CBhUWFC5ivufdJsXQwHUwHn+SM066hAwXDFsuYf9p9znqdDqaD6zpY+/vc2if6rCf/vHFY77j7HbmDUQDt/LzCjypP248Ub62bgHt+REsApXUCrgzIKqgETLturad3B+PvX61za8N951v7w3xrvb0DthbIfNuHXAJu7BFf+0ATMAHbHhG1TyT30/Ggg+lg3Ymhw9rSiw6mg9s6kXxC6HjQwXSw7sTQYW3pRQfTwW2dSD4hdDzoYDpYd2LosLb0ooPp4LZOJJ8QOh50MB2sOzF0WFt60cF0cFsnkk8IHQ86mA7WnRg6rC296OBpd/Dqu0+Rw68GhYNXXq4f4UXOj//fQ171SGzD8tr60GsDrFs6iOvDcPP+k5mnrzYOKZYklq/1xDSxDWHmwcWr84NLz15v3H7+4csch38NEsvENLH9DwLs1co+Fv2iAAAAAElFTkSuQmCC",g=""+new URL("Retry-8b2ec896.png",import.meta.url).href,C=""+new URL("Timeout-dcabf0f7.jpg",import.meta.url).href,D="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAABYklEQVRoBe2av0oDQRDGZxbRxhfwDRI0NhKtRAhWPkM6Ex9KTOczWElArBRsAuEeIS+QRpvJfJdcqkWRLWYH5or7s7N797v59j4Odph2m4hw//xywsT3JHQqJMddrIajcq2Jaalcs2bx+cTMAi7Grn9xfSI/388kMsJ19RvznA+Pxs3X+yoh867gkV1NNJjBzr3BcKpT5rH6rOcAmR5SO+dzQQdtYE/4YB2w5hGVPdXmNnnSfCvYUz7kpzVewFor9woc/DeDb/OXX4fcjO728b/67jsWnLhXgHtnw/anqCAJpkPdKxAvYDp/9OHhQtYKhAtZKxAuZK1AuJC1AuFC1gqEC1krEC5krUC4kLUC4ULWCoQLWSsQLmStQLhQKFCYAaxSrgvvYTYc7AnL92YEpQ9WdqxSzkrvYzUe7Lwt8rh6dVMn0WVL6yWaxcdtQtUHCidIG7pY9cddsUfL3sF6LbfZAN5wf/+tIkpkAAAAAElFTkSuQmCC",f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAGRklEQVRoBdVZ629URRQ/c2/b7e62Fii2FBqsSOQZpSEBQkJiSGtMfKFRv0gMSUU+mJj4xcTEhPDJxD9BbaIJflETUfETDZoQNYgiREtBHsHYF9At0H10n/d6frM73Xsvey+zW+22J7l7zsyZOa+ZOffcWUElsG1bTMfjr3NzgGzawrhF8RYJTpCgYbZlcEVr68dCCBt2Cfwkk8mudME6Sra9F+1FD0KcbDaN/dFodMJA5JeU8YguBxo2w3YRm5k5yFvmw0Uf9UoGCnrD4P6BSrwl0jcgYndn4mzsYjuwuvFLYAWWqvFwsqVB11W/cZZl0e9/XqKr10cplc74DavYH2kO0SM93dS7dQMZBmJZPczbARj/x8Wr1WvmGXBYzd3+2KaaZMzbAUQe0LdnB3V3dVRlxOjEDRo6dUauXq0O1LZuDjPVtqnWeIjo7uqUkpQMh1htct4OaGv6nwYueQe0zsDgF9/5xs/05VTHCNIx8PLTvsK0HECKQ7qsCmJ3iD47RmL4LznN3vIo0av7iNqXVSXmfulVy4GmBpPSWYv2P99PoaYmlwGffH7c1ZYNNl688z5RIjnHEz/+SnR+hOwP3q3ohDfKmWyWjn59gqA7CLTOQDQaljLiidkgWWUeR95p/BwDDoGnAUqX0u03RcuB9rY2OX/85pSfHFe/2jauzlIjiOccr3Qp3U6ek9ZyQOX4kWt/cykuP4ScMv5zGjqgC6B0+ynRcmAtv2Ej4RDvilk6N3LZT9Zcvzywcy03EcRTI6EDuqATuoNAywHTNGjXtq1Sztnhy3Ty57M0OnnLv3hDtmmJ3qsXfeBVALyNIROyoQMAndAdBPge0N4TF65cp9PnLpDl2EZmiT7wyjNuPZppVGWxgpCf51KGwfTObZtp8/oet8wKLa00quZB4OrOlQRHxidjvAKzZOXyiu3GyPdvHeCvVT1o5HQZaQ7T6lXt0vBlrS1aE6tyABIheHdvcTuhrSIIej7w2gtP1TQ9eIPVJHJhJ2mtQFCdEvye1HcmSIf3Le2UquVALbXQeOo2HfntS/pp4pLUt7trAx3e/hKtjix36r8vXZdaCMY/8c0RupMp10JfXfuFvh8bph+eO1zRCW+U61oLIfJO41WY0QeeDtStFsoUcnR67CKFbIOa+VFY0afHLlGu4JN6HZ7VpRZK5TI0NjNFhjDI5MeJQRcfQf/wmGyAE3WphRLZWZpMTvOLy6bejh6+5xHyrqeM2Snu6+14mEdYNJGIUTafc8S8TC54LZQRebqVust39Ww0R/rQpiepLRRlutguYiH7Dm3ql2NQjkzyYbdK7+q61UJ5ylHOKNCzfXvKIWTqVjpOH10covNTxbL48ZUP0cGNffRgc6tr3PETpyhsNZHNjitYsFoomU5RhiNpyMijGMOD6kdQZ7iN3ut90dHHpIOPFsYK/t7GCkaMMEUXqhbatW0LxWbjfBBz9O3QKTakuFWkTdLIIlU0GHS50vTSiDbY/f07qD3cSiGzUU3WwlpvYqekAt9OTKcTlLcKpaxSXHrs/VpAzcP5uZ1O0nI+O6EGfSeqcgD5+25mVn5WIk1isygMQ8obqLIrxc1V3GQYgfFqHuQAZjibPcBY1wntsMF4CId6lVVMXv5IKMROCIrFbst+0IrvxYoHjGeK5wBDhhoLp5CSsT11QGsF0pyv8ZLCMvPfmy65a9esoit8Q32G73xqAawAZKitpGQks6yvSVCjGWxiMJelpTkScMCrQCnavH6d5I2O3+TLr6zqrow9e6y5sYm613TQxnU99wQGAlKsN8I4yInAb2IYLl/57qBXNk6n13sIvHM8Dip2mDOTnxNYgQQ/rg9Q6EFRlretmv/6UcpdWAVCYRez1KjAy3DGE1yGNIh7Pp8SDbyth/lc7lSyYHyaDywuG/y2jRq7kDhb4MtlvmJpcJ5Bth0rMMiPdAD1CaKOIHgPK4zFIUaxBgxQNHBtADmYq8Ku6Mry8O4RhikzV0nfoMDf9dPxxBBfn+8tIOwMarpXfGlS3RFSrmkYJ1e0tvTxigh7aibzJoncp/wvwI66W6djgDDO5A16G7aLGwm7k89HN+YZVmofR5/v/ux1fP2GDHYfmO8aYa2VDKhSNLAHDJFiu65x7I9ZhnmsyG0c/xfNI5E629R1xgAAAABJRU5ErkJggg==",v="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAGKUlEQVRoBc2aX2xTVRzHv/fe/tnf7h+bG24y4yBZJAETTBhGQ5BKiMYXnoY8EEgw0RDBGYJvxAeNcyLEFyUGjaI88WIMREGsJmSgD0CiWXSDQFbWSV3XtVvXru29/n6n3HE7u97b3gv2JLc9vT33dz6/f+ece+6VQGUqoXWqanoQ0DZDQwefK1TajnrE6btvLhT6++GckxACpIAsuw+11EhBF8Nr2fR1gm82JZBU0yYPvIEwsNZPzNuIfZ3rnuXN4YlMYgUk6YEzWulAI4NrFDUuETZWrmAFZM1iy4fVTNssF4v5pRiSxApUQBjpYBROsl639E0hJCuV5YWSFJC4dSUkssHalAPWi8ThUxk5vAgtheMp05iQCbrWoyCSytE3ezXMLWShml652E/Rii7freQCIp1VLcs3VYCFN9a4IS8ZPlVNQzSRtq2EkF9N8rliKCpZJzpvLt80B9jyDP/jWAxPHftDHFznc/yf3SLkE/zc6Dnc+rBLHFxnhazIN/VAM1ufhDF8KJ4WvB31blw98CTYShHygp2iy2f4bCwoRCm+TnQPjCMTD+H20EpIbCc6+DuvThls6gE7cE5cS5FKU9X9scOYdvyfqQfqvQq8bkWE0FvfjQumoZe68HyPD7FUFgvprC3OOiWDquoaEULhb/cJWa0vn0Dt6u1Ikew49VGsmCrAuVUoiSNJFTvPxnD8uWq0VOUnYLEOjf+ps2HMfrULq147A6U2fznmWBLzUMmjDVuDhfLBlt95dgaXQmn0fz+HqaTRsUbE5etqPIzox36kRgO4/ekOJOcTi/K5LysjEEs39cByCBGC7v8hjtGoitUNMk5vq0ezRU8I+ON+ZMMjUFb2ovH185DrWpfrquj5spOYYU+/UI81TRLG4uSR8zGwUmaF4aeP+pGZJPh2e/DcV9kK8MWsxDd+UqJRwmgsg1cuzJASy69W1VgYkSGCD43AxfD7y7c898/FlgIsoLlKxtdbfeQJmTxBSlwsrATDTw3eg+ewecM+vCMKLCqxpUHkwg3yxMBwDB4aenmS4qNOzmDmk13ITIzA3dGLpoMEX19ezHN/xlJ2EhuF6HUOn4HLUXzpb0UTzR/GkolHaJmwA75XTzkGz/IdVYAFsuV9BH8hmMDB4Sk+hY/6WrC1swbJRAKzakkreHF9sQ/bObBUeJ07J5LhQ4msOHRFPFXVS5vb/u24AraJShTguAKp5LxA4LDpqFHEwXUus+nlh1jRoIwPR3MgG6VJamgXet45A5cvf20zTcuP3YEQPtiwAs1e5+zmmCSGv3vYj8T1AMaO0NqGEta4dtr98wQu/5PE7kuTdGtafIVZiiMc8QDD/32IJqngCDyP96L13fNQGvLHeYbeMzyJsVgaPXRDdHJTO3kif6gtBVxva9sDAn7Aj/QtmqS6CsNzZwx7sq8dPT4FY7MpUibkiCdsKcDwkwcI/jZZvrsXbe//1/K6pe4rsZKUcOHG3AL2XL5jW4myFchOhxHan7O86zGCHyT4xvywMcLrdfbE5xsfpTBy4SYpsffKHXCCl1ss5QDflfEOgb5vk5qfx839LyJxNQD3E73oOGYN3gg5TftKe38N4sbsAja21OCLTV2opVmci/P7QgX2bTIzEfw5sAMrjpyyZHkjvF5nJQ5fn8Bnz6xCkyd/iWF138nUA/pN/dS5c/hrX+6me82JE2jZvh3zcwnMafkd63BWv7209Kj3uhC4G8Xbv98Sl723thub2xqt3dT/JEGTiMG458J7MDIdfH7DtQl4HunAcFcXUsGg6MDb2Ym+8XExzju1L9R38Romk7k9pvYqN4a3rLckPy+JeZ+FC+8iclX/LU5W6IdrbSxVFE27N9lw2BhDiC/iZLNbWIaX3M1hYwwhq/JNc0DsCxVIYqv7NmYKLrfv5FgSM8DSYbSUYc5MAaP8mWxuPmhQFOe2160AONXm6V+uUQICvz273rJIe2Og5W6sNSznMW5lKSDGxNIGhopSoJwHiDLFHL17UBlFpgfpJT1MJ3ZymhSoDHyioEe44kmoZSB+6YPe+pAgRSxf8wAb8psAVj3AzMwu8ysrkuJeR+uH0/97OPGrDGYP0jnkiZWZmf1f1o7IN6awz1AAAAAASUVORK5CYII=",o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAEs0lEQVRoBe1azWtUVxQ/781HkslHzQwpDfkQUUpdaHZtaUtTuhACYtC/wI22FHd+bMSlFNSdIhjcddFNKW0pZlfS0BayEdSFqAjRJMbGfBgTZ+JM8p7nd27ezMvkvsy7yUucAS+898479+P8zj3n3nvembGIy8xMttOhwiVy6RuX3HbwqrVYZE2SRUM2Jc5lMqlxaxX8Hdd109UKWofLsqxZVqLHxszXGngoBMzAbsNtdBrWBI+x29Xu8xtNJLDbGzWohbr3CrxrK8W3A4BtW9SYqqdEQg1fKCzT6+wSOY4bubjIFQD41g+ayLZL3hmrS1KSlZmbX4xciZKUiOYGMw/wfz/M0ldXnsgFGjzURV2sfRceF+3KhwPxCYdDQslhml+ImVq54KKlVwv6v7Pd9GFzXIA/f7Ui/T5qidE/Z3bT1MIyfXn5qfRBhb9/ptGmvv11dOLzFCVi0i3ULe560mVEBr/6lN4igW/+Nr5hRU+u8/TlfdlXqychr9QO8tQUTGcd+ul2TmT98EVK31nDtaamX1aWqukYxGpuaqB69nm4zfk/Xkizi0faqPfjFC29ydPCIoPUlH9H83T61gKlUzbdOt6qaaFnRa6AbhFDtOM4FRfxpzdmxNgj32X0aDXcyHchbJXYbTa1jTIa0502cgXUbLuBrqKZxCJrhffEgP2i2Kac2BYFyoWEfmc0pguyqhRwePusaQu4cW9bDW0z2hYLbDYWcmOmDkTRK6DbRsPGQuJC4SdfWm5bLDQ4sURdv07KBbpSLDT8f55c9oc0hxQmxciFCg7RtUdZ+v1ZnqbfOBIz+WMn0HePdhFCtpMjczSe4w6r9NixdprnffLA4CxzAlwlZlF/d530CXszUuDq4yzdfLqkgh+eKMDwLzuhA+ImAEIc5LCfl3YaNFajtNXZ1N+epFN7w8dBGNNIgd+m8gJgoKeFvs4k0H9daeZEDcrAZ61iBY/GcxfX3T8UPkxAn0rFKBb6ZHhW3OZBbzAI3SIGiDCxUCWwunojCzichPHZXzeefHFtOhbSjrgx00gBHDRhCgK6oLA5TH+TNkYKYAFWWzFSgOSory4VjBRQFgjnRjulptGxJ8FWiA9u7ET4tEy3NssFGrytlO9fLNLMynoXNlOAW1daB942iu/iGKdScIFWuaLNK/FnNk/fTr4kPP3FSIG2es7Gs9P99brgH2MN7eWFBl/lqOv+hFygK8VCawYJeIEFYAm/NYwOsh/ncnR9PldMo3hhgHpCqkWjB7uoPRkX4OMFlRfq5ETP2P4Omswv0557Y3IYKoywiAolpDe/+tNQHi1pm7KpznDcdDHdaBZKnNnVwPGMS78s5mlqhUMGBDUiX7mGCFKkwld+R/PVSwDzrQSf3ZPfMaQKRvCCrBEz+Mm/jaHLumJkgXW9NQwvLwS3OTmByJPjoo409bU0bJgX0gy1htX5RI0F5uFUUmYfVjDaRteMGPCCLDQSuQA81tJRbIVYCHVbKZ7bQAGvRK7AlvJCHirN0z/r/urIXcg/+E7QZWt7J0RGK+O9AtHOp/loHKHwfw9qtAC7zefDUI3i5wOOhmr/zx74ywr+9cE5nZ9rwZ2AEViBGdjfAhPs4mowdpbkAAAAAElFTkSuQmCC",Y=""+new URL("VirtualOutbound-3bb05b70.png",import.meta.url).href,u={class:"policy-type-tag"},G=["src"],E=Q({__name:"PolicyTypeTag",props:{policyType:{type:String,required:!0}},setup(T){const A=T,s={CircuitBreaker:B,FaultInjection:a,HealthCheck:c,MeshAccessLog:D,MeshCircuitBreaker:B,MeshFaultInjection:a,MeshHealthCheck:c,MeshProxyPatch:r,MeshRateLimit:i,MeshRetry:g,MeshTimeout:C,MeshTrace:o,MeshTrafficPermission:f,ProxyTemplate:r,RateLimit:i,Retry:g,Timeout:C,TrafficLog:D,TrafficPermission:f,TrafficRoute:v,TrafficTrace:o,VirtualOutbound:Y};return(h,O)=>(e(),t("span",u,[s[A.policyType]?(e(),t("img",{key:0,class:"policy-type-tag-icon",src:s[A.policyType],alt:""},null,8,G)):(e(),l(m(p),{key:1})),n(),d(h.$slots,"default",{},()=>[n(w(A.policyType),1)],!0)]))}});const U=z(E,[["__scopeId","data-v-9604a2cd"]]);export{U as P}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-a10f960a.js b/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-74215da3.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-a10f960a.js rename to app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-74215da3.js index d35fdc332ac1..7a6f95e2489b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-a10f960a.js +++ b/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-74215da3.js @@ -1 +1 @@ -import{d as m,g as p,h as y,o as h,i as b,w as a,j as n,k as o,aa as f,am as _,n as x,H as g}from"./index-2441451c.js";import{_ as k}from"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";import{t as q}from"./toYaml-4e00099e.js";const K=m({__name:"ResourceCodeBlock",props:{id:{type:String,required:!0},resource:{type:Object,required:!0},resourceFetcher:{type:Function,required:!0},codeMaxHeight:{type:String,required:!1,default:null},isSearchable:{type:Boolean,required:!1,default:!1}},setup(s){const e=s,{t:r}=p(),i=y(()=>c(e.resource));async function u(){const t=await e.resourceFetcher({format:"kubernetes"});return c(t)}function c(t){const{creationTime:l,modificationTime:T,...d}=t;return q(d)}return(t,l)=>(h(),b(k,{id:s.id,language:"yaml",code:i.value,"is-searchable":e.isSearchable,"query-key":e.id,"code-max-height":e.codeMaxHeight},{"secondary-actions":a(()=>[n(o(f),{class:"kubernetes-copy-button-tooltip",label:o(r)("common.copyKubernetesText"),placement:"bottomEnd","max-width":"200"},{default:a(()=>[n(_,{class:"kubernetes-copy-button","get-text":u,"copy-text":o(r)("common.copyKubernetesText"),"has-border":"","hide-title":""},{default:a(()=>[x(g(o(r)("common.copyKubernetesShortText")),1)]),_:1},8,["copy-text"])]),_:1},8,["label"])]),_:1},8,["id","code","is-searchable","query-key","code-max-height"]))}});export{K as _}; +import{d as m,g as p,h as y,o as h,i as b,w as a,j as n,k as o,aa as f,am as _,n as x,H as g}from"./index-78eccadf.js";import{_ as k}from"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";import{t as q}from"./toYaml-4e00099e.js";const K=m({__name:"ResourceCodeBlock",props:{id:{type:String,required:!0},resource:{type:Object,required:!0},resourceFetcher:{type:Function,required:!0},codeMaxHeight:{type:String,required:!1,default:null},isSearchable:{type:Boolean,required:!1,default:!1}},setup(s){const e=s,{t:r}=p(),i=y(()=>c(e.resource));async function u(){const t=await e.resourceFetcher({format:"kubernetes"});return c(t)}function c(t){const{creationTime:l,modificationTime:T,...d}=t;return q(d)}return(t,l)=>(h(),b(k,{id:s.id,language:"yaml",code:i.value,"is-searchable":e.isSearchable,"query-key":e.id,"code-max-height":e.codeMaxHeight},{"secondary-actions":a(()=>[n(o(f),{class:"kubernetes-copy-button-tooltip",label:o(r)("common.copyKubernetesText"),placement:"bottomEnd","max-width":"200"},{default:a(()=>[n(_,{class:"kubernetes-copy-button","get-text":u,"copy-text":o(r)("common.copyKubernetesText"),"has-border":"","hide-title":""},{default:a(()=>[x(g(o(r)("common.copyKubernetesShortText")),1)]),_:1},8,["copy-text"])]),_:1},8,["label"])]),_:1},8,["id","code","is-searchable","query-key","code-max-height"]))}});export{K as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-34e62460.js b/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-1516feb4.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-34e62460.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-1516feb4.js index 9a243ea87cea..bfb133d74e9e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-34e62460.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-1516feb4.js @@ -1 +1 @@ -import{d as v,R as k,r as a,o,i as t,w as e,j as r,p as m,n as w,E as g,x as V,af as y,H as C,k as R}from"./index-2441451c.js";import{_ as $}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-a10f960a.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";import"./toYaml-4e00099e.js";const T=v({__name:"ServiceConfigView",setup(x){const l=k();return(A,B)=>{const _=a("RouteTitle"),p=a("DataSource"),u=a("KCard"),d=a("AppView"),f=a("RouteView");return o(),t(f,{name:"service-config-view",params:{mesh:"",service:""}},{default:e(({route:n,t:c})=>[r(d,null,{title:e(()=>[m("h2",null,[r(_,{title:c("services.routes.item.navigation.service-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[w(),r(u,null,{body:e(()=>[r(p,{src:`/meshes/${n.params.mesh}/external-services/for/${n.params.service}`},{default:e(({data:s,error:i})=>[i?(o(),t(g,{key:0,error:i},null,8,["error"])):s===void 0?(o(),t(V,{key:1})):s===null?(o(),t(y,{key:2,"data-testid":"no-matching-external-service"},{title:e(()=>[m("p",null,C(c("services.detail.no_matching_external_service",{name:n.params.service})),1)]),_:2},1024)):(o(),t($,{key:3,id:"code-block-service",resource:s,"resource-fetcher":h=>R(l).getExternalService({mesh:s.mesh,name:s.name},h),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{T as default}; +import{d as v,R as k,r as a,o,i as t,w as e,j as r,p as m,n as w,E as g,x as V,af as y,H as C,k as R}from"./index-78eccadf.js";import{_ as $}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-74215da3.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";import"./toYaml-4e00099e.js";const T=v({__name:"ServiceConfigView",setup(x){const l=k();return(A,B)=>{const _=a("RouteTitle"),p=a("DataSource"),u=a("KCard"),d=a("AppView"),f=a("RouteView");return o(),t(f,{name:"service-config-view",params:{mesh:"",service:""}},{default:e(({route:n,t:c})=>[r(d,null,{title:e(()=>[m("h2",null,[r(_,{title:c("services.routes.item.navigation.service-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[w(),r(u,null,{body:e(()=>[r(p,{src:`/meshes/${n.params.mesh}/external-services/for/${n.params.service}`},{default:e(({data:s,error:i})=>[i?(o(),t(g,{key:0,error:i},null,8,["error"])):s===void 0?(o(),t(V,{key:1})):s===null?(o(),t(y,{key:2,"data-testid":"no-matching-external-service"},{title:e(()=>[m("p",null,C(c("services.detail.no_matching_external_service",{name:n.params.service})),1)]),_:2},1024)):(o(),t($,{key:3,id:"code-block-service",resource:s,"resource-fetcher":h=>R(l).getExternalService({mesh:s.mesh,name:s.name},h),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{T as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-00e60618.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-d0ea79d5.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-00e60618.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-d0ea79d5.js index 1b17b0571d01..9d6da45eb7d9 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-00e60618.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-d0ea79d5.js @@ -1 +1 @@ -import{D as V,K as k}from"./KFilterBar-8087b16b.js";import{d as C,r as o,o as s,i as l,w as r,j as i,p as z,n as c,l as q,F as P,I as T,H as B,m as y,t as K}from"./index-2441451c.js";import"./dataplane-0a086c06.js";const $=C({__name:"ServiceDataPlaneProxiesView",setup(F){return(N,I)=>{const f=o("RouteTitle"),v=o("KSelect"),b=o("KCard"),p=o("DataSource"),h=o("AppView"),w=o("RouteView");return s(),l(p,{src:"/me"},{default:r(({data:m})=>[m?(s(),l(w,{key:0,name:"service-data-plane-proxies-view",params:{page:1,size:m.pageSize,query:"",s:"",mesh:"",service:"",gatewayType:""}},{default:r(({route:e,t:S})=>[i(h,null,{title:r(()=>[z("h2",null,[i(f,{title:S("services.routes.item.navigation.service-data-plane-proxies-view"),render:!0},null,8,["title"])])]),default:r(()=>[c(),i(p,{src:`/meshes/${e.params.mesh}/dataplanes/for/${e.params.service}/of/all?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:r(({data:a,error:x})=>{var u,_,d,g;return[(s(!0),q(P,null,T([typeof((g=(d=(_=(u=a==null?void 0:a.items)==null?void 0:u[0])==null?void 0:_.dataplane)==null?void 0:d.networking)==null?void 0:g.gateway)>"u"],n=>(s(),l(b,{key:n},{body:r(()=>[i(V,{"data-testid":"data-plane-collection",class:"data-plane-collection","page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:a==null?void 0:a.total,items:a==null?void 0:a.items,error:x,gateways:n,onChange:e.update},{toolbar:r(()=>[i(k,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:e.params.query,fields:{name:{description:"filter by name or parts of a name"},protocol:{description:"filter by “kuma.io/protocol” value"},tag:{description:"filter by tags (e.g. “tag: version:2”)"},zone:{description:"filter by “kuma.io/zone” value"}},onFieldsChange:t=>e.update({query:t.query,s:t.query.length>0?JSON.stringify(t.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"]),c(),n?(s(),l(v,{key:0,label:"Type","overlay-label":!0,items:[{label:"All",value:"all"},{label:"Builtin",value:"builtin"},{label:"Delegated",value:"delegated"}].map(t=>({...t,selected:t.value===e.params.gatewayType})),appearance:"select",onSelected:t=>e.update({gatewayType:String(t.value)})},{"item-template":r(({item:t})=>[c(B(t.label),1)]),_:2},1032,["items","onSelected"])):y("",!0)]),_:2},1032,["page-number","page-size","total","items","error","gateways","onChange"])]),_:2},1024))),128))]}),_:2},1032,["src"])]),_:2},1024)]),_:2},1032,["params"])):y("",!0)]),_:1})}}});const j=K($,[["__scopeId","data-v-9b859c26"]]);export{j as default}; +import{D as V,K as k}from"./KFilterBar-b4682513.js";import{d as C,r as o,o as s,i as l,w as r,j as i,p as z,n as c,l as q,F as P,I as T,H as B,m as y,t as K}from"./index-78eccadf.js";import"./dataplane-0a086c06.js";const $=C({__name:"ServiceDataPlaneProxiesView",setup(F){return(N,I)=>{const f=o("RouteTitle"),v=o("KSelect"),b=o("KCard"),p=o("DataSource"),h=o("AppView"),w=o("RouteView");return s(),l(p,{src:"/me"},{default:r(({data:m})=>[m?(s(),l(w,{key:0,name:"service-data-plane-proxies-view",params:{page:1,size:m.pageSize,query:"",s:"",mesh:"",service:"",gatewayType:""}},{default:r(({route:e,t:S})=>[i(h,null,{title:r(()=>[z("h2",null,[i(f,{title:S("services.routes.item.navigation.service-data-plane-proxies-view"),render:!0},null,8,["title"])])]),default:r(()=>[c(),i(p,{src:`/meshes/${e.params.mesh}/dataplanes/for/${e.params.service}/of/all?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:r(({data:a,error:x})=>{var u,_,d,g;return[(s(!0),q(P,null,T([typeof((g=(d=(_=(u=a==null?void 0:a.items)==null?void 0:u[0])==null?void 0:_.dataplane)==null?void 0:d.networking)==null?void 0:g.gateway)>"u"],n=>(s(),l(b,{key:n},{body:r(()=>[i(V,{"data-testid":"data-plane-collection",class:"data-plane-collection","page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:a==null?void 0:a.total,items:a==null?void 0:a.items,error:x,gateways:n,onChange:e.update},{toolbar:r(()=>[i(k,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:e.params.query,fields:{name:{description:"filter by name or parts of a name"},protocol:{description:"filter by “kuma.io/protocol” value"},tag:{description:"filter by tags (e.g. “tag: version:2”)"},zone:{description:"filter by “kuma.io/zone” value"}},onFieldsChange:t=>e.update({query:t.query,s:t.query.length>0?JSON.stringify(t.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"]),c(),n?(s(),l(v,{key:0,label:"Type","overlay-label":!0,items:[{label:"All",value:"all"},{label:"Builtin",value:"builtin"},{label:"Delegated",value:"delegated"}].map(t=>({...t,selected:t.value===e.params.gatewayType})),appearance:"select",onSelected:t=>e.update({gatewayType:String(t.value)})},{"item-template":r(({item:t})=>[c(B(t.label),1)]),_:2},1032,["items","onSelected"])):y("",!0)]),_:2},1032,["page-number","page-size","total","items","error","gateways","onChange"])]),_:2},1024))),128))]}),_:2},1032,["src"])]),_:2},1024)]),_:2},1032,["params"])):y("",!0)]),_:1})}}});const j=K($,[["__scopeId","data-v-9b859c26"]]);export{j as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-f45da867.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-5639d9b8.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-f45da867.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-5639d9b8.js index 3c32197f849f..5eb64bf91bf1 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-f45da867.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-5639d9b8.js @@ -1 +1 @@ -import{d as T,g as V,a4 as y,r as o,o as i,i as p,w as a,j as r,k as _,p as R,a5 as k,n as f,E as N,x as B,l as C,F as g,q as D}from"./index-2441451c.js";import{N as $}from"./NavTabs-9c3818b4.js";const F=T({__name:"ServiceDetailTabsView",setup(E){const{t:v}=V(),w=y();function b(c){var m;return(((m=w.getRoutes().find(e=>e.name==="service-detail-tabs-view"))==null?void 0:m.children)??[]).filter(e=>!((c.serviceType===void 0||c.serviceType==="internal")&&e.name==="service-config-view"||c.serviceType==="external"&&e.name==="service-data-plane-proxies-view")).map(e=>{var s,n;const l=typeof e.name>"u"?(s=e.children)==null?void 0:s[0]:e,u=l.name,d=((n=l.meta)==null?void 0:n.module)??"";return{title:v(`services.routes.item.navigation.${u}`),routeName:u,module:d}})}return(c,h)=>{const m=o("RouteTitle"),e=o("RouterView"),l=o("DataSource"),u=o("AppView"),d=o("RouteView");return i(),p(d,{name:"service-detail-tabs-view",params:{mesh:"",service:""}},{default:a(({route:t})=>[r(u,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:t.params.mesh}},text:t.params.mesh},{to:{name:"service-list-view",params:{mesh:t.params.mesh}},text:_(v)("services.routes.item.breadcrumbs")}]},{title:a(()=>[R("h1",null,[r(k,{text:t.params.service},{default:a(()=>[r(m,{title:_(v)("services.routes.item.title",{name:t.params.service}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:a(()=>[f(),r(l,{src:`/meshes/${t.params.mesh}/service-insights/${t.params.service}`},{default:a(({data:s,error:n})=>[n?(i(),p(N,{key:0,error:n},null,8,["error"])):s===void 0?(i(),p(B,{key:1})):(i(),C(g,{key:2},[r($,{class:"route-service-detail-view-tabs",tabs:b(s)},null,8,["tabs"]),f(),r(e,null,{default:a(x=>[(i(),p(D(x.Component),{data:s},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{F as default}; +import{d as T,g as V,a4 as y,r as o,o as i,i as p,w as a,j as r,k as _,p as R,a5 as k,n as f,E as N,x as B,l as C,F as g,q as D}from"./index-78eccadf.js";import{N as $}from"./NavTabs-2aea5887.js";const F=T({__name:"ServiceDetailTabsView",setup(E){const{t:v}=V(),w=y();function b(c){var m;return(((m=w.getRoutes().find(e=>e.name==="service-detail-tabs-view"))==null?void 0:m.children)??[]).filter(e=>!((c.serviceType===void 0||c.serviceType==="internal")&&e.name==="service-config-view"||c.serviceType==="external"&&e.name==="service-data-plane-proxies-view")).map(e=>{var s,n;const l=typeof e.name>"u"?(s=e.children)==null?void 0:s[0]:e,u=l.name,d=((n=l.meta)==null?void 0:n.module)??"";return{title:v(`services.routes.item.navigation.${u}`),routeName:u,module:d}})}return(c,h)=>{const m=o("RouteTitle"),e=o("RouterView"),l=o("DataSource"),u=o("AppView"),d=o("RouteView");return i(),p(d,{name:"service-detail-tabs-view",params:{mesh:"",service:""}},{default:a(({route:t})=>[r(u,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:t.params.mesh}},text:t.params.mesh},{to:{name:"service-list-view",params:{mesh:t.params.mesh}},text:_(v)("services.routes.item.breadcrumbs")}]},{title:a(()=>[R("h1",null,[r(k,{text:t.params.service},{default:a(()=>[r(m,{title:_(v)("services.routes.item.title",{name:t.params.service}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:a(()=>[f(),r(l,{src:`/meshes/${t.params.mesh}/service-insights/${t.params.service}`},{default:a(({data:s,error:n})=>[n?(i(),p(N,{key:0,error:n},null,8,["error"])):s===void 0?(i(),p(B,{key:1})):(i(),C(g,{key:2},[r($,{class:"route-service-detail-view-tabs",tabs:b(s)},null,8,["tabs"]),f(),r(e,null,{default:a(x=>[(i(),p(D(x.Component),{data:s},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{F as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-fe6cf8a5.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-c5a5fa0e.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-fe6cf8a5.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-c5a5fa0e.js index f18be3e165ca..b4435a9ddf9c 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-fe6cf8a5.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-c5a5fa0e.js @@ -1 +1 @@ -import{d as g,g as S,o as t,l as y,j as i,w as e,p as x,a9 as d,n as a,H as l,k as o,i as r,m as $,$ as w,W as I,a5 as b,F as B,ae as D,r as h,E as C,x as T,af as E}from"./index-2441451c.js";import{T as N}from"./TagList-26efeadd.js";const P={class:"stack"},R={class:"columns",style:{"--columns":"2"}},A=g({__name:"ExternalServiceDetails",props:{externalService:{}},setup(c){const s=c,{t:n}=S();return(k,u)=>(t(),y("div",P,[i(o(w),null,{body:e(()=>[x("div",R,[i(d,null,{title:e(()=>[a(l(o(n)("http.api.property.address")),1)]),body:e(()=>[a(l(s.externalService.networking.address),1)]),_:1}),a(),s.externalService.tags!==null?(t(),r(d,{key:0},{title:e(()=>[a(l(o(n)("http.api.property.tags")),1)]),body:e(()=>[i(N,{tags:s.externalService.tags},null,8,["tags"])]),_:1})):$("",!0)])]),_:1})]))}}),F={class:"stack"},W={class:"columns",style:{"--columns":"3"}},j=g({__name:"ServiceInsightDetails",props:{serviceInsight:{}},setup(c){const s=c,{t:n}=S();return(k,u)=>(t(),y("div",F,[i(o(w),null,{body:e(()=>{var p,_;return[x("div",W,[i(d,null,{title:e(()=>[a(l(o(n)("http.api.property.status")),1)]),body:e(()=>[i(I,{status:s.serviceInsight.status??"not_available"},null,8,["status"])]),_:1}),a(),i(d,null,{title:e(()=>[a(l(o(n)("http.api.property.address")),1)]),body:e(()=>[s.serviceInsight.addressPort?(t(),r(b,{key:0,text:s.serviceInsight.addressPort},null,8,["text"])):(t(),y(B,{key:1},[a(l(o(n)("common.detail.none")),1)],64))]),_:1}),a(),i(D,{online:((p=s.serviceInsight.dataplanes)==null?void 0:p.online)??0,total:((_=s.serviceInsight.dataplanes)==null?void 0:_.total)??0},{title:e(()=>[a(l(o(n)("http.api.property.dataPlaneProxies")),1)]),_:1},8,["online","total"])])]}),_:1})]))}}),q=g({__name:"ServiceDetailView",props:{data:{}},setup(c){const s=c;return(n,k)=>{const u=h("DataSource"),p=h("AppView"),_=h("RouteView");return t(),r(_,{name:"service-detail-view",params:{mesh:"",service:""}},{default:e(({route:m,t:V})=>[i(p,null,{default:e(()=>[s.data.serviceType==="external"?(t(),r(u,{key:0,src:`/meshes/${m.params.mesh}/external-services/for/${m.params.service}`},{default:e(({data:v,error:f})=>[f?(t(),r(C,{key:0,error:f},null,8,["error"])):v===void 0?(t(),r(T,{key:1})):v===null?(t(),r(E,{key:2,"data-testid":"no-matching-external-service"},{title:e(()=>[x("p",null,l(V("services.detail.no_matching_external_service",{name:m.params.service})),1)]),_:2},1024)):(t(),r(A,{key:3,"external-service":v},null,8,["external-service"]))]),_:2},1032,["src"])):(t(),r(j,{key:1,"service-insight":n.data},null,8,["service-insight"]))]),_:2},1024)]),_:1})}}});export{q as default}; +import{d as g,g as S,o as t,l as y,j as i,w as e,p as x,a9 as d,n as a,H as l,k as o,i as r,m as $,$ as w,W as I,a5 as b,F as B,ae as D,r as h,E as C,x as T,af as E}from"./index-78eccadf.js";import{T as N}from"./TagList-a8a084c7.js";const P={class:"stack"},R={class:"columns",style:{"--columns":"2"}},A=g({__name:"ExternalServiceDetails",props:{externalService:{}},setup(c){const s=c,{t:n}=S();return(k,u)=>(t(),y("div",P,[i(o(w),null,{body:e(()=>[x("div",R,[i(d,null,{title:e(()=>[a(l(o(n)("http.api.property.address")),1)]),body:e(()=>[a(l(s.externalService.networking.address),1)]),_:1}),a(),s.externalService.tags!==null?(t(),r(d,{key:0},{title:e(()=>[a(l(o(n)("http.api.property.tags")),1)]),body:e(()=>[i(N,{tags:s.externalService.tags},null,8,["tags"])]),_:1})):$("",!0)])]),_:1})]))}}),F={class:"stack"},W={class:"columns",style:{"--columns":"3"}},j=g({__name:"ServiceInsightDetails",props:{serviceInsight:{}},setup(c){const s=c,{t:n}=S();return(k,u)=>(t(),y("div",F,[i(o(w),null,{body:e(()=>{var p,_;return[x("div",W,[i(d,null,{title:e(()=>[a(l(o(n)("http.api.property.status")),1)]),body:e(()=>[i(I,{status:s.serviceInsight.status??"not_available"},null,8,["status"])]),_:1}),a(),i(d,null,{title:e(()=>[a(l(o(n)("http.api.property.address")),1)]),body:e(()=>[s.serviceInsight.addressPort?(t(),r(b,{key:0,text:s.serviceInsight.addressPort},null,8,["text"])):(t(),y(B,{key:1},[a(l(o(n)("common.detail.none")),1)],64))]),_:1}),a(),i(D,{online:((p=s.serviceInsight.dataplanes)==null?void 0:p.online)??0,total:((_=s.serviceInsight.dataplanes)==null?void 0:_.total)??0},{title:e(()=>[a(l(o(n)("http.api.property.dataPlaneProxies")),1)]),_:1},8,["online","total"])])]}),_:1})]))}}),q=g({__name:"ServiceDetailView",props:{data:{}},setup(c){const s=c;return(n,k)=>{const u=h("DataSource"),p=h("AppView"),_=h("RouteView");return t(),r(_,{name:"service-detail-view",params:{mesh:"",service:""}},{default:e(({route:m,t:V})=>[i(p,null,{default:e(()=>[s.data.serviceType==="external"?(t(),r(u,{key:0,src:`/meshes/${m.params.mesh}/external-services/for/${m.params.service}`},{default:e(({data:v,error:f})=>[f?(t(),r(C,{key:0,error:f},null,8,["error"])):v===void 0?(t(),r(T,{key:1})):v===null?(t(),r(E,{key:2,"data-testid":"no-matching-external-service"},{title:e(()=>[x("p",null,l(V("services.detail.no_matching_external_service",{name:m.params.service})),1)]),_:2},1024)):(t(),r(A,{key:3,"external-service":v},null,8,["external-service"]))]),_:2},1032,["src"])):(t(),r(j,{key:1,"service-insight":n.data},null,8,["service-insight"]))]),_:2},1024)]),_:1})}}});export{q as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceListView-15cabe66.js b/app/kuma-ui/pkg/resources/data/assets/ServiceListView-c8a92c76.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/ServiceListView-15cabe66.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceListView-c8a92c76.js index bb29f7de6854..0e67064070d1 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceListView-15cabe66.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceListView-c8a92c76.js @@ -1 +1 @@ -import{d as x,r as a,o,i as p,w as e,j as s,p as z,n as i,E as K,a0 as V,H as c,a5 as B,l as _,F as u,W as D,k as y,a2 as I,K as T,m as L,t as N}from"./index-2441451c.js";const R=x({__name:"ServiceListView",setup(A){return(E,$)=>{const w=a("RouteTitle"),k=a("RouterLink"),g=a("KButton"),b=a("KDropdownItem"),h=a("KDropdownMenu"),f=a("KCard"),C=a("AppView"),d=a("DataSource"),S=a("RouteView");return o(),p(d,{src:"/me"},{default:e(({data:v})=>[v?(o(),p(S,{key:0,name:"service-list-view",params:{page:1,size:v.pageSize,mesh:""}},{default:e(({route:n,t:r})=>[s(d,{src:`/meshes/${n.params.mesh}/service-insights?page=${n.params.page}&size=${n.params.size}`},{default:e(({data:l,error:m})=>[s(C,null,{title:e(()=>[z("h2",null,[s(w,{title:r("services.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[i(),s(f,null,{body:e(()=>[m!==void 0?(o(),p(K,{key:0,error:m},null,8,["error"])):(o(),p(V,{key:1,class:"service-collection","data-testid":"service-collection","empty-state-message":r("common.emptyState.message",{type:"Services"}),headers:[{label:"Name",key:"name"},{label:"Type",key:"serviceType"},{label:"Address",key:"addressPort"},{label:"DP proxies (online / total)",key:"online"},{label:"Status",key:"status"},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":parseInt(n.params.page),"page-size":parseInt(n.params.size),total:l==null?void 0:l.total,items:l==null?void 0:l.items,error:m,onChange:n.update},{name:e(({row:t})=>[s(k,{to:{name:"service-detail-view",params:{service:t.name}}},{default:e(()=>[i(c(t.name),1)]),_:2},1032,["to"])]),serviceType:e(({rowValue:t})=>[i(c(t||"internal"),1)]),addressPort:e(({rowValue:t})=>[t?(o(),p(B,{key:0,text:t},null,8,["text"])):(o(),_(u,{key:1},[i(c(r("common.collection.none")),1)],64))]),online:e(({row:t})=>[t.dataplanes?(o(),_(u,{key:0},[i(c(t.dataplanes.online||0)+" / "+c(t.dataplanes.total||0),1)],64)):(o(),_(u,{key:1},[i(c(r("common.collection.none")),1)],64))]),status:e(({row:t})=>[s(D,{status:t.status||"not_available"},null,8,["status"])]),actions:e(({row:t})=>[s(h,{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[s(g,{class:"non-visual-button",appearance:"secondary",size:"small"},{default:e(()=>[s(y(I),{size:y(T)},null,8,["size"])]),_:1})]),items:e(()=>[s(b,{item:{to:{name:"service-detail-view",params:{service:t.name}},label:r("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["empty-state-message","headers","page-number","page-size","total","items","error","onChange"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):L("",!0)]),_:1})}}});const F=N(R,[["__scopeId","data-v-72523eb5"]]);export{F as default}; +import{d as x,r as a,o,i as p,w as e,j as s,p as z,n as i,E as K,a0 as V,H as c,a5 as B,l as _,F as u,W as D,k as y,a2 as I,K as T,m as L,t as N}from"./index-78eccadf.js";const R=x({__name:"ServiceListView",setup(A){return(E,$)=>{const w=a("RouteTitle"),k=a("RouterLink"),g=a("KButton"),b=a("KDropdownItem"),h=a("KDropdownMenu"),f=a("KCard"),C=a("AppView"),d=a("DataSource"),S=a("RouteView");return o(),p(d,{src:"/me"},{default:e(({data:v})=>[v?(o(),p(S,{key:0,name:"service-list-view",params:{page:1,size:v.pageSize,mesh:""}},{default:e(({route:n,t:r})=>[s(d,{src:`/meshes/${n.params.mesh}/service-insights?page=${n.params.page}&size=${n.params.size}`},{default:e(({data:l,error:m})=>[s(C,null,{title:e(()=>[z("h2",null,[s(w,{title:r("services.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[i(),s(f,null,{body:e(()=>[m!==void 0?(o(),p(K,{key:0,error:m},null,8,["error"])):(o(),p(V,{key:1,class:"service-collection","data-testid":"service-collection","empty-state-message":r("common.emptyState.message",{type:"Services"}),headers:[{label:"Name",key:"name"},{label:"Type",key:"serviceType"},{label:"Address",key:"addressPort"},{label:"DP proxies (online / total)",key:"online"},{label:"Status",key:"status"},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":parseInt(n.params.page),"page-size":parseInt(n.params.size),total:l==null?void 0:l.total,items:l==null?void 0:l.items,error:m,onChange:n.update},{name:e(({row:t})=>[s(k,{to:{name:"service-detail-view",params:{service:t.name}}},{default:e(()=>[i(c(t.name),1)]),_:2},1032,["to"])]),serviceType:e(({rowValue:t})=>[i(c(t||"internal"),1)]),addressPort:e(({rowValue:t})=>[t?(o(),p(B,{key:0,text:t},null,8,["text"])):(o(),_(u,{key:1},[i(c(r("common.collection.none")),1)],64))]),online:e(({row:t})=>[t.dataplanes?(o(),_(u,{key:0},[i(c(t.dataplanes.online||0)+" / "+c(t.dataplanes.total||0),1)],64)):(o(),_(u,{key:1},[i(c(r("common.collection.none")),1)],64))]),status:e(({row:t})=>[s(D,{status:t.status||"not_available"},null,8,["status"])]),actions:e(({row:t})=>[s(h,{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[s(g,{class:"non-visual-button",appearance:"secondary",size:"small"},{default:e(()=>[s(y(I),{size:y(T)},null,8,["size"])]),_:1})]),items:e(()=>[s(b,{item:{to:{name:"service-detail-view",params:{service:t.name}},label:r("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["empty-state-message","headers","page-number","page-size","total","items","error","onChange"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):L("",!0)]),_:1})}}});const F=N(R,[["__scopeId","data-v-72523eb5"]]);export{F as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/StatsView-23324f27.js b/app/kuma-ui/pkg/resources/data/assets/StatsView-10556e79.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/StatsView-23324f27.js rename to app/kuma-ui/pkg/resources/data/assets/StatsView-10556e79.js index e1f1eb4701a7..61dec9c34a69 100644 --- a/app/kuma-ui/pkg/resources/data/assets/StatsView-23324f27.js +++ b/app/kuma-ui/pkg/resources/data/assets/StatsView-10556e79.js @@ -1 +1 @@ -import{E as l}from"./EnvoyData-2ae64069.js";import{g as m}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-2441451c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";const k=_({__name:"StatsView",props:{data:{}},setup(n){const o=n;return(V,h)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return d(),g(p,{name:"zone-ingress-stats-view",params:{zoneIngress:""}},{default:t(({route:c,t:u})=>[s(i,null,{title:t(()=>[f("h2",null,[s(a,{title:u("zone-ingresses.routes.item.navigation.zone-ingress-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(r,null,{body:t(()=>[s(l,{status:z(m)(o.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${c.params.zoneIngress}/data-path/stats`,"query-key":"envoy-data-stats-zone-ingress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; +import{E as l}from"./EnvoyData-3228efeb.js";import{g as m}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-78eccadf.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";const k=_({__name:"StatsView",props:{data:{}},setup(n){const o=n;return(V,h)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return d(),g(p,{name:"zone-ingress-stats-view",params:{zoneIngress:""}},{default:t(({route:c,t:u})=>[s(i,null,{title:t(()=>[f("h2",null,[s(a,{title:u("zone-ingresses.routes.item.navigation.zone-ingress-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(r,null,{body:t(()=>[s(l,{status:z(m)(o.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${c.params.zoneIngress}/data-path/stats`,"query-key":"envoy-data-stats-zone-ingress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/StatsView-b6dde739.js b/app/kuma-ui/pkg/resources/data/assets/StatsView-ed542b99.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/StatsView-b6dde739.js rename to app/kuma-ui/pkg/resources/data/assets/StatsView-ed542b99.js index d4971a295807..2ced226c7d54 100644 --- a/app/kuma-ui/pkg/resources/data/assets/StatsView-b6dde739.js +++ b/app/kuma-ui/pkg/resources/data/assets/StatsView-ed542b99.js @@ -1 +1 @@ -import{E as l}from"./EnvoyData-2ae64069.js";import{g as m}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-2441451c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";const k=_({__name:"StatsView",props:{data:{}},setup(o){const a=o;return(V,h)=>{const n=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return d(),g(p,{name:"zone-egress-stats-view",params:{zoneEgress:""}},{default:t(({route:c,t:u})=>[s(i,null,{title:t(()=>[f("h2",null,[s(n,{title:u("zone-egresses.routes.item.navigation.zone-egress-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(r,null,{body:t(()=>[s(l,{status:z(m)(a.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${c.params.zoneEgress}/data-path/stats`,"query-key":"envoy-data-stats-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; +import{E as l}from"./EnvoyData-3228efeb.js";import{g as m}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-78eccadf.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";const k=_({__name:"StatsView",props:{data:{}},setup(o){const a=o;return(V,h)=>{const n=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return d(),g(p,{name:"zone-egress-stats-view",params:{zoneEgress:""}},{default:t(({route:c,t:u})=>[s(i,null,{title:t(()=>[f("h2",null,[s(n,{title:u("zone-egresses.routes.item.navigation.zone-egress-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(r,null,{body:t(()=>[s(l,{status:z(m)(a.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${c.params.zoneEgress}/data-path/stats`,"query-key":"envoy-data-stats-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-7eeb44a1.js b/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-6be9f81a.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-7eeb44a1.js rename to app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-6be9f81a.js index 5f866591e3b7..59c7ec0c4924 100644 --- a/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-7eeb44a1.js +++ b/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-6be9f81a.js @@ -1,3 +1,3 @@ -import{A as j,a as B}from"./AccordionList-b4038978.js";import{d as S,g as x,h as b,o as c,l as u,i as g,w as v,j as f,k as a,an as L,n,H as s,ac as P,p as t,F as y,I as A,t as T,m as $,D as R,G as H}from"./index-2441451c.js";const N={class:"stack"},U={key:1},V={class:"row"},C={class:"header"},O={class:"header"},q=["data-testid"],F={class:"type"},E=S({__name:"SubscriptionDetails",props:{subscription:{type:Object,required:!0},isDiscoverySubscription:{type:Boolean,default:!1}},setup(r){const e=r,{t:o}=x(),p=b(()=>{var d;let l;if("controlPlaneInstanceId"in e.subscription){const{lastUpdateTime:i,total:_,...m}=e.subscription.status;l=m}else l=((d=e.subscription.status)==null?void 0:d.stat)??{};return l?Object.entries(l).map(([i,_])=>{const{responsesSent:m="0",responsesAcknowledged:h="0",responsesRejected:I="0"}=_;return{type:i,responsesSent:m,responsesAcknowledged:h,responsesRejected:I}}):[]});return(l,d)=>(c(),u("div",N,[p.value.length===0?(c(),g(a(P),{key:0,appearance:"info"},{alertIcon:v(()=>[f(a(L))]),alertMessage:v(()=>[n(s(a(o)("common.detail.subscriptions.no_stats",{id:e.subscription.id})),1)]),_:1})):(c(),u("div",U,[t("div",V,[t("div",C,s(a(o)("common.detail.subscriptions.type")),1),n(),t("div",O,s(a(o)("common.detail.subscriptions.responses_sent_acknowledged")),1)]),n(),(c(!0),u(y,null,A(p.value,(i,_)=>(c(),u("div",{key:_,class:"row","data-testid":`subscription-status-${i.type}`},[t("div",F,s(a(o)(`http.api.property.${i.type}`)),1),n(),t("div",null,s(i.responsesSent)+"/"+s(i.responsesAcknowledged),1)],8,q))),128))]))]))}});const G=T(E,[["__scopeId","data-v-ae0695b5"]]),M=""+new URL("icon-deployed-code-e3c999ba.svg",import.meta.url).href,z=""+new URL("icon-connected-037e001a.svg",import.meta.url).href,J=""+new URL("icon-disconnected-ba3c2624.svg",import.meta.url).href,k=r=>(R("data-v-0cbdfb03"),r=r(),H(),r),K={class:"subscription-header"},Q={class:"instance-id"},W=k(()=>t("img",{src:M},null,-1)),X=k(()=>t("img",{src:z},null,-1)),Y={key:0},Z=k(()=>t("img",{src:J},null,-1)),ss={class:"responses-sent-acknowledged"},es=S({__name:"SubscriptionHeader",props:{subscription:{type:Object,required:!0}},setup(r){const e=r,{t:o,formatIsoDate:p}=x(),l=b(()=>"globalInstanceId"in e.subscription?e.subscription.globalInstanceId:null),d=b(()=>"controlPlaneInstanceId"in e.subscription?e.subscription.controlPlaneInstanceId:null),i=b(()=>e.subscription.connectTime?p(e.subscription.connectTime):null),_=b(()=>e.subscription.disconnectTime?p(e.subscription.disconnectTime):null),m=b(()=>{var w;const{responsesSent:h=0,responsesAcknowledged:I=0,responsesRejected:D=0}=((w=e.subscription.status)==null?void 0:w.total)??{};return{responsesSent:h,responsesAcknowledged:I,responsesRejected:D}});return(h,I)=>(c(),u("header",K,[t("span",Q,[W,n(),l.value?(c(),u(y,{key:0},[t("b",null,s(a(o)("http.api.property.globalInstanceId")),1),n(": "+s(l.value),1)],64)):d.value?(c(),u(y,{key:1},[t("b",null,s(a(o)("http.api.property.controlPlaneInstanceId")),1),n(": "+s(d.value),1)],64)):$("",!0)]),n(),t("span",null,[X,n(),t("b",null,s(a(o)("common.detail.subscriptions.connect_time")),1),n(": "+s(i.value),1)]),n(),_.value?(c(),u("span",Y,[Z,n(),t("b",null,s(a(o)("common.detail.subscriptions.disconnect_time")),1),n(": "+s(_.value),1)])):$("",!0),n(),t("span",ss,s(a(o)("common.detail.subscriptions.responses_sent_acknowledged"))+`: +import{A as j,a as B}from"./AccordionList-2feffd04.js";import{d as S,g as x,h as b,o as c,l as u,i as g,w as v,j as f,k as a,an as L,n,H as s,ac as P,p as t,F as y,I as A,t as T,m as $,D as R,G as H}from"./index-78eccadf.js";const N={class:"stack"},U={key:1},V={class:"row"},C={class:"header"},O={class:"header"},q=["data-testid"],F={class:"type"},E=S({__name:"SubscriptionDetails",props:{subscription:{type:Object,required:!0},isDiscoverySubscription:{type:Boolean,default:!1}},setup(r){const e=r,{t:o}=x(),p=b(()=>{var d;let l;if("controlPlaneInstanceId"in e.subscription){const{lastUpdateTime:i,total:_,...m}=e.subscription.status;l=m}else l=((d=e.subscription.status)==null?void 0:d.stat)??{};return l?Object.entries(l).map(([i,_])=>{const{responsesSent:m="0",responsesAcknowledged:h="0",responsesRejected:I="0"}=_;return{type:i,responsesSent:m,responsesAcknowledged:h,responsesRejected:I}}):[]});return(l,d)=>(c(),u("div",N,[p.value.length===0?(c(),g(a(P),{key:0,appearance:"info"},{alertIcon:v(()=>[f(a(L))]),alertMessage:v(()=>[n(s(a(o)("common.detail.subscriptions.no_stats",{id:e.subscription.id})),1)]),_:1})):(c(),u("div",U,[t("div",V,[t("div",C,s(a(o)("common.detail.subscriptions.type")),1),n(),t("div",O,s(a(o)("common.detail.subscriptions.responses_sent_acknowledged")),1)]),n(),(c(!0),u(y,null,A(p.value,(i,_)=>(c(),u("div",{key:_,class:"row","data-testid":`subscription-status-${i.type}`},[t("div",F,s(a(o)(`http.api.property.${i.type}`)),1),n(),t("div",null,s(i.responsesSent)+"/"+s(i.responsesAcknowledged),1)],8,q))),128))]))]))}});const G=T(E,[["__scopeId","data-v-ae0695b5"]]),M=""+new URL("icon-deployed-code-e3c999ba.svg",import.meta.url).href,z=""+new URL("icon-connected-037e001a.svg",import.meta.url).href,J=""+new URL("icon-disconnected-ba3c2624.svg",import.meta.url).href,k=r=>(R("data-v-0cbdfb03"),r=r(),H(),r),K={class:"subscription-header"},Q={class:"instance-id"},W=k(()=>t("img",{src:M},null,-1)),X=k(()=>t("img",{src:z},null,-1)),Y={key:0},Z=k(()=>t("img",{src:J},null,-1)),ss={class:"responses-sent-acknowledged"},es=S({__name:"SubscriptionHeader",props:{subscription:{type:Object,required:!0}},setup(r){const e=r,{t:o,formatIsoDate:p}=x(),l=b(()=>"globalInstanceId"in e.subscription?e.subscription.globalInstanceId:null),d=b(()=>"controlPlaneInstanceId"in e.subscription?e.subscription.controlPlaneInstanceId:null),i=b(()=>e.subscription.connectTime?p(e.subscription.connectTime):null),_=b(()=>e.subscription.disconnectTime?p(e.subscription.disconnectTime):null),m=b(()=>{var w;const{responsesSent:h=0,responsesAcknowledged:I=0,responsesRejected:D=0}=((w=e.subscription.status)==null?void 0:w.total)??{};return{responsesSent:h,responsesAcknowledged:I,responsesRejected:D}});return(h,I)=>(c(),u("header",K,[t("span",Q,[W,n(),l.value?(c(),u(y,{key:0},[t("b",null,s(a(o)("http.api.property.globalInstanceId")),1),n(": "+s(l.value),1)],64)):d.value?(c(),u(y,{key:1},[t("b",null,s(a(o)("http.api.property.controlPlaneInstanceId")),1),n(": "+s(d.value),1)],64)):$("",!0)]),n(),t("span",null,[X,n(),t("b",null,s(a(o)("common.detail.subscriptions.connect_time")),1),n(": "+s(i.value),1)]),n(),_.value?(c(),u("span",Y,[Z,n(),t("b",null,s(a(o)("common.detail.subscriptions.disconnect_time")),1),n(": "+s(_.value),1)])):$("",!0),n(),t("span",ss,s(a(o)("common.detail.subscriptions.responses_sent_acknowledged"))+`: `+s(m.value.responsesSent)+"/"+s(m.value.responsesAcknowledged),1)]))}});const ts=T(es,[["__scopeId","data-v-0cbdfb03"]]),cs=S({__name:"SubscriptionList",props:{subscriptions:{}},setup(r){const e=r,o=b(()=>{const p=Array.from(e.subscriptions);return p.reverse(),p});return(p,l)=>(c(),g(B,null,{default:v(()=>[(c(!0),u(y,null,A(o.value,(d,i)=>(c(),g(j,{key:i},{"accordion-header":v(()=>[f(ts,{subscription:d},null,8,["subscription"])]),"accordion-content":v(()=>[f(G,{subscription:d},null,8,["subscription"])]),_:2},1024))),128))]),_:1}))}});export{cs as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/TagList-26efeadd.js b/app/kuma-ui/pkg/resources/data/assets/TagList-a8a084c7.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/TagList-26efeadd.js rename to app/kuma-ui/pkg/resources/data/assets/TagList-a8a084c7.js index 584cbb7e7e6a..fd99ddfc00c2 100644 --- a/app/kuma-ui/pkg/resources/data/assets/TagList-26efeadd.js +++ b/app/kuma-ui/pkg/resources/data/assets/TagList-a8a084c7.js @@ -1 +1 @@ -import{d as f,e as b,a4 as g,h,o as r,l,F as y,I as k,i,w as p,q as x,n as L,H as d,p as w,k as T,ag as B,t as z}from"./index-2441451c.js";function C(o){return Object.entries(o??{}).map(([s,a])=>({label:s,value:a}))}const R={class:"tag-list"},j=f({__name:"TagList",props:{tags:{type:Object,required:!0}},setup(o){const s=o,a=b(),c=g(),m=h(()=>(Array.isArray(s.tags)?s.tags:C(s.tags)).map(n=>{const{label:t,value:u}=n,v=_(n);return{label:t,value:u,route:v}}));function _(e){if(e.value!=="*")try{switch(e.label){case"kuma.io/zone":return c.resolve({name:"zone-cp-detail-view",params:{zone:e.value}});case"kuma.io/service":return"mesh"in a.params?c.resolve({name:"service-detail-view",params:{mesh:a.params.mesh,service:e.value}}):void 0;default:return}}catch{return}}return(e,n)=>(r(),l("span",R,[(r(!0),l(y,null,k(m.value,(t,u)=>(r(),i(T(B),{key:u,class:"tag-badge"},{default:p(()=>[(r(),i(x(t.route?"router-link":"span"),{to:t.route},{default:p(()=>[L(d(t.label)+":",1),w("b",null,d(t.value),1)]),_:2},1032,["to"]))]),_:2},1024))),128))]))}});const A=z(j,[["__scopeId","data-v-94e5d380"]]);export{A as T}; +import{d as f,e as b,a4 as g,h,o as r,l,F as y,I as k,i,w as p,q as x,n as L,H as d,p as w,k as T,ag as B,t as z}from"./index-78eccadf.js";function C(o){return Object.entries(o??{}).map(([s,a])=>({label:s,value:a}))}const R={class:"tag-list"},j=f({__name:"TagList",props:{tags:{type:Object,required:!0}},setup(o){const s=o,a=b(),c=g(),m=h(()=>(Array.isArray(s.tags)?s.tags:C(s.tags)).map(n=>{const{label:t,value:u}=n,v=_(n);return{label:t,value:u,route:v}}));function _(e){if(e.value!=="*")try{switch(e.label){case"kuma.io/zone":return c.resolve({name:"zone-cp-detail-view",params:{zone:e.value}});case"kuma.io/service":return"mesh"in a.params?c.resolve({name:"service-detail-view",params:{mesh:a.params.mesh,service:e.value}}):void 0;default:return}}catch{return}}return(e,n)=>(r(),l("span",R,[(r(!0),l(y,null,k(m.value,(t,u)=>(r(),i(T(B),{key:u,class:"tag-badge"},{default:p(()=>[(r(),i(x(t.route?"router-link":"span"),{to:t.route},{default:p(()=>[L(d(t.label)+":",1),w("b",null,d(t.value),1)]),_:2},1032,["to"]))]),_:2},1024))),128))]))}});const A=z(j,[["__scopeId","data-v-94e5d380"]]);export{A as T}; diff --git a/app/kuma-ui/pkg/resources/data/assets/WelcomeView-7e389685.js b/app/kuma-ui/pkg/resources/data/assets/WelcomeView-41c39ba7.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/WelcomeView-7e389685.js rename to app/kuma-ui/pkg/resources/data/assets/WelcomeView-41c39ba7.js index 83562b70a8e7..e187f3a6e4f4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/WelcomeView-7e389685.js +++ b/app/kuma-ui/pkg/resources/data/assets/WelcomeView-41c39ba7.js @@ -1,4 +1,4 @@ -import{d as h,y as I,z as N,o as s,l as r,n as a,B as S,C as m,D as g,G as M,p as t,t as f,r as l,i as u,w as o,j as n,H as i,I as C,k as _,J as L,K as A,m as H,F as O}from"./index-2441451c.js";import{O as W,a as z,b as $}from"./OnboardingPage-055a5e15.js";const B=e=>(g("data-v-b31b8343"),e=e(),M(),e),G=B(()=>t("defs",null,null,-1)),R=m(' ',1),T=m('
',1),j=h({__name:"WelcomeAnimationSvg",setup(e){const v=I(!1);return N(function(){window.setTimeout(()=>{v.value=!0},30)}),(y,c)=>(s(),r("svg",{class:S(["background svg",{active:v.value}]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1080"},[G,a(),R,a(),T],2))}});const E=f(j,[["__scopeId","data-v-b31b8343"]]),w=e=>(g("data-v-29a8fc74"),e=e(),M(),e),K=w(()=>t("strong",null,"few minutes",-1)),D={"data-testid":"kuma-environment"},F=w(()=>t("h2",{class:"text-center"},` +import{d as h,y as I,z as N,o as s,l as r,n as a,B as S,C as m,D as g,G as M,p as t,t as f,r as l,i as u,w as o,j as n,H as i,I as C,k as _,J as L,K as A,m as H,F as O}from"./index-78eccadf.js";import{O as W,a as z,b as $}from"./OnboardingPage-5ac3187f.js";const B=e=>(g("data-v-b31b8343"),e=e(),M(),e),G=B(()=>t("defs",null,null,-1)),R=m(' ',1),T=m('
',1),j=h({__name:"WelcomeAnimationSvg",setup(e){const v=I(!1);return N(function(){window.setTimeout(()=>{v.value=!0},30)}),(y,c)=>(s(),r("svg",{class:S(["background svg",{active:v.value}]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1080"},[G,a(),R,a(),T],2))}});const E=f(j,[["__scopeId","data-v-b31b8343"]]),w=e=>(g("data-v-29a8fc74"),e=e(),M(),e),K=w(()=>t("strong",null,"few minutes",-1)),D={"data-testid":"kuma-environment"},F=w(()=>t("h2",{class:"text-center"},` Let’s get started: `,-1)),U={class:"item-status-list-wrapper"},q={class:"item-status-list"},J={class:"circle mr-2"},P=h({__name:"WelcomeView",setup(e){return(v,y)=>{const c=l("RouteTitle"),V=l("AppView"),k=l("RouteView");return s(),u(k,{name:"onboarding-welcome"},{default:o(({env:x,t:d,can:p})=>[n(c,{title:d("onboarding.routes.welcome.title",{name:d("common.product.name")})},null,8,["title"]),a(),n(V,null,{default:o(()=>[t("div",null,[n(W,null,{header:o(()=>[n(z,null,{title:o(()=>[a(` Welcome to `+i(d("common.product.name")),1)]),description:o(()=>[t("p",null,[a(` diff --git a/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-c388d85d.js b/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-72fd1a5e.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/XdsConfigView-c388d85d.js rename to app/kuma-ui/pkg/resources/data/assets/XdsConfigView-72fd1a5e.js index 1663b4953db8..d3fbf3bedbd6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-c388d85d.js +++ b/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-72fd1a5e.js @@ -1 +1 @@ -import{E as d}from"./EnvoyData-2ae64069.js";import{g as l}from"./dataplane-0a086c06.js";import{d as m,r as e,o as _,i as g,w as t,j as s,p as f,n as w,k as x}from"./index-2441451c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";const E=m({__name:"XdsConfigView",props:{data:{}},setup(o){const n=o;return(z,V)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),c=e("RouteView");return _(),g(c,{name:"zone-egress-xds-config-view",params:{zoneEgress:""}},{default:t(({route:p,t:u})=>[s(i,null,{title:t(()=>[f("h2",null,[s(a,{title:u("zone-egresses.routes.item.navigation.zone-egress-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(r,null,{body:t(()=>[s(d,{status:x(l)(n.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${p.params.zoneEgress}/data-path/xds`,"query-key":"envoy-data-xds-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{E as default}; +import{E as d}from"./EnvoyData-3228efeb.js";import{g as l}from"./dataplane-0a086c06.js";import{d as m,r as e,o as _,i as g,w as t,j as s,p as f,n as w,k as x}from"./index-78eccadf.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";const E=m({__name:"XdsConfigView",props:{data:{}},setup(o){const n=o;return(z,V)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),c=e("RouteView");return _(),g(c,{name:"zone-egress-xds-config-view",params:{zoneEgress:""}},{default:t(({route:p,t:u})=>[s(i,null,{title:t(()=>[f("h2",null,[s(a,{title:u("zone-egresses.routes.item.navigation.zone-egress-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(r,null,{body:t(()=>[s(d,{status:x(l)(n.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${p.params.zoneEgress}/data-path/xds`,"query-key":"envoy-data-xds-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{E as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-121c7414.js b/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-daf07147.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/XdsConfigView-121c7414.js rename to app/kuma-ui/pkg/resources/data/assets/XdsConfigView-daf07147.js index ef043f218940..3ebcd1f5a258 100644 --- a/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-121c7414.js +++ b/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-daf07147.js @@ -1 +1 @@ -import{E as d}from"./EnvoyData-2ae64069.js";import{g as l}from"./dataplane-0a086c06.js";import{d as m,r as e,o as _,i as g,w as t,j as s,p as f,n as w,k as x}from"./index-2441451c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-893fe634.js";const y=m({__name:"XdsConfigView",props:{data:{}},setup(n){const o=n;return(z,V)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),c=e("RouteView");return _(),g(c,{name:"zone-ingress-xds-config-view",params:{zoneIngress:""}},{default:t(({route:p,t:u})=>[s(i,null,{title:t(()=>[f("h2",null,[s(a,{title:u("zone-ingresses.routes.item.navigation.zone-ingress-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(r,null,{body:t(()=>[s(d,{status:x(l)(o.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${p.params.zoneIngress}/data-path/xds`,"query-key":"envoy-data-xds-zone-ingress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{y as default}; +import{E as d}from"./EnvoyData-3228efeb.js";import{g as l}from"./dataplane-0a086c06.js";import{d as m,r as e,o as _,i as g,w as t,j as s,p as f,n as w,k as x}from"./index-78eccadf.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-13487ae9.js";const y=m({__name:"XdsConfigView",props:{data:{}},setup(n){const o=n;return(z,V)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),c=e("RouteView");return _(),g(c,{name:"zone-ingress-xds-config-view",params:{zoneIngress:""}},{default:t(({route:p,t:u})=>[s(i,null,{title:t(()=>[f("h2",null,[s(a,{title:u("zone-ingresses.routes.item.navigation.zone-ingress-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(r,null,{body:t(()=>[s(d,{status:x(l)(o.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${p.params.zoneIngress}/data-path/xds`,"query-key":"envoy-data-xds-zone-ingress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{y as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/index-2441451c.js b/app/kuma-ui/pkg/resources/data/assets/index-78eccadf.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/index-2441451c.js rename to app/kuma-ui/pkg/resources/data/assets/index-78eccadf.js index fd8d3a9db0e6..54413d3457c0 100644 --- a/app/kuma-ui/pkg/resources/data/assets/index-2441451c.js +++ b/app/kuma-ui/pkg/resources/data/assets/index-78eccadf.js @@ -1,4 +1,4 @@ -var Ef=Object.defineProperty;var Af=(e,t,r)=>t in e?Ef(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var mt=(e,t,r)=>(Af(e,typeof t!="symbol"?t+"":t,r),r),C2=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var oe=(e,t,r)=>(C2(e,t,"read from private field"),r?r.call(e):t.get(e)),et=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Yt=(e,t,r,n)=>(C2(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var ge=(e,t,r)=>(C2(e,t,"access private method"),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();const Lf="modulepreload",Bf=function(e,t){return e[0]==="."?new URL(e,t).href:e},E5={},xe=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=Bf(a,n),a in E5)return;E5[a]=!0;const i=a.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(!!n)for(let u=o.length-1;u>=0;u--){const d=o[u];if(d.href===a&&(!i||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":Lf,i||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),i)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})};const Df=e=>({"/control-plane/addresses":async(t,r)=>(r.close(),{http:e("KUMA_API_URL"),kds:"grpcs://:5685"})});var y2=new WeakMap,gu=new Map,Hf=new Map,no;(function(e){e[e.Constant=0]="Constant",e[e.Instance=1]="Instance",e[e.Factory=2]="Factory"})(no||(no={}));var Gr;(function(e){e[e.Container=0]="Container",e[e.Resolution=1]="Resolution",e[e.Singleton=2]="Singleton",e[e.Transient=3]="Transient"})(Gr||(Gr={}));var Tf=class{constructor(e){this.impl=e,this.type=no.Constant}},If=class{constructor(e){this.impl=e,this.type=no.Factory}},Of=e=>e.type===no.Factory,Bl=class{constructor(e){this.impl=e,this.type=no.Instance}},Vf=class extends Bl{constructor(){super(...arguments),this.scope=Gr.Container,this.cache=new WeakMap}},Pf=class extends Bl{constructor(){super(...arguments),this.scope=Gr.Resolution}},Nf=class extends Bl{constructor(e){super(e),this.impl=e,this.scope=Gr.Singleton}},$f=class extends Bl{constructor(){super(...arguments),this.scope=Gr.Transient}},Zf=e=>e.type===no.Instance,Rf=e=>e.scope===Gr.Container,zf=e=>e.scope===Gr.Resolution,Ff=e=>e.scope===Gr.Singleton,Uf=e=>Symbol(e),Be=e=>{const t=Symbol(e);return{__t:null,__d:e,__s:t,__o:!1,optional:{__t:null,__d:e,__s:t,__o:!0}}},Va=class{constructor(){this.parent=null,this.map=new Map}set(e,t,r=Va.notag){const n=this.map.get(t.__s);n?n.set(r,e):this.map.set(t.__s,new Map().set(r,e))}find(e,t,r){const n=this.map.get(e.__s);if(n!==void 0){if(r){const o=n.get(r);if(o)return o}if(t)for(let o=0,a=t.length;o{t.map.set(n,e(r))}),t}clone(){return this.from(e=>new Map(e))}},Cu=Va;Cu.notag=Uf("NO_TAG");var jf=class{constructor(e,t,r,n){this.vault=e,this.tokens=t,this.getVault=r,this.condition=n}from(e){const{tokens:t}=this;for(let r=0,n=t.length;rthis.resolveToken(o,r,n,t.split()))}resolveToken(e,t,r,n=new yu){const o=this.vault.get(e,n,t,r);if(o)return this.resolveBinding(o,n);if(!e.__o)throw new Error(`No matching bindings found for '${e.__d}' token.`)}resolveBinding(e,t){return Zf(e)?Ff(e)?this.resolveCache(e,t,()=>e.cache,r=>{e.cache=r}):Rf(e)?this.resolveCache(e,t,()=>e.cache.get(this.vault),r=>{e.cache.set(this.vault,r)}):zf(e)?this.resolveCache(e,t,()=>t.instances.get(e),r=>{t.instances.set(e,r)}):this.createInstance(e.impl,t):Of(e)?(...r)=>{const n=this.createInstance(e.impl.creator,t);return n instanceof Promise?n.then(o=>ps.resolveInitialization(o,r,e.impl.initializer)):ps.resolveInitialization(n,r,e.impl.initializer)}:e.impl}resolveCache(e,t,r,n){const o=r();if(o!==void 0)return o;const a=this.createInstance(e.impl,t);return n(a),a}createInstance(e,t){const r=this.getParameters(e,t),n=y2.get(e);if(n!==void 0)return n?e(...r):new e(...r);try{const o=e(...r);return y2.set(e,!0),o}catch{const a=new e(...r);return y2.set(e,!1),a}}getParameters(e,t){const r=gu.get(e);if(r)return this.resolveTokens(r,t,Hf.get(e),e);if(e.length===0)return[];throw new Error(`Missing required 'injected' registration of '${e.name}'`)}static resolveInitialization(e,t,r){const n=r==null?void 0:r(e,...t);return n instanceof Promise?n.then(()=>e):e}},Wf=()=>new ps,Qf=(e,...t)=>(gu.set(e,t),e),gse=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jf=function(t){return ep(t)&&!tp(t)};function ep(e){return!!e&&typeof e=="object"}function tp(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||op(e)}var rp=typeof Symbol=="function"&&Symbol.for,np=rp?Symbol.for("react.element"):60103;function op(e){return e.$$typeof===np}function ap(e){return Array.isArray(e)?[]:{}}function ui(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ko(ap(e),e,t):e}function ip(e,t,r){return e.concat(t).map(function(n){return ui(n,r)})}function sp(e,t){if(!t.customMerge)return Ko;var r=t.customMerge(e);return typeof r=="function"?r:Ko}function lp(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function A5(e){return Object.keys(e).concat(lp(e))}function bu(e,t){try{return t in e}catch{return!1}}function cp(e,t){return bu(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function up(e,t,r){var n={};return r.isMergeableObject(e)&&A5(e).forEach(function(o){n[o]=ui(e[o],r)}),A5(t).forEach(function(o){cp(e,o)||(bu(e,o)&&r.isMergeableObject(t[o])?n[o]=sp(o,r)(e[o],t[o],r):n[o]=ui(t[o],r))}),n}function Ko(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||ip,r.isMergeableObject=r.isMergeableObject||Jf,r.cloneUnlessOtherwiseSpecified=ui;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):up(e,t,r):ui(t,r)}Ko.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Ko(n,o,r)},{})};var dp=Ko,hp=dp;const fp=Xf(hp),s7=Wf(),pp=(...e)=>[...new Map([...e.flat()]).entries()],mp=e=>{const t=new Map(e);return e.forEach(([r,n])=>{if(typeof n.decorates<"u"){const o=n.decorates,a=t.get(o);if(typeof a<"u"){const{labels:i,...s}=a,l=Be("inner"),c=Be("inner.wrapper");t.set(l,{...s}),t.set(c,{service:()=>()=>Dl(l)}),t.set(o,{...n,arguments:[c],labels:i})}n.decorates=void 0}}),[...t.entries()]},Dl=e=>s7.get(e),vp=(...e)=>(mp(pp(...e)).forEach(r=>wu(...r)),Dl),Hl=(...e)=>e.map(t=>()=>Dl(t)),ji=new WeakMap,wu=(e,t)=>{const r=s7.bind(e);switch(!0){case"constant"in t:r.toConstant(t.constant);break;case"service"in t:{const n=r.toInstance(t.service);(typeof t.shared>"u"||t.shared===!0)&&n.inSingletonScope();break}}typeof t.labels<"u"&&t.labels.forEach(n=>{ji.has(n)||(ji.set(n,[]),wu(n,{service:()=>ji.get(n).reduce((a,i)=>{try{const s=Dl(i);return Array.isArray(s)?a.concat(s):s instanceof Object?fp(a,s):a}catch(s){throw console.error(s),s}},[])})),ji.get(n).push(e)}),typeof t.arguments<"u"&&typeof t.service<"u"&&(t.arguments.forEach((n,o)=>{if(typeof n>"u")throw new Error(`Unable to find token for argument[${o}]`)}),Qf(t.service,...t.arguments))},y1=(e,t)=>{const r=Be(t.description);return s7.bind(r).toConstant(e),r},gp={sources:Be("control-planes.sources")},Cp=e=>[[gp.sources,{service:Df,arguments:[e.env],labels:[e.sources]}]],yp=()=>[{path:"/diagnostics",name:"diagnostics",component:()=>xe(()=>import("./DiagnosticsView-1078cb05.js"),["./CodeBlock-aa591f34.css"],import.meta.url)}],bp=e=>({"/config":async(t,r)=>(r.close(),await e.getConfig())}),wp=e=>[[Be("diagnostics.sources"),{service:bp,arguments:[e.api],labels:[e.sources]}],[Be("diagnostics.routes"),{service:yp,labels:[e.routes]}]],_p=()=>[{path:"/onboarding",redirect:{name:"onboarding-welcome"},component:()=>xe(()=>import("./OnboardingView-6d24078d.js"),[],import.meta.url),children:[{path:"welcome",name:"onboarding-welcome",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./WelcomeView-7e389685.js"),["./OnboardingPage-88f67fb6.css","./WelcomeView-2c7783bc.css"],import.meta.url)},{path:"deployment-types",name:"onboarding-deployment-types",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./DeploymentTypes-57f77585.js"),["./OnboardingPage-88f67fb6.css","./DeploymentTypes-caab5d22.css"],import.meta.url)},{path:"configuration-types",name:"onboarding-configuration-types",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./ConfigurationTypes-f086ed67.js"),["./OnboardingPage-88f67fb6.css","./ConfigurationTypes-f96b4d1a.css"],import.meta.url)},{path:"multi-zone",name:"onboarding-multi-zone",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./MultiZoneView-6475ea55.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./MultiZoneView-81622d62.css"],import.meta.url)},{path:"create-mesh",name:"onboarding-create-mesh",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./CreateMesh-ccb365d5.js"),["./OnboardingPage-88f67fb6.css","./CreateMesh-28969af3.css"],import.meta.url)},{path:"add-services",name:"onboarding-add-services",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./AddNewServices-774b8190.js"),["./OnboardingPage-88f67fb6.css","./AddNewServices-10d70ff3.css"],import.meta.url)},{path:"add-services-code",name:"onboarding-add-services-code",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./AddNewServicesCode-e3d5bbba.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./CodeBlock-aa591f34.css","./AddNewServicesCode-02eef6ad.css"],import.meta.url)},{path:"dataplanes-overview",name:"onboarding-dataplanes-overview",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./DataplanesOverview-e0d19791.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./DataplanesOverview-b36db120.css"],import.meta.url)},{path:"completed",name:"onboarding-completed",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./CompletedView-257bedc2.js"),["./OnboardingPage-88f67fb6.css","./CompletedView-6392a0bc.css"],import.meta.url)}]}],kp=e=>[[Be("onboarding.routes"),{service:_p,labels:[e.routes]}]];function l7(e,t){const r=Object.create(null),n=e.split(",");for(let o=0;o!!r[o.toLowerCase()]:o=>!!r[o]}const kt={},Ho=[],or=()=>{},Mp=()=>!1,xp=/^on[^a-z]/,Tl=e=>xp.test(e),c7=e=>e.startsWith("onUpdate:"),Nt=Object.assign,u7=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Sp=Object.prototype.hasOwnProperty,ot=(e,t)=>Sp.call(e,t),Ve=Array.isArray,To=e=>Il(e)==="[object Map]",_u=e=>Il(e)==="[object Set]",Xe=e=>typeof e=="function",$t=e=>typeof e=="string",d7=e=>typeof e=="symbol",Mt=e=>e!==null&&typeof e=="object",ku=e=>Mt(e)&&Xe(e.then)&&Xe(e.catch),Mu=Object.prototype.toString,Il=e=>Mu.call(e),Ep=e=>Il(e).slice(8,-1),xu=e=>Il(e)==="[object Object]",h7=e=>$t(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ms=l7(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ol=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Ap=/-(\w)/g,xr=Ol(e=>e.replace(Ap,(t,r)=>r?r.toUpperCase():"")),Lp=/\B([A-Z])/g,Ln=Ol(e=>e.replace(Lp,"-$1").toLowerCase()),Vl=Ol(e=>e.charAt(0).toUpperCase()+e.slice(1)),vs=Ol(e=>e?`on${Vl(e)}`:""),di=(e,t)=>!Object.is(e,t),gs=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},k0=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bp=e=>{const t=$t(e)?Number(e):NaN;return isNaN(t)?e:t};let L5;const M0=()=>L5||(L5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ue(e){if(Ve(e)){const t={};for(let r=0;r{if(r){const n=r.split(Hp);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function J(e){let t="";if($t(e))t=e;else if(Ve(e))for(let r=0;r$t(e)?e:e==null?"":Ve(e)||Mt(e)&&(e.toString===Mu||!Xe(e.toString))?JSON.stringify(e,Eu,2):String(e),Eu=(e,t)=>t&&t.__v_isRef?Eu(e,t.value):To(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o])=>(r[`${n} =>`]=o,r),{})}:_u(t)?{[`Set(${t.size})`]:[...t.values()]}:Mt(t)&&!Ve(t)&&!xu(t)?String(t):t;let D1;class Pp{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=D1,!t&&D1&&(this.index=(D1.scopes||(D1.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=D1;try{return D1=this,t()}finally{D1=r}}}on(){D1=this}off(){D1=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r{const t=new Set(e);return t.w=0,t.n=0,t},Lu=e=>(e.w&xn)>0,Bu=e=>(e.n&xn)>0,Zp=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n{(u==="length"||u>=l)&&s.push(c)})}else switch(r!==void 0&&s.push(i.get(r)),t){case"add":Ve(e)?h7(r)&&s.push(i.get("length")):(s.push(i.get(eo)),To(e)&&s.push(i.get(S0)));break;case"delete":Ve(e)||(s.push(i.get(eo)),To(e)&&s.push(i.get(S0)));break;case"set":To(e)&&s.push(i.get(eo));break}if(s.length===1)s[0]&&E0(s[0]);else{const l=[];for(const c of s)c&&l.push(...c);E0(f7(l))}}function E0(e,t){const r=Ve(e)?e:[...e];for(const n of r)n.computed&&D5(n);for(const n of r)n.computed||D5(n)}function D5(e,t){(e!==rr||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function zp(e,t){var r;return(r=Ps.get(e))==null?void 0:r.get(t)}const Fp=l7("__proto__,__v_isRef,__isVue"),Tu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(d7)),Up=m7(),jp=m7(!1,!0),Yp=m7(!0),H5=Gp();function Gp(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=it(this);for(let a=0,i=this.length;a{e[t]=function(...r){la();const n=it(this)[t].apply(this,r);return ca(),n}}),e}function Kp(e){const t=it(this);return S1(t,"has",e),t.hasOwnProperty(e)}function m7(e=!1,t=!1){return function(n,o,a){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&a===(e?t?um:Nu:t?Pu:Vu).get(n))return n;const i=Ve(n);if(!e){if(i&&ot(H5,o))return Reflect.get(H5,o,a);if(o==="hasOwnProperty")return Kp}const s=Reflect.get(n,o,a);return(d7(o)?Tu.has(o):Fp(o))||(e||S1(n,"get",o),t)?s:r1(s)?i&&h7(o)?s:s.value:Mt(s)?e?Zu(s):Bn(s):s}}const qp=Iu(),Wp=Iu(!0);function Iu(e=!1){return function(r,n,o,a){let i=r[n];if(oo(i)&&r1(i)&&!r1(o))return!1;if(!e&&(!Ns(o)&&!oo(o)&&(i=it(i),o=it(o)),!Ve(r)&&r1(i)&&!r1(o)))return i.value=o,!0;const s=Ve(r)&&h7(n)?Number(n)e,Pl=e=>Reflect.getPrototypeOf(e);function Yi(e,t,r=!1,n=!1){e=e.__v_raw;const o=it(e),a=it(t);r||(t!==a&&S1(o,"get",t),S1(o,"get",a));const{has:i}=Pl(o),s=n?v7:r?y7:hi;if(i.call(o,t))return s(e.get(t));if(i.call(o,a))return s(e.get(a));e!==o&&e.get(t)}function Gi(e,t=!1){const r=this.__v_raw,n=it(r),o=it(e);return t||(e!==o&&S1(n,"has",e),S1(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function Ki(e,t=!1){return e=e.__v_raw,!t&&S1(it(e),"iterate",eo),Reflect.get(e,"size",e)}function T5(e){e=it(e);const t=it(this);return Pl(t).has.call(t,e)||(t.add(e),Kr(t,"add",e,e)),this}function I5(e,t){t=it(t);const r=it(this),{has:n,get:o}=Pl(r);let a=n.call(r,e);a||(e=it(e),a=n.call(r,e));const i=o.call(r,e);return r.set(e,t),a?di(t,i)&&Kr(r,"set",e,t):Kr(r,"add",e,t),this}function O5(e){const t=it(this),{has:r,get:n}=Pl(t);let o=r.call(t,e);o||(e=it(e),o=r.call(t,e)),n&&n.call(t,e);const a=t.delete(e);return o&&Kr(t,"delete",e,void 0),a}function V5(){const e=it(this),t=e.size!==0,r=e.clear();return t&&Kr(e,"clear",void 0,void 0),r}function qi(e,t){return function(n,o){const a=this,i=a.__v_raw,s=it(i),l=t?v7:e?y7:hi;return!e&&S1(s,"iterate",eo),i.forEach((c,u)=>n.call(o,l(c),l(u),a))}}function Wi(e,t,r){return function(...n){const o=this.__v_raw,a=it(o),i=To(a),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...n),u=r?v7:t?y7:hi;return!t&&S1(a,"iterate",l?S0:eo),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:s?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function rn(e){return function(...t){return e==="delete"?!1:this}}function rm(){const e={get(a){return Yi(this,a)},get size(){return Ki(this)},has:Gi,add:T5,set:I5,delete:O5,clear:V5,forEach:qi(!1,!1)},t={get(a){return Yi(this,a,!1,!0)},get size(){return Ki(this)},has:Gi,add:T5,set:I5,delete:O5,clear:V5,forEach:qi(!1,!0)},r={get(a){return Yi(this,a,!0)},get size(){return Ki(this,!0)},has(a){return Gi.call(this,a,!0)},add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear"),forEach:qi(!0,!1)},n={get(a){return Yi(this,a,!0,!0)},get size(){return Ki(this,!0)},has(a){return Gi.call(this,a,!0)},add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear"),forEach:qi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Wi(a,!1,!1),r[a]=Wi(a,!0,!1),t[a]=Wi(a,!1,!0),n[a]=Wi(a,!0,!0)}),[e,r,t,n]}const[nm,om,am,im]=rm();function g7(e,t){const r=t?e?im:am:e?om:nm;return(n,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(ot(r,o)&&o in n?r:n,o,a)}const sm={get:g7(!1,!1)},lm={get:g7(!1,!0)},cm={get:g7(!0,!1)},Vu=new WeakMap,Pu=new WeakMap,Nu=new WeakMap,um=new WeakMap;function dm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hm(e){return e.__v_skip||!Object.isExtensible(e)?0:dm(Ep(e))}function Bn(e){return oo(e)?e:C7(e,!1,Ou,sm,Vu)}function $u(e){return C7(e,!1,tm,lm,Pu)}function Zu(e){return C7(e,!0,em,cm,Nu)}function C7(e,t,r,n,o){if(!Mt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=hm(e);if(i===0)return e;const s=new Proxy(e,i===2?n:r);return o.set(e,s),s}function Io(e){return oo(e)?Io(e.__v_raw):!!(e&&e.__v_isReactive)}function oo(e){return!!(e&&e.__v_isReadonly)}function Ns(e){return!!(e&&e.__v_isShallow)}function Ru(e){return Io(e)||oo(e)}function it(e){const t=e&&e.__v_raw;return t?it(t):e}function zu(e){return Vs(e,"__v_skip",!0),e}const hi=e=>Mt(e)?Bn(e):e,y7=e=>Mt(e)?Zu(e):e;function Fu(e){wn&&rr&&(e=it(e),Hu(e.dep||(e.dep=f7())))}function Uu(e,t){e=it(e);const r=e.dep;r&&E0(r)}function r1(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return ju(e,!1)}function fm(e){return ju(e,!0)}function ju(e,t){return r1(e)?e:new pm(e,t)}class pm{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:it(t),this._value=r?t:hi(t)}get value(){return Fu(this),this._value}set value(t){const r=this.__v_isShallow||Ns(t)||oo(t);t=r?t:it(t),di(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:hi(t),Uu(this))}}function L(e){return r1(e)?e.value:e}const mm={get:(e,t,r)=>L(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return r1(o)&&!r1(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function Yu(e){return Io(e)?e:new Proxy(e,mm)}function vm(e){const t=Ve(e)?new Array(e.length):{};for(const r in e)t[r]=Cm(e,r);return t}class gm{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return zp(it(this._object),this._key)}}function Cm(e,t,r){const n=e[t];return r1(n)?n:new gm(e,t,r)}class ym{constructor(t,r,n,o){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new p7(t,()=>{this._dirty||(this._dirty=!0,Uu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const t=it(this);return Fu(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function bm(e,t,r=!1){let n,o;const a=Xe(e);return a?(n=e,o=or):(n=e.get,o=e.set),new ym(n,o,a||!o,r)}function _n(e,t,r,n){let o;try{o=n?e(...n):e()}catch(a){Nl(a,t,r)}return o}function Y1(e,t,r,n){if(Xe(e)){const a=_n(e,t,r,n);return a&&ku(a)&&a.catch(i=>{Nl(i,t,r)}),a}const o=[];for(let a=0;a>>1;pi(a1[n])_r&&a1.splice(t,1)}function Mm(e){Ve(e)?Oo.push(...e):(!Nr||!Nr.includes(e,e.allowRecurse?Un+1:Un))&&Oo.push(e),Ku()}function P5(e,t=fi?_r+1:0){for(;tpi(r)-pi(n)),Un=0;Une.id==null?1/0:e.id,xm=(e,t)=>{const r=pi(e)-pi(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function Wu(e){A0=!1,fi=!0,a1.sort(xm);const t=or;try{for(_r=0;_r$t(f)?f.trim():f)),d&&(o=r.map(k0))}let s,l=n[s=vs(t)]||n[s=vs(xr(t))];!l&&a&&(l=n[s=vs(Ln(t))]),l&&Y1(l,e,6,o);const c=n[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Y1(c,e,6,o)}}function Qu(e,t,r=!1){const n=t.emitsCache,o=n.get(e);if(o!==void 0)return o;const a=e.emits;let i={},s=!1;if(!Xe(e)){const l=c=>{const u=Qu(c,t,!0);u&&(s=!0,Nt(i,u))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(Mt(e)&&n.set(e,null),null):(Ve(a)?a.forEach(l=>i[l]=null):Nt(i,a),Mt(e)&&n.set(e,i),i)}function $l(e,t){return!e||!Tl(t)?!1:(t=t.slice(2).replace(/Once$/,""),ot(e,t[0].toLowerCase()+t.slice(1))||ot(e,Ln(t))||ot(e,t))}let n1=null,Zl=null;function $s(e){const t=n1;return n1=e,Zl=e&&e.type.__scopeId||null,t}function st(e){Zl=e}function lt(){Zl=null}function E(e,t=n1,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&q5(-1);const a=$s(t);let i;try{i=e(...o)}finally{$s(a),n._d&&q5(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function b2(e){const{type:t,vnode:r,proxy:n,withProxy:o,props:a,propsOptions:[i],slots:s,attrs:l,emit:c,render:u,renderCache:d,data:h,setupState:f,ctx:C,inheritAttrs:_}=e;let g,b;const w=$s(e);try{if(r.shapeFlag&4){const k=o||n;g=br(u.call(k,k,d,a,f,h,C)),b=l}else{const k=t;g=br(k.length>1?k(a,{attrs:l,slots:s,emit:c}):k(a,null)),b=t.props?l:Em(l)}}catch(k){qa.length=0,Nl(k,e,1),g=P(I1)}let v=g;if(b&&_!==!1){const k=Object.keys(b),{shapeFlag:T}=v;k.length&&T&7&&(i&&k.some(c7)&&(b=Am(b,i)),v=qr(v,b))}return r.dirs&&(v=qr(v),v.dirs=v.dirs?v.dirs.concat(r.dirs):r.dirs),r.transition&&(v.transition=r.transition),g=v,$s(w),g}const Em=e=>{let t;for(const r in e)(r==="class"||r==="style"||Tl(r))&&((t||(t={}))[r]=e[r]);return t},Am=(e,t)=>{const r={};for(const n in e)(!c7(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function Lm(e,t,r){const{props:n,children:o,component:a}=e,{props:i,children:s,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?N5(n,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Hm(e,t){t&&t.pendingBranch?Ve(e)?t.effects.push(...e):t.effects.push(e):Mm(e)}function Xu(e,t){return Rl(e,null,t)}function Tm(e,t){return Rl(e,null,{flush:"post"})}const Qi={};function De(e,t,r){return Rl(e,t,r)}function Rl(e,t,{immediate:r,deep:n,flush:o,onTrack:a,onTrigger:i}=kt){var s;const l=Au()===((s=qt)==null?void 0:s.scope)?qt:null;let c,u=!1,d=!1;if(r1(e)?(c=()=>e.value,u=Ns(e)):Io(e)?(c=()=>e,n=!0):Ve(e)?(d=!0,u=e.some(k=>Io(k)||Ns(k)),c=()=>e.map(k=>{if(r1(k))return k.value;if(Io(k))return Kn(k);if(Xe(k))return _n(k,l,2)})):Xe(e)?t?c=()=>_n(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),Y1(e,l,3,[f])}:c=or,t&&n){const k=c;c=()=>Kn(k())}let h,f=k=>{h=w.onStop=()=>{_n(k,l,4)}},C;if(Ci)if(f=or,t?r&&Y1(t,l,3,[c(),d?[]:void 0,f]):c(),o==="sync"){const k=wv();C=k.__watcherHandles||(k.__watcherHandles=[])}else return or;let _=d?new Array(e.length).fill(Qi):Qi;const g=()=>{if(w.active)if(t){const k=w.run();(n||u||(d?k.some((T,$)=>di(T,_[$])):di(k,_)))&&(h&&h(),Y1(t,l,3,[k,_===Qi?void 0:d&&_[0]===Qi?[]:_,f]),_=k)}else w.run()};g.allowRecurse=!!t;let b;o==="sync"?b=g:o==="post"?b=()=>_1(g,l&&l.suspense):(g.pre=!0,l&&(g.id=l.uid),b=()=>w7(g));const w=new p7(c,b);t?r?g():_=w.run():o==="post"?_1(w.run.bind(w),l&&l.suspense):w.run();const v=()=>{w.stop(),l&&l.scope&&u7(l.scope.effects,w)};return C&&C.push(v),v}function Im(e,t,r){const n=this.proxy,o=$t(e)?e.includes(".")?Ju(n,e):()=>n[e]:e.bind(n,n);let a;Xe(t)?a=t:(a=t.handler,r=t);const i=qt;qo(this);const s=Rl(o,a.bind(n),r);return i?qo(i):to(),s}function Ju(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o{Kn(r,t)});else if(xu(e))for(const r in e)Kn(e[r],t);return e}function Zs(e,t){const r=n1;if(r===null)return e;const n=Yl(r)||r.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0}),cr(()=>{e.isUnmounting=!0}),e}const P1=[Function,Array],t8={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:P1,onEnter:P1,onAfterEnter:P1,onEnterCancelled:P1,onBeforeLeave:P1,onLeave:P1,onAfterLeave:P1,onLeaveCancelled:P1,onBeforeAppear:P1,onAppear:P1,onAfterAppear:P1,onAppearCancelled:P1},Om={name:"BaseTransition",props:t8,setup(e,{slots:t}){const r=Bi(),n=e8();let o;return()=>{const a=t.default&&_7(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){for(const _ of a)if(_.type!==I1){i=_;break}}const s=it(e),{mode:l}=s;if(n.isLeaving)return w2(i);const c=$5(i);if(!c)return w2(i);const u=mi(c,s,n,r);vi(c,u);const d=r.subTree,h=d&&$5(d);let f=!1;const{getTransitionKey:C}=c.type;if(C){const _=C();o===void 0?o=_:_!==o&&(o=_,f=!0)}if(h&&h.type!==I1&&(!jn(c,h)||f)){const _=mi(h,s,n,r);if(vi(h,_),l==="out-in")return n.isLeaving=!0,_.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&r.update()},w2(i);l==="in-out"&&c.type!==I1&&(_.delayLeave=(g,b,w)=>{const v=r8(n,h);v[String(h.key)]=h,g._leaveCb=()=>{b(),g._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=w})}return i}}},Vm=Om;function r8(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function mi(e,t,r,n){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:f,onLeaveCancelled:C,onBeforeAppear:_,onAppear:g,onAfterAppear:b,onAppearCancelled:w}=t,v=String(e.key),k=r8(r,e),T=(z,D)=>{z&&Y1(z,n,9,D)},$=(z,D)=>{const S=D[1];T(z,D),Ve(z)?z.every(R=>R.length<=1)&&S():z.length<=1&&S()},N={mode:a,persisted:i,beforeEnter(z){let D=s;if(!r.isMounted)if(o)D=_||s;else return;z._leaveCb&&z._leaveCb(!0);const S=k[v];S&&jn(e,S)&&S.el._leaveCb&&S.el._leaveCb(),T(D,[z])},enter(z){let D=l,S=c,R=u;if(!r.isMounted)if(o)D=g||l,S=b||c,R=w||u;else return;let V=!1;const U=z._enterCb=ie=>{V||(V=!0,ie?T(R,[z]):T(S,[z]),N.delayedLeave&&N.delayedLeave(),z._enterCb=void 0)};D?$(D,[z,U]):U()},leave(z,D){const S=String(e.key);if(z._enterCb&&z._enterCb(!0),r.isUnmounting)return D();T(d,[z]);let R=!1;const V=z._leaveCb=U=>{R||(R=!0,D(),U?T(C,[z]):T(f,[z]),z._leaveCb=void 0,k[S]===e&&delete k[S])};k[S]=e,h?$(h,[z,V]):V()},clone(z){return mi(z,t,r,n)}};return N}function w2(e){if(zl(e))return e=qr(e),e.children=null,e}function $5(e){return zl(e)?e.children?e.children[0]:void 0:e}function vi(e,t){e.shapeFlag&6&&e.component?vi(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function _7(e,t=!1,r){let n=[],o=0;for(let a=0;a1)for(let a=0;aNt({name:e.name},t,{setup:e}))():e}const Ya=e=>!!e.type.__asyncLoader,zl=e=>e.type.__isKeepAlive;function Pm(e,t){n8(e,"a",t)}function Nm(e,t){n8(e,"da",t)}function n8(e,t,r=qt){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Fl(t,n,r),r){let o=r.parent;for(;o&&o.parent;)zl(o.parent.vnode)&&$m(n,t,r,o),o=o.parent}}function $m(e,t,r,n){const o=Fl(t,e,n,!0);ur(()=>{u7(n[t],o)},r)}function Fl(e,t,r=qt,n=!1){if(r){const o=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(r.isUnmounted)return;la(),qo(r);const s=Y1(t,r,e,i);return to(),ca(),s});return n?o.unshift(a):o.push(a),a}}const Qr=e=>(t,r=qt)=>(!Ci||e==="sp")&&Fl(e,(...n)=>t(...n),r),Zm=Qr("bm"),Ct=Qr("m"),Rm=Qr("bu"),o8=Qr("u"),cr=Qr("bum"),ur=Qr("um"),zm=Qr("sp"),Fm=Qr("rtg"),Um=Qr("rtc");function jm(e,t=qt){Fl("ec",e,t)}const k7="components";function Qt(e,t){return i8(k7,e,!0,t)||e}const a8=Symbol.for("v-ndc");function vt(e){return $t(e)?i8(k7,e,!1)||e:e||a8}function i8(e,t,r=!0,n=!1){const o=n1||qt;if(o){const a=o.type;if(e===k7){const s=Cv(a,!1);if(s&&(s===t||s===xr(t)||s===Vl(xr(t))))return a}const i=Z5(o[e]||a[e],t)||Z5(o.appContext[e],t);return!i&&n?a:i}}function Z5(e,t){return e&&(e[t]||e[xr(t)]||e[Vl(xr(t))])}function tt(e,t,r,n){let o;const a=r&&r[n];if(Ve(e)||$t(e)){o=new Array(e.length);for(let i=0,s=e.length;it(i,s,void 0,a&&a[s]));else{const i=Object.keys(e);o=new Array(i.length);for(let s=0,l=i.length;s{const a=n.fn(...o);return a&&(a.key=n.key),a}:n.fn)}return e}function F(e,t,r={},n,o){if(n1.isCE||n1.parent&&Ya(n1.parent)&&n1.parent.isCE)return t!=="default"&&(r.name=t),P("slot",r,n&&n());let a=e[t];a&&a._c&&(a._d=!1),m();const i=a&&s8(a(r)),s=G(we,{key:r.key||i&&i.key||`_${t}`},i||(n?n():[]),i&&e._===1?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function s8(e){return e.some(t=>Fs(t)?!(t.type===I1||t.type===we&&!s8(t.children)):!0)?e:null}function L0(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:vs(n)]=e[n];return r}const B0=e=>e?y8(e)?Yl(e)||e.proxy:B0(e.parent):null,Ga=Nt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>B0(e.parent),$root:e=>B0(e.root),$emit:e=>e.emit,$options:e=>M7(e),$forceUpdate:e=>e.f||(e.f=()=>w7(e.update)),$nextTick:e=>e.n||(e.n=v1.bind(e.proxy)),$watch:e=>Im.bind(e)}),_2=(e,t)=>e!==kt&&!e.__isScriptSetup&&ot(e,t),Ym={get({_:e},t){const{ctx:r,setupState:n,data:o,props:a,accessCache:i,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const f=i[t];if(f!==void 0)switch(f){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return a[t]}else{if(_2(n,t))return i[t]=1,n[t];if(o!==kt&&ot(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&ot(c,t))return i[t]=3,a[t];if(r!==kt&&ot(r,t))return i[t]=4,r[t];D0&&(i[t]=0)}}const u=Ga[t];let d,h;if(u)return t==="$attrs"&&S1(e,"get",t),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(r!==kt&&ot(r,t))return i[t]=4,r[t];if(h=l.config.globalProperties,ot(h,t))return h[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:a}=e;return _2(o,t)?(o[t]=r,!0):n!==kt&&ot(n,t)?(n[t]=r,!0):ot(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,propsOptions:a}},i){let s;return!!r[i]||e!==kt&&ot(e,i)||_2(t,i)||(s=a[0])&&ot(s,i)||ot(n,i)||ot(Ga,i)||ot(o.config.globalProperties,i)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:ot(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function It(){return l8().slots}function dr(){return l8().attrs}function l8(){const e=Bi();return e.setupContext||(e.setupContext=w8(e))}function R5(e){return Ve(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let D0=!0;function Gm(e){const t=M7(e),r=e.proxy,n=e.ctx;D0=!1,t.beforeCreate&&z5(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:i,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:f,updated:C,activated:_,deactivated:g,beforeDestroy:b,beforeUnmount:w,destroyed:v,unmounted:k,render:T,renderTracked:$,renderTriggered:N,errorCaptured:z,serverPrefetch:D,expose:S,inheritAttrs:R,components:V,directives:U,filters:ie}=t;if(c&&Km(c,n,null),i)for(const ne in i){const ye=i[ne];Xe(ye)&&(n[ne]=ye.bind(r))}if(o){const ne=o.call(r,r);Mt(ne)&&(e.data=Bn(ne))}if(D0=!0,a)for(const ne in a){const ye=a[ne],Ge=Xe(ye)?ye.bind(r,r):Xe(ye.get)?ye.get.bind(r,r):or,Ne=!Xe(ye)&&Xe(ye.set)?ye.set.bind(r):or,qe=A({get:Ge,set:Ne});Object.defineProperty(n,ne,{enumerable:!0,configurable:!0,get:()=>qe.value,set:ze=>qe.value=ze})}if(s)for(const ne in s)c8(s[ne],n,r,ne);if(l){const ne=Xe(l)?l.call(r):l;Reflect.ownKeys(ne).forEach(ye=>{Vo(ye,ne[ye])})}u&&z5(u,e,"c");function ce(ne,ye){Ve(ye)?ye.forEach(Ge=>ne(Ge.bind(r))):ye&&ne(ye.bind(r))}if(ce(Zm,d),ce(Ct,h),ce(Rm,f),ce(o8,C),ce(Pm,_),ce(Nm,g),ce(jm,z),ce(Um,$),ce(Fm,N),ce(cr,w),ce(ur,k),ce(zm,D),Ve(S))if(S.length){const ne=e.exposed||(e.exposed={});S.forEach(ye=>{Object.defineProperty(ne,ye,{get:()=>r[ye],set:Ge=>r[ye]=Ge})})}else e.exposed||(e.exposed={});T&&e.render===or&&(e.render=T),R!=null&&(e.inheritAttrs=R),V&&(e.components=V),U&&(e.directives=U)}function Km(e,t,r=or){Ve(e)&&(e=H0(e));for(const n in e){const o=e[n];let a;Mt(o)?"default"in o?a=x1(o.from||n,o.default,!0):a=x1(o.from||n):a=x1(o),r1(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:i=>a.value=i}):t[n]=a}}function z5(e,t,r){Y1(Ve(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function c8(e,t,r,n){const o=n.includes(".")?Ju(r,n):()=>r[n];if($t(e)){const a=t[e];Xe(a)&&De(o,a)}else if(Xe(e))De(o,e.bind(r));else if(Mt(e))if(Ve(e))e.forEach(a=>c8(a,t,r,n));else{const a=Xe(e.handler)?e.handler.bind(r):t[e.handler];Xe(a)&&De(o,a,e)}}function M7(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,s=a.get(t);let l;return s?l=s:!o.length&&!r&&!n?l=t:(l={},o.length&&o.forEach(c=>Rs(l,c,i,!0)),Rs(l,t,i)),Mt(t)&&a.set(t,l),l}function Rs(e,t,r,n=!1){const{mixins:o,extends:a}=t;a&&Rs(e,a,r,!0),o&&o.forEach(i=>Rs(e,i,r,!0));for(const i in t)if(!(n&&i==="expose")){const s=qm[i]||r&&r[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const qm={data:F5,props:U5,emits:U5,methods:Na,computed:Na,beforeCreate:l1,created:l1,beforeMount:l1,mounted:l1,beforeUpdate:l1,updated:l1,beforeDestroy:l1,beforeUnmount:l1,destroyed:l1,unmounted:l1,activated:l1,deactivated:l1,errorCaptured:l1,serverPrefetch:l1,components:Na,directives:Na,watch:Qm,provide:F5,inject:Wm};function F5(e,t){return t?e?function(){return Nt(Xe(e)?e.call(this,this):e,Xe(t)?t.call(this,this):t)}:t:e}function Wm(e,t){return Na(H0(e),H0(t))}function H0(e){if(Ve(e)){const t={};for(let r=0;r1)return r&&Xe(t)?t.call(n&&n.proxy):t}}function ev(e,t,r,n=!1){const o={},a={};Vs(a,jl,1),e.propsDefaults=Object.create(null),d8(e,t,o,a);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);r?e.props=n?o:$u(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function tv(e,t,r,n){const{props:o,attrs:a,vnode:{patchFlag:i}}=e,s=it(o),[l]=e.propsOptions;let c=!1;if((n||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,f]=h8(d,t,!0);Nt(i,h),f&&s.push(...f)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return Mt(e)&&n.set(e,Ho),Ho;if(Ve(a))for(let u=0;u-1,f[1]=_<0||C<_,(C>-1||ot(f,"default"))&&s.push(d)}}}const c=[i,s];return Mt(e)&&n.set(e,c),c}function j5(e){return e[0]!=="$"}function Y5(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function G5(e,t){return Y5(e)===Y5(t)}function K5(e,t){return Ve(t)?t.findIndex(r=>G5(r,e)):Xe(t)&&G5(t,e)?0:-1}const f8=e=>e[0]==="_"||e==="$stable",x7=e=>Ve(e)?e.map(br):[br(e)],rv=(e,t,r)=>{if(t._n)return t;const n=E((...o)=>x7(t(...o)),r);return n._c=!1,n},p8=(e,t,r)=>{const n=e._ctx;for(const o in e){if(f8(o))continue;const a=e[o];if(Xe(a))t[o]=rv(o,a,n);else if(a!=null){const i=x7(a);t[o]=()=>i}}},m8=(e,t)=>{const r=x7(t);e.slots.default=()=>r},nv=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=it(t),Vs(t,"_",r)):p8(t,e.slots={})}else e.slots={},t&&m8(e,t);Vs(e.slots,jl,1)},ov=(e,t,r)=>{const{vnode:n,slots:o}=e;let a=!0,i=kt;if(n.shapeFlag&32){const s=t._;s?r&&s===1?a=!1:(Nt(o,t),!r&&s===1&&delete o._):(a=!t.$stable,p8(t,o)),i=t}else t&&(m8(e,t),i={default:1});if(a)for(const s in o)!f8(s)&&!(s in i)&&delete o[s]};function I0(e,t,r,n,o=!1){if(Ve(e)){e.forEach((h,f)=>I0(h,t&&(Ve(t)?t[f]:t),r,n,o));return}if(Ya(n)&&!o)return;const a=n.shapeFlag&4?Yl(n.component)||n.component.proxy:n.el,i=o?null:a,{i:s,r:l}=e,c=t&&t.r,u=s.refs===kt?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&($t(c)?(u[c]=null,ot(d,c)&&(d[c]=null)):r1(c)&&(c.value=null)),Xe(l))_n(l,s,12,[i,u]);else{const h=$t(l),f=r1(l);if(h||f){const C=()=>{if(e.f){const _=h?ot(d,l)?d[l]:u[l]:l.value;o?Ve(_)&&u7(_,a):Ve(_)?_.includes(a)||_.push(a):h?(u[l]=[a],ot(d,l)&&(d[l]=u[l])):(l.value=[a],e.k&&(u[e.k]=l.value))}else h?(u[l]=i,ot(d,l)&&(d[l]=i)):f&&(l.value=i,e.k&&(u[e.k]=i))};i?(C.id=-1,_1(C,r)):C()}}}const _1=Hm;function av(e){return iv(e)}function iv(e,t){const r=M0();r.__VUE__=!0;const{insert:n,remove:o,patchProp:a,createElement:i,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:f=or,insertStaticContent:C}=e,_=(x,B,O,Q=null,W=null,ee=null,fe=!1,ue=null,de=!!B.dynamicChildren)=>{if(x===B)return;x&&!jn(x,B)&&(Q=K(x),ze(x,W,ee,!0),x=null),B.patchFlag===-2&&(de=!1,B.dynamicChildren=null);const{type:le,ref:Ae,shapeFlag:be}=B;switch(le){case Ul:g(x,B,O,Q);break;case I1:b(x,B,O,Q);break;case Ka:x==null&&w(B,O,Q,fe);break;case we:V(x,B,O,Q,W,ee,fe,ue,de);break;default:be&1?T(x,B,O,Q,W,ee,fe,ue,de):be&6?U(x,B,O,Q,W,ee,fe,ue,de):(be&64||be&128)&&le.process(x,B,O,Q,W,ee,fe,ue,de,Z)}Ae!=null&&W&&I0(Ae,x&&x.ref,ee,B||x,!B)},g=(x,B,O,Q)=>{if(x==null)n(B.el=s(B.children),O,Q);else{const W=B.el=x.el;B.children!==x.children&&c(W,B.children)}},b=(x,B,O,Q)=>{x==null?n(B.el=l(B.children||""),O,Q):B.el=x.el},w=(x,B,O,Q)=>{[x.el,x.anchor]=C(x.children,B,O,Q,x.el,x.anchor)},v=({el:x,anchor:B},O,Q)=>{let W;for(;x&&x!==B;)W=h(x),n(x,O,Q),x=W;n(B,O,Q)},k=({el:x,anchor:B})=>{let O;for(;x&&x!==B;)O=h(x),o(x),x=O;o(B)},T=(x,B,O,Q,W,ee,fe,ue,de)=>{fe=fe||B.type==="svg",x==null?$(B,O,Q,W,ee,fe,ue,de):D(x,B,W,ee,fe,ue,de)},$=(x,B,O,Q,W,ee,fe,ue)=>{let de,le;const{type:Ae,props:be,shapeFlag:ke,transition:Ie,dirs:re}=x;if(de=x.el=i(x.type,ee,be&&be.is,be),ke&8?u(de,x.children):ke&16&&z(x.children,de,null,Q,W,ee&&Ae!=="foreignObject",fe,ue),re&&Tn(x,null,Q,"created"),N(de,x,x.scopeId,fe,Q),be){for(const me in be)me!=="value"&&!ms(me)&&a(de,me,null,be[me],ee,x.children,Q,W,Ke);"value"in be&&a(de,"value",null,be.value),(le=be.onVnodeBeforeMount)&&fr(le,Q,x)}re&&Tn(x,null,Q,"beforeMount");const Le=(!W||W&&!W.pendingBranch)&&Ie&&!Ie.persisted;Le&&Ie.beforeEnter(de),n(de,B,O),((le=be&&be.onVnodeMounted)||Le||re)&&_1(()=>{le&&fr(le,Q,x),Le&&Ie.enter(de),re&&Tn(x,null,Q,"mounted")},W)},N=(x,B,O,Q,W)=>{if(O&&f(x,O),Q)for(let ee=0;ee{for(let le=de;le{const ue=B.el=x.el;let{patchFlag:de,dynamicChildren:le,dirs:Ae}=B;de|=x.patchFlag&16;const be=x.props||kt,ke=B.props||kt;let Ie;O&&In(O,!1),(Ie=ke.onVnodeBeforeUpdate)&&fr(Ie,O,B,x),Ae&&Tn(B,x,O,"beforeUpdate"),O&&In(O,!0);const re=W&&B.type!=="foreignObject";if(le?S(x.dynamicChildren,le,ue,O,Q,re,ee):fe||ye(x,B,ue,null,O,Q,re,ee,!1),de>0){if(de&16)R(ue,B,be,ke,O,Q,W);else if(de&2&&be.class!==ke.class&&a(ue,"class",null,ke.class,W),de&4&&a(ue,"style",be.style,ke.style,W),de&8){const Le=B.dynamicProps;for(let me=0;me{Ie&&fr(Ie,O,B,x),Ae&&Tn(B,x,O,"updated")},Q)},S=(x,B,O,Q,W,ee,fe)=>{for(let ue=0;ue{if(O!==Q){if(O!==kt)for(const ue in O)!ms(ue)&&!(ue in Q)&&a(x,ue,O[ue],null,fe,B.children,W,ee,Ke);for(const ue in Q){if(ms(ue))continue;const de=Q[ue],le=O[ue];de!==le&&ue!=="value"&&a(x,ue,le,de,fe,B.children,W,ee,Ke)}"value"in Q&&a(x,"value",O.value,Q.value)}},V=(x,B,O,Q,W,ee,fe,ue,de)=>{const le=B.el=x?x.el:s(""),Ae=B.anchor=x?x.anchor:s("");let{patchFlag:be,dynamicChildren:ke,slotScopeIds:Ie}=B;Ie&&(ue=ue?ue.concat(Ie):Ie),x==null?(n(le,O,Q),n(Ae,O,Q),z(B.children,O,Ae,W,ee,fe,ue,de)):be>0&&be&64&&ke&&x.dynamicChildren?(S(x.dynamicChildren,ke,O,W,ee,fe,ue),(B.key!=null||W&&B===W.subTree)&&v8(x,B,!0)):ye(x,B,O,Ae,W,ee,fe,ue,de)},U=(x,B,O,Q,W,ee,fe,ue,de)=>{B.slotScopeIds=ue,x==null?B.shapeFlag&512?W.ctx.activate(B,O,Q,fe,de):ie(B,O,Q,W,ee,fe,de):se(x,B,de)},ie=(x,B,O,Q,W,ee,fe)=>{const ue=x.component=pv(x,Q,W);if(zl(x)&&(ue.ctx.renderer=Z),mv(ue),ue.asyncDep){if(W&&W.registerDep(ue,ce),!x.el){const de=ue.subTree=P(I1);b(null,de,B,O)}return}ce(ue,x,B,O,W,ee,fe)},se=(x,B,O)=>{const Q=B.component=x.component;if(Lm(x,B,O))if(Q.asyncDep&&!Q.asyncResolved){ne(Q,B,O);return}else Q.next=B,km(Q.update),Q.update();else B.el=x.el,Q.vnode=B},ce=(x,B,O,Q,W,ee,fe)=>{const ue=()=>{if(x.isMounted){let{next:Ae,bu:be,u:ke,parent:Ie,vnode:re}=x,Le=Ae,me;In(x,!1),Ae?(Ae.el=re.el,ne(x,Ae,fe)):Ae=re,be&&gs(be),(me=Ae.props&&Ae.props.onVnodeBeforeUpdate)&&fr(me,Ie,Ae,re),In(x,!0);const Pe=b2(x),ht=x.subTree;x.subTree=Pe,_(ht,Pe,d(ht.el),K(ht),x,W,ee),Ae.el=Pe.el,Le===null&&Bm(x,Pe.el),ke&&_1(ke,W),(me=Ae.props&&Ae.props.onVnodeUpdated)&&_1(()=>fr(me,Ie,Ae,re),W)}else{let Ae;const{el:be,props:ke}=B,{bm:Ie,m:re,parent:Le}=x,me=Ya(B);if(In(x,!1),Ie&&gs(Ie),!me&&(Ae=ke&&ke.onVnodeBeforeMount)&&fr(Ae,Le,B),In(x,!0),be&&ae){const Pe=()=>{x.subTree=b2(x),ae(be,x.subTree,x,W,null)};me?B.type.__asyncLoader().then(()=>!x.isUnmounted&&Pe()):Pe()}else{const Pe=x.subTree=b2(x);_(null,Pe,O,Q,x,W,ee),B.el=Pe.el}if(re&&_1(re,W),!me&&(Ae=ke&&ke.onVnodeMounted)){const Pe=B;_1(()=>fr(Ae,Le,Pe),W)}(B.shapeFlag&256||Le&&Ya(Le.vnode)&&Le.vnode.shapeFlag&256)&&x.a&&_1(x.a,W),x.isMounted=!0,B=O=Q=null}},de=x.effect=new p7(ue,()=>w7(le),x.scope),le=x.update=()=>de.run();le.id=x.uid,In(x,!0),le()},ne=(x,B,O)=>{B.component=x;const Q=x.vnode.props;x.vnode=B,x.next=null,tv(x,B.props,Q,O),ov(x,B.children,O),la(),P5(),ca()},ye=(x,B,O,Q,W,ee,fe,ue,de=!1)=>{const le=x&&x.children,Ae=x?x.shapeFlag:0,be=B.children,{patchFlag:ke,shapeFlag:Ie}=B;if(ke>0){if(ke&128){Ne(le,be,O,Q,W,ee,fe,ue,de);return}else if(ke&256){Ge(le,be,O,Q,W,ee,fe,ue,de);return}}Ie&8?(Ae&16&&Ke(le,W,ee),be!==le&&u(O,be)):Ae&16?Ie&16?Ne(le,be,O,Q,W,ee,fe,ue,de):Ke(le,W,ee,!0):(Ae&8&&u(O,""),Ie&16&&z(be,O,Q,W,ee,fe,ue,de))},Ge=(x,B,O,Q,W,ee,fe,ue,de)=>{x=x||Ho,B=B||Ho;const le=x.length,Ae=B.length,be=Math.min(le,Ae);let ke;for(ke=0;keAe?Ke(x,W,ee,!0,!1,be):z(B,O,Q,W,ee,fe,ue,de,be)},Ne=(x,B,O,Q,W,ee,fe,ue,de)=>{let le=0;const Ae=B.length;let be=x.length-1,ke=Ae-1;for(;le<=be&&le<=ke;){const Ie=x[le],re=B[le]=de?pn(B[le]):br(B[le]);if(jn(Ie,re))_(Ie,re,O,null,W,ee,fe,ue,de);else break;le++}for(;le<=be&&le<=ke;){const Ie=x[be],re=B[ke]=de?pn(B[ke]):br(B[ke]);if(jn(Ie,re))_(Ie,re,O,null,W,ee,fe,ue,de);else break;be--,ke--}if(le>be){if(le<=ke){const Ie=ke+1,re=Ieke)for(;le<=be;)ze(x[le],W,ee,!0),le++;else{const Ie=le,re=le,Le=new Map;for(le=re;le<=ke;le++){const Ce=B[le]=de?pn(B[le]):br(B[le]);Ce.key!=null&&Le.set(Ce.key,le)}let me,Pe=0;const ht=ke-re+1;let te=!1,ve=0;const Me=new Array(ht);for(le=0;le=ht){ze(Ce,W,ee,!0);continue}let Ye;if(Ce.key!=null)Ye=Le.get(Ce.key);else for(me=re;me<=ke;me++)if(Me[me-re]===0&&jn(Ce,B[me])){Ye=me;break}Ye===void 0?ze(Ce,W,ee,!0):(Me[Ye-re]=le+1,Ye>=ve?ve=Ye:te=!0,_(Ce,B[Ye],O,null,W,ee,fe,ue,de),Pe++)}const je=te?sv(Me):Ho;for(me=je.length-1,le=ht-1;le>=0;le--){const Ce=re+le,Ye=B[Ce],Ot=Ce+1{const{el:ee,type:fe,transition:ue,children:de,shapeFlag:le}=x;if(le&6){qe(x.component.subTree,B,O,Q);return}if(le&128){x.suspense.move(B,O,Q);return}if(le&64){fe.move(x,B,O,Z);return}if(fe===we){n(ee,B,O);for(let be=0;beue.enter(ee),W);else{const{leave:be,delayLeave:ke,afterLeave:Ie}=ue,re=()=>n(ee,B,O),Le=()=>{be(ee,()=>{re(),Ie&&Ie()})};ke?ke(ee,re,Le):Le()}else n(ee,B,O)},ze=(x,B,O,Q=!1,W=!1)=>{const{type:ee,props:fe,ref:ue,children:de,dynamicChildren:le,shapeFlag:Ae,patchFlag:be,dirs:ke}=x;if(ue!=null&&I0(ue,null,O,x,!0),Ae&256){B.ctx.deactivate(x);return}const Ie=Ae&1&&ke,re=!Ya(x);let Le;if(re&&(Le=fe&&fe.onVnodeBeforeUnmount)&&fr(Le,B,x),Ae&6)He(x.component,O,Q);else{if(Ae&128){x.suspense.unmount(O,Q);return}Ie&&Tn(x,null,B,"beforeUnmount"),Ae&64?x.type.remove(x,B,O,W,Z,Q):le&&(ee!==we||be>0&&be&64)?Ke(le,B,O,!1,!0):(ee===we&&be&384||!W&&Ae&16)&&Ke(de,B,O),Q&&he(x)}(re&&(Le=fe&&fe.onVnodeUnmounted)||Ie)&&_1(()=>{Le&&fr(Le,B,x),Ie&&Tn(x,null,B,"unmounted")},O)},he=x=>{const{type:B,el:O,anchor:Q,transition:W}=x;if(B===we){$e(O,Q);return}if(B===Ka){k(x);return}const ee=()=>{o(O),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(x.shapeFlag&1&&W&&!W.persisted){const{leave:fe,delayLeave:ue}=W,de=()=>fe(O,ee);ue?ue(x.el,ee,de):de()}else ee()},$e=(x,B)=>{let O;for(;x!==B;)O=h(x),o(x),x=O;o(B)},He=(x,B,O)=>{const{bum:Q,scope:W,update:ee,subTree:fe,um:ue}=x;Q&&gs(Q),W.stop(),ee&&(ee.active=!1,ze(fe,x,B,O)),ue&&_1(ue,B),_1(()=>{x.isUnmounted=!0},B),B&&B.pendingBranch&&!B.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===B.pendingId&&(B.deps--,B.deps===0&&B.resolve())},Ke=(x,B,O,Q=!1,W=!1,ee=0)=>{for(let fe=ee;fex.shapeFlag&6?K(x.component.subTree):x.shapeFlag&128?x.suspense.next():h(x.anchor||x.el),j=(x,B,O)=>{x==null?B._vnode&&ze(B._vnode,null,null,!0):_(B._vnode||null,x,B,null,null,null,O),P5(),qu(),B._vnode=x},Z={p:_,um:ze,m:qe,r:he,mt:ie,mc:z,pc:ye,pbc:S,n:K,o:e};let q,ae;return t&&([q,ae]=t(Z)),{render:j,hydrate:q,createApp:Jm(j,q)}}function In({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function v8(e,t,r=!1){const n=e.children,o=t.children;if(Ve(n)&&Ve(o))for(let a=0;a>1,e[r[s]]0&&(t[n]=r[a-1]),r[a]=n)}}for(a=r.length,i=r[a-1];a-- >0;)r[a]=i,i=t[i];return r}const lv=e=>e.__isTeleport,we=Symbol.for("v-fgt"),Ul=Symbol.for("v-txt"),I1=Symbol.for("v-cmt"),Ka=Symbol.for("v-stc"),qa=[];let nr=null;function m(e=!1){qa.push(nr=e?null:[])}function cv(){qa.pop(),nr=qa[qa.length-1]||null}let gi=1;function q5(e){gi+=e}function g8(e){return e.dynamicChildren=gi>0?nr||Ho:null,cv(),gi>0&&nr&&nr.push(e),e}function M(e,t,r,n,o,a){return g8(p(e,t,r,n,o,a,!0))}function G(e,t,r,n,o){return g8(P(e,t,r,n,o,!0))}function Fs(e){return e?e.__v_isVNode===!0:!1}function jn(e,t){return e.type===t.type&&e.key===t.key}const jl="__vInternal",C8=({key:e})=>e??null,Cs=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?$t(e)||r1(e)||Xe(e)?{i:n1,r:e,k:t,f:!!r}:e:null);function p(e,t=null,r=null,n=0,o=null,a=e===we?0:1,i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&C8(t),ref:t&&Cs(t),scopeId:Zl,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:n1};return s?(S7(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=$t(r)?8:16),gi>0&&!i&&nr&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&nr.push(l),l}const P=uv;function uv(e,t=null,r=null,n=0,o=null,a=!1){if((!e||e===a8)&&(e=I1),Fs(e)){const s=qr(e,t,!0);return r&&S7(s,r),gi>0&&!a&&nr&&(s.shapeFlag&6?nr[nr.indexOf(e)]=s:nr.push(s)),s.patchFlag|=-2,s}if(yv(e)&&(e=e.__vccOpts),t){t=dv(t);let{class:s,style:l}=t;s&&!$t(s)&&(t.class=J(s)),Mt(l)&&(Ru(l)&&!Ve(l)&&(l=Nt({},l)),t.style=Ue(l))}const i=$t(e)?1:Dm(e)?128:lv(e)?64:Mt(e)?4:Xe(e)?2:0;return p(e,t,r,n,o,i,a,!0)}function dv(e){return e?Ru(e)||jl in e?Nt({},e):e:null}function qr(e,t,r=!1){const{props:n,ref:o,patchFlag:a,children:i}=e,s=t?Qe(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&C8(s),ref:t&&t.ref?r&&o?Ve(o)?o.concat(Cs(t)):[o,Cs(t)]:Cs(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qr(e.ssContent),ssFallback:e.ssFallback&&qr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function y(e=" ",t=0){return P(Ul,null,e,t)}function Li(e,t){const r=P(Ka,null,e);return r.staticCount=t,r}function I(e="",t=!1){return t?(m(),G(I1,null,e)):P(I1,null,e)}function br(e){return e==null||typeof e=="boolean"?P(I1):Ve(e)?P(we,null,e.slice()):typeof e=="object"?pn(e):P(Ul,null,String(e))}function pn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qr(e)}function S7(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Ve(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),S7(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(jl in t)?t._ctx=n1:o===3&&n1&&(n1.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Xe(t)?(t={default:t,_ctx:n1},r=32):(t=String(t),n&64?(r=16,t=[y(t)]):r=8);e.children=t,e.shapeFlag|=r}function Qe(...e){const t={};for(let r=0;rqt||n1;let E7,Co,W5="__VUE_INSTANCE_SETTERS__";(Co=M0()[W5])||(Co=M0()[W5]=[]),Co.push(e=>qt=e),E7=e=>{Co.length>1?Co.forEach(t=>t(e)):Co[0](e)};const qo=e=>{E7(e),e.scope.on()},to=()=>{qt&&qt.scope.off(),E7(null)};function y8(e){return e.vnode.shapeFlag&4}let Ci=!1;function mv(e,t=!1){Ci=t;const{props:r,children:n}=e.vnode,o=y8(e);ev(e,r,o,t),nv(e,n);const a=o?vv(e,t):void 0;return Ci=!1,a}function vv(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=zu(new Proxy(e.ctx,Ym));const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?w8(e):null;qo(e),la();const a=_n(n,e,0,[e.props,o]);if(ca(),to(),ku(a)){if(a.then(to,to),t)return a.then(i=>{Q5(e,i,t)}).catch(i=>{Nl(i,e,0)});e.asyncDep=a}else Q5(e,a,t)}else b8(e,t)}function Q5(e,t,r){Xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Mt(t)&&(e.setupState=Yu(t)),b8(e,r)}let X5;function b8(e,t,r){const n=e.type;if(!e.render){if(!t&&X5&&!n.render){const o=n.template||M7(e).template;if(o){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:l}=n,c=Nt(Nt({isCustomElement:a,delimiters:s},i),l);n.render=X5(o,c)}}e.render=n.render||or}qo(e),la(),Gm(e),ca(),to()}function gv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return S1(e,"get","$attrs"),t[r]}}))}function w8(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return gv(e)},slots:e.slots,emit:e.emit,expose:t}}function Yl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Yu(zu(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Ga)return Ga[r](e)},has(t,r){return r in t||r in Ga}}))}function Cv(e,t=!0){return Xe(e)?e.displayName||e.name:e.name||t&&e.__name}function yv(e){return Xe(e)&&"__vccOpts"in e}const A=(e,t)=>bm(e,t,Ci);function Ee(e,t,r){const n=arguments.length;return n===2?Mt(t)&&!Ve(t)?Fs(t)?P(e,null,[t]):P(e,t):P(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Fs(r)&&(r=[r]),P(e,t,r))}const bv=Symbol.for("v-scx"),wv=()=>x1(bv),_v="3.3.4",kv="http://www.w3.org/2000/svg",Yn=typeof document<"u"?document:null,J5=Yn&&Yn.createElement("template"),Mv={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t?Yn.createElementNS(kv,e):Yn.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Yn.createTextNode(e),createComment:e=>Yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,a){const i=r?r.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===a||!(o=o.nextSibling)););else{J5.innerHTML=n?`${e}`:e;const s=J5.content;if(n){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[i?i.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function xv(e,t,r){const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function Sv(e,t,r){const n=e.style,o=$t(r);if(r&&!o){if(t&&!$t(t))for(const a in t)r[a]==null&&O0(n,a,"");for(const a in r)O0(n,a,r[a])}else{const a=n.display;o?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=a)}}const e3=/\s*!important$/;function O0(e,t,r){if(Ve(r))r.forEach(n=>O0(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=Ev(e,t);e3.test(r)?e.setProperty(Ln(n),r.replace(e3,""),"important"):e[n]=r}}const t3=["Webkit","Moz","ms"],k2={};function Ev(e,t){const r=k2[t];if(r)return r;let n=xr(t);if(n!=="filter"&&n in e)return k2[t]=n;n=Vl(n);for(let o=0;oM2||(Tv.then(()=>M2=0),M2=Date.now());function Ov(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Y1(Vv(n,r.value),t,5,[n])};return r.value=e,r.attached=Iv(),r}function Vv(e,t){if(Ve(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const o3=/^on[a-z]/,Pv=(e,t,r,n,o=!1,a,i,s,l)=>{t==="class"?xv(e,n,o):t==="style"?Sv(e,r,n):Tl(t)?c7(t)||Dv(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Nv(e,t,n,o))?Lv(e,t,n,a,i,s,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Av(e,t,n,o))};function Nv(e,t,r,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&o3.test(t)&&Xe(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||o3.test(t)&&$t(r)?!1:t in e}function ua(e){const t=Bi();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>P0(a,o))},n=()=>{const o=e(t.proxy);V0(t.subTree,o),r(o)};Tm(n),Ct(()=>{const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),ur(()=>o.disconnect())})}function V0(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{V0(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)P0(e.el,t);else if(e.type===we)e.children.forEach(r=>V0(r,t));else if(e.type===Ka){let{el:r,anchor:n}=e;for(;r&&(P0(r,t),r!==n);)r=r.nextSibling}}function P0(e,t){if(e.nodeType===1){const r=e.style;for(const n in t)r.setProperty(`--${n}`,t[n])}}const nn="transition",Sa="animation",ao=(e,{slots:t})=>Ee(Vm,k8(e),t);ao.displayName="Transition";const _8={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},$v=ao.props=Nt({},t8,_8),On=(e,t=[])=>{Ve(e)?e.forEach(r=>r(...t)):e&&e(...t)},a3=e=>e?Ve(e)?e.some(t=>t.length>1):e.length>1:!1;function k8(e){const t={};for(const V in e)V in _8||(t[V]=e[V]);if(e.css===!1)return t;const{name:r="v",type:n,duration:o,enterFromClass:a=`${r}-enter-from`,enterActiveClass:i=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=a,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=e,C=Zv(o),_=C&&C[0],g=C&&C[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:v,onLeave:k,onLeaveCancelled:T,onBeforeAppear:$=b,onAppear:N=w,onAppearCancelled:z=v}=t,D=(V,U,ie)=>{hn(V,U?u:s),hn(V,U?c:i),ie&&ie()},S=(V,U)=>{V._isLeaving=!1,hn(V,d),hn(V,f),hn(V,h),U&&U()},R=V=>(U,ie)=>{const se=V?N:w,ce=()=>D(U,V,ie);On(se,[U,ce]),i3(()=>{hn(U,V?l:a),Pr(U,V?u:s),a3(se)||s3(U,n,_,ce)})};return Nt(t,{onBeforeEnter(V){On(b,[V]),Pr(V,a),Pr(V,i)},onBeforeAppear(V){On($,[V]),Pr(V,l),Pr(V,c)},onEnter:R(!1),onAppear:R(!0),onLeave(V,U){V._isLeaving=!0;const ie=()=>S(V,U);Pr(V,d),x8(),Pr(V,h),i3(()=>{V._isLeaving&&(hn(V,d),Pr(V,f),a3(k)||s3(V,n,g,ie))}),On(k,[V,ie])},onEnterCancelled(V){D(V,!1),On(v,[V])},onAppearCancelled(V){D(V,!0),On(z,[V])},onLeaveCancelled(V){S(V),On(T,[V])}})}function Zv(e){if(e==null)return null;if(Mt(e))return[x2(e.enter),x2(e.leave)];{const t=x2(e);return[t,t]}}function x2(e){return Bp(e)}function Pr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e._vtc||(e._vtc=new Set)).add(t)}function hn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const{_vtc:r}=e;r&&(r.delete(t),r.size||(e._vtc=void 0))}function i3(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Rv=0;function s3(e,t,r,n){const o=e._endId=++Rv,a=()=>{o===e._endId&&n()};if(r)return setTimeout(a,r);const{type:i,timeout:s,propCount:l}=M8(e,t);if(!i)return n();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,h),a()},h=f=>{f.target===e&&++u>=l&&d()};setTimeout(()=>{u(r[C]||"").split(", "),o=n(`${nn}Delay`),a=n(`${nn}Duration`),i=l3(o,a),s=n(`${Sa}Delay`),l=n(`${Sa}Duration`),c=l3(s,l);let u=null,d=0,h=0;t===nn?i>0&&(u=nn,d=i,h=a.length):t===Sa?c>0&&(u=Sa,d=c,h=l.length):(d=Math.max(i,c),u=d>0?i>c?nn:Sa:null,h=u?u===nn?a.length:l.length:0);const f=u===nn&&/\b(transform|all)(,|$)/.test(n(`${nn}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:f}}function l3(e,t){for(;e.lengthc3(r)+c3(e[n])))}function c3(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function x8(){return document.body.offsetHeight}const S8=new WeakMap,E8=new WeakMap,A8={name:"TransitionGroup",props:Nt({},$v,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Bi(),n=e8();let o,a;return o8(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Gv(o[0].el,r.vnode.el,i))return;o.forEach(Uv),o.forEach(jv);const s=o.filter(Yv);x8(),s.forEach(l=>{const c=l.el,u=c.style;Pr(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const d=c._moveCb=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",d),c._moveCb=null,hn(c,i))};c.addEventListener("transitionend",d)})}),()=>{const i=it(e),s=k8(i);let l=i.tag||we;o=a,a=t.default?_7(t.default()):[];for(let c=0;cdelete e.mode;A8.props;const Fv=A8;function Uv(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function jv(e){E8.set(e,e.el.getBoundingClientRect())}function Yv(e){const t=S8.get(e),r=E8.get(e),n=t.left-r.left,o=t.top-r.top;if(n||o){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${n}px,${o}px)`,a.transitionDuration="0s",e}}function Gv(e,t,r){const n=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(s=>s&&n.classList.remove(s))}),r.split(/\s+/).forEach(i=>i&&n.classList.add(i)),n.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(n);const{hasTransform:a}=M8(n);return o.removeChild(n),a}const u3=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ve(t)?r=>gs(t,r):t};function Kv(e){e.target.composing=!0}function d3(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const qv={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e._assign=u3(o);const a=n||o.props&&o.props.type==="number";ko(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;r&&(s=s.trim()),a&&(s=k0(s)),e._assign(s)}),r&&ko(e,"change",()=>{e.value=e.value.trim()}),t||(ko(e,"compositionstart",Kv),ko(e,"compositionend",d3),ko(e,"change",d3))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:o}},a){if(e._assign=u3(a),e.composing||document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===t||(o||e.type==="number")&&k0(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},Wv=["ctrl","shift","alt","meta"],Qv={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Wv.some(r=>e[`${r}Key`]&&!t.includes(r))},Tt=(e,t)=>(r,...n)=>{for(let o=0;or=>{if(!("key"in r))return;const n=Ln(r.key);if(t.some(o=>o===n||Xv[o]===n))return e(r)},N0={beforeMount(e,{value:t},{transition:r}){e._vod=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Ea(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Ea(e,!0),n.enter(e)):n.leave(e,()=>{Ea(e,!1)}):Ea(e,t))},beforeUnmount(e,{value:t}){Ea(e,t)}};function Ea(e,t){e.style.display=t?e._vod:"none"}const Jv=Nt({patchProp:Pv},Mv);let h3;function eg(){return h3||(h3=av(Jv))}const L8=(...e)=>{const t=eg().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=tg(n);if(!o)return;const a=t._component;!Xe(a)&&!a.render&&!a.template&&(a.template=o.innerHTML),o.innerHTML="";const i=r(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function tg(e){return $t(e)?document.querySelector(e):e}/*! +var Ef=Object.defineProperty;var Af=(e,t,r)=>t in e?Ef(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var mt=(e,t,r)=>(Af(e,typeof t!="symbol"?t+"":t,r),r),C2=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var oe=(e,t,r)=>(C2(e,t,"read from private field"),r?r.call(e):t.get(e)),et=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Yt=(e,t,r,n)=>(C2(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var ge=(e,t,r)=>(C2(e,t,"access private method"),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();const Lf="modulepreload",Bf=function(e,t){return e[0]==="."?new URL(e,t).href:e},E5={},xe=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=Bf(a,n),a in E5)return;E5[a]=!0;const i=a.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(!!n)for(let u=o.length-1;u>=0;u--){const d=o[u];if(d.href===a&&(!i||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":Lf,i||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),i)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})};const Df=e=>({"/control-plane/addresses":async(t,r)=>(r.close(),{http:e("KUMA_API_URL"),kds:"grpcs://:5685"})});var y2=new WeakMap,gu=new Map,Hf=new Map,no;(function(e){e[e.Constant=0]="Constant",e[e.Instance=1]="Instance",e[e.Factory=2]="Factory"})(no||(no={}));var Gr;(function(e){e[e.Container=0]="Container",e[e.Resolution=1]="Resolution",e[e.Singleton=2]="Singleton",e[e.Transient=3]="Transient"})(Gr||(Gr={}));var Tf=class{constructor(e){this.impl=e,this.type=no.Constant}},If=class{constructor(e){this.impl=e,this.type=no.Factory}},Of=e=>e.type===no.Factory,Bl=class{constructor(e){this.impl=e,this.type=no.Instance}},Vf=class extends Bl{constructor(){super(...arguments),this.scope=Gr.Container,this.cache=new WeakMap}},Pf=class extends Bl{constructor(){super(...arguments),this.scope=Gr.Resolution}},Nf=class extends Bl{constructor(e){super(e),this.impl=e,this.scope=Gr.Singleton}},$f=class extends Bl{constructor(){super(...arguments),this.scope=Gr.Transient}},Zf=e=>e.type===no.Instance,Rf=e=>e.scope===Gr.Container,zf=e=>e.scope===Gr.Resolution,Ff=e=>e.scope===Gr.Singleton,Uf=e=>Symbol(e),Be=e=>{const t=Symbol(e);return{__t:null,__d:e,__s:t,__o:!1,optional:{__t:null,__d:e,__s:t,__o:!0}}},Va=class{constructor(){this.parent=null,this.map=new Map}set(e,t,r=Va.notag){const n=this.map.get(t.__s);n?n.set(r,e):this.map.set(t.__s,new Map().set(r,e))}find(e,t,r){const n=this.map.get(e.__s);if(n!==void 0){if(r){const o=n.get(r);if(o)return o}if(t)for(let o=0,a=t.length;o{t.map.set(n,e(r))}),t}clone(){return this.from(e=>new Map(e))}},Cu=Va;Cu.notag=Uf("NO_TAG");var jf=class{constructor(e,t,r,n){this.vault=e,this.tokens=t,this.getVault=r,this.condition=n}from(e){const{tokens:t}=this;for(let r=0,n=t.length;rthis.resolveToken(o,r,n,t.split()))}resolveToken(e,t,r,n=new yu){const o=this.vault.get(e,n,t,r);if(o)return this.resolveBinding(o,n);if(!e.__o)throw new Error(`No matching bindings found for '${e.__d}' token.`)}resolveBinding(e,t){return Zf(e)?Ff(e)?this.resolveCache(e,t,()=>e.cache,r=>{e.cache=r}):Rf(e)?this.resolveCache(e,t,()=>e.cache.get(this.vault),r=>{e.cache.set(this.vault,r)}):zf(e)?this.resolveCache(e,t,()=>t.instances.get(e),r=>{t.instances.set(e,r)}):this.createInstance(e.impl,t):Of(e)?(...r)=>{const n=this.createInstance(e.impl.creator,t);return n instanceof Promise?n.then(o=>ps.resolveInitialization(o,r,e.impl.initializer)):ps.resolveInitialization(n,r,e.impl.initializer)}:e.impl}resolveCache(e,t,r,n){const o=r();if(o!==void 0)return o;const a=this.createInstance(e.impl,t);return n(a),a}createInstance(e,t){const r=this.getParameters(e,t),n=y2.get(e);if(n!==void 0)return n?e(...r):new e(...r);try{const o=e(...r);return y2.set(e,!0),o}catch{const a=new e(...r);return y2.set(e,!1),a}}getParameters(e,t){const r=gu.get(e);if(r)return this.resolveTokens(r,t,Hf.get(e),e);if(e.length===0)return[];throw new Error(`Missing required 'injected' registration of '${e.name}'`)}static resolveInitialization(e,t,r){const n=r==null?void 0:r(e,...t);return n instanceof Promise?n.then(()=>e):e}},Wf=()=>new ps,Qf=(e,...t)=>(gu.set(e,t),e),gse=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jf=function(t){return ep(t)&&!tp(t)};function ep(e){return!!e&&typeof e=="object"}function tp(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||op(e)}var rp=typeof Symbol=="function"&&Symbol.for,np=rp?Symbol.for("react.element"):60103;function op(e){return e.$$typeof===np}function ap(e){return Array.isArray(e)?[]:{}}function ui(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ko(ap(e),e,t):e}function ip(e,t,r){return e.concat(t).map(function(n){return ui(n,r)})}function sp(e,t){if(!t.customMerge)return Ko;var r=t.customMerge(e);return typeof r=="function"?r:Ko}function lp(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function A5(e){return Object.keys(e).concat(lp(e))}function bu(e,t){try{return t in e}catch{return!1}}function cp(e,t){return bu(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function up(e,t,r){var n={};return r.isMergeableObject(e)&&A5(e).forEach(function(o){n[o]=ui(e[o],r)}),A5(t).forEach(function(o){cp(e,o)||(bu(e,o)&&r.isMergeableObject(t[o])?n[o]=sp(o,r)(e[o],t[o],r):n[o]=ui(t[o],r))}),n}function Ko(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||ip,r.isMergeableObject=r.isMergeableObject||Jf,r.cloneUnlessOtherwiseSpecified=ui;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):up(e,t,r):ui(t,r)}Ko.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Ko(n,o,r)},{})};var dp=Ko,hp=dp;const fp=Xf(hp),s7=Wf(),pp=(...e)=>[...new Map([...e.flat()]).entries()],mp=e=>{const t=new Map(e);return e.forEach(([r,n])=>{if(typeof n.decorates<"u"){const o=n.decorates,a=t.get(o);if(typeof a<"u"){const{labels:i,...s}=a,l=Be("inner"),c=Be("inner.wrapper");t.set(l,{...s}),t.set(c,{service:()=>()=>Dl(l)}),t.set(o,{...n,arguments:[c],labels:i})}n.decorates=void 0}}),[...t.entries()]},Dl=e=>s7.get(e),vp=(...e)=>(mp(pp(...e)).forEach(r=>wu(...r)),Dl),Hl=(...e)=>e.map(t=>()=>Dl(t)),ji=new WeakMap,wu=(e,t)=>{const r=s7.bind(e);switch(!0){case"constant"in t:r.toConstant(t.constant);break;case"service"in t:{const n=r.toInstance(t.service);(typeof t.shared>"u"||t.shared===!0)&&n.inSingletonScope();break}}typeof t.labels<"u"&&t.labels.forEach(n=>{ji.has(n)||(ji.set(n,[]),wu(n,{service:()=>ji.get(n).reduce((a,i)=>{try{const s=Dl(i);return Array.isArray(s)?a.concat(s):s instanceof Object?fp(a,s):a}catch(s){throw console.error(s),s}},[])})),ji.get(n).push(e)}),typeof t.arguments<"u"&&typeof t.service<"u"&&(t.arguments.forEach((n,o)=>{if(typeof n>"u")throw new Error(`Unable to find token for argument[${o}]`)}),Qf(t.service,...t.arguments))},y1=(e,t)=>{const r=Be(t.description);return s7.bind(r).toConstant(e),r},gp={sources:Be("control-planes.sources")},Cp=e=>[[gp.sources,{service:Df,arguments:[e.env],labels:[e.sources]}]],yp=()=>[{path:"/diagnostics",name:"diagnostics",component:()=>xe(()=>import("./DiagnosticsView-c37d2592.js"),["./CodeBlock-aa591f34.css"],import.meta.url)}],bp=e=>({"/config":async(t,r)=>(r.close(),await e.getConfig())}),wp=e=>[[Be("diagnostics.sources"),{service:bp,arguments:[e.api],labels:[e.sources]}],[Be("diagnostics.routes"),{service:yp,labels:[e.routes]}]],_p=()=>[{path:"/onboarding",redirect:{name:"onboarding-welcome"},component:()=>xe(()=>import("./OnboardingView-d4ba4ecc.js"),[],import.meta.url),children:[{path:"welcome",name:"onboarding-welcome",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./WelcomeView-41c39ba7.js"),["./OnboardingPage-88f67fb6.css","./WelcomeView-2c7783bc.css"],import.meta.url)},{path:"deployment-types",name:"onboarding-deployment-types",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./DeploymentTypes-956bec01.js"),["./OnboardingPage-88f67fb6.css","./DeploymentTypes-caab5d22.css"],import.meta.url)},{path:"configuration-types",name:"onboarding-configuration-types",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./ConfigurationTypes-99742ac3.js"),["./OnboardingPage-88f67fb6.css","./ConfigurationTypes-f96b4d1a.css"],import.meta.url)},{path:"multi-zone",name:"onboarding-multi-zone",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./MultiZoneView-4d7fbfc6.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./MultiZoneView-81622d62.css"],import.meta.url)},{path:"create-mesh",name:"onboarding-create-mesh",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./CreateMesh-be27fc42.js"),["./OnboardingPage-88f67fb6.css","./CreateMesh-28969af3.css"],import.meta.url)},{path:"add-services",name:"onboarding-add-services",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./AddNewServices-5f2733ee.js"),["./OnboardingPage-88f67fb6.css","./AddNewServices-10d70ff3.css"],import.meta.url)},{path:"add-services-code",name:"onboarding-add-services-code",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./AddNewServicesCode-7379079c.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./CodeBlock-aa591f34.css","./AddNewServicesCode-02eef6ad.css"],import.meta.url)},{path:"dataplanes-overview",name:"onboarding-dataplanes-overview",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./DataplanesOverview-48d94e54.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./DataplanesOverview-b36db120.css"],import.meta.url)},{path:"completed",name:"onboarding-completed",meta:{onboardingProcess:!0},component:()=>xe(()=>import("./CompletedView-076a6d94.js"),["./OnboardingPage-88f67fb6.css","./CompletedView-6392a0bc.css"],import.meta.url)}]}],kp=e=>[[Be("onboarding.routes"),{service:_p,labels:[e.routes]}]];function l7(e,t){const r=Object.create(null),n=e.split(",");for(let o=0;o!!r[o.toLowerCase()]:o=>!!r[o]}const kt={},Ho=[],or=()=>{},Mp=()=>!1,xp=/^on[^a-z]/,Tl=e=>xp.test(e),c7=e=>e.startsWith("onUpdate:"),Nt=Object.assign,u7=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Sp=Object.prototype.hasOwnProperty,ot=(e,t)=>Sp.call(e,t),Ve=Array.isArray,To=e=>Il(e)==="[object Map]",_u=e=>Il(e)==="[object Set]",Xe=e=>typeof e=="function",$t=e=>typeof e=="string",d7=e=>typeof e=="symbol",Mt=e=>e!==null&&typeof e=="object",ku=e=>Mt(e)&&Xe(e.then)&&Xe(e.catch),Mu=Object.prototype.toString,Il=e=>Mu.call(e),Ep=e=>Il(e).slice(8,-1),xu=e=>Il(e)==="[object Object]",h7=e=>$t(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ms=l7(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ol=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Ap=/-(\w)/g,xr=Ol(e=>e.replace(Ap,(t,r)=>r?r.toUpperCase():"")),Lp=/\B([A-Z])/g,Ln=Ol(e=>e.replace(Lp,"-$1").toLowerCase()),Vl=Ol(e=>e.charAt(0).toUpperCase()+e.slice(1)),vs=Ol(e=>e?`on${Vl(e)}`:""),di=(e,t)=>!Object.is(e,t),gs=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},k0=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bp=e=>{const t=$t(e)?Number(e):NaN;return isNaN(t)?e:t};let L5;const M0=()=>L5||(L5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ue(e){if(Ve(e)){const t={};for(let r=0;r{if(r){const n=r.split(Hp);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function J(e){let t="";if($t(e))t=e;else if(Ve(e))for(let r=0;r$t(e)?e:e==null?"":Ve(e)||Mt(e)&&(e.toString===Mu||!Xe(e.toString))?JSON.stringify(e,Eu,2):String(e),Eu=(e,t)=>t&&t.__v_isRef?Eu(e,t.value):To(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o])=>(r[`${n} =>`]=o,r),{})}:_u(t)?{[`Set(${t.size})`]:[...t.values()]}:Mt(t)&&!Ve(t)&&!xu(t)?String(t):t;let D1;class Pp{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=D1,!t&&D1&&(this.index=(D1.scopes||(D1.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=D1;try{return D1=this,t()}finally{D1=r}}}on(){D1=this}off(){D1=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r{const t=new Set(e);return t.w=0,t.n=0,t},Lu=e=>(e.w&xn)>0,Bu=e=>(e.n&xn)>0,Zp=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n{(u==="length"||u>=l)&&s.push(c)})}else switch(r!==void 0&&s.push(i.get(r)),t){case"add":Ve(e)?h7(r)&&s.push(i.get("length")):(s.push(i.get(eo)),To(e)&&s.push(i.get(S0)));break;case"delete":Ve(e)||(s.push(i.get(eo)),To(e)&&s.push(i.get(S0)));break;case"set":To(e)&&s.push(i.get(eo));break}if(s.length===1)s[0]&&E0(s[0]);else{const l=[];for(const c of s)c&&l.push(...c);E0(f7(l))}}function E0(e,t){const r=Ve(e)?e:[...e];for(const n of r)n.computed&&D5(n);for(const n of r)n.computed||D5(n)}function D5(e,t){(e!==rr||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function zp(e,t){var r;return(r=Ps.get(e))==null?void 0:r.get(t)}const Fp=l7("__proto__,__v_isRef,__isVue"),Tu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(d7)),Up=m7(),jp=m7(!1,!0),Yp=m7(!0),H5=Gp();function Gp(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=it(this);for(let a=0,i=this.length;a{e[t]=function(...r){la();const n=it(this)[t].apply(this,r);return ca(),n}}),e}function Kp(e){const t=it(this);return S1(t,"has",e),t.hasOwnProperty(e)}function m7(e=!1,t=!1){return function(n,o,a){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&a===(e?t?um:Nu:t?Pu:Vu).get(n))return n;const i=Ve(n);if(!e){if(i&&ot(H5,o))return Reflect.get(H5,o,a);if(o==="hasOwnProperty")return Kp}const s=Reflect.get(n,o,a);return(d7(o)?Tu.has(o):Fp(o))||(e||S1(n,"get",o),t)?s:r1(s)?i&&h7(o)?s:s.value:Mt(s)?e?Zu(s):Bn(s):s}}const qp=Iu(),Wp=Iu(!0);function Iu(e=!1){return function(r,n,o,a){let i=r[n];if(oo(i)&&r1(i)&&!r1(o))return!1;if(!e&&(!Ns(o)&&!oo(o)&&(i=it(i),o=it(o)),!Ve(r)&&r1(i)&&!r1(o)))return i.value=o,!0;const s=Ve(r)&&h7(n)?Number(n)e,Pl=e=>Reflect.getPrototypeOf(e);function Yi(e,t,r=!1,n=!1){e=e.__v_raw;const o=it(e),a=it(t);r||(t!==a&&S1(o,"get",t),S1(o,"get",a));const{has:i}=Pl(o),s=n?v7:r?y7:hi;if(i.call(o,t))return s(e.get(t));if(i.call(o,a))return s(e.get(a));e!==o&&e.get(t)}function Gi(e,t=!1){const r=this.__v_raw,n=it(r),o=it(e);return t||(e!==o&&S1(n,"has",e),S1(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function Ki(e,t=!1){return e=e.__v_raw,!t&&S1(it(e),"iterate",eo),Reflect.get(e,"size",e)}function T5(e){e=it(e);const t=it(this);return Pl(t).has.call(t,e)||(t.add(e),Kr(t,"add",e,e)),this}function I5(e,t){t=it(t);const r=it(this),{has:n,get:o}=Pl(r);let a=n.call(r,e);a||(e=it(e),a=n.call(r,e));const i=o.call(r,e);return r.set(e,t),a?di(t,i)&&Kr(r,"set",e,t):Kr(r,"add",e,t),this}function O5(e){const t=it(this),{has:r,get:n}=Pl(t);let o=r.call(t,e);o||(e=it(e),o=r.call(t,e)),n&&n.call(t,e);const a=t.delete(e);return o&&Kr(t,"delete",e,void 0),a}function V5(){const e=it(this),t=e.size!==0,r=e.clear();return t&&Kr(e,"clear",void 0,void 0),r}function qi(e,t){return function(n,o){const a=this,i=a.__v_raw,s=it(i),l=t?v7:e?y7:hi;return!e&&S1(s,"iterate",eo),i.forEach((c,u)=>n.call(o,l(c),l(u),a))}}function Wi(e,t,r){return function(...n){const o=this.__v_raw,a=it(o),i=To(a),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...n),u=r?v7:t?y7:hi;return!t&&S1(a,"iterate",l?S0:eo),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:s?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function rn(e){return function(...t){return e==="delete"?!1:this}}function rm(){const e={get(a){return Yi(this,a)},get size(){return Ki(this)},has:Gi,add:T5,set:I5,delete:O5,clear:V5,forEach:qi(!1,!1)},t={get(a){return Yi(this,a,!1,!0)},get size(){return Ki(this)},has:Gi,add:T5,set:I5,delete:O5,clear:V5,forEach:qi(!1,!0)},r={get(a){return Yi(this,a,!0)},get size(){return Ki(this,!0)},has(a){return Gi.call(this,a,!0)},add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear"),forEach:qi(!0,!1)},n={get(a){return Yi(this,a,!0,!0)},get size(){return Ki(this,!0)},has(a){return Gi.call(this,a,!0)},add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear"),forEach:qi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Wi(a,!1,!1),r[a]=Wi(a,!0,!1),t[a]=Wi(a,!1,!0),n[a]=Wi(a,!0,!0)}),[e,r,t,n]}const[nm,om,am,im]=rm();function g7(e,t){const r=t?e?im:am:e?om:nm;return(n,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(ot(r,o)&&o in n?r:n,o,a)}const sm={get:g7(!1,!1)},lm={get:g7(!1,!0)},cm={get:g7(!0,!1)},Vu=new WeakMap,Pu=new WeakMap,Nu=new WeakMap,um=new WeakMap;function dm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hm(e){return e.__v_skip||!Object.isExtensible(e)?0:dm(Ep(e))}function Bn(e){return oo(e)?e:C7(e,!1,Ou,sm,Vu)}function $u(e){return C7(e,!1,tm,lm,Pu)}function Zu(e){return C7(e,!0,em,cm,Nu)}function C7(e,t,r,n,o){if(!Mt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=hm(e);if(i===0)return e;const s=new Proxy(e,i===2?n:r);return o.set(e,s),s}function Io(e){return oo(e)?Io(e.__v_raw):!!(e&&e.__v_isReactive)}function oo(e){return!!(e&&e.__v_isReadonly)}function Ns(e){return!!(e&&e.__v_isShallow)}function Ru(e){return Io(e)||oo(e)}function it(e){const t=e&&e.__v_raw;return t?it(t):e}function zu(e){return Vs(e,"__v_skip",!0),e}const hi=e=>Mt(e)?Bn(e):e,y7=e=>Mt(e)?Zu(e):e;function Fu(e){wn&&rr&&(e=it(e),Hu(e.dep||(e.dep=f7())))}function Uu(e,t){e=it(e);const r=e.dep;r&&E0(r)}function r1(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return ju(e,!1)}function fm(e){return ju(e,!0)}function ju(e,t){return r1(e)?e:new pm(e,t)}class pm{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:it(t),this._value=r?t:hi(t)}get value(){return Fu(this),this._value}set value(t){const r=this.__v_isShallow||Ns(t)||oo(t);t=r?t:it(t),di(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:hi(t),Uu(this))}}function L(e){return r1(e)?e.value:e}const mm={get:(e,t,r)=>L(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return r1(o)&&!r1(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function Yu(e){return Io(e)?e:new Proxy(e,mm)}function vm(e){const t=Ve(e)?new Array(e.length):{};for(const r in e)t[r]=Cm(e,r);return t}class gm{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return zp(it(this._object),this._key)}}function Cm(e,t,r){const n=e[t];return r1(n)?n:new gm(e,t,r)}class ym{constructor(t,r,n,o){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new p7(t,()=>{this._dirty||(this._dirty=!0,Uu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const t=it(this);return Fu(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function bm(e,t,r=!1){let n,o;const a=Xe(e);return a?(n=e,o=or):(n=e.get,o=e.set),new ym(n,o,a||!o,r)}function _n(e,t,r,n){let o;try{o=n?e(...n):e()}catch(a){Nl(a,t,r)}return o}function Y1(e,t,r,n){if(Xe(e)){const a=_n(e,t,r,n);return a&&ku(a)&&a.catch(i=>{Nl(i,t,r)}),a}const o=[];for(let a=0;a>>1;pi(a1[n])_r&&a1.splice(t,1)}function Mm(e){Ve(e)?Oo.push(...e):(!Nr||!Nr.includes(e,e.allowRecurse?Un+1:Un))&&Oo.push(e),Ku()}function P5(e,t=fi?_r+1:0){for(;tpi(r)-pi(n)),Un=0;Une.id==null?1/0:e.id,xm=(e,t)=>{const r=pi(e)-pi(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function Wu(e){A0=!1,fi=!0,a1.sort(xm);const t=or;try{for(_r=0;_r$t(f)?f.trim():f)),d&&(o=r.map(k0))}let s,l=n[s=vs(t)]||n[s=vs(xr(t))];!l&&a&&(l=n[s=vs(Ln(t))]),l&&Y1(l,e,6,o);const c=n[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Y1(c,e,6,o)}}function Qu(e,t,r=!1){const n=t.emitsCache,o=n.get(e);if(o!==void 0)return o;const a=e.emits;let i={},s=!1;if(!Xe(e)){const l=c=>{const u=Qu(c,t,!0);u&&(s=!0,Nt(i,u))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(Mt(e)&&n.set(e,null),null):(Ve(a)?a.forEach(l=>i[l]=null):Nt(i,a),Mt(e)&&n.set(e,i),i)}function $l(e,t){return!e||!Tl(t)?!1:(t=t.slice(2).replace(/Once$/,""),ot(e,t[0].toLowerCase()+t.slice(1))||ot(e,Ln(t))||ot(e,t))}let n1=null,Zl=null;function $s(e){const t=n1;return n1=e,Zl=e&&e.type.__scopeId||null,t}function st(e){Zl=e}function lt(){Zl=null}function E(e,t=n1,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&q5(-1);const a=$s(t);let i;try{i=e(...o)}finally{$s(a),n._d&&q5(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function b2(e){const{type:t,vnode:r,proxy:n,withProxy:o,props:a,propsOptions:[i],slots:s,attrs:l,emit:c,render:u,renderCache:d,data:h,setupState:f,ctx:C,inheritAttrs:_}=e;let g,b;const w=$s(e);try{if(r.shapeFlag&4){const k=o||n;g=br(u.call(k,k,d,a,f,h,C)),b=l}else{const k=t;g=br(k.length>1?k(a,{attrs:l,slots:s,emit:c}):k(a,null)),b=t.props?l:Em(l)}}catch(k){qa.length=0,Nl(k,e,1),g=P(I1)}let v=g;if(b&&_!==!1){const k=Object.keys(b),{shapeFlag:T}=v;k.length&&T&7&&(i&&k.some(c7)&&(b=Am(b,i)),v=qr(v,b))}return r.dirs&&(v=qr(v),v.dirs=v.dirs?v.dirs.concat(r.dirs):r.dirs),r.transition&&(v.transition=r.transition),g=v,$s(w),g}const Em=e=>{let t;for(const r in e)(r==="class"||r==="style"||Tl(r))&&((t||(t={}))[r]=e[r]);return t},Am=(e,t)=>{const r={};for(const n in e)(!c7(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function Lm(e,t,r){const{props:n,children:o,component:a}=e,{props:i,children:s,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?N5(n,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Hm(e,t){t&&t.pendingBranch?Ve(e)?t.effects.push(...e):t.effects.push(e):Mm(e)}function Xu(e,t){return Rl(e,null,t)}function Tm(e,t){return Rl(e,null,{flush:"post"})}const Qi={};function De(e,t,r){return Rl(e,t,r)}function Rl(e,t,{immediate:r,deep:n,flush:o,onTrack:a,onTrigger:i}=kt){var s;const l=Au()===((s=qt)==null?void 0:s.scope)?qt:null;let c,u=!1,d=!1;if(r1(e)?(c=()=>e.value,u=Ns(e)):Io(e)?(c=()=>e,n=!0):Ve(e)?(d=!0,u=e.some(k=>Io(k)||Ns(k)),c=()=>e.map(k=>{if(r1(k))return k.value;if(Io(k))return Kn(k);if(Xe(k))return _n(k,l,2)})):Xe(e)?t?c=()=>_n(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),Y1(e,l,3,[f])}:c=or,t&&n){const k=c;c=()=>Kn(k())}let h,f=k=>{h=w.onStop=()=>{_n(k,l,4)}},C;if(Ci)if(f=or,t?r&&Y1(t,l,3,[c(),d?[]:void 0,f]):c(),o==="sync"){const k=wv();C=k.__watcherHandles||(k.__watcherHandles=[])}else return or;let _=d?new Array(e.length).fill(Qi):Qi;const g=()=>{if(w.active)if(t){const k=w.run();(n||u||(d?k.some((T,$)=>di(T,_[$])):di(k,_)))&&(h&&h(),Y1(t,l,3,[k,_===Qi?void 0:d&&_[0]===Qi?[]:_,f]),_=k)}else w.run()};g.allowRecurse=!!t;let b;o==="sync"?b=g:o==="post"?b=()=>_1(g,l&&l.suspense):(g.pre=!0,l&&(g.id=l.uid),b=()=>w7(g));const w=new p7(c,b);t?r?g():_=w.run():o==="post"?_1(w.run.bind(w),l&&l.suspense):w.run();const v=()=>{w.stop(),l&&l.scope&&u7(l.scope.effects,w)};return C&&C.push(v),v}function Im(e,t,r){const n=this.proxy,o=$t(e)?e.includes(".")?Ju(n,e):()=>n[e]:e.bind(n,n);let a;Xe(t)?a=t:(a=t.handler,r=t);const i=qt;qo(this);const s=Rl(o,a.bind(n),r);return i?qo(i):to(),s}function Ju(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o{Kn(r,t)});else if(xu(e))for(const r in e)Kn(e[r],t);return e}function Zs(e,t){const r=n1;if(r===null)return e;const n=Yl(r)||r.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0}),cr(()=>{e.isUnmounting=!0}),e}const P1=[Function,Array],t8={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:P1,onEnter:P1,onAfterEnter:P1,onEnterCancelled:P1,onBeforeLeave:P1,onLeave:P1,onAfterLeave:P1,onLeaveCancelled:P1,onBeforeAppear:P1,onAppear:P1,onAfterAppear:P1,onAppearCancelled:P1},Om={name:"BaseTransition",props:t8,setup(e,{slots:t}){const r=Bi(),n=e8();let o;return()=>{const a=t.default&&_7(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){for(const _ of a)if(_.type!==I1){i=_;break}}const s=it(e),{mode:l}=s;if(n.isLeaving)return w2(i);const c=$5(i);if(!c)return w2(i);const u=mi(c,s,n,r);vi(c,u);const d=r.subTree,h=d&&$5(d);let f=!1;const{getTransitionKey:C}=c.type;if(C){const _=C();o===void 0?o=_:_!==o&&(o=_,f=!0)}if(h&&h.type!==I1&&(!jn(c,h)||f)){const _=mi(h,s,n,r);if(vi(h,_),l==="out-in")return n.isLeaving=!0,_.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&r.update()},w2(i);l==="in-out"&&c.type!==I1&&(_.delayLeave=(g,b,w)=>{const v=r8(n,h);v[String(h.key)]=h,g._leaveCb=()=>{b(),g._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=w})}return i}}},Vm=Om;function r8(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function mi(e,t,r,n){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:f,onLeaveCancelled:C,onBeforeAppear:_,onAppear:g,onAfterAppear:b,onAppearCancelled:w}=t,v=String(e.key),k=r8(r,e),T=(z,D)=>{z&&Y1(z,n,9,D)},$=(z,D)=>{const S=D[1];T(z,D),Ve(z)?z.every(R=>R.length<=1)&&S():z.length<=1&&S()},N={mode:a,persisted:i,beforeEnter(z){let D=s;if(!r.isMounted)if(o)D=_||s;else return;z._leaveCb&&z._leaveCb(!0);const S=k[v];S&&jn(e,S)&&S.el._leaveCb&&S.el._leaveCb(),T(D,[z])},enter(z){let D=l,S=c,R=u;if(!r.isMounted)if(o)D=g||l,S=b||c,R=w||u;else return;let V=!1;const U=z._enterCb=ie=>{V||(V=!0,ie?T(R,[z]):T(S,[z]),N.delayedLeave&&N.delayedLeave(),z._enterCb=void 0)};D?$(D,[z,U]):U()},leave(z,D){const S=String(e.key);if(z._enterCb&&z._enterCb(!0),r.isUnmounting)return D();T(d,[z]);let R=!1;const V=z._leaveCb=U=>{R||(R=!0,D(),U?T(C,[z]):T(f,[z]),z._leaveCb=void 0,k[S]===e&&delete k[S])};k[S]=e,h?$(h,[z,V]):V()},clone(z){return mi(z,t,r,n)}};return N}function w2(e){if(zl(e))return e=qr(e),e.children=null,e}function $5(e){return zl(e)?e.children?e.children[0]:void 0:e}function vi(e,t){e.shapeFlag&6&&e.component?vi(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function _7(e,t=!1,r){let n=[],o=0;for(let a=0;a1)for(let a=0;aNt({name:e.name},t,{setup:e}))():e}const Ya=e=>!!e.type.__asyncLoader,zl=e=>e.type.__isKeepAlive;function Pm(e,t){n8(e,"a",t)}function Nm(e,t){n8(e,"da",t)}function n8(e,t,r=qt){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Fl(t,n,r),r){let o=r.parent;for(;o&&o.parent;)zl(o.parent.vnode)&&$m(n,t,r,o),o=o.parent}}function $m(e,t,r,n){const o=Fl(t,e,n,!0);ur(()=>{u7(n[t],o)},r)}function Fl(e,t,r=qt,n=!1){if(r){const o=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(r.isUnmounted)return;la(),qo(r);const s=Y1(t,r,e,i);return to(),ca(),s});return n?o.unshift(a):o.push(a),a}}const Qr=e=>(t,r=qt)=>(!Ci||e==="sp")&&Fl(e,(...n)=>t(...n),r),Zm=Qr("bm"),Ct=Qr("m"),Rm=Qr("bu"),o8=Qr("u"),cr=Qr("bum"),ur=Qr("um"),zm=Qr("sp"),Fm=Qr("rtg"),Um=Qr("rtc");function jm(e,t=qt){Fl("ec",e,t)}const k7="components";function Qt(e,t){return i8(k7,e,!0,t)||e}const a8=Symbol.for("v-ndc");function vt(e){return $t(e)?i8(k7,e,!1)||e:e||a8}function i8(e,t,r=!0,n=!1){const o=n1||qt;if(o){const a=o.type;if(e===k7){const s=Cv(a,!1);if(s&&(s===t||s===xr(t)||s===Vl(xr(t))))return a}const i=Z5(o[e]||a[e],t)||Z5(o.appContext[e],t);return!i&&n?a:i}}function Z5(e,t){return e&&(e[t]||e[xr(t)]||e[Vl(xr(t))])}function tt(e,t,r,n){let o;const a=r&&r[n];if(Ve(e)||$t(e)){o=new Array(e.length);for(let i=0,s=e.length;it(i,s,void 0,a&&a[s]));else{const i=Object.keys(e);o=new Array(i.length);for(let s=0,l=i.length;s{const a=n.fn(...o);return a&&(a.key=n.key),a}:n.fn)}return e}function F(e,t,r={},n,o){if(n1.isCE||n1.parent&&Ya(n1.parent)&&n1.parent.isCE)return t!=="default"&&(r.name=t),P("slot",r,n&&n());let a=e[t];a&&a._c&&(a._d=!1),m();const i=a&&s8(a(r)),s=G(we,{key:r.key||i&&i.key||`_${t}`},i||(n?n():[]),i&&e._===1?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function s8(e){return e.some(t=>Fs(t)?!(t.type===I1||t.type===we&&!s8(t.children)):!0)?e:null}function L0(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:vs(n)]=e[n];return r}const B0=e=>e?y8(e)?Yl(e)||e.proxy:B0(e.parent):null,Ga=Nt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>B0(e.parent),$root:e=>B0(e.root),$emit:e=>e.emit,$options:e=>M7(e),$forceUpdate:e=>e.f||(e.f=()=>w7(e.update)),$nextTick:e=>e.n||(e.n=v1.bind(e.proxy)),$watch:e=>Im.bind(e)}),_2=(e,t)=>e!==kt&&!e.__isScriptSetup&&ot(e,t),Ym={get({_:e},t){const{ctx:r,setupState:n,data:o,props:a,accessCache:i,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const f=i[t];if(f!==void 0)switch(f){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return a[t]}else{if(_2(n,t))return i[t]=1,n[t];if(o!==kt&&ot(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&ot(c,t))return i[t]=3,a[t];if(r!==kt&&ot(r,t))return i[t]=4,r[t];D0&&(i[t]=0)}}const u=Ga[t];let d,h;if(u)return t==="$attrs"&&S1(e,"get",t),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(r!==kt&&ot(r,t))return i[t]=4,r[t];if(h=l.config.globalProperties,ot(h,t))return h[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:a}=e;return _2(o,t)?(o[t]=r,!0):n!==kt&&ot(n,t)?(n[t]=r,!0):ot(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,propsOptions:a}},i){let s;return!!r[i]||e!==kt&&ot(e,i)||_2(t,i)||(s=a[0])&&ot(s,i)||ot(n,i)||ot(Ga,i)||ot(o.config.globalProperties,i)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:ot(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function It(){return l8().slots}function dr(){return l8().attrs}function l8(){const e=Bi();return e.setupContext||(e.setupContext=w8(e))}function R5(e){return Ve(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let D0=!0;function Gm(e){const t=M7(e),r=e.proxy,n=e.ctx;D0=!1,t.beforeCreate&&z5(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:i,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:f,updated:C,activated:_,deactivated:g,beforeDestroy:b,beforeUnmount:w,destroyed:v,unmounted:k,render:T,renderTracked:$,renderTriggered:N,errorCaptured:z,serverPrefetch:D,expose:S,inheritAttrs:R,components:V,directives:U,filters:ie}=t;if(c&&Km(c,n,null),i)for(const ne in i){const ye=i[ne];Xe(ye)&&(n[ne]=ye.bind(r))}if(o){const ne=o.call(r,r);Mt(ne)&&(e.data=Bn(ne))}if(D0=!0,a)for(const ne in a){const ye=a[ne],Ge=Xe(ye)?ye.bind(r,r):Xe(ye.get)?ye.get.bind(r,r):or,Ne=!Xe(ye)&&Xe(ye.set)?ye.set.bind(r):or,qe=A({get:Ge,set:Ne});Object.defineProperty(n,ne,{enumerable:!0,configurable:!0,get:()=>qe.value,set:ze=>qe.value=ze})}if(s)for(const ne in s)c8(s[ne],n,r,ne);if(l){const ne=Xe(l)?l.call(r):l;Reflect.ownKeys(ne).forEach(ye=>{Vo(ye,ne[ye])})}u&&z5(u,e,"c");function ce(ne,ye){Ve(ye)?ye.forEach(Ge=>ne(Ge.bind(r))):ye&&ne(ye.bind(r))}if(ce(Zm,d),ce(Ct,h),ce(Rm,f),ce(o8,C),ce(Pm,_),ce(Nm,g),ce(jm,z),ce(Um,$),ce(Fm,N),ce(cr,w),ce(ur,k),ce(zm,D),Ve(S))if(S.length){const ne=e.exposed||(e.exposed={});S.forEach(ye=>{Object.defineProperty(ne,ye,{get:()=>r[ye],set:Ge=>r[ye]=Ge})})}else e.exposed||(e.exposed={});T&&e.render===or&&(e.render=T),R!=null&&(e.inheritAttrs=R),V&&(e.components=V),U&&(e.directives=U)}function Km(e,t,r=or){Ve(e)&&(e=H0(e));for(const n in e){const o=e[n];let a;Mt(o)?"default"in o?a=x1(o.from||n,o.default,!0):a=x1(o.from||n):a=x1(o),r1(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:i=>a.value=i}):t[n]=a}}function z5(e,t,r){Y1(Ve(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function c8(e,t,r,n){const o=n.includes(".")?Ju(r,n):()=>r[n];if($t(e)){const a=t[e];Xe(a)&&De(o,a)}else if(Xe(e))De(o,e.bind(r));else if(Mt(e))if(Ve(e))e.forEach(a=>c8(a,t,r,n));else{const a=Xe(e.handler)?e.handler.bind(r):t[e.handler];Xe(a)&&De(o,a,e)}}function M7(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,s=a.get(t);let l;return s?l=s:!o.length&&!r&&!n?l=t:(l={},o.length&&o.forEach(c=>Rs(l,c,i,!0)),Rs(l,t,i)),Mt(t)&&a.set(t,l),l}function Rs(e,t,r,n=!1){const{mixins:o,extends:a}=t;a&&Rs(e,a,r,!0),o&&o.forEach(i=>Rs(e,i,r,!0));for(const i in t)if(!(n&&i==="expose")){const s=qm[i]||r&&r[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const qm={data:F5,props:U5,emits:U5,methods:Na,computed:Na,beforeCreate:l1,created:l1,beforeMount:l1,mounted:l1,beforeUpdate:l1,updated:l1,beforeDestroy:l1,beforeUnmount:l1,destroyed:l1,unmounted:l1,activated:l1,deactivated:l1,errorCaptured:l1,serverPrefetch:l1,components:Na,directives:Na,watch:Qm,provide:F5,inject:Wm};function F5(e,t){return t?e?function(){return Nt(Xe(e)?e.call(this,this):e,Xe(t)?t.call(this,this):t)}:t:e}function Wm(e,t){return Na(H0(e),H0(t))}function H0(e){if(Ve(e)){const t={};for(let r=0;r1)return r&&Xe(t)?t.call(n&&n.proxy):t}}function ev(e,t,r,n=!1){const o={},a={};Vs(a,jl,1),e.propsDefaults=Object.create(null),d8(e,t,o,a);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);r?e.props=n?o:$u(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function tv(e,t,r,n){const{props:o,attrs:a,vnode:{patchFlag:i}}=e,s=it(o),[l]=e.propsOptions;let c=!1;if((n||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,f]=h8(d,t,!0);Nt(i,h),f&&s.push(...f)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return Mt(e)&&n.set(e,Ho),Ho;if(Ve(a))for(let u=0;u-1,f[1]=_<0||C<_,(C>-1||ot(f,"default"))&&s.push(d)}}}const c=[i,s];return Mt(e)&&n.set(e,c),c}function j5(e){return e[0]!=="$"}function Y5(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function G5(e,t){return Y5(e)===Y5(t)}function K5(e,t){return Ve(t)?t.findIndex(r=>G5(r,e)):Xe(t)&&G5(t,e)?0:-1}const f8=e=>e[0]==="_"||e==="$stable",x7=e=>Ve(e)?e.map(br):[br(e)],rv=(e,t,r)=>{if(t._n)return t;const n=E((...o)=>x7(t(...o)),r);return n._c=!1,n},p8=(e,t,r)=>{const n=e._ctx;for(const o in e){if(f8(o))continue;const a=e[o];if(Xe(a))t[o]=rv(o,a,n);else if(a!=null){const i=x7(a);t[o]=()=>i}}},m8=(e,t)=>{const r=x7(t);e.slots.default=()=>r},nv=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=it(t),Vs(t,"_",r)):p8(t,e.slots={})}else e.slots={},t&&m8(e,t);Vs(e.slots,jl,1)},ov=(e,t,r)=>{const{vnode:n,slots:o}=e;let a=!0,i=kt;if(n.shapeFlag&32){const s=t._;s?r&&s===1?a=!1:(Nt(o,t),!r&&s===1&&delete o._):(a=!t.$stable,p8(t,o)),i=t}else t&&(m8(e,t),i={default:1});if(a)for(const s in o)!f8(s)&&!(s in i)&&delete o[s]};function I0(e,t,r,n,o=!1){if(Ve(e)){e.forEach((h,f)=>I0(h,t&&(Ve(t)?t[f]:t),r,n,o));return}if(Ya(n)&&!o)return;const a=n.shapeFlag&4?Yl(n.component)||n.component.proxy:n.el,i=o?null:a,{i:s,r:l}=e,c=t&&t.r,u=s.refs===kt?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&($t(c)?(u[c]=null,ot(d,c)&&(d[c]=null)):r1(c)&&(c.value=null)),Xe(l))_n(l,s,12,[i,u]);else{const h=$t(l),f=r1(l);if(h||f){const C=()=>{if(e.f){const _=h?ot(d,l)?d[l]:u[l]:l.value;o?Ve(_)&&u7(_,a):Ve(_)?_.includes(a)||_.push(a):h?(u[l]=[a],ot(d,l)&&(d[l]=u[l])):(l.value=[a],e.k&&(u[e.k]=l.value))}else h?(u[l]=i,ot(d,l)&&(d[l]=i)):f&&(l.value=i,e.k&&(u[e.k]=i))};i?(C.id=-1,_1(C,r)):C()}}}const _1=Hm;function av(e){return iv(e)}function iv(e,t){const r=M0();r.__VUE__=!0;const{insert:n,remove:o,patchProp:a,createElement:i,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:f=or,insertStaticContent:C}=e,_=(x,B,O,Q=null,W=null,ee=null,fe=!1,ue=null,de=!!B.dynamicChildren)=>{if(x===B)return;x&&!jn(x,B)&&(Q=K(x),ze(x,W,ee,!0),x=null),B.patchFlag===-2&&(de=!1,B.dynamicChildren=null);const{type:le,ref:Ae,shapeFlag:be}=B;switch(le){case Ul:g(x,B,O,Q);break;case I1:b(x,B,O,Q);break;case Ka:x==null&&w(B,O,Q,fe);break;case we:V(x,B,O,Q,W,ee,fe,ue,de);break;default:be&1?T(x,B,O,Q,W,ee,fe,ue,de):be&6?U(x,B,O,Q,W,ee,fe,ue,de):(be&64||be&128)&&le.process(x,B,O,Q,W,ee,fe,ue,de,Z)}Ae!=null&&W&&I0(Ae,x&&x.ref,ee,B||x,!B)},g=(x,B,O,Q)=>{if(x==null)n(B.el=s(B.children),O,Q);else{const W=B.el=x.el;B.children!==x.children&&c(W,B.children)}},b=(x,B,O,Q)=>{x==null?n(B.el=l(B.children||""),O,Q):B.el=x.el},w=(x,B,O,Q)=>{[x.el,x.anchor]=C(x.children,B,O,Q,x.el,x.anchor)},v=({el:x,anchor:B},O,Q)=>{let W;for(;x&&x!==B;)W=h(x),n(x,O,Q),x=W;n(B,O,Q)},k=({el:x,anchor:B})=>{let O;for(;x&&x!==B;)O=h(x),o(x),x=O;o(B)},T=(x,B,O,Q,W,ee,fe,ue,de)=>{fe=fe||B.type==="svg",x==null?$(B,O,Q,W,ee,fe,ue,de):D(x,B,W,ee,fe,ue,de)},$=(x,B,O,Q,W,ee,fe,ue)=>{let de,le;const{type:Ae,props:be,shapeFlag:ke,transition:Ie,dirs:re}=x;if(de=x.el=i(x.type,ee,be&&be.is,be),ke&8?u(de,x.children):ke&16&&z(x.children,de,null,Q,W,ee&&Ae!=="foreignObject",fe,ue),re&&Tn(x,null,Q,"created"),N(de,x,x.scopeId,fe,Q),be){for(const me in be)me!=="value"&&!ms(me)&&a(de,me,null,be[me],ee,x.children,Q,W,Ke);"value"in be&&a(de,"value",null,be.value),(le=be.onVnodeBeforeMount)&&fr(le,Q,x)}re&&Tn(x,null,Q,"beforeMount");const Le=(!W||W&&!W.pendingBranch)&&Ie&&!Ie.persisted;Le&&Ie.beforeEnter(de),n(de,B,O),((le=be&&be.onVnodeMounted)||Le||re)&&_1(()=>{le&&fr(le,Q,x),Le&&Ie.enter(de),re&&Tn(x,null,Q,"mounted")},W)},N=(x,B,O,Q,W)=>{if(O&&f(x,O),Q)for(let ee=0;ee{for(let le=de;le{const ue=B.el=x.el;let{patchFlag:de,dynamicChildren:le,dirs:Ae}=B;de|=x.patchFlag&16;const be=x.props||kt,ke=B.props||kt;let Ie;O&&In(O,!1),(Ie=ke.onVnodeBeforeUpdate)&&fr(Ie,O,B,x),Ae&&Tn(B,x,O,"beforeUpdate"),O&&In(O,!0);const re=W&&B.type!=="foreignObject";if(le?S(x.dynamicChildren,le,ue,O,Q,re,ee):fe||ye(x,B,ue,null,O,Q,re,ee,!1),de>0){if(de&16)R(ue,B,be,ke,O,Q,W);else if(de&2&&be.class!==ke.class&&a(ue,"class",null,ke.class,W),de&4&&a(ue,"style",be.style,ke.style,W),de&8){const Le=B.dynamicProps;for(let me=0;me{Ie&&fr(Ie,O,B,x),Ae&&Tn(B,x,O,"updated")},Q)},S=(x,B,O,Q,W,ee,fe)=>{for(let ue=0;ue{if(O!==Q){if(O!==kt)for(const ue in O)!ms(ue)&&!(ue in Q)&&a(x,ue,O[ue],null,fe,B.children,W,ee,Ke);for(const ue in Q){if(ms(ue))continue;const de=Q[ue],le=O[ue];de!==le&&ue!=="value"&&a(x,ue,le,de,fe,B.children,W,ee,Ke)}"value"in Q&&a(x,"value",O.value,Q.value)}},V=(x,B,O,Q,W,ee,fe,ue,de)=>{const le=B.el=x?x.el:s(""),Ae=B.anchor=x?x.anchor:s("");let{patchFlag:be,dynamicChildren:ke,slotScopeIds:Ie}=B;Ie&&(ue=ue?ue.concat(Ie):Ie),x==null?(n(le,O,Q),n(Ae,O,Q),z(B.children,O,Ae,W,ee,fe,ue,de)):be>0&&be&64&&ke&&x.dynamicChildren?(S(x.dynamicChildren,ke,O,W,ee,fe,ue),(B.key!=null||W&&B===W.subTree)&&v8(x,B,!0)):ye(x,B,O,Ae,W,ee,fe,ue,de)},U=(x,B,O,Q,W,ee,fe,ue,de)=>{B.slotScopeIds=ue,x==null?B.shapeFlag&512?W.ctx.activate(B,O,Q,fe,de):ie(B,O,Q,W,ee,fe,de):se(x,B,de)},ie=(x,B,O,Q,W,ee,fe)=>{const ue=x.component=pv(x,Q,W);if(zl(x)&&(ue.ctx.renderer=Z),mv(ue),ue.asyncDep){if(W&&W.registerDep(ue,ce),!x.el){const de=ue.subTree=P(I1);b(null,de,B,O)}return}ce(ue,x,B,O,W,ee,fe)},se=(x,B,O)=>{const Q=B.component=x.component;if(Lm(x,B,O))if(Q.asyncDep&&!Q.asyncResolved){ne(Q,B,O);return}else Q.next=B,km(Q.update),Q.update();else B.el=x.el,Q.vnode=B},ce=(x,B,O,Q,W,ee,fe)=>{const ue=()=>{if(x.isMounted){let{next:Ae,bu:be,u:ke,parent:Ie,vnode:re}=x,Le=Ae,me;In(x,!1),Ae?(Ae.el=re.el,ne(x,Ae,fe)):Ae=re,be&&gs(be),(me=Ae.props&&Ae.props.onVnodeBeforeUpdate)&&fr(me,Ie,Ae,re),In(x,!0);const Pe=b2(x),ht=x.subTree;x.subTree=Pe,_(ht,Pe,d(ht.el),K(ht),x,W,ee),Ae.el=Pe.el,Le===null&&Bm(x,Pe.el),ke&&_1(ke,W),(me=Ae.props&&Ae.props.onVnodeUpdated)&&_1(()=>fr(me,Ie,Ae,re),W)}else{let Ae;const{el:be,props:ke}=B,{bm:Ie,m:re,parent:Le}=x,me=Ya(B);if(In(x,!1),Ie&&gs(Ie),!me&&(Ae=ke&&ke.onVnodeBeforeMount)&&fr(Ae,Le,B),In(x,!0),be&&ae){const Pe=()=>{x.subTree=b2(x),ae(be,x.subTree,x,W,null)};me?B.type.__asyncLoader().then(()=>!x.isUnmounted&&Pe()):Pe()}else{const Pe=x.subTree=b2(x);_(null,Pe,O,Q,x,W,ee),B.el=Pe.el}if(re&&_1(re,W),!me&&(Ae=ke&&ke.onVnodeMounted)){const Pe=B;_1(()=>fr(Ae,Le,Pe),W)}(B.shapeFlag&256||Le&&Ya(Le.vnode)&&Le.vnode.shapeFlag&256)&&x.a&&_1(x.a,W),x.isMounted=!0,B=O=Q=null}},de=x.effect=new p7(ue,()=>w7(le),x.scope),le=x.update=()=>de.run();le.id=x.uid,In(x,!0),le()},ne=(x,B,O)=>{B.component=x;const Q=x.vnode.props;x.vnode=B,x.next=null,tv(x,B.props,Q,O),ov(x,B.children,O),la(),P5(),ca()},ye=(x,B,O,Q,W,ee,fe,ue,de=!1)=>{const le=x&&x.children,Ae=x?x.shapeFlag:0,be=B.children,{patchFlag:ke,shapeFlag:Ie}=B;if(ke>0){if(ke&128){Ne(le,be,O,Q,W,ee,fe,ue,de);return}else if(ke&256){Ge(le,be,O,Q,W,ee,fe,ue,de);return}}Ie&8?(Ae&16&&Ke(le,W,ee),be!==le&&u(O,be)):Ae&16?Ie&16?Ne(le,be,O,Q,W,ee,fe,ue,de):Ke(le,W,ee,!0):(Ae&8&&u(O,""),Ie&16&&z(be,O,Q,W,ee,fe,ue,de))},Ge=(x,B,O,Q,W,ee,fe,ue,de)=>{x=x||Ho,B=B||Ho;const le=x.length,Ae=B.length,be=Math.min(le,Ae);let ke;for(ke=0;keAe?Ke(x,W,ee,!0,!1,be):z(B,O,Q,W,ee,fe,ue,de,be)},Ne=(x,B,O,Q,W,ee,fe,ue,de)=>{let le=0;const Ae=B.length;let be=x.length-1,ke=Ae-1;for(;le<=be&&le<=ke;){const Ie=x[le],re=B[le]=de?pn(B[le]):br(B[le]);if(jn(Ie,re))_(Ie,re,O,null,W,ee,fe,ue,de);else break;le++}for(;le<=be&&le<=ke;){const Ie=x[be],re=B[ke]=de?pn(B[ke]):br(B[ke]);if(jn(Ie,re))_(Ie,re,O,null,W,ee,fe,ue,de);else break;be--,ke--}if(le>be){if(le<=ke){const Ie=ke+1,re=Ieke)for(;le<=be;)ze(x[le],W,ee,!0),le++;else{const Ie=le,re=le,Le=new Map;for(le=re;le<=ke;le++){const Ce=B[le]=de?pn(B[le]):br(B[le]);Ce.key!=null&&Le.set(Ce.key,le)}let me,Pe=0;const ht=ke-re+1;let te=!1,ve=0;const Me=new Array(ht);for(le=0;le=ht){ze(Ce,W,ee,!0);continue}let Ye;if(Ce.key!=null)Ye=Le.get(Ce.key);else for(me=re;me<=ke;me++)if(Me[me-re]===0&&jn(Ce,B[me])){Ye=me;break}Ye===void 0?ze(Ce,W,ee,!0):(Me[Ye-re]=le+1,Ye>=ve?ve=Ye:te=!0,_(Ce,B[Ye],O,null,W,ee,fe,ue,de),Pe++)}const je=te?sv(Me):Ho;for(me=je.length-1,le=ht-1;le>=0;le--){const Ce=re+le,Ye=B[Ce],Ot=Ce+1{const{el:ee,type:fe,transition:ue,children:de,shapeFlag:le}=x;if(le&6){qe(x.component.subTree,B,O,Q);return}if(le&128){x.suspense.move(B,O,Q);return}if(le&64){fe.move(x,B,O,Z);return}if(fe===we){n(ee,B,O);for(let be=0;beue.enter(ee),W);else{const{leave:be,delayLeave:ke,afterLeave:Ie}=ue,re=()=>n(ee,B,O),Le=()=>{be(ee,()=>{re(),Ie&&Ie()})};ke?ke(ee,re,Le):Le()}else n(ee,B,O)},ze=(x,B,O,Q=!1,W=!1)=>{const{type:ee,props:fe,ref:ue,children:de,dynamicChildren:le,shapeFlag:Ae,patchFlag:be,dirs:ke}=x;if(ue!=null&&I0(ue,null,O,x,!0),Ae&256){B.ctx.deactivate(x);return}const Ie=Ae&1&&ke,re=!Ya(x);let Le;if(re&&(Le=fe&&fe.onVnodeBeforeUnmount)&&fr(Le,B,x),Ae&6)He(x.component,O,Q);else{if(Ae&128){x.suspense.unmount(O,Q);return}Ie&&Tn(x,null,B,"beforeUnmount"),Ae&64?x.type.remove(x,B,O,W,Z,Q):le&&(ee!==we||be>0&&be&64)?Ke(le,B,O,!1,!0):(ee===we&&be&384||!W&&Ae&16)&&Ke(de,B,O),Q&&he(x)}(re&&(Le=fe&&fe.onVnodeUnmounted)||Ie)&&_1(()=>{Le&&fr(Le,B,x),Ie&&Tn(x,null,B,"unmounted")},O)},he=x=>{const{type:B,el:O,anchor:Q,transition:W}=x;if(B===we){$e(O,Q);return}if(B===Ka){k(x);return}const ee=()=>{o(O),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(x.shapeFlag&1&&W&&!W.persisted){const{leave:fe,delayLeave:ue}=W,de=()=>fe(O,ee);ue?ue(x.el,ee,de):de()}else ee()},$e=(x,B)=>{let O;for(;x!==B;)O=h(x),o(x),x=O;o(B)},He=(x,B,O)=>{const{bum:Q,scope:W,update:ee,subTree:fe,um:ue}=x;Q&&gs(Q),W.stop(),ee&&(ee.active=!1,ze(fe,x,B,O)),ue&&_1(ue,B),_1(()=>{x.isUnmounted=!0},B),B&&B.pendingBranch&&!B.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===B.pendingId&&(B.deps--,B.deps===0&&B.resolve())},Ke=(x,B,O,Q=!1,W=!1,ee=0)=>{for(let fe=ee;fex.shapeFlag&6?K(x.component.subTree):x.shapeFlag&128?x.suspense.next():h(x.anchor||x.el),j=(x,B,O)=>{x==null?B._vnode&&ze(B._vnode,null,null,!0):_(B._vnode||null,x,B,null,null,null,O),P5(),qu(),B._vnode=x},Z={p:_,um:ze,m:qe,r:he,mt:ie,mc:z,pc:ye,pbc:S,n:K,o:e};let q,ae;return t&&([q,ae]=t(Z)),{render:j,hydrate:q,createApp:Jm(j,q)}}function In({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function v8(e,t,r=!1){const n=e.children,o=t.children;if(Ve(n)&&Ve(o))for(let a=0;a>1,e[r[s]]0&&(t[n]=r[a-1]),r[a]=n)}}for(a=r.length,i=r[a-1];a-- >0;)r[a]=i,i=t[i];return r}const lv=e=>e.__isTeleport,we=Symbol.for("v-fgt"),Ul=Symbol.for("v-txt"),I1=Symbol.for("v-cmt"),Ka=Symbol.for("v-stc"),qa=[];let nr=null;function m(e=!1){qa.push(nr=e?null:[])}function cv(){qa.pop(),nr=qa[qa.length-1]||null}let gi=1;function q5(e){gi+=e}function g8(e){return e.dynamicChildren=gi>0?nr||Ho:null,cv(),gi>0&&nr&&nr.push(e),e}function M(e,t,r,n,o,a){return g8(p(e,t,r,n,o,a,!0))}function G(e,t,r,n,o){return g8(P(e,t,r,n,o,!0))}function Fs(e){return e?e.__v_isVNode===!0:!1}function jn(e,t){return e.type===t.type&&e.key===t.key}const jl="__vInternal",C8=({key:e})=>e??null,Cs=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?$t(e)||r1(e)||Xe(e)?{i:n1,r:e,k:t,f:!!r}:e:null);function p(e,t=null,r=null,n=0,o=null,a=e===we?0:1,i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&C8(t),ref:t&&Cs(t),scopeId:Zl,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:n1};return s?(S7(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=$t(r)?8:16),gi>0&&!i&&nr&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&nr.push(l),l}const P=uv;function uv(e,t=null,r=null,n=0,o=null,a=!1){if((!e||e===a8)&&(e=I1),Fs(e)){const s=qr(e,t,!0);return r&&S7(s,r),gi>0&&!a&&nr&&(s.shapeFlag&6?nr[nr.indexOf(e)]=s:nr.push(s)),s.patchFlag|=-2,s}if(yv(e)&&(e=e.__vccOpts),t){t=dv(t);let{class:s,style:l}=t;s&&!$t(s)&&(t.class=J(s)),Mt(l)&&(Ru(l)&&!Ve(l)&&(l=Nt({},l)),t.style=Ue(l))}const i=$t(e)?1:Dm(e)?128:lv(e)?64:Mt(e)?4:Xe(e)?2:0;return p(e,t,r,n,o,i,a,!0)}function dv(e){return e?Ru(e)||jl in e?Nt({},e):e:null}function qr(e,t,r=!1){const{props:n,ref:o,patchFlag:a,children:i}=e,s=t?Qe(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&C8(s),ref:t&&t.ref?r&&o?Ve(o)?o.concat(Cs(t)):[o,Cs(t)]:Cs(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qr(e.ssContent),ssFallback:e.ssFallback&&qr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function y(e=" ",t=0){return P(Ul,null,e,t)}function Li(e,t){const r=P(Ka,null,e);return r.staticCount=t,r}function I(e="",t=!1){return t?(m(),G(I1,null,e)):P(I1,null,e)}function br(e){return e==null||typeof e=="boolean"?P(I1):Ve(e)?P(we,null,e.slice()):typeof e=="object"?pn(e):P(Ul,null,String(e))}function pn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qr(e)}function S7(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Ve(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),S7(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(jl in t)?t._ctx=n1:o===3&&n1&&(n1.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Xe(t)?(t={default:t,_ctx:n1},r=32):(t=String(t),n&64?(r=16,t=[y(t)]):r=8);e.children=t,e.shapeFlag|=r}function Qe(...e){const t={};for(let r=0;rqt||n1;let E7,Co,W5="__VUE_INSTANCE_SETTERS__";(Co=M0()[W5])||(Co=M0()[W5]=[]),Co.push(e=>qt=e),E7=e=>{Co.length>1?Co.forEach(t=>t(e)):Co[0](e)};const qo=e=>{E7(e),e.scope.on()},to=()=>{qt&&qt.scope.off(),E7(null)};function y8(e){return e.vnode.shapeFlag&4}let Ci=!1;function mv(e,t=!1){Ci=t;const{props:r,children:n}=e.vnode,o=y8(e);ev(e,r,o,t),nv(e,n);const a=o?vv(e,t):void 0;return Ci=!1,a}function vv(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=zu(new Proxy(e.ctx,Ym));const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?w8(e):null;qo(e),la();const a=_n(n,e,0,[e.props,o]);if(ca(),to(),ku(a)){if(a.then(to,to),t)return a.then(i=>{Q5(e,i,t)}).catch(i=>{Nl(i,e,0)});e.asyncDep=a}else Q5(e,a,t)}else b8(e,t)}function Q5(e,t,r){Xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Mt(t)&&(e.setupState=Yu(t)),b8(e,r)}let X5;function b8(e,t,r){const n=e.type;if(!e.render){if(!t&&X5&&!n.render){const o=n.template||M7(e).template;if(o){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:l}=n,c=Nt(Nt({isCustomElement:a,delimiters:s},i),l);n.render=X5(o,c)}}e.render=n.render||or}qo(e),la(),Gm(e),ca(),to()}function gv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return S1(e,"get","$attrs"),t[r]}}))}function w8(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return gv(e)},slots:e.slots,emit:e.emit,expose:t}}function Yl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Yu(zu(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Ga)return Ga[r](e)},has(t,r){return r in t||r in Ga}}))}function Cv(e,t=!0){return Xe(e)?e.displayName||e.name:e.name||t&&e.__name}function yv(e){return Xe(e)&&"__vccOpts"in e}const A=(e,t)=>bm(e,t,Ci);function Ee(e,t,r){const n=arguments.length;return n===2?Mt(t)&&!Ve(t)?Fs(t)?P(e,null,[t]):P(e,t):P(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Fs(r)&&(r=[r]),P(e,t,r))}const bv=Symbol.for("v-scx"),wv=()=>x1(bv),_v="3.3.4",kv="http://www.w3.org/2000/svg",Yn=typeof document<"u"?document:null,J5=Yn&&Yn.createElement("template"),Mv={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t?Yn.createElementNS(kv,e):Yn.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Yn.createTextNode(e),createComment:e=>Yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,a){const i=r?r.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===a||!(o=o.nextSibling)););else{J5.innerHTML=n?`${e}`:e;const s=J5.content;if(n){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[i?i.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function xv(e,t,r){const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function Sv(e,t,r){const n=e.style,o=$t(r);if(r&&!o){if(t&&!$t(t))for(const a in t)r[a]==null&&O0(n,a,"");for(const a in r)O0(n,a,r[a])}else{const a=n.display;o?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=a)}}const e3=/\s*!important$/;function O0(e,t,r){if(Ve(r))r.forEach(n=>O0(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=Ev(e,t);e3.test(r)?e.setProperty(Ln(n),r.replace(e3,""),"important"):e[n]=r}}const t3=["Webkit","Moz","ms"],k2={};function Ev(e,t){const r=k2[t];if(r)return r;let n=xr(t);if(n!=="filter"&&n in e)return k2[t]=n;n=Vl(n);for(let o=0;oM2||(Tv.then(()=>M2=0),M2=Date.now());function Ov(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Y1(Vv(n,r.value),t,5,[n])};return r.value=e,r.attached=Iv(),r}function Vv(e,t){if(Ve(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const o3=/^on[a-z]/,Pv=(e,t,r,n,o=!1,a,i,s,l)=>{t==="class"?xv(e,n,o):t==="style"?Sv(e,r,n):Tl(t)?c7(t)||Dv(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Nv(e,t,n,o))?Lv(e,t,n,a,i,s,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Av(e,t,n,o))};function Nv(e,t,r,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&o3.test(t)&&Xe(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||o3.test(t)&&$t(r)?!1:t in e}function ua(e){const t=Bi();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>P0(a,o))},n=()=>{const o=e(t.proxy);V0(t.subTree,o),r(o)};Tm(n),Ct(()=>{const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),ur(()=>o.disconnect())})}function V0(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{V0(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)P0(e.el,t);else if(e.type===we)e.children.forEach(r=>V0(r,t));else if(e.type===Ka){let{el:r,anchor:n}=e;for(;r&&(P0(r,t),r!==n);)r=r.nextSibling}}function P0(e,t){if(e.nodeType===1){const r=e.style;for(const n in t)r.setProperty(`--${n}`,t[n])}}const nn="transition",Sa="animation",ao=(e,{slots:t})=>Ee(Vm,k8(e),t);ao.displayName="Transition";const _8={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},$v=ao.props=Nt({},t8,_8),On=(e,t=[])=>{Ve(e)?e.forEach(r=>r(...t)):e&&e(...t)},a3=e=>e?Ve(e)?e.some(t=>t.length>1):e.length>1:!1;function k8(e){const t={};for(const V in e)V in _8||(t[V]=e[V]);if(e.css===!1)return t;const{name:r="v",type:n,duration:o,enterFromClass:a=`${r}-enter-from`,enterActiveClass:i=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=a,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=e,C=Zv(o),_=C&&C[0],g=C&&C[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:v,onLeave:k,onLeaveCancelled:T,onBeforeAppear:$=b,onAppear:N=w,onAppearCancelled:z=v}=t,D=(V,U,ie)=>{hn(V,U?u:s),hn(V,U?c:i),ie&&ie()},S=(V,U)=>{V._isLeaving=!1,hn(V,d),hn(V,f),hn(V,h),U&&U()},R=V=>(U,ie)=>{const se=V?N:w,ce=()=>D(U,V,ie);On(se,[U,ce]),i3(()=>{hn(U,V?l:a),Pr(U,V?u:s),a3(se)||s3(U,n,_,ce)})};return Nt(t,{onBeforeEnter(V){On(b,[V]),Pr(V,a),Pr(V,i)},onBeforeAppear(V){On($,[V]),Pr(V,l),Pr(V,c)},onEnter:R(!1),onAppear:R(!0),onLeave(V,U){V._isLeaving=!0;const ie=()=>S(V,U);Pr(V,d),x8(),Pr(V,h),i3(()=>{V._isLeaving&&(hn(V,d),Pr(V,f),a3(k)||s3(V,n,g,ie))}),On(k,[V,ie])},onEnterCancelled(V){D(V,!1),On(v,[V])},onAppearCancelled(V){D(V,!0),On(z,[V])},onLeaveCancelled(V){S(V),On(T,[V])}})}function Zv(e){if(e==null)return null;if(Mt(e))return[x2(e.enter),x2(e.leave)];{const t=x2(e);return[t,t]}}function x2(e){return Bp(e)}function Pr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e._vtc||(e._vtc=new Set)).add(t)}function hn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const{_vtc:r}=e;r&&(r.delete(t),r.size||(e._vtc=void 0))}function i3(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Rv=0;function s3(e,t,r,n){const o=e._endId=++Rv,a=()=>{o===e._endId&&n()};if(r)return setTimeout(a,r);const{type:i,timeout:s,propCount:l}=M8(e,t);if(!i)return n();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,h),a()},h=f=>{f.target===e&&++u>=l&&d()};setTimeout(()=>{u(r[C]||"").split(", "),o=n(`${nn}Delay`),a=n(`${nn}Duration`),i=l3(o,a),s=n(`${Sa}Delay`),l=n(`${Sa}Duration`),c=l3(s,l);let u=null,d=0,h=0;t===nn?i>0&&(u=nn,d=i,h=a.length):t===Sa?c>0&&(u=Sa,d=c,h=l.length):(d=Math.max(i,c),u=d>0?i>c?nn:Sa:null,h=u?u===nn?a.length:l.length:0);const f=u===nn&&/\b(transform|all)(,|$)/.test(n(`${nn}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:f}}function l3(e,t){for(;e.lengthc3(r)+c3(e[n])))}function c3(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function x8(){return document.body.offsetHeight}const S8=new WeakMap,E8=new WeakMap,A8={name:"TransitionGroup",props:Nt({},$v,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Bi(),n=e8();let o,a;return o8(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Gv(o[0].el,r.vnode.el,i))return;o.forEach(Uv),o.forEach(jv);const s=o.filter(Yv);x8(),s.forEach(l=>{const c=l.el,u=c.style;Pr(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const d=c._moveCb=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",d),c._moveCb=null,hn(c,i))};c.addEventListener("transitionend",d)})}),()=>{const i=it(e),s=k8(i);let l=i.tag||we;o=a,a=t.default?_7(t.default()):[];for(let c=0;cdelete e.mode;A8.props;const Fv=A8;function Uv(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function jv(e){E8.set(e,e.el.getBoundingClientRect())}function Yv(e){const t=S8.get(e),r=E8.get(e),n=t.left-r.left,o=t.top-r.top;if(n||o){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${n}px,${o}px)`,a.transitionDuration="0s",e}}function Gv(e,t,r){const n=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(s=>s&&n.classList.remove(s))}),r.split(/\s+/).forEach(i=>i&&n.classList.add(i)),n.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(n);const{hasTransform:a}=M8(n);return o.removeChild(n),a}const u3=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ve(t)?r=>gs(t,r):t};function Kv(e){e.target.composing=!0}function d3(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const qv={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e._assign=u3(o);const a=n||o.props&&o.props.type==="number";ko(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;r&&(s=s.trim()),a&&(s=k0(s)),e._assign(s)}),r&&ko(e,"change",()=>{e.value=e.value.trim()}),t||(ko(e,"compositionstart",Kv),ko(e,"compositionend",d3),ko(e,"change",d3))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:o}},a){if(e._assign=u3(a),e.composing||document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===t||(o||e.type==="number")&&k0(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},Wv=["ctrl","shift","alt","meta"],Qv={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Wv.some(r=>e[`${r}Key`]&&!t.includes(r))},Tt=(e,t)=>(r,...n)=>{for(let o=0;or=>{if(!("key"in r))return;const n=Ln(r.key);if(t.some(o=>o===n||Xv[o]===n))return e(r)},N0={beforeMount(e,{value:t},{transition:r}){e._vod=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Ea(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Ea(e,!0),n.enter(e)):n.leave(e,()=>{Ea(e,!1)}):Ea(e,t))},beforeUnmount(e,{value:t}){Ea(e,t)}};function Ea(e,t){e.style.display=t?e._vod:"none"}const Jv=Nt({patchProp:Pv},Mv);let h3;function eg(){return h3||(h3=av(Jv))}const L8=(...e)=>{const t=eg().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=tg(n);if(!o)return;const a=t._component;!Xe(a)&&!a.render&&!a.template&&(a.template=o.innerHTML),o.innerHTML="";const i=r(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function tg(e){return $t(e)?document.querySelector(e):e}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT @@ -551,7 +551,7 @@ For more details see https://formatjs.io/docs/getting-started/message-distributi Get started `)]),_:1})])])]),_:1})])):I("",!0)],64)):I("",!0)]),_:2},1032,["src"])):I("",!0)]),_:1}))}});const B1e=Xt(L1e,[["__scopeId","data-v-b6afaaa8"]]),D1e=["data-testid"],H1e=X({__name:"AppNavItem",props:{name:{type:String,required:!0},routeName:{type:String,required:!0},anchorRouteName:{type:String,required:!1,default:""}},setup(e){const t=e,r=Xte(),n=ql(),o=A(()=>({name:t.routeName})),a=A(()=>!!(t.routeName===n.name||t.anchorRouteName!==""&&n.matched.some(l=>l.name===t.anchorRouteName)));function i(){r.info(SX.SIDEBAR_ITEM_CLICKED,{data:o.value})}return(s,l)=>{const c=Qt("router-link");return m(),M("div",{class:J(["nav-item",{[`nav-item-${t.routeName}`]:t.routeName!==""}]),"data-testid":t.routeName||void 0},[P(c,{class:J(["nav-link",{"nav-link--is-active":a.value}]),to:o.value,onClick:i},{default:E(()=>[y(H(e.name),1)]),_:1},8,["class","to"])],10,D1e)}}});const T1e=Xt(H1e,[["__scopeId","data-v-d031dd86"]]),I1e={class:"app-sidebar-wrapper"},O1e={class:"app-sidebar"},V1e=X({__name:"AppSidebar",setup(e){const t=Wte();return(r,n)=>(m(),M("div",I1e,[p("aside",O1e,[(m(!0),M(we,null,tt(L(t),(o,a)=>(m(),G(T1e,{key:a,name:o.name,"route-name":o.routeName,"anchor-route-name":o.anchorRouteName},null,8,["name","route-name","anchor-route-name"]))),128))])]))}});const P1e=Xt(V1e,[["__scopeId","data-v-860dbcaf"]]),N1e=""+new URL("product-logo-7a2ca341.png",import.meta.url).href,$1e=["alt"],Z1e=X({__name:"KumaLogo",setup(e){const{t}=Rt();return(r,n)=>(m(),M("img",{src:N1e,alt:`${L(t)("common.product.name")} Logo`},null,8,$1e))}});const R1e=Xt(Z1e,[["__scopeId","data-v-e4708f26"]]),z1e=""+new URL("icon-location-on-642f061f.svg",import.meta.url).href,F1e=""+new URL("icon-circles-ext-6b19ab51.svg",import.meta.url).href,tf=""+new URL("icon-wifi-tethering-02725ea9.svg",import.meta.url).href,U1e=["href"],j1e=X({__name:"DocumentationLink",props:{href:{}},setup(e){const t=e,{t:r}=Rt();return(n,o)=>(m(),M("a",{class:"docs-link",href:t.href,target:"_blank"},[P(L(fee),{size:L(sa),title:L(r)("common.documentation")},null,8,["size","title"]),y(),p("span",null,[F(n.$slots,"default",{},()=>[y(H(L(r)("common.documentation")),1)],!0)])],8,U1e))}});const Y1e=Xt(j1e,[["__scopeId","data-v-1e7645ce"]]),G1e=X({__name:"EmptyBlock",setup(e){const{t}=Rt();return(r,n)=>(m(),G(L(An),{"data-testid":"empty-state","cta-is-hidden":"",icon:L(t)("common.emptyState.icon"),"icon-size":"96"},ar({title:E(()=>[F(r.$slots,"title",{},()=>[p("p",null,[F(r.$slots,"default",{},()=>[y(H(L(t)("common.emptyState.title")),1)])])])]),_:2},[r.$slots.message?{name:"message",fn:E(()=>[F(r.$slots,"message")]),key:"0"}:void 0,r.$slots.cta?{name:"cta",fn:E(()=>[F(r.$slots,"cta")]),key:"1"}:void 0]),1032,["icon"]))}}),K1e={key:0,class:"app-collection-toolbar"},lu=5,q1e=X({__name:"AppCollection",props:{isSelectedRow:{type:[Function,null],default:null},total:{default:0},pageNumber:{default:1},pageSize:{default:30},items:{},headers:{},error:{default:void 0},emptyStateTitle:{default:void 0},emptyStateMessage:{default:void 0},emptyStateCtaTo:{default:void 0},emptyStateCtaText:{default:void 0}},emits:["change"],setup(e,{emit:t}){const r=e,{t:n}=Rt(),o=It(),a=Y(r.items),i=Y(0),s=Y(0),l=Y(r.pageNumber),c=Y(r.pageSize),u=A(()=>{const f=r.headers.filter(g=>["warnings","actions"].includes(g.key));if(f.length>4)return"initial";const C=100-f.length*lu,_=r.headers.length-f.length;return`calc(${C}% / ${_})`});De(()=>r.items,(f,C)=>{f!==C&&(i.value++,a.value=r.items)}),De(()=>r.pageNumber,function(){r.pageNumber!==l.value&&s.value++});function d(f){if(!f)return{};const C={};return r.isSelectedRow!==null&&r.isSelectedRow(f)&&(C.class="is-selected"),C}const h=f=>{const C=f.target.closest("tr");if(C){const _=C.querySelector("a");_!==null&&_.click()}};return(f,C)=>{var _;return m(),G(L(dh),{key:s.value,class:"app-collection",style:Ue(`--column-width: ${u.value}; --special-column-width: ${lu}%;`),"has-error":typeof r.error<"u","pagination-total-items":r.total,"initial-fetcher-params":{page:r.pageNumber,pageSize:r.pageSize},headers:r.headers,"fetcher-cache-key":String(i.value),fetcher:({page:g,pageSize:b,query:w})=>{const v={};return l.value!==g&&(v.page=g),c.value!==b&&(v.size=b),l.value=g,c.value=b,Object.keys(v).length>0&&t("change",v),{data:a.value}},"cell-attrs":({headerKey:g})=>({class:`${g}-column`}),"row-attrs":d,"disable-sorting":"","hide-pagination-when-optional":"","onRow:click":h},ar({_:2},[((_=r.items)==null?void 0:_.length)===0?{name:"empty-state",fn:E(()=>[P(G1e,null,ar({default:E(()=>[y(H(r.emptyStateTitle??L(n)("common.emptyState.title"))+" ",1),y()]),_:2},[r.emptyStateMessage?{name:"message",fn:E(()=>[y(H(r.emptyStateMessage),1)]),key:"0"}:void 0,r.emptyStateCtaTo?{name:"cta",fn:E(()=>[typeof r.emptyStateCtaTo=="string"?(m(),G(Y1e,{key:0,href:r.emptyStateCtaTo},{default:E(()=>[y(H(r.emptyStateCtaText),1)]),_:1},8,["href"])):(m(),G(L(Fe),{key:1,appearance:"primary",to:r.emptyStateCtaTo},{default:E(()=>[P(L(Qh),{size:L(sa)},null,8,["size"]),y(" "+H(r.emptyStateCtaText),1)]),_:1},8,["to"]))]),key:"1"}:void 0]),1024)]),key:"0"}:void 0,tt(Object.keys(L(o)),g=>({name:g,fn:E(({row:b,rowValue:w})=>[g==="toolbar"?(m(),M("div",K1e,[F(f.$slots,"toolbar",{},void 0,!0)])):F(f.$slots,g,{key:1,row:b,rowValue:w},void 0,!0)])}))]),1032,["style","has-error","pagination-total-items","initial-fetcher-params","headers","fetcher-cache-key","fetcher","cell-attrs"])}}});const rf=Xt(q1e,[["__scopeId","data-v-fb54119d"]]),W1e=X({__name:"MeshesDetails",props:{meshInsights:{type:Array,required:!0}},setup(e){const t=e,{t:r}=Rt(),n=A(()=>t.meshInsights.map(o=>{const{name:a,services:i,dataplanesByType:s}=o;return{name:a,services:i.internal??0,dataPlaneProxies:`${s.standard.online??0}/${s.standard.total??0}`}}));return(o,a)=>{const i=Qt("RouterLink");return m(),G(rf,{class:"mesh-preview-collection","data-testid":"mesh-preview-collection",headers:[{label:L(r)("main-overview.detail.meshes.table.name"),key:"name"},{label:L(r)("main-overview.detail.meshes.table.services"),key:"services"},{label:L(r)("main-overview.detail.meshes.table.data_plane_proxies"),key:"dataPlaneProxies"}],items:n.value,total:n.value.length,"empty-state-message":L(r)("common.emptyState.message",{type:"Meshes"}),"empty-state-cta-to":L(r)("meshes.href.docs"),"empty-state-cta-text":L(r)("common.documentation")},{name:E(({rowValue:s})=>[P(i,{to:{name:"mesh-detail-view",params:{mesh:s}}},{default:E(()=>[y(H(s),1)]),_:2},1032,["to"])]),_:1},8,["headers","items","total","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),Q1e=X({__name:"StatusBadge",props:{status:{type:String,required:!0}},setup(e){const t=e,r=Rt(),n={online:"success",offline:"danger",partially_degraded:"warning",not_available:"neutral",disabled:"neutral"};return(o,a)=>(m(),G(L(j1),{class:"status",appearance:n[t.status],"data-testid":"status-badge"},{default:E(()=>[y(H(L(r).t(`http.api.value.${t.status}`)),1)]),_:1},8,["appearance"]))}});const X1e=Xt(Q1e,[["__scopeId","data-v-914b11e9"]]);function bl(e,t,r=void 0){if(typeof e!="object"||Array.isArray(e)||Array.isArray(t)&&t.length===0)return r;const n=Array.isArray(t)?t:t.split(".");if(n.length===1){const o=e[n[0]];return o===void 0?r:o}return bl(e[n[0]],n.slice(1),r)}function Tse(e){var r;const t=((r=e.zoneInsight)==null?void 0:r.subscriptions)??[];if(t.length>0){const n=t[t.length-1];if(n.config){const o=JSON.parse(n.config);return bl(o,"dpServer.auth.type","")}}return""}function J1e(e){var n,o;if(e.zone.enabled===!1)return"disabled";const t=((n=e.zoneInsight)==null?void 0:n.subscriptions)??[];if(t.length===0)return"offline";const r=t[t.length-1];return(o=r.connectTime)!=null&&o.length&&!r.disconnectTime?"online":"offline"}function Ise(e){var t;for(const r of((t=e.zoneInsight)==null?void 0:t.subscriptions)??[])if(r.config)return JSON.parse(r.config).environment;return""}const ere=X({__name:"ZoneControlPlanesDetails",props:{zoneOverviews:{type:Array,required:!0}},setup(e){const t=e,{t:r}=Rt(),n=S5(),o=A(()=>t.zoneOverviews.map(a=>{const{name:i}=a,s=J1e(a);return{name:i,status:s}}));return(a,i)=>{const s=Qt("RouterLink");return m(),G(rf,{class:"zone-cp-preview-collection","data-testid":"zone-cp-preview-collection",headers:[{label:L(r)("main-overview.detail.zone_control_planes.table.name"),key:"name"},{label:L(r)("main-overview.detail.zone_control_planes.table.status"),key:"status"}],items:o.value,total:o.value.length,"empty-state-title":L(r)("zone-cps.empty_state.title"),"empty-state-message":L(n)("create zones")?L(r)("zone-cps.empty_state.message"):L(r)("common.emptyState.message",{type:"Zones"}),"empty-state-cta-to":L(n)("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":L(r)("zones.index.create")},{name:E(({rowValue:l})=>[P(s,{to:{name:"zone-cp-detail-view",params:{zone:l}}},{default:E(()=>[y(H(l),1)]),_:2},1032,["to"])]),status:E(({rowValue:l})=>[l?(m(),G(X1e,{key:0,status:l},null,8,["status"])):(m(),M(we,{key:1},[y(H(L(r)("common.collection.none")),1)],64))]),_:1},8,["headers","items","total","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),tre={class:"visually-hidden"},rre={inheritAttrs:!1},nre=X({...rre,__name:"CopyButton",props:{text:{type:String,required:!1,default:""},getText:{type:Function,required:!1,default:null},copyText:{type:String,required:!1,default:"Copy"},tooltipSuccessText:{type:String,required:!1,default:"Copied code!"},tooltipFailText:{type:String,required:!1,default:"Failed to copy!"},hasBorder:{type:Boolean,default:!1},hideTitle:{type:Boolean,default:!1}},setup(e){const t=e;async function r(n,o){const a=n.currentTarget;let i=!1;try{const s=t.getText?await t.getText():t.text;i=await o(s)}catch{i=!1}finally{const s=i?t.tooltipSuccessText:t.tooltipFailText;a instanceof HTMLButtonElement&&(a.setAttribute("data-tooltip-copy-success",String(i)),a.setAttribute("data-tooltip-text",s),window.setTimeout(function(){a instanceof HTMLButtonElement&&a.removeAttribute("data-tooltip-text")},1500))}}return(n,o)=>(m(),G(L(R8),null,{default:E(({copyToClipboard:a})=>[P(L(Fe),Qe(n.$attrs,{appearance:"outline",class:["copy-button",{"non-visual-button":!t.hasBorder}],"data-testid":"copy-button","is-rounded":!1,size:"small",title:t.hideTitle?void 0:t.copyText,type:"button",onClick:i=>r(i,a)}),{default:E(()=>[P(L(Oe),{color:"currentColor",icon:"copy",size:L(sa),title:t.hideTitle?void 0:t.copyText,"hide-title":t.hideTitle},null,8,["size","title","hide-title"]),y(),F(n.$slots,"default",{},()=>[p("span",tre,H(t.copyText),1)],!0)]),_:2},1040,["class","title","onClick"])]),_:3}))}});const ore=Xt(nre,[["__scopeId","data-v-ccab109b"]]),are={class:"copy-button-wrapper"},ire={class:"text"},sre=X({__name:"TextWithCopyButton",props:{text:{type:String,required:!0}},setup(e){const t=e,r=Rt();return(n,o)=>(m(),M("div",are,[p("span",ire,[F(n.$slots,"default",{},()=>[y(H(t.text),1)],!0)]),y(),P(ore,{text:t.text,"copy-text":L(r).t("common.copyText"),"tooltip-success-text":L(r).t("common.copySuccessText")},null,8,["text","copy-text","tooltip-success-text"])]))}});const lre=Xt(sre,[["__scopeId","data-v-d9bd773a"]]),cre=X({__name:"WarningIcon",props:{size:{default:""},hideTitle:{type:Boolean,default:!1}},setup(e){const t=e;return(r,n)=>(m(),G(L(Ute),{color:"var(--WarningIconBackground, currentColor)",display:"inline-block",size:t.size||L(Kte),"hide-title":t.hideTitle},null,8,["size","hide-title"]))}});class Ds extends Error{constructor({status:r,type:n=null,title:o,detail:a=null,instance:i=null,invalidParameters:s=[]}){super(o);mt(this,"status");mt(this,"type");mt(this,"title");mt(this,"detail");mt(this,"instance");mt(this,"invalidParameters");this.name="ApiError",this.status=r,this.type=n,this.title=o,this.detail=a,this.instance=i,this.invalidParameters=s}toJSON(){return{status:this.status,type:this.type,title:this.title,detail:this.detail,instance:this.instance,invalidParameters:this.invalidParameters}}}const ure={"data-testid":"error-state",class:"error-block"},dre={class:"error-block-header"},hre={class:"error-block-title"},fre={key:0,class:"badge-list"},pre={class:"error-block-message"},mre={key:1},vre={key:2,"data-testid":"error-invalid-parameters"},gre=X({__name:"ErrorBlock",props:{error:{type:Error,required:!0},badgeAppearance:{type:String,required:!1,default:"warning"}},setup(e){const t=e,{t:r}=Rt(),n=A(()=>t.error instanceof Ds?t.error.invalidParameters:[]);return(o,a)=>(m(),M("div",ure,[P(L(An),{"cta-is-hidden":""},{title:E(()=>[p("div",dre,[p("div",hre,[P(cre,{display:"inline-block",size:L(Gte)},null,8,["size"]),y(),F(o.$slots,"default",{},()=>[p("p",null,H(e.error instanceof L(Ds)?e.error.detail:L(r)("common.error_state.title")),1)],!0)]),y(),e.error instanceof L(Ds)?(m(),M("span",fre,[P(L(j1),{appearance:t.badgeAppearance,"data-testid":"error-status"},{default:E(()=>[y(H(e.error.status),1)]),_:1},8,["appearance"]),y(),e.error.type?(m(),G(L(j1),{key:0,appearance:"neutral","data-testid":"error-type"},{default:E(()=>[y(` type: `+H(e.error.type),1)]),_:1})):I("",!0),y(),e.error.instance?(m(),G(L(j1),{key:1,appearance:"neutral","data-testid":"error-trace"},{default:E(()=>[y(` - trace: `),P(lre,{text:e.error.instance},null,8,["text"])]),_:1})):I("",!0)])):I("",!0)])]),message:E(()=>[p("div",pre,[o.$slots.message?F(o.$slots,"message",{key:0},void 0,!0):(m(),M("p",mre,H(e.error.message),1)),y(),n.value.length>0?(m(),M("ul",vre,[(m(!0),M(we,null,tt(n.value,(i,s)=>(m(),M("li",{key:s},[y(H(L(r)("common.error_state.field"))+" ",1),p("b",null,[p("code",null,H(i.field),1)]),y(": "+H(i.reason),1)]))),128))])):I("",!0)])]),_:3})]))}});const y0=Xt(gre,[["__scopeId","data-v-3aafad7e"]]),Cre=p("p",null,"Loading data …",-1),b0=X({__name:"LoadingBlock",setup(e){return(t,r)=>(m(),G(L(An),{"cta-is-hidden":"","data-testid":"loading-block"},{title:E(()=>[P(L(Tte),{class:"mb-3",color:L(Yte)},null,8,["color"]),y(),F(t.$slots,"default",{},()=>[Cre])]),_:3}))}});const yre={},bre={class:"definition-card"},wre={class:"definition-card-title"},_re={class:"definition-card-container"};function kre(e,t){return m(),M("div",bre,[p("div",wre,[F(e.$slots,"icon",{},void 0,!0),y(),F(e.$slots,"title",{},void 0,!0)]),y(),p("div",_re,[F(e.$slots,"body",{},void 0,!0)])])}const Hs=Xt(yre,[["render",kre],["__scopeId","data-v-d55dbf1c"]]),Mre={class:"status"},xre={key:1,class:"status-separator"},Sre={class:"status-total"},Ere=X({__name:"ResourceStatus",props:{total:{},online:{default:null}},setup(e){const t=e,r=A(()=>{if(t.online!==null){const n=t.online/t.total;if(n<=.5)return"danger";if(n<1)return"warning"}return null});return(n,o)=>(m(),G(Hs,null,ar({title:E(()=>[F(n.$slots,"title",{},void 0,!0)]),body:E(()=>[p("div",Mre,[t.online!==null?(m(),M("span",{key:0,class:J(["status-online",{[`status-online--${r.value}`]:r.value!==null}])},H(t.online),3)):I("",!0),t.online!==null?(m(),M("span",xre,"/")):I("",!0),p("span",Sre,H(t.total),1)])]),_:2},[n.$slots.icon?{name:"icon",fn:E(()=>[F(n.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0]),1024))}});const Wn=Xt(Ere,[["__scopeId","data-v-1c7759a5"]]),g2=e=>(st("data-v-4668dce5"),e=e(),lt(),e),Are={class:"stack","data-testid":"detail-view-details"},Lre={class:"card-header"},Bre={class:"card-title"},Dre=g2(()=>p("img",{src:z1e},null,-1)),Hre=g2(()=>p("img",{src:F1e},null,-1)),Tre=g2(()=>p("img",{src:tf},null,-1)),Ire=g2(()=>p("img",{src:tf},null,-1)),Ore={class:"variable-columns"},Vre={class:"card-header"},Pre={class:"card-title"},Nre={key:0,class:"card-actions"},$re={class:"card-header"},Zre={class:"card-title"},Rre=X({__name:"MainOverview",setup(e){const{t}=Rt(),r=S5();return(n,o)=>{const a=Qt("RouterLink"),i=Qt("KButton");return m(),M("div",Are,[P(L(ro),null,{body:E(()=>[P(No,{src:"/global-insight"},{default:E(({data:s,error:l})=>[l?(m(),G(y0,{key:0,error:l},null,8,["error"])):s===void 0?(m(),G(b0,{key:1})):(m(),M(we,{key:2},[p("div",Lre,[p("div",Bre,[p("h2",null,H(L(t)("main-overview.detail.health.title")),1)])]),y(),p("div",{class:"columns",style:Ue(`--columns: ${L(r)("use zones")?4:3};`)},[L(r)("use zones")?(m(),G(Wn,{key:0,total:s.zones.controlPlanes.total,online:s.zones.controlPlanes.online,"data-testid":"zone-control-planes-status"},{icon:E(()=>[Dre]),title:E(()=>[y(H(L(t)("main-overview.detail.health.zone_control_planes")),1)]),_:2},1032,["total","online"])):I("",!0),y(),P(Wn,{total:s.meshes.total,"data-testid":"meshes-status"},{icon:E(()=>[Hre]),title:E(()=>[y(H(L(t)("main-overview.detail.health.meshes")),1)]),_:2},1032,["total"]),y(),P(Wn,{total:s.services.internal.total,online:s.services.internal.online,"data-testid":"services-status"},{icon:E(()=>[Tre]),title:E(()=>[y(H(L(t)("main-overview.detail.health.services")),1)]),_:2},1032,["total","online"]),y(),P(Wn,{total:s.dataplanes.standard.total,online:s.dataplanes.standard.online,"data-testid":"data-plane-proxies-status"},{icon:E(()=>[Ire]),title:E(()=>[y(H(L(t)("main-overview.detail.health.data_plane_proxies")),1)]),_:2},1032,["total","online"])],4)],64))]),_:1})]),_:1}),y(),p("div",Ore,[L(r)("use zones")?(m(),G(L(ro),{key:0},{body:E(()=>[P(No,{src:"/zone-cps?page=1&size=10"},{default:E(({data:s,error:l})=>[l?(m(),G(y0,{key:0,error:l},null,8,["error"])):s===void 0?(m(),G(b0,{key:1})):(m(),M(we,{key:2},[p("div",Vre,[p("div",Pre,[p("h2",null,H(L(t)("main-overview.detail.zone_control_planes.title")),1),y(),P(a,{to:{name:"zone-cp-list-view"}},{default:E(()=>[y(H(L(t)("main-overview.detail.health.view_all")),1)]),_:1})]),y(),L(r)("create zones")&&s.items.length>0?(m(),M("div",Nre,[P(i,{appearance:"primary",to:{name:"zone-create-view"}},{default:E(()=>[P(L(Qh),{size:L(sa)},null,8,["size"]),y(" "+H(L(t)("zones.index.create")),1)]),_:1})])):I("",!0)]),y(),P(ere,{"data-testid":"zone-control-planes-details","zone-overviews":s.items},null,8,["zone-overviews"])],64))]),_:1})]),_:1})):I("",!0),y(),P(L(ro),null,{body:E(()=>[P(No,{src:"/mesh-insights?page=1&size=10"},{default:E(({data:s,error:l})=>[l?(m(),G(y0,{key:0,error:l},null,8,["error"])):s===void 0?(m(),G(b0,{key:1})):(m(),M(we,{key:2},[p("div",$re,[p("div",Zre,[p("h2",null,H(L(t)("main-overview.detail.meshes.title")),1),y(),P(a,{to:{name:"mesh-list-view"}},{default:E(()=>[y(H(L(t)("main-overview.detail.health.view_all")),1)]),_:1})])]),y(),P(W1e,{"data-testid":"meshes-details","mesh-insights":s.items},null,8,["mesh-insights"])],64))]),_:1})]),_:1})])])}}});const zre=Xt(Rre,[["__scopeId","data-v-4668dce5"]]),Fre={class:"stack"},Ure={class:"columns",style:{"--columns":"3"}},jre={class:"columns",style:{"--columns":"3"}},Yre=X({__name:"MeshDetails",props:{mesh:{type:Object,required:!0},meshInsight:{type:[Object],required:!1,default:void 0}},setup(e){const t=e,{t:r}=Rt(),n=A(()=>i(t.mesh.mtls)),o=A(()=>i(t.mesh.metrics)),a=A(()=>{var s;return Object.values(((s=t.meshInsight)==null?void 0:s.policies)??{}).reduce((l,c)=>l+c.total,0)});function i(s){if(s!=null&&s.enabledBackend&&Array.isArray(s.backends)){const l=s.backends.find(c=>c.name===s.enabledBackend);if(l!==void 0)return`${l.type} / ${l.name}`}return""}return(s,l)=>(m(),G(L(ro),null,{body:E(()=>{var c,u;return[p("div",Fre,[p("div",Ure,[P(Wn,{total:((c=t.meshInsight)==null?void 0:c.services.total)??0,"data-testid":"services-status"},{title:E(()=>[y(H(L(r)("meshes.detail.services")),1)]),_:1},8,["total"]),y(),P(Wn,{total:((u=t.meshInsight)==null?void 0:u.dataplanesByType.standard.total)??0,"data-testid":"data-plane-proxies-status"},{title:E(()=>[y(H(L(r)("meshes.detail.data_plane_proxies")),1)]),_:1},8,["total"]),y(),P(Wn,{total:a.value,"data-testid":"policies-status"},{title:E(()=>[y(H(L(r)("meshes.detail.policies")),1)]),_:1},8,["total"])]),y(),p("div",jre,[P(Hs,null,{title:E(()=>[y(H(L(r)("http.api.property.mtls")),1)]),body:E(()=>[n.value===""?(m(),G(L(j1),{key:0,appearance:"neutral"},{default:E(()=>[y(H(L(r)("meshes.detail.disabled")),1)]),_:1})):(m(),M(we,{key:1},[y(H(n.value),1)],64))]),_:1}),y(),P(Hs,null,{title:E(()=>[y(H(L(r)("http.api.property.metrics")),1)]),body:E(()=>[o.value===""?(m(),G(L(j1),{key:0,appearance:"neutral"},{default:E(()=>[y(H(L(r)("meshes.detail.disabled")),1)]),_:1})):(m(),M(we,{key:1},[y(H(o.value),1)],64))]),_:1}),y(),P(Hs,null,{title:E(()=>[y(H(L(r)("http.api.property.zoneEgress")),1)]),body:E(()=>[P(L(j1),{appearance:"neutral"},{default:E(()=>{var d;return[y(H(L(r)(`meshes.detail.${(d=t.mesh.routing)!=null&&d.zoneEgress?"enabled":"disabled"}`)),1)]}),_:1})]),_:1})])])]}),_:1}))}}),Gre={width:"794",height:"181",viewBox:"0 0 794 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Kre=p("path",{d:"M664.743 139.274L663.48 140.633V144H661.052V132.216H663.48V137.558L664.548 136.093L667.551 132.216H670.537L666.353 137.453L670.659 144H667.769L664.743 139.274ZM677.745 143.11C677.167 143.811 676.369 144.162 675.349 144.162C674.41 144.162 673.693 143.892 673.196 143.353C672.705 142.813 672.454 142.023 672.444 140.981V135.243H674.782V140.9C674.782 141.812 675.198 142.268 676.029 142.268C676.822 142.268 677.367 141.993 677.664 141.443V135.243H680.011V144H677.809L677.745 143.11ZM690.941 139.703C690.941 141.105 690.641 142.201 690.042 142.988C689.443 143.771 688.607 144.162 687.533 144.162C686.584 144.162 685.826 143.798 685.259 143.069L685.154 144H683.05V131.569H685.389V136.028C685.928 135.397 686.638 135.081 687.517 135.081C688.586 135.081 689.422 135.475 690.026 136.263C690.636 137.045 690.941 138.149 690.941 139.573V139.703ZM688.602 139.533C688.602 138.648 688.461 138.003 688.181 137.598C687.9 137.188 687.482 136.983 686.926 136.983C686.182 136.983 685.669 137.288 685.389 137.898V141.354C685.675 141.969 686.193 142.276 686.943 142.276C687.698 142.276 688.194 141.904 688.432 141.159C688.545 140.803 688.602 140.261 688.602 139.533ZM697.695 144.162C696.411 144.162 695.364 143.768 694.555 142.98C693.751 142.193 693.349 141.143 693.349 139.832V139.605C693.349 138.726 693.519 137.941 693.859 137.25C694.198 136.554 694.679 136.02 695.299 135.648C695.925 135.27 696.637 135.081 697.436 135.081C698.634 135.081 699.575 135.459 700.26 136.214C700.951 136.97 701.296 138.041 701.296 139.427V140.382H695.72C695.796 140.954 696.022 141.413 696.4 141.758C696.783 142.104 697.266 142.276 697.848 142.276C698.75 142.276 699.454 141.95 699.961 141.297L701.11 142.584C700.759 143.08 700.285 143.469 699.686 143.749C699.087 144.024 698.423 144.162 697.695 144.162ZM697.428 136.975C696.964 136.975 696.586 137.132 696.295 137.445C696.009 137.758 695.825 138.205 695.744 138.788H698.998V138.602C698.987 138.084 698.847 137.685 698.577 137.404C698.307 137.118 697.924 136.975 697.428 136.975ZM708.827 137.436C708.509 137.393 708.228 137.372 707.985 137.372C707.101 137.372 706.521 137.671 706.245 138.27V144H703.906V135.243H706.116L706.181 136.287C706.65 135.483 707.3 135.081 708.131 135.081C708.39 135.081 708.633 135.116 708.859 135.187L708.827 137.436ZM713.388 135.243L713.461 136.255C714.087 135.473 714.926 135.081 715.978 135.081C716.906 135.081 717.596 135.354 718.05 135.899C718.503 136.444 718.735 137.258 718.746 138.343V144H716.407V138.4C716.407 137.903 716.299 137.544 716.083 137.323C715.867 137.097 715.508 136.983 715.007 136.983C714.348 136.983 713.855 137.264 713.525 137.825V144H711.187V135.243H713.388ZM725.831 144.162C724.547 144.162 723.501 143.768 722.691 142.98C721.887 142.193 721.485 141.143 721.485 139.832V139.605C721.485 138.726 721.655 137.941 721.995 137.25C722.335 136.554 722.815 136.02 723.436 135.648C724.062 135.27 724.774 135.081 725.572 135.081C726.77 135.081 727.712 135.459 728.397 136.214C729.088 136.97 729.433 138.041 729.433 139.427V140.382H723.857C723.932 140.954 724.159 141.413 724.536 141.758C724.92 142.104 725.402 142.276 725.985 142.276C726.886 142.276 727.59 141.95 728.097 141.297L729.247 142.584C728.896 143.08 728.421 143.469 727.822 143.749C727.223 144.024 726.56 144.162 725.831 144.162ZM725.564 136.975C725.1 136.975 724.723 137.132 724.431 137.445C724.145 137.758 723.962 138.205 723.881 138.788H727.134V138.602C727.124 138.084 726.983 137.685 726.714 137.404C726.444 137.118 726.061 136.975 725.564 136.975ZM734.843 133.09V135.243H736.341V136.959H734.843V141.329C734.843 141.653 734.905 141.885 735.03 142.025C735.154 142.166 735.391 142.236 735.742 142.236C736.001 142.236 736.23 142.217 736.43 142.179V143.951C735.971 144.092 735.499 144.162 735.013 144.162C733.373 144.162 732.537 143.334 732.504 141.677V136.959H731.226V135.243H732.504V133.09H734.843ZM742.949 144.162C741.665 144.162 740.618 143.768 739.809 142.98C739.005 142.193 738.603 141.143 738.603 139.832V139.605C738.603 138.726 738.773 137.941 739.113 137.25C739.453 136.554 739.933 136.02 740.553 135.648C741.179 135.27 741.891 135.081 742.69 135.081C743.888 135.081 744.829 135.459 745.514 136.214C746.205 136.97 746.55 138.041 746.55 139.427V140.382H740.974C741.05 140.954 741.276 141.413 741.654 141.758C742.037 142.104 742.52 142.276 743.103 142.276C744.004 142.276 744.708 141.95 745.215 141.297L746.364 142.584C746.014 143.08 745.539 143.469 744.94 143.749C744.341 144.024 743.677 144.162 742.949 144.162ZM742.682 136.975C742.218 136.975 741.84 137.132 741.549 137.445C741.263 137.758 741.079 138.205 740.999 138.788H744.252V138.602C744.241 138.084 744.101 137.685 743.831 137.404C743.561 137.118 743.178 136.975 742.682 136.975ZM753.903 141.58C753.903 141.294 753.76 141.07 753.474 140.908C753.194 140.741 752.741 140.593 752.115 140.463C750.032 140.026 748.991 139.141 748.991 137.809C748.991 137.032 749.312 136.384 749.954 135.866C750.601 135.343 751.446 135.081 752.487 135.081C753.598 135.081 754.486 135.343 755.15 135.866C755.819 136.39 756.153 137.07 756.153 137.906H753.814C753.814 137.571 753.706 137.296 753.491 137.08C753.275 136.859 752.938 136.749 752.479 136.749C752.085 136.749 751.78 136.838 751.564 137.016C751.349 137.194 751.241 137.42 751.241 137.695C751.241 137.954 751.362 138.165 751.605 138.327C751.853 138.483 752.268 138.621 752.851 138.739C753.434 138.853 753.925 138.982 754.324 139.128C755.56 139.581 756.177 140.366 756.177 141.483C756.177 142.282 755.835 142.929 755.15 143.425C754.464 143.916 753.58 144.162 752.495 144.162C751.761 144.162 751.108 144.032 750.537 143.773C749.97 143.509 749.525 143.15 749.201 142.697C748.877 142.238 748.716 141.745 748.716 141.216H750.933C750.955 141.631 751.108 141.95 751.394 142.171C751.68 142.392 752.063 142.503 752.544 142.503C752.991 142.503 753.329 142.419 753.555 142.252C753.787 142.079 753.903 141.855 753.903 141.58Z",fill:"black"},null,-1),qre=p("path",{d:"M667.908 163.554H662.972L661.863 166.63H660.26L664.76 154.846H666.12L670.628 166.63H669.033L667.908 163.554ZM663.441 162.276H667.447L665.44 156.764L663.441 162.276ZM673.768 162.017V166.63H672.214V154.846H676.56C677.849 154.846 678.858 155.175 679.587 155.833C680.321 156.492 680.687 157.363 680.687 158.447C680.687 159.591 680.329 160.473 679.611 161.094C678.899 161.709 677.876 162.017 676.544 162.017H673.768ZM673.768 160.746H676.56C677.391 160.746 678.027 160.552 678.47 160.163C678.912 159.769 679.134 159.203 679.134 158.464C679.134 157.762 678.912 157.201 678.47 156.78C678.027 156.359 677.42 156.141 676.649 156.125H673.768V160.746ZM684.337 166.63H682.784V154.846H684.337V166.63ZM694.769 161.377C693.437 160.994 692.466 160.525 691.856 159.969C691.252 159.408 690.949 158.717 690.949 157.897C690.949 156.969 691.319 156.203 692.058 155.599C692.803 154.989 693.769 154.684 694.956 154.684C695.765 154.684 696.485 154.841 697.116 155.154C697.753 155.467 698.244 155.898 698.589 156.448C698.94 156.999 699.115 157.6 699.115 158.253H697.553C697.553 157.541 697.327 156.983 696.874 156.578C696.42 156.168 695.781 155.963 694.956 155.963C694.189 155.963 693.591 156.133 693.159 156.473C692.733 156.807 692.52 157.274 692.52 157.873C692.52 158.353 692.722 158.76 693.127 159.095C693.537 159.424 694.23 159.726 695.206 160.001C696.188 160.277 696.955 160.581 697.505 160.916C698.061 161.245 698.471 161.631 698.735 162.073C699.005 162.516 699.14 163.036 699.14 163.635C699.14 164.59 698.767 165.356 698.023 165.934C697.278 166.506 696.283 166.792 695.037 166.792C694.227 166.792 693.472 166.638 692.77 166.33C692.069 166.017 691.527 165.591 691.144 165.051C690.766 164.512 690.577 163.9 690.577 163.214H692.139C692.139 163.927 692.401 164.49 692.924 164.906C693.453 165.316 694.157 165.521 695.037 165.521C695.857 165.521 696.485 165.354 696.922 165.019C697.359 164.685 697.578 164.229 697.578 163.651C697.578 163.074 697.375 162.629 696.971 162.316C696.566 161.998 695.832 161.685 694.769 161.377ZM704.538 166.792C703.351 166.792 702.385 166.403 701.64 165.626C700.896 164.844 700.524 163.8 700.524 162.494V162.219C700.524 161.35 700.688 160.576 701.017 159.896C701.352 159.211 701.816 158.677 702.409 158.294C703.008 157.905 703.656 157.711 704.352 157.711C705.49 157.711 706.375 158.086 707.006 158.836C707.637 159.586 707.953 160.66 707.953 162.057V162.68H702.021C702.042 163.543 702.293 164.242 702.774 164.776C703.259 165.305 703.874 165.569 704.619 165.569C705.148 165.569 705.595 165.462 705.962 165.246C706.329 165.03 706.65 164.744 706.925 164.388L707.84 165.1C707.106 166.228 706.005 166.792 704.538 166.792ZM704.352 158.941C703.747 158.941 703.24 159.162 702.83 159.605C702.42 160.042 702.167 160.657 702.069 161.45H706.456V161.337C706.413 160.576 706.208 159.988 705.841 159.572C705.474 159.152 704.978 158.941 704.352 158.941ZM713.926 159.216C713.699 159.179 713.454 159.16 713.189 159.16C712.207 159.16 711.541 159.578 711.19 160.414V166.63H709.693V157.873H711.15L711.174 158.885C711.665 158.102 712.361 157.711 713.262 157.711C713.554 157.711 713.775 157.749 713.926 157.824V159.216ZM718.345 164.598L720.514 157.873H722.043L718.903 166.63H717.762L714.589 157.873H716.119L718.345 164.598ZM727.004 166.792C725.817 166.792 724.852 166.403 724.107 165.626C723.362 164.844 722.99 163.8 722.99 162.494V162.219C722.99 161.35 723.155 160.576 723.484 159.896C723.818 159.211 724.282 158.677 724.876 158.294C725.475 157.905 726.122 157.711 726.818 157.711C727.957 157.711 728.841 158.086 729.473 158.836C730.104 159.586 730.42 160.66 730.42 162.057V162.68H724.487C724.509 163.543 724.76 164.242 725.24 164.776C725.726 165.305 726.341 165.569 727.085 165.569C727.614 165.569 728.062 165.462 728.429 165.246C728.796 165.03 729.117 164.744 729.392 164.388L730.306 165.1C729.573 166.228 728.472 166.792 727.004 166.792ZM726.818 158.941C726.214 158.941 725.707 159.162 725.297 159.605C724.887 160.042 724.633 160.657 724.536 161.45H728.922V161.337C728.879 160.576 728.674 159.988 728.307 159.572C727.94 159.152 727.444 158.941 726.818 158.941ZM736.392 159.216C736.166 159.179 735.92 159.16 735.656 159.16C734.674 159.16 734.008 159.578 733.657 160.414V166.63H732.16V157.873H733.616L733.641 158.885C734.132 158.102 734.828 157.711 735.729 157.711C736.02 157.711 736.241 157.749 736.392 157.824V159.216Z",fill:"black"},null,-1),Wre=p("g",{filter:"url(#filter0_d)"},[p("rect",{x:"498.553",y:"119.823",width:"216.746",height:"105.823",rx:"5.09991",transform:"rotate(-180 498.553 119.823)",fill:"white"})],-1),Qre=p("path",{d:"M23.1485 137.843L25.6008 132.534H28.2553L24.3868 140.044V144.317H21.9184V140.044L18.0499 132.534H20.7125L23.1485 137.843ZM36.0452 141.889H31.7883L30.9789 144.317H28.3972L32.7837 132.534H35.0336L39.4444 144.317H36.8626L36.0452 141.889ZM32.4438 139.923H35.3897L33.9087 135.512L32.4438 139.923ZM44.9925 132.534L48.0193 141.08L51.03 132.534H54.2187V144.317H51.7826V141.096L52.0254 135.536L48.8448 144.317H47.1776L44.0051 135.544L44.2479 141.096V144.317H41.82V132.534H44.9925ZM60.042 142.367H65.1973V144.317H57.614V132.534H60.042V142.367Z",fill:"black"},null,-1),Xre=p("path",{d:"M28.0692 162.891C27.9235 164.137 27.4622 165.1 26.6852 165.78C25.9137 166.454 24.8859 166.792 23.6018 166.792C22.2097 166.792 21.0929 166.292 20.2512 165.294C19.4149 164.296 18.9968 162.961 18.9968 161.288V160.155C18.9968 159.06 19.191 158.097 19.5795 157.266C19.9733 156.435 20.5291 155.798 21.2467 155.356C21.9643 154.908 22.7951 154.684 23.7393 154.684C24.9911 154.684 25.9946 155.035 26.75 155.736C27.5053 156.432 27.9451 157.398 28.0692 158.634H26.5072C26.3723 157.695 26.0783 157.015 25.625 156.594C25.1772 156.173 24.5487 155.963 23.7393 155.963C22.7466 155.963 21.9669 156.33 21.4004 157.064C20.8393 157.797 20.5587 158.841 20.5587 160.196V161.337C20.5587 162.615 20.8258 163.632 21.36 164.388C21.8941 165.143 22.6414 165.521 23.6018 165.521C24.465 165.521 25.126 165.327 25.5846 164.938C26.0486 164.544 26.3561 163.862 26.5072 162.891H28.0692ZM29.5664 162.17C29.5664 161.312 29.7336 160.541 30.0682 159.856C30.4081 159.17 30.8775 158.642 31.4764 158.269C32.0807 157.897 32.7686 157.711 33.5401 157.711C34.7325 157.711 35.6956 158.124 36.4294 158.949C37.1685 159.775 37.5381 160.873 37.5381 162.243V162.348C37.5381 163.201 37.3736 163.967 37.0444 164.647C36.7207 165.321 36.254 165.847 35.6443 166.225C35.04 166.603 34.344 166.792 33.5563 166.792C32.3693 166.792 31.4062 166.379 30.6671 165.553C29.9333 164.728 29.5664 163.635 29.5664 162.276V162.17ZM31.0717 162.348C31.0717 163.32 31.2956 164.099 31.7434 164.687C32.1967 165.275 32.8009 165.569 33.5563 165.569C34.3171 165.569 34.9213 165.273 35.3692 164.679C35.817 164.08 36.0409 163.244 36.0409 162.17C36.0409 161.21 35.8116 160.433 35.353 159.84C34.8998 159.241 34.2955 158.941 33.5401 158.941C32.8009 158.941 32.2047 159.235 31.7515 159.823C31.2983 160.411 31.0717 161.253 31.0717 162.348ZM40.832 157.873L40.8806 158.974C41.5496 158.132 42.4237 157.711 43.5027 157.711C45.3534 157.711 46.2868 158.755 46.303 160.843V166.63H44.8057V160.835C44.8003 160.204 44.6547 159.737 44.3687 159.435C44.0881 159.133 43.6484 158.982 43.0495 158.982C42.5639 158.982 42.1377 159.111 41.7708 159.37C41.4039 159.629 41.118 159.969 40.9129 160.39V166.63H39.4157V157.873H40.832ZM49.0627 166.63V159.03H47.6788V157.873H49.0627V157.128C49.0627 156.152 49.3406 155.391 49.8963 154.846C50.4574 154.301 51.2479 154.029 52.2676 154.029C52.8719 154.029 53.6353 154.193 54.5579 154.522L54.3071 155.785C53.6326 155.515 52.9906 155.38 52.3809 155.38C51.7388 155.38 51.2748 155.526 50.9889 155.817C50.7083 156.103 50.568 156.535 50.568 157.112V157.873H52.3566V159.03H50.568V166.63H49.0627ZM55.3025 166.63H53.7972V157.873H55.3025V166.63ZM57.3824 162.178C57.3824 160.813 57.6981 159.729 58.3293 158.925C58.9606 158.116 59.7969 157.711 60.8382 157.711C61.9065 157.711 62.7401 158.089 63.339 158.844L63.4118 157.873H64.7796V166.419C64.7796 167.552 64.4423 168.445 63.7679 169.098C63.0989 169.751 62.1979 170.077 61.0648 170.077C60.4336 170.077 59.8158 169.942 59.2115 169.673C58.6072 169.403 58.1459 169.033 57.8276 168.564L58.6045 167.666C59.2466 168.459 60.0316 168.855 60.9596 168.855C61.688 168.855 62.2545 168.65 62.6592 168.24C63.0692 167.83 63.2742 167.253 63.2742 166.508V165.756C62.6753 166.446 61.8579 166.792 60.822 166.792C59.7969 166.792 58.966 166.379 58.3293 165.553C57.6981 164.728 57.3824 163.603 57.3824 162.178ZM58.8878 162.348C58.8878 163.336 59.0901 164.113 59.4948 164.679C59.8994 165.24 60.4659 165.521 61.1943 165.521C62.1385 165.521 62.8318 165.092 63.2742 164.234V160.236C62.8156 159.4 62.1277 158.982 61.2105 158.982C60.4821 158.982 59.9129 159.265 59.5028 159.831C59.0928 160.398 58.8878 161.237 58.8878 162.348ZM77.8904 161.426H72.9455V166.63H71.3916V154.846H78.6916V156.125H72.9455V160.155H77.8904V161.426ZM81.9451 166.63H80.4478V157.873H81.9451V166.63ZM80.3264 155.55C80.3264 155.307 80.3993 155.102 80.545 154.935C80.696 154.768 80.9172 154.684 81.2086 154.684C81.5 154.684 81.7212 154.768 81.8722 154.935C82.0233 155.102 82.0988 155.307 82.0988 155.55C82.0988 155.793 82.0233 155.995 81.8722 156.157C81.7212 156.319 81.5 156.4 81.2086 156.4C80.9172 156.4 80.696 156.319 80.545 156.157C80.3993 155.995 80.3264 155.793 80.3264 155.55ZM85.9754 166.63H84.4782V154.199H85.9754V166.63ZM92.0129 166.792C90.8259 166.792 89.8601 166.403 89.1156 165.626C88.371 164.844 87.9987 163.8 87.9987 162.494V162.219C87.9987 161.35 88.1633 160.576 88.4924 159.896C88.8269 159.211 89.2909 158.677 89.8844 158.294C90.4833 157.905 91.1308 157.711 91.8268 157.711C92.9652 157.711 93.8501 158.086 94.4813 158.836C95.1126 159.586 95.4282 160.66 95.4282 162.057V162.68H89.496C89.5175 163.543 89.7684 164.242 90.2486 164.776C90.7342 165.305 91.3493 165.569 92.0938 165.569C92.6226 165.569 93.0704 165.462 93.4373 165.246C93.8042 165.03 94.1252 164.744 94.4004 164.388L95.3149 165.1C94.5811 166.228 93.4805 166.792 92.0129 166.792ZM91.8268 158.941C91.2225 158.941 90.7153 159.162 90.3053 159.605C89.8952 160.042 89.6416 160.657 89.5445 161.45H93.931V161.337C93.8878 160.576 93.6828 159.988 93.3159 159.572C92.949 159.152 92.4526 158.941 91.8268 158.941ZM102.267 164.307C102.267 163.902 102.113 163.589 101.806 163.368C101.503 163.142 100.972 162.947 100.211 162.785C99.4559 162.624 98.8543 162.429 98.4065 162.203C97.9641 161.976 97.6349 161.706 97.4191 161.393C97.2087 161.08 97.1035 160.708 97.1035 160.277C97.1035 159.559 97.4056 158.952 98.0099 158.456C98.6196 157.959 99.3965 157.711 100.341 157.711C101.333 157.711 102.137 157.967 102.752 158.48C103.373 158.992 103.683 159.648 103.683 160.446H102.178C102.178 160.036 102.003 159.683 101.652 159.386C101.307 159.09 100.869 158.941 100.341 158.941C99.7958 158.941 99.3696 159.06 99.062 159.297C98.7545 159.535 98.6007 159.845 98.6007 160.228C98.6007 160.589 98.7437 160.862 99.0296 161.045C99.3156 161.229 99.8309 161.404 100.575 161.571C101.325 161.739 101.932 161.938 102.396 162.17C102.86 162.402 103.203 162.683 103.424 163.012C103.651 163.336 103.764 163.732 103.764 164.202C103.764 164.984 103.451 165.613 102.825 166.087C102.199 166.557 101.387 166.792 100.389 166.792C99.6879 166.792 99.0674 166.667 98.5279 166.419C97.9883 166.171 97.5648 165.826 97.2573 165.383C96.9551 164.935 96.804 164.453 96.804 163.935H98.3013C98.3282 164.436 98.5279 164.836 98.9002 165.132C99.2778 165.424 99.7742 165.569 100.389 165.569C100.956 165.569 101.409 165.456 101.749 165.23C102.094 164.998 102.267 164.69 102.267 164.307Z",fill:"black"},null,-1),Jre=p("path",{d:"M410.19 54.1275C410.168 54.0625 410.162 53.9928 410.173 53.9248C410.184 53.8569 410.213 53.7929 410.255 53.7388C411.891 51.6738 413.376 49.2985 413.376 47.4765C413.376 43.4276 411.065 40.1372 406.036 40.1372C403.545 40.1372 401.717 40.947 400.516 42.2507C400.462 42.3107 400.392 42.3537 400.314 42.3748C400.236 42.3958 400.153 42.394 400.076 42.3695C398.159 41.7489 396.195 41.2841 394.203 40.9794C394.136 40.9704 394.068 40.9781 394.004 41.0018C393.941 41.0255 393.885 41.0644 393.84 41.1152C393.795 41.1659 393.764 41.2269 393.749 41.2926C393.733 41.3584 393.734 41.427 393.752 41.4922C394.168 43.0497 396.662 52.9452 398.67 60.4788C399.885 65.0379 396.737 69.516 392.019 69.5025H389.098C384.332 69.5025 381.438 65.0082 382.537 60.5274C384.391 52.956 386.931 43.1388 387.344 41.5192C387.361 41.4546 387.362 41.3867 387.347 41.3214C387.332 41.2562 387.301 41.1957 387.257 41.1453C387.213 41.0949 387.158 41.0561 387.095 41.0323C387.032 41.0085 386.965 41.0006 386.899 41.0091C384.58 41.2793 382.299 41.8015 380.094 42.5665C380.013 42.5952 379.926 42.5983 379.843 42.5756C379.76 42.553 379.687 42.5055 379.632 42.4397C378.431 41.028 376.558 40.1453 373.964 40.1453C368.935 40.1453 366.624 43.4303 366.624 47.4846C366.624 49.6089 368.643 52.489 370.565 54.7456C370.658 54.8568 370.687 55.0077 370.641 55.1451L367.369 64.6465C367.368 64.6563 367.368 64.6663 367.369 64.6762C367.283 65.0082 366.02 70.6145 375.618 79.5383C378.49 82.2133 388.496 91.8523 390.294 93.5745C390.369 93.6462 390.47 93.6863 390.574 93.6863C390.678 93.6863 390.778 93.6462 390.853 93.5745C392.702 91.855 403.081 82.2214 405.969 79.5383C416.339 69.8669 413.87 64.6465 413.87 64.6465L410.19 54.1275V54.1275Z",fill:"var(--graph-color-1)"},null,-1),ene=p("path",{d:"M392.524 63.2097H388.615C388.461 63.2097 388.308 63.1792 388.166 63.12C388.023 63.0608 387.894 62.9741 387.785 62.8647C387.676 62.7553 387.59 62.6256 387.532 62.4828C387.473 62.3401 387.443 62.1871 387.444 62.0328L386.958 57.2201C386.958 57.066 386.988 56.9134 387.048 56.7711C387.107 56.6288 387.193 56.4996 387.302 56.3907C387.411 56.2819 387.541 56.1957 387.683 56.137C387.826 56.0783 387.978 56.0482 388.132 56.0486H392.991C393.145 56.0482 393.298 56.0783 393.44 56.137C393.582 56.1957 393.712 56.2819 393.821 56.3907C393.93 56.4996 394.017 56.6288 394.076 56.7711C394.135 56.9134 394.165 57.066 394.165 57.2201L393.698 62.0328C393.699 62.1874 393.669 62.3405 393.61 62.4834C393.552 62.6264 393.465 62.7563 393.356 62.8657C393.247 62.975 393.117 63.0618 392.974 63.1208C392.832 63.1799 392.678 63.2101 392.524 63.2097Z",fill:"var(--graph-color-1)"},null,-1),tne=p("path",{d:"M370.061 149.221L368.798 150.581V153.948H366.37V142.164H368.798V147.506L369.867 146.041L372.869 142.164H375.856L371.671 147.4L375.977 153.948H373.088L370.061 149.221ZM387.085 142.164V149.925C387.085 151.215 386.68 152.235 385.871 152.985C385.067 153.735 383.967 154.11 382.569 154.11C381.193 154.11 380.101 153.745 379.291 153.017C378.482 152.289 378.069 151.288 378.053 150.014V142.164H380.481V149.942C380.481 150.713 380.665 151.277 381.031 151.633C381.404 151.984 381.916 152.159 382.569 152.159C383.934 152.159 384.627 151.442 384.649 150.006V142.164H387.085ZM393.523 142.164L396.55 150.711L399.561 142.164H402.75V153.948H400.314V150.727L400.556 145.167L397.376 153.948H395.709L392.536 145.175L392.779 150.727V153.948H390.351V142.164H393.523ZM412.943 151.52H408.686L407.877 153.948H405.295L409.682 142.164H411.932L416.342 153.948H413.761L412.943 151.52ZM409.342 149.553H412.288L410.807 145.142L409.342 149.553Z",fill:"black"},null,-1),rne=p("path",{d:"M351.129 172.521C350.983 173.767 350.522 174.73 349.745 175.41C348.974 176.085 347.946 176.422 346.662 176.422C345.27 176.422 344.153 175.923 343.311 174.925C342.475 173.926 342.057 172.591 342.057 170.919V169.786C342.057 168.69 342.251 167.727 342.639 166.896C343.033 166.065 343.589 165.429 344.307 164.986C345.024 164.538 345.855 164.315 346.799 164.315C348.051 164.315 349.055 164.665 349.81 165.367C350.565 166.063 351.005 167.028 351.129 168.264H349.567C349.432 167.325 349.138 166.645 348.685 166.225C348.237 165.804 347.609 165.593 346.799 165.593C345.807 165.593 345.027 165.96 344.46 166.694C343.899 167.428 343.619 168.472 343.619 169.826V170.967C343.619 172.246 343.886 173.263 344.42 174.018C344.954 174.774 345.701 175.151 346.662 175.151C347.525 175.151 348.186 174.957 348.645 174.569C349.109 174.175 349.416 173.492 349.567 172.521H351.129ZM352.626 171.801C352.626 170.943 352.794 170.171 353.128 169.486C353.468 168.801 353.937 168.272 354.536 167.9C355.141 167.528 355.829 167.341 356.6 167.341C357.792 167.341 358.756 167.754 359.489 168.58C360.229 169.405 360.598 170.503 360.598 171.874V171.979C360.598 172.831 360.434 173.597 360.104 174.277C359.781 174.952 359.314 175.478 358.704 175.855C358.1 176.233 357.404 176.422 356.616 176.422C355.429 176.422 354.466 176.009 353.727 175.184C352.993 174.358 352.626 173.266 352.626 171.906V171.801ZM354.132 171.979C354.132 172.95 354.356 173.73 354.803 174.318C355.257 174.906 355.861 175.2 356.616 175.2C357.377 175.2 357.981 174.903 358.429 174.31C358.877 173.711 359.101 172.874 359.101 171.801C359.101 170.84 358.872 170.063 358.413 169.47C357.96 168.871 357.355 168.572 356.6 168.572C355.861 168.572 355.265 168.866 354.812 169.454C354.358 170.042 354.132 170.883 354.132 171.979ZM363.892 167.503L363.941 168.604C364.61 167.762 365.484 167.341 366.563 167.341C368.413 167.341 369.347 168.385 369.363 170.473V176.26H367.866V170.465C367.86 169.834 367.715 169.367 367.429 169.065C367.148 168.763 366.708 168.612 366.11 168.612C365.624 168.612 365.198 168.741 364.831 169C364.464 169.259 364.178 169.599 363.973 170.02V176.26H362.476V167.503H363.892ZM373.652 165.383V167.503H375.287V168.661H373.652V174.091C373.652 174.442 373.725 174.706 373.871 174.884C374.017 175.057 374.265 175.143 374.615 175.143C374.788 175.143 375.025 175.111 375.328 175.046V176.26C374.934 176.368 374.551 176.422 374.178 176.422C373.509 176.422 373.005 176.22 372.665 175.815C372.325 175.41 372.155 174.836 372.155 174.091V168.661H370.561V167.503H372.155V165.383H373.652ZM381.276 168.847C381.049 168.809 380.804 168.79 380.54 168.79C379.558 168.79 378.891 169.208 378.541 170.044V176.26H377.043V167.503H378.5L378.524 168.515C379.015 167.733 379.711 167.341 380.612 167.341C380.904 167.341 381.125 167.379 381.276 167.455V168.847ZM382.102 171.801C382.102 170.943 382.269 170.171 382.603 169.486C382.943 168.801 383.413 168.272 384.012 167.9C384.616 167.528 385.304 167.341 386.075 167.341C387.268 167.341 388.231 167.754 388.964 168.58C389.704 169.405 390.073 170.503 390.073 171.874V171.979C390.073 172.831 389.909 173.597 389.58 174.277C389.256 174.952 388.789 175.478 388.179 175.855C387.575 176.233 386.879 176.422 386.091 176.422C384.904 176.422 383.941 176.009 383.202 175.184C382.468 174.358 382.102 173.266 382.102 171.906V171.801ZM383.607 171.979C383.607 172.95 383.831 173.73 384.279 174.318C384.732 174.906 385.336 175.2 386.091 175.2C386.852 175.2 387.456 174.903 387.904 174.31C388.352 173.711 388.576 172.874 388.576 171.801C388.576 170.84 388.347 170.063 387.888 169.47C387.435 168.871 386.831 168.572 386.075 168.572C385.336 168.572 384.74 168.866 384.287 169.454C383.833 170.042 383.607 170.883 383.607 171.979ZM393.578 176.26H392.08V163.829H393.578V176.26ZM401.881 171.647V176.26H400.327V164.476H404.673C405.963 164.476 406.972 164.806 407.7 165.464C408.434 166.122 408.801 166.993 408.801 168.078C408.801 169.222 408.442 170.104 407.724 170.724C407.012 171.339 405.99 171.647 404.657 171.647H401.881ZM401.881 170.376H404.673C405.504 170.376 406.141 170.182 406.583 169.794C407.026 169.4 407.247 168.833 407.247 168.094C407.247 167.393 407.026 166.832 406.583 166.411C406.141 165.99 405.534 165.771 404.762 165.755H401.881V170.376ZM412.176 176.26H410.678V163.829H412.176V176.26ZM419.985 176.26C419.899 176.087 419.829 175.78 419.775 175.337C419.079 176.06 418.248 176.422 417.282 176.422C416.419 176.422 415.71 176.179 415.154 175.693C414.604 175.203 414.328 174.582 414.328 173.832C414.328 172.92 414.674 172.213 415.364 171.712C416.06 171.205 417.037 170.951 418.294 170.951H419.751V170.263C419.751 169.74 419.594 169.324 419.281 169.017C418.968 168.704 418.507 168.547 417.897 168.547C417.363 168.547 416.915 168.682 416.554 168.952C416.192 169.222 416.012 169.548 416.012 169.931H414.506C414.506 169.494 414.66 169.073 414.968 168.669C415.281 168.259 415.701 167.935 416.23 167.697C416.764 167.46 417.35 167.341 417.986 167.341C418.995 167.341 419.786 167.595 420.358 168.102C420.93 168.604 421.226 169.297 421.248 170.182V174.212C421.248 175.016 421.35 175.656 421.556 176.131V176.26H419.985ZM417.501 175.119C417.97 175.119 418.415 174.997 418.836 174.755C419.257 174.512 419.562 174.196 419.751 173.808V172.011H418.577C416.743 172.011 415.826 172.548 415.826 173.622C415.826 174.091 415.982 174.458 416.295 174.722C416.608 174.987 417.01 175.119 417.501 175.119ZM425.011 167.503L425.06 168.604C425.729 167.762 426.603 167.341 427.682 167.341C429.533 167.341 430.466 168.385 430.482 170.473V176.26H428.985V170.465C428.98 169.834 428.834 169.367 428.548 169.065C428.267 168.763 427.828 168.612 427.229 168.612C426.743 168.612 426.317 168.741 425.95 169C425.583 169.259 425.297 169.599 425.092 170.02V176.26H423.595V167.503H425.011ZM436.374 176.422C435.187 176.422 434.221 176.033 433.477 175.256C432.732 174.474 432.36 173.43 432.36 172.124V171.849C432.36 170.981 432.524 170.206 432.854 169.527C433.188 168.841 433.652 168.307 434.246 167.924C434.844 167.536 435.492 167.341 436.188 167.341C437.326 167.341 438.211 167.716 438.842 168.466C439.474 169.216 439.789 170.29 439.789 171.687V172.311H433.857C433.879 173.174 434.13 173.873 434.61 174.407C435.095 174.935 435.71 175.2 436.455 175.2C436.984 175.2 437.432 175.092 437.798 174.876C438.165 174.66 438.486 174.374 438.761 174.018L439.676 174.73C438.942 175.858 437.842 176.422 436.374 176.422ZM436.188 168.572C435.584 168.572 435.076 168.793 434.666 169.235C434.256 169.672 434.003 170.287 433.906 171.08H438.292V170.967C438.249 170.206 438.044 169.618 437.677 169.203C437.31 168.782 436.814 168.572 436.188 168.572Z",fill:"black"},null,-1),nne=p("path",{d:"M238.841 67L222.904 76.2014L222.904 57.7987L238.841 67ZM143.999 65.4063L224.498 65.4063L224.498 68.5937L143.999 68.5937L143.999 65.4063Z",fill:"var(--graph-color-3)"},null,-1),one=p("path",{d:"M624.841 67L608.904 76.2014L608.904 57.7987L624.841 67ZM529.999 65.4063L610.497 65.4063L610.497 68.5937L529.999 68.5937L529.999 65.4063Z",fill:"var(--graph-color-3)"},null,-1),ane=p("g",{filter:"url(#filter1_d)"},[p("path",{d:"M79 106C79 107.105 78.1046 108 77 108L16 108C14.8954 108 14 107.105 14 106L14 28C14 26.8954 14.8954 26 16 26L67 26L67 39.5C67 40.6046 67.8954 41.5 69 41.5L79 41.5L79 106Z",fill:"white"})],-1),ine=p("g",{filter:"url(#filter2_d)"},[p("path",{d:"M79 41.5L67 41.5L67 26L79 41.5Z",fill:"#b6b6bd"})],-1),sne=p("g",{filter:"url(#filter3_d)"},[p("path",{d:"M691.5 100C708.897 100 723 94.4036 723 87.5V80.5C723 73.5964 708.897 68 691.5 68C674.103 68 660 73.5964 660 80.5V87.5C660 94.4036 674.103 100 691.5 100Z",fill:"white"}),y(),p("path",{d:"M722 87.5C722 88.8593 721.31 90.2576 719.84 91.6363C718.369 93.0166 716.186 94.3058 713.405 95.4093C707.849 97.6142 700.105 99 691.5 99C682.895 99 675.151 97.6142 669.595 95.4093C666.814 94.3058 664.631 93.0166 663.16 91.6363C661.69 90.2576 661 88.8593 661 87.5V80.5C661 79.1407 661.69 77.7424 663.16 76.3637C664.631 74.9834 666.814 73.6942 669.595 72.5907C675.151 70.3858 682.895 69 691.5 69C700.105 69 707.849 70.3858 713.405 72.5907C716.186 73.6942 718.369 74.9834 719.84 76.3637C721.31 77.7424 722 79.1407 722 80.5V87.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),lne=p("g",{filter:"url(#filter4_d)"},[p("path",{d:"M691.5 86C708.897 86 723 80.4036 723 73.5V66.5C723 59.5964 708.897 54 691.5 54C674.103 54 660 59.5964 660 66.5V73.5C660 80.4036 674.103 86 691.5 86Z",fill:"white"}),y(),p("path",{d:"M722 73.5C722 74.8593 721.31 76.2576 719.84 77.6363C718.369 79.0166 716.186 80.3058 713.405 81.4093C707.849 83.6142 700.105 85 691.5 85C682.895 85 675.151 83.6142 669.595 81.4093C666.814 80.3058 664.631 79.0166 663.16 77.6363C661.69 76.2576 661 74.8593 661 73.5V66.5C661 65.1407 661.69 63.7424 663.16 62.3637C664.631 60.9834 666.814 59.6942 669.595 58.5907C675.151 56.3858 682.895 55 691.5 55C700.105 55 707.849 56.3858 713.405 58.5907C716.186 59.6942 718.369 60.9834 719.84 62.3637C721.31 63.7424 722 65.1407 722 66.5V73.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),cne=p("g",{filter:"url(#filter5_d)"},[p("path",{d:"M691.5 72C708.897 72 723 66.4036 723 59.5V52.5C723 45.5964 708.897 40 691.5 40C674.103 40 660 45.5964 660 52.5V59.5C660 66.4036 674.103 72 691.5 72Z",fill:"white"}),y(),p("path",{d:"M722 59.5C722 60.8593 721.31 62.2576 719.84 63.6363C718.369 65.0166 716.186 66.3058 713.405 67.4093C707.849 69.6142 700.105 71 691.5 71C682.895 71 675.151 69.6142 669.595 67.4093C666.814 66.3058 664.631 65.0166 663.16 63.6363C661.69 62.2576 661 60.8593 661 59.5V52.5C661 51.1407 661.69 49.7424 663.16 48.3637C664.631 46.9834 666.814 45.6942 669.595 44.5907C675.151 42.3858 682.895 41 691.5 41C700.105 41 707.849 42.3858 713.405 44.5907C716.186 45.6942 718.369 46.9834 719.84 48.3637C721.31 49.7424 722 51.1407 722 52.5V59.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),une=p("g",{filter:"url(#filter6_d)"},[p("path",{d:"M691.5 58C708.897 58 723 52.4036 723 45.5V38.5C723 31.5964 708.897 26 691.5 26C674.103 26 660 31.5964 660 38.5V45.5C660 52.4036 674.103 58 691.5 58Z",fill:"white"}),y(),p("path",{d:"M722 45.5C722 46.8593 721.31 48.2576 719.84 49.6363C718.369 51.0166 716.186 52.3058 713.405 53.4093C707.849 55.6142 700.105 57 691.5 57C682.895 57 675.151 55.6142 669.595 53.4093C666.814 52.3058 664.631 51.0166 663.16 49.6363C661.69 48.2576 661 46.8593 661 45.5V38.5C661 37.1407 661.69 35.7424 663.16 34.3637C664.631 32.9834 666.814 31.6942 669.595 30.5907C675.151 28.3858 682.895 27 691.5 27C700.105 27 707.849 28.3858 713.405 30.5907C716.186 31.6942 718.369 32.9834 719.84 34.3637C721.31 35.7424 722 37.1407 722 38.5V45.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),dne=p("g",{class:"cursor-help animate-pulse"},[p("g",{filter:"url(#filter7_d)"},[p("circle",{cx:"92",cy:"66",r:"27",fill:"url(#paint0_linear)"}),y(),p("circle",{cx:"92",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),y(),p("path",{d:"M89.7607 70.5791C89.7607 69.0296 89.9489 67.7956 90.3252 66.877C90.7015 65.9583 91.3877 65.0563 92.3838 64.1709C93.391 63.2744 94.0605 62.5495 94.3926 61.9961C94.7246 61.4316 94.8906 60.8395 94.8906 60.2197C94.8906 58.3493 94.0273 57.4141 92.3008 57.4141C91.4818 57.4141 90.8232 57.6686 90.3252 58.1777C89.8382 58.6758 89.5837 59.3675 89.5615 60.2529H84.7471C84.7692 58.139 85.4499 56.4844 86.7891 55.2891C88.1393 54.0938 89.9766 53.4961 92.3008 53.4961C94.6471 53.4961 96.4678 54.0661 97.7627 55.2061C99.0576 56.335 99.7051 57.9342 99.7051 60.0039C99.7051 60.9447 99.4948 61.8356 99.0742 62.6768C98.6536 63.5068 97.9176 64.431 96.8662 65.4492L95.5215 66.7275C94.6803 67.5355 94.1989 68.4818 94.0771 69.5664L94.0107 70.5791H89.7607ZM89.2793 75.6758C89.2793 74.9342 89.5283 74.3255 90.0264 73.8496C90.5355 73.3626 91.1829 73.1191 91.9688 73.1191C92.7546 73.1191 93.3965 73.3626 93.8945 73.8496C94.4036 74.3255 94.6582 74.9342 94.6582 75.6758C94.6582 76.4062 94.4092 77.0094 93.9111 77.4854C93.4242 77.9613 92.7767 78.1992 91.9688 78.1992C91.1608 78.1992 90.5078 77.9613 90.0098 77.4854C89.5228 77.0094 89.2793 76.4062 89.2793 75.6758Z",fill:"var(--graph-color-7)"})],-1),hne=p("g",{class:"cursor-help animate-pulse"},[p("g",{filter:"url(#filter8_d)"},[p("circle",{cx:"495",cy:"66",r:"27",fill:"url(#paint1_linear)"}),y(),p("circle",{cx:"495",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),y(),p("path",{d:"M492.761 70.5791C492.761 69.0296 492.949 67.7956 493.325 66.877C493.701 65.9583 494.388 65.0563 495.384 64.1709C496.391 63.2744 497.061 62.5495 497.393 61.9961C497.725 61.4316 497.891 60.8395 497.891 60.2197C497.891 58.3493 497.027 57.4141 495.301 57.4141C494.482 57.4141 493.823 57.6686 493.325 58.1777C492.838 58.6758 492.584 59.3675 492.562 60.2529H487.747C487.769 58.139 488.45 56.4844 489.789 55.2891C491.139 54.0938 492.977 53.4961 495.301 53.4961C497.647 53.4961 499.468 54.0661 500.763 55.2061C502.058 56.335 502.705 57.9342 502.705 60.0039C502.705 60.9447 502.495 61.8356 502.074 62.6768C501.654 63.5068 500.918 64.431 499.866 65.4492L498.521 66.7275C497.68 67.5355 497.199 68.4818 497.077 69.5664L497.011 70.5791H492.761ZM492.279 75.6758C492.279 74.9342 492.528 74.3255 493.026 73.8496C493.535 73.3626 494.183 73.1191 494.969 73.1191C495.755 73.1191 496.396 73.3626 496.895 73.8496C497.404 74.3255 497.658 74.9342 497.658 75.6758C497.658 76.4062 497.409 77.0094 496.911 77.4854C496.424 77.9613 495.777 78.1992 494.969 78.1992C494.161 78.1992 493.508 77.9613 493.01 77.4854C492.523 77.0094 492.279 76.4062 492.279 75.6758Z",fill:"var(--graph-color-7)"})],-1),fne=p("g",{class:"cursor-help animate-pulse"},[p("g",{filter:"url(#filter9_d)"},[p("circle",{cx:"745",cy:"66",r:"27",fill:"url(#paint2_linear)"}),y(),p("circle",{cx:"745",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),y(),p("path",{d:"M742.761 70.5791C742.761 69.0296 742.949 67.7956 743.325 66.877C743.701 65.9583 744.388 65.0563 745.384 64.1709C746.391 63.2744 747.061 62.5495 747.393 61.9961C747.725 61.4316 747.891 60.8395 747.891 60.2197C747.891 58.3493 747.027 57.4141 745.301 57.4141C744.482 57.4141 743.823 57.6686 743.325 58.1777C742.838 58.6758 742.584 59.3675 742.562 60.2529H737.747C737.769 58.139 738.45 56.4844 739.789 55.2891C741.139 54.0938 742.977 53.4961 745.301 53.4961C747.647 53.4961 749.468 54.0661 750.763 55.2061C752.058 56.335 752.705 57.9342 752.705 60.0039C752.705 60.9447 752.495 61.8356 752.074 62.6768C751.654 63.5068 750.918 64.431 749.866 65.4492L748.521 66.7275C747.68 67.5355 747.199 68.4818 747.077 69.5664L747.011 70.5791H742.761ZM742.279 75.6758C742.279 74.9342 742.528 74.3255 743.026 73.8496C743.535 73.3626 744.183 73.1191 744.969 73.1191C745.755 73.1191 746.396 73.3626 746.895 73.8496C747.404 74.3255 747.658 74.9342 747.658 75.6758C747.658 76.4062 747.409 77.0094 746.911 77.4854C746.424 77.9613 745.777 78.1992 744.969 78.1992C744.161 78.1992 743.508 77.9613 743.01 77.4854C742.523 77.0094 742.279 76.4062 742.279 75.6758Z",fill:"var(--graph-color-7)"})],-1),pne=Li(' ',1),mne=X({__name:"KubernetesGraph",setup(e){const{t}=Rt();return(r,n)=>(m(),M("svg",Gre,[Kre,y(),qre,y(),Wre,y(),Qre,y(),Xre,y(),Jre,y(),ene,y(),tne,y(),rne,y(),nne,y(),one,y(),ane,y(),ine,y(),sne,y(),lne,y(),cne,y(),une,y(),P(L(Pt),{trigger:"hover",title:"Yaml","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:E(()=>[y(` + trace: `),P(lre,{text:e.error.instance},null,8,["text"])]),_:1})):I("",!0)])):I("",!0)])]),message:E(()=>[p("div",pre,[o.$slots.message?F(o.$slots,"message",{key:0},void 0,!0):(m(),M("p",mre,H(e.error.message),1)),y(),n.value.length>0?(m(),M("ul",vre,[(m(!0),M(we,null,tt(n.value,(i,s)=>(m(),M("li",{key:s},[y(H(L(r)("common.error_state.field"))+" ",1),p("b",null,[p("code",null,H(i.field),1)]),y(": "+H(i.reason),1)]))),128))])):I("",!0)])]),_:3})]))}});const y0=Xt(gre,[["__scopeId","data-v-3aafad7e"]]),Cre=p("p",null,"Loading data …",-1),b0=X({__name:"LoadingBlock",setup(e){return(t,r)=>(m(),G(L(An),{"cta-is-hidden":"","data-testid":"loading-block"},{title:E(()=>[P(L(Tte),{class:"mb-3",display:"inline-block",color:L(Yte)},null,8,["color"]),y(),F(t.$slots,"default",{},()=>[Cre])]),_:3}))}});const yre={},bre={class:"definition-card"},wre={class:"definition-card-title"},_re={class:"definition-card-container"};function kre(e,t){return m(),M("div",bre,[p("div",wre,[F(e.$slots,"icon",{},void 0,!0),y(),F(e.$slots,"title",{},void 0,!0)]),y(),p("div",_re,[F(e.$slots,"body",{},void 0,!0)])])}const Hs=Xt(yre,[["render",kre],["__scopeId","data-v-d55dbf1c"]]),Mre={class:"status"},xre={key:1,class:"status-separator"},Sre={class:"status-total"},Ere=X({__name:"ResourceStatus",props:{total:{},online:{default:null}},setup(e){const t=e,r=A(()=>{if(t.online!==null){const n=t.online/t.total;if(n<=.5)return"danger";if(n<1)return"warning"}return null});return(n,o)=>(m(),G(Hs,null,ar({title:E(()=>[F(n.$slots,"title",{},void 0,!0)]),body:E(()=>[p("div",Mre,[t.online!==null?(m(),M("span",{key:0,class:J(["status-online",{[`status-online--${r.value}`]:r.value!==null}])},H(t.online),3)):I("",!0),t.online!==null?(m(),M("span",xre,"/")):I("",!0),p("span",Sre,H(t.total),1)])]),_:2},[n.$slots.icon?{name:"icon",fn:E(()=>[F(n.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0]),1024))}});const Wn=Xt(Ere,[["__scopeId","data-v-1c7759a5"]]),g2=e=>(st("data-v-4668dce5"),e=e(),lt(),e),Are={class:"stack","data-testid":"detail-view-details"},Lre={class:"card-header"},Bre={class:"card-title"},Dre=g2(()=>p("img",{src:z1e},null,-1)),Hre=g2(()=>p("img",{src:F1e},null,-1)),Tre=g2(()=>p("img",{src:tf},null,-1)),Ire=g2(()=>p("img",{src:tf},null,-1)),Ore={class:"variable-columns"},Vre={class:"card-header"},Pre={class:"card-title"},Nre={key:0,class:"card-actions"},$re={class:"card-header"},Zre={class:"card-title"},Rre=X({__name:"MainOverview",setup(e){const{t}=Rt(),r=S5();return(n,o)=>{const a=Qt("RouterLink"),i=Qt("KButton");return m(),M("div",Are,[P(L(ro),null,{body:E(()=>[P(No,{src:"/global-insight"},{default:E(({data:s,error:l})=>[l?(m(),G(y0,{key:0,error:l},null,8,["error"])):s===void 0?(m(),G(b0,{key:1})):(m(),M(we,{key:2},[p("div",Lre,[p("div",Bre,[p("h2",null,H(L(t)("main-overview.detail.health.title")),1)])]),y(),p("div",{class:"columns",style:Ue(`--columns: ${L(r)("use zones")?4:3};`)},[L(r)("use zones")?(m(),G(Wn,{key:0,total:s.zones.controlPlanes.total,online:s.zones.controlPlanes.online,"data-testid":"zone-control-planes-status"},{icon:E(()=>[Dre]),title:E(()=>[y(H(L(t)("main-overview.detail.health.zone_control_planes")),1)]),_:2},1032,["total","online"])):I("",!0),y(),P(Wn,{total:s.meshes.total,"data-testid":"meshes-status"},{icon:E(()=>[Hre]),title:E(()=>[y(H(L(t)("main-overview.detail.health.meshes")),1)]),_:2},1032,["total"]),y(),P(Wn,{total:s.services.internal.total,online:s.services.internal.online,"data-testid":"services-status"},{icon:E(()=>[Tre]),title:E(()=>[y(H(L(t)("main-overview.detail.health.services")),1)]),_:2},1032,["total","online"]),y(),P(Wn,{total:s.dataplanes.standard.total,online:s.dataplanes.standard.online,"data-testid":"data-plane-proxies-status"},{icon:E(()=>[Ire]),title:E(()=>[y(H(L(t)("main-overview.detail.health.data_plane_proxies")),1)]),_:2},1032,["total","online"])],4)],64))]),_:1})]),_:1}),y(),p("div",Ore,[L(r)("use zones")?(m(),G(L(ro),{key:0},{body:E(()=>[P(No,{src:"/zone-cps?page=1&size=10"},{default:E(({data:s,error:l})=>[l?(m(),G(y0,{key:0,error:l},null,8,["error"])):s===void 0?(m(),G(b0,{key:1})):(m(),M(we,{key:2},[p("div",Vre,[p("div",Pre,[p("h2",null,H(L(t)("main-overview.detail.zone_control_planes.title")),1),y(),P(a,{to:{name:"zone-cp-list-view"}},{default:E(()=>[y(H(L(t)("main-overview.detail.health.view_all")),1)]),_:1})]),y(),L(r)("create zones")&&s.items.length>0?(m(),M("div",Nre,[P(i,{appearance:"primary",to:{name:"zone-create-view"}},{default:E(()=>[P(L(Qh),{size:L(sa)},null,8,["size"]),y(" "+H(L(t)("zones.index.create")),1)]),_:1})])):I("",!0)]),y(),P(ere,{"data-testid":"zone-control-planes-details","zone-overviews":s.items},null,8,["zone-overviews"])],64))]),_:1})]),_:1})):I("",!0),y(),P(L(ro),null,{body:E(()=>[P(No,{src:"/mesh-insights?page=1&size=10"},{default:E(({data:s,error:l})=>[l?(m(),G(y0,{key:0,error:l},null,8,["error"])):s===void 0?(m(),G(b0,{key:1})):(m(),M(we,{key:2},[p("div",$re,[p("div",Zre,[p("h2",null,H(L(t)("main-overview.detail.meshes.title")),1),y(),P(a,{to:{name:"mesh-list-view"}},{default:E(()=>[y(H(L(t)("main-overview.detail.health.view_all")),1)]),_:1})])]),y(),P(W1e,{"data-testid":"meshes-details","mesh-insights":s.items},null,8,["mesh-insights"])],64))]),_:1})]),_:1})])])}}});const zre=Xt(Rre,[["__scopeId","data-v-4668dce5"]]),Fre={class:"stack"},Ure={class:"columns",style:{"--columns":"3"}},jre={class:"columns",style:{"--columns":"3"}},Yre=X({__name:"MeshDetails",props:{mesh:{type:Object,required:!0},meshInsight:{type:[Object],required:!1,default:void 0}},setup(e){const t=e,{t:r}=Rt(),n=A(()=>i(t.mesh.mtls)),o=A(()=>i(t.mesh.metrics)),a=A(()=>{var s;return Object.values(((s=t.meshInsight)==null?void 0:s.policies)??{}).reduce((l,c)=>l+c.total,0)});function i(s){if(s!=null&&s.enabledBackend&&Array.isArray(s.backends)){const l=s.backends.find(c=>c.name===s.enabledBackend);if(l!==void 0)return`${l.type} / ${l.name}`}return""}return(s,l)=>(m(),G(L(ro),null,{body:E(()=>{var c,u;return[p("div",Fre,[p("div",Ure,[P(Wn,{total:((c=t.meshInsight)==null?void 0:c.services.total)??0,"data-testid":"services-status"},{title:E(()=>[y(H(L(r)("meshes.detail.services")),1)]),_:1},8,["total"]),y(),P(Wn,{total:((u=t.meshInsight)==null?void 0:u.dataplanesByType.standard.total)??0,"data-testid":"data-plane-proxies-status"},{title:E(()=>[y(H(L(r)("meshes.detail.data_plane_proxies")),1)]),_:1},8,["total"]),y(),P(Wn,{total:a.value,"data-testid":"policies-status"},{title:E(()=>[y(H(L(r)("meshes.detail.policies")),1)]),_:1},8,["total"])]),y(),p("div",jre,[P(Hs,null,{title:E(()=>[y(H(L(r)("http.api.property.mtls")),1)]),body:E(()=>[n.value===""?(m(),G(L(j1),{key:0,appearance:"neutral"},{default:E(()=>[y(H(L(r)("meshes.detail.disabled")),1)]),_:1})):(m(),M(we,{key:1},[y(H(n.value),1)],64))]),_:1}),y(),P(Hs,null,{title:E(()=>[y(H(L(r)("http.api.property.metrics")),1)]),body:E(()=>[o.value===""?(m(),G(L(j1),{key:0,appearance:"neutral"},{default:E(()=>[y(H(L(r)("meshes.detail.disabled")),1)]),_:1})):(m(),M(we,{key:1},[y(H(o.value),1)],64))]),_:1}),y(),P(Hs,null,{title:E(()=>[y(H(L(r)("http.api.property.zoneEgress")),1)]),body:E(()=>[P(L(j1),{appearance:"neutral"},{default:E(()=>{var d;return[y(H(L(r)(`meshes.detail.${(d=t.mesh.routing)!=null&&d.zoneEgress?"enabled":"disabled"}`)),1)]}),_:1})]),_:1})])])]}),_:1}))}}),Gre={width:"794",height:"181",viewBox:"0 0 794 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Kre=p("path",{d:"M664.743 139.274L663.48 140.633V144H661.052V132.216H663.48V137.558L664.548 136.093L667.551 132.216H670.537L666.353 137.453L670.659 144H667.769L664.743 139.274ZM677.745 143.11C677.167 143.811 676.369 144.162 675.349 144.162C674.41 144.162 673.693 143.892 673.196 143.353C672.705 142.813 672.454 142.023 672.444 140.981V135.243H674.782V140.9C674.782 141.812 675.198 142.268 676.029 142.268C676.822 142.268 677.367 141.993 677.664 141.443V135.243H680.011V144H677.809L677.745 143.11ZM690.941 139.703C690.941 141.105 690.641 142.201 690.042 142.988C689.443 143.771 688.607 144.162 687.533 144.162C686.584 144.162 685.826 143.798 685.259 143.069L685.154 144H683.05V131.569H685.389V136.028C685.928 135.397 686.638 135.081 687.517 135.081C688.586 135.081 689.422 135.475 690.026 136.263C690.636 137.045 690.941 138.149 690.941 139.573V139.703ZM688.602 139.533C688.602 138.648 688.461 138.003 688.181 137.598C687.9 137.188 687.482 136.983 686.926 136.983C686.182 136.983 685.669 137.288 685.389 137.898V141.354C685.675 141.969 686.193 142.276 686.943 142.276C687.698 142.276 688.194 141.904 688.432 141.159C688.545 140.803 688.602 140.261 688.602 139.533ZM697.695 144.162C696.411 144.162 695.364 143.768 694.555 142.98C693.751 142.193 693.349 141.143 693.349 139.832V139.605C693.349 138.726 693.519 137.941 693.859 137.25C694.198 136.554 694.679 136.02 695.299 135.648C695.925 135.27 696.637 135.081 697.436 135.081C698.634 135.081 699.575 135.459 700.26 136.214C700.951 136.97 701.296 138.041 701.296 139.427V140.382H695.72C695.796 140.954 696.022 141.413 696.4 141.758C696.783 142.104 697.266 142.276 697.848 142.276C698.75 142.276 699.454 141.95 699.961 141.297L701.11 142.584C700.759 143.08 700.285 143.469 699.686 143.749C699.087 144.024 698.423 144.162 697.695 144.162ZM697.428 136.975C696.964 136.975 696.586 137.132 696.295 137.445C696.009 137.758 695.825 138.205 695.744 138.788H698.998V138.602C698.987 138.084 698.847 137.685 698.577 137.404C698.307 137.118 697.924 136.975 697.428 136.975ZM708.827 137.436C708.509 137.393 708.228 137.372 707.985 137.372C707.101 137.372 706.521 137.671 706.245 138.27V144H703.906V135.243H706.116L706.181 136.287C706.65 135.483 707.3 135.081 708.131 135.081C708.39 135.081 708.633 135.116 708.859 135.187L708.827 137.436ZM713.388 135.243L713.461 136.255C714.087 135.473 714.926 135.081 715.978 135.081C716.906 135.081 717.596 135.354 718.05 135.899C718.503 136.444 718.735 137.258 718.746 138.343V144H716.407V138.4C716.407 137.903 716.299 137.544 716.083 137.323C715.867 137.097 715.508 136.983 715.007 136.983C714.348 136.983 713.855 137.264 713.525 137.825V144H711.187V135.243H713.388ZM725.831 144.162C724.547 144.162 723.501 143.768 722.691 142.98C721.887 142.193 721.485 141.143 721.485 139.832V139.605C721.485 138.726 721.655 137.941 721.995 137.25C722.335 136.554 722.815 136.02 723.436 135.648C724.062 135.27 724.774 135.081 725.572 135.081C726.77 135.081 727.712 135.459 728.397 136.214C729.088 136.97 729.433 138.041 729.433 139.427V140.382H723.857C723.932 140.954 724.159 141.413 724.536 141.758C724.92 142.104 725.402 142.276 725.985 142.276C726.886 142.276 727.59 141.95 728.097 141.297L729.247 142.584C728.896 143.08 728.421 143.469 727.822 143.749C727.223 144.024 726.56 144.162 725.831 144.162ZM725.564 136.975C725.1 136.975 724.723 137.132 724.431 137.445C724.145 137.758 723.962 138.205 723.881 138.788H727.134V138.602C727.124 138.084 726.983 137.685 726.714 137.404C726.444 137.118 726.061 136.975 725.564 136.975ZM734.843 133.09V135.243H736.341V136.959H734.843V141.329C734.843 141.653 734.905 141.885 735.03 142.025C735.154 142.166 735.391 142.236 735.742 142.236C736.001 142.236 736.23 142.217 736.43 142.179V143.951C735.971 144.092 735.499 144.162 735.013 144.162C733.373 144.162 732.537 143.334 732.504 141.677V136.959H731.226V135.243H732.504V133.09H734.843ZM742.949 144.162C741.665 144.162 740.618 143.768 739.809 142.98C739.005 142.193 738.603 141.143 738.603 139.832V139.605C738.603 138.726 738.773 137.941 739.113 137.25C739.453 136.554 739.933 136.02 740.553 135.648C741.179 135.27 741.891 135.081 742.69 135.081C743.888 135.081 744.829 135.459 745.514 136.214C746.205 136.97 746.55 138.041 746.55 139.427V140.382H740.974C741.05 140.954 741.276 141.413 741.654 141.758C742.037 142.104 742.52 142.276 743.103 142.276C744.004 142.276 744.708 141.95 745.215 141.297L746.364 142.584C746.014 143.08 745.539 143.469 744.94 143.749C744.341 144.024 743.677 144.162 742.949 144.162ZM742.682 136.975C742.218 136.975 741.84 137.132 741.549 137.445C741.263 137.758 741.079 138.205 740.999 138.788H744.252V138.602C744.241 138.084 744.101 137.685 743.831 137.404C743.561 137.118 743.178 136.975 742.682 136.975ZM753.903 141.58C753.903 141.294 753.76 141.07 753.474 140.908C753.194 140.741 752.741 140.593 752.115 140.463C750.032 140.026 748.991 139.141 748.991 137.809C748.991 137.032 749.312 136.384 749.954 135.866C750.601 135.343 751.446 135.081 752.487 135.081C753.598 135.081 754.486 135.343 755.15 135.866C755.819 136.39 756.153 137.07 756.153 137.906H753.814C753.814 137.571 753.706 137.296 753.491 137.08C753.275 136.859 752.938 136.749 752.479 136.749C752.085 136.749 751.78 136.838 751.564 137.016C751.349 137.194 751.241 137.42 751.241 137.695C751.241 137.954 751.362 138.165 751.605 138.327C751.853 138.483 752.268 138.621 752.851 138.739C753.434 138.853 753.925 138.982 754.324 139.128C755.56 139.581 756.177 140.366 756.177 141.483C756.177 142.282 755.835 142.929 755.15 143.425C754.464 143.916 753.58 144.162 752.495 144.162C751.761 144.162 751.108 144.032 750.537 143.773C749.97 143.509 749.525 143.15 749.201 142.697C748.877 142.238 748.716 141.745 748.716 141.216H750.933C750.955 141.631 751.108 141.95 751.394 142.171C751.68 142.392 752.063 142.503 752.544 142.503C752.991 142.503 753.329 142.419 753.555 142.252C753.787 142.079 753.903 141.855 753.903 141.58Z",fill:"black"},null,-1),qre=p("path",{d:"M667.908 163.554H662.972L661.863 166.63H660.26L664.76 154.846H666.12L670.628 166.63H669.033L667.908 163.554ZM663.441 162.276H667.447L665.44 156.764L663.441 162.276ZM673.768 162.017V166.63H672.214V154.846H676.56C677.849 154.846 678.858 155.175 679.587 155.833C680.321 156.492 680.687 157.363 680.687 158.447C680.687 159.591 680.329 160.473 679.611 161.094C678.899 161.709 677.876 162.017 676.544 162.017H673.768ZM673.768 160.746H676.56C677.391 160.746 678.027 160.552 678.47 160.163C678.912 159.769 679.134 159.203 679.134 158.464C679.134 157.762 678.912 157.201 678.47 156.78C678.027 156.359 677.42 156.141 676.649 156.125H673.768V160.746ZM684.337 166.63H682.784V154.846H684.337V166.63ZM694.769 161.377C693.437 160.994 692.466 160.525 691.856 159.969C691.252 159.408 690.949 158.717 690.949 157.897C690.949 156.969 691.319 156.203 692.058 155.599C692.803 154.989 693.769 154.684 694.956 154.684C695.765 154.684 696.485 154.841 697.116 155.154C697.753 155.467 698.244 155.898 698.589 156.448C698.94 156.999 699.115 157.6 699.115 158.253H697.553C697.553 157.541 697.327 156.983 696.874 156.578C696.42 156.168 695.781 155.963 694.956 155.963C694.189 155.963 693.591 156.133 693.159 156.473C692.733 156.807 692.52 157.274 692.52 157.873C692.52 158.353 692.722 158.76 693.127 159.095C693.537 159.424 694.23 159.726 695.206 160.001C696.188 160.277 696.955 160.581 697.505 160.916C698.061 161.245 698.471 161.631 698.735 162.073C699.005 162.516 699.14 163.036 699.14 163.635C699.14 164.59 698.767 165.356 698.023 165.934C697.278 166.506 696.283 166.792 695.037 166.792C694.227 166.792 693.472 166.638 692.77 166.33C692.069 166.017 691.527 165.591 691.144 165.051C690.766 164.512 690.577 163.9 690.577 163.214H692.139C692.139 163.927 692.401 164.49 692.924 164.906C693.453 165.316 694.157 165.521 695.037 165.521C695.857 165.521 696.485 165.354 696.922 165.019C697.359 164.685 697.578 164.229 697.578 163.651C697.578 163.074 697.375 162.629 696.971 162.316C696.566 161.998 695.832 161.685 694.769 161.377ZM704.538 166.792C703.351 166.792 702.385 166.403 701.64 165.626C700.896 164.844 700.524 163.8 700.524 162.494V162.219C700.524 161.35 700.688 160.576 701.017 159.896C701.352 159.211 701.816 158.677 702.409 158.294C703.008 157.905 703.656 157.711 704.352 157.711C705.49 157.711 706.375 158.086 707.006 158.836C707.637 159.586 707.953 160.66 707.953 162.057V162.68H702.021C702.042 163.543 702.293 164.242 702.774 164.776C703.259 165.305 703.874 165.569 704.619 165.569C705.148 165.569 705.595 165.462 705.962 165.246C706.329 165.03 706.65 164.744 706.925 164.388L707.84 165.1C707.106 166.228 706.005 166.792 704.538 166.792ZM704.352 158.941C703.747 158.941 703.24 159.162 702.83 159.605C702.42 160.042 702.167 160.657 702.069 161.45H706.456V161.337C706.413 160.576 706.208 159.988 705.841 159.572C705.474 159.152 704.978 158.941 704.352 158.941ZM713.926 159.216C713.699 159.179 713.454 159.16 713.189 159.16C712.207 159.16 711.541 159.578 711.19 160.414V166.63H709.693V157.873H711.15L711.174 158.885C711.665 158.102 712.361 157.711 713.262 157.711C713.554 157.711 713.775 157.749 713.926 157.824V159.216ZM718.345 164.598L720.514 157.873H722.043L718.903 166.63H717.762L714.589 157.873H716.119L718.345 164.598ZM727.004 166.792C725.817 166.792 724.852 166.403 724.107 165.626C723.362 164.844 722.99 163.8 722.99 162.494V162.219C722.99 161.35 723.155 160.576 723.484 159.896C723.818 159.211 724.282 158.677 724.876 158.294C725.475 157.905 726.122 157.711 726.818 157.711C727.957 157.711 728.841 158.086 729.473 158.836C730.104 159.586 730.42 160.66 730.42 162.057V162.68H724.487C724.509 163.543 724.76 164.242 725.24 164.776C725.726 165.305 726.341 165.569 727.085 165.569C727.614 165.569 728.062 165.462 728.429 165.246C728.796 165.03 729.117 164.744 729.392 164.388L730.306 165.1C729.573 166.228 728.472 166.792 727.004 166.792ZM726.818 158.941C726.214 158.941 725.707 159.162 725.297 159.605C724.887 160.042 724.633 160.657 724.536 161.45H728.922V161.337C728.879 160.576 728.674 159.988 728.307 159.572C727.94 159.152 727.444 158.941 726.818 158.941ZM736.392 159.216C736.166 159.179 735.92 159.16 735.656 159.16C734.674 159.16 734.008 159.578 733.657 160.414V166.63H732.16V157.873H733.616L733.641 158.885C734.132 158.102 734.828 157.711 735.729 157.711C736.02 157.711 736.241 157.749 736.392 157.824V159.216Z",fill:"black"},null,-1),Wre=p("g",{filter:"url(#filter0_d)"},[p("rect",{x:"498.553",y:"119.823",width:"216.746",height:"105.823",rx:"5.09991",transform:"rotate(-180 498.553 119.823)",fill:"white"})],-1),Qre=p("path",{d:"M23.1485 137.843L25.6008 132.534H28.2553L24.3868 140.044V144.317H21.9184V140.044L18.0499 132.534H20.7125L23.1485 137.843ZM36.0452 141.889H31.7883L30.9789 144.317H28.3972L32.7837 132.534H35.0336L39.4444 144.317H36.8626L36.0452 141.889ZM32.4438 139.923H35.3897L33.9087 135.512L32.4438 139.923ZM44.9925 132.534L48.0193 141.08L51.03 132.534H54.2187V144.317H51.7826V141.096L52.0254 135.536L48.8448 144.317H47.1776L44.0051 135.544L44.2479 141.096V144.317H41.82V132.534H44.9925ZM60.042 142.367H65.1973V144.317H57.614V132.534H60.042V142.367Z",fill:"black"},null,-1),Xre=p("path",{d:"M28.0692 162.891C27.9235 164.137 27.4622 165.1 26.6852 165.78C25.9137 166.454 24.8859 166.792 23.6018 166.792C22.2097 166.792 21.0929 166.292 20.2512 165.294C19.4149 164.296 18.9968 162.961 18.9968 161.288V160.155C18.9968 159.06 19.191 158.097 19.5795 157.266C19.9733 156.435 20.5291 155.798 21.2467 155.356C21.9643 154.908 22.7951 154.684 23.7393 154.684C24.9911 154.684 25.9946 155.035 26.75 155.736C27.5053 156.432 27.9451 157.398 28.0692 158.634H26.5072C26.3723 157.695 26.0783 157.015 25.625 156.594C25.1772 156.173 24.5487 155.963 23.7393 155.963C22.7466 155.963 21.9669 156.33 21.4004 157.064C20.8393 157.797 20.5587 158.841 20.5587 160.196V161.337C20.5587 162.615 20.8258 163.632 21.36 164.388C21.8941 165.143 22.6414 165.521 23.6018 165.521C24.465 165.521 25.126 165.327 25.5846 164.938C26.0486 164.544 26.3561 163.862 26.5072 162.891H28.0692ZM29.5664 162.17C29.5664 161.312 29.7336 160.541 30.0682 159.856C30.4081 159.17 30.8775 158.642 31.4764 158.269C32.0807 157.897 32.7686 157.711 33.5401 157.711C34.7325 157.711 35.6956 158.124 36.4294 158.949C37.1685 159.775 37.5381 160.873 37.5381 162.243V162.348C37.5381 163.201 37.3736 163.967 37.0444 164.647C36.7207 165.321 36.254 165.847 35.6443 166.225C35.04 166.603 34.344 166.792 33.5563 166.792C32.3693 166.792 31.4062 166.379 30.6671 165.553C29.9333 164.728 29.5664 163.635 29.5664 162.276V162.17ZM31.0717 162.348C31.0717 163.32 31.2956 164.099 31.7434 164.687C32.1967 165.275 32.8009 165.569 33.5563 165.569C34.3171 165.569 34.9213 165.273 35.3692 164.679C35.817 164.08 36.0409 163.244 36.0409 162.17C36.0409 161.21 35.8116 160.433 35.353 159.84C34.8998 159.241 34.2955 158.941 33.5401 158.941C32.8009 158.941 32.2047 159.235 31.7515 159.823C31.2983 160.411 31.0717 161.253 31.0717 162.348ZM40.832 157.873L40.8806 158.974C41.5496 158.132 42.4237 157.711 43.5027 157.711C45.3534 157.711 46.2868 158.755 46.303 160.843V166.63H44.8057V160.835C44.8003 160.204 44.6547 159.737 44.3687 159.435C44.0881 159.133 43.6484 158.982 43.0495 158.982C42.5639 158.982 42.1377 159.111 41.7708 159.37C41.4039 159.629 41.118 159.969 40.9129 160.39V166.63H39.4157V157.873H40.832ZM49.0627 166.63V159.03H47.6788V157.873H49.0627V157.128C49.0627 156.152 49.3406 155.391 49.8963 154.846C50.4574 154.301 51.2479 154.029 52.2676 154.029C52.8719 154.029 53.6353 154.193 54.5579 154.522L54.3071 155.785C53.6326 155.515 52.9906 155.38 52.3809 155.38C51.7388 155.38 51.2748 155.526 50.9889 155.817C50.7083 156.103 50.568 156.535 50.568 157.112V157.873H52.3566V159.03H50.568V166.63H49.0627ZM55.3025 166.63H53.7972V157.873H55.3025V166.63ZM57.3824 162.178C57.3824 160.813 57.6981 159.729 58.3293 158.925C58.9606 158.116 59.7969 157.711 60.8382 157.711C61.9065 157.711 62.7401 158.089 63.339 158.844L63.4118 157.873H64.7796V166.419C64.7796 167.552 64.4423 168.445 63.7679 169.098C63.0989 169.751 62.1979 170.077 61.0648 170.077C60.4336 170.077 59.8158 169.942 59.2115 169.673C58.6072 169.403 58.1459 169.033 57.8276 168.564L58.6045 167.666C59.2466 168.459 60.0316 168.855 60.9596 168.855C61.688 168.855 62.2545 168.65 62.6592 168.24C63.0692 167.83 63.2742 167.253 63.2742 166.508V165.756C62.6753 166.446 61.8579 166.792 60.822 166.792C59.7969 166.792 58.966 166.379 58.3293 165.553C57.6981 164.728 57.3824 163.603 57.3824 162.178ZM58.8878 162.348C58.8878 163.336 59.0901 164.113 59.4948 164.679C59.8994 165.24 60.4659 165.521 61.1943 165.521C62.1385 165.521 62.8318 165.092 63.2742 164.234V160.236C62.8156 159.4 62.1277 158.982 61.2105 158.982C60.4821 158.982 59.9129 159.265 59.5028 159.831C59.0928 160.398 58.8878 161.237 58.8878 162.348ZM77.8904 161.426H72.9455V166.63H71.3916V154.846H78.6916V156.125H72.9455V160.155H77.8904V161.426ZM81.9451 166.63H80.4478V157.873H81.9451V166.63ZM80.3264 155.55C80.3264 155.307 80.3993 155.102 80.545 154.935C80.696 154.768 80.9172 154.684 81.2086 154.684C81.5 154.684 81.7212 154.768 81.8722 154.935C82.0233 155.102 82.0988 155.307 82.0988 155.55C82.0988 155.793 82.0233 155.995 81.8722 156.157C81.7212 156.319 81.5 156.4 81.2086 156.4C80.9172 156.4 80.696 156.319 80.545 156.157C80.3993 155.995 80.3264 155.793 80.3264 155.55ZM85.9754 166.63H84.4782V154.199H85.9754V166.63ZM92.0129 166.792C90.8259 166.792 89.8601 166.403 89.1156 165.626C88.371 164.844 87.9987 163.8 87.9987 162.494V162.219C87.9987 161.35 88.1633 160.576 88.4924 159.896C88.8269 159.211 89.2909 158.677 89.8844 158.294C90.4833 157.905 91.1308 157.711 91.8268 157.711C92.9652 157.711 93.8501 158.086 94.4813 158.836C95.1126 159.586 95.4282 160.66 95.4282 162.057V162.68H89.496C89.5175 163.543 89.7684 164.242 90.2486 164.776C90.7342 165.305 91.3493 165.569 92.0938 165.569C92.6226 165.569 93.0704 165.462 93.4373 165.246C93.8042 165.03 94.1252 164.744 94.4004 164.388L95.3149 165.1C94.5811 166.228 93.4805 166.792 92.0129 166.792ZM91.8268 158.941C91.2225 158.941 90.7153 159.162 90.3053 159.605C89.8952 160.042 89.6416 160.657 89.5445 161.45H93.931V161.337C93.8878 160.576 93.6828 159.988 93.3159 159.572C92.949 159.152 92.4526 158.941 91.8268 158.941ZM102.267 164.307C102.267 163.902 102.113 163.589 101.806 163.368C101.503 163.142 100.972 162.947 100.211 162.785C99.4559 162.624 98.8543 162.429 98.4065 162.203C97.9641 161.976 97.6349 161.706 97.4191 161.393C97.2087 161.08 97.1035 160.708 97.1035 160.277C97.1035 159.559 97.4056 158.952 98.0099 158.456C98.6196 157.959 99.3965 157.711 100.341 157.711C101.333 157.711 102.137 157.967 102.752 158.48C103.373 158.992 103.683 159.648 103.683 160.446H102.178C102.178 160.036 102.003 159.683 101.652 159.386C101.307 159.09 100.869 158.941 100.341 158.941C99.7958 158.941 99.3696 159.06 99.062 159.297C98.7545 159.535 98.6007 159.845 98.6007 160.228C98.6007 160.589 98.7437 160.862 99.0296 161.045C99.3156 161.229 99.8309 161.404 100.575 161.571C101.325 161.739 101.932 161.938 102.396 162.17C102.86 162.402 103.203 162.683 103.424 163.012C103.651 163.336 103.764 163.732 103.764 164.202C103.764 164.984 103.451 165.613 102.825 166.087C102.199 166.557 101.387 166.792 100.389 166.792C99.6879 166.792 99.0674 166.667 98.5279 166.419C97.9883 166.171 97.5648 165.826 97.2573 165.383C96.9551 164.935 96.804 164.453 96.804 163.935H98.3013C98.3282 164.436 98.5279 164.836 98.9002 165.132C99.2778 165.424 99.7742 165.569 100.389 165.569C100.956 165.569 101.409 165.456 101.749 165.23C102.094 164.998 102.267 164.69 102.267 164.307Z",fill:"black"},null,-1),Jre=p("path",{d:"M410.19 54.1275C410.168 54.0625 410.162 53.9928 410.173 53.9248C410.184 53.8569 410.213 53.7929 410.255 53.7388C411.891 51.6738 413.376 49.2985 413.376 47.4765C413.376 43.4276 411.065 40.1372 406.036 40.1372C403.545 40.1372 401.717 40.947 400.516 42.2507C400.462 42.3107 400.392 42.3537 400.314 42.3748C400.236 42.3958 400.153 42.394 400.076 42.3695C398.159 41.7489 396.195 41.2841 394.203 40.9794C394.136 40.9704 394.068 40.9781 394.004 41.0018C393.941 41.0255 393.885 41.0644 393.84 41.1152C393.795 41.1659 393.764 41.2269 393.749 41.2926C393.733 41.3584 393.734 41.427 393.752 41.4922C394.168 43.0497 396.662 52.9452 398.67 60.4788C399.885 65.0379 396.737 69.516 392.019 69.5025H389.098C384.332 69.5025 381.438 65.0082 382.537 60.5274C384.391 52.956 386.931 43.1388 387.344 41.5192C387.361 41.4546 387.362 41.3867 387.347 41.3214C387.332 41.2562 387.301 41.1957 387.257 41.1453C387.213 41.0949 387.158 41.0561 387.095 41.0323C387.032 41.0085 386.965 41.0006 386.899 41.0091C384.58 41.2793 382.299 41.8015 380.094 42.5665C380.013 42.5952 379.926 42.5983 379.843 42.5756C379.76 42.553 379.687 42.5055 379.632 42.4397C378.431 41.028 376.558 40.1453 373.964 40.1453C368.935 40.1453 366.624 43.4303 366.624 47.4846C366.624 49.6089 368.643 52.489 370.565 54.7456C370.658 54.8568 370.687 55.0077 370.641 55.1451L367.369 64.6465C367.368 64.6563 367.368 64.6663 367.369 64.6762C367.283 65.0082 366.02 70.6145 375.618 79.5383C378.49 82.2133 388.496 91.8523 390.294 93.5745C390.369 93.6462 390.47 93.6863 390.574 93.6863C390.678 93.6863 390.778 93.6462 390.853 93.5745C392.702 91.855 403.081 82.2214 405.969 79.5383C416.339 69.8669 413.87 64.6465 413.87 64.6465L410.19 54.1275V54.1275Z",fill:"var(--graph-color-1)"},null,-1),ene=p("path",{d:"M392.524 63.2097H388.615C388.461 63.2097 388.308 63.1792 388.166 63.12C388.023 63.0608 387.894 62.9741 387.785 62.8647C387.676 62.7553 387.59 62.6256 387.532 62.4828C387.473 62.3401 387.443 62.1871 387.444 62.0328L386.958 57.2201C386.958 57.066 386.988 56.9134 387.048 56.7711C387.107 56.6288 387.193 56.4996 387.302 56.3907C387.411 56.2819 387.541 56.1957 387.683 56.137C387.826 56.0783 387.978 56.0482 388.132 56.0486H392.991C393.145 56.0482 393.298 56.0783 393.44 56.137C393.582 56.1957 393.712 56.2819 393.821 56.3907C393.93 56.4996 394.017 56.6288 394.076 56.7711C394.135 56.9134 394.165 57.066 394.165 57.2201L393.698 62.0328C393.699 62.1874 393.669 62.3405 393.61 62.4834C393.552 62.6264 393.465 62.7563 393.356 62.8657C393.247 62.975 393.117 63.0618 392.974 63.1208C392.832 63.1799 392.678 63.2101 392.524 63.2097Z",fill:"var(--graph-color-1)"},null,-1),tne=p("path",{d:"M370.061 149.221L368.798 150.581V153.948H366.37V142.164H368.798V147.506L369.867 146.041L372.869 142.164H375.856L371.671 147.4L375.977 153.948H373.088L370.061 149.221ZM387.085 142.164V149.925C387.085 151.215 386.68 152.235 385.871 152.985C385.067 153.735 383.967 154.11 382.569 154.11C381.193 154.11 380.101 153.745 379.291 153.017C378.482 152.289 378.069 151.288 378.053 150.014V142.164H380.481V149.942C380.481 150.713 380.665 151.277 381.031 151.633C381.404 151.984 381.916 152.159 382.569 152.159C383.934 152.159 384.627 151.442 384.649 150.006V142.164H387.085ZM393.523 142.164L396.55 150.711L399.561 142.164H402.75V153.948H400.314V150.727L400.556 145.167L397.376 153.948H395.709L392.536 145.175L392.779 150.727V153.948H390.351V142.164H393.523ZM412.943 151.52H408.686L407.877 153.948H405.295L409.682 142.164H411.932L416.342 153.948H413.761L412.943 151.52ZM409.342 149.553H412.288L410.807 145.142L409.342 149.553Z",fill:"black"},null,-1),rne=p("path",{d:"M351.129 172.521C350.983 173.767 350.522 174.73 349.745 175.41C348.974 176.085 347.946 176.422 346.662 176.422C345.27 176.422 344.153 175.923 343.311 174.925C342.475 173.926 342.057 172.591 342.057 170.919V169.786C342.057 168.69 342.251 167.727 342.639 166.896C343.033 166.065 343.589 165.429 344.307 164.986C345.024 164.538 345.855 164.315 346.799 164.315C348.051 164.315 349.055 164.665 349.81 165.367C350.565 166.063 351.005 167.028 351.129 168.264H349.567C349.432 167.325 349.138 166.645 348.685 166.225C348.237 165.804 347.609 165.593 346.799 165.593C345.807 165.593 345.027 165.96 344.46 166.694C343.899 167.428 343.619 168.472 343.619 169.826V170.967C343.619 172.246 343.886 173.263 344.42 174.018C344.954 174.774 345.701 175.151 346.662 175.151C347.525 175.151 348.186 174.957 348.645 174.569C349.109 174.175 349.416 173.492 349.567 172.521H351.129ZM352.626 171.801C352.626 170.943 352.794 170.171 353.128 169.486C353.468 168.801 353.937 168.272 354.536 167.9C355.141 167.528 355.829 167.341 356.6 167.341C357.792 167.341 358.756 167.754 359.489 168.58C360.229 169.405 360.598 170.503 360.598 171.874V171.979C360.598 172.831 360.434 173.597 360.104 174.277C359.781 174.952 359.314 175.478 358.704 175.855C358.1 176.233 357.404 176.422 356.616 176.422C355.429 176.422 354.466 176.009 353.727 175.184C352.993 174.358 352.626 173.266 352.626 171.906V171.801ZM354.132 171.979C354.132 172.95 354.356 173.73 354.803 174.318C355.257 174.906 355.861 175.2 356.616 175.2C357.377 175.2 357.981 174.903 358.429 174.31C358.877 173.711 359.101 172.874 359.101 171.801C359.101 170.84 358.872 170.063 358.413 169.47C357.96 168.871 357.355 168.572 356.6 168.572C355.861 168.572 355.265 168.866 354.812 169.454C354.358 170.042 354.132 170.883 354.132 171.979ZM363.892 167.503L363.941 168.604C364.61 167.762 365.484 167.341 366.563 167.341C368.413 167.341 369.347 168.385 369.363 170.473V176.26H367.866V170.465C367.86 169.834 367.715 169.367 367.429 169.065C367.148 168.763 366.708 168.612 366.11 168.612C365.624 168.612 365.198 168.741 364.831 169C364.464 169.259 364.178 169.599 363.973 170.02V176.26H362.476V167.503H363.892ZM373.652 165.383V167.503H375.287V168.661H373.652V174.091C373.652 174.442 373.725 174.706 373.871 174.884C374.017 175.057 374.265 175.143 374.615 175.143C374.788 175.143 375.025 175.111 375.328 175.046V176.26C374.934 176.368 374.551 176.422 374.178 176.422C373.509 176.422 373.005 176.22 372.665 175.815C372.325 175.41 372.155 174.836 372.155 174.091V168.661H370.561V167.503H372.155V165.383H373.652ZM381.276 168.847C381.049 168.809 380.804 168.79 380.54 168.79C379.558 168.79 378.891 169.208 378.541 170.044V176.26H377.043V167.503H378.5L378.524 168.515C379.015 167.733 379.711 167.341 380.612 167.341C380.904 167.341 381.125 167.379 381.276 167.455V168.847ZM382.102 171.801C382.102 170.943 382.269 170.171 382.603 169.486C382.943 168.801 383.413 168.272 384.012 167.9C384.616 167.528 385.304 167.341 386.075 167.341C387.268 167.341 388.231 167.754 388.964 168.58C389.704 169.405 390.073 170.503 390.073 171.874V171.979C390.073 172.831 389.909 173.597 389.58 174.277C389.256 174.952 388.789 175.478 388.179 175.855C387.575 176.233 386.879 176.422 386.091 176.422C384.904 176.422 383.941 176.009 383.202 175.184C382.468 174.358 382.102 173.266 382.102 171.906V171.801ZM383.607 171.979C383.607 172.95 383.831 173.73 384.279 174.318C384.732 174.906 385.336 175.2 386.091 175.2C386.852 175.2 387.456 174.903 387.904 174.31C388.352 173.711 388.576 172.874 388.576 171.801C388.576 170.84 388.347 170.063 387.888 169.47C387.435 168.871 386.831 168.572 386.075 168.572C385.336 168.572 384.74 168.866 384.287 169.454C383.833 170.042 383.607 170.883 383.607 171.979ZM393.578 176.26H392.08V163.829H393.578V176.26ZM401.881 171.647V176.26H400.327V164.476H404.673C405.963 164.476 406.972 164.806 407.7 165.464C408.434 166.122 408.801 166.993 408.801 168.078C408.801 169.222 408.442 170.104 407.724 170.724C407.012 171.339 405.99 171.647 404.657 171.647H401.881ZM401.881 170.376H404.673C405.504 170.376 406.141 170.182 406.583 169.794C407.026 169.4 407.247 168.833 407.247 168.094C407.247 167.393 407.026 166.832 406.583 166.411C406.141 165.99 405.534 165.771 404.762 165.755H401.881V170.376ZM412.176 176.26H410.678V163.829H412.176V176.26ZM419.985 176.26C419.899 176.087 419.829 175.78 419.775 175.337C419.079 176.06 418.248 176.422 417.282 176.422C416.419 176.422 415.71 176.179 415.154 175.693C414.604 175.203 414.328 174.582 414.328 173.832C414.328 172.92 414.674 172.213 415.364 171.712C416.06 171.205 417.037 170.951 418.294 170.951H419.751V170.263C419.751 169.74 419.594 169.324 419.281 169.017C418.968 168.704 418.507 168.547 417.897 168.547C417.363 168.547 416.915 168.682 416.554 168.952C416.192 169.222 416.012 169.548 416.012 169.931H414.506C414.506 169.494 414.66 169.073 414.968 168.669C415.281 168.259 415.701 167.935 416.23 167.697C416.764 167.46 417.35 167.341 417.986 167.341C418.995 167.341 419.786 167.595 420.358 168.102C420.93 168.604 421.226 169.297 421.248 170.182V174.212C421.248 175.016 421.35 175.656 421.556 176.131V176.26H419.985ZM417.501 175.119C417.97 175.119 418.415 174.997 418.836 174.755C419.257 174.512 419.562 174.196 419.751 173.808V172.011H418.577C416.743 172.011 415.826 172.548 415.826 173.622C415.826 174.091 415.982 174.458 416.295 174.722C416.608 174.987 417.01 175.119 417.501 175.119ZM425.011 167.503L425.06 168.604C425.729 167.762 426.603 167.341 427.682 167.341C429.533 167.341 430.466 168.385 430.482 170.473V176.26H428.985V170.465C428.98 169.834 428.834 169.367 428.548 169.065C428.267 168.763 427.828 168.612 427.229 168.612C426.743 168.612 426.317 168.741 425.95 169C425.583 169.259 425.297 169.599 425.092 170.02V176.26H423.595V167.503H425.011ZM436.374 176.422C435.187 176.422 434.221 176.033 433.477 175.256C432.732 174.474 432.36 173.43 432.36 172.124V171.849C432.36 170.981 432.524 170.206 432.854 169.527C433.188 168.841 433.652 168.307 434.246 167.924C434.844 167.536 435.492 167.341 436.188 167.341C437.326 167.341 438.211 167.716 438.842 168.466C439.474 169.216 439.789 170.29 439.789 171.687V172.311H433.857C433.879 173.174 434.13 173.873 434.61 174.407C435.095 174.935 435.71 175.2 436.455 175.2C436.984 175.2 437.432 175.092 437.798 174.876C438.165 174.66 438.486 174.374 438.761 174.018L439.676 174.73C438.942 175.858 437.842 176.422 436.374 176.422ZM436.188 168.572C435.584 168.572 435.076 168.793 434.666 169.235C434.256 169.672 434.003 170.287 433.906 171.08H438.292V170.967C438.249 170.206 438.044 169.618 437.677 169.203C437.31 168.782 436.814 168.572 436.188 168.572Z",fill:"black"},null,-1),nne=p("path",{d:"M238.841 67L222.904 76.2014L222.904 57.7987L238.841 67ZM143.999 65.4063L224.498 65.4063L224.498 68.5937L143.999 68.5937L143.999 65.4063Z",fill:"var(--graph-color-3)"},null,-1),one=p("path",{d:"M624.841 67L608.904 76.2014L608.904 57.7987L624.841 67ZM529.999 65.4063L610.497 65.4063L610.497 68.5937L529.999 68.5937L529.999 65.4063Z",fill:"var(--graph-color-3)"},null,-1),ane=p("g",{filter:"url(#filter1_d)"},[p("path",{d:"M79 106C79 107.105 78.1046 108 77 108L16 108C14.8954 108 14 107.105 14 106L14 28C14 26.8954 14.8954 26 16 26L67 26L67 39.5C67 40.6046 67.8954 41.5 69 41.5L79 41.5L79 106Z",fill:"white"})],-1),ine=p("g",{filter:"url(#filter2_d)"},[p("path",{d:"M79 41.5L67 41.5L67 26L79 41.5Z",fill:"#b6b6bd"})],-1),sne=p("g",{filter:"url(#filter3_d)"},[p("path",{d:"M691.5 100C708.897 100 723 94.4036 723 87.5V80.5C723 73.5964 708.897 68 691.5 68C674.103 68 660 73.5964 660 80.5V87.5C660 94.4036 674.103 100 691.5 100Z",fill:"white"}),y(),p("path",{d:"M722 87.5C722 88.8593 721.31 90.2576 719.84 91.6363C718.369 93.0166 716.186 94.3058 713.405 95.4093C707.849 97.6142 700.105 99 691.5 99C682.895 99 675.151 97.6142 669.595 95.4093C666.814 94.3058 664.631 93.0166 663.16 91.6363C661.69 90.2576 661 88.8593 661 87.5V80.5C661 79.1407 661.69 77.7424 663.16 76.3637C664.631 74.9834 666.814 73.6942 669.595 72.5907C675.151 70.3858 682.895 69 691.5 69C700.105 69 707.849 70.3858 713.405 72.5907C716.186 73.6942 718.369 74.9834 719.84 76.3637C721.31 77.7424 722 79.1407 722 80.5V87.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),lne=p("g",{filter:"url(#filter4_d)"},[p("path",{d:"M691.5 86C708.897 86 723 80.4036 723 73.5V66.5C723 59.5964 708.897 54 691.5 54C674.103 54 660 59.5964 660 66.5V73.5C660 80.4036 674.103 86 691.5 86Z",fill:"white"}),y(),p("path",{d:"M722 73.5C722 74.8593 721.31 76.2576 719.84 77.6363C718.369 79.0166 716.186 80.3058 713.405 81.4093C707.849 83.6142 700.105 85 691.5 85C682.895 85 675.151 83.6142 669.595 81.4093C666.814 80.3058 664.631 79.0166 663.16 77.6363C661.69 76.2576 661 74.8593 661 73.5V66.5C661 65.1407 661.69 63.7424 663.16 62.3637C664.631 60.9834 666.814 59.6942 669.595 58.5907C675.151 56.3858 682.895 55 691.5 55C700.105 55 707.849 56.3858 713.405 58.5907C716.186 59.6942 718.369 60.9834 719.84 62.3637C721.31 63.7424 722 65.1407 722 66.5V73.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),cne=p("g",{filter:"url(#filter5_d)"},[p("path",{d:"M691.5 72C708.897 72 723 66.4036 723 59.5V52.5C723 45.5964 708.897 40 691.5 40C674.103 40 660 45.5964 660 52.5V59.5C660 66.4036 674.103 72 691.5 72Z",fill:"white"}),y(),p("path",{d:"M722 59.5C722 60.8593 721.31 62.2576 719.84 63.6363C718.369 65.0166 716.186 66.3058 713.405 67.4093C707.849 69.6142 700.105 71 691.5 71C682.895 71 675.151 69.6142 669.595 67.4093C666.814 66.3058 664.631 65.0166 663.16 63.6363C661.69 62.2576 661 60.8593 661 59.5V52.5C661 51.1407 661.69 49.7424 663.16 48.3637C664.631 46.9834 666.814 45.6942 669.595 44.5907C675.151 42.3858 682.895 41 691.5 41C700.105 41 707.849 42.3858 713.405 44.5907C716.186 45.6942 718.369 46.9834 719.84 48.3637C721.31 49.7424 722 51.1407 722 52.5V59.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),une=p("g",{filter:"url(#filter6_d)"},[p("path",{d:"M691.5 58C708.897 58 723 52.4036 723 45.5V38.5C723 31.5964 708.897 26 691.5 26C674.103 26 660 31.5964 660 38.5V45.5C660 52.4036 674.103 58 691.5 58Z",fill:"white"}),y(),p("path",{d:"M722 45.5C722 46.8593 721.31 48.2576 719.84 49.6363C718.369 51.0166 716.186 52.3058 713.405 53.4093C707.849 55.6142 700.105 57 691.5 57C682.895 57 675.151 55.6142 669.595 53.4093C666.814 52.3058 664.631 51.0166 663.16 49.6363C661.69 48.2576 661 46.8593 661 45.5V38.5C661 37.1407 661.69 35.7424 663.16 34.3637C664.631 32.9834 666.814 31.6942 669.595 30.5907C675.151 28.3858 682.895 27 691.5 27C700.105 27 707.849 28.3858 713.405 30.5907C716.186 31.6942 718.369 32.9834 719.84 34.3637C721.31 35.7424 722 37.1407 722 38.5V45.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),dne=p("g",{class:"cursor-help animate-pulse"},[p("g",{filter:"url(#filter7_d)"},[p("circle",{cx:"92",cy:"66",r:"27",fill:"url(#paint0_linear)"}),y(),p("circle",{cx:"92",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),y(),p("path",{d:"M89.7607 70.5791C89.7607 69.0296 89.9489 67.7956 90.3252 66.877C90.7015 65.9583 91.3877 65.0563 92.3838 64.1709C93.391 63.2744 94.0605 62.5495 94.3926 61.9961C94.7246 61.4316 94.8906 60.8395 94.8906 60.2197C94.8906 58.3493 94.0273 57.4141 92.3008 57.4141C91.4818 57.4141 90.8232 57.6686 90.3252 58.1777C89.8382 58.6758 89.5837 59.3675 89.5615 60.2529H84.7471C84.7692 58.139 85.4499 56.4844 86.7891 55.2891C88.1393 54.0938 89.9766 53.4961 92.3008 53.4961C94.6471 53.4961 96.4678 54.0661 97.7627 55.2061C99.0576 56.335 99.7051 57.9342 99.7051 60.0039C99.7051 60.9447 99.4948 61.8356 99.0742 62.6768C98.6536 63.5068 97.9176 64.431 96.8662 65.4492L95.5215 66.7275C94.6803 67.5355 94.1989 68.4818 94.0771 69.5664L94.0107 70.5791H89.7607ZM89.2793 75.6758C89.2793 74.9342 89.5283 74.3255 90.0264 73.8496C90.5355 73.3626 91.1829 73.1191 91.9688 73.1191C92.7546 73.1191 93.3965 73.3626 93.8945 73.8496C94.4036 74.3255 94.6582 74.9342 94.6582 75.6758C94.6582 76.4062 94.4092 77.0094 93.9111 77.4854C93.4242 77.9613 92.7767 78.1992 91.9688 78.1992C91.1608 78.1992 90.5078 77.9613 90.0098 77.4854C89.5228 77.0094 89.2793 76.4062 89.2793 75.6758Z",fill:"var(--graph-color-7)"})],-1),hne=p("g",{class:"cursor-help animate-pulse"},[p("g",{filter:"url(#filter8_d)"},[p("circle",{cx:"495",cy:"66",r:"27",fill:"url(#paint1_linear)"}),y(),p("circle",{cx:"495",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),y(),p("path",{d:"M492.761 70.5791C492.761 69.0296 492.949 67.7956 493.325 66.877C493.701 65.9583 494.388 65.0563 495.384 64.1709C496.391 63.2744 497.061 62.5495 497.393 61.9961C497.725 61.4316 497.891 60.8395 497.891 60.2197C497.891 58.3493 497.027 57.4141 495.301 57.4141C494.482 57.4141 493.823 57.6686 493.325 58.1777C492.838 58.6758 492.584 59.3675 492.562 60.2529H487.747C487.769 58.139 488.45 56.4844 489.789 55.2891C491.139 54.0938 492.977 53.4961 495.301 53.4961C497.647 53.4961 499.468 54.0661 500.763 55.2061C502.058 56.335 502.705 57.9342 502.705 60.0039C502.705 60.9447 502.495 61.8356 502.074 62.6768C501.654 63.5068 500.918 64.431 499.866 65.4492L498.521 66.7275C497.68 67.5355 497.199 68.4818 497.077 69.5664L497.011 70.5791H492.761ZM492.279 75.6758C492.279 74.9342 492.528 74.3255 493.026 73.8496C493.535 73.3626 494.183 73.1191 494.969 73.1191C495.755 73.1191 496.396 73.3626 496.895 73.8496C497.404 74.3255 497.658 74.9342 497.658 75.6758C497.658 76.4062 497.409 77.0094 496.911 77.4854C496.424 77.9613 495.777 78.1992 494.969 78.1992C494.161 78.1992 493.508 77.9613 493.01 77.4854C492.523 77.0094 492.279 76.4062 492.279 75.6758Z",fill:"var(--graph-color-7)"})],-1),fne=p("g",{class:"cursor-help animate-pulse"},[p("g",{filter:"url(#filter9_d)"},[p("circle",{cx:"745",cy:"66",r:"27",fill:"url(#paint2_linear)"}),y(),p("circle",{cx:"745",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),y(),p("path",{d:"M742.761 70.5791C742.761 69.0296 742.949 67.7956 743.325 66.877C743.701 65.9583 744.388 65.0563 745.384 64.1709C746.391 63.2744 747.061 62.5495 747.393 61.9961C747.725 61.4316 747.891 60.8395 747.891 60.2197C747.891 58.3493 747.027 57.4141 745.301 57.4141C744.482 57.4141 743.823 57.6686 743.325 58.1777C742.838 58.6758 742.584 59.3675 742.562 60.2529H737.747C737.769 58.139 738.45 56.4844 739.789 55.2891C741.139 54.0938 742.977 53.4961 745.301 53.4961C747.647 53.4961 749.468 54.0661 750.763 55.2061C752.058 56.335 752.705 57.9342 752.705 60.0039C752.705 60.9447 752.495 61.8356 752.074 62.6768C751.654 63.5068 750.918 64.431 749.866 65.4492L748.521 66.7275C747.68 67.5355 747.199 68.4818 747.077 69.5664L747.011 70.5791H742.761ZM742.279 75.6758C742.279 74.9342 742.528 74.3255 743.026 73.8496C743.535 73.3626 744.183 73.1191 744.969 73.1191C745.755 73.1191 746.396 73.3626 746.895 73.8496C747.404 74.3255 747.658 74.9342 747.658 75.6758C747.658 76.4062 747.409 77.0094 746.911 77.4854C746.424 77.9613 745.777 78.1992 744.969 78.1992C744.161 78.1992 743.508 77.9613 743.01 77.4854C742.523 77.0094 742.279 76.4062 742.279 75.6758Z",fill:"var(--graph-color-7)"})],-1),pne=Li(' ',1),mne=X({__name:"KubernetesGraph",setup(e){const{t}=Rt();return(r,n)=>(m(),M("svg",Gre,[Kre,y(),qre,y(),Wre,y(),Qre,y(),Xre,y(),Jre,y(),ene,y(),tne,y(),rne,y(),nne,y(),one,y(),ane,y(),ine,y(),sne,y(),lne,y(),cne,y(),une,y(),P(L(Pt),{trigger:"hover",title:"Yaml","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:E(()=>[y(` Configuration for all `+H(L(t)("common.product.name"))+` resources is specified in YAML config files. The config files can be stored in an external datastore. `,1)]),default:E(()=>[dne,y()]),_:1}),y(),P(L(Pt),{trigger:"hover",title:L(t)("common.product.name"),"is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:E(()=>[y(` @@ -584,7 +584,7 @@ For more details see https://formatjs.io/docs/getting-started/message-distributi The control plane provides the config for all services in the mesh. `)]),default:E(()=>[tae,y()]),_:1},8,["title"]),y(),P(L(Pt),{trigger:"hover",title:"Data Plane Proxy (DPP)","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:E(()=>[y(H(L(t)("common.product.name"))+` attaches a data plane proxy sidecar to each service in your mesh. This sidecar handles the mesh configuration for the service. - `,1)]),default:E(()=>[rae,y()]),_:1}),y(),nae,y(),oae,y(),aae]))}}),w1={KumaLogo:y1(R1e,{description:"KumaLogo"}),GithubButton:y1(jte,{description:"GithubButton"}),MainOverview:y1(zre,{description:"MainOverview"}),KubernetesGraph:y1(mne,{description:"KubernetesGraph"}),PostgresGraph:y1(Poe,{description:"PostgresGraph"}),MemoryGraph:y1(Bne,{description:"MemoryGraph"}),MultizoneGraph:y1(poe,{description:"MultizoneGraph"}),StandaloneGraph:y1(iae,{description:"StandaloneGraph"}),AppSidebar:y1(P1e,{description:"AppSidebar"}),AppHeader:y1(p1e,{description:"AppHeader"}),AppLoadingBar:y1(x1e,{description:"AppLoadingBar"}),AppOnboardingNotification:y1(B1e,{description:"AppOnboardingNotification"}),MainView:y1(g1e,{description:"MainView"}),MeshDetails:y1(Yre,{description:"MeshDetails"})},[sae,lae,Ose,Vse,Pse,Nse,$se,Zse,Rse,zse,Fse,Use,cae,jse]=Hl(w1.KumaLogo,w1.GithubButton,w1.MainOverview,w1.KubernetesGraph,w1.PostgresGraph,w1.MemoryGraph,w1.MultizoneGraph,w1.StandaloneGraph,w1.AppSidebar,w1.AppHeader,w1.AppLoadingBar,w1.AppOnboardingNotification,w1.MainView,w1.MeshDetails),uae={key:0,"aria-label":"Breadcrumb"},dae={key:0,class:"app-view-title-bar"},hae={key:1,class:"actions"},fae={key:1},pae=X({__name:"AppView",props:{breadcrumbs:{type:Array,required:!1,default:null},fullscreen:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,r=cae(),n=new Map,o=Y([]),a=Symbol("app-view"),i=u=>{const d=[...u.values()];d.some(h=>h.length===0)?o.value=[]:o.value=d.flat()},s={addBreadcrumbs:(u,d)=>{typeof u<"u"&&(n.set(d,u),i(n))},removeBreadcrumbs:u=>{n.delete(u),i(n)}},l=x1("app-view-parent",void 0);l||Vo("app-view-parent",s);const c=l||s;return De(()=>t.breadcrumbs,u=>{u!==null&&c.addBreadcrumbs(u,a)},{immediate:!0}),cr(()=>{c.removeBreadcrumbs(a)}),(u,d)=>{const h=Qt("KAlert");return m(),G(vt(L(l)?"div":L(r)),{class:J({"app-main-content":!L(l)})},{default:E(()=>[!L(l)&&o.value.length>0?(m(),M("nav",uae,[P(L(V7),{items:o.value},null,8,["items"])])):I("",!0),y(),p("section",{class:J({"is-fullscreen":t.fullscreen})},[u.$slots.title?(m(),M("header",dae,[t.fullscreen?(m(),G(L(gte),{key:0})):I("",!0),y(),F(u.$slots,"title",{},void 0,!0),y(),u.$slots.actions?(m(),M("div",hae,[F(u.$slots,"actions",{},void 0,!0)])):I("",!0)])):I("",!0),y(),u.$slots.notifications?(m(),M("aside",fae,[P(h,{class:"mb-4",appearance:"warning"},{alertMessage:E(()=>[F(u.$slots,"notifications",{},void 0,!0)]),_:3})])):I("",!0),y(),F(u.$slots,"default",{},void 0,!0)],2)]),_:3},8,["class"])}}});const mae=Xt(pae,[["__scopeId","data-v-9bd2101c"]]),r7=Symbol("route-view-parent"),vae=X({__name:"RouteTitle",props:{title:{type:String,required:!1,default:""},render:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,r=Symbol("route-title"),n=x1(r7);return typeof n<"u"&&(De(()=>t.title,o=>{o.length>0&&n.addTitle(o,r)},{immediate:!0}),cr(()=>{n.removeTitle(r)})),(o,a)=>t.render?(m(),M(we,{key:0},[y(H(t.title),1)],64)):I("",!0)}}),k5=function(e){let t;return(...r)=>{t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e.bind(e,...r))}},gae=function(e){return(Array.isArray(e)?e[0]:e)??""},Cae=(e=document)=>k5(t=>{e.title=t}),yae=(e=document.documentElement)=>{if(!e)return()=>{};const t=[...e.classList];return k5(r=>{const n=r.reduce((o,a)=>Object.entries(a).reduce((i,[s,l])=>(typeof i[s]>"u"&&(i[s]=[]),i[s].push(l),i),o),{});e.classList.remove(...[...e.classList].filter(o=>!t.includes(o))),e.classList.add(...n.class||[])})},cu=(e,t)=>{const r={...t},n=Object.entries(e).reduce((o,[a,i])=>(String(i).length>0?o[a]=encodeURIComponent(String(i)):o[a]=void 0,o),r);return{...r,...n}},bae=["data-testid"],wae={key:0,class:"route-view-title visually-hidden","aria-live":"assertive","aria-atomic":"true"},_ae=X({__name:"RouteView",props:{name:{},attrs:{default:()=>({})},params:{default:()=>({})}},setup(e){const t=e,r=x5(),n=S5(),{t:o}=Rt(),a=ql(),i=aC(),s=Symbol("route-view"),l=A(()=>t.name),c=Y(""),u=new Map,d=new Map,h=Cae(document),f=yae(document.documentElement),C=N=>N.reverse().concat(o("components.route-view.title",{name:o("common.product.name")})).join(" | "),_={addTitle:(N,z)=>{c.value=N,u.set(z,N),h(C([...u.values()]))},removeTitle:N=>{u.delete(N),h(C([...u.values()]))},addAttrs:(N,z)=>{d.set(z,N),f([...d.values()])},removeAttrs:N=>{d.delete(N),f([...d.values()])}},g=A(()=>Object.entries({...t.params,...a.query,...a.params}).reduce((z,[D,S])=>{if(typeof t.params[D]>"u")return z;let R=gae(S);const V=t.params[D];switch(!0){case typeof V=="number":isNaN(Number(S))&&(R=String(V));break}return R.length===0&&(R=String(V)),z[D]=decodeURIComponent(R),z},{}));let b={};const w=k5(N=>{i.push({name:t.name,query:cu(N,a.query)}),b={}}),v=N=>{b={...b,...N},w(b)},k=(...N)=>{i.push(...N)};De(()=>t.name,N=>{const z=Object.entries(g.value||{}).reduce((D,[S,R])=>(typeof a.params[S]>"u"&&(D[S]=R),D),{});Object.keys(z).length>0&&i.replace({name:N,query:cu(z,a.query)})},{immediate:!0});const T=x1(r7,void 0);T||(h(o("components.route-view.title",{name:o("common.product.name")})),Vo(r7,_));const $=T||_;return De(()=>t.attrs,N=>{Object.keys(N).length>0&&$.addAttrs(N,s)},{immediate:!0}),cr(()=>{$.removeAttrs(s)}),(N,z)=>(m(),M("div",{class:"route-view","data-testid":l.value},[L(T)?I("",!0):(m(),M("div",wae,H(L(o)("components.route-view.route-announcer",{title:c.value})),1)),y(),F(N.$slots,"default",{t:L(o),env:L(r),can:L(n),route:{update:v,replace:k,params:g.value}})],8,bae))}}),kae=e=>[{path:"/404",name:"not-found",alias:"/:pathMatch(.*)*",meta:{title:"Item not found"},component:()=>e[e.length-1]()}],Mae=e=>{const t=(r,n)=>typeof e[r]<"u"?e[r](t,n):!1;return t};function xae(e){const t=e.split(/([A-Z][a-z]+)/).join(" ").replace(/\s+/g," ").trim();return t.charAt(0).toUpperCase()+t.substring(1)}class uu extends Error{get key(){return this.message}}const Sae=(e,t)=>{const r=WJ("en-us",e,{isGlobal:!0,onError:o=>{throw o}}),n={KUMA_VERSION:t("KUMA_VERSION"),KUMA_DOCS_URL:t("KUMA_DOCS_URL"),KUMA_UTM_QUERY_PARAMS:t("KUMA_UTM_QUERY_PARAMS"),KUMA_PRODUCT_NAME:r.t("common.product.name")};return{...r,t:function(...o){var i;const a=o[0];try{if(typeof bl(e,a)>"u")throw a.startsWith("http.api.")?new uu(a):new Error(`Missing message: "${a}" for locale "en-us", using id as fallback`);return bl(e,a).length===0?"":(o[1]={...n,...o[1]},r.t(...o))}catch(s){switch(!0){case s instanceof uu:return xae(s.key.split(".").pop());default:if((i=o[2])!=null&&i.defaultMessage)return o[2].defaultMessage;throw s}}}}};var ci=class{constructor(e,t,r,n,o,a){mt(this,"type",3);mt(this,"name","");mt(this,"prefix","");mt(this,"value","");mt(this,"suffix","");mt(this,"modifier",3);this.type=e,this.name=t,this.prefix=r,this.value=n,this.suffix=o,this.modifier=a}hasCustomName(){return this.name!==""&&typeof this.name!="number"}},Eae=/[$_\p{ID_Start}]/u,Aae=/[$_\u200C\u200D\p{ID_Continue}]/u,n7=".*";function Lae(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}function nf(e,t=!1){let r=[],n=0;for(;n{if(il("OTHER_MODIFIER")??l("ASTERISK"),u=w=>{let v=l(w);if(v!==void 0)return v;let{type:k,index:T}=r[i];throw new TypeError(`Unexpected ${k} at ${T}, expected ${w}`)},d=()=>{let w="",v;for(;v=l("CHAR")??l("ESCAPED_CHAR");)w+=v;return w},h=w=>w,f=t.encodePart||h,C="",_=w=>{C+=w},g=()=>{C.length&&(o.push(new ci(3,"","",f(C),"",3)),C="")},b=(w,v,k,T,$)=>{let N=3;switch($){case"?":N=1;break;case"*":N=0;break;case"+":N=2;break}if(!v&&!k&&N===3){_(w);return}if(g(),!v&&!k){if(!w)return;o.push(new ci(3,"","",f(w),"",N));return}let z;k?k==="*"?z=n7:z=k:z=n;let D=2;z===n?(D=1,z=""):z===n7&&(D=0,z="");let S;if(v?S=v:k&&(S=a++),s.has(S))throw new TypeError(`Duplicate name '${S}'.`);s.add(S),o.push(new ci(D,S,f(w),z,f(T),N))};for(;i-1)}return i||(n+=`(?=${a}|${o})`),new RegExp(n,du(r))}var fn={delimiter:"",prefixes:"",sensitive:!0,strict:!0},Dae={delimiter:".",prefixes:"",sensitive:!0,strict:!0},Hae={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function Tae(e,t){return e.length?e[0]==="/"?!0:!t||e.length<2?!1:(e[0]=="\\"||e[0]=="{")&&e[1]=="/":!1}function sf(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function Iae(e,t){return e.endsWith(t)?e.substr(0,e.length-t.length):e}function lf(e){return!e||e.length<2?!1:e[0]==="["||(e[0]==="\\"||e[0]==="{")&&e[1]==="["}var cf=["ftp","file","http","https","ws","wss"];function uf(e){if(!e)return!0;for(let t of cf)if(e.test(t))return!0;return!1}function Oae(e,t){if(e=sf(e,"#"),t||e==="")return e;let r=new URL("https://example.com");return r.hash=e,r.hash?r.hash.substring(1,r.hash.length):""}function Vae(e,t){if(e=sf(e,"?"),t||e==="")return e;let r=new URL("https://example.com");return r.search=e,r.search?r.search.substring(1,r.search.length):""}function Pae(e,t){return t||e===""?e:lf(e)?ff(e):hf(e)}function Nae(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.password=e,r.password}function $ae(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.username=e,r.username}function Zae(e,t,r){if(r||e==="")return e;if(t&&!cf.includes(t))return new URL(`${t}:${e}`).pathname;let n=e[0]=="/";return e=new URL(n?e:"/-"+e,"https://example.com").pathname,n||(e=e.substring(2,e.length)),e}function Rae(e,t,r){return df(t)===e&&(e=""),r||e===""?e:pf(e)}function zae(e,t){return e=Iae(e,":"),t||e===""?e:M5(e)}function df(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function M5(e){if(e==="")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError(`Invalid protocol '${e}'.`)}function Fae(e){if(e==="")return e;let t=new URL("https://example.com");return t.username=e,t.username}function Uae(e){if(e==="")return e;let t=new URL("https://example.com");return t.password=e,t.password}function hf(e){if(e==="")return e;if(/[\t\n\r #%/:<>?@[\]^\\|]/g.test(e))throw new TypeError(`Invalid hostname '${e}'`);let t=new URL("https://example.com");return t.hostname=e,t.hostname}function ff(e){if(e==="")return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}function pf(e){if(e===""||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError(`Invalid port '${e}'.`)}function jae(e){if(e==="")return e;let t=new URL("https://example.com");return t.pathname=e[0]!=="/"?"/-"+e:e,e[0]!=="/"?t.pathname.substring(2,t.pathname.length):t.pathname}function Yae(e){return e===""?e:new URL(`data:${e}`).pathname}function Gae(e){if(e==="")return e;let t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function Kae(e){if(e==="")return e;let t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}var $o,u1,St,bt,Qn,Zo,Fr,Ro,zo,Fo,Vt,Ft,wl,mf,Ei,o7,Xn,Ua,Uo,Ts,k1,Z1,Ai,a7,_l,vf,jo,Is,kl,gf,Ml,Cf,Yo,Os,Cn,Lo,Ur,zn,xl,yf,Sl,bf,El,wf,Al,_f,z1,pr,Ll,kf,mu,qae=(mu=class{constructor(e){et(this,Vt);et(this,wl);et(this,Ei);et(this,Xn);et(this,Uo);et(this,k1);et(this,Ai);et(this,_l);et(this,jo);et(this,kl);et(this,Ml);et(this,Yo);et(this,Cn);et(this,Ur);et(this,xl);et(this,Sl);et(this,El);et(this,Al);et(this,z1);et(this,Ll);et(this,$o,void 0);et(this,u1,[]);et(this,St,{});et(this,bt,0);et(this,Qn,1);et(this,Zo,0);et(this,Fr,0);et(this,Ro,0);et(this,zo,0);et(this,Fo,!1);Yt(this,$o,e)}get result(){return oe(this,St)}parse(){for(Yt(this,u1,nf(oe(this,$o),!0));oe(this,bt)0)if(ge(this,Sl,bf).call(this))Yt(this,Ro,oe(this,Ro)-1);else continue;if(ge(this,xl,yf).call(this)){Yt(this,Ro,oe(this,Ro)+1);continue}switch(oe(this,Fr)){case 0:ge(this,Ai,a7).call(this)&&(oe(this,St).username="",oe(this,St).password="",oe(this,St).hostname="",oe(this,St).port="",oe(this,St).pathname="",oe(this,St).search="",oe(this,St).hash="",ge(this,Xn,Ua).call(this,1));break;case 1:if(ge(this,Ai,a7).call(this)){ge(this,Ll,kf).call(this);let e=7,t=1;oe(this,Fo)&&(oe(this,St).pathname="/"),ge(this,_l,vf).call(this)?(e=2,t=3):oe(this,Fo)&&(e=2),ge(this,Vt,Ft).call(this,e,t)}break;case 2:ge(this,jo,Is).call(this)?ge(this,Xn,Ua).call(this,3):(ge(this,Yo,Os).call(this)||ge(this,Cn,Lo).call(this)||ge(this,Ur,zn).call(this))&&ge(this,Xn,Ua).call(this,5);break;case 3:ge(this,kl,gf).call(this)?ge(this,Vt,Ft).call(this,4,1):ge(this,jo,Is).call(this)&&ge(this,Vt,Ft).call(this,5,1);break;case 4:ge(this,jo,Is).call(this)&&ge(this,Vt,Ft).call(this,5,1);break;case 5:ge(this,El,wf).call(this)?Yt(this,zo,oe(this,zo)+1):ge(this,Al,_f).call(this)&&Yt(this,zo,oe(this,zo)-1),ge(this,Ml,Cf).call(this)&&!oe(this,zo)?ge(this,Vt,Ft).call(this,6,1):ge(this,Yo,Os).call(this)?ge(this,Vt,Ft).call(this,7,0):ge(this,Cn,Lo).call(this)?ge(this,Vt,Ft).call(this,8,1):ge(this,Ur,zn).call(this)&&ge(this,Vt,Ft).call(this,9,1);break;case 6:ge(this,Yo,Os).call(this)?ge(this,Vt,Ft).call(this,7,0):ge(this,Cn,Lo).call(this)?ge(this,Vt,Ft).call(this,8,1):ge(this,Ur,zn).call(this)&&ge(this,Vt,Ft).call(this,9,1);break;case 7:ge(this,Cn,Lo).call(this)?ge(this,Vt,Ft).call(this,8,1):ge(this,Ur,zn).call(this)&&ge(this,Vt,Ft).call(this,9,1);break;case 8:ge(this,Ur,zn).call(this)&&ge(this,Vt,Ft).call(this,9,1);break}}}},$o=new WeakMap,u1=new WeakMap,St=new WeakMap,bt=new WeakMap,Qn=new WeakMap,Zo=new WeakMap,Fr=new WeakMap,Ro=new WeakMap,zo=new WeakMap,Fo=new WeakMap,Vt=new WeakSet,Ft=function(e,t){switch(oe(this,Fr)){case 0:break;case 1:oe(this,St).protocol=ge(this,z1,pr).call(this);break;case 2:break;case 3:oe(this,St).username=ge(this,z1,pr).call(this);break;case 4:oe(this,St).password=ge(this,z1,pr).call(this);break;case 5:oe(this,St).hostname=ge(this,z1,pr).call(this);break;case 6:oe(this,St).port=ge(this,z1,pr).call(this);break;case 7:oe(this,St).pathname=ge(this,z1,pr).call(this);break;case 8:oe(this,St).search=ge(this,z1,pr).call(this);break;case 9:oe(this,St).hash=ge(this,z1,pr).call(this);break}ge(this,wl,mf).call(this,e,t)},wl=new WeakSet,mf=function(e,t){Yt(this,Fr,e),Yt(this,Zo,oe(this,bt)+t),Yt(this,bt,oe(this,bt)+t),Yt(this,Qn,0)},Ei=new WeakSet,o7=function(){Yt(this,bt,oe(this,Zo)),Yt(this,Qn,0)},Xn=new WeakSet,Ua=function(e){ge(this,Ei,o7).call(this),Yt(this,Fr,e)},Uo=new WeakSet,Ts=function(e){return e<0&&(e=oe(this,u1).length-e),e=0&&(e.pathname=Vr(n.pathname.substring(0,o+1),r)+e.pathname)}e.pathname=Zae(e.pathname,e.protocol,r)}return typeof t.search=="string"&&(e.search=Vae(t.search,r)),typeof t.hash=="string"&&(e.hash=Oae(t.hash,r)),e}function ja(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}function Wae(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function Qae(e,t){t.delimiter??(t.delimiter="/#?"),t.prefixes??(t.prefixes="./"),t.sensitive??(t.sensitive=!1),t.strict??(t.strict=!1),t.end??(t.end=!0),t.start??(t.start=!0),t.endsWith="";let r=".*",n=`[^${Wae(t.delimiter)}]+?`,o=/[$_\u200C\u200D\p{ID_Continue}]/u,a="";for(let i=0;i0?e[i-1]:null,d=i0?d.value[0]:"";c=o.test(h)}else c=!d.hasCustomName();if(!c&&!s.prefix.length&&u&&u.type===3){let h=u.value[u.value.length-1];c=t.prefixes.includes(h)}c&&(a+="{"),a+=ja(s.prefix),l&&(a+=`:${s.name}`),s.type===2?a+=`(${s.value})`:s.type===1?l||(a+=`(${n})`):s.type===0&&(!l&&(!u||u.type===3||u.modifier!==3||c||s.prefix!=="")?a+="*":a+=`(${r})`),s.type===1&&l&&s.suffix.length&&o.test(s.suffix[0])&&(a+="\\"),a+=ja(s.suffix),c&&(a+="}"),s.modifier!==3&&(a+=Do(s.modifier))}return a}var Cr,Jn,Go,Gt,yr,vu,Mf=(vu=class{constructor(e={},t,r){et(this,Cr,void 0);et(this,Jn,{});et(this,Go,{});et(this,Gt,{});et(this,yr,{});try{let n;if(typeof t=="string"?n=t:r=t,typeof e=="string"){let s=new qae(e);if(s.parse(),e=s.result,n===void 0&&typeof e.protocol!="string")throw new TypeError("A base URL must be provided for a relative constructor string.");e.baseURL=n}else{if(!e||typeof e!="object")throw new TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");if(n)throw new TypeError("parameter 1 is not of type 'string'.")}typeof r>"u"&&(r={ignoreCase:!1});let o={ignoreCase:r.ignoreCase===!0};Yt(this,Cr,Oa({pathname:cn,protocol:cn,username:cn,password:cn,hostname:cn,port:cn,search:cn,hash:cn},e,!0)),df(oe(this,Cr).protocol)===oe(this,Cr).port&&(oe(this,Cr).port="");let i;for(i of w0){if(!(i in oe(this,Cr)))continue;let s={},l=oe(this,Cr)[i];switch(oe(this,Go)[i]=[],i){case"protocol":Object.assign(s,fn),s.encodePart=M5;break;case"username":Object.assign(s,fn),s.encodePart=Fae;break;case"password":Object.assign(s,fn),s.encodePart=Uae;break;case"hostname":Object.assign(s,Dae),lf(l)?s.encodePart=ff:s.encodePart=hf;break;case"port":Object.assign(s,fn),s.encodePart=pf;break;case"pathname":uf(oe(this,Jn).protocol)?(Object.assign(s,Hae,o),s.encodePart=jae):(Object.assign(s,fn,o),s.encodePart=Yae);break;case"search":Object.assign(s,fn,o),s.encodePart=Gae;break;case"hash":Object.assign(s,fn,o),s.encodePart=Kae;break}try{oe(this,yr)[i]=of(l,s),oe(this,Jn)[i]=af(oe(this,yr)[i],oe(this,Go)[i],s),oe(this,Gt)[i]=Qae(oe(this,yr)[i],s)}catch{throw new TypeError(`invalid ${i} pattern '${oe(this,Cr)[i]}'.`)}}}catch(n){throw new TypeError(`Failed to construct 'URLPattern': ${n.message}`)}}test(e={},t){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof e!="string"&&t)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof e>"u")return!1;try{typeof e=="object"?r=Oa(r,e,!1):r=Oa(r,hu(e,t),!1)}catch{return!1}let n;for(n of w0)if(!oe(this,Jn)[n].exec(r[n]))return!1;return!0}exec(e={},t){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof e!="string"&&t)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof e>"u")return;try{typeof e=="object"?r=Oa(r,e,!1):r=Oa(r,hu(e,t),!1)}catch{return null}let n={};t?n.inputs=[e,t]:n.inputs=[e];let o;for(o of w0){let a=oe(this,Jn)[o].exec(r[o]);if(!a)return null;let i={};for(let[s,l]of oe(this,Go)[o].entries())if(typeof l=="string"||typeof l=="number"){let c=a[s+1];i[l]=c}n[o]={input:r[o]??"",groups:i}}return n}static compareComponent(e,t,r){let n=(s,l)=>{for(let c of["type","modifier","prefix","value","suffix"]){if(s[c]{let c=0;for(;c{this.routes.set(new Mf({pathname:r}),n)})}match(t){for(const[r,n]of this.routes){const o=`data:${t}`;if(r.test(o)){const a=r.exec(o);return{route:n,params:(a==null?void 0:a.pathname.groups)||{}}}}throw new Error(`Matching route for '${t}' not found`)}}class Jae{constructor(t,r){mt(this,"pool",new Map);this.create=t,this.destroy=r}acquire(t,r){if(!this.pool.has(t)){const o={value:this.create(t),references:new Set};this.pool.set(t,o)}const n=this.pool.get(t);return n.references.add(r),n.value}release(t,r){if(this.pool.has(t)){const n=this.pool.get(t);n.references.delete(r),n.references.size===0&&(this.pool.delete(t),this.destroy(t,n.value))}}}class eie{constructor(t,{create:r,destroy:n},o){mt(this,"cache",new Map);mt(this,"pool");mt(this,"getCacheKeyPrefix");const a=new Xae(t);this.pool=new Jae(i=>r(i,a),(i,s)=>{n(i,s)}),this.getCacheKeyPrefix=o}source(t,r){const n=this.getCacheKeyPrefix()+t,o=this.pool.acquire(t,r);return o.addEventListener("message",a=>{this.cache.set(n,a.data)}),this.cache.has(n)&&Promise.resolve().then(()=>{o==null||o.dispatchEvent(new MessageEvent("message",{data:this.cache.get(n)}))}),o}close(t,r){return this.pool.release(t,r)}}const tie=0,rie=1,Fn=2,nie=e=>e.readyState===Fn;class oie extends EventTarget{constructor(r,n={}){super();mt(this,"url","");mt(this,"withCredentials",!1);mt(this,"CONNECTING",tie);mt(this,"OPEN",rie);mt(this,"CLOSED",Fn);mt(this,"onerror",null);mt(this,"onmessage",null);mt(this,"onopen",null);mt(this,"readyState",Fn);this.source=r,this._open()}_open(){(async function(r){try{r.readyState=0;const n=r.source();for await(const o of n)if(r.dispatchEvent(new MessageEvent("message",{data:o})),r.readyState===Fn)break;r.readyState=Fn}catch(n){r.dispatchEvent(new ErrorEvent("error",{error:n}))}})(this)}open(){this.readyState!==Fn&&this._open()}close(){this.readyState=Fn}}const aie=(e,t)=>{const[r,n]=e.split("?"),o=new URLSearchParams(n),a=t.match(r);return new oie(async function*(){for(;;)this.readyState=1,yield a.route({offset:parseInt(o.get("offset")||"0"),size:parseInt(o.get("size")||"0"),page:parseInt(o.get("page")||"0"),search:o.get("search")||"",...a.params},this),nie(this)||await new Promise(s=>setTimeout(s,5e3))})},iie=(e,t)=>{t&&t.close()},sie={create:aie,destroy:iie};class lie{constructor(t){mt(this,"env");let r=t;const n=(s,l="")=>this.var(s,(r==null?void 0:r[s])??l),o=this.getConfig(),a=die(n("KUMA_VERSION",o.version)),i=encodeURIComponent(n("KUMA_PRODUCT_NAME"));r={...r,KUMA_UTM_QUERY_PARAMS:`utm_source=${i}&utm_medium=${i}`},this.env={...r,KUMA_INSTALL_URL:`${n("KUMA_INSTALL_URL")}?${n("KUMA_UTM_QUERY_PARAMS")}`,KUMA_DOCS_URL:`${n("KUMA_DOCS_URL")}/${a.patch==="0.0.0"?"dev":a.patch.replace(/\.\d+$/,".x")}`,KUMA_VERSION:a.pre,KUMA_API_URL:n("KUMA_API_URL")||o.apiUrl,KUMA_BASE_PATH:n("KUMA_BASE_PATH")||o.baseGuiPath,KUMA_MODE:n("KUMA_MODE")||o.mode,KUMA_ENVIRONMENT:n("KUMA_ENVIRONMENT")||o.environment,KUMA_STORE_TYPE:n("KUMA_STORE_TYPE")||o.storeType}}var(t,r=""){var n;return((n=this.env)==null?void 0:n[t])??r}getConfig(){const t=document.querySelector("#kuma-config");let r;if(t instanceof HTMLScriptElement&&t.textContent)try{r=JSON.parse(t.textContent.trim())}catch(n){console.error(n)}return r||(r=cie(),console.error("Unable to parse kuma config. Falling back to defaults")),r.apiUrl=uie(r.apiUrl),r}}function cie(e=""){return{baseGuiPath:"/gui",apiUrl:e,version:"2.4.0",product:"Kuma",mode:"global",environment:"universal",storeType:"postgres",apiReadOnly:!1}}function xf(e){return e.endsWith("/")?xf(e.slice(0,-1)):e}function uie(e){return e=!e.includes("://")&&!e.startsWith("/")?`/${e}`:e,xf(e)}function die(e){const[t,r,...n]=e.split(".");if(isNaN(parseInt(t)))return{major:t,minor:t,patch:t,pre:t};const[o,a]=n.join(".").split("-");return{major:t,minor:`${t}.${r}`,patch:`${t}.${r}.${o}`,pre:`${t}.${r}.${o}${a!==void 0?`-${a}`:""}`}}const Kt={Env:Be("application.Env"),env:Be("application.env"),EnvVars:Be("EnvVars"),can:Be("application.can"),features:Be("application.can.features"),notFoundView:Be("application.not-found"),applicationComponents:Be("application.components"),sources:Be("data.sources"),dataSourcePool:Be("data.DataSourcePool"),dataSourceLifecycle:Be("data.DataSourceLifecycle"),getDataSourceCacheKeyPrefix:Be("data.getDataSourceCacheKeyPrefix"),i18n:Be("i18n"),enUs:Be("i18n.locale.enUs")},hie=e=>[[Be("application.components"),{service:t=>[["AppView",mae],["DataSource",No],["RouteView",_ae],["RouteTitle",vae],["I18nT",QJ(t)]],arguments:[e.i18n],labels:[e.components]}],[Be("application.routes"),{service:kae,arguments:[Kt.notFoundView],labels:[e.routes]}],[Kt.i18n,{service:Sae,arguments:[Kt.enUs,e.env]}],[Kt.can,{service:Mae,arguments:[Kt.features]}],[Kt.Env,{service:lie,arguments:[e.EnvVars]}],[Kt.env,{service:t=>(...r)=>t.var(...r),arguments:[Kt.Env]}],[Kt.dataSourceLifecycle,{constant:sie}],[Kt.getDataSourceCacheKeyPrefix,{service:()=>()=>"",arguments:[e.router]}],[Kt.dataSourcePool,{service:eie,arguments:[e.sources,Kt.dataSourceLifecycle,Kt.getDataSourceCacheKeyPrefix]}]],fie=Kt,[x5,S5,Rt,pie]=Hl(Kt.env,Kt.can,Kt.i18n,Kt.dataSourcePool);function mie(e){return[{name:"Home",routeName:"home"},...e?[{name:"Zones",routeName:"zone-cp-list-view",anchorRouteName:"zone-index-view"}]:[{name:"Zone Egresses",routeName:"zone-egress-list-view",anchorRouteName:"zone-index-view"}],{name:"Meshes",routeName:"mesh-list-view",anchorRouteName:"mesh-index-view"}]}const vie=e=>({"use kubernetes":t=>e("KUMA_ENVIRONMENT")==="kubernetes","use state":t=>e("KUMA_STORE_TYPE")!=="memory"}),gie=()=>[{path:"/",name:"home",component:()=>xe(()=>import("./MainOverviewView-b7f664c9.js"),[],import.meta.url)}],Cie=e=>({"/global-insight":(t,r)=>(r.close(),e.getGlobalInsight())}),yie=e=>[[Be("control-planes.routes"),{service:gie,labels:[e.routes]}],[Be("control-planes.sources"),{service:Cie,arguments:[e.api],labels:[e.sources]}],[Be("control-planes.features"),{service:vie,arguments:[e.env],labels:[e.features]}]],bie=()=>({"/me":async(e={},t)=>(t.close(),Promise.resolve({pageSize:50}))}),wie={sources:Be("me.sources")},_ie=e=>[[wie.sources,{service:bie,arguments:[e.api],labels:[e.sources]}]],kie=(e,t,r,n)=>[{path:"/meshes",name:"mesh-index-view",redirect:{name:"mesh-list-view"},component:()=>xe(()=>import("./MeshIndexView-8d53813a.js"),[],import.meta.url),children:[{path:"",name:"mesh-list-view",component:()=>xe(()=>import("./MeshListView-16ee4934.js"),["./MeshListView-954cdc0b.css"],import.meta.url)},{path:":mesh",name:"mesh",redirect:{name:"mesh-detail-view"},children:[{path:"",name:"mesh-tabs-view",redirect:{name:"mesh-detail-view"},component:()=>xe(()=>import("./MeshTabsView-21a1b25f.js"),["./NavTabs-67112198.css"],import.meta.url),children:[{path:"overview",meta:{module:"meshes"},name:"mesh-detail-view",component:()=>xe(()=>import("./MeshDetailView-84325288.js"),["./MeshDetailView-f882dce6.css"],import.meta.url)},{path:"config",name:"mesh-config-view",component:()=>xe(()=>import("./MeshConfigView-8fcae539.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},...e.items(),...t.items(),...r.items(),...n.items()]},...e.item(),...t.item(),...r.item(),...n.item()]}]}],Mie=e=>({"/meshes":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return e.getAllMeshes({size:n,offset:o})},"/meshes/:name":(t,r)=>{r.close();const{name:n}=t;return e.getMesh({name:n})},"/mesh-insights":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return e.getAllMeshInsights({size:n,offset:o})},"/mesh-insights/:name":async(t,r)=>{r.close();const{name:n}=t;return e.getMeshInsights({name:n})}}),xie=["protocol","service","zone"];function i7(e){const t=new Map;for(const[r,n]of e){const o=xie.includes(r),a=o?"tag":r;t.has(a)||t.set(a,[]);const i=t.get(a);let s;a==="tag"?s=(o?`kuma.io/${r}:${n}`:n).replace(/\s+/g,""):s=n,i.push(s.trim())}return t}const Sie=e=>({"/meshes/:mesh/dataplanes":async(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1),i="false",s=Object.fromEntries(i7(JSON.parse(t.search||"[]")));return e.getAllDataplaneOverviewsFromMesh({mesh:n},{...s,gateway:i,offset:a,size:o})},"/meshes/:mesh/dataplanes/:name":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getDataplaneFromMesh({mesh:n,name:o})},"/meshes/:mesh/dataplanes/:name/data-path/:dataPath":(t,r)=>{r.close();const{mesh:n,name:o,dataPath:a}=t;return e.getDataplaneData({mesh:n,dppName:o,dataPath:a})},"/meshes/:mesh/dataplanes/:name/sidecar-dataplanes-policies":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getSidecarDataplanePolicies({mesh:n,name:o})},"/meshes/:mesh/dataplanes/:name/rules":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getDataplaneRules({mesh:n,name:o})},"/meshes/:mesh/dataplane-overviews/:name":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getDataplaneOverviewFromMesh({mesh:n,name:o})},"/meshes/:mesh/dataplanes/for/:service/of/:type":async(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1),i=Object.fromEntries(i7(JSON.parse(t.search||"[]")));typeof i.tag>"u"&&(i.tag=[]),i.tag=i.tag.filter(l=>!l.startsWith("kuma.io/service:")),i.tag.push(`kuma.io/service:${t.service}`);const s=t.type!=="all"?{gateway:t.type}:{};return e.getAllDataplaneOverviewsFromMesh({mesh:n},{...i,...s,offset:a,size:o})}}),Eie=()=>({items:()=>[{path:"data-planes",name:"data-plane-list-view",meta:{module:"data-planes"},component:()=>xe(()=>import("./DataPlaneListView-3ee4263b.js"),["./KFilterBar-7168f421.css","./DataPlaneListView-407dd163.css"],import.meta.url)}],item:()=>[{path:"data-planes/:dataPlane",name:"data-plane-detail-tabs-view",component:()=>xe(()=>import("./DataPlaneDetailTabsView-7fe6fba5.js"),["./NavTabs-67112198.css"],import.meta.url),children:[{path:"overview",name:"data-plane-detail-view",component:()=>xe(()=>import("./DataPlaneDetailView-cf090b8b.js"),["./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css","./TagList-613e8329.css","./DataPlaneDetailView-a63ad1a7.css"],import.meta.url)},{path:"policies",name:"data-plane-policies-view",component:()=>xe(()=>import("./DataPlanePoliciesView-b7bb8fe9.js"),["./AccordionList-8bab9627.css","./CodeBlock-aa591f34.css","./PolicyTypeTag-f5c09fb0.css","./TagList-613e8329.css","./DataPlanePoliciesView-3172c9cb.css"],import.meta.url)},{path:"xds-config",name:"data-plane-xds-config-view",component:()=>xe(()=>import("./DataPlaneXdsConfigView-715dbc15.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"data-plane-stats-view",component:()=>xe(()=>import("./DataPlaneStatsView-cbe53184.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"data-plane-clusters-view",component:()=>xe(()=>import("./DataPlaneClustersView-0affc52b.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"data-plane-config-view",component:()=>xe(()=>import("./DataPlaneConfigView-6d9b3472.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),Aie=e=>[[Be("data-planes.sources"),{service:Sie,arguments:[e.api],labels:[e.sources]}]],Lie=e=>({"/meshes/:mesh/gateways":async(t,r)=>{r.close();const n=t.size*(t.page-1);return e.getAllDataplaneOverviewsFromMesh({mesh:t.mesh},{gateway:"true",offset:n,size:t.size})},"/meshes/:mesh/gateways/of/:type":async(t,r)=>{r.close();const n=t.size*(t.page-1);return e.getAllDataplaneOverviewsFromMesh({mesh:t.mesh},{...Object.fromEntries(i7(JSON.parse(t.search||"[]"))),gateway:t.type==="all"?"true":t.type,offset:n,size:t.size})},"/meshes/:mesh/gateways/:name/policies":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getMeshGatewayDataplane({mesh:n,name:o})}}),Bie=()=>({items:()=>[{path:"gateways",name:"gateway-list-view",meta:{module:"gateways"},component:()=>xe(()=>import("./GatewayListView-639e8a24.js"),["./KFilterBar-7168f421.css","./GatewayListView-a7c21902.css"],import.meta.url)}],item:()=>[{path:"gateways/:dataPlane",name:"gateway-detail-tabs-view",component:()=>xe(()=>import("./DataPlaneDetailTabsView-7fe6fba5.js"),["./NavTabs-67112198.css"],import.meta.url),props:{isGatewayView:!0},children:[{path:"overview",name:"gateway-detail-view",component:()=>xe(()=>import("./DataPlaneDetailView-cf090b8b.js"),["./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css","./TagList-613e8329.css","./DataPlaneDetailView-a63ad1a7.css"],import.meta.url)},{path:"policies",name:"gateway-policies-view",component:()=>xe(()=>import("./GatewayPoliciesView-29031140.js"),["./AccordionList-8bab9627.css","./GatewayPoliciesView-15d674af.css"],import.meta.url)},{path:"xds-config",name:"gateway-xds-config-view",component:()=>xe(()=>import("./DataPlaneXdsConfigView-715dbc15.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"gateway-stats-view",component:()=>xe(()=>import("./DataPlaneStatsView-cbe53184.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"gateway-clusters-view",component:()=>xe(()=>import("./DataPlaneClustersView-0affc52b.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)}]}]}),Die=e=>[[Be("gateway.sources"),{service:Lie,arguments:[e.api],labels:[e.sources]}]],Hie=e=>({"/*/policy-types":(t,r)=>(r.close(),e.getPolicyTypes()),"/meshes/:mesh/policy-path/:path":(t,r)=>{r.close();const{mesh:n,path:o,size:a}=t,i=t.size*(t.page-1);return e.getAllPolicyEntitiesFromMesh({mesh:n,path:o},{offset:i,size:a})},"/meshes/:mesh/policy-path/:path/policy/:name":(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return e.getSinglePolicyEntity({mesh:n,path:o,name:a})},"/meshes/:mesh/policy-path/:path/policy/:name/dataplanes":(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return e.getPolicyConnections({mesh:n,path:o,name:a})}}),Tie=()=>({items:()=>[{path:"policies",name:"policy-list-index-view",meta:{module:"policies"},redirect:t=>({...t,params:{...t.params,policyPath:"circuit-breakers"},name:"policy-list-view"}),children:[{path:":policyPath",name:"policy-list-view",component:()=>xe(()=>import("./PolicyListView-bd677da7.js"),["./PolicyTypeTag-f5c09fb0.css","./PolicyListView-5c826bc1.css"],import.meta.url)}]}],item:()=>[{path:"policies/:policyPath/:policy/overview",name:"policy-detail-view",component:()=>xe(()=>import("./PolicyDetailView-a8d94bc6.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}),Iie=e=>[[Be("policies.sources"),{service:Hie,arguments:[e.api],labels:[e.sources]}]],Oie=e=>({"/meshes/:mesh/service-insights":(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1);return e.getAllServiceInsightsFromMesh({mesh:n},{size:o,offset:a})},"/meshes/:mesh/service-insights/:name":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getServiceInsight({mesh:n,name:o})},"/meshes/:mesh/external-services/for/:service":async(t,r)=>{r.close();const{mesh:n,service:o}=t,{items:a}=await e.getAllExternalServicesFromMesh({mesh:n},{tag:[`kuma.io/service:${o}`]});return a.length>0?a[0]:null}}),Vie=()=>({items:()=>[{path:"services",name:"service-list-view",meta:{module:"services"},component:()=>xe(()=>import("./ServiceListView-15cabe66.js"),["./ServiceListView-28679687.css"],import.meta.url)}],item:()=>[{path:"services/:service",name:"service-detail-tabs-view",component:()=>xe(()=>import("./ServiceDetailTabsView-f45da867.js"),["./NavTabs-67112198.css"],import.meta.url),children:[{path:"overview",name:"service-detail-view",component:()=>xe(()=>import("./ServiceDetailView-fe6cf8a5.js"),["./TagList-613e8329.css"],import.meta.url)},{path:"config",name:"service-config-view",component:()=>xe(()=>import("./ServiceConfigView-34e62460.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},{path:"data-plane-proxies",name:"service-data-plane-proxies-view",component:()=>xe(()=>import("./ServiceDataPlaneProxiesView-00e60618.js"),["./KFilterBar-7168f421.css","./ServiceDataPlaneProxiesView-c629639b.css"],import.meta.url)}]}]}),Pie=e=>[[Be("service.sources"),{service:Oie,arguments:[e.api],labels:[e.sources]}]],un={dataplaneRoutes:Be("kuma.dataplane.routes"),gatewayRoutes:Be("kuma.gateway.routes"),serviceRoutes:Be("kuma.service.routes"),policyRoutes:Be("kuma.policy.routes")},Nie=e=>[[Be("meshes.routes"),{service:kie,arguments:[un.serviceRoutes,un.gatewayRoutes,un.dataplaneRoutes,un.policyRoutes],labels:[e.routes]}],[un.dataplaneRoutes,{service:Eie}],[un.gatewayRoutes,{service:Bie}],[un.serviceRoutes,{service:Vie}],[un.policyRoutes,{service:Tie}],[Be("meshes.sources"),{service:Mie,arguments:[e.api],labels:[e.sources]}],...Pie(e),...Aie(e),...Die(e),...Iie(e)],$ie=e=>({"use zones":()=>e("KUMA_MODE")==="global","create zones":t=>t("use zones")&&e("KUMA_ZONE_CREATION_FLOW")==="enabled"}),fs=(e="egresses")=>({items:()=>[{path:`${e}`,name:"zone-egress-list-view",component:()=>xe(()=>import("./IndexView-87802f56.js"),["./IndexView-6ea428a5.css"],import.meta.url)}],item:()=>[{path:`${e}/:zoneEgress`,name:"zone-egress-detail-tabs-view",component:()=>xe(()=>import("./IndexView-1698b5cd.js"),["./NavTabs-67112198.css"],import.meta.url),redirect:{name:"zone-egress-detail-view"},children:[{path:"overview",name:"zone-egress-detail-view",component:()=>xe(()=>import("./DetailView-ff3f0a07.js"),["./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css"],import.meta.url)},{path:"xds-config",name:"zone-egress-xds-config-view",component:()=>xe(()=>import("./XdsConfigView-c388d85d.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"zone-egress-stats-view",component:()=>xe(()=>import("./StatsView-b6dde739.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"zone-egress-clusters-view",component:()=>xe(()=>import("./ClustersView-0c8d24ec.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"zone-egress-config-view",component:()=>xe(()=>import("./ConfigView-77dfcdfe.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),fu=(e="ingresses")=>({items:()=>[{path:`${e}`,name:"zone-ingress-list-view",component:()=>xe(()=>import("./IndexView-97b4b9d3.js"),["./IndexView-8d871535.css"],import.meta.url)}],item:()=>[{path:`${e}/:zoneIngress`,name:"zone-ingress-detail-tabs-view",component:()=>xe(()=>import("./IndexView-4a7b4610.js"),["./NavTabs-67112198.css"],import.meta.url),redirect:{name:"zone-ingress-detail-view"},children:[{path:"overview",name:"zone-ingress-detail-view",component:()=>xe(()=>import("./DetailView-c2fb9029.js"),["./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css"],import.meta.url)},{path:"xds-config",name:"zone-ingress-xds-config-view",component:()=>xe(()=>import("./XdsConfigView-121c7414.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"zone-ingress-stats-view",component:()=>xe(()=>import("./StatsView-23324f27.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"zone-ingress-clusters-view",component:()=>xe(()=>import("./ClustersView-6073dca6.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"zone-ingress-config-view",component:()=>xe(()=>import("./ConfigView-7cbb036d.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),Zie=()=>[{path:"/zones/-create",name:"zone-create-view",meta:{isWizard:!0},component:()=>xe(()=>import("./CreateView-2f807ae5.js"),["./CodeBlock-aa591f34.css","./CreateView-5796a744.css"],import.meta.url)}],Rie=(e,t)=>{const r="/zones";return[...e,...t("use zones")?[{path:`${r}`,name:"zone-index-view",redirect:{name:"zone-cp-list-view"},children:[{path:"",name:"zone-cp-list-view",component:()=>xe(()=>import("./IndexView-1f4df612.js"),["./IndexView-5e558fff.css"],import.meta.url)},{path:":zone",name:"zone-cp-detail-abstract-view",children:[{path:"",name:"zone-cp-detail-tabs-view",component:()=>xe(()=>import("./IndexView-6dde2d3b.js"),["./NavTabs-67112198.css"],import.meta.url),redirect:{name:"zone-cp-detail-view"},children:[{path:"overview",name:"zone-cp-detail-view",component:()=>xe(()=>import("./DetailView-3762447c.js"),["./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css"],import.meta.url)},{path:"config",name:"zone-cp-config-view",component:()=>xe(()=>import("./ConfigView-b590301a.js"),["./CodeBlock-aa591f34.css"],import.meta.url)},...fu().items(),...fs().items()]},...fu().item(),...fs().item()]}]}]:[{path:`${r}`,redirect:{name:"zone-egress-list-view"},children:[...fs().items(),...fs().item()]}]]},zie=e=>({"/zone-cps/:name/egresses":async(t,r)=>{r.close();const{name:n,size:o,page:a}=t,i=o*(a-1),s=await e.getAllZoneEgressOverviews({size:o,offset:i});return n!=="*"&&(s.items=s.items.filter(l=>l.zoneEgress.zone===n),s.total=s.items.length),s},"/zone-egresses/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneEgress({name:n})},"/zone-egresses/:name/data-path/:dataPath":(t,r)=>{r.close();const{name:n,dataPath:o}=t;return e.getZoneEgressData({zoneEgressName:n,dataPath:o})},"/zone-egress-overviews":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return await e.getAllZoneEgressOverviews({size:n,offset:o})},"/zone-egress-overviews/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneEgressOverview({name:n})}}),Fie=e=>({"/zone-cps/:name/ingresses":async(t,r)=>{r.close();const{name:n,size:o,page:a}=t,i=o*(a-1),s=await e.getAllZoneIngressOverviews({size:o,offset:i});return s.items=s.items.filter(l=>l.zoneIngress.zone===n),s.total=s.items.length,s},"/zone-ingresses/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneIngress({name:n})},"/zone-ingresses/:name/data-path/:dataPath":(t,r)=>{r.close();const{name:n,dataPath:o}=t;return e.getZoneIngressData({zoneIngressName:n,dataPath:o})},"/zone-ingress-overviews":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return await e.getAllZoneIngressOverviews({size:n,offset:o})},"/zone-ingress-overviews/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneIngressOverview({name:n})}}),Uie=e=>({...Fie(e),...zie(e),"/zone-cps":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return await e.getAllZoneOverviews({size:n,offset:o})},"/zone-cps/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneOverview({name:n})}}),jie=e=>[[Be("zones.routes"),{service:t=>Rie(t("create zones")?Zie():[],t),arguments:[e.can],labels:[e.routes]}],[Be("zone.sources"),{service:Uie,arguments:[e.api],labels:[e.sources]}],[Be("zone.features"),{service:$ie,arguments:[e.env],labels:[e.features]}]],Yie={common:{not_applicable:"N/A",formats:{integer:"{value, number, integer}"},product:{name:"Kuma",href:{docs:{index:"{KUMA_DOCS_URL}/"}},environment:{universal:"Universal",kubernetes:"Kubernetes",unknown:"—"},mode:{standalone:"Standalone",global:"Multi-Zone"}},warnings:{CERT_EXPIRED:`'<'p>The certificate for this dataplane has expired'<'/p> + `,1)]),default:E(()=>[rae,y()]),_:1}),y(),nae,y(),oae,y(),aae]))}}),w1={KumaLogo:y1(R1e,{description:"KumaLogo"}),GithubButton:y1(jte,{description:"GithubButton"}),MainOverview:y1(zre,{description:"MainOverview"}),KubernetesGraph:y1(mne,{description:"KubernetesGraph"}),PostgresGraph:y1(Poe,{description:"PostgresGraph"}),MemoryGraph:y1(Bne,{description:"MemoryGraph"}),MultizoneGraph:y1(poe,{description:"MultizoneGraph"}),StandaloneGraph:y1(iae,{description:"StandaloneGraph"}),AppSidebar:y1(P1e,{description:"AppSidebar"}),AppHeader:y1(p1e,{description:"AppHeader"}),AppLoadingBar:y1(x1e,{description:"AppLoadingBar"}),AppOnboardingNotification:y1(B1e,{description:"AppOnboardingNotification"}),MainView:y1(g1e,{description:"MainView"}),MeshDetails:y1(Yre,{description:"MeshDetails"})},[sae,lae,Ose,Vse,Pse,Nse,$se,Zse,Rse,zse,Fse,Use,cae,jse]=Hl(w1.KumaLogo,w1.GithubButton,w1.MainOverview,w1.KubernetesGraph,w1.PostgresGraph,w1.MemoryGraph,w1.MultizoneGraph,w1.StandaloneGraph,w1.AppSidebar,w1.AppHeader,w1.AppLoadingBar,w1.AppOnboardingNotification,w1.MainView,w1.MeshDetails),uae={key:0,"aria-label":"Breadcrumb"},dae={key:0,class:"app-view-title-bar"},hae={key:1,class:"actions"},fae={key:1},pae=X({__name:"AppView",props:{breadcrumbs:{type:Array,required:!1,default:null},fullscreen:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,r=cae(),n=new Map,o=Y([]),a=Symbol("app-view"),i=u=>{const d=[...u.values()];d.some(h=>h.length===0)?o.value=[]:o.value=d.flat()},s={addBreadcrumbs:(u,d)=>{typeof u<"u"&&(n.set(d,u),i(n))},removeBreadcrumbs:u=>{n.delete(u),i(n)}},l=x1("app-view-parent",void 0);l||Vo("app-view-parent",s);const c=l||s;return De(()=>t.breadcrumbs,u=>{u!==null&&c.addBreadcrumbs(u,a)},{immediate:!0}),cr(()=>{c.removeBreadcrumbs(a)}),(u,d)=>{const h=Qt("KAlert");return m(),G(vt(L(l)?"div":L(r)),{class:J({"app-main-content":!L(l)})},{default:E(()=>[!L(l)&&o.value.length>0?(m(),M("nav",uae,[P(L(V7),{items:o.value},null,8,["items"])])):I("",!0),y(),p("section",{class:J({"is-fullscreen":t.fullscreen})},[u.$slots.title?(m(),M("header",dae,[t.fullscreen?(m(),G(L(gte),{key:0})):I("",!0),y(),F(u.$slots,"title",{},void 0,!0),y(),u.$slots.actions?(m(),M("div",hae,[F(u.$slots,"actions",{},void 0,!0)])):I("",!0)])):I("",!0),y(),u.$slots.notifications?(m(),M("aside",fae,[P(h,{class:"mb-4",appearance:"warning"},{alertMessage:E(()=>[F(u.$slots,"notifications",{},void 0,!0)]),_:3})])):I("",!0),y(),F(u.$slots,"default",{},void 0,!0)],2)]),_:3},8,["class"])}}});const mae=Xt(pae,[["__scopeId","data-v-9bd2101c"]]),r7=Symbol("route-view-parent"),vae=X({__name:"RouteTitle",props:{title:{type:String,required:!1,default:""},render:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,r=Symbol("route-title"),n=x1(r7);return typeof n<"u"&&(De(()=>t.title,o=>{o.length>0&&n.addTitle(o,r)},{immediate:!0}),cr(()=>{n.removeTitle(r)})),(o,a)=>t.render?(m(),M(we,{key:0},[y(H(t.title),1)],64)):I("",!0)}}),k5=function(e){let t;return(...r)=>{t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e.bind(e,...r))}},gae=function(e){return(Array.isArray(e)?e[0]:e)??""},Cae=(e=document)=>k5(t=>{e.title=t}),yae=(e=document.documentElement)=>{if(!e)return()=>{};const t=[...e.classList];return k5(r=>{const n=r.reduce((o,a)=>Object.entries(a).reduce((i,[s,l])=>(typeof i[s]>"u"&&(i[s]=[]),i[s].push(l),i),o),{});e.classList.remove(...[...e.classList].filter(o=>!t.includes(o))),e.classList.add(...n.class||[])})},cu=(e,t)=>{const r={...t},n=Object.entries(e).reduce((o,[a,i])=>(String(i).length>0?o[a]=encodeURIComponent(String(i)):o[a]=void 0,o),r);return{...r,...n}},bae=["data-testid"],wae={key:0,class:"route-view-title visually-hidden","aria-live":"assertive","aria-atomic":"true"},_ae=X({__name:"RouteView",props:{name:{},attrs:{default:()=>({})},params:{default:()=>({})}},setup(e){const t=e,r=x5(),n=S5(),{t:o}=Rt(),a=ql(),i=aC(),s=Symbol("route-view"),l=A(()=>t.name),c=Y(""),u=new Map,d=new Map,h=Cae(document),f=yae(document.documentElement),C=N=>N.reverse().concat(o("components.route-view.title",{name:o("common.product.name")})).join(" | "),_={addTitle:(N,z)=>{c.value=N,u.set(z,N),h(C([...u.values()]))},removeTitle:N=>{u.delete(N),h(C([...u.values()]))},addAttrs:(N,z)=>{d.set(z,N),f([...d.values()])},removeAttrs:N=>{d.delete(N),f([...d.values()])}},g=A(()=>Object.entries({...t.params,...a.query,...a.params}).reduce((z,[D,S])=>{if(typeof t.params[D]>"u")return z;let R=gae(S);const V=t.params[D];switch(!0){case typeof V=="number":isNaN(Number(S))&&(R=String(V));break}return R.length===0&&(R=String(V)),z[D]=decodeURIComponent(R),z},{}));let b={};const w=k5(N=>{i.push({name:t.name,query:cu(N,a.query)}),b={}}),v=N=>{b={...b,...N},w(b)},k=(...N)=>{i.push(...N)};De(()=>t.name,N=>{const z=Object.entries(g.value||{}).reduce((D,[S,R])=>(typeof a.params[S]>"u"&&(D[S]=R),D),{});Object.keys(z).length>0&&i.replace({name:N,query:cu(z,a.query)})},{immediate:!0});const T=x1(r7,void 0);T||(h(o("components.route-view.title",{name:o("common.product.name")})),Vo(r7,_));const $=T||_;return De(()=>t.attrs,N=>{Object.keys(N).length>0&&$.addAttrs(N,s)},{immediate:!0}),cr(()=>{$.removeAttrs(s)}),(N,z)=>(m(),M("div",{class:"route-view","data-testid":l.value},[L(T)?I("",!0):(m(),M("div",wae,H(L(o)("components.route-view.route-announcer",{title:c.value})),1)),y(),F(N.$slots,"default",{t:L(o),env:L(r),can:L(n),route:{update:v,replace:k,params:g.value}})],8,bae))}}),kae=e=>[{path:"/404",name:"not-found",alias:"/:pathMatch(.*)*",meta:{title:"Item not found"},component:()=>e[e.length-1]()}],Mae=e=>{const t=(r,n)=>typeof e[r]<"u"?e[r](t,n):!1;return t};function xae(e){const t=e.split(/([A-Z][a-z]+)/).join(" ").replace(/\s+/g," ").trim();return t.charAt(0).toUpperCase()+t.substring(1)}class uu extends Error{get key(){return this.message}}const Sae=(e,t)=>{const r=WJ("en-us",e,{isGlobal:!0,onError:o=>{throw o}}),n={KUMA_VERSION:t("KUMA_VERSION"),KUMA_DOCS_URL:t("KUMA_DOCS_URL"),KUMA_UTM_QUERY_PARAMS:t("KUMA_UTM_QUERY_PARAMS"),KUMA_PRODUCT_NAME:r.t("common.product.name")};return{...r,t:function(...o){var i;const a=o[0];try{if(typeof bl(e,a)>"u")throw a.startsWith("http.api.")?new uu(a):new Error(`Missing message: "${a}" for locale "en-us", using id as fallback`);return bl(e,a).length===0?"":(o[1]={...n,...o[1]},r.t(...o))}catch(s){switch(!0){case s instanceof uu:return xae(s.key.split(".").pop());default:if((i=o[2])!=null&&i.defaultMessage)return o[2].defaultMessage;throw s}}}}};var ci=class{constructor(e,t,r,n,o,a){mt(this,"type",3);mt(this,"name","");mt(this,"prefix","");mt(this,"value","");mt(this,"suffix","");mt(this,"modifier",3);this.type=e,this.name=t,this.prefix=r,this.value=n,this.suffix=o,this.modifier=a}hasCustomName(){return this.name!==""&&typeof this.name!="number"}},Eae=/[$_\p{ID_Start}]/u,Aae=/[$_\u200C\u200D\p{ID_Continue}]/u,n7=".*";function Lae(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}function nf(e,t=!1){let r=[],n=0;for(;n{if(il("OTHER_MODIFIER")??l("ASTERISK"),u=w=>{let v=l(w);if(v!==void 0)return v;let{type:k,index:T}=r[i];throw new TypeError(`Unexpected ${k} at ${T}, expected ${w}`)},d=()=>{let w="",v;for(;v=l("CHAR")??l("ESCAPED_CHAR");)w+=v;return w},h=w=>w,f=t.encodePart||h,C="",_=w=>{C+=w},g=()=>{C.length&&(o.push(new ci(3,"","",f(C),"",3)),C="")},b=(w,v,k,T,$)=>{let N=3;switch($){case"?":N=1;break;case"*":N=0;break;case"+":N=2;break}if(!v&&!k&&N===3){_(w);return}if(g(),!v&&!k){if(!w)return;o.push(new ci(3,"","",f(w),"",N));return}let z;k?k==="*"?z=n7:z=k:z=n;let D=2;z===n?(D=1,z=""):z===n7&&(D=0,z="");let S;if(v?S=v:k&&(S=a++),s.has(S))throw new TypeError(`Duplicate name '${S}'.`);s.add(S),o.push(new ci(D,S,f(w),z,f(T),N))};for(;i-1)}return i||(n+=`(?=${a}|${o})`),new RegExp(n,du(r))}var fn={delimiter:"",prefixes:"",sensitive:!0,strict:!0},Dae={delimiter:".",prefixes:"",sensitive:!0,strict:!0},Hae={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function Tae(e,t){return e.length?e[0]==="/"?!0:!t||e.length<2?!1:(e[0]=="\\"||e[0]=="{")&&e[1]=="/":!1}function sf(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function Iae(e,t){return e.endsWith(t)?e.substr(0,e.length-t.length):e}function lf(e){return!e||e.length<2?!1:e[0]==="["||(e[0]==="\\"||e[0]==="{")&&e[1]==="["}var cf=["ftp","file","http","https","ws","wss"];function uf(e){if(!e)return!0;for(let t of cf)if(e.test(t))return!0;return!1}function Oae(e,t){if(e=sf(e,"#"),t||e==="")return e;let r=new URL("https://example.com");return r.hash=e,r.hash?r.hash.substring(1,r.hash.length):""}function Vae(e,t){if(e=sf(e,"?"),t||e==="")return e;let r=new URL("https://example.com");return r.search=e,r.search?r.search.substring(1,r.search.length):""}function Pae(e,t){return t||e===""?e:lf(e)?ff(e):hf(e)}function Nae(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.password=e,r.password}function $ae(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.username=e,r.username}function Zae(e,t,r){if(r||e==="")return e;if(t&&!cf.includes(t))return new URL(`${t}:${e}`).pathname;let n=e[0]=="/";return e=new URL(n?e:"/-"+e,"https://example.com").pathname,n||(e=e.substring(2,e.length)),e}function Rae(e,t,r){return df(t)===e&&(e=""),r||e===""?e:pf(e)}function zae(e,t){return e=Iae(e,":"),t||e===""?e:M5(e)}function df(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function M5(e){if(e==="")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError(`Invalid protocol '${e}'.`)}function Fae(e){if(e==="")return e;let t=new URL("https://example.com");return t.username=e,t.username}function Uae(e){if(e==="")return e;let t=new URL("https://example.com");return t.password=e,t.password}function hf(e){if(e==="")return e;if(/[\t\n\r #%/:<>?@[\]^\\|]/g.test(e))throw new TypeError(`Invalid hostname '${e}'`);let t=new URL("https://example.com");return t.hostname=e,t.hostname}function ff(e){if(e==="")return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}function pf(e){if(e===""||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError(`Invalid port '${e}'.`)}function jae(e){if(e==="")return e;let t=new URL("https://example.com");return t.pathname=e[0]!=="/"?"/-"+e:e,e[0]!=="/"?t.pathname.substring(2,t.pathname.length):t.pathname}function Yae(e){return e===""?e:new URL(`data:${e}`).pathname}function Gae(e){if(e==="")return e;let t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function Kae(e){if(e==="")return e;let t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}var $o,u1,St,bt,Qn,Zo,Fr,Ro,zo,Fo,Vt,Ft,wl,mf,Ei,o7,Xn,Ua,Uo,Ts,k1,Z1,Ai,a7,_l,vf,jo,Is,kl,gf,Ml,Cf,Yo,Os,Cn,Lo,Ur,zn,xl,yf,Sl,bf,El,wf,Al,_f,z1,pr,Ll,kf,mu,qae=(mu=class{constructor(e){et(this,Vt);et(this,wl);et(this,Ei);et(this,Xn);et(this,Uo);et(this,k1);et(this,Ai);et(this,_l);et(this,jo);et(this,kl);et(this,Ml);et(this,Yo);et(this,Cn);et(this,Ur);et(this,xl);et(this,Sl);et(this,El);et(this,Al);et(this,z1);et(this,Ll);et(this,$o,void 0);et(this,u1,[]);et(this,St,{});et(this,bt,0);et(this,Qn,1);et(this,Zo,0);et(this,Fr,0);et(this,Ro,0);et(this,zo,0);et(this,Fo,!1);Yt(this,$o,e)}get result(){return oe(this,St)}parse(){for(Yt(this,u1,nf(oe(this,$o),!0));oe(this,bt)0)if(ge(this,Sl,bf).call(this))Yt(this,Ro,oe(this,Ro)-1);else continue;if(ge(this,xl,yf).call(this)){Yt(this,Ro,oe(this,Ro)+1);continue}switch(oe(this,Fr)){case 0:ge(this,Ai,a7).call(this)&&(oe(this,St).username="",oe(this,St).password="",oe(this,St).hostname="",oe(this,St).port="",oe(this,St).pathname="",oe(this,St).search="",oe(this,St).hash="",ge(this,Xn,Ua).call(this,1));break;case 1:if(ge(this,Ai,a7).call(this)){ge(this,Ll,kf).call(this);let e=7,t=1;oe(this,Fo)&&(oe(this,St).pathname="/"),ge(this,_l,vf).call(this)?(e=2,t=3):oe(this,Fo)&&(e=2),ge(this,Vt,Ft).call(this,e,t)}break;case 2:ge(this,jo,Is).call(this)?ge(this,Xn,Ua).call(this,3):(ge(this,Yo,Os).call(this)||ge(this,Cn,Lo).call(this)||ge(this,Ur,zn).call(this))&&ge(this,Xn,Ua).call(this,5);break;case 3:ge(this,kl,gf).call(this)?ge(this,Vt,Ft).call(this,4,1):ge(this,jo,Is).call(this)&&ge(this,Vt,Ft).call(this,5,1);break;case 4:ge(this,jo,Is).call(this)&&ge(this,Vt,Ft).call(this,5,1);break;case 5:ge(this,El,wf).call(this)?Yt(this,zo,oe(this,zo)+1):ge(this,Al,_f).call(this)&&Yt(this,zo,oe(this,zo)-1),ge(this,Ml,Cf).call(this)&&!oe(this,zo)?ge(this,Vt,Ft).call(this,6,1):ge(this,Yo,Os).call(this)?ge(this,Vt,Ft).call(this,7,0):ge(this,Cn,Lo).call(this)?ge(this,Vt,Ft).call(this,8,1):ge(this,Ur,zn).call(this)&&ge(this,Vt,Ft).call(this,9,1);break;case 6:ge(this,Yo,Os).call(this)?ge(this,Vt,Ft).call(this,7,0):ge(this,Cn,Lo).call(this)?ge(this,Vt,Ft).call(this,8,1):ge(this,Ur,zn).call(this)&&ge(this,Vt,Ft).call(this,9,1);break;case 7:ge(this,Cn,Lo).call(this)?ge(this,Vt,Ft).call(this,8,1):ge(this,Ur,zn).call(this)&&ge(this,Vt,Ft).call(this,9,1);break;case 8:ge(this,Ur,zn).call(this)&&ge(this,Vt,Ft).call(this,9,1);break}}}},$o=new WeakMap,u1=new WeakMap,St=new WeakMap,bt=new WeakMap,Qn=new WeakMap,Zo=new WeakMap,Fr=new WeakMap,Ro=new WeakMap,zo=new WeakMap,Fo=new WeakMap,Vt=new WeakSet,Ft=function(e,t){switch(oe(this,Fr)){case 0:break;case 1:oe(this,St).protocol=ge(this,z1,pr).call(this);break;case 2:break;case 3:oe(this,St).username=ge(this,z1,pr).call(this);break;case 4:oe(this,St).password=ge(this,z1,pr).call(this);break;case 5:oe(this,St).hostname=ge(this,z1,pr).call(this);break;case 6:oe(this,St).port=ge(this,z1,pr).call(this);break;case 7:oe(this,St).pathname=ge(this,z1,pr).call(this);break;case 8:oe(this,St).search=ge(this,z1,pr).call(this);break;case 9:oe(this,St).hash=ge(this,z1,pr).call(this);break}ge(this,wl,mf).call(this,e,t)},wl=new WeakSet,mf=function(e,t){Yt(this,Fr,e),Yt(this,Zo,oe(this,bt)+t),Yt(this,bt,oe(this,bt)+t),Yt(this,Qn,0)},Ei=new WeakSet,o7=function(){Yt(this,bt,oe(this,Zo)),Yt(this,Qn,0)},Xn=new WeakSet,Ua=function(e){ge(this,Ei,o7).call(this),Yt(this,Fr,e)},Uo=new WeakSet,Ts=function(e){return e<0&&(e=oe(this,u1).length-e),e=0&&(e.pathname=Vr(n.pathname.substring(0,o+1),r)+e.pathname)}e.pathname=Zae(e.pathname,e.protocol,r)}return typeof t.search=="string"&&(e.search=Vae(t.search,r)),typeof t.hash=="string"&&(e.hash=Oae(t.hash,r)),e}function ja(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}function Wae(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function Qae(e,t){t.delimiter??(t.delimiter="/#?"),t.prefixes??(t.prefixes="./"),t.sensitive??(t.sensitive=!1),t.strict??(t.strict=!1),t.end??(t.end=!0),t.start??(t.start=!0),t.endsWith="";let r=".*",n=`[^${Wae(t.delimiter)}]+?`,o=/[$_\u200C\u200D\p{ID_Continue}]/u,a="";for(let i=0;i0?e[i-1]:null,d=i0?d.value[0]:"";c=o.test(h)}else c=!d.hasCustomName();if(!c&&!s.prefix.length&&u&&u.type===3){let h=u.value[u.value.length-1];c=t.prefixes.includes(h)}c&&(a+="{"),a+=ja(s.prefix),l&&(a+=`:${s.name}`),s.type===2?a+=`(${s.value})`:s.type===1?l||(a+=`(${n})`):s.type===0&&(!l&&(!u||u.type===3||u.modifier!==3||c||s.prefix!=="")?a+="*":a+=`(${r})`),s.type===1&&l&&s.suffix.length&&o.test(s.suffix[0])&&(a+="\\"),a+=ja(s.suffix),c&&(a+="}"),s.modifier!==3&&(a+=Do(s.modifier))}return a}var Cr,Jn,Go,Gt,yr,vu,Mf=(vu=class{constructor(e={},t,r){et(this,Cr,void 0);et(this,Jn,{});et(this,Go,{});et(this,Gt,{});et(this,yr,{});try{let n;if(typeof t=="string"?n=t:r=t,typeof e=="string"){let s=new qae(e);if(s.parse(),e=s.result,n===void 0&&typeof e.protocol!="string")throw new TypeError("A base URL must be provided for a relative constructor string.");e.baseURL=n}else{if(!e||typeof e!="object")throw new TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");if(n)throw new TypeError("parameter 1 is not of type 'string'.")}typeof r>"u"&&(r={ignoreCase:!1});let o={ignoreCase:r.ignoreCase===!0};Yt(this,Cr,Oa({pathname:cn,protocol:cn,username:cn,password:cn,hostname:cn,port:cn,search:cn,hash:cn},e,!0)),df(oe(this,Cr).protocol)===oe(this,Cr).port&&(oe(this,Cr).port="");let i;for(i of w0){if(!(i in oe(this,Cr)))continue;let s={},l=oe(this,Cr)[i];switch(oe(this,Go)[i]=[],i){case"protocol":Object.assign(s,fn),s.encodePart=M5;break;case"username":Object.assign(s,fn),s.encodePart=Fae;break;case"password":Object.assign(s,fn),s.encodePart=Uae;break;case"hostname":Object.assign(s,Dae),lf(l)?s.encodePart=ff:s.encodePart=hf;break;case"port":Object.assign(s,fn),s.encodePart=pf;break;case"pathname":uf(oe(this,Jn).protocol)?(Object.assign(s,Hae,o),s.encodePart=jae):(Object.assign(s,fn,o),s.encodePart=Yae);break;case"search":Object.assign(s,fn,o),s.encodePart=Gae;break;case"hash":Object.assign(s,fn,o),s.encodePart=Kae;break}try{oe(this,yr)[i]=of(l,s),oe(this,Jn)[i]=af(oe(this,yr)[i],oe(this,Go)[i],s),oe(this,Gt)[i]=Qae(oe(this,yr)[i],s)}catch{throw new TypeError(`invalid ${i} pattern '${oe(this,Cr)[i]}'.`)}}}catch(n){throw new TypeError(`Failed to construct 'URLPattern': ${n.message}`)}}test(e={},t){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof e!="string"&&t)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof e>"u")return!1;try{typeof e=="object"?r=Oa(r,e,!1):r=Oa(r,hu(e,t),!1)}catch{return!1}let n;for(n of w0)if(!oe(this,Jn)[n].exec(r[n]))return!1;return!0}exec(e={},t){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof e!="string"&&t)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof e>"u")return;try{typeof e=="object"?r=Oa(r,e,!1):r=Oa(r,hu(e,t),!1)}catch{return null}let n={};t?n.inputs=[e,t]:n.inputs=[e];let o;for(o of w0){let a=oe(this,Jn)[o].exec(r[o]);if(!a)return null;let i={};for(let[s,l]of oe(this,Go)[o].entries())if(typeof l=="string"||typeof l=="number"){let c=a[s+1];i[l]=c}n[o]={input:r[o]??"",groups:i}}return n}static compareComponent(e,t,r){let n=(s,l)=>{for(let c of["type","modifier","prefix","value","suffix"]){if(s[c]{let c=0;for(;c{this.routes.set(new Mf({pathname:r}),n)})}match(t){for(const[r,n]of this.routes){const o=`data:${t}`;if(r.test(o)){const a=r.exec(o);return{route:n,params:(a==null?void 0:a.pathname.groups)||{}}}}throw new Error(`Matching route for '${t}' not found`)}}class Jae{constructor(t,r){mt(this,"pool",new Map);this.create=t,this.destroy=r}acquire(t,r){if(!this.pool.has(t)){const o={value:this.create(t),references:new Set};this.pool.set(t,o)}const n=this.pool.get(t);return n.references.add(r),n.value}release(t,r){if(this.pool.has(t)){const n=this.pool.get(t);n.references.delete(r),n.references.size===0&&(this.pool.delete(t),this.destroy(t,n.value))}}}class eie{constructor(t,{create:r,destroy:n},o){mt(this,"cache",new Map);mt(this,"pool");mt(this,"getCacheKeyPrefix");const a=new Xae(t);this.pool=new Jae(i=>r(i,a),(i,s)=>{n(i,s)}),this.getCacheKeyPrefix=o}source(t,r){const n=this.getCacheKeyPrefix()+t,o=this.pool.acquire(t,r);return o.addEventListener("message",a=>{this.cache.set(n,a.data)}),this.cache.has(n)&&Promise.resolve().then(()=>{o==null||o.dispatchEvent(new MessageEvent("message",{data:this.cache.get(n)}))}),o}close(t,r){return this.pool.release(t,r)}}const tie=0,rie=1,Fn=2,nie=e=>e.readyState===Fn;class oie extends EventTarget{constructor(r,n={}){super();mt(this,"url","");mt(this,"withCredentials",!1);mt(this,"CONNECTING",tie);mt(this,"OPEN",rie);mt(this,"CLOSED",Fn);mt(this,"onerror",null);mt(this,"onmessage",null);mt(this,"onopen",null);mt(this,"readyState",Fn);this.source=r,this._open()}_open(){(async function(r){try{r.readyState=0;const n=r.source();for await(const o of n)if(r.dispatchEvent(new MessageEvent("message",{data:o})),r.readyState===Fn)break;r.readyState=Fn}catch(n){r.dispatchEvent(new ErrorEvent("error",{error:n}))}})(this)}open(){this.readyState!==Fn&&this._open()}close(){this.readyState=Fn}}const aie=(e,t)=>{const[r,n]=e.split("?"),o=new URLSearchParams(n),a=t.match(r);return new oie(async function*(){for(;;)this.readyState=1,yield a.route({offset:parseInt(o.get("offset")||"0"),size:parseInt(o.get("size")||"0"),page:parseInt(o.get("page")||"0"),search:o.get("search")||"",...a.params},this),nie(this)||await new Promise(s=>setTimeout(s,5e3))})},iie=(e,t)=>{t&&t.close()},sie={create:aie,destroy:iie};class lie{constructor(t){mt(this,"env");let r=t;const n=(s,l="")=>this.var(s,(r==null?void 0:r[s])??l),o=this.getConfig(),a=die(n("KUMA_VERSION",o.version)),i=encodeURIComponent(n("KUMA_PRODUCT_NAME"));r={...r,KUMA_UTM_QUERY_PARAMS:`utm_source=${i}&utm_medium=${i}`},this.env={...r,KUMA_INSTALL_URL:`${n("KUMA_INSTALL_URL")}?${n("KUMA_UTM_QUERY_PARAMS")}`,KUMA_DOCS_URL:`${n("KUMA_DOCS_URL")}/${a.patch==="0.0.0"?"dev":a.patch.replace(/\.\d+$/,".x")}`,KUMA_VERSION:a.pre,KUMA_API_URL:n("KUMA_API_URL")||o.apiUrl,KUMA_BASE_PATH:n("KUMA_BASE_PATH")||o.baseGuiPath,KUMA_MODE:n("KUMA_MODE")||o.mode,KUMA_ENVIRONMENT:n("KUMA_ENVIRONMENT")||o.environment,KUMA_STORE_TYPE:n("KUMA_STORE_TYPE")||o.storeType}}var(t,r=""){var n;return((n=this.env)==null?void 0:n[t])??r}getConfig(){const t=document.querySelector("#kuma-config");let r;if(t instanceof HTMLScriptElement&&t.textContent)try{r=JSON.parse(t.textContent.trim())}catch(n){console.error(n)}return r||(r=cie(),console.error("Unable to parse kuma config. Falling back to defaults")),r.apiUrl=uie(r.apiUrl),r}}function cie(e=""){return{baseGuiPath:"/gui",apiUrl:e,version:"2.4.0",product:"Kuma",mode:"global",environment:"universal",storeType:"postgres",apiReadOnly:!1}}function xf(e){return e.endsWith("/")?xf(e.slice(0,-1)):e}function uie(e){return e=!e.includes("://")&&!e.startsWith("/")?`/${e}`:e,xf(e)}function die(e){const[t,r,...n]=e.split(".");if(isNaN(parseInt(t)))return{major:t,minor:t,patch:t,pre:t};const[o,a]=n.join(".").split("-");return{major:t,minor:`${t}.${r}`,patch:`${t}.${r}.${o}`,pre:`${t}.${r}.${o}${a!==void 0?`-${a}`:""}`}}const Kt={Env:Be("application.Env"),env:Be("application.env"),EnvVars:Be("EnvVars"),can:Be("application.can"),features:Be("application.can.features"),notFoundView:Be("application.not-found"),applicationComponents:Be("application.components"),sources:Be("data.sources"),dataSourcePool:Be("data.DataSourcePool"),dataSourceLifecycle:Be("data.DataSourceLifecycle"),getDataSourceCacheKeyPrefix:Be("data.getDataSourceCacheKeyPrefix"),i18n:Be("i18n"),enUs:Be("i18n.locale.enUs")},hie=e=>[[Be("application.components"),{service:t=>[["AppView",mae],["DataSource",No],["RouteView",_ae],["RouteTitle",vae],["I18nT",QJ(t)]],arguments:[e.i18n],labels:[e.components]}],[Be("application.routes"),{service:kae,arguments:[Kt.notFoundView],labels:[e.routes]}],[Kt.i18n,{service:Sae,arguments:[Kt.enUs,e.env]}],[Kt.can,{service:Mae,arguments:[Kt.features]}],[Kt.Env,{service:lie,arguments:[e.EnvVars]}],[Kt.env,{service:t=>(...r)=>t.var(...r),arguments:[Kt.Env]}],[Kt.dataSourceLifecycle,{constant:sie}],[Kt.getDataSourceCacheKeyPrefix,{service:()=>()=>"",arguments:[e.router]}],[Kt.dataSourcePool,{service:eie,arguments:[e.sources,Kt.dataSourceLifecycle,Kt.getDataSourceCacheKeyPrefix]}]],fie=Kt,[x5,S5,Rt,pie]=Hl(Kt.env,Kt.can,Kt.i18n,Kt.dataSourcePool);function mie(e){return[{name:"Home",routeName:"home"},...e?[{name:"Zones",routeName:"zone-cp-list-view",anchorRouteName:"zone-index-view"}]:[{name:"Zone Egresses",routeName:"zone-egress-list-view",anchorRouteName:"zone-index-view"}],{name:"Meshes",routeName:"mesh-list-view",anchorRouteName:"mesh-index-view"}]}const vie=e=>({"use kubernetes":t=>e("KUMA_ENVIRONMENT")==="kubernetes","use state":t=>e("KUMA_STORE_TYPE")!=="memory"}),gie=()=>[{path:"/",name:"home",component:()=>xe(()=>import("./MainOverviewView-1e961acd.js"),[],import.meta.url)}],Cie=e=>({"/global-insight":(t,r)=>(r.close(),e.getGlobalInsight())}),yie=e=>[[Be("control-planes.routes"),{service:gie,labels:[e.routes]}],[Be("control-planes.sources"),{service:Cie,arguments:[e.api],labels:[e.sources]}],[Be("control-planes.features"),{service:vie,arguments:[e.env],labels:[e.features]}]],bie=()=>({"/me":async(e={},t)=>(t.close(),Promise.resolve({pageSize:50}))}),wie={sources:Be("me.sources")},_ie=e=>[[wie.sources,{service:bie,arguments:[e.api],labels:[e.sources]}]],kie=(e,t,r,n)=>[{path:"/meshes",name:"mesh-index-view",redirect:{name:"mesh-list-view"},component:()=>xe(()=>import("./MeshIndexView-f5ece8ac.js"),[],import.meta.url),children:[{path:"",name:"mesh-list-view",component:()=>xe(()=>import("./MeshListView-581ba27a.js"),["./MeshListView-954cdc0b.css"],import.meta.url)},{path:":mesh",name:"mesh",redirect:{name:"mesh-detail-view"},children:[{path:"",name:"mesh-tabs-view",redirect:{name:"mesh-detail-view"},component:()=>xe(()=>import("./MeshTabsView-2e89a0ae.js"),["./NavTabs-67112198.css"],import.meta.url),children:[{path:"overview",meta:{module:"meshes"},name:"mesh-detail-view",component:()=>xe(()=>import("./MeshDetailView-52555917.js"),["./MeshDetailView-f882dce6.css"],import.meta.url)},{path:"config",name:"mesh-config-view",component:()=>xe(()=>import("./MeshConfigView-8d4bb4d2.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},...e.items(),...t.items(),...r.items(),...n.items()]},...e.item(),...t.item(),...r.item(),...n.item()]}]}],Mie=e=>({"/meshes":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return e.getAllMeshes({size:n,offset:o})},"/meshes/:name":(t,r)=>{r.close();const{name:n}=t;return e.getMesh({name:n})},"/mesh-insights":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return e.getAllMeshInsights({size:n,offset:o})},"/mesh-insights/:name":async(t,r)=>{r.close();const{name:n}=t;return e.getMeshInsights({name:n})}}),xie=["protocol","service","zone"];function i7(e){const t=new Map;for(const[r,n]of e){const o=xie.includes(r),a=o?"tag":r;t.has(a)||t.set(a,[]);const i=t.get(a);let s;a==="tag"?s=(o?`kuma.io/${r}:${n}`:n).replace(/\s+/g,""):s=n,i.push(s.trim())}return t}const Sie=e=>({"/meshes/:mesh/dataplanes":async(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1),i="false",s=Object.fromEntries(i7(JSON.parse(t.search||"[]")));return e.getAllDataplaneOverviewsFromMesh({mesh:n},{...s,gateway:i,offset:a,size:o})},"/meshes/:mesh/dataplanes/:name":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getDataplaneFromMesh({mesh:n,name:o})},"/meshes/:mesh/dataplanes/:name/data-path/:dataPath":(t,r)=>{r.close();const{mesh:n,name:o,dataPath:a}=t;return e.getDataplaneData({mesh:n,dppName:o,dataPath:a})},"/meshes/:mesh/dataplanes/:name/sidecar-dataplanes-policies":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getSidecarDataplanePolicies({mesh:n,name:o})},"/meshes/:mesh/dataplanes/:name/rules":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getDataplaneRules({mesh:n,name:o})},"/meshes/:mesh/dataplane-overviews/:name":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getDataplaneOverviewFromMesh({mesh:n,name:o})},"/meshes/:mesh/dataplanes/for/:service/of/:type":async(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1),i=Object.fromEntries(i7(JSON.parse(t.search||"[]")));typeof i.tag>"u"&&(i.tag=[]),i.tag=i.tag.filter(l=>!l.startsWith("kuma.io/service:")),i.tag.push(`kuma.io/service:${t.service}`);const s=t.type!=="all"?{gateway:t.type}:{};return e.getAllDataplaneOverviewsFromMesh({mesh:n},{...i,...s,offset:a,size:o})}}),Eie=()=>({items:()=>[{path:"data-planes",name:"data-plane-list-view",meta:{module:"data-planes"},component:()=>xe(()=>import("./DataPlaneListView-cedf5eb1.js"),["./KFilterBar-7168f421.css","./DataPlaneListView-407dd163.css"],import.meta.url)}],item:()=>[{path:"data-planes/:dataPlane",name:"data-plane-detail-tabs-view",component:()=>xe(()=>import("./DataPlaneDetailTabsView-6492bfb8.js"),["./NavTabs-67112198.css"],import.meta.url),children:[{path:"overview",name:"data-plane-detail-view",component:()=>xe(()=>import("./DataPlaneDetailView-48610eda.js"),["./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css","./TagList-613e8329.css","./DataPlaneDetailView-a63ad1a7.css"],import.meta.url)},{path:"policies",name:"data-plane-policies-view",component:()=>xe(()=>import("./DataPlanePoliciesView-3b66da89.js"),["./AccordionList-8bab9627.css","./CodeBlock-aa591f34.css","./PolicyTypeTag-f5c09fb0.css","./TagList-613e8329.css","./DataPlanePoliciesView-3172c9cb.css"],import.meta.url)},{path:"xds-config",name:"data-plane-xds-config-view",component:()=>xe(()=>import("./DataPlaneXdsConfigView-4d19bc26.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"data-plane-stats-view",component:()=>xe(()=>import("./DataPlaneStatsView-01b0b27c.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"data-plane-clusters-view",component:()=>xe(()=>import("./DataPlaneClustersView-e64792ca.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"data-plane-config-view",component:()=>xe(()=>import("./DataPlaneConfigView-a898b8ed.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),Aie=e=>[[Be("data-planes.sources"),{service:Sie,arguments:[e.api],labels:[e.sources]}]],Lie=e=>({"/meshes/:mesh/gateways":async(t,r)=>{r.close();const n=t.size*(t.page-1);return e.getAllDataplaneOverviewsFromMesh({mesh:t.mesh},{gateway:"true",offset:n,size:t.size})},"/meshes/:mesh/gateways/of/:type":async(t,r)=>{r.close();const n=t.size*(t.page-1);return e.getAllDataplaneOverviewsFromMesh({mesh:t.mesh},{...Object.fromEntries(i7(JSON.parse(t.search||"[]"))),gateway:t.type==="all"?"true":t.type,offset:n,size:t.size})},"/meshes/:mesh/gateways/:name/policies":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getMeshGatewayDataplane({mesh:n,name:o})}}),Bie=()=>({items:()=>[{path:"gateways",name:"gateway-list-view",meta:{module:"gateways"},component:()=>xe(()=>import("./GatewayListView-001c81fc.js"),["./KFilterBar-7168f421.css","./GatewayListView-a7c21902.css"],import.meta.url)}],item:()=>[{path:"gateways/:dataPlane",name:"gateway-detail-tabs-view",component:()=>xe(()=>import("./DataPlaneDetailTabsView-6492bfb8.js"),["./NavTabs-67112198.css"],import.meta.url),props:{isGatewayView:!0},children:[{path:"overview",name:"gateway-detail-view",component:()=>xe(()=>import("./DataPlaneDetailView-48610eda.js"),["./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css","./TagList-613e8329.css","./DataPlaneDetailView-a63ad1a7.css"],import.meta.url)},{path:"policies",name:"gateway-policies-view",component:()=>xe(()=>import("./GatewayPoliciesView-0c7ed791.js"),["./AccordionList-8bab9627.css","./GatewayPoliciesView-15d674af.css"],import.meta.url)},{path:"xds-config",name:"gateway-xds-config-view",component:()=>xe(()=>import("./DataPlaneXdsConfigView-4d19bc26.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"gateway-stats-view",component:()=>xe(()=>import("./DataPlaneStatsView-01b0b27c.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"gateway-clusters-view",component:()=>xe(()=>import("./DataPlaneClustersView-e64792ca.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)}]}]}),Die=e=>[[Be("gateway.sources"),{service:Lie,arguments:[e.api],labels:[e.sources]}]],Hie=e=>({"/*/policy-types":(t,r)=>(r.close(),e.getPolicyTypes()),"/meshes/:mesh/policy-path/:path":(t,r)=>{r.close();const{mesh:n,path:o,size:a}=t,i=t.size*(t.page-1);return e.getAllPolicyEntitiesFromMesh({mesh:n,path:o},{offset:i,size:a})},"/meshes/:mesh/policy-path/:path/policy/:name":(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return e.getSinglePolicyEntity({mesh:n,path:o,name:a})},"/meshes/:mesh/policy-path/:path/policy/:name/dataplanes":(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return e.getPolicyConnections({mesh:n,path:o,name:a})}}),Tie=()=>({items:()=>[{path:"policies",name:"policy-list-index-view",meta:{module:"policies"},redirect:t=>({...t,params:{...t.params,policyPath:"circuit-breakers"},name:"policy-list-view"}),children:[{path:":policyPath",name:"policy-list-view",component:()=>xe(()=>import("./PolicyListView-6073e164.js"),["./PolicyTypeTag-f5c09fb0.css","./PolicyListView-5c826bc1.css"],import.meta.url)}]}],item:()=>[{path:"policies/:policyPath/:policy/overview",name:"policy-detail-view",component:()=>xe(()=>import("./PolicyDetailView-ca95d278.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}),Iie=e=>[[Be("policies.sources"),{service:Hie,arguments:[e.api],labels:[e.sources]}]],Oie=e=>({"/meshes/:mesh/service-insights":(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1);return e.getAllServiceInsightsFromMesh({mesh:n},{size:o,offset:a})},"/meshes/:mesh/service-insights/:name":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getServiceInsight({mesh:n,name:o})},"/meshes/:mesh/external-services/for/:service":async(t,r)=>{r.close();const{mesh:n,service:o}=t,{items:a}=await e.getAllExternalServicesFromMesh({mesh:n},{tag:[`kuma.io/service:${o}`]});return a.length>0?a[0]:null}}),Vie=()=>({items:()=>[{path:"services",name:"service-list-view",meta:{module:"services"},component:()=>xe(()=>import("./ServiceListView-c8a92c76.js"),["./ServiceListView-28679687.css"],import.meta.url)}],item:()=>[{path:"services/:service",name:"service-detail-tabs-view",component:()=>xe(()=>import("./ServiceDetailTabsView-5639d9b8.js"),["./NavTabs-67112198.css"],import.meta.url),children:[{path:"overview",name:"service-detail-view",component:()=>xe(()=>import("./ServiceDetailView-c5a5fa0e.js"),["./TagList-613e8329.css"],import.meta.url)},{path:"config",name:"service-config-view",component:()=>xe(()=>import("./ServiceConfigView-1516feb4.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},{path:"data-plane-proxies",name:"service-data-plane-proxies-view",component:()=>xe(()=>import("./ServiceDataPlaneProxiesView-d0ea79d5.js"),["./KFilterBar-7168f421.css","./ServiceDataPlaneProxiesView-c629639b.css"],import.meta.url)}]}]}),Pie=e=>[[Be("service.sources"),{service:Oie,arguments:[e.api],labels:[e.sources]}]],un={dataplaneRoutes:Be("kuma.dataplane.routes"),gatewayRoutes:Be("kuma.gateway.routes"),serviceRoutes:Be("kuma.service.routes"),policyRoutes:Be("kuma.policy.routes")},Nie=e=>[[Be("meshes.routes"),{service:kie,arguments:[un.serviceRoutes,un.gatewayRoutes,un.dataplaneRoutes,un.policyRoutes],labels:[e.routes]}],[un.dataplaneRoutes,{service:Eie}],[un.gatewayRoutes,{service:Bie}],[un.serviceRoutes,{service:Vie}],[un.policyRoutes,{service:Tie}],[Be("meshes.sources"),{service:Mie,arguments:[e.api],labels:[e.sources]}],...Pie(e),...Aie(e),...Die(e),...Iie(e)],$ie=e=>({"use zones":()=>e("KUMA_MODE")==="global","create zones":t=>t("use zones")&&e("KUMA_ZONE_CREATION_FLOW")==="enabled"}),fs=(e="egresses")=>({items:()=>[{path:`${e}`,name:"zone-egress-list-view",component:()=>xe(()=>import("./IndexView-32e4ccfe.js"),["./IndexView-6ea428a5.css"],import.meta.url)}],item:()=>[{path:`${e}/:zoneEgress`,name:"zone-egress-detail-tabs-view",component:()=>xe(()=>import("./IndexView-14a77b4d.js"),["./NavTabs-67112198.css"],import.meta.url),redirect:{name:"zone-egress-detail-view"},children:[{path:"overview",name:"zone-egress-detail-view",component:()=>xe(()=>import("./DetailView-7e59df2d.js"),["./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css"],import.meta.url)},{path:"xds-config",name:"zone-egress-xds-config-view",component:()=>xe(()=>import("./XdsConfigView-72fd1a5e.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"zone-egress-stats-view",component:()=>xe(()=>import("./StatsView-ed542b99.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"zone-egress-clusters-view",component:()=>xe(()=>import("./ClustersView-54bb639d.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"zone-egress-config-view",component:()=>xe(()=>import("./ConfigView-71550ab4.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),fu=(e="ingresses")=>({items:()=>[{path:`${e}`,name:"zone-ingress-list-view",component:()=>xe(()=>import("./IndexView-40d75528.js"),["./IndexView-8d871535.css"],import.meta.url)}],item:()=>[{path:`${e}/:zoneIngress`,name:"zone-ingress-detail-tabs-view",component:()=>xe(()=>import("./IndexView-043c2b48.js"),["./NavTabs-67112198.css"],import.meta.url),redirect:{name:"zone-ingress-detail-view"},children:[{path:"overview",name:"zone-ingress-detail-view",component:()=>xe(()=>import("./DetailView-ffc89ced.js"),["./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css"],import.meta.url)},{path:"xds-config",name:"zone-ingress-xds-config-view",component:()=>xe(()=>import("./XdsConfigView-daf07147.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"zone-ingress-stats-view",component:()=>xe(()=>import("./StatsView-10556e79.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"zone-ingress-clusters-view",component:()=>xe(()=>import("./ClustersView-d81751a6.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"zone-ingress-config-view",component:()=>xe(()=>import("./ConfigView-88c8c6dc.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),Zie=()=>[{path:"/zones/-create",name:"zone-create-view",meta:{isWizard:!0},component:()=>xe(()=>import("./CreateView-003e343c.js"),["./CodeBlock-aa591f34.css","./CreateView-5796a744.css"],import.meta.url)}],Rie=(e,t)=>{const r="/zones";return[...e,...t("use zones")?[{path:`${r}`,name:"zone-index-view",redirect:{name:"zone-cp-list-view"},children:[{path:"",name:"zone-cp-list-view",component:()=>xe(()=>import("./IndexView-b88dc26a.js"),["./IndexView-5e558fff.css"],import.meta.url)},{path:":zone",name:"zone-cp-detail-abstract-view",children:[{path:"",name:"zone-cp-detail-tabs-view",component:()=>xe(()=>import("./IndexView-27b32497.js"),["./NavTabs-67112198.css"],import.meta.url),redirect:{name:"zone-cp-detail-view"},children:[{path:"overview",name:"zone-cp-detail-view",component:()=>xe(()=>import("./DetailView-cfe9ea11.js"),["./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css"],import.meta.url)},{path:"config",name:"zone-cp-config-view",component:()=>xe(()=>import("./ConfigView-3be41e99.js"),["./CodeBlock-aa591f34.css"],import.meta.url)},...fu().items(),...fs().items()]},...fu().item(),...fs().item()]}]}]:[{path:`${r}`,redirect:{name:"zone-egress-list-view"},children:[...fs().items(),...fs().item()]}]]},zie=e=>({"/zone-cps/:name/egresses":async(t,r)=>{r.close();const{name:n,size:o,page:a}=t,i=o*(a-1),s=await e.getAllZoneEgressOverviews({size:o,offset:i});return n!=="*"&&(s.items=s.items.filter(l=>l.zoneEgress.zone===n),s.total=s.items.length),s},"/zone-egresses/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneEgress({name:n})},"/zone-egresses/:name/data-path/:dataPath":(t,r)=>{r.close();const{name:n,dataPath:o}=t;return e.getZoneEgressData({zoneEgressName:n,dataPath:o})},"/zone-egress-overviews":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return await e.getAllZoneEgressOverviews({size:n,offset:o})},"/zone-egress-overviews/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneEgressOverview({name:n})}}),Fie=e=>({"/zone-cps/:name/ingresses":async(t,r)=>{r.close();const{name:n,size:o,page:a}=t,i=o*(a-1),s=await e.getAllZoneIngressOverviews({size:o,offset:i});return s.items=s.items.filter(l=>l.zoneIngress.zone===n),s.total=s.items.length,s},"/zone-ingresses/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneIngress({name:n})},"/zone-ingresses/:name/data-path/:dataPath":(t,r)=>{r.close();const{name:n,dataPath:o}=t;return e.getZoneIngressData({zoneIngressName:n,dataPath:o})},"/zone-ingress-overviews":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return await e.getAllZoneIngressOverviews({size:n,offset:o})},"/zone-ingress-overviews/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneIngressOverview({name:n})}}),Uie=e=>({...Fie(e),...zie(e),"/zone-cps":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return await e.getAllZoneOverviews({size:n,offset:o})},"/zone-cps/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneOverview({name:n})}}),jie=e=>[[Be("zones.routes"),{service:t=>Rie(t("create zones")?Zie():[],t),arguments:[e.can],labels:[e.routes]}],[Be("zone.sources"),{service:Uie,arguments:[e.api],labels:[e.sources]}],[Be("zone.features"),{service:$ie,arguments:[e.env],labels:[e.features]}]],Yie={common:{not_applicable:"N/A",formats:{integer:"{value, number, integer}"},product:{name:"Kuma",href:{docs:{index:"{KUMA_DOCS_URL}/"}},environment:{universal:"Universal",kubernetes:"Kubernetes",unknown:"—"},mode:{standalone:"Standalone",global:"Multi-Zone"}},warnings:{CERT_EXPIRED:`'<'p>The certificate for this dataplane has expired'<'/p> `,ZONE_STORE_TYPE_MEMORY:`'<'p>This zone is using the '<'code>memory'<'/code> store type. '<'strong>Don't'<'/strong> use this store in production because the state isn't persisted. '<'a target="_blank" href="{KUMA_DOCS_URL}/documentation/configuration/#store">Read more about store types'<'/a>'<'/p> `,GLOBAL_STORE_TYPE_MEMORY:`'<'p>This control plane is using the '<'code>memory'<'/code> store type. '<'strong>Don't'<'/strong> use this store in production because the state isn't persisted. '<'a target="_blank" href="{KUMA_DOCS_URL}/documentation/configuration/#store">Read more about store types'<'/a>'<'/p> `,INCOMPATIBLE_UNSUPPORTED_ENVOY:`'<'p>Envoy ('<'strong>{ envoy }'<'/strong>) is unsupported by the current version of Kuma DP ('<'strong>{ kumaDp }'<'/strong>)'<'/p> @@ -629,4 +629,4 @@ egress: enabled: {zoneEgressEnabled} experimental: deltaKds: true -`,connectDescription:"Next, run the following command to connect the Zone.",connectCommand:"helm install -n kuma-system -f values.yaml kuma kuma/kuma"}}},create:{generalError:{title:"Could not create the Zone"},invalidNameError:"The name must be a valid RFC 1035 DNS name, which means it must start with a letter, be less than 64 characters long, and only contain lowercase letters, numbers, and '-'.",status_error:{409:{title:"Error 409: A Zone with the name {name} already exists",description:"If you want to connect a Zone with this name, you can delete the existing one and create a new one."},500:{title:"Error 500: An error occurred while creating the Zone {name}",description:"You may retry this operation."}}}}},ise={...Yie,...Kie,...Gie,...Xie,...ese,...Wie,...Jie,...rse,...tse,...qie,...Qie,...ase,...ose,...nse};class sse{constructor(t,r){this.client=t,this.env=r}get baseUrl(){return this.client.baseUrl}}class lse extends sse{async getLatestVersion(){return this.client.get(this.env("KUMA_VERSION_URL"))}getConfig(){return this.client.get("/config")}getPolicyTypes(){return this.client.get("/policies")}getGlobalInsight(){return this.client.get("/global-insight")}getZones(t){return this.client.get("/zones",{params:t})}getZone({name:t},r){return this.client.get(`/zones/${t}`,{params:r})}createZone(t){return this.client.post("/provision-zone",t)}updateZone(t){return this.client.put(`/zones/${t.name}`,t)}deleteZone({name:t}){return this.client.delete(`/zones/${t}`)}getAllZoneOverviews(t){return this.client.get("/zones+insights",{params:t})}getZoneOverview({name:t},r){return this.client.get(`/zones+insights/${t}`,{params:r})}getZoneIngress({name:t},r){return this.client.get(`/zone-ingresses/${t}`,{params:r})}getZoneIngressData({zoneIngressName:t,dataPath:r},n){return this.client.get(`/zoneingresses/${t}/${r}`,{params:n})}getAllZoneIngressOverviews(t){return this.client.get("/zoneingresses+insights",{params:t})}getZoneIngressOverview({name:t},r){return this.client.get(`/zoneingresses+insights/${t}`,{params:r})}getZoneEgress({name:t},r){return this.client.get(`/zoneegresses/${t}`,{params:r})}getZoneEgressData({zoneEgressName:t,dataPath:r},n){return this.client.get(`/zoneegresses/${t}/${r}`,{params:n})}getAllZoneEgressOverviews(t){return this.client.get("/zoneegressoverviews",{params:t})}getZoneEgressOverview({name:t},r){return this.client.get(`/zoneegressoverviews/${t}`,{params:r})}getAllMeshes(t){return this.client.get("/meshes",{params:t})}getMesh({name:t},r){return this.client.get(`/meshes/${t}`,{params:r})}getAllMeshInsights(t){return this.client.get("/mesh-insights",{params:t})}getMeshInsights({name:t},r){return this.client.get(`/mesh-insights/${t}`,{params:r})}getAllDataplanes(t){return this.client.get("/dataplanes",{params:t})}getDataplaneFromMesh({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}`,{params:n})}getAllDataplaneOverviews(t){return this.client.get("/dataplanes+insights",{params:t})}getAllDataplaneOverviewsFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/dataplanes+insights`,{params:r})}getDataplaneOverviewFromMesh({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes+insights/${r}`,{params:n})}getSidecarDataplanePolicies({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/policies`,{params:n})}getMeshGatewayDataplane({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/policies`,{params:n})}getDataplaneRules({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/rules`,{params:n})}getDataplaneData({mesh:t,dppName:r,dataPath:n},o){return this.client.get(`/meshes/${t}/dataplanes/${r}/${n}`,{params:o})}getAllServiceInsights(t){return this.client.get("/service-insights",{params:t})}getAllServiceInsightsFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/service-insights`,{params:r})}getServiceInsight({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/service-insights/${r}`,{params:n})}getAllExternalServices(t){return this.client.get("/external-services",{params:t})}getAllExternalServicesFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/external-services`,{params:r})}getExternalService({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/external-services/${r}`,{params:n})}getPolicyConnections({mesh:t,path:r,name:n},o){return this.client.get(`/meshes/${t}/${r}/${n}/dataplanes`,{params:o})}getAllPolicyEntitiesFromMesh({mesh:t,path:r},n){return this.client.get(`/meshes/${t}/${r}`,{params:n})}getSinglePolicyEntity({mesh:t,path:r,name:n},o){return this.client.get(`/meshes/${t}/${r}/${n}`,{params:o})}}async function cse(e,t={},r){var u;const n=t,o=n.method??"GET";n.headers=n.headers instanceof Headers?n.headers:new Headers(n.headers),!n.headers.has("content-type")&&["POST","PUT","PATCH"].includes(o)&&n.headers.set("content-type","application/json");let a=e;"params"in t&&t.params!==void 0&&o==="GET"&&(a+=`?${new URLSearchParams(t.params).toString()}`),r!==void 0&&((u=n.headers.get("content-type"))!=null&&u.startsWith("application/json")?n.body=JSON.stringify(r):n.body=r);let i;try{i=await fetch(a,n)}catch(d){throw use(d)}const s=i.headers.get("content-type"),c=(s!==null?s.startsWith("application/json")||s.startsWith("application/problem+json"):!1)?await i.json():await i.text();if(i.ok)return{response:i,data:c};throw dse(i,c)}function use(e){const t=e instanceof Error?e.message:"An unknown network error occurred.";return new Error(t)}function dse(e,t){const r=e.status;let n,o,a,i,s;return typeof t=="string"&&t.length>0?o=t:t!==null&&typeof t=="object"&&("type"in t&&typeof t.type=="string"&&(n=t.type),"title"in t&&typeof t.title=="string"&&(o=t.title),"detail"in t&&typeof t.detail=="string"&&(a=t.detail),"instance"in t&&typeof t.instance=="string"&&(i=t.instance),"invalid_parameters"in t&&Array.isArray(t.invalid_parameters)&&(s=t.invalid_parameters)),r===403&&(o="You currently don’t have access to this data."),o===void 0&&(o="An error has occurred while trying to load this data."),i&&(o+=` (trace: ${i})`),new Ds({status:r,type:n,title:o,detail:a,instance:i,invalidParameters:s})}class hse{constructor(t){this.env=t}get baseUrl(){return this.env("KUMA_API_URL")}async get(t,r){const{data:n}=await this.raw(t,void 0,r,"GET");return n}async delete(t,r){await this.raw(t,void 0,r,"DELETE")}async post(t,r,n){const{data:o}=await this.raw(t,r,n,"POST");return o}async put(t,r,n){const{data:o}=await this.raw(t,r,n,"PUT");return o}async patch(t,r,n){const{data:o}=await this.raw(t,r,n,"PATCH");return o}async raw(t,r,n={},o="GET"){const a=pu(n);a.method=o;const i=new Headers;if("headers"in a){const l=a.headers instanceof Headers?a.headers:new Headers(a.headers);for(const[c,u]of l)i.set(c,u)}Object.keys(i).length>0&&(a.headers=i);const s=pu(a);return cse(`${t.startsWith("http")?"":this.baseUrl}${t}`,s,r)}}function pu(e){const t=e??{};if(t.params&&!Array.isArray(t.params)){const r=[];for(const[n,o]of Object.entries(t.params))if(o!==void 0)if(Array.isArray(o))for(const a of o)r.push([n,a]);else r.push([n,o]);t.params=r}return t}const fse={...Jh,...fie,...Ls},pse=e=>[[e.EnvVars,{constant:{KUMA_PRODUCT_NAME:"Kuma",KUMA_FEEDBACK_URL:"https://github.com/kumahq/kuma/issues/new/choose",KUMA_CHAT_URL:"https://kuma-mesh.slack.com",KUMA_INSTALL_URL:"https://kuma.io/install/latest/",KUMA_VERSION_URL:"https://kuma.io/latest_version",KUMA_DOCS_URL:"https://kuma.io/docs",KUMA_MOCK_API_ENABLED:{}.VITE_MOCK_API_ENABLED,KUMA_ZONE_CREATION_FLOW:{}.VITE_ZONE_CREATION_FLOW}}],[e.httpClient,{service:hse,arguments:[e.env]}],[e.api,{service:lse,arguments:[e.httpClient,e.env]}],[e.logger,{service:AX}],[Be("kong.plugins"),{service:()=>[[xX]],labels:[e.plugins]}],[Be("kuma.components.not-found"),{service:()=>[()=>xe(()=>import("./AppNotFoundView-8135f659.js"),[],import.meta.url)],labels:[e.notFoundView]}],[Be("kuma.i18n.en-us"),{constant:ise,labels:[e.enUs]}],[e.nav,{service:t=>mie(t("use zones")),arguments:[e.can]}],...qte(e),...hie({...e,routes:e.routesLabel}),..._ie(e),...yie({...e,routes:e.routesLabel}),...jie({...e,routes:e.routesLabel}),...Nie({...e,routes:e.routesLabel})],dn=fse;async function mse(){(await vp(pse(dn),Cp({...dn,routes:dn.routesLabel}),kp({...dn,routes:dn.routesLabel}),wp({...dn,routes:dn.routesLabel}),[])(dn.app)((await xe(()=>import("./App-0f2c3caf.js"),["./App-a1fb1def.css"],import.meta.url)).default)).mount("#app")}mse();export{ro as $,mae as A,J as B,Li as C,st as D,y0 as E,we as F,lt as G,H,tt as I,wse as J,sa as K,$se as L,Zse as M,x5 as N,Vse as O,Nse as P,Pse as Q,Qte as R,ur as S,ao as T,F as U,cr as V,X1e as W,It as X,Fe as Y,Ose as Z,_ae as _,zse as a,rf as a0,Wd as a1,Ese as a2,cl as a3,aC as a4,lre as a5,Cse as a6,jse as a7,ar as a8,Hs as a9,Tte as aA,Yte as aB,Mse as aC,Bse as aD,bse as aE,Hse as aF,Ds as aG,Qh as aH,Oe as aI,Dse as aJ,J1e as aK,Aq as aL,Tt as aM,Ise as aN,Tse as aO,ha as aa,Sse as ab,Jl as ac,dh as ad,Wn as ae,G1e as af,j1 as ag,gse as ah,Xf as ai,Ue as aj,bx as ak,KW as al,ore as am,Ase as an,x1 as ao,Vo as ap,yse as aq,Lse as ar,De as as,xse as at,Zs as au,qv as av,_se as aw,kse as ax,Oi as ay,Y1e as az,Fse as b,Use as c,X as d,ql as e,S5 as f,Rt as g,A as h,G as i,P as j,L as k,M as l,I as m,y as n,m as o,p,vt as q,Qt as r,No as s,Xt as t,Rse as u,cre as v,E as w,b0 as x,Y as y,Ct as z}; +`,connectDescription:"Next, run the following command to connect the Zone.",connectCommand:"helm install -n kuma-system -f values.yaml kuma kuma/kuma"}}},create:{generalError:{title:"Could not create the Zone"},invalidNameError:"The name must be a valid RFC 1035 DNS name, which means it must start with a letter, be less than 64 characters long, and only contain lowercase letters, numbers, and '-'.",status_error:{409:{title:"Error 409: A Zone with the name {name} already exists",description:"If you want to connect a Zone with this name, you can delete the existing one and create a new one."},500:{title:"Error 500: An error occurred while creating the Zone {name}",description:"You may retry this operation."}}}}},ise={...Yie,...Kie,...Gie,...Xie,...ese,...Wie,...Jie,...rse,...tse,...qie,...Qie,...ase,...ose,...nse};class sse{constructor(t,r){this.client=t,this.env=r}get baseUrl(){return this.client.baseUrl}}class lse extends sse{async getLatestVersion(){return this.client.get(this.env("KUMA_VERSION_URL"))}getConfig(){return this.client.get("/config")}getPolicyTypes(){return this.client.get("/policies")}getGlobalInsight(){return this.client.get("/global-insight")}getZones(t){return this.client.get("/zones",{params:t})}getZone({name:t},r){return this.client.get(`/zones/${t}`,{params:r})}createZone(t){return this.client.post("/provision-zone",t)}updateZone(t){return this.client.put(`/zones/${t.name}`,t)}deleteZone({name:t}){return this.client.delete(`/zones/${t}`)}getAllZoneOverviews(t){return this.client.get("/zones+insights",{params:t})}getZoneOverview({name:t},r){return this.client.get(`/zones+insights/${t}`,{params:r})}getZoneIngress({name:t},r){return this.client.get(`/zone-ingresses/${t}`,{params:r})}getZoneIngressData({zoneIngressName:t,dataPath:r},n){return this.client.get(`/zoneingresses/${t}/${r}`,{params:n})}getAllZoneIngressOverviews(t){return this.client.get("/zoneingresses+insights",{params:t})}getZoneIngressOverview({name:t},r){return this.client.get(`/zoneingresses+insights/${t}`,{params:r})}getZoneEgress({name:t},r){return this.client.get(`/zoneegresses/${t}`,{params:r})}getZoneEgressData({zoneEgressName:t,dataPath:r},n){return this.client.get(`/zoneegresses/${t}/${r}`,{params:n})}getAllZoneEgressOverviews(t){return this.client.get("/zoneegressoverviews",{params:t})}getZoneEgressOverview({name:t},r){return this.client.get(`/zoneegressoverviews/${t}`,{params:r})}getAllMeshes(t){return this.client.get("/meshes",{params:t})}getMesh({name:t},r){return this.client.get(`/meshes/${t}`,{params:r})}getAllMeshInsights(t){return this.client.get("/mesh-insights",{params:t})}getMeshInsights({name:t},r){return this.client.get(`/mesh-insights/${t}`,{params:r})}getAllDataplanes(t){return this.client.get("/dataplanes",{params:t})}getDataplaneFromMesh({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}`,{params:n})}getAllDataplaneOverviews(t){return this.client.get("/dataplanes+insights",{params:t})}getAllDataplaneOverviewsFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/dataplanes+insights`,{params:r})}getDataplaneOverviewFromMesh({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes+insights/${r}`,{params:n})}getSidecarDataplanePolicies({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/policies`,{params:n})}getMeshGatewayDataplane({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/policies`,{params:n})}getDataplaneRules({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/rules`,{params:n})}getDataplaneData({mesh:t,dppName:r,dataPath:n},o){return this.client.get(`/meshes/${t}/dataplanes/${r}/${n}`,{params:o})}getAllServiceInsights(t){return this.client.get("/service-insights",{params:t})}getAllServiceInsightsFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/service-insights`,{params:r})}getServiceInsight({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/service-insights/${r}`,{params:n})}getAllExternalServices(t){return this.client.get("/external-services",{params:t})}getAllExternalServicesFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/external-services`,{params:r})}getExternalService({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/external-services/${r}`,{params:n})}getPolicyConnections({mesh:t,path:r,name:n},o){return this.client.get(`/meshes/${t}/${r}/${n}/dataplanes`,{params:o})}getAllPolicyEntitiesFromMesh({mesh:t,path:r},n){return this.client.get(`/meshes/${t}/${r}`,{params:n})}getSinglePolicyEntity({mesh:t,path:r,name:n},o){return this.client.get(`/meshes/${t}/${r}/${n}`,{params:o})}}async function cse(e,t={},r){var u;const n=t,o=n.method??"GET";n.headers=n.headers instanceof Headers?n.headers:new Headers(n.headers),!n.headers.has("content-type")&&["POST","PUT","PATCH"].includes(o)&&n.headers.set("content-type","application/json");let a=e;"params"in t&&t.params!==void 0&&o==="GET"&&(a+=`?${new URLSearchParams(t.params).toString()}`),r!==void 0&&((u=n.headers.get("content-type"))!=null&&u.startsWith("application/json")?n.body=JSON.stringify(r):n.body=r);let i;try{i=await fetch(a,n)}catch(d){throw use(d)}const s=i.headers.get("content-type"),c=(s!==null?s.startsWith("application/json")||s.startsWith("application/problem+json"):!1)?await i.json():await i.text();if(i.ok)return{response:i,data:c};throw dse(i,c)}function use(e){const t=e instanceof Error?e.message:"An unknown network error occurred.";return new Error(t)}function dse(e,t){const r=e.status;let n,o,a,i,s;return typeof t=="string"&&t.length>0?o=t:t!==null&&typeof t=="object"&&("type"in t&&typeof t.type=="string"&&(n=t.type),"title"in t&&typeof t.title=="string"&&(o=t.title),"detail"in t&&typeof t.detail=="string"&&(a=t.detail),"instance"in t&&typeof t.instance=="string"&&(i=t.instance),"invalid_parameters"in t&&Array.isArray(t.invalid_parameters)&&(s=t.invalid_parameters)),r===403&&(o="You currently don’t have access to this data."),o===void 0&&(o="An error has occurred while trying to load this data."),i&&(o+=` (trace: ${i})`),new Ds({status:r,type:n,title:o,detail:a,instance:i,invalidParameters:s})}class hse{constructor(t){this.env=t}get baseUrl(){return this.env("KUMA_API_URL")}async get(t,r){const{data:n}=await this.raw(t,void 0,r,"GET");return n}async delete(t,r){await this.raw(t,void 0,r,"DELETE")}async post(t,r,n){const{data:o}=await this.raw(t,r,n,"POST");return o}async put(t,r,n){const{data:o}=await this.raw(t,r,n,"PUT");return o}async patch(t,r,n){const{data:o}=await this.raw(t,r,n,"PATCH");return o}async raw(t,r,n={},o="GET"){const a=pu(n);a.method=o;const i=new Headers;if("headers"in a){const l=a.headers instanceof Headers?a.headers:new Headers(a.headers);for(const[c,u]of l)i.set(c,u)}Object.keys(i).length>0&&(a.headers=i);const s=pu(a);return cse(`${t.startsWith("http")?"":this.baseUrl}${t}`,s,r)}}function pu(e){const t=e??{};if(t.params&&!Array.isArray(t.params)){const r=[];for(const[n,o]of Object.entries(t.params))if(o!==void 0)if(Array.isArray(o))for(const a of o)r.push([n,a]);else r.push([n,o]);t.params=r}return t}const fse={...Jh,...fie,...Ls},pse=e=>[[e.EnvVars,{constant:{KUMA_PRODUCT_NAME:"Kuma",KUMA_FEEDBACK_URL:"https://github.com/kumahq/kuma/issues/new/choose",KUMA_CHAT_URL:"https://kuma-mesh.slack.com",KUMA_INSTALL_URL:"https://kuma.io/install/latest/",KUMA_VERSION_URL:"https://kuma.io/latest_version",KUMA_DOCS_URL:"https://kuma.io/docs",KUMA_MOCK_API_ENABLED:{}.VITE_MOCK_API_ENABLED,KUMA_ZONE_CREATION_FLOW:{}.VITE_ZONE_CREATION_FLOW}}],[e.httpClient,{service:hse,arguments:[e.env]}],[e.api,{service:lse,arguments:[e.httpClient,e.env]}],[e.logger,{service:AX}],[Be("kong.plugins"),{service:()=>[[xX]],labels:[e.plugins]}],[Be("kuma.components.not-found"),{service:()=>[()=>xe(()=>import("./AppNotFoundView-531393f5.js"),[],import.meta.url)],labels:[e.notFoundView]}],[Be("kuma.i18n.en-us"),{constant:ise,labels:[e.enUs]}],[e.nav,{service:t=>mie(t("use zones")),arguments:[e.can]}],...qte(e),...hie({...e,routes:e.routesLabel}),..._ie(e),...yie({...e,routes:e.routesLabel}),...jie({...e,routes:e.routesLabel}),...Nie({...e,routes:e.routesLabel})],dn=fse;async function mse(){(await vp(pse(dn),Cp({...dn,routes:dn.routesLabel}),kp({...dn,routes:dn.routesLabel}),wp({...dn,routes:dn.routesLabel}),[])(dn.app)((await xe(()=>import("./App-32fcfab8.js"),["./App-a1fb1def.css"],import.meta.url)).default)).mount("#app")}mse();export{ro as $,mae as A,J as B,Li as C,st as D,y0 as E,we as F,lt as G,H,tt as I,wse as J,sa as K,$se as L,Zse as M,x5 as N,Vse as O,Nse as P,Pse as Q,Qte as R,ur as S,ao as T,F as U,cr as V,X1e as W,It as X,Fe as Y,Ose as Z,_ae as _,zse as a,rf as a0,Wd as a1,Ese as a2,cl as a3,aC as a4,lre as a5,Cse as a6,jse as a7,ar as a8,Hs as a9,Tte as aA,Yte as aB,Mse as aC,Bse as aD,bse as aE,Hse as aF,Ds as aG,Qh as aH,Oe as aI,Dse as aJ,J1e as aK,Aq as aL,Tt as aM,Ise as aN,Tse as aO,ha as aa,Sse as ab,Jl as ac,dh as ad,Wn as ae,G1e as af,j1 as ag,gse as ah,Xf as ai,Ue as aj,bx as ak,KW as al,ore as am,Ase as an,x1 as ao,Vo as ap,yse as aq,Lse as ar,De as as,xse as at,Zs as au,qv as av,_se as aw,kse as ax,Oi as ay,Y1e as az,Fse as b,Use as c,X as d,ql as e,S5 as f,Rt as g,A as h,G as i,P as j,L as k,M as l,I as m,y as n,m as o,p,vt as q,Qt as r,No as s,Xt as t,Rse as u,cre as v,E as w,b0 as x,Y as y,Ct as z}; diff --git a/app/kuma-ui/pkg/resources/data/index.html b/app/kuma-ui/pkg/resources/data/index.html index 65a909777b6d..ca9284bb2dd2 100644 --- a/app/kuma-ui/pkg/resources/data/index.html +++ b/app/kuma-ui/pkg/resources/data/index.html @@ -1 +1 @@ -Manager
\ No newline at end of file +Manager
\ No newline at end of file