1import{a as g,b as x,w as b,I as f,J as v,o as n,e as c,f as t,t as a,u as s,k as d,m as w}from"./entry.03bdd158.js";import{u as y}from"./fetch.b8a716c0.js";import{_ as B}from"./coco.06a5ea03.js";import{h as k}from"./he.599f6123.js";const C={class:"padding-top-xl padding-bottom-md"},D={class:"container max-width-lg"},F={class:"breadcrumbs text-sm","aria-label":"Breadcrumbs"},H={class:"flex flex-wrap gap-2xs"},S=w('<li class="breadcrumbs__item"><a href="/" class="color-inherit">Home</a><span class="color-contrast-lower margin-left-2xs" aria-hidden="true">/</span></li><li class="breadcrumbs__item"><a href="/blog/page/1" class="color-inherit">Blog</a><span class="color-contrast-lower margin-left-2xs" aria-hidden="true">/</span></li>',2),L={class:"breadcrumbs__item","aria-current":"page"},N={class:"padding-bottom-2xl"},T={class:"container max-width-sm margin-bottom-lg"},V={class:"text-component text-component--relaxed text-center margin-bottom-md"},q={class:"color-contrast-medium text-md"},I={class:"flex justify-center"},M={class:"author author--meta"},R=t("span",{class:"author__img-wrapper"},[t("img",{src:B})],-1),j={class:"author__content"},A=t("h4",{class:"text-base"},"Coco Yu",-1),E={class:"text-sm color-contrast-medium"},J={class:"container max-width-lg margin-bottom-lg"},U=["src"],Y={class:"container max-width-adaptive-sm"},$=["innerHTML"],z=t("div",{class:"text-component text-component--relaxed padding-top-md"},[t("a",{class:"text-sm",href:"/blog/page/1"}," < è¿åå
¨é¨Blog")],-1),X={__name:"[slug]",async setup(G){let o,i;const m=g(),_=x().params.slug,{data:r}=([o,i]=b(()=>y(m.public.apiBase+"/blogs/"+_,"$qFggIq0u6c")),o=await o,i(),o),e=r.value[0],u=f(()=>k.decode(r.value[0].content));v({titleTemplate:e.title+" | Freelance Daily - 馿¸¯Freelanceæ¥å ±"});const h=l=>new Date(l).toLocaleString("en-US",{year:"numeric",month:"short",day:"numeric"});return(l,p)=>(n(),c("div",null,[t("section",C,[t("div",D,[t("nav",F,[t("ol",H,[S,t("li",L,a(s(e).title),1)])])])]),t("article",N,[t("header",T,[t("div",V,[t("h1",null,a(s(e).title),1),t("p",q,a(s(e).excerpt),1)]),t("div",I,[t("div",M,[R,t("div",j,[A,t("p",E,[t("time",null,a(h(s(e).published_at)),1)])])])])]),t("figure",J,[s(e).thumbnail?(n(),c("img",{key:0,class:"width-100% radius-lg",src:s(e).thumbnail},null,8,U)):d("",!0)]),t("div",Y,[s(e).content?(n(),c("div",{key:0,class:"text-component text-component--relaxed",innerHTML:s(u)},null,8,$)):d("",!0),z])])]))}};export{X 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.