@kong-ui-public/app-layout 4.2.36-pr.1599.ffad86d9.0 → 4.2.36-pr.1654.1d67a5b5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
- (function(V,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(V=typeof globalThis<"u"?globalThis:V||self,e(V["kong-ui-public-app-layout"]={},V.Vue))})(this,function(V,e){"use strict";const At=e.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(o){return(a,r)=>{const n=e.resolveComponent("KDropdownItem"),l=e.resolveComponent("KDropdown");return e.openBlock(),e.createBlock(l,{class:"account-dropdown","kpop-attributes":{placement:"bottom-end"},"trigger-text":o.userInitials,width:o.width},{items:e.withCtx(({handleSelection:u})=>[e.renderSlot(a.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,c=>(e.openBlock(),e.createBlock(n,{key:c.value,class:e.normalizeClass({"has-divider":c.hasDivider}),"data-testid":"select-"+c.value,"has-divider":c.hasDivider,onClick:b=>u(c)},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{option:c},()=>[e.createTextVNode(e.toDisplayString(c.label),1)],!0)]),_:2},1032,["class","data-testid","has-divider","onClick"]))),128))],!0)]),_:3},8,["trigger-text","width"])}}}),H=(o,a)=>{const r=o.__vccOpts||o;for(const[n,l]of a)r[n]=l;return r},xt=H(At,[["__scopeId","data-v-b33191a2"]]),Ft={class:"about-section-title","data-testid":"about-section-title"},Dt={class:"about-section-header-end"},Vt={key:0,class:"about-section-timestamps-created","data-testid":"about-section-timestamps-created"},Rt={key:1,class:"about-section-timestamps-arrow"},Lt={key:2,class:"about-section-timestamps-modified","data-testid":"about-section-timestamps-modified"},Mt={key:1,class:"about-section-actions","data-testid":"about-section-actions"},Pt={key:0,"data-testid":"about-section-loading-skeleton"},jt={key:1},Zt={key:0,class:"about-section-description","data-testid":"about-section-description"},Kt={key:1,class:"about-section-content","data-testid":"about-section-content"},Ht={key:2,"data-testid":"about-divider-section-separator"},zt={key:3,class:"about-divider-section","data-testid":"about-divider-section"},Ut=H(e.defineComponent({__name:"AppAboutSection",props:{title:{type:String,default:""},description:{type:String,default:""},created:{type:String,default:""},createdLabel:{type:String,default:"Created"},modified:{type:String,default:""},modifiedLabel:{type:String,default:"Modified"},isLoading:{type:Boolean,default:!1}},setup(o){const a=o,r=e.computed(()=>!!a.modified&&a.modified!==a.created);return(n,l)=>{const u=e.resolveComponent("KSkeletonBox"),c=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(c,{class:"kong-ui-app-about-section","title-tag":"h2"},e.createSlots({default:e.withCtx(()=>[o.isLoading?(e.openBlock(),e.createElementBlock("div",Pt,[e.createVNode(u,{height:"2",width:"100"}),e.createVNode(u,{height:"2",width:"100"})])):(e.openBlock(),e.createElementBlock("div",jt,[o.description?(e.openBlock(),e.createElementBlock("p",Zt,e.toDisplayString(o.description),1)):e.createCommentVNode("",!0),n.$slots.default?(e.openBlock(),e.createElementBlock("div",Kt,[e.renderSlot(n.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),n.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("hr",Ht)):e.createCommentVNode("",!0),n.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("div",zt,[e.renderSlot(n.$slots,"divider-section",{},void 0,!0)])):e.createCommentVNode("",!0)]))]),_:2},[o.title?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",Ft,e.toDisplayString(o.title),1)]),key:"0"}:void 0,n.$slots.actions||o.created||o.modified?{name:"actions",fn:e.withCtx(()=>[e.createElementVNode("div",Dt,[o.created||o.modified?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["about-section-timestamps",{"has-actions":n.$slots.actions}])},[o.created?(e.openBlock(),e.createElementBlock("span",Vt,e.toDisplayString(o.createdLabel)+": "+e.toDisplayString(o.created),1)):e.createCommentVNode("",!0),o.created&&r.value?(e.openBlock(),e.createElementBlock("span",Rt,"->")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("span",Lt,e.toDisplayString(o.modifiedLabel)+": "+e.toDisplayString(o.modified),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),n.$slots.actions?(e.openBlock(),e.createElementBlock("div",Mt,[e.renderSlot(n.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1024)}}}),[["__scopeId","data-v-521dcc27"]]),Wt={},Gt={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"};function qt(o,a){return e.openBlock(),e.createElementBlock("svg",Gt,a[0]||(a[0]=[e.createStaticVNode('<path clip-rule="evenodd" d="M19.111 120.198c-.226 0-.409-.164-.409-.368v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.367V66.89c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368V47.64c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.369v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368V9.138c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368ZM110.889 120.198c-.225 0-.408-.164-.408-.368v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.367V66.89c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368V47.64c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.369v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368V9.138c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Z" fill="#D6D6D6" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M123.553 107.758a.399.399 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.399.399 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H87.69a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.135 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408H37.01a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.067a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.067c.215 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H6.603a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409ZM123.553 21.434a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.399.399 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409H87.69a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.135 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409H37.01a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409H6.603a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Z" fill="#D6D6D6" fill-rule="evenodd"></path><circle cx="65" cy="65" opacity=".5" r="64" stroke="#B6B6BD" stroke-dasharray="5.69 5.69" stroke-linecap="round" stroke-width=".854"></circle><g clip-path="url(#a)" stroke="#169FCC" stroke-miterlimit="10" stroke-width="1.42"><path d="m33.523 104.868-5.72-.695a1.214 1.214 0 0 1-.766-.386 1.182 1.182 0 0 1-.312-.788v-7.448c0-.095.038-.186.106-.253a.365.365 0 0 1 .256-.104l5.254-.263M61.471 22.733a1.761 1.761 0 0 1 1.45.235 49.628 49.628 0 0 1 15.613 17.6 48.797 48.797 0 0 1 5.65 22.702 47.236 47.236 0 0 1-.333 5.325 41.34 41.34 0 0 0-12.501-.441 48.503 48.503 0 0 0-1.813-23.734 49.117 49.117 0 0 0-12.91-20.119c1.602-.591 3.223-1.136 4.844-1.568Z"></path><path d="M71.35 68.154a39.493 39.493 0 0 0-10.813 3.757 51.298 51.298 0 0 0 3.251-18.062c0-9.392-4.939-19.179-9.783-27.237-.257-.432 0-1.616 2.642-2.32"></path><path d="M56.236 78.58a13.605 13.605 0 0 0-4.29-9.289 14.017 14.017 0 0 0-9.622-3.786 9.617 9.617 0 0 1-6.456-2.446 9.341 9.341 0 0 1-3.079-6.1l-.286-4.256c3.09 0 9.46 4.105 13.216 4.866 3.757.76 8.21.253 11.862 3.437a13.303 13.303 0 0 1 4.357 6.575"></path><path d="M68.594 75.442c-3.432 6.95-7.914 11.59-14.303 16.033a47.076 47.076 0 0 1-21.702 8.058v-4.696c11.642-4.809 22.208-11.806 27.948-22.88"></path><path d="M76.499 84.815a46.939 46.939 0 0 1-17.392 14.511 50.925 50.925 0 0 1-22.885 5.457c-2.317 0-3.662.47-3.662-.695v-4.555"></path><path d="M83.85 68.595c22.304 16.22 4.044 39.25-19.652 37.663.954-.939 29.95-22.222-3.661-34.3"></path><path d="M84.184 58.47c13.607 0 25.746 26.242 17.383 30.995-1.182-17.508-17.716-20.87-17.716-20.87"></path></g><defs><clipPath id="a"><path d="M0 0h79v85H0z" fill="#fff" transform="translate(26 22)"></path></clipPath></defs>',5)]))}const Xt=H(Wt,[["render",qt]]),Yt={class:"kong-ui-app-error"},Jt={class:"banana-icon"},Qt={class:"kong-ui-app-error-content"},ea=H(e.defineComponent({__name:"AppError",setup(o){return(a,r)=>(e.openBlock(),e.createElementBlock("section",Yt,[e.createElementVNode("div",Jt,[e.createVNode(Xt)]),e.createElementVNode("div",Qt,[e.renderSlot(a.$slots,"default",{},()=>[r[0]||(r[0]=e.createElementVNode("h2",null,"An unexpected error has occurred",-1)),r[1]||(r[1]=e.createElementVNode("p",null,[e.createTextVNode("Go back to the previous page or "),e.createElementVNode("a",{href:"/"},"return home"),e.createTextVNode(".")],-1))],!0)])]))}}),[["__scopeId","data-v-5cbccc66"]]),ta={class:"kong-ui-app-navbar"},aa={class:"header-content"},na={class:"mobile-header-left"},oa={key:0,class:"app-navbar-logo"},ra={class:"navbar-content"},ia={class:"navbar-content-left"},ca={class:"navbar-content-center"},sa={class:"navbar-content-right"},ze=H(e.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(o){e.useCssVars(c=>({d96d0598:u.value.top,"05b18f8e":u.value.zIndex,"543b3ff0":u.value.left,"247c8fd0":l.marginRight,"278e63f0":l.width}));const a=o,r=e.useSlots(),n=e.computed(()=>!!r.logo),l=e.reactive({marginRight:"0",width:"0"});e.onMounted(()=>{var c,b;(b=(c=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:c.children)!=null&&b.length?(l.marginRight="32px",l.width="calc(240px - 32px)"):(l.marginRight="0",l.width="0")});const u=e.computed(()=>({top:a.topOffset?`${a.topOffset}px`:"0",left:a.leftOffset?`${a.leftOffset}px`:"0",zIndex:a.zIndex}));return(c,b)=>(e.openBlock(),e.createElementBlock("header",ta,[e.createElementVNode("div",aa,[e.createElementVNode("div",na,[e.renderSlot(c.$slots,"mobile-sidebar-toggle"),e.renderSlot(c.$slots,"mobile-logo")]),n.value?(e.openBlock(),e.createElementBlock("div",oa,[e.renderSlot(c.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",ra,[e.createElementVNode("div",ia,[e.renderSlot(c.$slots,"left")]),e.createElementVNode("div",ca,[e.renderSlot(c.$slots,"center")]),e.createElementVNode("div",sa,[e.renderSlot(c.$slots,"right")])])])]))}}),[["__scopeId","data-v-beca6ea9"]]),la=["title"],$e=99,da=H(e.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(o){const a=o,r=e.computed(()=>a.count?a.count>$e?`${$e}+`:a.count.toString():"");return(n,l)=>r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(o.count||0)>$e?String(o.count):void 0},e.toDisplayString(r.value),9,la)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-afb0d903"]]),ua=["data-testid"],fa=["aria-controls","aria-current","aria-expanded","href","target","onClick","onKeypress"],ma={key:0,class:"sidebar-item-icon"},ba={class:"sidebar-item-name-container"},pa={class:"sidebar-item-name has-tooltip"},ha={key:2,class:"sidebar-item-label truncate-text truncate-18"},ga=["id"],Ue=H(e.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(o,{emit:a}){const r=a,n=o,l=e.computed(()=>typeof n.item.to!="string"?!1:!!n.item.newWindow||!!n.item.external||n.item.to.startsWith("http")),u=e.computed(()=>!n.item.to||typeof n.item.to!="string"||!n.item.newWindow?!1:n.item.newWindow&&(n.item.to.startsWith("http")||n.item.to.startsWith("/"))),c=e.computed(()=>n.subnavItem&&n.item.badgeCount!==void 0),b=w=>{r("click",w)},g=(w,T,N)=>{b(T),typeof N=="function"&&(w.preventDefault(),N())};return(w,T)=>{var I;const N=e.resolveComponent("KTooltip"),_=e.resolveComponent("SidebarItem",!0);return e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass([o.subnavItem?"sidebar-item-secondary":"sidebar-item-primary",{expanded:o.item.expanded},{active:o.item.active}]),"data-testid":o.item.testId?`sidebar-item-${o.item.testId}`:void 0},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?"div":"router-link"),{custom:l.value?void 0:!0,to:!l.value&&!u.value?o.item.to:void 0},{default:e.withCtx(y=>{var A,K;return[e.createElementVNode("a",{"aria-controls":(A=o.item.items)!=null&&A.length&&o.item.expanded?`subnav-${o.item.key}`:void 0,"aria-current":o.item.active?"page":void 0,"aria-expanded":(K=o.item.items)!=null&&K.length&&o.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":u.value,"router-link":!l.value}]),href:l.value?String(o.item.to||"#"):y==null?void 0:y.href,target:u.value?"_blank":void 0,onClick:O=>g(O,o.item,y==null?void 0:y.navigate),onKeypress:e.withKeys(O=>g(O,o.item,y==null?void 0:y.navigate),["enter"])},[e.createElementVNode("div",{class:e.normalizeClass(["sidebar-item-display",{"has-label":!!o.item.label&&o.item.expanded,"has-badge":c.value}])},[w.$slots[`sidebar-icon-${o.item.key}`]?(e.openBlock(),e.createElementBlock("div",ma,[o.subnavItem?e.createCommentVNode("",!0):e.renderSlot(w.$slots,`sidebar-icon-${o.item.key}`,{key:0},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",ba,[(o.subnavItem?o.item.name.length<25:o.item.name.length<18)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sidebar-item-name truncate-text",[o.subnavItem?"has-badge-max-width truncate-24":"truncate-17"]])},e.toDisplayString(o.item.name),3)):(e.openBlock(),e.createBlock(N,{key:1,class:"sidebar-item-tooltip",placement:"right","position-fixed":"",text:o.item.name},{default:e.withCtx(()=>[e.createElementVNode("div",pa,[e.createElementVNode("span",{class:e.normalizeClass(["truncate-text",[o.subnavItem?"truncate-18":"truncate-17",{"has-badge-max-width":c.value}]])},e.toDisplayString(o.item.name),3)])]),_:1},8,["text"])),o.item.label&&o.item.expanded?(e.openBlock(),e.createElementBlock("div",ha,e.toDisplayString(o.item.label),1)):e.createCommentVNode("",!0)]),c.value?(e.openBlock(),e.createBlock(da,{key:1,count:o.item.badgeCount},null,8,["count"])):e.createCommentVNode("",!0)],2)],42,fa)]}),_:3},8,["custom","to"])),(I=o.item.items)!=null&&I.length&&o.item.expanded?(e.openBlock(),e.createElementBlock("ul",{key:0,id:`subnav-${o.item.key}`,class:"level-secondary"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.item.items,y=>(e.openBlock(),e.createBlock(_,{key:y.name,item:y,"subnav-item":!0,onClick:A=>b(y)},null,8,["item","onClick"]))),128))],8,ga)):e.createCommentVNode("",!0)],10,ua)}}}),[["__scopeId","data-v-90892c1e"]]);/*!
1
+ (function(L,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(L=typeof globalThis<"u"?globalThis:L||self,e(L["kong-ui-public-app-layout"]={},L.Vue))})(this,function(L,e){"use strict";const $t=e.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(n){return(a,o)=>{const r=e.resolveComponent("KDropdownItem"),s=e.resolveComponent("KDropdown");return e.openBlock(),e.createBlock(s,{class:"account-dropdown","kpop-attributes":{placement:"bottom-end"},"trigger-text":n.userInitials,width:n.width},{items:e.withCtx(({handleSelection:d})=>[e.renderSlot(a.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.options,c=>(e.openBlock(),e.createBlock(r,{key:c.value,class:e.normalizeClass({"has-divider":c.hasDivider}),"data-testid":"select-"+c.value,"has-divider":c.hasDivider,onClick:b=>d(c)},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{option:c},()=>[e.createTextVNode(e.toDisplayString(c.label),1)],!0)]),_:2},1032,["class","data-testid","has-divider","onClick"]))),128))],!0)]),_:3},8,["trigger-text","width"])}}}),K=(n,a)=>{const o=n.__vccOpts||n;for(const[r,s]of a)o[r]=s;return o},At=K($t,[["__scopeId","data-v-b33191a2"]]),xt={class:"about-section-title","data-testid":"about-section-title"},Ft={class:"about-section-header-end"},Dt={key:0,class:"about-section-timestamps-created","data-testid":"about-section-timestamps-created"},Vt={key:1,class:"about-section-timestamps-arrow"},Rt={key:2,class:"about-section-timestamps-modified","data-testid":"about-section-timestamps-modified"},Lt={key:1,class:"about-section-actions","data-testid":"about-section-actions"},Mt={key:0,"data-testid":"about-section-loading-skeleton"},Pt={key:1},jt={key:0,class:"about-section-description","data-testid":"about-section-description"},Zt={key:1,class:"about-section-content","data-testid":"about-section-content"},Kt={key:2,"data-testid":"about-divider-section-separator"},Ht={key:3,class:"about-divider-section","data-testid":"about-divider-section"},zt=K(e.defineComponent({__name:"AppAboutSection",props:{title:{type:String,default:""},description:{type:String,default:""},created:{type:String,default:""},createdLabel:{type:String,default:"Created"},modified:{type:String,default:""},modifiedLabel:{type:String,default:"Modified"},isLoading:{type:Boolean,default:!1}},setup(n){const a=n,o=e.computed(()=>!!a.modified&&a.modified!==a.created);return(r,s)=>{const d=e.resolveComponent("KSkeletonBox"),c=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(c,{class:"kong-ui-app-about-section","title-tag":"h2"},e.createSlots({default:e.withCtx(()=>[n.isLoading?(e.openBlock(),e.createElementBlock("div",Mt,[e.createVNode(d,{height:"2",width:"100"}),e.createVNode(d,{height:"2",width:"100"})])):(e.openBlock(),e.createElementBlock("div",Pt,[n.description?(e.openBlock(),e.createElementBlock("p",jt,e.toDisplayString(n.description),1)):e.createCommentVNode("",!0),r.$slots.default?(e.openBlock(),e.createElementBlock("div",Zt,[e.renderSlot(r.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),r.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("hr",Kt)):e.createCommentVNode("",!0),r.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("div",Ht,[e.renderSlot(r.$slots,"divider-section",{},void 0,!0)])):e.createCommentVNode("",!0)]))]),_:2},[n.title?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",xt,e.toDisplayString(n.title),1)]),key:"0"}:void 0,r.$slots.actions||n.created||n.modified?{name:"actions",fn:e.withCtx(()=>[e.createElementVNode("div",Ft,[n.created||n.modified?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["about-section-timestamps",{"has-actions":r.$slots.actions}])},[n.created?(e.openBlock(),e.createElementBlock("span",Dt,e.toDisplayString(n.createdLabel)+": "+e.toDisplayString(n.created),1)):e.createCommentVNode("",!0),n.created&&o.value?(e.openBlock(),e.createElementBlock("span",Vt,"->")):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock("span",Rt,e.toDisplayString(n.modifiedLabel)+": "+e.toDisplayString(n.modified),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),r.$slots.actions?(e.openBlock(),e.createElementBlock("div",Lt,[e.renderSlot(r.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1024)}}}),[["__scopeId","data-v-521dcc27"]]),Ut={},Wt={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"};function Gt(n,a){return e.openBlock(),e.createElementBlock("svg",Wt,a[0]||(a[0]=[e.createStaticVNode('<path clip-rule="evenodd" d="M19.111 120.198c-.226 0-.409-.164-.409-.368v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.367V66.89c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368V47.64c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.369v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368V9.138c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368ZM110.889 120.198c-.225 0-.408-.164-.408-.368v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.367V66.89c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368V47.64c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.369v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368V9.138c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Z" fill="#D6D6D6" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M123.553 107.758a.399.399 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.399.399 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H87.69a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.135 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408H37.01a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.067a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.067c.215 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H6.603a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409ZM123.553 21.434a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.399.399 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409H87.69a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.135 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409H37.01a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409H6.603a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Z" fill="#D6D6D6" fill-rule="evenodd"></path><circle cx="65" cy="65" opacity=".5" r="64" stroke="#B6B6BD" stroke-dasharray="5.69 5.69" stroke-linecap="round" stroke-width=".854"></circle><g clip-path="url(#a)" stroke="#169FCC" stroke-miterlimit="10" stroke-width="1.42"><path d="m33.523 104.868-5.72-.695a1.214 1.214 0 0 1-.766-.386 1.182 1.182 0 0 1-.312-.788v-7.448c0-.095.038-.186.106-.253a.365.365 0 0 1 .256-.104l5.254-.263M61.471 22.733a1.761 1.761 0 0 1 1.45.235 49.628 49.628 0 0 1 15.613 17.6 48.797 48.797 0 0 1 5.65 22.702 47.236 47.236 0 0 1-.333 5.325 41.34 41.34 0 0 0-12.501-.441 48.503 48.503 0 0 0-1.813-23.734 49.117 49.117 0 0 0-12.91-20.119c1.602-.591 3.223-1.136 4.844-1.568Z"></path><path d="M71.35 68.154a39.493 39.493 0 0 0-10.813 3.757 51.298 51.298 0 0 0 3.251-18.062c0-9.392-4.939-19.179-9.783-27.237-.257-.432 0-1.616 2.642-2.32"></path><path d="M56.236 78.58a13.605 13.605 0 0 0-4.29-9.289 14.017 14.017 0 0 0-9.622-3.786 9.617 9.617 0 0 1-6.456-2.446 9.341 9.341 0 0 1-3.079-6.1l-.286-4.256c3.09 0 9.46 4.105 13.216 4.866 3.757.76 8.21.253 11.862 3.437a13.303 13.303 0 0 1 4.357 6.575"></path><path d="M68.594 75.442c-3.432 6.95-7.914 11.59-14.303 16.033a47.076 47.076 0 0 1-21.702 8.058v-4.696c11.642-4.809 22.208-11.806 27.948-22.88"></path><path d="M76.499 84.815a46.939 46.939 0 0 1-17.392 14.511 50.925 50.925 0 0 1-22.885 5.457c-2.317 0-3.662.47-3.662-.695v-4.555"></path><path d="M83.85 68.595c22.304 16.22 4.044 39.25-19.652 37.663.954-.939 29.95-22.222-3.661-34.3"></path><path d="M84.184 58.47c13.607 0 25.746 26.242 17.383 30.995-1.182-17.508-17.716-20.87-17.716-20.87"></path></g><defs><clipPath id="a"><path d="M0 0h79v85H0z" fill="#fff" transform="translate(26 22)"></path></clipPath></defs>',5)]))}const qt=K(Ut,[["render",Gt]]),Xt={class:"kong-ui-app-error"},Yt={class:"banana-icon"},Jt={class:"kong-ui-app-error-content"},Qt=K(e.defineComponent({__name:"AppError",setup(n){return(a,o)=>(e.openBlock(),e.createElementBlock("section",Xt,[e.createElementVNode("div",Yt,[e.createVNode(qt)]),e.createElementVNode("div",Jt,[e.renderSlot(a.$slots,"default",{},()=>[o[0]||(o[0]=e.createElementVNode("h2",null,"An unexpected error has occurred",-1)),o[1]||(o[1]=e.createElementVNode("p",null,[e.createTextVNode("Go back to the previous page or "),e.createElementVNode("a",{href:"/"},"return home"),e.createTextVNode(".")],-1))],!0)])]))}}),[["__scopeId","data-v-5cbccc66"]]),ea={class:"kong-ui-app-navbar"},ta={class:"header-content"},aa={class:"mobile-header-left"},na={key:0,class:"app-navbar-logo"},ra={class:"navbar-content"},oa={class:"navbar-content-left"},ia={class:"navbar-content-center"},ca={class:"navbar-content-right"},He=K(e.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(n){e.useCssVars(c=>({d96d0598:d.value.top,"05b18f8e":d.value.zIndex,"543b3ff0":d.value.left,"247c8fd0":s.marginRight,"278e63f0":s.width}));const a=n,o=e.useSlots(),r=e.computed(()=>!!o.logo),s=e.reactive({marginRight:"0",width:"0"});e.onMounted(()=>{var c,b;(b=(c=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:c.children)!=null&&b.length?(s.marginRight="32px",s.width="calc(240px - 32px)"):(s.marginRight="0",s.width="0")});const d=e.computed(()=>({top:a.topOffset?`${a.topOffset}px`:"0",left:a.leftOffset?`${a.leftOffset}px`:"0",zIndex:a.zIndex}));return(c,b)=>(e.openBlock(),e.createElementBlock("header",ea,[e.createElementVNode("div",ta,[e.createElementVNode("div",aa,[e.renderSlot(c.$slots,"mobile-sidebar-toggle"),e.renderSlot(c.$slots,"mobile-logo")]),r.value?(e.openBlock(),e.createElementBlock("div",na,[e.renderSlot(c.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",ra,[e.createElementVNode("div",oa,[e.renderSlot(c.$slots,"left")]),e.createElementVNode("div",ia,[e.renderSlot(c.$slots,"center")]),e.createElementVNode("div",ca,[e.renderSlot(c.$slots,"right")])])])]))}}),[["__scopeId","data-v-beca6ea9"]]),sa=["title"],Oe=99,la=K(e.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(n){const a=n,o=e.computed(()=>a.count?a.count>Oe?`${Oe}+`:a.count.toString():"");return(r,s)=>o.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(n.count||0)>Oe?String(n.count):void 0},e.toDisplayString(o.value),9,sa)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-afb0d903"]]),da=["data-testid"],ua=["aria-controls","aria-current","aria-expanded","href","target","onClick","onKeypress"],fa={key:0,class:"sidebar-item-icon"},ma={class:"sidebar-item-name-container"},ba={class:"sidebar-item-name has-tooltip"},pa={key:2,class:"sidebar-item-label truncate-text truncate-18"},ha=["id"],ze=K(e.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(n,{emit:a}){const o=a,r=n,s=e.computed(()=>typeof r.item.to!="string"?!1:!!r.item.newWindow||!!r.item.external||r.item.to.startsWith("http")),d=e.computed(()=>!r.item.to||typeof r.item.to!="string"||!r.item.newWindow?!1:r.item.newWindow&&(r.item.to.startsWith("http")||r.item.to.startsWith("/"))),c=e.computed(()=>r.subnavItem&&r.item.badgeCount!==void 0),b=w=>{o("click",w)},g=(w,T,N)=>{b(T),typeof N=="function"&&(w.preventDefault(),N())};return(w,T)=>{var x;const N=e.resolveComponent("KTooltip"),_=e.resolveComponent("SidebarItem",!0);return e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass([n.subnavItem?"sidebar-item-secondary":"sidebar-item-primary",{expanded:n.item.expanded},{active:n.item.active}]),"data-testid":n.item.testId?`sidebar-item-${n.item.testId}`:void 0},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.value?"div":"router-link"),{custom:s.value?void 0:!0,to:!s.value&&!d.value?n.item.to:void 0},{default:e.withCtx(k=>{var F,Z;return[e.createElementVNode("a",{"aria-controls":(F=n.item.items)!=null&&F.length&&n.item.expanded?`subnav-${n.item.key}`:void 0,"aria-current":n.item.active?"page":void 0,"aria-expanded":(Z=n.item.items)!=null&&Z.length&&n.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":d.value,"router-link":!s.value}]),href:s.value?String(n.item.to||"#"):k==null?void 0:k.href,target:d.value?"_blank":void 0,onClick:$=>g($,n.item,k==null?void 0:k.navigate),onKeypress:e.withKeys($=>g($,n.item,k==null?void 0:k.navigate),["enter"])},[e.createElementVNode("div",{class:e.normalizeClass(["sidebar-item-display",{"has-label":!!n.item.label&&n.item.expanded,"has-badge":c.value}])},[w.$slots[`sidebar-icon-${n.item.key}`]?(e.openBlock(),e.createElementBlock("div",fa,[n.subnavItem?e.createCommentVNode("",!0):e.renderSlot(w.$slots,`sidebar-icon-${n.item.key}`,{key:0},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",ma,[(n.subnavItem?n.item.name.length<25:n.item.name.length<18)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sidebar-item-name truncate-text",[n.subnavItem?"has-badge-max-width truncate-24":"truncate-17"]])},e.toDisplayString(n.item.name),3)):(e.openBlock(),e.createBlock(N,{key:1,class:"sidebar-item-tooltip",placement:"right","position-fixed":"",text:n.item.name},{default:e.withCtx(()=>[e.createElementVNode("div",ba,[e.createElementVNode("span",{class:e.normalizeClass(["truncate-text",[n.subnavItem?"truncate-18":"truncate-17",{"has-badge-max-width":c.value}]])},e.toDisplayString(n.item.name),3)])]),_:1},8,["text"])),n.item.label&&n.item.expanded?(e.openBlock(),e.createElementBlock("div",pa,e.toDisplayString(n.item.label),1)):e.createCommentVNode("",!0)]),c.value?(e.openBlock(),e.createBlock(la,{key:1,count:n.item.badgeCount},null,8,["count"])):e.createCommentVNode("",!0)],2)],42,ua)]}),_:3},8,["custom","to"])),(x=n.item.items)!=null&&x.length&&n.item.expanded?(e.openBlock(),e.createElementBlock("ul",{key:0,id:`subnav-${n.item.key}`,class:"level-secondary"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.items,k=>(e.openBlock(),e.createBlock(_,{key:k.name,item:k,"subnav-item":!0,onClick:F=>b(k)},null,8,["item","onClick"]))),128))],8,ha)):e.createCommentVNode("",!0)],10,da)}}}),[["__scopeId","data-v-90892c1e"]]);/*!
2
2
  * tabbable 6.2.0
3
3
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4
- */var We=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],ge=We.join(","),Ge=typeof Element>"u",te=Ge?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ve=!Ge&&Element.prototype.getRootNode?function(o){var a;return o==null||(a=o.getRootNode)===null||a===void 0?void 0:a.call(o)}:function(o){return o==null?void 0:o.ownerDocument},ye=function o(a,r){var n;r===void 0&&(r=!0);var l=a==null||(n=a.getAttribute)===null||n===void 0?void 0:n.call(a,"inert"),u=l===""||l==="true",c=u||r&&a&&o(a.parentNode);return c},va=function(a){var r,n=a==null||(r=a.getAttribute)===null||r===void 0?void 0:r.call(a,"contenteditable");return n===""||n==="true"},qe=function(a,r,n){if(ye(a))return[];var l=Array.prototype.slice.apply(a.querySelectorAll(ge));return r&&te.call(a,ge)&&l.unshift(a),l=l.filter(n),l},Xe=function o(a,r,n){for(var l=[],u=Array.from(a);u.length;){var c=u.shift();if(!ye(c,!1))if(c.tagName==="SLOT"){var b=c.assignedElements(),g=b.length?b:c.children,w=o(g,!0,n);n.flatten?l.push.apply(l,w):l.push({scopeParent:c,candidates:w})}else{var T=te.call(c,ge);T&&n.filter(c)&&(r||!a.includes(c))&&l.push(c);var N=c.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(c),_=!ye(N,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(c));if(N&&_){var I=o(N===!0?c.children:N.children,!0,n);n.flatten?l.push.apply(l,I):l.push({scopeParent:c,candidates:I})}else u.unshift.apply(u,c.children)}}return l},Ye=function(a){return!isNaN(parseInt(a.getAttribute("tabindex"),10))},ae=function(a){if(!a)throw new Error("No node provided");return a.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(a.tagName)||va(a))&&!Ye(a)?0:a.tabIndex},ya=function(a,r){var n=ae(a);return n<0&&r&&!Ye(a)?0:n},ka=function(a,r){return a.tabIndex===r.tabIndex?a.documentOrder-r.documentOrder:a.tabIndex-r.tabIndex},Je=function(a){return a.tagName==="INPUT"},wa=function(a){return Je(a)&&a.type==="hidden"},Ca=function(a){var r=a.tagName==="DETAILS"&&Array.prototype.slice.apply(a.children).some(function(n){return n.tagName==="SUMMARY"});return r},Sa=function(a,r){for(var n=0;n<a.length;n++)if(a[n].checked&&a[n].form===r)return a[n]},Ea=function(a){if(!a.name)return!0;var r=a.form||ve(a),n=function(b){return r.querySelectorAll('input[type="radio"][name="'+b+'"]')},l;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")l=n(window.CSS.escape(a.name));else try{l=n(a.name)}catch(c){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",c.message),!1}var u=Sa(l,a.form);return!u||u===a},Na=function(a){return Je(a)&&a.type==="radio"},Ta=function(a){return Na(a)&&!Ea(a)},Ba=function(a){var r,n=a&&ve(a),l=(r=n)===null||r===void 0?void 0:r.host,u=!1;if(n&&n!==a){var c,b,g;for(u=!!((c=l)!==null&&c!==void 0&&(b=c.ownerDocument)!==null&&b!==void 0&&b.contains(l)||a!=null&&(g=a.ownerDocument)!==null&&g!==void 0&&g.contains(a));!u&&l;){var w,T,N;n=ve(l),l=(w=n)===null||w===void 0?void 0:w.host,u=!!((T=l)!==null&&T!==void 0&&(N=T.ownerDocument)!==null&&N!==void 0&&N.contains(l))}}return u},Qe=function(a){var r=a.getBoundingClientRect(),n=r.width,l=r.height;return n===0&&l===0},_a=function(a,r){var n=r.displayCheck,l=r.getShadowRoot;if(getComputedStyle(a).visibility==="hidden")return!0;var u=te.call(a,"details>summary:first-of-type"),c=u?a.parentElement:a;if(te.call(c,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof l=="function"){for(var b=a;a;){var g=a.parentElement,w=ve(a);if(g&&!g.shadowRoot&&l(g)===!0)return Qe(a);a.assignedSlot?a=a.assignedSlot:!g&&w!==a.ownerDocument?a=w.host:a=g}a=b}if(Ba(a))return!a.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return Qe(a);return!1},Ia=function(a){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(a.tagName))for(var r=a.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var l=r.children.item(n);if(l.tagName==="LEGEND")return te.call(r,"fieldset[disabled] *")?!0:!l.contains(a)}return!0}r=r.parentElement}return!1},ke=function(a,r){return!(r.disabled||ye(r)||wa(r)||_a(r,a)||Ca(r)||Ia(r))},Ae=function(a,r){return!(Ta(r)||ae(r)<0||!ke(a,r))},Oa=function(a){var r=parseInt(a.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},$a=function o(a){var r=[],n=[];return a.forEach(function(l,u){var c=!!l.scopeParent,b=c?l.scopeParent:l,g=ya(b,c),w=c?o(l.candidates):b;g===0?c?r.push.apply(r,w):r.push(b):n.push({documentOrder:u,tabIndex:g,item:l,isScope:c,content:w})}),n.sort(ka).reduce(function(l,u){return u.isScope?l.push.apply(l,u.content):l.push(u.content),l},[]).concat(r)},Aa=function(a,r){r=r||{};var n;return r.getShadowRoot?n=Xe([a],r.includeContainer,{filter:Ae.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Oa}):n=qe(a,r.includeContainer,Ae.bind(null,r)),$a(n)},xa=function(a,r){r=r||{};var n;return r.getShadowRoot?n=Xe([a],r.includeContainer,{filter:ke.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):n=qe(a,r.includeContainer,ke.bind(null,r)),n},ie=function(a,r){if(r=r||{},!a)throw new Error("No node provided");return te.call(a,ge)===!1?!1:Ae(r,a)},Fa=We.concat("iframe").join(","),xe=function(a,r){if(r=r||{},!a)throw new Error("No node provided");return te.call(a,Fa)===!1?!1:ke(r,a)};/*!
5
- * focus-trap 7.6.0
4
+ */var Ue=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],ge=Ue.join(","),We=typeof Element>"u",Q=We?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ve=!We&&Element.prototype.getRootNode?function(n){var a;return n==null||(a=n.getRootNode)===null||a===void 0?void 0:a.call(n)}:function(n){return n==null?void 0:n.ownerDocument},ye=function n(a,o){var r;o===void 0&&(o=!0);var s=a==null||(r=a.getAttribute)===null||r===void 0?void 0:r.call(a,"inert"),d=s===""||s==="true",c=d||o&&a&&n(a.parentNode);return c},ga=function(a){var o,r=a==null||(o=a.getAttribute)===null||o===void 0?void 0:o.call(a,"contenteditable");return r===""||r==="true"},Ge=function(a,o,r){if(ye(a))return[];var s=Array.prototype.slice.apply(a.querySelectorAll(ge));return o&&Q.call(a,ge)&&s.unshift(a),s=s.filter(r),s},qe=function n(a,o,r){for(var s=[],d=Array.from(a);d.length;){var c=d.shift();if(!ye(c,!1))if(c.tagName==="SLOT"){var b=c.assignedElements(),g=b.length?b:c.children,w=n(g,!0,r);r.flatten?s.push.apply(s,w):s.push({scopeParent:c,candidates:w})}else{var T=Q.call(c,ge);T&&r.filter(c)&&(o||!a.includes(c))&&s.push(c);var N=c.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(c),_=!ye(N,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(c));if(N&&_){var x=n(N===!0?c.children:N.children,!0,r);r.flatten?s.push.apply(s,x):s.push({scopeParent:c,candidates:x})}else d.unshift.apply(d,c.children)}}return s},Xe=function(a){return!isNaN(parseInt(a.getAttribute("tabindex"),10))},ee=function(a){if(!a)throw new Error("No node provided");return a.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(a.tagName)||ga(a))&&!Xe(a)?0:a.tabIndex},va=function(a,o){var r=ee(a);return r<0&&o&&!Xe(a)?0:r},ya=function(a,o){return a.tabIndex===o.tabIndex?a.documentOrder-o.documentOrder:a.tabIndex-o.tabIndex},Ye=function(a){return a.tagName==="INPUT"},ka=function(a){return Ye(a)&&a.type==="hidden"},wa=function(a){var o=a.tagName==="DETAILS"&&Array.prototype.slice.apply(a.children).some(function(r){return r.tagName==="SUMMARY"});return o},Ca=function(a,o){for(var r=0;r<a.length;r++)if(a[r].checked&&a[r].form===o)return a[r]},Sa=function(a){if(!a.name)return!0;var o=a.form||ve(a),r=function(b){return o.querySelectorAll('input[type="radio"][name="'+b+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=r(window.CSS.escape(a.name));else try{s=r(a.name)}catch(c){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",c.message),!1}var d=Ca(s,a.form);return!d||d===a},Ea=function(a){return Ye(a)&&a.type==="radio"},Na=function(a){return Ea(a)&&!Sa(a)},Ta=function(a){var o,r=a&&ve(a),s=(o=r)===null||o===void 0?void 0:o.host,d=!1;if(r&&r!==a){var c,b,g;for(d=!!((c=s)!==null&&c!==void 0&&(b=c.ownerDocument)!==null&&b!==void 0&&b.contains(s)||a!=null&&(g=a.ownerDocument)!==null&&g!==void 0&&g.contains(a));!d&&s;){var w,T,N;r=ve(s),s=(w=r)===null||w===void 0?void 0:w.host,d=!!((T=s)!==null&&T!==void 0&&(N=T.ownerDocument)!==null&&N!==void 0&&N.contains(s))}}return d},Je=function(a){var o=a.getBoundingClientRect(),r=o.width,s=o.height;return r===0&&s===0},Ba=function(a,o){var r=o.displayCheck,s=o.getShadowRoot;if(getComputedStyle(a).visibility==="hidden")return!0;var d=Q.call(a,"details>summary:first-of-type"),c=d?a.parentElement:a;if(Q.call(c,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof s=="function"){for(var b=a;a;){var g=a.parentElement,w=ve(a);if(g&&!g.shadowRoot&&s(g)===!0)return Je(a);a.assignedSlot?a=a.assignedSlot:!g&&w!==a.ownerDocument?a=w.host:a=g}a=b}if(Ta(a))return!a.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Je(a);return!1},_a=function(a){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(a.tagName))for(var o=a.parentElement;o;){if(o.tagName==="FIELDSET"&&o.disabled){for(var r=0;r<o.children.length;r++){var s=o.children.item(r);if(s.tagName==="LEGEND")return Q.call(o,"fieldset[disabled] *")?!0:!s.contains(a)}return!0}o=o.parentElement}return!1},ke=function(a,o){return!(o.disabled||ye(o)||ka(o)||Ba(o,a)||wa(o)||_a(o))},$e=function(a,o){return!(Na(o)||ee(o)<0||!ke(a,o))},Ia=function(a){var o=parseInt(a.getAttribute("tabindex"),10);return!!(isNaN(o)||o>=0)},Oa=function n(a){var o=[],r=[];return a.forEach(function(s,d){var c=!!s.scopeParent,b=c?s.scopeParent:s,g=va(b,c),w=c?n(s.candidates):b;g===0?c?o.push.apply(o,w):o.push(b):r.push({documentOrder:d,tabIndex:g,item:s,isScope:c,content:w})}),r.sort(ya).reduce(function(s,d){return d.isScope?s.push.apply(s,d.content):s.push(d.content),s},[]).concat(o)},$a=function(a,o){o=o||{};var r;return o.getShadowRoot?r=qe([a],o.includeContainer,{filter:$e.bind(null,o),flatten:!1,getShadowRoot:o.getShadowRoot,shadowRootFilter:Ia}):r=Ge(a,o.includeContainer,$e.bind(null,o)),Oa(r)},Aa=function(a,o){o=o||{};var r;return o.getShadowRoot?r=qe([a],o.includeContainer,{filter:ke.bind(null,o),flatten:!0,getShadowRoot:o.getShadowRoot}):r=Ge(a,o.includeContainer,ke.bind(null,o)),r},oe=function(a,o){if(o=o||{},!a)throw new Error("No node provided");return Q.call(a,ge)===!1?!1:$e(o,a)},xa=Ue.concat("iframe").join(","),Ae=function(a,o){if(o=o||{},!a)throw new Error("No node provided");return Q.call(a,xa)===!1?!1:ke(o,a)};/*!
5
+ * focus-trap 7.5.4
6
6
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
7
- */function Da(o,a,r){return(a=Ra(a))in o?Object.defineProperty(o,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[a]=r,o}function et(o,a){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);a&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(o,l).enumerable})),r.push.apply(r,n)}return r}function tt(o){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?et(Object(r),!0).forEach(function(n){Da(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):et(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function Va(o,a){if(typeof o!="object"||!o)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,a||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(o)}function Ra(o){var a=Va(o,"string");return typeof a=="symbol"?a:a+""}var at={activateTrap:function(a,r){if(a.length>0){var n=a[a.length-1];n!==r&&n.pause()}var l=a.indexOf(r);l===-1||a.splice(l,1),a.push(r)},deactivateTrap:function(a,r){var n=a.indexOf(r);n!==-1&&a.splice(n,1),a.length>0&&a[a.length-1].unpause()}},La=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},Ma=function(a){return(a==null?void 0:a.key)==="Escape"||(a==null?void 0:a.key)==="Esc"||(a==null?void 0:a.keyCode)===27},ue=function(a){return(a==null?void 0:a.key)==="Tab"||(a==null?void 0:a.keyCode)===9},Pa=function(a){return ue(a)&&!a.shiftKey},ja=function(a){return ue(a)&&a.shiftKey},nt=function(a){return setTimeout(a,0)},ot=function(a,r){var n=-1;return a.every(function(l,u){return r(l)?(n=u,!1):!0}),n},fe=function(a){for(var r=arguments.length,n=new Array(r>1?r-1:0),l=1;l<r;l++)n[l-1]=arguments[l];return typeof a=="function"?a.apply(void 0,n):a},we=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},Za=[],Ka=function(a,r){var n=(r==null?void 0:r.document)||document,l=(r==null?void 0:r.trapStack)||Za,u=tt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Pa,isKeyBackward:ja},r),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b,g=function(f,s,m){return f&&f[s]!==void 0?f[s]:u[m||s]},w=function(f,s){var m=typeof(s==null?void 0:s.composedPath)=="function"?s.composedPath():void 0;return c.containerGroups.findIndex(function(p){var k=p.container,E=p.tabbableNodes;return k.contains(f)||(m==null?void 0:m.includes(k))||E.find(function(B){return B===f})})},T=function(f){var s=u[f];if(typeof s=="function"){for(var m=arguments.length,p=new Array(m>1?m-1:0),k=1;k<m;k++)p[k-1]=arguments[k];s=s.apply(void 0,p)}if(s===!0&&(s=void 0),!s){if(s===void 0||s===!1)return s;throw new Error("`".concat(f,"` was specified but was not a node, or did not return a node"))}var E=s;if(typeof s=="string"&&(E=n.querySelector(s),!E))throw new Error("`".concat(f,"` as selector refers to no known node"));return E},N=function(){var f=T("initialFocus");if(f===!1)return!1;if(f===void 0||!xe(f,u.tabbableOptions))if(w(n.activeElement)>=0)f=n.activeElement;else{var s=c.tabbableGroups[0],m=s&&s.firstTabbableNode;f=m||T("fallbackFocus")}if(!f)throw new Error("Your focus-trap needs to have at least one focusable element");return f},_=function(){if(c.containerGroups=c.containers.map(function(f){var s=Aa(f,u.tabbableOptions),m=xa(f,u.tabbableOptions),p=s.length>0?s[0]:void 0,k=s.length>0?s[s.length-1]:void 0,E=m.find(function($){return ie($)}),B=m.slice().reverse().find(function($){return ie($)}),v=!!s.find(function($){return ae($)>0});return{container:f,tabbableNodes:s,focusableNodes:m,posTabIndexesFound:v,firstTabbableNode:p,lastTabbableNode:k,firstDomTabbableNode:E,lastDomTabbableNode:B,nextTabbableNode:function(q){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,W=s.indexOf(q);return W<0?L?m.slice(m.indexOf(q)+1).find(function(Q){return ie(Q)}):m.slice(0,m.indexOf(q)).reverse().find(function(Q){return ie(Q)}):s[W+(L?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(f){return f.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!T("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(c.containerGroups.find(function(f){return f.posTabIndexesFound})&&c.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},I=function(f){var s=f.activeElement;if(s)return s.shadowRoot&&s.shadowRoot.activeElement!==null?I(s.shadowRoot):s},y=function(f){if(f!==!1&&f!==I(document)){if(!f||!f.focus){y(N());return}f.focus({preventScroll:!!u.preventScroll}),c.mostRecentlyFocusedNode=f,La(f)&&f.select()}},A=function(f){var s=T("setReturnFocus",f);return s||(s===!1?!1:f)},K=function(f){var s=f.target,m=f.event,p=f.isBackward,k=p===void 0?!1:p;s=s||we(m),_();var E=null;if(c.tabbableGroups.length>0){var B=w(s,m),v=B>=0?c.containerGroups[B]:void 0;if(B<0)k?E=c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:E=c.tabbableGroups[0].firstTabbableNode;else if(k){var $=ot(c.tabbableGroups,function(me){var be=me.firstTabbableNode;return s===be});if($<0&&(v.container===s||xe(s,u.tabbableOptions)&&!ie(s,u.tabbableOptions)&&!v.nextTabbableNode(s,!1))&&($=B),$>=0){var q=$===0?c.tabbableGroups.length-1:$-1,L=c.tabbableGroups[q];E=ae(s)>=0?L.lastTabbableNode:L.lastDomTabbableNode}else ue(m)||(E=v.nextTabbableNode(s,!1))}else{var W=ot(c.tabbableGroups,function(me){var be=me.lastTabbableNode;return s===be});if(W<0&&(v.container===s||xe(s,u.tabbableOptions)&&!ie(s,u.tabbableOptions)&&!v.nextTabbableNode(s))&&(W=B),W>=0){var Q=W===c.tabbableGroups.length-1?0:W+1,Ee=c.tabbableGroups[Q];E=ae(s)>=0?Ee.firstTabbableNode:Ee.firstDomTabbableNode}else ue(m)||(E=v.nextTabbableNode(s))}}else E=T("fallbackFocus");return E},O=function(f){var s=we(f);if(!(w(s,f)>=0)){if(fe(u.clickOutsideDeactivates,f)){b.deactivate({returnFocus:u.returnFocusOnDeactivate});return}fe(u.allowOutsideClick,f)||f.preventDefault()}},G=function(f){var s=we(f),m=w(s,f)>=0;if(m||s instanceof Document)m&&(c.mostRecentlyFocusedNode=s);else{f.stopImmediatePropagation();var p,k=!0;if(c.mostRecentlyFocusedNode)if(ae(c.mostRecentlyFocusedNode)>0){var E=w(c.mostRecentlyFocusedNode),B=c.containerGroups[E].tabbableNodes;if(B.length>0){var v=B.findIndex(function($){return $===c.mostRecentlyFocusedNode});v>=0&&(u.isKeyForward(c.recentNavEvent)?v+1<B.length&&(p=B[v+1],k=!1):v-1>=0&&(p=B[v-1],k=!1))}}else c.containerGroups.some(function($){return $.tabbableNodes.some(function(q){return ae(q)>0})})||(k=!1);else k=!1;k&&(p=K({target:c.mostRecentlyFocusedNode,isBackward:u.isKeyBackward(c.recentNavEvent)})),y(p||c.mostRecentlyFocusedNode||N())}c.recentNavEvent=void 0},J=function(f){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;c.recentNavEvent=f;var m=K({event:f,isBackward:s});m&&(ue(f)&&f.preventDefault(),y(m))},z=function(f){(u.isKeyForward(f)||u.isKeyBackward(f))&&J(f,u.isKeyBackward(f))},U=function(f){Ma(f)&&fe(u.escapeDeactivates,f)!==!1&&(f.preventDefault(),b.deactivate())},D=function(f){var s=we(f);w(s,f)>=0||fe(u.clickOutsideDeactivates,f)||fe(u.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},Z=function(){if(c.active)return at.activateTrap(l,b),c.delayInitialFocusTimer=u.delayInitialFocus?nt(function(){y(N())}):y(N()),n.addEventListener("focusin",G,!0),n.addEventListener("mousedown",O,{capture:!0,passive:!1}),n.addEventListener("touchstart",O,{capture:!0,passive:!1}),n.addEventListener("click",D,{capture:!0,passive:!1}),n.addEventListener("keydown",z,{capture:!0,passive:!1}),n.addEventListener("keydown",U),b},C=function(){if(c.active)return n.removeEventListener("focusin",G,!0),n.removeEventListener("mousedown",O,!0),n.removeEventListener("touchstart",O,!0),n.removeEventListener("click",D,!0),n.removeEventListener("keydown",z,!0),n.removeEventListener("keydown",U),b},x=function(f){var s=f.some(function(m){var p=Array.from(m.removedNodes);return p.some(function(k){return k===c.mostRecentlyFocusedNode})});s&&y(N())},M=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(x):void 0,R=function(){M&&(M.disconnect(),c.active&&!c.paused&&c.containers.map(function(f){M.observe(f,{subtree:!0,childList:!0})}))};return b={get active(){return c.active},get paused(){return c.paused},activate:function(f){if(c.active)return this;var s=g(f,"onActivate"),m=g(f,"onPostActivate"),p=g(f,"checkCanFocusTrap");p||_(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=n.activeElement,s==null||s();var k=function(){p&&_(),Z(),R(),m==null||m()};return p?(p(c.containers.concat()).then(k,k),this):(k(),this)},deactivate:function(f){if(!c.active)return this;var s=tt({onDeactivate:u.onDeactivate,onPostDeactivate:u.onPostDeactivate,checkCanReturnFocus:u.checkCanReturnFocus},f);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,C(),c.active=!1,c.paused=!1,R(),at.deactivateTrap(l,b);var m=g(s,"onDeactivate"),p=g(s,"onPostDeactivate"),k=g(s,"checkCanReturnFocus"),E=g(s,"returnFocus","returnFocusOnDeactivate");m==null||m();var B=function(){nt(function(){E&&y(A(c.nodeFocusedBeforeActivation)),p==null||p()})};return E&&k?(k(A(c.nodeFocusedBeforeActivation)).then(B,B),this):(B(),this)},pause:function(f){if(c.paused||!c.active)return this;var s=g(f,"onPause"),m=g(f,"onPostPause");return c.paused=!0,s==null||s(),C(),R(),m==null||m(),this},unpause:function(f){if(!c.paused||!c.active)return this;var s=g(f,"onUnpause"),m=g(f,"onPostUnpause");return c.paused=!1,s==null||s(),_(),Z(),R(),m==null||m(),this},updateContainerElements:function(f){var s=[].concat(f).filter(Boolean);return c.containers=s.map(function(m){return typeof m=="string"?n.querySelector(m):m}),c.active&&_(),R(),this}},b.updateContainerElements(a),b};/*!
7
+ */function Qe(n,a){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);a&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable})),o.push.apply(o,r)}return o}function et(n){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?Qe(Object(o),!0).forEach(function(r){Fa(n,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):Qe(Object(o)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(o,r))})}return n}function Fa(n,a,o){return a=Va(a),a in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o,n}function Da(n,a){if(typeof n!="object"||n===null)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var r=o.call(n,a||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)}function Va(n){var a=Da(n,"string");return typeof a=="symbol"?a:String(a)}var tt={activateTrap:function(a,o){if(a.length>0){var r=a[a.length-1];r!==o&&r.pause()}var s=a.indexOf(o);s===-1||a.splice(s,1),a.push(o)},deactivateTrap:function(a,o){var r=a.indexOf(o);r!==-1&&a.splice(r,1),a.length>0&&a[a.length-1].unpause()}},Ra=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},La=function(a){return(a==null?void 0:a.key)==="Escape"||(a==null?void 0:a.key)==="Esc"||(a==null?void 0:a.keyCode)===27},de=function(a){return(a==null?void 0:a.key)==="Tab"||(a==null?void 0:a.keyCode)===9},Ma=function(a){return de(a)&&!a.shiftKey},Pa=function(a){return de(a)&&a.shiftKey},at=function(a){return setTimeout(a,0)},nt=function(a,o){var r=-1;return a.every(function(s,d){return o(s)?(r=d,!1):!0}),r},ue=function(a){for(var o=arguments.length,r=new Array(o>1?o-1:0),s=1;s<o;s++)r[s-1]=arguments[s];return typeof a=="function"?a.apply(void 0,r):a},we=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},ja=[],Za=function(a,o){var r=(o==null?void 0:o.document)||document,s=(o==null?void 0:o.trapStack)||ja,d=et({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Ma,isKeyBackward:Pa},o),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b,g=function(f,u,m){return f&&f[u]!==void 0?f[u]:d[m||u]},w=function(f,u){var m=typeof(u==null?void 0:u.composedPath)=="function"?u.composedPath():void 0;return c.containerGroups.findIndex(function(y){var p=y.container,S=y.tabbableNodes;return p.contains(f)||(m==null?void 0:m.includes(p))||S.find(function(B){return B===f})})},T=function(f){var u=d[f];if(typeof u=="function"){for(var m=arguments.length,y=new Array(m>1?m-1:0),p=1;p<m;p++)y[p-1]=arguments[p];u=u.apply(void 0,y)}if(u===!0&&(u=void 0),!u){if(u===void 0||u===!1)return u;throw new Error("`".concat(f,"` was specified but was not a node, or did not return a node"))}var S=u;if(typeof u=="string"&&(S=r.querySelector(u),!S))throw new Error("`".concat(f,"` as selector refers to no known node"));return S},N=function(){var f=T("initialFocus");if(f===!1)return!1;if(f===void 0||!Ae(f,d.tabbableOptions))if(w(r.activeElement)>=0)f=r.activeElement;else{var u=c.tabbableGroups[0],m=u&&u.firstTabbableNode;f=m||T("fallbackFocus")}if(!f)throw new Error("Your focus-trap needs to have at least one focusable element");return f},_=function(){if(c.containerGroups=c.containers.map(function(f){var u=$a(f,d.tabbableOptions),m=Aa(f,d.tabbableOptions),y=u.length>0?u[0]:void 0,p=u.length>0?u[u.length-1]:void 0,S=m.find(function(v){return oe(v)}),B=m.slice().reverse().find(function(v){return oe(v)}),I=!!u.find(function(v){return ee(v)>0});return{container:f,tabbableNodes:u,focusableNodes:m,posTabIndexesFound:I,firstTabbableNode:y,lastTabbableNode:p,firstDomTabbableNode:S,lastDomTabbableNode:B,nextTabbableNode:function(W){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,A=u.indexOf(W);return A<0?te?m.slice(m.indexOf(W)+1).find(function(Y){return oe(Y)}):m.slice(0,m.indexOf(W)).reverse().find(function(Y){return oe(Y)}):u[A+(te?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(f){return f.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!T("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(c.containerGroups.find(function(f){return f.posTabIndexesFound})&&c.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},x=function C(f){var u=f.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?C(u.shadowRoot):u},k=function C(f){if(f!==!1&&f!==x(document)){if(!f||!f.focus){C(N());return}f.focus({preventScroll:!!d.preventScroll}),c.mostRecentlyFocusedNode=f,Ra(f)&&f.select()}},F=function(f){var u=T("setReturnFocus",f);return u||(u===!1?!1:f)},Z=function(f){var u=f.target,m=f.event,y=f.isBackward,p=y===void 0?!1:y;u=u||we(m),_();var S=null;if(c.tabbableGroups.length>0){var B=w(u,m),I=B>=0?c.containerGroups[B]:void 0;if(B<0)p?S=c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:S=c.tabbableGroups[0].firstTabbableNode;else if(p){var v=nt(c.tabbableGroups,function(me){var be=me.firstTabbableNode;return u===be});if(v<0&&(I.container===u||Ae(u,d.tabbableOptions)&&!oe(u,d.tabbableOptions)&&!I.nextTabbableNode(u,!1))&&(v=B),v>=0){var W=v===0?c.tabbableGroups.length-1:v-1,te=c.tabbableGroups[W];S=ee(u)>=0?te.lastTabbableNode:te.lastDomTabbableNode}else de(m)||(S=I.nextTabbableNode(u,!1))}else{var A=nt(c.tabbableGroups,function(me){var be=me.lastTabbableNode;return u===be});if(A<0&&(I.container===u||Ae(u,d.tabbableOptions)&&!oe(u,d.tabbableOptions)&&!I.nextTabbableNode(u))&&(A=B),A>=0){var Y=A===c.tabbableGroups.length-1?0:A+1,fe=c.tabbableGroups[Y];S=ee(u)>=0?fe.firstTabbableNode:fe.firstDomTabbableNode}else de(m)||(S=I.nextTabbableNode(u))}}else S=T("fallbackFocus");return S},$=function(f){var u=we(f);if(!(w(u,f)>=0)){if(ue(d.clickOutsideDeactivates,f)){b.deactivate({returnFocus:d.returnFocusOnDeactivate});return}ue(d.allowOutsideClick,f)||f.preventDefault()}},U=function(f){var u=we(f),m=w(u,f)>=0;if(m||u instanceof Document)m&&(c.mostRecentlyFocusedNode=u);else{f.stopImmediatePropagation();var y,p=!0;if(c.mostRecentlyFocusedNode)if(ee(c.mostRecentlyFocusedNode)>0){var S=w(c.mostRecentlyFocusedNode),B=c.containerGroups[S].tabbableNodes;if(B.length>0){var I=B.findIndex(function(v){return v===c.mostRecentlyFocusedNode});I>=0&&(d.isKeyForward(c.recentNavEvent)?I+1<B.length&&(y=B[I+1],p=!1):I-1>=0&&(y=B[I-1],p=!1))}}else c.containerGroups.some(function(v){return v.tabbableNodes.some(function(W){return ee(W)>0})})||(p=!1);else p=!1;p&&(y=Z({target:c.mostRecentlyFocusedNode,isBackward:d.isKeyBackward(c.recentNavEvent)})),k(y||c.mostRecentlyFocusedNode||N())}c.recentNavEvent=void 0},X=function(f){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;c.recentNavEvent=f;var m=Z({event:f,isBackward:u});m&&(de(f)&&f.preventDefault(),k(m))},H=function(f){if(La(f)&&ue(d.escapeDeactivates,f)!==!1){f.preventDefault(),b.deactivate();return}(d.isKeyForward(f)||d.isKeyBackward(f))&&X(f,d.isKeyBackward(f))},z=function(f){var u=we(f);w(u,f)>=0||ue(d.clickOutsideDeactivates,f)||ue(d.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},V=function(){if(c.active)return tt.activateTrap(s,b),c.delayInitialFocusTimer=d.delayInitialFocus?at(function(){k(N())}):k(N()),r.addEventListener("focusin",U,!0),r.addEventListener("mousedown",$,{capture:!0,passive:!1}),r.addEventListener("touchstart",$,{capture:!0,passive:!1}),r.addEventListener("click",z,{capture:!0,passive:!1}),r.addEventListener("keydown",H,{capture:!0,passive:!1}),b},j=function(){if(c.active)return r.removeEventListener("focusin",U,!0),r.removeEventListener("mousedown",$,!0),r.removeEventListener("touchstart",$,!0),r.removeEventListener("click",z,!0),r.removeEventListener("keydown",H,!0),b},E=function(f){var u=f.some(function(m){var y=Array.from(m.removedNodes);return y.some(function(p){return p===c.mostRecentlyFocusedNode})});u&&k(N())},O=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(E):void 0,R=function(){O&&(O.disconnect(),c.active&&!c.paused&&c.containers.map(function(f){O.observe(f,{subtree:!0,childList:!0})}))};return b={get active(){return c.active},get paused(){return c.paused},activate:function(f){if(c.active)return this;var u=g(f,"onActivate"),m=g(f,"onPostActivate"),y=g(f,"checkCanFocusTrap");y||_(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=r.activeElement,u==null||u();var p=function(){y&&_(),V(),R(),m==null||m()};return y?(y(c.containers.concat()).then(p,p),this):(p(),this)},deactivate:function(f){if(!c.active)return this;var u=et({onDeactivate:d.onDeactivate,onPostDeactivate:d.onPostDeactivate,checkCanReturnFocus:d.checkCanReturnFocus},f);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,j(),c.active=!1,c.paused=!1,R(),tt.deactivateTrap(s,b);var m=g(u,"onDeactivate"),y=g(u,"onPostDeactivate"),p=g(u,"checkCanReturnFocus"),S=g(u,"returnFocus","returnFocusOnDeactivate");m==null||m();var B=function(){at(function(){S&&k(F(c.nodeFocusedBeforeActivation)),y==null||y()})};return S&&p?(p(F(c.nodeFocusedBeforeActivation)).then(B,B),this):(B(),this)},pause:function(f){if(c.paused||!c.active)return this;var u=g(f,"onPause"),m=g(f,"onPostPause");return c.paused=!0,u==null||u(),j(),R(),m==null||m(),this},unpause:function(f){if(!c.paused||!c.active)return this;var u=g(f,"onUnpause"),m=g(f,"onPostUnpause");return c.paused=!1,u==null||u(),_(),V(),R(),m==null||m(),this},updateContainerElements:function(f){var u=[].concat(f).filter(Boolean);return c.containers=u.map(function(m){return typeof m=="string"?r.querySelector(m):m}),c.active&&_(),R(),this}},b.updateContainerElements(a),b};/*!
8
8
  * focus-trap-vue v4.0.2
9
9
  * (c) 2023 Eduardo San Martin Morote
10
10
  * @license MIT
11
- */function qo(o){return o}const Ha={escapeDeactivates:{type:Boolean,default:!0},returnFocusOnDeactivate:{type:Boolean,default:!0},allowOutsideClick:{type:[Boolean,Function],default:!0},clickOutsideDeactivates:[Boolean,Function],initialFocus:[String,Function,Boolean],fallbackFocus:[String,Function],checkCanFocusTrap:Function,checkCanReturnFocus:Function,delayInitialFocus:{type:Boolean,default:!0},document:Object,preventScroll:Boolean,setReturnFocus:[Object,String,Boolean,Function],tabbableOptions:Object},za=e.defineComponent({props:Object.assign({active:{type:Boolean,default:!0}},Ha),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(o,{slots:a,emit:r}){let n;const l=e.ref(null),u=e.computed(()=>{const b=l.value;return b&&(b instanceof HTMLElement?b:b.$el)});function c(){return n||(n=Ka(u.value,{escapeDeactivates:o.escapeDeactivates,allowOutsideClick:o.allowOutsideClick,returnFocusOnDeactivate:o.returnFocusOnDeactivate,clickOutsideDeactivates:o.clickOutsideDeactivates,onActivate:()=>{r("update:active",!0),r("activate")},onDeactivate:()=>{r("update:active",!1),r("deactivate")},onPostActivate:()=>r("postActivate"),onPostDeactivate:()=>r("postDeactivate"),initialFocus:o.initialFocus,fallbackFocus:o.fallbackFocus,tabbableOptions:o.tabbableOptions,delayInitialFocus:o.delayInitialFocus,preventScroll:o.preventScroll}))}return e.onMounted(()=>{e.watch(()=>o.active,b=>{b&&u.value?c().activate():n&&(n.deactivate(),(!u.value||u.value.nodeType===Node.COMMENT_NODE)&&(n=null))},{immediate:!0,flush:"post"})}),e.onUnmounted(()=>{n&&n.deactivate(),n=null}),{activate(){c().activate()},deactivate(){n&&n.deactivate()},renderImpl(){if(!a.default)return null;const b=a.default().filter(w=>w.type!==e.Comment);return!b||!b.length||b.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),b):e.cloneVNode(b[0],{ref:l})}}}});function rt(){return{debounce:(a,r)=>{let n;return(...l)=>{clearTimeout(n),n=window==null?void 0:window.setTimeout(()=>{a(...l)},r)}}}}var Ce=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ua(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var Se={exports:{}};Se.exports,function(o,a){var r=200,n="__lodash_hash_undefined__",l=9007199254740991,u="[object Arguments]",c="[object Array]",b="[object Boolean]",g="[object Date]",w="[object Error]",T="[object Function]",N="[object GeneratorFunction]",_="[object Map]",I="[object Number]",y="[object Object]",A="[object Promise]",K="[object RegExp]",O="[object Set]",G="[object String]",J="[object Symbol]",z="[object WeakMap]",U="[object ArrayBuffer]",D="[object DataView]",Z="[object Float32Array]",C="[object Float64Array]",x="[object Int8Array]",M="[object Int16Array]",R="[object Int32Array]",S="[object Uint8Array]",f="[object Uint8ClampedArray]",s="[object Uint16Array]",m="[object Uint32Array]",p=/[\\^$.*+?()[\]{}|]/g,k=/\w*$/,E=/^\[object .+?Constructor\]$/,B=/^(?:0|[1-9]\d*)$/,v={};v[u]=v[c]=v[U]=v[D]=v[b]=v[g]=v[Z]=v[C]=v[x]=v[M]=v[R]=v[_]=v[I]=v[y]=v[K]=v[O]=v[G]=v[J]=v[S]=v[f]=v[s]=v[m]=!0,v[w]=v[T]=v[z]=!1;var $=typeof Ce=="object"&&Ce&&Ce.Object===Object&&Ce,q=typeof self=="object"&&self&&self.Object===Object&&self,L=$||q||Function("return this")(),W=a&&!a.nodeType&&a,Q=W&&!0&&o&&!o.nodeType&&o,Ee=Q&&Q.exports===W;function me(t,i){return t.set(i[0],i[1]),t}function be(t,i){return t.add(i),t}function _n(t,i){for(var d=-1,h=t?t.length:0;++d<h&&i(t[d],d,t)!==!1;);return t}function In(t,i){for(var d=-1,h=i.length,F=t.length;++d<h;)t[F+d]=i[d];return t}function lt(t,i,d,h){for(var F=-1,P=t?t.length:0;++F<P;)d=i(d,t[F],F,t);return d}function On(t,i){for(var d=-1,h=Array(t);++d<t;)h[d]=i(d);return h}function $n(t,i){return t==null?void 0:t[i]}function dt(t){var i=!1;if(t!=null&&typeof t.toString!="function")try{i=!!(t+"")}catch{}return i}function ut(t){var i=-1,d=Array(t.size);return t.forEach(function(h,F){d[++i]=[F,h]}),d}function Fe(t,i){return function(d){return t(i(d))}}function ft(t){var i=-1,d=Array(t.size);return t.forEach(function(h){d[++i]=h}),d}var An=Array.prototype,xn=Function.prototype,Ne=Object.prototype,De=L["__core-js_shared__"],mt=function(){var t=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),bt=xn.toString,ee=Ne.hasOwnProperty,Te=Ne.toString,Fn=RegExp("^"+bt.call(ee).replace(p,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),pt=Ee?L.Buffer:void 0,ht=L.Symbol,gt=L.Uint8Array,Dn=Fe(Object.getPrototypeOf,Object),Vn=Object.create,Rn=Ne.propertyIsEnumerable,Ln=An.splice,vt=Object.getOwnPropertySymbols,Mn=pt?pt.isBuffer:void 0,Pn=Fe(Object.keys,Object),Ve=le(L,"DataView"),pe=le(L,"Map"),Re=le(L,"Promise"),Le=le(L,"Set"),Me=le(L,"WeakMap"),he=le(Object,"create"),jn=re(Ve),Zn=re(pe),Kn=re(Re),Hn=re(Le),zn=re(Me),yt=ht?ht.prototype:void 0,kt=yt?yt.valueOf:void 0;function ne(t){var i=-1,d=t?t.length:0;for(this.clear();++i<d;){var h=t[i];this.set(h[0],h[1])}}function Un(){this.__data__=he?he(null):{}}function Wn(t){return this.has(t)&&delete this.__data__[t]}function Gn(t){var i=this.__data__;if(he){var d=i[t];return d===n?void 0:d}return ee.call(i,t)?i[t]:void 0}function qn(t){var i=this.__data__;return he?i[t]!==void 0:ee.call(i,t)}function Xn(t,i){var d=this.__data__;return d[t]=he&&i===void 0?n:i,this}ne.prototype.clear=Un,ne.prototype.delete=Wn,ne.prototype.get=Gn,ne.prototype.has=qn,ne.prototype.set=Xn;function X(t){var i=-1,d=t?t.length:0;for(this.clear();++i<d;){var h=t[i];this.set(h[0],h[1])}}function Yn(){this.__data__=[]}function Jn(t){var i=this.__data__,d=Be(i,t);if(d<0)return!1;var h=i.length-1;return d==h?i.pop():Ln.call(i,d,1),!0}function Qn(t){var i=this.__data__,d=Be(i,t);return d<0?void 0:i[d][1]}function eo(t){return Be(this.__data__,t)>-1}function to(t,i){var d=this.__data__,h=Be(d,t);return h<0?d.push([t,i]):d[h][1]=i,this}X.prototype.clear=Yn,X.prototype.delete=Jn,X.prototype.get=Qn,X.prototype.has=eo,X.prototype.set=to;function ce(t){var i=-1,d=t?t.length:0;for(this.clear();++i<d;){var h=t[i];this.set(h[0],h[1])}}function ao(){this.__data__={hash:new ne,map:new(pe||X),string:new ne}}function no(t){return _e(this,t).delete(t)}function oo(t){return _e(this,t).get(t)}function ro(t){return _e(this,t).has(t)}function io(t,i){return _e(this,t).set(t,i),this}ce.prototype.clear=ao,ce.prototype.delete=no,ce.prototype.get=oo,ce.prototype.has=ro,ce.prototype.set=io;function se(t){this.__data__=new X(t)}function co(){this.__data__=new X}function so(t){return this.__data__.delete(t)}function lo(t){return this.__data__.get(t)}function uo(t){return this.__data__.has(t)}function fo(t,i){var d=this.__data__;if(d instanceof X){var h=d.__data__;if(!pe||h.length<r-1)return h.push([t,i]),this;d=this.__data__=new ce(h)}return d.set(t,i),this}se.prototype.clear=co,se.prototype.delete=so,se.prototype.get=lo,se.prototype.has=uo,se.prototype.set=fo;function mo(t,i){var d=Ze(t)||Ro(t)?On(t.length,String):[],h=d.length,F=!!h;for(var P in t)ee.call(t,P)&&!(F&&(P=="length"||xo(P,h)))&&d.push(P);return d}function wt(t,i,d){var h=t[i];(!(ee.call(t,i)&&Nt(h,d))||d===void 0&&!(i in t))&&(t[i]=d)}function Be(t,i){for(var d=t.length;d--;)if(Nt(t[d][0],i))return d;return-1}function bo(t,i){return t&&Ct(i,Ke(i),t)}function Pe(t,i,d,h,F,P,Y){var j;if(h&&(j=P?h(t,F,P,Y):h(t)),j!==void 0)return j;if(!Ie(t))return t;var _t=Ze(t);if(_t){if(j=Oo(t),!i)return Bo(t,j)}else{var de=oe(t),It=de==T||de==N;if(Mo(t))return ko(t,i);if(de==y||de==u||It&&!P){if(dt(t))return P?t:{};if(j=$o(It?{}:t),!i)return _o(t,bo(j,t))}else{if(!v[de])return P?t:{};j=Ao(t,de,Pe,i)}}Y||(Y=new se);var Ot=Y.get(t);if(Ot)return Ot;if(Y.set(t,j),!_t)var $t=d?Io(t):Ke(t);return _n($t||t,function(He,Oe){$t&&(Oe=He,He=t[Oe]),wt(j,Oe,Pe(He,i,d,h,Oe,t,Y))}),j}function po(t){return Ie(t)?Vn(t):{}}function ho(t,i,d){var h=i(t);return Ze(t)?h:In(h,d(t))}function go(t){return Te.call(t)}function vo(t){if(!Ie(t)||Do(t))return!1;var i=Bt(t)||dt(t)?Fn:E;return i.test(re(t))}function yo(t){if(!Et(t))return Pn(t);var i=[];for(var d in Object(t))ee.call(t,d)&&d!="constructor"&&i.push(d);return i}function ko(t,i){if(i)return t.slice();var d=new t.constructor(t.length);return t.copy(d),d}function je(t){var i=new t.constructor(t.byteLength);return new gt(i).set(new gt(t)),i}function wo(t,i){var d=i?je(t.buffer):t.buffer;return new t.constructor(d,t.byteOffset,t.byteLength)}function Co(t,i,d){var h=i?d(ut(t),!0):ut(t);return lt(h,me,new t.constructor)}function So(t){var i=new t.constructor(t.source,k.exec(t));return i.lastIndex=t.lastIndex,i}function Eo(t,i,d){var h=i?d(ft(t),!0):ft(t);return lt(h,be,new t.constructor)}function No(t){return kt?Object(kt.call(t)):{}}function To(t,i){var d=i?je(t.buffer):t.buffer;return new t.constructor(d,t.byteOffset,t.length)}function Bo(t,i){var d=-1,h=t.length;for(i||(i=Array(h));++d<h;)i[d]=t[d];return i}function Ct(t,i,d,h){d||(d={});for(var F=-1,P=i.length;++F<P;){var Y=i[F],j=void 0;wt(d,Y,j===void 0?t[Y]:j)}return d}function _o(t,i){return Ct(t,St(t),i)}function Io(t){return ho(t,Ke,St)}function _e(t,i){var d=t.__data__;return Fo(i)?d[typeof i=="string"?"string":"hash"]:d.map}function le(t,i){var d=$n(t,i);return vo(d)?d:void 0}var St=vt?Fe(vt,Object):Zo,oe=go;(Ve&&oe(new Ve(new ArrayBuffer(1)))!=D||pe&&oe(new pe)!=_||Re&&oe(Re.resolve())!=A||Le&&oe(new Le)!=O||Me&&oe(new Me)!=z)&&(oe=function(t){var i=Te.call(t),d=i==y?t.constructor:void 0,h=d?re(d):void 0;if(h)switch(h){case jn:return D;case Zn:return _;case Kn:return A;case Hn:return O;case zn:return z}return i});function Oo(t){var i=t.length,d=t.constructor(i);return i&&typeof t[0]=="string"&&ee.call(t,"index")&&(d.index=t.index,d.input=t.input),d}function $o(t){return typeof t.constructor=="function"&&!Et(t)?po(Dn(t)):{}}function Ao(t,i,d,h){var F=t.constructor;switch(i){case U:return je(t);case b:case g:return new F(+t);case D:return wo(t,h);case Z:case C:case x:case M:case R:case S:case f:case s:case m:return To(t,h);case _:return Co(t,h,d);case I:case G:return new F(t);case K:return So(t);case O:return Eo(t,h,d);case J:return No(t)}}function xo(t,i){return i=i??l,!!i&&(typeof t=="number"||B.test(t))&&t>-1&&t%1==0&&t<i}function Fo(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Do(t){return!!mt&&mt in t}function Et(t){var i=t&&t.constructor,d=typeof i=="function"&&i.prototype||Ne;return t===d}function re(t){if(t!=null){try{return bt.call(t)}catch{}try{return t+""}catch{}}return""}function Vo(t){return Pe(t,!0,!0)}function Nt(t,i){return t===i||t!==t&&i!==i}function Ro(t){return Lo(t)&&ee.call(t,"callee")&&(!Rn.call(t,"callee")||Te.call(t)==u)}var Ze=Array.isArray;function Tt(t){return t!=null&&Po(t.length)&&!Bt(t)}function Lo(t){return jo(t)&&Tt(t)}var Mo=Mn||Ko;function Bt(t){var i=Ie(t)?Te.call(t):"";return i==T||i==N}function Po(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=l}function Ie(t){var i=typeof t;return!!t&&(i=="object"||i=="function")}function jo(t){return!!t&&typeof t=="object"}function Ke(t){return Tt(t)?mo(t):yo(t)}function Zo(){return[]}function Ko(){return!1}o.exports=Vo}(Se,Se.exports);var Wa=Se.exports;const Ga=Ua(Wa),qa={key:0,class:"sidebar-header"},Xa={class:"sidebar-content-container"},Ya={key:0,class:"sidebar-top"},Ja={"aria-label":"Main menu"},Qa={key:0,class:"level-primary top-items"},en={key:1,class:"sidebar-level-divider",role:"separator"},tn={key:2,class:"level-primary bottom-items"},an={class:"sidebar-footer"},it=H(e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},headerHeight:{type:Number,default:60},topOffset:{type:Number,default:0},zIndex:{type:Number,default:3},open:{type:Boolean,default:!1},mobileEnabled:{type:Boolean,default:!1},mobileTopOffset:{type:Number,default:0},mobileHeaderVisible:{type:Boolean,default:!1},mobileCloseDelay:{type:Number,default:350},mobileOverlay:{type:Boolean,default:!0},mobileOverlayZIndex:{type:Number,default:null},mobileOverlayCloseOnClick:{type:Boolean,default:!0}},emits:["click","toggle"],setup(o,{emit:a}){e.useCssVars(s=>({"5decedf8":b.value.mobileHeight,"621c03b8":b.value.mobileTop,"1a4a2eb0":o.zIndex,c3efec14:b.value.height,f812da34:b.value.top,"98cbd98c":w.value.marginTop,"3b672422":S.value,"3b821012":g.value.display,"4c860169":g.value.minHeight,"98cd1a16":T.value.top,"362eded8":T.value.zIndex}));const r=a,n=o,l=e.useSlots(),u=e.computed(()=>!!l.header),c=e.computed(()=>!!l.top),b=e.computed(()=>({mobileTop:n.mobileTopOffset&&n.mobileEnabled?`${n.mobileTopOffset}px`:n.topOffset?`${n.topOffset}px`:"0",top:n.topOffset?`${n.topOffset}px`:"0",mobileHeight:n.mobileTopOffset&&n.mobileEnabled?`calc(100% - ${n.mobileTopOffset}px)`:"100%",height:n.topOffset?`calc(100% - ${n.topOffset}px)`:"100%"})),g=e.computed(()=>({display:!n.mobileHeaderVisible&&n.mobileEnabled?"none":"flex",minHeight:`${n.headerHeight}px`})),w=e.computed(()=>({marginTop:u.value?`${n.headerHeight}px`:"0"})),T=e.computed(()=>({top:n.mobileTopOffset&&n.mobileEnabled?`${n.mobileTopOffset}px`:"0",zIndex:n.mobileOverlayZIndex!==null?n.mobileOverlayZIndex:n.zIndex>1?n.zIndex-1:1})),N=s=>Ga(s).map(p=>{var k,E,B;if(p){(!p.key||!((k=p.key)!=null&&k.trim()))&&(p.key=String(p.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!p.testId||!((E=p.testId)!=null&&E.trim()))&&(p.testId=String(p.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const v of p.items||[])v.parentKey=p.key,(!v.testId||!((B=v.testId)!=null&&B.trim()))&&(v.testId=String(v.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return p}),_=e.computed(()=>n.topItems.length?N(n.topItems):[]),I=e.computed(()=>n.bottomItems.length?N(n.bottomItems):[]),y=e.ref(n.open),A=s=>{var m,p;y.value!==s&&(y.value=s,r("toggle",s)),s?(m=document==null?void 0:document.body)==null||m.classList.add("kong-ui-app-sidebar-open"):(p=document==null?void 0:document.body)==null||p.classList.remove("kong-ui-app-sidebar-open"),O.value=!1},K=()=>{n.mobileOverlayCloseOnClick&&A(!1)},O=e.ref(!1),G=s=>{O.value=!0,r("click",s),setTimeout(()=>{A(!1)},n.mobileCloseDelay)};e.watch(()=>n.open,s=>{A(s)});const{debounce:J}=rt(),z=J(()=>{y.value&&U.value!==(window==null?void 0:window.innerWidth)&&(U.value=window==null?void 0:window.innerWidth,A(!1))},200),U=e.ref(),D=e.ref(!1),Z=e.ref(),C=()=>{D.value||(D.value=!0,clearTimeout(Z.value),Z.value=setTimeout(()=>D.value=!1,1300))},x=e.ref(null),M=e.computed(()=>y.value&&n.mobileEnabled),R=async s=>{var m,p;s?(await e.nextTick(),await new Promise(k=>setTimeout(k,300)),(m=x.value)==null||m.activate()):(p=x.value)==null||p.deactivate()};e.watch(M,async s=>{s?await R(!0):await R(!1)},{immediate:!0});const S=e.ref("0px"),f=()=>{var v;if(!(/Mac|iPhone|iPod|iPad/i.test(navigator==null?void 0:navigator.platform)||/macOS|Mac|iPhone|iPod|iPad/i.test((v=navigator==null?void 0:navigator.userAgentData)==null?void 0:v.platform)))return;const m=document.createElement("div");m.style.visibility="hidden",m.style.width="100px",document.body.appendChild(m);const p=m.offsetWidth;m.style.overflow="scroll";const k=document.createElement("div");k.style.width="100%",m.appendChild(k);const E=k.offsetWidth;m.parentNode&&m.parentNode.removeChild(m),p-E===0&&(S.value="8px")};return e.onMounted(async()=>{U.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",z),window.addEventListener("resize",C),await e.nextTick(),f()}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",z),window.removeEventListener("resize",C)}),(s,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[y.value&&o.mobileOverlay&&o.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:K})):e.createCommentVNode("",!0),e.createVNode(e.unref(za),{ref_key:"focusTrap",ref:x,active:!1,"allow-outside-click":"","fallback-focus":".kong-ui-app-sidebar"},{default:e.withCtx(()=>[e.createElementVNode("aside",{class:e.normalizeClass(["kong-ui-app-sidebar",{"sidebar-open":y.value,"no-sidebar-header":!u.value,"mobile-header-hidden":o.mobileEnabled&&(!u.value||!o.mobileHeaderVisible),"mobile-disabled":!o.mobileEnabled,"disable-transitions":D.value}]),tabindex:"-1"},[u.value?(e.openBlock(),e.createElementBlock("div",qa,[e.renderSlot(s.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Xa,[c.value?(e.openBlock(),e.createElementBlock("div",Ya,[e.renderSlot(s.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",Ja,[_.value.length?(e.openBlock(),e.createElementBlock("ul",Qa,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,p=>(e.openBlock(),e.createBlock(Ue,{key:p.name,item:p,onClick:G},{[`sidebar-icon-${p.key}`]:e.withCtx(()=>[e.renderSlot(s.$slots,`sidebar-icon-${p.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0),_.value.length&&I.value.length?(e.openBlock(),e.createElementBlock("div",en)):e.createCommentVNode("",!0),I.value.length?(e.openBlock(),e.createElementBlock("ul",tn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,p=>(e.openBlock(),e.createBlock(Ue,{key:p.name,item:p,onClick:G},{[`sidebar-icon-${p.key}`]:e.withCtx(()=>[e.renderSlot(s.$slots,`sidebar-icon-${p.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",an,[e.renderSlot(s.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64))}}),[["__scopeId","data-v-843a05a4"]]),nn=["aria-label"],ct=H(e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(o,{emit:a}){const r=a,n=o,l=e.ref(n.active||!1),u=c=>{c.preventDefault(),l.value=!l.value,r("toggle",l.value)};return e.watch(()=>n.active,c=>{l.value=c}),(c,b)=>(e.openBlock(),e.createElementBlock("a",{"aria-haspopup":"true","aria-label":l.value?"Close Main Menu":"Open Main Menu",class:e.normalizeClass(["sidebar-menu-toggle",{active:l.value}]),href:"#",role:"button",onClick:e.withModifiers(u,["prevent"])},b[0]||(b[0]=[e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1)]),10,nn))}}),[["__scopeId","data-v-b411bcf5"]]),on="#ffffff",rn="#000933",cn="#000933",sn="#ffffff",ln="0px",dn="4px",un={id:"kong-ui-app-layout-notification"},fn={class:"mobile-logo"},mn={key:0,class:"navbar-logo"},bn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},pn={class:"kong-ui-app-layout-content"},hn={class:"kong-ui-app-layout-content-inner"},st=H(e.defineComponent({__name:"AppLayout",props:{hideDefaultSlot:{type:Boolean,default:!1},navbarHidden:{type:Boolean,default:!1},sidebarHidden:{type:Boolean,default:!1},sidebarOpen:{type:Boolean,default:!1},sidebarTopItems:{type:Array,default:()=>[]},sidebarBottomItems:{type:Array,default:()=>[]},theme:{type:String,default:"light",validator:o=>["light","dark"].includes(o)}},emits:["sidebar-click"],setup(o,{emit:a}){e.useCssVars(C=>({"30c6990a":O.value,40906680:G.value,"169c1fd8":K.value,"75276abc":J.value,af1d4ea2:z.value}));const r=o,n=a,l=e.useSlots(),u=e.reactive({navbarLeft:e.computed(()=>!!l["navbar-left"]),navbarCenter:e.computed(()=>!!l["navbar-center"]),navbarRight:e.computed(()=>!!l["navbar-right"]),navbarLogo:e.computed(()=>!!l["navbar-logo"]),navbarMobileLogo:e.computed(()=>!!l["navbar-mobile-logo"]),sidebarHeader:e.computed(()=>!!l["sidebar-header"]),sidebarTop:e.computed(()=>!!l["sidebar-top"]),sidebarFooter:e.computed(()=>!!l["sidebar-footer"])}),c=e.computed(()=>r.hideDefaultSlot),b=e.reactive({hidden:e.computed(()=>r.navbarHidden)}),g=e.reactive({topItems:e.computed(()=>r.sidebarTopItems),bottomItems:e.computed(()=>r.sidebarBottomItems),open:e.computed(()=>r.sidebarOpen),hidden:e.computed(()=>r.sidebarHidden)}),w=C=>{n("sidebar-click",C)},T=e.ref(!1),N=C=>{T.value=C};e.watchEffect(()=>{T.value=e.toRef(g,"open").value||!1});const _=e.ref(0),I=e.ref(60),y=e.ref(0),A=e.computed(()=>b.hidden?y.value:I.value+y.value),K=e.computed(()=>r.theme==="light"?cn:sn),O=e.computed(()=>r.theme==="light"?on:rn),G=e.computed(()=>r.theme==="light"?"var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)":"none"),J=e.computed(()=>`${A.value}px`),z=e.computed(()=>g.hidden||b.hidden?ln:dn),{debounce:U}=rt(),D=U((C=!1)=>{if(C||_.value!==(window==null?void 0:window.innerWidth)){_.value=window==null?void 0:window.innerWidth;const x=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");x&&(y.value=x.offsetHeight)}},200),Z=e.ref();return e.onMounted(()=>{var x,M;(x=document==null?void 0:document.body)==null||x.classList.add("kong-ui-app-layout-body"),(M=document==null?void 0:document.documentElement)==null||M.classList.add("kong-ui-app-layout-html"),_.value=window==null?void 0:window.innerWidth,D(!0);const C=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");C&&(Z.value=new ResizeObserver(R=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(R)||!R.length))for(const S of R){const f=S.contentRect.height;y.value!==f&&(y.value=f)}})}),Z.value.observe(C)),window.addEventListener("resize",D)}),e.onBeforeUnmount(()=>{Z.value&&Z.value.disconnect(),window.removeEventListener("resize",D)}),(C,x)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":b.hidden},{"sidebar-hidden":g.hidden}]])},[e.createElementVNode("div",un,[e.renderSlot(C.$slots,"notification",{},void 0,!0)]),b.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ze,{key:String(g.hidden),"left-offset":g.hidden?0:void 0,"top-offset":y.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ct,{key:0,active:T.value,onToggle:N},null,8,["active"]))]),_:2},[u.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",fn,[e.renderSlot(C.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,u.navbarLogo?{name:"logo",fn:e.withCtx(()=>[g.hidden?(e.openBlock(),e.createElementBlock("div",mn,[e.renderSlot(C.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,u.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(C.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,u.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(C.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,u.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(C.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(it,{key:1,"bottom-items":g.bottomItems,"header-height":I.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":A.value,open:T.value,"top-items":g.topItems,"top-offset":y.value,onClick:w,onToggle:N},e.createSlots({_:2},[u.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(C.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,u.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(C.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,u.sidebarFooter?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(C.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0,e.renderList([...g.topItems||[],...g.bottomItems||[]],M=>({name:`sidebar-icon-${M.key}`,fn:e.withCtx(()=>[e.renderSlot(C.$slots,`sidebar-icon-${M.key}`,{},void 0,!0)])}))]),1032,["bottom-items","header-height","mobile-top-offset","open","top-items","top-offset"])),e.createElementVNode("main",bn,[e.createElementVNode("div",pn,[e.createElementVNode("div",hn,[x[0]||(x[0]=e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),e.renderSlot(C.$slots,"app-error",{},void 0,!0),c.value?e.createCommentVNode("",!0):e.renderSlot(C.$slots,"default",{key:0},void 0,!0)])])])],2))}}),[["__scopeId","data-v-47c01124"]]),gn={class:"kong-ui-app-page-header"},vn={key:0,class:"page-header-breadcrumbs","data-testid":"page-header-breadcrumbs"},yn={class:"page-header-title-section"},kn={class:"page-header-title-wrapper"},wn={key:0,class:"page-header-title-before","data-testid":"page-header-title-before"},Cn=["title"],Sn={key:1,class:"page-header-title-after","data-testid":"page-header-title-after"},En={key:0,class:"page-header-actions","data-testid":"page-header-actions"},Nn={key:1,class:"page-header-section-below","data-testid":"page-header-section-below"},Tn=H(e.defineComponent({__name:"AppPageHeader",props:{title:{type:String,default:""},breadcrumbs:{type:Array,default:()=>[]}},setup(o){const a=o,r=e.useSlots(),n=e.computed(()=>{var u;return!!((u=a.breadcrumbs)!=null&&u.length)}),l=e.computed(()=>Object.keys(r).filter(u=>u.startsWith("icon-")));return(u,c)=>{const b=e.resolveComponent("KBreadcrumbs");return e.openBlock(),e.createElementBlock("div",gn,[n.value?(e.openBlock(),e.createElementBlock("div",vn,[e.createVNode(b,{"item-max-width":"150",items:o.breadcrumbs},e.createSlots({_:2},[e.renderList(l.value,g=>({name:g,fn:e.withCtx(()=>[e.renderSlot(u.$slots,g,{},void 0,!0)])}))]),1032,["items"])])):e.createCommentVNode("",!0),e.createElementVNode("div",yn,[e.createElementVNode("div",kn,[u.$slots["title-before"]?(e.openBlock(),e.createElementBlock("div",wn,[e.renderSlot(u.$slots,"title-before",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("h1",{class:"page-header-title","data-testid":"page-header-title",title:o.title},e.toDisplayString(o.title),9,Cn),u.$slots["title-after"]?(e.openBlock(),e.createElementBlock("div",Sn,[e.renderSlot(u.$slots,"title-after",{},void 0,!0)])):e.createCommentVNode("",!0)]),u.$slots.actions?(e.openBlock(),e.createElementBlock("div",En,[e.renderSlot(u.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),u.$slots.below?(e.openBlock(),e.createElementBlock("div",Nn,[e.renderSlot(u.$slots,"below",{},void 0,!0)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-204b7f98"]]),Bn={install:(o,a={})=>{o.component(a.name||"AppLayout",st)}};V.AccountDropdown=xt,V.AppAboutSection=Ut,V.AppError=ea,V.AppLayout=st,V.AppNavbar=ze,V.AppPageHeader=Tn,V.AppSidebar=it,V.SidebarToggle=ct,V.default=Bn,Object.defineProperties(V,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
11
+ */function Gr(n){return n}const Ka={escapeDeactivates:{type:Boolean,default:!0},returnFocusOnDeactivate:{type:Boolean,default:!0},allowOutsideClick:{type:[Boolean,Function],default:!0},clickOutsideDeactivates:[Boolean,Function],initialFocus:[String,Function,Boolean],fallbackFocus:[String,Function],checkCanFocusTrap:Function,checkCanReturnFocus:Function,delayInitialFocus:{type:Boolean,default:!0},document:Object,preventScroll:Boolean,setReturnFocus:[Object,String,Boolean,Function],tabbableOptions:Object},Ha=e.defineComponent({props:Object.assign({active:{type:Boolean,default:!0}},Ka),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(n,{slots:a,emit:o}){let r;const s=e.ref(null),d=e.computed(()=>{const b=s.value;return b&&(b instanceof HTMLElement?b:b.$el)});function c(){return r||(r=Za(d.value,{escapeDeactivates:n.escapeDeactivates,allowOutsideClick:n.allowOutsideClick,returnFocusOnDeactivate:n.returnFocusOnDeactivate,clickOutsideDeactivates:n.clickOutsideDeactivates,onActivate:()=>{o("update:active",!0),o("activate")},onDeactivate:()=>{o("update:active",!1),o("deactivate")},onPostActivate:()=>o("postActivate"),onPostDeactivate:()=>o("postDeactivate"),initialFocus:n.initialFocus,fallbackFocus:n.fallbackFocus,tabbableOptions:n.tabbableOptions,delayInitialFocus:n.delayInitialFocus,preventScroll:n.preventScroll}))}return e.onMounted(()=>{e.watch(()=>n.active,b=>{b&&d.value?c().activate():r&&(r.deactivate(),(!d.value||d.value.nodeType===Node.COMMENT_NODE)&&(r=null))},{immediate:!0,flush:"post"})}),e.onUnmounted(()=>{r&&r.deactivate(),r=null}),{activate(){c().activate()},deactivate(){r&&r.deactivate()},renderImpl(){if(!a.default)return null;const b=a.default().filter(w=>w.type!==e.Comment);return!b||!b.length||b.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),b):e.cloneVNode(b[0],{ref:s})}}}});function rt(){return{debounce:(a,o)=>{let r;return(...s)=>{clearTimeout(r),r=window==null?void 0:window.setTimeout(()=>{a(...s)},o)}}}}var Ce=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function za(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Se={exports:{}};Se.exports,function(n,a){var o=200,r="__lodash_hash_undefined__",s=9007199254740991,d="[object Arguments]",c="[object Array]",b="[object Boolean]",g="[object Date]",w="[object Error]",T="[object Function]",N="[object GeneratorFunction]",_="[object Map]",x="[object Number]",k="[object Object]",F="[object Promise]",Z="[object RegExp]",$="[object Set]",U="[object String]",X="[object Symbol]",H="[object WeakMap]",z="[object ArrayBuffer]",V="[object DataView]",j="[object Float32Array]",E="[object Float64Array]",O="[object Int8Array]",R="[object Int16Array]",C="[object Int32Array]",f="[object Uint8Array]",u="[object Uint8ClampedArray]",m="[object Uint16Array]",y="[object Uint32Array]",p=/[\\^$.*+?()[\]{}|]/g,S=/\w*$/,B=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,v={};v[d]=v[c]=v[z]=v[V]=v[b]=v[g]=v[j]=v[E]=v[O]=v[R]=v[C]=v[_]=v[x]=v[k]=v[Z]=v[$]=v[U]=v[X]=v[f]=v[u]=v[m]=v[y]=!0,v[w]=v[T]=v[H]=!1;var W=typeof Ce=="object"&&Ce&&Ce.Object===Object&&Ce,te=typeof self=="object"&&self&&self.Object===Object&&self,A=W||te||Function("return this")(),Y=a&&!a.nodeType&&a,fe=Y&&!0&&n&&!n.nodeType&&n,me=fe&&fe.exports===Y;function be(t,i){return t.set(i[0],i[1]),t}function Bn(t,i){return t.add(i),t}function _n(t,i){for(var l=-1,h=t?t.length:0;++l<h&&i(t[l],l,t)!==!1;);return t}function In(t,i){for(var l=-1,h=i.length,D=t.length;++l<h;)t[D+l]=i[l];return t}function st(t,i,l,h){for(var D=-1,M=t?t.length:0;++D<M;)l=i(l,t[D],D,t);return l}function On(t,i){for(var l=-1,h=Array(t);++l<t;)h[l]=i(l);return h}function $n(t,i){return t==null?void 0:t[i]}function lt(t){var i=!1;if(t!=null&&typeof t.toString!="function")try{i=!!(t+"")}catch{}return i}function dt(t){var i=-1,l=Array(t.size);return t.forEach(function(h,D){l[++i]=[D,h]}),l}function xe(t,i){return function(l){return t(i(l))}}function ut(t){var i=-1,l=Array(t.size);return t.forEach(function(h){l[++i]=h}),l}var An=Array.prototype,xn=Function.prototype,Ee=Object.prototype,Fe=A["__core-js_shared__"],ft=function(){var t=/[^.]+$/.exec(Fe&&Fe.keys&&Fe.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),mt=xn.toString,J=Ee.hasOwnProperty,Ne=Ee.toString,Fn=RegExp("^"+mt.call(J).replace(p,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bt=me?A.Buffer:void 0,pt=A.Symbol,ht=A.Uint8Array,Dn=xe(Object.getPrototypeOf,Object),Vn=Object.create,Rn=Ee.propertyIsEnumerable,Ln=An.splice,gt=Object.getOwnPropertySymbols,Mn=bt?bt.isBuffer:void 0,Pn=xe(Object.keys,Object),De=se(A,"DataView"),pe=se(A,"Map"),Ve=se(A,"Promise"),Re=se(A,"Set"),Le=se(A,"WeakMap"),he=se(Object,"create"),jn=re(De),Zn=re(pe),Kn=re(Ve),Hn=re(Re),zn=re(Le),vt=pt?pt.prototype:void 0,yt=vt?vt.valueOf:void 0;function ae(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var h=t[i];this.set(h[0],h[1])}}function Un(){this.__data__=he?he(null):{}}function Wn(t){return this.has(t)&&delete this.__data__[t]}function Gn(t){var i=this.__data__;if(he){var l=i[t];return l===r?void 0:l}return J.call(i,t)?i[t]:void 0}function qn(t){var i=this.__data__;return he?i[t]!==void 0:J.call(i,t)}function Xn(t,i){var l=this.__data__;return l[t]=he&&i===void 0?r:i,this}ae.prototype.clear=Un,ae.prototype.delete=Wn,ae.prototype.get=Gn,ae.prototype.has=qn,ae.prototype.set=Xn;function G(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var h=t[i];this.set(h[0],h[1])}}function Yn(){this.__data__=[]}function Jn(t){var i=this.__data__,l=Te(i,t);if(l<0)return!1;var h=i.length-1;return l==h?i.pop():Ln.call(i,l,1),!0}function Qn(t){var i=this.__data__,l=Te(i,t);return l<0?void 0:i[l][1]}function er(t){return Te(this.__data__,t)>-1}function tr(t,i){var l=this.__data__,h=Te(l,t);return h<0?l.push([t,i]):l[h][1]=i,this}G.prototype.clear=Yn,G.prototype.delete=Jn,G.prototype.get=Qn,G.prototype.has=er,G.prototype.set=tr;function ie(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var h=t[i];this.set(h[0],h[1])}}function ar(){this.__data__={hash:new ae,map:new(pe||G),string:new ae}}function nr(t){return Be(this,t).delete(t)}function rr(t){return Be(this,t).get(t)}function or(t){return Be(this,t).has(t)}function ir(t,i){return Be(this,t).set(t,i),this}ie.prototype.clear=ar,ie.prototype.delete=nr,ie.prototype.get=rr,ie.prototype.has=or,ie.prototype.set=ir;function ce(t){this.__data__=new G(t)}function cr(){this.__data__=new G}function sr(t){return this.__data__.delete(t)}function lr(t){return this.__data__.get(t)}function dr(t){return this.__data__.has(t)}function ur(t,i){var l=this.__data__;if(l instanceof G){var h=l.__data__;if(!pe||h.length<o-1)return h.push([t,i]),this;l=this.__data__=new ie(h)}return l.set(t,i),this}ce.prototype.clear=cr,ce.prototype.delete=sr,ce.prototype.get=lr,ce.prototype.has=dr,ce.prototype.set=ur;function fr(t,i){var l=je(t)||Vr(t)?On(t.length,String):[],h=l.length,D=!!h;for(var M in t)J.call(t,M)&&!(D&&(M=="length"||Ar(M,h)))&&l.push(M);return l}function kt(t,i,l){var h=t[i];(!(J.call(t,i)&&Et(h,l))||l===void 0&&!(i in t))&&(t[i]=l)}function Te(t,i){for(var l=t.length;l--;)if(Et(t[l][0],i))return l;return-1}function mr(t,i){return t&&wt(i,Ze(i),t)}function Me(t,i,l,h,D,M,q){var P;if(h&&(P=M?h(t,D,M,q):h(t)),P!==void 0)return P;if(!_e(t))return t;var Bt=je(t);if(Bt){if(P=Ir(t),!i)return Tr(t,P)}else{var le=ne(t),_t=le==T||le==N;if(Lr(t))return yr(t,i);if(le==k||le==d||_t&&!M){if(lt(t))return M?t:{};if(P=Or(_t?{}:t),!i)return Br(t,mr(P,t))}else{if(!v[le])return M?t:{};P=$r(t,le,Me,i)}}q||(q=new ce);var It=q.get(t);if(It)return It;if(q.set(t,P),!Bt)var Ot=l?_r(t):Ze(t);return _n(Ot||t,function(Ke,Ie){Ot&&(Ie=Ke,Ke=t[Ie]),kt(P,Ie,Me(Ke,i,l,h,Ie,t,q))}),P}function br(t){return _e(t)?Vn(t):{}}function pr(t,i,l){var h=i(t);return je(t)?h:In(h,l(t))}function hr(t){return Ne.call(t)}function gr(t){if(!_e(t)||Fr(t))return!1;var i=Tt(t)||lt(t)?Fn:B;return i.test(re(t))}function vr(t){if(!St(t))return Pn(t);var i=[];for(var l in Object(t))J.call(t,l)&&l!="constructor"&&i.push(l);return i}function yr(t,i){if(i)return t.slice();var l=new t.constructor(t.length);return t.copy(l),l}function Pe(t){var i=new t.constructor(t.byteLength);return new ht(i).set(new ht(t)),i}function kr(t,i){var l=i?Pe(t.buffer):t.buffer;return new t.constructor(l,t.byteOffset,t.byteLength)}function wr(t,i,l){var h=i?l(dt(t),!0):dt(t);return st(h,be,new t.constructor)}function Cr(t){var i=new t.constructor(t.source,S.exec(t));return i.lastIndex=t.lastIndex,i}function Sr(t,i,l){var h=i?l(ut(t),!0):ut(t);return st(h,Bn,new t.constructor)}function Er(t){return yt?Object(yt.call(t)):{}}function Nr(t,i){var l=i?Pe(t.buffer):t.buffer;return new t.constructor(l,t.byteOffset,t.length)}function Tr(t,i){var l=-1,h=t.length;for(i||(i=Array(h));++l<h;)i[l]=t[l];return i}function wt(t,i,l,h){l||(l={});for(var D=-1,M=i.length;++D<M;){var q=i[D],P=void 0;kt(l,q,P===void 0?t[q]:P)}return l}function Br(t,i){return wt(t,Ct(t),i)}function _r(t){return pr(t,Ze,Ct)}function Be(t,i){var l=t.__data__;return xr(i)?l[typeof i=="string"?"string":"hash"]:l.map}function se(t,i){var l=$n(t,i);return gr(l)?l:void 0}var Ct=gt?xe(gt,Object):jr,ne=hr;(De&&ne(new De(new ArrayBuffer(1)))!=V||pe&&ne(new pe)!=_||Ve&&ne(Ve.resolve())!=F||Re&&ne(new Re)!=$||Le&&ne(new Le)!=H)&&(ne=function(t){var i=Ne.call(t),l=i==k?t.constructor:void 0,h=l?re(l):void 0;if(h)switch(h){case jn:return V;case Zn:return _;case Kn:return F;case Hn:return $;case zn:return H}return i});function Ir(t){var i=t.length,l=t.constructor(i);return i&&typeof t[0]=="string"&&J.call(t,"index")&&(l.index=t.index,l.input=t.input),l}function Or(t){return typeof t.constructor=="function"&&!St(t)?br(Dn(t)):{}}function $r(t,i,l,h){var D=t.constructor;switch(i){case z:return Pe(t);case b:case g:return new D(+t);case V:return kr(t,h);case j:case E:case O:case R:case C:case f:case u:case m:case y:return Nr(t,h);case _:return wr(t,h,l);case x:case U:return new D(t);case Z:return Cr(t);case $:return Sr(t,h,l);case X:return Er(t)}}function Ar(t,i){return i=i??s,!!i&&(typeof t=="number"||I.test(t))&&t>-1&&t%1==0&&t<i}function xr(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Fr(t){return!!ft&&ft in t}function St(t){var i=t&&t.constructor,l=typeof i=="function"&&i.prototype||Ee;return t===l}function re(t){if(t!=null){try{return mt.call(t)}catch{}try{return t+""}catch{}}return""}function Dr(t){return Me(t,!0,!0)}function Et(t,i){return t===i||t!==t&&i!==i}function Vr(t){return Rr(t)&&J.call(t,"callee")&&(!Rn.call(t,"callee")||Ne.call(t)==d)}var je=Array.isArray;function Nt(t){return t!=null&&Mr(t.length)&&!Tt(t)}function Rr(t){return Pr(t)&&Nt(t)}var Lr=Mn||Zr;function Tt(t){var i=_e(t)?Ne.call(t):"";return i==T||i==N}function Mr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=s}function _e(t){var i=typeof t;return!!t&&(i=="object"||i=="function")}function Pr(t){return!!t&&typeof t=="object"}function Ze(t){return Nt(t)?fr(t):vr(t)}function jr(){return[]}function Zr(){return!1}n.exports=Dr}(Se,Se.exports);var Ua=Se.exports;const Wa=za(Ua),Ga={key:0,class:"sidebar-header"},qa={class:"sidebar-content-container"},Xa={key:0,class:"sidebar-top"},Ya={"aria-label":"Main menu"},Ja={key:0,class:"level-primary top-items"},Qa={key:1,class:"sidebar-level-divider",role:"separator"},en={key:2,class:"level-primary bottom-items"},tn={class:"sidebar-footer"},ot=K(e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},headerHeight:{type:Number,default:60},topOffset:{type:Number,default:0},zIndex:{type:Number,default:3},open:{type:Boolean,default:!1},mobileEnabled:{type:Boolean,default:!1},mobileTopOffset:{type:Number,default:0},mobileHeaderVisible:{type:Boolean,default:!1},mobileCloseDelay:{type:Number,default:350},mobileOverlay:{type:Boolean,default:!0},mobileOverlayZIndex:{type:Number,default:null},mobileOverlayCloseOnClick:{type:Boolean,default:!0}},emits:["click","toggle"],setup(n,{emit:a}){e.useCssVars(m=>({"5decedf8":b.value.mobileHeight,"621c03b8":b.value.mobileTop,"1a4a2eb0":n.zIndex,c3efec14:b.value.height,f812da34:b.value.top,"98cbd98c":w.value.marginTop,"3b672422":f.value,"3b821012":g.value.display,"4c860169":g.value.minHeight,"98cd1a16":T.value.top,"362eded8":T.value.zIndex}));const o=a,r=n,s=e.useSlots(),d=e.computed(()=>!!s.header),c=e.computed(()=>!!s.top),b=e.computed(()=>({mobileTop:r.mobileTopOffset&&r.mobileEnabled?`${r.mobileTopOffset}px`:r.topOffset?`${r.topOffset}px`:"0",top:r.topOffset?`${r.topOffset}px`:"0",mobileHeight:r.mobileTopOffset&&r.mobileEnabled?`calc(100% - ${r.mobileTopOffset}px)`:"100%",height:r.topOffset?`calc(100% - ${r.topOffset}px)`:"100%"})),g=e.computed(()=>({display:!r.mobileHeaderVisible&&r.mobileEnabled?"none":"flex",minHeight:`${r.headerHeight}px`})),w=e.computed(()=>({marginTop:d.value?`${r.headerHeight}px`:"0"})),T=e.computed(()=>({top:r.mobileTopOffset&&r.mobileEnabled?`${r.mobileTopOffset}px`:"0",zIndex:r.mobileOverlayZIndex!==null?r.mobileOverlayZIndex:r.zIndex>1?r.zIndex-1:1})),N=m=>Wa(m).map(p=>{var S,B,I;if(p){(!p.key||!((S=p.key)!=null&&S.trim()))&&(p.key=String(p.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!p.testId||!((B=p.testId)!=null&&B.trim()))&&(p.testId=String(p.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const v of p.items||[])v.parentKey=p.key,(!v.testId||!((I=v.testId)!=null&&I.trim()))&&(v.testId=String(v.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return p}),_=e.computed(()=>r.topItems.length?N(r.topItems):[]),x=e.computed(()=>r.bottomItems.length?N(r.bottomItems):[]),k=e.ref(r.open),F=m=>{var y,p;k.value!==m&&(k.value=m,o("toggle",m)),m?(y=document==null?void 0:document.body)==null||y.classList.add("kong-ui-app-sidebar-open"):(p=document==null?void 0:document.body)==null||p.classList.remove("kong-ui-app-sidebar-open"),$.value=!1},Z=()=>{r.mobileOverlayCloseOnClick&&F(!1)},$=e.ref(!1),U=m=>{$.value=!0,o("click",m),setTimeout(()=>{F(!1)},r.mobileCloseDelay)};e.watch(()=>r.open,m=>{F(m)});const{debounce:X}=rt(),H=X(()=>{k.value&&z.value!==(window==null?void 0:window.innerWidth)&&(z.value=window==null?void 0:window.innerWidth,F(!1))},200),z=e.ref(),V=e.ref(!1),j=e.ref(),E=()=>{V.value||(V.value=!0,clearTimeout(j.value),j.value=setTimeout(()=>V.value=!1,1300))},O=e.ref(null),R=e.computed(()=>k.value&&r.mobileEnabled),C=async m=>{var y,p;m?(await e.nextTick(),await new Promise(S=>setTimeout(S,300)),(y=O.value)==null||y.activate()):(p=O.value)==null||p.deactivate()};e.watch(R,async m=>{m?await C(!0):await C(!1)},{immediate:!0});const f=e.ref("0px"),u=()=>{var v;if(!(/Mac|iPhone|iPod|iPad/i.test(navigator==null?void 0:navigator.platform)||/macOS|Mac|iPhone|iPod|iPad/i.test((v=navigator==null?void 0:navigator.userAgentData)==null?void 0:v.platform)))return;const y=document.createElement("div");y.style.visibility="hidden",y.style.width="100px",document.body.appendChild(y);const p=y.offsetWidth;y.style.overflow="scroll";const S=document.createElement("div");S.style.width="100%",y.appendChild(S);const B=S.offsetWidth;y.parentNode&&y.parentNode.removeChild(y),p-B===0&&(f.value="8px")};return e.onMounted(async()=>{z.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",H),window.addEventListener("resize",E),await e.nextTick(),u()}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",H),window.removeEventListener("resize",E)}),(m,y)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[k.value&&n.mobileOverlay&&n.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:Z})):e.createCommentVNode("",!0),e.createVNode(e.unref(Ha),{ref_key:"focusTrap",ref:O,active:!1,"allow-outside-click":"","fallback-focus":".kong-ui-app-sidebar"},{default:e.withCtx(()=>[e.createElementVNode("aside",{class:e.normalizeClass(["kong-ui-app-sidebar",{"sidebar-open":k.value,"no-sidebar-header":!d.value,"mobile-header-hidden":n.mobileEnabled&&(!d.value||!n.mobileHeaderVisible),"mobile-disabled":!n.mobileEnabled,"disable-transitions":V.value}]),tabindex:"-1"},[d.value?(e.openBlock(),e.createElementBlock("div",Ga,[e.renderSlot(m.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",qa,[c.value?(e.openBlock(),e.createElementBlock("div",Xa,[e.renderSlot(m.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",Ya,[_.value.length?(e.openBlock(),e.createElementBlock("ul",Ja,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,p=>(e.openBlock(),e.createBlock(ze,{key:p.name,item:p,onClick:U},{[`sidebar-icon-${p.key}`]:e.withCtx(()=>[e.renderSlot(m.$slots,`sidebar-icon-${p.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0),_.value.length&&x.value.length?(e.openBlock(),e.createElementBlock("div",Qa)):e.createCommentVNode("",!0),x.value.length?(e.openBlock(),e.createElementBlock("ul",en,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,p=>(e.openBlock(),e.createBlock(ze,{key:p.name,item:p,onClick:U},{[`sidebar-icon-${p.key}`]:e.withCtx(()=>[e.renderSlot(m.$slots,`sidebar-icon-${p.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",tn,[e.renderSlot(m.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64))}}),[["__scopeId","data-v-843a05a4"]]),an=["aria-label"],it=K(e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(n,{emit:a}){const o=a,r=n,s=e.ref(r.active||!1),d=c=>{c.preventDefault(),s.value=!s.value,o("toggle",s.value)};return e.watch(()=>r.active,c=>{s.value=c}),(c,b)=>(e.openBlock(),e.createElementBlock("a",{"aria-haspopup":"true","aria-label":s.value?"Close Main Menu":"Open Main Menu",class:e.normalizeClass(["sidebar-menu-toggle",{active:s.value}]),href:"#",role:"button",onClick:e.withModifiers(d,["prevent"])},b[0]||(b[0]=[e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1)]),10,an))}}),[["__scopeId","data-v-b411bcf5"]]),nn="#ffffff",rn="#000933",on="#000933",cn="#ffffff",sn="0px",ln="4px",dn={id:"kong-ui-app-layout-notification"},un={class:"mobile-logo"},fn={key:0,class:"navbar-logo"},mn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},bn={class:"kong-ui-app-layout-content"},pn={class:"kong-ui-app-layout-content-inner"},ct=K(e.defineComponent({__name:"AppLayout",props:{hideDefaultSlot:{type:Boolean,default:!1},navbarHidden:{type:Boolean,default:!1},sidebarHidden:{type:Boolean,default:!1},sidebarOpen:{type:Boolean,default:!1},sidebarTopItems:{type:Array,default:()=>[]},sidebarBottomItems:{type:Array,default:()=>[]},theme:{type:String,default:"light",validator:n=>["light","dark"].includes(n)}},emits:["sidebar-click"],setup(n,{emit:a}){e.useCssVars(E=>({"30c6990a":$.value,40906680:U.value,"169c1fd8":Z.value,"75276abc":X.value,af1d4ea2:H.value}));const o=n,r=a,s=e.useSlots(),d=e.reactive({navbarLeft:e.computed(()=>!!s["navbar-left"]),navbarCenter:e.computed(()=>!!s["navbar-center"]),navbarRight:e.computed(()=>!!s["navbar-right"]),navbarLogo:e.computed(()=>!!s["navbar-logo"]),navbarMobileLogo:e.computed(()=>!!s["navbar-mobile-logo"]),sidebarHeader:e.computed(()=>!!s["sidebar-header"]),sidebarTop:e.computed(()=>!!s["sidebar-top"]),sidebarFooter:e.computed(()=>!!s["sidebar-footer"])}),c=e.computed(()=>o.hideDefaultSlot),b=e.reactive({hidden:e.computed(()=>o.navbarHidden)}),g=e.reactive({topItems:e.computed(()=>o.sidebarTopItems),bottomItems:e.computed(()=>o.sidebarBottomItems),open:e.computed(()=>o.sidebarOpen),hidden:e.computed(()=>o.sidebarHidden)}),w=E=>{r("sidebar-click",E)},T=e.ref(!1),N=E=>{T.value=E};e.watchEffect(()=>{T.value=e.toRef(g,"open").value||!1});const _=e.ref(0),x=e.ref(60),k=e.ref(0),F=e.computed(()=>b.hidden?k.value:x.value+k.value),Z=e.computed(()=>o.theme==="light"?on:cn),$=e.computed(()=>o.theme==="light"?nn:rn),U=e.computed(()=>o.theme==="light"?"var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)":"none"),X=e.computed(()=>`${F.value}px`),H=e.computed(()=>g.hidden||b.hidden?sn:ln),{debounce:z}=rt(),V=z((E=!1)=>{if(E||_.value!==(window==null?void 0:window.innerWidth)){_.value=window==null?void 0:window.innerWidth;const O=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");O&&(k.value=O.offsetHeight)}},200),j=e.ref();return e.onMounted(()=>{var O,R;(O=document==null?void 0:document.body)==null||O.classList.add("kong-ui-app-layout-body"),(R=document==null?void 0:document.documentElement)==null||R.classList.add("kong-ui-app-layout-html"),_.value=window==null?void 0:window.innerWidth,V(!0);const E=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");E&&(j.value=new ResizeObserver(C=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(C)||!C.length))for(const f of C){const u=f.contentRect.height;k.value!==u&&(k.value=u)}})}),j.value.observe(E)),window.addEventListener("resize",V)}),e.onBeforeUnmount(()=>{j.value&&j.value.disconnect(),window.removeEventListener("resize",V)}),(E,O)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":b.hidden},{"sidebar-hidden":g.hidden}]])},[e.createElementVNode("div",dn,[e.renderSlot(E.$slots,"notification",{},void 0,!0)]),b.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(He,{key:String(g.hidden),"left-offset":g.hidden?0:void 0,"top-offset":k.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(it,{key:0,active:T.value,onToggle:N},null,8,["active"]))]),_:2},[d.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",un,[e.renderSlot(E.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,d.navbarLogo?{name:"logo",fn:e.withCtx(()=>[g.hidden?(e.openBlock(),e.createElementBlock("div",fn,[e.renderSlot(E.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,d.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,d.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,d.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ot,{key:1,"bottom-items":g.bottomItems,"header-height":x.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":F.value,open:T.value,"top-items":g.topItems,"top-offset":k.value,onClick:w,onToggle:N},e.createSlots({_:2},[d.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,d.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,d.sidebarFooter?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0,e.renderList([...g.topItems||[],...g.bottomItems||[]],R=>({name:`sidebar-icon-${R.key}`,fn:e.withCtx(()=>[e.renderSlot(E.$slots,`sidebar-icon-${R.key}`,{},void 0,!0)])}))]),1032,["bottom-items","header-height","mobile-top-offset","open","top-items","top-offset"])),e.createElementVNode("main",mn,[e.createElementVNode("div",bn,[e.createElementVNode("div",pn,[O[0]||(O[0]=e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),e.renderSlot(E.$slots,"app-error",{},void 0,!0),c.value?e.createCommentVNode("",!0):e.renderSlot(E.$slots,"default",{key:0},void 0,!0)])])])],2))}}),[["__scopeId","data-v-47c01124"]]),hn={class:"kong-ui-app-page-header"},gn={key:0,class:"page-header-breadcrumbs","data-testid":"page-header-breadcrumbs"},vn={class:"page-header-title-section"},yn={class:"page-header-title-wrapper"},kn={key:0,class:"page-header-title-before","data-testid":"page-header-title-before"},wn=["title"],Cn={key:1,class:"page-header-title-after","data-testid":"page-header-title-after"},Sn={key:0,class:"page-header-actions","data-testid":"page-header-actions"},En={key:1,class:"page-header-section-below","data-testid":"page-header-section-below"},Nn=K(e.defineComponent({__name:"AppPageHeader",props:{title:{type:String,default:""},breadcrumbs:{type:Array,default:()=>[]}},setup(n){const a=n,o=e.useSlots(),r=e.computed(()=>{var d;return!!((d=a.breadcrumbs)!=null&&d.length)}),s=e.computed(()=>Object.keys(o).filter(d=>d.startsWith("icon-")));return(d,c)=>{const b=e.resolveComponent("KBreadcrumbs");return e.openBlock(),e.createElementBlock("div",hn,[r.value?(e.openBlock(),e.createElementBlock("div",gn,[e.createVNode(b,{"item-max-width":"150",items:n.breadcrumbs},e.createSlots({_:2},[e.renderList(s.value,g=>({name:g,fn:e.withCtx(()=>[e.renderSlot(d.$slots,g,{},void 0,!0)])}))]),1032,["items"])])):e.createCommentVNode("",!0),e.createElementVNode("div",vn,[e.createElementVNode("div",yn,[d.$slots["title-before"]?(e.openBlock(),e.createElementBlock("div",kn,[e.renderSlot(d.$slots,"title-before",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("h1",{class:"page-header-title","data-testid":"page-header-title",title:n.title},e.toDisplayString(n.title),9,wn),d.$slots["title-after"]?(e.openBlock(),e.createElementBlock("div",Cn,[e.renderSlot(d.$slots,"title-after",{},void 0,!0)])):e.createCommentVNode("",!0)]),d.$slots.actions?(e.openBlock(),e.createElementBlock("div",Sn,[e.renderSlot(d.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),d.$slots.below?(e.openBlock(),e.createElementBlock("div",En,[e.renderSlot(d.$slots,"below",{},void 0,!0)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-204b7f98"]]),Tn={install:(n,a={})=>{n.component(a.name||"AppLayout",ct)}};L.AccountDropdown=At,L.AppAboutSection=zt,L.AppError=Qt,L.AppLayout=ct,L.AppNavbar=He,L.AppPageHeader=Nn,L.AppSidebar=ot,L.SidebarToggle=it,L.default=Tn,Object.defineProperties(L,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1 +1 @@
1
- {"version":3,"file":"useDebounce.d.ts","sourceRoot":"","sources":["../../../src/composables/useDebounce.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,WAAW;gCAQE,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG,SAAS,MAAM,KAAG,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,IAAI;EAkBjG"}
1
+ {"version":3,"file":"useDebounce.d.ts","sourceRoot":"","sources":["../../../src/composables/useDebounce.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,WAAW;0CAQY,GAAG,KAAK,GAAG,SAAS,MAAM,eAAa,GAAG,KAAK,IAAI;EAkBjG"}
@@ -9,8 +9,8 @@ import AppSidebar from './components/sidebar/AppSidebar.vue';
9
9
  import SidebarToggle from './components/sidebar/SidebarToggle.vue';
10
10
  declare const _default: {
11
11
  install: (app: App, options?: {
12
- name?: string;
13
12
  [key: string]: any;
13
+ name?: string | undefined;
14
14
  }) => void;
15
15
  };
16
16
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE9B,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,eAAe,MAAM,+CAA+C,CAAA;AAC3E,OAAO,QAAQ,MAAM,kCAAkC,CAAA;AACvD,OAAO,SAAS,MAAM,4BAA4B,CAAA;AAClD,OAAO,SAAS,MAAM,mCAAmC,CAAA;AACzD,OAAO,aAAa,MAAM,2CAA2C,CAAA;AACrE,OAAO,UAAU,MAAM,qCAAqC,CAAA;AAC5D,OAAO,aAAa,MAAM,wCAAwC,CAAA;;mBAMjD,GAAG,YAAW;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,KAAQ,IAAI;;AAHhF,wBAMC;AAGD,OAAO,EACL,eAAe,EACf,eAAe,EACf,QAAQ,EACR,SAAS,EACT,SAAS,EACT,aAAa,EACb,UAAU,EACV,aAAa,GACd,CAAA;AAED,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE9B,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,eAAe,MAAM,+CAA+C,CAAA;AAC3E,OAAO,QAAQ,MAAM,kCAAkC,CAAA;AACvD,OAAO,SAAS,MAAM,4BAA4B,CAAA;AAClD,OAAO,SAAS,MAAM,mCAAmC,CAAA;AACzD,OAAO,aAAa,MAAM,2CAA2C,CAAA;AACrE,OAAO,UAAU,MAAM,qCAAqC,CAAA;AAC5D,OAAO,aAAa,MAAM,wCAAwC,CAAA;;mBAMjD,GAAG;;;UAAwD,IAAI;;AAHhF,wBAMC;AAGD,OAAO,EACL,eAAe,EACf,eAAe,EACf,QAAQ,EACR,SAAS,EACT,SAAS,EACT,aAAa,EACb,UAAU,EACV,aAAa,GACd,CAAA;AAED,cAAc,SAAS,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/app-layout",
3
- "version": "4.2.36-pr.1599.ffad86d9.0",
3
+ "version": "4.2.36-pr.1654.1d67a5b5.0",
4
4
  "type": "module",
5
5
  "main": "./dist/app-layout.umd.js",
6
6
  "module": "./dist/app-layout.es.js",
@@ -23,19 +23,19 @@
23
23
  "peerDependencies": {
24
24
  "@kong/kongponents": "^9.8.1",
25
25
  "vue": ">= 3.3.13 < 4",
26
- "vue-router": "^4.4.4"
26
+ "vue-router": "^4.3.3"
27
27
  },
28
28
  "dependencies": {
29
29
  "@kong/icons": "^1.15.2",
30
- "focus-trap": "^7.6.0",
30
+ "focus-trap": "^7.5.4",
31
31
  "focus-trap-vue": "^4.0.3",
32
32
  "lodash.clonedeep": "^4.5.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@kong/design-tokens": "1.17.2",
36
- "@kong/kongponents": "9.8.1",
36
+ "@kong/kongponents": "9.8.3-pr.2405.bd1b6cc7a.0",
37
37
  "@types/lodash.clonedeep": "^4.5.9",
38
- "vue": "^3.5.4",
38
+ "vue": "^3.5.8",
39
39
  "vue-router": "^4.4.5"
40
40
  },
41
41
  "repository": {