import{t as g}from"./html.a669733f.js";import{B as v}from"./Img.6c4e3996.js";import{C as h}from"./Caret.19bf2275.js";import{S as y}from"./Profile.0d5b59ce.js";import{_ as b,r as n,c,a as e,d as i,t as s,B as k,f as S,e as I,o as l,y as B,J as C,K as x}from"./_plugin-vue_export-helper.a81c6319.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(),x(),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"},J={class:"site-title"},K={class:"site-description"},R=d(()=>e("div",{class:"facebook-footer"},null,-1));function T(t,r,a,U,_,o){const u=n("svg-dannie-profile"),p=n("base-img"),m=n("core-loader");return l(),c("div",V,[e("div",w,[e("div",A,[e("div",D,[i(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}])},[i(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,[i(m)])):S("",!0),e("div",O,[e("div",z,[I(t.$slots,"site-url",{},()=>[B(s(t.$aioseo.urls.domain),1)],!0)]),e("div",J,s(o.truncate(a.title,60)),1),e("div",K,s(o.truncate(a.description,110)),1)])],2),R])])}const W=b(N,[["render",T],["__scopeId","data-v-16051209"]]);export{W as C};
