import{_ as y}from"./myImg-DfWaL93x.js";import{d as h}from"./product-oo2nVtPg.js";import{d as v,p as x,r as a,g as r,h as d,F as C,C as T,j as c,f as n,W as k,J as I,i as B,t as $,_ as b}from"./index-LX-5rALE.js";import"./VRow-Cb28_O-Q.js";/* empty css              */import"./VCol-D0s5AJIV.js";const w={class:"pa-5",style:{width:"100%"}},z={class:"d-flex justify-center flex-wrap"},P=["onClick"],S={class:"text-center"},j=v({__name:"classification",emits:["change:typeId"],setup(F,{emit:p}){const s=x(),o=a(0),i=a([]),_=a(!0);(()=>{s.$state.homeToggle&&(o.value=s.$state.homeToggle.id),h({current:1,size:1e3,category1:1}).then(l=>{i.value=l.data.records,_.value=!1})})();const u=p,g=e=>{o.value=e.id,s.setHomeToggle(e),u("change:typeId",e)};return(e,l)=>{const m=y;return n(),r("div",w,[d("div",z,[(n(!0),r(C,null,T(c(i),(t,f)=>(n(),r("div",{key:f,class:I(["ml-3 mr-3 category-box",c(o)===t.id?"text-decoration-underline ":""]),onClick:N=>g(t),style:k(`color: ${c(o)===t.id?"#7367f0":""}`)},[B(m,{src:t.fileUrl,"no-compress":!0,height:120,width:120},null,8,["src"]),d("div",S,$(t.name),1)],14,P))),128))])])}}}),R=b(j,[["__scopeId","data-v-4f1df43d"]]);export{R as default};