import{t as o}from"./html.bcbe747e.js";import{B as n}from"./Img.68436b24.js";import{C as r}from"./Caret.eeb84d06.js";import{S as c}from"./Profile.509489df.js";import{n as l}from"./vueComponentNormalizer.67c9b86e.js";var u=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-facebook-preview"},[e("div",{staticClass:"facebook-post"},[e("div",{staticClass:"facebook-header"},[e("div",{staticClass:"profile-photo"},[e("svg-dannie-profile")],1),e("div",{staticClass:"poster"},[e("div",{staticClass:"poster-name"},[t._v(" "+t._s(t.appName)+" ")]),e("div",{staticClass:"poster-date"},[t._v(" "+t._s(t.date)+" ")])]),t._m(0)]),e("div",{staticClass:"facebook-content",class:{vertical:t.isVerticalImage}},[e("base-img",{staticClass:"facebook-content__image",attrs:{debounce:!1,src:t.image},on:{images:function(i){return t.images=i}}}),t.loading?e("div",{staticClass:"loader"},[e("core-loader")],1):t._e(),e("div",{staticClass:"facebook-site-description"},[e("div",{staticClass:"site-domain"},[t._t("site-url",function(){return[t._v(" "+t._s(t.$aioseo.urls.domain)+" ")]})],2),e("div",{staticClass:"site-title",domProps:{innerHTML:t._s(t.truncate(t.title,70))}}),e("div",{staticClass:"site-description",domProps:{innerHTML:t._s(t.truncate(t.description,110))}})])],1),e("div",{staticClass:"facebook-footer"})])])},_=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"ellipsis"},[e("div"),e("div"),e("div")])}];const p={components:{BaseImg:n,CoreLoader:r,SvgDannieProfile:c},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.getDay()},isVerticalImage(){const t=this.images[this.image];return t?t.vertical:!1}},methods:{truncate:o}},a={};var d=l(p,u,_,!1,m,"6636e234",null,null);function m(t){for(let s in a)this[s]=a[s]}const b=function(){return d.exports}();export{b as C};
