import{I as u,k as p,Z as _,o as b,c as f,w as a,a as e,ae as h,V as l,f as i,b as r,t as g,a0 as x,bG as V,N as c,bH as d,bI as v}from"./index-DZAIUlH9.js";const y={class:"text-h3 d-flex"},B={class:"d-flex align-center"},C={class:"d-flex align-center"},I=u({__name:"TitleBreadcrumb",props:{title:String,breadcrumbs:Array,icon:String},setup(n){const o=n;let s=p([{title:"Home",to:"/"}]);return _(()=>o.breadcrumbs,(t,m)=>{s.value=[{title:"Home",to:"/"}],console.log("props.breadcrumbs changed:",t),s.value.push(...t)},{deep:!0,immediate:!0}),(t,m)=>(b(),f(l,{class:"page-breadcrumb mb-1 mt-1"},{default:a(()=>[e(i,{cols:"12",md:"12"},{default:a(()=>[e(h,{variant:"flat",class:"px-4 py-3"},{default:a(()=>[e(l,{"no-gutters":"",class:"align-center",justify:"space-between"},{default:a(()=>[e(i,{cols:"12",md:"3"},{default:a(()=>[r("h3",y,g(o.title),1)]),_:1}),e(x),e(V,{items:c(s),class:"text-h5 pa-1"},{divider:a(()=>[r("div",B,[e(c(d),{size:"17"})])]),prepend:a(()=>[e(v,{size:"small",icon:"mdi-home",class:"text-secondary mr-2"}),r("div",C,[e(c(d),{size:"17"})])]),_:1},8,["items"])]),_:1})]),_:1})]),_:1})]),_:1}))}});export{I as _};