1import{f as B,j as D,g as F,u as s,o as n,c as i,a as e,t as r,F as M,r as b,h as k,d as C}from"./entry.b311bdbe.js";import{u as L}from"./index.2059aa38.js";import{u as N}from"./fetch.5301a5df.js";import"./vue.f36acd1f.218c2cf1.js";import"./index.33ee8bc1.js";const V={key:0,class:"container mx-auto max-w-5xl my-8"},j={class:"bg-white"},A={class:"mb-6"},H={class:"text-3xl font-bold text-gray-800"},J={class:"mt-2 flex items-center text-sm text-gray-500"},S=e("span",null,[C("by "),e("a",{href:"#",class:"font-semibold text-gray-700"},"BWeird")],-1),E=e("span",{class:"mx-2"},"|",-1),O={datetime:"2023-10-10"},P={class:"mx-auto max-w-5xl px-6 lg:px-8"},R=["src"],U=["innerHTML"],W={class:"mt-12"},Y=e("span",{class:"text-sm font-semibold text-gray-600"},"Tags:",-1),q={href:"#",class:"text-blue-600 hover:underline text-sm mx-2"},st=B({__name:"[id]",async setup(z){var l,m,d,_,u,x;let a,c;const w=D().params.id,{data:t,pending:I,error:K}=([a,c]=F(()=>N(`/api/blog/${w}`,"$T6UJ1PIO3J")),a=await a,c(),a);L({title:(l=t==null?void 0:t.value)==null?void 0:l.title,ogTitle:(m=t==null?void 0:t.value)==null?void 0:m.title,description:(d=t==null?void 0:t.value)==null?void 0:d.subtitle,ogDescription:(_=t==null?void 0:t.value)==null?void 0:_.subtitle,ogImage:(u=t==null?void 0:t.value)==null?void 0:u.coverImage,robots:`${(x=t==null?void 0:t.value)==null?void 0:x.title}, AI social sales, blogs`});function T(h){var o=new Date(h*1e3);return`${o.getDate()}/${o.getMonth()+1}/${o.getFullYear()}`}return(h,o)=>{var p,g,f,v,y;return s(I)==!1?(n(),i("main",V,[e("article",j,[e("div",A,[e("h2",H,r((p=s(t))==null?void 0:p.title),1),e("div",J,[S,E,e("time",O,r(T((g=s(t))==null?void 0:g.timestamp)),1)])]),e("div",P,[e("img",{src:(f=s(t))==null?void 0:f.coverImage,alt:"Blog image",class:"w-fit h-fit object-cover rounded-lg my-12"},null,8,R)]),e("div",{class:"text-gray-700 leading-relaxed",innerHTML:(v=s(t))==null?void 0:v.content},null,8,U),e("div",W,[Y,(n(!0),i(M,null,b((y=s(t))==null?void 0:y.tags,$=>(n(),i("a",q,r($),1))),256))])])])):k("",!0)}}});export{st as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.