import{u as v}from"./index.36512665.js";import{t as h}from"./SchemaStore.79ec0be9.js";import{B as S}from"./Img.c1967fde.js";import{e as y}from"./Caret.cc16468c.js";import{S as b}from"./Profile.a09acebd.js";import{_ as k}from"./_plugin-vue_export-helper.eefbdd86.js";import{x as n,o as c,c as l,a as e,H as r,t as s,K as I,b as x,q as B,y as C,O as N,P as V}from"./runtime-dom.esm-bundler.c4caba60.js";const w={setup(){return{rootStore:v()}},components:{BaseImg:S,CoreLoader:y,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=>(N("data-v-d177735a"),o=o(),V(),o),A={class:"aioseo-facebook-preview"},D={class:"facebook-post"},L={class:"facebook-header"},P={class:"profile-photo"},q={class:"poster"},O={class:"poster-name"},E={class:"poster-date"},R=d(()=>e("div",{class:"ellipsis"},[e("div"),e("div"),e("div")],-1)),z={key:0,class:"loader"},F={class:"facebook-site-description"},H={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 m=n("svg-dannie-profile"),p=n("base-img"),f=n("core-loader");return c(),l("div",A,[e("div",D,[e("div",L,[e("div",P,[r(m)]),e("div",q,[e("div",O,s(t.appName),1),e("div",E,s(t.date),1)]),R]),e("div",{class:I(["facebook-content",{vertical:t.isVerticalImage}])},[r(p,{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",z,[r(f)])):x("",!0),e("div",F,[e("div",H,[B(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 Z=k(w,[["render",j],["__scopeId","data-v-d177735a"]]);export{Z as C};
