import{m as o}from"./mixins-C42ajhct.js";import{n as i}from"./AlertComponent-CZRUfFVd.js";const n={mixins:[o],props:["categories","dark_mode"],methods:{categoryUrl(r){return route("eventmie.events_index")+"?category="+encodeURIComponent(r)}},mounted(){console.log(this.dark_mode,"dark_mode")}};var l=function(){var t=this,e=t._self._c;return e("div",{staticClass:"row g-1",class:{"h-scroll":!t.dark_mode,"h-scroll-dark":t.dark_mode}},t._l(t.categories,function(s,a){return e("div",{key:a,staticClass:"col-auto card card-cat p-3 me-2"},[e("a",{staticClass:"text-white",attrs:{href:t.categoryUrl(s.name)}},[e("div",{staticClass:"position-relative"},[e("img",{staticClass:"img-fluid mb-2",style:{width:"32px",height:"32px"},attrs:{src:t.getImageUrl(s.icon)}})]),e("div",{staticClass:"lh-1 fw-normal text-start text-xxs text-white"},[t._v(" "+t._s(s.name.substring(0,25)+`${s.name.length>25?"..":""}`)+" ")])])])}),0)},c=[],m=i(n,l,c,!1,null,null);const g=m.exports;export{g as S};
