import{T as f,L as w,M as g,H as h}from"./Dr4acodI.js";import{o as e,d as a,w as d,v as M,t as T,p as u,c,F as s,r as x,b as i}from"./C_yW9YRN.js";const H={__name:"MetaTags",props:{metas:{required:!0}},setup(o){function _(m){return m.map(l=>l.keyword).toString()}return(m,k)=>{const l=f,p=w,r=g,y=h;return e(),a(y,null,{default:d(()=>[o.metas&&o.metas.title?(e(),a(l,{key:0},{default:d(()=>[M(T(o.metas.title),1)]),_:1})):u("",!0),(e(!0),c(s,null,x(o.metas,(n,t)=>(e(),c(s,{key:t},[n?(e(),c(s,{key:0},[t=="canonical_tags"?(e(),a(p,{key:0,rel:"canonical",href:n},null,8,["href"])):t=="keywords"?(e(),a(r,{key:1,name:"keywords",content:_(n)},null,8,["content"])):t=="type"?(e(),a(r,{key:2,name:"author",content:n},null,8,["content"])):t!="id"?(e(),c(s,{key:3},[i(r,{name:t,content:n},null,8,["name","content"]),i(r,{name:`og:${t}`,content:n},null,8,["name","content"])],64)):u("",!0)],64)):u("",!0)],64))),128))]),_:1})}}};export{H as _};
