import{ac as De,S as ye,i as Ee,s as ae,l as x,r as A,a as D,m as w,n as y,u as M,h as p,c as P,p as n,b as I,G as b,E as L,Z as ce,w as Q,x as W,y as ee,t as H,d as te,f as N,K,M as X,B as le,ad as Pe,o as Se,H as se,I as Y,J as $e,v as ie,g as re,L as Z}from"../chunks/index-cd58b8d1.js";import{t as Ve,f as T}from"../chunks/title-765c989f.js";import{a as Ne,t as Ae}from"../chunks/posts-57ab4794.js";import{H as Me}from"../chunks/head-4a058b17.js";import{F as Be}from"../chunks/footer-1abd9501.js";import{P as He}from"../chunks/post_card-e7f4525a.js";import{s as V}from"../chunks/icon-3aa13b39.js";import"../chunks/index-81c83cec.js";const Te=()=>{const s=De("__svelte__");return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},get preloading(){return console.error("stores.preloading is deprecated; use stores.navigating instead"),{subscribe:s.navigating.subscribe}},session:s.session,updated:s.updated}},ze={subscribe(s){return Te().page.subscribe(s)}};function Ge(s){let e,l,t,r,o,i,a,u=Oe();return{c(){e=x("img"),t=D(),r=x("div"),o=x("img"),a=D(),u&&u.c(),this.h()},l(m){e=w(m,"IMG",{class:!0,src:!0,alt:!0,decoding:!0,loading:!0}),t=P(m),r=w(m,"DIV",{class:!0});var _=y(r);o=w(_,"IMG",{class:!0,src:!0,alt:!0}),a=P(_),u&&u.l(_),_.forEach(p),this.h()},h(){n(e,"class","hidden u-photo"),ce(e.src,l=V.author.avatar)||n(e,"src",l),n(e,"alt",V.author.name),n(e,"decoding","async"),n(e,"loading","lazy"),n(o,"class","rounded-full shadow-xl w-32 h-32 hover:rotate-[360deg] transition-transform duration-1000 ease-in-out"),ce(o.src,i=V.author.avatar)||n(o,"src",i),n(o,"alt",V.author.name),n(r,"class","justify-end flex-none w-32 h-32 my-auto ml-auto avatar")},m(m,_){I(m,e,_),I(m,t,_),I(m,r,_),b(r,o),b(r,a),u&&u.m(r,null)},p(m,_){},d(m){m&&p(e),m&&p(t),m&&p(r),u&&u.d()}}}function Oe(s){let e,l=V.author.status+"",t;return{c(){e=x("div"),t=A(l),this.h()},l(r){e=w(r,"DIV",{class:!0});var o=y(e);t=M(o,l),o.forEach(p),this.h()},h(){n(e,"class","heart absolute rounded-full w-10 h-10 bottom-0 right-0 bg-base-100 shadow-xl text-xl text-center py-1.5 svelte-vn9h8n")},m(r,o){I(r,e,o),b(e,t)},p:L,d(r){r&&p(e)}}}function je(s){let e,l;return{c(){e=x("a"),l=x("span"),this.h()},l(t){e=w(t,"A",{class:!0,target:!0,rel:!0,"data-tip":!0,"aria-label":!0,href:!0});var r=y(e);l=w(r,"SPAN",{class:!0}),y(l).forEach(p),r.forEach(p),this.h()},h(){n(l,"class","i-ic-baseline-mail !w-8 !h-8 mr-1 fill-current inline-block hover:text-lime-500"),n(e,"class","text-sm transition tooltip tooltip-secondary hover:text-secondary"),n(e,"target","_blank"),n(e,"rel","noopener noreferrer"),n(e,"data-tip","Mail"),n(e,"aria-label","Mail"),n(e,"href","mailto:"+V.author.email)},m(t,r){I(t,e,r),b(e,l)},p:L,d(t){t&&p(e)}}}function Fe(s){let e,l;return{c(){e=x("a"),l=x("span"),this.h()},l(t){e=w(t,"A",{class:!0,target:!0,rel:!0,"data-tip":!0,"aria-label":!0,href:!0});var r=y(e);l=w(r,"SPAN",{class:!0}),y(l).forEach(p),r.forEach(p),this.h()},h(){n(l,"class","i-uil-github !w-8 !h-8 mr-1 fill-current inline-block hover:text-violet-500"),n(e,"class","text-sm transition tooltip tooltip-secondary hover:text-secondary"),n(e,"target","_blank"),n(e,"rel","noopener noreferrer"),n(e,"data-tip","Github"),n(e,"aria-label","Github"),n(e,"href","https://github.com/"+V.author.github)},m(t,r){I(t,e,r),b(e,l)},p:L,d(t){t&&p(e)}}}function Re(s){let e,l,t,r=V.author.pgp.text+"",o;return{c(){e=x("a"),l=x("span"),t=D(),o=A(r),this.h()},l(i){e=w(i,"A",{href:!0,rel:!0,class:!0});var a=y(e);l=w(a,"SPAN",{class:!0}),y(l).forEach(p),t=P(a),o=M(a,r),a.forEach(p),this.h()},h(){n(l,"class","i-heroicons-solid-key !w-4 !h-4 mr-1"),n(e,"href",V.author.pgp.link),n(e,"rel","pgpkey"),n(e,"class","mt-4 font-mono rounded-full btn btn-ghost btn-xs bg-base-300")},m(i,a){I(i,e,a),b(e,l),b(e,t),b(e,o)},p:L,d(i){i&&p(e)}}}function qe(s){let e,l,t=V.title+"",r,o,i,a,u,m=V.author.name+"",_,d,g,k=V.author.bio+"",S,c,v,f,E,h,$,z,G,U,q=Ge(),O=V.author.email&&je(),j=V.author.github&&Fe(),F=V.author.pgp&&Re();return{c(){e=x("div"),l=x("a"),r=A(t),o=D(),q&&q.c(),i=D(),a=x("div"),u=x("h1"),_=A(m),d=D(),g=x("p"),S=D(),c=x("p"),v=x("a"),f=x("span"),E=D(),h=x("a"),$=x("span"),z=D(),O&&O.c(),G=D(),j&&j.c(),U=D(),F&&F.c(),this.h()},l(R){e=w(R,"DIV",{class:!0});var B=y(e);l=w(B,"A",{href:!0,class:!0,rel:!0});var oe=y(l);r=M(oe,t),oe.forEach(p),o=P(B),q&&q.l(B),i=P(B),a=w(B,"DIV",{class:!0});var C=y(a);u=w(C,"H1",{class:!0});var ne=y(u);_=M(ne,m),ne.forEach(p),d=P(C),g=w(C,"P",{class:!0});var Ie=y(g);Ie.forEach(p),S=P(C),c=w(C,"P",{class:!0});var J=y(c);v=w(J,"A",{class:!0,target:!0,rel:!0,"data-tip":!0,"aria-label":!0,href:!0});var fe=y(v);f=w(fe,"SPAN",{class:!0}),y(f).forEach(p),fe.forEach(p),E=P(J),h=w(J,"A",{class:!0,target:!0,rel:!0,"data-tip":!0,"aria-label":!0,href:!0});var ue=y(h);$=w(ue,"SPAN",{class:!0}),y($).forEach(p),ue.forEach(p),z=P(J),O&&O.l(J),G=P(J),j&&j.l(J),J.forEach(p),U=P(C),F&&F.l(C),C.forEach(p),B.forEach(p),this.h()},h(){n(l,"href",V.protocol+V.domain),n(l,"class","hidden u-url"),n(l,"rel","me"),n(u,"class","mt-0 mb-2 text-3xl font-bold p-name"),n(g,"class","opacity-75 p-note"),n(f,"class","i-ic-round-bookmark-border !w-8 !h-8 mr-1 fill-current inline-block hover:text-lime-500"),n(v,"class","text-sm transition tooltip tooltip-secondary hover:text-secondary"),n(v,"target","_blank"),n(v,"rel","noopener noreferrer"),n(v,"data-tip","Bookmark"),n(v,"aria-label","Bookmark"),n(v,"href","https://airtable.com/shrpftxf6JgRomP2X"),n($,"class","i-ic-twotone-rss-feed !w-8 !h-8 mr-1 fill-current inline-block hover:text-lime-500"),n(h,"class","text-sm transition tooltip tooltip-secondary hover:text-secondary"),n(h,"target","_blank"),n(h,"rel","noopener noreferrer"),n(h,"data-tip","RSS"),n(h,"aria-label","RSS"),n(h,"href","/atom.xml"),n(c,"class","pt-3 space-x-3"),n(a,"class","flex-1 my-auto text-right"),n(e,"class","sticky flex flex-row gap-4 xl:flex-col top-24 card card-body items-right h-card")},m(R,B){I(R,e,B),b(e,l),b(l,r),b(e,o),q&&q.m(e,null),b(e,i),b(e,a),b(a,u),b(u,_),b(a,d),b(a,g),g.innerHTML=k,b(a,S),b(a,c),b(c,v),b(v,f),b(c,E),b(c,h),b(h,$),b(c,z),O&&O.m(c,null),b(c,G),j&&j.m(c,null),b(a,U),F&&F.m(a,null)},p(R,[B]){V.author.email&&O.p(R,B),V.author.github&&j.p(R,B),V.author.pgp&&F.p(R,B)},i:L,o:L,d(R){R&&p(e),q&&q.d(),O&&O.d(),j&&j.d(),F&&F.d()}}}class Ce extends ye{constructor(e){super(),Ee(this,e,null,qe,ae,{})}}function de(s,e,l){var o;const t=s.slice();t[9]=e[l],t[12]=l;const r=new Date((o=t[9].published)!=null?o:t[9].created).getFullYear();return t[10]=r,t}function he(s,e,l){const t=s.slice();return t[13]=e[l],t[15]=l,t}function me(s,e,l){const t=s.slice();return t[13]=e[l],t}function _e(s){let e,l=s[2],t=[];for(let r=0;r{d&&d.end(1),_=Z(e,T,{x:100,duration:300,delay:500}),_.start()}),g=!0)},o(f){_&&_.invalidate(),d=X(e,T,{x:-100,duration:300}),g=!1},d(f){f&&p(e),se(v,f),f&&d&&d.end(),k=!1,S()}}}function be(s){let e;return{c(){e=A(",")},l(l){e=M(l,",")},m(l,t){I(l,e,t)},d(l){l&&p(e)}}}function ge(s){let e,l=s[13]+"",t,r,o,i=s[15]+1{o&&o.end(1),r=Z(e,T,{x:s[12]%2?100:-100,duration:300,delay:500}),r.start()}),i=!0)},o(a){r&&r.invalidate(),o=X(e,T,{x:s[12]%2?-100:100,duration:300}),i=!1},d(a){a&&p(e),a&&o&&o.end()}}}function xe(s){let e=!s[4].includes(s[10]),l,t,r,o,i,a,u,m=e&&ke(s);return r=new He({props:{post:s[9],preview:!0,loading:s[12]<5?"eager":"lazy",decoding:s[12]<5?"auto":"async"}}),{c(){m&&m.c(),l=D(),t=x("div"),Q(r.$$.fragment),o=D(),this.h()},l(_){m&&m.l(_),l=P(_),t=w(_,"DIV",{class:!0});var d=y(t);W(r.$$.fragment,d),o=P(d),d.forEach(p),this.h()},h(){n(t,"class","rounded-box transition-all duration-500 ease-in-out hover:z-30 hover:shadow-lg md:shadow-xl md:hover:shadow-2xl md:hover:-translate-y-0.5")},m(_,d){m&&m.m(_,d),I(_,l,d),I(_,t,d),ee(r,t,null),b(t,o),u=!0},p(_,d){d&17&&(e=!_[4].includes(_[10])),e?m?(m.p(_,d),d&17&&N(m,1)):(m=ke(_),m.c(),N(m,1),m.m(l.parentNode,l)):m&&(re(),H(m,1,1,()=>{m=null}),te());const g={};d&1&&(g.post=_[9]),r.$set(g)},i(_){u||(N(m),N(r.$$.fragment,_),K(()=>{a&&a.end(1),i=Z(t,T,{x:s[12]%2?100:-100,duration:300,delay:500}),i.start()}),u=!0)},o(_){H(m),H(r.$$.fragment,_),i&&i.invalidate(),a=X(t,T,{x:s[12]%2?-100:100,duration:300}),u=!1},d(_){m&&m.d(_),_&&p(l),_&&p(t),le(r),_&&a&&a.end()}}}function we(s){let e,l,t,r,o,i,a,u,m,_,d=s[3]&&s[0].length===0&&ve(s),g=s[0],k=[];for(let c=0;cH(k[c],1,1,()=>{k[c]=null});return a=new Be({}),{c(){d&&d.c(),e=D(),l=x("main");for(let c=0;c