import{P as t,_ as e}from"./wT5Pb6IM.js";import{L as s,M as a,G as r,O as o,H as l,P as p,a5 as i,a2 as m,_ as d,W as u}from"./DOfEu912.js";const x={class:"flex items-center text-primary gap-2 my-6 flex-wrap"},y={key:0,class:"text-xl text-[#737373]"},c={__name:"breadcrumb",props:{items:{type:Array,required:!0}},setup:c=>(n,_)=>{const f=e;return s(),a("div",x,[(s(!0),a(r,null,o(c.items,((e,o)=>(s(),a(r,{key:e.to},[l(f,{class:d([e.to===(n._.provides[t]||n.$route).path||(n._.provides[t]||n.$route).query.keyword&&(n._.provides[t]||n.$route).query.keyword===e.to.split("=")[1]?"text-primary font-bold":"text-[#737373]","text-xl capitalize"]),to:e.disabled?"":n.localePath(e.to)},{default:p((()=>[i(m(e.name),1)])),_:2},1032,["class","to"]),o!==c.items.length-1?(s(),a("span",y,"/")):u("",!0)],64)))),128))])}};export{c as _};
