import{t as g}from"./html.14f2a8b9.js";import{B as v}from"./Img.abc640e1.js";import{C as h}from"./Caret.42a820e0.js";import{S as y}from"./Profile.499a6108.js";import{_ as b,c,f as e,d as n,t as s,n as k,a as S,x as I,r as i,o as l,e as x,Y as C,Z as B}from"./_plugin-vue_export-helper.2d9794a3.js";const N={components:{BaseImg:v,CoreLoader:h,SvgDannieProfile:y},props:{description:{type:String,required:!0},image:String,loading:{type:Boolean,default:!1},title:{type:String,required:!0}},data(){return{images:{}}},computed:{appName(){return"All in One SEO"},date(){const t=new Date;return t.toLocaleString("default",{month:"long"})+" "+t.getDate()},isVerticalImage(){const t=this.images[this.image];return t?t.vertical:!1}},methods:{truncate:g}},d=t=>(C("data-v-16051209"),t=t(),B(),t),V={class:"aioseo-facebook-preview"},w={class:"facebook-post"},A={class:"facebook-header"},D={class:"profile-photo"},L={class:"poster"},P={class:"poster-name"},q={class:"poster-date"},E=d(()=>e("div",{class:"ellipsis"},[e("div"),e("div"),e("div")],-1)),F={key:0,class:"loader"},O={class:"facebook-site-description"},z={class:"site-domain"},R={class:"site-title"},T={class:"site-description"},U=d(()=>e("div",{class:"facebook-footer"},null,-1));function Y(t,r,a,Z,_,o){const u=i("svg-dannie-profile"),p=i("base-img"),m=i("core-loader");return l(),c("div",V,[e("div",w,[e("div",A,[e("div",D,[n(u)]),e("div",L,[e("div",P,s(o.appName),1),e("div",q,s(o.date),1)]),E]),e("div",{class:k(["facebook-content",{vertical:o.isVerticalImage}])},[n(p,{debounce:!1,src:a.image,onImages:r[0]||(r[0]=f=>_.images=f),class:"facebook-content__image"},null,8,["src"]),a.loading?(l(),c("div",F,[n(m)])):S("",!0),e("div",O,[e("div",z,[I(t.$slots,"site-url",{},()=>[x(s(t.$aioseo.urls.domain),1)],!0)]),e("div",R,s(o.truncate(a.title,60)),1),e("div",T,s(o.truncate(a.description,110)),1)])],2),U])])}const M=b(N,[["render",Y],["__scopeId","data-v-16051209"]]);export{M as C};
