import{d as p,c as o,e as n,f as r,g as i,j as l,F as g,H as f,k as h,n as a,t as v,J as y,w as T,s as k,av as x}from"./index-a0da86f0.js";import{_ as B}from"./_plugin-vue_export-helper-c27b6911.js";const C={key:0,class:"media-section"},S={class:"tag-cloud"},N=p({__name:"TagSection",props:{metaFields:{},record:{}},setup(_){const d=_,c=o(()=>{const t=d.record._user_tags;if(t&&typeof t=="string"){const s=t.trim();if(s)return s.split(",").map(e=>e.trim()).filter(e=>e.length>0)}return[]}),u=o(()=>c.value.length>0),m=t=>{console.log("Search by tag:",t)};return(t,s)=>u.value?(a(),n("div",C,[r("h4",null,i(l(v)("Tags")),1),r("div",S,[(a(!0),n(g,null,f(c.value,e=>(a(),y(l(x),{key:e,type:"info",size:"small",onClick:F=>m(e),class:"tag-item"},{default:T(()=>[k(i(e),1)]),_:2},1032,["onClick"]))),128))])])):h("",!0)}});const b=B(N,[["__scopeId","data-v-65cc0c79"]]);export{b as default};
