"use strict";(self["webpackChunkgolden_software"]=self["webpackChunkgolden_software"]||[]).push([[547],{9547:function(e,t,l){l.r(t),l.d(t,{default:function(){return s}});l(7658);var r=l(3396),o=l(2268),a={__name:"NavBarItem",props:{href:{type:String,default:null},to:{type:String,default:null},type:{type:String,default:"flex"},activeColor:{type:String,default:"text-blue-600"},hasDivider:Boolean,isDesktopIconOnly:Boolean,dropdown:Boolean,active:Boolean},setup(e){const t=e,l=(0,r.Fl)((()=>t.href?"a":t.to?"router-link":"div")),a=(0,r.Fl)((()=>{const e=[t.type,"justify-end","items-center","flex-grow-0","flex-shrink-0","relative","cursor-pointer","hover:text-blue-500",t.active?t.activeColor:"text-black dark:text-white dark:hover:text-gray-400"];return"block"===t.type&&e.push("lg:flex"),t.dropdown?e.push("p-0","lg:py-2","lg:px-3"):e.push("py-2","px-3","w-40"),t.hasDivider&&e.push("lg:border-r","lg:border-gray-100","lg:dark:border-gray-800"),t.isDesktopIconOnly&&e.push("lg:w-16","lg:justify-center"),e})),n=(0,r.Fl)((()=>"router-link"===l.value?t.activeColor:null));return(t,s)=>((0,r.wg)(),(0,r.j4)((0,r.LL)(l.value),{class:(0,o.C_)(a.value),to:e.to,href:e.href,"exact-active-class":n.value},{default:(0,r.w5)((()=>[(0,r.WI)(t.$slots,"default")])),_:3},8,["class","to","href","exact-active-class"]))}};const n=a;var s=n}}]);
//# sourceMappingURL=547.459e653b.js.map