text: (function(e){function t(t){for(var a,r,i=t[0],s=t[1],u=t[2],l=0,f=[];l<i.length;l++)r=i[l],Object.prototype.hasOwnProperty.call(c,r)&&c[r]&&f.push(c[r][0]),c[r]=0;for(a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a]);h&&h(t);while(f.length)f.shift()();return o.push.apply(o,u||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,r=1;r<n.length;r++){var i=n[r];0!==c[i]&&(a=!1)}a&&(o.splice(t--,1),e=s(s.s=n[0]))}return e}var a={},r={app:0},c={app:0},o=[];function i(e){return s.p+"js/"+({}[e]||e)+"."+{"chunk-007b5e11":"153e1bad","chunk-2d0bd422":"33d05962","chunk-2d0ddd64":"8365d8d8","chunk-2d0e1bc1":"bbd8162a","chunk-2d0e9554":"d826f9d5","chunk-2d0f0fc2":"a9f7a1d8","chunk-2d21ad62":"a2067e80","chunk-2d21ef74":"0ad6ddf0","chunk-aa691f4a":"bdfeda23","chunk-0b40d6d0":"93813d7f","chunk-0fab5674":"b73fe6b1","chunk-5c1983ae":"eeea35b6","chunk-2bca0af1":"950454a7","chunk-2e023a45":"a3666d7c","chunk-37163324":"a1fd4756","chunk-530db276":"1b9ef3a9","chunk-6704cc57":"b146973a","chunk-6ae4d3e3":"6bd3240d","chunk-742ccc23":"4fbeb179","chunk-7a587168":"b049015a","chunk-7f233e88":"e70d2c42","chunk-998ec8ac":"2c14c206","chunk-a5534110":"9680dd30","chunk-ec2a62e6":"f1a3a92a","chunk-f40e3e26":"60a961c4"}[e]+".js"}function s(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.e=function(e){var t=[],n={"chunk-007b5e11":1,"chunk-aa691f4a":1,"chunk-0fab5674":1,"chunk-5c1983ae":1,"chunk-2bca0af1":1,"chunk-2e023a45":1,"chunk-37163324":1,"chunk-530db276":1,"chunk-6704cc57":1,"chunk-6ae4d3e3":1,"chunk-742ccc23":1,"chunk-7a587168":1,"chunk-7f233e88":1,"chunk-998ec8ac":1,"chunk-a5534110":1,"chunk-ec2a62e6":1,"chunk-f40e3e26":1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-007b5e11":"07dec3f9","chunk-2d0bd422":"31d6cfe0","chunk-2d0ddd64":"31d6cfe0","chunk-2d0e1bc1":"31d6cfe0","chunk-2d0e9554":"31d6cfe0","chunk-2d0f0fc2":"31d6cfe0","chunk-2d21ad62":"31d6cfe0","chunk-2d21ef74":"31d6cfe0","chunk-aa691f4a":"1e691232","chunk-0b40d6d0":"31d6cfe0","chunk-0fab5674":"ee9ca5bb","chunk-5c1983ae":"819530cd","chunk-2bca0af1":"628c8dd6","chunk-2e023a45":"5668283b","chunk-37163324":"8682f945","chunk-530db276":"d4aad0d5","chunk-6704cc57":"ee9ca5bb","chunk-6ae4d3e3":"ee9ca5bb","chunk-742ccc23":"12925e91","chunk-7a587168":"ee9ca5bb","chunk-7f233e88":"5668283b","chunk-998ec8ac":"ee9ca5bb","chunk-a5534110":"ee9ca5bb","chunk-ec2a62e6":"ee9ca5bb","chunk-f40e3e26":"4e803d45"}[e]+".css",c=s.p+a,o=document.getElementsByTagName("link"),i=0;i<o.length;i++){var u=o[i],l=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(l===a||l===c))return t()}var f=document.getElementsByTagName("style");for(i=0;i<f.length;i++){u=f[i],l=u.getAttribute("data-href");if(l===a||l===c)return t()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.onload=t,h.onerror=function(t){var a=t&&t.target&&t.target.src||c,o=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=a,delete r[e],h.parentNode.removeChild(h),n(o)},h.href=c;var m=document.getElementsByTagName("head")[0];m.appendChild(h)})).then((function(){r[e]=0})));var a=c[e];if(0!==a)if(a)t.push(a[2]);else{var o=new Promise((function(t,n){a=c[e]=[t,n]}));t.push(a[2]=o);var u,l=document.createElement("script");l.charset="utf-8",l.timeout=120,s.nc&&l.setAttribute("nonce",s.nc),l.src=i(e);var f=new Error;u=function(t){l.onerror=l.onload=null,clearTimeout(h);var n=c[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",f.name="ChunkLoadError",f.type=a,f.request=r,n[1](f)}c[e]=void 0}};var h=setTimeout((function(){u({type:"timeout",target:l})}),12e4);l.onerror=l.onload=u,document.head.appendChild(l)}return Promise.all(t)},s.m=e,s.c=a,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)s.d(n,a,function(t){return e[t]}.bind(null,a));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="/",s.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],l=u.push.bind(u);u.push=t,u=u.slice();for(var f=0;f<u.length;f++)t(u[f]);var h=l;o.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"003e":function(e,t,n){},"017d":function(e,t,n){},"0417":function(e,t,n){"use strict";var a=n("32e93"),r=n.n(a);r.a},"101f":function(e,t,n){},1104:function(e,t,n){},"26c1":function(e,t,n){},2810:function(e,t,n){"use strict";var a=n("3b5a"),r=n.n(a);r.a},"2a3e":function(e,t,n){},"32e93":function(e,t,n){},"3b5a":function(e,t,n){},4267:function(e,t,n){},"478e":function(e,t,n){"use strict";var a=n("da13"),r=n.n(a);r.a},"4bf2":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("6b54"),n("cadf"),n("551c"),n("f751"),n("097d");var a=n("a026"),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[e.loading||null===e.loading?e._e():n("global-header",{class:{"main-header--simple":e.$route.meta.simpleHeader}}),n("div",{staticClass:"main-content-container"},[e.loading||null===e.loading||e.$route.meta.hideSidebar||e.$route.meta.fullScreen||"OK"!==e.status?e._e():n("sidebar"),e.loading?n("div",{staticClass:"full-screen"},[n("KLoader")],1):e._e(),e.loading||null===e.loading?e._e():n("main",{staticClass:"main-content"},["OK"===e.status?n("div",{staticClass:"page"},[n("router-view")],1):n("ApiErrorMessage")],1)],1)],1)},c=[],o=(n("8e6e"),n("ac6a"),n("456d"),n("bd86")),i=n("b2af"),s=n("2f62"),u=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("header",{staticClass:"main-header p-4"},[a("div",{staticClass:"main-header__content flex justify-between items-center -mx-4"},[a("div",{staticClass:"px-4"},[a("router-link",{staticClass:"logo",attrs:{to:{name:"mesh-overview",params:{mesh:e.currentMesh}},exact:""}},[a("img",{attrs:{src:n("8389"),alt:"Kuma Logo"}})])],1),e.$route.meta.hideStatus||"OK"!==e.status?e._e():a("div",{staticClass:"px-4"},[a("status",{attrs:{active:e.guiStatus,content:e.statusContent}})],1)])])},l=[],f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"status"},[n("span",{staticClass:"status__dot",class:{"is-active":e.active}}),n("span",{staticClass:"status__label",domProps:{innerHTML:e._s(e.content)}})])},h=[],m={name:"Status",props:{active:{type:Boolean,default:!1},content:{type:String,default:null}}},p=m,g=(n("c6bf"),n("2877")),d=Object(g["a"])(p,f,h,!1,null,"7855d719",null),M=d.exports;function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j={components:{Status:M},data:function(){return{guiStatus:!1,statusContent:null}},computed:b({},Object(s["b"])({status:"getStatus",currentMesh:"getSelectedMesh"})),beforeMount:function(){this.getGuiStatus()},methods:{getGuiStatus:function(){var e=localStorage.getItem("kumaEnv"),t=localStorage.getItem("kumaApiUrl"),n=this.$store.getters.getTagline,a=this.$store.getters.getVersion;e&&t?(this.statusContent="".concat(n," v").concat(a," running on ").concat(e),this.guiStatus=!0):(this.statusContent="Unable to determine Kuma's status",this.guiStatus=!1)}}},v=j,O=(n("db63"),Object(g["a"])(v,u,l,!1,null,null,null)),k=O.exports,L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("KNav",{attrs:{"is-collapsed":e.isCollapsed}},[n("div",{staticClass:"menu-container",class:{"is-hovering":e.hovering},attrs:{slot:"NavMenu"},slot:"NavMenu"},[n("MeshSelector",{attrs:{items:e.meshList}}),e._l(e.menuList.sections,(function(t,a){return n("SidebarMenu",{key:a,attrs:{menu:t,"trigger-hovering":e.isHovering,index:a,"is-last":a===e.lastMenuList}})})),n("div",{staticClass:"sidebar-message-wrap"},[n("div",{staticClass:"sidebar-message"},[n("h4",{staticClass:"mb-4 md sidebar-message__title"},[e._v("\n          Resources\n        ")]),n("ul",e._l(e.resourceLinks,(function(t,a){return n("li",{key:a},[n("a",{attrs:{href:t.link,target:"_blank"}},[e._v("\n              "+e._s(t.label)+"\n            ")])])})),0)])]),n("CollapseToggle",{attrs:{"handle-toggle-collapse":e.handleToggleCollapse}})],2)])},y=[],S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("nav",{class:{closed:e.isCollapsed},attrs:{id:"the-sidebar"}},[e._t("default"),e._t("topNavAction"),e._t("topNavTitle"),e._t("NavMenu",null,{isClosed:e.isCollapsed,isHovering:e.triggerHovering}),e._t("NavToggle")],2)},D=[],N={name:"KNav",props:{isCollapsed:{type:Boolean,required:!0},triggerHovering:{type:Function,required:!1,default:function(e){}}}},C=N,I=(n("92c7"),n("da59"),Object(g["a"])(C,S,D,!1,null,"464011f2",null)),A=I.exports,E=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"menu-wrapper",class:{first:0==e.index,last:e.isLast},on:{mouseout:function(t){return e._isHovering(!1)},mouseover:function(t){return e._isHovering(!0)}}},[n("div",{staticClass:"item-wrapper"},[n("MenuList",{attrs:{"menu-items":e.menu.items}})],1)])},_=[],x=(n("b54a"),n("c5f6"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"menu-list"},[e._l(e.menuItems,(function(t){return[t.hidden?e._e():n("li",{key:t.name,class:{"menu-title":t.title,hasBadge:t.badge}},[t.link?n("router-link",{attrs:{to:{path:t.root?e.preparePath(t.link):"/"+e.meshPath+e.preparePath(t.link)}}},[e._v("\n        "+e._s(t.name)+"\n        ")]):t.hidden?e._e():n("span",[e._v(e._s(t.name))])],1)]}))],2)}),w=[];function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var F={name:"MenuList",props:{menuItems:{type:Array,required:!0}},data:function(){return{meshPath:null}},computed:z({},Object(s["d"])(["selectedMesh"])),watch:{$route:function(e,t){this.setMeshPath()}},beforeMount:function(){this.setMeshPath()},methods:{preparePath:function(e){return"/"===e[0]?e:"/".concat(e)},setMeshPath:function(){var e=localStorage.getItem("selectedMesh"),t=this.$route.params.mesh;t&&t.length>0?this.meshPath=t:e&&e.length>0?this.meshPath=e:this.meshPath=this.$store.getters.getSelectedMesh}}},U=F,Y=(n("0417"),Object(g["a"])(U,x,w,!1,null,null,null)),Q=Y.exports,R={name:"SidebarMenu",components:{MenuList:Q},props:{menu:{type:Object,required:!0},triggerHovering:{type:Function,required:!1,default:function(){}},index:{type:Number,required:!0},isLast:{type:Boolean,default:!1}},data:function(){return{hovering:!1}},computed:{isMenuActive:function(){var e=this;return this.menu.items.some((function(t){return-1!==e.$route.path.indexOf(t.link)}))}},methods:{_isHovering:function(e){this.triggerHovering(e),this.hovering=e}}},H=R,$=(n("c761"),Object(g["a"])(H,E,_,!1,null,null,null)),K=$.exports,G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sidebar-toggle",on:{click:e.handleToggleCollapse}},[n("KIcon",{attrs:{icon:"collapseExpand",size:"16","view-box":"0 0 16 16"}}),n("span",[e._t("toggle-text",[e._v("Collapse Sidebar")])],2)],1)},B=[],W={name:"CollapseToggle",props:{isCollapsed:{type:Boolean,default:!1},handleToggleCollapse:{type:Function,default:function(){}}}},V=W,Z=(n("8b1e"),Object(g["a"])(V,G,B,!1,null,"aea0e4f0",null)),J=Z.exports,X=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"mesh-selector-container"},[e.items?n("div",[n("h3",{staticClass:"menu-title"},[e._v("\n      Meshes\n    ")]),n("select",{staticClass:"mesh-selector",attrs:{id:"mesh-selector",name:"mesh-selector"},on:{change:e.changeMesh}},e._l(e.items.items,(function(t){return n("option",{key:t.name,domProps:{value:t.name,selected:t.name===(e.meshFromLocalStorage||e.$route.params.mesh)}},[e._v("\n        "+e._s(t.name)+"\n      ")])})),0)]):n("KAlert",{attrs:{appearance:"danger","alert-message":"No meshes found!"}})],1)},q=[],ee=(n("7f7f"),{name:"MeshSelector",props:{items:{type:Object,required:!0}},computed:{meshFromLocalStorage:function(){return localStorage.getItem("selectedMesh")}},methods:{changeMesh:function(e){var t=e.target.value;this.$store.dispatch("updateSelectedMesh",t),localStorage.setItem("selectedMesh",t),"global-overview"===this.$route.name?this.$router.push({name:"mesh-overview",params:{mesh:t}}):this.$router.push({params:{mesh:t}})}}}),te=ee,ne=(n("c232"),Object(g["a"])(te,X,q,!1,null,"3e366570",null)),ae=ne.exports;function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var oe={components:{KNav:A,SidebarMenu:K,CollapseToggle:J,MeshSelector:ae},data:function(){return{isCollapsed:!1,sidebarSavedState:null,toggleWorkspaces:!1,hovering:!1}},computed:ce({resourceLinks:function(){var e=this.$store.getters.getVersion,t=null!==e?e:"latest";return[{link:"https://kuma.io/docs/".concat(t,"/"),label:"Kuma Documentation"},{link:"https://kuma-mesh.slack.com/",label:"Kuma Community Chat"},{link:"https://github.com/Kong/kuma",label:"Kuma GitHub Repository"}]}},Object(s["d"])("sidebar",{menu:function(e){return e.menu}}),{menuList:function(){var e=JSON.parse(JSON.stringify(this.menu));return e},lastMenuList:function(){return Object.keys(this.menuList.sections).length-1},meshList:function(){return this.$store.state.meshes}}),mounted:function(){var e=Object(i["a"])("sidebarCollapsed");document.documentElement.clientWidth<=900?this.isCollapsed=!0:this.isCollapsed=e||!1,window.addEventListener("resize",this.handleResize)},beforeDestroy:function(){window.removeEventListener("resize",this.handleResize)},methods:ce({},Object(s["c"])("sidebar",["setMenu"]),{handleToggleCollapse:function(){this.isCollapsed=!this.isCollapsed,this.setCollapsedState(this.isCollapsed)},isHovering:function(e){this.hovering=e},setCollapsedState:function(e){Object(i["b"])("sidebarCollapsed",e)},handleResize:function(){var e=Object(i["a"])("sidebarCollapsed");document.documentElement.clientWidth<=900&&(this.isCollapsed=e||!0),document.documentElement.clientWidth>=900&&(this.isCollapsed=e||!1)},getKumaInfo:function(){this.$store.dispatch("getVersion"),this.$store.dispatch("getTagline")}})},ie=oe,se=(n("7148"),Object(g["a"])(ie,L,y,!1,null,null,null)),ue=se.exports,le=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"loading-container"},[a("img",{attrs:{src:n("c42d")}}),a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-bar",style:{width:e.progress+"%"},attrs:{role:"progressbar"}})])])},fe=[],he={data:function(){return{progress:10}},computed:{loading:function(){return this.$store.state.globalLoading}},watch:{loading:function(e){e||(this.progress=100)}},mounted:function(){var e=this,t=setInterval((function(){e.progress>=100&&(clearInterval(t),e.progress=100),e.progress+=Math.ceil(30*Math.random(10))}),150)}},me=he,pe=(n("2810"),Object(g["a"])(me,le,fe,!1,null,"3c2c01f2",null)),ge=pe.exports,de=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("KEmptyState",{staticClass:"global-api-status",attrs:{"cta-is-hidden":""}},[n("template",{slot:"title"},[n("KIcon",{staticClass:"kong-icon--centered",attrs:{color:"var(--yellow-base)",icon:"warning",size:"64"}}),e._v("\n    Unable to reach the Kuma API\n  ")],1),n("template",{slot:"message"},[n("p",[e._v("\n      Please make sure Kuma is up and running\n      "),e.url?n("span",[e._v(", and it is reachable at "),n("code",[e._v(e._s(e.url))])]):e._e()])])],2)},Me=[],Te={computed:{url:function(){return localStorage.getItem("kumaApiUrl")||null}}},be=Te,je=(n("8ab5"),Object(g["a"])(be,de,Me,!1,null,null,null)),ve=je.exports;function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Le={components:{GlobalHeader:k,Sidebar:ue,KLoader:ge,ApiErrorMessage:ve},metaInfo:{title:"Home",titleTemplate:"%s | Kuma",htmlAttrs:{lang:"en"}},computed:ke({},Object(s["d"])({loading:function(e){return e.globalLoading}}),{},Object(s["b"])({status:"getStatus"})),beforeMount:function(){var e=this;this.$store.dispatch("getStatus").then((function(){"OK"===e.$store.getters.getStatus&&(e.$store.dispatch("fetchMeshList"),e.$store.dispatch("getAllDataplanes"),e.$store.dispatch("getVersion"),e.$store.dispatch("getTagline"),Object(i["b"])("selectedMesh",e.$store.getters.getSelectedMesh))}))}},ye=Le,Se=(n("478e"),Object(g["a"])(ye,r,c,!1,null,"7737009a",null)),De=Se.exports,Ne=(n("28a5"),n("8c4f"));a["a"].use(Ne["a"]);var Ce=function(e){var t=[{path:"/404",name:"not-found",alias:"*",meta:{title:"Page not found",excludeAsBreadcrumb:!0},component:function(){return n.e("chunk-2e023a45").then(n.bind(null,"9703"))}},{path:"/",redirect:{name:"global-overview"}},{path:"/get-started",redirect:{name:"setup-welcome"},component:function(){return n.e("chunk-2bca0af1").then(n.bind(null,"6458"))},children:[{path:"welcome",name:"setup-welcome",meta:{title:"Welcome to Kuma!",excludeAsBreadcrumb:!0,hideSidebar:!0,hideStatus:!0,simpleHeader:!0,simpleContent:!0,onboardingProcess:!0},component:function(){return n.e("chunk-37163324").then(n.bind(null,"2486"))}},{path:"complete",name:"setup-complete",meta:{title:"Congratulations!",excludeAsBreadcrumb:!0,hideSidebar:!0,hideStatus:!0,simpleHeader:!0,simpleContent:!0,onboardingProcess:!0},component:function(){return n.e("chunk-742ccc23").then(n.bind(null,"9c6cb"))}}]},{path:"/overview",alias:"/",name:"global-overview",meta:{title:"Global Overview",excludeAsBreadcrumb:!0},component:function(){return n.e("chunk-f40e3e26").then(n.bind(null,"2226"))}},{path:"/:mesh",redirect:{name:"mesh-overview"},name:"mesh",meta:{title:"Meshes",breadcrumb:"Meshes",parent:"mesh-overview"},params:{mesh:":mesh"},component:function(){return Promise.all([n.e("chunk-0b40d6d0"),n.e("chunk-5c1983ae")]).then(n.bind(null,"deb3"))},children:[{path:"overview",name:"mesh-overview",component:function(){return Promise.all([n.e("chunk-007b5e11"),n.e("chunk-aa691f4a")]).then(n.bind(null,"f391"))},meta:{title:"Mesh Overview",excludeAsBreadcrumb:!0}},{path:"dataplanes",name:"dataplanes",meta:{title:"Dataplanes",parent:"dataplanes"},component:function(){return Promise.all([n.e("chunk-0b40d6d0"),n.e("chunk-0fab5674")]).then(n.bind(null,"0eaf"))}},{path:"dataplanes/:dataplane",name:"dataplane-details",meta:{title:"Dataplane Details",breadcrumb:"Dataplanes",parent:"dataplanes"},params:{dataplane:":dataplane"},component:function(){return Promise.all([n.e("chunk-007b5e11"),n.e("chunk-2d0e9554")]).then(n.bind(null,"8ca4"))}},{path:"services",name:"services",meta:{title:"Services"},component:function(){return n.e("chunk-530db276").then(n.bind(null,"052e"))}},{path:"services/:service",name:"service-details",meta:{title:"Service Details",breadcrumb:"Service Details",parent:"services"},params:{service:":service"},component:function(){return n.e("chunk-7f233e88").then(n.bind(null,"f99cc"))}},{path:"traffic-permissions",name:"traffic-permissions",meta:{title:"Traffic Permissions"},component:function(){return n.e("chunk-6ae4d3e3").then(n.bind(null,"42f1"))}},{path:"traffic-permissions/:trafficpermission",name:"traffic-permissions-details",meta:{title:"Traffic Permission Details",breadcrumb:"Traffic Permission Details",parent:"traffic-permissions"},params:{trafficpermission:":trafficpermission"},component:function(){return Promise.all([n.e("chunk-007b5e11"),n.e("chunk-2d21ef74")]).then(n.bind(null,"d88b"))}},{path:"traffic-routes",name:"traffic-routes",meta:{title:"Traffic Routes"},component:function(){return n.e("chunk-a5534110").then(n.bind(null,"8897"))}},{path:"traffic-routes/:trafficroute",name:"traffic-routes-details",params:{trafficroute:":trafficroute"},meta:{title:"Traffic Route Details",breadcrumb:"Traffic Details",parent:"traffic-routes"},component:function(){return Promise.all([n.e("chunk-007b5e11"),n.e("chunk-2d0e1bc1")]).then(n.bind(null,"7c65"))}},{path:"traffic-logs",name:"traffic-logs",meta:{title:"Traffic Logs"},component:function(){return n.e("chunk-ec2a62e6").then(n.bind(null,"abd6"))}},{path:"traffic-logs/:trafficlog",name:"traffic-log-details",params:{trafficlog:":trafficlog"},meta:{title:"Traffic Log Details",breadcrumb:"Traffic Logs",parent:"traffic-logs"},component:function(){return Promise.all([n.e("chunk-007b5e11"),n.e("chunk-2d0ddd64")]).then(n.bind(null,"82a5"))}},{path:"traffic-traces",name:"traffic-traces",meta:{title:"Traffic Traces"},component:function(){return n.e("chunk-6704cc57").then(n.bind(null,"f22c"))}},{path:"traffic-traces/:traffictrace",name:"traffic-traces-details",params:{traffictrace:":traffictrace"},meta:{title:"Traffic Trace Details",breadcrumb:"Traffic Traces",parent:"traffic-traces"},component:function(){return Promise.all([n.e("chunk-007b5e11"),n.e("chunk-2d21ad62")]).then(n.bind(null,"bce0"))}},{path:"health-checks",name:"health-checks",meta:{title:"Health Checks"},component:function(){return n.e("chunk-998ec8ac").then(n.bind(null,"bdf4"))}},{path:"health-checks/:healthcheck",name:"health-checks-details",params:{healthcheck:":healthcheck"},meta:{title:"Health Check Details",breadcrumb:"Health Checks",parent:"health-checks"},component:function(){return Promise.all([n.e("chunk-007b5e11"),n.e("chunk-2d0f0fc2")]).then(n.bind(null,"9f65"))}},{path:"proxy-templates",name:"proxy-templates",meta:{title:"Proxy Templates"},component:function(){return n.e("chunk-7a587168").then(n.bind(null,"e399"))}},{path:"proxy-templates/:proxytemplate",name:"proxy-templates-details",params:{proxytemplate:":proxytemplate"},meta:{title:"Proxy Templates",breadcrumb:"Proxy Templates",parent:"proxy-templates"},component:function(){return Promise.all([n.e("chunk-007b5e11"),n.e("chunk-2d0bd422")]).then(n.bind(null,"2ada"))}}]}],a=new Ne["a"]({base:"/",routes:t});return a.beforeResolve((function(e,t,n){a.previous=t,n()})),a.beforeEach((function(e,t,n){var a=JSON.parse(localStorage.getItem("kumaOnboardingComplete")||null),r=e.meta.onboardingProcess;a&&!1!==a||r?n():n({name:"setup-welcome"})})),a.navigateUp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.currentRoute.path.split("/");if(n.length>=e){n.splice(n.length-e);var a=n.join("/");return t&&this.push({path:a}),a}},a.onReady((function(){e.commit("SET_GLOBAL_LOADING",{globalLoading:!0}),setTimeout((function(){e.commit("SET_GLOBAL_LOADING",{globalLoading:!1})}),1e3)})),a},Ie=n("58ca"),Ae=(n("8615"),n("96cf"),n("3b8d")),Ee={sections:[{name:"General",id:"general",skipRbac:!0,items:[{name:"General",title:!0,parent:"general"},{name:"Overview",link:"/overview",title:!1,parent:"general"}]},{name:"Entities",id:"entities",skipRbac:!0,items:[{name:"Entities",title:!0},{name:"Dataplanes",link:"/dataplanes",title:!1,parent:"entities"}]},{name:"Policies",id:"policies",skipRbac:!0,items:[{name:"Policies",title:!0},{name:"Health Checks",link:"/health-checks",title:!1,parent:"healthchecks"},{name:"Proxy Templates",link:"/proxy-templates",title:!1,parent:"policies"},{name:"Traffic Logs",link:"/traffic-logs",title:!1,parent:"policies"},{name:"Traffic Permissions",link:"/traffic-permissions",title:!1,parent:"policies"},{name:"Traffic Routes",link:"/traffic-routes",title:!1,parent:"policies"},{name:"Traffic Traces",link:"/traffic-traces",title:!1,parent:"policies"}]}]},_e={menu:Ee},xe={setMenu:function(e,t){e.menu=t}},we={namespaced:!0,state:_e,mutations:xe};a["a"].use(s["a"]);var Pe=function(e){var t=new s["a"].Store({modules:{sidebar:we},state:{onboardingComplete:!1,globalLoading:null,meshes:[],dataplanes:[],selectedMesh:"default",totalMeshCount:0,totalDataplaneCount:0,totalDataplaneList:[],anyDataplanesOffline:null,totalDataplaneCountFromMesh:0,totalTrafficRoutesCountFromMesh:0,totalTrafficPermissionsCountFromMesh:0,totalTrafficLogsCountFromMesh:0,totalTrafficTracesCountFromMesh:0,totalHealthChecksCountFromMesh:0,totalProxyTemplatesCountFromMesh:0,tagline:null,version:null,status:null},getters:{getOnboardingStatus:function(e){return e.onboardingComplete},globalLoading:function(e){return e.globalLoading},getSelectedMesh:function(e){return e.selectedMesh},getMeshList:function(e){return e.meshes},getDataplanes:function(e){return e.dataplanes},getDataplanesList:function(e){return e.totalDataplaneList},getAnyDpOffline:function(e){return e.anyDataplanesOffline},getTotalMeshCount:function(e){return e.totalMeshCount},getTotalDataplaneCount:function(e){return e.totalDataplaneCount},getTotalDataplaneCountFromMesh:function(e){return e.totalDataplaneCountFromMesh},getTotalTrafficRoutesCountFromMesh:function(e){return e.totalTrafficRoutesCountFromMesh},getTotalTrafficPermissionsCountFromMesh:function(e){return e.totalTrafficPermissionsCountFromMesh},getTotalHealthChecksFromMesh:function(e){return e.totalHealthChecksCountFromMesh},getTotalProxyTemplatesCountFromMesh:function(e){return e.totalProxyTemplatesCountFromMesh},getTrafficLogsFromMeshTotalCount:function(e){return e.totalTrafficLogsCountFromMesh},getTrafficTracesFromMeshTotalCount:function(e){return e.totalTrafficTracesCountFromMesh},getVersion:function(e){return e.version},getTagline:function(e){return e.tagline},getStatus:function(e){return e.status}},mutations:{SET_ONBOARDING_STATUS:function(e,t){e.onboardingComplete=t},SET_GLOBAL_LOADING:function(e,t){var n=t.globalLoading;e.globalLoading=n},FETCH_ALL_MESHES:function(e,t){e.meshes=t},FETCH_DATAPLANES_FROM_MESH:function(e,t){e.dataplanes=t},SET_SELECTED_MESH:function(e,t){e.selectedMesh=t},SET_TOTAL_MESH_COUNT:function(e,t){e.totalMeshCount=t},SET_TOTAL_DP_COUNT:function(e,t){e.totalDataplaneCount=t},SET_TOTAL_DP_LIST:function(e,t){e.totalDataplaneList=t},SET_ANY_DP_OFFLINE:function(e,t){e.anyDataplanesOffline=t},SET_TOTAL_DP_COUNT_FROM_MESH:function(e,t){e.totalDataplaneCountFromMesh=t},SET_TOTAL_TRAFFIC_ROUTES_COUNT_FROM_MESH:function(e,t){e.totalTrafficRoutesCountFromMesh=t},SET_TOTAL_TRAFFIC_PERMISSIONS_COUNT_FROM_MESH:function(e,t){e.totalTrafficPermissionsCountFromMesh=t},SET_TOTAL_TRAFFIC_LOGS_COUNT_FROM_MESH:function(e,t){e.totalTrafficLogsCountFromMesh=t},SET_TOTAL_TRAFFIC_TRACES_COUNT_FROM_MESH:function(e,t){e.totalTrafficTracesCountFromMesh=t},SET_TOTAL_HEALTH_CHECKS_COUNT_FROM_MESH:function(e,t){e.totalHealthChecksCountFromMesh=t},SET_TOTAL_PROXY_TEMPLATE_COUNT_FROM_MESH:function(e,t){e.totalProxyTemplatesCountFromMesh=t},SET_VERSION:function(e,t){e.version=t},SET_TAGLINE:function(e,t){e.tagline=t},SET_STATUS:function(e,t){e.status=t}},actions:{updateOnboardingStatus:function(e,t){var n=e.commit;n("SET_ONBOARDING_STATUS",t)},fetchMeshList:function(t){var n=t.commit;return e.getAllMeshes().then((function(e){n("FETCH_ALL_MESHES",e)})).catch((function(e){console.error(e)}))},fetchDataplanesFromMesh:function(t,n){var a=t.commit;return e.getAllDataplanesFromMesh(n).then((function(e){a("FETCH_DATAPLANES_FROM_MESH",e)})).catch((function(e){console.error(e)}))},updateSelectedMesh:function(e,t){var n=e.commit;n("SET_SELECTED_MESH",t)},getMeshTotalCount:function(t){var n=t.commit;return e.getAllMeshes().then((function(e){var t=e.items.length;n("SET_TOTAL_MESH_COUNT",t)})).catch((function(e){console.error(e)}))},getDataplaneTotalCount:function(t){var n=t.commit,a=function(){var t=Object(Ae["a"])(regeneratorRuntime.mark((function t(){var a,r,c,o,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getAllMeshes();case 2:a=t.sent,r=[],c=0;case 5:if(!(c<a.items.length)){t.next=16;break}return t.next=8,e.getAllDataplanesFromMesh(a.items[c].name);case 8:return o=t.sent,t.next=11,o.items.length;case 11:i=t.sent,r.push(i);case 13:c++,t.next=5;break;case 16:s=r.reduce((function(e,t){return e+t}),0),n("SET_TOTAL_DP_COUNT",s);case 18:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();a()},getAllDataplanes:function(t){var n=t.commit,a=function(){var t=Object(Ae["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(){var t=Object(Ae["a"])(regeneratorRuntime.mark((function t(a,r){var c,o,i,s,u,l,f,h,m,p,g,d,M,T,b;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getAllMeshes();case 2:c=t.sent,o=[],i=[],s=0;case 6:if(!(s<c.items.length)){t.next=28;break}return u=c.items[s].name,t.next=10,e.getAllDataplanesFromMesh(u);case 10:return l=t.sent,t.next=13,l.items;case 13:f=t.sent,h=0;case 15:if(!(h<f.length)){t.next=25;break}return m=f[h].name,p=f[h].mesh,t.next=20,e.getDataplaneOverviews(u,m).then((function(e){var t=e.dataplaneInsight.subscriptions;if(!(t&&t.length>0))return"Offline";for(var n=0;n<t.length;n++){var a=t[n].connectTime,r=t[n].disconnectTime;return a&&a.length&&!r?"Online":"Offline"}}));case 20:g=t.sent,o.push({status:g,name:m,mesh:p});case 22:h++,t.next=15;break;case 25:s++,t.next=6;break;case 28:for(d=0;d<Object.values(o).length;d++)M=Object.values(o[d])[0],T=!("Offline"===M||"offline"===M),i.push(T);b=i.some((function(e){return!1===e})),n("SET_ANY_DP_OFFLINE",b),n("SET_TOTAL_DP_LIST",o),a();case 33:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return a()},getDataplaneFromMeshTotalCount:function(t,n){var a=t.commit;return e.getAllDataplanesFromMesh(n).then((function(e){var t=e.items.length;a("SET_TOTAL_DP_COUNT_FROM_MESH",t)})).catch((function(e){console.error(e)}))},getTrafficRoutesFromMeshTotalCount:function(t,n){var a=t.commit;return e.getTrafficRoutes(n).then((function(e){var t=e.items.length;a("SET_TOTAL_TRAFFIC_ROUTES_COUNT_FROM_MESH",t)})).catch((function(e){console.error(e)}))},getTrafficPermissionsFromMeshTotalCount:function(t,n){var a=t.commit;return e.getTrafficPermissions(n).then((function(e){var t=e.items.length;a("SET_TOTAL_TRAFFIC_PERMISSIONS_COUNT_FROM_MESH",t)})).catch((function(e){console.error(e)}))},getTrafficLogsFromMeshTotalCount:function(t,n){var a=t.commit;return e.getTrafficLogs(n).then((function(e){var t=e.items.length;a("SET_TOTAL_TRAFFIC_LOGS_COUNT_FROM_MESH",t)})).catch((function(e){console.error(e)}))},getTrafficTracesFromMeshTotalCount:function(t,n){var a=t.commit;return e.getTrafficTraces(n).then((function(e){var t=e.items.length;a("SET_TOTAL_TRAFFIC_TRACES_COUNT_FROM_MESH",t)})).catch((function(e){console.error(e)}))},getHealthChecksFromMeshTotalCount:function(t,n){var a=t.commit;return e.getHealthChecks(n).then((function(e){var t=e.items.length;a("SET_TOTAL_HEALTH_CHECKS_COUNT_FROM_MESH",t)})).catch((function(e){console.error(e)}))},getProxyTemplatesTotalCount:function(t,n){var a=t.commit;return e.getProxyTemplates(n).then((function(e){var t=e.items.length;a("SET_TOTAL_PROXY_TEMPLATE_COUNT_FROM_MESH",t)})).catch((function(e){console.error(e)}))},getVersion:function(t){var n=t.commit;return e.getInfo().then((function(e){n("SET_VERSION",e.version)})).catch((function(e){console.error(e)}))},getTagline:function(t){var n=t.commit;return e.getInfo().then((function(e){n("SET_TAGLINE",e.tagline)})).catch((function(e){console.error(e)}))},getStatus:function(t){var n=t.commit;return e.getStatus().then((function(e){n("SET_STATUS","".concat(e))}))}}});return t},ze=n("bc3a"),Fe=n.n(ze),Ue=n("d225"),Ye=n("b0b4"),Qe=function(){function e(t){var a=this;Object(Ue["a"])(this,e);var r=n("94db");this.mock=new r(t,{delayResponse:1e3}),this.mock.injectMocks=function(){return a.mock}}return Object(Ye["a"])(e,[{key:"setupPluginMocks",value:function(){this.mock.injectMocks().onAny().passThrough()}},{key:"setupMockEndpoints",value:function(){console.warn("%c ✨You are mocking api requests.","background: gray; color: white; display: block; padding: 0.25rem;"),this.mock.onGet("/meshes/default/dataplanes").reply(200,{items:[{mesh:"default",name:"kuma-example-app",networking:{inbound:[{interface:"172.21.0.4:8000:8000",tags:{service:"kuma-example-app"}}]},type:"Dataplane"},{mesh:"default",name:"kuma-example-client",networking:{inbound:[{interface:"172.21.0.7:3000:3000",tags:{service:"kuma-example-client"}}],outbound:[{interface:":4000",service:"kuma-example-app"}]},type:"Dataplane"},{mesh:"default",name:"kuma-example-web",networking:{inbound:[{interface:"172.21.0.6:6060:6060",tags:{env:"prod",service:"kuma-example-web",version:"v8"}}],outbound:[{interface:":5000",service:"kuma-example-backend"}]},type:"Dataplane"},{mesh:"default",name:"kuma-example-backend-v1",networking:{inbound:[{interface:"172.21.0.3:7070:7070",tags:{env:"prod",service:"kuma-example-backend",version:"v1"}}]},type:"Dataplane"},{mesh:"default",name:"kuma-example-backend-v2",networking:{inbound:[{interface:"172.21.0.5:7070:7070",tags:{env:"intg",service:"kuma-example-backend",version:"v2"}}]},type:"Dataplane"}]}).onAny().passThrough()}}]),e}();function Re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $e=function(){function e(t){Object(Ue["a"])(this,e);var n=t||{};this.headers={},e.setupMocks(n.injectMocks),this.client=e.axiosInit()}return Object(Ye["a"])(e,[{key:"buildUrl",value:function(e){return"".concat(this.host).concat(e)}},{key:"status",value:function(){var e=Object(Ae["a"])(regeneratorRuntime.mark((function e(t,n){var a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:return a=e.sent,e.next=5,this.client;case 5:return r=e.sent,e.abrupt("return",r.get(a).then((function(e){return e.statusText})).catch((function(e){return console.error(e),e})));case 7:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"get",value:function(){var e=Object(Ae["a"])(regeneratorRuntime.mark((function e(t,n){var a,r,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n;case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0={};case 5:return a=e.t0,e.next=8,t;case 8:return r=e.sent,e.next=11,this.client;case 11:return c=e.sent,e.abrupt("return",c.get(r,a).then((function(e){var t=e.data;return t})).catch((function(e){console.error(e)})));case 13:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()}],[{key:"axiosInit",value:function(){var e=localStorage.getItem("kumaApiUrl");localStorage.getItem("kumaEnv");return Fe.a.create(He({baseURL:e,headers:this.headers},this.axiosConfig))}},{key:"setupMocks",value:function(e){var t=new Qe(Fe.a);e&&e.length&&e.forEach((function(e){e(t.mock)})),t.setupPluginMocks()}}]),e}(),Ke=function(){function e(t){Object(Ue["a"])(this,e);var n=t||{};this.options=n,this.client=new $e(n)}return Object(Ye["a"])(e,[{key:"buildUrl",value:function(e){return this.client.buildUrl(e)}},{key:"getInfo",value:function(){return this.client.get("/")}},{key:"getStatus",value:function(){return this.client.status()}},{key:"getAllMeshes",value:function(){return this.client.get("/meshes")}},{key:"getMesh",value:function(e,t){return this.client.get("/meshes/".concat(e),{params:t})}},{key:"getAllDataplanesFromMesh",value:function(e,t){return this.client.get("/meshes/".concat(e,"/dataplanes"),{params:t})}},{key:"getDataplane",value:function(e,t,n){return this.client.get("/meshes/".concat(e,"/dataplanes/").concat(t),{params:n})}},{key:"getDataplaneOverviews",value:function(e,t,n){return this.client.get("/meshes/".concat(e,"/dataplanes+insights/").concat(t),{params:n})}},{key:"getTrafficLogs",value:function(e,t){return this.client.get("/meshes/".concat(e,"/traffic-logs"),{params:t})}},{key:"getTrafficLog",value:function(e,t,n){return this.client.get("/meshes/".concat(e,"/traffic-logs/").concat(t),{params:n})}},{key:"getTrafficPermissions",value:function(e,t){return this.client.get("/meshes/".concat(e,"/traffic-permissions"),{params:t})}},{key:"getTrafficPermission",value:function(e,t,n){return this.client.get("/meshes/".concat(e,"/traffic-permissions/").concat(t),{params:n})}},{key:"getTrafficRoutes",value:function(e,t){return this.client.get("/meshes/".concat(e,"/traffic-routes"),{params:t})}},{key:"getTrafficRoute",value:function(e,t,n){return this.client.get("/meshes/".concat(e,"/traffic-routes/").concat(t),{params:n})}},{key:"getTrafficTraces",value:function(e,t){return this.client.get("/meshes/".concat(e,"/traffic-traces"),{params:t})}},{key:"getTrafficTrace",value:function(e,t,n){return this.client.get("/meshes/".concat(e,"/traffic-traces/").concat(t),{params:n})}},{key:"getProxyTemplates",value:function(e,t){return this.client.get("/meshes/".concat(e,"/proxytemplates"),{params:t})}},{key:"getProxyTemplate",value:function(e,t,n){return this.client.get("/meshes/".concat(e,"/proxytemplates/").concat(t),{params:n})}},{key:"getHealthChecks",value:function(e,t){return this.client.get("/meshes/".concat(e,"/health-checks"),{params:t})}},{key:"getHealthCheckFromMesh",value:function(e,t,n){return this.client.get("/meshes/".concat(e,"/health-checks/").concat(t),{params:n})}},{key:"getAllServices",value:function(e,t){return this.client.get("/meshes/".concat(e,"/services"),{params:t})}},{key:"getService",value:function(e,t,n){return this.client.get("/meshes/".concat(e,"/services/").concat(t),{params:n})}},{key:"getServiceOverviews",value:function(e,t,n){return this.client.get("/meshes/".concat(e,"/services+insights/").concat(t),{params:n})}}]),e}(),Ge=n("67cf"),Be=(n("d33e"),n("ce72")),We=n("d05b"),Ve=n("88d9"),Ze=n("cc21"),Je=n("633e"),Xe=n("0957"),qe=n("855c"),et=n("998b"),tt=n("aded"),nt=n("93a0");n("539a");a["a"].component("KAlert",Ge["a"]),a["a"].component("KButton",Be["a"]),a["a"].component("KCard",We["a"]),a["a"].component("KEmptyState",Ve["a"]),a["a"].component("KIcon",Ze["a"]),a["a"].component("KTable",Je["a"]),a["a"].component("KToaster",Xe["a"]),a["a"].component("KoolTip",qe["a"]),a["a"].component("KClipboardProvider",et["a"]),a["a"].component("Krumbs",tt["a"]),a["a"].component("KPop",nt["a"]);n("003e"),n("afe4"),n("017d"),n("2a3e"),n("6788"),n("927c"),n("e48d"),n("4267"),n("64e7"),n("fc2a"),n("a6f5");function at(){var e=new Ke;a["a"].prototype.$api=e;var t=Pe(e),n=Ce(t);new a["a"]({store:t,router:n,render:function(e){return e(De)}}).$mount("#app")}function rt(){Fe.a.get("/config").then((function(e){var t=e.data.apiUrl,n=e.data.environment,a=null!==localStorage.getItem("kumaEnv")?localStorage.getItem("kumaEnv").toString():null;localStorage.setItem("kumaApiUrl",t),a&&a===n||(localStorage.setItem("kumaOnboardingComplete",!1),localStorage.setItem("kumaEnv",n))})).then((function(){at()})).catch((function(e){at(),localStorage.removeItem("kumaApiUrl"),localStorage.removeItem("kumaOnboardingComplete"),localStorage.removeItem("kumaEnv"),localStorage.removeItem("selectedMesh"),console.error("There was a problem loading the config. Please try restarting Kuma."),console.error(e)}))}a["a"].use(Ie["a"]),a["a"].config.productionTip=!1,rt()},"64e7":function(e,t,n){},6788:function(e,t,n){},7148:function(e,t,n){"use strict";var a=n("1104"),r=n.n(a);r.a},8389:function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYzIiBoZWlnaHQ9IjQ2IiB2aWV3Qm94PSIwIDAgMTYzIDQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTcuOTY1IDQ0Ljk3M2MuMjI2LTEuMjE5IDEuNzQtMTMuNTk1IDIwLjg4OS0xNC44NjYgMTkuNDk2LS45OTIgMjEuMzQxIDExLjIyOCAyMS4zNDEgMTQuODgzaDguNDc4Yy44ODctNi4zODgtMy44NjUtMjkuOTQtMzIuMjM5LTI2LjI1LTIwLjM2NyAyLjYyOS0yMS4wOCAyNC45NjItMjEuMDggMjYuMjVsMi42MS0uMDE3eiIgZmlsbD0iI0VFNDg1RCIvPjxwYXRoIGQ9Ik0zMC41NiA0NC45NzNzLTguMjUxLTIwLjE0IDIwLjEwNS00MS43NzhjLjk0LTQuNTk1IDMuMTg2LTEuMzU4IDMuMTg2LTEuMzU4bDMuMzI1Ljk3NXM1Ljc2MSAxLjU1IDYuMTk3IDIuMjYzYy42OTYgMS4xNS44ODcgMi4yNjMgMS40OTcgMi40NTUuNjA5LjE5MSA0LjQ3MyAxLjc0IDQuNDczIDEuNzRsLTEuMTY2IDMuMDY0YTQ1LjYyNSA0NS42MjUgMCAwIDAtMTQuNzc5IDcuMjI0Yy04LjYgNi45NjMtMTcuMTI5IDE4LjEwNC0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jI5Ni0uMzMuODM5LS4zOTUgMi4xODhoLTMuMjljMC0yLjY4Mi4zNjEtMy43MDIgMS4wMzYtNC4zNzZ6bTkuNDkyIDEyLjc1di0zLjcwMmgtNC41OWMtMi4yMiAwLTIuNjQ4LjE2NC0yLjkyOC40Ni0uMjguMjk3LS40MjguNzA4LS40MjggMS44NiAwIDEuMTUxIDAgMS44OTIuMzMgMi4xNTUuMzI4LjI2My41NzUuMjYzIDEuMzY1LjI2M2gyLjQ2OGE2LjcyOSA2LjcyOSAwIDAgMCAzLjc4My0xLjAzNnoiLz48L2c+PC9nPjwvc3ZnPg=="},8527:function(e,t,n){},"8ab5":function(e,t,n){"use strict";var a=n("8527"),r=n.n(a);r.a},"8b1e":function(e,t,n){"use strict";var a=n("26c1"),r=n.n(a);r.a},"927c":function(e,t,n){},"92c7":function(e,t,n){"use strict";var a=n("d260"),r=n.n(a);r.a},afe4:function(e,t,n){},b2af:function(e,t,n){"use strict";function a(e){return JSON.parse(localStorage.getItem(e))}function r(e,t){return localStorage.setItem(e,t)}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}))},c232:function(e,t,n){"use strict";var a=n("dc6b"),r=n.n(a);r.a},c42d:function(e,t,n){e.exports=n.p+"img/kong-loader.c3083cbb.gif"},c6bf:function(e,t,n){"use strict";var a=n("e5d6"),r=n.n(a);r.a},c761:function(e,t,n){"use strict";var a=n("4bf2"),r=n.n(a);r.a},cf4e:function(e,t,n){},d260:function(e,t,n){},da13:function(e,t,n){},da59:function(e,t,n){"use strict";var a=n("101f"),r=n.n(a);r.a},db63:function(e,t,n){"use strict";var a=n("cf4e"),r=n.n(a);r.a},dc6b:function(e,t,n){},e48d:function(e,t,n){},e5d6:function(e,t,n){},fc2a:function(e,t,n){}});