1import{$ as B,A as G,C as rt,D as f,E as ot,K as m,N as it,O as y,Q as s,R as t,T as vt,U as nt,X as lt,d as v,et as i,ft as ct,j as g,k as n,pt as mt,st as x,vt as dt,w as pt,y as gt,yt as a}from"../chunks/DqlckBlB.js";import"../chunks/py9dloPi.js";import{t as _t}from"../chunks/CdFkCuaF.js";import{t as bt}from"../chunks/D5-dZqWy.js";import{t as ut}from"../chunks/DqBOMPZW.js";var ht=g('<meta property="og:image"/>'),wt=g('<meta name="description"/> <link rel="canonical"/> <meta property="og:title"/> <meta property="og:description"/> <meta property="og:type" content="article"/> <meta property="og:url"/> <meta property="og:site_name" content="Orb"/> <!>',1),ft=g('<h3 class="post-subtitle svelte-m1bgw8"> </h3>'),yt=g('<img class="author-photo svelte-m1bgw8"/>'),xt=g('<div class="author-info svelte-m1bgw8"><!> <div class="author-date svelte-m1bgw8"><span class="author-name svelte-m1bgw8"> <!></span> <span class="date svelte-m1bgw8"> </span></div></div>'),$t=g('<div class="author-info svelte-m1bgw8"><div class="author-date svelte-m1bgw8"><span class="by-text svelte-m1bgw8">by</span> <span class="author-name svelte-m1bgw8">Team Orb</span> <span class="date svelte-m1bgw8"> </span></div></div>'),kt=g('<div class="image-container svelte-m1bgw8"><div class="featured-image-container svelte-m1bgw8"><img class="featured-image svelte-m1bgw8"/></div></div>'),Ut=g('<div class="page-container svelte-m1bgw8"><article class="blog-post svelte-m1bgw8"><div class="follow-orb-wrapper svelte-m1bgw8"><!></div> <div class="header-container svelte-m1bgw8"><div class="post-header svelte-m1bgw8"><h1 class="svelte-m1bgw8"> </h1> <!> <div class="author-meta svelte-m1bgw8"><!></div></div></div> <!> <div class="content-container svelte-m1bgw8"><div class="content svelte-m1bgw8"></div> <div class="back-link svelte-m1bgw8"><a href="/blog">â Back to blog</a></div></div></article></div>');function Lt(H,C){mt(C,!0);const e=x(()=>C.data.post),I=x(()=>_t.params.slug),R=x(()=>t(e).meta_description||t(e).content.substring(0,150).replace(/<[^>]*>/g,"")),T=x(()=>`https://orb.net/blog/${t(I)}`),E=x(()=>t(e).image?`${bt}assets/${t(e).image}`:null);var P=G();gt("m1bgw8",S=>{var _=wt(),$=B(_),b=i($,2),u=i(b,2),k=i(u,2),h=i(k,4),A=i(h,4),O=U=>{var q=ht();m(()=>v(q,"content",t(E))),n(U,q)};f(A,U=>{t(E)&&U(O)}),m(()=>{v($,"content",t(R)),v(b,"href",t(T)),v(u,"content",t(e).title),v(k,"content",t(R)),v(h,"content",t(T))}),nt(()=>{lt.title=`${t(e).title??""} - Orb Blog`}),n(S,_)});var J=B(P);ot(J,()=>t(I),S=>{var _=Ut(),$=s(_),b=s($);ut(s(b),{}),a(b);var u=i(b,2),k=s(u),h=s(k),A=s(h,!0);a(h);var O=i(h,2),U=r=>{var o=ft(),l=s(o,!0);a(o),m(()=>y(l,t(e).subtitle)),n(r,o)};f(O,r=>{t(e).subtitle&&r(U)});var q=i(O,2),M=s(q),V=r=>{var o=G(),l=B(o);pt(l,17,()=>t(e).authors,vt,(d,p)=>{var D=xt(),N=s(D),tt=c=>{var w=yt();m(()=>{v(w,"src",`https://orbweb.directus.app/assets/${t(p).authors_author.photo??""}?width=48&height=48&fit=cover`),v(w,"alt",t(p).authors_author.full_name)}),n(c,w)};f(N,c=>{t(p).authors_author.photo&&c(tt)});var Q=i(N,2),L=s(Q),X=s(L,!0),et=i(X),at=c=>{var w=it();m(()=>y(w,`, ${t(p).authors_author.title??""}`)),n(c,w)};f(et,c=>{t(p).authors_author.title&&c(at)}),a(L);var z=i(L,2),st=s(z);a(z),a(Q),a(D),m(c=>{y(X,t(p).authors_author.full_name),y(st,`on ${c??""}`)},[()=>new Date(t(e).publish_time).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})]),n(d,D)}),n(r,o)},W=x(()=>t(e).authors&&Array.isArray(t(e).authors)&&t(e).authors.length>0),Y=r=>{var o=$t(),l=s(o),d=i(s(l),4),p=s(d);a(d),a(l),a(o),m(D=>y(p,`on ${D??""}`),[()=>new Date(t(e).publish_time).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})]),n(r,o)};f(M,r=>{t(W)?r(V):r(Y,-1)}),a(q),a(k),a(u);var j=i(u,2),Z=r=>{var o=kt(),l=s(o),d=s(l);a(l),a(o),m(()=>{v(d,"src",`https://orbweb.directus.app/assets/${t(e).image??""}?key=blog-cover`),v(d,"srcset",`https://orbweb.directus.app/assets/${t(e).image??""}?key=blog-cover 1x, https://orbweb.directus.app/assets/${t(e).image??""}?key=blog-cover-2x 2x`),v(d,"alt",t(e).title)}),n(r,o)};f(j,r=>{t(e).image&&r(Z)});var F=i(j,2),K=s(F);rt(K,()=>t(e).content,!0),a(K),dt(2),a(F),a($),a(_),m(()=>y(A,t(e).title)),n(S,_)}),n(H,P),ct()}export{Lt as component};
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.