1"use strict";(self.webpackChunkoffzone=self.webpackChunkoffzone||[]).push([[2660],{2660:function(e,n,t){t.r(n),t.d(n,{default:function(){return r}});var a=t(8231),u=t(3073),s=t(7144);const i={class:"v-main-navigation-link__link fs-h9"},o=(0,a.createElementVNode)("span",{class:"c-blue"},"_",-1),l={key:0,class:"v-main-navigation-link__submenu"},c={class:"v-main-navigation-link__submenu-wrapper"};var r={name:"v-main-navigation-link",setup(e){const{width:n}=(0,u.lWr)(),{uid:t}=(0,a.getCurrentInstance)(),r=1279,d=(0,a.computed)((()=>n.value<=r)),m=(0,a.useSlots)(),v=(0,a.ref)(!d.value),h=(0,a.computed)((()=>v.value&&void 0!==m.submenu)),p=()=>{n.value<=r&&s.A.dispatch("menu/updateOpenSubmenuUID",t)};(0,a.onMounted)((()=>{f.value||s.A.dispatch("menu/updateOpenSubmenuUID",t)})),(0,a.onUnmounted)((()=>{s.A.dispatch("menu/updateOpenSubmenuUID",null)}));const f=(0,a.computed)((()=>s.A.getters["menu/getOpenSubmenuUID"]));(0,a.watch)(f,(e=>{n.value<=r&&(v.value=e===t)}),{immediate:!0});const k=e=>{e.style.height="0",e.style.overflow="hidden"},g=(e,n)=>{e.offsetHeight,e.style.transition="height 0.5s ease",e.style.height=e.scrollHeight+"px",n()},b=e=>{e.style.transition="height 0.5s ease",e.style.height="0"};return(e,n)=>((0,a.openBlock)(),(0,a.createElementBlock)("div",{class:"v-main-navigation-link",onClick:p},[(0,a.createElementVNode)("div",i,[(0,a.renderSlot)(e.$slots,"default"),o]),(0,a.createVNode)(a.Transition,{name:"submenu-slide",onBeforeEnter:k,onEnter:g,onBeforeLeave:b},{default:(0,a.withCtx)((()=>[(0,a.unref)(h)?((0,a.openBlock)(),(0,a.createElementBlock)("div",l,[(0,a.createElementVNode)("div",c,[(0,a.renderSlot)(e.$slots,"submenu")])])):(0,a.createCommentVNode)("",!0)])),_:3})]))}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.