From 13066f5ba150d534ba88840c28f2c2b057c18078 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com> Date: Tue, 31 Oct 2023 16:03:12 +0000 Subject: [PATCH] chore(deps): bump kumahq/kuma-gui to 7a1db7979ed346b7759db483b9167c0a376c26ad Bumps kumahq/kuma-gui to version [master@7a1db7979ed346b7759db483b9167c0a376c26ad](https://github.com/kumahq/kuma-gui/tree/7a1db7979ed346b7759db483b9167c0a376c26ad) Signed-off-by: GitHub <noreply@github.com> --- ...{AccordionList-d10083a3.js => AccordionList-c73d7d77.js} | 2 +- ...ddNewServices-d8057f4c.js => AddNewServices-fb893173.js} | 2 +- ...vicesCode-84af77ee.js => AddNewServicesCode-bab7ed20.js} | 2 +- .../data/assets/{App-2f4b232b.js => App-c639829f.js} | 2 +- ...{AppCollection-170ebacc.js => AppCollection-b6258a04.js} | 2 +- ...NotFoundView-0aaeff51.js => AppNotFoundView-00667194.js} | 2 +- .../{ClustersView-06b7d8aa.js => ClustersView-7fbf462d.js} | 2 +- .../{ClustersView-1535b56f.js => ClustersView-fca936af.js} | 2 +- ...> CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js} | 2 +- ...{CompletedView-48f9d41f.js => CompletedView-11588c9f.js} | 2 +- .../{ConfigView-43a1f033.js => ConfigView-be8b975d.js} | 2 +- .../{ConfigView-7b43c5c8.js => ConfigView-cb5adad3.js} | 2 +- .../{ConfigView-49200da3.js => ConfigView-ff377df9.js} | 2 +- ...tionTypes-24741a4e.js => ConfigurationTypes-9e51d545.js} | 2 +- .../{CreateMesh-6198c6ba.js => CreateMesh-f295e9c6.js} | 2 +- .../{CreateView-fa3f3220.js => CreateView-dedd6312.js} | 2 +- ...rsView-f5a7e299.js => DataPlaneClustersView-155208c3.js} | 2 +- ...nfigView-f3bca114.js => DataPlaneConfigView-23902abe.js} | 2 +- ...View-74fdf8d2.js => DataPlaneDetailTabsView-6b930b3e.js} | 2 +- ...tailView-da5f5688.js => DataPlaneDetailView-7b61a5f6.js} | 2 +- ...neListView-f017382e.js => DataPlaneListView-1222435c.js} | 2 +- ...esView-142340f2.js => DataPlanePoliciesView-182c6628.js} | 2 +- ...StatsView-30db8dc3.js => DataPlaneStatsView-7b78cb9b.js} | 2 +- ...gView-871839bf.js => DataPlaneXdsConfigView-71d735b6.js} | 2 +- ...sOverview-50f64627.js => DataplanesOverview-ab420fdb.js} | 2 +- ...ceModal.vue_vue_type_script_setup_true_lang-113a7c47.js} | 2 +- ...loymentTypes-59344f6d.js => DeploymentTypes-7cc9b0f1.js} | 2 +- .../{DetailView-80635c8a.js => DetailView-0e32e4f9.js} | 2 +- .../{DetailView-cc870aca.js => DetailView-d07f36ea.js} | 2 +- .../{DetailView-2349938f.js => DetailView-dfa33b2f.js} | 2 +- ...gnosticsView-d7f2e3a3.js => DiagnosticsView-06e85678.js} | 2 +- ...tyBlock.vue_vue_type_script_setup_true_lang-24948e86.js} | 2 +- .../assets/{EnvoyData-1ceb485e.js => EnvoyData-f0df1bb7.js} | 2 +- ...eConfig.vue_vue_type_script_setup_true_lang-4ca23c1a.js} | 2 +- ...ewayListView-eba55e48.js => GatewayListView-bb8eb667.js} | 2 +- ...ciesView-e50b991c.js => GatewayPoliciesView-15aab1cf.js} | 2 +- .../assets/{IndexView-a274b322.js => IndexView-023edc89.js} | 2 +- .../assets/{IndexView-41eeabcc.js => IndexView-132d0e04.js} | 2 +- .../assets/{IndexView-316787fa.js => IndexView-3585a4b2.js} | 2 +- .../assets/{IndexView-e8f9c6d4.js => IndexView-6f39c69e.js} | 2 +- .../assets/{IndexView-098f0f2d.js => IndexView-76125280.js} | 2 +- .../assets/{IndexView-58903170.js => IndexView-b962a60e.js} | 2 +- .../{KFilterBar-ed682188.js => KFilterBar-d93b3a1d.js} | 2 +- .../{LoadingBox-8b1f23a6.js => LoadingBox-e73404f1.js} | 2 +- ...verviewView-e5b9aa1d.js => MainOverviewView-60bdd710.js} | 2 +- ...eshConfigView-417455ad.js => MeshConfigView-bbffe579.js} | 2 +- ...eshDetailView-f25cd49c.js => MeshDetailView-4fb36173.js} | 2 +- ...{MeshIndexView-6129b08e.js => MeshIndexView-c5f75b0a.js} | 2 +- .../{MeshListView-318756a8.js => MeshListView-6aa427ed.js} | 2 +- ...hSummaryView-573f0961.js => MeshSummaryView-3f776b25.js} | 2 +- .../{MeshTabsView-43bd5d33.js => MeshTabsView-d0429d0b.js} | 2 +- ...{MultiZoneView-7178af21.js => MultiZoneView-ebe84840.js} | 2 +- .../assets/{NavTabs-a833ed0a.js => NavTabs-400c7296.js} | 2 +- ...nboardingPage-495bc5e8.js => OnboardingPage-c16f9553.js} | 2 +- ...nboardingView-1285b618.js => OnboardingView-e790903e.js} | 2 +- .../pkg/resources/data/assets/PolicyDetailView-6a0f3cb8.js | 1 - .../pkg/resources/data/assets/PolicyDetailView-fd7fc390.js | 1 + ...olicyListView-7994224d.js => PolicyListView-1272f69d.js} | 2 +- ...ummaryView-da6bbfab.js => PolicySummaryView-eca81395.js} | 2 +- ...{PolicyTypeTag-83482a4f.js => PolicyTypeTag-24805dd6.js} | 2 +- ...ceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.js} | 2 +- ...ConfigView-ea214ecd.js => ServiceConfigView-55cde028.js} | 2 +- ...-225a00ca.js => ServiceDataPlaneProxiesView-b43d9ddf.js} | 2 +- ...bsView-f0c65692.js => ServiceDetailTabsView-b561c43a.js} | 2 +- ...DetailView-459bffe4.js => ServiceDetailView-1b9a5559.js} | 2 +- ...Details.vue_vue_type_script_setup_true_lang-0980654c.js} | 2 +- ...viceListView-d18441e0.js => ServiceListView-a6b2392a.js} | 2 +- ...mmaryView-cfc71515.js => ServiceSummaryView-750977b6.js} | 2 +- .../{ServicesView-05420678.js => ServicesView-6213cc85.js} | 2 +- .../assets/{StatsView-cfbdb5b1.js => StatsView-10a38127.js} | 2 +- .../assets/{StatsView-490bd64d.js => StatsView-917272e6.js} | 2 +- .../{StatusBadge-ac5a18e6.js => StatusBadge-fcc954b7.js} | 2 +- ...ionList.vue_vue_type_script_setup_true_lang-dec60c2e.js} | 2 +- .../{SummaryView-e9848f48.js => SummaryView-7a0161c3.js} | 2 +- .../assets/{TagList-0d613d23.js => TagList-79fcd8ea.js} | 2 +- .../{WelcomeView-16f5f04a.js => WelcomeView-47f7b5ef.js} | 2 +- ...{XdsConfigView-63dfd0ef.js => XdsConfigView-b1004cb7.js} | 2 +- ...{XdsConfigView-31415a01.js => XdsConfigView-e2d8a613.js} | 2 +- .../data/assets/{index-8b8b41d0.js => index-270afb1d.js} | 2 +- .../data/assets/{index-af109ace.js => index-28451437.js} | 6 +++--- app/kuma-ui/pkg/resources/data/index.html | 2 +- 81 files changed, 82 insertions(+), 82 deletions(-) rename app/kuma-ui/pkg/resources/data/assets/{AccordionList-d10083a3.js => AccordionList-c73d7d77.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{AddNewServices-d8057f4c.js => AddNewServices-fb893173.js} (94%) rename app/kuma-ui/pkg/resources/data/assets/{AddNewServicesCode-84af77ee.js => AddNewServicesCode-bab7ed20.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{App-2f4b232b.js => App-c639829f.js} (95%) rename app/kuma-ui/pkg/resources/data/assets/{AppCollection-170ebacc.js => AppCollection-b6258a04.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{AppNotFoundView-0aaeff51.js => AppNotFoundView-00667194.js} (91%) rename app/kuma-ui/pkg/resources/data/assets/{ClustersView-06b7d8aa.js => ClustersView-7fbf462d.js} (74%) rename app/kuma-ui/pkg/resources/data/assets/{ClustersView-1535b56f.js => ClustersView-fca936af.js} (74%) rename app/kuma-ui/pkg/resources/data/assets/{CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js => CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js} (99%) rename app/kuma-ui/pkg/resources/data/assets/{CompletedView-48f9d41f.js => CompletedView-11588c9f.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{ConfigView-43a1f033.js => ConfigView-be8b975d.js} (87%) rename app/kuma-ui/pkg/resources/data/assets/{ConfigView-7b43c5c8.js => ConfigView-cb5adad3.js} (78%) rename app/kuma-ui/pkg/resources/data/assets/{ConfigView-49200da3.js => ConfigView-ff377df9.js} (78%) rename app/kuma-ui/pkg/resources/data/assets/{ConfigurationTypes-24741a4e.js => ConfigurationTypes-9e51d545.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{CreateMesh-6198c6ba.js => CreateMesh-f295e9c6.js} (91%) rename app/kuma-ui/pkg/resources/data/assets/{CreateView-fa3f3220.js => CreateView-dedd6312.js} (99%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneClustersView-f5a7e299.js => DataPlaneClustersView-155208c3.js} (76%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneConfigView-f3bca114.js => DataPlaneConfigView-23902abe.js} (83%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneDetailTabsView-74fdf8d2.js => DataPlaneDetailTabsView-6b930b3e.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneDetailView-da5f5688.js => DataPlaneDetailView-7b61a5f6.js} (95%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneListView-f017382e.js => DataPlaneListView-1222435c.js} (87%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlanePoliciesView-142340f2.js => DataPlanePoliciesView-182c6628.js} (97%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneStatsView-30db8dc3.js => DataPlaneStatsView-7b78cb9b.js} (75%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneXdsConfigView-871839bf.js => DataPlaneXdsConfigView-71d735b6.js} (76%) rename app/kuma-ui/pkg/resources/data/assets/{DataplanesOverview-50f64627.js => DataplanesOverview-ab420fdb.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{DeleteResourceModal.vue_vue_type_script_setup_true_lang-65b39039.js => DeleteResourceModal.vue_vue_type_script_setup_true_lang-113a7c47.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{DeploymentTypes-59344f6d.js => DeploymentTypes-7cc9b0f1.js} (88%) rename app/kuma-ui/pkg/resources/data/assets/{DetailView-80635c8a.js => DetailView-0e32e4f9.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{DetailView-cc870aca.js => DetailView-d07f36ea.js} (80%) rename app/kuma-ui/pkg/resources/data/assets/{DetailView-2349938f.js => DetailView-dfa33b2f.js} (87%) rename app/kuma-ui/pkg/resources/data/assets/{DiagnosticsView-d7f2e3a3.js => DiagnosticsView-06e85678.js} (81%) rename app/kuma-ui/pkg/resources/data/assets/{EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js => EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{EnvoyData-1ceb485e.js => EnvoyData-f0df1bb7.js} (82%) rename app/kuma-ui/pkg/resources/data/assets/{ExternalServiceConfig.vue_vue_type_script_setup_true_lang-fe863fe8.js => ExternalServiceConfig.vue_vue_type_script_setup_true_lang-4ca23c1a.js} (81%) rename app/kuma-ui/pkg/resources/data/assets/{GatewayListView-eba55e48.js => GatewayListView-bb8eb667.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{GatewayPoliciesView-e50b991c.js => GatewayPoliciesView-15aab1cf.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{IndexView-a274b322.js => IndexView-023edc89.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{IndexView-41eeabcc.js => IndexView-132d0e04.js} (93%) rename app/kuma-ui/pkg/resources/data/assets/{IndexView-316787fa.js => IndexView-3585a4b2.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{IndexView-e8f9c6d4.js => IndexView-6f39c69e.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{IndexView-098f0f2d.js => IndexView-76125280.js} (94%) rename app/kuma-ui/pkg/resources/data/assets/{IndexView-58903170.js => IndexView-b962a60e.js} (94%) rename app/kuma-ui/pkg/resources/data/assets/{KFilterBar-ed682188.js => KFilterBar-d93b3a1d.js} (98%) rename app/kuma-ui/pkg/resources/data/assets/{LoadingBox-8b1f23a6.js => LoadingBox-e73404f1.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{MainOverviewView-e5b9aa1d.js => MainOverviewView-60bdd710.js} (94%) rename app/kuma-ui/pkg/resources/data/assets/{MeshConfigView-417455ad.js => MeshConfigView-bbffe579.js} (77%) rename app/kuma-ui/pkg/resources/data/assets/{MeshDetailView-f25cd49c.js => MeshDetailView-4fb36173.js} (95%) rename app/kuma-ui/pkg/resources/data/assets/{MeshIndexView-6129b08e.js => MeshIndexView-c5f75b0a.js} (69%) rename app/kuma-ui/pkg/resources/data/assets/{MeshListView-318756a8.js => MeshListView-6aa427ed.js} (93%) rename app/kuma-ui/pkg/resources/data/assets/{MeshSummaryView-573f0961.js => MeshSummaryView-3f776b25.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{MeshTabsView-43bd5d33.js => MeshTabsView-d0429d0b.js} (87%) rename app/kuma-ui/pkg/resources/data/assets/{MultiZoneView-7178af21.js => MultiZoneView-ebe84840.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{NavTabs-a833ed0a.js => NavTabs-400c7296.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingPage-495bc5e8.js => OnboardingPage-c16f9553.js} (97%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingView-1285b618.js => OnboardingView-e790903e.js} (88%) delete mode 100644 app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-6a0f3cb8.js create mode 100644 app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-fd7fc390.js rename app/kuma-ui/pkg/resources/data/assets/{PolicyListView-7994224d.js => PolicyListView-1272f69d.js} (95%) rename app/kuma-ui/pkg/resources/data/assets/{PolicySummaryView-da6bbfab.js => PolicySummaryView-eca81395.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{PolicyTypeTag-83482a4f.js => PolicyTypeTag-24805dd6.js} (99%) rename app/kuma-ui/pkg/resources/data/assets/{ResourceCodeBlock.vue_vue_type_style_index_0_lang-09052412.js => ResourceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceConfigView-ea214ecd.js => ServiceConfigView-55cde028.js} (66%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceDataPlaneProxiesView-225a00ca.js => ServiceDataPlaneProxiesView-b43d9ddf.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceDetailTabsView-f0c65692.js => ServiceDetailTabsView-b561c43a.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceDetailView-459bffe4.js => ServiceDetailView-1b9a5559.js} (70%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceInsightDetails.vue_vue_type_script_setup_true_lang-3d10c424.js => ServiceInsightDetails.vue_vue_type_script_setup_true_lang-0980654c.js} (87%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceListView-d18441e0.js => ServiceListView-a6b2392a.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceSummaryView-cfc71515.js => ServiceSummaryView-750977b6.js} (76%) rename app/kuma-ui/pkg/resources/data/assets/{ServicesView-05420678.js => ServicesView-6213cc85.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{StatsView-cfbdb5b1.js => StatsView-10a38127.js} (74%) rename app/kuma-ui/pkg/resources/data/assets/{StatsView-490bd64d.js => StatsView-917272e6.js} (74%) rename app/kuma-ui/pkg/resources/data/assets/{StatusBadge-ac5a18e6.js => StatusBadge-fcc954b7.js} (85%) rename app/kuma-ui/pkg/resources/data/assets/{SubscriptionList.vue_vue_type_script_setup_true_lang-6cd6dbdc.js => SubscriptionList.vue_vue_type_script_setup_true_lang-dec60c2e.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{SummaryView-e9848f48.js => SummaryView-7a0161c3.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{TagList-0d613d23.js => TagList-79fcd8ea.js} (88%) rename app/kuma-ui/pkg/resources/data/assets/{WelcomeView-16f5f04a.js => WelcomeView-47f7b5ef.js} (97%) rename app/kuma-ui/pkg/resources/data/assets/{XdsConfigView-63dfd0ef.js => XdsConfigView-b1004cb7.js} (74%) rename app/kuma-ui/pkg/resources/data/assets/{XdsConfigView-31415a01.js => XdsConfigView-e2d8a613.js} (74%) rename app/kuma-ui/pkg/resources/data/assets/{index-8b8b41d0.js => index-270afb1d.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{index-af109ace.js => index-28451437.js} (99%) diff --git a/app/kuma-ui/pkg/resources/data/assets/AccordionList-d10083a3.js b/app/kuma-ui/pkg/resources/data/assets/AccordionList-c73d7d77.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/AccordionList-d10083a3.js rename to app/kuma-ui/pkg/resources/data/assets/AccordionList-c73d7d77.js index 051aa3d9de66..75f256aee17e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AccordionList-d10083a3.js +++ b/app/kuma-ui/pkg/resources/data/assets/AccordionList-c73d7d77.js @@ -1 +1 @@ -import{d as v,ao as m,y as i,h as y,o as c,l,p as A,S 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-af109ace.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,S 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-28451437.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-d8057f4c.js b/app/kuma-ui/pkg/resources/data/assets/AddNewServices-fb893173.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/AddNewServices-d8057f4c.js rename to app/kuma-ui/pkg/resources/data/assets/AddNewServices-fb893173.js index 35bdb8d48c6d..0ff1e9241ad2 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AddNewServices-d8057f4c.js +++ b/app/kuma-ui/pkg/resources/data/assets/AddNewServices-fb893173.js @@ -1,4 +1,4 @@ -import{O as y,a as S,b as h}from"./OnboardingPage-495bc5e8.js";import{d as m,o as v,l as B,S as k,B as C,t as u,r,i as A,w as t,j as s,n as a,p as e,D as N,G as V}from"./index-af109ace.js";const R=""+new URL("new-service-demo-bff0792e.svg",import.meta.url).href,I=""+new URL("new-service-manually-5bec5301.svg",import.meta.url).href,$=m({__name:"ServiceBox",props:{active:{type:Boolean,required:!1,default:!1}},emits:["clicked"],setup(o,{emit:c}){const i=o,d=c;return(l,n)=>(v(),B("div",{class:C(["box",{"box--active":i.active}]),"data-testid":"box",onClick:n[0]||(n[0]=p=>d("clicked"))},[k(l.$slots,"default",{},void 0,!0)],2))}});const _=u($,[["__scopeId","data-v-506b07cb"]]),g=o=>(N("data-v-c81d235d"),o=o(),V(),o),O={class:"service-mode-list"},T=g(()=>e("div",{class:"service-box-content"},[e("img",{src:R}),a(),e("p",{class:"service-mode-title"},` +import{O as y,a as S,b as h}from"./OnboardingPage-c16f9553.js";import{d as m,o as v,l as B,S as k,B as C,t as u,r,i as A,w as t,j as s,n as a,p as e,D as N,G as V}from"./index-28451437.js";const R=""+new URL("new-service-demo-bff0792e.svg",import.meta.url).href,I=""+new URL("new-service-manually-5bec5301.svg",import.meta.url).href,$=m({__name:"ServiceBox",props:{active:{type:Boolean,required:!1,default:!1}},emits:["clicked"],setup(o,{emit:c}){const i=o,d=c;return(l,n)=>(v(),B("div",{class:C(["box",{"box--active":i.active}]),"data-testid":"box",onClick:n[0]||(n[0]=p=>d("clicked"))},[k(l.$slots,"default",{},void 0,!0)],2))}});const _=u($,[["__scopeId","data-v-506b07cb"]]),g=o=>(N("data-v-c81d235d"),o=o(),V(),o),O={class:"service-mode-list"},T=g(()=>e("div",{class:"service-box-content"},[e("img",{src:R}),a(),e("p",{class:"service-mode-title"},` Demo app `),a(),e("p",null,"Counter application")],-1)),z=g(()=>e("div",{class:"service-box-content"},[e("img",{src:I}),a(),e("p",{class:"service-mode-title"},` Manually diff --git a/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-84af77ee.js b/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-bab7ed20.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-84af77ee.js rename to app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-bab7ed20.js index 1cc72211fb1e..3438a1c2fb31 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-84af77ee.js +++ b/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-bab7ed20.js @@ -1,4 +1,4 @@ -import{L as y}from"./LoadingBox-8b1f23a6.js";import{O as A,a as N,b as R}from"./OnboardingPage-495bc5e8.js";import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import{d as T,Q as C,y as _,R 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 E}from"./index-af109ace.js";const b=d=>(L("data-v-7e9a50ed"),d=d(),O(),d),S=b(()=>o("p",{class:"mb-4 text-center"},` +import{L as y}from"./LoadingBox-e73404f1.js";import{O as A,a as N,b as R}from"./OnboardingPage-c16f9553.js";import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import{d as T,Q as C,y as _,R 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 E}from"./index-28451437.js";const b=d=>(L("data-v-7e9a50ed"),d=d(),O(),d),S=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,Q)=>{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-2f4b232b.js b/app/kuma-ui/pkg/resources/data/assets/App-c639829f.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/App-2f4b232b.js rename to app/kuma-ui/pkg/resources/data/assets/App-c639829f.js index e9b61e0f5900..104de4f621c6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/App-2f4b232b.js +++ b/app/kuma-ui/pkg/resources/data/assets/App-c639829f.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 c,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-af109ace.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()],d=M(),g=R(),{t:k}=V(),i=x(()=>d.meta.isWizard===!0);return(K,W)=>{const _=u("RouterView"),O=u("KAlert");return e(),t(C,{name:"app"},{default:s(()=>[n(P,{src:"/control-plane/addresses"},{default:s(({data:T})=>[typeof T>"u"||a(d).name===void 0?(e(),t(a(v),{key:0})):(e(),c(Y,{key:1},[i.value?r("",!0):(e(),t(a(A),{key:0})),o(),a(d).meta.onboardingProcess?(e(),c("div",q,[n(_)])):(e(),c("div",z,[i.value?r("",!0):(e(),t(a(f),{key:0})),o(),n(N,null,{default:s(()=>[a(g)("use state")?r("",!0):(e(),t(O,{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(),i.value?r("",!0):(e(),t(a(y),{key:1})),o(),n(_,null,{default:s(({Component:b})=>[n(H,{mode:"out-in",name:"fade"},{default:s(()=>[p("div",G,[(e(),t(S(b),{data:m.data},null,8,["data"]))])]),_:2},1024)]),_:1})]),_:1})]))],64))]),_:1})]),_:1})}}});const D=j(I,[["__scopeId","data-v-9097548d"]]);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 c,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-28451437.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()],d=M(),g=R(),{t:k}=V(),i=x(()=>d.meta.isWizard===!0);return(K,W)=>{const _=u("RouterView"),O=u("KAlert");return e(),t(C,{name:"app"},{default:s(()=>[n(P,{src:"/control-plane/addresses"},{default:s(({data:T})=>[typeof T>"u"||a(d).name===void 0?(e(),t(a(v),{key:0})):(e(),c(Y,{key:1},[i.value?r("",!0):(e(),t(a(A),{key:0})),o(),a(d).meta.onboardingProcess?(e(),c("div",q,[n(_)])):(e(),c("div",z,[i.value?r("",!0):(e(),t(a(f),{key:0})),o(),n(N,null,{default:s(()=>[a(g)("use state")?r("",!0):(e(),t(O,{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(),i.value?r("",!0):(e(),t(a(y),{key:1})),o(),n(_,null,{default:s(({Component:b})=>[n(H,{mode:"out-in",name:"fade"},{default:s(()=>[p("div",G,[(e(),t(S(b),{data:m.data},null,8,["data"]))])]),_:2},1024)]),_:1})]),_:1})]))],64))]),_:1})]),_:1})}}});const D=j(I,[["__scopeId","data-v-9097548d"]]);export{D as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/AppCollection-170ebacc.js b/app/kuma-ui/pkg/resources/data/assets/AppCollection-b6258a04.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/AppCollection-170ebacc.js rename to app/kuma-ui/pkg/resources/data/assets/AppCollection-b6258a04.js index 286823e51653..a22f7e3d251d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AppCollection-170ebacc.js +++ b/app/kuma-ui/pkg/resources/data/assets/AppCollection-b6258a04.js @@ -1 +1 @@ -import{d as z,g as I,o as u,l as A,j as g,k as o,K as D,ag as B,n as c,p as K,S as v,H as p,t as L,V,y as r,h as q,ah as w,i as h,a5 as N,w as l,W as E,Z as P,I as W,ae as F,ab as H}from"./index-af109ace.js";import{_ as U}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const Z=["href"],G=z({__name:"DocumentationLink",props:{href:{}},setup(_){const{t:m}=I(),f=_;return(e,S)=>(u(),A("a",{class:"docs-link",href:f.href,target:"_blank"},[g(o(B),{size:o(D),title:o(m)("common.documentation")},null,8,["size","title"]),c(),K("span",null,[v(e.$slots,"default",{},()=>[c(p(o(m)("common.documentation")),1)],!0)])],8,Z))}});const J=L(G,[["__scopeId","data-v-1e7645ce"]]),Q={key:0,class:"app-collection-toolbar"},x=5,X=z({__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(_,{emit:m}){const{t:f}=I(),e=_,S=m,M=V(),k=r(e.items),C=r(0),b=r(0),y=r(e.pageNumber),T=r(e.pageSize),O=q(()=>{const t=e.headers.filter(a=>["details","warnings","actions"].includes(a.key));if(t.length>4)return"initial";const s=100-t.length*x,n=e.headers.length-t.length;return`calc(${s}% / ${n})`});w(()=>e.items,(t,s)=>{t!==s&&(C.value++,k.value=e.items)}),w(()=>e.pageNumber,function(){e.pageNumber!==y.value&&b.value++});function R(t){if(!t)return{};const s={};return e.isSelectedRow!==null&&e.isSelectedRow(t)&&(s.class="is-selected"),s}const j=t=>{const s=t.target.closest("tr");if(s){const n=s.querySelector("a");n!==null&&n.click()}};return(t,s)=>{var n;return u(),h(o(H),{key:b.value,class:"app-collection",style:F(`--column-width: ${O.value}; --special-column-width: ${x}%;`),"has-error":typeof e.error<"u","pagination-total-items":e.total,"initial-fetcher-params":{page:e.pageNumber,pageSize:e.pageSize},headers:e.headers,"fetcher-cache-key":String(C.value),fetcher:({page:a,pageSize:i,query:$})=>{const d={};return y.value!==a&&(d.page=a),T.value!==i&&(d.size=i),y.value=a,T.value=i,Object.keys(d).length>0&&S("change",d),{data:k.value}},"cell-attrs":({headerKey:a})=>({class:`${a}-column`}),"row-attrs":R,"disable-sorting":"","hide-pagination-when-optional":"","onRow:click":j},N({_:2},[((n=e.items)==null?void 0:n.length)===0?{name:"empty-state",fn:l(()=>[g(U,null,N({default:l(()=>[c(p(e.emptyStateTitle??o(f)("common.emptyState.title"))+" ",1),c()]),_:2},[e.emptyStateMessage?{name:"message",fn:l(()=>[c(p(e.emptyStateMessage),1)]),key:"0"}:void 0,e.emptyStateCtaTo?{name:"cta",fn:l(()=>[typeof e.emptyStateCtaTo=="string"?(u(),h(J,{key:0,href:e.emptyStateCtaTo},{default:l(()=>[c(p(e.emptyStateCtaText),1)]),_:1},8,["href"])):(u(),h(o(E),{key:1,appearance:"primary",to:e.emptyStateCtaTo},{default:l(()=>[g(o(P),{size:o(D)},null,8,["size"]),c(" "+p(e.emptyStateCtaText),1)]),_:1},8,["to"]))]),key:"1"}:void 0]),1024)]),key:"0"}:void 0,W(Object.keys(o(M)),a=>({name:a,fn:l(({row:i,rowValue:$})=>[a==="toolbar"?(u(),A("div",Q,[v(t.$slots,"toolbar",{},void 0,!0)])):v(t.$slots,a,{key:1,row:i,rowValue:$},void 0,!0)])}))]),1032,["style","has-error","pagination-total-items","initial-fetcher-params","headers","fetcher-cache-key","fetcher","cell-attrs"])}}});const te=L(X,[["__scopeId","data-v-1dad27d2"]]);export{te as A,J as D}; +import{d as z,g as I,o as u,l as A,j as g,k as o,K as D,ag as B,n as c,p as K,S as v,H as p,t as L,V,y as r,h as q,ah as w,i as h,a5 as N,w as l,W as E,Z as P,I as W,ae as F,ab as H}from"./index-28451437.js";import{_ as U}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const Z=["href"],G=z({__name:"DocumentationLink",props:{href:{}},setup(_){const{t:m}=I(),f=_;return(e,S)=>(u(),A("a",{class:"docs-link",href:f.href,target:"_blank"},[g(o(B),{size:o(D),title:o(m)("common.documentation")},null,8,["size","title"]),c(),K("span",null,[v(e.$slots,"default",{},()=>[c(p(o(m)("common.documentation")),1)],!0)])],8,Z))}});const J=L(G,[["__scopeId","data-v-1e7645ce"]]),Q={key:0,class:"app-collection-toolbar"},x=5,X=z({__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(_,{emit:m}){const{t:f}=I(),e=_,S=m,M=V(),k=r(e.items),C=r(0),b=r(0),y=r(e.pageNumber),T=r(e.pageSize),O=q(()=>{const t=e.headers.filter(a=>["details","warnings","actions"].includes(a.key));if(t.length>4)return"initial";const s=100-t.length*x,n=e.headers.length-t.length;return`calc(${s}% / ${n})`});w(()=>e.items,(t,s)=>{t!==s&&(C.value++,k.value=e.items)}),w(()=>e.pageNumber,function(){e.pageNumber!==y.value&&b.value++});function R(t){if(!t)return{};const s={};return e.isSelectedRow!==null&&e.isSelectedRow(t)&&(s.class="is-selected"),s}const j=t=>{const s=t.target.closest("tr");if(s){const n=s.querySelector("a");n!==null&&n.click()}};return(t,s)=>{var n;return u(),h(o(H),{key:b.value,class:"app-collection",style:F(`--column-width: ${O.value}; --special-column-width: ${x}%;`),"has-error":typeof e.error<"u","pagination-total-items":e.total,"initial-fetcher-params":{page:e.pageNumber,pageSize:e.pageSize},headers:e.headers,"fetcher-cache-key":String(C.value),fetcher:({page:a,pageSize:i,query:$})=>{const d={};return y.value!==a&&(d.page=a),T.value!==i&&(d.size=i),y.value=a,T.value=i,Object.keys(d).length>0&&S("change",d),{data:k.value}},"cell-attrs":({headerKey:a})=>({class:`${a}-column`}),"row-attrs":R,"disable-sorting":"","hide-pagination-when-optional":"","onRow:click":j},N({_:2},[((n=e.items)==null?void 0:n.length)===0?{name:"empty-state",fn:l(()=>[g(U,null,N({default:l(()=>[c(p(e.emptyStateTitle??o(f)("common.emptyState.title"))+" ",1),c()]),_:2},[e.emptyStateMessage?{name:"message",fn:l(()=>[c(p(e.emptyStateMessage),1)]),key:"0"}:void 0,e.emptyStateCtaTo?{name:"cta",fn:l(()=>[typeof e.emptyStateCtaTo=="string"?(u(),h(J,{key:0,href:e.emptyStateCtaTo},{default:l(()=>[c(p(e.emptyStateCtaText),1)]),_:1},8,["href"])):(u(),h(o(E),{key:1,appearance:"primary",to:e.emptyStateCtaTo},{default:l(()=>[g(o(P),{size:o(D)},null,8,["size"]),c(" "+p(e.emptyStateCtaText),1)]),_:1},8,["to"]))]),key:"1"}:void 0]),1024)]),key:"0"}:void 0,W(Object.keys(o(M)),a=>({name:a,fn:l(({row:i,rowValue:$})=>[a==="toolbar"?(u(),A("div",Q,[v(t.$slots,"toolbar",{},void 0,!0)])):v(t.$slots,a,{key:1,row:i,rowValue:$},void 0,!0)])}))]),1032,["style","has-error","pagination-total-items","initial-fetcher-params","headers","fetcher-cache-key","fetcher","cell-attrs"])}}});const te=L(X,[["__scopeId","data-v-1dad27d2"]]);export{te as A,J as D}; diff --git a/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-0aaeff51.js b/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-00667194.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-0aaeff51.js rename to app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-00667194.js index 32676f7b7489..1c476d172da9 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-0aaeff51.js +++ b/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-00667194.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-af109ace.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-28451437.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-06b7d8aa.js b/app/kuma-ui/pkg/resources/data/assets/ClustersView-7fbf462d.js similarity index 74% rename from app/kuma-ui/pkg/resources/data/assets/ClustersView-06b7d8aa.js rename to app/kuma-ui/pkg/resources/data/assets/ClustersView-7fbf462d.js index 03a9c4b037b5..7eca91e1d224 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ClustersView-06b7d8aa.js +++ b/app/kuma-ui/pkg/resources/data/assets/ClustersView-7fbf462d.js @@ -1 +1 @@ -import{E as p}from"./EnvoyData-1ceb485e.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-af109ace.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const x=_({__name:"ClustersView",props:{data:{}},setup(o){const r=o;return(V,h)=>{const n=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:i,t:l})=>[s(u,null,{title:t(()=>[f("h2",null,[s(n,{title:l("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)(r.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${i.params.zoneEgress}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{x as default}; +import{E as p}from"./EnvoyData-f0df1bb7.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-28451437.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const x=_({__name:"ClustersView",props:{data:{}},setup(o){const r=o;return(V,h)=>{const n=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:i,t:l})=>[s(u,null,{title:t(()=>[f("h2",null,[s(n,{title:l("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)(r.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${i.params.zoneEgress}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ClustersView-1535b56f.js b/app/kuma-ui/pkg/resources/data/assets/ClustersView-fca936af.js similarity index 74% rename from app/kuma-ui/pkg/resources/data/assets/ClustersView-1535b56f.js rename to app/kuma-ui/pkg/resources/data/assets/ClustersView-fca936af.js index c22475b48b0d..c60d6e3aba74 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ClustersView-1535b56f.js +++ b/app/kuma-ui/pkg/resources/data/assets/ClustersView-fca936af.js @@ -1 +1 @@ -import{E as p}from"./EnvoyData-1ceb485e.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-af109ace.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const x=_({__name:"ClustersView",props:{data:{}},setup(o){const n=o;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)(n.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{x as default}; +import{E as p}from"./EnvoyData-f0df1bb7.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-28451437.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const x=_({__name:"ClustersView",props:{data:{}},setup(o){const n=o;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)(n.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{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js b/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js rename to app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js index 5789f085b47f..b45db388cd7d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js +++ b/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.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{ac as W,ad as re,d as ie,y as se,o as oe,i as le,w as ue,S as ce,ae as de,k as Z,af as ge}from"./index-af109ace.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{ac as W,ad as re,d as ie,y as se,o as oe,i as le,w as ue,S as ce,ae as de,k as Z,af as ge}from"./index-28451437.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 <https://opensource.org/licenses/MIT> diff --git a/app/kuma-ui/pkg/resources/data/assets/CompletedView-48f9d41f.js b/app/kuma-ui/pkg/resources/data/assets/CompletedView-11588c9f.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/CompletedView-48f9d41f.js rename to app/kuma-ui/pkg/resources/data/assets/CompletedView-11588c9f.js index 2f9ca7636127..e4f38f78a6cb 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CompletedView-48f9d41f.js +++ b/app/kuma-ui/pkg/resources/data/assets/CompletedView-11588c9f.js @@ -1,3 +1,3 @@ -import{O as d,a as l,b as r}from"./OnboardingPage-495bc5e8.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-af109ace.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-c16f9553.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-28451437.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-43a1f033.js b/app/kuma-ui/pkg/resources/data/assets/ConfigView-be8b975d.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/ConfigView-43a1f033.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigView-be8b975d.js index 56835e33129f..7f1e3b0f46d6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigView-43a1f033.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigView-be8b975d.js @@ -1 +1 @@ -import{_ as V}from"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import{d as C,r as o,o as n,i as p,w as t,j as d,a5 as v,p as m,n as c,l,F as _,I as g,H as N}from"./index-af109ace.js";const S=["data-testid","innerHTML"],A=C({__name:"ConfigView",props:{data:{},notifications:{default:()=>[]}},setup(k){const r=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,null,{body:t(()=>[(n(!0),l(_,null,g([y(r.data)],(e,z)=>(n(),l(_,{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},[r.notifications.length>0?{name:"notifications",fn:t(()=>[m("ul",null,[(n(!0),l(_,null,g(r.notifications,e=>(n(),l("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-dcecbb9e.js";import{d as C,r as o,o as n,i as p,w as t,j as d,a5 as v,p as m,n as c,l,F as _,I as g,H as N}from"./index-28451437.js";const S=["data-testid","innerHTML"],A=C({__name:"ConfigView",props:{data:{},notifications:{default:()=>[]}},setup(k){const r=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,null,{body:t(()=>[(n(!0),l(_,null,g([y(r.data)],(e,z)=>(n(),l(_,{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},[r.notifications.length>0?{name:"notifications",fn:t(()=>[m("ul",null,[(n(!0),l(_,null,g(r.notifications,e=>(n(),l("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-7b43c5c8.js b/app/kuma-ui/pkg/resources/data/assets/ConfigView-cb5adad3.js similarity index 78% rename from app/kuma-ui/pkg/resources/data/assets/ConfigView-7b43c5c8.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigView-cb5adad3.js index 30dab98262e0..2bdc26c3a2ad 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigView-7b43c5c8.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigView-cb5adad3.js @@ -1 +1 @@ -import{d as g,Q 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-af109ace.js";import{_ as C}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-09052412.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./toYaml-4e00099e.js";const K=g({__name:"ConfigView",setup(E){const i=k();return(x,y)=>{const u=e("RouteTitle"),l=e("DataSource"),_=e("KCard"),p=e("AppView"),m=e("RouteView");return s(),n(m,{name:"zone-egress-config-view",params:{zoneEgress:""}},{default:o(({route:t,t:d})=>[r(p,null,{title:o(()=>[w("h2",null,[r(u,{title:d("zone-egresses.routes.item.navigation.zone-egress-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[z(),r(_,null,{body:o(()=>[r(l,{src:`/zone-egresses/${t.params.zoneEgress}`},{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-egress",resource:a,"resource-fetcher":f=>v(i).getZoneEgress({name:t.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,Q 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-28451437.js";import{_ as C}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./toYaml-4e00099e.js";const K=g({__name:"ConfigView",setup(E){const i=k();return(x,y)=>{const u=e("RouteTitle"),l=e("DataSource"),_=e("KCard"),p=e("AppView"),m=e("RouteView");return s(),n(m,{name:"zone-egress-config-view",params:{zoneEgress:""}},{default:o(({route:t,t:d})=>[r(p,null,{title:o(()=>[w("h2",null,[r(u,{title:d("zone-egresses.routes.item.navigation.zone-egress-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[z(),r(_,null,{body:o(()=>[r(l,{src:`/zone-egresses/${t.params.zoneEgress}`},{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-egress",resource:a,"resource-fetcher":f=>v(i).getZoneEgress({name:t.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-49200da3.js b/app/kuma-ui/pkg/resources/data/assets/ConfigView-ff377df9.js similarity index 78% rename from app/kuma-ui/pkg/resources/data/assets/ConfigView-49200da3.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigView-ff377df9.js index b35fa908c5e4..602804d230e7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigView-49200da3.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigView-ff377df9.js @@ -1 +1 @@ -import{d as g,Q as k,r as e,o as n,i as s,w as o,j as r,p as w,n as z,E as V,x as h,k as v}from"./index-af109ace.js";import{_ as C}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-09052412.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./toYaml-4e00099e.js";const K=g({__name:"ConfigView",setup(x){const i=k();return(y,A)=>{const u=e("RouteTitle"),l=e("DataSource"),_=e("KCard"),p=e("AppView"),m=e("RouteView");return n(),s(m,{name:"zone-ingress-config-view",params:{zoneIngress:""}},{default:o(({route:t,t:d})=>[r(p,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(_,null,{body:o(()=>[r(l,{src:`/zone-ingresses/${t.params.zoneIngress}`},{default:o(({data:a,error:c})=>[c!==void 0?(n(),s(V,{key:0,error:c},null,8,["error"])):a===void 0?(n(),s(h,{key:1})):(n(),s(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,Q as k,r as e,o as n,i as s,w as o,j as r,p as w,n as z,E as V,x as h,k as v}from"./index-28451437.js";import{_ as C}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./toYaml-4e00099e.js";const K=g({__name:"ConfigView",setup(x){const i=k();return(y,A)=>{const u=e("RouteTitle"),l=e("DataSource"),_=e("KCard"),p=e("AppView"),m=e("RouteView");return n(),s(m,{name:"zone-ingress-config-view",params:{zoneIngress:""}},{default:o(({route:t,t:d})=>[r(p,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(_,null,{body:o(()=>[r(l,{src:`/zone-ingresses/${t.params.zoneIngress}`},{default:o(({data:a,error:c})=>[c!==void 0?(n(),s(V,{key:0,error:c},null,8,["error"])):a===void 0?(n(),s(h,{key:1})):(n(),s(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-24741a4e.js b/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-9e51d545.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-24741a4e.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-9e51d545.js index 5236ced06dff..6a4c94f42c91 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-24741a4e.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-9e51d545.js @@ -1,4 +1,4 @@ -import{O as h,a as x,b as C}from"./OnboardingPage-495bc5e8.js";import{d as G,M as T,N as w,O as P,P as R,y as K,h as M,r,o as u,i as d,w as e,j as o,n as t,p,q as O,t as N}from"./index-af109ace.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=M(()=>_[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-c16f9553.js";import{d as G,M as T,N as w,O as P,P as R,y as K,h as M,r,o as u,i as d,w as e,j as o,n as t,p,q as O,t as N}from"./index-28451437.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=M(()=>_[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(O(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-6198c6ba.js b/app/kuma-ui/pkg/resources/data/assets/CreateMesh-f295e9c6.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/CreateMesh-6198c6ba.js rename to app/kuma-ui/pkg/resources/data/assets/CreateMesh-f295e9c6.js index ba52f0aa1643..10eff3cb0686 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CreateMesh-6198c6ba.js +++ b/app/kuma-ui/pkg/resources/data/assets/CreateMesh-f295e9c6.js @@ -1,4 +1,4 @@ -import{O as h,a as b,b as g}from"./OnboardingPage-495bc5e8.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-af109ace.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-c16f9553.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-28451437.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-fa3f3220.js b/app/kuma-ui/pkg/resources/data/assets/CreateView-dedd6312.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/CreateView-fa3f3220.js rename to app/kuma-ui/pkg/resources/data/assets/CreateView-dedd6312.js index 163464c545b9..275fcc1779f6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CreateView-fa3f3220.js +++ b/app/kuma-ui/pkg/resources/data/assets/CreateView-dedd6312.js @@ -1,4 +1,4 @@ -import{d as D,y as f,z as de,U as me,r as z,o as r,l as d,p as o,j as l,w as a,i as k,k as e,aC as G,aD as H,aE as pe,aF as _e,aG as fe,aH as j,n,S as V,g as x,e as Q,h as w,H as s,Q as ve,a2 as be,aI as U,F as L,m as C,I as ze,X as he,K as X,Z as ge,t as ke}from"./index-af109ace.js";import{_ as $}from"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import{g as ye}from"./dataplane-0a086c06.js";const Ee=["data-test-state"],Ce={class:"scanner-content"},$e={class:"mr-1"},Ie=D({__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(y,{emit:t}){const v=y,_=t,I=f(0),h=f(!1),c=f(!1),E=f(null);de(function(){S()}),me(function(){m()});function S(){h.value=!0,c.value=!1,m(),E.value=window.setInterval(async()=>{I.value++,await v.loaderFunction(),(I.value===v.retries||v.canComplete===!0)&&(m(),h.value=!1,c.value=!0,_("hide-siblings",!0))},v.interval)}function m(){E.value!==null&&window.clearInterval(E.value)}return(g,N)=>{const T=z("KEmptyState");return r(),d("div",{class:"scanner","data-test-state":h.value?"waiting":y.hasError?"error":"success"},[o("div",Ce,[l(T,{"cta-is-hidden":""},{title:a(()=>[o("span",$e,[h.value?(r(),k(e(G),{key:0,color:e(H)},null,8,["color"])):y.hasError?(r(),k(e(pe),{key:1,color:e(_e)},null,8,["color"])):(r(),k(e(fe),{key:2,color:e(j)},null,8,["color"]))]),n(),h.value?V(g.$slots,"loading-title",{key:0}):y.hasError?V(g.$slots,"error-title",{key:1}):V(g.$slots,"complete-title",{key:2})]),message:a(()=>[h.value?V(g.$slots,"loading-content",{key:0}):y.hasError?V(g.$slots,"error-content",{key:1}):V(g.$slots,"complete-content",{key:2})]),_:3})])],8,Ee)}}}),we={class:"form-step-title"},Ke=o("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=o("span",{class:"form-step-number"},"2",-1),Ze=o("p",null,"On your local machine, create a namespace in your Kubernetes cluster and pull down the kong Helm repo.",-1),qe={class:"instruction-list"},Le={class:"form-step-title"},De=o("span",{class:"form-step-number"},"3",-1),Ae={class:"form-step-title"},Be=o("span",{class:"form-step-number"},"4",-1),Re={class:"field-group-label mt-4"},Ue={class:"mt-4"},xe=D({__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(y){const t=x(),v=Q(),_=y,I=w(()=>t.t("zones.form.kubernetes.secret.createSecretCommand",{token:_.base64EncodedToken}).trim()),h=w(()=>{const c={zoneName:_.zoneName,globalKdsAddress:_.globalKdsAddress,zoneIngressEnabled:String(_.zoneIngressEnabled),zoneEgressEnabled:String(_.zoneEgressEnabled)};return typeof v.params.virtualControlPlaneId=="string"&&(c.controlPlaneId=v.params.virtualControlPlaneId),t.t("zones.form.kubernetes.connectZone.config",c).trim()});return(c,E)=>(r(),d("div",null,[o("h3",we,[Ke,n(" "+s(e(t).t("zones.form.kubernetes.prerequisites.title")),1)]),n(),o("ul",Ve,[o("li",null,[o("b",null,s(e(t).t("zones.form.kubernetes.prerequisites.step1Label"))+s(_.zoneIngressEnabled?" "+e(t).t("zones.form.kubernetes.prerequisites.step1LabelAddendum"):""),1),n(`: +import{d as D,y as f,z as de,U as me,r as z,o as r,l as d,p as o,j as l,w as a,i as k,k as e,aC as G,aD as H,aE as pe,aF as _e,aG as fe,aH as j,n,S as V,g as x,e as Q,h as w,H as s,Q as ve,a2 as be,aI as U,F as L,m as C,I as ze,X as he,K as X,Z as ge,t as ke}from"./index-28451437.js";import{_ as $}from"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import{g as ye}from"./dataplane-0a086c06.js";const Ee=["data-test-state"],Ce={class:"scanner-content"},$e={class:"mr-1"},Ie=D({__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(y,{emit:t}){const v=y,_=t,I=f(0),h=f(!1),c=f(!1),E=f(null);de(function(){S()}),me(function(){m()});function S(){h.value=!0,c.value=!1,m(),E.value=window.setInterval(async()=>{I.value++,await v.loaderFunction(),(I.value===v.retries||v.canComplete===!0)&&(m(),h.value=!1,c.value=!0,_("hide-siblings",!0))},v.interval)}function m(){E.value!==null&&window.clearInterval(E.value)}return(g,N)=>{const T=z("KEmptyState");return r(),d("div",{class:"scanner","data-test-state":h.value?"waiting":y.hasError?"error":"success"},[o("div",Ce,[l(T,{"cta-is-hidden":""},{title:a(()=>[o("span",$e,[h.value?(r(),k(e(G),{key:0,color:e(H)},null,8,["color"])):y.hasError?(r(),k(e(pe),{key:1,color:e(_e)},null,8,["color"])):(r(),k(e(fe),{key:2,color:e(j)},null,8,["color"]))]),n(),h.value?V(g.$slots,"loading-title",{key:0}):y.hasError?V(g.$slots,"error-title",{key:1}):V(g.$slots,"complete-title",{key:2})]),message:a(()=>[h.value?V(g.$slots,"loading-content",{key:0}):y.hasError?V(g.$slots,"error-content",{key:1}):V(g.$slots,"complete-content",{key:2})]),_:3})])],8,Ee)}}}),we={class:"form-step-title"},Ke=o("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=o("span",{class:"form-step-number"},"2",-1),Ze=o("p",null,"On your local machine, create a namespace in your Kubernetes cluster and pull down the kong Helm repo.",-1),qe={class:"instruction-list"},Le={class:"form-step-title"},De=o("span",{class:"form-step-number"},"3",-1),Ae={class:"form-step-title"},Be=o("span",{class:"form-step-number"},"4",-1),Re={class:"field-group-label mt-4"},Ue={class:"mt-4"},xe=D({__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(y){const t=x(),v=Q(),_=y,I=w(()=>t.t("zones.form.kubernetes.secret.createSecretCommand",{token:_.base64EncodedToken}).trim()),h=w(()=>{const c={zoneName:_.zoneName,globalKdsAddress:_.globalKdsAddress,zoneIngressEnabled:String(_.zoneIngressEnabled),zoneEgressEnabled:String(_.zoneEgressEnabled)};return typeof v.params.virtualControlPlaneId=="string"&&(c.controlPlaneId=v.params.virtualControlPlaneId),t.t("zones.form.kubernetes.connectZone.config",c).trim()});return(c,E)=>(r(),d("div",null,[o("h3",we,[Ke,n(" "+s(e(t).t("zones.form.kubernetes.prerequisites.title")),1)]),n(),o("ul",Ve,[o("li",null,[o("b",null,s(e(t).t("zones.form.kubernetes.prerequisites.step1Label"))+s(_.zoneIngressEnabled?" "+e(t).t("zones.form.kubernetes.prerequisites.step1LabelAddendum"):""),1),n(`: `+s(e(t).t("zones.form.kubernetes.prerequisites.step1Description",{productName:e(t).t("common.product.name")})),1)]),n(),o("li",null,[o("b",null,s(e(t).t("zones.form.kubernetes.prerequisites.step2Label")),1),n(`: `+s(e(t).t("zones.form.kubernetes.prerequisites.step2Description")),1)]),n(),o("li",null,[o("a",Se,s(e(t).t("zones.form.kubernetes.prerequisites.step3LinkTitle")),1),n(" "+s(e(t).t("zones.form.kubernetes.prerequisites.step3Tail")),1)])]),n(),o("h3",Ne,[Te,n(" "+s(e(t).t("zones.form.kubernetes.helm.title")),1)]),n(),Ze,n(),o("ol",qe,[o("li",null,[o("b",null,s(e(t).t("zones.form.kubernetes.helm.step1Description")),1),n(),l($,{id:"zone-kubernetes-create-namespace",class:"mt-2",code:e(t).t("zones.form.kubernetes.helm.step1Command"),language:"bash"},null,8,["code"])]),n(),o("li",null,[o("b",null,s(e(t).t("zones.form.kubernetes.helm.step2Description")),1),n(),l($,{id:"zone-kubernetes-add-charts-repo",class:"mt-2",code:e(t).t("zones.form.kubernetes.helm.step2Command"),language:"bash"},null,8,["code"])]),n(),o("li",null,[o("b",null,s(e(t).t("zones.form.kubernetes.helm.step3Description")),1),n(),l($,{id:"zone-kubernetes-repo-update",class:"mt-2",code:e(t).t("zones.form.kubernetes.helm.step3Command"),language:"bash"},null,8,["code"])])]),n(),o("h3",Le,[De,n(" "+s(e(t).t("zones.form.kubernetes.secret.title")),1)]),n(),o("p",null,s(e(t).t("zones.form.kubernetes.secret.createSecretDescription")),1),n(),l($,{id:"zone-kubernetes-create-secret",class:"mt-4",code:I.value,language:"bash"},null,8,["code"]),n(),o("h3",Ae,[Be,n(" "+s(e(t).t("zones.form.kubernetes.connectZone.title")),1)]),n(),o("p",null,s(e(t).t("zones.form.kubernetes.connectZone.configDescription")),1),n(),o("span",Re,s(e(t).t("zones.form.kubernetes.connectZone.configFileName")),1),n(),l($,{id:"zone-kubernetes-config-code-block","data-testid":"zone-kubernetes-config",code:h.value,language:"yaml"},null,8,["code"]),n(),o("p",Ue,s(e(t).t("zones.form.kubernetes.connectZone.connectDescription")),1),n(),l($,{id:"zone-kubernetes-command-code-block",class:"mt-4",code:e(t).t("zones.form.kubernetes.connectZone.connectCommand").trim(),language:"bash"},null,8,["code"])]))}}),Fe={class:"form-step-title"},Oe=o("span",{class:"form-step-number"},"1",-1),Pe={class:"form-step-title"},Me=o("span",{class:"form-step-number"},"2",-1),Xe={class:"field-group-label mt-4"},Ge={class:"mt-4"},He=D({__name:"ZoneCreateUniversalInstructions",props:{zoneName:{type:String,required:!0},globalKdsAddress:{type:String,required:!0},token:{type:String,required:!0}},setup(y){const t=x(),v=Q(),_=y,I=w(()=>t.t("zones.form.universal.saveToken.saveTokenCommand",{token:_.token}).trim()),h=w(()=>{const c={zoneName:_.zoneName,globalKdsAddress:_.globalKdsAddress};return typeof v.params.virtualControlPlaneId=="string"&&(c.controlPlaneId=v.params.virtualControlPlaneId),t.t("zones.form.universal.connectZone.config",c).trim()});return(c,E)=>(r(),d("div",null,[o("h3",Fe,[Oe,n(" "+s(e(t).t("zones.form.universal.saveToken.title")),1)]),n(),o("p",null,s(e(t).t("zones.form.universal.saveToken.saveTokenDescription")),1),n(),l($,{id:"zone-kubernetes-token",class:"mt-4",code:I.value,language:"bash"},null,8,["code"]),n(),o("h3",Pe,[Me,n(" "+s(e(t).t("zones.form.universal.connectZone.title")),1)]),n(),o("p",null,s(e(t).t("zones.form.universal.connectZone.configDescription")),1),n(),o("span",Xe,s(e(t).t("zones.form.universal.connectZone.configFileName")),1),n(),l($,{id:"zone-universal-config-code-block","data-testid":"zone-universal-config",class:"mt-4",code:h.value,language:"yaml"},null,8,["code"]),n(),o("p",Ge,s(e(t).t("zones.form.universal.connectZone.connectDescription")),1),n(),l($,{id:"zone-universal-connect-command-code-block",class:"mt-4",code:e(t).t("zones.form.universal.connectZone.connectCommand").trim(),language:"bash"},null,8,["code"])]))}}),je={class:"form-wrapper"},Qe={key:1},We={key:2},Je={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"},wn={class:"form-section__header"},Kn={class:"form-section-title"},Vn={key:0},Sn={class:"form-section__content"},Nn={class:"form-section"},Tn={class:"form-section__header"},Zn={class:"form-section-title"},qn={key:0},Ln={class:"form-section__content"},Dn={class:"mt-2"},An=D({__name:"CreateView",setup(y){const{t,tm:v}=x(),_=ve(),I=be(),h=/^(?![-0-9])[a-z0-9-]{1,63}$/,c=f(null),E=f(!1),S=f(!1),m=f(null),g=f(null),N=f(!1),T=f(null),b=f(""),K=f("kubernetes"),A=f(!0),B=f(!0),Z=w(()=>c.value!==null&&c.value.token?c.value.token:""),W=w(()=>Z.value!==""?window.btoa(Z.value):""),J=w(()=>b.value===""||E.value||c.value!==null),R=w(()=>{if(g.value!==null)return g.value;if(m.value instanceof U){const p=m.value.invalidParameters.find(i=>i.field==="name");if(p!==void 0)return p.reason}return null});async function Y(){E.value=!0,m.value=null;try{if(!F(b.value))return;c.value=await _.createZone({name:b.value})}catch(p){p instanceof Error?m.value=p:console.error(p)}finally{E.value=!1}}function F(p){const i=h.test(p);return i?g.value=null:g.value=t("zones.create.invalidNameError"),i}async function ee(){N.value=!1,T.value=null;try{const p=await _.getZoneOverview({name:b.value}),i=ye(p.zoneInsight);N.value=i==="online"}catch(p){p instanceof Error?T.value=p:console.error(p)}}function O(){S.value=!S.value}return(p,i)=>{const ne=z("RouteTitle"),q=z("KButton"),te=z("KAlert"),oe=z("KLabel"),se=z("KInput"),P=z("KRadio"),M=z("KInputSwitch"),ae=z("DataSource"),re=z("KCard"),le=z("KModal"),ie=z("AppView"),ce=z("RouteView");return r(),k(ce,{name:"zone-create-view",attrs:{class:"is-fullscreen"}},{default:a(()=>[l(ie,{fullscreen:!0,breadcrumbs:[]},{title:a(()=>[o("h1",null,[l(ne,{title:e(t)("zones.routes.create.title"),render:!0},null,8,["title"])])]),actions:a(()=>[Z.value===""||N.value?(r(),k(q,{key:0,appearance:"outline","data-testid":"exit-button",to:{name:"zone-cp-list-view"}},{default:a(()=>[n(s(e(t)("zones.form.exit")),1)]),_:1})):(r(),k(q,{key:1,appearance:"outline","data-testid":"exit-button",onClick:O},{default:a(()=>[n(s(e(t)("zones.form.exit")),1)]),_:1}))]),default:a(()=>[n(),n(),o("div",je,[m.value!==null?(r(),k(te,{key:0,appearance:"danger",class:"mb-4","dismiss-type":"icon","data-testid":"create-zone-error"},{alertMessage:a(()=>[m.value instanceof e(U)&&[409,500].includes(m.value.status)?(r(),d(L,{key:0},[o("p",null,s(e(t)(`zones.create.status_error.${m.value.status}.title`,{name:b.value})),1),n(),o("p",null,s(e(t)(`zones.create.status_error.${m.value.status}.description`)),1)],64)):m.value instanceof e(U)?(r(),d("p",Qe,s(e(t)("common.error_state.api_error",{status:m.value.status,title:m.value.detail})),1)):(r(),d("p",We,s(e(t)("common.error_state.default_error")),1))]),_:1})):C("",!0),n(),l(re,{class:"form-card"},{body:a(()=>[o("div",Je,[o("div",Ye,[o("div",null,[o("h1",en,[o("span",nn,s(e(t)("zones.form.title")),1)]),n(),e(t)("zones.form.description")!==" "?(r(),d("p",tn,s(e(t)("zones.form.description")),1)):C("",!0)]),n(),e(v)("zones.form.facts").length>0?(r(),d("div",on,[o("ul",sn,[(r(!0),d(L,null,ze(e(v)("zones.form.facts"),(u,ue)=>(r(),d("li",{key:ue,class:"fact-list__item"},[l(e(he),{color:e(j)},null,8,["color"]),n(" "+s(u),1)]))),128))])])):C("",!0)]),n(),o("div",an,[o("div",rn,[o("h2",ln,s(e(t)("zones.form.section.name.title")),1),n(),e(t)("zones.form.section.name.description")!==" "?(r(),d("p",cn,s(e(t)("zones.form.section.name.description")),1)):C("",!0)]),n(),o("div",un,[o("div",null,[l(oe,{for:"zone-name",required:"","tooltip-attributes":{placement:"right"}},{tooltip:a(()=>[n(s(e(t)("zones.form.name_tooltip")),1)]),default:a(()=>[n(s(e(t)("zones.form.nameLabel"))+" ",1)]),_:1}),n(),l(se,{id:"zone-name",modelValue:b.value,"onUpdate:modelValue":i[0]||(i[0]=u=>b.value=u),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:c.value!==null,onBlur:i[1]||(i[1]=u=>F(b.value))},null,8,["modelValue","data-test-error-type","has-error","error-message","disabled"])]),n(),l(q,{appearance:"primary",class:"mt-4",disabled:J.value,"data-testid":"create-zone-button",onClick:Y},{default:a(()=>[E.value?(r(),k(e(G),{key:0,color:e(H),size:e(X)},null,8,["color","size"])):(r(),k(e(ge),{key:1,size:e(X)},null,8,["size"])),n(" "+s(e(t)("zones.form.createZoneButtonLabel")),1)]),_:1},8,["disabled"])])]),n(),c.value!==null?(r(),d(L,{key:0},[o("div",dn,[o("div",mn,[o("h2",pn,s(e(t)("zones.form.section.configuration.title")),1),n(),e(t)("zones.form.section.configuration.description")!==" "?(r(),d("p",_n,s(e(t)("zones.form.section.configuration.description")),1)):C("",!0)]),n(),o("div",fn,[o("div",vn,[o("div",bn,[o("span",zn,s(e(t)("zones.form.environmentLabel"))+` * `,1),n(),o("div",hn,[l(P,{id:"zone-environment-universal",modelValue:K.value,"onUpdate:modelValue":i[2]||(i[2]=u=>K.value=u),"selected-value":"universal",name:"zone-environment","data-testid":"environment-universal-radio-button"},{default:a(()=>[n(s(e(t)("zones.form.universalLabel")),1)]),_:1},8,["modelValue"]),n(),l(P,{id:"zone-environment-kubernetes",modelValue:K.value,"onUpdate:modelValue":i[3]||(i[3]=u=>K.value=u),"selected-value":"kubernetes",name:"zone-environment","data-testid":"environment-kubernetes-radio-button"},{default:a(()=>[n(s(e(t)("zones.form.kubernetesLabel")),1)]),_:1},8,["modelValue"])])]),n(),K.value==="kubernetes"?(r(),d(L,{key:0},[o("div",gn,[o("span",kn,s(e(t)("zones.form.zoneIngressLabel"))+` * diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-f5a7e299.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-155208c3.js similarity index 76% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-f5a7e299.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-155208c3.js index 99a0a9f7f0e1..72d83d36e126 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-f5a7e299.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-155208c3.js @@ -1 +1 @@ -import{E as d}from"./EnvoyData-1ceb485e.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-af109ace.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const g=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{g as default}; +import{E as d}from"./EnvoyData-f0df1bb7.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-28451437.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const g=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{g as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-f3bca114.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-23902abe.js similarity index 83% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-f3bca114.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-23902abe.js index ad17fce1c5f1..545c924dfeb6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-f3bca114.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-23902abe.js @@ -1 +1 @@ -import{d as h,Q 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-af109ace.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-09052412.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./toYaml-4e00099e.js";const K=h({__name:"DataPlaneConfigView",setup(y){const l=k();return(A,B)=>{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,Q 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-28451437.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./toYaml-4e00099e.js";const K=h({__name:"DataPlaneConfigView",setup(y){const l=k();return(A,B)=>{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-74fdf8d2.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-6b930b3e.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-74fdf8d2.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-6b930b3e.js index d5ff4db28101..9c3312d6598e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-74fdf8d2.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-6b930b3e.js @@ -1 +1 @@ -import{d as R,g as $,a2 as k,r as o,o as l,i as c,w as t,j as s,k as w,p as B,a3 as C,n as h,E as G,x as N,l as T,F as D,q as P}from"./index-af109ace.js";import{N as E}from"./NavTabs-a833ed0a.js";const S=R({__name:"DataPlaneDetailTabsView",props:{isGatewayView:{type:Boolean,required:!1,default:!1}},setup(b){var _;const{t:p}=$(),v=k(),n=b,x=(((_=v.getRoutes().find(a=>a.name===`${n.isGatewayView?"gateway":"data-plane"}-detail-tabs-view`))==null?void 0:_.children)??[]).map(a=>{var i,m;const d=typeof a.name>"u"?(i=a.children)==null?void 0:i[0]:a,r=d.name,u=((m=d.meta)==null?void 0:m.module)??"";return{title:p(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.navigation.${r}`),routeName:r,module:u}});return(a,d)=>{const r=o("RouteTitle"),u=o("RouterView"),f=o("DataSource"),i=o("AppView"),m=o("RouteView");return l(),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(()=>[B("h1",null,[s(C,{text:e.params.dataPlane},{default:t(()=>[s(r,{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?(l(),c(G,{key:0,error:V},null,8,["error"])):y===void 0?(l(),c(N,{key:1})):(l(),T(D,{key:2},[s(E,{class:"route-data-plane-view-tabs",tabs:w(x)},null,8,["tabs"]),h(),s(u,null,{default:t(g=>[(l(),c(P(g.Component),{data:y},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{S as default}; +import{d as R,g as $,a2 as k,r as o,o as l,i as c,w as t,j as s,k as w,p as B,a3 as C,n as h,E as G,x as N,l as T,F as D,q as P}from"./index-28451437.js";import{N as E}from"./NavTabs-400c7296.js";const S=R({__name:"DataPlaneDetailTabsView",props:{isGatewayView:{type:Boolean,required:!1,default:!1}},setup(b){var _;const{t:p}=$(),v=k(),n=b,x=(((_=v.getRoutes().find(a=>a.name===`${n.isGatewayView?"gateway":"data-plane"}-detail-tabs-view`))==null?void 0:_.children)??[]).map(a=>{var i,m;const d=typeof a.name>"u"?(i=a.children)==null?void 0:i[0]:a,r=d.name,u=((m=d.meta)==null?void 0:m.module)??"";return{title:p(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.navigation.${r}`),routeName:r,module:u}});return(a,d)=>{const r=o("RouteTitle"),u=o("RouterView"),f=o("DataSource"),i=o("AppView"),m=o("RouteView");return l(),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(()=>[B("h1",null,[s(C,{text:e.params.dataPlane},{default:t(()=>[s(r,{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?(l(),c(G,{key:0,error:V},null,8,["error"])):y===void 0?(l(),c(N,{key:1})):(l(),T(D,{key:2},[s(E,{class:"route-data-plane-view-tabs",tabs:w(x)},null,8,["tabs"]),h(),s(u,null,{default:t(g=>[(l(),c(P(g.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-da5f5688.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-7b61a5f6.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-da5f5688.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-7b61a5f6.js index 4ce1a0cb491b..11a801b5d302 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-da5f5688.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-7b61a5f6.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 a,j as l,a5 as S,n as t,p as r,k as p,a6 as C,a7 as _,H as s,a8 as H,a9 as K,K as F,m as N,l as u,F as m,I as b,aa as $,t as j}from"./index-af109ace.js";import{S as U}from"./StatusBadge-ac5a18e6.js";import{_ as W}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-6cd6dbdc.js";import{T as R}from"./TagList-0d613d23.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-d10083a3.js";const Q=["data-testid","innerHTML"],Y={class:"stack","data-testid":"detail-view-details"},tt={class:"columns"},at={class:"status-with-reason"},et={class:"columns"},st=["innerHTML"],nt={key:0},it=O({__name:"DataPlaneDetailView",props:{data:{}},setup(B){const{formatIsoDate:w}=z(),M=L(),o=B,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 h=((d=o.data.dataplaneInsight)==null?void 0:d.subscriptions)??[];if(h.length===0)return[];const f=h[h.length-1];if(!("version"in f)||!f.version)return[];const c=f.version,g=[];if(c.kumaDp&&c.envoy){const i=X(c);i.kind!==q&&i.kind!==J&&g.push(i)}const e=(k=o.data.dataplaneInsight)==null?void 0:k.mTLS;return e&&Date.now()>new Date(e==null?void 0:e.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(h,f)=>{const c=P("AppView"),g=P("RouteView");return n(),y(g,{name:"data-plane-detail-view"},{default:a(({t:e})=>[l(c,null,S({default:a(()=>{var d,k;return[t(),r("div",Y,[l(p(C),null,{body:a(()=>[r("div",tt,[l(_,null,{title:a(()=>[t(s(e("http.api.property.status")),1)]),body:a(()=>[r("div",at,[l(U,{status:D.value.status},null,8,["status"]),t(),D.value.reason.length>0?(n(),y(p(H),{key:0,label:D.value.reason.join(", "),class:"reason-tooltip"},{default:a(()=>[l(p(K),{size:p(F),"hide-title":""},null,8,["size"])]),_:1},8,["label"])):N("",!0)])]),_:2},1024),t(),l(_,null,{title:a(()=>[t(s(e("http.api.property.tags")),1)]),body:a(()=>[T.value.length>0?(n(),y(R,{key:0,tags:T.value},null,8,["tags"])):(n(),u(m,{key:1},[t(s(e("common.detail.none")),1)],64))]),_:2},1024),t(),l(_,null,{title:a(()=>[t(s(e("http.api.property.dependencies")),1)]),body:a(()=>[V.value!==null?(n(),y(R,{key:0,tags:V.value},null,8,["tags"])):(n(),u(m,{key:1},[t(s(e("common.detail.none")),1)],64))]),_:2},1024)])]),_:2},1024),t(),r("div",null,[r("h2",null,s(e("data-planes.routes.item.mtls.title")),1),t(),(d=o.data.dataplaneInsight)!=null&&d.mTLS?(n(!0),u(m,{key:0},b([o.data.dataplaneInsight.mTLS],i=>(n(),y(p(C),{key:i,class:"mt-4"},{body:a(()=>[r("div",et,[l(_,null,{title:a(()=>[t(s(e("data-planes.routes.item.mtls.expiration_time.title")),1)]),body:a(()=>[t(s(p(w)(i.certificateExpirationTime)),1)]),_:2},1024),t(),l(_,null,{title:a(()=>[t(s(e("data-planes.routes.item.mtls.generation_time.title")),1)]),body:a(()=>[t(s(p(w)(i.lastCertificateRegeneration)),1)]),_:2},1024),t(),l(_,null,{title:a(()=>[t(s(e("data-planes.routes.item.mtls.regenerations.title")),1)]),body:a(()=>[t(s(e("common.formats.integer",{value:i.certificateRegenerations})),1)]),_:2},1024),t(),l(_,null,{title:a(()=>[t(s(e("data-planes.routes.item.mtls.issued_backend.title")),1)]),body:a(()=>[t(s(i.issuedBackend),1)]),_:2},1024),t(),l(_,null,{title:a(()=>[t(s(e("data-planes.routes.item.mtls.supported_backends.title")),1)]),body:a(()=>[r("ul",null,[(n(!0),u(m,null,b(i.supportedBackends,I=>(n(),u("li",{key:I},s(I),1))),128))])]),_:2},1024)])]),_:2},1024))),128)):(n(),y(p($),{key:1,class:"mt-4",appearance:"warning"},{alertMessage:a(()=>[r("div",{innerHTML:e("data-planes.routes.item.mtls.disabled")},null,8,st)]),_:2},1024))]),t(),(n(!0),u(m,null,b([((k=o.data.dataplaneInsight)==null?void 0:k.subscriptions)??[]],i=>(n(),u(m,{key:i},[i.length>0?(n(),u("div",nt,[r("h2",null,s(e("data-planes.routes.item.subscriptions.title")),1),t(),l(p(C),{class:"mt-4"},{body:a(()=>[l(W,{subscriptions:i},null,8,["subscriptions"])]),_:2},1024)])):N("",!0)],64))),128))])]}),_:2},[E.value.length>0?{name:"notifications",fn:a(()=>[r("ul",null,[(n(!0),u(m,null,b(E.value,d=>(n(),u("li",{key:d.kind,"data-testid":`warning-${d.kind}`,innerHTML:e(`common.warnings.${d.kind}`,d.payload)},null,8,Q))),128)),t()])]),key:"0"}:void 0]),1024)]),_:1})}}});const ct=j(it,[["__scopeId","data-v-79d4a52d"]]);export{ct 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 a,j as l,a5 as S,n as t,p as r,k as p,a6 as C,a7 as _,H as s,a8 as H,a9 as K,K as F,m as N,l as u,F as m,I as b,aa as $,t as j}from"./index-28451437.js";import{S as U}from"./StatusBadge-fcc954b7.js";import{_ as W}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-dec60c2e.js";import{T as R}from"./TagList-79fcd8ea.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-c73d7d77.js";const Q=["data-testid","innerHTML"],Y={class:"stack","data-testid":"detail-view-details"},tt={class:"columns"},at={class:"status-with-reason"},et={class:"columns"},st=["innerHTML"],nt={key:0},it=O({__name:"DataPlaneDetailView",props:{data:{}},setup(B){const{formatIsoDate:w}=z(),M=L(),o=B,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 h=((d=o.data.dataplaneInsight)==null?void 0:d.subscriptions)??[];if(h.length===0)return[];const f=h[h.length-1];if(!("version"in f)||!f.version)return[];const c=f.version,g=[];if(c.kumaDp&&c.envoy){const i=X(c);i.kind!==q&&i.kind!==J&&g.push(i)}const e=(k=o.data.dataplaneInsight)==null?void 0:k.mTLS;return e&&Date.now()>new Date(e==null?void 0:e.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(h,f)=>{const c=P("AppView"),g=P("RouteView");return n(),y(g,{name:"data-plane-detail-view"},{default:a(({t:e})=>[l(c,null,S({default:a(()=>{var d,k;return[t(),r("div",Y,[l(p(C),null,{body:a(()=>[r("div",tt,[l(_,null,{title:a(()=>[t(s(e("http.api.property.status")),1)]),body:a(()=>[r("div",at,[l(U,{status:D.value.status},null,8,["status"]),t(),D.value.reason.length>0?(n(),y(p(H),{key:0,label:D.value.reason.join(", "),class:"reason-tooltip"},{default:a(()=>[l(p(K),{size:p(F),"hide-title":""},null,8,["size"])]),_:1},8,["label"])):N("",!0)])]),_:2},1024),t(),l(_,null,{title:a(()=>[t(s(e("http.api.property.tags")),1)]),body:a(()=>[T.value.length>0?(n(),y(R,{key:0,tags:T.value},null,8,["tags"])):(n(),u(m,{key:1},[t(s(e("common.detail.none")),1)],64))]),_:2},1024),t(),l(_,null,{title:a(()=>[t(s(e("http.api.property.dependencies")),1)]),body:a(()=>[V.value!==null?(n(),y(R,{key:0,tags:V.value},null,8,["tags"])):(n(),u(m,{key:1},[t(s(e("common.detail.none")),1)],64))]),_:2},1024)])]),_:2},1024),t(),r("div",null,[r("h2",null,s(e("data-planes.routes.item.mtls.title")),1),t(),(d=o.data.dataplaneInsight)!=null&&d.mTLS?(n(!0),u(m,{key:0},b([o.data.dataplaneInsight.mTLS],i=>(n(),y(p(C),{key:i,class:"mt-4"},{body:a(()=>[r("div",et,[l(_,null,{title:a(()=>[t(s(e("data-planes.routes.item.mtls.expiration_time.title")),1)]),body:a(()=>[t(s(p(w)(i.certificateExpirationTime)),1)]),_:2},1024),t(),l(_,null,{title:a(()=>[t(s(e("data-planes.routes.item.mtls.generation_time.title")),1)]),body:a(()=>[t(s(p(w)(i.lastCertificateRegeneration)),1)]),_:2},1024),t(),l(_,null,{title:a(()=>[t(s(e("data-planes.routes.item.mtls.regenerations.title")),1)]),body:a(()=>[t(s(e("common.formats.integer",{value:i.certificateRegenerations})),1)]),_:2},1024),t(),l(_,null,{title:a(()=>[t(s(e("data-planes.routes.item.mtls.issued_backend.title")),1)]),body:a(()=>[t(s(i.issuedBackend),1)]),_:2},1024),t(),l(_,null,{title:a(()=>[t(s(e("data-planes.routes.item.mtls.supported_backends.title")),1)]),body:a(()=>[r("ul",null,[(n(!0),u(m,null,b(i.supportedBackends,I=>(n(),u("li",{key:I},s(I),1))),128))])]),_:2},1024)])]),_:2},1024))),128)):(n(),y(p($),{key:1,class:"mt-4",appearance:"warning"},{alertMessage:a(()=>[r("div",{innerHTML:e("data-planes.routes.item.mtls.disabled")},null,8,st)]),_:2},1024))]),t(),(n(!0),u(m,null,b([((k=o.data.dataplaneInsight)==null?void 0:k.subscriptions)??[]],i=>(n(),u(m,{key:i},[i.length>0?(n(),u("div",nt,[r("h2",null,s(e("data-planes.routes.item.subscriptions.title")),1),t(),l(p(C),{class:"mt-4"},{body:a(()=>[l(W,{subscriptions:i},null,8,["subscriptions"])]),_:2},1024)])):N("",!0)],64))),128))])]}),_:2},[E.value.length>0?{name:"notifications",fn:a(()=>[r("ul",null,[(n(!0),u(m,null,b(E.value,d=>(n(),u("li",{key:d.kind,"data-testid":`warning-${d.kind}`,innerHTML:e(`common.warnings.${d.kind}`,d.payload)},null,8,Q))),128)),t()])]),key:"0"}:void 0]),1024)]),_:1})}}});const ct=j(it,[["__scopeId","data-v-79d4a52d"]]);export{ct as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-f017382e.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-1222435c.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-f017382e.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-1222435c.js index 7db3fa0243eb..a9f85f1608d4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-f017382e.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-1222435c.js @@ -1 +1 @@ -import{D as g,K as y}from"./KFilterBar-ed682188.js";import{d as h,r as s,o as n,i,w as a,j as o,p as V,n as b,E as w,m as C,t as k}from"./index-af109ace.js";import"./AppCollection-170ebacc.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";import"./StatusBadge-ac5a18e6.js";import"./dataplane-0a086c06.js";const v=h({__name:"DataPlaneListView",setup(z){return(q,x)=>{const c=s("RouteTitle"),m=s("KCard"),_=s("AppView"),p=s("DataSource"),d=s("RouteView");return n(),i(p,{src:"/me"},{default:a(({data:u})=>[u?(n(),i(d,{key:0,name:"data-plane-list-view",params:{page:1,size:50,query:"",s:"",mesh:""}},{default:a(({route:e,t:f})=>[o(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})=>[o(_,null,{title:a(()=>[V("h2",null,[o(c,{title:f("data-planes.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[b(),o(m,null,{body:a(()=>[r!==void 0?(n(),i(w,{key:0,error:r},null,8,["error"])):(n(),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(()=>[o(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})):C("",!0)]),_:1})}}});const R=k(v,[["__scopeId","data-v-58f131b4"]]);export{R as default}; +import{D as g,K as y}from"./KFilterBar-d93b3a1d.js";import{d as h,r as s,o as n,i,w as a,j as o,p as V,n as b,E as w,m as C,t as k}from"./index-28451437.js";import"./AppCollection-b6258a04.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";import"./StatusBadge-fcc954b7.js";import"./dataplane-0a086c06.js";const v=h({__name:"DataPlaneListView",setup(z){return(q,x)=>{const c=s("RouteTitle"),m=s("KCard"),_=s("AppView"),p=s("DataSource"),d=s("RouteView");return n(),i(p,{src:"/me"},{default:a(({data:u})=>[u?(n(),i(d,{key:0,name:"data-plane-list-view",params:{page:1,size:50,query:"",s:"",mesh:""}},{default:a(({route:e,t:f})=>[o(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})=>[o(_,null,{title:a(()=>[V("h2",null,[o(c,{title:f("data-planes.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[b(),o(m,null,{body:a(()=>[r!==void 0?(n(),i(w,{key:0,error:r},null,8,["error"])):(n(),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(()=>[o(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})):C("",!0)]),_:1})}}});const R=k(v,[["__scopeId","data-v-58f131b4"]]);export{R as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-142340f2.js b/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-182c6628.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-142340f2.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-182c6628.js index e4ab371a5f76..3205ff01456d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-142340f2.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-182c6628.js @@ -1,4 +1,4 @@ -import{d as N,r as P,o as t,i as _,w as i,l as a,F as p,I as B,p as C,j as y,n as l,H as $,k as w,ab as H,t as K,m as D,h as F,E as x,x as J}from"./index-af109ace.js";import{A as M,a as Y}from"./AccordionList-d10083a3.js";import{_ as z}from"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import{P as G}from"./PolicyTypeTag-83482a4f.js";import{T as j}from"./TagList-0d613d23.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(A){const h=[{label:"From",key:"sourceTags"},{label:"To",key:"destinationTags"},{label:"On",key:"name"},{label:"Conf",key:"config"},{label:"Origin policies",key:"origins"}],T=A;function v({headerKey:f}){return{class:`cell-${f}`}}return(f,R)=>{const E=P("router-link");return t(),_(Y,{"initially-open":[],"multiple-open":""},{default:i(()=>[(t(!0),a(p,null,B(T.policyTypeEntries,(u,s)=>(t(),_(M,{key:s},{"accordion-header":i(()=>[C("h3",Q,[y(G,{"policy-type":u.type},{default:i(()=>[l($(u.type)+" ("+$(u.connections.length)+`) +import{d as N,r as P,o as t,i as _,w as i,l as a,F as p,I as B,p as C,j as y,n as l,H as $,k as w,ab as H,t as K,m as D,h as F,E as x,x as J}from"./index-28451437.js";import{A as M,a as Y}from"./AccordionList-c73d7d77.js";import{_ as z}from"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import{P as G}from"./PolicyTypeTag-24805dd6.js";import{T as j}from"./TagList-79fcd8ea.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(A){const h=[{label:"From",key:"sourceTags"},{label:"To",key:"destinationTags"},{label:"On",key:"name"},{label:"Conf",key:"config"},{label:"Origin policies",key:"origins"}],T=A;function v({headerKey:f}){return{class:`cell-${f}`}}return(f,R)=>{const E=P("router-link");return t(),_(Y,{"initially-open":[],"multiple-open":""},{default:i(()=>[(t(!0),a(p,null,B(T.policyTypeEntries,(u,s)=>(t(),_(M,{key:s},{"accordion-header":i(()=>[C("h3",Q,[y(G,{"policy-type":u.type},{default:i(()=>[l($(u.type)+" ("+$(u.connections.length)+`) `,1)]),_:2},1032,["policy-type"])])]),"accordion-content":i(()=>[C("div",U,[y(w(H),{class:"policy-type-table",fetcher:()=>({data:u.connections,total:u.connections.length}),headers:h,"cell-attrs":v,"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-30db8dc3.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-7b78cb9b.js similarity index 75% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-30db8dc3.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-7b78cb9b.js index 8b2e64ef3088..f5090b429504 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-30db8dc3.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-7b78cb9b.js @@ -1 +1 @@ -import{E as m}from"./EnvoyData-1ceb485e.js";import{a as c}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-af109ace.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const g=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(m,{status:V(c)(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{g as default}; +import{E as m}from"./EnvoyData-f0df1bb7.js";import{a as c}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-28451437.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const g=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(m,{status:V(c)(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{g as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-871839bf.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-71d735b6.js similarity index 76% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-871839bf.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-71d735b6.js index b258b3b5332c..8f8dc7c31ec7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-871839bf.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-71d735b6.js @@ -1 +1 @@ -import{E as c}from"./EnvoyData-1ceb485e.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-af109ace.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const k=u({__name:"DataPlaneXdsConfigView",props:{data:{}},setup(s){const n=s;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:o,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/${o.params.mesh}/dataplanes/${o.params.dataPlane}/data-path/xds`,"query-key":"envoy-data-xds-data-plane"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; +import{E as c}from"./EnvoyData-f0df1bb7.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-28451437.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const k=u({__name:"DataPlaneXdsConfigView",props:{data:{}},setup(s){const n=s;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:o,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/${o.params.mesh}/dataplanes/${o.params.dataPlane}/data-path/xds`,"query-key":"envoy-data-xds-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/DataplanesOverview-50f64627.js b/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-ab420fdb.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-50f64627.js rename to app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-ab420fdb.js index 8f297d8334a5..623287aabeda 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-50f64627.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-ab420fdb.js @@ -1,3 +1,3 @@ -import{L as D}from"./LoadingBox-8b1f23a6.js";import{O,a as T,b as B}from"./OnboardingPage-495bc5e8.js";import{S as R}from"./StatusBadge-ac5a18e6.js";import{d as S,Q as V,y as k,U as F,r as d,o,i as g,w as t,j as s,n as c,l as p,I,H as h,p as f,F as x,t as N}from"./index-af109ace.js";import{g as P}from"./dataplane-0a086c06.js";const E={key:0,class:"status-loading-box mb-4"},L={key:1},C={class:"mb-4"},H=S({__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=P(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 o(),g(u,{name:"onboarding-dataplanes-overview"},{default:t(({t:l})=>[s(n,{title:l("onboarding.routes.dataplanes-overview.title")},null,8,["title"]),c(),s(r,null,{default:t(()=>[s(O,null,{header:t(()=>[(o(!0),p(x,null,I([a.value.data.length>0?"success":"waiting"],e=>(o(),g(T,{key:e,"data-testid":`state-${e}`},{title:t(()=>[c(h(l(`onboarding.routes.dataplanes-overview.header.${e}.title`)),1)]),description:t(()=>[f("p",null,h(l(`onboarding.routes.dataplanes-overview.header.${e}.description`)),1)]),_:2},1032,["data-testid"]))),128))]),content:t(()=>[a.value.data.length===0?(o(),p("div",E,[s(D)])):(o(),p("div",L,[f("p",C,[f("b",null,"Found "+h(a.value.data.length)+" DPPs:",1)]),c(),s(m,{class:"mb-4",fetcher:()=>a.value,headers:A,"disable-pagination":""},{status:t(({rowValue:e})=>[e?(o(),g(R,{key:0,status:e},null,8,["status"])):(o(),p(x,{key:1},[c(` +import{L as D}from"./LoadingBox-e73404f1.js";import{O,a as T,b as B}from"./OnboardingPage-c16f9553.js";import{S as R}from"./StatusBadge-fcc954b7.js";import{d as S,Q as V,y as k,U as F,r as d,o,i as g,w as t,j as s,n as c,l as p,I,H as h,p as f,F as x,t as N}from"./index-28451437.js";import{g as P}from"./dataplane-0a086c06.js";const E={key:0,class:"status-loading-box mb-4"},L={key:1},C={class:"mb-4"},H=S({__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=P(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 o(),g(u,{name:"onboarding-dataplanes-overview"},{default:t(({t:l})=>[s(n,{title:l("onboarding.routes.dataplanes-overview.title")},null,8,["title"]),c(),s(r,null,{default:t(()=>[s(O,null,{header:t(()=>[(o(!0),p(x,null,I([a.value.data.length>0?"success":"waiting"],e=>(o(),g(T,{key:e,"data-testid":`state-${e}`},{title:t(()=>[c(h(l(`onboarding.routes.dataplanes-overview.header.${e}.title`)),1)]),description:t(()=>[f("p",null,h(l(`onboarding.routes.dataplanes-overview.header.${e}.description`)),1)]),_:2},1032,["data-testid"]))),128))]),content:t(()=>[a.value.data.length===0?(o(),p("div",E,[s(D)])):(o(),p("div",L,[f("p",C,[f("b",null,"Found "+h(a.value.data.length)+" DPPs:",1)]),c(),s(m,{class:"mb-4",fetcher:()=>a.value,headers:A,"disable-pagination":""},{status:t(({rowValue:e})=>[e?(o(),g(R,{key:0,status:e},null,8,["status"])):(o(),p(x,{key:1},[c(` — `)],64))]),_:1},8,["fetcher"])]))]),navigation:t(()=>[s(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 Q=N(H,[["__scopeId","data-v-b51ace23"]]);export{Q as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-65b39039.js b/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-113a7c47.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-65b39039.js rename to app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-113a7c47.js index e7c9e182da89..2eac3900fb0c 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-65b39039.js +++ b/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-113a7c47.js @@ -1 +1 @@ -import{d as k,g as B,y as S,o as t,i as p,w as f,S as q,n as l,k as n,aa as F,aI as T,l as o,F as y,p as u,H as s,I as V,m as v,aL as h}from"./index-af109ace.js";const C=["data-testid"],I={key:1},D=k({__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:x}){const{t:c}=B(),a=_,d=x,e=S(null);async function b(){e.value=null;try{await a.deleteFunction(),d("delete")}catch(r){r instanceof Error?e.value=r:console.error(r)}}return(r,m)=>(t(),p(n(h),{"action-button-text":a.actionButtonText,"confirmation-text":a.confirmationText,"is-visible":a.isVisible,title:a.title,type:"danger",onCanceled:m[0]||(m[0]=i=>d("cancel")),onProceed:b},{"body-content":f(()=>[q(r.$slots,"body-content"),l(),e.value!==null?(t(),p(n(F),{key:0,class:"mt-4",appearance:"danger","is-dismissible":""},{alertMessage:f(()=>[e.value instanceof n(T)?(t(),o(y,{key:0},[u("p",null,s(n(c)("common.error_state.api_error",{status:e.value.status,title:e.value.detail})),1),l(),e.value.invalidParameters.length>0?(t(),o("ul",{key:0,"data-testid":`error-${e.value.status}`},[(t(!0),o(y,null,V(e.value.invalidParameters,(i,g)=>(t(),o("li",{key:g},[u("b",null,[u("code",null,s(i.field),1)]),l(": "+s(i.reason),1)]))),128))],8,C)):v("",!0)],64)):(t(),o("p",I,s(n(c)("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 k,g as B,y as S,o as t,i as p,w as f,S as q,n as l,k as n,aa as F,aI as T,l as o,F as y,p as u,H as s,I as V,m as v,aL as h}from"./index-28451437.js";const C=["data-testid"],I={key:1},D=k({__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:x}){const{t:c}=B(),a=_,d=x,e=S(null);async function b(){e.value=null;try{await a.deleteFunction(),d("delete")}catch(r){r instanceof Error?e.value=r:console.error(r)}}return(r,m)=>(t(),p(n(h),{"action-button-text":a.actionButtonText,"confirmation-text":a.confirmationText,"is-visible":a.isVisible,title:a.title,type:"danger",onCanceled:m[0]||(m[0]=i=>d("cancel")),onProceed:b},{"body-content":f(()=>[q(r.$slots,"body-content"),l(),e.value!==null?(t(),p(n(F),{key:0,class:"mt-4",appearance:"danger","is-dismissible":""},{alertMessage:f(()=>[e.value instanceof n(T)?(t(),o(y,{key:0},[u("p",null,s(n(c)("common.error_state.api_error",{status:e.value.status,title:e.value.detail})),1),l(),e.value.invalidParameters.length>0?(t(),o("ul",{key:0,"data-testid":`error-${e.value.status}`},[(t(!0),o(y,null,V(e.value.invalidParameters,(i,g)=>(t(),o("li",{key:g},[u("b",null,[u("code",null,s(i.field),1)]),l(": "+s(i.reason),1)]))),128))],8,C)):v("",!0)],64)):(t(),o("p",I,s(n(c)("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-59344f6d.js b/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-7cc9b0f1.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-59344f6d.js rename to app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-7cc9b0f1.js index e62c95a323a9..9182b8b4b04c 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-59344f6d.js +++ b/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-7cc9b0f1.js @@ -1,4 +1,4 @@ -import{O as f,a as V,b as h}from"./OnboardingPage-495bc5e8.js";import{d as z,J as w,L 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 S}from"./index-af109ace.js";const M={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-c16f9553.js";import{d as z,J as w,L 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 S}from"./index-28451437.js";const M={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",M,[(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-80635c8a.js b/app/kuma-ui/pkg/resources/data/assets/DetailView-0e32e4f9.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/DetailView-80635c8a.js rename to app/kuma-ui/pkg/resources/data/assets/DetailView-0e32e4f9.js index 89350e17ab1a..4b491d952d85 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DetailView-80635c8a.js +++ b/app/kuma-ui/pkg/resources/data/assets/DetailView-0e32e4f9.js @@ -1 +1 @@ -import{a as V,g as b,b as S}from"./index-8b8b41d0.js";import{d as B,h as p,r as u,o as i,i as T,w as t,j as n,a5 as x,n as e,p as c,a7 as m,H as l,l as r,F as _,I as y,m as z}from"./index-af109ace.js";import{S as D}from"./StatusBadge-ac5a18e6.js";import{_ as N}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-6cd6dbdc.js";import"./AccordionList-d10083a3.js";const $=["data-testid","innerHTML"],A={"data-testid":"detail-view-details",class:"stack"},H={class:"columns"},L={key:0},R=B({__name:"DetailView",props:{data:{},notifications:{default:()=>[]}},setup(h){const s=h,v=p(()=>V(s.data)),k=p(()=>b(s.data)),g=p(()=>S(s.data));return(Z,E)=>{const f=u("KCard"),w=u("AppView"),C=u("RouteView");return i(),T(C,{name:"zone-cp-detail-view"},{default:t(({t:o})=>[n(w,null,x({default:t(()=>{var a;return[e(),c("div",A,[n(f,null,{body:t(()=>[c("div",H,[n(m,null,{title:t(()=>[e(l(o("http.api.property.status")),1)]),body:t(()=>[n(D,{status:k.value},null,8,["status"])]),_:2},1024),e(),n(m,null,{title:t(()=>[e(l(o("http.api.property.type")),1)]),body:t(()=>[e(l(o(`common.product.environment.${v.value||"unknown"}`)),1)]),_:2},1024),e(),n(m,null,{title:t(()=>[e(l(o("zone-cps.routes.item.authentication_type")),1)]),body:t(()=>[e(l(g.value||o("common.not_applicable")),1)]),_:2},1024)])]),_:2},1024),e(),(i(!0),r(_,null,y([((a=s.data.zoneInsight)==null?void 0:a.subscriptions)??[]],d=>(i(),r(_,{key:d},[d.length>0?(i(),r("div",L,[c("h2",null,l(o("zone-cps.detail.subscriptions")),1),e(),n(f,{class:"mt-4"},{body:t(()=>[n(N,{subscriptions:d},null,8,["subscriptions"])]),_:2},1024)])):z("",!0)],64))),128))])]}),_:2},[s.notifications.length>0?{name:"notifications",fn:t(()=>[c("ul",null,[(i(!0),r(_,null,y(s.notifications,a=>(i(),r("li",{key:a.kind,"data-testid":`warning-${a.kind}`,innerHTML:o(`common.warnings.${a.kind}`,a.payload)},null,8,$))),128)),e()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{R as default}; +import{a as V,g as b,b as S}from"./index-270afb1d.js";import{d as B,h as p,r as u,o as i,i as T,w as t,j as n,a5 as x,n as e,p as c,a7 as m,H as l,l as r,F as _,I as y,m as z}from"./index-28451437.js";import{S as D}from"./StatusBadge-fcc954b7.js";import{_ as N}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-dec60c2e.js";import"./AccordionList-c73d7d77.js";const $=["data-testid","innerHTML"],A={"data-testid":"detail-view-details",class:"stack"},H={class:"columns"},L={key:0},R=B({__name:"DetailView",props:{data:{},notifications:{default:()=>[]}},setup(h){const s=h,v=p(()=>V(s.data)),k=p(()=>b(s.data)),g=p(()=>S(s.data));return(Z,E)=>{const f=u("KCard"),w=u("AppView"),C=u("RouteView");return i(),T(C,{name:"zone-cp-detail-view"},{default:t(({t:o})=>[n(w,null,x({default:t(()=>{var a;return[e(),c("div",A,[n(f,null,{body:t(()=>[c("div",H,[n(m,null,{title:t(()=>[e(l(o("http.api.property.status")),1)]),body:t(()=>[n(D,{status:k.value},null,8,["status"])]),_:2},1024),e(),n(m,null,{title:t(()=>[e(l(o("http.api.property.type")),1)]),body:t(()=>[e(l(o(`common.product.environment.${v.value||"unknown"}`)),1)]),_:2},1024),e(),n(m,null,{title:t(()=>[e(l(o("zone-cps.routes.item.authentication_type")),1)]),body:t(()=>[e(l(g.value||o("common.not_applicable")),1)]),_:2},1024)])]),_:2},1024),e(),(i(!0),r(_,null,y([((a=s.data.zoneInsight)==null?void 0:a.subscriptions)??[]],d=>(i(),r(_,{key:d},[d.length>0?(i(),r("div",L,[c("h2",null,l(o("zone-cps.detail.subscriptions")),1),e(),n(f,{class:"mt-4"},{body:t(()=>[n(N,{subscriptions:d},null,8,["subscriptions"])]),_:2},1024)])):z("",!0)],64))),128))])]}),_:2},[s.notifications.length>0?{name:"notifications",fn:t(()=>[c("ul",null,[(i(!0),r(_,null,y(s.notifications,a=>(i(),r("li",{key:a.kind,"data-testid":`warning-${a.kind}`,innerHTML:o(`common.warnings.${a.kind}`,a.payload)},null,8,$))),128)),e()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{R as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DetailView-cc870aca.js b/app/kuma-ui/pkg/resources/data/assets/DetailView-d07f36ea.js similarity index 80% rename from app/kuma-ui/pkg/resources/data/assets/DetailView-cc870aca.js rename to app/kuma-ui/pkg/resources/data/assets/DetailView-d07f36ea.js index 7ce7bb2a7c28..c1ebec030835 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DetailView-cc870aca.js +++ b/app/kuma-ui/pkg/resources/data/assets/DetailView-d07f36ea.js @@ -1 +1 @@ -import{d as y,r as l,o,i as g,w as e,j as t,p,a7 as h,n,H as i,k as V,a3 as z,l as d,F as c,I as C,m as x}from"./index-af109ace.js";import{S as E}from"./StatusBadge-ac5a18e6.js";import{_ as v}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-6cd6dbdc.js";import{g as B}from"./dataplane-0a086c06.js";import"./AccordionList-d10083a3.js";const b={class:"stack","data-testid":"detail-view-details"},I={class:"columns"},N={key:0},T=y({__name:"DetailView",props:{data:{}},setup(k){const s=k;return(S,D)=>{const m=l("KCard"),w=l("AppView"),f=l("RouteView");return o(),g(f,{name:"zone-egress-detail-view"},{default:e(({t:r})=>[t(w,null,{default:e(()=>{var u;return[p("div",b,[t(m,null,{body:e(()=>[p("div",I,[t(h,null,{title:e(()=>[n(i(r("http.api.property.status")),1)]),body:e(()=>[t(E,{status:V(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(z,{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,C([((u=s.data.zoneEgressInsight)==null?void 0:u.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(m,{class:"mt-4"},{body:e(()=>[t(v,{subscriptions:a},null,8,["subscriptions"])]),_:2},1024)])):x("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{T as default}; +import{d as y,r as l,o,i as g,w as e,j as t,p,a7 as h,n,H as i,k as V,a3 as z,l as d,F as c,I as C,m as x}from"./index-28451437.js";import{S as E}from"./StatusBadge-fcc954b7.js";import{_ as v}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-dec60c2e.js";import{g as B}from"./dataplane-0a086c06.js";import"./AccordionList-c73d7d77.js";const b={class:"stack","data-testid":"detail-view-details"},I={class:"columns"},N={key:0},T=y({__name:"DetailView",props:{data:{}},setup(k){const s=k;return(S,D)=>{const m=l("KCard"),w=l("AppView"),f=l("RouteView");return o(),g(f,{name:"zone-egress-detail-view"},{default:e(({t:r})=>[t(w,null,{default:e(()=>{var u;return[p("div",b,[t(m,null,{body:e(()=>[p("div",I,[t(h,null,{title:e(()=>[n(i(r("http.api.property.status")),1)]),body:e(()=>[t(E,{status:V(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(z,{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,C([((u=s.data.zoneEgressInsight)==null?void 0:u.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(m,{class:"mt-4"},{body:e(()=>[t(v,{subscriptions:a},null,8,["subscriptions"])]),_:2},1024)])):x("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{T as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DetailView-2349938f.js b/app/kuma-ui/pkg/resources/data/assets/DetailView-dfa33b2f.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/DetailView-2349938f.js rename to app/kuma-ui/pkg/resources/data/assets/DetailView-dfa33b2f.js index e27bc6e53020..dc219086cc13 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DetailView-2349938f.js +++ b/app/kuma-ui/pkg/resources/data/assets/DetailView-dfa33b2f.js @@ -1 +1 @@ -import{d as f,r as c,o as a,i as m,w as t,j as o,p as u,a7 as g,n,H as d,k as z,a3 as w,l,F as p,I as v,m as x}from"./index-af109ace.js";import{S as V}from"./StatusBadge-ac5a18e6.js";import{_ as C}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-6cd6dbdc.js";import{g as b}from"./dataplane-0a086c06.js";import"./AccordionList-d10083a3.js";const B={class:"stack","data-testid":"detail-view-details"},A={class:"columns"},$={key:0},T=f({__name:"DetailView",props:{data:{}},setup(y){const e=y;return(N,S)=>{const _=c("KCard"),I=c("AppView"),h=c("RouteView");return a(),m(h,{name:"zone-ingress-detail-view"},{default:t(({t:r})=>[o(I,null,{default:t(()=>{var k;return[u("div",B,[o(_,null,{body:t(()=>[u("div",A,[o(g,null,{title:t(()=>[n(d(r("http.api.property.status")),1)]),body:t(()=>[o(V,{status:z(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(),m(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(),m(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,v([((k=e.data.zoneIngressInsight)==null?void 0:k.subscriptions)??[]],s=>(a(),l(p,{key:s},[s.length>0?(a(),l("div",$,[u("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)])):x("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{T as default}; +import{d as f,r as c,o as a,i as m,w as t,j as o,p as u,a7 as g,n,H as d,k as z,a3 as w,l,F as p,I as v,m as x}from"./index-28451437.js";import{S as V}from"./StatusBadge-fcc954b7.js";import{_ as C}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-dec60c2e.js";import{g as b}from"./dataplane-0a086c06.js";import"./AccordionList-c73d7d77.js";const B={class:"stack","data-testid":"detail-view-details"},A={class:"columns"},$={key:0},T=f({__name:"DetailView",props:{data:{}},setup(y){const e=y;return(N,S)=>{const _=c("KCard"),I=c("AppView"),h=c("RouteView");return a(),m(h,{name:"zone-ingress-detail-view"},{default:t(({t:r})=>[o(I,null,{default:t(()=>{var k;return[u("div",B,[o(_,null,{body:t(()=>[u("div",A,[o(g,null,{title:t(()=>[n(d(r("http.api.property.status")),1)]),body:t(()=>[o(V,{status:z(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(),m(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(),m(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,v([((k=e.data.zoneIngressInsight)==null?void 0:k.subscriptions)??[]],s=>(a(),l(p,{key:s},[s.length>0?(a(),l("div",$,[u("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)])):x("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{T as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-d7f2e3a3.js b/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-06e85678.js similarity index 81% rename from app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-d7f2e3a3.js rename to app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-06e85678.js index 2c052466add8..7234ddd8e69a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-d7f2e3a3.js +++ b/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-06e85678.js @@ -1 +1 @@ -import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.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-af109ace.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-dcecbb9e.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-28451437.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/EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js b/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js rename to app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js index fc6454f853af..8dd834571d86 100644 --- a/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js +++ b/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js @@ -1 +1 @@ -import{d as n,g as i,o as l,i as m,a5 as c,w as s,S as t,p as r,n as p,H as d,k as a,aj as f}from"./index-af109ace.js";const S=n({__name:"EmptyBlock",setup(u){const{t:o}=i();return(e,y)=>(l(),m(a(f),{"data-testid":"empty-state","cta-is-hidden":"",icon:a(o)("common.emptyState.icon"),"icon-size":"96"},c({title:s(()=>[t(e.$slots,"title",{},()=>[r("p",null,[t(e.$slots,"default",{},()=>[p(d(a(o)("common.emptyState.title")),1)])])])]),_:2},[e.$slots.message?{name:"message",fn:s(()=>[t(e.$slots,"message")]),key:"0"}:void 0,e.$slots.cta?{name:"cta",fn:s(()=>[t(e.$slots,"cta")]),key:"1"}:void 0]),1032,["icon"]))}});export{S as _}; +import{d as n,g as i,o as l,i as m,a5 as c,w as s,S as t,p as r,n as p,H as d,k as a,aj as f}from"./index-28451437.js";const S=n({__name:"EmptyBlock",setup(u){const{t:o}=i();return(e,y)=>(l(),m(a(f),{"data-testid":"empty-state","cta-is-hidden":"",icon:a(o)("common.emptyState.icon"),"icon-size":"96"},c({title:s(()=>[t(e.$slots,"title",{},()=>[r("p",null,[t(e.$slots,"default",{},()=>[p(d(a(o)("common.emptyState.title")),1)])])])]),_:2},[e.$slots.message?{name:"message",fn:s(()=>[t(e.$slots,"message")]),key:"0"}:void 0,e.$slots.cta?{name:"cta",fn:s(()=>[t(e.$slots,"cta")]),key:"1"}:void 0]),1032,["icon"]))}});export{S as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/EnvoyData-1ceb485e.js b/app/kuma-ui/pkg/resources/data/assets/EnvoyData-f0df1bb7.js similarity index 82% rename from app/kuma-ui/pkg/resources/data/assets/EnvoyData-1ceb485e.js rename to app/kuma-ui/pkg/resources/data/assets/EnvoyData-f0df1bb7.js index 7b39e33572fc..2f65838bf3a7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/EnvoyData-1ceb485e.js +++ b/app/kuma-ui/pkg/resources/data/assets/EnvoyData-f0df1bb7.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 m,k as r,aa as k,E as g,x as v,F as q,j as o,W as x,ar as E,K as S,n as u,s as h,t as b}from"./index-af109ace.js";import{_ as B}from"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import{_ as C}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.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:y}=f(),t=l;return(D,K)=>(e(),i("div",null,[t.status!=="online"?(e(),s(r(k),{key:0,appearance:"info"},{alertMessage:n(()=>[_("p",null,m(r(y)("common.detail.no_envoy_data",{resource:t.resource})),1)]),_:1})):(e(),s(h,{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(C,{key:2})):(e(),i(q,{key:3},[_("div",I,[o(r(x),{appearance:"primary","data-testid":"envoy-data-refresh-button",onClick:d},{default:n(()=>[o(r(E),{size:r(S)},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 m,k as r,aa as k,E as g,x as v,F as q,j as o,W as x,ar as E,K as S,n as u,s as h,t as b}from"./index-28451437.js";import{_ as B}from"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import{_ as C}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.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:y}=f(),t=l;return(D,K)=>(e(),i("div",null,[t.status!=="online"?(e(),s(r(k),{key:0,appearance:"info"},{alertMessage:n(()=>[_("p",null,m(r(y)("common.detail.no_envoy_data",{resource:t.resource})),1)]),_:1})):(e(),s(h,{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(C,{key:2})):(e(),i(q,{key:3},[_("div",I,[o(r(x),{appearance:"primary","data-testid":"envoy-data-refresh-button",onClick:d},{default:n(()=>[o(r(E),{size:r(S)},null,8,["size"]),u(` Refresh `)]),_:2},1032,["onClick"])]),u(),o(B,{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 w=b(N,[["__scopeId","data-v-faac85b9"]]);export{w as E}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ExternalServiceConfig.vue_vue_type_script_setup_true_lang-fe863fe8.js b/app/kuma-ui/pkg/resources/data/assets/ExternalServiceConfig.vue_vue_type_script_setup_true_lang-4ca23c1a.js similarity index 81% rename from app/kuma-ui/pkg/resources/data/assets/ExternalServiceConfig.vue_vue_type_script_setup_true_lang-fe863fe8.js rename to app/kuma-ui/pkg/resources/data/assets/ExternalServiceConfig.vue_vue_type_script_setup_true_lang-4ca23c1a.js index 97ee49c9ddc6..97e3e292a039 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ExternalServiceConfig.vue_vue_type_script_setup_true_lang-fe863fe8.js +++ b/app/kuma-ui/pkg/resources/data/assets/ExternalServiceConfig.vue_vue_type_script_setup_true_lang-4ca23c1a.js @@ -1 +1 @@ -import{_ as u}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";import{d as p,g as f,Q as d,r as h,o as s,l as k,j as v,w as c,i as r,E as g,x as y,p as B,H as $,k as t}from"./index-af109ace.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-09052412.js";const A=p({__name:"ExternalServiceConfig",props:{mesh:{},service:{}},setup(n){const{t:i}=f(),m=d(),a=n;return(C,E)=>{const l=h("DataSource");return s(),k("div",null,[v(l,{src:`/meshes/${a.mesh}/external-services/for/${a.service}`},{default:c(({data:e,error:o})=>[o?(s(),r(g,{key:0,error:o},null,8,["error"])):e===void 0?(s(),r(y,{key:1})):e===null?(s(),r(u,{key:2,"data-testid":"no-matching-external-service"},{title:c(()=>[B("p",null,$(t(i)("services.detail.no_matching_external_service",{name:a.service})),1)]),_:1})):(s(),r(x,{key:3,id:"code-block-service",resource:e,"resource-fetcher":_=>t(m).getExternalService({mesh:e.mesh,name:e.name},_),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:1},8,["src"])])}}});export{A as _}; +import{_ as u}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";import{d as p,g as f,Q as d,r as h,o as s,l as k,j as v,w as c,i as r,E as g,x as y,p as B,H as $,k as t}from"./index-28451437.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.js";const A=p({__name:"ExternalServiceConfig",props:{mesh:{},service:{}},setup(n){const{t:i}=f(),m=d(),a=n;return(C,E)=>{const l=h("DataSource");return s(),k("div",null,[v(l,{src:`/meshes/${a.mesh}/external-services/for/${a.service}`},{default:c(({data:e,error:o})=>[o?(s(),r(g,{key:0,error:o},null,8,["error"])):e===void 0?(s(),r(y,{key:1})):e===null?(s(),r(u,{key:2,"data-testid":"no-matching-external-service"},{title:c(()=>[B("p",null,$(t(i)("services.detail.no_matching_external_service",{name:a.service})),1)]),_:1})):(s(),r(x,{key:3,id:"code-block-service",resource:e,"resource-fetcher":_=>t(m).getExternalService({mesh:e.mesh,name:e.name},_),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:1},8,["src"])])}}});export{A as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/GatewayListView-eba55e48.js b/app/kuma-ui/pkg/resources/data/assets/GatewayListView-bb8eb667.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/GatewayListView-eba55e48.js rename to app/kuma-ui/pkg/resources/data/assets/GatewayListView-bb8eb667.js index 75f9e7517dca..6356af024a18 100644 --- a/app/kuma-ui/pkg/resources/data/assets/GatewayListView-eba55e48.js +++ b/app/kuma-ui/pkg/resources/data/assets/GatewayListView-bb8eb667.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-af109ace.js";import{D as k,K as T}from"./KFilterBar-ed682188.js";import"./AppCollection-170ebacc.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";import"./StatusBadge-ac5a18e6.js";import"./dataplane-0a086c06.js";const q=h({__name:"GatewayListView",setup(x){return(B,D)=>{const u=l("RouteTitle"),_=l("KSelect"),d=l("KCard"),y=l("AppView"),c=l("DataSource"),g=l("RouteView");return i(),n(c,{src:"/me"},{default:t(({data:m})=>[m?(i(),n(g,{key:0,name:"gateway-list-view",params:{page:1,size:m.pageSize,gatewayType:"all",query:"",s:"",mesh:""}},{default:t(({route:e,can:w,t:f})=>[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(y,null,{title:t(()=>[v("h2",null,[o(u,{title:f("gateways.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[p(),o(d,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”)"},...w("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 F=C(q,[["__scopeId","data-v-de4ce3dc"]]);export{F 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-28451437.js";import{D as k,K as T}from"./KFilterBar-d93b3a1d.js";import"./AppCollection-b6258a04.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";import"./StatusBadge-fcc954b7.js";import"./dataplane-0a086c06.js";const q=h({__name:"GatewayListView",setup(x){return(B,D)=>{const u=l("RouteTitle"),_=l("KSelect"),d=l("KCard"),y=l("AppView"),c=l("DataSource"),g=l("RouteView");return i(),n(c,{src:"/me"},{default:t(({data:m})=>[m?(i(),n(g,{key:0,name:"gateway-list-view",params:{page:1,size:m.pageSize,gatewayType:"all",query:"",s:"",mesh:""}},{default:t(({route:e,can:w,t:f})=>[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(y,null,{title:t(()=>[v("h2",null,[o(u,{title:f("gateways.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[p(),o(d,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”)"},...w("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 F=C(q,[["__scopeId","data-v-de4ce3dc"]]);export{F as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-e50b991c.js b/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-15aab1cf.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-e50b991c.js rename to app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-15aab1cf.js index d9f300597d94..090608431fbc 100644 --- a/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-e50b991c.js +++ b/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-15aab1cf.js @@ -1,4 +1,4 @@ -import{A as $,a as x}from"./AccordionList-d10083a3.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,a5 as C,D as I,G as A,t as K,E as V,x as j}from"./index-af109ace.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-c73d7d77.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,a5 as C,D as I,G as A,t as K,E as V,x as j}from"./index-28451437.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-a274b322.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-023edc89.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-a274b322.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-023edc89.js index 1dd325061061..691ed5f0fbc4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-a274b322.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-023edc89.js @@ -1 +1 @@ -import{d as V,g as R,a2 as k,r as o,o as n,i as u,w as t,j as s,k as l,p as E,a3 as h,n as w,E as y,x as B,l as C,F as N,q as T}from"./index-af109ace.js";import{N as D}from"./NavTabs-a833ed0a.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,a2 as k,r as o,o as n,i as u,w as t,j as s,k as l,p as E,a3 as h,n as w,E as y,x as B,l as C,F as N,q as T}from"./index-28451437.js";import{N as D}from"./NavTabs-400c7296.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-41eeabcc.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-132d0e04.js similarity index 93% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-41eeabcc.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-132d0e04.js index b9464384272f..6a56a5eb590f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-41eeabcc.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-132d0e04.js @@ -1 +1 @@ -import{d as B,r as s,o as n,i as c,w as e,j as a,p as E,n as d,E as R,H as y,a3 as S,l as z,F as x,k as v,at as D,K as A,m as N,t as T}from"./index-af109ace.js";import{A as $}from"./AppCollection-170ebacc.js";import{S as F}from"./StatusBadge-ac5a18e6.js";import{g as L}from"./dataplane-0a086c06.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const P=B({__name:"IndexView",setup(M){function b(f){return f.map(m=>{const{name:i}=m,u={name:"zone-egress-detail-view",params:{zoneEgress:i}},{networking:t}=m.zoneEgress;let p;t!=null&&t.address&&(t!=null&&t.port)&&(p=`${t.address}:${t.port}`);const _=L(m.zoneEgressInsight??{});return{detailViewRoute:u,name:i,addressPort:p,status:_}})}return(f,m)=>{const i=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(),c(w,{src:"/me"},{default:e(({data:V})=>[V?(n(),c(I,{key:0,name:"zone-egress-list-view",params:{zone:""}},{default:e(({route:k,t:r})=>[a(C,null,{title:e(()=>[E("h2",null,[a(i,{title:r("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:l,error:g})=>[a(h,null,{body:e(()=>[g!==void 0?(n(),c(R,{key:0,error:g},null,8,["error"])):(n(),c($,{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:l==null?void 0:l.total,items:l?b(l.items):void 0,error:g,"empty-state-message":r("common.emptyState.message",{type:"Zone Egresses"}),"empty-state-cta-to":r("zone-egresses.href.docs"),"empty-state-cta-text":r("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(),c(S,{key:0,text:o},null,8,["text"])):(n(),z(x,{key:1},[d(y(r("common.collection.none")),1)],64))]),status:e(({rowValue:o})=>[o?(n(),c(F,{key:0,status:o},null,8,["status"])):(n(),z(x,{key:1},[d(y(r("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(D),{size:v(A)},null,8,["size"])]),_:1})]),items:e(()=>[a(p,{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"])):N("",!0)]),_:1})}}});const U=T(P,[["__scopeId","data-v-7274859c"]]);export{U as default}; +import{d as B,r as s,o as n,i as c,w as e,j as a,p as E,n as d,E as R,H as y,a3 as S,l as z,F as x,k as v,at as D,K as A,m as N,t as T}from"./index-28451437.js";import{A as $}from"./AppCollection-b6258a04.js";import{S as F}from"./StatusBadge-fcc954b7.js";import{g as L}from"./dataplane-0a086c06.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const P=B({__name:"IndexView",setup(M){function b(f){return f.map(m=>{const{name:i}=m,u={name:"zone-egress-detail-view",params:{zoneEgress:i}},{networking:t}=m.zoneEgress;let p;t!=null&&t.address&&(t!=null&&t.port)&&(p=`${t.address}:${t.port}`);const _=L(m.zoneEgressInsight??{});return{detailViewRoute:u,name:i,addressPort:p,status:_}})}return(f,m)=>{const i=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(),c(w,{src:"/me"},{default:e(({data:V})=>[V?(n(),c(I,{key:0,name:"zone-egress-list-view",params:{zone:""}},{default:e(({route:k,t:r})=>[a(C,null,{title:e(()=>[E("h2",null,[a(i,{title:r("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:l,error:g})=>[a(h,null,{body:e(()=>[g!==void 0?(n(),c(R,{key:0,error:g},null,8,["error"])):(n(),c($,{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:l==null?void 0:l.total,items:l?b(l.items):void 0,error:g,"empty-state-message":r("common.emptyState.message",{type:"Zone Egresses"}),"empty-state-cta-to":r("zone-egresses.href.docs"),"empty-state-cta-text":r("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(),c(S,{key:0,text:o},null,8,["text"])):(n(),z(x,{key:1},[d(y(r("common.collection.none")),1)],64))]),status:e(({rowValue:o})=>[o?(n(),c(F,{key:0,status:o},null,8,["status"])):(n(),z(x,{key:1},[d(y(r("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(D),{size:v(A)},null,8,["size"])]),_:1})]),items:e(()=>[a(p,{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"])):N("",!0)]),_:1})}}});const U=T(P,[["__scopeId","data-v-7274859c"]]);export{U as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-316787fa.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-3585a4b2.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-316787fa.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-3585a4b2.js index 71bfe1b2c3c8..31c6fcb1bc56 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-316787fa.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-3585a4b2.js @@ -1 +1 @@ -import{d as x,g as V,a2 as R,r as n,o,i as u,w as t,j as s,k as l,p as k,a3 as h,n as w,E as y,x as B,l as C,F as I,q as N}from"./index-af109ace.js";import{N as T}from"./NavTabs-a833ed0a.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,a2 as R,r as n,o,i as u,w as t,j as s,k as l,p as k,a3 as h,n as w,E as y,x as B,l as C,F as I,q as N}from"./index-28451437.js";import{N as T}from"./NavTabs-400c7296.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-e8f9c6d4.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-6f39c69e.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-e8f9c6d4.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-6f39c69e.js index a19af78305ce..1f545a7e9bfd 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-e8f9c6d4.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-6f39c69e.js @@ -1 +1 @@ -import{d as N,g as R,Q as T,a2 as E,y as A,o as r,l as B,j as c,w as n,k as e,au as D,aM as M,n as _,H as C,as as I,i as d,p as g,m as Z,r as b,E as $,x as L,a5 as j,a3 as P,q}from"./index-af109ace.js";import{_ as G}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-65b39039.js";import{N as Y}from"./NavTabs-a833ed0a.js";const H=N({__name:"ZoneActionMenu",props:{zoneOverview:{type:Object,required:!0},kpopAttributes:{type:Object,default:()=>({placement:"bottomEnd"})}},setup(h){const{t}=R(),x=T(),O=E(),l=h,u=A(!1);function v(){u.value=!u.value}async function w(){await x.deleteZone({name:l.zoneOverview.name})}function o(){O.push({name:"zone-cp-list-view"})}return(i,a)=>(r(),B("div",null,[c(e(I),{"button-appearance":"creation","kpop-attributes":l.kpopAttributes,label:e(t)("zones.action_menu.toggle_button"),"show-caret":"",width:"280"},{items:n(()=>[c(e(D),{"is-dangerous":"","data-testid":"delete-button",onClick:M(v,["prevent"])},{default:n(()=>[_(C(e(t)("zones.action_menu.delete_button")),1)]),_:1},8,["onClick"])]),_:1},8,["kpop-attributes","label"]),_(),u.value?(r(),d(G,{key:0,"confirmation-text":l.zoneOverview.name,"delete-function":w,"is-visible":"","action-button-text":e(t)("common.delete_modal.proceed_button"),title:e(t)("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:v,onDelete:o},{"body-content":n(()=>[g("p",null,C(e(t)("common.delete_modal.text1",{type:"Zone",name:l.zoneOverview.name})),1),_(),g("p",null,C(e(t)("common.delete_modal.text2")),1)]),_:1},8,["confirmation-text","action-button-text","title"])):Z("",!0)]))}}),W=N({__name:"IndexView",setup(h){var w;const{t}=R(),l=(((w=E().getRoutes().find(o=>o.name==="zone-cp-detail-tabs-view"))==null?void 0:w.children)??[]).map(o=>{var s,p;const i=typeof o.name>"u"?(s=o.children)==null?void 0:s[0]:o,a=i.name,m=((p=i.meta)==null?void 0:p.module)??"";return{title:t(`zone-cps.routes.item.navigation.${a}`),routeName:a,module:m}}),u=A([]),v=o=>{var m,f;const i=[],a=((m=o.zoneInsight)==null?void 0:m.subscriptions)??[];if(a.length>0){const s=a[a.length-1],p=s.version.kumaCp.version||"-",{kumaCpGlobalCompatible:z=!0}=s.version.kumaCp;s.config&&((f=JSON.parse(s.config))==null?void 0:f.store.type)==="memory"&&i.push({kind:"ZONE_STORE_TYPE_MEMORY",payload:{}}),z||i.push({kind:"INCOMPATIBLE_ZONE_AND_GLOBAL_CPS_VERSIONS",payload:{zoneCpVersion:p}})}u.value=i};return(o,i)=>{const a=b("RouteTitle"),m=b("RouterView"),f=b("AppView"),s=b("DataSource"),p=b("RouteView");return r(),d(p,{name:"zone-cp-detail-tabs-view",params:{zone:""}},{default:n(({can:z,route:k})=>[c(s,{src:`/zone-cps/${k.params.zone}`,onChange:v},{default:n(({data:y,error:V})=>[V!==void 0?(r(),d($,{key:0,error:V},null,8,["error"])):y===void 0?(r(),d(L,{key:1})):(r(),d(f,{key:2,breadcrumbs:[{to:{name:"zone-cp-list-view"},text:e(t)("zone-cps.routes.item.breadcrumbs")}]},j({title:n(()=>[g("h1",null,[c(P,{text:k.params.zone},{default:n(()=>[c(a,{title:e(t)("zone-cps.routes.item.title",{name:k.params.zone}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:n(()=>[_(),_(),c(Y,{class:"route-zone-detail-view-tabs",tabs:e(l)},null,8,["tabs"]),_(),c(m,null,{default:n(S=>[(r(),d(q(S.Component),{data:y,notifications:u.value},null,8,["data","notifications"]))]),_:2},1024)]),_:2},[z("create zones")?{name:"actions",fn:n(()=>[c(H,{"zone-overview":y},null,8,["zone-overview"])]),key:"0"}:void 0]),1032,["breadcrumbs"]))]),_:2},1032,["src"])]),_:1})}}});export{W as default}; +import{d as N,g as R,Q as T,a2 as E,y as A,o as r,l as B,j as c,w as n,k as e,au as D,aM as M,n as _,H as C,as as I,i as d,p as g,m as Z,r as b,E as $,x as L,a5 as j,a3 as P,q}from"./index-28451437.js";import{_ as G}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-113a7c47.js";import{N as Y}from"./NavTabs-400c7296.js";const H=N({__name:"ZoneActionMenu",props:{zoneOverview:{type:Object,required:!0},kpopAttributes:{type:Object,default:()=>({placement:"bottomEnd"})}},setup(h){const{t}=R(),x=T(),O=E(),l=h,u=A(!1);function v(){u.value=!u.value}async function w(){await x.deleteZone({name:l.zoneOverview.name})}function o(){O.push({name:"zone-cp-list-view"})}return(i,a)=>(r(),B("div",null,[c(e(I),{"button-appearance":"creation","kpop-attributes":l.kpopAttributes,label:e(t)("zones.action_menu.toggle_button"),"show-caret":"",width:"280"},{items:n(()=>[c(e(D),{"is-dangerous":"","data-testid":"delete-button",onClick:M(v,["prevent"])},{default:n(()=>[_(C(e(t)("zones.action_menu.delete_button")),1)]),_:1},8,["onClick"])]),_:1},8,["kpop-attributes","label"]),_(),u.value?(r(),d(G,{key:0,"confirmation-text":l.zoneOverview.name,"delete-function":w,"is-visible":"","action-button-text":e(t)("common.delete_modal.proceed_button"),title:e(t)("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:v,onDelete:o},{"body-content":n(()=>[g("p",null,C(e(t)("common.delete_modal.text1",{type:"Zone",name:l.zoneOverview.name})),1),_(),g("p",null,C(e(t)("common.delete_modal.text2")),1)]),_:1},8,["confirmation-text","action-button-text","title"])):Z("",!0)]))}}),W=N({__name:"IndexView",setup(h){var w;const{t}=R(),l=(((w=E().getRoutes().find(o=>o.name==="zone-cp-detail-tabs-view"))==null?void 0:w.children)??[]).map(o=>{var s,p;const i=typeof o.name>"u"?(s=o.children)==null?void 0:s[0]:o,a=i.name,m=((p=i.meta)==null?void 0:p.module)??"";return{title:t(`zone-cps.routes.item.navigation.${a}`),routeName:a,module:m}}),u=A([]),v=o=>{var m,f;const i=[],a=((m=o.zoneInsight)==null?void 0:m.subscriptions)??[];if(a.length>0){const s=a[a.length-1],p=s.version.kumaCp.version||"-",{kumaCpGlobalCompatible:z=!0}=s.version.kumaCp;s.config&&((f=JSON.parse(s.config))==null?void 0:f.store.type)==="memory"&&i.push({kind:"ZONE_STORE_TYPE_MEMORY",payload:{}}),z||i.push({kind:"INCOMPATIBLE_ZONE_AND_GLOBAL_CPS_VERSIONS",payload:{zoneCpVersion:p}})}u.value=i};return(o,i)=>{const a=b("RouteTitle"),m=b("RouterView"),f=b("AppView"),s=b("DataSource"),p=b("RouteView");return r(),d(p,{name:"zone-cp-detail-tabs-view",params:{zone:""}},{default:n(({can:z,route:k})=>[c(s,{src:`/zone-cps/${k.params.zone}`,onChange:v},{default:n(({data:y,error:V})=>[V!==void 0?(r(),d($,{key:0,error:V},null,8,["error"])):y===void 0?(r(),d(L,{key:1})):(r(),d(f,{key:2,breadcrumbs:[{to:{name:"zone-cp-list-view"},text:e(t)("zone-cps.routes.item.breadcrumbs")}]},j({title:n(()=>[g("h1",null,[c(P,{text:k.params.zone},{default:n(()=>[c(a,{title:e(t)("zone-cps.routes.item.title",{name:k.params.zone}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:n(()=>[_(),_(),c(Y,{class:"route-zone-detail-view-tabs",tabs:e(l)},null,8,["tabs"]),_(),c(m,null,{default:n(S=>[(r(),d(q(S.Component),{data:y,notifications:u.value},null,8,["data","notifications"]))]),_:2},1024)]),_:2},[z("create zones")?{name:"actions",fn:n(()=>[c(H,{"zone-overview":y},null,8,["zone-overview"])]),key:"0"}:void 0]),1032,["breadcrumbs"]))]),_:2},1032,["src"])]),_:1})}}});export{W as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-098f0f2d.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-76125280.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-098f0f2d.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-76125280.js index dd4bbd3f734f..62baa758e502 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-098f0f2d.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-76125280.js @@ -1 +1 @@ -import{d as S,r as s,o as n,i as c,w as t,j as a,p as T,n as i,E as B,H as u,a3 as K,l as g,F as I,k as b,aK as D,K as E,m as N,t as P}from"./index-af109ace.js";import{A as $}from"./AppCollection-170ebacc.js";import{S as L}from"./StatusBadge-ac5a18e6.js";import{g as O}from"./dataplane-0a086c06.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const F=S({__name:"IndexView",setup(U){function w(z){return z.map(l=>{const{name:m}=l,y={name:"zone-ingress-detail-view",params:{zoneIngress:m}},{networking:e}=l.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(l.zoneIngressInsight??{});return{detailViewRoute:y,name:m,addressPort:p,advertisedAddressPort:_,status:f}})}return(z,l)=>{const m=s("RouteTitle"),y=s("RouterLink"),e=s("KIcon"),p=s("KButton"),_=s("KDropdownItem"),f=s("KDropdownMenu"),A=s("KCard"),k=s("DataSource"),C=s("AppView"),R=s("RouteView");return n(),c(k,{src:"/me"},{default:t(({data:h})=>[h?(n(),c(R,{key:0,name:"zone-ingress-list-view",params:{zone:""}},{default:t(({route:x,t:r})=>[a(C,null,{title:t(()=>[T("h2",null,[a(m,{title:r("zone-ingresses.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[i(),a(k,{src:`/zone-cps/${x.params.zone}/ingresses?page=1&size=100`},{default:t(({data:d,error:v})=>[a(A,null,{body:t(()=>[v!==void 0?(n(),c(B,{key:0,error:v},null,8,["error"])):(n(),c($,{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?w(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(()=>[i(u(V),1)]),_:2},1032,["to"])]),addressPort:t(({rowValue:o})=>[o?(n(),c(K,{key:0,text:o},null,8,["text"])):(n(),g(I,{key:1},[i(u(r("common.collection.none")),1)],64))]),advertisedAddressPort:t(({rowValue:o})=>[o?(n(),c(K,{key:0,text:o},null,8,["text"])):(n(),g(I,{key:1},[i(u(r("common.collection.none")),1)],64))]),status:t(({rowValue:o})=>[o?(n(),c(L,{key:0,status:o},null,8,["status"])):(n(),g(I,{key:1},[i(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:b(D),icon:"more",size:b(E)},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"])):N("",!0)]),_:1})}}});const W=P(F,[["__scopeId","data-v-d54517cf"]]);export{W as default}; +import{d as S,r as s,o as n,i as c,w as t,j as a,p as T,n as i,E as B,H as u,a3 as K,l as g,F as I,k as b,aK as D,K as E,m as N,t as P}from"./index-28451437.js";import{A as $}from"./AppCollection-b6258a04.js";import{S as L}from"./StatusBadge-fcc954b7.js";import{g as O}from"./dataplane-0a086c06.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const F=S({__name:"IndexView",setup(U){function w(z){return z.map(l=>{const{name:m}=l,y={name:"zone-ingress-detail-view",params:{zoneIngress:m}},{networking:e}=l.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(l.zoneIngressInsight??{});return{detailViewRoute:y,name:m,addressPort:p,advertisedAddressPort:_,status:f}})}return(z,l)=>{const m=s("RouteTitle"),y=s("RouterLink"),e=s("KIcon"),p=s("KButton"),_=s("KDropdownItem"),f=s("KDropdownMenu"),A=s("KCard"),k=s("DataSource"),C=s("AppView"),R=s("RouteView");return n(),c(k,{src:"/me"},{default:t(({data:h})=>[h?(n(),c(R,{key:0,name:"zone-ingress-list-view",params:{zone:""}},{default:t(({route:x,t:r})=>[a(C,null,{title:t(()=>[T("h2",null,[a(m,{title:r("zone-ingresses.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[i(),a(k,{src:`/zone-cps/${x.params.zone}/ingresses?page=1&size=100`},{default:t(({data:d,error:v})=>[a(A,null,{body:t(()=>[v!==void 0?(n(),c(B,{key:0,error:v},null,8,["error"])):(n(),c($,{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?w(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(()=>[i(u(V),1)]),_:2},1032,["to"])]),addressPort:t(({rowValue:o})=>[o?(n(),c(K,{key:0,text:o},null,8,["text"])):(n(),g(I,{key:1},[i(u(r("common.collection.none")),1)],64))]),advertisedAddressPort:t(({rowValue:o})=>[o?(n(),c(K,{key:0,text:o},null,8,["text"])):(n(),g(I,{key:1},[i(u(r("common.collection.none")),1)],64))]),status:t(({rowValue:o})=>[o?(n(),c(L,{key:0,status:o},null,8,["status"])):(n(),g(I,{key:1},[i(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:b(D),icon:"more",size:b(E)},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"])):N("",!0)]),_:1})}}});const W=P(F,[["__scopeId","data-v-d54517cf"]]);export{W as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-58903170.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-b962a60e.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-58903170.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-b962a60e.js index 8cdda5a26144..2543d8b65fd9 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-58903170.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-b962a60e.js @@ -1 +1 @@ -import{d as W,Q as H,y as C,r as V,o,i as h,w as e,j as p,a5 as Q,p as x,n as s,k as f,a6 as X,E as q,H as m,l as v,F as w,I as T,a8 as Y,m as S,v as ee,K as B,as as te,W as L,aJ as ne,aK as oe,au as K,t as se}from"./index-af109ace.js";import{g as ae}from"./index-8b8b41d0.js";import{A as le}from"./AppCollection-170ebacc.js";import{_ as ie}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-65b39039.js";import{S as ce}from"./StatusBadge-ac5a18e6.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const re=["data-testid"],ue=W({__name:"IndexView",setup(me){const O=H(),R=C(!1),Z=C(!1),I=C(""),D=C({}),$=C({}),A=a=>{let i="offline";return a.length>0&&(i="online",typeof a[a.length-1].disconnectTime<"u"&&(i="offline")),i},U=a=>{const i="zoneIngress";D.value=a.items.reduce((l,c)=>{var g,_;const r=(g=c[i])==null?void 0:g.zone;if(typeof r<"u"){typeof l[r]>"u"&&(l[r]={online:[],offline:[]});const z=((_=c[`${i}Insight`])==null?void 0:_.subscriptions)||[],y=A(z);l[r][y].push(c)}return l},{})},j=a=>{const i="zoneEgress";$.value=a.items.reduce((l,c)=>{var g,_;const r=(g=c[i])==null?void 0:g.zone;if(typeof r<"u"){typeof l[r]>"u"&&(l[r]={online:[],offline:[]});const z=((_=c[`${i}Insight`])==null?void 0:_.subscriptions)||[],y=A(z);l[r][y].push(c)}return l},{})};function F(a){return a.map(i=>{var b;const{name:l}=i,c={name:"zone-cp-detail-view",params:{zone:l}};let r="",g="kubernetes",_=!1,z=!0;(((b=i.zoneInsight)==null?void 0:b.subscriptions)??[]).forEach(d=>{if(d.version&&d.version.kumaCp){r=d.version.kumaCp.version;const{kumaCpGlobalCompatible:k=!0}=d.version.kumaCp;z=k}if(d.config){const k=JSON.parse(d.config);g=k.environment,_=k.store.type==="memory"}});const t=ae(i);return{detailViewRoute:c,name:l,status:t,zoneCpVersion:r,type:g,warnings:{version_mismatch:!z,store_memory:_}}})}async function G(){await O.deleteZone({name:I.value})}function E(){R.value=!R.value}function J(a){E(),I.value=a}function M(a){Z.value=(a==null?void 0:a.items.length)>0}return(a,i)=>{const l=V("RouteTitle"),c=V("DataSource"),r=V("RouterLink"),g=V("AppView"),_=V("RouteView");return o(),h(c,{src:"/me"},{default:e(({data:z})=>[z?(o(),h(_,{key:0,name:"zone-cp-list-view",params:{page:1,size:z.pageSize}},{default:e(({route:y,t,can:b})=>[p(g,null,Q({title:e(()=>[x("h1",null,[p(l,{title:t("zone-cps.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[s(),s(),p(c,{src:`/zone-cps?page=${y.params.page}&size=${y.params.size}`,onChange:M},{default:e(({data:d,error:k,refresh:P})=>[p(c,{src:"/zone-ingress-overviews?page=1&size=100",onChange:U}),s(),p(c,{src:"/zone-egress-overviews?page=1&size=100",onChange:j}),s(),p(f(X),null,{body:e(()=>[k!==void 0?(o(),h(q,{key:0,error:k},null,8,["error"])):(o(),h(le,{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:"Ingresses (online / total)",key:"ingress"},{label:"Egresses (online / total)",key:"egress"},{label:"Status",key:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":parseInt(y.params.page),"page-size":parseInt(y.params.size),total:d==null?void 0:d.total,items:d?F(d.items):void 0,error:k,"empty-state-title":b("create zones")?t("zone-cps.empty_state.title"):void 0,"empty-state-message":b("create zones")?t("zone-cps.empty_state.message"):void 0,"empty-state-cta-to":b("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":b("create zones")?t("zones.index.create"):void 0,onChange:y.update},{name:e(({row:n,rowValue:u})=>[p(r,{to:n.detailViewRoute,"data-testid":"detail-view-link"},{default:e(()=>[s(m(u),1)]),_:2},1032,["to"])]),zoneCpVersion:e(({rowValue:n})=>[s(m(n||t("common.collection.none")),1)]),type:e(({rowValue:n})=>[s(m(n||t("common.collection.none")),1)]),ingress:e(({row:n})=>[(o(!0),v(w,null,T([D.value[n.name]||{online:[],offline:[]}],u=>(o(),v(w,null,[s(m(u.online.length)+" / "+m(u.online.length+u.offline.length),1)],64))),256))]),egress:e(({row:n})=>[(o(!0),v(w,null,T([$.value[n.name]||{online:[],offline:[]}],u=>(o(),v(w,null,[s(m(u.online.length)+" / "+m(u.online.length+u.offline.length),1)],64))),256))]),status:e(({rowValue:n})=>[n?(o(),h(ce,{key:0,status:n},null,8,["status"])):(o(),v(w,{key:1},[s(m(t("common.collection.none")),1)],64))]),warnings:e(({row:n})=>[Object.values(n.warnings).some(u=>u)?(o(),h(f(Y),{key:0},{content:e(()=>[x("ul",null,[(o(!0),v(w,null,T(n.warnings,(u,N)=>(o(),v(w,{key:N},[u?(o(),v("li",{key:0,"data-testid":`warning-${N}`},m(t(`zone-cps.list.${N}`)),9,re)):S("",!0)],64))),128))])]),default:e(()=>[s(),p(ee,{"data-testid":"warning",class:"mr-1",size:f(B),"hide-title":""},null,8,["size"])]),_:2},1024)):(o(),v(w,{key:1},[s(m(t("common.collection.none")),1)],64))]),actions:e(({row:n})=>[p(f(te),{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[p(f(L),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:e(()=>[p(f(ne),{color:f(oe),icon:"more",size:f(B)},null,8,["color","size"])]),_:1})]),items:e(()=>[p(f(K),{item:{to:n.detailViewRoute,label:t("common.collection.actions.view")}},null,8,["item"]),s(),b("create zones")?(o(),h(f(K),{key:0,"has-divider":"","is-dangerous":"","data-testid":"dropdown-delete-item",onClick:u=>J(n.name)},{default:e(()=>[s(m(t("common.collection.actions.delete")),1)]),_:2},1032,["onClick"])):S("",!0)]),_:2},1024)]),_:2},1032,["headers","page-number","page-size","total","items","error","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024),s(),R.value?(o(),h(ie,{key:0,"confirmation-text":I.value,"delete-function":G,"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:E,onDelete:()=>{E(),P()}},{"body-content":e(()=>[x("p",null,m(t("common.delete_modal.text1",{type:"Zone",name:I.value})),1),s(),x("p",null,m(t("common.delete_modal.text2")),1)]),_:2},1032,["confirmation-text","action-button-text","title","onDelete"])):S("",!0)]),_:2},1032,["src"])]),_:2},[b("create zones")&&Z.value?{name:"actions",fn:e(()=>[p(f(L),{appearance:"primary",icon:"plus",to:{name:"zone-create-view"},"data-testid":"create-zone-link"},{default:e(()=>[s(m(t("zones.index.create")),1)]),_:2},1024)]),key:"0"}:void 0]),1024)]),_:2},1032,["params"])):S("",!0)]),_:1})}}});const ze=se(ue,[["__scopeId","data-v-6b837d95"]]);export{ze as default}; +import{d as W,Q as H,y as C,r as V,o,i as h,w as e,j as p,a5 as Q,p as x,n as s,k as f,a6 as X,E as q,H as m,l as v,F as w,I as T,a8 as Y,m as S,v as ee,K as B,as as te,W as L,aJ as ne,aK as oe,au as K,t as se}from"./index-28451437.js";import{g as ae}from"./index-270afb1d.js";import{A as le}from"./AppCollection-b6258a04.js";import{_ as ie}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-113a7c47.js";import{S as ce}from"./StatusBadge-fcc954b7.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const re=["data-testid"],ue=W({__name:"IndexView",setup(me){const O=H(),R=C(!1),Z=C(!1),I=C(""),D=C({}),$=C({}),A=a=>{let i="offline";return a.length>0&&(i="online",typeof a[a.length-1].disconnectTime<"u"&&(i="offline")),i},U=a=>{const i="zoneIngress";D.value=a.items.reduce((l,c)=>{var g,_;const r=(g=c[i])==null?void 0:g.zone;if(typeof r<"u"){typeof l[r]>"u"&&(l[r]={online:[],offline:[]});const z=((_=c[`${i}Insight`])==null?void 0:_.subscriptions)||[],y=A(z);l[r][y].push(c)}return l},{})},j=a=>{const i="zoneEgress";$.value=a.items.reduce((l,c)=>{var g,_;const r=(g=c[i])==null?void 0:g.zone;if(typeof r<"u"){typeof l[r]>"u"&&(l[r]={online:[],offline:[]});const z=((_=c[`${i}Insight`])==null?void 0:_.subscriptions)||[],y=A(z);l[r][y].push(c)}return l},{})};function F(a){return a.map(i=>{var b;const{name:l}=i,c={name:"zone-cp-detail-view",params:{zone:l}};let r="",g="kubernetes",_=!1,z=!0;(((b=i.zoneInsight)==null?void 0:b.subscriptions)??[]).forEach(d=>{if(d.version&&d.version.kumaCp){r=d.version.kumaCp.version;const{kumaCpGlobalCompatible:k=!0}=d.version.kumaCp;z=k}if(d.config){const k=JSON.parse(d.config);g=k.environment,_=k.store.type==="memory"}});const t=ae(i);return{detailViewRoute:c,name:l,status:t,zoneCpVersion:r,type:g,warnings:{version_mismatch:!z,store_memory:_}}})}async function G(){await O.deleteZone({name:I.value})}function E(){R.value=!R.value}function J(a){E(),I.value=a}function M(a){Z.value=(a==null?void 0:a.items.length)>0}return(a,i)=>{const l=V("RouteTitle"),c=V("DataSource"),r=V("RouterLink"),g=V("AppView"),_=V("RouteView");return o(),h(c,{src:"/me"},{default:e(({data:z})=>[z?(o(),h(_,{key:0,name:"zone-cp-list-view",params:{page:1,size:z.pageSize}},{default:e(({route:y,t,can:b})=>[p(g,null,Q({title:e(()=>[x("h1",null,[p(l,{title:t("zone-cps.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[s(),s(),p(c,{src:`/zone-cps?page=${y.params.page}&size=${y.params.size}`,onChange:M},{default:e(({data:d,error:k,refresh:P})=>[p(c,{src:"/zone-ingress-overviews?page=1&size=100",onChange:U}),s(),p(c,{src:"/zone-egress-overviews?page=1&size=100",onChange:j}),s(),p(f(X),null,{body:e(()=>[k!==void 0?(o(),h(q,{key:0,error:k},null,8,["error"])):(o(),h(le,{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:"Ingresses (online / total)",key:"ingress"},{label:"Egresses (online / total)",key:"egress"},{label:"Status",key:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":parseInt(y.params.page),"page-size":parseInt(y.params.size),total:d==null?void 0:d.total,items:d?F(d.items):void 0,error:k,"empty-state-title":b("create zones")?t("zone-cps.empty_state.title"):void 0,"empty-state-message":b("create zones")?t("zone-cps.empty_state.message"):void 0,"empty-state-cta-to":b("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":b("create zones")?t("zones.index.create"):void 0,onChange:y.update},{name:e(({row:n,rowValue:u})=>[p(r,{to:n.detailViewRoute,"data-testid":"detail-view-link"},{default:e(()=>[s(m(u),1)]),_:2},1032,["to"])]),zoneCpVersion:e(({rowValue:n})=>[s(m(n||t("common.collection.none")),1)]),type:e(({rowValue:n})=>[s(m(n||t("common.collection.none")),1)]),ingress:e(({row:n})=>[(o(!0),v(w,null,T([D.value[n.name]||{online:[],offline:[]}],u=>(o(),v(w,null,[s(m(u.online.length)+" / "+m(u.online.length+u.offline.length),1)],64))),256))]),egress:e(({row:n})=>[(o(!0),v(w,null,T([$.value[n.name]||{online:[],offline:[]}],u=>(o(),v(w,null,[s(m(u.online.length)+" / "+m(u.online.length+u.offline.length),1)],64))),256))]),status:e(({rowValue:n})=>[n?(o(),h(ce,{key:0,status:n},null,8,["status"])):(o(),v(w,{key:1},[s(m(t("common.collection.none")),1)],64))]),warnings:e(({row:n})=>[Object.values(n.warnings).some(u=>u)?(o(),h(f(Y),{key:0},{content:e(()=>[x("ul",null,[(o(!0),v(w,null,T(n.warnings,(u,N)=>(o(),v(w,{key:N},[u?(o(),v("li",{key:0,"data-testid":`warning-${N}`},m(t(`zone-cps.list.${N}`)),9,re)):S("",!0)],64))),128))])]),default:e(()=>[s(),p(ee,{"data-testid":"warning",class:"mr-1",size:f(B),"hide-title":""},null,8,["size"])]),_:2},1024)):(o(),v(w,{key:1},[s(m(t("common.collection.none")),1)],64))]),actions:e(({row:n})=>[p(f(te),{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[p(f(L),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:e(()=>[p(f(ne),{color:f(oe),icon:"more",size:f(B)},null,8,["color","size"])]),_:1})]),items:e(()=>[p(f(K),{item:{to:n.detailViewRoute,label:t("common.collection.actions.view")}},null,8,["item"]),s(),b("create zones")?(o(),h(f(K),{key:0,"has-divider":"","is-dangerous":"","data-testid":"dropdown-delete-item",onClick:u=>J(n.name)},{default:e(()=>[s(m(t("common.collection.actions.delete")),1)]),_:2},1032,["onClick"])):S("",!0)]),_:2},1024)]),_:2},1032,["headers","page-number","page-size","total","items","error","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024),s(),R.value?(o(),h(ie,{key:0,"confirmation-text":I.value,"delete-function":G,"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:E,onDelete:()=>{E(),P()}},{"body-content":e(()=>[x("p",null,m(t("common.delete_modal.text1",{type:"Zone",name:I.value})),1),s(),x("p",null,m(t("common.delete_modal.text2")),1)]),_:2},1032,["confirmation-text","action-button-text","title","onDelete"])):S("",!0)]),_:2},1032,["src"])]),_:2},[b("create zones")&&Z.value?{name:"actions",fn:e(()=>[p(f(L),{appearance:"primary",icon:"plus",to:{name:"zone-create-view"},"data-testid":"create-zone-link"},{default:e(()=>[s(m(t("zones.index.create")),1)]),_:2},1024)]),key:"0"}:void 0]),1024)]),_:2},1032,["params"])):S("",!0)]),_:1})}}});const ze=se(ue,[["__scopeId","data-v-6b837d95"]]);export{ze as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/KFilterBar-ed682188.js b/app/kuma-ui/pkg/resources/data/assets/KFilterBar-d93b3a1d.js similarity index 98% rename from app/kuma-ui/pkg/resources/data/assets/KFilterBar-ed682188.js rename to app/kuma-ui/pkg/resources/data/assets/KFilterBar-d93b3a1d.js index 2e53cba20ff0..1d95bc32c18b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/KFilterBar-ed682188.js +++ b/app/kuma-ui/pkg/resources/data/assets/KFilterBar-d93b3a1d.js @@ -1,2 +1,2 @@ -var ce=Object.defineProperty;var de=(s,o,t)=>o in s?ce(s,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[o]=t;var O=(s,o,t)=>(de(s,typeof o!="symbol"?o+"":o,t),t);import{d as oe,g as pe,f as me,r as fe,o as c,i as $,w as f,S as ie,j as I,n as p,H as y,l as h,F as N,k as r,a8 as ge,p as S,I as le,m as V,v as ve,K as q,as as ye,W as he,at as be,au as ke,t as re,y as A,h as G,ah as ae,av as _e,aw as Se,ax as we,B as ne,ay as Te,az as Ce,z as xe,U as Ie,D as ze,G as De}from"./index-af109ace.js";import{A as Le}from"./AppCollection-170ebacc.js";import{S as Ae}from"./StatusBadge-ac5a18e6.js";import{d as Ne,a as Fe,c as Ee,C as Be}from"./dataplane-0a086c06.js";const Ue={key:0},Me=oe({__name:"DataPlaneList",props:{total:{default:0},pageNumber:{},pageSize:{},items:{},error:{},gateways:{type:Boolean,default:!1}},emits:["load-data","change"],setup(s,{emit:o}){const{t,formatIsoDate:w}=pe(),b=me(),a=s,i=o,T=b("use zones");function k(g){return g.map(u=>{var R,E,D,H,e,l,d,L,X,ee;const v=u.mesh,n=u.name,_=((R=u.dataplane.networking.gateway)==null?void 0:R.type)||"STANDARD",C=["kuma.io/protocol","kuma.io/service","kuma.io/zone"],F=Ne(u.dataplane).filter(m=>C.includes(m.label)),B=(E=F.find(m=>m.label==="kuma.io/service"))==null?void 0:E.value,W=(D=F.find(m=>m.label==="kuma.io/protocol"))==null?void 0:D.value,U=(H=F.find(m=>m.label==="kuma.io/zone"))==null?void 0:H.value;let M;B!==void 0&&(M={name:"service-detail-view",params:{mesh:v,service:B}});let j;U!==void 0&&(j={name:"zone-cp-detail-view",params:{zone:U}});const{status:Z}=Fe(u.dataplane,u.dataplaneInsight),K=((e=u.dataplaneInsight)==null?void 0:e.subscriptions)??[],J={dpVersion:null,selectedUpdateTime:NaN,version:null},x=K.reduce((m,P)=>{var te;const Y=Date.parse(P.status.lastUpdateTime);return Y&&(!m.selectedUpdateTime||Y>m.selectedUpdateTime)&&(m.selectedUpdateTime=Y),{dpVersion:((te=P.version)==null?void 0:te.kumaDp.version)||m.dpVersion,selectedUpdateTime:m.selectedUpdateTime,version:P.version||m.version}},J),z={name:n,type:_,zone:{title:U??t("common.collection.none"),route:j},service:{title:B??t("common.collection.none"),route:M},protocol:W??t("common.collection.none"),status:Z,warnings:{version_mismatch:!1,cert_expired:!1},lastUpdated:x.selectedUpdateTime?w(new Date(x.selectedUpdateTime).toUTCString()):t("common.collection.none"),isGateway:((d=(l=u.dataplane)==null?void 0:l.networking)==null?void 0:d.gateway)!==void 0};if(x.version){const{kind:m}=Ee(x.version);m!==Be&&(z.warnings.version_mismatch=!0)}T&&x.dpVersion&&F.find(P=>P.label==="kuma.io/zone")&&typeof((L=x.version)==null?void 0:L.kumaDp.kumaCpCompatible)=="boolean"&&!x.version.kumaDp.kumaCpCompatible&&(z.warnings.version_mismatch=!0);const Q=(ee=(X=u.dataplaneInsight)==null?void 0:X.mTLS)==null?void 0:ee.certificateExpirationTime;return Q&&Date.now()>new Date(Q).getTime()&&(z.warnings.cert_expired=!0),z})}return(g,u)=>{const v=fe("RouterLink");return c(),$(Le,{"empty-state-message":r(t)("common.emptyState.message",{type:a.gateways?"Gateways":"Data Plane Proxies"}),"empty-state-cta-to":r(t)(`data-planes.href.docs.${a.gateways?"gateway":"data_plane_proxy"}`),"empty-state-cta-text":r(t)("common.documentation"),headers:[{label:"Name",key:"name"},...a.gateways?[{label:"Type",key:"type"}]:[],{label:"Service",key:"service"},...a.gateways?[]:[{label:"Protocol",key:"protocol"}],...r(T)?[{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?k(a.items):void 0,error:a.error,onChange:u[0]||(u[0]=n=>i("change",n))},{toolbar:f(()=>[ie(g.$slots,"toolbar",{},void 0,!0)]),name:f(({row:n})=>[I(v,{to:{name:n.isGateway?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:n.name}},"data-testid":"detail-view-link"},{default:f(()=>[p(y(n.name),1)]),_:2},1032,["to"])]),service:f(({rowValue:n})=>[n.route?(c(),$(v,{key:0,to:n.route},{default:f(()=>[p(y(n.title),1)]),_:2},1032,["to"])):(c(),h(N,{key:1},[p(y(n.title),1)],64))]),zone:f(({rowValue:n})=>[n.route?(c(),$(v,{key:0,to:n.route},{default:f(()=>[p(y(n.title),1)]),_:2},1032,["to"])):(c(),h(N,{key:1},[p(y(n.title),1)],64))]),status:f(({rowValue:n})=>[n?(c(),$(Ae,{key:0,status:n},null,8,["status"])):(c(),h(N,{key:1},[p(y(r(t)("common.collection.none")),1)],64))]),warnings:f(({row:n})=>[Object.values(n.warnings).some(_=>_)?(c(),$(r(ge),{key:0},{content:f(()=>[S("ul",null,[(c(!0),h(N,null,le(n.warnings,(_,C)=>(c(),h(N,{key:C},[_?(c(),h("li",Ue,y(r(t)(`data-planes.components.data-plane-list.${C}`)),1)):V("",!0)],64))),128))])]),default:f(()=>[p(),I(ve,{class:"mr-1",size:r(q),"hide-title":""},null,8,["size"])]),_:2},1024)):(c(),h(N,{key:1},[p(y(r(t)("common.collection.none")),1)],64))]),certificate:f(({row:n})=>{var _,C;return[p(y((C=(_=n.dataplaneInsight)==null?void 0:_.mTLS)!=null&&C.certificateExpirationTime?r(w)(new Date(n.dataplaneInsight.mTLS.certificateExpirationTime).toUTCString()):r(t)("data-planes.components.data-plane-list.certificate.none")),1)]}),actions:f(({row:n})=>[I(r(ye),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:f(()=>[I(r(he),{class:"non-visual-button",appearance:"secondary",size:"small"},{default:f(()=>[I(r(be),{size:r(q)},null,8,["size"])]),_:1})]),items:f(()=>[I(r(ke),{item:{to:{name:n.isGateway?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:n.name}},label:r(t)("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 ut=re(Me,[["__scopeId","data-v-be733e47"]]);function Pe(s,o,t){return Math.max(o,Math.min(s,t))}const $e=["ControlLeft","ControlRight","ShiftLeft","ShiftRight","AltLeft"];class qe{constructor(o,t){O(this,"commands");O(this,"keyMap");O(this,"boundTriggerShortcuts");this.commands=t,this.keyMap=Object.fromEntries(Object.entries(o).map(([w,b])=>[w.toLowerCase(),b])),this.boundTriggerShortcuts=this.triggerShortcuts.bind(this)}registerListener(){document.addEventListener("keydown",this.boundTriggerShortcuts)}unRegisterListener(){document.removeEventListener("keydown",this.boundTriggerShortcuts)}triggerShortcuts(o){je(o,this.keyMap,this.commands)}}function je(s,o,t){const w=Ke(s.code),b=[s.ctrlKey?"ctrl":"",s.shiftKey?"shift":"",s.altKey?"alt":"",w].filter(T=>T!=="").join("+"),a=o[b];if(!a)return;const i=t[a];i.isAllowedContext&&!i.isAllowedContext(s)||(i.shouldPreventDefaultAction&&s.preventDefault(),!(i.isDisabled&&i.isDisabled())&&i.trigger(s))}function Ke(s){return $e.includes(s)?"":s.replace(/^Key/,"").toLowerCase()}function Qe(s,o){const t=" "+s,w=t.matchAll(/ ([-\s\w]+):\s*/g),b=[];for(const a of Array.from(w)){if(a.index===void 0)continue;const i=Re(a[1]);if(o.length>0&&!o.includes(i))throw new Error(`Unknown field “${i}”. Known fields: ${o.join(", ")}`);const T=a.index+a[0].length,k=t.substring(T);let g;if(/^\s*["']/.test(k)){const v=k.match(/['"](.*?)['"]/);if(v!==null)g=v[1];else throw new Error(`Quote mismatch for field “${i}”.`)}else{const v=k.indexOf(" "),n=v===-1?k.length:v;g=k.substring(0,n)}g!==""&&b.push([i,g])}return b}function Re(s){return s.trim().replace(/\s+/g,"-").replace(/-[a-z]/g,(o,t)=>t===0?o:o.substring(1).toUpperCase())}let se=0;const He=(s="unique")=>(se++,`${s}-${se}`),ue=s=>(ze("data-v-9e2bf5f8"),s=s(),De(),s),Oe=ue(()=>S("span",{class:"visually-hidden"},"Focus filter",-1)),Ge={class:"k-filter-icon"},Ve=["for"],We=["id","placeholder"],Ze={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(()=>S("span",{class:"visually-hidden"},"Clear query",-1)),nt=oe({__name:"KFilterBar",props:{id:{type:String,required:!1,default:()=>He("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(s,{emit:o}){const t=s,w=o,b=A(null),a=A(null),i=A(t.query),T=A([]),k=A(null),g=A(!1),u=A(-1),v=G(()=>Object.keys(t.fields)),n=G(()=>Object.entries(t.fields).slice(0,5).map(([e,l])=>({fieldName:e,...l}))),_=G(()=>v.value.length>0?`Filter by ${v.value.join(", ")}`:"Filter"),C=G(()=>t.placeholder??_.value);ae(()=>T.value,function(e,l){H(e,l)||(k.value=null,w("fields-change",{fields:e,query:i.value}))}),ae(()=>i.value,function(){i.value===""&&(k.value=null),g.value=!0});const F={Enter:"submitQuery",Escape:"closeSuggestionBox",ArrowDown:"jumpToNextSuggestion",ArrowUp:"jumpToPreviousSuggestion"},B={submitQuery:{trigger:M,isAllowedContext(e){return a.value!==null&&e.composedPath().includes(a.value)},shouldPreventDefaultAction:!0},jumpToNextSuggestion:{trigger:j,isAllowedContext(e){return a.value!==null&&e.composedPath().includes(a.value)},shouldPreventDefaultAction:!0},jumpToPreviousSuggestion:{trigger:Z,isAllowedContext(e){return a.value!==null&&e.composedPath().includes(a.value)},shouldPreventDefaultAction:!0},closeSuggestionBox:{trigger:E,isAllowedContext(e){return b.value!==null&&e.composedPath().includes(b.value)}}};function W(){const e=new qe(F,B);xe(function(){e.registerListener()}),Ie(function(){e.unRegisterListener()}),D(i.value)}W();function U(e){const l=e.target;D(l.value)}function M(){if(a.value instanceof HTMLInputElement)if(u.value===-1)D(a.value.value),g.value=!1;else{const e=n.value[u.value].fieldName;e&&z(a.value,e)}}function j(){K(1)}function Z(){K(-1)}function K(e){u.value=Pe(u.value+e,-1,n.value.length-1)}function J(){a.value instanceof HTMLInputElement&&a.value.focus()}function x(e){const d=e.currentTarget.getAttribute("data-filter-field");d&&a.value instanceof HTMLInputElement&&z(a.value,d)}function z(e,l){const d=i.value===""||i.value.endsWith(" ")?"":" ";i.value+=d+l+":",e.focus(),u.value=-1}function Q(){i.value="",a.value instanceof HTMLInputElement&&(a.value.value="",a.value.focus(),D(""))}function R(e){e.relatedTarget===null&&E(),b.value instanceof HTMLElement&&e.relatedTarget instanceof Node&&!b.value.contains(e.relatedTarget)&&E()}function E(){g.value=!1}function D(e){k.value=null;try{const l=Qe(e,v.value);l.sort((d,L)=>d[0].localeCompare(L[0])),T.value=l}catch(l){if(l instanceof Error)k.value=l,g.value=!0;else throw l}}function H(e,l){return JSON.stringify(e)===JSON.stringify(l)}return(e,l)=>(c(),h("div",{ref_key:"filterBar",ref:b,class:"k-filter-bar","data-testid":"k-filter-bar"},[S("button",{class:"k-focus-filter-input-button",title:"Focus filter",type:"button","data-testid":"k-filter-bar-focus-filter-input-button",onClick:J},[Oe,p(),S("span",Ge,[I(r(_e),{decorative:"","data-testid":"k-filter-bar-filter-icon","hide-title":"",size:r(q)},null,8,["size"])])]),p(),S("label",{for:`${t.id}-filter-bar-input`,class:"visually-hidden"},[ie(e.$slots,"default",{},()=>[p(y(_.value),1)],!0)],8,Ve),p(),Se(S("input",{id:`${t.id}-filter-bar-input`,ref_key:"filterInput",ref:a,"onUpdate:modelValue":l[0]||(l[0]=d=>i.value=d),class:"k-filter-bar-input",type:"text",placeholder:C.value,"data-testid":"k-filter-bar-filter-input",onFocus:l[1]||(l[1]=d=>g.value=!0),onBlur:R,onChange:U},null,40,We),[[we,i.value]]),p(),g.value?(c(),h("div",Ze,[S("div",Je,[k.value!==null?(c(),h("p",Ye,y(k.value.message),1)):(c(),h("button",{key:1,class:ne(["k-submit-query-button",{"k-submit-query-button-is-selected":u.value===-1}]),title:"Submit query",type:"button","data-testid":"k-filter-bar-submit-query-button",onClick:M},` +var ce=Object.defineProperty;var de=(s,o,t)=>o in s?ce(s,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[o]=t;var O=(s,o,t)=>(de(s,typeof o!="symbol"?o+"":o,t),t);import{d as oe,g as pe,f as me,r as fe,o as c,i as $,w as f,S as ie,j as I,n as p,H as y,l as h,F as N,k as r,a8 as ge,p as S,I as le,m as V,v as ve,K as q,as as ye,W as he,at as be,au as ke,t as re,y as A,h as G,ah as ae,av as _e,aw as Se,ax as we,B as ne,ay as Te,az as Ce,z as xe,U as Ie,D as ze,G as De}from"./index-28451437.js";import{A as Le}from"./AppCollection-b6258a04.js";import{S as Ae}from"./StatusBadge-fcc954b7.js";import{d as Ne,a as Fe,c as Ee,C as Be}from"./dataplane-0a086c06.js";const Ue={key:0},Me=oe({__name:"DataPlaneList",props:{total:{default:0},pageNumber:{},pageSize:{},items:{},error:{},gateways:{type:Boolean,default:!1}},emits:["load-data","change"],setup(s,{emit:o}){const{t,formatIsoDate:w}=pe(),b=me(),a=s,i=o,T=b("use zones");function k(g){return g.map(u=>{var R,E,D,H,e,l,d,L,X,ee;const v=u.mesh,n=u.name,_=((R=u.dataplane.networking.gateway)==null?void 0:R.type)||"STANDARD",C=["kuma.io/protocol","kuma.io/service","kuma.io/zone"],F=Ne(u.dataplane).filter(m=>C.includes(m.label)),B=(E=F.find(m=>m.label==="kuma.io/service"))==null?void 0:E.value,W=(D=F.find(m=>m.label==="kuma.io/protocol"))==null?void 0:D.value,U=(H=F.find(m=>m.label==="kuma.io/zone"))==null?void 0:H.value;let M;B!==void 0&&(M={name:"service-detail-view",params:{mesh:v,service:B}});let j;U!==void 0&&(j={name:"zone-cp-detail-view",params:{zone:U}});const{status:Z}=Fe(u.dataplane,u.dataplaneInsight),K=((e=u.dataplaneInsight)==null?void 0:e.subscriptions)??[],J={dpVersion:null,selectedUpdateTime:NaN,version:null},x=K.reduce((m,P)=>{var te;const Y=Date.parse(P.status.lastUpdateTime);return Y&&(!m.selectedUpdateTime||Y>m.selectedUpdateTime)&&(m.selectedUpdateTime=Y),{dpVersion:((te=P.version)==null?void 0:te.kumaDp.version)||m.dpVersion,selectedUpdateTime:m.selectedUpdateTime,version:P.version||m.version}},J),z={name:n,type:_,zone:{title:U??t("common.collection.none"),route:j},service:{title:B??t("common.collection.none"),route:M},protocol:W??t("common.collection.none"),status:Z,warnings:{version_mismatch:!1,cert_expired:!1},lastUpdated:x.selectedUpdateTime?w(new Date(x.selectedUpdateTime).toUTCString()):t("common.collection.none"),isGateway:((d=(l=u.dataplane)==null?void 0:l.networking)==null?void 0:d.gateway)!==void 0};if(x.version){const{kind:m}=Ee(x.version);m!==Be&&(z.warnings.version_mismatch=!0)}T&&x.dpVersion&&F.find(P=>P.label==="kuma.io/zone")&&typeof((L=x.version)==null?void 0:L.kumaDp.kumaCpCompatible)=="boolean"&&!x.version.kumaDp.kumaCpCompatible&&(z.warnings.version_mismatch=!0);const Q=(ee=(X=u.dataplaneInsight)==null?void 0:X.mTLS)==null?void 0:ee.certificateExpirationTime;return Q&&Date.now()>new Date(Q).getTime()&&(z.warnings.cert_expired=!0),z})}return(g,u)=>{const v=fe("RouterLink");return c(),$(Le,{"empty-state-message":r(t)("common.emptyState.message",{type:a.gateways?"Gateways":"Data Plane Proxies"}),"empty-state-cta-to":r(t)(`data-planes.href.docs.${a.gateways?"gateway":"data_plane_proxy"}`),"empty-state-cta-text":r(t)("common.documentation"),headers:[{label:"Name",key:"name"},...a.gateways?[{label:"Type",key:"type"}]:[],{label:"Service",key:"service"},...a.gateways?[]:[{label:"Protocol",key:"protocol"}],...r(T)?[{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?k(a.items):void 0,error:a.error,onChange:u[0]||(u[0]=n=>i("change",n))},{toolbar:f(()=>[ie(g.$slots,"toolbar",{},void 0,!0)]),name:f(({row:n})=>[I(v,{to:{name:n.isGateway?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:n.name}},"data-testid":"detail-view-link"},{default:f(()=>[p(y(n.name),1)]),_:2},1032,["to"])]),service:f(({rowValue:n})=>[n.route?(c(),$(v,{key:0,to:n.route},{default:f(()=>[p(y(n.title),1)]),_:2},1032,["to"])):(c(),h(N,{key:1},[p(y(n.title),1)],64))]),zone:f(({rowValue:n})=>[n.route?(c(),$(v,{key:0,to:n.route},{default:f(()=>[p(y(n.title),1)]),_:2},1032,["to"])):(c(),h(N,{key:1},[p(y(n.title),1)],64))]),status:f(({rowValue:n})=>[n?(c(),$(Ae,{key:0,status:n},null,8,["status"])):(c(),h(N,{key:1},[p(y(r(t)("common.collection.none")),1)],64))]),warnings:f(({row:n})=>[Object.values(n.warnings).some(_=>_)?(c(),$(r(ge),{key:0},{content:f(()=>[S("ul",null,[(c(!0),h(N,null,le(n.warnings,(_,C)=>(c(),h(N,{key:C},[_?(c(),h("li",Ue,y(r(t)(`data-planes.components.data-plane-list.${C}`)),1)):V("",!0)],64))),128))])]),default:f(()=>[p(),I(ve,{class:"mr-1",size:r(q),"hide-title":""},null,8,["size"])]),_:2},1024)):(c(),h(N,{key:1},[p(y(r(t)("common.collection.none")),1)],64))]),certificate:f(({row:n})=>{var _,C;return[p(y((C=(_=n.dataplaneInsight)==null?void 0:_.mTLS)!=null&&C.certificateExpirationTime?r(w)(new Date(n.dataplaneInsight.mTLS.certificateExpirationTime).toUTCString()):r(t)("data-planes.components.data-plane-list.certificate.none")),1)]}),actions:f(({row:n})=>[I(r(ye),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:f(()=>[I(r(he),{class:"non-visual-button",appearance:"secondary",size:"small"},{default:f(()=>[I(r(be),{size:r(q)},null,8,["size"])]),_:1})]),items:f(()=>[I(r(ke),{item:{to:{name:n.isGateway?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:n.name}},label:r(t)("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 ut=re(Me,[["__scopeId","data-v-be733e47"]]);function Pe(s,o,t){return Math.max(o,Math.min(s,t))}const $e=["ControlLeft","ControlRight","ShiftLeft","ShiftRight","AltLeft"];class qe{constructor(o,t){O(this,"commands");O(this,"keyMap");O(this,"boundTriggerShortcuts");this.commands=t,this.keyMap=Object.fromEntries(Object.entries(o).map(([w,b])=>[w.toLowerCase(),b])),this.boundTriggerShortcuts=this.triggerShortcuts.bind(this)}registerListener(){document.addEventListener("keydown",this.boundTriggerShortcuts)}unRegisterListener(){document.removeEventListener("keydown",this.boundTriggerShortcuts)}triggerShortcuts(o){je(o,this.keyMap,this.commands)}}function je(s,o,t){const w=Ke(s.code),b=[s.ctrlKey?"ctrl":"",s.shiftKey?"shift":"",s.altKey?"alt":"",w].filter(T=>T!=="").join("+"),a=o[b];if(!a)return;const i=t[a];i.isAllowedContext&&!i.isAllowedContext(s)||(i.shouldPreventDefaultAction&&s.preventDefault(),!(i.isDisabled&&i.isDisabled())&&i.trigger(s))}function Ke(s){return $e.includes(s)?"":s.replace(/^Key/,"").toLowerCase()}function Qe(s,o){const t=" "+s,w=t.matchAll(/ ([-\s\w]+):\s*/g),b=[];for(const a of Array.from(w)){if(a.index===void 0)continue;const i=Re(a[1]);if(o.length>0&&!o.includes(i))throw new Error(`Unknown field “${i}”. Known fields: ${o.join(", ")}`);const T=a.index+a[0].length,k=t.substring(T);let g;if(/^\s*["']/.test(k)){const v=k.match(/['"](.*?)['"]/);if(v!==null)g=v[1];else throw new Error(`Quote mismatch for field “${i}”.`)}else{const v=k.indexOf(" "),n=v===-1?k.length:v;g=k.substring(0,n)}g!==""&&b.push([i,g])}return b}function Re(s){return s.trim().replace(/\s+/g,"-").replace(/-[a-z]/g,(o,t)=>t===0?o:o.substring(1).toUpperCase())}let se=0;const He=(s="unique")=>(se++,`${s}-${se}`),ue=s=>(ze("data-v-9e2bf5f8"),s=s(),De(),s),Oe=ue(()=>S("span",{class:"visually-hidden"},"Focus filter",-1)),Ge={class:"k-filter-icon"},Ve=["for"],We=["id","placeholder"],Ze={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(()=>S("span",{class:"visually-hidden"},"Clear query",-1)),nt=oe({__name:"KFilterBar",props:{id:{type:String,required:!1,default:()=>He("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(s,{emit:o}){const t=s,w=o,b=A(null),a=A(null),i=A(t.query),T=A([]),k=A(null),g=A(!1),u=A(-1),v=G(()=>Object.keys(t.fields)),n=G(()=>Object.entries(t.fields).slice(0,5).map(([e,l])=>({fieldName:e,...l}))),_=G(()=>v.value.length>0?`Filter by ${v.value.join(", ")}`:"Filter"),C=G(()=>t.placeholder??_.value);ae(()=>T.value,function(e,l){H(e,l)||(k.value=null,w("fields-change",{fields:e,query:i.value}))}),ae(()=>i.value,function(){i.value===""&&(k.value=null),g.value=!0});const F={Enter:"submitQuery",Escape:"closeSuggestionBox",ArrowDown:"jumpToNextSuggestion",ArrowUp:"jumpToPreviousSuggestion"},B={submitQuery:{trigger:M,isAllowedContext(e){return a.value!==null&&e.composedPath().includes(a.value)},shouldPreventDefaultAction:!0},jumpToNextSuggestion:{trigger:j,isAllowedContext(e){return a.value!==null&&e.composedPath().includes(a.value)},shouldPreventDefaultAction:!0},jumpToPreviousSuggestion:{trigger:Z,isAllowedContext(e){return a.value!==null&&e.composedPath().includes(a.value)},shouldPreventDefaultAction:!0},closeSuggestionBox:{trigger:E,isAllowedContext(e){return b.value!==null&&e.composedPath().includes(b.value)}}};function W(){const e=new qe(F,B);xe(function(){e.registerListener()}),Ie(function(){e.unRegisterListener()}),D(i.value)}W();function U(e){const l=e.target;D(l.value)}function M(){if(a.value instanceof HTMLInputElement)if(u.value===-1)D(a.value.value),g.value=!1;else{const e=n.value[u.value].fieldName;e&&z(a.value,e)}}function j(){K(1)}function Z(){K(-1)}function K(e){u.value=Pe(u.value+e,-1,n.value.length-1)}function J(){a.value instanceof HTMLInputElement&&a.value.focus()}function x(e){const d=e.currentTarget.getAttribute("data-filter-field");d&&a.value instanceof HTMLInputElement&&z(a.value,d)}function z(e,l){const d=i.value===""||i.value.endsWith(" ")?"":" ";i.value+=d+l+":",e.focus(),u.value=-1}function Q(){i.value="",a.value instanceof HTMLInputElement&&(a.value.value="",a.value.focus(),D(""))}function R(e){e.relatedTarget===null&&E(),b.value instanceof HTMLElement&&e.relatedTarget instanceof Node&&!b.value.contains(e.relatedTarget)&&E()}function E(){g.value=!1}function D(e){k.value=null;try{const l=Qe(e,v.value);l.sort((d,L)=>d[0].localeCompare(L[0])),T.value=l}catch(l){if(l instanceof Error)k.value=l,g.value=!0;else throw l}}function H(e,l){return JSON.stringify(e)===JSON.stringify(l)}return(e,l)=>(c(),h("div",{ref_key:"filterBar",ref:b,class:"k-filter-bar","data-testid":"k-filter-bar"},[S("button",{class:"k-focus-filter-input-button",title:"Focus filter",type:"button","data-testid":"k-filter-bar-focus-filter-input-button",onClick:J},[Oe,p(),S("span",Ge,[I(r(_e),{decorative:"","data-testid":"k-filter-bar-filter-icon","hide-title":"",size:r(q)},null,8,["size"])])]),p(),S("label",{for:`${t.id}-filter-bar-input`,class:"visually-hidden"},[ie(e.$slots,"default",{},()=>[p(y(_.value),1)],!0)],8,Ve),p(),Se(S("input",{id:`${t.id}-filter-bar-input`,ref_key:"filterInput",ref:a,"onUpdate:modelValue":l[0]||(l[0]=d=>i.value=d),class:"k-filter-bar-input",type:"text",placeholder:C.value,"data-testid":"k-filter-bar-filter-input",onFocus:l[1]||(l[1]=d=>g.value=!0),onBlur:R,onChange:U},null,40,We),[[we,i.value]]),p(),g.value?(c(),h("div",Ze,[S("div",Je,[k.value!==null?(c(),h("p",Ye,y(k.value.message),1)):(c(),h("button",{key:1,class:ne(["k-submit-query-button",{"k-submit-query-button-is-selected":u.value===-1}]),title:"Submit query",type:"button","data-testid":"k-filter-bar-submit-query-button",onClick:M},` Submit `+y(i.value),3)),p(),(c(!0),h(N,null,le(n.value,(d,L)=>(c(),h("div",{key:`${t.id}-${L}`,class:ne(["k-suggestion-list-item",{"k-suggestion-list-item-is-selected":u.value===L}])},[S("b",null,y(d.fieldName),1),d.description!==""?(c(),h("span",Xe,": "+y(d.description),1)):V("",!0),p(),S("button",{class:"k-apply-suggestion-button",title:`Add ${d.fieldName}:`,type:"button","data-filter-field":d.fieldName,"data-testid":"k-filter-bar-apply-suggestion-button",onClick:x},[S("span",tt,"Add "+y(d.fieldName)+":",1),p(),I(r(Te),{decorative:"","hide-title":"",size:r(q)},null,8,["size"])],8,et)],2))),128))])])):V("",!0),p(),i.value!==""?(c(),h("button",{key:1,class:"k-clear-query-button",title:"Clear query",type:"button","data-testid":"k-filter-bar-clear-query-button",onClick:Q},[at,p(),I(r(Ce),{decorative:"","hide-title":"",size:r(q)},null,8,["size"])])):V("",!0)],512))}});const ct=re(nt,[["__scopeId","data-v-9e2bf5f8"]]);export{ut as D,ct as K}; diff --git a/app/kuma-ui/pkg/resources/data/assets/LoadingBox-8b1f23a6.js b/app/kuma-ui/pkg/resources/data/assets/LoadingBox-e73404f1.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/LoadingBox-8b1f23a6.js rename to app/kuma-ui/pkg/resources/data/assets/LoadingBox-e73404f1.js index 245d9b533a73..7abb153569ea 100644 --- a/app/kuma-ui/pkg/resources/data/assets/LoadingBox-8b1f23a6.js +++ b/app/kuma-ui/pkg/resources/data/assets/LoadingBox-e73404f1.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-af109ace.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-28451437.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-e5b9aa1d.js b/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-60bdd710.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/MainOverviewView-e5b9aa1d.js rename to app/kuma-ui/pkg/resources/data/assets/MainOverviewView-60bdd710.js index 2f1be58c2d10..bb2f219d46bf 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-e5b9aa1d.js +++ b/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-60bdd710.js @@ -1 +1 @@ -import{d as C,g as L,r,o as i,i as _,w as s,j as o,n,H as l,k as e,f as K,l as v,F as f,I as M,Y as O,p as c,E as R,Z as N,K as T,m as b,t as Z}from"./index-af109ace.js";import{A as S}from"./AppCollection-170ebacc.js";import{S as A}from"./StatusBadge-ac5a18e6.js";import{g as E}from"./index-8b8b41d0.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const D=C({__name:"MeshInsightsList",props:{items:{}},setup(z){const{t}=L(),d=z;return(g,x)=>{var u;const y=r("RouterLink");return i(),_(S,{headers:[{label:e(t)("meshes.components.mesh-insights-list.name"),key:"name"},{label:e(t)("meshes.components.mesh-insights-list.services"),key:"services"},{label:e(t)("meshes.components.mesh-insights-list.dataplanes"),key:"dataplanes"}],items:d.items,total:(u=d.items)==null?void 0:u.length,"empty-state-message":e(t)("common.emptyState.message",{type:e(t)("meshes.common.type",{count:2})}),"empty-state-cta-to":e(t)("meshes.href.docs"),"empty-state-cta-text":e(t)("common.documentation")},{name:s(({row:a})=>[o(y,{to:{name:"mesh-detail-view",params:{mesh:a.name}}},{default:s(()=>[n(l(a.name),1)]),_:2},1032,["to"])]),services:s(({row:a})=>[n(l(a.services.internal??"0"),1)]),dataplanes:s(({row:a})=>[n(l(a.dataplanesByType.standard.online??"0")+" / "+l(a.dataplanesByType.standard.total??"0"),1)]),_:1},8,["headers","items","total","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),F=C({__name:"ZoneControlPlanesList",props:{items:{}},setup(z){const{t}=L(),d=K(),g=z;return(x,y)=>{var a;const u=r("RouterLink");return i(),_(S,{headers:[{label:e(t)("zone-cps.components.zone-control-planes-list.name"),key:"name"},{label:e(t)("zone-cps.components.zone-control-planes-list.status"),key:"status"}],items:g.items,total:(a=g.items)==null?void 0:a.length,"empty-state-title":e(t)("zone-cps.empty_state.title"),"empty-state-message":e(d)("create zones")?e(t)("zone-cps.empty_state.message"):e(t)("common.emptyState.message",{type:"Zones"}),"empty-state-cta-to":e(d)("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":e(t)("zones.index.create")},{name:s(({row:p})=>[o(u,{to:{name:"zone-cp-detail-view",params:{zone:p.name}}},{default:s(()=>[n(l(p.name),1)]),_:2},1032,["to"])]),status:s(({row:p})=>[(i(!0),v(f,null,M([e(E)(p)],w=>(i(),v(f,{key:w},[w?(i(),_(A,{key:0,status:w},null,8,["status"])):(i(),v(f,{key:1},[n(l(e(t)("common.collection.none")),1)],64))],64))),128))]),_:1},8,["headers","items","total","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),P={class:"stack","data-testid":"detail-view-details"},$={class:"columns"},j={class:"card-header"},H={class:"card-title"},U={key:0,class:"card-actions"},Y={class:"card-header"},q={class:"card-title"},G=C({__name:"MainOverviewView",setup(z){const t=O();return(d,g)=>{const x=r("RouteTitle"),y=r("RouterLink"),u=r("KButton"),a=r("DataSource"),p=r("KCard"),w=r("AppView"),I=r("RouteView");return i(),_(I,{name:"home"},{default:s(({can:V,t:h})=>[o(w,null,{title:s(()=>[c("h1",null,[o(x,{title:h("main-overview.routes.item.title"),render:!0},null,8,["title"])])]),default:s(()=>[n(),c("div",P,[o(e(t)),n(),c("div",$,[V("use zones")?(i(),_(p,{key:0},{body:s(()=>[o(a,{src:"/zone-cps?page=1&size=10"},{default:s(({data:m,error:k})=>{var B;return[k?(i(),_(R,{key:0,error:k},null,8,["error"])):(i(),v(f,{key:1},[c("div",j,[c("div",H,[c("h2",null,l(h("main-overview.detail.zone_control_planes.title")),1),n(),o(y,{to:{name:"zone-cp-list-view"}},{default:s(()=>[n(l(h("main-overview.detail.health.view_all")),1)]),_:2},1024)]),n(),V("create zones")&&(((B=m==null?void 0:m.items)==null?void 0:B.length)??0>0)?(i(),v("div",U,[o(u,{appearance:"primary",to:{name:"zone-create-view"}},{default:s(()=>[o(e(N),{size:e(T)},null,8,["size"]),n(" "+l(h("zones.index.create")),1)]),_:2},1024)])):b("",!0)]),n(),o(F,{"data-testid":"zone-control-planes-details",items:m==null?void 0:m.items},null,8,["items"])],64))]}),_:2},1024)]),_:2},1024)):b("",!0),n(),o(p,null,{body:s(()=>[o(a,{src:"/meshes?page=1&size=10"},{default:s(({data:m,error:k})=>[k?(i(),_(R,{key:0,error:k},null,8,["error"])):(i(),v(f,{key:1},[c("div",Y,[c("div",q,[c("h2",null,l(h("main-overview.detail.meshes.title")),1),n(),o(y,{to:{name:"mesh-list-view"}},{default:s(()=>[n(l(h("main-overview.detail.health.view_all")),1)]),_:2},1024)])]),n(),o(D,{"data-testid":"meshes-details",items:m==null?void 0:m.items},null,8,["items"])],64))]),_:2},1024)]),_:2},1024)])])]),_:2},1024)]),_:1})}}});const te=Z(G,[["__scopeId","data-v-def7344b"]]);export{te as default}; +import{d as C,g as L,r,o as i,i as _,w as s,j as o,n,H as l,k as e,f as K,l as v,F as f,I as M,Y as O,p as c,E as R,Z as N,K as T,m as b,t as Z}from"./index-28451437.js";import{A as S}from"./AppCollection-b6258a04.js";import{S as A}from"./StatusBadge-fcc954b7.js";import{g as E}from"./index-270afb1d.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const D=C({__name:"MeshInsightsList",props:{items:{}},setup(z){const{t}=L(),d=z;return(g,x)=>{var u;const y=r("RouterLink");return i(),_(S,{headers:[{label:e(t)("meshes.components.mesh-insights-list.name"),key:"name"},{label:e(t)("meshes.components.mesh-insights-list.services"),key:"services"},{label:e(t)("meshes.components.mesh-insights-list.dataplanes"),key:"dataplanes"}],items:d.items,total:(u=d.items)==null?void 0:u.length,"empty-state-message":e(t)("common.emptyState.message",{type:e(t)("meshes.common.type",{count:2})}),"empty-state-cta-to":e(t)("meshes.href.docs"),"empty-state-cta-text":e(t)("common.documentation")},{name:s(({row:a})=>[o(y,{to:{name:"mesh-detail-view",params:{mesh:a.name}}},{default:s(()=>[n(l(a.name),1)]),_:2},1032,["to"])]),services:s(({row:a})=>[n(l(a.services.internal??"0"),1)]),dataplanes:s(({row:a})=>[n(l(a.dataplanesByType.standard.online??"0")+" / "+l(a.dataplanesByType.standard.total??"0"),1)]),_:1},8,["headers","items","total","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),F=C({__name:"ZoneControlPlanesList",props:{items:{}},setup(z){const{t}=L(),d=K(),g=z;return(x,y)=>{var a;const u=r("RouterLink");return i(),_(S,{headers:[{label:e(t)("zone-cps.components.zone-control-planes-list.name"),key:"name"},{label:e(t)("zone-cps.components.zone-control-planes-list.status"),key:"status"}],items:g.items,total:(a=g.items)==null?void 0:a.length,"empty-state-title":e(t)("zone-cps.empty_state.title"),"empty-state-message":e(d)("create zones")?e(t)("zone-cps.empty_state.message"):e(t)("common.emptyState.message",{type:"Zones"}),"empty-state-cta-to":e(d)("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":e(t)("zones.index.create")},{name:s(({row:p})=>[o(u,{to:{name:"zone-cp-detail-view",params:{zone:p.name}}},{default:s(()=>[n(l(p.name),1)]),_:2},1032,["to"])]),status:s(({row:p})=>[(i(!0),v(f,null,M([e(E)(p)],w=>(i(),v(f,{key:w},[w?(i(),_(A,{key:0,status:w},null,8,["status"])):(i(),v(f,{key:1},[n(l(e(t)("common.collection.none")),1)],64))],64))),128))]),_:1},8,["headers","items","total","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),P={class:"stack","data-testid":"detail-view-details"},$={class:"columns"},j={class:"card-header"},H={class:"card-title"},U={key:0,class:"card-actions"},Y={class:"card-header"},q={class:"card-title"},G=C({__name:"MainOverviewView",setup(z){const t=O();return(d,g)=>{const x=r("RouteTitle"),y=r("RouterLink"),u=r("KButton"),a=r("DataSource"),p=r("KCard"),w=r("AppView"),I=r("RouteView");return i(),_(I,{name:"home"},{default:s(({can:V,t:h})=>[o(w,null,{title:s(()=>[c("h1",null,[o(x,{title:h("main-overview.routes.item.title"),render:!0},null,8,["title"])])]),default:s(()=>[n(),c("div",P,[o(e(t)),n(),c("div",$,[V("use zones")?(i(),_(p,{key:0},{body:s(()=>[o(a,{src:"/zone-cps?page=1&size=10"},{default:s(({data:m,error:k})=>{var B;return[k?(i(),_(R,{key:0,error:k},null,8,["error"])):(i(),v(f,{key:1},[c("div",j,[c("div",H,[c("h2",null,l(h("main-overview.detail.zone_control_planes.title")),1),n(),o(y,{to:{name:"zone-cp-list-view"}},{default:s(()=>[n(l(h("main-overview.detail.health.view_all")),1)]),_:2},1024)]),n(),V("create zones")&&(((B=m==null?void 0:m.items)==null?void 0:B.length)??0>0)?(i(),v("div",U,[o(u,{appearance:"primary",to:{name:"zone-create-view"}},{default:s(()=>[o(e(N),{size:e(T)},null,8,["size"]),n(" "+l(h("zones.index.create")),1)]),_:2},1024)])):b("",!0)]),n(),o(F,{"data-testid":"zone-control-planes-details",items:m==null?void 0:m.items},null,8,["items"])],64))]}),_:2},1024)]),_:2},1024)):b("",!0),n(),o(p,null,{body:s(()=>[o(a,{src:"/meshes?page=1&size=10"},{default:s(({data:m,error:k})=>[k?(i(),_(R,{key:0,error:k},null,8,["error"])):(i(),v(f,{key:1},[c("div",Y,[c("div",q,[c("h2",null,l(h("main-overview.detail.meshes.title")),1),n(),o(y,{to:{name:"mesh-list-view"}},{default:s(()=>[n(l(h("main-overview.detail.health.view_all")),1)]),_:2},1024)])]),n(),o(D,{"data-testid":"meshes-details",items:m==null?void 0:m.items},null,8,["items"])],64))]),_:2},1024)]),_:2},1024)])])]),_:2},1024)]),_:1})}}});const te=Z(G,[["__scopeId","data-v-def7344b"]]);export{te as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-417455ad.js b/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-bbffe579.js similarity index 77% rename from app/kuma-ui/pkg/resources/data/assets/MeshConfigView-417455ad.js rename to app/kuma-ui/pkg/resources/data/assets/MeshConfigView-bbffe579.js index e577555ac744..9c9c1096366e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-417455ad.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-bbffe579.js @@ -1 +1 @@ -import{d as h,Q 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-af109ace.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-09052412.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./toYaml-4e00099e.js";const $=h({__name:"MeshConfigView",setup(y){const i=w();return(A,B)=>{const m=e("RouteTitle"),u=e("DataSource"),_=e("KCard"),l=e("AppView"),p=e("RouteView");return t(),s(p,{name:"mesh-config-view","data-testid":"mesh-config-view",params:{mesh:""}},{default:o(({route:n,t:d})=>[a(l,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(_,null,{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,Q 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-28451437.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./toYaml-4e00099e.js";const $=h({__name:"MeshConfigView",setup(y){const i=w();return(A,B)=>{const m=e("RouteTitle"),u=e("DataSource"),_=e("KCard"),l=e("AppView"),p=e("RouteView");return t(),s(p,{name:"mesh-config-view","data-testid":"mesh-config-view",params:{mesh:""}},{default:o(({route:n,t:d})=>[a(l,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(_,null,{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-f25cd49c.js b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-4fb36173.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/MeshDetailView-f25cd49c.js rename to app/kuma-ui/pkg/resources/data/assets/MeshDetailView-4fb36173.js index 050a11f0bdfb..ec74fa25b78a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-f25cd49c.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-4fb36173.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,$ as R,t as x,a4 as S,r as c,i as u,w as n,E as $,x as B,p as M}from"./index-af109ace.js";const I={class:"date-status"},A=V({__name:"ResourceDateStatus",props:{creationTime:{},modificationTime:{}},setup(p){const{t:s,formatIsoDate:m}=g(),d=p,l=D(()=>m(d.creationTime)),a=D(()=>m(d.modificationTime));return(f,h)=>(t(),k("span",I,[r(i(_(s)("common.detail.created"))+": "+i(l.value)+" ",1),e(_(R)),r(" "+i(_(s)("common.detail.modified"))+": "+i(a.value),1)]))}});const C=x(A,[["__scopeId","data-v-fa366713"]]),N={key:2,class:"stack","data-testid":"detail-view-details"},E={class:"date-status-wrapper"},j=V({__name:"MeshDetailView",setup(p){const s=S();return(m,d)=>{const l=c("RouteTitle"),a=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(a,{src:`/meshes/${v.params.mesh}`},{default:n(({data:o,error:w})=>[e(a,{src:`/mesh-insights/${v.params.mesh}`},{default:n(({data:y})=>[w?(t(),u($,{key:0,error:w},null,8,["error"])):o===void 0?(t(),u(B,{key:1})):(t(),k("div",N,[e(_(s),{mesh:o,"mesh-insight":y},null,8,["mesh","mesh-insight"]),r(),M("div",E,[e(C,{"creation-time":o.creationTime,"modification-time":o.modificationTime},null,8,["creation-time","modification-time"])])]))]),_:2},1032,["src"])]),_:2},1032,["src"])]),_:2},1024)]),_:1})}}});const b=x(j,[["__scopeId","data-v-59704778"]]);export{b 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,$ as R,t as x,a4 as S,r as c,i as u,w as n,E as $,x as B,p as M}from"./index-28451437.js";const I={class:"date-status"},A=V({__name:"ResourceDateStatus",props:{creationTime:{},modificationTime:{}},setup(p){const{t:s,formatIsoDate:m}=g(),d=p,l=D(()=>m(d.creationTime)),a=D(()=>m(d.modificationTime));return(f,h)=>(t(),k("span",I,[r(i(_(s)("common.detail.created"))+": "+i(l.value)+" ",1),e(_(R)),r(" "+i(_(s)("common.detail.modified"))+": "+i(a.value),1)]))}});const C=x(A,[["__scopeId","data-v-fa366713"]]),N={key:2,class:"stack","data-testid":"detail-view-details"},E={class:"date-status-wrapper"},j=V({__name:"MeshDetailView",setup(p){const s=S();return(m,d)=>{const l=c("RouteTitle"),a=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(a,{src:`/meshes/${v.params.mesh}`},{default:n(({data:o,error:w})=>[e(a,{src:`/mesh-insights/${v.params.mesh}`},{default:n(({data:y})=>[w?(t(),u($,{key:0,error:w},null,8,["error"])):o===void 0?(t(),u(B,{key:1})):(t(),k("div",N,[e(_(s),{mesh:o,"mesh-insight":y},null,8,["mesh","mesh-insight"]),r(),M("div",E,[e(C,{"creation-time":o.creationTime,"modification-time":o.modificationTime},null,8,["creation-time","modification-time"])])]))]),_:2},1032,["src"])]),_:2},1032,["src"])]),_:2},1024)]),_:1})}}});const b=x(j,[["__scopeId","data-v-59704778"]]);export{b as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-6129b08e.js b/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-c5f75b0a.js similarity index 69% rename from app/kuma-ui/pkg/resources/data/assets/MeshIndexView-6129b08e.js rename to app/kuma-ui/pkg/resources/data/assets/MeshIndexView-c5f75b0a.js index c4f11215cac5..c429f2f9b8f4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-6129b08e.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-c5f75b0a.js @@ -1 +1 @@ -import{t as a,r as e,o as i,i as m,w as t,j as o}from"./index-af109ace.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-28451437.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-318756a8.js b/app/kuma-ui/pkg/resources/data/assets/MeshListView-6aa427ed.js similarity index 93% rename from app/kuma-ui/pkg/resources/data/assets/MeshListView-318756a8.js rename to app/kuma-ui/pkg/resources/data/assets/MeshListView-6aa427ed.js index 9024674b6ca2..d3a54cd32d15 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshListView-318756a8.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshListView-6aa427ed.js @@ -1 +1 @@ -import{d as z,r as o,o as i,i as l,w as s,j as m,p as y,n as p,E as b,H as r,k as g,$ as x,K as R,q as S,m as w,t as B}from"./index-af109ace.js";import{A as I}from"./AppCollection-170ebacc.js";import{S as L}from"./SummaryView-e9848f48.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const A={class:"stack"},D=z({__name:"MeshListView",setup(N){return(T,K)=>{const k=o("RouteTitle"),_=o("RouterLink"),f=o("KCard"),v=o("RouterView"),C=o("AppView"),d=o("DataSource"),V=o("RouteView");return i(),l(d,{src:"/me"},{default:s(({data:h})=>[h?(i(),l(V,{key:0,name:"mesh-list-view",params:{page:1,size:h.pageSize,mesh:""}},{default:s(({route:e,t:n})=>[m(d,{src:`/meshes?page=${e.params.page}&size=${e.params.size}`},{default:s(({data:t,error:c})=>[m(C,null,{title:s(()=>[y("h1",null,[m(k,{title:n("meshes.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[p(),y("div",A,[m(f,null,{body:s(()=>[c!==void 0?(i(),l(b,{key:0,error:c},null,8,["error"])):(i(),l(I,{key:1,class:"mesh-collection","data-testid":"mesh-collection",headers:[{label:n("meshes.common.name"),key:"name"},{label:n("meshes.routes.items.collection.services"),key:"services"},{label:n("meshes.routes.items.collection.dataplanes"),key:"dataplanes"},{label:"Details",key:"details",hideLabel:!0}],"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:c,"empty-state-message":n("common.emptyState.message",{type:"Meshes"}),"empty-state-cta-to":n("meshes.href.docs"),"empty-state-cta-text":n("common.documentation"),"is-selected-row":a=>a.name===e.params.mesh,onChange:e.update},{name:s(({row:a})=>[m(_,{to:{name:"mesh-summary-view",params:{mesh:a.name},query:{page:e.params.page,size:e.params.size}}},{default:s(()=>[p(r(a.name),1)]),_:2},1032,["to"])]),services:s(({row:a})=>[p(r(a.services.internal??"0"),1)]),dataplanes:s(({row:a})=>[p(r(a.dataplanesByType.standard.online??"0")+" / "+r(a.dataplanesByType.standard.total??"0"),1)]),details:s(({row:a})=>[m(_,{class:"details-link","data-testid":"details-link",to:{name:"mesh-detail-view",params:{mesh:a.name}}},{default:s(()=>[p(r(n("common.collection.details_link"))+" ",1),m(g(x),{display:"inline-block",decorative:"",size:g(R)},null,8,["size"])]),_:2},1032,["to"])]),_:2},1032,["headers","page-number","page-size","total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","is-selected-row","onChange"]))]),_:2},1024),p(),e.params.mesh?(i(),l(v,{key:0},{default:s(a=>[m(L,{onClose:u=>e.replace({name:"mesh-list-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:s(()=>[(i(),l(S(a.Component),{name:e.params.mesh,"mesh-insight":t==null?void 0:t.items.find(u=>u.name===e.params.mesh)},null,8,["name","mesh-insight"]))]),_:2},1032,["onClose"])]),_:2},1024)):w("",!0)])]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):w("",!0)]),_:1})}}});const j=B(D,[["__scopeId","data-v-27a15bd6"]]);export{j as default}; +import{d as z,r as o,o as i,i as l,w as s,j as m,p as y,n as p,E as b,H as r,k as g,$ as x,K as R,q as S,m as w,t as B}from"./index-28451437.js";import{A as I}from"./AppCollection-b6258a04.js";import{S as L}from"./SummaryView-7a0161c3.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const A={class:"stack"},D=z({__name:"MeshListView",setup(N){return(T,K)=>{const k=o("RouteTitle"),_=o("RouterLink"),f=o("KCard"),v=o("RouterView"),C=o("AppView"),d=o("DataSource"),V=o("RouteView");return i(),l(d,{src:"/me"},{default:s(({data:h})=>[h?(i(),l(V,{key:0,name:"mesh-list-view",params:{page:1,size:h.pageSize,mesh:""}},{default:s(({route:e,t:n})=>[m(d,{src:`/meshes?page=${e.params.page}&size=${e.params.size}`},{default:s(({data:t,error:c})=>[m(C,null,{title:s(()=>[y("h1",null,[m(k,{title:n("meshes.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[p(),y("div",A,[m(f,null,{body:s(()=>[c!==void 0?(i(),l(b,{key:0,error:c},null,8,["error"])):(i(),l(I,{key:1,class:"mesh-collection","data-testid":"mesh-collection",headers:[{label:n("meshes.common.name"),key:"name"},{label:n("meshes.routes.items.collection.services"),key:"services"},{label:n("meshes.routes.items.collection.dataplanes"),key:"dataplanes"},{label:"Details",key:"details",hideLabel:!0}],"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:c,"empty-state-message":n("common.emptyState.message",{type:"Meshes"}),"empty-state-cta-to":n("meshes.href.docs"),"empty-state-cta-text":n("common.documentation"),"is-selected-row":a=>a.name===e.params.mesh,onChange:e.update},{name:s(({row:a})=>[m(_,{to:{name:"mesh-summary-view",params:{mesh:a.name},query:{page:e.params.page,size:e.params.size}}},{default:s(()=>[p(r(a.name),1)]),_:2},1032,["to"])]),services:s(({row:a})=>[p(r(a.services.internal??"0"),1)]),dataplanes:s(({row:a})=>[p(r(a.dataplanesByType.standard.online??"0")+" / "+r(a.dataplanesByType.standard.total??"0"),1)]),details:s(({row:a})=>[m(_,{class:"details-link","data-testid":"details-link",to:{name:"mesh-detail-view",params:{mesh:a.name}}},{default:s(()=>[p(r(n("common.collection.details_link"))+" ",1),m(g(x),{display:"inline-block",decorative:"",size:g(R)},null,8,["size"])]),_:2},1032,["to"])]),_:2},1032,["headers","page-number","page-size","total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","is-selected-row","onChange"]))]),_:2},1024),p(),e.params.mesh?(i(),l(v,{key:0},{default:s(a=>[m(L,{onClose:u=>e.replace({name:"mesh-list-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:s(()=>[(i(),l(S(a.Component),{name:e.params.mesh,"mesh-insight":t==null?void 0:t.items.find(u=>u.name===e.params.mesh)},null,8,["name","mesh-insight"]))]),_:2},1032,["onClose"])]),_:2},1024)):w("",!0)])]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):w("",!0)]),_:1})}}});const j=B(D,[["__scopeId","data-v-27a15bd6"]]);export{j as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-573f0961.js b/app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-3f776b25.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-573f0961.js rename to app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-3f776b25.js index 6a3a72a493b0..5298c4c131bc 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-573f0961.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-3f776b25.js @@ -1 +1 @@ -import{d as v,g as w,r as c,o as _,i as r,w as e,j as l,p as s,n as t,k as n,H as m,l as f,a0 as d,D as g,G as k,a1 as I,t as V}from"./index-af109ace.js";import{_ as x}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const S=i=>(g("data-v-2caa54b3"),i=i(),k(),i),R={class:"summary-title-wrapper"},B=S(()=>s("img",{"aria-hidden":"true",src:I},null,-1)),M={class:"summary-title"},T={key:1,class:"stack"},b={class:"mt-4 stack"},C=v({__name:"MeshSummaryView",props:{name:{},meshInsight:{default:void 0}},setup(i){const{t:a}=w(),o=i;return(N,A)=>{const p=c("RouteTitle"),u=c("RouterLink"),h=c("AppView"),y=c("RouteView");return _(),r(y,{name:"mesh-summary-view"},{default:e(()=>[l(h,null,{title:e(()=>[s("div",R,[B,t(),s("h2",M,[l(u,{to:{name:"mesh-detail-view",params:{mesh:o.name}}},{default:e(()=>[l(p,{title:n(a)("meshes.routes.item.title",{name:o.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:e(()=>[t(),o.meshInsight===void 0?(_(),r(x,{key:0},{message:e(()=>[s("p",null,m(n(a)("common.collection.summary.empty_message",{type:"Mesh"})),1)]),default:e(()=>[t(m(n(a)("common.collection.summary.empty_title",{type:"Mesh"}))+" ",1)]),_:1})):(_(),f("div",T,[s("div",null,[s("h3",null,m(n(a)("meshes.routes.item.overview")),1),t(),s("div",b,[l(d,{total:o.meshInsight.services.total??0,"data-testid":"services-status"},{title:e(()=>[t(m(n(a)("meshes.detail.services")),1)]),_:1},8,["total"]),t(),l(d,{online:o.meshInsight.dataplanesByType.standard.online??0,total:o.meshInsight.dataplanesByType.standard.total??0,"data-testid":"data-plane-proxies-status"},{title:e(()=>[t(m(n(a)("meshes.detail.data_plane_proxies")),1)]),_:1},8,["online","total"])])])]))]),_:1})]),_:1})}}});const j=V(C,[["__scopeId","data-v-2caa54b3"]]);export{j as default}; +import{d as v,g as w,r as c,o as _,i as r,w as e,j as l,p as s,n as t,k as n,H as m,l as f,a0 as d,D as g,G as k,a1 as I,t as V}from"./index-28451437.js";import{_ as x}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const S=i=>(g("data-v-2caa54b3"),i=i(),k(),i),R={class:"summary-title-wrapper"},B=S(()=>s("img",{"aria-hidden":"true",src:I},null,-1)),M={class:"summary-title"},T={key:1,class:"stack"},b={class:"mt-4 stack"},C=v({__name:"MeshSummaryView",props:{name:{},meshInsight:{default:void 0}},setup(i){const{t:a}=w(),o=i;return(N,A)=>{const p=c("RouteTitle"),u=c("RouterLink"),h=c("AppView"),y=c("RouteView");return _(),r(y,{name:"mesh-summary-view"},{default:e(()=>[l(h,null,{title:e(()=>[s("div",R,[B,t(),s("h2",M,[l(u,{to:{name:"mesh-detail-view",params:{mesh:o.name}}},{default:e(()=>[l(p,{title:n(a)("meshes.routes.item.title",{name:o.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:e(()=>[t(),o.meshInsight===void 0?(_(),r(x,{key:0},{message:e(()=>[s("p",null,m(n(a)("common.collection.summary.empty_message",{type:"Mesh"})),1)]),default:e(()=>[t(m(n(a)("common.collection.summary.empty_title",{type:"Mesh"}))+" ",1)]),_:1})):(_(),f("div",T,[s("div",null,[s("h3",null,m(n(a)("meshes.routes.item.overview")),1),t(),s("div",b,[l(d,{total:o.meshInsight.services.total??0,"data-testid":"services-status"},{title:e(()=>[t(m(n(a)("meshes.detail.services")),1)]),_:1},8,["total"]),t(),l(d,{online:o.meshInsight.dataplanesByType.standard.online??0,total:o.meshInsight.dataplanesByType.standard.total??0,"data-testid":"data-plane-proxies-status"},{title:e(()=>[t(m(n(a)("meshes.detail.data_plane_proxies")),1)]),_:1},8,["online","total"])])])]))]),_:1})]),_:1})}}});const j=V(C,[["__scopeId","data-v-2caa54b3"]]);export{j as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-43bd5d33.js b/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-d0429d0b.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/MeshTabsView-43bd5d33.js rename to app/kuma-ui/pkg/resources/data/assets/MeshTabsView-d0429d0b.js index 24db16e5a31a..41e051772f5e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-43bd5d33.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-d0429d0b.js @@ -1 +1 @@ -import{d as h,g as f,a2 as w,r as n,o as R,i as V,w as m,j as s,p as b,a3 as x,k as p,n as _}from"./index-af109ace.js";import{N as v}from"./NavTabs-a833ed0a.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,a2 as w,r as n,o as R,i as V,w as m,j as s,p as b,a3 as x,k as p,n as _}from"./index-28451437.js";import{N as v}from"./NavTabs-400c7296.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-7178af21.js b/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-ebe84840.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/MultiZoneView-7178af21.js rename to app/kuma-ui/pkg/resources/data/assets/MultiZoneView-ebe84840.js index 857c01196b94..3b9524984f78 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-7178af21.js +++ b/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-ebe84840.js @@ -1,4 +1,4 @@ -import{L as z}from"./LoadingBox-8b1f23a6.js";import{O as T,a as V,b as I}from"./OnboardingPage-495bc5e8.js";import{d as k,Q as O,y as r,R 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-af109ace.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-e73404f1.js";import{O as T,a as V,b as I}from"./OnboardingPage-c16f9553.js";import{d as k,Q as O,y as r,R 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-28451437.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,Q=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,F)=>{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-a833ed0a.js b/app/kuma-ui/pkg/resources/data/assets/NavTabs-400c7296.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/NavTabs-a833ed0a.js rename to app/kuma-ui/pkg/resources/data/assets/NavTabs-400c7296.js index 637cded4d24d..7aedadce7ff1 100644 --- a/app/kuma-ui/pkg/resources/data/assets/NavTabs-a833ed0a.js +++ b/app/kuma-ui/pkg/resources/data/assets/NavTabs-400c7296.js @@ -1 +1 @@ -import{d as l,e as d,h as n,r as i,o as p,i as v,a5 as N,I as f,w as u,j as b,n as h,H as k,k as x,ak as y,t as T}from"./index-af109ace.js";const L=l({__name:"NavTabs",props:{tabs:{type:Array,required:!0}},setup(c){const o=d(),a=c,_=n(()=>a.tabs.map(t=>({title:t.title,hash:"#"+t.routeName}))),m=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(),v(x(y),{tabs:_.value,"model-value":m.value,"has-panels":!1,class:"nav-tabs","data-testid":"nav-tabs"},N({_:2},[f(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 C=T(L,[["__scopeId","data-v-efa5cb58"]]);export{C as N}; +import{d as l,e as d,h as n,r as i,o as p,i as v,a5 as N,I as f,w as u,j as b,n as h,H as k,k as x,ak as y,t as T}from"./index-28451437.js";const L=l({__name:"NavTabs",props:{tabs:{type:Array,required:!0}},setup(c){const o=d(),a=c,_=n(()=>a.tabs.map(t=>({title:t.title,hash:"#"+t.routeName}))),m=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(),v(x(y),{tabs:_.value,"model-value":m.value,"has-panels":!1,class:"nav-tabs","data-testid":"nav-tabs"},N({_:2},[f(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 C=T(L,[["__scopeId","data-v-efa5cb58"]]);export{C as N}; diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-495bc5e8.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-c16f9553.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingPage-495bc5e8.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingPage-c16f9553.js index 25103d83e64d..dee81ead86bf 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-495bc5e8.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-c16f9553.js @@ -1,4 +1,4 @@ -import{d as p,V as v,o as s,l as r,p as o,S as i,n as t,k as d,m as l,t as u,i as b,w as c,W as _,j as h,H as f,B as m,D as S,G as y}from"./index-af109ace.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,V as v,o as s,l as r,p as o,S as i,n as t,k as d,m as l,t as u,i as b,w as c,W as _,j as h,H as f,B as m,D as S,G as y}from"./index-28451437.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-1285b618.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingView-e790903e.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingView-1285b618.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingView-e790903e.js index dcae9dd0b7a1..e2e9d8d44cbf 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingView-1285b618.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingView-e790903e.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-af109ace.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-28451437.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-6a0f3cb8.js b/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-6a0f3cb8.js deleted file mode 100644 index 05f756fff574..000000000000 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-6a0f3cb8.js +++ /dev/null @@ -1 +0,0 @@ -import{d as $,g as b,y as R,r as u,o as e,l as p,j as i,k as h,aB as L,n as _,w as o,i as s,E as v,x,F as P,I as S,H as B,s as N,Q as A,p as C,a6 as E,a3 as I}from"./index-af109ace.js";import{_ as q}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";import{_ as j}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-09052412.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.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:f}=b(),r=y,t=R("");return(k,n)=>{const c=u("RouterLink");return e(),p("div",null,[i(h(L),{id:"dataplane-search",modelValue:t.value,"onUpdate:modelValue":n[0]||(n[0]=a=>t.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/${r.mesh}/policy-path/${r.policyPath}/policy/${r.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(q,{key:2})):(e(),p("ul",F,[(e(!0),p(P,null,S(a.items.filter(l=>l.dataplane.name.toLowerCase().includes(t.value.toLowerCase())),(l,w)=>(e(),p("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(()=>[_(B(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:f}=b(),r=A(),t=y;return(k,n)=>(e(),p("div",K,[i(h(E),null,{body:o(()=>[C("h2",null,B(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(f,r)=>{const t=u("RouteTitle"),k=u("DataSource"),n=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(q,{key:2})):(e(!0),p(P,{key:3},S([l.policies.find(d=>d.path===a.params.policyPath)??l.policies[0]],d=>(e(),s(n,{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(()=>[C("h1",null,[i(I,{text:a.params.policy},{default:o(()=>[i(t,{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/PolicyDetailView-fd7fc390.js b/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-fd7fc390.js new file mode 100644 index 000000000000..fbb7967c55d8 --- /dev/null +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-fd7fc390.js @@ -0,0 +1 @@ +import{d as $,g as b,y as R,r as d,o as e,l as p,j as o,k as h,aB as L,n as _,w as l,i as s,E as v,x,F as P,I as S,H as B,s as N,Q as A,p as C,a6 as E,a3 as I}from"./index-28451437.js";import{_ as q}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";import{_ as j}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.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:f}=b(),r=y,a=R("");return(k,n)=>{const c=d("RouterLink");return e(),p("div",null,[o(h(L),{id:"dataplane-search",modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=t=>a.value=t),type:"text",placeholder:h(f)("policies.detail.dataplane_input_placeholder"),required:"","data-testid":"dataplane-search-input"},null,8,["modelValue","placeholder"]),_(),o(N,{src:`/meshes/${r.mesh}/policy-path/${r.policyPath}/policy/${r.policyName}/dataplanes`},{default:l(({data:t,error:m})=>[m?(e(),s(v,{key:0,error:m},null,8,["error"])):t===void 0?(e(),s(x,{key:1})):t.items.length===0?(e(),s(q,{key:2})):(e(),p("ul",F,[(e(!0),p(P,null,S(t.items.filter(i=>i.name.toLowerCase().includes(a.value.toLowerCase())),(i,w)=>(e(),p("li",{key:w,"data-testid":"dataplane-name"},[o(c,{to:{name:"data-plane-detail-view",params:{mesh:i.mesh,dataPlane:i.name}}},{default:l(()=>[_(B(i.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:f}=b(),r=A(),a=y;return(k,n)=>(e(),p("div",K,[o(h(E),null,{body:l(()=>[C("h2",null,B(h(f)("policies.detail.affected_dpps")),1),_(),o(H,{class:"mt-4",mesh:a.policy.mesh,"policy-name":a.policy.name,"policy-path":a.path},null,8,["mesh","policy-name","policy-path"])]),_:1}),_(),o(j,{id:"code-block-policy",resource:a.policy,"resource-fetcher":c=>h(r).getSinglePolicyEntity({name:a.policy.name,mesh:a.policy.mesh,path:a.path},c),"is-searchable":""},null,8,["resource","resource-fetcher"])]))}}),G=$({__name:"PolicyDetailView",setup(y){return(f,r)=>{const a=d("RouteTitle"),k=d("DataSource"),n=d("AppView"),c=d("RouteView");return e(),s(c,{name:"policy-detail-view",params:{mesh:"",policy:"",policyPath:""}},{default:l(({route:t,t:m})=>[o(k,{src:"/*/policy-types"},{default:l(({data:i,error:w})=>[w?(e(),s(v,{key:0,error:w},null,8,["error"])):i===void 0?(e(),s(x,{key:1})):i.policies.length===0?(e(),s(q,{key:2})):(e(!0),p(P,{key:3},S([i.policies.find(u=>u.path===t.params.policyPath)??i.policies[0]],u=>(e(),s(n,{key:u.name,breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:t.params.mesh}},text:t.params.mesh},{to:{name:"policy-list-view",params:{mesh:t.params.mesh,policyPath:t.params.policyPath}},text:m("policies.routes.item.breadcrumbs")}]},{title:l(()=>[C("h1",null,[o(I,{text:t.params.policy},{default:l(()=>[o(a,{title:m("policies.routes.item.title",{name:t.params.policy}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:l(()=>[_(),o(k,{src:`/meshes/${t.params.mesh}/policy-path/${u.path}/policy/${t.params.policy}`},{default:l(({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:u.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-7994224d.js b/app/kuma-ui/pkg/resources/data/assets/PolicyListView-1272f69d.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/PolicyListView-7994224d.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyListView-1272f69d.js index daf15ff3f338..7c17e2ac6947 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyListView-7994224d.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyListView-1272f69d.js @@ -1 +1 @@ -import{d as x,g as V,e as B,r as d,o as s,l as P,j as r,w as a,F as $,I as L,B as N,k as l,n as i,H as m,p as y,i as n,m as f,E as I,$ as E,K,t as A,x as q,q as F}from"./index-af109ace.js";import{D,A as O}from"./AppCollection-170ebacc.js";import{P as j}from"./PolicyTypeTag-83482a4f.js";import{_ as H}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";import{S as M}from"./SummaryView-e9848f48.js";const U={class:"policy-list-content"},Z={class:"policy-count"},G={class:"policy-list"},J={class:"stack"},Q={class:"description"},W={class:"description-content"},X={class:"description-actions"},Y={class:"visually-hidden"},ee={key:0},te=x({__name:"PolicyList",props:{pageNumber:{},pageSize:{},policyTypes:{},currentPolicyType:{},policyCollection:{},policyError:{},meshInsight:{},isSelectedRow:{type:[Function,null],default:null}},emits:["change"],setup(R,{emit:T}){const{t:p}=V(),b=B(),e=R,_=T;return(S,v)=>{const h=d("RouterLink"),t=d("KCard"),g=d("KBadge");return s(),P("div",U,[r(t,{class:"policy-type-list","data-testid":"policy-type-list"},{body:a(()=>[(s(!0),P($,null,L(e.policyTypes,(c,u)=>{var o,w,C;return s(),P("div",{key:u,class:N(["policy-type-link-wrapper",{"policy-type-link-wrapper--is-active":c.path===e.currentPolicyType.path}])},[r(h,{class:"policy-type-link",to:{name:"policy-list-view",params:{mesh:l(b).params.mesh,policyPath:c.path}},"data-testid":`policy-type-link-${c.name}`},{default:a(()=>[i(m(c.name),1)]),_:2},1032,["to","data-testid"]),i(),y("div",Z,m(((C=(w=(o=e.meshInsight)==null?void 0:o.policies)==null?void 0:w[c.name])==null?void 0:C.total)??0),1)],2)}),128))]),_:1}),i(),y("div",G,[y("div",J,[r(t,null,{body:a(()=>[y("div",Q,[y("div",W,[y("h3",null,[r(j,{"policy-type":e.currentPolicyType.name},{default:a(()=>[i(m(l(p)("policies.collection.title",{name:e.currentPolicyType.name})),1)]),_:1},8,["policy-type"])]),i(),y("p",null,m(l(p)(`policies.type.${e.currentPolicyType.name}.description`,void 0,{defaultMessage:l(p)("policies.collection.description")})),1)]),i(),y("div",X,[e.currentPolicyType.isExperimental?(s(),n(g,{key:0,appearance:"warning"},{default:a(()=>[i(m(l(p)("policies.collection.beta")),1)]),_:1})):f("",!0),i(),e.currentPolicyType.isInbound?(s(),n(g,{key:1,appearance:"neutral"},{default:a(()=>[i(m(l(p)("policies.collection.inbound")),1)]),_:1})):f("",!0),i(),e.currentPolicyType.isOutbound?(s(),n(g,{key:2,appearance:"neutral"},{default:a(()=>[i(m(l(p)("policies.collection.outbound")),1)]),_:1})):f("",!0),i(),r(D,{href:l(p)("policies.href.docs",{name:e.currentPolicyType.name}),"data-testid":"policy-documentation-link"},{default:a(()=>[y("span",Y,m(l(p)("common.documentation")),1)]),_:1},8,["href"])])])]),_:1}),i(),r(t,null,{body:a(()=>{var c,u;return[e.policyError!==void 0?(s(),n(I,{key:0,error:e.policyError},null,8,["error"])):(s(),n(O,{key:1,class:"policy-collection","data-testid":"policy-collection","empty-state-message":l(p)("common.emptyState.message",{type:`${e.currentPolicyType.name} policies`}),"empty-state-cta-to":l(p)("policies.href.docs",{name:e.currentPolicyType.name}),"empty-state-cta-text":l(p)("common.documentation"),headers:[{label:"Name",key:"name"},...e.currentPolicyType.isTargetRefBased?[{label:"Target ref",key:"targetRef"}]:[],{label:"Details",key:"details",hideLabel:!0}],"page-number":e.pageNumber,"page-size":e.pageSize,total:(c=e.policyCollection)==null?void 0:c.total,items:(u=e.policyCollection)==null?void 0:u.items,error:e.policyError,"is-selected-row":e.isSelectedRow,onChange:v[0]||(v[0]=o=>_("change",o))},{name:a(({rowValue:o})=>[r(h,{to:{name:"policy-summary-view",params:{mesh:l(b).params.mesh,policyPath:e.currentPolicyType.path,policy:o},query:{page:e.pageNumber,size:e.pageSize}}},{default:a(()=>[i(m(o),1)]),_:2},1032,["to"])]),targetRef:a(({row:o})=>[e.currentPolicyType.isTargetRefBased?(s(),n(g,{key:0,appearance:"neutral"},{default:a(()=>[i(m(o.spec.targetRef.kind),1),o.spec.targetRef.name?(s(),P("span",ee,[i(":"),y("b",null,m(o.spec.targetRef.name),1)])):f("",!0)]),_:2},1024)):(s(),P($,{key:1},[i(m(l(p)("common.detail.none")),1)],64))]),details:a(({row:o})=>[r(h,{class:"details-link","data-testid":"details-link",to:{name:"policy-detail-view",params:{mesh:o.mesh,policyPath:e.currentPolicyType.path,policy:o.name}}},{default:a(()=>[i(m(l(p)("common.collection.details_link"))+" ",1),r(l(E),{display:"inline-block",decorative:"",size:l(K)},null,8,["size"])]),_:2},1032,["to"])]),_:1},8,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error","is-selected-row"]))]}),_:1})])])])}}});const ae=A(te,[["__scopeId","data-v-949a9abb"]]),ne=x({__name:"PolicyListView",setup(R){return(T,p)=>{const b=d("RouteTitle"),e=d("RouterView"),_=d("DataSource"),S=d("AppView"),v=d("RouteView");return s(),n(_,{src:"/me"},{default:a(({data:h})=>[h?(s(),n(v,{key:0,name:"policy-list-view",params:{page:1,size:h.pageSize,mesh:"",policyPath:"",policy:""}},{default:a(({route:t,t:g})=>[r(S,null,{title:a(()=>[y("h2",null,[r(b,{title:g("policies.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[i(),r(_,{src:"/*/policy-types"},{default:a(({data:c,error:u})=>[u?(s(),n(I,{key:0,error:u},null,8,["error"])):c===void 0?(s(),n(q,{key:1})):c.policies.length===0?(s(),n(H,{key:2})):(s(),n(_,{key:3,src:`/meshes/${t.params.mesh}/policy-path/${t.params.policyPath}?page=${t.params.page}&size=${t.params.size}`},{default:a(({data:o,error:w})=>[r(_,{src:`/mesh-insights/${t.params.mesh}`},{default:a(({data:C})=>[(s(),n(ae,{key:t.params.policyPath,"page-number":parseInt(t.params.page),"page-size":parseInt(t.params.size),"current-policy-type":c.policies.find(k=>k.path===t.params.policyPath)??c.policies[0],"policy-types":c.policies,"mesh-insight":C,"policy-collection":o,"policy-error":w,"is-selected-row":k=>k.name===t.params.policy,onChange:t.update},null,8,["page-number","page-size","current-policy-type","policy-types","mesh-insight","policy-collection","policy-error","is-selected-row","onChange"])),i(),t.params.policy?(s(),n(e,{key:0},{default:a(k=>[r(M,{onClose:z=>t.replace({name:"policy-list-view",params:{mesh:t.params.mesh,policyPath:t.params.policyPath},query:{page:t.params.page,size:t.params.size}})},{default:a(()=>[(s(),n(F(k.Component),{name:t.params.policy,policy:o==null?void 0:o.items.find(z=>z.name===t.params.policy),"policy-type":c.policies.find(z=>z.path===t.params.policyPath)},null,8,["name","policy","policy-type"]))]),_:2},1032,["onClose"])]),_:2},1024)):f("",!0)]),_:2},1032,["src"])]),_:2},1032,["src"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["params"])):f("",!0)]),_:1})}}});export{ne as default}; +import{d as x,g as V,e as B,r as d,o as s,l as P,j as r,w as a,F as $,I as L,B as N,k as l,n as i,H as m,p as y,i as n,m as f,E as I,$ as E,K,t as A,x as q,q as F}from"./index-28451437.js";import{D,A as O}from"./AppCollection-b6258a04.js";import{P as j}from"./PolicyTypeTag-24805dd6.js";import{_ as H}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";import{S as M}from"./SummaryView-7a0161c3.js";const U={class:"policy-list-content"},Z={class:"policy-count"},G={class:"policy-list"},J={class:"stack"},Q={class:"description"},W={class:"description-content"},X={class:"description-actions"},Y={class:"visually-hidden"},ee={key:0},te=x({__name:"PolicyList",props:{pageNumber:{},pageSize:{},policyTypes:{},currentPolicyType:{},policyCollection:{},policyError:{},meshInsight:{},isSelectedRow:{type:[Function,null],default:null}},emits:["change"],setup(R,{emit:T}){const{t:p}=V(),b=B(),e=R,_=T;return(S,v)=>{const h=d("RouterLink"),t=d("KCard"),g=d("KBadge");return s(),P("div",U,[r(t,{class:"policy-type-list","data-testid":"policy-type-list"},{body:a(()=>[(s(!0),P($,null,L(e.policyTypes,(c,u)=>{var o,w,C;return s(),P("div",{key:u,class:N(["policy-type-link-wrapper",{"policy-type-link-wrapper--is-active":c.path===e.currentPolicyType.path}])},[r(h,{class:"policy-type-link",to:{name:"policy-list-view",params:{mesh:l(b).params.mesh,policyPath:c.path}},"data-testid":`policy-type-link-${c.name}`},{default:a(()=>[i(m(c.name),1)]),_:2},1032,["to","data-testid"]),i(),y("div",Z,m(((C=(w=(o=e.meshInsight)==null?void 0:o.policies)==null?void 0:w[c.name])==null?void 0:C.total)??0),1)],2)}),128))]),_:1}),i(),y("div",G,[y("div",J,[r(t,null,{body:a(()=>[y("div",Q,[y("div",W,[y("h3",null,[r(j,{"policy-type":e.currentPolicyType.name},{default:a(()=>[i(m(l(p)("policies.collection.title",{name:e.currentPolicyType.name})),1)]),_:1},8,["policy-type"])]),i(),y("p",null,m(l(p)(`policies.type.${e.currentPolicyType.name}.description`,void 0,{defaultMessage:l(p)("policies.collection.description")})),1)]),i(),y("div",X,[e.currentPolicyType.isExperimental?(s(),n(g,{key:0,appearance:"warning"},{default:a(()=>[i(m(l(p)("policies.collection.beta")),1)]),_:1})):f("",!0),i(),e.currentPolicyType.isInbound?(s(),n(g,{key:1,appearance:"neutral"},{default:a(()=>[i(m(l(p)("policies.collection.inbound")),1)]),_:1})):f("",!0),i(),e.currentPolicyType.isOutbound?(s(),n(g,{key:2,appearance:"neutral"},{default:a(()=>[i(m(l(p)("policies.collection.outbound")),1)]),_:1})):f("",!0),i(),r(D,{href:l(p)("policies.href.docs",{name:e.currentPolicyType.name}),"data-testid":"policy-documentation-link"},{default:a(()=>[y("span",Y,m(l(p)("common.documentation")),1)]),_:1},8,["href"])])])]),_:1}),i(),r(t,null,{body:a(()=>{var c,u;return[e.policyError!==void 0?(s(),n(I,{key:0,error:e.policyError},null,8,["error"])):(s(),n(O,{key:1,class:"policy-collection","data-testid":"policy-collection","empty-state-message":l(p)("common.emptyState.message",{type:`${e.currentPolicyType.name} policies`}),"empty-state-cta-to":l(p)("policies.href.docs",{name:e.currentPolicyType.name}),"empty-state-cta-text":l(p)("common.documentation"),headers:[{label:"Name",key:"name"},...e.currentPolicyType.isTargetRefBased?[{label:"Target ref",key:"targetRef"}]:[],{label:"Details",key:"details",hideLabel:!0}],"page-number":e.pageNumber,"page-size":e.pageSize,total:(c=e.policyCollection)==null?void 0:c.total,items:(u=e.policyCollection)==null?void 0:u.items,error:e.policyError,"is-selected-row":e.isSelectedRow,onChange:v[0]||(v[0]=o=>_("change",o))},{name:a(({rowValue:o})=>[r(h,{to:{name:"policy-summary-view",params:{mesh:l(b).params.mesh,policyPath:e.currentPolicyType.path,policy:o},query:{page:e.pageNumber,size:e.pageSize}}},{default:a(()=>[i(m(o),1)]),_:2},1032,["to"])]),targetRef:a(({row:o})=>[e.currentPolicyType.isTargetRefBased?(s(),n(g,{key:0,appearance:"neutral"},{default:a(()=>[i(m(o.spec.targetRef.kind),1),o.spec.targetRef.name?(s(),P("span",ee,[i(":"),y("b",null,m(o.spec.targetRef.name),1)])):f("",!0)]),_:2},1024)):(s(),P($,{key:1},[i(m(l(p)("common.detail.none")),1)],64))]),details:a(({row:o})=>[r(h,{class:"details-link","data-testid":"details-link",to:{name:"policy-detail-view",params:{mesh:o.mesh,policyPath:e.currentPolicyType.path,policy:o.name}}},{default:a(()=>[i(m(l(p)("common.collection.details_link"))+" ",1),r(l(E),{display:"inline-block",decorative:"",size:l(K)},null,8,["size"])]),_:2},1032,["to"])]),_:1},8,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error","is-selected-row"]))]}),_:1})])])])}}});const ae=A(te,[["__scopeId","data-v-949a9abb"]]),ne=x({__name:"PolicyListView",setup(R){return(T,p)=>{const b=d("RouteTitle"),e=d("RouterView"),_=d("DataSource"),S=d("AppView"),v=d("RouteView");return s(),n(_,{src:"/me"},{default:a(({data:h})=>[h?(s(),n(v,{key:0,name:"policy-list-view",params:{page:1,size:h.pageSize,mesh:"",policyPath:"",policy:""}},{default:a(({route:t,t:g})=>[r(S,null,{title:a(()=>[y("h2",null,[r(b,{title:g("policies.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[i(),r(_,{src:"/*/policy-types"},{default:a(({data:c,error:u})=>[u?(s(),n(I,{key:0,error:u},null,8,["error"])):c===void 0?(s(),n(q,{key:1})):c.policies.length===0?(s(),n(H,{key:2})):(s(),n(_,{key:3,src:`/meshes/${t.params.mesh}/policy-path/${t.params.policyPath}?page=${t.params.page}&size=${t.params.size}`},{default:a(({data:o,error:w})=>[r(_,{src:`/mesh-insights/${t.params.mesh}`},{default:a(({data:C})=>[(s(),n(ae,{key:t.params.policyPath,"page-number":parseInt(t.params.page),"page-size":parseInt(t.params.size),"current-policy-type":c.policies.find(k=>k.path===t.params.policyPath)??c.policies[0],"policy-types":c.policies,"mesh-insight":C,"policy-collection":o,"policy-error":w,"is-selected-row":k=>k.name===t.params.policy,onChange:t.update},null,8,["page-number","page-size","current-policy-type","policy-types","mesh-insight","policy-collection","policy-error","is-selected-row","onChange"])),i(),t.params.policy?(s(),n(e,{key:0},{default:a(k=>[r(M,{onClose:z=>t.replace({name:"policy-list-view",params:{mesh:t.params.mesh,policyPath:t.params.policyPath},query:{page:t.params.page,size:t.params.size}})},{default:a(()=>[(s(),n(F(k.Component),{name:t.params.policy,policy:o==null?void 0:o.items.find(z=>z.name===t.params.policy),"policy-type":c.policies.find(z=>z.path===t.params.policyPath)},null,8,["name","policy","policy-type"]))]),_:2},1032,["onClose"])]),_:2},1024)):f("",!0)]),_:2},1032,["src"])]),_:2},1032,["src"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["params"])):f("",!0)]),_:1})}}});export{ne as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-da6bbfab.js b/app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-eca81395.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-da6bbfab.js rename to app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-eca81395.js index 0d9326d4eaae..90c8cea8b160 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-da6bbfab.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-eca81395.js @@ -1 +1 @@ -import{d as V,g as S,Q as x,r as l,o as n,i as y,w as a,j as m,p as o,n as t,k as s,H as c,l as _,a7 as B,m as f,F as P,D as T,G as C,a1 as I,t as b}from"./index-af109ace.js";import{_ as A}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";import{_ as N}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-09052412.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./toYaml-4e00099e.js";const D=p=>(T("data-v-c61485c0"),p=p(),C(),p),K={class:"summary-title-wrapper"},E=D(()=>o("img",{"aria-hidden":"true",src:I},null,-1)),F={class:"summary-title"},L={key:1,class:"stack"},$={key:0},j={class:"mt-4 stack"},G={key:0},H={class:"mt-4"},Q=V({__name:"PolicySummaryView",props:{name:{},policy:{default:void 0},policyType:{}},setup(p){const{t:i}=S(),h=x(),e=p;return(q,z)=>{const g=l("RouteTitle"),k=l("RouterLink"),v=l("KBadge"),w=l("AppView"),R=l("RouteView");return n(),y(R,{name:"policy-summary-view",params:{mesh:"",policyPath:"",policy:""}},{default:a(({route:u})=>[m(w,null,{title:a(()=>[o("div",K,[E,t(),o("h2",F,[m(k,{to:{name:"policy-detail-view",params:{policy:e.name}}},{default:a(()=>[m(g,{title:s(i)("policies.routes.item.title",{name:e.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:a(()=>{var d;return[t(),e.policy===void 0?(n(),y(A,{key:0},{message:a(()=>[o("p",null,c(s(i)("common.collection.summary.empty_message",{type:e.policyType.name})),1)]),default:a(()=>[t(c(s(i)("common.collection.summary.empty_title",{type:e.policyType.name}))+" ",1)]),_:1})):(n(),_("div",L,[(d=e.policy.spec)!=null&&d.targetRef?(n(),_("div",$,[o("h3",null,c(s(i)("policies.routes.item.overview")),1),t(),o("div",j,[m(B,null,{title:a(()=>[t(c(s(i)("http.api.property.targetRef")),1)]),body:a(()=>{var r;return[(r=e.policy.spec)!=null&&r.targetRef?(n(),y(v,{key:0,appearance:"neutral"},{default:a(()=>[t(c(e.policy.spec.targetRef.kind),1),e.policy.spec.targetRef.name?(n(),_("span",G,[t(":"),o("b",null,c(e.policy.spec.targetRef.name),1)])):f("",!0)]),_:1})):(n(),_(P,{key:1},[t(c(s(i)("common.detail.none")),1)],64))]}),_:1})])])):f("",!0),t(),o("div",null,[o("h3",null,c(s(i)("policies.routes.item.config")),1),t(),o("div",H,[m(N,{id:"code-block-policy",resource:e.policy,"resource-fetcher":r=>s(h).getSinglePolicyEntity({name:u.params.policy,mesh:u.params.mesh,path:u.params.policyPath},r),"is-searchable":""},null,8,["resource","resource-fetcher"])])])]))]}),_:2},1024)]),_:1})}}});const X=b(Q,[["__scopeId","data-v-c61485c0"]]);export{X as default}; +import{d as V,g as S,Q as x,r as l,o as n,i as y,w as a,j as m,p as o,n as t,k as s,H as c,l as _,a7 as B,m as f,F as P,D as T,G as C,a1 as I,t as b}from"./index-28451437.js";import{_ as A}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";import{_ as N}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./toYaml-4e00099e.js";const D=p=>(T("data-v-c61485c0"),p=p(),C(),p),K={class:"summary-title-wrapper"},E=D(()=>o("img",{"aria-hidden":"true",src:I},null,-1)),F={class:"summary-title"},L={key:1,class:"stack"},$={key:0},j={class:"mt-4 stack"},G={key:0},H={class:"mt-4"},Q=V({__name:"PolicySummaryView",props:{name:{},policy:{default:void 0},policyType:{}},setup(p){const{t:i}=S(),h=x(),e=p;return(q,z)=>{const g=l("RouteTitle"),k=l("RouterLink"),v=l("KBadge"),w=l("AppView"),R=l("RouteView");return n(),y(R,{name:"policy-summary-view",params:{mesh:"",policyPath:"",policy:""}},{default:a(({route:u})=>[m(w,null,{title:a(()=>[o("div",K,[E,t(),o("h2",F,[m(k,{to:{name:"policy-detail-view",params:{policy:e.name}}},{default:a(()=>[m(g,{title:s(i)("policies.routes.item.title",{name:e.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:a(()=>{var d;return[t(),e.policy===void 0?(n(),y(A,{key:0},{message:a(()=>[o("p",null,c(s(i)("common.collection.summary.empty_message",{type:e.policyType.name})),1)]),default:a(()=>[t(c(s(i)("common.collection.summary.empty_title",{type:e.policyType.name}))+" ",1)]),_:1})):(n(),_("div",L,[(d=e.policy.spec)!=null&&d.targetRef?(n(),_("div",$,[o("h3",null,c(s(i)("policies.routes.item.overview")),1),t(),o("div",j,[m(B,null,{title:a(()=>[t(c(s(i)("http.api.property.targetRef")),1)]),body:a(()=>{var r;return[(r=e.policy.spec)!=null&&r.targetRef?(n(),y(v,{key:0,appearance:"neutral"},{default:a(()=>[t(c(e.policy.spec.targetRef.kind),1),e.policy.spec.targetRef.name?(n(),_("span",G,[t(":"),o("b",null,c(e.policy.spec.targetRef.name),1)])):f("",!0)]),_:1})):(n(),_(P,{key:1},[t(c(s(i)("common.detail.none")),1)],64))]}),_:1})])])):f("",!0),t(),o("div",null,[o("h3",null,c(s(i)("policies.routes.item.config")),1),t(),o("div",H,[m(N,{id:"code-block-policy",resource:e.policy,"resource-fetcher":r=>s(h).getSinglePolicyEntity({name:u.params.policy,mesh:u.params.mesh,path:u.params.policyPath},r),"is-searchable":""},null,8,["resource","resource-fetcher"])])])]))]}),_:2},1024)]),_:1})}}});const X=b(Q,[["__scopeId","data-v-c61485c0"]]);export{X as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-83482a4f.js b/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-24805dd6.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-83482a4f.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-24805dd6.js index 22730ca0f312..f1e450fe580e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-83482a4f.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-24805dd6.js @@ -1 +1 @@ -import{d as Q,o as e,l as t,i as l,k as m,aq as p,n,S as d,H as z,t as w}from"./index-af109ace.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",o="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=",f="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"],O=Q({__name:"PolicyTypeTag",props:{policyType:{type:String,required:!0}},setup(T){const s={CircuitBreaker:B,FaultInjection:a,HealthCheck:c,MeshAccessLog:D,MeshCircuitBreaker:B,MeshFaultInjection:a,MeshHealthCheck:c,MeshProxyPatch:r,MeshRateLimit:i,MeshRetry:g,MeshTimeout:C,MeshTrace:f,MeshTrafficPermission:o,ProxyTemplate:r,RateLimit:i,Retry:g,Timeout:C,TrafficLog:D,TrafficPermission:o,TrafficRoute:v,TrafficTrace:f,VirtualOutbound:Y},A=T;return(h,E)=>(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(z(A.policyType),1)],!0)]))}});const x=w(O,[["__scopeId","data-v-9604a2cd"]]);export{x as P}; +import{d as Q,o as e,l as t,i as l,k as m,aq as p,n,S as d,H as z,t as w}from"./index-28451437.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",o="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=",f="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"],O=Q({__name:"PolicyTypeTag",props:{policyType:{type:String,required:!0}},setup(T){const s={CircuitBreaker:B,FaultInjection:a,HealthCheck:c,MeshAccessLog:D,MeshCircuitBreaker:B,MeshFaultInjection:a,MeshHealthCheck:c,MeshProxyPatch:r,MeshRateLimit:i,MeshRetry:g,MeshTimeout:C,MeshTrace:f,MeshTrafficPermission:o,ProxyTemplate:r,RateLimit:i,Retry:g,Timeout:C,TrafficLog:D,TrafficPermission:o,TrafficRoute:v,TrafficTrace:f,VirtualOutbound:Y},A=T;return(h,E)=>(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(z(A.policyType),1)],!0)]))}});const x=w(O,[["__scopeId","data-v-9604a2cd"]]);export{x as P}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-09052412.js b/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-09052412.js rename to app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.js index 05a5693dec1e..33b2c9f070cc 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-09052412.js +++ b/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.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,a8 as f,al as _,n as x,H as g}from"./index-af109ace.js";import{_ as k}from"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.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{t:r}=p(),e=s,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,a8 as f,al as _,n as x,H as g}from"./index-28451437.js";import{_ as k}from"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.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{t:r}=p(),e=s,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-ea214ecd.js b/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-55cde028.js similarity index 66% rename from app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-ea214ecd.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-55cde028.js index cf270fb8d478..ed524a76795b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-ea214ecd.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-55cde028.js @@ -1 +1 @@ -import{_ as m}from"./ExternalServiceConfig.vue_vue_type_script_setup_true_lang-fe863fe8.js";import{d as p,r as e,o as _,i as l,w as t,j as o,p as u,n as d}from"./index-af109ace.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";import"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-09052412.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./toYaml-4e00099e.js";const B=p({__name:"ServiceConfigView",setup(v){return(f,w)=>{const n=e("RouteTitle"),s=e("KCard"),r=e("AppView"),a=e("RouteView");return _(),l(a,{name:"service-config-view",params:{mesh:"",service:""}},{default:t(({route:i,t:c})=>[o(r,null,{title:t(()=>[u("h2",null,[o(n,{title:c("services.routes.item.navigation.service-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[d(),o(s,null,{body:t(()=>[o(m,{mesh:i.params.mesh,service:i.params.service},null,8,["mesh","service"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{B as default}; +import{_ as m}from"./ExternalServiceConfig.vue_vue_type_script_setup_true_lang-4ca23c1a.js";import{d as p,r as e,o as _,i as l,w as t,j as o,p as u,n as d}from"./index-28451437.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";import"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./toYaml-4e00099e.js";const B=p({__name:"ServiceConfigView",setup(v){return(f,w)=>{const n=e("RouteTitle"),s=e("KCard"),r=e("AppView"),a=e("RouteView");return _(),l(a,{name:"service-config-view",params:{mesh:"",service:""}},{default:t(({route:i,t:c})=>[o(r,null,{title:t(()=>[u("h2",null,[o(n,{title:c("services.routes.item.navigation.service-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[d(),o(s,null,{body:t(()=>[o(m,{mesh:i.params.mesh,service:i.params.service},null,8,["mesh","service"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{B as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-225a00ca.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-b43d9ddf.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-225a00ca.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-b43d9ddf.js index 65e5ccf6d4e3..5649eb10b795 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-225a00ca.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-b43d9ddf.js @@ -1 +1 @@ -import{D as V,K as k}from"./KFilterBar-ed682188.js";import{d as C,r as o,o as i,i as l,w as r,j as s,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-af109ace.js";import"./AppCollection-170ebacc.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";import"./StatusBadge-ac5a18e6.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 i(),l(p,{src:"/me"},{default:r(({data:m})=>[m?(i(),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})=>[s(h,null,{title:r(()=>[z("h2",null,[s(f,{title:S("services.routes.item.navigation.service-data-plane-proxies-view"),render:!0},null,8,["title"])])]),default:r(()=>[c(),s(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[(i(!0),q(P,null,T([((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)!==void 0],n=>(i(),l(b,{key:n},{body:r(()=>[s(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(()=>[s(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?(i(),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-4216afcf"]]);export{J as default}; +import{D as V,K as k}from"./KFilterBar-d93b3a1d.js";import{d as C,r as o,o as i,i as l,w as r,j as s,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-28451437.js";import"./AppCollection-b6258a04.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";import"./StatusBadge-fcc954b7.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 i(),l(p,{src:"/me"},{default:r(({data:m})=>[m?(i(),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})=>[s(h,null,{title:r(()=>[z("h2",null,[s(f,{title:S("services.routes.item.navigation.service-data-plane-proxies-view"),render:!0},null,8,["title"])])]),default:r(()=>[c(),s(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[(i(!0),q(P,null,T([((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)!==void 0],n=>(i(),l(b,{key:n},{body:r(()=>[s(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(()=>[s(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?(i(),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-4216afcf"]]);export{J as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-f0c65692.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-b561c43a.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-f0c65692.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-b561c43a.js index 246c242c9139..8c50ede4e7f9 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-f0c65692.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-b561c43a.js @@ -1 +1 @@ -import{d as T,g as V,a2 as y,r as o,o as i,i as p,w as a,j as r,k as _,p as R,a3 as k,n as f,E as N,x as B,l as C,F as g,q as D}from"./index-af109ace.js";import{N as $}from"./NavTabs-a833ed0a.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,a2 as y,r as o,o as i,i as p,w as a,j as r,k as _,p as R,a3 as k,n as f,E as N,x as B,l as C,F as g,q as D}from"./index-28451437.js";import{N as $}from"./NavTabs-400c7296.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-459bffe4.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-1b9a5559.js similarity index 70% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-459bffe4.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-1b9a5559.js index 9fc7a586777a..f337faaf0e14 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-459bffe4.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-1b9a5559.js @@ -1 +1 @@ -import{_ as l,a as d}from"./ServiceInsightDetails.vue_vue_type_script_setup_true_lang-3d10c424.js";import{d as v,r as e,o as s,i as a,w as t,j as i,p as u}from"./index-af109ace.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";import"./TagList-0d613d23.js";import"./StatusBadge-ac5a18e6.js";const f={class:"stack"},x=v({__name:"ServiceDetailView",props:{data:{}},setup(r){const n=r;return(c,h)=>{const p=e("KCard"),m=e("AppView"),_=e("RouteView");return s(),a(_,{name:"service-detail-view",params:{mesh:"",service:""}},{default:t(({route:o})=>[i(m,null,{default:t(()=>[u("div",f,[i(p,null,{body:t(()=>[n.data.serviceType==="external"?(s(),a(l,{key:0,mesh:o.params.mesh,service:o.params.service},null,8,["mesh","service"])):(s(),a(d,{key:1,"service-insight":c.data},null,8,["service-insight"]))]),_:2},1024)])]),_:2},1024)]),_:1})}}});export{x as default}; +import{_ as l,a as d}from"./ServiceInsightDetails.vue_vue_type_script_setup_true_lang-0980654c.js";import{d as v,r as e,o as s,i as a,w as t,j as i,p as u}from"./index-28451437.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";import"./TagList-79fcd8ea.js";import"./StatusBadge-fcc954b7.js";const f={class:"stack"},x=v({__name:"ServiceDetailView",props:{data:{}},setup(r){const n=r;return(c,h)=>{const p=e("KCard"),m=e("AppView"),_=e("RouteView");return s(),a(_,{name:"service-detail-view",params:{mesh:"",service:""}},{default:t(({route:o})=>[i(m,null,{default:t(()=>[u("div",f,[i(p,null,{body:t(()=>[n.data.serviceType==="external"?(s(),a(l,{key:0,mesh:o.params.mesh,service:o.params.service},null,8,["mesh","service"])):(s(),a(d,{key:1,"service-insight":c.data},null,8,["service-insight"]))]),_:2},1024)])]),_:2},1024)]),_:1})}}});export{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceInsightDetails.vue_vue_type_script_setup_true_lang-3d10c424.js b/app/kuma-ui/pkg/resources/data/assets/ServiceInsightDetails.vue_vue_type_script_setup_true_lang-0980654c.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/ServiceInsightDetails.vue_vue_type_script_setup_true_lang-3d10c424.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceInsightDetails.vue_vue_type_script_setup_true_lang-0980654c.js index 58d57852bc50..fb26c0060f33 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceInsightDetails.vue_vue_type_script_setup_true_lang-3d10c424.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceInsightDetails.vue_vue_type_script_setup_true_lang-0980654c.js @@ -1 +1 @@ -import{d as h,g,r as k,o as s,l as d,j as r,w as t,i as c,E as x,x as I,p as B,H as i,k as l,a7 as _,n as a,a3 as y,m as C,F as D,a0 as $}from"./index-af109ace.js";import{_ as b}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";import{T as E}from"./TagList-0d613d23.js";import{S as N}from"./StatusBadge-ac5a18e6.js";const P={key:3,class:"columns"},j=h({__name:"ExternalServiceDetails",props:{mesh:{},service:{}},setup(u){const{t:o}=g(),e=u;return(v,f)=>{const p=k("DataSource");return s(),d("div",null,[r(p,{src:`/meshes/${e.mesh}/external-services/for/${e.service}`},{default:t(({data:n,error:m})=>[m?(s(),c(x,{key:0,error:m},null,8,["error"])):n===void 0?(s(),c(I,{key:1})):n===null?(s(),c(b,{key:2,"data-testid":"no-matching-external-service"},{title:t(()=>[B("p",null,i(l(o)("services.detail.no_matching_external_service",{name:e.service})),1)]),_:1})):(s(),d("div",P,[r(_,null,{title:t(()=>[a(i(l(o)("http.api.property.address")),1)]),body:t(()=>[r(y,{text:n.networking.address},null,8,["text"])]),_:2},1024),a(),n.tags!==null?(s(),c(_,{key:0},{title:t(()=>[a(i(l(o)("http.api.property.tags")),1)]),body:t(()=>[r(E,{tags:n.tags},null,8,["tags"])]),_:2},1024)):C("",!0)]))]),_:1},8,["src"])])}}}),S={class:"columns"},H=h({__name:"ServiceInsightDetails",props:{serviceInsight:{}},setup(u){const{t:o}=g(),e=u;return(v,f)=>{var p,n;return s(),d("div",S,[r(_,null,{title:t(()=>[a(i(l(o)("http.api.property.status")),1)]),body:t(()=>[r(N,{status:e.serviceInsight.status??"not_available"},null,8,["status"])]),_:1}),a(),r(_,null,{title:t(()=>[a(i(l(o)("http.api.property.address")),1)]),body:t(()=>[e.serviceInsight.addressPort?(s(),c(y,{key:0,text:e.serviceInsight.addressPort},null,8,["text"])):(s(),d(D,{key:1},[a(i(l(o)("common.detail.none")),1)],64))]),_:1}),a(),r($,{online:((p=e.serviceInsight.dataplanes)==null?void 0:p.online)??0,total:((n=e.serviceInsight.dataplanes)==null?void 0:n.total)??0},{title:t(()=>[a(i(l(o)("http.api.property.dataPlaneProxies")),1)]),_:1},8,["online","total"])])}}});export{j as _,H as a}; +import{d as h,g,r as k,o as s,l as d,j as r,w as t,i as c,E as x,x as I,p as B,H as i,k as l,a7 as _,n as a,a3 as y,m as C,F as D,a0 as $}from"./index-28451437.js";import{_ as b}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";import{T as E}from"./TagList-79fcd8ea.js";import{S as N}from"./StatusBadge-fcc954b7.js";const P={key:3,class:"columns"},j=h({__name:"ExternalServiceDetails",props:{mesh:{},service:{}},setup(u){const{t:o}=g(),e=u;return(v,f)=>{const p=k("DataSource");return s(),d("div",null,[r(p,{src:`/meshes/${e.mesh}/external-services/for/${e.service}`},{default:t(({data:n,error:m})=>[m?(s(),c(x,{key:0,error:m},null,8,["error"])):n===void 0?(s(),c(I,{key:1})):n===null?(s(),c(b,{key:2,"data-testid":"no-matching-external-service"},{title:t(()=>[B("p",null,i(l(o)("services.detail.no_matching_external_service",{name:e.service})),1)]),_:1})):(s(),d("div",P,[r(_,null,{title:t(()=>[a(i(l(o)("http.api.property.address")),1)]),body:t(()=>[r(y,{text:n.networking.address},null,8,["text"])]),_:2},1024),a(),n.tags!==null?(s(),c(_,{key:0},{title:t(()=>[a(i(l(o)("http.api.property.tags")),1)]),body:t(()=>[r(E,{tags:n.tags},null,8,["tags"])]),_:2},1024)):C("",!0)]))]),_:1},8,["src"])])}}}),S={class:"columns"},H=h({__name:"ServiceInsightDetails",props:{serviceInsight:{}},setup(u){const{t:o}=g(),e=u;return(v,f)=>{var p,n;return s(),d("div",S,[r(_,null,{title:t(()=>[a(i(l(o)("http.api.property.status")),1)]),body:t(()=>[r(N,{status:e.serviceInsight.status??"not_available"},null,8,["status"])]),_:1}),a(),r(_,null,{title:t(()=>[a(i(l(o)("http.api.property.address")),1)]),body:t(()=>[e.serviceInsight.addressPort?(s(),c(y,{key:0,text:e.serviceInsight.addressPort},null,8,["text"])):(s(),d(D,{key:1},[a(i(l(o)("common.detail.none")),1)],64))]),_:1}),a(),r($,{online:((p=e.serviceInsight.dataplanes)==null?void 0:p.online)??0,total:((n=e.serviceInsight.dataplanes)==null?void 0:n.total)??0},{title:t(()=>[a(i(l(o)("http.api.property.dataPlaneProxies")),1)]),_:1},8,["online","total"])])}}});export{j as _,H as a}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceListView-d18441e0.js b/app/kuma-ui/pkg/resources/data/assets/ServiceListView-a6b2392a.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/ServiceListView-d18441e0.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceListView-a6b2392a.js index 623143137e61..55309df206c6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceListView-d18441e0.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceListView-a6b2392a.js @@ -1 +1 @@ -import{d as V,r as l,o as t,i as r,w as a,j as i,p as b,n as o,E as x,H as m,a3 as R,l as _,F as d,k as g,$ as B,K as T,q as A,m as h,t as D}from"./index-af109ace.js";import{A as I}from"./AppCollection-170ebacc.js";import{S as L}from"./StatusBadge-ac5a18e6.js";import{S as N}from"./SummaryView-e9848f48.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const $=V({__name:"ServiceListView",setup(E){return(K,q)=>{const w=l("RouteTitle"),u=l("RouterLink"),f=l("KCard"),C=l("RouterView"),S=l("AppView"),v=l("DataSource"),z=l("RouteView");return t(),r(v,{src:"/me"},{default:a(({data:y})=>[y?(t(),r(z,{key:0,name:"service-list-view",params:{page:1,size:y.pageSize,mesh:"",service:""}},{default:a(({route:s,t:c})=>[i(v,{src:`/meshes/${s.params.mesh}/service-insights?page=${s.params.page}&size=${s.params.size}`},{default:a(({data:n,error:p})=>[i(S,null,{title:a(()=>[b("h2",null,[i(w,{title:c("services.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[o(),i(f,null,{body:a(()=>[p!==void 0?(t(),r(x,{key:0,error:p},null,8,["error"])):(t(),r(I,{key:1,class:"service-collection","data-testid":"service-collection","empty-state-message":c("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:"Details",key:"details",hideLabel:!0}],"page-number":parseInt(s.params.page),"page-size":parseInt(s.params.size),total:n==null?void 0:n.total,items:n==null?void 0:n.items,error:p,"is-selected-row":e=>e.name===s.params.service,onChange:s.update},{name:a(({row:e})=>[i(u,{to:{name:"service-summary-view",params:{mesh:e.mesh,service:e.name},query:{page:s.params.page,size:s.params.size}}},{default:a(()=>[o(m(e.name),1)]),_:2},1032,["to"])]),serviceType:a(({rowValue:e})=>[o(m(e||"internal"),1)]),addressPort:a(({rowValue:e})=>[e?(t(),r(R,{key:0,text:e},null,8,["text"])):(t(),_(d,{key:1},[o(m(c("common.collection.none")),1)],64))]),online:a(({row:e})=>[e.dataplanes?(t(),_(d,{key:0},[o(m(e.dataplanes.online||0)+" / "+m(e.dataplanes.total||0),1)],64)):(t(),_(d,{key:1},[o(m(c("common.collection.none")),1)],64))]),status:a(({row:e})=>[i(L,{status:e.status||"not_available"},null,8,["status"])]),details:a(({row:e})=>[i(u,{class:"details-link","data-testid":"details-link",to:{name:"service-detail-view",params:{mesh:e.mesh,service:e.name}}},{default:a(()=>[o(m(c("common.collection.details_link"))+" ",1),i(g(B),{display:"inline-block",decorative:"",size:g(T)},null,8,["size"])]),_:2},1032,["to"])]),_:2},1032,["empty-state-message","headers","page-number","page-size","total","items","error","is-selected-row","onChange"]))]),_:2},1024),o(),s.params.service?(t(),r(C,{key:0},{default:a(e=>[i(N,{onClose:k=>s.replace({name:"service-list-view",params:{mesh:s.params.mesh},query:{page:s.params.page,size:s.params.size}})},{default:a(()=>[(t(),r(A(e.Component),{name:s.params.service,service:n==null?void 0:n.items.find(k=>k.name===s.params.service)},null,8,["name","service"]))]),_:2},1032,["onClose"])]),_:2},1024)):h("",!0)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):h("",!0)]),_:1})}}});const U=D($,[["__scopeId","data-v-c8d7a3c2"]]);export{U as default}; +import{d as V,r as l,o as t,i as r,w as a,j as i,p as b,n as o,E as x,H as m,a3 as R,l as _,F as d,k as g,$ as B,K as T,q as A,m as h,t as D}from"./index-28451437.js";import{A as I}from"./AppCollection-b6258a04.js";import{S as L}from"./StatusBadge-fcc954b7.js";import{S as N}from"./SummaryView-7a0161c3.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const $=V({__name:"ServiceListView",setup(E){return(K,q)=>{const w=l("RouteTitle"),u=l("RouterLink"),f=l("KCard"),C=l("RouterView"),S=l("AppView"),v=l("DataSource"),z=l("RouteView");return t(),r(v,{src:"/me"},{default:a(({data:y})=>[y?(t(),r(z,{key:0,name:"service-list-view",params:{page:1,size:y.pageSize,mesh:"",service:""}},{default:a(({route:s,t:c})=>[i(v,{src:`/meshes/${s.params.mesh}/service-insights?page=${s.params.page}&size=${s.params.size}`},{default:a(({data:n,error:p})=>[i(S,null,{title:a(()=>[b("h2",null,[i(w,{title:c("services.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[o(),i(f,null,{body:a(()=>[p!==void 0?(t(),r(x,{key:0,error:p},null,8,["error"])):(t(),r(I,{key:1,class:"service-collection","data-testid":"service-collection","empty-state-message":c("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:"Details",key:"details",hideLabel:!0}],"page-number":parseInt(s.params.page),"page-size":parseInt(s.params.size),total:n==null?void 0:n.total,items:n==null?void 0:n.items,error:p,"is-selected-row":e=>e.name===s.params.service,onChange:s.update},{name:a(({row:e})=>[i(u,{to:{name:"service-summary-view",params:{mesh:e.mesh,service:e.name},query:{page:s.params.page,size:s.params.size}}},{default:a(()=>[o(m(e.name),1)]),_:2},1032,["to"])]),serviceType:a(({rowValue:e})=>[o(m(e||"internal"),1)]),addressPort:a(({rowValue:e})=>[e?(t(),r(R,{key:0,text:e},null,8,["text"])):(t(),_(d,{key:1},[o(m(c("common.collection.none")),1)],64))]),online:a(({row:e})=>[e.dataplanes?(t(),_(d,{key:0},[o(m(e.dataplanes.online||0)+" / "+m(e.dataplanes.total||0),1)],64)):(t(),_(d,{key:1},[o(m(c("common.collection.none")),1)],64))]),status:a(({row:e})=>[i(L,{status:e.status||"not_available"},null,8,["status"])]),details:a(({row:e})=>[i(u,{class:"details-link","data-testid":"details-link",to:{name:"service-detail-view",params:{mesh:e.mesh,service:e.name}}},{default:a(()=>[o(m(c("common.collection.details_link"))+" ",1),i(g(B),{display:"inline-block",decorative:"",size:g(T)},null,8,["size"])]),_:2},1032,["to"])]),_:2},1032,["empty-state-message","headers","page-number","page-size","total","items","error","is-selected-row","onChange"]))]),_:2},1024),o(),s.params.service?(t(),r(C,{key:0},{default:a(e=>[i(N,{onClose:k=>s.replace({name:"service-list-view",params:{mesh:s.params.mesh},query:{page:s.params.page,size:s.params.size}})},{default:a(()=>[(t(),r(A(e.Component),{name:s.params.service,service:n==null?void 0:n.items.find(k=>k.name===s.params.service)},null,8,["name","service"]))]),_:2},1032,["onClose"])]),_:2},1024)):h("",!0)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):h("",!0)]),_:1})}}});const U=D($,[["__scopeId","data-v-c8d7a3c2"]]);export{U as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceSummaryView-cfc71515.js b/app/kuma-ui/pkg/resources/data/assets/ServiceSummaryView-750977b6.js similarity index 76% rename from app/kuma-ui/pkg/resources/data/assets/ServiceSummaryView-cfc71515.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceSummaryView-750977b6.js index 47b84ac44170..11acf94e491a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceSummaryView-cfc71515.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceSummaryView-750977b6.js @@ -1 +1 @@ -import{d as y,g as f,r as m,o as t,i as n,w as i,j as _,p as s,n as o,k as a,H as l,l as p,m as w,D as k,G as S,aA as V,t as g}from"./index-af109ace.js";import{_ as x}from"./ExternalServiceConfig.vue_vue_type_script_setup_true_lang-fe863fe8.js";import{_ as R,a as I}from"./ServiceInsightDetails.vue_vue_type_script_setup_true_lang-3d10c424.js";import{_ as T}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";import"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-09052412.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./toYaml-4e00099e.js";import"./TagList-0d613d23.js";import"./StatusBadge-ac5a18e6.js";const B=c=>(k("data-v-40e5c710"),c=c(),S(),c),C={class:"summary-title-wrapper"},N=B(()=>s("img",{"aria-hidden":"true",src:V},null,-1)),$={class:"summary-title"},A={key:1,class:"stack"},D={class:"mt-4"},L={key:0},j=y({__name:"ServiceSummaryView",props:{name:{},service:{default:void 0}},setup(c){const{t:r}=f(),e=c;return(E,G)=>{const u=m("RouteTitle"),v=m("RouterLink"),d=m("AppView"),h=m("RouteView");return t(),n(h,{name:"service-summary-view"},{default:i(()=>[_(d,null,{title:i(()=>[s("div",C,[N,o(),s("h2",$,[_(v,{to:{name:"service-detail-view",params:{service:e.name}}},{default:i(()=>[_(u,{title:a(r)("services.routes.item.title",{name:e.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:i(()=>[o(),e.service===void 0?(t(),n(T,{key:0},{message:i(()=>[s("p",null,l(a(r)("common.collection.summary.empty_message",{type:"Service"})),1)]),default:i(()=>[o(l(a(r)("common.collection.summary.empty_title",{type:"Service"}))+" ",1)]),_:1})):(t(),p("div",A,[s("div",null,[s("h3",null,l(a(r)("services.routes.item.overview")),1),o(),s("div",D,[e.service.serviceType==="external"?(t(),n(R,{key:0,mesh:e.service.mesh,service:e.service.name},null,8,["mesh","service"])):(t(),n(I,{key:1,"service-insight":e.service},null,8,["service-insight"]))])]),o(),e.service.serviceType==="external"?(t(),p("div",L,[s("h3",null,l(a(r)("services.routes.item.config")),1),o(),_(x,{class:"mt-4",mesh:e.service.mesh,service:e.service.name},null,8,["mesh","service"])])):w("",!0)]))]),_:1})]),_:1})}}});const P=g(j,[["__scopeId","data-v-40e5c710"]]);export{P as default}; +import{d as y,g as f,r as m,o as t,i as n,w as i,j as _,p as s,n as o,k as a,H as l,l as p,m as w,D as k,G as S,aA as V,t as g}from"./index-28451437.js";import{_ as x}from"./ExternalServiceConfig.vue_vue_type_script_setup_true_lang-4ca23c1a.js";import{_ as R,a as I}from"./ServiceInsightDetails.vue_vue_type_script_setup_true_lang-0980654c.js";import{_ as T}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";import"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-122f3a9c.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./toYaml-4e00099e.js";import"./TagList-79fcd8ea.js";import"./StatusBadge-fcc954b7.js";const B=c=>(k("data-v-40e5c710"),c=c(),S(),c),C={class:"summary-title-wrapper"},N=B(()=>s("img",{"aria-hidden":"true",src:V},null,-1)),$={class:"summary-title"},A={key:1,class:"stack"},D={class:"mt-4"},L={key:0},j=y({__name:"ServiceSummaryView",props:{name:{},service:{default:void 0}},setup(c){const{t:r}=f(),e=c;return(E,G)=>{const u=m("RouteTitle"),v=m("RouterLink"),d=m("AppView"),h=m("RouteView");return t(),n(h,{name:"service-summary-view"},{default:i(()=>[_(d,null,{title:i(()=>[s("div",C,[N,o(),s("h2",$,[_(v,{to:{name:"service-detail-view",params:{service:e.name}}},{default:i(()=>[_(u,{title:a(r)("services.routes.item.title",{name:e.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:i(()=>[o(),e.service===void 0?(t(),n(T,{key:0},{message:i(()=>[s("p",null,l(a(r)("common.collection.summary.empty_message",{type:"Service"})),1)]),default:i(()=>[o(l(a(r)("common.collection.summary.empty_title",{type:"Service"}))+" ",1)]),_:1})):(t(),p("div",A,[s("div",null,[s("h3",null,l(a(r)("services.routes.item.overview")),1),o(),s("div",D,[e.service.serviceType==="external"?(t(),n(R,{key:0,mesh:e.service.mesh,service:e.service.name},null,8,["mesh","service"])):(t(),n(I,{key:1,"service-insight":e.service},null,8,["service-insight"]))])]),o(),e.service.serviceType==="external"?(t(),p("div",L,[s("h3",null,l(a(r)("services.routes.item.config")),1),o(),_(x,{class:"mt-4",mesh:e.service.mesh,service:e.service.name},null,8,["mesh","service"])])):w("",!0)]))]),_:1})]),_:1})}}});const P=g(j,[["__scopeId","data-v-40e5c710"]]);export{P as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServicesView-05420678.js b/app/kuma-ui/pkg/resources/data/assets/ServicesView-6213cc85.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ServicesView-05420678.js rename to app/kuma-ui/pkg/resources/data/assets/ServicesView-6213cc85.js index 1452d02d4e35..522bdc34b464 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServicesView-05420678.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServicesView-6213cc85.js @@ -1 +1 @@ -import{d as k,r as s,o as b,i as g,w as e,j as t,p as f,n as a,H as i,k as c,at as y,K}from"./index-af109ace.js";import{A as C}from"./AppCollection-170ebacc.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const S=k({__name:"ServicesView",props:{data:{}},setup(l){const m=l;return(V,z)=>{const p=s("RouteTitle"),r=s("RouterLink"),u=s("KButton"),d=s("KDropdownItem"),_=s("KDropdownMenu"),v=s("KCard"),w=s("AppView"),h=s("RouteView");return b(),g(h,{name:"zone-ingress-services-view"},{default:e(({t:n})=>[t(w,null,{title:e(()=>[f("h2",null,[t(p,{title:n("zone-ingresses.routes.item.navigation.zone-ingress-services-view"),render:!0},null,8,["title"])])]),default:e(()=>[a(),t(v,null,{body:e(()=>[t(C,{"data-testid":"available-services-collection","empty-state-message":n("common.emptyState.message",{type:"Services"}),headers:[{label:"Name",key:"name"},{label:"Mesh",key:"mesh"},{label:"Protocol",key:"protocol"},{label:"No. Instances",key:"instances"},{label:"Actions",key:"actions",hideLabel:!0}],items:m.data.zoneIngress.availableServices},{name:e(({row:o})=>[t(r,{to:{name:"service-detail-view",params:{mesh:o.mesh,service:o.tags["kuma.io/service"]}}},{default:e(()=>[a(i(o.tags["kuma.io/service"]),1)]),_:2},1032,["to"])]),mesh:e(({row:o})=>[t(r,{to:{name:"mesh-detail-view",params:{mesh:o.mesh}}},{default:e(()=>[a(i(o.mesh),1)]),_:2},1032,["to"])]),protocol:e(({row:o})=>[a(i(o.tags["kuma.io/protocol"]??n("common.collection.none")),1)]),instances:e(({row:o})=>[a(i(o.instances),1)]),actions:e(({row:o})=>[t(_,{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[t(u,{class:"non-visual-button",appearance:"secondary",size:"small"},{default:e(()=>[t(c(y),{size:c(K)},null,8,["size"])]),_:1})]),items:e(()=>[t(d,{item:{to:{name:"service-detail-view",params:{mesh:o.mesh,service:o.tags["kuma.io/service"]}},label:n("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["empty-state-message","headers","items"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{S as default}; +import{d as k,r as s,o as b,i as g,w as e,j as t,p as f,n as a,H as i,k as c,at as y,K}from"./index-28451437.js";import{A as C}from"./AppCollection-b6258a04.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const S=k({__name:"ServicesView",props:{data:{}},setup(l){const m=l;return(V,z)=>{const p=s("RouteTitle"),r=s("RouterLink"),u=s("KButton"),d=s("KDropdownItem"),_=s("KDropdownMenu"),v=s("KCard"),w=s("AppView"),h=s("RouteView");return b(),g(h,{name:"zone-ingress-services-view"},{default:e(({t:n})=>[t(w,null,{title:e(()=>[f("h2",null,[t(p,{title:n("zone-ingresses.routes.item.navigation.zone-ingress-services-view"),render:!0},null,8,["title"])])]),default:e(()=>[a(),t(v,null,{body:e(()=>[t(C,{"data-testid":"available-services-collection","empty-state-message":n("common.emptyState.message",{type:"Services"}),headers:[{label:"Name",key:"name"},{label:"Mesh",key:"mesh"},{label:"Protocol",key:"protocol"},{label:"No. Instances",key:"instances"},{label:"Actions",key:"actions",hideLabel:!0}],items:m.data.zoneIngress.availableServices},{name:e(({row:o})=>[t(r,{to:{name:"service-detail-view",params:{mesh:o.mesh,service:o.tags["kuma.io/service"]}}},{default:e(()=>[a(i(o.tags["kuma.io/service"]),1)]),_:2},1032,["to"])]),mesh:e(({row:o})=>[t(r,{to:{name:"mesh-detail-view",params:{mesh:o.mesh}}},{default:e(()=>[a(i(o.mesh),1)]),_:2},1032,["to"])]),protocol:e(({row:o})=>[a(i(o.tags["kuma.io/protocol"]??n("common.collection.none")),1)]),instances:e(({row:o})=>[a(i(o.instances),1)]),actions:e(({row:o})=>[t(_,{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[t(u,{class:"non-visual-button",appearance:"secondary",size:"small"},{default:e(()=>[t(c(y),{size:c(K)},null,8,["size"])]),_:1})]),items:e(()=>[t(d,{item:{to:{name:"service-detail-view",params:{mesh:o.mesh,service:o.tags["kuma.io/service"]}},label:n("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["empty-state-message","headers","items"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{S as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/StatsView-cfbdb5b1.js b/app/kuma-ui/pkg/resources/data/assets/StatsView-10a38127.js similarity index 74% rename from app/kuma-ui/pkg/resources/data/assets/StatsView-cfbdb5b1.js rename to app/kuma-ui/pkg/resources/data/assets/StatsView-10a38127.js index 572899a3d40f..931de1a688c6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/StatsView-cfbdb5b1.js +++ b/app/kuma-ui/pkg/resources/data/assets/StatsView-10a38127.js @@ -1 +1 @@ -import{E as m}from"./EnvoyData-1ceb485e.js";import{g as l}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-af109ace.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const x=_({__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(m,{status:z(l)(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{x as default}; +import{E as m}from"./EnvoyData-f0df1bb7.js";import{g as l}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-28451437.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const x=_({__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(m,{status:z(l)(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{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/StatsView-490bd64d.js b/app/kuma-ui/pkg/resources/data/assets/StatsView-917272e6.js similarity index 74% rename from app/kuma-ui/pkg/resources/data/assets/StatsView-490bd64d.js rename to app/kuma-ui/pkg/resources/data/assets/StatsView-917272e6.js index 3ce21f7415ac..f5935ab9a5fc 100644 --- a/app/kuma-ui/pkg/resources/data/assets/StatsView-490bd64d.js +++ b/app/kuma-ui/pkg/resources/data/assets/StatsView-917272e6.js @@ -1 +1 @@ -import{E as m}from"./EnvoyData-1ceb485e.js";import{g as l}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-af109ace.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const x=_({__name:"StatsView",props:{data:{}},setup(o){const n=o;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(m,{status:z(l)(n.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{x as default}; +import{E as m}from"./EnvoyData-f0df1bb7.js";import{g as l}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-28451437.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const x=_({__name:"StatsView",props:{data:{}},setup(o){const n=o;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(m,{status:z(l)(n.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{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/StatusBadge-ac5a18e6.js b/app/kuma-ui/pkg/resources/data/assets/StatusBadge-fcc954b7.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/StatusBadge-ac5a18e6.js rename to app/kuma-ui/pkg/resources/data/assets/StatusBadge-fcc954b7.js index e1d2e8d0b054..26b1c2274a71 100644 --- a/app/kuma-ui/pkg/resources/data/assets/StatusBadge-ac5a18e6.js +++ b/app/kuma-ui/pkg/resources/data/assets/StatusBadge-fcc954b7.js @@ -1 +1 @@ -import{t as r,S as l,d as u,g as p,r as i,o as f,i as g,a5 as m,w as s,n,H as c,k as o,j as b,q as v,a8 as B}from"./index-af109ace.js";const S={};function y(e,t){return l(e.$slots,"default")}const x=r(S,[["render",y]]),C=u({__name:"StatusBadge",props:{status:{}},setup(e){const{t}=p(),_={online:"success",offline:"danger",partially_degraded:"warning",not_available:"neutral",disabled:"neutral"},a=e;return(A,h)=>{const d=i("KBadge");return f(),g(v(a.status==="not_available"?o(B):x),null,m({default:s(()=>[b(d,{class:"status-badge",appearance:_[a.status],"data-testid":"status-badge"},{default:s(()=>[n(c(o(t)(`http.api.value.${a.status}`)),1)]),_:1},8,["appearance"]),n()]),_:2},[a.status==="not_available"?{name:"content",fn:s(()=>[n(c(o(t)("components.status-badge.tooltip.not_available")),1)]),key:"0"}:void 0]),1024)}}});const D=r(C,[["__scopeId","data-v-b7d5eecb"]]);export{D as S}; +import{t as r,S as l,d as u,g as p,r as i,o as f,i as g,a5 as m,w as s,n,H as c,k as o,j as b,q as v,a8 as B}from"./index-28451437.js";const S={};function y(e,t){return l(e.$slots,"default")}const x=r(S,[["render",y]]),C=u({__name:"StatusBadge",props:{status:{}},setup(e){const{t}=p(),_={online:"success",offline:"danger",partially_degraded:"warning",not_available:"neutral",disabled:"neutral"},a=e;return(A,h)=>{const d=i("KBadge");return f(),g(v(a.status==="not_available"?o(B):x),null,m({default:s(()=>[b(d,{class:"status-badge",appearance:_[a.status],"data-testid":"status-badge"},{default:s(()=>[n(c(o(t)(`http.api.value.${a.status}`)),1)]),_:1},8,["appearance"]),n()]),_:2},[a.status==="not_available"?{name:"content",fn:s(()=>[n(c(o(t)("components.status-badge.tooltip.not_available")),1)]),key:"0"}:void 0]),1024)}}});const D=r(C,[["__scopeId","data-v-b7d5eecb"]]);export{D as S}; diff --git a/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-6cd6dbdc.js b/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-dec60c2e.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-6cd6dbdc.js rename to app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-dec60c2e.js index d19c17184967..2be6360a29b7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-6cd6dbdc.js +++ b/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-dec60c2e.js @@ -1,3 +1,3 @@ -import{A as j,a as L}from"./AccordionList-d10083a3.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,am as B,n,H as s,aa as P,p as t,F as y,I as A,t as T,m as $,D as R,G as H}from"./index-af109ace.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{t:o}=x(),p=r,e=b(()=>{var d;let l;if("controlPlaneInstanceId"in p.subscription){const{lastUpdateTime:i,total:_,...m}=p.subscription.status;l=m}else l=((d=p.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,[e.value.length===0?(c(),g(a(P),{key:0,appearance:"info"},{alertIcon:v(()=>[f(a(B))]),alertMessage:v(()=>[n(s(a(o)("common.detail.subscriptions.no_stats",{id:p.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(e.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{t:o,formatIsoDate:p}=x(),e=r,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 L}from"./AccordionList-c73d7d77.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,am as B,n,H as s,aa as P,p as t,F as y,I as A,t as T,m as $,D as R,G as H}from"./index-28451437.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{t:o}=x(),p=r,e=b(()=>{var d;let l;if("controlPlaneInstanceId"in p.subscription){const{lastUpdateTime:i,total:_,...m}=p.subscription.status;l=m}else l=((d=p.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,[e.value.length===0?(c(),g(a(P),{key:0,appearance:"info"},{alertIcon:v(()=>[f(a(B))]),alertMessage:v(()=>[n(s(a(o)("common.detail.subscriptions.no_stats",{id:p.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(e.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{t:o,formatIsoDate:p}=x(),e=r,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 o=r,p=b(()=>{const e=Array.from(o.subscriptions);return e.reverse(),e});return(e,l)=>(c(),g(L,null,{default:v(()=>[(c(!0),u(y,null,A(p.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/SummaryView-e9848f48.js b/app/kuma-ui/pkg/resources/data/assets/SummaryView-7a0161c3.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/SummaryView-e9848f48.js rename to app/kuma-ui/pkg/resources/data/assets/SummaryView-7a0161c3.js index 22efbd05e411..06a5ad3e92b2 100644 --- a/app/kuma-ui/pkg/resources/data/assets/SummaryView-e9848f48.js +++ b/app/kuma-ui/pkg/resources/data/assets/SummaryView-7a0161c3.js @@ -1 +1 @@ -import{d as n,r as i,o as l,i as m,w as r,S as _,t as c}from"./index-af109ace.js";const u=n({__name:"SummaryView",emits:["close"],setup(d,{emit:t}){const s=t;return(o,e)=>{const a=i("KSlideout");return l(),m(a,{class:"summary-slideout","close-button-alignment":"end","has-overlay":!1,"is-visible":"","data-testid":"summary",onClose:e[0]||(e[0]=p=>s("close"))},{default:r(()=>[_(o.$slots,"default",{},void 0,!0)]),_:3})}}});const y=c(u,[["__scopeId","data-v-2ece8031"]]);export{y as S}; +import{d as n,r as i,o as l,i as m,w as r,S as _,t as c}from"./index-28451437.js";const u=n({__name:"SummaryView",emits:["close"],setup(d,{emit:t}){const s=t;return(o,e)=>{const a=i("KSlideout");return l(),m(a,{class:"summary-slideout","close-button-alignment":"end","has-overlay":!1,"is-visible":"","data-testid":"summary",onClose:e[0]||(e[0]=p=>s("close"))},{default:r(()=>[_(o.$slots,"default",{},void 0,!0)]),_:3})}}});const y=c(u,[["__scopeId","data-v-2ece8031"]]);export{y as S}; diff --git a/app/kuma-ui/pkg/resources/data/assets/TagList-0d613d23.js b/app/kuma-ui/pkg/resources/data/assets/TagList-79fcd8ea.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/TagList-0d613d23.js rename to app/kuma-ui/pkg/resources/data/assets/TagList-79fcd8ea.js index 706fb938cb4b..15f8ebc7c513 100644 --- a/app/kuma-ui/pkg/resources/data/assets/TagList-0d613d23.js +++ b/app/kuma-ui/pkg/resources/data/assets/TagList-79fcd8ea.js @@ -1 +1 @@ -import{d as f,e as b,a2 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,an as B,t as z}from"./index-af109ace.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=b(),a=g(),n=o,m=h(()=>(Array.isArray(n.tags)?n.tags:C(n.tags)).map(u=>{const{label:t,value:c}=u,v=_(u);return{label:t,value:c,route:v}}));function _(e){if(e.value!=="*")try{switch(e.label){case"kuma.io/zone":return a.resolve({name:"zone-cp-detail-view",params:{zone:e.value}});case"kuma.io/service":return"mesh"in s.params?a.resolve({name:"service-detail-view",params:{mesh:s.params.mesh,service:e.value}}):void 0;default:return}}catch{return}}return(e,u)=>(r(),l("span",R,[(r(!0),l(y,null,k(m.value,(t,c)=>(r(),i(T(B),{key:c,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,a2 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,an as B,t as z}from"./index-28451437.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=b(),a=g(),n=o,m=h(()=>(Array.isArray(n.tags)?n.tags:C(n.tags)).map(u=>{const{label:t,value:c}=u,v=_(u);return{label:t,value:c,route:v}}));function _(e){if(e.value!=="*")try{switch(e.label){case"kuma.io/zone":return a.resolve({name:"zone-cp-detail-view",params:{zone:e.value}});case"kuma.io/service":return"mesh"in s.params?a.resolve({name:"service-detail-view",params:{mesh:s.params.mesh,service:e.value}}):void 0;default:return}}catch{return}}return(e,u)=>(r(),l("span",R,[(r(!0),l(y,null,k(m.value,(t,c)=>(r(),i(T(B),{key:c,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-16f5f04a.js b/app/kuma-ui/pkg/resources/data/assets/WelcomeView-47f7b5ef.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/WelcomeView-16f5f04a.js rename to app/kuma-ui/pkg/resources/data/assets/WelcomeView-47f7b5ef.js index d89c76679b1c..d9c63ed8cf39 100644 --- a/app/kuma-ui/pkg/resources/data/assets/WelcomeView-16f5f04a.js +++ b/app/kuma-ui/pkg/resources/data/assets/WelcomeView-47f7b5ef.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 _,X as L,K as A,m as H,F as O}from"./index-af109ace.js";import{O as W,a as z,b as $}from"./OnboardingPage-495bc5e8.js";const B=e=>(g("data-v-b31b8343"),e=e(),M(),e),G=B(()=>t("defs",null,null,-1)),R=m('<defs data-v-b31b8343><linearGradient id="a" x1="64.8%" x2="34.4%" y1="-12.6%" y2="153.1%" data-v-b31b8343><stop offset="0%" stop-color="var(--onboarding-accent-dark)" data-v-b31b8343></stop> <stop offset="100%" stop-color="var(--onboarding-accent)" data-v-b31b8343></stop></linearGradient> <linearGradient id="b" x1="0%" x2="107.4%" y1="41.5%" y2="41.5%" data-v-b31b8343><stop offset="0%" stop-color="var(--onboarding-accent-dark)" data-v-b31b8343></stop> <stop offset="100%" stop-color="var(--onboarding-accent)" data-v-b31b8343></stop></linearGradient></defs>',1),T=m('<g fill="none" fill-rule="evenodd" mask="url(#ccard)" transform="translate(-63 -285)" data-v-b31b8343><g stroke="var(--onboarding-accent)" stroke-width="6" data-v-b31b8343><path d="M1444 893h252" data-v-b31b8343></path> <path stroke-opacity=".4" d="M1529 705h232M1452 603h237" data-v-b31b8343></path> <path d="M1754 563l-332 332h-76M1444 935l121 121M263 859l156 156" data-v-b31b8343></path> <path stroke-opacity=".4" d="M742 781H556" data-v-b31b8343></path> <path d="M697 736H513" data-v-b31b8343></path> <path stroke-opacity=".4" d="M695 783V577" data-v-b31b8343></path> <path d="M261 1026V751M509 573V438M1502 415l291 290" data-v-b31b8343></path> <path stroke-opacity=".4" d="M698 912L26 240M1368 411v540l61 61 95-95M1434 3h267l193 192v354" data-v-b31b8343></path> <path d="M517 411h342l138 138M1416 573v242l371 323" data-v-b31b8343></path> <path d="M1486 817V612l-146-146M839 243h-97l-83 84v348M1698 1063V817l58-57h122M1069 299L558 810M696 1058H585L468 941V570L322 424" data-v-b31b8343></path> <path d="M277 528l160 160 236-236 121 121M632 979h-45l-67-67v-86H0M106 669h275M70 707h331M207 745h210M85 784h356M1417 558h228M1609 634h203M528 946h76M619 604v131M1359 567l125 125M1332 594l156 156M1594 1070V959M381 632L260 753" data-v-b31b8343></path> <path stroke-opacity=".4" d="M605 817V497M1851 959h-518M944 570H390" data-v-b31b8343></path> <path d="M638 912H342M635 1139V912" data-v-b31b8343></path></g> <foreignObject x="0" y="0" width="100%" height="100%" data-v-b31b8343><div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div></foreignObject></g>',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 _,X as L,K as A,m as H,F as O}from"./index-28451437.js";import{O as W,a as z,b as $}from"./OnboardingPage-c16f9553.js";const B=e=>(g("data-v-b31b8343"),e=e(),M(),e),G=B(()=>t("defs",null,null,-1)),R=m('<defs data-v-b31b8343><linearGradient id="a" x1="64.8%" x2="34.4%" y1="-12.6%" y2="153.1%" data-v-b31b8343><stop offset="0%" stop-color="var(--onboarding-accent-dark)" data-v-b31b8343></stop> <stop offset="100%" stop-color="var(--onboarding-accent)" data-v-b31b8343></stop></linearGradient> <linearGradient id="b" x1="0%" x2="107.4%" y1="41.5%" y2="41.5%" data-v-b31b8343><stop offset="0%" stop-color="var(--onboarding-accent-dark)" data-v-b31b8343></stop> <stop offset="100%" stop-color="var(--onboarding-accent)" data-v-b31b8343></stop></linearGradient></defs>',1),T=m('<g fill="none" fill-rule="evenodd" mask="url(#ccard)" transform="translate(-63 -285)" data-v-b31b8343><g stroke="var(--onboarding-accent)" stroke-width="6" data-v-b31b8343><path d="M1444 893h252" data-v-b31b8343></path> <path stroke-opacity=".4" d="M1529 705h232M1452 603h237" data-v-b31b8343></path> <path d="M1754 563l-332 332h-76M1444 935l121 121M263 859l156 156" data-v-b31b8343></path> <path stroke-opacity=".4" d="M742 781H556" data-v-b31b8343></path> <path d="M697 736H513" data-v-b31b8343></path> <path stroke-opacity=".4" d="M695 783V577" data-v-b31b8343></path> <path d="M261 1026V751M509 573V438M1502 415l291 290" data-v-b31b8343></path> <path stroke-opacity=".4" d="M698 912L26 240M1368 411v540l61 61 95-95M1434 3h267l193 192v354" data-v-b31b8343></path> <path d="M517 411h342l138 138M1416 573v242l371 323" data-v-b31b8343></path> <path d="M1486 817V612l-146-146M839 243h-97l-83 84v348M1698 1063V817l58-57h122M1069 299L558 810M696 1058H585L468 941V570L322 424" data-v-b31b8343></path> <path d="M277 528l160 160 236-236 121 121M632 979h-45l-67-67v-86H0M106 669h275M70 707h331M207 745h210M85 784h356M1417 558h228M1609 634h203M528 946h76M619 604v131M1359 567l125 125M1332 594l156 156M1594 1070V959M381 632L260 753" data-v-b31b8343></path> <path stroke-opacity=".4" d="M605 817V497M1851 959h-518M944 570H390" data-v-b31b8343></path> <path d="M638 912H342M635 1139V912" data-v-b31b8343></path></g> <foreignObject x="0" y="0" width="100%" height="100%" data-v-b31b8343><div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div> <div data-v-b31b8343></div></foreignObject></g>',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"},X={class:"item-status-list"},P={class:"circle mr-2"},Y=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-63dfd0ef.js b/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-b1004cb7.js similarity index 74% rename from app/kuma-ui/pkg/resources/data/assets/XdsConfigView-63dfd0ef.js rename to app/kuma-ui/pkg/resources/data/assets/XdsConfigView-b1004cb7.js index 6031b19501d6..04dde9078eb6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-63dfd0ef.js +++ b/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-b1004cb7.js @@ -1 +1 @@ -import{E as m}from"./EnvoyData-1ceb485e.js";import{g as d}from"./dataplane-0a086c06.js";import{d as l,r as e,o as _,i as g,w as t,j as o,p as f,n as w,k as x}from"./index-af109ace.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const k=l({__name:"XdsConfigView",props:{data:{}},setup(s){const n=s;return(z,V)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return _(),g(p,{name:"zone-ingress-xds-config-view",params:{zoneIngress:""}},{default:t(({route:c,t:u})=>[o(i,null,{title:t(()=>[f("h2",null,[o(a,{title:u("zone-ingresses.routes.item.navigation.zone-ingress-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),o(r,null,{body:t(()=>[o(m,{status:x(d)(n.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${c.params.zoneIngress}/data-path/xds`,"query-key":"envoy-data-xds-zone-ingress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; +import{E as m}from"./EnvoyData-f0df1bb7.js";import{g as d}from"./dataplane-0a086c06.js";import{d as l,r as e,o as _,i as g,w as t,j as o,p as f,n as w,k as x}from"./index-28451437.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const k=l({__name:"XdsConfigView",props:{data:{}},setup(s){const n=s;return(z,V)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return _(),g(p,{name:"zone-ingress-xds-config-view",params:{zoneIngress:""}},{default:t(({route:c,t:u})=>[o(i,null,{title:t(()=>[f("h2",null,[o(a,{title:u("zone-ingresses.routes.item.navigation.zone-ingress-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),o(r,null,{body:t(()=>[o(m,{status:x(d)(n.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${c.params.zoneIngress}/data-path/xds`,"query-key":"envoy-data-xds-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/XdsConfigView-31415a01.js b/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-e2d8a613.js similarity index 74% rename from app/kuma-ui/pkg/resources/data/assets/XdsConfigView-31415a01.js rename to app/kuma-ui/pkg/resources/data/assets/XdsConfigView-e2d8a613.js index 133fa050a32e..ba81cf456270 100644 --- a/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-31415a01.js +++ b/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-e2d8a613.js @@ -1 +1 @@ -import{E as m}from"./EnvoyData-1ceb485e.js";import{g as d}from"./dataplane-0a086c06.js";import{d as l,r as e,o as _,i as g,w as t,j as o,p as f,n as w,k as x}from"./index-af109ace.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-548945f6.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-e6f6b4ce.js";const k=l({__name:"XdsConfigView",props:{data:{}},setup(s){const n=s;return(z,V)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return _(),g(p,{name:"zone-egress-xds-config-view",params:{zoneEgress:""}},{default:t(({route:c,t:u})=>[o(i,null,{title:t(()=>[f("h2",null,[o(a,{title:u("zone-egresses.routes.item.navigation.zone-egress-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),o(r,null,{body:t(()=>[o(m,{status:x(d)(n.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${c.params.zoneEgress}/data-path/xds`,"query-key":"envoy-data-xds-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; +import{E as m}from"./EnvoyData-f0df1bb7.js";import{g as d}from"./dataplane-0a086c06.js";import{d as l,r as e,o as _,i as g,w as t,j as o,p as f,n as w,k as x}from"./index-28451437.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-dcecbb9e.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-24948e86.js";const k=l({__name:"XdsConfigView",props:{data:{}},setup(s){const n=s;return(z,V)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return _(),g(p,{name:"zone-egress-xds-config-view",params:{zoneEgress:""}},{default:t(({route:c,t:u})=>[o(i,null,{title:t(()=>[f("h2",null,[o(a,{title:u("zone-egresses.routes.item.navigation.zone-egress-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),o(r,null,{body:t(()=>[o(m,{status:x(d)(n.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${c.params.zoneEgress}/data-path/xds`,"query-key":"envoy-data-xds-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/index-8b8b41d0.js b/app/kuma-ui/pkg/resources/data/assets/index-270afb1d.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/index-8b8b41d0.js rename to app/kuma-ui/pkg/resources/data/assets/index-270afb1d.js index 0aca04f42156..c6d7294ec2d8 100644 --- a/app/kuma-ui/pkg/resources/data/assets/index-8b8b41d0.js +++ b/app/kuma-ui/pkg/resources/data/assets/index-270afb1d.js @@ -1 +1 @@ -import{ai as s}from"./index-af109ace.js";function c(e){var t;const n=((t=e.zoneInsight)==null?void 0:t.subscriptions)??[];if(n.length>0){const o=n[n.length-1];if(o.config){const i=JSON.parse(o.config);return s(i,"dpServer.auth.type","")}}return""}function f(e){var o,i;if(e.zone.enabled===!1)return"disabled";const n=((o=e.zoneInsight)==null?void 0:o.subscriptions)??[];if(n.length===0)return"offline";const t=n[n.length-1];return(i=t.connectTime)!=null&&i.length&&!t.disconnectTime?"online":"offline"}function u(e){var n;for(const t of((n=e.zoneInsight)==null?void 0:n.subscriptions)??[])if(t.config)return JSON.parse(t.config).environment;return""}export{u as a,c as b,f as g}; +import{ai as s}from"./index-28451437.js";function c(e){var t;const n=((t=e.zoneInsight)==null?void 0:t.subscriptions)??[];if(n.length>0){const o=n[n.length-1];if(o.config){const i=JSON.parse(o.config);return s(i,"dpServer.auth.type","")}}return""}function f(e){var o,i;if(e.zone.enabled===!1)return"disabled";const n=((o=e.zoneInsight)==null?void 0:o.subscriptions)??[];if(n.length===0)return"offline";const t=n[n.length-1];return(i=t.connectTime)!=null&&i.length&&!t.disconnectTime?"online":"offline"}function u(e){var n;for(const t of((n=e.zoneInsight)==null?void 0:n.subscriptions)??[])if(t.config)return JSON.parse(t.config).environment;return""}export{u as a,c as b,f as g}; diff --git a/app/kuma-ui/pkg/resources/data/assets/index-af109ace.js b/app/kuma-ui/pkg/resources/data/assets/index-28451437.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/index-af109ace.js rename to app/kuma-ui/pkg/resources/data/assets/index-28451437.js index e5e3bbfda032..1ed2121f5620 100644 --- a/app/kuma-ui/pkg/resources/data/assets/index-af109ace.js +++ b/app/kuma-ui/pkg/resources/data/assets/index-28451437.js @@ -1,4 +1,4 @@ -var Mf=Object.defineProperty;var xf=(e,t,r)=>t in e?Mf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var mt=(e,t,r)=>(xf(e,typeof t!="symbol"?t+"":t,r),r),y2=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var oe=(e,t,r)=>(y2(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)},jt=(e,t,r,n)=>(y2(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var ge=(e,t,r)=>(y2(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 Sf="modulepreload",Ef=function(e,t){return e[0]==="."?new URL(e,t).href:e},A5={},we=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=Ef(a,n),a in A5)return;A5[a]=!0;const i=a.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(!!n)for(let c=o.length-1;c>=0;c--){const d=o[c];if(d.href===a&&(!i||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":Sf,i||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),i)return new Promise((c,d)=>{u.addEventListener("load",c),u.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 Af=e=>({"/control-plane/addresses":async(t,r)=>(r.close(),{http:e("KUMA_API_URL"),kds:"grpcs://<global-kds-address>:5685"})});var b2=new WeakMap,yu=new Map,Lf=new Map,ro;(function(e){e[e.Constant=0]="Constant",e[e.Instance=1]="Instance",e[e.Factory=2]="Factory"})(ro||(ro={}));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 Df=class{constructor(e){this.impl=e,this.type=ro.Constant}},Bf=class{constructor(e){this.impl=e,this.type=ro.Factory}},Hf=e=>e.type===ro.Factory,Dl=class{constructor(e){this.impl=e,this.type=ro.Instance}},Tf=class extends Dl{constructor(){super(...arguments),this.scope=Gr.Container,this.cache=new WeakMap}},If=class extends Dl{constructor(){super(...arguments),this.scope=Gr.Resolution}},Of=class extends Dl{constructor(e){super(e),this.impl=e,this.scope=Gr.Singleton}},Vf=class extends Dl{constructor(){super(...arguments),this.scope=Gr.Transient}},Pf=e=>e.type===ro.Instance,Nf=e=>e.scope===Gr.Container,$f=e=>e.scope===Gr.Resolution,Zf=e=>e.scope===Gr.Singleton,Rf=e=>Symbol(e),De=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<a;o+=1){const i=n.get(t[o]);if(i)return i}return n.get(Va.notag)}}resolve(e,t,r,n){const o=this.find(e,r,n);return o===void 0?this.parent?this.parent.resolve(e,t,r,n):null:o instanceof Va?(t.vaults.push(o),o.resolve(e,t,r,n)):o}get(e,t,r,n){const o=this.resolve(e,t,r,n);if(o)return o;for(let a=0,i=t.vaults,s=i.length;a<s;a+=1){const l=i[a].resolve(e,t,r,n);if(l)return l}return null}from(e){const t=new Va;return t.parent=this.parent,this.map.forEach((r,n)=>{t.map.set(n,e(r))}),t}clone(){return this.from(e=>new Map(e))}},bu=Va;bu.notag=Rf("NO_TAG");var zf=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;r<n;r+=1)this.vault.set(this.getVault(e),t[r],this.condition)}},Ff=class{constructor(e,t,r,n){this.vault=e,this.impl=t,this.token=r,this.condition=n}inContainerScope(){this.set(Tf)}inResolutionScope(){this.set(If)}inSingletonScope(){this.set(Of)}inTransientScope(){this.set(Vf)}set(e){this.vault.set(new e(this.impl),this.token,this.condition)}},Uf=class{constructor(e,t,r){this.vault=e,this.token=t,this.condition=r}toConstant(e){this.vault.set(new Df(e),this.token,this.condition)}toFactory(e,t){this.vault.set(new Bf({creator:e,initializer:t}),this.token,this.condition)}toInstance(e){return new Ff(this.vault,e,this.token,this.condition)}},_0=class{constructor(e,t){this.vault=e,this.condition=t}static vault(e){return e.vault}bind(e){return new Uf(this.vault,e,this.condition)}use(...e){return new zf(this.vault,e,_0.vault,this.condition)}},jf=class extends _0{when(e){return new _0(this.vault,e)}},Yf=class extends jf{constructor(){super(new bu)}},wu=class{constructor(e=new Map,t=[]){this.instances=e,this.vaults=t}split(){return new wu(this.instances,this.vaults.slice())}},ps=class extends Yf{constructor(){super(),this.snapshot=null}extend(e){return this.vault.parent=e===null?null:e.vault,this}clone(){const e=new ps;return e.vault=this.vault.clone(),e}get(e,t){return this.resolveToken(e,t)}resolveTokens(e,t,r,n){return e.map(o=>this.resolveToken(o,r,n,t.split()))}resolveToken(e,t,r,n=new wu){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 Pf(e)?Zf(e)?this.resolveCache(e,t,()=>e.cache,r=>{e.cache=r}):Nf(e)?this.resolveCache(e,t,()=>e.cache.get(this.vault),r=>{e.cache.set(this.vault,r)}):$f(e)?this.resolveCache(e,t,()=>t.instances.get(e),r=>{t.instances.set(e,r)}):this.createInstance(e.impl,t):Hf(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=b2.get(e);if(n!==void 0)return n?e(...r):new e(...r);try{const o=e(...r);return b2.set(e,!0),o}catch{const a=new e(...r);return b2.set(e,!1),a}}getParameters(e,t){const r=yu.get(e);if(r)return this.resolveTokens(r,t,Lf.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}},Gf=()=>new ps,Kf=(e,...t)=>(yu.set(e,t),e),Qie=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wf=function(t){return Qf(t)&&!Xf(t)};function Qf(e){return!!e&&typeof e=="object"}function Xf(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||tp(e)}var Jf=typeof Symbol=="function"&&Symbol.for,ep=Jf?Symbol.for("react.element"):60103;function tp(e){return e.$$typeof===ep}function rp(e){return Array.isArray(e)?[]:{}}function ci(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ko(rp(e),e,t):e}function np(e,t,r){return e.concat(t).map(function(n){return ci(n,r)})}function op(e,t){if(!t.customMerge)return Ko;var r=t.customMerge(e);return typeof r=="function"?r:Ko}function ap(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function L5(e){return Object.keys(e).concat(ap(e))}function _u(e,t){try{return t in e}catch{return!1}}function ip(e,t){return _u(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function sp(e,t,r){var n={};return r.isMergeableObject(e)&&L5(e).forEach(function(o){n[o]=ci(e[o],r)}),L5(t).forEach(function(o){ip(e,o)||(_u(e,o)&&r.isMergeableObject(t[o])?n[o]=op(o,r)(e[o],t[o],r):n[o]=ci(t[o],r))}),n}function Ko(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||np,r.isMergeableObject=r.isMergeableObject||Wf,r.cloneUnlessOtherwiseSpecified=ci;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):sp(e,t,r):ci(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 lp=Ko,up=lp;const cp=qf(up),c7=Gf(),dp=(...e)=>[...new Map([...e.flat()]).entries()],hp=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=De("inner"),u=De("inner.wrapper");t.set(l,{...s}),t.set(u,{service:()=>()=>Bl(l)}),t.set(o,{...n,arguments:[u],labels:i})}n.decorates=void 0}}),[...t.entries()]},Bl=e=>c7.get(e),fp=(...e)=>(hp(dp(...e)).forEach(r=>ku(...r)),Bl),Hl=(...e)=>e.map(t=>()=>Bl(t)),Ui=new WeakMap,ku=(e,t)=>{const r=c7.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=>{Ui.has(n)||(Ui.set(n,[]),ku(n,{service:()=>Ui.get(n).reduce((a,i)=>{try{const s=Bl(i);return Array.isArray(s)?a.concat(s):s instanceof Object?cp(a,s):a}catch(s){throw console.error(s),s}},[])})),Ui.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}]`)}),Kf(t.service,...t.arguments))},C1=(e,t)=>{const r=De(t.description);return c7.bind(r).toConstant(e),r},pp={sources:De("control-planes.sources")},mp=e=>[[pp.sources,{service:Af,arguments:[e.env],labels:[e.sources]}]],vp=()=>[{path:"/diagnostics",name:"diagnostics",component:()=>we(()=>import("./DiagnosticsView-d7f2e3a3.js"),["./CodeBlock-aa591f34.css"],import.meta.url)}],gp=e=>({"/config":async(t,r)=>(r.close(),await e.getConfig())}),Cp=e=>[[De("diagnostics.sources"),{service:gp,arguments:[e.api],labels:[e.sources]}],[De("diagnostics.routes"),{service:vp,labels:[e.routes]}]],yp=()=>[{path:"/onboarding",redirect:{name:"onboarding-welcome"},component:()=>we(()=>import("./OnboardingView-1285b618.js"),[],import.meta.url),children:[{path:"welcome",name:"onboarding-welcome",meta:{onboardingProcess:!0},component:()=>we(()=>import("./WelcomeView-16f5f04a.js"),["./OnboardingPage-88f67fb6.css","./WelcomeView-2c7783bc.css"],import.meta.url)},{path:"deployment-types",name:"onboarding-deployment-types",meta:{onboardingProcess:!0},component:()=>we(()=>import("./DeploymentTypes-59344f6d.js"),["./OnboardingPage-88f67fb6.css","./DeploymentTypes-caab5d22.css"],import.meta.url)},{path:"configuration-types",name:"onboarding-configuration-types",meta:{onboardingProcess:!0},component:()=>we(()=>import("./ConfigurationTypes-24741a4e.js"),["./OnboardingPage-88f67fb6.css","./ConfigurationTypes-f96b4d1a.css"],import.meta.url)},{path:"multi-zone",name:"onboarding-multi-zone",meta:{onboardingProcess:!0},component:()=>we(()=>import("./MultiZoneView-7178af21.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./MultiZoneView-81622d62.css"],import.meta.url)},{path:"create-mesh",name:"onboarding-create-mesh",meta:{onboardingProcess:!0},component:()=>we(()=>import("./CreateMesh-6198c6ba.js"),["./OnboardingPage-88f67fb6.css","./CreateMesh-28969af3.css"],import.meta.url)},{path:"add-services",name:"onboarding-add-services",meta:{onboardingProcess:!0},component:()=>we(()=>import("./AddNewServices-d8057f4c.js"),["./OnboardingPage-88f67fb6.css","./AddNewServices-90574073.css"],import.meta.url)},{path:"add-services-code",name:"onboarding-add-services-code",meta:{onboardingProcess:!0},component:()=>we(()=>import("./AddNewServicesCode-84af77ee.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:()=>we(()=>import("./DataplanesOverview-50f64627.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./StatusBadge-307eb0a4.css","./DataplanesOverview-72db9fd9.css"],import.meta.url)},{path:"completed",name:"onboarding-completed",meta:{onboardingProcess:!0},component:()=>we(()=>import("./CompletedView-48f9d41f.js"),["./OnboardingPage-88f67fb6.css","./CompletedView-6392a0bc.css"],import.meta.url)}]}],bp=e=>[[De("onboarding.routes"),{service:yp,labels:[e.routes]}]];function d7(e,t){const r=Object.create(null),n=e.split(",");for(let o=0;o<n.length;o++)r[n[o]]=!0;return t?o=>!!r[o.toLowerCase()]:o=>!!r[o]}const kt={},To=[],or=()=>{},wp=()=>!1,_p=/^on[^a-z]/,Tl=e=>_p.test(e),h7=e=>e.startsWith("onUpdate:"),Zt=Object.assign,f7=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},kp=Object.prototype.hasOwnProperty,ot=(e,t)=>kp.call(e,t),Ve=Array.isArray,Io=e=>Ol(e)==="[object Map]",Mu=e=>Ol(e)==="[object Set]",Qe=e=>typeof e=="function",Nt=e=>typeof e=="string",Il=e=>typeof e=="symbol",Mt=e=>e!==null&&typeof e=="object",xu=e=>(Mt(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),Su=Object.prototype.toString,Ol=e=>Su.call(e),Mp=e=>Ol(e).slice(8,-1),Eu=e=>Ol(e)==="[object Object]",p7=e=>Nt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ms=d7(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vl=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},xp=/-(\w)/g,Mr=Vl(e=>e.replace(xp,(t,r)=>r?r.toUpperCase():"")),Sp=/\B([A-Z])/g,An=Vl(e=>e.replace(Sp,"-$1").toLowerCase()),Pl=Vl(e=>e.charAt(0).toUpperCase()+e.slice(1)),vs=Vl(e=>e?`on${Pl(e)}`:""),no=(e,t)=>!Object.is(e,t),gs=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},Vs=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},k0=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ep=e=>{const t=Nt(e)?Number(e):NaN;return isNaN(t)?e:t};let D5;const M0=()=>D5||(D5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ke(e){if(Ve(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],o=Nt(n)?Bp(n):Ke(n);if(o)for(const a in o)t[a]=o[a]}return t}else if(Nt(e)||Mt(e))return e}const Ap=/;(?![^(]*\))/g,Lp=/:([^]+)/,Dp=/\/\*[^]*?\*\//g;function Bp(e){const t={};return e.replace(Dp,"").split(Ap).forEach(r=>{if(r){const n=r.split(Lp);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function J(e){let t="";if(Nt(e))t=e;else if(Ve(e))for(let r=0;r<e.length;r++){const n=J(e[r]);n&&(t+=n+" ")}else if(Mt(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const Hp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Tp=d7(Hp);function Au(e){return!!e||e===""}const T=e=>Nt(e)?e:e==null?"":Ve(e)||Mt(e)&&(e.toString===Su||!Qe(e.toString))?JSON.stringify(e,Lu,2):String(e),Lu=(e,t)=>t&&t.__v_isRef?Lu(e,t.value):Io(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o])=>(r[`${n} =>`]=o,r),{})}:Mu(t)?{[`Set(${t.size})`]:[...t.values()]}:Mt(t)&&!Ve(t)&&!Eu(t)?String(t):t;let B1;class Ip{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=B1,!t&&B1&&(this.index=(B1.scopes||(B1.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=B1;try{return B1=this,t()}finally{B1=r}}}on(){B1=this}off(){B1=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Op(e,t=B1){t&&t.active&&t.effects.push(e)}function Du(){return B1}function Vp(e){B1&&B1.cleanups.push(e)}const m7=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Bu=e=>(e.w&xn)>0,Hu=e=>(e.n&xn)>0,Pp=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=xn},Np=e=>{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n<t.length;n++){const o=t[n];Bu(o)&&!Hu(o)?o.delete(e):t[r++]=o,o.w&=~xn,o.n&=~xn}t.length=r}},Ps=new WeakMap;let Pa=0,xn=1;const x0=30;let tr;const eo=Symbol(""),S0=Symbol("");class v7{constructor(t,r=null,n){this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,Op(this,n)}run(){if(!this.active)return this.fn();let t=tr,r=wn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=tr,tr=this,wn=!0,xn=1<<++Pa,Pa<=x0?Pp(this):B5(this),this.fn()}finally{Pa<=x0&&Np(this),xn=1<<--Pa,tr=this.parent,wn=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){tr===this?this.deferStop=!0:this.active&&(B5(this),this.onStop&&this.onStop(),this.active=!1)}}function B5(e){const{deps:t}=e;if(t.length){for(let r=0;r<t.length;r++)t[r].delete(e);t.length=0}}let wn=!0;const Tu=[];function la(){Tu.push(wn),wn=!1}function ua(){const e=Tu.pop();wn=e===void 0?!0:e}function x1(e,t,r){if(wn&&tr){let n=Ps.get(e);n||Ps.set(e,n=new Map);let o=n.get(r);o||n.set(r,o=m7()),Iu(o)}}function Iu(e,t){let r=!1;Pa<=x0?Hu(e)||(e.n|=xn,r=!Bu(e)):r=!e.has(tr),r&&(e.add(tr),tr.deps.push(e))}function Ur(e,t,r,n,o,a){const i=Ps.get(e);if(!i)return;let s=[];if(t==="clear")s=[...i.values()];else if(r==="length"&&Ve(e)){const l=Number(n);i.forEach((u,c)=>{(c==="length"||!Il(c)&&c>=l)&&s.push(u)})}else switch(r!==void 0&&s.push(i.get(r)),t){case"add":Ve(e)?p7(r)&&s.push(i.get("length")):(s.push(i.get(eo)),Io(e)&&s.push(i.get(S0)));break;case"delete":Ve(e)||(s.push(i.get(eo)),Io(e)&&s.push(i.get(S0)));break;case"set":Io(e)&&s.push(i.get(eo));break}if(s.length===1)s[0]&&E0(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);E0(m7(l))}}function E0(e,t){const r=Ve(e)?e:[...e];for(const n of r)n.computed&&H5(n);for(const n of r)n.computed||H5(n)}function H5(e,t){(e!==tr||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function $p(e,t){var r;return(r=Ps.get(e))==null?void 0:r.get(t)}const Zp=d7("__proto__,__v_isRef,__isVue"),Ou=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Il)),T5=Rp();function Rp(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=it(this);for(let a=0,i=this.length;a<i;a++)x1(n,"get",a+"");const o=n[t](...r);return o===-1||o===!1?n[t](...r.map(it)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){la();const n=it(this)[t].apply(this,r);return ua(),n}}),e}function zp(e){const t=it(this);return x1(t,"has",e),t.hasOwnProperty(e)}class Vu{constructor(t=!1,r=!1){this._isReadonly=t,this._shallow=r}get(t,r,n){const o=this._isReadonly,a=this._shallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return a;if(r==="__v_raw"&&n===(o?a?tm:Zu:a?$u:Nu).get(t))return t;const i=Ve(t);if(!o){if(i&&ot(T5,r))return Reflect.get(T5,r,n);if(r==="hasOwnProperty")return zp}const s=Reflect.get(t,r,n);return(Il(r)?Ou.has(r):Zp(r))||(o||x1(t,"get",r),a)?s:Jt(s)?i&&p7(r)?s:s.value:Mt(s)?o?zu(s):Ln(s):s}}class Pu extends Vu{constructor(t=!1){super(!1,t)}set(t,r,n,o){let a=t[r];if(oo(a)&&Jt(a)&&!Jt(n))return!1;if(!this._shallow&&(!Ns(n)&&!oo(n)&&(a=it(a),n=it(n)),!Ve(t)&&Jt(a)&&!Jt(n)))return a.value=n,!0;const i=Ve(t)&&p7(r)?Number(r)<t.length:ot(t,r),s=Reflect.set(t,r,n,o);return t===it(o)&&(i?no(n,a)&&Ur(t,"set",r,n):Ur(t,"add",r,n)),s}deleteProperty(t,r){const n=ot(t,r);t[r];const o=Reflect.deleteProperty(t,r);return o&&n&&Ur(t,"delete",r,void 0),o}has(t,r){const n=Reflect.has(t,r);return(!Il(r)||!Ou.has(r))&&x1(t,"has",r),n}ownKeys(t){return x1(t,"iterate",Ve(t)?"length":eo),Reflect.ownKeys(t)}}class Fp extends Vu{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const Up=new Pu,jp=new Fp,Yp=new Pu(!0),g7=e=>e,Nl=e=>Reflect.getPrototypeOf(e);function ji(e,t,r=!1,n=!1){e=e.__v_raw;const o=it(e),a=it(t);r||(no(t,a)&&x1(o,"get",t),x1(o,"get",a));const{has:i}=Nl(o),s=n?g7:r?b7:di;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 Yi(e,t=!1){const r=this.__v_raw,n=it(r),o=it(e);return t||(no(e,o)&&x1(n,"has",e),x1(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function Gi(e,t=!1){return e=e.__v_raw,!t&&x1(it(e),"iterate",eo),Reflect.get(e,"size",e)}function I5(e){e=it(e);const t=it(this);return Nl(t).has.call(t,e)||(t.add(e),Ur(t,"add",e,e)),this}function O5(e,t){t=it(t);const r=it(this),{has:n,get:o}=Nl(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?no(t,i)&&Ur(r,"set",e,t):Ur(r,"add",e,t),this}function V5(e){const t=it(this),{has:r,get:n}=Nl(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&&Ur(t,"delete",e,void 0),a}function P5(){const e=it(this),t=e.size!==0,r=e.clear();return t&&Ur(e,"clear",void 0,void 0),r}function Ki(e,t){return function(n,o){const a=this,i=a.__v_raw,s=it(i),l=t?g7:e?b7:di;return!e&&x1(s,"iterate",eo),i.forEach((u,c)=>n.call(o,l(u),l(c),a))}}function qi(e,t,r){return function(...n){const o=this.__v_raw,a=it(o),i=Io(a),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...n),c=r?g7:t?b7:di;return!t&&x1(a,"iterate",l?S0:eo),{next(){const{value:d,done:h}=u.next();return h?{value:d,done:h}:{value:s?[c(d[0]),c(d[1])]:c(d),done:h}},[Symbol.iterator](){return this}}}}function tn(e){return function(...t){return e==="delete"?!1:this}}function Gp(){const e={get(a){return ji(this,a)},get size(){return Gi(this)},has:Yi,add:I5,set:O5,delete:V5,clear:P5,forEach:Ki(!1,!1)},t={get(a){return ji(this,a,!1,!0)},get size(){return Gi(this)},has:Yi,add:I5,set:O5,delete:V5,clear:P5,forEach:Ki(!1,!0)},r={get(a){return ji(this,a,!0)},get size(){return Gi(this,!0)},has(a){return Yi.call(this,a,!0)},add:tn("add"),set:tn("set"),delete:tn("delete"),clear:tn("clear"),forEach:Ki(!0,!1)},n={get(a){return ji(this,a,!0,!0)},get size(){return Gi(this,!0)},has(a){return Yi.call(this,a,!0)},add:tn("add"),set:tn("set"),delete:tn("delete"),clear:tn("clear"),forEach:Ki(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=qi(a,!1,!1),r[a]=qi(a,!0,!1),t[a]=qi(a,!1,!0),n[a]=qi(a,!0,!0)}),[e,r,t,n]}const[Kp,qp,Wp,Qp]=Gp();function C7(e,t){const r=t?e?Qp:Wp:e?qp:Kp;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 Xp={get:C7(!1,!1)},Jp={get:C7(!1,!0)},em={get:C7(!0,!1)},Nu=new WeakMap,$u=new WeakMap,Zu=new WeakMap,tm=new WeakMap;function rm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function nm(e){return e.__v_skip||!Object.isExtensible(e)?0:rm(Mp(e))}function Ln(e){return oo(e)?e:y7(e,!1,Up,Xp,Nu)}function Ru(e){return y7(e,!1,Yp,Jp,$u)}function zu(e){return y7(e,!0,jp,em,Zu)}function y7(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=nm(e);if(i===0)return e;const s=new Proxy(e,i===2?n:r);return o.set(e,s),s}function Oo(e){return oo(e)?Oo(e.__v_raw):!!(e&&e.__v_isReactive)}function oo(e){return!!(e&&e.__v_isReadonly)}function Ns(e){return!!(e&&e.__v_isShallow)}function Fu(e){return Oo(e)||oo(e)}function it(e){const t=e&&e.__v_raw;return t?it(t):e}function Uu(e){return Vs(e,"__v_skip",!0),e}const di=e=>Mt(e)?Ln(e):e,b7=e=>Mt(e)?zu(e):e;function ju(e){wn&&tr&&(e=it(e),Iu(e.dep||(e.dep=m7())))}function Yu(e,t){e=it(e);const r=e.dep;r&&E0(r)}function Jt(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return Gu(e,!1)}function om(e){return Gu(e,!0)}function Gu(e,t){return Jt(e)?e:new am(e,t)}class am{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:di(t)}get value(){return ju(this),this._value}set value(t){const r=this.__v_isShallow||Ns(t)||oo(t);t=r?t:it(t),no(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:di(t),Yu(this))}}function H(e){return Jt(e)?e.value:e}const im={get:(e,t,r)=>H(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return Jt(o)&&!Jt(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function Ku(e){return Oo(e)?e:new Proxy(e,im)}function sm(e){const t=Ve(e)?new Array(e.length):{};for(const r in e)t[r]=um(e,r);return t}class lm{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 $p(it(this._object),this._key)}}function um(e,t,r){const n=e[t];return Jt(n)?n:new lm(e,t,r)}class cm{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 v7(t,()=>{this._dirty||(this._dirty=!0,Yu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const t=it(this);return ju(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function dm(e,t,r=!1){let n,o;const a=Qe(e);return a?(n=e,o=or):(n=e.get,o=e.set),new cm(n,o,a||!o,r)}function _n(e,t,r,n){let o;try{o=n?e(...n):e()}catch(a){$l(a,t,r)}return o}function j1(e,t,r,n){if(Qe(e)){const a=_n(e,t,r,n);return a&&xu(a)&&a.catch(i=>{$l(i,t,r)}),a}const o=[];for(let a=0;a<e.length;a++)o.push(j1(e[a],t,r,n));return o}function $l(e,t,r,n=!0){const o=t?t.vnode:null;if(t){let a=t.parent;const i=t.proxy,s=r;for(;a;){const u=a.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,i,s)===!1)return}a=a.parent}const l=t.appContext.config.errorHandler;if(l){_n(l,null,10,[e,i,s]);return}}hm(e,r,o,n)}function hm(e,t,r,n=!0){console.error(e)}let hi=!1,A0=!1;const r1=[];let wr=0;const Vo=[];let Pr=null,Un=0;const qu=Promise.resolve();let w7=null;function f1(e){const t=w7||qu;return e?t.then(this?e.bind(this):e):t}function fm(e){let t=wr+1,r=r1.length;for(;t<r;){const n=t+r>>>1,o=r1[n],a=fi(o);a<e||a===e&&o.pre?t=n+1:r=n}return t}function _7(e){(!r1.length||!r1.includes(e,hi&&e.allowRecurse?wr+1:wr))&&(e.id==null?r1.push(e):r1.splice(fm(e.id),0,e),Wu())}function Wu(){!hi&&!A0&&(A0=!0,w7=qu.then(Xu))}function pm(e){const t=r1.indexOf(e);t>wr&&r1.splice(t,1)}function mm(e){Ve(e)?Vo.push(...e):(!Pr||!Pr.includes(e,e.allowRecurse?Un+1:Un))&&Vo.push(e),Wu()}function N5(e,t=hi?wr+1:0){for(;t<r1.length;t++){const r=r1[t];r&&r.pre&&(r1.splice(t,1),t--,r())}}function Qu(e){if(Vo.length){const t=[...new Set(Vo)];if(Vo.length=0,Pr){Pr.push(...t);return}for(Pr=t,Pr.sort((r,n)=>fi(r)-fi(n)),Un=0;Un<Pr.length;Un++)Pr[Un]();Pr=null,Un=0}}const fi=e=>e.id==null?1/0:e.id,vm=(e,t)=>{const r=fi(e)-fi(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function Xu(e){A0=!1,hi=!0,r1.sort(vm);const t=or;try{for(wr=0;wr<r1.length;wr++){const r=r1[wr];r&&r.active!==!1&&_n(r,null,14)}}finally{wr=0,r1.length=0,Qu(),hi=!1,w7=null,(r1.length||Vo.length)&&Xu()}}function gm(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||kt;let o=r;const a=t.startsWith("update:"),i=a&&t.slice(7);if(i&&i in n){const c=`${i==="modelValue"?"model":i}Modifiers`,{number:d,trim:h}=n[c]||kt;h&&(o=r.map(f=>Nt(f)?f.trim():f)),d&&(o=r.map(k0))}let s,l=n[s=vs(t)]||n[s=vs(Mr(t))];!l&&a&&(l=n[s=vs(An(t))]),l&&j1(l,e,6,o);const u=n[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,j1(u,e,6,o)}}function Ju(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(!Qe(e)){const l=u=>{const c=Ju(u,t,!0);c&&(s=!0,Zt(i,c))};!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):Zt(i,a),Mt(e)&&n.set(e,i),i)}function Zl(e,t){return!e||!Tl(t)?!1:(t=t.slice(2).replace(/Once$/,""),ot(e,t[0].toLowerCase()+t.slice(1))||ot(e,An(t))||ot(e,t))}let e1=null,Rl=null;function $s(e){const t=e1;return e1=e,Rl=e&&e.type.__scopeId||null,t}function st(e){Rl=e}function lt(){Rl=null}function E(e,t=e1,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&W5(-1);const a=$s(t);let i;try{i=e(...o)}finally{$s(a),n._d&&W5(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function w2(e){const{type:t,vnode:r,proxy:n,withProxy:o,props:a,propsOptions:[i],slots:s,attrs:l,emit:u,render:c,renderCache:d,data:h,setupState:f,ctx:g,inheritAttrs:_}=e;let C,b;const y=$s(e);try{if(r.shapeFlag&4){const k=o||n;C=yr(c.call(k,k,d,a,f,h,g)),b=l}else{const k=t;C=yr(k.length>1?k(a,{attrs:l,slots:s,emit:u}):k(a,null)),b=t.props?l:Cm(l)}}catch(k){qa.length=0,$l(k,e,1),C=N(I1)}let v=C;if(b&&_!==!1){const k=Object.keys(b),{shapeFlag:B}=v;k.length&&B&7&&(i&&k.some(h7)&&(b=ym(b,i)),v=Kr(v,b))}return r.dirs&&(v=Kr(v),v.dirs=v.dirs?v.dirs.concat(r.dirs):r.dirs),r.transition&&(v.transition=r.transition),C=v,$s(y),C}const Cm=e=>{let t;for(const r in e)(r==="class"||r==="style"||Tl(r))&&((t||(t={}))[r]=e[r]);return t},ym=(e,t)=>{const r={};for(const n in e)(!h7(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function bm(e,t,r){const{props:n,children:o,component:a}=e,{props:i,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?$5(n,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const h=c[d];if(i[h]!==n[h]&&!Zl(u,h))return!0}}}else return(o||s)&&(!s||!s.$stable)?!0:n===i?!1:n?i?$5(n,i,u):!0:!!i;return!1}function $5(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const a=n[o];if(t[a]!==e[a]&&!Zl(r,a))return!0}return!1}function wm({vnode:e,parent:t},r){for(;t&&t.subTree===e;)(e=t.vnode).el=r,t=t.parent}const _m=e=>e.__isSuspense;function km(e,t){t&&t.pendingBranch?Ve(e)?t.effects.push(...e):t.effects.push(e):mm(e)}function ec(e,t){return zl(e,null,t)}function Mm(e,t){return zl(e,null,{flush:"post"})}const Wi={};function Te(e,t,r){return zl(e,t,r)}function zl(e,t,{immediate:r,deep:n,flush:o,onTrack:a,onTrigger:i}=kt){var s;const l=Du()===((s=Kt)==null?void 0:s.scope)?Kt:null;let u,c=!1,d=!1;if(Jt(e)?(u=()=>e.value,c=Ns(e)):Oo(e)?(u=()=>e,n=!0):Ve(e)?(d=!0,c=e.some(k=>Oo(k)||Ns(k)),u=()=>e.map(k=>{if(Jt(k))return k.value;if(Oo(k))return Kn(k);if(Qe(k))return _n(k,l,2)})):Qe(e)?t?u=()=>_n(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return h&&h(),j1(e,l,3,[f])}:u=or,t&&n){const k=u;u=()=>Kn(k())}let h,f=k=>{h=y.onStop=()=>{_n(k,l,4)}},g;if(gi)if(f=or,t?r&&j1(t,l,3,[u(),d?[]:void 0,f]):u(),o==="sync"){const k=fv();g=k.__watcherHandles||(k.__watcherHandles=[])}else return or;let _=d?new Array(e.length).fill(Wi):Wi;const C=()=>{if(y.active)if(t){const k=y.run();(n||c||(d?k.some((B,$)=>no(B,_[$])):no(k,_)))&&(h&&h(),j1(t,l,3,[k,_===Wi?void 0:d&&_[0]===Wi?[]:_,f]),_=k)}else y.run()};C.allowRecurse=!!t;let b;o==="sync"?b=C:o==="post"?b=()=>w1(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),b=()=>_7(C));const y=new v7(u,b);t?r?C():_=y.run():o==="post"?w1(y.run.bind(y),l&&l.suspense):y.run();const v=()=>{y.stop(),l&&l.scope&&f7(l.scope.effects,y)};return g&&g.push(v),v}function xm(e,t,r){const n=this.proxy,o=Nt(e)?e.includes(".")?tc(n,e):()=>n[e]:e.bind(n,n);let a;Qe(t)?a=t:(a=t.handler,r=t);const i=Kt;qo(this);const s=zl(o,a.bind(n),r);return i?qo(i):to(),s}function tc(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o<r.length&&n;o++)n=n[r[o]];return n}}function Kn(e,t){if(!Mt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Jt(e))Kn(e.value,t);else if(Ve(e))for(let r=0;r<e.length;r++)Kn(e[r],t);else if(Mu(e)||Io(e))e.forEach(r=>{Kn(r,t)});else if(Eu(e))for(const r in e)Kn(e[r],t);return e}function Zs(e,t){const r=e1;if(r===null)return e;const n=Gl(r)||r.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[i,s,l,u=kt]=t[a];i&&(Qe(i)&&(i={mounted:i,updated:i}),i.deep&&Kn(s),o.push({dir:i,instance:n,value:s,oldValue:void 0,arg:l,modifiers:u}))}return e}function Tn(e,t,r,n){const o=e.dirs,a=t&&t.dirs;for(let i=0;i<o.length;i++){const s=o[i];a&&(s.oldValue=a[i].value);let l=s.dir[n];l&&(la(),j1(l,r,8,[e.el,s,e,t]),ua())}}const fn=Symbol("_leaveCb"),Qi=Symbol("_enterCb");function rc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ct(()=>{e.isMounted=!0}),lr(()=>{e.isUnmounting=!0}),e}const P1=[Function,Array],nc={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},Sm={name:"BaseTransition",props:nc,setup(e,{slots:t}){const r=Ai(),n=rc();let o;return()=>{const a=t.default&&k7(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 _2(i);const u=Z5(i);if(!u)return _2(i);const c=pi(u,s,n,r);mi(u,c);const d=r.subTree,h=d&&Z5(d);let f=!1;const{getTransitionKey:g}=u.type;if(g){const _=g();o===void 0?o=_:_!==o&&(o=_,f=!0)}if(h&&h.type!==I1&&(!jn(u,h)||f)){const _=pi(h,s,n,r);if(mi(h,_),l==="out-in")return n.isLeaving=!0,_.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&r.update()},_2(i);l==="in-out"&&u.type!==I1&&(_.delayLeave=(C,b,y)=>{const v=oc(n,h);v[String(h.key)]=h,C[fn]=()=>{b(),C[fn]=void 0,delete c.delayedLeave},c.delayedLeave=y})}return i}}},Em=Sm;function oc(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 pi(e,t,r,n){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:h,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:_,onAppear:C,onAfterAppear:b,onAppearCancelled:y}=t,v=String(e.key),k=oc(r,e),B=(R,D)=>{R&&j1(R,n,9,D)},$=(R,D)=>{const S=D[1];B(R,D),Ve(R)?R.every(z=>z.length<=1)&&S():R.length<=1&&S()},P={mode:a,persisted:i,beforeEnter(R){let D=s;if(!r.isMounted)if(o)D=_||s;else return;R[fn]&&R[fn](!0);const S=k[v];S&&jn(e,S)&&S.el[fn]&&S.el[fn](),B(D,[R])},enter(R){let D=l,S=u,z=c;if(!r.isMounted)if(o)D=C||l,S=b||u,z=y||c;else return;let V=!1;const U=R[Qi]=ie=>{V||(V=!0,ie?B(z,[R]):B(S,[R]),P.delayedLeave&&P.delayedLeave(),R[Qi]=void 0)};D?$(D,[R,U]):U()},leave(R,D){const S=String(e.key);if(R[Qi]&&R[Qi](!0),r.isUnmounting)return D();B(d,[R]);let z=!1;const V=R[fn]=U=>{z||(z=!0,D(),U?B(g,[R]):B(f,[R]),R[fn]=void 0,k[S]===e&&delete k[S])};k[S]=e,h?$(h,[R,V]):V()},clone(R){return pi(R,t,r,n)}};return P}function _2(e){if(Fl(e))return e=Kr(e),e.children=null,e}function Z5(e){return Fl(e)?e.children?e.children[0]:void 0:e}function mi(e,t){e.shapeFlag&6&&e.component?mi(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 k7(e,t=!1,r){let n=[],o=0;for(let a=0;a<e.length;a++){let i=e[a];const s=r==null?i.key:String(r)+String(i.key!=null?i.key:a);i.type===ke?(i.patchFlag&128&&o++,n=n.concat(k7(i.children,t,s))):(t||i.type!==I1)&&n.push(s!=null?Kr(i,{key:s}):i)}if(o>1)for(let a=0;a<n.length;a++)n[a].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function X(e,t){return Qe(e)?(()=>Zt({name:e.name},t,{setup:e}))():e}const Ya=e=>!!e.type.__asyncLoader,Fl=e=>e.type.__isKeepAlive;function Am(e,t){ac(e,"a",t)}function Lm(e,t){ac(e,"da",t)}function ac(e,t,r=Kt){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ul(t,n,r),r){let o=r.parent;for(;o&&o.parent;)Fl(o.parent.vnode)&&Dm(n,t,r,o),o=o.parent}}function Dm(e,t,r,n){const o=Ul(t,e,n,!0);ur(()=>{f7(n[t],o)},r)}function Ul(e,t,r=Kt,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=j1(t,r,e,i);return to(),ua(),s});return n?o.unshift(a):o.push(a),a}}const Wr=e=>(t,r=Kt)=>(!gi||e==="sp")&&Ul(e,(...n)=>t(...n),r),Bm=Wr("bm"),Ct=Wr("m"),Hm=Wr("bu"),ic=Wr("u"),lr=Wr("bum"),ur=Wr("um"),Tm=Wr("sp"),Im=Wr("rtg"),Om=Wr("rtc");function Vm(e,t=Kt){Ul("ec",e,t)}const M7="components";function p1(e,t){return lc(M7,e,!0,t)||e}const sc=Symbol.for("v-ndc");function vt(e){return Nt(e)?lc(M7,e,!1)||e:e||sc}function lc(e,t,r=!0,n=!1){const o=e1||Kt;if(o){const a=o.type;if(e===M7){const s=cv(a,!1);if(s&&(s===t||s===Mr(t)||s===Pl(Mr(t))))return a}const i=R5(o[e]||a[e],t)||R5(o.appContext[e],t);return!i&&n?a:i}}function R5(e,t){return e&&(e[t]||e[Mr(t)]||e[Pl(Mr(t))])}function rt(e,t,r,n){let o;const a=r&&r[n];if(Ve(e)||Nt(e)){o=new Array(e.length);for(let i=0,s=e.length;i<s;i++)o[i]=t(e[i],i,void 0,a&&a[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,a&&a[i])}else if(Mt(e))if(e[Symbol.iterator])o=Array.from(e,(i,s)=>t(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<l;s++){const u=i[s];o[s]=t(e[u],u,s,a&&a[s])}}else o=[];return r&&(r[n]=o),o}function Dn(e,t){for(let r=0;r<t.length;r++){const n=t[r];if(Ve(n))for(let o=0;o<n.length;o++)e[n[o].name]=n[o].fn;else n&&(e[n.name]=n.key?(...o)=>{const a=n.fn(...o);return a&&(a.key=n.key),a}:n.fn)}return e}function F(e,t,r={},n,o){if(e1.isCE||e1.parent&&Ya(e1.parent)&&e1.parent.isCE)return t!=="default"&&(r.name=t),N("slot",r,n&&n());let a=e[t];a&&a._c&&(a._d=!1),m();const i=a&&uc(a(r)),s=q(ke,{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 uc(e){return e.some(t=>Fs(t)?!(t.type===I1||t.type===ke&&!uc(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 D0=e=>e?wc(e)?Gl(e)||e.proxy:D0(e.parent):null,Ga=Zt(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=>D0(e.parent),$root:e=>D0(e.root),$emit:e=>e.emit,$options:e=>x7(e),$forceUpdate:e=>e.f||(e.f=()=>_7(e.update)),$nextTick:e=>e.n||(e.n=f1.bind(e.proxy)),$watch:e=>xm.bind(e)}),k2=(e,t)=>e!==kt&&!e.__isScriptSetup&&ot(e,t),Pm={get({_:e},t){const{ctx:r,setupState:n,data:o,props:a,accessCache:i,type:s,appContext:l}=e;let u;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(k2(n,t))return i[t]=1,n[t];if(o!==kt&&ot(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&ot(u,t))return i[t]=3,a[t];if(r!==kt&&ot(r,t))return i[t]=4,r[t];B0&&(i[t]=0)}}const c=Ga[t];let d,h;if(c)return t==="$attrs"&&x1(e,"get",t),c(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 k2(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)||k2(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 cc().slots}function cr(){return cc().attrs}function cc(){const e=Ai();return e.setupContext||(e.setupContext=kc(e))}function z5(e){return Ve(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let B0=!0;function Nm(e){const t=x7(e),r=e.proxy,n=e.ctx;B0=!1,t.beforeCreate&&F5(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:i,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:h,beforeUpdate:f,updated:g,activated:_,deactivated:C,beforeDestroy:b,beforeUnmount:y,destroyed:v,unmounted:k,render:B,renderTracked:$,renderTriggered:P,errorCaptured:R,serverPrefetch:D,expose:S,inheritAttrs:z,components:V,directives:U,filters:ie}=t;if(u&&$m(u,n,null),i)for(const ne in i){const ye=i[ne];Qe(ye)&&(n[ne]=ye.bind(r))}if(o){const ne=o.call(r,r);Mt(ne)&&(e.data=Ln(ne))}if(B0=!0,a)for(const ne in a){const ye=a[ne],Ye=Qe(ye)?ye.bind(r,r):Qe(ye.get)?ye.get.bind(r,r):or,$e=!Qe(ye)&&Qe(ye.set)?ye.set.bind(r):or,qe=A({get:Ye,set:$e});Object.defineProperty(n,ne,{enumerable:!0,configurable:!0,get:()=>qe.value,set:ze=>qe.value=ze})}if(s)for(const ne in s)dc(s[ne],n,r,ne);if(l){const ne=Qe(l)?l.call(r):l;Reflect.ownKeys(ne).forEach(ye=>{Po(ye,ne[ye])})}c&&F5(c,e,"c");function ue(ne,ye){Ve(ye)?ye.forEach(Ye=>ne(Ye.bind(r))):ye&&ne(ye.bind(r))}if(ue(Bm,d),ue(Ct,h),ue(Hm,f),ue(ic,g),ue(Am,_),ue(Lm,C),ue(Vm,R),ue(Om,$),ue(Im,P),ue(lr,y),ue(ur,k),ue(Tm,D),Ve(S))if(S.length){const ne=e.exposed||(e.exposed={});S.forEach(ye=>{Object.defineProperty(ne,ye,{get:()=>r[ye],set:Ye=>r[ye]=Ye})})}else e.exposed||(e.exposed={});B&&e.render===or&&(e.render=B),z!=null&&(e.inheritAttrs=z),V&&(e.components=V),U&&(e.directives=U)}function $m(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=M1(o.from||n,o.default,!0):a=M1(o.from||n):a=M1(o),Jt(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:i=>a.value=i}):t[n]=a}}function F5(e,t,r){j1(Ve(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function dc(e,t,r,n){const o=n.includes(".")?tc(r,n):()=>r[n];if(Nt(e)){const a=t[e];Qe(a)&&Te(o,a)}else if(Qe(e))Te(o,e.bind(r));else if(Mt(e))if(Ve(e))e.forEach(a=>dc(a,t,r,n));else{const a=Qe(e.handler)?e.handler.bind(r):t[e.handler];Qe(a)&&Te(o,a,e)}}function x7(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(u=>Rs(l,u,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=Zm[i]||r&&r[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const Zm={data:U5,props:j5,emits:j5,methods:Na,computed:Na,beforeCreate:a1,created:a1,beforeMount:a1,mounted:a1,beforeUpdate:a1,updated:a1,beforeDestroy:a1,beforeUnmount:a1,destroyed:a1,unmounted:a1,activated:a1,deactivated:a1,errorCaptured:a1,serverPrefetch:a1,components:Na,directives:Na,watch:zm,provide:U5,inject:Rm};function U5(e,t){return t?e?function(){return Zt(Qe(e)?e.call(this,this):e,Qe(t)?t.call(this,this):t)}:t:e}function Rm(e,t){return Na(H0(e),H0(t))}function H0(e){if(Ve(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function a1(e,t){return e?[...new Set([].concat(e,t))]:t}function Na(e,t){return e?Zt(Object.create(null),e,t):t}function j5(e,t){return e?Ve(e)&&Ve(t)?[...new Set([...e,...t])]:Zt(Object.create(null),z5(e),z5(t??{})):t}function zm(e,t){if(!e)return t;if(!t)return e;const r=Zt(Object.create(null),e);for(const n in t)r[n]=a1(e[n],t[n]);return r}function hc(){return{app:null,config:{isNativeTag:wp,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Fm=0;function Um(e,t){return function(n,o=null){Qe(n)||(n=Zt({},n)),o!=null&&!Mt(o)&&(o=null);const a=hc(),i=new WeakSet;let s=!1;const l=a.app={_uid:Fm++,_component:n,_props:o,_container:null,_context:a,_instance:null,version:pv,get config(){return a.config},set config(u){},use(u,...c){return i.has(u)||(u&&Qe(u.install)?(i.add(u),u.install(l,...c)):Qe(u)&&(i.add(u),u(l,...c))),l},mixin(u){return a.mixins.includes(u)||a.mixins.push(u),l},component(u,c){return c?(a.components[u]=c,l):a.components[u]},directive(u,c){return c?(a.directives[u]=c,l):a.directives[u]},mount(u,c,d){if(!s){const h=N(n,o);return h.appContext=a,c&&t?t(h,u):e(h,u,d),s=!0,l._container=u,u.__vue_app__=l,Gl(h.component)||h.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return a.provides[u]=c,l},runWithContext(u){zs=l;try{return u()}finally{zs=null}}};return l}}let zs=null;function Po(e,t){if(Kt){let r=Kt.provides;const n=Kt.parent&&Kt.parent.provides;n===r&&(r=Kt.provides=Object.create(n)),r[e]=t}}function M1(e,t,r=!1){const n=Kt||e1;if(n||zs){const o=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:zs._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return r&&Qe(t)?t.call(n&&n.proxy):t}}function jm(e,t,r,n=!1){const o={},a={};Vs(a,Yl,1),e.propsDefaults=Object.create(null),fc(e,t,o,a);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);r?e.props=n?o:Ru(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function Ym(e,t,r,n){const{props:o,attrs:a,vnode:{patchFlag:i}}=e,s=it(o),[l]=e.propsOptions;let u=!1;if((n||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let h=c[d];if(Zl(e.emitsOptions,h))continue;const f=t[h];if(l)if(ot(a,h))f!==a[h]&&(a[h]=f,u=!0);else{const g=Mr(h);o[g]=T0(l,s,g,f,e,!1)}else f!==a[h]&&(a[h]=f,u=!0)}}}else{fc(e,t,o,a)&&(u=!0);let c;for(const d in s)(!t||!ot(t,d)&&((c=An(d))===d||!ot(t,c)))&&(l?r&&(r[d]!==void 0||r[c]!==void 0)&&(o[d]=T0(l,s,d,void 0,e,!0)):delete o[d]);if(a!==s)for(const d in a)(!t||!ot(t,d))&&(delete a[d],u=!0)}u&&Ur(e,"set","$attrs")}function fc(e,t,r,n){const[o,a]=e.propsOptions;let i=!1,s;if(t)for(let l in t){if(ms(l))continue;const u=t[l];let c;o&&ot(o,c=Mr(l))?!a||!a.includes(c)?r[c]=u:(s||(s={}))[c]=u:Zl(e.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,i=!0)}if(a){const l=it(r),u=s||kt;for(let c=0;c<a.length;c++){const d=a[c];r[d]=T0(o,l,d,u[d],e,!ot(u,d))}}return i}function T0(e,t,r,n,o,a){const i=e[r];if(i!=null){const s=ot(i,"default");if(s&&n===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Qe(l)){const{propsDefaults:u}=o;r in u?n=u[r]:(qo(o),n=u[r]=l.call(null,t),to())}else n=l}i[0]&&(a&&!s?n=!1:i[1]&&(n===""||n===An(r))&&(n=!0))}return n}function pc(e,t,r=!1){const n=t.propsCache,o=n.get(e);if(o)return o;const a=e.props,i={},s=[];let l=!1;if(!Qe(e)){const c=d=>{l=!0;const[h,f]=pc(d,t,!0);Zt(i,h),f&&s.push(...f)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return Mt(e)&&n.set(e,To),To;if(Ve(a))for(let c=0;c<a.length;c++){const d=Mr(a[c]);Y5(d)&&(i[d]=kt)}else if(a)for(const c in a){const d=Mr(c);if(Y5(d)){const h=a[c],f=i[d]=Ve(h)||Qe(h)?{type:h}:Zt({},h);if(f){const g=q5(Boolean,f.type),_=q5(String,f.type);f[0]=g>-1,f[1]=_<0||g<_,(g>-1||ot(f,"default"))&&s.push(d)}}}const u=[i,s];return Mt(e)&&n.set(e,u),u}function Y5(e){return e[0]!=="$"}function G5(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function K5(e,t){return G5(e)===G5(t)}function q5(e,t){return Ve(t)?t.findIndex(r=>K5(r,e)):Qe(t)&&K5(t,e)?0:-1}const mc=e=>e[0]==="_"||e==="$stable",S7=e=>Ve(e)?e.map(yr):[yr(e)],Gm=(e,t,r)=>{if(t._n)return t;const n=E((...o)=>S7(t(...o)),r);return n._c=!1,n},vc=(e,t,r)=>{const n=e._ctx;for(const o in e){if(mc(o))continue;const a=e[o];if(Qe(a))t[o]=Gm(o,a,n);else if(a!=null){const i=S7(a);t[o]=()=>i}}},gc=(e,t)=>{const r=S7(t);e.slots.default=()=>r},Km=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=it(t),Vs(t,"_",r)):vc(t,e.slots={})}else e.slots={},t&&gc(e,t);Vs(e.slots,Yl,1)},qm=(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:(Zt(o,t),!r&&s===1&&delete o._):(a=!t.$stable,vc(t,o)),i=t}else t&&(gc(e,t),i={default:1});if(a)for(const s in o)!mc(s)&&i[s]==null&&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?Gl(n.component)||n.component.proxy:n.el,i=o?null:a,{i:s,r:l}=e,u=t&&t.r,c=s.refs===kt?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(Nt(u)?(c[u]=null,ot(d,u)&&(d[u]=null)):Jt(u)&&(u.value=null)),Qe(l))_n(l,s,12,[i,c]);else{const h=Nt(l),f=Jt(l);if(h||f){const g=()=>{if(e.f){const _=h?ot(d,l)?d[l]:c[l]:l.value;o?Ve(_)&&f7(_,a):Ve(_)?_.includes(a)||_.push(a):h?(c[l]=[a],ot(d,l)&&(d[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else h?(c[l]=i,ot(d,l)&&(d[l]=i)):f&&(l.value=i,e.k&&(c[e.k]=i))};i?(g.id=-1,w1(g,r)):g()}}}const w1=km;function Wm(e){return Qm(e)}function Qm(e,t){const r=M0();r.__VUE__=!0;const{insert:n,remove:o,patchProp:a,createElement:i,createText:s,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:h,setScopeId:f=or,insertStaticContent:g}=e,_=(x,L,I,Q=null,W=null,ee=null,fe=!1,ce=null,de=!!L.dynamicChildren)=>{if(x===L)return;x&&!jn(x,L)&&(Q=G(x),ze(x,W,ee,!0),x=null),L.patchFlag===-2&&(de=!1,L.dynamicChildren=null);const{type:le,ref:Ae,shapeFlag:be}=L;switch(le){case jl:C(x,L,I,Q);break;case I1:b(x,L,I,Q);break;case Ka:x==null&&y(L,I,Q,fe);break;case ke:V(x,L,I,Q,W,ee,fe,ce,de);break;default:be&1?B(x,L,I,Q,W,ee,fe,ce,de):be&6?U(x,L,I,Q,W,ee,fe,ce,de):(be&64||be&128)&&le.process(x,L,I,Q,W,ee,fe,ce,de,Z)}Ae!=null&&W&&I0(Ae,x&&x.ref,ee,L||x,!L)},C=(x,L,I,Q)=>{if(x==null)n(L.el=s(L.children),I,Q);else{const W=L.el=x.el;L.children!==x.children&&u(W,L.children)}},b=(x,L,I,Q)=>{x==null?n(L.el=l(L.children||""),I,Q):L.el=x.el},y=(x,L,I,Q)=>{[x.el,x.anchor]=g(x.children,L,I,Q,x.el,x.anchor)},v=({el:x,anchor:L},I,Q)=>{let W;for(;x&&x!==L;)W=h(x),n(x,I,Q),x=W;n(L,I,Q)},k=({el:x,anchor:L})=>{let I;for(;x&&x!==L;)I=h(x),o(x),x=I;o(L)},B=(x,L,I,Q,W,ee,fe,ce,de)=>{fe=fe||L.type==="svg",x==null?$(L,I,Q,W,ee,fe,ce,de):D(x,L,W,ee,fe,ce,de)},$=(x,L,I,Q,W,ee,fe,ce)=>{let de,le;const{type:Ae,props:be,shapeFlag:Me,transition:Oe,dirs:re}=x;if(de=x.el=i(x.type,ee,be&&be.is,be),Me&8?c(de,x.children):Me&16&&R(x.children,de,null,Q,W,ee&&Ae!=="foreignObject",fe,ce),re&&Tn(x,null,Q,"created"),P(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,Ge);"value"in be&&a(de,"value",null,be.value),(le=be.onVnodeBeforeMount)&&hr(le,Q,x)}re&&Tn(x,null,Q,"beforeMount");const Le=Xm(W,Oe);Le&&Oe.beforeEnter(de),n(de,L,I),((le=be&&be.onVnodeMounted)||Le||re)&&w1(()=>{le&&hr(le,Q,x),Le&&Oe.enter(de),re&&Tn(x,null,Q,"mounted")},W)},P=(x,L,I,Q,W)=>{if(I&&f(x,I),Q)for(let ee=0;ee<Q.length;ee++)f(x,Q[ee]);if(W){let ee=W.subTree;if(L===ee){const fe=W.vnode;P(x,fe,fe.scopeId,fe.slotScopeIds,W.parent)}}},R=(x,L,I,Q,W,ee,fe,ce,de=0)=>{for(let le=de;le<x.length;le++){const Ae=x[le]=ce?pn(x[le]):yr(x[le]);_(null,Ae,L,I,Q,W,ee,fe,ce)}},D=(x,L,I,Q,W,ee,fe)=>{const ce=L.el=x.el;let{patchFlag:de,dynamicChildren:le,dirs:Ae}=L;de|=x.patchFlag&16;const be=x.props||kt,Me=L.props||kt;let Oe;I&&In(I,!1),(Oe=Me.onVnodeBeforeUpdate)&&hr(Oe,I,L,x),Ae&&Tn(L,x,I,"beforeUpdate"),I&&In(I,!0);const re=W&&L.type!=="foreignObject";if(le?S(x.dynamicChildren,le,ce,I,Q,re,ee):fe||ye(x,L,ce,null,I,Q,re,ee,!1),de>0){if(de&16)z(ce,L,be,Me,I,Q,W);else if(de&2&&be.class!==Me.class&&a(ce,"class",null,Me.class,W),de&4&&a(ce,"style",be.style,Me.style,W),de&8){const Le=L.dynamicProps;for(let me=0;me<Le.length;me++){const Pe=Le[me],ht=be[Pe],te=Me[Pe];(te!==ht||Pe==="value")&&a(ce,Pe,ht,te,W,x.children,I,Q,Ge)}}de&1&&x.children!==L.children&&c(ce,L.children)}else!fe&&le==null&&z(ce,L,be,Me,I,Q,W);((Oe=Me.onVnodeUpdated)||Ae)&&w1(()=>{Oe&&hr(Oe,I,L,x),Ae&&Tn(L,x,I,"updated")},Q)},S=(x,L,I,Q,W,ee,fe)=>{for(let ce=0;ce<L.length;ce++){const de=x[ce],le=L[ce],Ae=de.el&&(de.type===ke||!jn(de,le)||de.shapeFlag&70)?d(de.el):I;_(de,le,Ae,null,Q,W,ee,fe,!0)}},z=(x,L,I,Q,W,ee,fe)=>{if(I!==Q){if(I!==kt)for(const ce in I)!ms(ce)&&!(ce in Q)&&a(x,ce,I[ce],null,fe,L.children,W,ee,Ge);for(const ce in Q){if(ms(ce))continue;const de=Q[ce],le=I[ce];de!==le&&ce!=="value"&&a(x,ce,le,de,fe,L.children,W,ee,Ge)}"value"in Q&&a(x,"value",I.value,Q.value)}},V=(x,L,I,Q,W,ee,fe,ce,de)=>{const le=L.el=x?x.el:s(""),Ae=L.anchor=x?x.anchor:s("");let{patchFlag:be,dynamicChildren:Me,slotScopeIds:Oe}=L;Oe&&(ce=ce?ce.concat(Oe):Oe),x==null?(n(le,I,Q),n(Ae,I,Q),R(L.children,I,Ae,W,ee,fe,ce,de)):be>0&&be&64&&Me&&x.dynamicChildren?(S(x.dynamicChildren,Me,I,W,ee,fe,ce),(L.key!=null||W&&L===W.subTree)&&Cc(x,L,!0)):ye(x,L,I,Ae,W,ee,fe,ce,de)},U=(x,L,I,Q,W,ee,fe,ce,de)=>{L.slotScopeIds=ce,x==null?L.shapeFlag&512?W.ctx.activate(L,I,Q,fe,de):ie(L,I,Q,W,ee,fe,de):se(x,L,de)},ie=(x,L,I,Q,W,ee,fe)=>{const ce=x.component=iv(x,Q,W);if(Fl(x)&&(ce.ctx.renderer=Z),sv(ce),ce.asyncDep){if(W&&W.registerDep(ce,ue),!x.el){const de=ce.subTree=N(I1);b(null,de,L,I)}return}ue(ce,x,L,I,W,ee,fe)},se=(x,L,I)=>{const Q=L.component=x.component;if(bm(x,L,I))if(Q.asyncDep&&!Q.asyncResolved){ne(Q,L,I);return}else Q.next=L,pm(Q.update),Q.update();else L.el=x.el,Q.vnode=L},ue=(x,L,I,Q,W,ee,fe)=>{const ce=()=>{if(x.isMounted){let{next:Ae,bu:be,u:Me,parent:Oe,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)&&hr(me,Oe,Ae,re),In(x,!0);const Pe=w2(x),ht=x.subTree;x.subTree=Pe,_(ht,Pe,d(ht.el),G(ht),x,W,ee),Ae.el=Pe.el,Le===null&&wm(x,Pe.el),Me&&w1(Me,W),(me=Ae.props&&Ae.props.onVnodeUpdated)&&w1(()=>hr(me,Oe,Ae,re),W)}else{let Ae;const{el:be,props:Me}=L,{bm:Oe,m:re,parent:Le}=x,me=Ya(L);if(In(x,!1),Oe&&gs(Oe),!me&&(Ae=Me&&Me.onVnodeBeforeMount)&&hr(Ae,Le,L),In(x,!0),be&&ae){const Pe=()=>{x.subTree=w2(x),ae(be,x.subTree,x,W,null)};me?L.type.__asyncLoader().then(()=>!x.isUnmounted&&Pe()):Pe()}else{const Pe=x.subTree=w2(x);_(null,Pe,I,Q,x,W,ee),L.el=Pe.el}if(re&&w1(re,W),!me&&(Ae=Me&&Me.onVnodeMounted)){const Pe=L;w1(()=>hr(Ae,Le,Pe),W)}(L.shapeFlag&256||Le&&Ya(Le.vnode)&&Le.vnode.shapeFlag&256)&&x.a&&w1(x.a,W),x.isMounted=!0,L=I=Q=null}},de=x.effect=new v7(ce,()=>_7(le),x.scope),le=x.update=()=>de.run();le.id=x.uid,In(x,!0),le()},ne=(x,L,I)=>{L.component=x;const Q=x.vnode.props;x.vnode=L,x.next=null,Ym(x,L.props,Q,I),qm(x,L.children,I),la(),N5(),ua()},ye=(x,L,I,Q,W,ee,fe,ce,de=!1)=>{const le=x&&x.children,Ae=x?x.shapeFlag:0,be=L.children,{patchFlag:Me,shapeFlag:Oe}=L;if(Me>0){if(Me&128){$e(le,be,I,Q,W,ee,fe,ce,de);return}else if(Me&256){Ye(le,be,I,Q,W,ee,fe,ce,de);return}}Oe&8?(Ae&16&&Ge(le,W,ee),be!==le&&c(I,be)):Ae&16?Oe&16?$e(le,be,I,Q,W,ee,fe,ce,de):Ge(le,W,ee,!0):(Ae&8&&c(I,""),Oe&16&&R(be,I,Q,W,ee,fe,ce,de))},Ye=(x,L,I,Q,W,ee,fe,ce,de)=>{x=x||To,L=L||To;const le=x.length,Ae=L.length,be=Math.min(le,Ae);let Me;for(Me=0;Me<be;Me++){const Oe=L[Me]=de?pn(L[Me]):yr(L[Me]);_(x[Me],Oe,I,null,W,ee,fe,ce,de)}le>Ae?Ge(x,W,ee,!0,!1,be):R(L,I,Q,W,ee,fe,ce,de,be)},$e=(x,L,I,Q,W,ee,fe,ce,de)=>{let le=0;const Ae=L.length;let be=x.length-1,Me=Ae-1;for(;le<=be&&le<=Me;){const Oe=x[le],re=L[le]=de?pn(L[le]):yr(L[le]);if(jn(Oe,re))_(Oe,re,I,null,W,ee,fe,ce,de);else break;le++}for(;le<=be&&le<=Me;){const Oe=x[be],re=L[Me]=de?pn(L[Me]):yr(L[Me]);if(jn(Oe,re))_(Oe,re,I,null,W,ee,fe,ce,de);else break;be--,Me--}if(le>be){if(le<=Me){const Oe=Me+1,re=Oe<Ae?L[Oe].el:Q;for(;le<=Me;)_(null,L[le]=de?pn(L[le]):yr(L[le]),I,re,W,ee,fe,ce,de),le++}}else if(le>Me)for(;le<=be;)ze(x[le],W,ee,!0),le++;else{const Oe=le,re=le,Le=new Map;for(le=re;le<=Me;le++){const Ce=L[le]=de?pn(L[le]):yr(L[le]);Ce.key!=null&&Le.set(Ce.key,le)}let me,Pe=0;const ht=Me-re+1;let te=!1,ve=0;const xe=new Array(ht);for(le=0;le<ht;le++)xe[le]=0;for(le=Oe;le<=be;le++){const Ce=x[le];if(Pe>=ht){ze(Ce,W,ee,!0);continue}let je;if(Ce.key!=null)je=Le.get(Ce.key);else for(me=re;me<=Me;me++)if(xe[me-re]===0&&jn(Ce,L[me])){je=me;break}je===void 0?ze(Ce,W,ee,!0):(xe[je-re]=le+1,je>=ve?ve=je:te=!0,_(Ce,L[je],I,null,W,ee,fe,ce,de),Pe++)}const Ue=te?Jm(xe):To;for(me=Ue.length-1,le=ht-1;le>=0;le--){const Ce=re+le,je=L[Ce],Ot=Ce+1<Ae?L[Ce+1].el:Q;xe[le]===0?_(null,je,I,Ot,W,ee,fe,ce,de):te&&(me<0||le!==Ue[me]?qe(je,I,Ot,2):me--)}}},qe=(x,L,I,Q,W=null)=>{const{el:ee,type:fe,transition:ce,children:de,shapeFlag:le}=x;if(le&6){qe(x.component.subTree,L,I,Q);return}if(le&128){x.suspense.move(L,I,Q);return}if(le&64){fe.move(x,L,I,Z);return}if(fe===ke){n(ee,L,I);for(let be=0;be<de.length;be++)qe(de[be],L,I,Q);n(x.anchor,L,I);return}if(fe===Ka){v(x,L,I);return}if(Q!==2&&le&1&&ce)if(Q===0)ce.beforeEnter(ee),n(ee,L,I),w1(()=>ce.enter(ee),W);else{const{leave:be,delayLeave:Me,afterLeave:Oe}=ce,re=()=>n(ee,L,I),Le=()=>{be(ee,()=>{re(),Oe&&Oe()})};Me?Me(ee,re,Le):Le()}else n(ee,L,I)},ze=(x,L,I,Q=!1,W=!1)=>{const{type:ee,props:fe,ref:ce,children:de,dynamicChildren:le,shapeFlag:Ae,patchFlag:be,dirs:Me}=x;if(ce!=null&&I0(ce,null,I,x,!0),Ae&256){L.ctx.deactivate(x);return}const Oe=Ae&1&&Me,re=!Ya(x);let Le;if(re&&(Le=fe&&fe.onVnodeBeforeUnmount)&&hr(Le,L,x),Ae&6)Be(x.component,I,Q);else{if(Ae&128){x.suspense.unmount(I,Q);return}Oe&&Tn(x,null,L,"beforeUnmount"),Ae&64?x.type.remove(x,L,I,W,Z,Q):le&&(ee!==ke||be>0&&be&64)?Ge(le,L,I,!1,!0):(ee===ke&&be&384||!W&&Ae&16)&&Ge(de,L,I),Q&&he(x)}(re&&(Le=fe&&fe.onVnodeUnmounted)||Oe)&&w1(()=>{Le&&hr(Le,L,x),Oe&&Tn(x,null,L,"unmounted")},I)},he=x=>{const{type:L,el:I,anchor:Q,transition:W}=x;if(L===ke){Ne(I,Q);return}if(L===Ka){k(x);return}const ee=()=>{o(I),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(x.shapeFlag&1&&W&&!W.persisted){const{leave:fe,delayLeave:ce}=W,de=()=>fe(I,ee);ce?ce(x.el,ee,de):de()}else ee()},Ne=(x,L)=>{let I;for(;x!==L;)I=h(x),o(x),x=I;o(L)},Be=(x,L,I)=>{const{bum:Q,scope:W,update:ee,subTree:fe,um:ce}=x;Q&&gs(Q),W.stop(),ee&&(ee.active=!1,ze(fe,x,L,I)),ce&&w1(ce,L),w1(()=>{x.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},Ge=(x,L,I,Q=!1,W=!1,ee=0)=>{for(let fe=ee;fe<x.length;fe++)ze(x[fe],L,I,Q,W)},G=x=>x.shapeFlag&6?G(x.component.subTree):x.shapeFlag&128?x.suspense.next():h(x.anchor||x.el),j=(x,L,I)=>{x==null?L._vnode&&ze(L._vnode,null,null,!0):_(L._vnode||null,x,L,null,null,null,I),N5(),Qu(),L._vnode=x},Z={p:_,um:ze,m:qe,r:he,mt:ie,mc:R,pc:ye,pbc:S,n:G,o:e};let K,ae;return t&&([K,ae]=t(Z)),{render:j,hydrate:K,createApp:Um(j,K)}}function In({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function Xm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Cc(e,t,r=!1){const n=e.children,o=t.children;if(Ve(n)&&Ve(o))for(let a=0;a<n.length;a++){const i=n[a];let s=o[a];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=o[a]=pn(o[a]),s.el=i.el),r||Cc(i,s)),s.type===jl&&(s.el=i.el)}}function Jm(e){const t=e.slice(),r=[0];let n,o,a,i,s;const l=e.length;for(n=0;n<l;n++){const u=e[n];if(u!==0){if(o=r[r.length-1],e[o]<u){t[n]=o,r.push(n);continue}for(a=0,i=r.length-1;a<i;)s=a+i>>1,e[r[s]]<u?a=s+1:i=s;u<e[r[a]]&&(a>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 ev=e=>e.__isTeleport,ke=Symbol.for("v-fgt"),jl=Symbol.for("v-txt"),I1=Symbol.for("v-cmt"),Ka=Symbol.for("v-stc"),qa=[];let rr=null;function m(e=!1){qa.push(rr=e?null:[])}function tv(){qa.pop(),rr=qa[qa.length-1]||null}let vi=1;function W5(e){vi+=e}function yc(e){return e.dynamicChildren=vi>0?rr||To:null,tv(),vi>0&&rr&&rr.push(e),e}function M(e,t,r,n,o,a){return yc(p(e,t,r,n,o,a,!0))}function q(e,t,r,n,o){return yc(N(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 Yl="__vInternal",bc=({key:e})=>e??null,Cs=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Nt(e)||Jt(e)||Qe(e)?{i:e1,r:e,k:t,f:!!r}:e:null);function p(e,t=null,r=null,n=0,o=null,a=e===ke?0:1,i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&bc(t),ref:t&&Cs(t),scopeId:Rl,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:e1};return s?(E7(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=Nt(r)?8:16),vi>0&&!i&&rr&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&rr.push(l),l}const N=rv;function rv(e,t=null,r=null,n=0,o=null,a=!1){if((!e||e===sc)&&(e=I1),Fs(e)){const s=Kr(e,t,!0);return r&&E7(s,r),vi>0&&!a&&rr&&(s.shapeFlag&6?rr[rr.indexOf(e)]=s:rr.push(s)),s.patchFlag|=-2,s}if(dv(e)&&(e=e.__vccOpts),t){t=nv(t);let{class:s,style:l}=t;s&&!Nt(s)&&(t.class=J(s)),Mt(l)&&(Fu(l)&&!Ve(l)&&(l=Zt({},l)),t.style=Ke(l))}const i=Nt(e)?1:_m(e)?128:ev(e)?64:Mt(e)?4:Qe(e)?2:0;return p(e,t,r,n,o,i,a,!0)}function nv(e){return e?Fu(e)||Yl in e?Zt({},e):e:null}function Kr(e,t,r=!1){const{props:n,ref:o,patchFlag:a,children:i}=e,s=t?Xe(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&bc(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!==ke?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&&Kr(e.ssContent),ssFallback:e.ssFallback&&Kr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function w(e=" ",t=0){return N(jl,null,e,t)}function Ei(e,t){const r=N(Ka,null,e);return r.staticCount=t,r}function O(e="",t=!1){return t?(m(),q(I1,null,e)):N(I1,null,e)}function yr(e){return e==null||typeof e=="boolean"?N(I1):Ve(e)?N(ke,null,e.slice()):typeof e=="object"?pn(e):N(jl,null,String(e))}function pn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kr(e)}function E7(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),E7(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(Yl in t)?t._ctx=e1:o===3&&e1&&(e1.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Qe(t)?(t={default:t,_ctx:e1},r=32):(t=String(t),n&64?(r=16,t=[w(t)]):r=8);e.children=t,e.shapeFlag|=r}function Xe(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=J([t.class,n.class]));else if(o==="style")t.style=Ke([t.style,n.style]);else if(Tl(o)){const a=t[o],i=n[o];i&&a!==i&&!(Ve(a)&&a.includes(i))&&(t[o]=a?[].concat(a,i):i)}else o!==""&&(t[o]=n[o])}return t}function hr(e,t,r,n=null){j1(e,t,7,[r,n])}const ov=hc();let av=0;function iv(e,t,r){const n=e.type,o=(t?t.appContext:e.appContext)||ov,a={uid:av++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ip(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:pc(n,o),emitsOptions:Ju(n,o),emit:null,emitted:null,propsDefaults:kt,inheritAttrs:n.inheritAttrs,ctx:kt,data:kt,props:kt,attrs:kt,slots:kt,refs:kt,setupState:kt,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=gm.bind(null,a),e.ce&&e.ce(a),a}let Kt=null;const Ai=()=>Kt||e1;let A7,yo,Q5="__VUE_INSTANCE_SETTERS__";(yo=M0()[Q5])||(yo=M0()[Q5]=[]),yo.push(e=>Kt=e),A7=e=>{yo.length>1?yo.forEach(t=>t(e)):yo[0](e)};const qo=e=>{A7(e),e.scope.on()},to=()=>{Kt&&Kt.scope.off(),A7(null)};function wc(e){return e.vnode.shapeFlag&4}let gi=!1;function sv(e,t=!1){gi=t;const{props:r,children:n}=e.vnode,o=wc(e);jm(e,r,o,t),Km(e,n);const a=o?lv(e,t):void 0;return gi=!1,a}function lv(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=Uu(new Proxy(e.ctx,Pm));const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?kc(e):null;qo(e),la();const a=_n(n,e,0,[e.props,o]);if(ua(),to(),xu(a)){if(a.then(to,to),t)return a.then(i=>{X5(e,i,t)}).catch(i=>{$l(i,e,0)});e.asyncDep=a}else X5(e,a,t)}else _c(e,t)}function X5(e,t,r){Qe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Mt(t)&&(e.setupState=Ku(t)),_c(e,r)}let J5;function _c(e,t,r){const n=e.type;if(!e.render){if(!t&&J5&&!n.render){const o=n.template||x7(e).template;if(o){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:l}=n,u=Zt(Zt({isCustomElement:a,delimiters:s},i),l);n.render=J5(o,u)}}e.render=n.render||or}{qo(e),la();try{Nm(e)}finally{ua(),to()}}}function uv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return x1(e,"get","$attrs"),t[r]}}))}function kc(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return uv(e)},slots:e.slots,emit:e.emit,expose:t}}function Gl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ku(Uu(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 Qe(e)?e.displayName||e.name:e.name||t&&e.__name}function dv(e){return Qe(e)&&"__vccOpts"in e}const A=(e,t)=>dm(e,t,gi);function Ee(e,t,r){const n=arguments.length;return n===2?Mt(t)&&!Ve(t)?Fs(t)?N(e,null,[t]):N(e,t):N(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Fs(r)&&(r=[r]),N(e,t,r))}const hv=Symbol.for("v-scx"),fv=()=>M1(hv),pv="3.3.7",mv="http://www.w3.org/2000/svg",Yn=typeof document<"u"?document:null,e3=Yn&&Yn.createElement("template"),vv={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(mv,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{e3.innerHTML=n?`<svg>${e}</svg>`:e;const s=e3.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]}},rn="transition",Sa="animation",Wo=Symbol("_vtc"),ao=(e,{slots:t})=>Ee(Em,xc(e),t);ao.displayName="Transition";const Mc={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},gv=ao.props=Zt({},nc,Mc),On=(e,t=[])=>{Ve(e)?e.forEach(r=>r(...t)):e&&e(...t)},t3=e=>e?Ve(e)?e.some(t=>t.length>1):e.length>1:!1;function xc(e){const t={};for(const V in e)V in Mc||(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:u=i,appearToClass:c=s,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=e,g=Cv(o),_=g&&g[0],C=g&&g[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:v,onLeave:k,onLeaveCancelled:B,onBeforeAppear:$=b,onAppear:P=y,onAppearCancelled:R=v}=t,D=(V,U,ie)=>{dn(V,U?c:s),dn(V,U?u:i),ie&&ie()},S=(V,U)=>{V._isLeaving=!1,dn(V,d),dn(V,f),dn(V,h),U&&U()},z=V=>(U,ie)=>{const se=V?P:y,ue=()=>D(U,V,ie);On(se,[U,ue]),r3(()=>{dn(U,V?l:a),Vr(U,V?c:s),t3(se)||n3(U,n,_,ue)})};return Zt(t,{onBeforeEnter(V){On(b,[V]),Vr(V,a),Vr(V,i)},onBeforeAppear(V){On($,[V]),Vr(V,l),Vr(V,u)},onEnter:z(!1),onAppear:z(!0),onLeave(V,U){V._isLeaving=!0;const ie=()=>S(V,U);Vr(V,d),Ec(),Vr(V,h),r3(()=>{V._isLeaving&&(dn(V,d),Vr(V,f),t3(k)||n3(V,n,C,ie))}),On(k,[V,ie])},onEnterCancelled(V){D(V,!1),On(v,[V])},onAppearCancelled(V){D(V,!0),On(R,[V])},onLeaveCancelled(V){S(V),On(B,[V])}})}function Cv(e){if(e==null)return null;if(Mt(e))return[M2(e.enter),M2(e.leave)];{const t=M2(e);return[t,t]}}function M2(e){return Ep(e)}function Vr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[Wo]||(e[Wo]=new Set)).add(t)}function dn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[Wo];r&&(r.delete(t),r.size||(e[Wo]=void 0))}function r3(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let yv=0;function n3(e,t,r,n){const o=e._endId=++yv,a=()=>{o===e._endId&&n()};if(r)return setTimeout(a,r);const{type:i,timeout:s,propCount:l}=Sc(e,t);if(!i)return n();const u=i+"end";let c=0;const d=()=>{e.removeEventListener(u,h),a()},h=f=>{f.target===e&&++c>=l&&d()};setTimeout(()=>{c<l&&d()},s+1),e.addEventListener(u,h)}function Sc(e,t){const r=window.getComputedStyle(e),n=g=>(r[g]||"").split(", "),o=n(`${rn}Delay`),a=n(`${rn}Duration`),i=o3(o,a),s=n(`${Sa}Delay`),l=n(`${Sa}Duration`),u=o3(s,l);let c=null,d=0,h=0;t===rn?i>0&&(c=rn,d=i,h=a.length):t===Sa?u>0&&(c=Sa,d=u,h=l.length):(d=Math.max(i,u),c=d>0?i>u?rn:Sa:null,h=c?c===rn?a.length:l.length:0);const f=c===rn&&/\b(transform|all)(,|$)/.test(n(`${rn}Property`).toString());return{type:c,timeout:d,propCount:h,hasTransform:f}}function o3(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>a3(r)+a3(e[n])))}function a3(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ec(){return document.body.offsetHeight}function bv(e,t,r){const n=e[Wo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const L7=Symbol("_vod"),O0={beforeMount(e,{value:t},{transition:r}){e[L7]=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[L7]:"none"}function wv(e,t,r){const n=e.style,o=Nt(r);if(r&&!o){if(t&&!Nt(t))for(const a in t)r[a]==null&&V0(n,a,"");for(const a in r)V0(n,a,r[a])}else{const a=n.display;o?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),L7 in e&&(n.display=a)}}const i3=/\s*!important$/;function V0(e,t,r){if(Ve(r))r.forEach(n=>V0(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=_v(e,t);i3.test(r)?e.setProperty(An(n),r.replace(i3,""),"important"):e[n]=r}}const s3=["Webkit","Moz","ms"],x2={};function _v(e,t){const r=x2[t];if(r)return r;let n=Mr(t);if(n!=="filter"&&n in e)return x2[t]=n;n=Pl(n);for(let o=0;o<s3.length;o++){const a=s3[o]+n;if(a in e)return x2[t]=a}return t}const l3="http://www.w3.org/1999/xlink";function kv(e,t,r,n,o){if(n&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(l3,t.slice(6,t.length)):e.setAttributeNS(l3,t,r);else{const a=Tp(t);r==null||a&&!Au(r)?e.removeAttribute(t):e.setAttribute(t,a?"":r)}}function Mv(e,t,r,n,o,a,i){if(t==="innerHTML"||t==="textContent"){n&&i(n,o,a),e[t]=r??"";return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){e._value=r;const u=s==="OPTION"?e.getAttribute("value"):e.value,c=r??"";u!==c&&(e.value=c),r==null&&e.removeAttribute(t);return}let l=!1;if(r===""||r==null){const u=typeof e[t];u==="boolean"?r=Au(r):r==null&&u==="string"?(r="",l=!0):u==="number"&&(r=0,l=!0)}try{e[t]=r}catch{}l&&e.removeAttribute(t)}function Mo(e,t,r,n){e.addEventListener(t,r,n)}function xv(e,t,r,n){e.removeEventListener(t,r,n)}const u3=Symbol("_vei");function Sv(e,t,r,n,o=null){const a=e[u3]||(e[u3]={}),i=a[t];if(n&&i)i.value=n;else{const[s,l]=Ev(t);if(n){const u=a[t]=Dv(n,o);Mo(e,s,u,l)}else i&&(xv(e,s,i,l),a[t]=void 0)}}const c3=/(?:Once|Passive|Capture)$/;function Ev(e){let t;if(c3.test(e)){t={};let n;for(;n=e.match(c3);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):An(e.slice(2)),t]}let S2=0;const Av=Promise.resolve(),Lv=()=>S2||(Av.then(()=>S2=0),S2=Date.now());function Dv(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;j1(Bv(n,r.value),t,5,[n])};return r.value=e,r.attached=Lv(),r}function Bv(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 d3=/^on[a-z]/,Hv=(e,t,r,n,o=!1,a,i,s,l)=>{t==="class"?bv(e,n,o):t==="style"?wv(e,r,n):Tl(t)?h7(t)||Sv(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Tv(e,t,n,o))?Mv(e,t,n,a,i,s,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),kv(e,t,n,o))};function Tv(e,t,r,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&d3.test(t)&&Qe(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||d3.test(t)&&Nt(r)?!1:t in e}function ca(e){const t=Ai();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>N0(a,o))},n=()=>{const o=e(t.proxy);P0(t.subTree,o),r(o)};Mm(n),Ct(()=>{const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),ur(()=>o.disconnect())})}function P0(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{P0(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)N0(e.el,t);else if(e.type===ke)e.children.forEach(r=>P0(r,t));else if(e.type===Ka){let{el:r,anchor:n}=e;for(;r&&(N0(r,t),r!==n);)r=r.nextSibling}}function N0(e,t){if(e.nodeType===1){const r=e.style;for(const n in t)r.setProperty(`--${n}`,t[n])}}const Ac=new WeakMap,Lc=new WeakMap,Us=Symbol("_moveCb"),h3=Symbol("_enterCb"),Dc={name:"TransitionGroup",props:Zt({},gv,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Ai(),n=rc();let o,a;return ic(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!$v(o[0].el,r.vnode.el,i))return;o.forEach(Vv),o.forEach(Pv);const s=o.filter(Nv);Ec(),s.forEach(l=>{const u=l.el,c=u.style;Vr(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[Us]=h=>{h&&h.target!==u||(!h||/transform$/.test(h.propertyName))&&(u.removeEventListener("transitionend",d),u[Us]=null,dn(u,i))};u.addEventListener("transitionend",d)})}),()=>{const i=it(e),s=xc(i);let l=i.tag||ke;o=a,a=t.default?k7(t.default()):[];for(let u=0;u<a.length;u++){const c=a[u];c.key!=null&&mi(c,pi(c,s,n,r))}if(o)for(let u=0;u<o.length;u++){const c=o[u];mi(c,pi(c,s,n,r)),Ac.set(c,c.el.getBoundingClientRect())}return N(l,null,a)}}},Iv=e=>delete e.mode;Dc.props;const Ov=Dc;function Vv(e){const t=e.el;t[Us]&&t[Us](),t[h3]&&t[h3]()}function Pv(e){Lc.set(e,e.el.getBoundingClientRect())}function Nv(e){const t=Ac.get(e),r=Lc.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 $v(e,t,r){const n=e.cloneNode(),o=e[Wo];o&&o.forEach(s=>{s.split(/\s+/).forEach(l=>l&&n.classList.remove(l))}),r.split(/\s+/).forEach(s=>s&&n.classList.add(s)),n.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(n);const{hasTransform:i}=Sc(n);return a.removeChild(n),i}const f3=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ve(t)?r=>gs(t,r):t};function Zv(e){e.target.composing=!0}function p3(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const E2=Symbol("_assign"),Rv={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[E2]=f3(o);const a=n||o.props&&o.props.type==="number";Mo(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;r&&(s=s.trim()),a&&(s=k0(s)),e[E2](s)}),r&&Mo(e,"change",()=>{e.value=e.value.trim()}),t||(Mo(e,"compositionstart",Zv),Mo(e,"compositionend",p3),Mo(e,"change",p3))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:o}},a){if(e[E2]=f3(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)}},zv=["ctrl","shift","alt","meta"],Fv={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)=>zv.some(r=>e[`${r}Key`]&&!t.includes(r))},Et=(e,t)=>(r,...n)=>{for(let o=0;o<t.length;o++){const a=Fv[t[o]];if(a&&a(r,t))return}return e(r,...n)},Uv={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},qt=(e,t)=>r=>{if(!("key"in r))return;const n=An(r.key);if(t.some(o=>o===n||Uv[o]===n))return e(r)},jv=Zt({patchProp:Hv},vv);let m3;function Yv(){return m3||(m3=Wm(jv))}const Bc=(...e)=>{const t=Yv().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=Gv(n);if(!o)return;const a=t._component;!Qe(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 Gv(e){return Nt(e)?document.querySelector(e):e}/*! +var Mf=Object.defineProperty;var xf=(e,t,r)=>t in e?Mf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var mt=(e,t,r)=>(xf(e,typeof t!="symbol"?t+"":t,r),r),y2=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var oe=(e,t,r)=>(y2(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)},jt=(e,t,r,n)=>(y2(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var ge=(e,t,r)=>(y2(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 Sf="modulepreload",Ef=function(e,t){return e[0]==="."?new URL(e,t).href:e},A5={},we=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=Ef(a,n),a in A5)return;A5[a]=!0;const i=a.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(!!n)for(let c=o.length-1;c>=0;c--){const d=o[c];if(d.href===a&&(!i||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":Sf,i||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),i)return new Promise((c,d)=>{u.addEventListener("load",c),u.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 Af=e=>({"/control-plane/addresses":async(t,r)=>(r.close(),{http:e("KUMA_API_URL"),kds:"grpcs://<global-kds-address>:5685"})});var b2=new WeakMap,yu=new Map,Lf=new Map,ro;(function(e){e[e.Constant=0]="Constant",e[e.Instance=1]="Instance",e[e.Factory=2]="Factory"})(ro||(ro={}));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 Df=class{constructor(e){this.impl=e,this.type=ro.Constant}},Bf=class{constructor(e){this.impl=e,this.type=ro.Factory}},Hf=e=>e.type===ro.Factory,Dl=class{constructor(e){this.impl=e,this.type=ro.Instance}},Tf=class extends Dl{constructor(){super(...arguments),this.scope=Gr.Container,this.cache=new WeakMap}},If=class extends Dl{constructor(){super(...arguments),this.scope=Gr.Resolution}},Of=class extends Dl{constructor(e){super(e),this.impl=e,this.scope=Gr.Singleton}},Vf=class extends Dl{constructor(){super(...arguments),this.scope=Gr.Transient}},Pf=e=>e.type===ro.Instance,Nf=e=>e.scope===Gr.Container,$f=e=>e.scope===Gr.Resolution,Zf=e=>e.scope===Gr.Singleton,Rf=e=>Symbol(e),De=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<a;o+=1){const i=n.get(t[o]);if(i)return i}return n.get(Va.notag)}}resolve(e,t,r,n){const o=this.find(e,r,n);return o===void 0?this.parent?this.parent.resolve(e,t,r,n):null:o instanceof Va?(t.vaults.push(o),o.resolve(e,t,r,n)):o}get(e,t,r,n){const o=this.resolve(e,t,r,n);if(o)return o;for(let a=0,i=t.vaults,s=i.length;a<s;a+=1){const l=i[a].resolve(e,t,r,n);if(l)return l}return null}from(e){const t=new Va;return t.parent=this.parent,this.map.forEach((r,n)=>{t.map.set(n,e(r))}),t}clone(){return this.from(e=>new Map(e))}},bu=Va;bu.notag=Rf("NO_TAG");var zf=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;r<n;r+=1)this.vault.set(this.getVault(e),t[r],this.condition)}},Ff=class{constructor(e,t,r,n){this.vault=e,this.impl=t,this.token=r,this.condition=n}inContainerScope(){this.set(Tf)}inResolutionScope(){this.set(If)}inSingletonScope(){this.set(Of)}inTransientScope(){this.set(Vf)}set(e){this.vault.set(new e(this.impl),this.token,this.condition)}},Uf=class{constructor(e,t,r){this.vault=e,this.token=t,this.condition=r}toConstant(e){this.vault.set(new Df(e),this.token,this.condition)}toFactory(e,t){this.vault.set(new Bf({creator:e,initializer:t}),this.token,this.condition)}toInstance(e){return new Ff(this.vault,e,this.token,this.condition)}},_0=class{constructor(e,t){this.vault=e,this.condition=t}static vault(e){return e.vault}bind(e){return new Uf(this.vault,e,this.condition)}use(...e){return new zf(this.vault,e,_0.vault,this.condition)}},jf=class extends _0{when(e){return new _0(this.vault,e)}},Yf=class extends jf{constructor(){super(new bu)}},wu=class{constructor(e=new Map,t=[]){this.instances=e,this.vaults=t}split(){return new wu(this.instances,this.vaults.slice())}},ps=class extends Yf{constructor(){super(),this.snapshot=null}extend(e){return this.vault.parent=e===null?null:e.vault,this}clone(){const e=new ps;return e.vault=this.vault.clone(),e}get(e,t){return this.resolveToken(e,t)}resolveTokens(e,t,r,n){return e.map(o=>this.resolveToken(o,r,n,t.split()))}resolveToken(e,t,r,n=new wu){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 Pf(e)?Zf(e)?this.resolveCache(e,t,()=>e.cache,r=>{e.cache=r}):Nf(e)?this.resolveCache(e,t,()=>e.cache.get(this.vault),r=>{e.cache.set(this.vault,r)}):$f(e)?this.resolveCache(e,t,()=>t.instances.get(e),r=>{t.instances.set(e,r)}):this.createInstance(e.impl,t):Hf(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=b2.get(e);if(n!==void 0)return n?e(...r):new e(...r);try{const o=e(...r);return b2.set(e,!0),o}catch{const a=new e(...r);return b2.set(e,!1),a}}getParameters(e,t){const r=yu.get(e);if(r)return this.resolveTokens(r,t,Lf.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}},Gf=()=>new ps,Kf=(e,...t)=>(yu.set(e,t),e),Qie=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wf=function(t){return Qf(t)&&!Xf(t)};function Qf(e){return!!e&&typeof e=="object"}function Xf(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||tp(e)}var Jf=typeof Symbol=="function"&&Symbol.for,ep=Jf?Symbol.for("react.element"):60103;function tp(e){return e.$$typeof===ep}function rp(e){return Array.isArray(e)?[]:{}}function ci(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ko(rp(e),e,t):e}function np(e,t,r){return e.concat(t).map(function(n){return ci(n,r)})}function op(e,t){if(!t.customMerge)return Ko;var r=t.customMerge(e);return typeof r=="function"?r:Ko}function ap(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function L5(e){return Object.keys(e).concat(ap(e))}function _u(e,t){try{return t in e}catch{return!1}}function ip(e,t){return _u(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function sp(e,t,r){var n={};return r.isMergeableObject(e)&&L5(e).forEach(function(o){n[o]=ci(e[o],r)}),L5(t).forEach(function(o){ip(e,o)||(_u(e,o)&&r.isMergeableObject(t[o])?n[o]=op(o,r)(e[o],t[o],r):n[o]=ci(t[o],r))}),n}function Ko(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||np,r.isMergeableObject=r.isMergeableObject||Wf,r.cloneUnlessOtherwiseSpecified=ci;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):sp(e,t,r):ci(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 lp=Ko,up=lp;const cp=qf(up),c7=Gf(),dp=(...e)=>[...new Map([...e.flat()]).entries()],hp=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=De("inner"),u=De("inner.wrapper");t.set(l,{...s}),t.set(u,{service:()=>()=>Bl(l)}),t.set(o,{...n,arguments:[u],labels:i})}n.decorates=void 0}}),[...t.entries()]},Bl=e=>c7.get(e),fp=(...e)=>(hp(dp(...e)).forEach(r=>ku(...r)),Bl),Hl=(...e)=>e.map(t=>()=>Bl(t)),Ui=new WeakMap,ku=(e,t)=>{const r=c7.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=>{Ui.has(n)||(Ui.set(n,[]),ku(n,{service:()=>Ui.get(n).reduce((a,i)=>{try{const s=Bl(i);return Array.isArray(s)?a.concat(s):s instanceof Object?cp(a,s):a}catch(s){throw console.error(s),s}},[])})),Ui.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}]`)}),Kf(t.service,...t.arguments))},C1=(e,t)=>{const r=De(t.description);return c7.bind(r).toConstant(e),r},pp={sources:De("control-planes.sources")},mp=e=>[[pp.sources,{service:Af,arguments:[e.env],labels:[e.sources]}]],vp=()=>[{path:"/diagnostics",name:"diagnostics",component:()=>we(()=>import("./DiagnosticsView-06e85678.js"),["./CodeBlock-aa591f34.css"],import.meta.url)}],gp=e=>({"/config":async(t,r)=>(r.close(),await e.getConfig())}),Cp=e=>[[De("diagnostics.sources"),{service:gp,arguments:[e.api],labels:[e.sources]}],[De("diagnostics.routes"),{service:vp,labels:[e.routes]}]],yp=()=>[{path:"/onboarding",redirect:{name:"onboarding-welcome"},component:()=>we(()=>import("./OnboardingView-e790903e.js"),[],import.meta.url),children:[{path:"welcome",name:"onboarding-welcome",meta:{onboardingProcess:!0},component:()=>we(()=>import("./WelcomeView-47f7b5ef.js"),["./OnboardingPage-88f67fb6.css","./WelcomeView-2c7783bc.css"],import.meta.url)},{path:"deployment-types",name:"onboarding-deployment-types",meta:{onboardingProcess:!0},component:()=>we(()=>import("./DeploymentTypes-7cc9b0f1.js"),["./OnboardingPage-88f67fb6.css","./DeploymentTypes-caab5d22.css"],import.meta.url)},{path:"configuration-types",name:"onboarding-configuration-types",meta:{onboardingProcess:!0},component:()=>we(()=>import("./ConfigurationTypes-9e51d545.js"),["./OnboardingPage-88f67fb6.css","./ConfigurationTypes-f96b4d1a.css"],import.meta.url)},{path:"multi-zone",name:"onboarding-multi-zone",meta:{onboardingProcess:!0},component:()=>we(()=>import("./MultiZoneView-ebe84840.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./MultiZoneView-81622d62.css"],import.meta.url)},{path:"create-mesh",name:"onboarding-create-mesh",meta:{onboardingProcess:!0},component:()=>we(()=>import("./CreateMesh-f295e9c6.js"),["./OnboardingPage-88f67fb6.css","./CreateMesh-28969af3.css"],import.meta.url)},{path:"add-services",name:"onboarding-add-services",meta:{onboardingProcess:!0},component:()=>we(()=>import("./AddNewServices-fb893173.js"),["./OnboardingPage-88f67fb6.css","./AddNewServices-90574073.css"],import.meta.url)},{path:"add-services-code",name:"onboarding-add-services-code",meta:{onboardingProcess:!0},component:()=>we(()=>import("./AddNewServicesCode-bab7ed20.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:()=>we(()=>import("./DataplanesOverview-ab420fdb.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./StatusBadge-307eb0a4.css","./DataplanesOverview-72db9fd9.css"],import.meta.url)},{path:"completed",name:"onboarding-completed",meta:{onboardingProcess:!0},component:()=>we(()=>import("./CompletedView-11588c9f.js"),["./OnboardingPage-88f67fb6.css","./CompletedView-6392a0bc.css"],import.meta.url)}]}],bp=e=>[[De("onboarding.routes"),{service:yp,labels:[e.routes]}]];function d7(e,t){const r=Object.create(null),n=e.split(",");for(let o=0;o<n.length;o++)r[n[o]]=!0;return t?o=>!!r[o.toLowerCase()]:o=>!!r[o]}const kt={},To=[],or=()=>{},wp=()=>!1,_p=/^on[^a-z]/,Tl=e=>_p.test(e),h7=e=>e.startsWith("onUpdate:"),Zt=Object.assign,f7=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},kp=Object.prototype.hasOwnProperty,ot=(e,t)=>kp.call(e,t),Ve=Array.isArray,Io=e=>Ol(e)==="[object Map]",Mu=e=>Ol(e)==="[object Set]",Qe=e=>typeof e=="function",Nt=e=>typeof e=="string",Il=e=>typeof e=="symbol",Mt=e=>e!==null&&typeof e=="object",xu=e=>(Mt(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),Su=Object.prototype.toString,Ol=e=>Su.call(e),Mp=e=>Ol(e).slice(8,-1),Eu=e=>Ol(e)==="[object Object]",p7=e=>Nt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ms=d7(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vl=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},xp=/-(\w)/g,Mr=Vl(e=>e.replace(xp,(t,r)=>r?r.toUpperCase():"")),Sp=/\B([A-Z])/g,An=Vl(e=>e.replace(Sp,"-$1").toLowerCase()),Pl=Vl(e=>e.charAt(0).toUpperCase()+e.slice(1)),vs=Vl(e=>e?`on${Pl(e)}`:""),no=(e,t)=>!Object.is(e,t),gs=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},Vs=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},k0=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ep=e=>{const t=Nt(e)?Number(e):NaN;return isNaN(t)?e:t};let D5;const M0=()=>D5||(D5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ke(e){if(Ve(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],o=Nt(n)?Bp(n):Ke(n);if(o)for(const a in o)t[a]=o[a]}return t}else if(Nt(e)||Mt(e))return e}const Ap=/;(?![^(]*\))/g,Lp=/:([^]+)/,Dp=/\/\*[^]*?\*\//g;function Bp(e){const t={};return e.replace(Dp,"").split(Ap).forEach(r=>{if(r){const n=r.split(Lp);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function J(e){let t="";if(Nt(e))t=e;else if(Ve(e))for(let r=0;r<e.length;r++){const n=J(e[r]);n&&(t+=n+" ")}else if(Mt(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const Hp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Tp=d7(Hp);function Au(e){return!!e||e===""}const T=e=>Nt(e)?e:e==null?"":Ve(e)||Mt(e)&&(e.toString===Su||!Qe(e.toString))?JSON.stringify(e,Lu,2):String(e),Lu=(e,t)=>t&&t.__v_isRef?Lu(e,t.value):Io(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o])=>(r[`${n} =>`]=o,r),{})}:Mu(t)?{[`Set(${t.size})`]:[...t.values()]}:Mt(t)&&!Ve(t)&&!Eu(t)?String(t):t;let B1;class Ip{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=B1,!t&&B1&&(this.index=(B1.scopes||(B1.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=B1;try{return B1=this,t()}finally{B1=r}}}on(){B1=this}off(){B1=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Op(e,t=B1){t&&t.active&&t.effects.push(e)}function Du(){return B1}function Vp(e){B1&&B1.cleanups.push(e)}const m7=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Bu=e=>(e.w&xn)>0,Hu=e=>(e.n&xn)>0,Pp=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=xn},Np=e=>{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n<t.length;n++){const o=t[n];Bu(o)&&!Hu(o)?o.delete(e):t[r++]=o,o.w&=~xn,o.n&=~xn}t.length=r}},Ps=new WeakMap;let Pa=0,xn=1;const x0=30;let tr;const eo=Symbol(""),S0=Symbol("");class v7{constructor(t,r=null,n){this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,Op(this,n)}run(){if(!this.active)return this.fn();let t=tr,r=wn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=tr,tr=this,wn=!0,xn=1<<++Pa,Pa<=x0?Pp(this):B5(this),this.fn()}finally{Pa<=x0&&Np(this),xn=1<<--Pa,tr=this.parent,wn=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){tr===this?this.deferStop=!0:this.active&&(B5(this),this.onStop&&this.onStop(),this.active=!1)}}function B5(e){const{deps:t}=e;if(t.length){for(let r=0;r<t.length;r++)t[r].delete(e);t.length=0}}let wn=!0;const Tu=[];function la(){Tu.push(wn),wn=!1}function ua(){const e=Tu.pop();wn=e===void 0?!0:e}function x1(e,t,r){if(wn&&tr){let n=Ps.get(e);n||Ps.set(e,n=new Map);let o=n.get(r);o||n.set(r,o=m7()),Iu(o)}}function Iu(e,t){let r=!1;Pa<=x0?Hu(e)||(e.n|=xn,r=!Bu(e)):r=!e.has(tr),r&&(e.add(tr),tr.deps.push(e))}function Ur(e,t,r,n,o,a){const i=Ps.get(e);if(!i)return;let s=[];if(t==="clear")s=[...i.values()];else if(r==="length"&&Ve(e)){const l=Number(n);i.forEach((u,c)=>{(c==="length"||!Il(c)&&c>=l)&&s.push(u)})}else switch(r!==void 0&&s.push(i.get(r)),t){case"add":Ve(e)?p7(r)&&s.push(i.get("length")):(s.push(i.get(eo)),Io(e)&&s.push(i.get(S0)));break;case"delete":Ve(e)||(s.push(i.get(eo)),Io(e)&&s.push(i.get(S0)));break;case"set":Io(e)&&s.push(i.get(eo));break}if(s.length===1)s[0]&&E0(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);E0(m7(l))}}function E0(e,t){const r=Ve(e)?e:[...e];for(const n of r)n.computed&&H5(n);for(const n of r)n.computed||H5(n)}function H5(e,t){(e!==tr||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function $p(e,t){var r;return(r=Ps.get(e))==null?void 0:r.get(t)}const Zp=d7("__proto__,__v_isRef,__isVue"),Ou=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Il)),T5=Rp();function Rp(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=it(this);for(let a=0,i=this.length;a<i;a++)x1(n,"get",a+"");const o=n[t](...r);return o===-1||o===!1?n[t](...r.map(it)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){la();const n=it(this)[t].apply(this,r);return ua(),n}}),e}function zp(e){const t=it(this);return x1(t,"has",e),t.hasOwnProperty(e)}class Vu{constructor(t=!1,r=!1){this._isReadonly=t,this._shallow=r}get(t,r,n){const o=this._isReadonly,a=this._shallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return a;if(r==="__v_raw"&&n===(o?a?tm:Zu:a?$u:Nu).get(t))return t;const i=Ve(t);if(!o){if(i&&ot(T5,r))return Reflect.get(T5,r,n);if(r==="hasOwnProperty")return zp}const s=Reflect.get(t,r,n);return(Il(r)?Ou.has(r):Zp(r))||(o||x1(t,"get",r),a)?s:Jt(s)?i&&p7(r)?s:s.value:Mt(s)?o?zu(s):Ln(s):s}}class Pu extends Vu{constructor(t=!1){super(!1,t)}set(t,r,n,o){let a=t[r];if(oo(a)&&Jt(a)&&!Jt(n))return!1;if(!this._shallow&&(!Ns(n)&&!oo(n)&&(a=it(a),n=it(n)),!Ve(t)&&Jt(a)&&!Jt(n)))return a.value=n,!0;const i=Ve(t)&&p7(r)?Number(r)<t.length:ot(t,r),s=Reflect.set(t,r,n,o);return t===it(o)&&(i?no(n,a)&&Ur(t,"set",r,n):Ur(t,"add",r,n)),s}deleteProperty(t,r){const n=ot(t,r);t[r];const o=Reflect.deleteProperty(t,r);return o&&n&&Ur(t,"delete",r,void 0),o}has(t,r){const n=Reflect.has(t,r);return(!Il(r)||!Ou.has(r))&&x1(t,"has",r),n}ownKeys(t){return x1(t,"iterate",Ve(t)?"length":eo),Reflect.ownKeys(t)}}class Fp extends Vu{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const Up=new Pu,jp=new Fp,Yp=new Pu(!0),g7=e=>e,Nl=e=>Reflect.getPrototypeOf(e);function ji(e,t,r=!1,n=!1){e=e.__v_raw;const o=it(e),a=it(t);r||(no(t,a)&&x1(o,"get",t),x1(o,"get",a));const{has:i}=Nl(o),s=n?g7:r?b7:di;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 Yi(e,t=!1){const r=this.__v_raw,n=it(r),o=it(e);return t||(no(e,o)&&x1(n,"has",e),x1(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function Gi(e,t=!1){return e=e.__v_raw,!t&&x1(it(e),"iterate",eo),Reflect.get(e,"size",e)}function I5(e){e=it(e);const t=it(this);return Nl(t).has.call(t,e)||(t.add(e),Ur(t,"add",e,e)),this}function O5(e,t){t=it(t);const r=it(this),{has:n,get:o}=Nl(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?no(t,i)&&Ur(r,"set",e,t):Ur(r,"add",e,t),this}function V5(e){const t=it(this),{has:r,get:n}=Nl(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&&Ur(t,"delete",e,void 0),a}function P5(){const e=it(this),t=e.size!==0,r=e.clear();return t&&Ur(e,"clear",void 0,void 0),r}function Ki(e,t){return function(n,o){const a=this,i=a.__v_raw,s=it(i),l=t?g7:e?b7:di;return!e&&x1(s,"iterate",eo),i.forEach((u,c)=>n.call(o,l(u),l(c),a))}}function qi(e,t,r){return function(...n){const o=this.__v_raw,a=it(o),i=Io(a),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...n),c=r?g7:t?b7:di;return!t&&x1(a,"iterate",l?S0:eo),{next(){const{value:d,done:h}=u.next();return h?{value:d,done:h}:{value:s?[c(d[0]),c(d[1])]:c(d),done:h}},[Symbol.iterator](){return this}}}}function tn(e){return function(...t){return e==="delete"?!1:this}}function Gp(){const e={get(a){return ji(this,a)},get size(){return Gi(this)},has:Yi,add:I5,set:O5,delete:V5,clear:P5,forEach:Ki(!1,!1)},t={get(a){return ji(this,a,!1,!0)},get size(){return Gi(this)},has:Yi,add:I5,set:O5,delete:V5,clear:P5,forEach:Ki(!1,!0)},r={get(a){return ji(this,a,!0)},get size(){return Gi(this,!0)},has(a){return Yi.call(this,a,!0)},add:tn("add"),set:tn("set"),delete:tn("delete"),clear:tn("clear"),forEach:Ki(!0,!1)},n={get(a){return ji(this,a,!0,!0)},get size(){return Gi(this,!0)},has(a){return Yi.call(this,a,!0)},add:tn("add"),set:tn("set"),delete:tn("delete"),clear:tn("clear"),forEach:Ki(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=qi(a,!1,!1),r[a]=qi(a,!0,!1),t[a]=qi(a,!1,!0),n[a]=qi(a,!0,!0)}),[e,r,t,n]}const[Kp,qp,Wp,Qp]=Gp();function C7(e,t){const r=t?e?Qp:Wp:e?qp:Kp;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 Xp={get:C7(!1,!1)},Jp={get:C7(!1,!0)},em={get:C7(!0,!1)},Nu=new WeakMap,$u=new WeakMap,Zu=new WeakMap,tm=new WeakMap;function rm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function nm(e){return e.__v_skip||!Object.isExtensible(e)?0:rm(Mp(e))}function Ln(e){return oo(e)?e:y7(e,!1,Up,Xp,Nu)}function Ru(e){return y7(e,!1,Yp,Jp,$u)}function zu(e){return y7(e,!0,jp,em,Zu)}function y7(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=nm(e);if(i===0)return e;const s=new Proxy(e,i===2?n:r);return o.set(e,s),s}function Oo(e){return oo(e)?Oo(e.__v_raw):!!(e&&e.__v_isReactive)}function oo(e){return!!(e&&e.__v_isReadonly)}function Ns(e){return!!(e&&e.__v_isShallow)}function Fu(e){return Oo(e)||oo(e)}function it(e){const t=e&&e.__v_raw;return t?it(t):e}function Uu(e){return Vs(e,"__v_skip",!0),e}const di=e=>Mt(e)?Ln(e):e,b7=e=>Mt(e)?zu(e):e;function ju(e){wn&&tr&&(e=it(e),Iu(e.dep||(e.dep=m7())))}function Yu(e,t){e=it(e);const r=e.dep;r&&E0(r)}function Jt(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return Gu(e,!1)}function om(e){return Gu(e,!0)}function Gu(e,t){return Jt(e)?e:new am(e,t)}class am{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:di(t)}get value(){return ju(this),this._value}set value(t){const r=this.__v_isShallow||Ns(t)||oo(t);t=r?t:it(t),no(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:di(t),Yu(this))}}function H(e){return Jt(e)?e.value:e}const im={get:(e,t,r)=>H(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return Jt(o)&&!Jt(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function Ku(e){return Oo(e)?e:new Proxy(e,im)}function sm(e){const t=Ve(e)?new Array(e.length):{};for(const r in e)t[r]=um(e,r);return t}class lm{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 $p(it(this._object),this._key)}}function um(e,t,r){const n=e[t];return Jt(n)?n:new lm(e,t,r)}class cm{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 v7(t,()=>{this._dirty||(this._dirty=!0,Yu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const t=it(this);return ju(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function dm(e,t,r=!1){let n,o;const a=Qe(e);return a?(n=e,o=or):(n=e.get,o=e.set),new cm(n,o,a||!o,r)}function _n(e,t,r,n){let o;try{o=n?e(...n):e()}catch(a){$l(a,t,r)}return o}function j1(e,t,r,n){if(Qe(e)){const a=_n(e,t,r,n);return a&&xu(a)&&a.catch(i=>{$l(i,t,r)}),a}const o=[];for(let a=0;a<e.length;a++)o.push(j1(e[a],t,r,n));return o}function $l(e,t,r,n=!0){const o=t?t.vnode:null;if(t){let a=t.parent;const i=t.proxy,s=r;for(;a;){const u=a.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,i,s)===!1)return}a=a.parent}const l=t.appContext.config.errorHandler;if(l){_n(l,null,10,[e,i,s]);return}}hm(e,r,o,n)}function hm(e,t,r,n=!0){console.error(e)}let hi=!1,A0=!1;const r1=[];let wr=0;const Vo=[];let Pr=null,Un=0;const qu=Promise.resolve();let w7=null;function f1(e){const t=w7||qu;return e?t.then(this?e.bind(this):e):t}function fm(e){let t=wr+1,r=r1.length;for(;t<r;){const n=t+r>>>1,o=r1[n],a=fi(o);a<e||a===e&&o.pre?t=n+1:r=n}return t}function _7(e){(!r1.length||!r1.includes(e,hi&&e.allowRecurse?wr+1:wr))&&(e.id==null?r1.push(e):r1.splice(fm(e.id),0,e),Wu())}function Wu(){!hi&&!A0&&(A0=!0,w7=qu.then(Xu))}function pm(e){const t=r1.indexOf(e);t>wr&&r1.splice(t,1)}function mm(e){Ve(e)?Vo.push(...e):(!Pr||!Pr.includes(e,e.allowRecurse?Un+1:Un))&&Vo.push(e),Wu()}function N5(e,t=hi?wr+1:0){for(;t<r1.length;t++){const r=r1[t];r&&r.pre&&(r1.splice(t,1),t--,r())}}function Qu(e){if(Vo.length){const t=[...new Set(Vo)];if(Vo.length=0,Pr){Pr.push(...t);return}for(Pr=t,Pr.sort((r,n)=>fi(r)-fi(n)),Un=0;Un<Pr.length;Un++)Pr[Un]();Pr=null,Un=0}}const fi=e=>e.id==null?1/0:e.id,vm=(e,t)=>{const r=fi(e)-fi(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function Xu(e){A0=!1,hi=!0,r1.sort(vm);const t=or;try{for(wr=0;wr<r1.length;wr++){const r=r1[wr];r&&r.active!==!1&&_n(r,null,14)}}finally{wr=0,r1.length=0,Qu(),hi=!1,w7=null,(r1.length||Vo.length)&&Xu()}}function gm(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||kt;let o=r;const a=t.startsWith("update:"),i=a&&t.slice(7);if(i&&i in n){const c=`${i==="modelValue"?"model":i}Modifiers`,{number:d,trim:h}=n[c]||kt;h&&(o=r.map(f=>Nt(f)?f.trim():f)),d&&(o=r.map(k0))}let s,l=n[s=vs(t)]||n[s=vs(Mr(t))];!l&&a&&(l=n[s=vs(An(t))]),l&&j1(l,e,6,o);const u=n[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,j1(u,e,6,o)}}function Ju(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(!Qe(e)){const l=u=>{const c=Ju(u,t,!0);c&&(s=!0,Zt(i,c))};!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):Zt(i,a),Mt(e)&&n.set(e,i),i)}function Zl(e,t){return!e||!Tl(t)?!1:(t=t.slice(2).replace(/Once$/,""),ot(e,t[0].toLowerCase()+t.slice(1))||ot(e,An(t))||ot(e,t))}let e1=null,Rl=null;function $s(e){const t=e1;return e1=e,Rl=e&&e.type.__scopeId||null,t}function st(e){Rl=e}function lt(){Rl=null}function E(e,t=e1,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&W5(-1);const a=$s(t);let i;try{i=e(...o)}finally{$s(a),n._d&&W5(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function w2(e){const{type:t,vnode:r,proxy:n,withProxy:o,props:a,propsOptions:[i],slots:s,attrs:l,emit:u,render:c,renderCache:d,data:h,setupState:f,ctx:g,inheritAttrs:_}=e;let C,b;const y=$s(e);try{if(r.shapeFlag&4){const k=o||n;C=yr(c.call(k,k,d,a,f,h,g)),b=l}else{const k=t;C=yr(k.length>1?k(a,{attrs:l,slots:s,emit:u}):k(a,null)),b=t.props?l:Cm(l)}}catch(k){qa.length=0,$l(k,e,1),C=N(I1)}let v=C;if(b&&_!==!1){const k=Object.keys(b),{shapeFlag:B}=v;k.length&&B&7&&(i&&k.some(h7)&&(b=ym(b,i)),v=Kr(v,b))}return r.dirs&&(v=Kr(v),v.dirs=v.dirs?v.dirs.concat(r.dirs):r.dirs),r.transition&&(v.transition=r.transition),C=v,$s(y),C}const Cm=e=>{let t;for(const r in e)(r==="class"||r==="style"||Tl(r))&&((t||(t={}))[r]=e[r]);return t},ym=(e,t)=>{const r={};for(const n in e)(!h7(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function bm(e,t,r){const{props:n,children:o,component:a}=e,{props:i,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?$5(n,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const h=c[d];if(i[h]!==n[h]&&!Zl(u,h))return!0}}}else return(o||s)&&(!s||!s.$stable)?!0:n===i?!1:n?i?$5(n,i,u):!0:!!i;return!1}function $5(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const a=n[o];if(t[a]!==e[a]&&!Zl(r,a))return!0}return!1}function wm({vnode:e,parent:t},r){for(;t&&t.subTree===e;)(e=t.vnode).el=r,t=t.parent}const _m=e=>e.__isSuspense;function km(e,t){t&&t.pendingBranch?Ve(e)?t.effects.push(...e):t.effects.push(e):mm(e)}function ec(e,t){return zl(e,null,t)}function Mm(e,t){return zl(e,null,{flush:"post"})}const Wi={};function Te(e,t,r){return zl(e,t,r)}function zl(e,t,{immediate:r,deep:n,flush:o,onTrack:a,onTrigger:i}=kt){var s;const l=Du()===((s=Kt)==null?void 0:s.scope)?Kt:null;let u,c=!1,d=!1;if(Jt(e)?(u=()=>e.value,c=Ns(e)):Oo(e)?(u=()=>e,n=!0):Ve(e)?(d=!0,c=e.some(k=>Oo(k)||Ns(k)),u=()=>e.map(k=>{if(Jt(k))return k.value;if(Oo(k))return Kn(k);if(Qe(k))return _n(k,l,2)})):Qe(e)?t?u=()=>_n(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return h&&h(),j1(e,l,3,[f])}:u=or,t&&n){const k=u;u=()=>Kn(k())}let h,f=k=>{h=y.onStop=()=>{_n(k,l,4)}},g;if(gi)if(f=or,t?r&&j1(t,l,3,[u(),d?[]:void 0,f]):u(),o==="sync"){const k=fv();g=k.__watcherHandles||(k.__watcherHandles=[])}else return or;let _=d?new Array(e.length).fill(Wi):Wi;const C=()=>{if(y.active)if(t){const k=y.run();(n||c||(d?k.some((B,$)=>no(B,_[$])):no(k,_)))&&(h&&h(),j1(t,l,3,[k,_===Wi?void 0:d&&_[0]===Wi?[]:_,f]),_=k)}else y.run()};C.allowRecurse=!!t;let b;o==="sync"?b=C:o==="post"?b=()=>w1(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),b=()=>_7(C));const y=new v7(u,b);t?r?C():_=y.run():o==="post"?w1(y.run.bind(y),l&&l.suspense):y.run();const v=()=>{y.stop(),l&&l.scope&&f7(l.scope.effects,y)};return g&&g.push(v),v}function xm(e,t,r){const n=this.proxy,o=Nt(e)?e.includes(".")?tc(n,e):()=>n[e]:e.bind(n,n);let a;Qe(t)?a=t:(a=t.handler,r=t);const i=Kt;qo(this);const s=zl(o,a.bind(n),r);return i?qo(i):to(),s}function tc(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o<r.length&&n;o++)n=n[r[o]];return n}}function Kn(e,t){if(!Mt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Jt(e))Kn(e.value,t);else if(Ve(e))for(let r=0;r<e.length;r++)Kn(e[r],t);else if(Mu(e)||Io(e))e.forEach(r=>{Kn(r,t)});else if(Eu(e))for(const r in e)Kn(e[r],t);return e}function Zs(e,t){const r=e1;if(r===null)return e;const n=Gl(r)||r.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[i,s,l,u=kt]=t[a];i&&(Qe(i)&&(i={mounted:i,updated:i}),i.deep&&Kn(s),o.push({dir:i,instance:n,value:s,oldValue:void 0,arg:l,modifiers:u}))}return e}function Tn(e,t,r,n){const o=e.dirs,a=t&&t.dirs;for(let i=0;i<o.length;i++){const s=o[i];a&&(s.oldValue=a[i].value);let l=s.dir[n];l&&(la(),j1(l,r,8,[e.el,s,e,t]),ua())}}const fn=Symbol("_leaveCb"),Qi=Symbol("_enterCb");function rc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ct(()=>{e.isMounted=!0}),lr(()=>{e.isUnmounting=!0}),e}const P1=[Function,Array],nc={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},Sm={name:"BaseTransition",props:nc,setup(e,{slots:t}){const r=Ai(),n=rc();let o;return()=>{const a=t.default&&k7(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 _2(i);const u=Z5(i);if(!u)return _2(i);const c=pi(u,s,n,r);mi(u,c);const d=r.subTree,h=d&&Z5(d);let f=!1;const{getTransitionKey:g}=u.type;if(g){const _=g();o===void 0?o=_:_!==o&&(o=_,f=!0)}if(h&&h.type!==I1&&(!jn(u,h)||f)){const _=pi(h,s,n,r);if(mi(h,_),l==="out-in")return n.isLeaving=!0,_.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&r.update()},_2(i);l==="in-out"&&u.type!==I1&&(_.delayLeave=(C,b,y)=>{const v=oc(n,h);v[String(h.key)]=h,C[fn]=()=>{b(),C[fn]=void 0,delete c.delayedLeave},c.delayedLeave=y})}return i}}},Em=Sm;function oc(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 pi(e,t,r,n){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:h,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:_,onAppear:C,onAfterAppear:b,onAppearCancelled:y}=t,v=String(e.key),k=oc(r,e),B=(R,D)=>{R&&j1(R,n,9,D)},$=(R,D)=>{const S=D[1];B(R,D),Ve(R)?R.every(z=>z.length<=1)&&S():R.length<=1&&S()},P={mode:a,persisted:i,beforeEnter(R){let D=s;if(!r.isMounted)if(o)D=_||s;else return;R[fn]&&R[fn](!0);const S=k[v];S&&jn(e,S)&&S.el[fn]&&S.el[fn](),B(D,[R])},enter(R){let D=l,S=u,z=c;if(!r.isMounted)if(o)D=C||l,S=b||u,z=y||c;else return;let V=!1;const U=R[Qi]=ie=>{V||(V=!0,ie?B(z,[R]):B(S,[R]),P.delayedLeave&&P.delayedLeave(),R[Qi]=void 0)};D?$(D,[R,U]):U()},leave(R,D){const S=String(e.key);if(R[Qi]&&R[Qi](!0),r.isUnmounting)return D();B(d,[R]);let z=!1;const V=R[fn]=U=>{z||(z=!0,D(),U?B(g,[R]):B(f,[R]),R[fn]=void 0,k[S]===e&&delete k[S])};k[S]=e,h?$(h,[R,V]):V()},clone(R){return pi(R,t,r,n)}};return P}function _2(e){if(Fl(e))return e=Kr(e),e.children=null,e}function Z5(e){return Fl(e)?e.children?e.children[0]:void 0:e}function mi(e,t){e.shapeFlag&6&&e.component?mi(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 k7(e,t=!1,r){let n=[],o=0;for(let a=0;a<e.length;a++){let i=e[a];const s=r==null?i.key:String(r)+String(i.key!=null?i.key:a);i.type===ke?(i.patchFlag&128&&o++,n=n.concat(k7(i.children,t,s))):(t||i.type!==I1)&&n.push(s!=null?Kr(i,{key:s}):i)}if(o>1)for(let a=0;a<n.length;a++)n[a].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function X(e,t){return Qe(e)?(()=>Zt({name:e.name},t,{setup:e}))():e}const Ya=e=>!!e.type.__asyncLoader,Fl=e=>e.type.__isKeepAlive;function Am(e,t){ac(e,"a",t)}function Lm(e,t){ac(e,"da",t)}function ac(e,t,r=Kt){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ul(t,n,r),r){let o=r.parent;for(;o&&o.parent;)Fl(o.parent.vnode)&&Dm(n,t,r,o),o=o.parent}}function Dm(e,t,r,n){const o=Ul(t,e,n,!0);ur(()=>{f7(n[t],o)},r)}function Ul(e,t,r=Kt,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=j1(t,r,e,i);return to(),ua(),s});return n?o.unshift(a):o.push(a),a}}const Wr=e=>(t,r=Kt)=>(!gi||e==="sp")&&Ul(e,(...n)=>t(...n),r),Bm=Wr("bm"),Ct=Wr("m"),Hm=Wr("bu"),ic=Wr("u"),lr=Wr("bum"),ur=Wr("um"),Tm=Wr("sp"),Im=Wr("rtg"),Om=Wr("rtc");function Vm(e,t=Kt){Ul("ec",e,t)}const M7="components";function p1(e,t){return lc(M7,e,!0,t)||e}const sc=Symbol.for("v-ndc");function vt(e){return Nt(e)?lc(M7,e,!1)||e:e||sc}function lc(e,t,r=!0,n=!1){const o=e1||Kt;if(o){const a=o.type;if(e===M7){const s=cv(a,!1);if(s&&(s===t||s===Mr(t)||s===Pl(Mr(t))))return a}const i=R5(o[e]||a[e],t)||R5(o.appContext[e],t);return!i&&n?a:i}}function R5(e,t){return e&&(e[t]||e[Mr(t)]||e[Pl(Mr(t))])}function rt(e,t,r,n){let o;const a=r&&r[n];if(Ve(e)||Nt(e)){o=new Array(e.length);for(let i=0,s=e.length;i<s;i++)o[i]=t(e[i],i,void 0,a&&a[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,a&&a[i])}else if(Mt(e))if(e[Symbol.iterator])o=Array.from(e,(i,s)=>t(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<l;s++){const u=i[s];o[s]=t(e[u],u,s,a&&a[s])}}else o=[];return r&&(r[n]=o),o}function Dn(e,t){for(let r=0;r<t.length;r++){const n=t[r];if(Ve(n))for(let o=0;o<n.length;o++)e[n[o].name]=n[o].fn;else n&&(e[n.name]=n.key?(...o)=>{const a=n.fn(...o);return a&&(a.key=n.key),a}:n.fn)}return e}function F(e,t,r={},n,o){if(e1.isCE||e1.parent&&Ya(e1.parent)&&e1.parent.isCE)return t!=="default"&&(r.name=t),N("slot",r,n&&n());let a=e[t];a&&a._c&&(a._d=!1),m();const i=a&&uc(a(r)),s=q(ke,{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 uc(e){return e.some(t=>Fs(t)?!(t.type===I1||t.type===ke&&!uc(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 D0=e=>e?wc(e)?Gl(e)||e.proxy:D0(e.parent):null,Ga=Zt(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=>D0(e.parent),$root:e=>D0(e.root),$emit:e=>e.emit,$options:e=>x7(e),$forceUpdate:e=>e.f||(e.f=()=>_7(e.update)),$nextTick:e=>e.n||(e.n=f1.bind(e.proxy)),$watch:e=>xm.bind(e)}),k2=(e,t)=>e!==kt&&!e.__isScriptSetup&&ot(e,t),Pm={get({_:e},t){const{ctx:r,setupState:n,data:o,props:a,accessCache:i,type:s,appContext:l}=e;let u;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(k2(n,t))return i[t]=1,n[t];if(o!==kt&&ot(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&ot(u,t))return i[t]=3,a[t];if(r!==kt&&ot(r,t))return i[t]=4,r[t];B0&&(i[t]=0)}}const c=Ga[t];let d,h;if(c)return t==="$attrs"&&x1(e,"get",t),c(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 k2(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)||k2(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 cc().slots}function cr(){return cc().attrs}function cc(){const e=Ai();return e.setupContext||(e.setupContext=kc(e))}function z5(e){return Ve(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let B0=!0;function Nm(e){const t=x7(e),r=e.proxy,n=e.ctx;B0=!1,t.beforeCreate&&F5(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:i,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:h,beforeUpdate:f,updated:g,activated:_,deactivated:C,beforeDestroy:b,beforeUnmount:y,destroyed:v,unmounted:k,render:B,renderTracked:$,renderTriggered:P,errorCaptured:R,serverPrefetch:D,expose:S,inheritAttrs:z,components:V,directives:U,filters:ie}=t;if(u&&$m(u,n,null),i)for(const ne in i){const ye=i[ne];Qe(ye)&&(n[ne]=ye.bind(r))}if(o){const ne=o.call(r,r);Mt(ne)&&(e.data=Ln(ne))}if(B0=!0,a)for(const ne in a){const ye=a[ne],Ye=Qe(ye)?ye.bind(r,r):Qe(ye.get)?ye.get.bind(r,r):or,$e=!Qe(ye)&&Qe(ye.set)?ye.set.bind(r):or,qe=A({get:Ye,set:$e});Object.defineProperty(n,ne,{enumerable:!0,configurable:!0,get:()=>qe.value,set:ze=>qe.value=ze})}if(s)for(const ne in s)dc(s[ne],n,r,ne);if(l){const ne=Qe(l)?l.call(r):l;Reflect.ownKeys(ne).forEach(ye=>{Po(ye,ne[ye])})}c&&F5(c,e,"c");function ue(ne,ye){Ve(ye)?ye.forEach(Ye=>ne(Ye.bind(r))):ye&&ne(ye.bind(r))}if(ue(Bm,d),ue(Ct,h),ue(Hm,f),ue(ic,g),ue(Am,_),ue(Lm,C),ue(Vm,R),ue(Om,$),ue(Im,P),ue(lr,y),ue(ur,k),ue(Tm,D),Ve(S))if(S.length){const ne=e.exposed||(e.exposed={});S.forEach(ye=>{Object.defineProperty(ne,ye,{get:()=>r[ye],set:Ye=>r[ye]=Ye})})}else e.exposed||(e.exposed={});B&&e.render===or&&(e.render=B),z!=null&&(e.inheritAttrs=z),V&&(e.components=V),U&&(e.directives=U)}function $m(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=M1(o.from||n,o.default,!0):a=M1(o.from||n):a=M1(o),Jt(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:i=>a.value=i}):t[n]=a}}function F5(e,t,r){j1(Ve(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function dc(e,t,r,n){const o=n.includes(".")?tc(r,n):()=>r[n];if(Nt(e)){const a=t[e];Qe(a)&&Te(o,a)}else if(Qe(e))Te(o,e.bind(r));else if(Mt(e))if(Ve(e))e.forEach(a=>dc(a,t,r,n));else{const a=Qe(e.handler)?e.handler.bind(r):t[e.handler];Qe(a)&&Te(o,a,e)}}function x7(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(u=>Rs(l,u,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=Zm[i]||r&&r[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const Zm={data:U5,props:j5,emits:j5,methods:Na,computed:Na,beforeCreate:a1,created:a1,beforeMount:a1,mounted:a1,beforeUpdate:a1,updated:a1,beforeDestroy:a1,beforeUnmount:a1,destroyed:a1,unmounted:a1,activated:a1,deactivated:a1,errorCaptured:a1,serverPrefetch:a1,components:Na,directives:Na,watch:zm,provide:U5,inject:Rm};function U5(e,t){return t?e?function(){return Zt(Qe(e)?e.call(this,this):e,Qe(t)?t.call(this,this):t)}:t:e}function Rm(e,t){return Na(H0(e),H0(t))}function H0(e){if(Ve(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function a1(e,t){return e?[...new Set([].concat(e,t))]:t}function Na(e,t){return e?Zt(Object.create(null),e,t):t}function j5(e,t){return e?Ve(e)&&Ve(t)?[...new Set([...e,...t])]:Zt(Object.create(null),z5(e),z5(t??{})):t}function zm(e,t){if(!e)return t;if(!t)return e;const r=Zt(Object.create(null),e);for(const n in t)r[n]=a1(e[n],t[n]);return r}function hc(){return{app:null,config:{isNativeTag:wp,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Fm=0;function Um(e,t){return function(n,o=null){Qe(n)||(n=Zt({},n)),o!=null&&!Mt(o)&&(o=null);const a=hc(),i=new WeakSet;let s=!1;const l=a.app={_uid:Fm++,_component:n,_props:o,_container:null,_context:a,_instance:null,version:pv,get config(){return a.config},set config(u){},use(u,...c){return i.has(u)||(u&&Qe(u.install)?(i.add(u),u.install(l,...c)):Qe(u)&&(i.add(u),u(l,...c))),l},mixin(u){return a.mixins.includes(u)||a.mixins.push(u),l},component(u,c){return c?(a.components[u]=c,l):a.components[u]},directive(u,c){return c?(a.directives[u]=c,l):a.directives[u]},mount(u,c,d){if(!s){const h=N(n,o);return h.appContext=a,c&&t?t(h,u):e(h,u,d),s=!0,l._container=u,u.__vue_app__=l,Gl(h.component)||h.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return a.provides[u]=c,l},runWithContext(u){zs=l;try{return u()}finally{zs=null}}};return l}}let zs=null;function Po(e,t){if(Kt){let r=Kt.provides;const n=Kt.parent&&Kt.parent.provides;n===r&&(r=Kt.provides=Object.create(n)),r[e]=t}}function M1(e,t,r=!1){const n=Kt||e1;if(n||zs){const o=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:zs._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return r&&Qe(t)?t.call(n&&n.proxy):t}}function jm(e,t,r,n=!1){const o={},a={};Vs(a,Yl,1),e.propsDefaults=Object.create(null),fc(e,t,o,a);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);r?e.props=n?o:Ru(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function Ym(e,t,r,n){const{props:o,attrs:a,vnode:{patchFlag:i}}=e,s=it(o),[l]=e.propsOptions;let u=!1;if((n||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let h=c[d];if(Zl(e.emitsOptions,h))continue;const f=t[h];if(l)if(ot(a,h))f!==a[h]&&(a[h]=f,u=!0);else{const g=Mr(h);o[g]=T0(l,s,g,f,e,!1)}else f!==a[h]&&(a[h]=f,u=!0)}}}else{fc(e,t,o,a)&&(u=!0);let c;for(const d in s)(!t||!ot(t,d)&&((c=An(d))===d||!ot(t,c)))&&(l?r&&(r[d]!==void 0||r[c]!==void 0)&&(o[d]=T0(l,s,d,void 0,e,!0)):delete o[d]);if(a!==s)for(const d in a)(!t||!ot(t,d))&&(delete a[d],u=!0)}u&&Ur(e,"set","$attrs")}function fc(e,t,r,n){const[o,a]=e.propsOptions;let i=!1,s;if(t)for(let l in t){if(ms(l))continue;const u=t[l];let c;o&&ot(o,c=Mr(l))?!a||!a.includes(c)?r[c]=u:(s||(s={}))[c]=u:Zl(e.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,i=!0)}if(a){const l=it(r),u=s||kt;for(let c=0;c<a.length;c++){const d=a[c];r[d]=T0(o,l,d,u[d],e,!ot(u,d))}}return i}function T0(e,t,r,n,o,a){const i=e[r];if(i!=null){const s=ot(i,"default");if(s&&n===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Qe(l)){const{propsDefaults:u}=o;r in u?n=u[r]:(qo(o),n=u[r]=l.call(null,t),to())}else n=l}i[0]&&(a&&!s?n=!1:i[1]&&(n===""||n===An(r))&&(n=!0))}return n}function pc(e,t,r=!1){const n=t.propsCache,o=n.get(e);if(o)return o;const a=e.props,i={},s=[];let l=!1;if(!Qe(e)){const c=d=>{l=!0;const[h,f]=pc(d,t,!0);Zt(i,h),f&&s.push(...f)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return Mt(e)&&n.set(e,To),To;if(Ve(a))for(let c=0;c<a.length;c++){const d=Mr(a[c]);Y5(d)&&(i[d]=kt)}else if(a)for(const c in a){const d=Mr(c);if(Y5(d)){const h=a[c],f=i[d]=Ve(h)||Qe(h)?{type:h}:Zt({},h);if(f){const g=q5(Boolean,f.type),_=q5(String,f.type);f[0]=g>-1,f[1]=_<0||g<_,(g>-1||ot(f,"default"))&&s.push(d)}}}const u=[i,s];return Mt(e)&&n.set(e,u),u}function Y5(e){return e[0]!=="$"}function G5(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function K5(e,t){return G5(e)===G5(t)}function q5(e,t){return Ve(t)?t.findIndex(r=>K5(r,e)):Qe(t)&&K5(t,e)?0:-1}const mc=e=>e[0]==="_"||e==="$stable",S7=e=>Ve(e)?e.map(yr):[yr(e)],Gm=(e,t,r)=>{if(t._n)return t;const n=E((...o)=>S7(t(...o)),r);return n._c=!1,n},vc=(e,t,r)=>{const n=e._ctx;for(const o in e){if(mc(o))continue;const a=e[o];if(Qe(a))t[o]=Gm(o,a,n);else if(a!=null){const i=S7(a);t[o]=()=>i}}},gc=(e,t)=>{const r=S7(t);e.slots.default=()=>r},Km=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=it(t),Vs(t,"_",r)):vc(t,e.slots={})}else e.slots={},t&&gc(e,t);Vs(e.slots,Yl,1)},qm=(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:(Zt(o,t),!r&&s===1&&delete o._):(a=!t.$stable,vc(t,o)),i=t}else t&&(gc(e,t),i={default:1});if(a)for(const s in o)!mc(s)&&i[s]==null&&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?Gl(n.component)||n.component.proxy:n.el,i=o?null:a,{i:s,r:l}=e,u=t&&t.r,c=s.refs===kt?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(Nt(u)?(c[u]=null,ot(d,u)&&(d[u]=null)):Jt(u)&&(u.value=null)),Qe(l))_n(l,s,12,[i,c]);else{const h=Nt(l),f=Jt(l);if(h||f){const g=()=>{if(e.f){const _=h?ot(d,l)?d[l]:c[l]:l.value;o?Ve(_)&&f7(_,a):Ve(_)?_.includes(a)||_.push(a):h?(c[l]=[a],ot(d,l)&&(d[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else h?(c[l]=i,ot(d,l)&&(d[l]=i)):f&&(l.value=i,e.k&&(c[e.k]=i))};i?(g.id=-1,w1(g,r)):g()}}}const w1=km;function Wm(e){return Qm(e)}function Qm(e,t){const r=M0();r.__VUE__=!0;const{insert:n,remove:o,patchProp:a,createElement:i,createText:s,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:h,setScopeId:f=or,insertStaticContent:g}=e,_=(x,L,I,Q=null,W=null,ee=null,fe=!1,ce=null,de=!!L.dynamicChildren)=>{if(x===L)return;x&&!jn(x,L)&&(Q=G(x),ze(x,W,ee,!0),x=null),L.patchFlag===-2&&(de=!1,L.dynamicChildren=null);const{type:le,ref:Ae,shapeFlag:be}=L;switch(le){case jl:C(x,L,I,Q);break;case I1:b(x,L,I,Q);break;case Ka:x==null&&y(L,I,Q,fe);break;case ke:V(x,L,I,Q,W,ee,fe,ce,de);break;default:be&1?B(x,L,I,Q,W,ee,fe,ce,de):be&6?U(x,L,I,Q,W,ee,fe,ce,de):(be&64||be&128)&&le.process(x,L,I,Q,W,ee,fe,ce,de,Z)}Ae!=null&&W&&I0(Ae,x&&x.ref,ee,L||x,!L)},C=(x,L,I,Q)=>{if(x==null)n(L.el=s(L.children),I,Q);else{const W=L.el=x.el;L.children!==x.children&&u(W,L.children)}},b=(x,L,I,Q)=>{x==null?n(L.el=l(L.children||""),I,Q):L.el=x.el},y=(x,L,I,Q)=>{[x.el,x.anchor]=g(x.children,L,I,Q,x.el,x.anchor)},v=({el:x,anchor:L},I,Q)=>{let W;for(;x&&x!==L;)W=h(x),n(x,I,Q),x=W;n(L,I,Q)},k=({el:x,anchor:L})=>{let I;for(;x&&x!==L;)I=h(x),o(x),x=I;o(L)},B=(x,L,I,Q,W,ee,fe,ce,de)=>{fe=fe||L.type==="svg",x==null?$(L,I,Q,W,ee,fe,ce,de):D(x,L,W,ee,fe,ce,de)},$=(x,L,I,Q,W,ee,fe,ce)=>{let de,le;const{type:Ae,props:be,shapeFlag:Me,transition:Oe,dirs:re}=x;if(de=x.el=i(x.type,ee,be&&be.is,be),Me&8?c(de,x.children):Me&16&&R(x.children,de,null,Q,W,ee&&Ae!=="foreignObject",fe,ce),re&&Tn(x,null,Q,"created"),P(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,Ge);"value"in be&&a(de,"value",null,be.value),(le=be.onVnodeBeforeMount)&&hr(le,Q,x)}re&&Tn(x,null,Q,"beforeMount");const Le=Xm(W,Oe);Le&&Oe.beforeEnter(de),n(de,L,I),((le=be&&be.onVnodeMounted)||Le||re)&&w1(()=>{le&&hr(le,Q,x),Le&&Oe.enter(de),re&&Tn(x,null,Q,"mounted")},W)},P=(x,L,I,Q,W)=>{if(I&&f(x,I),Q)for(let ee=0;ee<Q.length;ee++)f(x,Q[ee]);if(W){let ee=W.subTree;if(L===ee){const fe=W.vnode;P(x,fe,fe.scopeId,fe.slotScopeIds,W.parent)}}},R=(x,L,I,Q,W,ee,fe,ce,de=0)=>{for(let le=de;le<x.length;le++){const Ae=x[le]=ce?pn(x[le]):yr(x[le]);_(null,Ae,L,I,Q,W,ee,fe,ce)}},D=(x,L,I,Q,W,ee,fe)=>{const ce=L.el=x.el;let{patchFlag:de,dynamicChildren:le,dirs:Ae}=L;de|=x.patchFlag&16;const be=x.props||kt,Me=L.props||kt;let Oe;I&&In(I,!1),(Oe=Me.onVnodeBeforeUpdate)&&hr(Oe,I,L,x),Ae&&Tn(L,x,I,"beforeUpdate"),I&&In(I,!0);const re=W&&L.type!=="foreignObject";if(le?S(x.dynamicChildren,le,ce,I,Q,re,ee):fe||ye(x,L,ce,null,I,Q,re,ee,!1),de>0){if(de&16)z(ce,L,be,Me,I,Q,W);else if(de&2&&be.class!==Me.class&&a(ce,"class",null,Me.class,W),de&4&&a(ce,"style",be.style,Me.style,W),de&8){const Le=L.dynamicProps;for(let me=0;me<Le.length;me++){const Pe=Le[me],ht=be[Pe],te=Me[Pe];(te!==ht||Pe==="value")&&a(ce,Pe,ht,te,W,x.children,I,Q,Ge)}}de&1&&x.children!==L.children&&c(ce,L.children)}else!fe&&le==null&&z(ce,L,be,Me,I,Q,W);((Oe=Me.onVnodeUpdated)||Ae)&&w1(()=>{Oe&&hr(Oe,I,L,x),Ae&&Tn(L,x,I,"updated")},Q)},S=(x,L,I,Q,W,ee,fe)=>{for(let ce=0;ce<L.length;ce++){const de=x[ce],le=L[ce],Ae=de.el&&(de.type===ke||!jn(de,le)||de.shapeFlag&70)?d(de.el):I;_(de,le,Ae,null,Q,W,ee,fe,!0)}},z=(x,L,I,Q,W,ee,fe)=>{if(I!==Q){if(I!==kt)for(const ce in I)!ms(ce)&&!(ce in Q)&&a(x,ce,I[ce],null,fe,L.children,W,ee,Ge);for(const ce in Q){if(ms(ce))continue;const de=Q[ce],le=I[ce];de!==le&&ce!=="value"&&a(x,ce,le,de,fe,L.children,W,ee,Ge)}"value"in Q&&a(x,"value",I.value,Q.value)}},V=(x,L,I,Q,W,ee,fe,ce,de)=>{const le=L.el=x?x.el:s(""),Ae=L.anchor=x?x.anchor:s("");let{patchFlag:be,dynamicChildren:Me,slotScopeIds:Oe}=L;Oe&&(ce=ce?ce.concat(Oe):Oe),x==null?(n(le,I,Q),n(Ae,I,Q),R(L.children,I,Ae,W,ee,fe,ce,de)):be>0&&be&64&&Me&&x.dynamicChildren?(S(x.dynamicChildren,Me,I,W,ee,fe,ce),(L.key!=null||W&&L===W.subTree)&&Cc(x,L,!0)):ye(x,L,I,Ae,W,ee,fe,ce,de)},U=(x,L,I,Q,W,ee,fe,ce,de)=>{L.slotScopeIds=ce,x==null?L.shapeFlag&512?W.ctx.activate(L,I,Q,fe,de):ie(L,I,Q,W,ee,fe,de):se(x,L,de)},ie=(x,L,I,Q,W,ee,fe)=>{const ce=x.component=iv(x,Q,W);if(Fl(x)&&(ce.ctx.renderer=Z),sv(ce),ce.asyncDep){if(W&&W.registerDep(ce,ue),!x.el){const de=ce.subTree=N(I1);b(null,de,L,I)}return}ue(ce,x,L,I,W,ee,fe)},se=(x,L,I)=>{const Q=L.component=x.component;if(bm(x,L,I))if(Q.asyncDep&&!Q.asyncResolved){ne(Q,L,I);return}else Q.next=L,pm(Q.update),Q.update();else L.el=x.el,Q.vnode=L},ue=(x,L,I,Q,W,ee,fe)=>{const ce=()=>{if(x.isMounted){let{next:Ae,bu:be,u:Me,parent:Oe,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)&&hr(me,Oe,Ae,re),In(x,!0);const Pe=w2(x),ht=x.subTree;x.subTree=Pe,_(ht,Pe,d(ht.el),G(ht),x,W,ee),Ae.el=Pe.el,Le===null&&wm(x,Pe.el),Me&&w1(Me,W),(me=Ae.props&&Ae.props.onVnodeUpdated)&&w1(()=>hr(me,Oe,Ae,re),W)}else{let Ae;const{el:be,props:Me}=L,{bm:Oe,m:re,parent:Le}=x,me=Ya(L);if(In(x,!1),Oe&&gs(Oe),!me&&(Ae=Me&&Me.onVnodeBeforeMount)&&hr(Ae,Le,L),In(x,!0),be&&ae){const Pe=()=>{x.subTree=w2(x),ae(be,x.subTree,x,W,null)};me?L.type.__asyncLoader().then(()=>!x.isUnmounted&&Pe()):Pe()}else{const Pe=x.subTree=w2(x);_(null,Pe,I,Q,x,W,ee),L.el=Pe.el}if(re&&w1(re,W),!me&&(Ae=Me&&Me.onVnodeMounted)){const Pe=L;w1(()=>hr(Ae,Le,Pe),W)}(L.shapeFlag&256||Le&&Ya(Le.vnode)&&Le.vnode.shapeFlag&256)&&x.a&&w1(x.a,W),x.isMounted=!0,L=I=Q=null}},de=x.effect=new v7(ce,()=>_7(le),x.scope),le=x.update=()=>de.run();le.id=x.uid,In(x,!0),le()},ne=(x,L,I)=>{L.component=x;const Q=x.vnode.props;x.vnode=L,x.next=null,Ym(x,L.props,Q,I),qm(x,L.children,I),la(),N5(),ua()},ye=(x,L,I,Q,W,ee,fe,ce,de=!1)=>{const le=x&&x.children,Ae=x?x.shapeFlag:0,be=L.children,{patchFlag:Me,shapeFlag:Oe}=L;if(Me>0){if(Me&128){$e(le,be,I,Q,W,ee,fe,ce,de);return}else if(Me&256){Ye(le,be,I,Q,W,ee,fe,ce,de);return}}Oe&8?(Ae&16&&Ge(le,W,ee),be!==le&&c(I,be)):Ae&16?Oe&16?$e(le,be,I,Q,W,ee,fe,ce,de):Ge(le,W,ee,!0):(Ae&8&&c(I,""),Oe&16&&R(be,I,Q,W,ee,fe,ce,de))},Ye=(x,L,I,Q,W,ee,fe,ce,de)=>{x=x||To,L=L||To;const le=x.length,Ae=L.length,be=Math.min(le,Ae);let Me;for(Me=0;Me<be;Me++){const Oe=L[Me]=de?pn(L[Me]):yr(L[Me]);_(x[Me],Oe,I,null,W,ee,fe,ce,de)}le>Ae?Ge(x,W,ee,!0,!1,be):R(L,I,Q,W,ee,fe,ce,de,be)},$e=(x,L,I,Q,W,ee,fe,ce,de)=>{let le=0;const Ae=L.length;let be=x.length-1,Me=Ae-1;for(;le<=be&&le<=Me;){const Oe=x[le],re=L[le]=de?pn(L[le]):yr(L[le]);if(jn(Oe,re))_(Oe,re,I,null,W,ee,fe,ce,de);else break;le++}for(;le<=be&&le<=Me;){const Oe=x[be],re=L[Me]=de?pn(L[Me]):yr(L[Me]);if(jn(Oe,re))_(Oe,re,I,null,W,ee,fe,ce,de);else break;be--,Me--}if(le>be){if(le<=Me){const Oe=Me+1,re=Oe<Ae?L[Oe].el:Q;for(;le<=Me;)_(null,L[le]=de?pn(L[le]):yr(L[le]),I,re,W,ee,fe,ce,de),le++}}else if(le>Me)for(;le<=be;)ze(x[le],W,ee,!0),le++;else{const Oe=le,re=le,Le=new Map;for(le=re;le<=Me;le++){const Ce=L[le]=de?pn(L[le]):yr(L[le]);Ce.key!=null&&Le.set(Ce.key,le)}let me,Pe=0;const ht=Me-re+1;let te=!1,ve=0;const xe=new Array(ht);for(le=0;le<ht;le++)xe[le]=0;for(le=Oe;le<=be;le++){const Ce=x[le];if(Pe>=ht){ze(Ce,W,ee,!0);continue}let je;if(Ce.key!=null)je=Le.get(Ce.key);else for(me=re;me<=Me;me++)if(xe[me-re]===0&&jn(Ce,L[me])){je=me;break}je===void 0?ze(Ce,W,ee,!0):(xe[je-re]=le+1,je>=ve?ve=je:te=!0,_(Ce,L[je],I,null,W,ee,fe,ce,de),Pe++)}const Ue=te?Jm(xe):To;for(me=Ue.length-1,le=ht-1;le>=0;le--){const Ce=re+le,je=L[Ce],Ot=Ce+1<Ae?L[Ce+1].el:Q;xe[le]===0?_(null,je,I,Ot,W,ee,fe,ce,de):te&&(me<0||le!==Ue[me]?qe(je,I,Ot,2):me--)}}},qe=(x,L,I,Q,W=null)=>{const{el:ee,type:fe,transition:ce,children:de,shapeFlag:le}=x;if(le&6){qe(x.component.subTree,L,I,Q);return}if(le&128){x.suspense.move(L,I,Q);return}if(le&64){fe.move(x,L,I,Z);return}if(fe===ke){n(ee,L,I);for(let be=0;be<de.length;be++)qe(de[be],L,I,Q);n(x.anchor,L,I);return}if(fe===Ka){v(x,L,I);return}if(Q!==2&&le&1&&ce)if(Q===0)ce.beforeEnter(ee),n(ee,L,I),w1(()=>ce.enter(ee),W);else{const{leave:be,delayLeave:Me,afterLeave:Oe}=ce,re=()=>n(ee,L,I),Le=()=>{be(ee,()=>{re(),Oe&&Oe()})};Me?Me(ee,re,Le):Le()}else n(ee,L,I)},ze=(x,L,I,Q=!1,W=!1)=>{const{type:ee,props:fe,ref:ce,children:de,dynamicChildren:le,shapeFlag:Ae,patchFlag:be,dirs:Me}=x;if(ce!=null&&I0(ce,null,I,x,!0),Ae&256){L.ctx.deactivate(x);return}const Oe=Ae&1&&Me,re=!Ya(x);let Le;if(re&&(Le=fe&&fe.onVnodeBeforeUnmount)&&hr(Le,L,x),Ae&6)Be(x.component,I,Q);else{if(Ae&128){x.suspense.unmount(I,Q);return}Oe&&Tn(x,null,L,"beforeUnmount"),Ae&64?x.type.remove(x,L,I,W,Z,Q):le&&(ee!==ke||be>0&&be&64)?Ge(le,L,I,!1,!0):(ee===ke&&be&384||!W&&Ae&16)&&Ge(de,L,I),Q&&he(x)}(re&&(Le=fe&&fe.onVnodeUnmounted)||Oe)&&w1(()=>{Le&&hr(Le,L,x),Oe&&Tn(x,null,L,"unmounted")},I)},he=x=>{const{type:L,el:I,anchor:Q,transition:W}=x;if(L===ke){Ne(I,Q);return}if(L===Ka){k(x);return}const ee=()=>{o(I),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(x.shapeFlag&1&&W&&!W.persisted){const{leave:fe,delayLeave:ce}=W,de=()=>fe(I,ee);ce?ce(x.el,ee,de):de()}else ee()},Ne=(x,L)=>{let I;for(;x!==L;)I=h(x),o(x),x=I;o(L)},Be=(x,L,I)=>{const{bum:Q,scope:W,update:ee,subTree:fe,um:ce}=x;Q&&gs(Q),W.stop(),ee&&(ee.active=!1,ze(fe,x,L,I)),ce&&w1(ce,L),w1(()=>{x.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},Ge=(x,L,I,Q=!1,W=!1,ee=0)=>{for(let fe=ee;fe<x.length;fe++)ze(x[fe],L,I,Q,W)},G=x=>x.shapeFlag&6?G(x.component.subTree):x.shapeFlag&128?x.suspense.next():h(x.anchor||x.el),j=(x,L,I)=>{x==null?L._vnode&&ze(L._vnode,null,null,!0):_(L._vnode||null,x,L,null,null,null,I),N5(),Qu(),L._vnode=x},Z={p:_,um:ze,m:qe,r:he,mt:ie,mc:R,pc:ye,pbc:S,n:G,o:e};let K,ae;return t&&([K,ae]=t(Z)),{render:j,hydrate:K,createApp:Um(j,K)}}function In({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function Xm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Cc(e,t,r=!1){const n=e.children,o=t.children;if(Ve(n)&&Ve(o))for(let a=0;a<n.length;a++){const i=n[a];let s=o[a];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=o[a]=pn(o[a]),s.el=i.el),r||Cc(i,s)),s.type===jl&&(s.el=i.el)}}function Jm(e){const t=e.slice(),r=[0];let n,o,a,i,s;const l=e.length;for(n=0;n<l;n++){const u=e[n];if(u!==0){if(o=r[r.length-1],e[o]<u){t[n]=o,r.push(n);continue}for(a=0,i=r.length-1;a<i;)s=a+i>>1,e[r[s]]<u?a=s+1:i=s;u<e[r[a]]&&(a>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 ev=e=>e.__isTeleport,ke=Symbol.for("v-fgt"),jl=Symbol.for("v-txt"),I1=Symbol.for("v-cmt"),Ka=Symbol.for("v-stc"),qa=[];let rr=null;function m(e=!1){qa.push(rr=e?null:[])}function tv(){qa.pop(),rr=qa[qa.length-1]||null}let vi=1;function W5(e){vi+=e}function yc(e){return e.dynamicChildren=vi>0?rr||To:null,tv(),vi>0&&rr&&rr.push(e),e}function M(e,t,r,n,o,a){return yc(p(e,t,r,n,o,a,!0))}function q(e,t,r,n,o){return yc(N(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 Yl="__vInternal",bc=({key:e})=>e??null,Cs=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Nt(e)||Jt(e)||Qe(e)?{i:e1,r:e,k:t,f:!!r}:e:null);function p(e,t=null,r=null,n=0,o=null,a=e===ke?0:1,i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&bc(t),ref:t&&Cs(t),scopeId:Rl,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:e1};return s?(E7(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=Nt(r)?8:16),vi>0&&!i&&rr&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&rr.push(l),l}const N=rv;function rv(e,t=null,r=null,n=0,o=null,a=!1){if((!e||e===sc)&&(e=I1),Fs(e)){const s=Kr(e,t,!0);return r&&E7(s,r),vi>0&&!a&&rr&&(s.shapeFlag&6?rr[rr.indexOf(e)]=s:rr.push(s)),s.patchFlag|=-2,s}if(dv(e)&&(e=e.__vccOpts),t){t=nv(t);let{class:s,style:l}=t;s&&!Nt(s)&&(t.class=J(s)),Mt(l)&&(Fu(l)&&!Ve(l)&&(l=Zt({},l)),t.style=Ke(l))}const i=Nt(e)?1:_m(e)?128:ev(e)?64:Mt(e)?4:Qe(e)?2:0;return p(e,t,r,n,o,i,a,!0)}function nv(e){return e?Fu(e)||Yl in e?Zt({},e):e:null}function Kr(e,t,r=!1){const{props:n,ref:o,patchFlag:a,children:i}=e,s=t?Xe(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&bc(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!==ke?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&&Kr(e.ssContent),ssFallback:e.ssFallback&&Kr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function w(e=" ",t=0){return N(jl,null,e,t)}function Ei(e,t){const r=N(Ka,null,e);return r.staticCount=t,r}function O(e="",t=!1){return t?(m(),q(I1,null,e)):N(I1,null,e)}function yr(e){return e==null||typeof e=="boolean"?N(I1):Ve(e)?N(ke,null,e.slice()):typeof e=="object"?pn(e):N(jl,null,String(e))}function pn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kr(e)}function E7(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),E7(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(Yl in t)?t._ctx=e1:o===3&&e1&&(e1.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Qe(t)?(t={default:t,_ctx:e1},r=32):(t=String(t),n&64?(r=16,t=[w(t)]):r=8);e.children=t,e.shapeFlag|=r}function Xe(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=J([t.class,n.class]));else if(o==="style")t.style=Ke([t.style,n.style]);else if(Tl(o)){const a=t[o],i=n[o];i&&a!==i&&!(Ve(a)&&a.includes(i))&&(t[o]=a?[].concat(a,i):i)}else o!==""&&(t[o]=n[o])}return t}function hr(e,t,r,n=null){j1(e,t,7,[r,n])}const ov=hc();let av=0;function iv(e,t,r){const n=e.type,o=(t?t.appContext:e.appContext)||ov,a={uid:av++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ip(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:pc(n,o),emitsOptions:Ju(n,o),emit:null,emitted:null,propsDefaults:kt,inheritAttrs:n.inheritAttrs,ctx:kt,data:kt,props:kt,attrs:kt,slots:kt,refs:kt,setupState:kt,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=gm.bind(null,a),e.ce&&e.ce(a),a}let Kt=null;const Ai=()=>Kt||e1;let A7,yo,Q5="__VUE_INSTANCE_SETTERS__";(yo=M0()[Q5])||(yo=M0()[Q5]=[]),yo.push(e=>Kt=e),A7=e=>{yo.length>1?yo.forEach(t=>t(e)):yo[0](e)};const qo=e=>{A7(e),e.scope.on()},to=()=>{Kt&&Kt.scope.off(),A7(null)};function wc(e){return e.vnode.shapeFlag&4}let gi=!1;function sv(e,t=!1){gi=t;const{props:r,children:n}=e.vnode,o=wc(e);jm(e,r,o,t),Km(e,n);const a=o?lv(e,t):void 0;return gi=!1,a}function lv(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=Uu(new Proxy(e.ctx,Pm));const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?kc(e):null;qo(e),la();const a=_n(n,e,0,[e.props,o]);if(ua(),to(),xu(a)){if(a.then(to,to),t)return a.then(i=>{X5(e,i,t)}).catch(i=>{$l(i,e,0)});e.asyncDep=a}else X5(e,a,t)}else _c(e,t)}function X5(e,t,r){Qe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Mt(t)&&(e.setupState=Ku(t)),_c(e,r)}let J5;function _c(e,t,r){const n=e.type;if(!e.render){if(!t&&J5&&!n.render){const o=n.template||x7(e).template;if(o){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:l}=n,u=Zt(Zt({isCustomElement:a,delimiters:s},i),l);n.render=J5(o,u)}}e.render=n.render||or}{qo(e),la();try{Nm(e)}finally{ua(),to()}}}function uv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return x1(e,"get","$attrs"),t[r]}}))}function kc(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return uv(e)},slots:e.slots,emit:e.emit,expose:t}}function Gl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ku(Uu(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 Qe(e)?e.displayName||e.name:e.name||t&&e.__name}function dv(e){return Qe(e)&&"__vccOpts"in e}const A=(e,t)=>dm(e,t,gi);function Ee(e,t,r){const n=arguments.length;return n===2?Mt(t)&&!Ve(t)?Fs(t)?N(e,null,[t]):N(e,t):N(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Fs(r)&&(r=[r]),N(e,t,r))}const hv=Symbol.for("v-scx"),fv=()=>M1(hv),pv="3.3.7",mv="http://www.w3.org/2000/svg",Yn=typeof document<"u"?document:null,e3=Yn&&Yn.createElement("template"),vv={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(mv,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{e3.innerHTML=n?`<svg>${e}</svg>`:e;const s=e3.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]}},rn="transition",Sa="animation",Wo=Symbol("_vtc"),ao=(e,{slots:t})=>Ee(Em,xc(e),t);ao.displayName="Transition";const Mc={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},gv=ao.props=Zt({},nc,Mc),On=(e,t=[])=>{Ve(e)?e.forEach(r=>r(...t)):e&&e(...t)},t3=e=>e?Ve(e)?e.some(t=>t.length>1):e.length>1:!1;function xc(e){const t={};for(const V in e)V in Mc||(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:u=i,appearToClass:c=s,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=e,g=Cv(o),_=g&&g[0],C=g&&g[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:v,onLeave:k,onLeaveCancelled:B,onBeforeAppear:$=b,onAppear:P=y,onAppearCancelled:R=v}=t,D=(V,U,ie)=>{dn(V,U?c:s),dn(V,U?u:i),ie&&ie()},S=(V,U)=>{V._isLeaving=!1,dn(V,d),dn(V,f),dn(V,h),U&&U()},z=V=>(U,ie)=>{const se=V?P:y,ue=()=>D(U,V,ie);On(se,[U,ue]),r3(()=>{dn(U,V?l:a),Vr(U,V?c:s),t3(se)||n3(U,n,_,ue)})};return Zt(t,{onBeforeEnter(V){On(b,[V]),Vr(V,a),Vr(V,i)},onBeforeAppear(V){On($,[V]),Vr(V,l),Vr(V,u)},onEnter:z(!1),onAppear:z(!0),onLeave(V,U){V._isLeaving=!0;const ie=()=>S(V,U);Vr(V,d),Ec(),Vr(V,h),r3(()=>{V._isLeaving&&(dn(V,d),Vr(V,f),t3(k)||n3(V,n,C,ie))}),On(k,[V,ie])},onEnterCancelled(V){D(V,!1),On(v,[V])},onAppearCancelled(V){D(V,!0),On(R,[V])},onLeaveCancelled(V){S(V),On(B,[V])}})}function Cv(e){if(e==null)return null;if(Mt(e))return[M2(e.enter),M2(e.leave)];{const t=M2(e);return[t,t]}}function M2(e){return Ep(e)}function Vr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[Wo]||(e[Wo]=new Set)).add(t)}function dn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[Wo];r&&(r.delete(t),r.size||(e[Wo]=void 0))}function r3(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let yv=0;function n3(e,t,r,n){const o=e._endId=++yv,a=()=>{o===e._endId&&n()};if(r)return setTimeout(a,r);const{type:i,timeout:s,propCount:l}=Sc(e,t);if(!i)return n();const u=i+"end";let c=0;const d=()=>{e.removeEventListener(u,h),a()},h=f=>{f.target===e&&++c>=l&&d()};setTimeout(()=>{c<l&&d()},s+1),e.addEventListener(u,h)}function Sc(e,t){const r=window.getComputedStyle(e),n=g=>(r[g]||"").split(", "),o=n(`${rn}Delay`),a=n(`${rn}Duration`),i=o3(o,a),s=n(`${Sa}Delay`),l=n(`${Sa}Duration`),u=o3(s,l);let c=null,d=0,h=0;t===rn?i>0&&(c=rn,d=i,h=a.length):t===Sa?u>0&&(c=Sa,d=u,h=l.length):(d=Math.max(i,u),c=d>0?i>u?rn:Sa:null,h=c?c===rn?a.length:l.length:0);const f=c===rn&&/\b(transform|all)(,|$)/.test(n(`${rn}Property`).toString());return{type:c,timeout:d,propCount:h,hasTransform:f}}function o3(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>a3(r)+a3(e[n])))}function a3(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ec(){return document.body.offsetHeight}function bv(e,t,r){const n=e[Wo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const L7=Symbol("_vod"),O0={beforeMount(e,{value:t},{transition:r}){e[L7]=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[L7]:"none"}function wv(e,t,r){const n=e.style,o=Nt(r);if(r&&!o){if(t&&!Nt(t))for(const a in t)r[a]==null&&V0(n,a,"");for(const a in r)V0(n,a,r[a])}else{const a=n.display;o?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),L7 in e&&(n.display=a)}}const i3=/\s*!important$/;function V0(e,t,r){if(Ve(r))r.forEach(n=>V0(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=_v(e,t);i3.test(r)?e.setProperty(An(n),r.replace(i3,""),"important"):e[n]=r}}const s3=["Webkit","Moz","ms"],x2={};function _v(e,t){const r=x2[t];if(r)return r;let n=Mr(t);if(n!=="filter"&&n in e)return x2[t]=n;n=Pl(n);for(let o=0;o<s3.length;o++){const a=s3[o]+n;if(a in e)return x2[t]=a}return t}const l3="http://www.w3.org/1999/xlink";function kv(e,t,r,n,o){if(n&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(l3,t.slice(6,t.length)):e.setAttributeNS(l3,t,r);else{const a=Tp(t);r==null||a&&!Au(r)?e.removeAttribute(t):e.setAttribute(t,a?"":r)}}function Mv(e,t,r,n,o,a,i){if(t==="innerHTML"||t==="textContent"){n&&i(n,o,a),e[t]=r??"";return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){e._value=r;const u=s==="OPTION"?e.getAttribute("value"):e.value,c=r??"";u!==c&&(e.value=c),r==null&&e.removeAttribute(t);return}let l=!1;if(r===""||r==null){const u=typeof e[t];u==="boolean"?r=Au(r):r==null&&u==="string"?(r="",l=!0):u==="number"&&(r=0,l=!0)}try{e[t]=r}catch{}l&&e.removeAttribute(t)}function Mo(e,t,r,n){e.addEventListener(t,r,n)}function xv(e,t,r,n){e.removeEventListener(t,r,n)}const u3=Symbol("_vei");function Sv(e,t,r,n,o=null){const a=e[u3]||(e[u3]={}),i=a[t];if(n&&i)i.value=n;else{const[s,l]=Ev(t);if(n){const u=a[t]=Dv(n,o);Mo(e,s,u,l)}else i&&(xv(e,s,i,l),a[t]=void 0)}}const c3=/(?:Once|Passive|Capture)$/;function Ev(e){let t;if(c3.test(e)){t={};let n;for(;n=e.match(c3);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):An(e.slice(2)),t]}let S2=0;const Av=Promise.resolve(),Lv=()=>S2||(Av.then(()=>S2=0),S2=Date.now());function Dv(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;j1(Bv(n,r.value),t,5,[n])};return r.value=e,r.attached=Lv(),r}function Bv(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 d3=/^on[a-z]/,Hv=(e,t,r,n,o=!1,a,i,s,l)=>{t==="class"?bv(e,n,o):t==="style"?wv(e,r,n):Tl(t)?h7(t)||Sv(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Tv(e,t,n,o))?Mv(e,t,n,a,i,s,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),kv(e,t,n,o))};function Tv(e,t,r,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&d3.test(t)&&Qe(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||d3.test(t)&&Nt(r)?!1:t in e}function ca(e){const t=Ai();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>N0(a,o))},n=()=>{const o=e(t.proxy);P0(t.subTree,o),r(o)};Mm(n),Ct(()=>{const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),ur(()=>o.disconnect())})}function P0(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{P0(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)N0(e.el,t);else if(e.type===ke)e.children.forEach(r=>P0(r,t));else if(e.type===Ka){let{el:r,anchor:n}=e;for(;r&&(N0(r,t),r!==n);)r=r.nextSibling}}function N0(e,t){if(e.nodeType===1){const r=e.style;for(const n in t)r.setProperty(`--${n}`,t[n])}}const Ac=new WeakMap,Lc=new WeakMap,Us=Symbol("_moveCb"),h3=Symbol("_enterCb"),Dc={name:"TransitionGroup",props:Zt({},gv,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Ai(),n=rc();let o,a;return ic(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!$v(o[0].el,r.vnode.el,i))return;o.forEach(Vv),o.forEach(Pv);const s=o.filter(Nv);Ec(),s.forEach(l=>{const u=l.el,c=u.style;Vr(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[Us]=h=>{h&&h.target!==u||(!h||/transform$/.test(h.propertyName))&&(u.removeEventListener("transitionend",d),u[Us]=null,dn(u,i))};u.addEventListener("transitionend",d)})}),()=>{const i=it(e),s=xc(i);let l=i.tag||ke;o=a,a=t.default?k7(t.default()):[];for(let u=0;u<a.length;u++){const c=a[u];c.key!=null&&mi(c,pi(c,s,n,r))}if(o)for(let u=0;u<o.length;u++){const c=o[u];mi(c,pi(c,s,n,r)),Ac.set(c,c.el.getBoundingClientRect())}return N(l,null,a)}}},Iv=e=>delete e.mode;Dc.props;const Ov=Dc;function Vv(e){const t=e.el;t[Us]&&t[Us](),t[h3]&&t[h3]()}function Pv(e){Lc.set(e,e.el.getBoundingClientRect())}function Nv(e){const t=Ac.get(e),r=Lc.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 $v(e,t,r){const n=e.cloneNode(),o=e[Wo];o&&o.forEach(s=>{s.split(/\s+/).forEach(l=>l&&n.classList.remove(l))}),r.split(/\s+/).forEach(s=>s&&n.classList.add(s)),n.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(n);const{hasTransform:i}=Sc(n);return a.removeChild(n),i}const f3=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ve(t)?r=>gs(t,r):t};function Zv(e){e.target.composing=!0}function p3(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const E2=Symbol("_assign"),Rv={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[E2]=f3(o);const a=n||o.props&&o.props.type==="number";Mo(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;r&&(s=s.trim()),a&&(s=k0(s)),e[E2](s)}),r&&Mo(e,"change",()=>{e.value=e.value.trim()}),t||(Mo(e,"compositionstart",Zv),Mo(e,"compositionend",p3),Mo(e,"change",p3))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:o}},a){if(e[E2]=f3(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)}},zv=["ctrl","shift","alt","meta"],Fv={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)=>zv.some(r=>e[`${r}Key`]&&!t.includes(r))},Et=(e,t)=>(r,...n)=>{for(let o=0;o<t.length;o++){const a=Fv[t[o]];if(a&&a(r,t))return}return e(r,...n)},Uv={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},qt=(e,t)=>r=>{if(!("key"in r))return;const n=An(r.key);if(t.some(o=>o===n||Uv[o]===n))return e(r)},jv=Zt({patchProp:Hv},vv);let m3;function Yv(){return m3||(m3=Wm(jv))}const Bc=(...e)=>{const t=Yv().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=Gv(n);if(!o)return;const a=t._component;!Qe(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 Gv(e){return Nt(e)?document.querySelector(e):e}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT @@ -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(()=>[Ioe,w()]),_:1},8,["title"]),w(),N(H(Pt),{trigger:"hover",title:"Data Plane Proxy (DPP)","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:E(()=>[w(T(H(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(()=>[Ooe,w()]),_:1}),w(),Voe,w(),Poe,w(),Noe]))}}),b1={KumaLogo:C1(O1e,{description:"KumaLogo"}),GithubButton:C1($te,{description:"GithubButton"}),MainOverview:C1(wre,{description:"MainOverview"}),KubernetesGraph:C1(Kre,{description:"KubernetesGraph"}),PostgresGraph:C1(voe,{description:"PostgresGraph"}),MemoryGraph:C1(une,{description:"MemoryGraph"}),MultizoneGraph:C1(Gne,{description:"MultizoneGraph"}),StandaloneGraph:C1($oe,{description:"StandaloneGraph"}),AppSidebar:C1(B1e,{description:"AppSidebar"}),AppHeader:C1(l1e,{description:"AppHeader"}),AppLoadingBar:C1(y1e,{description:"AppLoadingBar"}),AppOnboardingNotification:C1(M1e,{description:"AppOnboardingNotification"}),MainView:C1(d1e,{description:"MainView"}),MeshDetails:C1(xre,{description:"MeshDetails"})},[Zoe,Roe,mse,vse,gse,Cse,yse,bse,wse,_se,kse,Mse,zoe,xse]=Hl(b1.KumaLogo,b1.GithubButton,b1.MainOverview,b1.KubernetesGraph,b1.PostgresGraph,b1.MemoryGraph,b1.MultizoneGraph,b1.StandaloneGraph,b1.AppSidebar,b1.AppHeader,b1.AppLoadingBar,b1.AppOnboardingNotification,b1.MainView,b1.MeshDetails),Foe={key:0,"aria-label":"Breadcrumb"},Uoe={key:0,class:"app-view-title-bar"},joe={key:1,class:"actions"},Yoe={key:1},Goe=X({__name:"AppView",props:{breadcrumbs:{default:null},fullscreen:{type:Boolean,default:!1}},setup(e){const t=zoe(),r=e,n=new Map,o=Y([]),a=Symbol("app-view"),i=c=>{const d=[...c.values()];d.some(h=>h.length===0)?o.value=[]:o.value=d.flat()},s={addBreadcrumbs:(c,d)=>{typeof c<"u"&&(n.set(d,c),i(n))},removeBreadcrumbs:c=>{n.delete(c),i(n)}},l=M1("app-view-parent",void 0);l||Po("app-view-parent",s);const u=l||s;return Te(()=>r.breadcrumbs,c=>{c!==null&&u.addBreadcrumbs(c,a)},{immediate:!0}),lr(()=>{u.removeBreadcrumbs(a)}),(c,d)=>{const h=p1("KAlert");return m(),q(vt(H(l)?"div":H(t)),{class:J({"app-main-content":!H(l)})},{default:E(()=>[!H(l)&&o.value.length>0?(m(),M("nav",Foe,[N(H(N7),{items:o.value},null,8,["items"])])):O("",!0),w(),p("section",{class:J({"is-fullscreen":r.fullscreen})},[c.$slots.title?(m(),M("header",Uoe,[r.fullscreen?(m(),q(H(dte),{key:0})):O("",!0),w(),F(c.$slots,"title",{},void 0,!0),w(),c.$slots.actions?(m(),M("div",joe,[F(c.$slots,"actions",{},void 0,!0)])):O("",!0)])):O("",!0),w(),c.$slots.notifications?(m(),M("aside",Yoe,[N(h,{class:"mb-4",appearance:"warning"},{alertMessage:E(()=>[F(c.$slots,"notifications",{},void 0,!0)]),_:3})])):O("",!0),w(),F(c.$slots,"default",{},void 0,!0)],2)]),_:3},8,["class"])}}});const Koe=g1(Goe,[["__scopeId","data-v-a22bdb0c"]]),o7=Symbol("route-view-parent"),qoe=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=M1(o7);return typeof n<"u"&&(Te(()=>t.title,o=>{o.length>0&&n.addTitle(o,r)},{immediate:!0}),lr(()=>{n.removeTitle(r)})),(o,a)=>t.render?(m(),M(ke,{key:0},[w(T(t.title),1)],64)):O("",!0)}}),x5=function(e){let t;return(...r)=>{t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e.bind(e,...r))}},Woe=function(e){return(Array.isArray(e)?e[0]:e)??""},Qoe=(e=document)=>x5(t=>{e.title=t}),Xoe=(e=document.documentElement)=>{if(!e)return()=>{};const t=[...e.classList];return x5(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||[])})},du=(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}},Joe=["data-testid"],eae={key:0,class:"route-view-title visually-hidden","aria-live":"assertive","aria-atomic":"true"},tae=X({__name:"RouteView",props:{name:{},attrs:{default:()=>({})},params:{default:()=>({})}},setup(e){const t=E5(),r=_f(),{t:n}=E1(),o=Wl(),a=Qg(),i=Symbol("route-view"),s=e,l=A(()=>s.name),u=Y(""),c=new Map,d=new Map,h=Qoe(document),f=Xoe(document.documentElement),g=P=>P.reverse().concat(n("components.route-view.title",{name:n("common.product.name")})).join(" | "),_={addTitle:(P,R)=>{u.value=P,c.set(R,P),h(g([...c.values()]))},removeTitle:P=>{c.delete(P),h(g([...c.values()]))},addAttrs:(P,R)=>{d.set(R,P),f([...d.values()])},removeAttrs:P=>{d.delete(P),f([...d.values()])}},C=A(()=>Object.entries({...s.params,...o.query,...o.params}).reduce((R,[D,S])=>{if(typeof s.params[D]>"u")return R;let z=Woe(S);const V=s.params[D];switch(!0){case typeof V=="number":isNaN(Number(S))&&(z=String(V));break}return z.length===0&&(z=String(V)),R[D]=decodeURIComponent(z),R},{}));let b={};const y=x5(P=>{a.push({name:s.name,query:du(P,o.query)}),b={}}),v=P=>{b={...b,...P},y(b)},k=(...P)=>{a.push(...P)};Te(()=>s.name,()=>{const P=Object.entries(C.value||{}).reduce((R,[D,S])=>(typeof o.params[D]>"u"&&(R[D]=S),R),{});Object.keys(P).length>0&&a.replace({query:du(P,o.query)})},{immediate:!0});const B=M1(o7,void 0);B||(h(n("components.route-view.title",{name:n("common.product.name")})),Po(o7,_));const $=B||_;return Te(()=>s.attrs,P=>{Object.keys(P).length>0&&$.addAttrs(P,i)},{immediate:!0}),lr(()=>{$.removeAttrs(i)}),(P,R)=>(m(),M("div",{class:"route-view","data-testid":l.value},[H(B)?O("",!0):(m(),M("div",eae,T(H(n)("components.route-view.route-announcer",{title:u.value})),1)),w(),F(P.$slots,"default",{t:H(n),env:H(t),can:H(r),route:{update:v,replace:k,params:C.value}})],8,Joe))}}),rae=e=>[{path:"/404",name:"not-found",alias:"/:pathMatch(.*)*",meta:{title:"Item not found"},component:()=>e[e.length-1]()}],nae=e=>{const t=(r,n)=>typeof e[r]<"u"?e[r](t,n):!1;return t};function oae(e){const t=e.split(/([A-Z][a-z]+)/).join(" ").replace(/\s+/g," ").trim();return t.charAt(0).toUpperCase()+t.substring(1)}function a7(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 a7(e[n[0]],n.slice(1),r)}class hu extends Error{get key(){return this.message}}const aae=(e,t)=>{const r=jJ("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 a7(e,a)>"u")throw a.startsWith("http.api.")?new hu(a):new Error(`Missing message: "${a}" for locale "en-us", using id as fallback`);return a7(e,a).length===0?"":(o[1]={...n,...o[1]},r.t(...o))}catch(s){switch(!0){case s instanceof hu:return oae(s.key.split(".").pop());default:if((i=o[2])!=null&&i.defaultMessage)return o[2].defaultMessage;throw s}}}}};var ui=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"}},iae=/[$_\p{ID_Start}]/u,sae=/[$_\u200C\u200D\p{ID_Continue}]/u,i7=".*";function lae(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}function Jh(e,t=!1){let r=[],n=0;for(;n<e.length;){let o=e[n],a=function(i){if(!t)throw new TypeError(i);r.push({type:"INVALID_CHAR",index:n,value:e[n++]})};if(o==="*"){r.push({type:"ASTERISK",index:n,value:e[n++]});continue}if(o==="+"||o==="?"){r.push({type:"OTHER_MODIFIER",index:n,value:e[n++]});continue}if(o==="\\"){r.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});continue}if(o==="{"){r.push({type:"OPEN",index:n,value:e[n++]});continue}if(o==="}"){r.push({type:"CLOSE",index:n,value:e[n++]});continue}if(o===":"){let i="",s=n+1;for(;s<e.length;){let l=e.substr(s,1);if(s===n+1&&iae.test(l)||s!==n+1&&sae.test(l)){i+=e[s++];continue}break}if(!i){a(`Missing parameter name at ${n}`);continue}r.push({type:"NAME",index:n,value:i}),n=s;continue}if(o==="("){let i=1,s="",l=n+1,u=!1;if(e[l]==="?"){a(`Pattern cannot start with "?" at ${l}`);continue}for(;l<e.length;){if(!lae(e[l],!1)){a(`Invalid character '${e[l]}' at ${l}.`),u=!0;break}if(e[l]==="\\"){s+=e[l++]+e[l++];continue}if(e[l]===")"){if(i--,i===0){l++;break}}else if(e[l]==="("&&(i++,e[l+1]!=="?")){a(`Capturing groups are not allowed at ${l}`),u=!0;break}s+=e[l++]}if(u)continue;if(i){a(`Unbalanced pattern at ${n}`);continue}if(!s){a(`Missing pattern at ${n}`);continue}r.push({type:"REGEX",index:n,value:s}),n=l;continue}r.push({type:"CHAR",index:n,value:e[n++]})}return r.push({type:"END",index:n,value:""}),r}function ef(e,t={}){let r=Jh(e);t.delimiter??(t.delimiter="/#?"),t.prefixes??(t.prefixes="./");let n=`[^${$1(t.delimiter)}]+?`,o=[],a=0,i=0,s=new Set,l=y=>{if(i<r.length&&r[i].type===y)return r[i++].value},u=()=>l("OTHER_MODIFIER")??l("ASTERISK"),c=y=>{let v=l(y);if(v!==void 0)return v;let{type:k,index:B}=r[i];throw new TypeError(`Unexpected ${k} at ${B}, expected ${y}`)},d=()=>{let y="",v;for(;v=l("CHAR")??l("ESCAPED_CHAR");)y+=v;return y},h=y=>y,f=t.encodePart||h,g="",_=y=>{g+=y},C=()=>{g.length&&(o.push(new ui(3,"","",f(g),"",3)),g="")},b=(y,v,k,B,$)=>{let P=3;switch($){case"?":P=1;break;case"*":P=0;break;case"+":P=2;break}if(!v&&!k&&P===3){_(y);return}if(C(),!v&&!k){if(!y)return;o.push(new ui(3,"","",f(y),"",P));return}let R;k?k==="*"?R=i7:R=k:R=n;let D=2;R===n?(D=1,R=""):R===i7&&(D=0,R="");let S;if(v?S=v:k&&(S=a++),s.has(S))throw new TypeError(`Duplicate name '${S}'.`);s.add(S),o.push(new ui(D,S,f(y),R,f(B),P))};for(;i<r.length;){let y=l("CHAR"),v=l("NAME"),k=l("REGEX");if(!v&&!k&&(k=l("ASTERISK")),v||k){let $=y??"";t.prefixes.indexOf($)===-1&&(_($),$=""),C();let P=u();b($,v,k,"",P);continue}let B=y??l("ESCAPED_CHAR");if(B){_(B);continue}if(l("OPEN")){let $=d(),P=l("NAME"),R=l("REGEX");!P&&!R&&(R=l("ASTERISK"));let D=d();c("CLOSE");let S=u();b($,P,R,D,S);continue}C(),c("END")}return o}function $1(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function fu(e){return e&&e.ignoreCase?"ui":"u"}function uae(e,t,r){return tf(ef(e,r),t,r)}function Ho(e){switch(e){case 0:return"*";case 1:return"?";case 2:return"+";case 3:return""}}function tf(e,t,r={}){r.delimiter??(r.delimiter="/#?"),r.prefixes??(r.prefixes="./"),r.sensitive??(r.sensitive=!1),r.strict??(r.strict=!1),r.end??(r.end=!0),r.start??(r.start=!0),r.endsWith="";let n=r.start?"^":"";for(let s of e){if(s.type===3){s.modifier===3?n+=$1(s.value):n+=`(?:${$1(s.value)})${Ho(s.modifier)}`;continue}t&&t.push(s.name);let l=`[^${$1(r.delimiter)}]+?`,u=s.value;if(s.type===1?u=l:s.type===0&&(u=i7),!s.prefix.length&&!s.suffix.length){s.modifier===3||s.modifier===1?n+=`(${u})${Ho(s.modifier)}`:n+=`((?:${u})${Ho(s.modifier)})`;continue}if(s.modifier===3||s.modifier===1){n+=`(?:${$1(s.prefix)}(${u})${$1(s.suffix)})`,n+=Ho(s.modifier);continue}n+=`(?:${$1(s.prefix)}`,n+=`((?:${u})(?:`,n+=$1(s.suffix),n+=$1(s.prefix),n+=`(?:${u}))*)${$1(s.suffix)})`,s.modifier===0&&(n+="?")}let o=`[${$1(r.endsWith)}]|$`,a=`[${$1(r.delimiter)}]`;if(r.end)return r.strict||(n+=`${a}?`),r.endsWith.length?n+=`(?=${o})`:n+="$",new RegExp(n,fu(r));r.strict||(n+=`(?:${a}(?=${o}))?`);let i=!1;if(e.length){let s=e[e.length-1];s.type===3&&s.modifier===3&&(i=r.delimiter.indexOf(s)>-1)}return i||(n+=`(?=${a}|${o})`),new RegExp(n,fu(r))}var hn={delimiter:"",prefixes:"",sensitive:!0,strict:!0},cae={delimiter:".",prefixes:"",sensitive:!0,strict:!0},dae={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function hae(e,t){return e.length?e[0]==="/"?!0:!t||e.length<2?!1:(e[0]=="\\"||e[0]=="{")&&e[1]=="/":!1}function rf(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function fae(e,t){return e.endsWith(t)?e.substr(0,e.length-t.length):e}function nf(e){return!e||e.length<2?!1:e[0]==="["||(e[0]==="\\"||e[0]==="{")&&e[1]==="["}var of=["ftp","file","http","https","ws","wss"];function af(e){if(!e)return!0;for(let t of of)if(e.test(t))return!0;return!1}function pae(e,t){if(e=rf(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 mae(e,t){if(e=rf(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 vae(e,t){return t||e===""?e:nf(e)?uf(e):lf(e)}function gae(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.password=e,r.password}function Cae(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.username=e,r.username}function yae(e,t,r){if(r||e==="")return e;if(t&&!of.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 bae(e,t,r){return sf(t)===e&&(e=""),r||e===""?e:cf(e)}function wae(e,t){return e=fae(e,":"),t||e===""?e:S5(e)}function sf(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function S5(e){if(e==="")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError(`Invalid protocol '${e}'.`)}function _ae(e){if(e==="")return e;let t=new URL("https://example.com");return t.username=e,t.username}function kae(e){if(e==="")return e;let t=new URL("https://example.com");return t.password=e,t.password}function lf(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 uf(e){if(e==="")return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}function cf(e){if(e===""||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError(`Invalid port '${e}'.`)}function Mae(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 xae(e){return e===""?e:new URL(`data:${e}`).pathname}function Sae(e){if(e==="")return e;let t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function Eae(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,s1,St,bt,Qn,Zo,zr,Ro,zo,Fo,Vt,zt,wl,df,xi,s7,Xn,Ua,Uo,Ts,_1,Z1,Si,l7,_l,hf,jo,Is,kl,ff,Ml,pf,Yo,Os,Cn,Do,Fr,zn,xl,mf,Sl,vf,El,gf,Al,Cf,z1,fr,Ll,yf,gu,Aae=(gu=class{constructor(e){et(this,Vt);et(this,wl);et(this,xi);et(this,Xn);et(this,Uo);et(this,_1);et(this,Si);et(this,_l);et(this,jo);et(this,kl);et(this,Ml);et(this,Yo);et(this,Cn);et(this,Fr);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,s1,[]);et(this,St,{});et(this,bt,0);et(this,Qn,1);et(this,Zo,0);et(this,zr,0);et(this,Ro,0);et(this,zo,0);et(this,Fo,!1);jt(this,$o,e)}get result(){return oe(this,St)}parse(){for(jt(this,s1,Jh(oe(this,$o),!0));oe(this,bt)<oe(this,s1).length;jt(this,bt,oe(this,bt)+oe(this,Qn))){if(jt(this,Qn,1),oe(this,s1)[oe(this,bt)].type==="END"){if(oe(this,zr)===0){ge(this,xi,s7).call(this),ge(this,Fr,zn).call(this)?ge(this,Vt,zt).call(this,9,1):ge(this,Cn,Do).call(this)?(ge(this,Vt,zt).call(this,8,1),oe(this,St).hash=""):(ge(this,Vt,zt).call(this,7,0),oe(this,St).search="",oe(this,St).hash="");continue}else if(oe(this,zr)===2){ge(this,Xn,Ua).call(this,5);continue}ge(this,Vt,zt).call(this,10,0);break}if(oe(this,Ro)>0)if(ge(this,Sl,vf).call(this))jt(this,Ro,oe(this,Ro)-1);else continue;if(ge(this,xl,mf).call(this)){jt(this,Ro,oe(this,Ro)+1);continue}switch(oe(this,zr)){case 0:ge(this,Si,l7).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,Si,l7).call(this)){ge(this,Ll,yf).call(this);let e=7,t=1;oe(this,Fo)&&(oe(this,St).pathname="/"),ge(this,_l,hf).call(this)?(e=2,t=3):oe(this,Fo)&&(e=2),ge(this,Vt,zt).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,Do).call(this)||ge(this,Fr,zn).call(this))&&ge(this,Xn,Ua).call(this,5);break;case 3:ge(this,kl,ff).call(this)?ge(this,Vt,zt).call(this,4,1):ge(this,jo,Is).call(this)&&ge(this,Vt,zt).call(this,5,1);break;case 4:ge(this,jo,Is).call(this)&&ge(this,Vt,zt).call(this,5,1);break;case 5:ge(this,El,gf).call(this)?jt(this,zo,oe(this,zo)+1):ge(this,Al,Cf).call(this)&&jt(this,zo,oe(this,zo)-1),ge(this,Ml,pf).call(this)&&!oe(this,zo)?ge(this,Vt,zt).call(this,6,1):ge(this,Yo,Os).call(this)?ge(this,Vt,zt).call(this,7,0):ge(this,Cn,Do).call(this)?ge(this,Vt,zt).call(this,8,1):ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break;case 6:ge(this,Yo,Os).call(this)?ge(this,Vt,zt).call(this,7,0):ge(this,Cn,Do).call(this)?ge(this,Vt,zt).call(this,8,1):ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break;case 7:ge(this,Cn,Do).call(this)?ge(this,Vt,zt).call(this,8,1):ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break;case 8:ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break}}}},$o=new WeakMap,s1=new WeakMap,St=new WeakMap,bt=new WeakMap,Qn=new WeakMap,Zo=new WeakMap,zr=new WeakMap,Ro=new WeakMap,zo=new WeakMap,Fo=new WeakMap,Vt=new WeakSet,zt=function(e,t){switch(oe(this,zr)){case 0:break;case 1:oe(this,St).protocol=ge(this,z1,fr).call(this);break;case 2:break;case 3:oe(this,St).username=ge(this,z1,fr).call(this);break;case 4:oe(this,St).password=ge(this,z1,fr).call(this);break;case 5:oe(this,St).hostname=ge(this,z1,fr).call(this);break;case 6:oe(this,St).port=ge(this,z1,fr).call(this);break;case 7:oe(this,St).pathname=ge(this,z1,fr).call(this);break;case 8:oe(this,St).search=ge(this,z1,fr).call(this);break;case 9:oe(this,St).hash=ge(this,z1,fr).call(this);break}ge(this,wl,df).call(this,e,t)},wl=new WeakSet,df=function(e,t){jt(this,zr,e),jt(this,Zo,oe(this,bt)+t),jt(this,bt,oe(this,bt)+t),jt(this,Qn,0)},xi=new WeakSet,s7=function(){jt(this,bt,oe(this,Zo)),jt(this,Qn,0)},Xn=new WeakSet,Ua=function(e){ge(this,xi,s7).call(this),jt(this,zr,e)},Uo=new WeakSet,Ts=function(e){return e<0&&(e=oe(this,s1).length-e),e<oe(this,s1).length?oe(this,s1)[e]:oe(this,s1)[oe(this,s1).length-1]},_1=new WeakSet,Z1=function(e,t){let r=ge(this,Uo,Ts).call(this,e);return r.value===t&&(r.type==="CHAR"||r.type==="ESCAPED_CHAR"||r.type==="INVALID_CHAR")},Si=new WeakSet,l7=function(){return ge(this,_1,Z1).call(this,oe(this,bt),":")},_l=new WeakSet,hf=function(){return ge(this,_1,Z1).call(this,oe(this,bt)+1,"/")&&ge(this,_1,Z1).call(this,oe(this,bt)+2,"/")},jo=new WeakSet,Is=function(){return ge(this,_1,Z1).call(this,oe(this,bt),"@")},kl=new WeakSet,ff=function(){return ge(this,_1,Z1).call(this,oe(this,bt),":")},Ml=new WeakSet,pf=function(){return ge(this,_1,Z1).call(this,oe(this,bt),":")},Yo=new WeakSet,Os=function(){return ge(this,_1,Z1).call(this,oe(this,bt),"/")},Cn=new WeakSet,Do=function(){if(ge(this,_1,Z1).call(this,oe(this,bt),"?"))return!0;if(oe(this,s1)[oe(this,bt)].value!=="?")return!1;let e=ge(this,Uo,Ts).call(this,oe(this,bt)-1);return e.type!=="NAME"&&e.type!=="REGEX"&&e.type!=="CLOSE"&&e.type!=="ASTERISK"},Fr=new WeakSet,zn=function(){return ge(this,_1,Z1).call(this,oe(this,bt),"#")},xl=new WeakSet,mf=function(){return oe(this,s1)[oe(this,bt)].type=="OPEN"},Sl=new WeakSet,vf=function(){return oe(this,s1)[oe(this,bt)].type=="CLOSE"},El=new WeakSet,gf=function(){return ge(this,_1,Z1).call(this,oe(this,bt),"[")},Al=new WeakSet,Cf=function(){return ge(this,_1,Z1).call(this,oe(this,bt),"]")},z1=new WeakSet,fr=function(){let e=oe(this,s1)[oe(this,bt)],t=ge(this,Uo,Ts).call(this,oe(this,Zo)).index;return oe(this,$o).substring(t,e.index)},Ll=new WeakSet,yf=function(){let e={};Object.assign(e,hn),e.encodePart=S5;let t=uae(ge(this,z1,fr).call(this),void 0,e);jt(this,Fo,af(t))},gu),w0=["protocol","username","password","hostname","port","pathname","search","hash"],ln="*";function pu(e,t){if(typeof e!="string")throw new TypeError("parameter 1 is not of type 'string'.");let r=new URL(e,t);return{protocol:r.protocol.substring(0,r.protocol.length-1),username:r.username,password:r.password,hostname:r.hostname,port:r.port,pathname:r.pathname,search:r.search!==""?r.search.substring(1,r.search.length):void 0,hash:r.hash!==""?r.hash.substring(1,r.hash.length):void 0}}function Or(e,t){return t?ja(e):e}function Oa(e,t,r){let n;if(typeof t.baseURL=="string")try{n=new URL(t.baseURL),e.protocol=Or(n.protocol.substring(0,n.protocol.length-1),r),e.username=Or(n.username,r),e.password=Or(n.password,r),e.hostname=Or(n.hostname,r),e.port=Or(n.port,r),e.pathname=Or(n.pathname,r),e.search=Or(n.search.substring(1,n.search.length),r),e.hash=Or(n.hash.substring(1,n.hash.length),r)}catch{throw new TypeError(`invalid baseURL '${t.baseURL}'.`)}if(typeof t.protocol=="string"&&(e.protocol=wae(t.protocol,r)),typeof t.username=="string"&&(e.username=Cae(t.username,r)),typeof t.password=="string"&&(e.password=gae(t.password,r)),typeof t.hostname=="string"&&(e.hostname=vae(t.hostname,r)),typeof t.port=="string"&&(e.port=bae(t.port,e.protocol,r)),typeof t.pathname=="string"){if(e.pathname=t.pathname,n&&!hae(e.pathname,r)){let o=n.pathname.lastIndexOf("/");o>=0&&(e.pathname=Or(n.pathname.substring(0,o+1),r)+e.pathname)}e.pathname=yae(e.pathname,e.protocol,r)}return typeof t.search=="string"&&(e.search=mae(t.search,r)),typeof t.hash=="string"&&(e.hash=pae(t.hash,r)),e}function ja(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}function Lae(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function Dae(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=`[^${Lae(t.delimiter)}]+?`,o=/[$_\u200C\u200D\p{ID_Continue}]/u,a="";for(let i=0;i<e.length;++i){let s=e[i];if(s.type===3){if(s.modifier===3){a+=ja(s.value);continue}a+=`{${ja(s.value)}}${Ho(s.modifier)}`;continue}let l=s.hasCustomName(),u=!!s.suffix.length||!!s.prefix.length&&(s.prefix.length!==1||!t.prefixes.includes(s.prefix)),c=i>0?e[i-1]:null,d=i<e.length-1?e[i+1]:null;if(!u&&l&&s.type===1&&s.modifier===3&&d&&!d.prefix.length&&!d.suffix.length)if(d.type===3){let h=d.value.length>0?d.value[0]:"";u=o.test(h)}else u=!d.hasCustomName();if(!u&&!s.prefix.length&&c&&c.type===3){let h=c.value[c.value.length-1];u=t.prefixes.includes(h)}u&&(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&&(!c||c.type===3||c.modifier!==3||u||s.prefix!=="")?a+="*":a+=`(${r})`),s.type===1&&l&&s.suffix.length&&o.test(s.suffix[0])&&(a+="\\"),a+=ja(s.suffix),u&&(a+="}"),s.modifier!==3&&(a+=Ho(s.modifier))}return a}var gr,Jn,Go,Yt,Cr,Cu,bf=(Cu=class{constructor(e={},t,r){et(this,gr,void 0);et(this,Jn,{});et(this,Go,{});et(this,Yt,{});et(this,Cr,{});try{let n;if(typeof t=="string"?n=t:r=t,typeof e=="string"){let s=new Aae(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};jt(this,gr,Oa({pathname:ln,protocol:ln,username:ln,password:ln,hostname:ln,port:ln,search:ln,hash:ln},e,!0)),sf(oe(this,gr).protocol)===oe(this,gr).port&&(oe(this,gr).port="");let i;for(i of w0){if(!(i in oe(this,gr)))continue;let s={},l=oe(this,gr)[i];switch(oe(this,Go)[i]=[],i){case"protocol":Object.assign(s,hn),s.encodePart=S5;break;case"username":Object.assign(s,hn),s.encodePart=_ae;break;case"password":Object.assign(s,hn),s.encodePart=kae;break;case"hostname":Object.assign(s,cae),nf(l)?s.encodePart=uf:s.encodePart=lf;break;case"port":Object.assign(s,hn),s.encodePart=cf;break;case"pathname":af(oe(this,Jn).protocol)?(Object.assign(s,dae,o),s.encodePart=Mae):(Object.assign(s,hn,o),s.encodePart=xae);break;case"search":Object.assign(s,hn,o),s.encodePart=Sae;break;case"hash":Object.assign(s,hn,o),s.encodePart=Eae;break}try{oe(this,Cr)[i]=ef(l,s),oe(this,Jn)[i]=tf(oe(this,Cr)[i],oe(this,Go)[i],s),oe(this,Yt)[i]=Dae(oe(this,Cr)[i],s)}catch{throw new TypeError(`invalid ${i} pattern '${oe(this,gr)[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,pu(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,pu(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 u=a[s+1];i[l]=u}n[o]={input:r[o]??"",groups:i}}return n}static compareComponent(e,t,r){let n=(s,l)=>{for(let u of["type","modifier","prefix","value","suffix"]){if(s[u]<l[u])return-1;if(s[u]!==l[u])return 1}return 0},o=new ui(3,"","","","",3),a=new ui(0,"","","","",3),i=(s,l)=>{let u=0;for(;u<Math.min(s.length,l.length);++u){let c=n(s[u],l[u]);if(c)return c}return s.length===l.length?0:n(s[u]??o,l[u]??o)};return!oe(t,Yt)[e]&&!oe(r,Yt)[e]?0:oe(t,Yt)[e]&&!oe(r,Yt)[e]?i(oe(t,Cr)[e],[a]):!oe(t,Yt)[e]&&oe(r,Yt)[e]?i([a],oe(r,Cr)[e]):i(oe(t,Cr)[e],oe(r,Cr)[e])}get protocol(){return oe(this,Yt).protocol}get username(){return oe(this,Yt).username}get password(){return oe(this,Yt).password}get hostname(){return oe(this,Yt).hostname}get port(){return oe(this,Yt).port}get pathname(){return oe(this,Yt).pathname}get search(){return oe(this,Yt).search}get hash(){return oe(this,Yt).hash}},gr=new WeakMap,Jn=new WeakMap,Go=new WeakMap,Yt=new WeakMap,Cr=new WeakMap,Cu);globalThis.URLPattern||(globalThis.URLPattern=bf);class Bae{constructor(t){mt(this,"routes",new Map);Object.entries(t).forEach(([r,n])=>{this.routes.set(new bf({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 Hae{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 Tae{constructor(t,{create:r,destroy:n},o){mt(this,"cache",new Map);mt(this,"pool");mt(this,"getCacheKeyPrefix");const a=new Bae(t);this.pool=new Hae(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 Iae=0,Oae=1,Fn=2,Vae=e=>e.readyState===Fn;class Pae extends EventTarget{constructor(r,n={}){super();mt(this,"url","");mt(this,"withCredentials",!1);mt(this,"CONNECTING",Iae);mt(this,"OPEN",Oae);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 Nae=(e,t)=>{const[r,n]=e.split("?"),o=new URLSearchParams(n),a=t.match(r);return new Pae(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),Vae(this)||await new Promise(s=>setTimeout(s,5e3))})},$ae=(e,t)=>{t&&t.close()},Zae={create:Nae,destroy:$ae};class Rae{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=Uae(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=zae(),console.error("Unable to parse kuma config. Falling back to defaults")),r.apiUrl=Fae(r.apiUrl),r}}function zae(e=""){return{baseGuiPath:"/gui",apiUrl:e,version:"2.4.0",product:"Kuma",mode:"global",environment:"universal",storeType:"postgres",apiReadOnly:!1}}function wf(e){return e.endsWith("/")?wf(e.slice(0,-1)):e}function Fae(e){return e=!e.includes("://")&&!e.startsWith("/")?`/${e}`:e,wf(e)}function Uae(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 Gt={Env:De("application.Env"),env:De("application.env"),EnvVars:De("EnvVars"),can:De("application.can"),features:De("application.can.features"),notFoundView:De("application.not-found"),applicationComponents:De("application.components"),sources:De("data.sources"),dataSourcePool:De("data.DataSourcePool"),dataSourceLifecycle:De("data.DataSourceLifecycle"),getDataSourceCacheKeyPrefix:De("data.getDataSourceCacheKeyPrefix"),i18n:De("i18n"),enUs:De("i18n.locale.enUs")},jae=e=>[[De("application.components"),{service:t=>[["AppView",Koe],["DataSource",n7],["RouteView",tae],["RouteTitle",qoe],["I18nT",YJ(t)]],arguments:[e.i18n],labels:[e.components]}],[De("application.routes"),{service:rae,arguments:[Gt.notFoundView],labels:[e.routes]}],[Gt.i18n,{service:aae,arguments:[Gt.enUs,e.env]}],[Gt.can,{service:nae,arguments:[Gt.features]}],[Gt.Env,{service:Rae,arguments:[e.EnvVars]}],[Gt.env,{service:t=>(...r)=>t.var(...r),arguments:[Gt.Env]}],[Gt.dataSourceLifecycle,{constant:Zae}],[Gt.getDataSourceCacheKeyPrefix,{service:()=>()=>"",arguments:[e.router]}],[Gt.dataSourcePool,{service:Tae,arguments:[e.sources,Gt.dataSourceLifecycle,Gt.getDataSourceCacheKeyPrefix]}]],Yae=Gt,[E5,_f,E1,Gae]=Hl(Gt.env,Gt.can,Gt.i18n,Gt.dataSourcePool);function Kae(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 qae=e=>({"use kubernetes":t=>e("KUMA_ENVIRONMENT")==="kubernetes","use state":t=>e("KUMA_STORE_TYPE")!=="memory"}),Wae=()=>[{path:"/",name:"home",component:()=>we(()=>import("./MainOverviewView-e5b9aa1d.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./MainOverviewView-373c5392.css"],import.meta.url)}],Qae=e=>({"/global-insight":(t,r)=>(r.close(),e.getGlobalInsight())}),Xae=e=>[[De("control-planes.routes"),{service:Wae,labels:[e.routes]}],[De("control-planes.sources"),{service:Qae,arguments:[e.api],labels:[e.sources]}],[De("control-planes.features"),{service:qae,arguments:[e.env],labels:[e.features]}]],Jae=()=>({"/me":async(e={},t)=>(t.close(),Promise.resolve({pageSize:50}))}),eie={sources:De("me.sources")},tie=e=>[[eie.sources,{service:Jae,arguments:[e.api],labels:[e.sources]}]],rie=(e,t,r,n)=>[{path:"/meshes",name:"mesh-index-view",redirect:{name:"mesh-list-view"},component:()=>we(()=>import("./MeshIndexView-6129b08e.js"),[],import.meta.url),children:[{path:"",name:"mesh-list-view",component:()=>we(()=>import("./MeshListView-318756a8.js"),["./AppCollection-78207d85.css","./SummaryView-54907b29.css","./MeshListView-a2bf927f.css"],import.meta.url),children:[{path:":mesh",name:"mesh-summary-view",component:()=>we(()=>import("./MeshSummaryView-573f0961.js"),["./MeshSummaryView-9a77e477.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:()=>we(()=>import("./MeshTabsView-43bd5d33.js"),["./NavTabs-098c6540.css"],import.meta.url),children:[{path:"overview",meta:{module:"meshes"},name:"mesh-detail-view",component:()=>we(()=>import("./MeshDetailView-f25cd49c.js"),["./MeshDetailView-2dc351d8.css"],import.meta.url)},{path:"config",name:"mesh-config-view",component:()=>we(()=>import("./MeshConfigView-417455ad.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()]}]}],nie=e=>({"/meshes":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return e.getAllMeshInsights({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})}}),oie=["protocol","service","zone"];function u7(e){const t=new Map;for(const[r,n]of e){const o=oie.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 aie=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(u7(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(u7(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})}}),iie=()=>({items:()=>[{path:"data-planes",name:"data-plane-list-view",meta:{module:"data-planes"},component:()=>we(()=>import("./DataPlaneListView-f017382e.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./KFilterBar-fd7722ae.css","./DataPlaneListView-b33faf5b.css"],import.meta.url)}],item:()=>[{path:"data-planes/:dataPlane",name:"data-plane-detail-tabs-view",component:()=>we(()=>import("./DataPlaneDetailTabsView-74fdf8d2.js"),["./NavTabs-098c6540.css"],import.meta.url),children:[{path:"overview",name:"data-plane-detail-view",component:()=>we(()=>import("./DataPlaneDetailView-da5f5688.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css","./TagList-613e8329.css","./DataPlaneDetailView-d443b5a2.css"],import.meta.url)},{path:"policies",name:"data-plane-policies-view",component:()=>we(()=>import("./DataPlanePoliciesView-142340f2.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:()=>we(()=>import("./DataPlaneXdsConfigView-871839bf.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"data-plane-stats-view",component:()=>we(()=>import("./DataPlaneStatsView-30db8dc3.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"data-plane-clusters-view",component:()=>we(()=>import("./DataPlaneClustersView-f5a7e299.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"data-plane-config-view",component:()=>we(()=>import("./DataPlaneConfigView-f3bca114.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),sie=e=>[[De("data-planes.sources"),{service:aie,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(u7(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})}}),uie=()=>({items:()=>[{path:"gateways",name:"gateway-list-view",meta:{module:"gateways"},component:()=>we(()=>import("./GatewayListView-eba55e48.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./KFilterBar-fd7722ae.css","./GatewayListView-13644883.css"],import.meta.url)}],item:()=>[{path:"gateways/:dataPlane",name:"gateway-detail-tabs-view",component:()=>we(()=>import("./DataPlaneDetailTabsView-74fdf8d2.js"),["./NavTabs-098c6540.css"],import.meta.url),props:{isGatewayView:!0},children:[{path:"overview",name:"gateway-detail-view",component:()=>we(()=>import("./DataPlaneDetailView-da5f5688.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css","./TagList-613e8329.css","./DataPlaneDetailView-d443b5a2.css"],import.meta.url)},{path:"policies",name:"gateway-policies-view",component:()=>we(()=>import("./GatewayPoliciesView-e50b991c.js"),["./AccordionList-8bab9627.css","./GatewayPoliciesView-15d674af.css"],import.meta.url)},{path:"xds-config",name:"gateway-xds-config-view",component:()=>we(()=>import("./DataPlaneXdsConfigView-871839bf.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"gateway-stats-view",component:()=>we(()=>import("./DataPlaneStatsView-30db8dc3.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"gateway-clusters-view",component:()=>we(()=>import("./DataPlaneClustersView-f5a7e299.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)}]}]}),cie=e=>[[De("gateway.sources"),{service:lie,arguments:[e.api],labels:[e.sources]}]],die=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})}}),hie=()=>({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:()=>we(()=>import("./PolicyListView-7994224d.js"),["./AppCollection-78207d85.css","./PolicyTypeTag-f5c09fb0.css","./SummaryView-54907b29.css","./PolicyListView-bc46ef91.css"],import.meta.url),children:[{path:":policy",name:"policy-summary-view",component:()=>we(()=>import("./PolicySummaryView-da6bbfab.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css","./PolicySummaryView-006fa439.css"],import.meta.url)}]}]}],item:()=>[{path:"policies/:policyPath/:policy/overview",name:"policy-detail-view",component:()=>we(()=>import("./PolicyDetailView-6a0f3cb8.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}),fie=e=>[[De("policies.sources"),{service:die,arguments:[e.api],labels:[e.sources]}]],pie=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}}),mie=()=>({items:()=>[{path:"services",name:"service-list-view",meta:{module:"services"},component:()=>we(()=>import("./ServiceListView-d18441e0.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./SummaryView-54907b29.css","./ServiceListView-fd680b07.css"],import.meta.url),children:[{path:":service",name:"service-summary-view",component:()=>we(()=>import("./ServiceSummaryView-cfc71515.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css","./TagList-613e8329.css","./StatusBadge-307eb0a4.css","./ServiceSummaryView-eb65e91d.css"],import.meta.url)}]}],item:()=>[{path:"services/:service",name:"service-detail-tabs-view",component:()=>we(()=>import("./ServiceDetailTabsView-f0c65692.js"),["./NavTabs-098c6540.css"],import.meta.url),children:[{path:"overview",name:"service-detail-view",component:()=>we(()=>import("./ServiceDetailView-459bffe4.js"),["./TagList-613e8329.css","./StatusBadge-307eb0a4.css"],import.meta.url)},{path:"config",name:"service-config-view",component:()=>we(()=>import("./ServiceConfigView-ea214ecd.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},{path:"data-plane-proxies",name:"service-data-plane-proxies-view",component:()=>we(()=>import("./ServiceDataPlaneProxiesView-225a00ca.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./KFilterBar-fd7722ae.css","./ServiceDataPlaneProxiesView-1c319a6b.css"],import.meta.url)}]}]}),vie=e=>[[De("service.sources"),{service:pie,arguments:[e.api],labels:[e.sources]}]],un={dataplaneRoutes:De("kuma.dataplane.routes"),gatewayRoutes:De("kuma.gateway.routes"),serviceRoutes:De("kuma.service.routes"),policyRoutes:De("kuma.policy.routes")},gie=e=>[[De("meshes.routes"),{service:rie,arguments:[un.serviceRoutes,un.gatewayRoutes,un.dataplaneRoutes,un.policyRoutes],labels:[e.routes]}],[un.dataplaneRoutes,{service:iie}],[un.gatewayRoutes,{service:uie}],[un.serviceRoutes,{service:mie}],[un.policyRoutes,{service:hie}],[De("meshes.sources"),{service:nie,arguments:[e.api],labels:[e.sources]}],...vie(e),...sie(e),...cie(e),...fie(e)],Cie=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:()=>we(()=>import("./IndexView-41eeabcc.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./IndexView-46830a54.css"],import.meta.url)}],item:()=>[{path:`${e}/:zoneEgress`,name:"zone-egress-detail-tabs-view",component:()=>we(()=>import("./IndexView-a274b322.js"),["./NavTabs-098c6540.css"],import.meta.url),redirect:{name:"zone-egress-detail-view"},children:[{path:"overview",name:"zone-egress-detail-view",component:()=>we(()=>import("./DetailView-cc870aca.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css"],import.meta.url)},{path:"xds-config",name:"zone-egress-xds-config-view",component:()=>we(()=>import("./XdsConfigView-31415a01.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"zone-egress-stats-view",component:()=>we(()=>import("./StatsView-cfbdb5b1.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"zone-egress-clusters-view",component:()=>we(()=>import("./ClustersView-06b7d8aa.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"zone-egress-config-view",component:()=>we(()=>import("./ConfigView-7b43c5c8.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),mu=(e="ingresses")=>({items:()=>[{path:`${e}`,name:"zone-ingress-list-view",component:()=>we(()=>import("./IndexView-098f0f2d.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./IndexView-e667275d.css"],import.meta.url)}],item:()=>[{path:`${e}/:zoneIngress`,name:"zone-ingress-detail-tabs-view",component:()=>we(()=>import("./IndexView-316787fa.js"),["./NavTabs-098c6540.css"],import.meta.url),redirect:{name:"zone-ingress-detail-view"},children:[{path:"overview",name:"zone-ingress-detail-view",component:()=>we(()=>import("./DetailView-2349938f.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css"],import.meta.url)},{path:"services",name:"zone-ingress-services-view",component:()=>we(()=>import("./ServicesView-05420678.js"),["./AppCollection-78207d85.css"],import.meta.url)},{path:"xds-config",name:"zone-ingress-xds-config-view",component:()=>we(()=>import("./XdsConfigView-63dfd0ef.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"zone-ingress-stats-view",component:()=>we(()=>import("./StatsView-490bd64d.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"zone-ingress-clusters-view",component:()=>we(()=>import("./ClustersView-1535b56f.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"zone-ingress-config-view",component:()=>we(()=>import("./ConfigView-49200da3.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),yie=()=>[{path:"/zones/-create",name:"zone-create-view",meta:{isWizard:!0},component:()=>we(()=>import("./CreateView-fa3f3220.js"),["./CodeBlock-aa591f34.css","./CreateView-e39b3ad5.css"],import.meta.url)}],bie=(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:()=>we(()=>import("./IndexView-58903170.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./IndexView-4bd6a30a.css"],import.meta.url)},{path:":zone",name:"zone-cp-detail-abstract-view",children:[{path:"",name:"zone-cp-detail-tabs-view",component:()=>we(()=>import("./IndexView-e8f9c6d4.js"),["./NavTabs-098c6540.css"],import.meta.url),redirect:{name:"zone-cp-detail-view"},children:[{path:"overview",name:"zone-cp-detail-view",component:()=>we(()=>import("./DetailView-80635c8a.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css"],import.meta.url)},{path:"config",name:"zone-cp-config-view",component:()=>we(()=>import("./ConfigView-43a1f033.js"),["./CodeBlock-aa591f34.css"],import.meta.url)},...mu().items(),...fs().items()]},...mu().item(),...fs().item()]}]}]:[{path:`${r}`,redirect:{name:"zone-egress-list-view"},children:[...fs().items(),...fs().item()]}]]},wie=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})}}),_ie={fromObject:e=>({...e,zoneIngress:{...e.zoneIngress,availableServices:Array.isArray(e.zoneIngress.availableServices)?e.zoneIngress.availableServices:[]}})},kie=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,items:s.items.map(_ie.fromObject)}},"/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})}}),Mie=e=>({...kie(e),...wie(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})}}),xie=e=>[[De("zones.routes"),{service:t=>bie(t("create zones")?yie():[],t),arguments:[e.can],labels:[e.routes]}],[De("zone.sources"),{service:Mie,arguments:[e.api],labels:[e.sources]}],[De("zone.features"),{service:Cie,arguments:[e.env],labels:[e.features]}]],Sie={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(()=>[Ooe,w()]),_:1}),w(),Voe,w(),Poe,w(),Noe]))}}),b1={KumaLogo:C1(O1e,{description:"KumaLogo"}),GithubButton:C1($te,{description:"GithubButton"}),MainOverview:C1(wre,{description:"MainOverview"}),KubernetesGraph:C1(Kre,{description:"KubernetesGraph"}),PostgresGraph:C1(voe,{description:"PostgresGraph"}),MemoryGraph:C1(une,{description:"MemoryGraph"}),MultizoneGraph:C1(Gne,{description:"MultizoneGraph"}),StandaloneGraph:C1($oe,{description:"StandaloneGraph"}),AppSidebar:C1(B1e,{description:"AppSidebar"}),AppHeader:C1(l1e,{description:"AppHeader"}),AppLoadingBar:C1(y1e,{description:"AppLoadingBar"}),AppOnboardingNotification:C1(M1e,{description:"AppOnboardingNotification"}),MainView:C1(d1e,{description:"MainView"}),MeshDetails:C1(xre,{description:"MeshDetails"})},[Zoe,Roe,mse,vse,gse,Cse,yse,bse,wse,_se,kse,Mse,zoe,xse]=Hl(b1.KumaLogo,b1.GithubButton,b1.MainOverview,b1.KubernetesGraph,b1.PostgresGraph,b1.MemoryGraph,b1.MultizoneGraph,b1.StandaloneGraph,b1.AppSidebar,b1.AppHeader,b1.AppLoadingBar,b1.AppOnboardingNotification,b1.MainView,b1.MeshDetails),Foe={key:0,"aria-label":"Breadcrumb"},Uoe={key:0,class:"app-view-title-bar"},joe={key:1,class:"actions"},Yoe={key:1},Goe=X({__name:"AppView",props:{breadcrumbs:{default:null},fullscreen:{type:Boolean,default:!1}},setup(e){const t=zoe(),r=e,n=new Map,o=Y([]),a=Symbol("app-view"),i=c=>{const d=[...c.values()];d.some(h=>h.length===0)?o.value=[]:o.value=d.flat()},s={addBreadcrumbs:(c,d)=>{typeof c<"u"&&(n.set(d,c),i(n))},removeBreadcrumbs:c=>{n.delete(c),i(n)}},l=M1("app-view-parent",void 0);l||Po("app-view-parent",s);const u=l||s;return Te(()=>r.breadcrumbs,c=>{c!==null&&u.addBreadcrumbs(c,a)},{immediate:!0}),lr(()=>{u.removeBreadcrumbs(a)}),(c,d)=>{const h=p1("KAlert");return m(),q(vt(H(l)?"div":H(t)),{class:J({"app-main-content":!H(l)})},{default:E(()=>[!H(l)&&o.value.length>0?(m(),M("nav",Foe,[N(H(N7),{items:o.value},null,8,["items"])])):O("",!0),w(),p("section",{class:J({"is-fullscreen":r.fullscreen})},[c.$slots.title?(m(),M("header",Uoe,[r.fullscreen?(m(),q(H(dte),{key:0})):O("",!0),w(),F(c.$slots,"title",{},void 0,!0),w(),c.$slots.actions?(m(),M("div",joe,[F(c.$slots,"actions",{},void 0,!0)])):O("",!0)])):O("",!0),w(),c.$slots.notifications?(m(),M("aside",Yoe,[N(h,{class:"mb-4",appearance:"warning"},{alertMessage:E(()=>[F(c.$slots,"notifications",{},void 0,!0)]),_:3})])):O("",!0),w(),F(c.$slots,"default",{},void 0,!0)],2)]),_:3},8,["class"])}}});const Koe=g1(Goe,[["__scopeId","data-v-a22bdb0c"]]),o7=Symbol("route-view-parent"),qoe=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=M1(o7);return typeof n<"u"&&(Te(()=>t.title,o=>{o.length>0&&n.addTitle(o,r)},{immediate:!0}),lr(()=>{n.removeTitle(r)})),(o,a)=>t.render?(m(),M(ke,{key:0},[w(T(t.title),1)],64)):O("",!0)}}),x5=function(e){let t;return(...r)=>{t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e.bind(e,...r))}},Woe=function(e){return(Array.isArray(e)?e[0]:e)??""},Qoe=(e=document)=>x5(t=>{e.title=t}),Xoe=(e=document.documentElement)=>{if(!e)return()=>{};const t=[...e.classList];return x5(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||[])})},du=(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}},Joe=["data-testid"],eae={key:0,class:"route-view-title visually-hidden","aria-live":"assertive","aria-atomic":"true"},tae=X({__name:"RouteView",props:{name:{},attrs:{default:()=>({})},params:{default:()=>({})}},setup(e){const t=E5(),r=_f(),{t:n}=E1(),o=Wl(),a=Qg(),i=Symbol("route-view"),s=e,l=A(()=>s.name),u=Y(""),c=new Map,d=new Map,h=Qoe(document),f=Xoe(document.documentElement),g=P=>P.reverse().concat(n("components.route-view.title",{name:n("common.product.name")})).join(" | "),_={addTitle:(P,R)=>{u.value=P,c.set(R,P),h(g([...c.values()]))},removeTitle:P=>{c.delete(P),h(g([...c.values()]))},addAttrs:(P,R)=>{d.set(R,P),f([...d.values()])},removeAttrs:P=>{d.delete(P),f([...d.values()])}},C=A(()=>Object.entries({...s.params,...o.query,...o.params}).reduce((R,[D,S])=>{if(typeof s.params[D]>"u")return R;let z=Woe(S);const V=s.params[D];switch(!0){case typeof V=="number":isNaN(Number(S))&&(z=String(V));break}return z.length===0&&(z=String(V)),R[D]=decodeURIComponent(z),R},{}));let b={};const y=x5(P=>{a.push({name:s.name,query:du(P,o.query)}),b={}}),v=P=>{b={...b,...P},y(b)},k=(...P)=>{a.push(...P)};Te(()=>s.name,()=>{const P=Object.entries(C.value||{}).reduce((R,[D,S])=>(typeof o.params[D]>"u"&&(R[D]=S),R),{});Object.keys(P).length>0&&a.replace({query:du(P,o.query)})},{immediate:!0});const B=M1(o7,void 0);B||(h(n("components.route-view.title",{name:n("common.product.name")})),Po(o7,_));const $=B||_;return Te(()=>s.attrs,P=>{Object.keys(P).length>0&&$.addAttrs(P,i)},{immediate:!0}),lr(()=>{$.removeAttrs(i)}),(P,R)=>(m(),M("div",{class:"route-view","data-testid":l.value},[H(B)?O("",!0):(m(),M("div",eae,T(H(n)("components.route-view.route-announcer",{title:u.value})),1)),w(),F(P.$slots,"default",{t:H(n),env:H(t),can:H(r),route:{update:v,replace:k,params:C.value}})],8,Joe))}}),rae=e=>[{path:"/404",name:"not-found",alias:"/:pathMatch(.*)*",meta:{title:"Item not found"},component:()=>e[e.length-1]()}],nae=e=>{const t=(r,n)=>typeof e[r]<"u"?e[r](t,n):!1;return t};function oae(e){const t=e.split(/([A-Z][a-z]+)/).join(" ").replace(/\s+/g," ").trim();return t.charAt(0).toUpperCase()+t.substring(1)}function a7(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 a7(e[n[0]],n.slice(1),r)}class hu extends Error{get key(){return this.message}}const aae=(e,t)=>{const r=jJ("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 a7(e,a)>"u")throw a.startsWith("http.api.")?new hu(a):new Error(`Missing message: "${a}" for locale "en-us", using id as fallback`);return a7(e,a).length===0?"":(o[1]={...n,...o[1]},r.t(...o))}catch(s){switch(!0){case s instanceof hu:return oae(s.key.split(".").pop());default:if((i=o[2])!=null&&i.defaultMessage)return o[2].defaultMessage;throw s}}}}};var ui=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"}},iae=/[$_\p{ID_Start}]/u,sae=/[$_\u200C\u200D\p{ID_Continue}]/u,i7=".*";function lae(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}function Jh(e,t=!1){let r=[],n=0;for(;n<e.length;){let o=e[n],a=function(i){if(!t)throw new TypeError(i);r.push({type:"INVALID_CHAR",index:n,value:e[n++]})};if(o==="*"){r.push({type:"ASTERISK",index:n,value:e[n++]});continue}if(o==="+"||o==="?"){r.push({type:"OTHER_MODIFIER",index:n,value:e[n++]});continue}if(o==="\\"){r.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});continue}if(o==="{"){r.push({type:"OPEN",index:n,value:e[n++]});continue}if(o==="}"){r.push({type:"CLOSE",index:n,value:e[n++]});continue}if(o===":"){let i="",s=n+1;for(;s<e.length;){let l=e.substr(s,1);if(s===n+1&&iae.test(l)||s!==n+1&&sae.test(l)){i+=e[s++];continue}break}if(!i){a(`Missing parameter name at ${n}`);continue}r.push({type:"NAME",index:n,value:i}),n=s;continue}if(o==="("){let i=1,s="",l=n+1,u=!1;if(e[l]==="?"){a(`Pattern cannot start with "?" at ${l}`);continue}for(;l<e.length;){if(!lae(e[l],!1)){a(`Invalid character '${e[l]}' at ${l}.`),u=!0;break}if(e[l]==="\\"){s+=e[l++]+e[l++];continue}if(e[l]===")"){if(i--,i===0){l++;break}}else if(e[l]==="("&&(i++,e[l+1]!=="?")){a(`Capturing groups are not allowed at ${l}`),u=!0;break}s+=e[l++]}if(u)continue;if(i){a(`Unbalanced pattern at ${n}`);continue}if(!s){a(`Missing pattern at ${n}`);continue}r.push({type:"REGEX",index:n,value:s}),n=l;continue}r.push({type:"CHAR",index:n,value:e[n++]})}return r.push({type:"END",index:n,value:""}),r}function ef(e,t={}){let r=Jh(e);t.delimiter??(t.delimiter="/#?"),t.prefixes??(t.prefixes="./");let n=`[^${$1(t.delimiter)}]+?`,o=[],a=0,i=0,s=new Set,l=y=>{if(i<r.length&&r[i].type===y)return r[i++].value},u=()=>l("OTHER_MODIFIER")??l("ASTERISK"),c=y=>{let v=l(y);if(v!==void 0)return v;let{type:k,index:B}=r[i];throw new TypeError(`Unexpected ${k} at ${B}, expected ${y}`)},d=()=>{let y="",v;for(;v=l("CHAR")??l("ESCAPED_CHAR");)y+=v;return y},h=y=>y,f=t.encodePart||h,g="",_=y=>{g+=y},C=()=>{g.length&&(o.push(new ui(3,"","",f(g),"",3)),g="")},b=(y,v,k,B,$)=>{let P=3;switch($){case"?":P=1;break;case"*":P=0;break;case"+":P=2;break}if(!v&&!k&&P===3){_(y);return}if(C(),!v&&!k){if(!y)return;o.push(new ui(3,"","",f(y),"",P));return}let R;k?k==="*"?R=i7:R=k:R=n;let D=2;R===n?(D=1,R=""):R===i7&&(D=0,R="");let S;if(v?S=v:k&&(S=a++),s.has(S))throw new TypeError(`Duplicate name '${S}'.`);s.add(S),o.push(new ui(D,S,f(y),R,f(B),P))};for(;i<r.length;){let y=l("CHAR"),v=l("NAME"),k=l("REGEX");if(!v&&!k&&(k=l("ASTERISK")),v||k){let $=y??"";t.prefixes.indexOf($)===-1&&(_($),$=""),C();let P=u();b($,v,k,"",P);continue}let B=y??l("ESCAPED_CHAR");if(B){_(B);continue}if(l("OPEN")){let $=d(),P=l("NAME"),R=l("REGEX");!P&&!R&&(R=l("ASTERISK"));let D=d();c("CLOSE");let S=u();b($,P,R,D,S);continue}C(),c("END")}return o}function $1(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function fu(e){return e&&e.ignoreCase?"ui":"u"}function uae(e,t,r){return tf(ef(e,r),t,r)}function Ho(e){switch(e){case 0:return"*";case 1:return"?";case 2:return"+";case 3:return""}}function tf(e,t,r={}){r.delimiter??(r.delimiter="/#?"),r.prefixes??(r.prefixes="./"),r.sensitive??(r.sensitive=!1),r.strict??(r.strict=!1),r.end??(r.end=!0),r.start??(r.start=!0),r.endsWith="";let n=r.start?"^":"";for(let s of e){if(s.type===3){s.modifier===3?n+=$1(s.value):n+=`(?:${$1(s.value)})${Ho(s.modifier)}`;continue}t&&t.push(s.name);let l=`[^${$1(r.delimiter)}]+?`,u=s.value;if(s.type===1?u=l:s.type===0&&(u=i7),!s.prefix.length&&!s.suffix.length){s.modifier===3||s.modifier===1?n+=`(${u})${Ho(s.modifier)}`:n+=`((?:${u})${Ho(s.modifier)})`;continue}if(s.modifier===3||s.modifier===1){n+=`(?:${$1(s.prefix)}(${u})${$1(s.suffix)})`,n+=Ho(s.modifier);continue}n+=`(?:${$1(s.prefix)}`,n+=`((?:${u})(?:`,n+=$1(s.suffix),n+=$1(s.prefix),n+=`(?:${u}))*)${$1(s.suffix)})`,s.modifier===0&&(n+="?")}let o=`[${$1(r.endsWith)}]|$`,a=`[${$1(r.delimiter)}]`;if(r.end)return r.strict||(n+=`${a}?`),r.endsWith.length?n+=`(?=${o})`:n+="$",new RegExp(n,fu(r));r.strict||(n+=`(?:${a}(?=${o}))?`);let i=!1;if(e.length){let s=e[e.length-1];s.type===3&&s.modifier===3&&(i=r.delimiter.indexOf(s)>-1)}return i||(n+=`(?=${a}|${o})`),new RegExp(n,fu(r))}var hn={delimiter:"",prefixes:"",sensitive:!0,strict:!0},cae={delimiter:".",prefixes:"",sensitive:!0,strict:!0},dae={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function hae(e,t){return e.length?e[0]==="/"?!0:!t||e.length<2?!1:(e[0]=="\\"||e[0]=="{")&&e[1]=="/":!1}function rf(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function fae(e,t){return e.endsWith(t)?e.substr(0,e.length-t.length):e}function nf(e){return!e||e.length<2?!1:e[0]==="["||(e[0]==="\\"||e[0]==="{")&&e[1]==="["}var of=["ftp","file","http","https","ws","wss"];function af(e){if(!e)return!0;for(let t of of)if(e.test(t))return!0;return!1}function pae(e,t){if(e=rf(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 mae(e,t){if(e=rf(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 vae(e,t){return t||e===""?e:nf(e)?uf(e):lf(e)}function gae(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.password=e,r.password}function Cae(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.username=e,r.username}function yae(e,t,r){if(r||e==="")return e;if(t&&!of.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 bae(e,t,r){return sf(t)===e&&(e=""),r||e===""?e:cf(e)}function wae(e,t){return e=fae(e,":"),t||e===""?e:S5(e)}function sf(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function S5(e){if(e==="")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError(`Invalid protocol '${e}'.`)}function _ae(e){if(e==="")return e;let t=new URL("https://example.com");return t.username=e,t.username}function kae(e){if(e==="")return e;let t=new URL("https://example.com");return t.password=e,t.password}function lf(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 uf(e){if(e==="")return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}function cf(e){if(e===""||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError(`Invalid port '${e}'.`)}function Mae(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 xae(e){return e===""?e:new URL(`data:${e}`).pathname}function Sae(e){if(e==="")return e;let t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function Eae(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,s1,St,bt,Qn,Zo,zr,Ro,zo,Fo,Vt,zt,wl,df,xi,s7,Xn,Ua,Uo,Ts,_1,Z1,Si,l7,_l,hf,jo,Is,kl,ff,Ml,pf,Yo,Os,Cn,Do,Fr,zn,xl,mf,Sl,vf,El,gf,Al,Cf,z1,fr,Ll,yf,gu,Aae=(gu=class{constructor(e){et(this,Vt);et(this,wl);et(this,xi);et(this,Xn);et(this,Uo);et(this,_1);et(this,Si);et(this,_l);et(this,jo);et(this,kl);et(this,Ml);et(this,Yo);et(this,Cn);et(this,Fr);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,s1,[]);et(this,St,{});et(this,bt,0);et(this,Qn,1);et(this,Zo,0);et(this,zr,0);et(this,Ro,0);et(this,zo,0);et(this,Fo,!1);jt(this,$o,e)}get result(){return oe(this,St)}parse(){for(jt(this,s1,Jh(oe(this,$o),!0));oe(this,bt)<oe(this,s1).length;jt(this,bt,oe(this,bt)+oe(this,Qn))){if(jt(this,Qn,1),oe(this,s1)[oe(this,bt)].type==="END"){if(oe(this,zr)===0){ge(this,xi,s7).call(this),ge(this,Fr,zn).call(this)?ge(this,Vt,zt).call(this,9,1):ge(this,Cn,Do).call(this)?(ge(this,Vt,zt).call(this,8,1),oe(this,St).hash=""):(ge(this,Vt,zt).call(this,7,0),oe(this,St).search="",oe(this,St).hash="");continue}else if(oe(this,zr)===2){ge(this,Xn,Ua).call(this,5);continue}ge(this,Vt,zt).call(this,10,0);break}if(oe(this,Ro)>0)if(ge(this,Sl,vf).call(this))jt(this,Ro,oe(this,Ro)-1);else continue;if(ge(this,xl,mf).call(this)){jt(this,Ro,oe(this,Ro)+1);continue}switch(oe(this,zr)){case 0:ge(this,Si,l7).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,Si,l7).call(this)){ge(this,Ll,yf).call(this);let e=7,t=1;oe(this,Fo)&&(oe(this,St).pathname="/"),ge(this,_l,hf).call(this)?(e=2,t=3):oe(this,Fo)&&(e=2),ge(this,Vt,zt).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,Do).call(this)||ge(this,Fr,zn).call(this))&&ge(this,Xn,Ua).call(this,5);break;case 3:ge(this,kl,ff).call(this)?ge(this,Vt,zt).call(this,4,1):ge(this,jo,Is).call(this)&&ge(this,Vt,zt).call(this,5,1);break;case 4:ge(this,jo,Is).call(this)&&ge(this,Vt,zt).call(this,5,1);break;case 5:ge(this,El,gf).call(this)?jt(this,zo,oe(this,zo)+1):ge(this,Al,Cf).call(this)&&jt(this,zo,oe(this,zo)-1),ge(this,Ml,pf).call(this)&&!oe(this,zo)?ge(this,Vt,zt).call(this,6,1):ge(this,Yo,Os).call(this)?ge(this,Vt,zt).call(this,7,0):ge(this,Cn,Do).call(this)?ge(this,Vt,zt).call(this,8,1):ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break;case 6:ge(this,Yo,Os).call(this)?ge(this,Vt,zt).call(this,7,0):ge(this,Cn,Do).call(this)?ge(this,Vt,zt).call(this,8,1):ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break;case 7:ge(this,Cn,Do).call(this)?ge(this,Vt,zt).call(this,8,1):ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break;case 8:ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break}}}},$o=new WeakMap,s1=new WeakMap,St=new WeakMap,bt=new WeakMap,Qn=new WeakMap,Zo=new WeakMap,zr=new WeakMap,Ro=new WeakMap,zo=new WeakMap,Fo=new WeakMap,Vt=new WeakSet,zt=function(e,t){switch(oe(this,zr)){case 0:break;case 1:oe(this,St).protocol=ge(this,z1,fr).call(this);break;case 2:break;case 3:oe(this,St).username=ge(this,z1,fr).call(this);break;case 4:oe(this,St).password=ge(this,z1,fr).call(this);break;case 5:oe(this,St).hostname=ge(this,z1,fr).call(this);break;case 6:oe(this,St).port=ge(this,z1,fr).call(this);break;case 7:oe(this,St).pathname=ge(this,z1,fr).call(this);break;case 8:oe(this,St).search=ge(this,z1,fr).call(this);break;case 9:oe(this,St).hash=ge(this,z1,fr).call(this);break}ge(this,wl,df).call(this,e,t)},wl=new WeakSet,df=function(e,t){jt(this,zr,e),jt(this,Zo,oe(this,bt)+t),jt(this,bt,oe(this,bt)+t),jt(this,Qn,0)},xi=new WeakSet,s7=function(){jt(this,bt,oe(this,Zo)),jt(this,Qn,0)},Xn=new WeakSet,Ua=function(e){ge(this,xi,s7).call(this),jt(this,zr,e)},Uo=new WeakSet,Ts=function(e){return e<0&&(e=oe(this,s1).length-e),e<oe(this,s1).length?oe(this,s1)[e]:oe(this,s1)[oe(this,s1).length-1]},_1=new WeakSet,Z1=function(e,t){let r=ge(this,Uo,Ts).call(this,e);return r.value===t&&(r.type==="CHAR"||r.type==="ESCAPED_CHAR"||r.type==="INVALID_CHAR")},Si=new WeakSet,l7=function(){return ge(this,_1,Z1).call(this,oe(this,bt),":")},_l=new WeakSet,hf=function(){return ge(this,_1,Z1).call(this,oe(this,bt)+1,"/")&&ge(this,_1,Z1).call(this,oe(this,bt)+2,"/")},jo=new WeakSet,Is=function(){return ge(this,_1,Z1).call(this,oe(this,bt),"@")},kl=new WeakSet,ff=function(){return ge(this,_1,Z1).call(this,oe(this,bt),":")},Ml=new WeakSet,pf=function(){return ge(this,_1,Z1).call(this,oe(this,bt),":")},Yo=new WeakSet,Os=function(){return ge(this,_1,Z1).call(this,oe(this,bt),"/")},Cn=new WeakSet,Do=function(){if(ge(this,_1,Z1).call(this,oe(this,bt),"?"))return!0;if(oe(this,s1)[oe(this,bt)].value!=="?")return!1;let e=ge(this,Uo,Ts).call(this,oe(this,bt)-1);return e.type!=="NAME"&&e.type!=="REGEX"&&e.type!=="CLOSE"&&e.type!=="ASTERISK"},Fr=new WeakSet,zn=function(){return ge(this,_1,Z1).call(this,oe(this,bt),"#")},xl=new WeakSet,mf=function(){return oe(this,s1)[oe(this,bt)].type=="OPEN"},Sl=new WeakSet,vf=function(){return oe(this,s1)[oe(this,bt)].type=="CLOSE"},El=new WeakSet,gf=function(){return ge(this,_1,Z1).call(this,oe(this,bt),"[")},Al=new WeakSet,Cf=function(){return ge(this,_1,Z1).call(this,oe(this,bt),"]")},z1=new WeakSet,fr=function(){let e=oe(this,s1)[oe(this,bt)],t=ge(this,Uo,Ts).call(this,oe(this,Zo)).index;return oe(this,$o).substring(t,e.index)},Ll=new WeakSet,yf=function(){let e={};Object.assign(e,hn),e.encodePart=S5;let t=uae(ge(this,z1,fr).call(this),void 0,e);jt(this,Fo,af(t))},gu),w0=["protocol","username","password","hostname","port","pathname","search","hash"],ln="*";function pu(e,t){if(typeof e!="string")throw new TypeError("parameter 1 is not of type 'string'.");let r=new URL(e,t);return{protocol:r.protocol.substring(0,r.protocol.length-1),username:r.username,password:r.password,hostname:r.hostname,port:r.port,pathname:r.pathname,search:r.search!==""?r.search.substring(1,r.search.length):void 0,hash:r.hash!==""?r.hash.substring(1,r.hash.length):void 0}}function Or(e,t){return t?ja(e):e}function Oa(e,t,r){let n;if(typeof t.baseURL=="string")try{n=new URL(t.baseURL),e.protocol=Or(n.protocol.substring(0,n.protocol.length-1),r),e.username=Or(n.username,r),e.password=Or(n.password,r),e.hostname=Or(n.hostname,r),e.port=Or(n.port,r),e.pathname=Or(n.pathname,r),e.search=Or(n.search.substring(1,n.search.length),r),e.hash=Or(n.hash.substring(1,n.hash.length),r)}catch{throw new TypeError(`invalid baseURL '${t.baseURL}'.`)}if(typeof t.protocol=="string"&&(e.protocol=wae(t.protocol,r)),typeof t.username=="string"&&(e.username=Cae(t.username,r)),typeof t.password=="string"&&(e.password=gae(t.password,r)),typeof t.hostname=="string"&&(e.hostname=vae(t.hostname,r)),typeof t.port=="string"&&(e.port=bae(t.port,e.protocol,r)),typeof t.pathname=="string"){if(e.pathname=t.pathname,n&&!hae(e.pathname,r)){let o=n.pathname.lastIndexOf("/");o>=0&&(e.pathname=Or(n.pathname.substring(0,o+1),r)+e.pathname)}e.pathname=yae(e.pathname,e.protocol,r)}return typeof t.search=="string"&&(e.search=mae(t.search,r)),typeof t.hash=="string"&&(e.hash=pae(t.hash,r)),e}function ja(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}function Lae(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function Dae(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=`[^${Lae(t.delimiter)}]+?`,o=/[$_\u200C\u200D\p{ID_Continue}]/u,a="";for(let i=0;i<e.length;++i){let s=e[i];if(s.type===3){if(s.modifier===3){a+=ja(s.value);continue}a+=`{${ja(s.value)}}${Ho(s.modifier)}`;continue}let l=s.hasCustomName(),u=!!s.suffix.length||!!s.prefix.length&&(s.prefix.length!==1||!t.prefixes.includes(s.prefix)),c=i>0?e[i-1]:null,d=i<e.length-1?e[i+1]:null;if(!u&&l&&s.type===1&&s.modifier===3&&d&&!d.prefix.length&&!d.suffix.length)if(d.type===3){let h=d.value.length>0?d.value[0]:"";u=o.test(h)}else u=!d.hasCustomName();if(!u&&!s.prefix.length&&c&&c.type===3){let h=c.value[c.value.length-1];u=t.prefixes.includes(h)}u&&(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&&(!c||c.type===3||c.modifier!==3||u||s.prefix!=="")?a+="*":a+=`(${r})`),s.type===1&&l&&s.suffix.length&&o.test(s.suffix[0])&&(a+="\\"),a+=ja(s.suffix),u&&(a+="}"),s.modifier!==3&&(a+=Ho(s.modifier))}return a}var gr,Jn,Go,Yt,Cr,Cu,bf=(Cu=class{constructor(e={},t,r){et(this,gr,void 0);et(this,Jn,{});et(this,Go,{});et(this,Yt,{});et(this,Cr,{});try{let n;if(typeof t=="string"?n=t:r=t,typeof e=="string"){let s=new Aae(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};jt(this,gr,Oa({pathname:ln,protocol:ln,username:ln,password:ln,hostname:ln,port:ln,search:ln,hash:ln},e,!0)),sf(oe(this,gr).protocol)===oe(this,gr).port&&(oe(this,gr).port="");let i;for(i of w0){if(!(i in oe(this,gr)))continue;let s={},l=oe(this,gr)[i];switch(oe(this,Go)[i]=[],i){case"protocol":Object.assign(s,hn),s.encodePart=S5;break;case"username":Object.assign(s,hn),s.encodePart=_ae;break;case"password":Object.assign(s,hn),s.encodePart=kae;break;case"hostname":Object.assign(s,cae),nf(l)?s.encodePart=uf:s.encodePart=lf;break;case"port":Object.assign(s,hn),s.encodePart=cf;break;case"pathname":af(oe(this,Jn).protocol)?(Object.assign(s,dae,o),s.encodePart=Mae):(Object.assign(s,hn,o),s.encodePart=xae);break;case"search":Object.assign(s,hn,o),s.encodePart=Sae;break;case"hash":Object.assign(s,hn,o),s.encodePart=Eae;break}try{oe(this,Cr)[i]=ef(l,s),oe(this,Jn)[i]=tf(oe(this,Cr)[i],oe(this,Go)[i],s),oe(this,Yt)[i]=Dae(oe(this,Cr)[i],s)}catch{throw new TypeError(`invalid ${i} pattern '${oe(this,gr)[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,pu(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,pu(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 u=a[s+1];i[l]=u}n[o]={input:r[o]??"",groups:i}}return n}static compareComponent(e,t,r){let n=(s,l)=>{for(let u of["type","modifier","prefix","value","suffix"]){if(s[u]<l[u])return-1;if(s[u]!==l[u])return 1}return 0},o=new ui(3,"","","","",3),a=new ui(0,"","","","",3),i=(s,l)=>{let u=0;for(;u<Math.min(s.length,l.length);++u){let c=n(s[u],l[u]);if(c)return c}return s.length===l.length?0:n(s[u]??o,l[u]??o)};return!oe(t,Yt)[e]&&!oe(r,Yt)[e]?0:oe(t,Yt)[e]&&!oe(r,Yt)[e]?i(oe(t,Cr)[e],[a]):!oe(t,Yt)[e]&&oe(r,Yt)[e]?i([a],oe(r,Cr)[e]):i(oe(t,Cr)[e],oe(r,Cr)[e])}get protocol(){return oe(this,Yt).protocol}get username(){return oe(this,Yt).username}get password(){return oe(this,Yt).password}get hostname(){return oe(this,Yt).hostname}get port(){return oe(this,Yt).port}get pathname(){return oe(this,Yt).pathname}get search(){return oe(this,Yt).search}get hash(){return oe(this,Yt).hash}},gr=new WeakMap,Jn=new WeakMap,Go=new WeakMap,Yt=new WeakMap,Cr=new WeakMap,Cu);globalThis.URLPattern||(globalThis.URLPattern=bf);class Bae{constructor(t){mt(this,"routes",new Map);Object.entries(t).forEach(([r,n])=>{this.routes.set(new bf({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 Hae{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 Tae{constructor(t,{create:r,destroy:n},o){mt(this,"cache",new Map);mt(this,"pool");mt(this,"getCacheKeyPrefix");const a=new Bae(t);this.pool=new Hae(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 Iae=0,Oae=1,Fn=2,Vae=e=>e.readyState===Fn;class Pae extends EventTarget{constructor(r,n={}){super();mt(this,"url","");mt(this,"withCredentials",!1);mt(this,"CONNECTING",Iae);mt(this,"OPEN",Oae);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 Nae=(e,t)=>{const[r,n]=e.split("?"),o=new URLSearchParams(n),a=t.match(r);return new Pae(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),Vae(this)||await new Promise(s=>setTimeout(s,5e3))})},$ae=(e,t)=>{t&&t.close()},Zae={create:Nae,destroy:$ae};class Rae{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=Uae(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=zae(),console.error("Unable to parse kuma config. Falling back to defaults")),r.apiUrl=Fae(r.apiUrl),r}}function zae(e=""){return{baseGuiPath:"/gui",apiUrl:e,version:"2.4.0",product:"Kuma",mode:"global",environment:"universal",storeType:"postgres",apiReadOnly:!1}}function wf(e){return e.endsWith("/")?wf(e.slice(0,-1)):e}function Fae(e){return e=!e.includes("://")&&!e.startsWith("/")?`/${e}`:e,wf(e)}function Uae(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 Gt={Env:De("application.Env"),env:De("application.env"),EnvVars:De("EnvVars"),can:De("application.can"),features:De("application.can.features"),notFoundView:De("application.not-found"),applicationComponents:De("application.components"),sources:De("data.sources"),dataSourcePool:De("data.DataSourcePool"),dataSourceLifecycle:De("data.DataSourceLifecycle"),getDataSourceCacheKeyPrefix:De("data.getDataSourceCacheKeyPrefix"),i18n:De("i18n"),enUs:De("i18n.locale.enUs")},jae=e=>[[De("application.components"),{service:t=>[["AppView",Koe],["DataSource",n7],["RouteView",tae],["RouteTitle",qoe],["I18nT",YJ(t)]],arguments:[e.i18n],labels:[e.components]}],[De("application.routes"),{service:rae,arguments:[Gt.notFoundView],labels:[e.routes]}],[Gt.i18n,{service:aae,arguments:[Gt.enUs,e.env]}],[Gt.can,{service:nae,arguments:[Gt.features]}],[Gt.Env,{service:Rae,arguments:[e.EnvVars]}],[Gt.env,{service:t=>(...r)=>t.var(...r),arguments:[Gt.Env]}],[Gt.dataSourceLifecycle,{constant:Zae}],[Gt.getDataSourceCacheKeyPrefix,{service:()=>()=>"",arguments:[e.router]}],[Gt.dataSourcePool,{service:Tae,arguments:[e.sources,Gt.dataSourceLifecycle,Gt.getDataSourceCacheKeyPrefix]}]],Yae=Gt,[E5,_f,E1,Gae]=Hl(Gt.env,Gt.can,Gt.i18n,Gt.dataSourcePool);function Kae(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 qae=e=>({"use kubernetes":t=>e("KUMA_ENVIRONMENT")==="kubernetes","use state":t=>e("KUMA_STORE_TYPE")!=="memory"}),Wae=()=>[{path:"/",name:"home",component:()=>we(()=>import("./MainOverviewView-60bdd710.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./MainOverviewView-373c5392.css"],import.meta.url)}],Qae=e=>({"/global-insight":(t,r)=>(r.close(),e.getGlobalInsight())}),Xae=e=>[[De("control-planes.routes"),{service:Wae,labels:[e.routes]}],[De("control-planes.sources"),{service:Qae,arguments:[e.api],labels:[e.sources]}],[De("control-planes.features"),{service:qae,arguments:[e.env],labels:[e.features]}]],Jae=()=>({"/me":async(e={},t)=>(t.close(),Promise.resolve({pageSize:50}))}),eie={sources:De("me.sources")},tie=e=>[[eie.sources,{service:Jae,arguments:[e.api],labels:[e.sources]}]],rie=(e,t,r,n)=>[{path:"/meshes",name:"mesh-index-view",redirect:{name:"mesh-list-view"},component:()=>we(()=>import("./MeshIndexView-c5f75b0a.js"),[],import.meta.url),children:[{path:"",name:"mesh-list-view",component:()=>we(()=>import("./MeshListView-6aa427ed.js"),["./AppCollection-78207d85.css","./SummaryView-54907b29.css","./MeshListView-a2bf927f.css"],import.meta.url),children:[{path:":mesh",name:"mesh-summary-view",component:()=>we(()=>import("./MeshSummaryView-3f776b25.js"),["./MeshSummaryView-9a77e477.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:()=>we(()=>import("./MeshTabsView-d0429d0b.js"),["./NavTabs-098c6540.css"],import.meta.url),children:[{path:"overview",meta:{module:"meshes"},name:"mesh-detail-view",component:()=>we(()=>import("./MeshDetailView-4fb36173.js"),["./MeshDetailView-2dc351d8.css"],import.meta.url)},{path:"config",name:"mesh-config-view",component:()=>we(()=>import("./MeshConfigView-bbffe579.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()]}]}],nie=e=>({"/meshes":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return e.getAllMeshInsights({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})}}),oie=["protocol","service","zone"];function u7(e){const t=new Map;for(const[r,n]of e){const o=oie.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 aie=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(u7(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(u7(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})}}),iie=()=>({items:()=>[{path:"data-planes",name:"data-plane-list-view",meta:{module:"data-planes"},component:()=>we(()=>import("./DataPlaneListView-1222435c.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./KFilterBar-fd7722ae.css","./DataPlaneListView-b33faf5b.css"],import.meta.url)}],item:()=>[{path:"data-planes/:dataPlane",name:"data-plane-detail-tabs-view",component:()=>we(()=>import("./DataPlaneDetailTabsView-6b930b3e.js"),["./NavTabs-098c6540.css"],import.meta.url),children:[{path:"overview",name:"data-plane-detail-view",component:()=>we(()=>import("./DataPlaneDetailView-7b61a5f6.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css","./TagList-613e8329.css","./DataPlaneDetailView-d443b5a2.css"],import.meta.url)},{path:"policies",name:"data-plane-policies-view",component:()=>we(()=>import("./DataPlanePoliciesView-182c6628.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:()=>we(()=>import("./DataPlaneXdsConfigView-71d735b6.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"data-plane-stats-view",component:()=>we(()=>import("./DataPlaneStatsView-7b78cb9b.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"data-plane-clusters-view",component:()=>we(()=>import("./DataPlaneClustersView-155208c3.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"data-plane-config-view",component:()=>we(()=>import("./DataPlaneConfigView-23902abe.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),sie=e=>[[De("data-planes.sources"),{service:aie,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(u7(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})}}),uie=()=>({items:()=>[{path:"gateways",name:"gateway-list-view",meta:{module:"gateways"},component:()=>we(()=>import("./GatewayListView-bb8eb667.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./KFilterBar-fd7722ae.css","./GatewayListView-13644883.css"],import.meta.url)}],item:()=>[{path:"gateways/:dataPlane",name:"gateway-detail-tabs-view",component:()=>we(()=>import("./DataPlaneDetailTabsView-6b930b3e.js"),["./NavTabs-098c6540.css"],import.meta.url),props:{isGatewayView:!0},children:[{path:"overview",name:"gateway-detail-view",component:()=>we(()=>import("./DataPlaneDetailView-7b61a5f6.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css","./TagList-613e8329.css","./DataPlaneDetailView-d443b5a2.css"],import.meta.url)},{path:"policies",name:"gateway-policies-view",component:()=>we(()=>import("./GatewayPoliciesView-15aab1cf.js"),["./AccordionList-8bab9627.css","./GatewayPoliciesView-15d674af.css"],import.meta.url)},{path:"xds-config",name:"gateway-xds-config-view",component:()=>we(()=>import("./DataPlaneXdsConfigView-71d735b6.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"gateway-stats-view",component:()=>we(()=>import("./DataPlaneStatsView-7b78cb9b.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"gateway-clusters-view",component:()=>we(()=>import("./DataPlaneClustersView-155208c3.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)}]}]}),cie=e=>[[De("gateway.sources"),{service:lie,arguments:[e.api],labels:[e.sources]}]],die=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})}}),hie=()=>({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:()=>we(()=>import("./PolicyListView-1272f69d.js"),["./AppCollection-78207d85.css","./PolicyTypeTag-f5c09fb0.css","./SummaryView-54907b29.css","./PolicyListView-bc46ef91.css"],import.meta.url),children:[{path:":policy",name:"policy-summary-view",component:()=>we(()=>import("./PolicySummaryView-eca81395.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css","./PolicySummaryView-006fa439.css"],import.meta.url)}]}]}],item:()=>[{path:"policies/:policyPath/:policy/overview",name:"policy-detail-view",component:()=>we(()=>import("./PolicyDetailView-fd7fc390.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}),fie=e=>[[De("policies.sources"),{service:die,arguments:[e.api],labels:[e.sources]}]],pie=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}}),mie=()=>({items:()=>[{path:"services",name:"service-list-view",meta:{module:"services"},component:()=>we(()=>import("./ServiceListView-a6b2392a.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./SummaryView-54907b29.css","./ServiceListView-fd680b07.css"],import.meta.url),children:[{path:":service",name:"service-summary-view",component:()=>we(()=>import("./ServiceSummaryView-750977b6.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css","./TagList-613e8329.css","./StatusBadge-307eb0a4.css","./ServiceSummaryView-eb65e91d.css"],import.meta.url)}]}],item:()=>[{path:"services/:service",name:"service-detail-tabs-view",component:()=>we(()=>import("./ServiceDetailTabsView-b561c43a.js"),["./NavTabs-098c6540.css"],import.meta.url),children:[{path:"overview",name:"service-detail-view",component:()=>we(()=>import("./ServiceDetailView-1b9a5559.js"),["./TagList-613e8329.css","./StatusBadge-307eb0a4.css"],import.meta.url)},{path:"config",name:"service-config-view",component:()=>we(()=>import("./ServiceConfigView-55cde028.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},{path:"data-plane-proxies",name:"service-data-plane-proxies-view",component:()=>we(()=>import("./ServiceDataPlaneProxiesView-b43d9ddf.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./KFilterBar-fd7722ae.css","./ServiceDataPlaneProxiesView-1c319a6b.css"],import.meta.url)}]}]}),vie=e=>[[De("service.sources"),{service:pie,arguments:[e.api],labels:[e.sources]}]],un={dataplaneRoutes:De("kuma.dataplane.routes"),gatewayRoutes:De("kuma.gateway.routes"),serviceRoutes:De("kuma.service.routes"),policyRoutes:De("kuma.policy.routes")},gie=e=>[[De("meshes.routes"),{service:rie,arguments:[un.serviceRoutes,un.gatewayRoutes,un.dataplaneRoutes,un.policyRoutes],labels:[e.routes]}],[un.dataplaneRoutes,{service:iie}],[un.gatewayRoutes,{service:uie}],[un.serviceRoutes,{service:mie}],[un.policyRoutes,{service:hie}],[De("meshes.sources"),{service:nie,arguments:[e.api],labels:[e.sources]}],...vie(e),...sie(e),...cie(e),...fie(e)],Cie=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:()=>we(()=>import("./IndexView-132d0e04.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./IndexView-46830a54.css"],import.meta.url)}],item:()=>[{path:`${e}/:zoneEgress`,name:"zone-egress-detail-tabs-view",component:()=>we(()=>import("./IndexView-023edc89.js"),["./NavTabs-098c6540.css"],import.meta.url),redirect:{name:"zone-egress-detail-view"},children:[{path:"overview",name:"zone-egress-detail-view",component:()=>we(()=>import("./DetailView-d07f36ea.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css"],import.meta.url)},{path:"xds-config",name:"zone-egress-xds-config-view",component:()=>we(()=>import("./XdsConfigView-e2d8a613.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"zone-egress-stats-view",component:()=>we(()=>import("./StatsView-10a38127.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"zone-egress-clusters-view",component:()=>we(()=>import("./ClustersView-7fbf462d.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"zone-egress-config-view",component:()=>we(()=>import("./ConfigView-cb5adad3.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),mu=(e="ingresses")=>({items:()=>[{path:`${e}`,name:"zone-ingress-list-view",component:()=>we(()=>import("./IndexView-76125280.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./IndexView-e667275d.css"],import.meta.url)}],item:()=>[{path:`${e}/:zoneIngress`,name:"zone-ingress-detail-tabs-view",component:()=>we(()=>import("./IndexView-3585a4b2.js"),["./NavTabs-098c6540.css"],import.meta.url),redirect:{name:"zone-ingress-detail-view"},children:[{path:"overview",name:"zone-ingress-detail-view",component:()=>we(()=>import("./DetailView-dfa33b2f.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css"],import.meta.url)},{path:"services",name:"zone-ingress-services-view",component:()=>we(()=>import("./ServicesView-6213cc85.js"),["./AppCollection-78207d85.css"],import.meta.url)},{path:"xds-config",name:"zone-ingress-xds-config-view",component:()=>we(()=>import("./XdsConfigView-b1004cb7.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"zone-ingress-stats-view",component:()=>we(()=>import("./StatsView-917272e6.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"zone-ingress-clusters-view",component:()=>we(()=>import("./ClustersView-fca936af.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"zone-ingress-config-view",component:()=>we(()=>import("./ConfigView-ff377df9.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),yie=()=>[{path:"/zones/-create",name:"zone-create-view",meta:{isWizard:!0},component:()=>we(()=>import("./CreateView-dedd6312.js"),["./CodeBlock-aa591f34.css","./CreateView-e39b3ad5.css"],import.meta.url)}],bie=(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:()=>we(()=>import("./IndexView-b962a60e.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./IndexView-4bd6a30a.css"],import.meta.url)},{path:":zone",name:"zone-cp-detail-abstract-view",children:[{path:"",name:"zone-cp-detail-tabs-view",component:()=>we(()=>import("./IndexView-6f39c69e.js"),["./NavTabs-098c6540.css"],import.meta.url),redirect:{name:"zone-cp-detail-view"},children:[{path:"overview",name:"zone-cp-detail-view",component:()=>we(()=>import("./DetailView-0e32e4f9.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-6d98c7d0.css"],import.meta.url)},{path:"config",name:"zone-cp-config-view",component:()=>we(()=>import("./ConfigView-be8b975d.js"),["./CodeBlock-aa591f34.css"],import.meta.url)},...mu().items(),...fs().items()]},...mu().item(),...fs().item()]}]}]:[{path:`${r}`,redirect:{name:"zone-egress-list-view"},children:[...fs().items(),...fs().item()]}]]},wie=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})}}),_ie={fromObject:e=>({...e,zoneIngress:{...e.zoneIngress,availableServices:Array.isArray(e.zoneIngress.availableServices)?e.zoneIngress.availableServices:[]}})},kie=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,items:s.items.map(_ie.fromObject)}},"/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})}}),Mie=e=>({...kie(e),...wie(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})}}),xie=e=>[[De("zones.routes"),{service:t=>bie(t("create zones")?yie():[],t),arguments:[e.can],labels:[e.routes]}],[De("zone.sources"),{service:Mie,arguments:[e.api],labels:[e.sources]}],[De("zone.features"),{service:Cie,arguments:[e.env],labels:[e.features]}]],Sie={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> @@ -640,4 +640,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."}}}}},Zie={...Sie,...Aie,...Eie,...Hie,...Iie,...Die,...Tie,...Vie,...Oie,...Lie,...Bie,...$ie,...Nie,...Pie};class Rie{constructor(t,r){this.client=t,this.env=r}get baseUrl(){return this.client.baseUrl}}class zie extends Rie{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/_overview",{params:t})}getZoneOverview({name:t},r){return this.client.get(`/zones/${t}/_overview`,{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("/zone-ingresses/_overview",{params:t})}getZoneIngressOverview({name:t},r){return this.client.get(`/zone-ingresses/${t}/_overview`,{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("/zoneegresses/_overview",{params:t})}getZoneEgressOverview({name:t},r){return this.client.get(`/zoneegresses/${t}/_overview`,{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/_overview",{params:t})}getAllDataplaneOverviewsFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/dataplanes/_overview`,{params:r})}getDataplaneOverviewFromMesh({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/_overview`,{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 Fie(e,t={},r){var c;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&&((c=n.headers.get("content-type"))!=null&&c.startsWith("application/json")?n.body=JSON.stringify(r):n.body=r);let i;try{i=await fetch(a,n)}catch(d){throw Uie(d)}const s=i.headers.get("content-type"),u=(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:u};throw jie(i,u)}function Uie(e){const t=e instanceof Error?e.message:"An unknown network error occurred.";return new Error(t)}function jie(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 Bs({status:r,type:n,title:o,detail:a,instance:i,invalidParameters:s})}class Yie{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=vu(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[u,c]of l)i.set(u,c)}Object.keys(i).length>0&&(a.headers=i);const s=vu(a);return Fie(`${t.startsWith("http")?"":this.baseUrl}${t}`,s,r)}}function vu(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 Gie={...Wh,...Yae,...Ls},Kie=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:Yie,arguments:[e.env]}],[e.api,{service:zie,arguments:[e.httpClient,e.env]}],[e.logger,{service:wX}],[De("kong.plugins"),{service:()=>[[CX]],labels:[e.plugins]}],[De("kuma.components.not-found"),{service:()=>[()=>we(()=>import("./AppNotFoundView-0aaeff51.js"),[],import.meta.url)],labels:[e.notFoundView]}],[De("kuma.i18n.en-us"),{constant:Zie,labels:[e.enUs]}],[e.nav,{service:t=>Kae(t("use zones")),arguments:[e.can]}],...Fte(e),...jae({...e,routes:e.routesLabel}),...tie(e),...Xae({...e,routes:e.routesLabel}),...xie({...e,routes:e.routesLabel}),...gie({...e,routes:e.routesLabel})],cn=Gie;async function qie(){(await fp(Kie(cn),mp({...cn,routes:cn.routesLabel}),bp({...cn,routes:cn.routesLabel}),Cp({...cn,routes:cn.routesLabel}),[])(cn.app)((await we(()=>import("./App-2f4b232b.js"),["./App-0486976f.css"],import.meta.url)).default)).mount("#app")}qie();export{Jie as $,Koe as A,J as B,Ei as C,st as D,tre as E,ke as F,lt as G,T as H,rt as I,yse as J,r7 as K,bse as L,E5 as M,vse as N,Cse as O,gse as P,jte as Q,ur as R,F as S,ao as T,lr as U,It as V,Fe as W,nse as X,mse as Y,Xie as Z,tae as _,_se as a,Wn as a0,P1e as a1,Qg as a2,j1e as a3,xse as a4,Dn as a5,Ti as a6,Hs as a7,ha as a8,lse as a9,Xh as aA,Ii as aB,Ete as aC,Zte as aD,ise as aE,hse as aF,rse as aG,pse as aH,Bs as aI,Ie as aJ,fse as aK,bq as aL,Et as aM,e2 as aa,OW as ab,Qie as ac,qf as ad,Ke as ae,hx as af,ese as ag,Te as ah,a7 as ai,io as aj,RW as ak,R1e as al,cse as am,nr as an,M1 as ao,Po as ap,tse as aq,dse as ar,Xd as as,use as at,cl as au,sse as av,Zs as aw,Rv as ax,ose as ay,ase as az,kse as b,Mse as c,X as d,Wl as e,_f as f,E1 as g,A as h,q as i,N as j,H as k,M as l,O as m,w as n,m as o,p,vt as q,p1 as r,n7 as s,g1 as t,wse as u,Y1e as v,E as w,nre 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."}}}}},Zie={...Sie,...Aie,...Eie,...Hie,...Iie,...Die,...Tie,...Vie,...Oie,...Lie,...Bie,...$ie,...Nie,...Pie};class Rie{constructor(t,r){this.client=t,this.env=r}get baseUrl(){return this.client.baseUrl}}class zie extends Rie{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/_overview",{params:t})}getZoneOverview({name:t},r){return this.client.get(`/zones/${t}/_overview`,{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("/zone-ingresses/_overview",{params:t})}getZoneIngressOverview({name:t},r){return this.client.get(`/zone-ingresses/${t}/_overview`,{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("/zoneegresses/_overview",{params:t})}getZoneEgressOverview({name:t},r){return this.client.get(`/zoneegresses/${t}/_overview`,{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/_overview",{params:t})}getAllDataplaneOverviewsFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/dataplanes/_overview`,{params:r})}getDataplaneOverviewFromMesh({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/_overview`,{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}/_resources/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 Fie(e,t={},r){var c;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&&((c=n.headers.get("content-type"))!=null&&c.startsWith("application/json")?n.body=JSON.stringify(r):n.body=r);let i;try{i=await fetch(a,n)}catch(d){throw Uie(d)}const s=i.headers.get("content-type"),u=(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:u};throw jie(i,u)}function Uie(e){const t=e instanceof Error?e.message:"An unknown network error occurred.";return new Error(t)}function jie(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 Bs({status:r,type:n,title:o,detail:a,instance:i,invalidParameters:s})}class Yie{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=vu(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[u,c]of l)i.set(u,c)}Object.keys(i).length>0&&(a.headers=i);const s=vu(a);return Fie(`${t.startsWith("http")?"":this.baseUrl}${t}`,s,r)}}function vu(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 Gie={...Wh,...Yae,...Ls},Kie=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:Yie,arguments:[e.env]}],[e.api,{service:zie,arguments:[e.httpClient,e.env]}],[e.logger,{service:wX}],[De("kong.plugins"),{service:()=>[[CX]],labels:[e.plugins]}],[De("kuma.components.not-found"),{service:()=>[()=>we(()=>import("./AppNotFoundView-00667194.js"),[],import.meta.url)],labels:[e.notFoundView]}],[De("kuma.i18n.en-us"),{constant:Zie,labels:[e.enUs]}],[e.nav,{service:t=>Kae(t("use zones")),arguments:[e.can]}],...Fte(e),...jae({...e,routes:e.routesLabel}),...tie(e),...Xae({...e,routes:e.routesLabel}),...xie({...e,routes:e.routesLabel}),...gie({...e,routes:e.routesLabel})],cn=Gie;async function qie(){(await fp(Kie(cn),mp({...cn,routes:cn.routesLabel}),bp({...cn,routes:cn.routesLabel}),Cp({...cn,routes:cn.routesLabel}),[])(cn.app)((await we(()=>import("./App-c639829f.js"),["./App-0486976f.css"],import.meta.url)).default)).mount("#app")}qie();export{Jie as $,Koe as A,J as B,Ei as C,st as D,tre as E,ke as F,lt as G,T as H,rt as I,yse as J,r7 as K,bse as L,E5 as M,vse as N,Cse as O,gse as P,jte as Q,ur as R,F as S,ao as T,lr as U,It as V,Fe as W,nse as X,mse as Y,Xie as Z,tae as _,_se as a,Wn as a0,P1e as a1,Qg as a2,j1e as a3,xse as a4,Dn as a5,Ti as a6,Hs as a7,ha as a8,lse as a9,Xh as aA,Ii as aB,Ete as aC,Zte as aD,ise as aE,hse as aF,rse as aG,pse as aH,Bs as aI,Ie as aJ,fse as aK,bq as aL,Et as aM,e2 as aa,OW as ab,Qie as ac,qf as ad,Ke as ae,hx as af,ese as ag,Te as ah,a7 as ai,io as aj,RW as ak,R1e as al,cse as am,nr as an,M1 as ao,Po as ap,tse as aq,dse as ar,Xd as as,use as at,cl as au,sse as av,Zs as aw,Rv as ax,ose as ay,ase as az,kse as b,Mse as c,X as d,Wl as e,_f as f,E1 as g,A as h,q as i,N as j,H as k,M as l,O as m,w as n,m as o,p,vt as q,p1 as r,n7 as s,g1 as t,wse as u,Y1e as v,E as w,nre 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 d7540443e665..d621831e6b9d 100644 --- a/app/kuma-ui/pkg/resources/data/index.html +++ b/app/kuma-ui/pkg/resources/data/index.html @@ -1 +1 @@ -<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><base href="{{.BaseGuiPath}}/"/><link rel="icon" href="./favicon.png"/><title>Manager</title><script type="application/json" id="kuma-config">{{.}}</script><script type="module" crossorigin src="./assets/index-af109ace.js"></script><link rel="stylesheet" href="./assets/index-c162c548.css"></head><body><noscript><strong>We're sorry but this site doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html> \ No newline at end of file +<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><base href="{{.BaseGuiPath}}/"/><link rel="icon" href="./favicon.png"/><title>Manager</title><script type="application/json" id="kuma-config">{{.}}</script><script type="module" crossorigin src="./assets/index-28451437.js"></script><link rel="stylesheet" href="./assets/index-c162c548.css"></head><body><noscript><strong>We're sorry but this site doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html> \ No newline at end of file