import{d as p,g as a,A as r,J as n,P as c,j as i,t as g,K as f,L as h,i as T,C as k,_ as v,aD as y,O as C,c as l}from"./index-DOFLUERq.js";import{_ as x}from"./_plugin-vue_export-helper-DlAUqK2U.js";const B={key:0,class:"media-section"},N={class:"tag-cloud"},S=p({__name:"TagSection",props:{metaFields:{},record:{}},setup(d){const m=d,o=l(()=>{const t=m.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=l(()=>o.value.length>0),_=t=>{};return(t,s)=>u.value?(a(),r("div",B,[n("h4",null,c(i(g)("Tags")),1),n("div",N,[(a(!0),r(f,null,h(o.value,e=>(a(),T(i(y),{key:e,type:"info",size:"small",onClick:V=>_(),class:"tag-item"},{default:k(()=>[v(c(e),1)]),_:2},1032,["onClick"]))),128))])])):C("",!0)}}),L=x(S,[["__scopeId","data-v-8e67ea02"]]);export{L as default};
