@kong-ui-public/app-layout 0.13.14 → 0.13.15
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.
- package/dist/app-layout.es.js +828 -814
- package/dist/app-layout.es.js.map +1 -1
- package/dist/app-layout.umd.js +6 -6
- package/dist/app-layout.umd.js.map +1 -1
- package/dist/types/components/AppLayout.vue.d.ts.map +1 -1
- package/dist/types/components/errors/AppError.vue.d.ts.map +1 -1
- package/dist/types/components/navbar/AppNavbar.vue.d.ts.map +1 -1
- package/dist/types/components/navbar/NavbarDropdownMenu.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/AppSidebar.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/ItemBadge.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/SidebarFooter.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/SidebarItem.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/SidebarToggle.vue.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/app-layout.umd.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
(function(L,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(L=typeof globalThis<"u"?globalThis:L||self,e(L["kong-ui-public-app-layout"]={},L.Vue))})(this,function(L,e){"use strict";const
|
|
2
|
-
* tabbable 6.
|
|
1
|
+
(function(L,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(L=typeof globalThis<"u"?globalThis:L||self,e(L["kong-ui-public-app-layout"]={},L.Vue))})(this,function(L,e){"use strict";const Nt={class:"kong-ui-app-navbar"},It={class:"header-content"},Bt={class:"mobile-header-left"},xt={key:0,class:"app-navbar-logo"},Ot={class:"navbar-content"},At={class:"navbar-content-left"},$t={class:"navbar-content-center"},Ft={class:"navbar-content-right"},Dt=e.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(r){const n=r;e.useCssVars(c=>({e7993570:e.unref(d).top,"591d67a5":e.unref(d).zIndex,"0b950b18":e.unref(d).left,74170388:s.marginRight,"482efd74":s.width}));const a=e.useSlots(),o=e.computed(()=>!!a.logo),s=e.reactive({marginRight:"0",width:"0"});e.onMounted(()=>{var c,u;(u=(c=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:c.children)!=null&&u.length?(s.marginRight="32px",s.width="calc(240px - 32px)"):(s.marginRight="0",s.width="0")});const d=e.computed(()=>({top:n.topOffset?`${n.topOffset}px`:"0",left:n.leftOffset?`${n.leftOffset}px`:"0",zIndex:n.zIndex}));return(c,u)=>(e.openBlock(),e.createElementBlock("header",Nt,[e.createElementVNode("div",It,[e.createElementVNode("div",Bt,[e.renderSlot(c.$slots,"mobile-sidebar-toggle"),e.renderSlot(c.$slots,"mobile-logo")]),e.unref(o)?(e.openBlock(),e.createElementBlock("div",xt,[e.renderSlot(c.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",Ot,[e.createElementVNode("div",At,[e.renderSlot(c.$slots,"left")]),e.createElementVNode("div",$t,[e.renderSlot(c.$slots,"center")]),e.createElementVNode("div",Ft,[e.renderSlot(c.$slots,"right")])])])]))}}),Lr="",j=(r,n)=>{const a=r.__vccOpts||r;for(const[o,s]of n)a[o]=s;return a},Ve=j(Dt,[["__scopeId","data-v-b7131fb2"]]),Vt=["title"],Mt=e.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(r){const n=r,a=99,o=e.computed(()=>n.count?n.count>a?`${a}+`:n.count.toString():"");return(s,d)=>e.unref(o)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(r.count||0)>a?String(r.count):void 0},e.toDisplayString(e.unref(o)),9,Vt)):e.createCommentVNode("",!0)}}),Rr="",Lt=j(Mt,[["__scopeId","data-v-9e48c714"]]),Rt=["data-testid"],Zt=["aria-controls","aria-expanded","href","target","onClick","onKeypress"],Pt={key:0,class:"sidebar-item-icon"},jt={class:"sidebar-item-name-container"},Kt={class:"sidebar-item-name has-tooltip"},Ht={key:2,class:"sidebar-item-label truncate-text truncate-20"},zt=["id"],Wt=e.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(r,{emit:n}){const a=r,o=e.computed(()=>typeof a.item.to!="string"?!1:!!a.item.newWindow||!!a.item.external||a.item.to.startsWith("http")),s=e.computed(()=>!a.item.to||typeof a.item.to!="string"||!a.item.newWindow?!1:a.item.newWindow&&(a.item.to.startsWith("http")||a.item.to.startsWith("/"))),d=e.computed(()=>a.subnavItem&&a.item.badgeCount!==void 0),c=g=>{n("click",g)},u=(g,v,C)=>{c(v),typeof C=="function"&&(g.preventDefault(),C())};return(g,v)=>{var E;const C=e.resolveComponent("KIcon"),w=e.resolveComponent("KTooltip"),x=e.resolveComponent("SidebarItem",!0);return e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass([r.subnavItem?"sidebar-item-secondary":"sidebar-item-primary",{expanded:r.item.expanded},{active:r.item.active}]),"data-testid":r.item.testId?`sidebar-item-${r.item.testId}`:void 0},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o)?"div":"router-link"),{custom:e.unref(o)?void 0:!0,to:!e.unref(o)&&!e.unref(s)?r.item.to:void 0},{default:e.withCtx(I=>{var D,R;return[e.createElementVNode("a",{"aria-controls":(D=r.item.items)!=null&&D.length&&r.item.expanded?`subnav-${r.item.key}`:void 0,"aria-expanded":(R=r.item.items)!=null&&R.length&&r.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":e.unref(s),"router-link":!e.unref(o)}]),href:e.unref(o)?String(r.item.to||"#"):I==null?void 0:I.href,target:e.unref(s)?"_blank":void 0,onClick:F=>u(F,r.item,I==null?void 0:I.navigate),onKeypress:e.withKeys(F=>u(F,r.item,I==null?void 0:I.navigate),["enter"])},[e.createElementVNode("div",{class:e.normalizeClass(["sidebar-item-display",{"has-label":!!r.item.label&&r.item.expanded,"has-badge":e.unref(d)}])},[r.item.icon?(e.openBlock(),e.createElementBlock("div",Pt,[e.createVNode(C,{color:r.item.active||r.item.expanded?"var(--white, #fff)":"#B5BECD",icon:String(r.item.icon),size:"20"},null,8,["color","icon"])])):e.createCommentVNode("",!0),e.createElementVNode("div",jt,[(r.subnavItem?r.item.name.length<25:r.item.name.length<18)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sidebar-item-name truncate-text",[r.subnavItem?"has-badge-max-width truncate-24":"truncate-17"]])},e.toDisplayString(r.item.name),3)):(e.openBlock(),e.createBlock(w,{key:1,class:"sidebar-item-tooltip",label:r.item.name,placement:"right","position-fixed":""},{default:e.withCtx(()=>[e.createElementVNode("div",Kt,[e.createElementVNode("span",{class:e.normalizeClass(["truncate-text",[r.subnavItem?"truncate-20":"truncate-17",{"has-badge-max-width":e.unref(d)}]])},e.toDisplayString(r.item.name),3)])]),_:1},8,["label"])),r.item.label&&r.item.expanded?(e.openBlock(),e.createElementBlock("div",Ht,e.toDisplayString(r.item.label),1)):e.createCommentVNode("",!0)]),e.unref(d)?(e.openBlock(),e.createBlock(Lt,{key:1,count:r.item.badgeCount},null,8,["count"])):e.createCommentVNode("",!0)],2)],42,Zt)]}),_:1},8,["custom","to"])),(E=r.item.items)!=null&&E.length&&r.item.expanded?(e.openBlock(),e.createElementBlock("ul",{key:0,id:`subnav-${r.item.key}`,class:"level-secondary"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.item.items,I=>(e.openBlock(),e.createBlock(x,{key:I.name,item:I,"subnav-item":!0,onClick:D=>c(I)},null,8,["item","onClick"]))),128))],8,zt)):e.createCommentVNode("",!0)],10,Rt)}}}),Zr="",Pr="",Me=j(Wt,[["__scopeId","data-v-b0428668"]]),Gt={},qt={class:"profile-icon",fill:"none",height:"30",width:"30",xmlns:"http://www.w3.org/2000/svg"},Ut=[e.createElementVNode("path",{d:"M0 15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15Z",fill:"#0A7FAE"},null,-1),e.createElementVNode("path",{d:"M12.613 15 8.5 18.115V23h13v-4.885L17.648 15h-5.035ZM15 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",fill:"#fff"},null,-1)];function Yt(r,n){return e.openBlock(),e.createElementBlock("svg",qt,Ut)}const Xt=j(Gt,[["render",Yt]]),Jt={"aria-haspopup":"true","aria-label":"Profile Menu",class:"sidebar-footer"},Qt={class:"sidebar-profile-link"},en={class:"sidebar-item-icon"},tn={class:"sidebar-profile-item-container"},nn={class:"sidebar-profile-dropdown-container"},an={key:0,class:"sidebar-profile-name"},rn={class:"sidebar-profile-name"},on=e.defineComponent({__name:"SidebarFooter",props:{name:{type:String,required:!0},itemCount:{type:Number,required:!0,default:0}},setup(r){const n=r,a=e.computed(()=>n.itemCount>0);return(o,s)=>{const d=e.resolveComponent("KDropdownMenu");return e.openBlock(),e.createElementBlock("nav",Jt,[e.createElementVNode("div",Qt,[e.createElementVNode("div",en,[e.createVNode(Xt)]),e.createElementVNode("div",tn,[e.createElementVNode("div",nn,[e.unref(a)?(e.openBlock(),e.createBlock(d,{key:1,"kpop-attributes":{placement:"right",popoverClasses:"ml-5 sidebar-profile-menu-popover",target:".sidebar-footer"},width:"240"},{items:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("a",{"aria-label":"Open Profile Menu",class:"profile-dropdown-trigger",role:"button",tabindex:"0",onClick:s[0]||(s[0]=e.withModifiers(()=>{},["prevent"]))},[e.createElementVNode("span",rn,e.toDisplayString(r.name),1)])]),_:3},8,["kpop-attributes"])):(e.openBlock(),e.createElementBlock("div",an,e.toDisplayString(r.name),1))])])])])}}}),Hr="",cn=j(on,[["__scopeId","data-v-9af03aea"]]);/*!
|
|
2
|
+
* tabbable 6.1.1
|
|
3
3
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4
|
-
*/var Le=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],
|
|
5
|
-
* focus-trap 7.
|
|
4
|
+
*/var Le=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],le=Le.join(","),Re=typeof Element>"u",U=Re?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,se=!Re&&Element.prototype.getRootNode?function(r){var n;return r==null||(n=r.getRootNode)===null||n===void 0?void 0:n.call(r)}:function(r){return r==null?void 0:r.ownerDocument},de=function r(n,a){var o;a===void 0&&(a=!0);var s=n==null||(o=n.getAttribute)===null||o===void 0?void 0:o.call(n,"inert"),d=s===""||s==="true",c=d||a&&n&&r(n.parentNode);return c},ln=function(n){var a,o=n==null||(a=n.getAttribute)===null||a===void 0?void 0:a.call(n,"contenteditable");return o===""||o==="true"},Ze=function(n,a,o){if(de(n))return[];var s=Array.prototype.slice.apply(n.querySelectorAll(le));return a&&U.call(n,le)&&s.unshift(n),s=s.filter(o),s},Pe=function r(n,a,o){for(var s=[],d=Array.from(n);d.length;){var c=d.shift();if(!de(c,!1))if(c.tagName==="SLOT"){var u=c.assignedElements(),g=u.length?u:c.children,v=r(g,!0,o);o.flatten?s.push.apply(s,v):s.push({scopeParent:c,candidates:v})}else{var C=U.call(c,le);C&&o.filter(c)&&(a||!n.includes(c))&&s.push(c);var w=c.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(c),x=!de(w,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(w&&x){var E=r(w===!0?c.children:w.children,!0,o);o.flatten?s.push.apply(s,E):s.push({scopeParent:c,candidates:E})}else d.unshift.apply(d,c.children)}}return s},je=function(n,a){return n.tabIndex<0&&(a||/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||ln(n))&&isNaN(parseInt(n.getAttribute("tabindex"),10))?0:n.tabIndex},sn=function(n,a){return n.tabIndex===a.tabIndex?n.documentOrder-a.documentOrder:n.tabIndex-a.tabIndex},Ke=function(n){return n.tagName==="INPUT"},dn=function(n){return Ke(n)&&n.type==="hidden"},fn=function(n){var a=n.tagName==="DETAILS"&&Array.prototype.slice.apply(n.children).some(function(o){return o.tagName==="SUMMARY"});return a},un=function(n,a){for(var o=0;o<n.length;o++)if(n[o].checked&&n[o].form===a)return n[o]},pn=function(n){if(!n.name)return!0;var a=n.form||se(n),o=function(u){return a.querySelectorAll('input[type="radio"][name="'+u+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=o(window.CSS.escape(n.name));else try{s=o(n.name)}catch(c){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",c.message),!1}var d=un(s,n.form);return!d||d===n},bn=function(n){return Ke(n)&&n.type==="radio"},mn=function(n){return bn(n)&&!pn(n)},hn=function(n){var a,o=n&&se(n),s=(a=o)===null||a===void 0?void 0:a.host,d=!1;if(o&&o!==n){var c,u,g;for(d=!!((c=s)!==null&&c!==void 0&&(u=c.ownerDocument)!==null&&u!==void 0&&u.contains(s)||n!=null&&(g=n.ownerDocument)!==null&&g!==void 0&&g.contains(n));!d&&s;){var v,C,w;o=se(s),s=(v=o)===null||v===void 0?void 0:v.host,d=!!((C=s)!==null&&C!==void 0&&(w=C.ownerDocument)!==null&&w!==void 0&&w.contains(s))}}return d},He=function(n){var a=n.getBoundingClientRect(),o=a.width,s=a.height;return o===0&&s===0},gn=function(n,a){var o=a.displayCheck,s=a.getShadowRoot;if(getComputedStyle(n).visibility==="hidden")return!0;var d=U.call(n,"details>summary:first-of-type"),c=d?n.parentElement:n;if(U.call(c,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof s=="function"){for(var u=n;n;){var g=n.parentElement,v=se(n);if(g&&!g.shadowRoot&&s(g)===!0)return He(n);n.assignedSlot?n=n.assignedSlot:!g&&v!==n.ownerDocument?n=v.host:n=g}n=u}if(hn(n))return!n.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return He(n);return!1},yn=function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var a=n.parentElement;a;){if(a.tagName==="FIELDSET"&&a.disabled){for(var o=0;o<a.children.length;o++){var s=a.children.item(o);if(s.tagName==="LEGEND")return U.call(a,"fieldset[disabled] *")?!0:!s.contains(n)}return!0}a=a.parentElement}return!1},fe=function(n,a){return!(a.disabled||de(a)||dn(a)||gn(a,n)||fn(a)||yn(a))},ke=function(n,a){return!(mn(a)||je(a)<0||!fe(n,a))},vn=function(n){var a=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(a)||a>=0)},_n=function r(n){var a=[],o=[];return n.forEach(function(s,d){var c=!!s.scopeParent,u=c?s.scopeParent:s,g=je(u,c),v=c?r(s.candidates):u;g===0?c?a.push.apply(a,v):a.push(u):o.push({documentOrder:d,tabIndex:g,item:s,isScope:c,content:v})}),o.sort(sn).reduce(function(s,d){return d.isScope?s.push.apply(s,d.content):s.push(d.content),s},[]).concat(a)},wn=function(n,a){a=a||{};var o;return a.getShadowRoot?o=Pe([n],a.includeContainer,{filter:ke.bind(null,a),flatten:!1,getShadowRoot:a.getShadowRoot,shadowRootFilter:vn}):o=Ze(n,a.includeContainer,ke.bind(null,a)),_n(o)},kn=function(n,a){a=a||{};var o;return a.getShadowRoot?o=Pe([n],a.includeContainer,{filter:fe.bind(null,a),flatten:!0,getShadowRoot:a.getShadowRoot}):o=Ze(n,a.includeContainer,fe.bind(null,a)),o},ue=function(n,a){if(a=a||{},!n)throw new Error("No node provided");return U.call(n,le)===!1?!1:ke(a,n)},Cn=Le.concat("iframe").join(","),ze=function(n,a){if(a=a||{},!n)throw new Error("No node provided");return U.call(n,Cn)===!1?!1:fe(a,n)};/*!
|
|
5
|
+
* focus-trap 7.3.1
|
|
6
6
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
7
|
-
*/function
|
|
7
|
+
*/function We(r,n){var a=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);n&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(r,s).enumerable})),a.push.apply(a,o)}return a}function Ge(r){for(var n=1;n<arguments.length;n++){var a=arguments[n]!=null?arguments[n]:{};n%2?We(Object(a),!0).forEach(function(o){Sn(r,o,a[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):We(Object(a)).forEach(function(o){Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(a,o))})}return r}function Sn(r,n,a){return n=En(n),n in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a,r}function Tn(r,n){if(typeof r!="object"||r===null)return r;var a=r[Symbol.toPrimitive];if(a!==void 0){var o=a.call(r,n||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(r)}function En(r){var n=Tn(r,"string");return typeof n=="symbol"?n:String(n)}var qe={activateTrap:function(n,a){if(n.length>0){var o=n[n.length-1];o!==a&&o.pause()}var s=n.indexOf(a);s===-1||n.splice(s,1),n.push(a)},deactivateTrap:function(n,a){var o=n.indexOf(a);o!==-1&&n.splice(o,1),n.length>0&&n[n.length-1].unpause()}},Nn=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},In=function(n){return n.key==="Escape"||n.key==="Esc"||n.keyCode===27},ae=function(n){return n.key==="Tab"||n.keyCode===9},Bn=function(n){return ae(n)&&!n.shiftKey},xn=function(n){return ae(n)&&n.shiftKey},Ue=function(n){return setTimeout(n,0)},Ye=function(n,a){var o=-1;return n.every(function(s,d){return a(s)?(o=d,!1):!0}),o},re=function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];return typeof n=="function"?n.apply(void 0,o):n},pe=function(n){return n.target.shadowRoot&&typeof n.composedPath=="function"?n.composedPath()[0]:n.target},On=[],An=function(n,a){var o=(a==null?void 0:a.document)||document,s=(a==null?void 0:a.trapStack)||On,d=Ge({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Bn,isKeyBackward:xn},a),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},u,g=function(f,p,m){return f&&f[p]!==void 0?f[p]:d[m||p]},v=function(f){return c.containerGroups.findIndex(function(p){var m=p.container,N=p.tabbableNodes;return m.contains(f)||N.find(function(h){return h===f})})},C=function(f){var p=d[f];if(typeof p=="function"){for(var m=arguments.length,N=new Array(m>1?m-1:0),h=1;h<m;h++)N[h-1]=arguments[h];p=p.apply(void 0,N)}if(p===!0&&(p=void 0),!p){if(p===void 0||p===!1)return p;throw new Error("`".concat(f,"` was specified but was not a node, or did not return a node"))}var B=p;if(typeof p=="string"&&(B=o.querySelector(p),!B))throw new Error("`".concat(f,"` as selector refers to no known node"));return B},w=function(){var f=C("initialFocus");if(f===!1)return!1;if(f===void 0)if(v(o.activeElement)>=0)f=o.activeElement;else{var p=c.tabbableGroups[0],m=p&&p.firstTabbableNode;f=m||C("fallbackFocus")}if(!f)throw new Error("Your focus-trap needs to have at least one focusable element");return f},x=function(){if(c.containerGroups=c.containers.map(function(f){var p=wn(f,d.tabbableOptions),m=kn(f,d.tabbableOptions);return{container:f,tabbableNodes:p,focusableNodes:m,firstTabbableNode:p.length>0?p[0]:null,lastTabbableNode:p.length>0?p[p.length-1]:null,nextTabbableNode:function(h){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,y=m.findIndex(function(O){return O===h});if(!(y<0))return B?m.slice(y+1).find(function(O){return ue(O,d.tabbableOptions)}):m.slice(0,y).reverse().find(function(O){return ue(O,d.tabbableOptions)})}}}),c.tabbableGroups=c.containerGroups.filter(function(f){return f.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!C("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},E=function S(f){if(f!==!1&&f!==o.activeElement){if(!f||!f.focus){S(w());return}f.focus({preventScroll:!!d.preventScroll}),c.mostRecentlyFocusedNode=f,Nn(f)&&f.select()}},I=function(f){var p=C("setReturnFocus",f);return p||(p===!1?!1:f)},D=function(f){var p=pe(f);if(!(v(p)>=0)){if(re(d.clickOutsideDeactivates,f)){u.deactivate({returnFocus:d.returnFocusOnDeactivate});return}re(d.allowOutsideClick,f)||f.preventDefault()}},R=function(f){var p=pe(f),m=v(p)>=0;m||p instanceof Document?m&&(c.mostRecentlyFocusedNode=p):(f.stopImmediatePropagation(),E(c.mostRecentlyFocusedNode||w()))},F=function(f){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,m=pe(f);x();var N=null;if(c.tabbableGroups.length>0){var h=v(m),B=h>=0?c.containerGroups[h]:void 0;if(h<0)p?N=c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:N=c.tabbableGroups[0].firstTabbableNode;else if(p){var y=Ye(c.tabbableGroups,function(oe){var T=oe.firstTabbableNode;return m===T});if(y<0&&(B.container===m||ze(m,d.tabbableOptions)&&!ue(m,d.tabbableOptions)&&!B.nextTabbableNode(m,!1))&&(y=h),y>=0){var O=y===0?c.tabbableGroups.length-1:y-1,_=c.tabbableGroups[O];N=_.lastTabbableNode}else ae(f)||(N=B.nextTabbableNode(m,!1))}else{var H=Ye(c.tabbableGroups,function(oe){var T=oe.lastTabbableNode;return m===T});if(H<0&&(B.container===m||ze(m,d.tabbableOptions)&&!ue(m,d.tabbableOptions)&&!B.nextTabbableNode(m))&&(H=h),H>=0){var z=H===c.tabbableGroups.length-1?0:H+1,Se=c.tabbableGroups[z];N=Se.firstTabbableNode}else ae(f)||(N=B.nextTabbableNode(m))}}else N=C("fallbackFocus");N&&(ae(f)&&f.preventDefault(),E(N))},K=function(f){if(In(f)&&re(d.escapeDeactivates,f)!==!1){f.preventDefault(),u.deactivate();return}(d.isKeyForward(f)||d.isKeyBackward(f))&&F(f,d.isKeyBackward(f))},Z=function(f){var p=pe(f);v(p)>=0||re(d.clickOutsideDeactivates,f)||re(d.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},k=function(){if(c.active)return qe.activateTrap(s,u),c.delayInitialFocusTimer=d.delayInitialFocus?Ue(function(){E(w())}):E(w()),o.addEventListener("focusin",R,!0),o.addEventListener("mousedown",D,{capture:!0,passive:!1}),o.addEventListener("touchstart",D,{capture:!0,passive:!1}),o.addEventListener("click",Z,{capture:!0,passive:!1}),o.addEventListener("keydown",K,{capture:!0,passive:!1}),u},$=function(){if(c.active)return o.removeEventListener("focusin",R,!0),o.removeEventListener("mousedown",D,!0),o.removeEventListener("touchstart",D,!0),o.removeEventListener("click",Z,!0),o.removeEventListener("keydown",K,!0),u};return u={get active(){return c.active},get paused(){return c.paused},activate:function(f){if(c.active)return this;var p=g(f,"onActivate"),m=g(f,"onPostActivate"),N=g(f,"checkCanFocusTrap");N||x(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=o.activeElement,p&&p();var h=function(){N&&x(),k(),m&&m()};return N?(N(c.containers.concat()).then(h,h),this):(h(),this)},deactivate:function(f){if(!c.active)return this;var p=Ge({onDeactivate:d.onDeactivate,onPostDeactivate:d.onPostDeactivate,checkCanReturnFocus:d.checkCanReturnFocus},f);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,$(),c.active=!1,c.paused=!1,qe.deactivateTrap(s,u);var m=g(p,"onDeactivate"),N=g(p,"onPostDeactivate"),h=g(p,"checkCanReturnFocus"),B=g(p,"returnFocus","returnFocusOnDeactivate");m&&m();var y=function(){Ue(function(){B&&E(I(c.nodeFocusedBeforeActivation)),N&&N()})};return B&&h?(h(I(c.nodeFocusedBeforeActivation)).then(y,y),this):(y(),this)},pause:function(){return c.paused||!c.active?this:(c.paused=!0,$(),this)},unpause:function(){return!c.paused||!c.active?this:(c.paused=!1,x(),k(),this)},updateContainerElements:function(f){var p=[].concat(f).filter(Boolean);return c.containers=p.map(function(m){return typeof m=="string"?o.querySelector(m):m}),c.active&&x(),this}},u.updateContainerElements(n),u};/*!
|
|
8
8
|
* focus-trap-vue v4.0.0
|
|
9
9
|
* (c) 2022 Eduardo San Martin Morote
|
|
10
10
|
* @license MIT
|
|
11
|
-
*/function Hr(r){return r}const On={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({props:Object.assign({active:{type:Boolean,default:!0}},On),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(r,{slots:n,emit:a}){let o;const l=e.ref(null),f=e.computed(()=>{const p=l.value;return p&&(p instanceof HTMLElement?p:p.$el)}),s=()=>o||(o=xn(f.value,{escapeDeactivates:r.escapeDeactivates,allowOutsideClick:r.allowOutsideClick,returnFocusOnDeactivate:r.returnFocusOnDeactivate,clickOutsideDeactivates:r.clickOutsideDeactivates,onActivate:()=>{a("update:active",!0),a("activate")},onDeactivate:()=>{a("update:active",!1),a("deactivate")},onPostActivate:()=>a("postActivate"),onPostDeactivate:()=>a("postDeactivate"),initialFocus:r.initialFocus,fallbackFocus:r.fallbackFocus,tabbableOptions:r.tabbableOptions}));return e.onMounted(()=>{e.watch(()=>r.active,p=>{p&&f.value?s().activate():o&&(o.deactivate(),(!f.value||f.value.nodeType===Node.COMMENT_NODE)&&(o=null))},{immediate:!0,flush:"post"})}),e.onUnmounted(()=>{o&&o.deactivate(),o=null}),{activate(){s(),o.activate()},deactivate(){o&&o.deactivate()},renderImpl(){if(!n.default)return null;const p=n.default().filter(_=>_.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:l})}}}});function Ye(){return{debounce:(n,a)=>{let o;return(...l)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{n(...l)},a)}}}}var pe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={},An={get exports(){return me},set exports(r){me=r}};(function(r,n){var a=200,o="__lodash_hash_undefined__",l=9007199254740991,f="[object Arguments]",s="[object Array]",p="[object Boolean]",y="[object Date]",_="[object Error]",I="[object Function]",N="[object GeneratorFunction]",x="[object Map]",S="[object Number]",E="[object Object]",D="[object Promise]",R="[object RegExp]",F="[object Set]",H="[object String]",Z="[object Symbol]",w="[object WeakMap]",A="[object ArrayBuffer]",k="[object DataView]",d="[object Float32Array]",u="[object Float64Array]",b="[object Int8Array]",T="[object Int16Array]",h="[object Int32Array]",B="[object Uint8Array]",g="[object Uint8ClampedArray]",O="[object Uint16Array]",v="[object Uint32Array]",K=/[\\^$.*+?()[\]{}|]/g,z=/\w*$/,Se=/^\[object .+?Constructor\]$/,oe=/^(?:0|[1-9]\d*)$/,C={};C[f]=C[s]=C[A]=C[k]=C[p]=C[y]=C[d]=C[u]=C[b]=C[T]=C[h]=C[x]=C[S]=C[E]=C[R]=C[F]=C[H]=C[Z]=C[B]=C[g]=C[O]=C[v]=!0,C[_]=C[I]=C[w]=!1;var ha=typeof pe=="object"&&pe&&pe.Object===Object&&pe,ga=typeof self=="object"&&self&&self.Object===Object&&self,W=ha||ga||Function("return this")(),tt=n&&!n.nodeType&&n,nt=tt&&!0&&r&&!r.nodeType&&r,ya=nt&&nt.exports===tt;function va(t,i){return t.set(i[0],i[1]),t}function _a(t,i){return t.add(i),t}function wa(t,i){for(var c=-1,m=t?t.length:0;++c<m&&i(t[c],c,t)!==!1;);return t}function ka(t,i){for(var c=-1,m=i.length,$=t.length;++c<m;)t[$+c]=i[c];return t}function at(t,i,c,m){var $=-1,V=t?t.length:0;for(m&&V&&(c=t[++$]);++$<V;)c=i(c,t[$],$,t);return c}function Ca(t,i){for(var c=-1,m=Array(t);++c<t;)m[c]=i(c);return m}function Sa(t,i){return t==null?void 0:t[i]}function rt(t){var i=!1;if(t!=null&&typeof t.toString!="function")try{i=!!(t+"")}catch{}return i}function ot(t){var i=-1,c=Array(t.size);return t.forEach(function(m,$){c[++i]=[$,m]}),c}function Te(t,i){return function(c){return t(i(c))}}function it(t){var i=-1,c=Array(t.size);return t.forEach(function(m){c[++i]=m}),c}var Ta=Array.prototype,Ea=Function.prototype,be=Object.prototype,Ee=W["__core-js_shared__"],ct=function(){var t=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),st=Ea.toString,U=be.hasOwnProperty,he=be.toString,Na=RegExp("^"+st.call(U).replace(K,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),lt=ya?W.Buffer:void 0,dt=W.Symbol,ft=W.Uint8Array,Ba=Te(Object.getPrototypeOf,Object),Ia=Object.create,xa=be.propertyIsEnumerable,Oa=Ta.splice,ut=Object.getOwnPropertySymbols,$a=lt?lt.isBuffer:void 0,Aa=Te(Object.keys,Object),Ne=te(W,"DataView"),ie=te(W,"Map"),Be=te(W,"Promise"),Ie=te(W,"Set"),xe=te(W,"WeakMap"),ce=te(Object,"create"),Fa=J(Ne),Da=J(ie),Va=J(Be),Ma=J(Ie),La=J(xe),pt=dt?dt.prototype:void 0,mt=pt?pt.valueOf:void 0;function Y(t){var i=-1,c=t?t.length:0;for(this.clear();++i<c;){var m=t[i];this.set(m[0],m[1])}}function Ra(){this.__data__=ce?ce(null):{}}function Za(t){return this.has(t)&&delete this.__data__[t]}function Pa(t){var i=this.__data__;if(ce){var c=i[t];return c===o?void 0:c}return U.call(i,t)?i[t]:void 0}function ja(t){var i=this.__data__;return ce?i[t]!==void 0:U.call(i,t)}function Ha(t,i){var c=this.__data__;return c[t]=ce&&i===void 0?o:i,this}Y.prototype.clear=Ra,Y.prototype.delete=Za,Y.prototype.get=Pa,Y.prototype.has=ja,Y.prototype.set=Ha;function G(t){var i=-1,c=t?t.length:0;for(this.clear();++i<c;){var m=t[i];this.set(m[0],m[1])}}function Ka(){this.__data__=[]}function za(t){var i=this.__data__,c=ge(i,t);if(c<0)return!1;var m=i.length-1;return c==m?i.pop():Oa.call(i,c,1),!0}function Wa(t){var i=this.__data__,c=ge(i,t);return c<0?void 0:i[c][1]}function Ga(t){return ge(this.__data__,t)>-1}function Ua(t,i){var c=this.__data__,m=ge(c,t);return m<0?c.push([t,i]):c[m][1]=i,this}G.prototype.clear=Ka,G.prototype.delete=za,G.prototype.get=Wa,G.prototype.has=Ga,G.prototype.set=Ua;function Q(t){var i=-1,c=t?t.length:0;for(this.clear();++i<c;){var m=t[i];this.set(m[0],m[1])}}function qa(){this.__data__={hash:new Y,map:new(ie||G),string:new Y}}function Ya(t){return ye(this,t).delete(t)}function Xa(t){return ye(this,t).get(t)}function Ja(t){return ye(this,t).has(t)}function Qa(t,i){return ye(this,t).set(t,i),this}Q.prototype.clear=qa,Q.prototype.delete=Ya,Q.prototype.get=Xa,Q.prototype.has=Ja,Q.prototype.set=Qa;function ee(t){this.__data__=new G(t)}function er(){this.__data__=new G}function tr(t){return this.__data__.delete(t)}function nr(t){return this.__data__.get(t)}function ar(t){return this.__data__.has(t)}function rr(t,i){var c=this.__data__;if(c instanceof G){var m=c.__data__;if(!ie||m.length<a-1)return m.push([t,i]),this;c=this.__data__=new Q(m)}return c.set(t,i),this}ee.prototype.clear=er,ee.prototype.delete=tr,ee.prototype.get=nr,ee.prototype.has=ar,ee.prototype.set=rr;function or(t,i){var c=Ae(t)||Ir(t)?Ca(t.length,String):[],m=c.length,$=!!m;for(var V in t)(i||U.call(t,V))&&!($&&(V=="length"||Tr(V,m)))&&c.push(V);return c}function bt(t,i,c){var m=t[i];(!(U.call(t,i)&&vt(m,c))||c===void 0&&!(i in t))&&(t[i]=c)}function ge(t,i){for(var c=t.length;c--;)if(vt(t[c][0],i))return c;return-1}function ir(t,i){return t&&ht(i,Fe(i),t)}function Oe(t,i,c,m,$,V,P){var M;if(m&&(M=V?m(t,$,V,P):m(t)),M!==void 0)return M;if(!ve(t))return t;var kt=Ae(t);if(kt){if(M=kr(t),!i)return vr(t,M)}else{var ne=X(t),Ct=ne==I||ne==N;if(Or(t))return ur(t,i);if(ne==E||ne==f||Ct&&!V){if(rt(t))return V?t:{};if(M=Cr(Ct?{}:t),!i)return _r(t,ir(M,t))}else{if(!C[ne])return V?t:{};M=Sr(t,ne,Oe,i)}}P||(P=new ee);var St=P.get(t);if(St)return St;if(P.set(t,M),!kt)var Tt=c?wr(t):Fe(t);return wa(Tt||t,function(De,_e){Tt&&(_e=De,De=t[_e]),bt(M,_e,Oe(De,i,c,m,_e,t,P))}),M}function cr(t){return ve(t)?Ia(t):{}}function sr(t,i,c){var m=i(t);return Ae(t)?m:ka(m,c(t))}function lr(t){return he.call(t)}function dr(t){if(!ve(t)||Nr(t))return!1;var i=wt(t)||rt(t)?Na:Se;return i.test(J(t))}function fr(t){if(!yt(t))return Aa(t);var i=[];for(var c in Object(t))U.call(t,c)&&c!="constructor"&&i.push(c);return i}function ur(t,i){if(i)return t.slice();var c=new t.constructor(t.length);return t.copy(c),c}function $e(t){var i=new t.constructor(t.byteLength);return new ft(i).set(new ft(t)),i}function pr(t,i){var c=i?$e(t.buffer):t.buffer;return new t.constructor(c,t.byteOffset,t.byteLength)}function mr(t,i,c){var m=i?c(ot(t),!0):ot(t);return at(m,va,new t.constructor)}function br(t){var i=new t.constructor(t.source,z.exec(t));return i.lastIndex=t.lastIndex,i}function hr(t,i,c){var m=i?c(it(t),!0):it(t);return at(m,_a,new t.constructor)}function gr(t){return mt?Object(mt.call(t)):{}}function yr(t,i){var c=i?$e(t.buffer):t.buffer;return new t.constructor(c,t.byteOffset,t.length)}function vr(t,i){var c=-1,m=t.length;for(i||(i=Array(m));++c<m;)i[c]=t[c];return i}function ht(t,i,c,m){c||(c={});for(var $=-1,V=i.length;++$<V;){var P=i[$],M=m?m(c[P],t[P],P,c,t):void 0;bt(c,P,M===void 0?t[P]:M)}return c}function _r(t,i){return ht(t,gt(t),i)}function wr(t){return sr(t,Fe,gt)}function ye(t,i){var c=t.__data__;return Er(i)?c[typeof i=="string"?"string":"hash"]:c.map}function te(t,i){var c=Sa(t,i);return dr(c)?c:void 0}var gt=ut?Te(ut,Object):Fr,X=lr;(Ne&&X(new Ne(new ArrayBuffer(1)))!=k||ie&&X(new ie)!=x||Be&&X(Be.resolve())!=D||Ie&&X(new Ie)!=F||xe&&X(new xe)!=w)&&(X=function(t){var i=he.call(t),c=i==E?t.constructor:void 0,m=c?J(c):void 0;if(m)switch(m){case Fa:return k;case Da:return x;case Va:return D;case Ma:return F;case La:return w}return i});function kr(t){var i=t.length,c=t.constructor(i);return i&&typeof t[0]=="string"&&U.call(t,"index")&&(c.index=t.index,c.input=t.input),c}function Cr(t){return typeof t.constructor=="function"&&!yt(t)?cr(Ba(t)):{}}function Sr(t,i,c,m){var $=t.constructor;switch(i){case A:return $e(t);case p:case y:return new $(+t);case k:return pr(t,m);case d:case u:case b:case T:case h:case B:case g:case O:case v:return yr(t,m);case x:return mr(t,m,c);case S:case H:return new $(t);case R:return br(t);case F:return hr(t,m,c);case Z:return gr(t)}}function Tr(t,i){return i=i??l,!!i&&(typeof t=="number"||oe.test(t))&&t>-1&&t%1==0&&t<i}function Er(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Nr(t){return!!ct&&ct in t}function yt(t){var i=t&&t.constructor,c=typeof i=="function"&&i.prototype||be;return t===c}function J(t){if(t!=null){try{return st.call(t)}catch{}try{return t+""}catch{}}return""}function Br(t){return Oe(t,!0,!0)}function vt(t,i){return t===i||t!==t&&i!==i}function Ir(t){return xr(t)&&U.call(t,"callee")&&(!xa.call(t,"callee")||he.call(t)==f)}var Ae=Array.isArray;function _t(t){return t!=null&&$r(t.length)&&!wt(t)}function xr(t){return Ar(t)&&_t(t)}var Or=$a||Dr;function wt(t){var i=ve(t)?he.call(t):"";return i==I||i==N}function $r(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=l}function ve(t){var i=typeof t;return!!t&&(i=="object"||i=="function")}function Ar(t){return!!t&&typeof t=="object"}function Fe(t){return _t(t)?or(t):fr(t)}function Fr(){return[]}function Dr(){return!1}r.exports=Br})(An,me);const Fn=me,Dn={key:0,class:"sidebar-header"},Vn={class:"sidebar-content-container"},Mn={key:0,class:"sidebar-top"},Ln={"aria-label":"Main menu"},Rn={key:0,class:"level-primary top-items"},Zn={key:1,class:"sidebar-level-divider",role:"separator"},Pn={key:2,class:"level-primary bottom-items"},jn=["href","target"],Hn=e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},profileItems:{type:Array,default:()=>[]},profileName:{type:String,default:""},headerHeight:{type:Number,default:60},topOffset:{type:Number,default:0},zIndex:{type:Number,default:2},open:{type:Boolean,default:!1},mobileEnabled:{type:Boolean,default:!1},mobileTopOffset:{type:Number,default:0},mobileHeaderVisible:{type:Boolean,default:!1},mobileCloseDelay:{type:Number,default:350},mobileOverlay:{type:Boolean,default:!0},mobileOverlayZIndex:{type:Number,default:null},mobileOverlayCloseOnClick:{type:Boolean,default:!0}},emits:["click","toggle"],setup(r,{emit:n}){const a=r;e.useCssVars(h=>({"2f16a480":e.unref(s).mobileHeight,b641d6c8:e.unref(s).mobileTop,"124a6b28":r.zIndex,"243f467e":e.unref(s).height,"3d33e35e":e.unref(s).top,"6cd763b2":e.unref(y).marginTop,"7c8d66cc":e.unref(p).display,"21e03bf1":e.unref(p).minHeight,"0260816d":e.unref(_).top,b6c8c540:e.unref(_).zIndex}));const o=e.useSlots(),l=e.computed(()=>!!o.header),f=e.computed(()=>!!o.top),s=e.computed(()=>({mobileTop:a.mobileTopOffset&&a.mobileEnabled?`${a.mobileTopOffset}px`:a.topOffset?`${a.topOffset}px`:"0",top:a.topOffset?`${a.topOffset}px`:"0",mobileHeight:a.mobileTopOffset&&a.mobileEnabled?`calc(100% - ${a.mobileTopOffset}px)`:"100%",height:a.topOffset?`calc(100% - ${a.topOffset}px)`:"100%"})),p=e.computed(()=>({display:!a.mobileHeaderVisible&&a.mobileEnabled?"none":"flex",minHeight:`${a.headerHeight}px`})),y=e.computed(()=>({marginTop:l.value?`${a.headerHeight}px`:"0"})),_=e.computed(()=>({top:a.mobileTopOffset&&a.mobileEnabled?`${a.mobileTopOffset}px`:"0",zIndex:a.mobileOverlayZIndex!==null?a.mobileOverlayZIndex:a.zIndex>1?a.zIndex-1:1})),I=h=>Fn(h).map(g=>{var O,v,K;if(g){(!g.key||!((O=g.key)!=null&&O.trim()))&&(g.key=String(g.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!g.testId||!((v=g.testId)!=null&&v.trim()))&&(g.testId=String(g.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const z of g.items||[])z.parentKey=g.key,(!z.testId||!((K=z.testId)!=null&&K.trim()))&&(z.testId=String(z.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return g}),N=e.computed(()=>a.topItems.length?I(a.topItems):[]),x=e.computed(()=>a.bottomItems.length?I(a.bottomItems):[]),S=e.ref(a.open),E=h=>{var B,g;S.value!==h&&(S.value=h,n("toggle",h)),h?(B=document==null?void 0:document.body)==null||B.classList.add("kong-ui-app-sidebar-open"):(g=document==null?void 0:document.body)==null||g.classList.remove("kong-ui-app-sidebar-open"),R.value=!1},D=()=>{a.mobileOverlayCloseOnClick&&E(!1)},R=e.ref(!1),F=h=>{R.value=!0,n("click",h),setTimeout(()=>{E(!1)},a.mobileCloseDelay)};e.watch(()=>a.open,h=>{E(h)});const{debounce:H}=Ye(),Z=H(()=>{S.value&&w.value!==(window==null?void 0:window.innerWidth)&&(w.value=window==null?void 0:window.innerWidth,E(!1))},200),w=e.ref(),A=e.ref(!1),k=e.ref(),d=()=>{A.value||(A.value=!0,clearTimeout(k.value),k.value=setTimeout(()=>A.value=!1,1300))},u=e.ref(null),b=e.computed(()=>S.value&&a.mobileEnabled),T=async h=>{var B,g;h?(await e.nextTick(),await new Promise(O=>setTimeout(O,300)),(B=u.value)==null||B.activate()):(g=u.value)==null||g.deactivate()};return e.watch(b,async h=>{h?await T(!0):await T(!1)},{immediate:!0}),e.onMounted(()=>{w.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",Z),window.addEventListener("resize",d)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",Z),window.removeEventListener("resize",d)}),(h,B)=>{const g=e.resolveComponent("KIcon"),O=e.resolveComponent("KDropdownItem");return e.openBlock(),e.createElementBlock(e.Fragment,null,[S.value&&r.mobileOverlay&&r.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:D})):e.createCommentVNode("",!0),e.createVNode(e.unref($n),{ref_key:"focusTrap",ref:u,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":S.value,"no-sidebar-header":!e.unref(l),"mobile-header-hidden":r.mobileEnabled&&(!e.unref(l)||!r.mobileHeaderVisible),"mobile-disabled":!r.mobileEnabled,"disable-transitions":A.value}]),tabindex:"-1"},[e.unref(l)?(e.openBlock(),e.createElementBlock("div",Dn,[e.renderSlot(h.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Vn,[e.unref(f)?(e.openBlock(),e.createElementBlock("div",Mn,[e.renderSlot(h.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",Ln,[e.unref(N).length?(e.openBlock(),e.createElementBlock("ul",Rn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(N),v=>(e.openBlock(),e.createBlock(Me,{key:v.name,item:v,onClick:F},null,8,["item"]))),128))])):e.createCommentVNode("",!0),e.unref(N).length&&e.unref(x).length?(e.openBlock(),e.createElementBlock("div",Zn)):e.createCommentVNode("",!0),e.unref(x).length?(e.openBlock(),e.createElementBlock("ul",Pn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(x),v=>(e.openBlock(),e.createBlock(Me,{key:v.name,item:v,onClick:F},null,8,["item"]))),128))])):e.createCommentVNode("",!0)])]),r.profileName||r.profileItems.length?(e.openBlock(),e.createBlock(on,{key:1,class:"sidebar-profile-menu","item-count":r.profileItems.length,name:r.profileName},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.profileItems,v=>(e.openBlock(),e.createBlock(O,{key:v.name,class:e.normalizeClass([{"has-divider":v.hasDivider},{"external-profile-dropdown-link":(v.external||v.newWindow)&&typeof v.to=="string"}]),"has-divider":v.hasDivider,item:(v.external||v.newWindow)&&typeof v.to=="string"?void 0:{label:v.name,to:v.to},onClick:K=>F(v)},{default:e.withCtx(()=>[(v.external||v.newWindow)&&typeof v.to=="string"?(e.openBlock(),e.createElementBlock("a",{key:0,class:"sidebar-item-external-link",href:v.to,target:v.newWindow?"_blank":void 0},[e.createTextVNode(e.toDisplayString(v.name)+" ",1),v.newWindow?(e.openBlock(),e.createBlock(g,{key:0,color:"var(--black-70, rgba(0,0,0,0.7))",icon:"externalLink",size:"20",viewBox:"0 0 20 20"})):e.createCommentVNode("",!0)],8,jn)):e.createCommentVNode("",!0)]),_:2},1032,["class","has-divider","item","onClick"]))),128))]),_:1},8,["item-count","name"])):e.createCommentVNode("",!0)],2)]),_:3},512)],64)}}}),Kr="",zr="",Xe=j(Hn,[["__scopeId","data-v-38b80087"]]),Ce=r=>(e.pushScopeId("data-v-33b3f7c3"),r=r(),e.popScopeId(),r),Kn=["aria-label","onClick"],zn=[Ce(()=>e.createElementVNode("span",{class:"line"},null,-1)),Ce(()=>e.createElementVNode("span",{class:"line"},null,-1)),Ce(()=>e.createElementVNode("span",{class:"line"},null,-1))],Wn=e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(r,{emit:n}){const a=r,o=e.ref(a.active||!1),l=()=>{o.value=!o.value,n("toggle",o.value)};return e.watch(()=>a.active,f=>{o.value=f}),(f,s)=>(e.openBlock(),e.createElementBlock("a",{"aria-haspopup":"true","aria-label":o.value?"Close Main Menu":"Open Main Menu",class:e.normalizeClass(["sidebar-menu-toggle",{active:o.value}]),href:"#",role:"button",onClick:e.withModifiers(l,["prevent"])},zn,10,Kn))}}),qr="",Je=j(Wn,[["__scopeId","data-v-33b3f7c3"]]),Gn=r=>(e.pushScopeId("data-v-c8f90c1e"),r=r(),e.popScopeId(),r),Un={id:"kong-ui-app-layout-notification"},qn={class:"mobile-logo"},Yn={key:0,class:"navbar-logo"},Xn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},Jn={class:"kong-ui-app-layout-content"},Qn=Gn(()=>e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),ea=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:()=>[]},sidebarProfileItems:{type:Array,default:()=>[]},sidebarProfileName:{type:String,default:""}},emits:["sidebar-click"],setup(r,{emit:n}){const a=r;e.useCssVars(w=>({aa60aac2:e.unref(D),"3ae158d2":e.unref(R)}));const o=e.useSlots(),l=e.reactive({navbarLeft:e.computed(()=>!!o["navbar-left"]),navbarCenter:e.computed(()=>!!o["navbar-center"]),navbarRight:e.computed(()=>!!o["navbar-right"]),navbarLogo:e.computed(()=>!!o["navbar-logo"]),navbarMobileLogo:e.computed(()=>!!o["navbar-mobile-logo"]),sidebarHeader:e.computed(()=>!!o["sidebar-header"]),sidebarTop:e.computed(()=>!!o["sidebar-top"])}),f=e.computed(()=>a.hideDefaultSlot),s=e.reactive({hidden:e.computed(()=>a.navbarHidden)}),p=e.reactive({topItems:e.computed(()=>a.sidebarTopItems),bottomItems:e.computed(()=>a.sidebarBottomItems),profileItems:e.computed(()=>a.sidebarProfileItems),profileName:e.computed(()=>a.sidebarProfileName),open:e.computed(()=>a.sidebarOpen),hidden:e.computed(()=>a.sidebarHidden)}),y=w=>{n("sidebar-click",w)},_=e.ref(!1),I=w=>{_.value=w};e.watchEffect(()=>{_.value=e.toRef(p,"open").value||!1});const N=e.ref(0),x=e.ref(60),S=e.ref(0),E=e.computed(()=>s.hidden?S.value:x.value+S.value),D=e.computed(()=>`${E.value}px`),R=e.computed(()=>p.hidden||s.hidden?"0":"16px"),{debounce:F}=Ye(),H=F((w=!1)=>{if(w||N.value!==(window==null?void 0:window.innerWidth)){const A=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");A&&(S.value=A.offsetHeight)}},200),Z=e.ref();return e.onMounted(()=>{var A,k;(A=document==null?void 0:document.body)==null||A.classList.add("kong-ui-app-layout-body"),(k=document==null?void 0:document.documentElement)==null||k.classList.add("kong-ui-app-layout-html"),N.value=window==null?void 0:window.innerWidth,H(!0);const w=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");w&&(Z.value=new ResizeObserver(d=>{for(const u of d){const b=u.contentRect.height;S.value!==b&&(S.value=b)}}),Z.value.observe(w)),window.addEventListener("resize",H)}),e.onBeforeUnmount(()=>{Z.value&&Z.value.disconnect(),window.removeEventListener("resize",H)}),(w,A)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":s.hidden},{"sidebar-hidden":p.hidden}]])},[e.createElementVNode("div",Un,[e.renderSlot(w.$slots,"notification",{},void 0,!0)]),s.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:String(p.hidden),"left-offset":p.hidden?0:void 0,"top-offset":S.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[p.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Je,{key:0,active:_.value,onToggle:I},null,8,["active"]))]),_:2},[l.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",qn,[e.renderSlot(w.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,l.navbarLogo?{name:"logo",fn:e.withCtx(()=>[p.hidden?(e.openBlock(),e.createElementBlock("div",Yn,[e.renderSlot(w.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,l.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(w.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,l.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(w.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,l.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(w.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),p.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Xe,{key:1,"bottom-items":p.bottomItems,"header-height":x.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":e.unref(E),open:_.value,"profile-items":p.profileItems,"profile-name":p.profileName,"top-items":p.topItems,"top-offset":S.value,onClick:y,onToggle:I},e.createSlots({_:2},[l.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(w.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,l.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(w.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0]),1032,["bottom-items","header-height","mobile-top-offset","open","profile-items","profile-name","top-items","top-offset"])),e.createElementVNode("main",Xn,[e.createElementVNode("div",Jn,[Qn,e.renderSlot(w.$slots,"app-error",{},void 0,!0),e.unref(f)?e.createCommentVNode("",!0):e.renderSlot(w.$slots,"default",{key:0},void 0,!0)])])],2))}}),Yr="",Xr="",Qe=j(ea,[["__scopeId","data-v-c8f90c1e"]]),ta=e.defineComponent({__name:"NavbarDropdownMenu",props:{options:{type:Array,default:()=>[]},tooltip:{type:String,default:""},width:{type:String,default:"175"},disabled:{type:Boolean,default:!1}},emits:["change"],setup(r,{emit:n}){var f;const a=r,o=e.ref(((f=a.options)==null?void 0:f.filter(s=>!!s.selected)[0])||a.options[0]),l=s=>{o.value=s,n("change",o.value)};return(s,p)=>{const y=e.resolveComponent("KDropdownItem"),_=e.resolveComponent("KDropdownMenu");return e.openBlock(),e.createBlock(_,{appearance:"selectionMenu",class:"top-bar-dropdown-menu",disabled:r.disabled,"disabled-tooltip":r.tooltip,"kpop-attributes":{placement:"bottomStart",disabled:r.disabled},label:o.value.label,width:r.width,onChange:p[0]||(p[0]=I=>l(I))},{items:e.withCtx(({handleSelection:I})=>[e.renderSlot(s.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,N=>(e.openBlock(),e.createBlock(y,{key:N.value,"data-testid":"select-"+N.value,selected:o.value.value===N.value,onClick:x=>I(N)},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default",{option:N},()=>[e.createTextVNode(e.toDisplayString(N.label),1)],!0)]),_:2},1032,["data-testid","selected","onClick"]))),128))],!0)]),_:3},8,["disabled","disabled-tooltip","kpop-attributes","label","width"])}}}),Jr="",na=j(ta,[["__scopeId","data-v-b5a37136"]]),aa={},ra={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"},oa=[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)];function ia(r,n){return e.openBlock(),e.createElementBlock("svg",ra,oa)}const ca=j(aa,[["render",ia]]),et=r=>(e.pushScopeId("data-v-ff05f71e"),r=r(),e.popScopeId(),r),sa={class:"kong-ui-app-error"},la={class:"banana-icon"},da={class:"kong-ui-app-error-content"},fa=et(()=>e.createElementVNode("h2",null,"An unexpected error has occurred",-1)),ua=et(()=>e.createElementVNode("p",null,[e.createTextVNode("Go back to the previous page or "),e.createElementVNode("a",{href:"/"},"return home"),e.createTextVNode(".")],-1)),pa=e.defineComponent({__name:"AppError",setup(r){return(n,a)=>(e.openBlock(),e.createElementBlock("section",sa,[e.createElementVNode("div",la,[e.createVNode(ca)]),e.createElementVNode("div",da,[e.renderSlot(n.$slots,"default",{},()=>[fa,ua],!0)])]))}}),eo="",to="",ma=j(pa,[["__scopeId","data-v-ff05f71e"]]),ba={install:(r,n={})=>{r.component(n.name||"AppLayout",Qe)}};L.AppError=ma,L.AppLayout=Qe,L.AppNavbar=Ve,L.AppSidebar=Xe,L.NavbarDropdownMenu=na,L.SidebarToggle=Je,L.default=ba,Object.defineProperties(L,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
11
|
+
*/function zr(r){return r}const $n={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},Fn=e.defineComponent({props:Object.assign({active:{type:Boolean,default:!0}},$n),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(r,{slots:n,emit:a}){let o;const s=e.ref(null),d=e.computed(()=>{const u=s.value;return u&&(u instanceof HTMLElement?u:u.$el)}),c=()=>o||(o=An(d.value,{escapeDeactivates:r.escapeDeactivates,allowOutsideClick:r.allowOutsideClick,returnFocusOnDeactivate:r.returnFocusOnDeactivate,clickOutsideDeactivates:r.clickOutsideDeactivates,onActivate:()=>{a("update:active",!0),a("activate")},onDeactivate:()=>{a("update:active",!1),a("deactivate")},onPostActivate:()=>a("postActivate"),onPostDeactivate:()=>a("postDeactivate"),initialFocus:r.initialFocus,fallbackFocus:r.fallbackFocus,tabbableOptions:r.tabbableOptions}));return e.onMounted(()=>{e.watch(()=>r.active,u=>{u&&d.value?c().activate():o&&(o.deactivate(),(!d.value||d.value.nodeType===Node.COMMENT_NODE)&&(o=null))},{immediate:!0,flush:"post"})}),e.onUnmounted(()=>{o&&o.deactivate(),o=null}),{activate(){c(),o.activate()},deactivate(){o&&o.deactivate()},renderImpl(){if(!n.default)return null;const u=n.default().filter(v=>v.type!==e.Comment);return!u||!u.length||u.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),u):e.cloneVNode(u[0],{ref:s})}}}});function Xe(){return{debounce:(n,a)=>{let o;return(...s)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{n(...s)},a)}}}}var be=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={},Dn={get exports(){return me},set exports(r){me=r}};(function(r,n){var a=200,o="__lodash_hash_undefined__",s=9007199254740991,d="[object Arguments]",c="[object Array]",u="[object Boolean]",g="[object Date]",v="[object Error]",C="[object Function]",w="[object GeneratorFunction]",x="[object Map]",E="[object Number]",I="[object Object]",D="[object Promise]",R="[object RegExp]",F="[object Set]",K="[object String]",Z="[object Symbol]",k="[object WeakMap]",$="[object ArrayBuffer]",S="[object DataView]",f="[object Float32Array]",p="[object Float64Array]",m="[object Int8Array]",N="[object Int16Array]",h="[object Int32Array]",B="[object Uint8Array]",y="[object Uint8ClampedArray]",O="[object Uint16Array]",_="[object Uint32Array]",H=/[\\^$.*+?()[\]{}|]/g,z=/\w*$/,Se=/^\[object .+?Constructor\]$/,oe=/^(?:0|[1-9]\d*)$/,T={};T[d]=T[c]=T[$]=T[S]=T[u]=T[g]=T[f]=T[p]=T[m]=T[N]=T[h]=T[x]=T[E]=T[I]=T[R]=T[F]=T[K]=T[Z]=T[B]=T[y]=T[O]=T[_]=!0,T[v]=T[C]=T[k]=!1;var ya=typeof be=="object"&&be&&be.Object===Object&&be,va=typeof self=="object"&&self&&self.Object===Object&&self,W=ya||va||Function("return this")(),nt=n&&!n.nodeType&&n,at=nt&&!0&&r&&!r.nodeType&&r,_a=at&&at.exports===nt;function wa(t,i){return t.set(i[0],i[1]),t}function ka(t,i){return t.add(i),t}function Ca(t,i){for(var l=-1,b=t?t.length:0;++l<b&&i(t[l],l,t)!==!1;);return t}function Sa(t,i){for(var l=-1,b=i.length,A=t.length;++l<b;)t[A+l]=i[l];return t}function rt(t,i,l,b){var A=-1,V=t?t.length:0;for(b&&V&&(l=t[++A]);++A<V;)l=i(l,t[A],A,t);return l}function Ta(t,i){for(var l=-1,b=Array(t);++l<t;)b[l]=i(l);return b}function Ea(t,i){return t==null?void 0:t[i]}function ot(t){var i=!1;if(t!=null&&typeof t.toString!="function")try{i=!!(t+"")}catch{}return i}function it(t){var i=-1,l=Array(t.size);return t.forEach(function(b,A){l[++i]=[A,b]}),l}function Te(t,i){return function(l){return t(i(l))}}function ct(t){var i=-1,l=Array(t.size);return t.forEach(function(b){l[++i]=b}),l}var Na=Array.prototype,Ia=Function.prototype,he=Object.prototype,Ee=W["__core-js_shared__"],lt=function(){var t=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),st=Ia.toString,q=he.hasOwnProperty,ge=he.toString,Ba=RegExp("^"+st.call(q).replace(H,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),dt=_a?W.Buffer:void 0,ft=W.Symbol,ut=W.Uint8Array,xa=Te(Object.getPrototypeOf,Object),Oa=Object.create,Aa=he.propertyIsEnumerable,$a=Na.splice,pt=Object.getOwnPropertySymbols,Fa=dt?dt.isBuffer:void 0,Da=Te(Object.keys,Object),Ne=te(W,"DataView"),ie=te(W,"Map"),Ie=te(W,"Promise"),Be=te(W,"Set"),xe=te(W,"WeakMap"),ce=te(Object,"create"),Va=J(Ne),Ma=J(ie),La=J(Ie),Ra=J(Be),Za=J(xe),bt=ft?ft.prototype:void 0,mt=bt?bt.valueOf:void 0;function Y(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var b=t[i];this.set(b[0],b[1])}}function Pa(){this.__data__=ce?ce(null):{}}function ja(t){return this.has(t)&&delete this.__data__[t]}function Ka(t){var i=this.__data__;if(ce){var l=i[t];return l===o?void 0:l}return q.call(i,t)?i[t]:void 0}function Ha(t){var i=this.__data__;return ce?i[t]!==void 0:q.call(i,t)}function za(t,i){var l=this.__data__;return l[t]=ce&&i===void 0?o:i,this}Y.prototype.clear=Pa,Y.prototype.delete=ja,Y.prototype.get=Ka,Y.prototype.has=Ha,Y.prototype.set=za;function G(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var b=t[i];this.set(b[0],b[1])}}function Wa(){this.__data__=[]}function Ga(t){var i=this.__data__,l=ye(i,t);if(l<0)return!1;var b=i.length-1;return l==b?i.pop():$a.call(i,l,1),!0}function qa(t){var i=this.__data__,l=ye(i,t);return l<0?void 0:i[l][1]}function Ua(t){return ye(this.__data__,t)>-1}function Ya(t,i){var l=this.__data__,b=ye(l,t);return b<0?l.push([t,i]):l[b][1]=i,this}G.prototype.clear=Wa,G.prototype.delete=Ga,G.prototype.get=qa,G.prototype.has=Ua,G.prototype.set=Ya;function Q(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var b=t[i];this.set(b[0],b[1])}}function Xa(){this.__data__={hash:new Y,map:new(ie||G),string:new Y}}function Ja(t){return ve(this,t).delete(t)}function Qa(t){return ve(this,t).get(t)}function er(t){return ve(this,t).has(t)}function tr(t,i){return ve(this,t).set(t,i),this}Q.prototype.clear=Xa,Q.prototype.delete=Ja,Q.prototype.get=Qa,Q.prototype.has=er,Q.prototype.set=tr;function ee(t){this.__data__=new G(t)}function nr(){this.__data__=new G}function ar(t){return this.__data__.delete(t)}function rr(t){return this.__data__.get(t)}function or(t){return this.__data__.has(t)}function ir(t,i){var l=this.__data__;if(l instanceof G){var b=l.__data__;if(!ie||b.length<a-1)return b.push([t,i]),this;l=this.__data__=new Q(b)}return l.set(t,i),this}ee.prototype.clear=nr,ee.prototype.delete=ar,ee.prototype.get=rr,ee.prototype.has=or,ee.prototype.set=ir;function cr(t,i){var l=$e(t)||Or(t)?Ta(t.length,String):[],b=l.length,A=!!b;for(var V in t)(i||q.call(t,V))&&!(A&&(V=="length"||Nr(V,b)))&&l.push(V);return l}function ht(t,i,l){var b=t[i];(!(q.call(t,i)&&_t(b,l))||l===void 0&&!(i in t))&&(t[i]=l)}function ye(t,i){for(var l=t.length;l--;)if(_t(t[l][0],i))return l;return-1}function lr(t,i){return t&>(i,Fe(i),t)}function Oe(t,i,l,b,A,V,P){var M;if(b&&(M=V?b(t,A,V,P):b(t)),M!==void 0)return M;if(!_e(t))return t;var Ct=$e(t);if(Ct){if(M=Sr(t),!i)return wr(t,M)}else{var ne=X(t),St=ne==C||ne==w;if($r(t))return br(t,i);if(ne==I||ne==d||St&&!V){if(ot(t))return V?t:{};if(M=Tr(St?{}:t),!i)return kr(t,lr(M,t))}else{if(!T[ne])return V?t:{};M=Er(t,ne,Oe,i)}}P||(P=new ee);var Tt=P.get(t);if(Tt)return Tt;if(P.set(t,M),!Ct)var Et=l?Cr(t):Fe(t);return Ca(Et||t,function(De,we){Et&&(we=De,De=t[we]),ht(M,we,Oe(De,i,l,b,we,t,P))}),M}function sr(t){return _e(t)?Oa(t):{}}function dr(t,i,l){var b=i(t);return $e(t)?b:Sa(b,l(t))}function fr(t){return ge.call(t)}function ur(t){if(!_e(t)||Br(t))return!1;var i=kt(t)||ot(t)?Ba:Se;return i.test(J(t))}function pr(t){if(!vt(t))return Da(t);var i=[];for(var l in Object(t))q.call(t,l)&&l!="constructor"&&i.push(l);return i}function br(t,i){if(i)return t.slice();var l=new t.constructor(t.length);return t.copy(l),l}function Ae(t){var i=new t.constructor(t.byteLength);return new ut(i).set(new ut(t)),i}function mr(t,i){var l=i?Ae(t.buffer):t.buffer;return new t.constructor(l,t.byteOffset,t.byteLength)}function hr(t,i,l){var b=i?l(it(t),!0):it(t);return rt(b,wa,new t.constructor)}function gr(t){var i=new t.constructor(t.source,z.exec(t));return i.lastIndex=t.lastIndex,i}function yr(t,i,l){var b=i?l(ct(t),!0):ct(t);return rt(b,ka,new t.constructor)}function vr(t){return mt?Object(mt.call(t)):{}}function _r(t,i){var l=i?Ae(t.buffer):t.buffer;return new t.constructor(l,t.byteOffset,t.length)}function wr(t,i){var l=-1,b=t.length;for(i||(i=Array(b));++l<b;)i[l]=t[l];return i}function gt(t,i,l,b){l||(l={});for(var A=-1,V=i.length;++A<V;){var P=i[A],M=b?b(l[P],t[P],P,l,t):void 0;ht(l,P,M===void 0?t[P]:M)}return l}function kr(t,i){return gt(t,yt(t),i)}function Cr(t){return dr(t,Fe,yt)}function ve(t,i){var l=t.__data__;return Ir(i)?l[typeof i=="string"?"string":"hash"]:l.map}function te(t,i){var l=Ea(t,i);return ur(l)?l:void 0}var yt=pt?Te(pt,Object):Vr,X=fr;(Ne&&X(new Ne(new ArrayBuffer(1)))!=S||ie&&X(new ie)!=x||Ie&&X(Ie.resolve())!=D||Be&&X(new Be)!=F||xe&&X(new xe)!=k)&&(X=function(t){var i=ge.call(t),l=i==I?t.constructor:void 0,b=l?J(l):void 0;if(b)switch(b){case Va:return S;case Ma:return x;case La:return D;case Ra:return F;case Za:return k}return i});function Sr(t){var i=t.length,l=t.constructor(i);return i&&typeof t[0]=="string"&&q.call(t,"index")&&(l.index=t.index,l.input=t.input),l}function Tr(t){return typeof t.constructor=="function"&&!vt(t)?sr(xa(t)):{}}function Er(t,i,l,b){var A=t.constructor;switch(i){case $:return Ae(t);case u:case g:return new A(+t);case S:return mr(t,b);case f:case p:case m:case N:case h:case B:case y:case O:case _:return _r(t,b);case x:return hr(t,b,l);case E:case K:return new A(t);case R:return gr(t);case F:return yr(t,b,l);case Z:return vr(t)}}function Nr(t,i){return i=i??s,!!i&&(typeof t=="number"||oe.test(t))&&t>-1&&t%1==0&&t<i}function Ir(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Br(t){return!!lt&< in t}function vt(t){var i=t&&t.constructor,l=typeof i=="function"&&i.prototype||he;return t===l}function J(t){if(t!=null){try{return st.call(t)}catch{}try{return t+""}catch{}}return""}function xr(t){return Oe(t,!0,!0)}function _t(t,i){return t===i||t!==t&&i!==i}function Or(t){return Ar(t)&&q.call(t,"callee")&&(!Aa.call(t,"callee")||ge.call(t)==d)}var $e=Array.isArray;function wt(t){return t!=null&&Fr(t.length)&&!kt(t)}function Ar(t){return Dr(t)&&wt(t)}var $r=Fa||Mr;function kt(t){var i=_e(t)?ge.call(t):"";return i==C||i==w}function Fr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=s}function _e(t){var i=typeof t;return!!t&&(i=="object"||i=="function")}function Dr(t){return!!t&&typeof t=="object"}function Fe(t){return wt(t)?cr(t):pr(t)}function Vr(){return[]}function Mr(){return!1}r.exports=xr})(Dn,me);const Vn=me,Mn={key:0,class:"sidebar-header"},Ln={class:"sidebar-content-container"},Rn={key:0,class:"sidebar-top"},Zn={"aria-label":"Main menu"},Pn={key:0,class:"level-primary top-items"},jn={key:1,class:"sidebar-level-divider",role:"separator"},Kn={key:2,class:"level-primary bottom-items"},Hn=["href","target"],zn=e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},profileItems:{type:Array,default:()=>[]},profileName:{type:String,default:""},headerHeight:{type:Number,default:60},topOffset:{type:Number,default:0},zIndex:{type:Number,default:2},open:{type:Boolean,default:!1},mobileEnabled:{type:Boolean,default:!1},mobileTopOffset:{type:Number,default:0},mobileHeaderVisible:{type:Boolean,default:!1},mobileCloseDelay:{type:Number,default:350},mobileOverlay:{type:Boolean,default:!0},mobileOverlayZIndex:{type:Number,default:null},mobileOverlayCloseOnClick:{type:Boolean,default:!0}},emits:["click","toggle"],setup(r,{emit:n}){const a=r;e.useCssVars(h=>({"2f16a480":e.unref(c).mobileHeight,b641d6c8:e.unref(c).mobileTop,"124a6b28":r.zIndex,"243f467e":e.unref(c).height,"3d33e35e":e.unref(c).top,"6cd763b2":e.unref(g).marginTop,"7c8d66cc":e.unref(u).display,"21e03bf1":e.unref(u).minHeight,"0260816d":e.unref(v).top,b6c8c540:e.unref(v).zIndex}));const o=e.useSlots(),s=e.computed(()=>!!o.header),d=e.computed(()=>!!o.top),c=e.computed(()=>({mobileTop:a.mobileTopOffset&&a.mobileEnabled?`${a.mobileTopOffset}px`:a.topOffset?`${a.topOffset}px`:"0",top:a.topOffset?`${a.topOffset}px`:"0",mobileHeight:a.mobileTopOffset&&a.mobileEnabled?`calc(100% - ${a.mobileTopOffset}px)`:"100%",height:a.topOffset?`calc(100% - ${a.topOffset}px)`:"100%"})),u=e.computed(()=>({display:!a.mobileHeaderVisible&&a.mobileEnabled?"none":"flex",minHeight:`${a.headerHeight}px`})),g=e.computed(()=>({marginTop:s.value?`${a.headerHeight}px`:"0"})),v=e.computed(()=>({top:a.mobileTopOffset&&a.mobileEnabled?`${a.mobileTopOffset}px`:"0",zIndex:a.mobileOverlayZIndex!==null?a.mobileOverlayZIndex:a.zIndex>1?a.zIndex-1:1})),C=h=>Vn(h).map(y=>{var O,_,H;if(y){(!y.key||!((O=y.key)!=null&&O.trim()))&&(y.key=String(y.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!y.testId||!((_=y.testId)!=null&&_.trim()))&&(y.testId=String(y.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const z of y.items||[])z.parentKey=y.key,(!z.testId||!((H=z.testId)!=null&&H.trim()))&&(z.testId=String(z.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return y}),w=e.computed(()=>a.topItems.length?C(a.topItems):[]),x=e.computed(()=>a.bottomItems.length?C(a.bottomItems):[]),E=e.ref(a.open),I=h=>{var B,y;E.value!==h&&(E.value=h,n("toggle",h)),h?(B=document==null?void 0:document.body)==null||B.classList.add("kong-ui-app-sidebar-open"):(y=document==null?void 0:document.body)==null||y.classList.remove("kong-ui-app-sidebar-open"),R.value=!1},D=()=>{a.mobileOverlayCloseOnClick&&I(!1)},R=e.ref(!1),F=h=>{R.value=!0,n("click",h),setTimeout(()=>{I(!1)},a.mobileCloseDelay)};e.watch(()=>a.open,h=>{I(h)});const{debounce:K}=Xe(),Z=K(()=>{E.value&&k.value!==(window==null?void 0:window.innerWidth)&&(k.value=window==null?void 0:window.innerWidth,I(!1))},200),k=e.ref(),$=e.ref(!1),S=e.ref(),f=()=>{$.value||($.value=!0,clearTimeout(S.value),S.value=setTimeout(()=>$.value=!1,1300))},p=e.ref(null),m=e.computed(()=>E.value&&a.mobileEnabled),N=async h=>{var B,y;h?(await e.nextTick(),await new Promise(O=>setTimeout(O,300)),(B=p.value)==null||B.activate()):(y=p.value)==null||y.deactivate()};return e.watch(m,async h=>{h?await N(!0):await N(!1)},{immediate:!0}),e.onMounted(()=>{k.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",Z),window.addEventListener("resize",f)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",Z),window.removeEventListener("resize",f)}),(h,B)=>{const y=e.resolveComponent("KIcon"),O=e.resolveComponent("KDropdownItem");return e.openBlock(),e.createElementBlock(e.Fragment,null,[E.value&&r.mobileOverlay&&r.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:D})):e.createCommentVNode("",!0),e.createVNode(e.unref(Fn),{ref_key:"focusTrap",ref:p,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":E.value,"no-sidebar-header":!e.unref(s),"mobile-header-hidden":r.mobileEnabled&&(!e.unref(s)||!r.mobileHeaderVisible),"mobile-disabled":!r.mobileEnabled,"disable-transitions":$.value}]),tabindex:"-1"},[e.unref(s)?(e.openBlock(),e.createElementBlock("div",Mn,[e.renderSlot(h.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Ln,[e.unref(d)?(e.openBlock(),e.createElementBlock("div",Rn,[e.renderSlot(h.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",Zn,[e.unref(w).length?(e.openBlock(),e.createElementBlock("ul",Pn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(w),_=>(e.openBlock(),e.createBlock(Me,{key:_.name,item:_,onClick:F},null,8,["item"]))),128))])):e.createCommentVNode("",!0),e.unref(w).length&&e.unref(x).length?(e.openBlock(),e.createElementBlock("div",jn)):e.createCommentVNode("",!0),e.unref(x).length?(e.openBlock(),e.createElementBlock("ul",Kn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(x),_=>(e.openBlock(),e.createBlock(Me,{key:_.name,item:_,onClick:F},null,8,["item"]))),128))])):e.createCommentVNode("",!0)])]),r.profileName||r.profileItems.length?(e.openBlock(),e.createBlock(cn,{key:1,class:"sidebar-profile-menu","item-count":r.profileItems.length,name:r.profileName},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.profileItems,_=>(e.openBlock(),e.createBlock(O,{key:_.name,class:e.normalizeClass([{"has-divider":_.hasDivider},{"external-profile-dropdown-link":(_.external||_.newWindow)&&typeof _.to=="string"}]),"has-divider":_.hasDivider,item:(_.external||_.newWindow)&&typeof _.to=="string"?void 0:{label:_.name,to:_.to},onClick:H=>F(_)},{default:e.withCtx(()=>[(_.external||_.newWindow)&&typeof _.to=="string"?(e.openBlock(),e.createElementBlock("a",{key:0,class:"sidebar-item-external-link",href:_.to,target:_.newWindow?"_blank":void 0},[e.createTextVNode(e.toDisplayString(_.name)+" ",1),_.newWindow?(e.openBlock(),e.createBlock(y,{key:0,color:"var(--black-70, rgba(0,0,0,0.7))",icon:"externalLink",size:"20",viewBox:"0 0 20 20"})):e.createCommentVNode("",!0)],8,Hn)):e.createCommentVNode("",!0)]),_:2},1032,["class","has-divider","item","onClick"]))),128))]),_:1},8,["item-count","name"])):e.createCommentVNode("",!0)],2)]),_:3},512)],64)}}}),Wr="",Gr="",Je=j(zn,[["__scopeId","data-v-38b80087"]]),Ce=r=>(e.pushScopeId("data-v-33b3f7c3"),r=r(),e.popScopeId(),r),Wn=["aria-label","onClick"],Gn=[Ce(()=>e.createElementVNode("span",{class:"line"},null,-1)),Ce(()=>e.createElementVNode("span",{class:"line"},null,-1)),Ce(()=>e.createElementVNode("span",{class:"line"},null,-1))],qn=e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(r,{emit:n}){const a=r,o=e.ref(a.active||!1),s=()=>{o.value=!o.value,n("toggle",o.value)};return e.watch(()=>a.active,d=>{o.value=d}),(d,c)=>(e.openBlock(),e.createElementBlock("a",{"aria-haspopup":"true","aria-label":o.value?"Close Main Menu":"Open Main Menu",class:e.normalizeClass(["sidebar-menu-toggle",{active:o.value}]),href:"#",role:"button",onClick:e.withModifiers(s,["prevent"])},Gn,10,Wn))}}),Xr="",Qe=j(qn,[["__scopeId","data-v-33b3f7c3"]]),Un=r=>(e.pushScopeId("data-v-c8f90c1e"),r=r(),e.popScopeId(),r),Yn={id:"kong-ui-app-layout-notification"},Xn={class:"mobile-logo"},Jn={key:0,class:"navbar-logo"},Qn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},ea={class:"kong-ui-app-layout-content"},ta=Un(()=>e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),na=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:()=>[]},sidebarProfileItems:{type:Array,default:()=>[]},sidebarProfileName:{type:String,default:""}},emits:["sidebar-click"],setup(r,{emit:n}){const a=r;e.useCssVars(k=>({aa60aac2:e.unref(D),"3ae158d2":e.unref(R)}));const o=e.useSlots(),s=e.reactive({navbarLeft:e.computed(()=>!!o["navbar-left"]),navbarCenter:e.computed(()=>!!o["navbar-center"]),navbarRight:e.computed(()=>!!o["navbar-right"]),navbarLogo:e.computed(()=>!!o["navbar-logo"]),navbarMobileLogo:e.computed(()=>!!o["navbar-mobile-logo"]),sidebarHeader:e.computed(()=>!!o["sidebar-header"]),sidebarTop:e.computed(()=>!!o["sidebar-top"])}),d=e.computed(()=>a.hideDefaultSlot),c=e.reactive({hidden:e.computed(()=>a.navbarHidden)}),u=e.reactive({topItems:e.computed(()=>a.sidebarTopItems),bottomItems:e.computed(()=>a.sidebarBottomItems),profileItems:e.computed(()=>a.sidebarProfileItems),profileName:e.computed(()=>a.sidebarProfileName),open:e.computed(()=>a.sidebarOpen),hidden:e.computed(()=>a.sidebarHidden)}),g=k=>{n("sidebar-click",k)},v=e.ref(!1),C=k=>{v.value=k};e.watchEffect(()=>{v.value=e.toRef(u,"open").value||!1});const w=e.ref(0),x=e.ref(60),E=e.ref(0),I=e.computed(()=>c.hidden?E.value:x.value+E.value),D=e.computed(()=>`${I.value}px`),R=e.computed(()=>u.hidden||c.hidden?"0":"16px"),{debounce:F}=Xe(),K=F((k=!1)=>{if(k||w.value!==(window==null?void 0:window.innerWidth)){const $=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");$&&(E.value=$.offsetHeight)}},200),Z=e.ref();return e.onMounted(()=>{var $,S;($=document==null?void 0:document.body)==null||$.classList.add("kong-ui-app-layout-body"),(S=document==null?void 0:document.documentElement)==null||S.classList.add("kong-ui-app-layout-html"),w.value=window==null?void 0:window.innerWidth,K(!0);const k=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");k&&(Z.value=new ResizeObserver(f=>{for(const p of f){const m=p.contentRect.height;E.value!==m&&(E.value=m)}}),Z.value.observe(k)),window.addEventListener("resize",K)}),e.onBeforeUnmount(()=>{Z.value&&Z.value.disconnect(),window.removeEventListener("resize",K)}),(k,$)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":c.hidden},{"sidebar-hidden":u.hidden}]])},[e.createElementVNode("div",Yn,[e.renderSlot(k.$slots,"notification",{},void 0,!0)]),c.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ve,{key:String(u.hidden),"left-offset":u.hidden?0:void 0,"top-offset":E.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[u.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Qe,{key:0,active:v.value,onToggle:C},null,8,["active"]))]),_:2},[s.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",Xn,[e.renderSlot(k.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,s.navbarLogo?{name:"logo",fn:e.withCtx(()=>[u.hidden?(e.openBlock(),e.createElementBlock("div",Jn,[e.renderSlot(k.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,s.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(k.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,s.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(k.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,s.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(k.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),u.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Je,{key:1,"bottom-items":u.bottomItems,"header-height":x.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":e.unref(I),open:v.value,"profile-items":u.profileItems,"profile-name":u.profileName,"top-items":u.topItems,"top-offset":E.value,onClick:g,onToggle:C},e.createSlots({_:2},[s.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(k.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,s.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(k.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0]),1032,["bottom-items","header-height","mobile-top-offset","open","profile-items","profile-name","top-items","top-offset"])),e.createElementVNode("main",Qn,[e.createElementVNode("div",ea,[ta,e.renderSlot(k.$slots,"app-error",{},void 0,!0),e.unref(d)?e.createCommentVNode("",!0):e.renderSlot(k.$slots,"default",{key:0},void 0,!0)])])],2))}}),Jr="",Qr="",et=j(na,[["__scopeId","data-v-c8f90c1e"]]),aa=e.defineComponent({__name:"NavbarDropdownMenu",props:{options:{type:Array,default:()=>[]},tooltip:{type:String,default:""},width:{type:String,default:"175"},disabled:{type:Boolean,default:!1}},emits:["change"],setup(r,{emit:n}){var d;const a=r,o=e.ref(((d=a.options)==null?void 0:d.filter(c=>!!c.selected)[0])||a.options[0]),s=c=>{o.value=c,n("change",o.value)};return(c,u)=>{const g=e.resolveComponent("KDropdownItem"),v=e.resolveComponent("KDropdownMenu");return e.openBlock(),e.createBlock(v,{appearance:"selectionMenu",class:"top-bar-dropdown-menu",disabled:r.disabled,"disabled-tooltip":r.tooltip,"kpop-attributes":{placement:"bottomStart",disabled:r.disabled},label:o.value.label,width:r.width,onChange:u[0]||(u[0]=C=>s(C))},{items:e.withCtx(({handleSelection:C})=>[e.renderSlot(c.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,w=>(e.openBlock(),e.createBlock(g,{key:w.value,"data-testid":"select-"+w.value,selected:o.value.value===w.value,onClick:x=>C(w)},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default",{option:w},()=>[e.createTextVNode(e.toDisplayString(w.label),1)],!0)]),_:2},1032,["data-testid","selected","onClick"]))),128))],!0)]),_:3},8,["disabled","disabled-tooltip","kpop-attributes","label","width"])}}}),eo="",ra=j(aa,[["__scopeId","data-v-b5a37136"]]),oa={},ia={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"},ca=[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)];function la(r,n){return e.openBlock(),e.createElementBlock("svg",ia,ca)}const sa=j(oa,[["render",la]]),tt=r=>(e.pushScopeId("data-v-ff05f71e"),r=r(),e.popScopeId(),r),da={class:"kong-ui-app-error"},fa={class:"banana-icon"},ua={class:"kong-ui-app-error-content"},pa=tt(()=>e.createElementVNode("h2",null,"An unexpected error has occurred",-1)),ba=tt(()=>e.createElementVNode("p",null,[e.createTextVNode("Go back to the previous page or "),e.createElementVNode("a",{href:"/"},"return home"),e.createTextVNode(".")],-1)),ma=e.defineComponent({__name:"AppError",setup(r){return(n,a)=>(e.openBlock(),e.createElementBlock("section",da,[e.createElementVNode("div",fa,[e.createVNode(sa)]),e.createElementVNode("div",ua,[e.renderSlot(n.$slots,"default",{},()=>[pa,ba],!0)])]))}}),no="",ao="",ha=j(ma,[["__scopeId","data-v-ff05f71e"]]),ga={install:(r,n={})=>{r.component(n.name||"AppLayout",et)}};L.AppError=ha,L.AppLayout=et,L.AppNavbar=Ve,L.AppSidebar=Je,L.NavbarDropdownMenu=ra,L.SidebarToggle=Qe,L.default=ga,Object.defineProperties(L,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
12
12
|
//# sourceMappingURL=app-layout.umd.js.map
|