import{u as v,t as h}from"./links.bbde6535.js";import{B as y}from"./Img.ae6a5b51.js";import{C as S}from"./Caret.baea7fe0.js";import{S as b}from"./Profile.7a6b8af7.js";import{x as n,o as c,c as l,a as e,z as r,t as s,E as k,b as x,m as I,A as C,J as B,K as N}from"./vue.runtime.esm-bundler.308f2021.js";import{_ as V}from"./_plugin-vue_export-helper.5bcc150c.js";const w={setup(){return{rootStore:v()}},components:{BaseImg:y,CoreLoader:S,SvgDannieProfile:b},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 o=new Date;return o.toLocaleString("default",{month:"long"})+" "+o.getDate()},isVerticalImage(){const o=this.images[this.image];return o?o.vertical:!1}},methods:{truncate:h}},d=o=>(B("data-v-55e2045a"),o=o(),N(),o),A={class:"aioseo-facebook-preview"},D={class:"facebook-post"},L={class:"facebook-header"},P={class:"profile-photo"},E={class:"poster"},q={class:"poster-name"},z={class:"poster-date"},F=d(()=>e("div",{class:"ellipsis"},[e("div"),e("div"),e("div")],-1)),O={key:0,class:"loader"},R={class:"facebook-site-description"},J={class:"site-domain"},K={class:"site-title"},T={class:"site-description"},U=d(()=>e("div",{class:"facebook-footer"},null,-1));function j(o,i,a,_,u,t){const p=n("svg-dannie-profile"),m=n("base-img"),f=n("core-loader");return c(),l("div",A,[e("div",D,[e("div",L,[e("div",P,[r(p)]),e("div",E,[e("div",q,s(t.appName),1),e("div",z,s(t.date),1)]),F]),e("div",{class:k(["facebook-content",{vertical:t.isVerticalImage}])},[r(m,{debounce:!1,src:a.image,onImages:i[0]||(i[0]=g=>u.images=g),class:"facebook-content__image"},null,8,["src"]),a.loading?(c(),l("div",O,[r(f)])):x("",!0),e("div",R,[e("div",J,[I(o.$slots,"site-url",{},()=>[C(s(_.rootStore.aioseo.urls.domain),1)],!0)]),e("div",K,s(t.truncate(a.title,60)),1),e("div",T,s(t.truncate(a.description,110)),1)])],2),U])])}const Y=V(w,[["render",j],["__scopeId","data-v-55e2045a"]]);export{Y as C};
