@kong-ui-public/app-layout 4.11.29 → 4.11.30

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,13 +1,13 @@
1
- (function(R,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@kong/icons"),require("@kong/kongponents")):typeof define=="function"&&define.amd?define(["exports","vue","@kong/icons","@kong/kongponents"],e):(R=typeof globalThis<"u"?globalThis:R||self,e(R["kong-ui-public-app-layout"]={},R.Vue,R.KongIcons,R.Kongponents))})(this,function(R,e,De,Je){"use strict";const Zt=e.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(n){return(t,r)=>{const o=e.resolveComponent("KDropdownItem"),c=e.resolveComponent("KDropdown");return e.openBlock(),e.createBlock(c,{class:"account-dropdown","kpop-attributes":{placement:"bottom-end"},"trigger-text":n.userInitials,width:n.width},{items:e.withCtx(({handleSelection:s})=>[e.renderSlot(t.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.options,i=>(e.openBlock(),e.createBlock(o,{key:i.value,class:e.normalizeClass({"has-divider":i.hasDivider}),"data-testid":"select-"+i.value,"has-divider":i.hasDivider,onClick:p=>s(i)},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{option:i},()=>[e.createTextVNode(e.toDisplayString(i.label),1)],!0)]),_:2},1032,["class","data-testid","has-divider","onClick"]))),128))],!0)]),_:3},8,["trigger-text","width"])}}}),q=(n,t)=>{const r=n.__vccOpts||n;for(const[o,c]of t)r[o]=c;return r},zt=q(Zt,[["__scopeId","data-v-740b4c70"]]),Ht={class:"about-section-title","data-testid":"about-section-title"},Wt={class:"about-section-header-end"},Gt={key:0,class:"about-section-timestamps-created","data-testid":"about-section-timestamps-created"},Ut={key:1,class:"about-section-timestamps-arrow"},qt={key:2,class:"about-section-timestamps-modified","data-testid":"about-section-timestamps-modified"},Xt={key:1,class:"about-section-actions","data-testid":"about-section-actions"},Yt={key:0,"data-testid":"about-section-loading-skeleton"},Qt={key:1},Jt={key:0,class:"about-section-description","data-testid":"about-section-description"},ea={key:1,class:"about-section-content","data-testid":"about-section-content"},ta={key:2,"data-testid":"about-divider-section-separator"},aa={key:3,class:"about-divider-section","data-testid":"about-divider-section"},na=q(e.defineComponent({__name:"AppAboutSection",props:{title:{default:""},description:{default:""},created:{default:""},createdLabel:{default:"Created"},modified:{default:""},modifiedLabel:{default:"Modified"},isLoading:{type:Boolean,default:!1}},setup(n){const t=n,r=e.computed(()=>!!t.modified&&t.modified!==t.created);return(o,c)=>{const s=e.resolveComponent("KSkeletonBox"),i=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(i,{class:"kong-ui-app-about-section","title-tag":"h2"},e.createSlots({default:e.withCtx(()=>[n.isLoading?(e.openBlock(),e.createElementBlock("div",Yt,[e.createVNode(s,{height:"2",width:"100"}),e.createVNode(s,{height:"2",width:"100"})])):(e.openBlock(),e.createElementBlock("div",Qt,[n.description?(e.openBlock(),e.createElementBlock("p",Jt,e.toDisplayString(n.description),1)):e.createCommentVNode("",!0),o.$slots.default?(e.openBlock(),e.createElementBlock("div",ea,[e.renderSlot(o.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("hr",ta)):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("div",aa,[e.renderSlot(o.$slots,"divider-section",{},void 0,!0)])):e.createCommentVNode("",!0)]))]),_:2},[o.$slots.title||n.title?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",Ht,[e.renderSlot(o.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(n.title),1)],!0)])]),key:"0"}:void 0,o.$slots.actions||n.created||n.modified?{name:"actions",fn:e.withCtx(()=>[e.createElementVNode("div",Wt,[n.created||n.modified?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["about-section-timestamps",{"has-actions":o.$slots.actions}])},[n.created?(e.openBlock(),e.createElementBlock("span",Gt,e.toDisplayString(n.createdLabel)+": "+e.toDisplayString(n.created),1)):e.createCommentVNode("",!0),n.created&&r.value?(e.openBlock(),e.createElementBlock("span",Ut,"->")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("span",qt,e.toDisplayString(n.modifiedLabel)+": "+e.toDisplayString(n.modified),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),o.$slots.actions?(e.openBlock(),e.createElementBlock("div",Xt,[e.renderSlot(o.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1024)}}}),[["__scopeId","data-v-90b5a21c"]]),oa={},ra={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"};function ia(n,t){return e.openBlock(),e.createElementBlock("svg",ra,[...t[0]||(t[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 la=q(oa,[["render",ia]]),ca={class:"kong-ui-app-error"},sa={class:"banana-icon"},da={class:"kong-ui-app-error-content"},ua=q(e.defineComponent({__name:"AppError",setup(n){return(t,r)=>(e.openBlock(),e.createElementBlock("section",ca,[e.createElementVNode("div",sa,[e.createVNode(la)]),e.createElementVNode("div",da,[e.renderSlot(t.$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-6ce28ec8"]]),fa={class:"kong-ui-app-navbar"},pa={class:"header-content"},ma={class:"mobile-header-left"},ba={key:0,class:"app-navbar-logo"},ha={class:"navbar-content"},ga={class:"navbar-content-left"},ya={class:"navbar-content-center"},va={class:"navbar-content-right"},et=q(e.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(n){e.useCssVars(i=>({v4b7bbbb4:s.value.top,v1c1e69b9:s.value.zIndex,v23f7f188:s.value.left,v72a8a150:c.marginRight,v0b2fff88:c.width}));const t=n,r=e.useSlots(),o=e.computed(()=>!!r.logo),c=e.reactive({marginRight:"0",width:"0"});e.onMounted(()=>{var i,p;(p=(i=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:i.children)!=null&&p.length?(c.marginRight="32px",c.width="calc(240px - 32px)"):(c.marginRight="0",c.width="0")});const s=e.computed(()=>({top:t.topOffset?`${t.topOffset}px`:"0",left:t.leftOffset?`${t.leftOffset}px`:"0",zIndex:t.zIndex}));return(i,p)=>(e.openBlock(),e.createElementBlock("header",fa,[e.createElementVNode("div",pa,[e.createElementVNode("div",ma,[e.renderSlot(i.$slots,"mobile-sidebar-toggle"),e.renderSlot(i.$slots,"mobile-logo")]),o.value?(e.openBlock(),e.createElementBlock("div",ba,[e.renderSlot(i.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",ha,[e.createElementVNode("div",ga,[e.renderSlot(i.$slots,"left")]),e.createElementVNode("div",ya,[e.renderSlot(i.$slots,"center")]),e.createElementVNode("div",va,[e.renderSlot(i.$slots,"right")])])])]))}}),[["__scopeId","data-v-537ba5e0"]]);function ka(n){return e.getCurrentScope()?(e.onScopeDispose(n),!0):!1}const Ve=new WeakMap,wa=(...n)=>{var t;const r=n[0],o=(t=e.getCurrentInstance())==null?void 0:t.proxy;if(o==null&&!e.hasInjectionContext())throw new Error("injectLocal must be called in setup");return o&&Ve.has(o)&&r in Ve.get(o)?Ve.get(o)[r]:e.inject(...n)},Ca=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Sa=Object.prototype.toString,Ea=n=>Sa.call(n)==="[object Object]";function tt(n){return n.endsWith("rem")?Number.parseFloat(n)*16:Number.parseFloat(n)}function Re(n){return Array.isArray(n)?n:[n]}function Ta(n,t,r){return e.watch(n,t,{...r,immediate:!0})}const at=Ca?window:void 0;function Ba(n){var t;const r=e.toValue(n);return(t=r==null?void 0:r.$el)!=null?t:r}function Na(...n){const t=[],r=()=>{t.forEach(p=>p()),t.length=0},o=(p,b,C,S)=>(p.addEventListener(b,C,S),()=>p.removeEventListener(b,C,S)),c=e.computed(()=>{const p=Re(e.toValue(n[0])).filter(b=>b!=null);return p.every(b=>typeof b!="string")?p:void 0}),s=Ta(()=>{var p,b;return[(b=(p=c.value)==null?void 0:p.map(C=>Ba(C)))!=null?b:[at].filter(C=>C!=null),Re(e.toValue(c.value?n[1]:n[0])),Re(e.unref(c.value?n[2]:n[1])),e.toValue(c.value?n[3]:n[2])]},([p,b,C,S])=>{if(r(),!(p!=null&&p.length)||!(b!=null&&b.length)||!(C!=null&&C.length))return;const $=Ea(S)?{...S}:S;t.push(...p.flatMap(O=>b.flatMap(A=>C.map(N=>o(O,A,N,$)))))},{flush:"post"}),i=()=>{s(),r()};return ka(r),i}function Ia(){const n=e.shallowRef(!1),t=e.getCurrentInstance();return t&&e.onMounted(()=>{n.value=!0},t),n}function _a(n){const t=Ia();return e.computed(()=>(t.value,!!n()))}const $a=Symbol("vueuse-ssr-width");function Oa(){const n=e.hasInjectionContext()?wa($a,null):null;return typeof n=="number"?n:void 0}function Aa(n,t={}){const{window:r=at,ssrWidth:o=Oa()}=t,c=_a(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function"),s=e.shallowRef(typeof o=="number"),i=e.shallowRef(),p=e.shallowRef(!1),b=C=>{p.value=C.matches};return e.watchEffect(()=>{if(s.value){s.value=!c.value;const C=e.toValue(n).split(",");p.value=C.some(S=>{const $=S.includes("not all"),O=S.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),A=S.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let N=!!(O||A);return O&&N&&(N=o>=tt(O[1])),A&&N&&(N=o<=tt(A[1])),$?!N:N});return}c.value&&(i.value=r.matchMedia(e.toValue(n)),p.value=i.value.matches)}),Na(i,"change",b,{passive:!0}),e.computed(()=>p.value)}const xa="#ffffff",Fa="#000933",Da="#000933",Va="#ffffff",Ra="0px",La="4px",Ma="640px",ja="16px",Pa="#bee2ff",Ka=["title"],Le=99,Za=q(e.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(n){const t=n,r=e.computed(()=>t.count?t.count>Le?`${Le}+`:t.count.toString():"");return(o,c)=>r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(n.count||0)>Le?String(n.count):void 0},e.toDisplayString(r.value),9,Ka)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-a0c9b043"]]),za=["data-testid"],Ha=["aria-controls","aria-current","aria-expanded","href","target","onClick","onKeypress"],Wa={key:0,class:"sidebar-item-icon"},Ga={class:"sidebar-item-name-container"},Ua={class:"sidebar-item-name has-tooltip"},qa={key:2,class:"sidebar-item-label truncate-text truncate-18"},Xa={key:1,class:"sidebar-item-after"},Ya=["id"],nt=q(e.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(n,{emit:t}){const r=t,o=n,c=e.useSlots(),s=e.computed(()=>typeof o.item.to!="string"?!1:!!o.item.newWindow||!!o.item.external||o.item.to.startsWith("http")),i=e.computed(()=>!o.item.to||typeof o.item.to!="string"||!o.item.newWindow?!1:o.item.newWindow&&(o.item.to.startsWith("http")||o.item.to.startsWith("/"))),p=e.computed(()=>o.subnavItem&&o.item.badgeCount!==void 0&&o.item.badgeCount!==0||!!c[`sidebar-after-${o.item.key}`]),b=S=>{r("click",S)},C=(S,$,O)=>{b($),typeof O=="function"&&(S.preventDefault(),O())};return(S,$)=>{var N;const O=e.resolveComponent("KTooltip"),A=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&&!i.value?n.item.to:void 0},{default:e.withCtx(x=>{var X,L;return[e.createElementVNode("a",{"aria-controls":(X=n.item.items)!=null&&X.length&&n.item.expanded?`subnav-${n.item.key}`:void 0,"aria-current":n.item.active?"page":void 0,"aria-expanded":(L=n.item.items)!=null&&L.length&&n.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":i.value,"router-link":!s.value}]),href:s.value?String(n.item.to||"#"):x==null?void 0:x.href,target:i.value?"_blank":void 0,onClick:j=>C(j,n.item,x==null?void 0:x.navigate),onKeypress:e.withKeys(j=>C(j,n.item,x==null?void 0:x.navigate),["enter"])},[e.createElementVNode("div",{class:e.normalizeClass(["sidebar-item-display",{"has-label":!!n.item.label&&n.item.expanded,"has-after-content":p.value}])},[S.$slots[`sidebar-icon-${n.item.key}`]?(e.openBlock(),e.createElementBlock("div",Wa,[n.subnavItem?e.createCommentVNode("",!0):e.renderSlot(S.$slots,`sidebar-icon-${n.item.key}`,{key:0},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Ga,[(n.subnavItem&&!p.value?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-after-content-max-width truncate-24":"truncate-17"]])},e.toDisplayString(n.item.name),3)):(e.openBlock(),e.createBlock(O,{key:1,class:"sidebar-item-tooltip",placement:"right","position-fixed":"",text:n.item.name},{default:e.withCtx(()=>[e.createElementVNode("div",Ua,[e.createElementVNode("span",{class:e.normalizeClass(["truncate-text",[n.subnavItem?"truncate-18":"truncate-17",{"has-after-content-max-width":p.value}]])},e.toDisplayString(n.item.name),3)])]),_:1},8,["text"])),n.item.label&&n.item.expanded?(e.openBlock(),e.createElementBlock("div",qa,e.toDisplayString(n.item.label),1)):e.createCommentVNode("",!0)]),p.value?(e.openBlock(),e.createElementBlock("div",Xa,[n.item.badgeCount?(e.openBlock(),e.createBlock(Za,{key:0,count:n.item.badgeCount},null,8,["count"])):e.renderSlot(S.$slots,`sidebar-after-${n.item.key}`,{key:1},void 0,!0)])):e.createCommentVNode("",!0)],2)],42,Ha)]}),_:3},8,["custom","to"])),(N=n.item.items)!=null&&N.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,x=>(e.openBlock(),e.createBlock(A,{key:x.name,item:x,"subnav-item":!0,onClick:X=>b(x)},null,8,["item","onClick"]))),128))],8,Ya)):e.createCommentVNode("",!0)],10,za)}}}),[["__scopeId","data-v-a8ca71d3"]]);/*!
1
+ (function(R,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@kong/icons"),require("@kong/kongponents")):typeof define=="function"&&define.amd?define(["exports","vue","@kong/icons","@kong/kongponents"],e):(R=typeof globalThis<"u"?globalThis:R||self,e(R["kong-ui-public-app-layout"]={},R.Vue,R.KongIcons,R.Kongponents))})(this,function(R,e,De,Je){"use strict";const Zt=e.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(n){return(t,r)=>{const o=e.resolveComponent("KDropdownItem"),c=e.resolveComponent("KDropdown");return e.openBlock(),e.createBlock(c,{class:"account-dropdown","kpop-attributes":{placement:"bottom-end"},"trigger-text":n.userInitials,width:n.width},{items:e.withCtx(({handleSelection:s})=>[e.renderSlot(t.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.options,i=>(e.openBlock(),e.createBlock(o,{key:i.value,class:e.normalizeClass({"has-divider":i.hasDivider}),"data-testid":"select-"+i.value,"has-divider":i.hasDivider,onClick:m=>s(i)},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{option:i},()=>[e.createTextVNode(e.toDisplayString(i.label),1)],!0)]),_:2},1032,["class","data-testid","has-divider","onClick"]))),128))],!0)]),_:3},8,["trigger-text","width"])}}}),q=(n,t)=>{const r=n.__vccOpts||n;for(const[o,c]of t)r[o]=c;return r},zt=q(Zt,[["__scopeId","data-v-740b4c70"]]),Ht={class:"about-section-title","data-testid":"about-section-title"},Wt={class:"about-section-header-end"},Gt={key:0,class:"about-section-timestamps-created","data-testid":"about-section-timestamps-created"},Ut={key:1,class:"about-section-timestamps-arrow"},qt={key:2,class:"about-section-timestamps-modified","data-testid":"about-section-timestamps-modified"},Xt={key:1,class:"about-section-actions","data-testid":"about-section-actions"},Yt={key:0,"data-testid":"about-section-loading-skeleton"},Qt={key:1},Jt={key:0,class:"about-section-description","data-testid":"about-section-description"},ea={key:1,class:"about-section-content","data-testid":"about-section-content"},ta={key:2,"data-testid":"about-divider-section-separator"},aa={key:3,class:"about-divider-section","data-testid":"about-divider-section"},na=q(e.defineComponent({__name:"AppAboutSection",props:{title:{default:""},description:{default:""},created:{default:""},createdLabel:{default:"Created"},modified:{default:""},modifiedLabel:{default:"Modified"},isLoading:{type:Boolean,default:!1}},setup(n){const t=n,r=e.computed(()=>!!t.modified&&t.modified!==t.created);return(o,c)=>{const s=e.resolveComponent("KSkeletonBox"),i=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(i,{class:"kong-ui-app-about-section","title-tag":"h2"},e.createSlots({default:e.withCtx(()=>[n.isLoading?(e.openBlock(),e.createElementBlock("div",Yt,[e.createVNode(s,{height:"2",width:"100"}),e.createVNode(s,{height:"2",width:"100"})])):(e.openBlock(),e.createElementBlock("div",Qt,[n.description?(e.openBlock(),e.createElementBlock("p",Jt,e.toDisplayString(n.description),1)):e.createCommentVNode("",!0),o.$slots.default?(e.openBlock(),e.createElementBlock("div",ea,[e.renderSlot(o.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("hr",ta)):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("div",aa,[e.renderSlot(o.$slots,"divider-section",{},void 0,!0)])):e.createCommentVNode("",!0)]))]),_:2},[o.$slots.title||n.title?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",Ht,[e.renderSlot(o.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(n.title),1)],!0)])]),key:"0"}:void 0,o.$slots.actions||n.created||n.modified?{name:"actions",fn:e.withCtx(()=>[e.createElementVNode("div",Wt,[n.created||n.modified?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["about-section-timestamps",{"has-actions":o.$slots.actions}])},[n.created?(e.openBlock(),e.createElementBlock("span",Gt,e.toDisplayString(n.createdLabel)+": "+e.toDisplayString(n.created),1)):e.createCommentVNode("",!0),n.created&&r.value?(e.openBlock(),e.createElementBlock("span",Ut,"->")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("span",qt,e.toDisplayString(n.modifiedLabel)+": "+e.toDisplayString(n.modified),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),o.$slots.actions?(e.openBlock(),e.createElementBlock("div",Xt,[e.renderSlot(o.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1024)}}}),[["__scopeId","data-v-90b5a21c"]]),oa={},ra={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"};function ia(n,t){return e.openBlock(),e.createElementBlock("svg",ra,[...t[0]||(t[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 la=q(oa,[["render",ia]]),ca={class:"kong-ui-app-error"},sa={class:"banana-icon"},da={class:"kong-ui-app-error-content"},ua=q(e.defineComponent({__name:"AppError",setup(n){return(t,r)=>(e.openBlock(),e.createElementBlock("section",ca,[e.createElementVNode("div",sa,[e.createVNode(la)]),e.createElementVNode("div",da,[e.renderSlot(t.$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-6ce28ec8"]]),fa={class:"kong-ui-app-navbar"},ma={class:"header-content"},pa={class:"mobile-header-left"},ba={key:0,class:"app-navbar-logo"},ha={class:"navbar-content"},ga={class:"navbar-content-left"},ya={class:"navbar-content-center"},va={class:"navbar-content-right"},et=q(e.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(n){e.useCssVars(i=>({v4b7bbbb4:s.value.top,v1c1e69b9:s.value.zIndex,v23f7f188:s.value.left,v72a8a150:c.marginRight,v0b2fff88:c.width}));const t=n,r=e.useSlots(),o=e.computed(()=>!!r.logo),c=e.reactive({marginRight:"0",width:"0"});e.onMounted(()=>{var i,m;(m=(i=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:i.children)!=null&&m.length?(c.marginRight="32px",c.width="calc(240px - 32px)"):(c.marginRight="0",c.width="0")});const s=e.computed(()=>({top:t.topOffset?`${t.topOffset}px`:"0",left:t.leftOffset?`${t.leftOffset}px`:"0",zIndex:t.zIndex}));return(i,m)=>(e.openBlock(),e.createElementBlock("header",fa,[e.createElementVNode("div",ma,[e.createElementVNode("div",pa,[e.renderSlot(i.$slots,"mobile-sidebar-toggle"),e.renderSlot(i.$slots,"mobile-logo")]),o.value?(e.openBlock(),e.createElementBlock("div",ba,[e.renderSlot(i.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",ha,[e.createElementVNode("div",ga,[e.renderSlot(i.$slots,"left")]),e.createElementVNode("div",ya,[e.renderSlot(i.$slots,"center")]),e.createElementVNode("div",va,[e.renderSlot(i.$slots,"right")])])])]))}}),[["__scopeId","data-v-537ba5e0"]]),Ve=new WeakMap,ka=(...n)=>{var t;const r=n[0],o=(t=e.getCurrentInstance())===null||t===void 0?void 0:t.proxy,c=o??e.getCurrentScope();if(c==null&&!e.hasInjectionContext())throw new Error("injectLocal must be called in setup");return c&&Ve.has(c)&&r in Ve.get(c)?Ve.get(c)[r]:e.inject(...n)},wa=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ca=Object.prototype.toString,Sa=n=>Ca.call(n)==="[object Object]";function tt(n){return n.endsWith("rem")?Number.parseFloat(n)*16:Number.parseFloat(n)}function Re(n){return Array.isArray(n)?n:[n]}function Ea(n,t,r){return e.watch(n,t,{...r,immediate:!0})}const at=wa?window:void 0;function Ta(n){var t;const r=e.toValue(n);return(t=r==null?void 0:r.$el)!==null&&t!==void 0?t:r}function Ba(...n){const t=(o,c,s,i)=>(o.addEventListener(c,s,i),()=>o.removeEventListener(c,s,i)),r=e.computed(()=>{const o=Re(e.toValue(n[0])).filter(c=>c!=null);return o.every(c=>typeof c!="string")?o:void 0});return Ea(()=>{var o,c;return[(o=(c=r.value)===null||c===void 0?void 0:c.map(s=>Ta(s)))!==null&&o!==void 0?o:[at].filter(s=>s!=null),Re(e.toValue(r.value?n[1]:n[0])),Re(e.unref(r.value?n[2]:n[1])),e.toValue(r.value?n[3]:n[2])]},([o,c,s,i],m,y)=>{if(!(o!=null&&o.length)||!(c!=null&&c.length)||!(s!=null&&s.length))return;const S=Sa(i)?{...i}:i,T=o.flatMap(I=>c.flatMap(O=>s.map($=>t(I,O,$,S))));y(()=>{T.forEach(I=>I())})},{flush:"post"})}function Na(){const n=e.shallowRef(!1),t=e.getCurrentInstance();return t&&e.onMounted(()=>{n.value=!0},t),n}function Ia(n){const t=Na();return e.computed(()=>(t.value,!!n()))}const _a=Symbol("vueuse-ssr-width");function $a(){const n=e.hasInjectionContext()?ka(_a,null):null;return typeof n=="number"?n:void 0}function Oa(n,t={}){const{window:r=at,ssrWidth:o=$a()}=t,c=Ia(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function"),s=e.shallowRef(typeof o=="number"),i=e.shallowRef(),m=e.shallowRef(!1),y=S=>{m.value=S.matches};return e.watchEffect(()=>{if(s.value){s.value=!c.value,m.value=e.toValue(n).split(",").some(S=>{const T=S.includes("not all"),I=S.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),O=S.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let $=!!(I||O);return I&&$&&($=o>=tt(I[1])),O&&$&&($=o<=tt(O[1])),T?!$:$});return}c.value&&(i.value=r.matchMedia(e.toValue(n)),m.value=i.value.matches)}),Ba(i,"change",y,{passive:!0}),e.computed(()=>m.value)}const Aa="#ffffff",xa="#000933",Fa="#000933",Da="#ffffff",Va="0px",Ra="4px",La="640px",Ma="16px",Pa="#bee2ff",ja=["title"],Le=99,Ka=q(e.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(n){const t=n,r=e.computed(()=>t.count?t.count>Le?`${Le}+`:t.count.toString():"");return(o,c)=>r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(n.count||0)>Le?String(n.count):void 0},e.toDisplayString(r.value),9,ja)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-a0c9b043"]]),Za=["data-testid"],za=["aria-controls","aria-current","aria-expanded","href","target","onClick","onKeypress"],Ha={key:0,class:"sidebar-item-icon"},Wa={class:"sidebar-item-name-container"},Ga={class:"sidebar-item-name has-tooltip"},Ua={key:2,class:"sidebar-item-label truncate-text truncate-18"},qa={key:1,class:"sidebar-item-after"},Xa=["id"],nt=q(e.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(n,{emit:t}){const r=t,o=n,c=e.useSlots(),s=e.computed(()=>typeof o.item.to!="string"?!1:!!o.item.newWindow||!!o.item.external||o.item.to.startsWith("http")),i=e.computed(()=>!o.item.to||typeof o.item.to!="string"||!o.item.newWindow?!1:o.item.newWindow&&(o.item.to.startsWith("http")||o.item.to.startsWith("/"))),m=e.computed(()=>o.subnavItem&&o.item.badgeCount!==void 0&&o.item.badgeCount!==0||!!c[`sidebar-after-${o.item.key}`]),y=T=>{r("click",T)},S=(T,I,O)=>{y(I),typeof O=="function"&&(T.preventDefault(),O())};return(T,I)=>{var A;const O=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&&!i.value?n.item.to:void 0},{default:e.withCtx(x=>{var X,L;return[e.createElementVNode("a",{"aria-controls":(X=n.item.items)!=null&&X.length&&n.item.expanded?`subnav-${n.item.key}`:void 0,"aria-current":n.item.active?"page":void 0,"aria-expanded":(L=n.item.items)!=null&&L.length&&n.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":i.value,"router-link":!s.value}]),href:s.value?String(n.item.to||"#"):x==null?void 0:x.href,target:i.value?"_blank":void 0,onClick:P=>S(P,n.item,x==null?void 0:x.navigate),onKeypress:e.withKeys(P=>S(P,n.item,x==null?void 0:x.navigate),["enter"])},[e.createElementVNode("div",{class:e.normalizeClass(["sidebar-item-display",{"has-label":!!n.item.label&&n.item.expanded,"has-after-content":m.value}])},[T.$slots[`sidebar-icon-${n.item.key}`]?(e.openBlock(),e.createElementBlock("div",Ha,[n.subnavItem?e.createCommentVNode("",!0):e.renderSlot(T.$slots,`sidebar-icon-${n.item.key}`,{key:0},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Wa,[(n.subnavItem&&!m.value?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-after-content-max-width truncate-24":"truncate-17"]])},e.toDisplayString(n.item.name),3)):(e.openBlock(),e.createBlock(O,{key:1,class:"sidebar-item-tooltip",placement:"right","position-fixed":"",text:n.item.name},{default:e.withCtx(()=>[e.createElementVNode("div",Ga,[e.createElementVNode("span",{class:e.normalizeClass(["truncate-text",[n.subnavItem?"truncate-18":"truncate-17",{"has-after-content-max-width":m.value}]])},e.toDisplayString(n.item.name),3)])]),_:1},8,["text"])),n.item.label&&n.item.expanded?(e.openBlock(),e.createElementBlock("div",Ua,e.toDisplayString(n.item.label),1)):e.createCommentVNode("",!0)]),m.value?(e.openBlock(),e.createElementBlock("div",qa,[n.item.badgeCount?(e.openBlock(),e.createBlock(Ka,{key:0,count:n.item.badgeCount},null,8,["count"])):e.renderSlot(T.$slots,`sidebar-after-${n.item.key}`,{key:1},void 0,!0)])):e.createCommentVNode("",!0)],2)],42,za)]}),_:3},8,["custom","to"])),(A=n.item.items)!=null&&A.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,x=>(e.openBlock(),e.createBlock($,{key:x.name,item:x,"subnav-item":!0,onClick:X=>y(x)},null,8,["item","onClick"]))),128))],8,Xa)):e.createCommentVNode("",!0)],10,Za)}}}),[["__scopeId","data-v-a8ca71d3"]]);/*!
2
2
  * tabbable 6.4.0
3
3
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4
- */var ot=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],we=ot.join(","),rt=typeof Element>"u",re=rt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ce=!rt&&Element.prototype.getRootNode?function(n){var t;return n==null||(t=n.getRootNode)===null||t===void 0?void 0:t.call(n)}:function(n){return n==null?void 0:n.ownerDocument},Se=function(t,r){var o;r===void 0&&(r=!0);var c=t==null||(o=t.getAttribute)===null||o===void 0?void 0:o.call(t,"inert"),s=c===""||c==="true",i=s||r&&t&&(typeof t.closest=="function"?t.closest("[inert]"):Se(t.parentNode));return i},Qa=function(t){var r,o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return o===""||o==="true"},it=function(t,r,o){if(Se(t))return[];var c=Array.prototype.slice.apply(t.querySelectorAll(we));return r&&re.call(t,we)&&c.unshift(t),c=c.filter(o),c},Ee=function(t,r,o){for(var c=[],s=Array.from(t);s.length;){var i=s.shift();if(!Se(i,!1))if(i.tagName==="SLOT"){var p=i.assignedElements(),b=p.length?p:i.children,C=Ee(b,!0,o);o.flatten?c.push.apply(c,C):c.push({scopeParent:i,candidates:C})}else{var S=re.call(i,we);S&&o.filter(i)&&(r||!t.includes(i))&&c.push(i);var $=i.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(i),O=!Se($,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(i));if($&&O){var A=Ee($===!0?i.children:$.children,!0,o);o.flatten?c.push.apply(c,A):c.push({scopeParent:i,candidates:A})}else s.unshift.apply(s,i.children)}}return c},lt=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},ie=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Qa(t))&&!lt(t)?0:t.tabIndex},Ja=function(t,r){var o=ie(t);return o<0&&r&&!lt(t)?0:o},en=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},ct=function(t){return t.tagName==="INPUT"},tn=function(t){return ct(t)&&t.type==="hidden"},an=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(o){return o.tagName==="SUMMARY"});return r},nn=function(t,r){for(var o=0;o<t.length;o++)if(t[o].checked&&t[o].form===r)return t[o]},on=function(t){if(!t.name)return!0;var r=t.form||Ce(t),o=function(p){return r.querySelectorAll('input[type="radio"][name="'+p+'"]')},c;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")c=o(window.CSS.escape(t.name));else try{c=o(t.name)}catch(i){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",i.message),!1}var s=nn(c,t.form);return!s||s===t},rn=function(t){return ct(t)&&t.type==="radio"},ln=function(t){return rn(t)&&!on(t)},cn=function(t){var r,o=t&&Ce(t),c=(r=o)===null||r===void 0?void 0:r.host,s=!1;if(o&&o!==t){var i,p,b;for(s=!!((i=c)!==null&&i!==void 0&&(p=i.ownerDocument)!==null&&p!==void 0&&p.contains(c)||t!=null&&(b=t.ownerDocument)!==null&&b!==void 0&&b.contains(t));!s&&c;){var C,S,$;o=Ce(c),c=(C=o)===null||C===void 0?void 0:C.host,s=!!((S=c)!==null&&S!==void 0&&($=S.ownerDocument)!==null&&$!==void 0&&$.contains(c))}}return s},st=function(t){var r=t.getBoundingClientRect(),o=r.width,c=r.height;return o===0&&c===0},sn=function(t,r){var o=r.displayCheck,c=r.getShadowRoot;if(o==="full-native"&&"checkVisibility"in t){var s=t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!s}if(getComputedStyle(t).visibility==="hidden")return!0;var i=re.call(t,"details>summary:first-of-type"),p=i?t.parentElement:t;if(re.call(p,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="full-native"||o==="legacy-full"){if(typeof c=="function"){for(var b=t;t;){var C=t.parentElement,S=Ce(t);if(C&&!C.shadowRoot&&c(C)===!0)return st(t);t.assignedSlot?t=t.assignedSlot:!C&&S!==t.ownerDocument?t=S.host:t=C}t=b}if(cn(t))return!t.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return st(t);return!1},dn=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var o=0;o<r.children.length;o++){var c=r.children.item(o);if(c.tagName==="LEGEND")return re.call(r,"fieldset[disabled] *")?!0:!c.contains(t)}return!0}r=r.parentElement}return!1},Te=function(t,r){return!(r.disabled||tn(r)||sn(r,t)||an(r)||dn(r))},Me=function(t,r){return!(ln(r)||ie(r)<0||!Te(t,r))},un=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},dt=function(t){var r=[],o=[];return t.forEach(function(c,s){var i=!!c.scopeParent,p=i?c.scopeParent:c,b=Ja(p,i),C=i?dt(c.candidates):p;b===0?i?r.push.apply(r,C):r.push(p):o.push({documentOrder:s,tabIndex:b,item:c,isScope:i,content:C})}),o.sort(en).reduce(function(c,s){return s.isScope?c.push.apply(c,s.content):c.push(s.content),c},[]).concat(r)},fn=function(t,r){r=r||{};var o;return r.getShadowRoot?o=Ee([t],r.includeContainer,{filter:Me.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:un}):o=it(t,r.includeContainer,Me.bind(null,r)),dt(o)},pn=function(t,r){r=r||{};var o;return r.getShadowRoot?o=Ee([t],r.includeContainer,{filter:Te.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):o=it(t,r.includeContainer,Te.bind(null,r)),o},ue=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return re.call(t,we)===!1?!1:Me(r,t)},mn=ot.concat("iframe:not([inert]):not([inert] *)").join(","),je=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return re.call(t,mn)===!1?!1:Te(r,t)};/*!
4
+ */var ot=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],we=ot.join(","),rt=typeof Element>"u",re=rt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ce=!rt&&Element.prototype.getRootNode?function(n){var t;return n==null||(t=n.getRootNode)===null||t===void 0?void 0:t.call(n)}:function(n){return n==null?void 0:n.ownerDocument},Se=function(t,r){var o;r===void 0&&(r=!0);var c=t==null||(o=t.getAttribute)===null||o===void 0?void 0:o.call(t,"inert"),s=c===""||c==="true",i=s||r&&t&&(typeof t.closest=="function"?t.closest("[inert]"):Se(t.parentNode));return i},Ya=function(t){var r,o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return o===""||o==="true"},it=function(t,r,o){if(Se(t))return[];var c=Array.prototype.slice.apply(t.querySelectorAll(we));return r&&re.call(t,we)&&c.unshift(t),c=c.filter(o),c},Ee=function(t,r,o){for(var c=[],s=Array.from(t);s.length;){var i=s.shift();if(!Se(i,!1))if(i.tagName==="SLOT"){var m=i.assignedElements(),y=m.length?m:i.children,S=Ee(y,!0,o);o.flatten?c.push.apply(c,S):c.push({scopeParent:i,candidates:S})}else{var T=re.call(i,we);T&&o.filter(i)&&(r||!t.includes(i))&&c.push(i);var I=i.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(i),O=!Se(I,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(i));if(I&&O){var $=Ee(I===!0?i.children:I.children,!0,o);o.flatten?c.push.apply(c,$):c.push({scopeParent:i,candidates:$})}else s.unshift.apply(s,i.children)}}return c},lt=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},ie=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Ya(t))&&!lt(t)?0:t.tabIndex},Qa=function(t,r){var o=ie(t);return o<0&&r&&!lt(t)?0:o},Ja=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},ct=function(t){return t.tagName==="INPUT"},en=function(t){return ct(t)&&t.type==="hidden"},tn=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(o){return o.tagName==="SUMMARY"});return r},an=function(t,r){for(var o=0;o<t.length;o++)if(t[o].checked&&t[o].form===r)return t[o]},nn=function(t){if(!t.name)return!0;var r=t.form||Ce(t),o=function(m){return r.querySelectorAll('input[type="radio"][name="'+m+'"]')},c;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")c=o(window.CSS.escape(t.name));else try{c=o(t.name)}catch(i){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",i.message),!1}var s=an(c,t.form);return!s||s===t},on=function(t){return ct(t)&&t.type==="radio"},rn=function(t){return on(t)&&!nn(t)},ln=function(t){var r,o=t&&Ce(t),c=(r=o)===null||r===void 0?void 0:r.host,s=!1;if(o&&o!==t){var i,m,y;for(s=!!((i=c)!==null&&i!==void 0&&(m=i.ownerDocument)!==null&&m!==void 0&&m.contains(c)||t!=null&&(y=t.ownerDocument)!==null&&y!==void 0&&y.contains(t));!s&&c;){var S,T,I;o=Ce(c),c=(S=o)===null||S===void 0?void 0:S.host,s=!!((T=c)!==null&&T!==void 0&&(I=T.ownerDocument)!==null&&I!==void 0&&I.contains(c))}}return s},st=function(t){var r=t.getBoundingClientRect(),o=r.width,c=r.height;return o===0&&c===0},cn=function(t,r){var o=r.displayCheck,c=r.getShadowRoot;if(o==="full-native"&&"checkVisibility"in t){var s=t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!s}if(getComputedStyle(t).visibility==="hidden")return!0;var i=re.call(t,"details>summary:first-of-type"),m=i?t.parentElement:t;if(re.call(m,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="full-native"||o==="legacy-full"){if(typeof c=="function"){for(var y=t;t;){var S=t.parentElement,T=Ce(t);if(S&&!S.shadowRoot&&c(S)===!0)return st(t);t.assignedSlot?t=t.assignedSlot:!S&&T!==t.ownerDocument?t=T.host:t=S}t=y}if(ln(t))return!t.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return st(t);return!1},sn=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var o=0;o<r.children.length;o++){var c=r.children.item(o);if(c.tagName==="LEGEND")return re.call(r,"fieldset[disabled] *")?!0:!c.contains(t)}return!0}r=r.parentElement}return!1},Te=function(t,r){return!(r.disabled||en(r)||cn(r,t)||tn(r)||sn(r))},Me=function(t,r){return!(rn(r)||ie(r)<0||!Te(t,r))},dn=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},dt=function(t){var r=[],o=[];return t.forEach(function(c,s){var i=!!c.scopeParent,m=i?c.scopeParent:c,y=Qa(m,i),S=i?dt(c.candidates):m;y===0?i?r.push.apply(r,S):r.push(m):o.push({documentOrder:s,tabIndex:y,item:c,isScope:i,content:S})}),o.sort(Ja).reduce(function(c,s){return s.isScope?c.push.apply(c,s.content):c.push(s.content),c},[]).concat(r)},un=function(t,r){r=r||{};var o;return r.getShadowRoot?o=Ee([t],r.includeContainer,{filter:Me.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:dn}):o=it(t,r.includeContainer,Me.bind(null,r)),dt(o)},fn=function(t,r){r=r||{};var o;return r.getShadowRoot?o=Ee([t],r.includeContainer,{filter:Te.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):o=it(t,r.includeContainer,Te.bind(null,r)),o},ue=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return re.call(t,we)===!1?!1:Me(r,t)},mn=ot.concat("iframe:not([inert]):not([inert] *)").join(","),Pe=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return re.call(t,mn)===!1?!1:Te(r,t)};/*!
5
5
  * focus-trap 8.2.1
6
6
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
7
- */function Pe(n,t){(t==null||t>n.length)&&(t=n.length);for(var r=0,o=Array(t);r<t;r++)o[r]=n[r];return o}function bn(n){if(Array.isArray(n))return Pe(n)}function ut(n,t){var r=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=mt(n))||t){r&&(n=r);var o=0,c=function(){};return{s:c,n:function(){return o>=n.length?{done:!0}:{done:!1,value:n[o++]}},e:function(b){throw b},f:c}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
8
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,i=!0,p=!1;return{s:function(){r=r.call(n)},n:function(){var b=r.next();return i=b.done,b},e:function(b){p=!0,s=b},f:function(){try{i||r.return==null||r.return()}finally{if(p)throw s}}}}function hn(n,t,r){return(t=wn(t))in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}function gn(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function yn(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
9
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ft(n,t){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);t&&(o=o.filter(function(c){return Object.getOwnPropertyDescriptor(n,c).enumerable})),r.push.apply(r,o)}return r}function pt(n){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ft(Object(r),!0).forEach(function(o){hn(n,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):ft(Object(r)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(r,o))})}return n}function vn(n){return bn(n)||gn(n)||mt(n)||yn()}function kn(n,t){if(typeof n!="object"||!n)return n;var r=n[Symbol.toPrimitive];if(r!==void 0){var o=r.call(n,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(n)}function wn(n){var t=kn(n,"string");return typeof t=="symbol"?t:t+""}function mt(n,t){if(n){if(typeof n=="string")return Pe(n,t);var r={}.toString.call(n).slice(8,-1);return r==="Object"&&n.constructor&&(r=n.constructor.name),r==="Map"||r==="Set"?Array.from(n):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pe(n,t):void 0}}var J={getActiveTrap:function(t){return(t==null?void 0:t.length)>0?t[t.length-1]:null},activateTrap:function(t,r){var o=J.getActiveTrap(t);r!==o&&J.pauseTrap(t);var c=t.indexOf(r);c===-1||t.splice(c,1),t.push(r)},deactivateTrap:function(t,r){var o=t.indexOf(r);o!==-1&&t.splice(o,1),J.unpauseTrap(t)},pauseTrap:function(t){var r=J.getActiveTrap(t);r==null||r._setPausedState(!0)},unpauseTrap:function(t){var r=J.getActiveTrap(t);r&&!r._isManuallyPaused()&&r._setPausedState(!1)}},Cn=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Sn=function(t){return(t==null?void 0:t.key)==="Escape"||(t==null?void 0:t.key)==="Esc"||(t==null?void 0:t.keyCode)===27},he=function(t){return(t==null?void 0:t.key)==="Tab"||(t==null?void 0:t.keyCode)===9},En=function(t){return he(t)&&!t.shiftKey},Tn=function(t){return he(t)&&t.shiftKey},bt=function(t){return setTimeout(t,0)},ge=function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),c=1;c<r;c++)o[c-1]=arguments[c];return typeof t=="function"?t.apply(void 0,o):t},Be=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},Bn=[],Nn=function(t,r){var o=(r==null?void 0:r.document)||document,c=(r==null?void 0:r.trapStack)||Bn,s=pt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,delayReturnFocus:!0,isolateSubtrees:!1,isKeyForward:En,isKeyBackward:Tn},r),i={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},p,b=function(d,f,v){return d&&d[f]!==void 0?d[f]:s[v||f]},C=function(d,f){var v=typeof(f==null?void 0:f.composedPath)=="function"?f.composedPath():void 0;return i.containerGroups.findIndex(function(T){var E=T.container,I=T.tabbableNodes;return E.contains(d)||(v==null?void 0:v.includes(E))||I.find(function(h){return h===d})})},S=function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=f.hasFallback,T=v===void 0?!1:v,E=f.params,I=E===void 0?[]:E,h=s[d];if(typeof h=="function"&&(h=h.apply(void 0,vn(I))),h===!0&&(h=void 0),!h){if(h===void 0||h===!1)return h;throw new Error("`".concat(d,"` was specified but was not a node, or did not return a node"))}var m=h;if(typeof h=="string"){try{m=o.querySelector(h)}catch(g){throw new Error("`".concat(d,'` appears to be an invalid selector; error="').concat(g.message,'"'))}if(!m&&!T)throw new Error("`".concat(d,"` as selector refers to no known node"))}return m},$=function(d){var f=d.activeElement;return f?f.shadowRoot&&f.shadowRoot.activeElement!==null?$(f.shadowRoot):f:null},O=function(){var d=S("initialFocus",{hasFallback:!0});if(d===!1)return!1;if(d===void 0||d&&!je(d,s.tabbableOptions)){var f=$(o);if(C(f)>=0)d=f;else{var v=i.tabbableGroups[0],T=v&&v.firstTabbableNode;d=T||S("fallbackFocus")}}else d===null&&(d=S("fallbackFocus"));if(!d)throw new Error("Your focus-trap needs to have at least one focusable element");return d},A=function(){if(i.containerGroups=i.containers.map(function(d){var f=fn(d,s.tabbableOptions),v=pn(d,s.tabbableOptions),T=f.length>0?f[0]:void 0,E=f.length>0?f[f.length-1]:void 0,I=v.find(function(g){return ue(g)}),h=v.slice().reverse().find(function(g){return ue(g)}),m=!!f.find(function(g){return ie(g)>0});return{container:d,tabbableNodes:f,focusableNodes:v,posTabIndexesFound:m,firstTabbableNode:T,lastTabbableNode:E,firstDomTabbableNode:I,lastDomTabbableNode:h,nextTabbableNode:function(y){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,D=f.indexOf(y);return D<0?k?v.slice(v.indexOf(y)+1).find(function(F){return ue(F)}):v.slice(0,v.indexOf(y)).reverse().find(function(F){return ue(F)}):f[D+(k?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(d){return d.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!S("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(i.containerGroups.find(function(d){return d.posTabIndexesFound})&&i.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.")},N=function(d){if(d!==!1&&d!==$(document)){if(!d||!d.focus){N(O());return}d.focus({preventScroll:!!s.preventScroll}),i.mostRecentlyFocusedNode=d,Cn(d)&&d.select()}},x=function(d){var f=S("setReturnFocus",{params:[d]});return f||(f===!1?!1:d)},X=function(d){var f=d.target,v=d.event,T=d.isBackward,E=T===void 0?!1:T;f=f||Be(v),A();var I=null;if(i.tabbableGroups.length>0){var h=C(f,v),m=h>=0?i.containerGroups[h]:void 0;if(h<0)E?I=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:I=i.tabbableGroups[0].firstTabbableNode;else if(E){var g=i.tabbableGroups.findIndex(function(ee){var ye=ee.firstTabbableNode;return f===ye});if(g<0&&(m.container===f||je(f,s.tabbableOptions)&&!ue(f,s.tabbableOptions)&&!m.nextTabbableNode(f,!1))&&(g=h),g>=0){var y=g===0?i.tabbableGroups.length-1:g-1,k=i.tabbableGroups[y];I=ie(f)>=0?k.lastTabbableNode:k.lastDomTabbableNode}else he(v)||(I=m.nextTabbableNode(f,!1))}else{var D=i.tabbableGroups.findIndex(function(ee){var ye=ee.lastTabbableNode;return f===ye});if(D<0&&(m.container===f||je(f,s.tabbableOptions)&&!ue(f,s.tabbableOptions)&&!m.nextTabbableNode(f))&&(D=h),D>=0){var F=D===i.tabbableGroups.length-1?0:D+1,V=i.tabbableGroups[F];I=ie(f)>=0?V.firstTabbableNode:V.firstDomTabbableNode}else he(v)||(I=m.nextTabbableNode(f))}}else I=S("fallbackFocus");return I},L=function(d){var f=Be(d);if(!(C(f,d)>=0)){if(ge(s.clickOutsideDeactivates,d)){p.deactivate({returnFocus:s.returnFocusOnDeactivate});return}ge(s.allowOutsideClick,d)||d.preventDefault()}},j=function(d){var f=Be(d),v=C(f,d)>=0;if(v||f instanceof Document)v&&(i.mostRecentlyFocusedNode=f);else{d.stopImmediatePropagation();var T,E=!0;if(i.mostRecentlyFocusedNode)if(ie(i.mostRecentlyFocusedNode)>0){var I=C(i.mostRecentlyFocusedNode),h=i.containerGroups[I].tabbableNodes;if(h.length>0){var m=h.findIndex(function(g){return g===i.mostRecentlyFocusedNode});m>=0&&(s.isKeyForward(i.recentNavEvent)?m+1<h.length&&(T=h[m+1],E=!1):m-1>=0&&(T=h[m-1],E=!1))}}else i.containerGroups.some(function(g){return g.tabbableNodes.some(function(y){return ie(y)>0})})||(E=!1);else E=!1;E&&(T=X({target:i.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(i.recentNavEvent)})),N(T||i.mostRecentlyFocusedNode||O())}i.recentNavEvent=void 0},ne=function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=d;var v=X({event:d,isBackward:f});v&&(he(d)&&d.preventDefault(),N(v))},Q=function(d){(s.isKeyForward(d)||s.isKeyBackward(d))&&ne(d,s.isKeyBackward(d))},H=function(d){Sn(d)&&ge(s.escapeDeactivates,d)!==!1&&(d.preventDefault(),p.deactivate())},Z=function(d){var f=Be(d);C(f,d)>=0||ge(s.clickOutsideDeactivates,d)||ge(s.allowOutsideClick,d)||(d.preventDefault(),d.stopImmediatePropagation())},Y=function(){if(i.active){J.activateTrap(c,p);var d;return s.delayInitialFocus?d=new Promise(function(f){i.delayInitialFocusTimer=bt(function(){N(O()),f()})}):N(O()),o.addEventListener("focusin",j,!0),o.addEventListener("mousedown",L,{capture:!0,passive:!1}),o.addEventListener("touchstart",L,{capture:!0,passive:!1}),o.addEventListener("click",Z,{capture:!0,passive:!1}),o.addEventListener("keydown",Q,{capture:!0,passive:!1}),o.addEventListener("keydown",H),d}},_=function(d){i.active&&!i.paused&&p._setSubtreeIsolation(!1),i.adjacentElements.clear(),i.alreadySilent.clear();var f=new Set,v=new Set,T=ut(d),E;try{for(T.s();!(E=T.n()).done;){var I=E.value;f.add(I);for(var h=typeof ShadowRoot<"u"&&I.getRootNode()instanceof ShadowRoot,m=I;m;){f.add(m);var g=m.parentElement,y=[];g?y=g.children:!g&&h&&(y=m.getRootNode().children,g=m.getRootNode().host,h=typeof ShadowRoot<"u"&&g.getRootNode()instanceof ShadowRoot);var k=ut(y),D;try{for(k.s();!(D=k.n()).done;){var F=D.value;v.add(F)}}catch(V){k.e(V)}finally{k.f()}m=g}}}catch(V){T.e(V)}finally{T.f()}f.forEach(function(V){v.delete(V)}),i.adjacentElements=v},M=function(){if(i.active)return o.removeEventListener("focusin",j,!0),o.removeEventListener("mousedown",L,!0),o.removeEventListener("touchstart",L,!0),o.removeEventListener("click",Z,!0),o.removeEventListener("keydown",Q,!0),o.removeEventListener("keydown",H),p},P=function(d){var f=i.mostRecentlyFocusedNode;if(f){var v=d.some(function(E){var I=Array.from(E.removedNodes);return I.some(function(h){return h===f||typeof h.contains=="function"&&h.contains(f)})});if(v&&i.containers.some(function(E){return E==null?void 0:E.isConnected})){A();var T=O();N(T)}}},z=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(P):void 0,W=function(){z&&(z.disconnect(),i.active&&!i.paused&&i.containers.map(function(d){z.observe(d,{subtree:!0,childList:!0})}))};return p={get active(){return i.active},get paused(){return i.paused},activate:function(d){if(i.active)return this;var f=b(d,"onActivate"),v=b(d,"onPostActivate"),T=b(d,"checkCanFocusTrap"),E=J.getActiveTrap(c),I=!1;if(E&&!E.paused){var h;(h=E._setSubtreeIsolation)===null||h===void 0||h.call(E,!1),I=!0}try{T||A(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=$(o),f==null||f({trap:p});var m=function(){T&&A();var k=function(){p._setSubtreeIsolation(!0),W(),v==null||v({trap:p})},D=Y();D?D.then(k):k()};if(T)return T(i.containers.concat()).then(m,m),this;m()}catch(y){if(E===J.getActiveTrap(c)&&I){var g;(g=E._setSubtreeIsolation)===null||g===void 0||g.call(E,!0)}throw y}return this},deactivate:function(d){if(!i.active)return this;var f=pt({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},d);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,i.paused||p._setSubtreeIsolation(!1),i.alreadySilent.clear(),M(),i.active=!1,i.paused=!1,W(),J.deactivateTrap(c,p);var v=b(f,"onDeactivate"),T=b(f,"onPostDeactivate"),E=b(f,"checkCanReturnFocus"),I=b(f,"delayReturnFocus"),h=b(f,"returnFocus","returnFocusOnDeactivate");v==null||v({trap:p});var m=function(){h&&N(x(i.nodeFocusedBeforeActivation)),T==null||T({trap:p})},g=function(){I&&h?bt(m):m()};return h&&E?(E(x(i.nodeFocusedBeforeActivation)).then(g,g),this):(g(),this)},pause:function(d){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,d)):this},unpause:function(d){return i.active?(i.manuallyPaused=!1,c[c.length-1]!==this?this:this._setPausedState(!1,d)):this},updateContainerElements:function(d){var f=[].concat(d).filter(Boolean);return i.containers=f.map(function(v){return typeof v=="string"?o.querySelector(v):v}),s.isolateSubtrees&&_(i.containers),i.active&&(A(),i.paused||p._setSubtreeIsolation(!0)),W(),this}},Object.defineProperties(p,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(d,f){if(i.paused===d)return this;if(i.paused=d,d){var v=b(f,"onPause"),T=b(f,"onPostPause");v==null||v({trap:p}),M(),p._setSubtreeIsolation(!1),W(),T==null||T({trap:p})}else{var E=b(f,"onUnpause"),I=b(f,"onPostUnpause");E==null||E({trap:p});var h=function(){A();var g=function(){p._setSubtreeIsolation(!0),W(),I==null||I({trap:p})},y=Y();y?y.then(g):g()};h()}return this}},_setSubtreeIsolation:{value:function(d){s.isolateSubtrees&&i.adjacentElements.forEach(function(f){var v;if(d)switch(s.isolateSubtrees){case"aria-hidden":(f.ariaHidden==="true"||((v=f.getAttribute("aria-hidden"))===null||v===void 0?void 0:v.toLowerCase())==="true")&&i.alreadySilent.add(f),f.setAttribute("aria-hidden","true");break;default:(f.inert||f.hasAttribute("inert"))&&i.alreadySilent.add(f),f.setAttribute("inert",!0);break}else if(!i.alreadySilent.has(f))switch(s.isolateSubtrees){case"aria-hidden":f.removeAttribute("aria-hidden");break;default:f.removeAttribute("inert");break}})}}}),p.updateContainerElements(t),p};/*!
7
+ */function je(n,t){(t==null||t>n.length)&&(t=n.length);for(var r=0,o=Array(t);r<t;r++)o[r]=n[r];return o}function pn(n){if(Array.isArray(n))return je(n)}function ut(n,t){var r=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=pt(n))||t){r&&(n=r);var o=0,c=function(){};return{s:c,n:function(){return o>=n.length?{done:!0}:{done:!1,value:n[o++]}},e:function(y){throw y},f:c}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,i=!0,m=!1;return{s:function(){r=r.call(n)},n:function(){var y=r.next();return i=y.done,y},e:function(y){m=!0,s=y},f:function(){try{i||r.return==null||r.return()}finally{if(m)throw s}}}}function bn(n,t,r){return(t=kn(t))in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}function hn(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function gn(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
9
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ft(n,t){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);t&&(o=o.filter(function(c){return Object.getOwnPropertyDescriptor(n,c).enumerable})),r.push.apply(r,o)}return r}function mt(n){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ft(Object(r),!0).forEach(function(o){bn(n,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):ft(Object(r)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(r,o))})}return n}function yn(n){return pn(n)||hn(n)||pt(n)||gn()}function vn(n,t){if(typeof n!="object"||!n)return n;var r=n[Symbol.toPrimitive];if(r!==void 0){var o=r.call(n,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(n)}function kn(n){var t=vn(n,"string");return typeof t=="symbol"?t:t+""}function pt(n,t){if(n){if(typeof n=="string")return je(n,t);var r={}.toString.call(n).slice(8,-1);return r==="Object"&&n.constructor&&(r=n.constructor.name),r==="Map"||r==="Set"?Array.from(n):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?je(n,t):void 0}}var J={getActiveTrap:function(t){return(t==null?void 0:t.length)>0?t[t.length-1]:null},activateTrap:function(t,r){var o=J.getActiveTrap(t);r!==o&&J.pauseTrap(t);var c=t.indexOf(r);c===-1||t.splice(c,1),t.push(r)},deactivateTrap:function(t,r){var o=t.indexOf(r);o!==-1&&t.splice(o,1),J.unpauseTrap(t)},pauseTrap:function(t){var r=J.getActiveTrap(t);r==null||r._setPausedState(!0)},unpauseTrap:function(t){var r=J.getActiveTrap(t);r&&!r._isManuallyPaused()&&r._setPausedState(!1)}},wn=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Cn=function(t){return(t==null?void 0:t.key)==="Escape"||(t==null?void 0:t.key)==="Esc"||(t==null?void 0:t.keyCode)===27},he=function(t){return(t==null?void 0:t.key)==="Tab"||(t==null?void 0:t.keyCode)===9},Sn=function(t){return he(t)&&!t.shiftKey},En=function(t){return he(t)&&t.shiftKey},bt=function(t){return setTimeout(t,0)},ge=function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),c=1;c<r;c++)o[c-1]=arguments[c];return typeof t=="function"?t.apply(void 0,o):t},Be=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},Tn=[],Bn=function(t,r){var o=(r==null?void 0:r.document)||document,c=(r==null?void 0:r.trapStack)||Tn,s=mt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,delayReturnFocus:!0,isolateSubtrees:!1,isKeyForward:Sn,isKeyBackward:En},r),i={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},m,y=function(d,f,v){return d&&d[f]!==void 0?d[f]:s[v||f]},S=function(d,f){var v=typeof(f==null?void 0:f.composedPath)=="function"?f.composedPath():void 0;return i.containerGroups.findIndex(function(E){var C=E.container,N=E.tabbableNodes;return C.contains(d)||(v==null?void 0:v.includes(C))||N.find(function(b){return b===d})})},T=function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=f.hasFallback,E=v===void 0?!1:v,C=f.params,N=C===void 0?[]:C,b=s[d];if(typeof b=="function"&&(b=b.apply(void 0,yn(N))),b===!0&&(b=void 0),!b){if(b===void 0||b===!1)return b;throw new Error("`".concat(d,"` was specified but was not a node, or did not return a node"))}var p=b;if(typeof b=="string"){try{p=o.querySelector(b)}catch(h){throw new Error("`".concat(d,'` appears to be an invalid selector; error="').concat(h.message,'"'))}if(!p&&!E)throw new Error("`".concat(d,"` as selector refers to no known node"))}return p},I=function(d){var f=d.activeElement;return f?f.shadowRoot&&f.shadowRoot.activeElement!==null?I(f.shadowRoot):f:null},O=function(){var d=T("initialFocus",{hasFallback:!0});if(d===!1)return!1;if(d===void 0||d&&!Pe(d,s.tabbableOptions)){var f=I(o);if(S(f)>=0)d=f;else{var v=i.tabbableGroups[0],E=v&&v.firstTabbableNode;d=E||T("fallbackFocus")}}else d===null&&(d=T("fallbackFocus"));if(!d)throw new Error("Your focus-trap needs to have at least one focusable element");return d},$=function(){if(i.containerGroups=i.containers.map(function(d){var f=un(d,s.tabbableOptions),v=fn(d,s.tabbableOptions),E=f.length>0?f[0]:void 0,C=f.length>0?f[f.length-1]:void 0,N=v.find(function(h){return ue(h)}),b=v.slice().reverse().find(function(h){return ue(h)}),p=!!f.find(function(h){return ie(h)>0});return{container:d,tabbableNodes:f,focusableNodes:v,posTabIndexesFound:p,firstTabbableNode:E,lastTabbableNode:C,firstDomTabbableNode:N,lastDomTabbableNode:b,nextTabbableNode:function(g){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,D=f.indexOf(g);return D<0?k?v.slice(v.indexOf(g)+1).find(function(F){return ue(F)}):v.slice(0,v.indexOf(g)).reverse().find(function(F){return ue(F)}):f[D+(k?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(d){return d.tabbableNodes.length>0}),i.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(i.containerGroups.find(function(d){return d.posTabIndexesFound})&&i.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.")},A=function(d){if(d!==!1&&d!==I(document)){if(!d||!d.focus){A(O());return}d.focus({preventScroll:!!s.preventScroll}),i.mostRecentlyFocusedNode=d,wn(d)&&d.select()}},x=function(d){var f=T("setReturnFocus",{params:[d]});return f||(f===!1?!1:d)},X=function(d){var f=d.target,v=d.event,E=d.isBackward,C=E===void 0?!1:E;f=f||Be(v),$();var N=null;if(i.tabbableGroups.length>0){var b=S(f,v),p=b>=0?i.containerGroups[b]:void 0;if(b<0)C?N=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:N=i.tabbableGroups[0].firstTabbableNode;else if(C){var h=i.tabbableGroups.findIndex(function(ee){var ye=ee.firstTabbableNode;return f===ye});if(h<0&&(p.container===f||Pe(f,s.tabbableOptions)&&!ue(f,s.tabbableOptions)&&!p.nextTabbableNode(f,!1))&&(h=b),h>=0){var g=h===0?i.tabbableGroups.length-1:h-1,k=i.tabbableGroups[g];N=ie(f)>=0?k.lastTabbableNode:k.lastDomTabbableNode}else he(v)||(N=p.nextTabbableNode(f,!1))}else{var D=i.tabbableGroups.findIndex(function(ee){var ye=ee.lastTabbableNode;return f===ye});if(D<0&&(p.container===f||Pe(f,s.tabbableOptions)&&!ue(f,s.tabbableOptions)&&!p.nextTabbableNode(f))&&(D=b),D>=0){var F=D===i.tabbableGroups.length-1?0:D+1,V=i.tabbableGroups[F];N=ie(f)>=0?V.firstTabbableNode:V.firstDomTabbableNode}else he(v)||(N=p.nextTabbableNode(f))}}else N=T("fallbackFocus");return N},L=function(d){var f=Be(d);if(!(S(f,d)>=0)){if(ge(s.clickOutsideDeactivates,d)){m.deactivate({returnFocus:s.returnFocusOnDeactivate});return}ge(s.allowOutsideClick,d)||d.preventDefault()}},P=function(d){var f=Be(d),v=S(f,d)>=0;if(v||f instanceof Document)v&&(i.mostRecentlyFocusedNode=f);else{d.stopImmediatePropagation();var E,C=!0;if(i.mostRecentlyFocusedNode)if(ie(i.mostRecentlyFocusedNode)>0){var N=S(i.mostRecentlyFocusedNode),b=i.containerGroups[N].tabbableNodes;if(b.length>0){var p=b.findIndex(function(h){return h===i.mostRecentlyFocusedNode});p>=0&&(s.isKeyForward(i.recentNavEvent)?p+1<b.length&&(E=b[p+1],C=!1):p-1>=0&&(E=b[p-1],C=!1))}}else i.containerGroups.some(function(h){return h.tabbableNodes.some(function(g){return ie(g)>0})})||(C=!1);else C=!1;C&&(E=X({target:i.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(i.recentNavEvent)})),A(E||i.mostRecentlyFocusedNode||O())}i.recentNavEvent=void 0},ne=function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=d;var v=X({event:d,isBackward:f});v&&(he(d)&&d.preventDefault(),A(v))},Q=function(d){(s.isKeyForward(d)||s.isKeyBackward(d))&&ne(d,s.isKeyBackward(d))},H=function(d){Cn(d)&&ge(s.escapeDeactivates,d)!==!1&&(d.preventDefault(),m.deactivate())},Z=function(d){var f=Be(d);S(f,d)>=0||ge(s.clickOutsideDeactivates,d)||ge(s.allowOutsideClick,d)||(d.preventDefault(),d.stopImmediatePropagation())},Y=function(){if(i.active){J.activateTrap(c,m);var d;return s.delayInitialFocus?d=new Promise(function(f){i.delayInitialFocusTimer=bt(function(){A(O()),f()})}):A(O()),o.addEventListener("focusin",P,!0),o.addEventListener("mousedown",L,{capture:!0,passive:!1}),o.addEventListener("touchstart",L,{capture:!0,passive:!1}),o.addEventListener("click",Z,{capture:!0,passive:!1}),o.addEventListener("keydown",Q,{capture:!0,passive:!1}),o.addEventListener("keydown",H),d}},_=function(d){i.active&&!i.paused&&m._setSubtreeIsolation(!1),i.adjacentElements.clear(),i.alreadySilent.clear();var f=new Set,v=new Set,E=ut(d),C;try{for(E.s();!(C=E.n()).done;){var N=C.value;f.add(N);for(var b=typeof ShadowRoot<"u"&&N.getRootNode()instanceof ShadowRoot,p=N;p;){f.add(p);var h=p.parentElement,g=[];h?g=h.children:!h&&b&&(g=p.getRootNode().children,h=p.getRootNode().host,b=typeof ShadowRoot<"u"&&h.getRootNode()instanceof ShadowRoot);var k=ut(g),D;try{for(k.s();!(D=k.n()).done;){var F=D.value;v.add(F)}}catch(V){k.e(V)}finally{k.f()}p=h}}}catch(V){E.e(V)}finally{E.f()}f.forEach(function(V){v.delete(V)}),i.adjacentElements=v},M=function(){if(i.active)return o.removeEventListener("focusin",P,!0),o.removeEventListener("mousedown",L,!0),o.removeEventListener("touchstart",L,!0),o.removeEventListener("click",Z,!0),o.removeEventListener("keydown",Q,!0),o.removeEventListener("keydown",H),m},j=function(d){var f=i.mostRecentlyFocusedNode;if(f){var v=d.some(function(C){var N=Array.from(C.removedNodes);return N.some(function(b){return b===f||typeof b.contains=="function"&&b.contains(f)})});if(v&&i.containers.some(function(C){return C==null?void 0:C.isConnected})){$();var E=O();A(E)}}},z=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(j):void 0,W=function(){z&&(z.disconnect(),i.active&&!i.paused&&i.containers.map(function(d){z.observe(d,{subtree:!0,childList:!0})}))};return m={get active(){return i.active},get paused(){return i.paused},activate:function(d){if(i.active)return this;var f=y(d,"onActivate"),v=y(d,"onPostActivate"),E=y(d,"checkCanFocusTrap"),C=J.getActiveTrap(c),N=!1;if(C&&!C.paused){var b;(b=C._setSubtreeIsolation)===null||b===void 0||b.call(C,!1),N=!0}try{E||$(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=I(o),f==null||f({trap:m});var p=function(){E&&$();var k=function(){m._setSubtreeIsolation(!0),W(),v==null||v({trap:m})},D=Y();D?D.then(k):k()};if(E)return E(i.containers.concat()).then(p,p),this;p()}catch(g){if(C===J.getActiveTrap(c)&&N){var h;(h=C._setSubtreeIsolation)===null||h===void 0||h.call(C,!0)}throw g}return this},deactivate:function(d){if(!i.active)return this;var f=mt({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},d);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,i.paused||m._setSubtreeIsolation(!1),i.alreadySilent.clear(),M(),i.active=!1,i.paused=!1,W(),J.deactivateTrap(c,m);var v=y(f,"onDeactivate"),E=y(f,"onPostDeactivate"),C=y(f,"checkCanReturnFocus"),N=y(f,"delayReturnFocus"),b=y(f,"returnFocus","returnFocusOnDeactivate");v==null||v({trap:m});var p=function(){b&&A(x(i.nodeFocusedBeforeActivation)),E==null||E({trap:m})},h=function(){N&&b?bt(p):p()};return b&&C?(C(x(i.nodeFocusedBeforeActivation)).then(h,h),this):(h(),this)},pause:function(d){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,d)):this},unpause:function(d){return i.active?(i.manuallyPaused=!1,c[c.length-1]!==this?this:this._setPausedState(!1,d)):this},updateContainerElements:function(d){var f=[].concat(d).filter(Boolean);return i.containers=f.map(function(v){return typeof v=="string"?o.querySelector(v):v}),s.isolateSubtrees&&_(i.containers),i.active&&($(),i.paused||m._setSubtreeIsolation(!0)),W(),this}},Object.defineProperties(m,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(d,f){if(i.paused===d)return this;if(i.paused=d,d){var v=y(f,"onPause"),E=y(f,"onPostPause");v==null||v({trap:m}),M(),m._setSubtreeIsolation(!1),W(),E==null||E({trap:m})}else{var C=y(f,"onUnpause"),N=y(f,"onPostUnpause");C==null||C({trap:m});var b=function(){$();var h=function(){m._setSubtreeIsolation(!0),W(),N==null||N({trap:m})},g=Y();g?g.then(h):h()};b()}return this}},_setSubtreeIsolation:{value:function(d){s.isolateSubtrees&&i.adjacentElements.forEach(function(f){var v;if(d)switch(s.isolateSubtrees){case"aria-hidden":(f.ariaHidden==="true"||((v=f.getAttribute("aria-hidden"))===null||v===void 0?void 0:v.toLowerCase())==="true")&&i.alreadySilent.add(f),f.setAttribute("aria-hidden","true");break;default:(f.inert||f.hasAttribute("inert"))&&i.alreadySilent.add(f),f.setAttribute("inert",!0);break}else if(!i.alreadySilent.has(f))switch(s.isolateSubtrees){case"aria-hidden":f.removeAttribute("aria-hidden");break;default:f.removeAttribute("inert");break}})}}}),m.updateContainerElements(t),m};/*!
10
10
  * focus-trap-vue v4.0.3
11
11
  * (c) 2025 Eduardo San Martin Morote
12
12
  * @license MIT
13
- */function Ir(n){return n}const In={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},_n=e.defineComponent({name:"FocusTrap",props:Object.assign({active:{type:Boolean,default:!0}},In),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(n,{slots:t,emit:r}){let o;const c=e.ref(null),s=e.computed(()=>{const p=c.value;return p&&(p instanceof HTMLElement?p:p.$el)});function i(){return o||(o=Nn(s.value,{escapeDeactivates:n.escapeDeactivates,allowOutsideClick:n.allowOutsideClick,returnFocusOnDeactivate:n.returnFocusOnDeactivate,clickOutsideDeactivates:n.clickOutsideDeactivates,onActivate:()=>{r("update:active",!0),r("activate")},onDeactivate:()=>{r("update:active",!1),r("deactivate")},onPostActivate:()=>r("postActivate"),onPostDeactivate:()=>r("postDeactivate"),initialFocus:n.initialFocus,fallbackFocus:n.fallbackFocus,tabbableOptions:n.tabbableOptions,delayInitialFocus:n.delayInitialFocus,preventScroll:n.preventScroll}))}return e.onMounted(()=>{e.watch(()=>n.active,p=>{p&&s.value?i().activate():o&&(o.deactivate(),(!s.value||s.value.nodeType===Node.COMMENT_NODE)&&(o=null))},{immediate:!0,flush:"post"})}),e.onUnmounted(()=>{o&&o.deactivate(),o=null}),{activate(){i().activate()},deactivate(){o&&o.deactivate()},renderImpl(){if(!t.default)return null;const p=t.default().filter(C=>C.type!==e.Comment);return!p||!p.length||p.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),p):e.cloneVNode(p[0],{ref:c})}}}});function ht(){return{debounce:(t,r)=>{let o;return(...c)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{t(...c)},r)}}}}var Ne=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $n(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ie={exports:{}};Ie.exports,function(n,t){var r=200,o="__lodash_hash_undefined__",c=9007199254740991,s="[object Arguments]",i="[object Array]",p="[object Boolean]",b="[object Date]",C="[object Error]",S="[object Function]",$="[object GeneratorFunction]",O="[object Map]",A="[object Number]",N="[object Object]",x="[object Promise]",X="[object RegExp]",L="[object Set]",j="[object String]",ne="[object Symbol]",Q="[object WeakMap]",H="[object ArrayBuffer]",Z="[object DataView]",Y="[object Float32Array]",_="[object Float64Array]",M="[object Int8Array]",P="[object Int16Array]",z="[object Int32Array]",W="[object Uint8Array]",B="[object Uint8ClampedArray]",d="[object Uint16Array]",f="[object Uint32Array]",v=/[\\^$.*+?()[\]{}|]/g,T=/\w*$/,E=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,h={};h[s]=h[i]=h[H]=h[Z]=h[p]=h[b]=h[Y]=h[_]=h[M]=h[P]=h[z]=h[O]=h[A]=h[N]=h[X]=h[L]=h[j]=h[ne]=h[W]=h[B]=h[d]=h[f]=!0,h[C]=h[S]=h[Q]=!1;var m=typeof Ne=="object"&&Ne&&Ne.Object===Object&&Ne,g=typeof self=="object"&&self&&self.Object===Object&&self,y=m||g||Function("return this")(),k=t&&!t.nodeType&&t,D=k&&!0&&n&&!n.nodeType&&n,F=D&&D.exports===k;function V(a,l){return a.set(l[0],l[1]),a}function ee(a,l){return a.add(l),a}function ye(a,l){for(var u=-1,w=a?a.length:0;++u<w&&l(a[u],u,a)!==!1;);return a}function co(a,l){for(var u=-1,w=l.length,K=a.length;++u<w;)a[K+u]=l[u];return a}function kt(a,l,u,w){for(var K=-1,G=a?a.length:0;++K<G;)u=l(u,a[K],K,a);return u}function so(a,l){for(var u=-1,w=Array(a);++u<a;)w[u]=l(u);return w}function uo(a,l){return a==null?void 0:a[l]}function wt(a){var l=!1;if(a!=null&&typeof a.toString!="function")try{l=!!(a+"")}catch{}return l}function Ct(a){var l=-1,u=Array(a.size);return a.forEach(function(w,K){u[++l]=[K,w]}),u}function Ke(a,l){return function(u){return a(l(u))}}function St(a){var l=-1,u=Array(a.size);return a.forEach(function(w){u[++l]=w}),u}var fo=Array.prototype,po=Function.prototype,_e=Object.prototype,Ze=y["__core-js_shared__"],Et=function(){var a=/[^.]+$/.exec(Ze&&Ze.keys&&Ze.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),Tt=po.toString,oe=_e.hasOwnProperty,$e=_e.toString,mo=RegExp("^"+Tt.call(oe).replace(v,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bt=F?y.Buffer:void 0,Nt=y.Symbol,It=y.Uint8Array,bo=Ke(Object.getPrototypeOf,Object),ho=Object.create,go=_e.propertyIsEnumerable,yo=fo.splice,_t=Object.getOwnPropertySymbols,vo=Bt?Bt.isBuffer:void 0,ko=Ke(Object.keys,Object),ze=me(y,"DataView"),ve=me(y,"Map"),He=me(y,"Promise"),We=me(y,"Set"),Ge=me(y,"WeakMap"),ke=me(Object,"create"),wo=de(ze),Co=de(ve),So=de(He),Eo=de(We),To=de(Ge),$t=Nt?Nt.prototype:void 0,Ot=$t?$t.valueOf:void 0;function ce(a){var l=-1,u=a?a.length:0;for(this.clear();++l<u;){var w=a[l];this.set(w[0],w[1])}}function Bo(){this.__data__=ke?ke(null):{}}function No(a){return this.has(a)&&delete this.__data__[a]}function Io(a){var l=this.__data__;if(ke){var u=l[a];return u===o?void 0:u}return oe.call(l,a)?l[a]:void 0}function _o(a){var l=this.__data__;return ke?l[a]!==void 0:oe.call(l,a)}function $o(a,l){var u=this.__data__;return u[a]=ke&&l===void 0?o:l,this}ce.prototype.clear=Bo,ce.prototype.delete=No,ce.prototype.get=Io,ce.prototype.has=_o,ce.prototype.set=$o;function te(a){var l=-1,u=a?a.length:0;for(this.clear();++l<u;){var w=a[l];this.set(w[0],w[1])}}function Oo(){this.__data__=[]}function Ao(a){var l=this.__data__,u=Oe(l,a);if(u<0)return!1;var w=l.length-1;return u==w?l.pop():yo.call(l,u,1),!0}function xo(a){var l=this.__data__,u=Oe(l,a);return u<0?void 0:l[u][1]}function Fo(a){return Oe(this.__data__,a)>-1}function Do(a,l){var u=this.__data__,w=Oe(u,a);return w<0?u.push([a,l]):u[w][1]=l,this}te.prototype.clear=Oo,te.prototype.delete=Ao,te.prototype.get=xo,te.prototype.has=Fo,te.prototype.set=Do;function fe(a){var l=-1,u=a?a.length:0;for(this.clear();++l<u;){var w=a[l];this.set(w[0],w[1])}}function Vo(){this.__data__={hash:new ce,map:new(ve||te),string:new ce}}function Ro(a){return Ae(this,a).delete(a)}function Lo(a){return Ae(this,a).get(a)}function Mo(a){return Ae(this,a).has(a)}function jo(a,l){return Ae(this,a).set(a,l),this}fe.prototype.clear=Vo,fe.prototype.delete=Ro,fe.prototype.get=Lo,fe.prototype.has=Mo,fe.prototype.set=jo;function pe(a){this.__data__=new te(a)}function Po(){this.__data__=new te}function Ko(a){return this.__data__.delete(a)}function Zo(a){return this.__data__.get(a)}function zo(a){return this.__data__.has(a)}function Ho(a,l){var u=this.__data__;if(u instanceof te){var w=u.__data__;if(!ve||w.length<r-1)return w.push([a,l]),this;u=this.__data__=new fe(w)}return u.set(a,l),this}pe.prototype.clear=Po,pe.prototype.delete=Ko,pe.prototype.get=Zo,pe.prototype.has=zo,pe.prototype.set=Ho;function Wo(a,l){var u=Xe(a)||hr(a)?so(a.length,String):[],w=u.length,K=!!w;for(var G in a)oe.call(a,G)&&!(K&&(G=="length"||fr(G,w)))&&u.push(G);return u}function At(a,l,u){var w=a[l];(!(oe.call(a,l)&&Vt(w,u))||u===void 0&&!(l in a))&&(a[l]=u)}function Oe(a,l){for(var u=a.length;u--;)if(Vt(a[u][0],l))return u;return-1}function Go(a,l){return a&&xt(l,Ye(l),a)}function Ue(a,l,u,w,K,G,ae){var U;if(w&&(U=G?w(a,K,G,ae):w(a)),U!==void 0)return U;if(!xe(a))return a;var Mt=Xe(a);if(Mt){if(U=sr(a),!l)return ir(a,U)}else{var be=se(a),jt=be==S||be==$;if(yr(a))return Jo(a,l);if(be==N||be==s||jt&&!G){if(wt(a))return G?a:{};if(U=dr(jt?{}:a),!l)return lr(a,Go(U,a))}else{if(!h[be])return G?a:{};U=ur(a,be,Ue,l)}}ae||(ae=new pe);var Pt=ae.get(a);if(Pt)return Pt;if(ae.set(a,U),!Mt)var Kt=u?cr(a):Ye(a);return ye(Kt||a,function(Qe,Fe){Kt&&(Fe=Qe,Qe=a[Fe]),At(U,Fe,Ue(Qe,l,u,w,Fe,a,ae))}),U}function Uo(a){return xe(a)?ho(a):{}}function qo(a,l,u){var w=l(a);return Xe(a)?w:co(w,u(a))}function Xo(a){return $e.call(a)}function Yo(a){if(!xe(a)||mr(a))return!1;var l=Lt(a)||wt(a)?mo:E;return l.test(de(a))}function Qo(a){if(!Dt(a))return ko(a);var l=[];for(var u in Object(a))oe.call(a,u)&&u!="constructor"&&l.push(u);return l}function Jo(a,l){if(l)return a.slice();var u=new a.constructor(a.length);return a.copy(u),u}function qe(a){var l=new a.constructor(a.byteLength);return new It(l).set(new It(a)),l}function er(a,l){var u=l?qe(a.buffer):a.buffer;return new a.constructor(u,a.byteOffset,a.byteLength)}function tr(a,l,u){var w=l?u(Ct(a),!0):Ct(a);return kt(w,V,new a.constructor)}function ar(a){var l=new a.constructor(a.source,T.exec(a));return l.lastIndex=a.lastIndex,l}function nr(a,l,u){var w=l?u(St(a),!0):St(a);return kt(w,ee,new a.constructor)}function or(a){return Ot?Object(Ot.call(a)):{}}function rr(a,l){var u=l?qe(a.buffer):a.buffer;return new a.constructor(u,a.byteOffset,a.length)}function ir(a,l){var u=-1,w=a.length;for(l||(l=Array(w));++u<w;)l[u]=a[u];return l}function xt(a,l,u,w){u||(u={});for(var K=-1,G=l.length;++K<G;){var ae=l[K],U=void 0;At(u,ae,U===void 0?a[ae]:U)}return u}function lr(a,l){return xt(a,Ft(a),l)}function cr(a){return qo(a,Ye,Ft)}function Ae(a,l){var u=a.__data__;return pr(l)?u[typeof l=="string"?"string":"hash"]:u.map}function me(a,l){var u=uo(a,l);return Yo(u)?u:void 0}var Ft=_t?Ke(_t,Object):wr,se=Xo;(ze&&se(new ze(new ArrayBuffer(1)))!=Z||ve&&se(new ve)!=O||He&&se(He.resolve())!=x||We&&se(new We)!=L||Ge&&se(new Ge)!=Q)&&(se=function(a){var l=$e.call(a),u=l==N?a.constructor:void 0,w=u?de(u):void 0;if(w)switch(w){case wo:return Z;case Co:return O;case So:return x;case Eo:return L;case To:return Q}return l});function sr(a){var l=a.length,u=a.constructor(l);return l&&typeof a[0]=="string"&&oe.call(a,"index")&&(u.index=a.index,u.input=a.input),u}function dr(a){return typeof a.constructor=="function"&&!Dt(a)?Uo(bo(a)):{}}function ur(a,l,u,w){var K=a.constructor;switch(l){case H:return qe(a);case p:case b:return new K(+a);case Z:return er(a,w);case Y:case _:case M:case P:case z:case W:case B:case d:case f:return rr(a,w);case O:return tr(a,w,u);case A:case j:return new K(a);case X:return ar(a);case L:return nr(a,w,u);case ne:return or(a)}}function fr(a,l){return l=l??c,!!l&&(typeof a=="number"||I.test(a))&&a>-1&&a%1==0&&a<l}function pr(a){var l=typeof a;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?a!=="__proto__":a===null}function mr(a){return!!Et&&Et in a}function Dt(a){var l=a&&a.constructor,u=typeof l=="function"&&l.prototype||_e;return a===u}function de(a){if(a!=null){try{return Tt.call(a)}catch{}try{return a+""}catch{}}return""}function br(a){return Ue(a,!0,!0)}function Vt(a,l){return a===l||a!==a&&l!==l}function hr(a){return gr(a)&&oe.call(a,"callee")&&(!go.call(a,"callee")||$e.call(a)==s)}var Xe=Array.isArray;function Rt(a){return a!=null&&vr(a.length)&&!Lt(a)}function gr(a){return kr(a)&&Rt(a)}var yr=vo||Cr;function Lt(a){var l=xe(a)?$e.call(a):"";return l==S||l==$}function vr(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=c}function xe(a){var l=typeof a;return!!a&&(l=="object"||l=="function")}function kr(a){return!!a&&typeof a=="object"}function Ye(a){return Rt(a)?Wo(a):Qo(a)}function wr(){return[]}function Cr(){return!1}n.exports=br}(Ie,Ie.exports);var On=Ie.exports;const An=$n(On),xn={key:0,class:"sidebar-header"},Fn={class:"sidebar-content-container"},Dn={key:0,class:"sidebar-top"},Vn={"aria-label":"Main menu"},Rn=["id"],Ln=["aria-labelledby"],Mn={key:1,class:"sidebar-level-divider",role:"separator"},jn={key:2,class:"level-primary bottom-items"},Pn={class:"sidebar-footer"},le="_ungrouped",gt=q(e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},groupConfig:{type:Object,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","toggle-collapse"],setup(n,{emit:t}){e.useCssVars(m=>({v53c8e6c8:p.value.mobileHeight,v6f959158:p.value.mobileTop,v6c6af840:n.zIndex,v4342dec6:p.value.height,ccaf1fd4:p.value.top,v6d681f2c:C.value.marginTop,v065dda82:I.value,v3e86363c:b.value.display,e3423b8e:b.value.minHeight,b4fe47b6:S.value.top,v528eb0b0:S.value.zIndex}));const r=t,o=n,c=e.useSlots(),s=e.computed(()=>!!c.header),i=e.computed(()=>!!c.top),p=e.computed(()=>({mobileTop:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:o.topOffset?`${o.topOffset}px`:"0",top:o.topOffset?`${o.topOffset}px`:"0",mobileHeight:o.mobileTopOffset&&o.mobileEnabled?`calc(100% - ${o.mobileTopOffset}px)`:"100%",height:o.topOffset?`calc(100% - ${o.topOffset}px)`:"100%"})),b=e.computed(()=>({display:!o.mobileHeaderVisible&&o.mobileEnabled?"none":"flex",minHeight:`${o.headerHeight}px`})),C=e.computed(()=>({marginTop:s.value?`${o.headerHeight}px`:"0"})),S=e.computed(()=>({top:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:"0",zIndex:o.mobileOverlayZIndex!==null?o.mobileOverlayZIndex:o.zIndex>1?o.zIndex-1:1})),$=m=>An(m).map(y=>{var k,D,F;if(y){(!y.key||!((k=y.key)!=null&&k.trim()))&&(y.key=String(y.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!y.testId||!((D=y.testId)!=null&&D.trim()))&&(y.testId=String(y.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const V of y.items||[])V.parentKey=y.key,(!V.testId||!((F=V.testId)!=null&&F.trim()))&&(V.testId=String(V.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return y}),O=e.computed(()=>o.topItems.length?$(o.topItems):[]),A=e.computed(()=>o.bottomItems.length?$(o.bottomItems):[]),N=(m="")=>m.trim().replace(" ","").replace(/[^a-z0-9]+/gi,"-").toLowerCase(),x=e.computed(()=>{var g;const m=new Map;m.set(le,[]);for(const y of O.value){const k=y.group||le;m.has(k)||m.set(k,[]),(g=m.get(k))==null||g.push(y)}return m}),X=Aa(`max-width: ${Ma}`),L=(m="")=>{if(m===le||!m.trim())return null;const g={label:m,collapsible:!1,collapsed:!1};let y=m.trim().replace(" ","");return y=y.charAt(0).toLowerCase()+y.slice(1),m&&o.groupConfig&&(o.groupConfig[m]||o.groupConfig[y])?o.groupConfig[m]||o.groupConfig[y]:g},j=m=>{var g;return!!((g=L(m))!=null&&g.collapsible)},ne=m=>{var g;return!!((g=L(m))!=null&&g.collapsed)},Q=(m,g,y)=>{const k=L(m);k&&(k.collapsed=!g),y(),r("toggle-collapse",m,k)},H=e.ref(o.open),Z=m=>{var g,y;H.value!==m&&(H.value=m,r("toggle",m)),m?(g=document==null?void 0:document.body)==null||g.classList.add("kong-ui-app-sidebar-open"):(y=document==null?void 0:document.body)==null||y.classList.remove("kong-ui-app-sidebar-open"),_.value=!1},Y=()=>{o.mobileOverlayCloseOnClick&&Z(!1)},_=e.ref(!1),M=m=>{_.value=!0,r("click",m),setTimeout(()=>{Z(!1)},o.mobileCloseDelay)};e.watch(()=>o.open,m=>{Z(m)});const{debounce:P}=ht(),z=P(()=>{H.value&&W.value!==(window==null?void 0:window.innerWidth)&&(W.value=window==null?void 0:window.innerWidth,Z(!1))},200),W=e.ref(),B=e.ref(!1),d=e.ref(),f=()=>{B.value||(B.value=!0,clearTimeout(d.value),d.value=setTimeout(()=>B.value=!1,1300))},v=e.ref(null),T=e.computed(()=>H.value&&o.mobileEnabled),E=async m=>{var g,y;m?(await e.nextTick(),await new Promise(k=>setTimeout(k,300)),(g=v.value)==null||g.activate()):(y=v.value)==null||y.deactivate()};e.watch(T,async m=>{m?await E(!0):await E(!1)},{immediate:!0});const I=e.ref("0px"),h=()=>{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 g=document.createElement("div");g.style.visibility="hidden",g.style.width="100px",document.body.appendChild(g);const y=g.offsetWidth;g.style.overflow="scroll";const k=document.createElement("div");k.style.width="100%",g.appendChild(k);const D=k.offsetWidth;g.parentNode&&g.parentNode.removeChild(g),y-D===0&&(I.value="8px")};return e.onMounted(async()=>{if(W.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",z),window.addEventListener("resize",f),o.groupConfig&&X.value)for(const m in o.groupConfig){const g=o.groupConfig[m];g.collapsed=!1}await e.nextTick(),h()}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",z),window.removeEventListener("resize",f)}),(m,g)=>{const y=e.resolveComponent("KCollapse");return e.openBlock(),e.createElementBlock(e.Fragment,null,[H.value&&n.mobileOverlay&&n.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:Y})):e.createCommentVNode("",!0),e.createVNode(e.unref(_n),{ref_key:"focusTrap",ref:v,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":H.value,"no-sidebar-header":!s.value,"mobile-header-hidden":n.mobileEnabled&&(!s.value||!n.mobileHeaderVisible),"mobile-disabled":!n.mobileEnabled,"disable-transitions":B.value}]),tabindex:"-1"},[s.value?(e.openBlock(),e.createElementBlock("div",xn,[e.renderSlot(m.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Fn,[i.value?(e.openBlock(),e.createElementBlock("div",Dn,[e.renderSlot(m.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",Vn,[x.value.size>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(x.value,([k,D])=>(e.openBlock(),e.createBlock(y,{key:k,class:e.normalizeClass(["level-primary-group-collapse",{"not-collapsible":!j(k),ungrouped:k===le}]),"data-testid":k===le?"level-primary-group-collapse-ungrouped":`level-primary-group-collapse-${k}`,"model-value":j(k)&&ne(k)||!1},{trigger:e.withCtx(({isCollapsed:F,toggle:V})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(j(k)?e.unref(Je.KButton):"div"),{appearance:j(k)?"none":void 0,class:"level-primary-group-collapse-trigger",onClick:ee=>j(k)?Q(k,F,V):void 0},{default:e.withCtx(()=>{var ee;return[k!==le?(e.openBlock(),e.createElementBlock("div",{key:0,id:`level-primary-group-${N(k)}`,class:"level-primary-group-name","data-testid":"level-primary-group-name",role:"presentation"},e.toDisplayString(((ee=L(k))==null?void 0:ee.label)||k),9,Rn)):e.createCommentVNode("",!0),j(k)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(F?e.unref(De.ChevronRightIcon):e.unref(De.ChevronDownIcon)),{key:1,class:"level-primary-group-collapse-icon",color:e.unref(Pa),"data-testid":"level-primary-group-collapse-icon",size:e.unref(ja)},null,8,["color","size"])):e.createCommentVNode("",!0)]}),_:2},1032,["appearance","onClick"]))]),default:e.withCtx(()=>[e.createElementVNode("ul",{"aria-labelledby":k!==le?`level-primary-group-${N(k)}`:void 0,class:"level-primary top-items"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D,F=>(e.openBlock(),e.createBlock(nt,{key:F.name,item:F,onClick:M},e.createSlots({[`sidebar-icon-${F.key}`]:e.withCtx(()=>[e.renderSlot(m.$slots,`sidebar-icon-${F.key}`,{},void 0,!0)]),_:2},[m.$slots[`sidebar-after-${F.key}`]?{name:`sidebar-after-${F.key}`,fn:e.withCtx(()=>[e.renderSlot(m.$slots,`sidebar-after-${F.key}`,{},void 0,!0)]),key:"0"}:void 0]),1032,["item"]))),128))],8,Ln)]),_:2},1032,["class","data-testid","model-value"]))),128)):e.createCommentVNode("",!0),x.value.size>0&&A.value.length?(e.openBlock(),e.createElementBlock("div",Mn)):e.createCommentVNode("",!0),A.value.length?(e.openBlock(),e.createElementBlock("ul",jn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value,k=>(e.openBlock(),e.createBlock(nt,{key:k.name,item:k,onClick:M},{[`sidebar-icon-${k.key}`]:e.withCtx(()=>[e.renderSlot(m.$slots,`sidebar-icon-${k.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Pn,[e.renderSlot(m.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64)}}}),[["__scopeId","data-v-e8512478"]]),Kn=["aria-label"],yt=q(e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(n,{emit:t}){const r=t,o=n,c=e.ref(o.active||!1),s=i=>{i.preventDefault(),c.value=!c.value,r("toggle",c.value)};return e.watch(()=>o.active,i=>{c.value=i}),(i,p)=>(e.openBlock(),e.createElementBlock("a",{"aria-haspopup":"true","aria-label":c.value?"Close Main Menu":"Open Main Menu",class:e.normalizeClass(["sidebar-menu-toggle",{active:c.value}]),href:"#",role:"button",onClick:e.withModifiers(s,["prevent"])},[...p[0]||(p[0]=[e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1)])],10,Kn))}}),[["__scopeId","data-v-2238b0de"]]),Zn={id:"kong-ui-app-layout-notification"},zn={class:"mobile-logo"},Hn={key:0,class:"navbar-logo"},Wn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},Gn={class:"kong-ui-app-layout-content"},vt=q(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:()=>[]},groupConfig:{type:Object,default:()=>({})},theme:{type:String,default:"light",validator:n=>["light","dark"].includes(n)},removeContentInnerPadding:{type:Boolean,default:!1}},emits:["sidebar-click","update:topOffset","toggle-collapse"],setup(n,{emit:t}){e.useCssVars(_=>({v5526a015:L.value,v3240b80b:j.value,v71472eba:X.value,v709f53f2:ne.value,v0010e23a:Q.value}));const r=n,o=t,c=e.useSlots(),s=e.reactive({navbarLeft:e.computed(()=>!!c["navbar-left"]),navbarCenter:e.computed(()=>!!c["navbar-center"]),navbarRight:e.computed(()=>!!c["navbar-right"]),navbarLogo:e.computed(()=>!!c["navbar-logo"]),navbarMobileLogo:e.computed(()=>!!c["navbar-mobile-logo"]),sidebarHeader:e.computed(()=>!!c["sidebar-header"]),sidebarTop:e.computed(()=>!!c["sidebar-top"]),sidebarFooter:e.computed(()=>!!c["sidebar-footer"])}),i=e.computed(()=>r.hideDefaultSlot),p=e.reactive({hidden:e.computed(()=>r.navbarHidden)}),b=e.reactive({topItems:e.computed(()=>r.sidebarTopItems),bottomItems:e.computed(()=>r.sidebarBottomItems),open:e.computed(()=>r.sidebarOpen),hidden:e.computed(()=>r.sidebarHidden)}),C=_=>{o("sidebar-click",_)},S=e.ref(!1),$=_=>{S.value=_};e.watchEffect(()=>{S.value=e.toRef(b,"open").value||!1});const O=e.ref(0),A=e.ref(60),N=e.ref(0),x=e.computed(()=>p.hidden?N.value:A.value+N.value),X=e.computed(()=>r.theme==="light"?Da:Va),L=e.computed(()=>r.theme==="light"?xa:Fa),j=e.computed(()=>r.theme==="light"?"var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)":"none"),ne=e.computed(()=>`${x.value}px`),Q=e.computed(()=>b.hidden||p.hidden?Ra:La),{debounce:H}=ht(),Z=H((_=!1)=>{if(_||O.value!==(window==null?void 0:window.innerWidth)){O.value=window==null?void 0:window.innerWidth;const M=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");M&&(N.value=M.offsetHeight)}},200),Y=e.ref();return e.watch(N,_=>{o("update:topOffset",_||0)},{immediate:!0}),e.onMounted(()=>{var M,P;(M=document==null?void 0:document.body)==null||M.classList.add("kong-ui-app-layout-body"),(P=document==null?void 0:document.documentElement)==null||P.classList.add("kong-ui-app-layout-html"),O.value=window==null?void 0:window.innerWidth,Z(!0);const _=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");_&&(Y.value=new ResizeObserver(z=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(z)||!z.length))for(const W of z){const B=W.contentRect.height;N.value!==B&&(N.value=B)}})}),Y.value.observe(_)),window.addEventListener("resize",Z)}),e.onBeforeUnmount(()=>{Y.value&&Y.value.disconnect(),window.removeEventListener("resize",Z)}),(_,M)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":p.hidden},{"sidebar-hidden":b.hidden}]])},[e.createElementVNode("div",Zn,[e.renderSlot(_.$slots,"notification",{},void 0,!0)]),p.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(et,{key:String(b.hidden),"left-offset":b.hidden?0:void 0,"top-offset":N.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[b.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(yt,{key:0,active:S.value,onToggle:$},null,8,["active"]))]),_:2},[s.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",zn,[e.renderSlot(_.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,s.navbarLogo?{name:"logo",fn:e.withCtx(()=>[b.hidden?(e.openBlock(),e.createElementBlock("div",Hn,[e.renderSlot(_.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,s.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,s.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,s.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),b.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(gt,{key:1,"bottom-items":b.bottomItems,"group-config":n.groupConfig,"header-height":A.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":x.value,open:S.value,"top-items":b.topItems,"top-offset":N.value,onClick:C,onToggle:$,onToggleCollapse:M[0]||(M[0]=(P,z)=>o("toggle-collapse",P,z))},e.createSlots({_:2},[s.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,s.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,s.sidebarFooter?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0,e.renderList([...b.topItems||[],...b.bottomItems||[]],P=>({name:`sidebar-icon-${P.key}`,fn:e.withCtx(()=>[e.renderSlot(_.$slots,`sidebar-icon-${P.key}`,{},void 0,!0)])})),e.renderList([...b.topItems||[],...b.bottomItems||[]],P=>({name:`sidebar-after-${P.key}`,fn:e.withCtx(()=>[e.renderSlot(_.$slots,`sidebar-after-${P.key}`,{},void 0,!0)])}))]),1032,["bottom-items","group-config","header-height","mobile-top-offset","open","top-items","top-offset"])),e.createElementVNode("main",Wn,[e.createElementVNode("div",Gn,[e.createElementVNode("div",{class:e.normalizeClass(["kong-ui-app-layout-content-inner",{"remove-inner-padding":n.removeContentInnerPadding}])},[M[1]||(M[1]=e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),e.renderSlot(_.$slots,"app-error",{},void 0,!0),i.value?e.createCommentVNode("",!0):e.renderSlot(_.$slots,"default",{key:0},void 0,!0)],2)])])],2))}}),[["__scopeId","data-v-b9242b31"]]),Un={key:0,class:"page-header-breadcrumbs","data-testid":"page-header-breadcrumbs"},qn={class:"page-header-title-section"},Xn={class:"page-header-title-wrapper"},Yn={key:0,class:"page-header-title-before","data-testid":"page-header-title-before"},Qn={key:1,class:"page-header-title-after","data-testid":"page-header-title-after"},Jn={key:0,class:"page-header-actions","data-testid":"page-header-actions"},eo={key:1,class:"page-header-section-below","data-testid":"page-header-section-below"},to=q(e.defineComponent({__name:"AppPageHeader",props:{title:{type:String,default:""},breadcrumbs:{type:Array,default:()=>[]},konnectNavigationNext:{type:Boolean,default:!1}},setup(n){const t=n,r=e.useSlots(),o=e.computed(()=>{var s;return!!((s=t.breadcrumbs)!=null&&s.length)}),c=e.computed(()=>Object.keys(r).filter(s=>s.startsWith("icon-")));return(s,i)=>{const p=e.resolveComponent("KBreadcrumbs");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-page-header",{"konnect-navigation-next":n.konnectNavigationNext}])},[o.value&&!n.konnectNavigationNext?(e.openBlock(),e.createElementBlock("div",Un,[e.createVNode(p,{"item-max-width":"150",items:n.breadcrumbs},e.createSlots({_:2},[e.renderList(c.value,b=>({name:b,fn:e.withCtx(()=>[e.renderSlot(s.$slots,b,{},void 0,!0)])}))]),1032,["items"])])):e.createCommentVNode("",!0),e.createElementVNode("div",qn,[e.createElementVNode("div",Xn,[s.$slots["title-before"]&&!n.konnectNavigationNext?(e.openBlock(),e.createElementBlock("div",Yn,[e.renderSlot(s.$slots,"title-before",{},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.konnectNavigationNext?"h2":"h1"),{class:"page-header-title","data-testid":"page-header-title",title:n.title},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.title),1)]),_:1},8,["title"])),s.$slots["title-after"]?(e.openBlock(),e.createElementBlock("div",Qn,[e.renderSlot(s.$slots,"title-after",{},void 0,!0)])):e.createCommentVNode("",!0)]),s.$slots.actions?(e.openBlock(),e.createElementBlock("div",Jn,[e.renderSlot(s.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),s.$slots.below?(e.openBlock(),e.createElementBlock("div",eo,[e.renderSlot(s.$slots,"below",{},void 0,!0)])):e.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-74d6fea9"]]),ao={class:"app-page-info-section-default-header"},no={key:1,class:"app-page-info-section-description","data-testid":"app-page-info-section-description"},oo={key:0,class:"app-page-info-section-content","data-testid":"app-page-info-section-content"},ro=q(e.defineComponent({__name:"AppPageInfoSection",props:{collapsible:{type:Boolean,default:!0},title:{type:String,default:""},description:{type:String,default:""},titleTag:{type:String,default:"div",validator:n=>Je.HeaderTags.includes(n)}},setup(n){return(t,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.collapsible?"details":"div"),{class:"app-page-info-section","data-testid":"app-page-info-section"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.collapsible?"summary":"div"),{class:"app-page-info-section-header","data-testid":"app-page-info-section-header"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"header",{},()=>[e.createElementVNode("div",ao,[n.title?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.titleTag),{key:0,class:"app-page-info-section-title","data-testid":"app-page-info-section-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.title),1)]),_:1})):e.createCommentVNode("",!0),n.description?(e.openBlock(),e.createElementBlock("div",no,e.toDisplayString(n.description),1)):e.createCommentVNode("",!0)])]),n.collapsible?(e.openBlock(),e.createBlock(e.unref(De.ChevronRightIcon),{key:0,class:"app-page-info-section-chevron-icon",decorative:""})):t.$slots.actions?e.renderSlot(t.$slots,"actions",{key:1}):e.createCommentVNode("",!0)]),_:3})),t.$slots.default?(e.openBlock(),e.createElementBlock("div",oo,[e.renderSlot(t.$slots,"default")])):e.createCommentVNode("",!0)]),_:3}))}}),[["__scopeId","data-v-8e512722"]]),io=q(e.defineComponent({__name:"GradientBadge",props:{large:{type:Boolean,default:!1},inverse:{type:Boolean,default:!1}},setup(n){return(t,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["gradient-badge",{inverse:n.inverse}])},[e.createElementVNode("div",{class:e.normalizeClass(["gradient-badge-content",{large:n.large}])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],2)],2))}}),[["__scopeId","data-v-b331e738"]]),lo={install:(n,t={})=>{n.component(t.name||"AppLayout",vt)}};R.AccountDropdown=zt,R.AppAboutSection=na,R.AppError=ua,R.AppLayout=vt,R.AppNavbar=et,R.AppPageHeader=to,R.AppPageInfoSection=ro,R.AppSidebar=gt,R.GradientBadge=io,R.SidebarToggle=yt,R.default=lo,Object.defineProperties(R,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
13
+ */function Nr(n){return n}const Nn={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},In=e.defineComponent({name:"FocusTrap",props:Object.assign({active:{type:Boolean,default:!0}},Nn),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(n,{slots:t,emit:r}){let o;const c=e.ref(null),s=e.computed(()=>{const m=c.value;return m&&(m instanceof HTMLElement?m:m.$el)});function i(){return o||(o=Bn(s.value,{escapeDeactivates:n.escapeDeactivates,allowOutsideClick:n.allowOutsideClick,returnFocusOnDeactivate:n.returnFocusOnDeactivate,clickOutsideDeactivates:n.clickOutsideDeactivates,onActivate:()=>{r("update:active",!0),r("activate")},onDeactivate:()=>{r("update:active",!1),r("deactivate")},onPostActivate:()=>r("postActivate"),onPostDeactivate:()=>r("postDeactivate"),initialFocus:n.initialFocus,fallbackFocus:n.fallbackFocus,tabbableOptions:n.tabbableOptions,delayInitialFocus:n.delayInitialFocus,preventScroll:n.preventScroll}))}return e.onMounted(()=>{e.watch(()=>n.active,m=>{m&&s.value?i().activate():o&&(o.deactivate(),(!s.value||s.value.nodeType===Node.COMMENT_NODE)&&(o=null))},{immediate:!0,flush:"post"})}),e.onUnmounted(()=>{o&&o.deactivate(),o=null}),{activate(){i().activate()},deactivate(){o&&o.deactivate()},renderImpl(){if(!t.default)return null;const m=t.default().filter(S=>S.type!==e.Comment);return!m||!m.length||m.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),m):e.cloneVNode(m[0],{ref:c})}}}});function ht(){return{debounce:(t,r)=>{let o;return(...c)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{t(...c)},r)}}}}var Ne=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _n(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ie={exports:{}};Ie.exports,function(n,t){var r=200,o="__lodash_hash_undefined__",c=9007199254740991,s="[object Arguments]",i="[object Array]",m="[object Boolean]",y="[object Date]",S="[object Error]",T="[object Function]",I="[object GeneratorFunction]",O="[object Map]",$="[object Number]",A="[object Object]",x="[object Promise]",X="[object RegExp]",L="[object Set]",P="[object String]",ne="[object Symbol]",Q="[object WeakMap]",H="[object ArrayBuffer]",Z="[object DataView]",Y="[object Float32Array]",_="[object Float64Array]",M="[object Int8Array]",j="[object Int16Array]",z="[object Int32Array]",W="[object Uint8Array]",B="[object Uint8ClampedArray]",d="[object Uint16Array]",f="[object Uint32Array]",v=/[\\^$.*+?()[\]{}|]/g,E=/\w*$/,C=/^\[object .+?Constructor\]$/,N=/^(?:0|[1-9]\d*)$/,b={};b[s]=b[i]=b[H]=b[Z]=b[m]=b[y]=b[Y]=b[_]=b[M]=b[j]=b[z]=b[O]=b[$]=b[A]=b[X]=b[L]=b[P]=b[ne]=b[W]=b[B]=b[d]=b[f]=!0,b[S]=b[T]=b[Q]=!1;var p=typeof Ne=="object"&&Ne&&Ne.Object===Object&&Ne,h=typeof self=="object"&&self&&self.Object===Object&&self,g=p||h||Function("return this")(),k=t&&!t.nodeType&&t,D=k&&!0&&n&&!n.nodeType&&n,F=D&&D.exports===k;function V(a,l){return a.set(l[0],l[1]),a}function ee(a,l){return a.add(l),a}function ye(a,l){for(var u=-1,w=a?a.length:0;++u<w&&l(a[u],u,a)!==!1;);return a}function lo(a,l){for(var u=-1,w=l.length,K=a.length;++u<w;)a[K+u]=l[u];return a}function kt(a,l,u,w){for(var K=-1,G=a?a.length:0;++K<G;)u=l(u,a[K],K,a);return u}function co(a,l){for(var u=-1,w=Array(a);++u<a;)w[u]=l(u);return w}function so(a,l){return a==null?void 0:a[l]}function wt(a){var l=!1;if(a!=null&&typeof a.toString!="function")try{l=!!(a+"")}catch{}return l}function Ct(a){var l=-1,u=Array(a.size);return a.forEach(function(w,K){u[++l]=[K,w]}),u}function Ke(a,l){return function(u){return a(l(u))}}function St(a){var l=-1,u=Array(a.size);return a.forEach(function(w){u[++l]=w}),u}var uo=Array.prototype,fo=Function.prototype,_e=Object.prototype,Ze=g["__core-js_shared__"],Et=function(){var a=/[^.]+$/.exec(Ze&&Ze.keys&&Ze.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),Tt=fo.toString,oe=_e.hasOwnProperty,$e=_e.toString,mo=RegExp("^"+Tt.call(oe).replace(v,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bt=F?g.Buffer:void 0,Nt=g.Symbol,It=g.Uint8Array,po=Ke(Object.getPrototypeOf,Object),bo=Object.create,ho=_e.propertyIsEnumerable,go=uo.splice,_t=Object.getOwnPropertySymbols,yo=Bt?Bt.isBuffer:void 0,vo=Ke(Object.keys,Object),ze=pe(g,"DataView"),ve=pe(g,"Map"),He=pe(g,"Promise"),We=pe(g,"Set"),Ge=pe(g,"WeakMap"),ke=pe(Object,"create"),ko=de(ze),wo=de(ve),Co=de(He),So=de(We),Eo=de(Ge),$t=Nt?Nt.prototype:void 0,Ot=$t?$t.valueOf:void 0;function ce(a){var l=-1,u=a?a.length:0;for(this.clear();++l<u;){var w=a[l];this.set(w[0],w[1])}}function To(){this.__data__=ke?ke(null):{}}function Bo(a){return this.has(a)&&delete this.__data__[a]}function No(a){var l=this.__data__;if(ke){var u=l[a];return u===o?void 0:u}return oe.call(l,a)?l[a]:void 0}function Io(a){var l=this.__data__;return ke?l[a]!==void 0:oe.call(l,a)}function _o(a,l){var u=this.__data__;return u[a]=ke&&l===void 0?o:l,this}ce.prototype.clear=To,ce.prototype.delete=Bo,ce.prototype.get=No,ce.prototype.has=Io,ce.prototype.set=_o;function te(a){var l=-1,u=a?a.length:0;for(this.clear();++l<u;){var w=a[l];this.set(w[0],w[1])}}function $o(){this.__data__=[]}function Oo(a){var l=this.__data__,u=Oe(l,a);if(u<0)return!1;var w=l.length-1;return u==w?l.pop():go.call(l,u,1),!0}function Ao(a){var l=this.__data__,u=Oe(l,a);return u<0?void 0:l[u][1]}function xo(a){return Oe(this.__data__,a)>-1}function Fo(a,l){var u=this.__data__,w=Oe(u,a);return w<0?u.push([a,l]):u[w][1]=l,this}te.prototype.clear=$o,te.prototype.delete=Oo,te.prototype.get=Ao,te.prototype.has=xo,te.prototype.set=Fo;function fe(a){var l=-1,u=a?a.length:0;for(this.clear();++l<u;){var w=a[l];this.set(w[0],w[1])}}function Do(){this.__data__={hash:new ce,map:new(ve||te),string:new ce}}function Vo(a){return Ae(this,a).delete(a)}function Ro(a){return Ae(this,a).get(a)}function Lo(a){return Ae(this,a).has(a)}function Mo(a,l){return Ae(this,a).set(a,l),this}fe.prototype.clear=Do,fe.prototype.delete=Vo,fe.prototype.get=Ro,fe.prototype.has=Lo,fe.prototype.set=Mo;function me(a){this.__data__=new te(a)}function Po(){this.__data__=new te}function jo(a){return this.__data__.delete(a)}function Ko(a){return this.__data__.get(a)}function Zo(a){return this.__data__.has(a)}function zo(a,l){var u=this.__data__;if(u instanceof te){var w=u.__data__;if(!ve||w.length<r-1)return w.push([a,l]),this;u=this.__data__=new fe(w)}return u.set(a,l),this}me.prototype.clear=Po,me.prototype.delete=jo,me.prototype.get=Ko,me.prototype.has=Zo,me.prototype.set=zo;function Ho(a,l){var u=Xe(a)||br(a)?co(a.length,String):[],w=u.length,K=!!w;for(var G in a)oe.call(a,G)&&!(K&&(G=="length"||ur(G,w)))&&u.push(G);return u}function At(a,l,u){var w=a[l];(!(oe.call(a,l)&&Vt(w,u))||u===void 0&&!(l in a))&&(a[l]=u)}function Oe(a,l){for(var u=a.length;u--;)if(Vt(a[u][0],l))return u;return-1}function Wo(a,l){return a&&xt(l,Ye(l),a)}function Ue(a,l,u,w,K,G,ae){var U;if(w&&(U=G?w(a,K,G,ae):w(a)),U!==void 0)return U;if(!xe(a))return a;var Mt=Xe(a);if(Mt){if(U=cr(a),!l)return rr(a,U)}else{var be=se(a),Pt=be==T||be==I;if(gr(a))return Qo(a,l);if(be==A||be==s||Pt&&!G){if(wt(a))return G?a:{};if(U=sr(Pt?{}:a),!l)return ir(a,Wo(U,a))}else{if(!b[be])return G?a:{};U=dr(a,be,Ue,l)}}ae||(ae=new me);var jt=ae.get(a);if(jt)return jt;if(ae.set(a,U),!Mt)var Kt=u?lr(a):Ye(a);return ye(Kt||a,function(Qe,Fe){Kt&&(Fe=Qe,Qe=a[Fe]),At(U,Fe,Ue(Qe,l,u,w,Fe,a,ae))}),U}function Go(a){return xe(a)?bo(a):{}}function Uo(a,l,u){var w=l(a);return Xe(a)?w:lo(w,u(a))}function qo(a){return $e.call(a)}function Xo(a){if(!xe(a)||mr(a))return!1;var l=Lt(a)||wt(a)?mo:C;return l.test(de(a))}function Yo(a){if(!Dt(a))return vo(a);var l=[];for(var u in Object(a))oe.call(a,u)&&u!="constructor"&&l.push(u);return l}function Qo(a,l){if(l)return a.slice();var u=new a.constructor(a.length);return a.copy(u),u}function qe(a){var l=new a.constructor(a.byteLength);return new It(l).set(new It(a)),l}function Jo(a,l){var u=l?qe(a.buffer):a.buffer;return new a.constructor(u,a.byteOffset,a.byteLength)}function er(a,l,u){var w=l?u(Ct(a),!0):Ct(a);return kt(w,V,new a.constructor)}function tr(a){var l=new a.constructor(a.source,E.exec(a));return l.lastIndex=a.lastIndex,l}function ar(a,l,u){var w=l?u(St(a),!0):St(a);return kt(w,ee,new a.constructor)}function nr(a){return Ot?Object(Ot.call(a)):{}}function or(a,l){var u=l?qe(a.buffer):a.buffer;return new a.constructor(u,a.byteOffset,a.length)}function rr(a,l){var u=-1,w=a.length;for(l||(l=Array(w));++u<w;)l[u]=a[u];return l}function xt(a,l,u,w){u||(u={});for(var K=-1,G=l.length;++K<G;){var ae=l[K],U=void 0;At(u,ae,U===void 0?a[ae]:U)}return u}function ir(a,l){return xt(a,Ft(a),l)}function lr(a){return Uo(a,Ye,Ft)}function Ae(a,l){var u=a.__data__;return fr(l)?u[typeof l=="string"?"string":"hash"]:u.map}function pe(a,l){var u=so(a,l);return Xo(u)?u:void 0}var Ft=_t?Ke(_t,Object):kr,se=qo;(ze&&se(new ze(new ArrayBuffer(1)))!=Z||ve&&se(new ve)!=O||He&&se(He.resolve())!=x||We&&se(new We)!=L||Ge&&se(new Ge)!=Q)&&(se=function(a){var l=$e.call(a),u=l==A?a.constructor:void 0,w=u?de(u):void 0;if(w)switch(w){case ko:return Z;case wo:return O;case Co:return x;case So:return L;case Eo:return Q}return l});function cr(a){var l=a.length,u=a.constructor(l);return l&&typeof a[0]=="string"&&oe.call(a,"index")&&(u.index=a.index,u.input=a.input),u}function sr(a){return typeof a.constructor=="function"&&!Dt(a)?Go(po(a)):{}}function dr(a,l,u,w){var K=a.constructor;switch(l){case H:return qe(a);case m:case y:return new K(+a);case Z:return Jo(a,w);case Y:case _:case M:case j:case z:case W:case B:case d:case f:return or(a,w);case O:return er(a,w,u);case $:case P:return new K(a);case X:return tr(a);case L:return ar(a,w,u);case ne:return nr(a)}}function ur(a,l){return l=l??c,!!l&&(typeof a=="number"||N.test(a))&&a>-1&&a%1==0&&a<l}function fr(a){var l=typeof a;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?a!=="__proto__":a===null}function mr(a){return!!Et&&Et in a}function Dt(a){var l=a&&a.constructor,u=typeof l=="function"&&l.prototype||_e;return a===u}function de(a){if(a!=null){try{return Tt.call(a)}catch{}try{return a+""}catch{}}return""}function pr(a){return Ue(a,!0,!0)}function Vt(a,l){return a===l||a!==a&&l!==l}function br(a){return hr(a)&&oe.call(a,"callee")&&(!ho.call(a,"callee")||$e.call(a)==s)}var Xe=Array.isArray;function Rt(a){return a!=null&&yr(a.length)&&!Lt(a)}function hr(a){return vr(a)&&Rt(a)}var gr=yo||wr;function Lt(a){var l=xe(a)?$e.call(a):"";return l==T||l==I}function yr(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=c}function xe(a){var l=typeof a;return!!a&&(l=="object"||l=="function")}function vr(a){return!!a&&typeof a=="object"}function Ye(a){return Rt(a)?Ho(a):Yo(a)}function kr(){return[]}function wr(){return!1}n.exports=pr}(Ie,Ie.exports);var $n=Ie.exports;const On=_n($n),An={key:0,class:"sidebar-header"},xn={class:"sidebar-content-container"},Fn={key:0,class:"sidebar-top"},Dn={"aria-label":"Main menu"},Vn=["id"],Rn=["aria-labelledby"],Ln={key:1,class:"sidebar-level-divider",role:"separator"},Mn={key:2,class:"level-primary bottom-items"},Pn={class:"sidebar-footer"},le="_ungrouped",gt=q(e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},groupConfig:{type:Object,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","toggle-collapse"],setup(n,{emit:t}){e.useCssVars(p=>({v53c8e6c8:m.value.mobileHeight,v6f959158:m.value.mobileTop,v6c6af840:n.zIndex,v4342dec6:m.value.height,ccaf1fd4:m.value.top,v6d681f2c:S.value.marginTop,v065dda82:N.value,v3e86363c:y.value.display,e3423b8e:y.value.minHeight,b4fe47b6:T.value.top,v528eb0b0:T.value.zIndex}));const r=t,o=n,c=e.useSlots(),s=e.computed(()=>!!c.header),i=e.computed(()=>!!c.top),m=e.computed(()=>({mobileTop:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:o.topOffset?`${o.topOffset}px`:"0",top:o.topOffset?`${o.topOffset}px`:"0",mobileHeight:o.mobileTopOffset&&o.mobileEnabled?`calc(100% - ${o.mobileTopOffset}px)`:"100%",height:o.topOffset?`calc(100% - ${o.topOffset}px)`:"100%"})),y=e.computed(()=>({display:!o.mobileHeaderVisible&&o.mobileEnabled?"none":"flex",minHeight:`${o.headerHeight}px`})),S=e.computed(()=>({marginTop:s.value?`${o.headerHeight}px`:"0"})),T=e.computed(()=>({top:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:"0",zIndex:o.mobileOverlayZIndex!==null?o.mobileOverlayZIndex:o.zIndex>1?o.zIndex-1:1})),I=p=>On(p).map(g=>{var k,D,F;if(g){(!g.key||!((k=g.key)!=null&&k.trim()))&&(g.key=String(g.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!g.testId||!((D=g.testId)!=null&&D.trim()))&&(g.testId=String(g.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const V of g.items||[])V.parentKey=g.key,(!V.testId||!((F=V.testId)!=null&&F.trim()))&&(V.testId=String(V.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return g}),O=e.computed(()=>o.topItems.length?I(o.topItems):[]),$=e.computed(()=>o.bottomItems.length?I(o.bottomItems):[]),A=(p="")=>p.trim().replace(" ","").replace(/[^a-z0-9]+/gi,"-").toLowerCase(),x=e.computed(()=>{var h;const p=new Map;p.set(le,[]);for(const g of O.value){const k=g.group||le;p.has(k)||p.set(k,[]),(h=p.get(k))==null||h.push(g)}return p}),X=Oa(`max-width: ${La}`),L=(p="")=>{if(p===le||!p.trim())return null;const h={label:p,collapsible:!1,collapsed:!1};let g=p.trim().replace(" ","");return g=g.charAt(0).toLowerCase()+g.slice(1),p&&o.groupConfig&&(o.groupConfig[p]||o.groupConfig[g])?o.groupConfig[p]||o.groupConfig[g]:h},P=p=>{var h;return!!((h=L(p))!=null&&h.collapsible)},ne=p=>{var h;return!!((h=L(p))!=null&&h.collapsed)},Q=(p,h,g)=>{const k=L(p);k&&(k.collapsed=!h),g(),r("toggle-collapse",p,k)},H=e.ref(o.open),Z=p=>{var h,g;H.value!==p&&(H.value=p,r("toggle",p)),p?(h=document==null?void 0:document.body)==null||h.classList.add("kong-ui-app-sidebar-open"):(g=document==null?void 0:document.body)==null||g.classList.remove("kong-ui-app-sidebar-open"),_.value=!1},Y=()=>{o.mobileOverlayCloseOnClick&&Z(!1)},_=e.ref(!1),M=p=>{_.value=!0,r("click",p),setTimeout(()=>{Z(!1)},o.mobileCloseDelay)};e.watch(()=>o.open,p=>{Z(p)});const{debounce:j}=ht(),z=j(()=>{H.value&&W.value!==(window==null?void 0:window.innerWidth)&&(W.value=window==null?void 0:window.innerWidth,Z(!1))},200),W=e.ref(),B=e.ref(!1),d=e.ref(),f=()=>{B.value||(B.value=!0,clearTimeout(d.value),d.value=setTimeout(()=>B.value=!1,1300))},v=e.ref(null),E=e.computed(()=>H.value&&o.mobileEnabled),C=async p=>{var h,g;p?(await e.nextTick(),await new Promise(k=>setTimeout(k,300)),(h=v.value)==null||h.activate()):(g=v.value)==null||g.deactivate()};e.watch(E,async p=>{p?await C(!0):await C(!1)},{immediate:!0});const N=e.ref("0px"),b=()=>{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 h=document.createElement("div");h.style.visibility="hidden",h.style.width="100px",document.body.appendChild(h);const g=h.offsetWidth;h.style.overflow="scroll";const k=document.createElement("div");k.style.width="100%",h.appendChild(k);const D=k.offsetWidth;h.parentNode&&h.parentNode.removeChild(h),g-D===0&&(N.value="8px")};return e.onMounted(async()=>{if(W.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",z),window.addEventListener("resize",f),o.groupConfig&&X.value)for(const p in o.groupConfig){const h=o.groupConfig[p];h.collapsed=!1}await e.nextTick(),b()}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",z),window.removeEventListener("resize",f)}),(p,h)=>{const g=e.resolveComponent("KCollapse");return e.openBlock(),e.createElementBlock(e.Fragment,null,[H.value&&n.mobileOverlay&&n.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:Y})):e.createCommentVNode("",!0),e.createVNode(e.unref(In),{ref_key:"focusTrap",ref:v,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":H.value,"no-sidebar-header":!s.value,"mobile-header-hidden":n.mobileEnabled&&(!s.value||!n.mobileHeaderVisible),"mobile-disabled":!n.mobileEnabled,"disable-transitions":B.value}]),tabindex:"-1"},[s.value?(e.openBlock(),e.createElementBlock("div",An,[e.renderSlot(p.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",xn,[i.value?(e.openBlock(),e.createElementBlock("div",Fn,[e.renderSlot(p.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",Dn,[x.value.size>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(x.value,([k,D])=>(e.openBlock(),e.createBlock(g,{key:k,class:e.normalizeClass(["level-primary-group-collapse",{"not-collapsible":!P(k),ungrouped:k===le}]),"data-testid":k===le?"level-primary-group-collapse-ungrouped":`level-primary-group-collapse-${k}`,"model-value":P(k)&&ne(k)||!1},{trigger:e.withCtx(({isCollapsed:F,toggle:V})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P(k)?e.unref(Je.KButton):"div"),{appearance:P(k)?"none":void 0,class:"level-primary-group-collapse-trigger",onClick:ee=>P(k)?Q(k,F,V):void 0},{default:e.withCtx(()=>{var ee;return[k!==le?(e.openBlock(),e.createElementBlock("div",{key:0,id:`level-primary-group-${A(k)}`,class:"level-primary-group-name","data-testid":"level-primary-group-name",role:"presentation"},e.toDisplayString(((ee=L(k))==null?void 0:ee.label)||k),9,Vn)):e.createCommentVNode("",!0),P(k)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(F?e.unref(De.ChevronRightIcon):e.unref(De.ChevronDownIcon)),{key:1,class:"level-primary-group-collapse-icon",color:e.unref(Pa),"data-testid":"level-primary-group-collapse-icon",size:e.unref(Ma)},null,8,["color","size"])):e.createCommentVNode("",!0)]}),_:2},1032,["appearance","onClick"]))]),default:e.withCtx(()=>[e.createElementVNode("ul",{"aria-labelledby":k!==le?`level-primary-group-${A(k)}`:void 0,class:"level-primary top-items"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D,F=>(e.openBlock(),e.createBlock(nt,{key:F.name,item:F,onClick:M},e.createSlots({[`sidebar-icon-${F.key}`]:e.withCtx(()=>[e.renderSlot(p.$slots,`sidebar-icon-${F.key}`,{},void 0,!0)]),_:2},[p.$slots[`sidebar-after-${F.key}`]?{name:`sidebar-after-${F.key}`,fn:e.withCtx(()=>[e.renderSlot(p.$slots,`sidebar-after-${F.key}`,{},void 0,!0)]),key:"0"}:void 0]),1032,["item"]))),128))],8,Rn)]),_:2},1032,["class","data-testid","model-value"]))),128)):e.createCommentVNode("",!0),x.value.size>0&&$.value.length?(e.openBlock(),e.createElementBlock("div",Ln)):e.createCommentVNode("",!0),$.value.length?(e.openBlock(),e.createElementBlock("ul",Mn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($.value,k=>(e.openBlock(),e.createBlock(nt,{key:k.name,item:k,onClick:M},{[`sidebar-icon-${k.key}`]:e.withCtx(()=>[e.renderSlot(p.$slots,`sidebar-icon-${k.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Pn,[e.renderSlot(p.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64)}}}),[["__scopeId","data-v-e8512478"]]),jn=["aria-label"],yt=q(e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(n,{emit:t}){const r=t,o=n,c=e.ref(o.active||!1),s=i=>{i.preventDefault(),c.value=!c.value,r("toggle",c.value)};return e.watch(()=>o.active,i=>{c.value=i}),(i,m)=>(e.openBlock(),e.createElementBlock("a",{"aria-haspopup":"true","aria-label":c.value?"Close Main Menu":"Open Main Menu",class:e.normalizeClass(["sidebar-menu-toggle",{active:c.value}]),href:"#",role:"button",onClick:e.withModifiers(s,["prevent"])},[...m[0]||(m[0]=[e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1)])],10,jn))}}),[["__scopeId","data-v-2238b0de"]]),Kn={id:"kong-ui-app-layout-notification"},Zn={class:"mobile-logo"},zn={key:0,class:"navbar-logo"},Hn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},Wn={class:"kong-ui-app-layout-content"},vt=q(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:()=>[]},groupConfig:{type:Object,default:()=>({})},theme:{type:String,default:"light",validator:n=>["light","dark"].includes(n)},removeContentInnerPadding:{type:Boolean,default:!1}},emits:["sidebar-click","update:topOffset","toggle-collapse"],setup(n,{emit:t}){e.useCssVars(_=>({v5526a015:L.value,v3240b80b:P.value,v71472eba:X.value,v709f53f2:ne.value,v0010e23a:Q.value}));const r=n,o=t,c=e.useSlots(),s=e.reactive({navbarLeft:e.computed(()=>!!c["navbar-left"]),navbarCenter:e.computed(()=>!!c["navbar-center"]),navbarRight:e.computed(()=>!!c["navbar-right"]),navbarLogo:e.computed(()=>!!c["navbar-logo"]),navbarMobileLogo:e.computed(()=>!!c["navbar-mobile-logo"]),sidebarHeader:e.computed(()=>!!c["sidebar-header"]),sidebarTop:e.computed(()=>!!c["sidebar-top"]),sidebarFooter:e.computed(()=>!!c["sidebar-footer"])}),i=e.computed(()=>r.hideDefaultSlot),m=e.reactive({hidden:e.computed(()=>r.navbarHidden)}),y=e.reactive({topItems:e.computed(()=>r.sidebarTopItems),bottomItems:e.computed(()=>r.sidebarBottomItems),open:e.computed(()=>r.sidebarOpen),hidden:e.computed(()=>r.sidebarHidden)}),S=_=>{o("sidebar-click",_)},T=e.ref(!1),I=_=>{T.value=_};e.watchEffect(()=>{T.value=e.toRef(y,"open").value||!1});const O=e.ref(0),$=e.ref(60),A=e.ref(0),x=e.computed(()=>m.hidden?A.value:$.value+A.value),X=e.computed(()=>r.theme==="light"?Fa:Da),L=e.computed(()=>r.theme==="light"?Aa:xa),P=e.computed(()=>r.theme==="light"?"var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)":"none"),ne=e.computed(()=>`${x.value}px`),Q=e.computed(()=>y.hidden||m.hidden?Va:Ra),{debounce:H}=ht(),Z=H((_=!1)=>{if(_||O.value!==(window==null?void 0:window.innerWidth)){O.value=window==null?void 0:window.innerWidth;const M=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");M&&(A.value=M.offsetHeight)}},200),Y=e.ref();return e.watch(A,_=>{o("update:topOffset",_||0)},{immediate:!0}),e.onMounted(()=>{var M,j;(M=document==null?void 0:document.body)==null||M.classList.add("kong-ui-app-layout-body"),(j=document==null?void 0:document.documentElement)==null||j.classList.add("kong-ui-app-layout-html"),O.value=window==null?void 0:window.innerWidth,Z(!0);const _=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");_&&(Y.value=new ResizeObserver(z=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(z)||!z.length))for(const W of z){const B=W.contentRect.height;A.value!==B&&(A.value=B)}})}),Y.value.observe(_)),window.addEventListener("resize",Z)}),e.onBeforeUnmount(()=>{Y.value&&Y.value.disconnect(),window.removeEventListener("resize",Z)}),(_,M)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":m.hidden},{"sidebar-hidden":y.hidden}]])},[e.createElementVNode("div",Kn,[e.renderSlot(_.$slots,"notification",{},void 0,!0)]),m.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(et,{key:String(y.hidden),"left-offset":y.hidden?0:void 0,"top-offset":A.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[y.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(yt,{key:0,active:T.value,onToggle:I},null,8,["active"]))]),_:2},[s.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",Zn,[e.renderSlot(_.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,s.navbarLogo?{name:"logo",fn:e.withCtx(()=>[y.hidden?(e.openBlock(),e.createElementBlock("div",zn,[e.renderSlot(_.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,s.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,s.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,s.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),y.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(gt,{key:1,"bottom-items":y.bottomItems,"group-config":n.groupConfig,"header-height":$.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":x.value,open:T.value,"top-items":y.topItems,"top-offset":A.value,onClick:S,onToggle:I,onToggleCollapse:M[0]||(M[0]=(j,z)=>o("toggle-collapse",j,z))},e.createSlots({_:2},[s.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,s.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,s.sidebarFooter?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0,e.renderList([...y.topItems||[],...y.bottomItems||[]],j=>({name:`sidebar-icon-${j.key}`,fn:e.withCtx(()=>[e.renderSlot(_.$slots,`sidebar-icon-${j.key}`,{},void 0,!0)])})),e.renderList([...y.topItems||[],...y.bottomItems||[]],j=>({name:`sidebar-after-${j.key}`,fn:e.withCtx(()=>[e.renderSlot(_.$slots,`sidebar-after-${j.key}`,{},void 0,!0)])}))]),1032,["bottom-items","group-config","header-height","mobile-top-offset","open","top-items","top-offset"])),e.createElementVNode("main",Hn,[e.createElementVNode("div",Wn,[e.createElementVNode("div",{class:e.normalizeClass(["kong-ui-app-layout-content-inner",{"remove-inner-padding":n.removeContentInnerPadding}])},[M[1]||(M[1]=e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),e.renderSlot(_.$slots,"app-error",{},void 0,!0),i.value?e.createCommentVNode("",!0):e.renderSlot(_.$slots,"default",{key:0},void 0,!0)],2)])])],2))}}),[["__scopeId","data-v-b9242b31"]]),Gn={key:0,class:"page-header-breadcrumbs","data-testid":"page-header-breadcrumbs"},Un={class:"page-header-title-section"},qn={class:"page-header-title-wrapper"},Xn={key:0,class:"page-header-title-before","data-testid":"page-header-title-before"},Yn={key:1,class:"page-header-title-after","data-testid":"page-header-title-after"},Qn={key:0,class:"page-header-actions","data-testid":"page-header-actions"},Jn={key:1,class:"page-header-section-below","data-testid":"page-header-section-below"},eo=q(e.defineComponent({__name:"AppPageHeader",props:{title:{type:String,default:""},breadcrumbs:{type:Array,default:()=>[]},konnectNavigationNext:{type:Boolean,default:!1}},setup(n){const t=n,r=e.useSlots(),o=e.computed(()=>{var s;return!!((s=t.breadcrumbs)!=null&&s.length)}),c=e.computed(()=>Object.keys(r).filter(s=>s.startsWith("icon-")));return(s,i)=>{const m=e.resolveComponent("KBreadcrumbs");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-page-header",{"konnect-navigation-next":n.konnectNavigationNext}])},[o.value&&!n.konnectNavigationNext?(e.openBlock(),e.createElementBlock("div",Gn,[e.createVNode(m,{"item-max-width":"150",items:n.breadcrumbs},e.createSlots({_:2},[e.renderList(c.value,y=>({name:y,fn:e.withCtx(()=>[e.renderSlot(s.$slots,y,{},void 0,!0)])}))]),1032,["items"])])):e.createCommentVNode("",!0),e.createElementVNode("div",Un,[e.createElementVNode("div",qn,[s.$slots["title-before"]&&!n.konnectNavigationNext?(e.openBlock(),e.createElementBlock("div",Xn,[e.renderSlot(s.$slots,"title-before",{},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.konnectNavigationNext?"h2":"h1"),{class:"page-header-title","data-testid":"page-header-title",title:n.title},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.title),1)]),_:1},8,["title"])),s.$slots["title-after"]?(e.openBlock(),e.createElementBlock("div",Yn,[e.renderSlot(s.$slots,"title-after",{},void 0,!0)])):e.createCommentVNode("",!0)]),s.$slots.actions?(e.openBlock(),e.createElementBlock("div",Qn,[e.renderSlot(s.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),s.$slots.below?(e.openBlock(),e.createElementBlock("div",Jn,[e.renderSlot(s.$slots,"below",{},void 0,!0)])):e.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-74d6fea9"]]),to={class:"app-page-info-section-default-header"},ao={key:1,class:"app-page-info-section-description","data-testid":"app-page-info-section-description"},no={key:0,class:"app-page-info-section-content","data-testid":"app-page-info-section-content"},oo=q(e.defineComponent({__name:"AppPageInfoSection",props:{collapsible:{type:Boolean,default:!0},title:{type:String,default:""},description:{type:String,default:""},titleTag:{type:String,default:"div",validator:n=>Je.HeaderTags.includes(n)}},setup(n){return(t,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.collapsible?"details":"div"),{class:"app-page-info-section","data-testid":"app-page-info-section"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.collapsible?"summary":"div"),{class:"app-page-info-section-header","data-testid":"app-page-info-section-header"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"header",{},()=>[e.createElementVNode("div",to,[n.title?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.titleTag),{key:0,class:"app-page-info-section-title","data-testid":"app-page-info-section-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.title),1)]),_:1})):e.createCommentVNode("",!0),n.description?(e.openBlock(),e.createElementBlock("div",ao,e.toDisplayString(n.description),1)):e.createCommentVNode("",!0)])]),n.collapsible?(e.openBlock(),e.createBlock(e.unref(De.ChevronRightIcon),{key:0,class:"app-page-info-section-chevron-icon",decorative:""})):t.$slots.actions?e.renderSlot(t.$slots,"actions",{key:1}):e.createCommentVNode("",!0)]),_:3})),t.$slots.default?(e.openBlock(),e.createElementBlock("div",no,[e.renderSlot(t.$slots,"default")])):e.createCommentVNode("",!0)]),_:3}))}}),[["__scopeId","data-v-8e512722"]]),ro=q(e.defineComponent({__name:"GradientBadge",props:{large:{type:Boolean,default:!1},inverse:{type:Boolean,default:!1}},setup(n){return(t,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["gradient-badge",{inverse:n.inverse}])},[e.createElementVNode("div",{class:e.normalizeClass(["gradient-badge-content",{large:n.large}])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],2)],2))}}),[["__scopeId","data-v-b331e738"]]),io={install:(n,t={})=>{n.component(t.name||"AppLayout",vt)}};R.AccountDropdown=zt,R.AppAboutSection=na,R.AppError=ua,R.AppLayout=vt,R.AppNavbar=et,R.AppPageHeader=eo,R.AppPageInfoSection=oo,R.AppSidebar=gt,R.GradientBadge=ro,R.SidebarToggle=yt,R.default=io,Object.defineProperties(R,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/app-layout",
3
- "version": "4.11.29",
3
+ "version": "4.11.30",
4
4
  "type": "module",
5
5
  "main": "./dist/app-layout.umd.js",
6
6
  "module": "./dist/app-layout.es.js",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@kong/icons": "^1.58.0",
30
- "@vueuse/core": "^13.9.0",
30
+ "@vueuse/core": "^14.3.0",
31
31
  "focus-trap": "^8.2.1",
32
32
  "focus-trap-vue": "^4.1.0",
33
33
  "lodash.clonedeep": "^4.5.0"