PageSourceSearch

https://www.thegooddocsproject.dev/_app/immutable/nodes/8.CpkVZb2C.js

js thegooddocsproject.dev collected 2026-09-24 09:19:08 UTC 10,164 bytes, 1 lines download raw bytes

1import{s as ze,a as Ae,n as Ge}from"../chunks/scheduler.BCRVzj3a.js";import{S as Fe,i as Oe,e as p,s as E,c as be,v as X,H as Re,l as Be,f as h,k as c,n as $,o as b,a as we,w as Y,x as qe,g as Z,h as o,p as f,j as M,m as ke,y as ee,t as Ee,b as $e,d as ye,r as Je}from"../chunks/index.CBy6P1Ys.js";import{e as je}from"../chunks/each.D6YF6ztN.js";import{S as Ke,P as Ne,A as Qe}from"../chunks/Share.D15hxHCA.js";function He(a,e,l){const t=a.slice();return t[2]=e[l],t}function Me(a){let e,l=a[0].post.summary+"",t;return{c(){e=p("p"),t=X(l),this.h()},l(s){e=h(s,"P",{class:!0});var r=b(e);t=Y(r,l),r.forEach(c),this.h()},h(){o(e,"class","mb-6 text-xl leading-8")},m(s,r){M(s,e,r),f(e,t)},p(s,r){r&1&&l!==(l=s[0].post.summary+"")&&ee(t,l)},d(s){s&&c(e)}}}function Pe(a){let e,l,t;return{c(){e=p("img"),this.h()},l(s){e=h(s,"IMG",{class:!0,src:!0,alt:!0}),this.h()},h(){o(e,"class","aspect-video rounded-xl bg-gray-50 object-cover"),Ae(e.src,l="https://tgdp-assets.imgix.net/"+a[0].post.image+"?w=768&ar=16:9&fit=crop&crop=faces,center&q=80&auto=compress,format")||o(e,"src",l),o(e,"alt",t=a[0].post.alt)},m(s,r){M(s,e,r)},p(s,r){r&1&&!Ae(e.src,l="https://tgdp-assets.imgix.net/"+s[0].post.image+"?w=768&ar=16:9&fit=crop&crop=faces,center&q=80&auto=compress,format")&&o(e,"src",l),r&1&&t!==(t=s[0].post.alt)&&o(e,"alt",t)},d(s){s&&c(e)}}}function Le(a){let e,l,t=a[0].post.author_message+"";return{c(){e=p("div"),l=new Re(!1),this.h()},l(s){e=h(s,"DIV",{class:!0});var r=b(e);l=qe(r,!1),r.forEach(c),this.h()},h(){l.a=null,o(e,"class","prose")},m(s,r){M(s,e,r),l.m(t,e)},p(s,r){r&1&&t!==(t=s[0].post.author_message+"")&&l.p(t)},d(s){s&&c(e)}}}function xe(a){let e,l=je(a[0].post.tags),t=[];for(let s=0;s<l.length;s+=1)t[s]=Se(He(a,l,s));return{c(){e=p("div");for(let s=0;s<t.length;s+=1)t[s].c();this.h()},l(s){e=h(s,"DIV",{class:!0});var r=b(e);for(let i=0;i<t.length;i+=1)t[i].l(r);r.forEach(c),this.h()},h(){o(e,"class","my-4 flex items-center gap-x-4 text-xs")},m(s,r){M(s,e,r);for(let i=0;i<t.length;i+=1)t[i]&&t[i].m(e,null)},p(s,r){if(r&1){l=je(s[0].post.tags);let i;for(i=0;i<l.length;i+=1){const u=He(s,l,i);t[i]?t[i].p(u,r):(t[i]=Se(u),t[i].c(),t[i].m(e,null))}for(;i<t.length;i+=1)t[i].d(1);t.length=l.length}},d(s){s&&c(e),Je(t,s)}}}function Se(a){let e,l=a[2]+"",t,s,r;return{c(){e=p("a"),t=X(l),s=E(),this.h()},l(i){e=h(i,"A",{href:!0,class:!0});var u=b(e);t=Y(u,l),s=$(u),u.forEach(c),this.h()},h(){o(e,"href",r="/blog/tag/"+encodeURI(a[2])),o(e,"class","relative z-10 rounded-full hover:drop-shadow bg-tgdp-eastern-blue px-3 py-1.5 font-medium text-white")},m(i,u){M(i,e,u),f(e,t),f(e,s)},p(i,u){u&1&&l!==(l=i[2]+"")&&ee(t,l),u&1&&r!==(r="/blog/tag/"+encodeURI(i[2]))&&o(e,"href",r)},d(i){i&&c(e)}}}function We(a){let e,l="<em>First Post in Series</em>";return{c(){e=p("div"),e.innerHTML=l,this.h()},l(t){e=h(t,"DIV",{class:!0,"data-svelte-h":!0}),Z(e)!=="svelte-9d44mh"&&(e.innerHTML=l),this.h()},h(){o(e,"class","block text-left w-full")},m(t,s){M(t,e,s)},p:Ge,d(t){t&&c(e)}}}function Xe(a){let e,l,t,s="↑",r,i,u=a[0].blogs.posts[a[1]-1].title+"",T,w;return{c(){e=p("a"),l=p("div"),t=p("div"),t.textContent=s,r=E(),i=p("div"),T=X(u),this.h()},l(_){e=h(_,"A",{class:!0,rel:!0,href:!0});var g=b(e);l=h(g,"DIV",{class:!0});var k=b(l);t=h(k,"DIV",{class:!0,"data-svelte-h":!0}),Z(t)!=="svelte-wgts4n"&&(t.textContent=s),r=$(k),i=h(k,"DIV",{});var C=b(i);T=Y(C,u),C.forEach(c),k.forEach(c),g.forEach(c),this.h()},h(){o(t,"class","pr-4 text-xl"),o(l,"class","flex flex-row items-center font-bold"),o(e,"class","block text-left w-full"),o(e,"rel","external"),o(e,"href",w="/blog/"+a[0].blogs.posts[a[1]-1].slug)},m(_,g){M(_,e,g),f(e,l),f(l,t),f(l,r),f(l,i),f(i,T)},p(_,g){g&1&&u!==(u=_[0].blogs.posts[_[1]-1].title+"")&&ee(T,u),g&1&&w!==(w="/blog/"+_[0].blogs.posts[_[1]-1].slug)&&o(e,"href",w)},d(_){_&&c(e)}}}function Ye(a){let e,l="<em>Last Post in Series</em>";return{c(){e=p("div"),e.innerHTML=l,this.h()},l(t){e=h(t,"DIV",{class:!0,"data-svelte-h":!0}),Z(e)!=="svelte-bgy2sg"&&(e.innerHTML=l),this.h()},h(){o(e,"class","block text-right w-full")},m(t,s){M(t,e,s)},p:Ge,d(t){t&&c(e)}}}function Ze(a){let e,l,t,s=a[0].blogs.posts[a[1]+1].title+"",r,i,u,T="↓",w;return{c(){e=p("a"),l=p("div"),t=p("div"),r=X(s),i=E(),u=p("div"),u.textContent=T,this.h()},l(_){e=h(_,"A",{class:!0,rel:!0,href:!0});var g=b(e);l=h(g,"DIV",{class:!0});var k=b(l);t=h(k,"DIV",{class:!0});var C=b(t);
1r=Y(C,s),C.forEach(c),i=$(k),u=h(k,"DIV",{class:!0,"data-svelte-h":!0}),Z(u)!=="svelte-1iogiyh"&&(u.textContent=T),k.forEach(c),g.forEach(c),this.h()},h(){o(t,"class","text-right"),o(u,"class","pl-4 text-xl"),o(l,"class","flex flex-row items-center font-bold"),o(e,"class","flex justify-end w-full"),o(e,"rel","external"),o(e,"href",w="/blog/"+a[0].blogs.posts[a[1]+1].slug)},m(_,g){M(_,e,g),f(e,l),f(l,t),f(t,r),f(l,i),f(l,u)},p(_,g){g&1&&s!==(s=_[0].blogs.posts[_[1]+1].title+"")&&ee(r,s),g&1&&w!==(w="/blog/"+_[0].blogs.posts[_[1]+1].slug)&&o(e,"href",w)},d(_){_&&c(e)}}}function et(a){let e,l,t,s,r,i,u,T,w,_,g,k,C,R,P,ue,d,q,J=a[0].post.title+"",te,pe,U,L,he,se,le,z,K,ae=a[0].post.html+"",me,oe,de,re,x,_e,ne,S,F,Ie="Continue Reading",ge,A,ve,ie,N,j;document.title=e=a[0].post.title+" | The Good Docs Project",P=new Ke({props:{frontmatter:a[0].post,content_type:"blog"}}),L=new Ne({props:{post:a[0].post}});let y=a[0].post.summary&&Me(a),I=a[0].post.image&&Pe(a),D=a[0].post.author_message&&Le(a);x=new Qe({props:{authors:a[0].post.authors,frontmatter:a[0].post}});let V=a[0].post.tags&&xe(a);function Ue(n,m){return n[1]>0?Xe:We}let Q=Ue(a)(a);function De(n,m){return n[1]<n[0].blogs.posts.length-1?Ze:Ye}let fe=De(a),H=fe(a);return{c(){l=p("meta"),s=p("meta"),i=p("meta"),u=p("meta"),w=p("meta"),g=E(),k=p("article"),C=p("div"),R=p("div"),be(P.$$.fragment),ue=E(),d=p("div"),q=p("h1"),te=X(J),pe=E(),U=p("div"),be(L.$$.fragment),he=E(),y&&y.c(),se=E(),I&&I.c(),le=E(),z=p("div"),K=new Re(!1),me=E(),oe=p("hr"),de=E(),D&&D.c(),re=E(),be(x.$$.fragment),_e=E(),V&&V.c(),ne=E(),S=p("div"),F=p("h2"),F.textContent=Ie,ge=E(),A=p("div"),Q.c(),ve=E(),H.c(),ie=E(),N=p("div"),this.h()}
1,l(n){const m=Be("svelte-nhtma7",document.head);l=h(m,"META",{name:!0,content:!0}),s=h(m,"META",{property:!0,content:!0}),i=h(m,"META",{property:!0,content:!0}),u=h(m,"META",{property:!0,content:!0}),w=h(m,"META",{property:!0,content:!0}),m.forEach(c),g=$(n),k=h(n,"ARTICLE",{class:!0});var W=b(k);C=h(W,"DIV",{class:!0});var G=b(C);R=h(G,"DIV",{class:!0});var O=b(R);we(P.$$.fragment,O),O.forEach(c),ue=$(G),d=h(G,"DIV",{class:!0});var v=b(d);q=h(v,"H1",{class:!0});var Ve=b(q);te=Y(Ve,J),Ve.forEach(c),pe=$(v),U=h(v,"DIV",{class:!0});var Ce=b(U);we(L.$$.fragment,Ce),Ce.forEach(c),he=$(v),y&&y.l(v),se=$(v),I&&I.l(v),le=$(v),z=h(v,"DIV",{class:!0});var Te=b(z);K=qe(Te,!1),Te.forEach(c),me=$(v),oe=h(v,"HR",{class:!0}),de=$(v),D&&D.l(v),re=$(v),we(x.$$.fragment,v),_e=$(v),V&&V.l(v),ne=$(v),S=h(v,"DIV",{class:!0});var ce=b(S);F=h(ce,"H2",{"data-svelte-h":!0}),Z(F)!=="svelte-12k0ieb"&&(F.textContent=Ie),ge=$(ce),A=h(ce,"DIV",{class:!0});var B=b(A);Q.l(B),ve=$(B),H.l(B),ie=$(B),N=h(B,"DIV",{class:!0}),b(N).forEach(c),B.forEach(c),ce.forEach(c),v.forEach(c),G.forEach(c),W.forEach(c),this.h()},h(){o(l,"name","description"),o(l,"content",t=a[0].post.summary),o(s,"property","og:title"),o(s,"content",r=a[0].post.title+" | The Good Docs Project"),o(i,"property","og:type"),o(i,"content","website"),o(u,"property","og:url"),o(u,"content",T="https://www.thegooddocsproject.dev/blog/"+a[0].post.slug),o(w,"property","og:image"),o(w,"content",_="https://tgdp-assets.imgix.net/"+a[0].post.image+"?w=768&ar=16:9&fit=crop&crop=faces,center"),o(R,"class","md:pr-6 md:pt-16"),o(q,"class","mt-2 text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl"),o(U,"class","py-4"),K.a=null,o(z,"class","prose max-w-3xl"),o(oe,"class","w-25 pt-4 my-0 mx-auto"),o(N,"class","clearfix"),o(A,"class","w-full flex justify-between items-center not-prose"),o(S,"class","w-full prose max-w-none pt-8"),o(d,"class","max-w-3xl text-base leading-7 text-gray-700"),o(C,"class","relative flex flex-col md:flex-row"),o(k,"class","px-6 py-8 lg:px-8 max-w-4xl mx-auto")},m(n,m){f(document.head,l),f(document.head,s),f(document.head,i),f(document.head,u),f(document.head,w),M(n,g,m),M(n,k,m),f(k,C),f(C,R),ke(P,R,null),f(C,ue),f(C,d),f(d,q),f(q,te),f(d,pe),f(d,U),ke(L,U,null),f(d,he),y&&y.m(d,null),f(d,se),I&&I.m(d,null),f(d,le),f(d,z),K.m(ae,z),f(d,me),f(d,oe),f(d,de),D&&D.m(d,null),f(d,re),ke(x,d,null),f(d,_e),V&&V.m(d,null),f(d,ne),f(d,S),f(S,F),f(S,ge),f(S,A),Q.m(A,null),f(A,ve),H.m(A,null),f(A,ie),f(A,N),j=!0},p(n,[m]){(!j||m&1)&&e!==(e=n[0].post.title+" | The Good Docs Project")&&(document.title=e),(!j||m&1&&t!==(t=n[0].post.summary))&&o(l,"content",t),(!j||m&1&&r!==(r=n[0].post.title+" | The Good Docs Project"))&&o(s,"content",r),(!j||m&1&&T!==(T="https://www.thegooddocsproject.dev/blog/"+n[0].post.slug))&&o(u,"content",T),(!j||m&1&&_!==(_="https://tgdp-assets.imgix.net/"+n[0].post.image+"?w=768&ar=16:9&fit=crop&crop=faces,center"))&&o(w,"content",_);const W={};m&1&&(W.frontmatter=n[0].post),P.$set(W),(!j||m&1)&&J!==(J=n[0].post.title+"")&&ee(te,J);const G={};m&1&&(G.post=n[0].post),L.$set(G),n[0].post.summary?y?y.p(n,m):(y=Me(n),y.c(),y.m(d,se)):y&&(y.d(1),y=null),n[0].post.image?I?I.p(n,m):(I=Pe(n),I.c(),I.m(d,le)):I&&(I.d(1),I=null),(!j||m&1)&&ae!==(ae=n[0].post.html+"")&&K.p(ae),n[0].post.author_message?D?D.p(n,m):(D=Le(n),D.c(),D.m(d,re)):D&&(D.d(1),D=null);const O={};m&1&&(O.authors=n[0].post.authors),m&1&&(O.frontmatter=n[0].post),x.$set(O),n[0].post.tags?V?V.p(n,m):(V=xe(n),V.c(),V.m(d,ne)):V&&(V.d(1),V=null),Q.p(n,m),fe===(fe=De(n))&&H?H.p(n,m):(H.d(1),H=fe(n),H&&(H.c(),H.m(A,ie)))},i(n){j||(Ee(P.$$.fragment,n),Ee(L.$$.fragment,n),Ee(x.$$.fragment,n),j=!0)},o(n){$e(P.$$.fragment,n),$e(L.$$.fragment,n),$e(x.$$.fragment,n),j=!1},d(n){n&&(c(g),c(k)),c(l),c(s),c(i),c(u),c(w),ye(P),ye(L),y&&y.d(),I&&I.d(),D&&D.d(),ye(x),V&&V.d(),Q.d(),H.d()}}}function tt(a,e,l){let{data:t}=e,s=t.blogs.posts.map(r=>r.slug).indexOf(t.slug);return a.$$set=r=>{"data"in r&&l(0,t=r.data)},[t,s]}class nt extends Fe{constructor(e){super(),Oe(this,e,tt,et,ze,{data:0})}}export{nt 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.