try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4caca9a6-a13a-47ab-b4bf-79cf3262efd2",e._sentryDebugIdIdentifier="sentry-dbid-4caca9a6-a13a-47ab-b4bf-79cf3262efd2")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[803],{1343:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(14213).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},10771:(e,t,r)=>{"use strict";r.d(t,{BlogListWithFilter:()=>m});var a=r(36685),l=r(18937),n=r(87847),s=r(92586),o=r.n(s);function i(e){return e.split("-").map(e=>{let t=e.toLowerCase();return"and"===t?t:t.charAt(0).toUpperCase()+t.slice(1)}).join(" ")}let d={container:"max-h-[180px] md:max-h-[700px] overflow-y-auto",header:"absolute top-0 left-0 right-0 bg-white text-center text-sm font-semibold text-gray-600 mb-2",tagList:"flex flex-wrap items-center justify-center gap-2 overflow-y-auto pt-6",tag:"text-center capitalize p-1 items-center rounded-full text-tiny h-6 mb-0 bg-gray-200 px-2 py-1 hover:bg-gray-300 text-gray-600 no-underline",filterText:"text-center text-sm text-gray-400 mb-4",clearLink:"text-focus hover:underline"},u=(0,l.memo)(e=>{let{tagFilter:t}=e;return(0,a.jsxs)("p",{className:d.filterText,children:["Showing posts tagged with:"," ",(0,a.jsx)("span",{className:"font-semibold",children:t})," ",(0,a.jsx)(o(),{href:"/blog",className:d.clearLink,children:"(clear filter)"})]})}),c=(0,l.memo)(e=>{let{tags:t}=e;return(0,a.jsxs)("div",{className:d.container,children:[(0,a.jsx)("p",{className:d.header,children:"Filter by tag:"}),(0,a.jsx)("div",{className:d.tagList,children:t.sort((e,t)=>t.count-e.count).map(e=>(0,a.jsx)(f,{...e},e.tag))})]})}),f=(0,l.memo)(e=>{let{tag:t,count:r}=e;return(0,a.jsxs)(o(),{href:"/blog?tag=".concat(t),className:d.tag,children:[i(t).length>20?"".concat(i(t).substring(0,20),"..."):i(t)," ","(",r,")"]})});u.displayName="FilterAppliedText",c.displayName="FilterNotAppliedText",f.displayName="TagLink";var p=r(99807);let b=e=>{let{children:t,isMobile:r}=e;return(0,a.jsx)("div",{className:r?"md:hidden":"hidden md:block",children:(0,a.jsx)("div",{className:"".concat("border border-gray-400 shadow-lg bg-white rounded-lg"," ").concat(r?"fixed bottom-0 right-0 z-20 mx-4 my-2 p-2":"sticky top-20 w-96 m-1 mt-4 p-2 z-20"),children:(0,a.jsx)("div",{className:"relative",children:t})})})};function m(e){let{posts:t,tags:r,initialTag:s}=e,o=(0,p.useSearchParams)(),[i,d]=(0,l.useState)(t),[f,m]=(0,l.useState)(s);(0,l.useEffect)(()=>{let e=null==o?void 0:o.get("tag");m(e||""),d(function(e,t){if(!Array.isArray(e)||!e.length)return[];if(!t)return e;let r=new Set((Array.isArray(t)?t:[t]).map(e=>e.toLowerCase())),a=e.length,l=[];for(let t=0;t{"use strict";r.d(t,{f:()=>l,u:()=>a});var[a,l]=(0,r(8575).q)({name:"CardContext",strict:!0,errorMessage:"useCardContext: `context` is undefined. Seems you forgot to wrap component within "})},14213:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(18937);let l=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase()),s=e=>{let t=n(e);return t.charAt(0).toUpperCase()+t.slice(1)},o=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()},i=e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};var d={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let u=(0,a.forwardRef)((e,t)=>{let{color:r="currentColor",size:l=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:u="",children:c,iconNode:f,...p}=e;return(0,a.createElement)("svg",{ref:t,...d,width:l,height:l,stroke:r,strokeWidth:s?24*Number(n)/Number(l):n,className:o("lucide",u),...!c&&!i(p)&&{"aria-hidden":"true"},...p},[...f.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),c=(e,t)=>{let r=(0,a.forwardRef)((r,n)=>{let{className:i,...d}=r;return(0,a.createElement)(u,{ref:n,iconNode:t,className:o("lucide-".concat(l(s(e))),"lucide-".concat(e),i),...d})});return r.displayName=s(e),r}},14797:(e,t,r)=>{"use strict";r.d(t,{m:()=>h});var a=r(28579),l=r(18937),n=r(49669),s=r(50033),o=r(23553),i=r(12108),d=r(63411),u=r(24294),c=r(37626),f=r(90252),p=r(71227),b=r(17333),m=r(74586);function h(e){var t,r,h,x;let g=(0,u.o)(),[y,v]=(0,c.rE)(e,a.N.variantKeys),{ref:w,as:j,children:N,onClick:k,onPress:C,autoFocus:P,className:L,classNames:A,allowTextSelectionOnPress:S=!0,..._}=y,T=(0,b.zD)(w),M=j||(e.isPressable?"button":"div"),E="string"==typeof M,I=null!=(r=null!=(t=e.disableAnimation)?t:null==g?void 0:g.disableAnimation)&&r,D=null!=(x=null!=(h=e.disableRipple)?h:null==g?void 0:g.disableRipple)&&x,O=(0,f.$z)(null==A?void 0:A.base,L),{onClear:z,onPress:R,ripples:U}=(0,m.k)(),B=(0,l.useCallback)(e=>{D||I||T.current&&R(e)},[D,I,T,R]),{buttonProps:F,isPressed:H}=(0,d.l)({onPress:(0,n.c)(C,B),elementType:j,isDisabled:!e.isPressable,onClick:k,allowTextSelectionOnPress:S,..._},T),{hoverProps:$,isHovered:K}=(0,i.M)({isDisabled:!e.isHoverable,..._}),{isFocusVisible:W,isFocused:q,focusProps:Z}=(0,o.o)({autoFocus:P}),V=(0,l.useMemo)(()=>(0,a.N)({...v,disableAnimation:I}),[(0,f.t6)(v),I]),Y=(0,l.useMemo)(()=>({slots:V,classNames:A,disableAnimation:I,isDisabled:e.isDisabled,isFooterBlurred:e.isFooterBlurred,fullWidth:e.fullWidth}),[V,A,e.isDisabled,e.isFooterBlurred,I,e.fullWidth]),G=(0,l.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:T,className:V.base({class:O}),tabIndex:e.isPressable?0:-1,"data-hover":(0,f.sE)(K),"data-pressed":(0,f.sE)(H),"data-focus":(0,f.sE)(q),"data-focus-visible":(0,f.sE)(W),"data-disabled":(0,f.sE)(e.isDisabled),...(0,s.v)(e.isPressable?{...F,...Z,role:"button"}:{},e.isHoverable?$:{},(0,p.$)(_,{enabled:E}),(0,p.$)(t))}},[T,V,O,E,e.isPressable,e.isHoverable,e.isDisabled,K,H,W,F,Z,$,_]),J=(0,l.useCallback)(()=>({ripples:U,onClear:z}),[U,z]);return{context:Y,domRef:T,Component:M,classNames:A,children:N,isHovered:K,isPressed:H,disableAnimation:I,isPressable:e.isPressable,isHoverable:e.isHoverable,disableRipple:D,handlePress:B,isFocusVisible:W,getCardProps:G,getRippleProps:J}}},15321:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var a=r(11925),l=r(14797),n=r(37626),s=r(85248),o=r(36685),i=(0,n.Rf)((e,t)=>{let{children:r,context:n,Component:i,isPressable:d,disableAnimation:u,disableRipple:c,getCardProps:f,getRippleProps:p}=(0,l.m)({...e,ref:t});return(0,o.jsxs)(i,{...f(),children:[(0,o.jsx)(a.u,{value:n,children:r}),d&&!u&&!c&&(0,o.jsx)(s.j,{...p()})]})});i.displayName="HeroUI.Card";var d=i},16238:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return l}});let a=r(18937);function l(e,t){let r=(0,a.useRef)(null),l=(0,a.useRef)(null);return(0,a.useCallback)(a=>{if(null===a){let e=r.current;e&&(r.current=null,e());let t=l.current;t&&(l.current=null,t())}else e&&(r.current=n(e,a)),t&&(l.current=n(t,a))},[e,t])}function n(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19112:(e,t,r)=>{"use strict";r.d(t,{Y:()=>p});let a=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),l=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);var n=r(18937),s=r(4598);let o=Symbol.for("react-aria.i18n.locale");function i(){let e="undefined"!=typeof window&&window[o]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:!function(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),r="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(r)return"rtl"===r.direction;if(t.script)return a.has(t.script)}let t=e.split("-")[0];return l.has(t)}(e)?"ltr":"rtl"}}let d=i(),u=new Set;function c(){for(let e of(d=i(),u))e(d)}let f=n.createContext(null);function p(){let e=function(){let e=(0,s.wR)(),[t,r]=(0,n.useState)(d);return((0,n.useEffect)(()=>(0===u.size&&window.addEventListener("languagechange",c),u.add(r),()=>{u.delete(r),0===u.size&&window.removeEventListener("languagechange",c)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}();return(0,n.useContext)(f)||e}},23967:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(14213).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},28579:(e,t,r)=>{"use strict";r.d(t,{N:()=>n});var a=r(36940),l=r(81732),n=(0,a.tv)({slots:{base:["flex","flex-col","relative","overflow-hidden","h-auto","outline-none","text-foreground","box-border","bg-content1",...l.zb],header:["flex","p-3","z-10","w-full","justify-start","items-center","shrink-0","overflow-inherit","color-inherit","subpixel-antialiased"],body:["relative","flex","flex-1","w-full","p-3","flex-auto","flex-col","place-content-inherit","align-items-inherit","h-auto","break-words","text-left","overflow-y-auto","subpixel-antialiased"],footer:["p-3","h-auto","flex","w-full","items-center","overflow-hidden","color-inherit","subpixel-antialiased"]},variants:{shadow:{none:{base:"shadow-none"},sm:{base:"shadow-small"},md:{base:"shadow-medium"},lg:{base:"shadow-large"}},radius:{none:{base:"rounded-none",header:"rounded-none",footer:"rounded-none"},sm:{base:"rounded-small",header:"rounded-t-small",footer:"rounded-b-small"},md:{base:"rounded-medium",header:"rounded-t-medium",footer:"rounded-b-medium"},lg:{base:"rounded-large",header:"rounded-t-large",footer:"rounded-b-large"}},fullWidth:{true:{base:"w-full"}},isHoverable:{true:{base:"data-[hover=true]:bg-content2 dark:data-[hover=true]:bg-content2"}},isPressable:{true:{base:"cursor-pointer"}},isBlurred:{true:{base:["bg-background/80","dark:bg-background/20","backdrop-blur-md","backdrop-saturate-150"]}},isFooterBlurred:{true:{footer:["bg-background/10","backdrop-blur","backdrop-saturate-150"]}},isDisabled:{true:{base:"opacity-disabled cursor-not-allowed"}},disableAnimation:{true:"",false:{base:"transition-transform-background motion-reduce:transition-none"}}},compoundVariants:[{isPressable:!0,class:"data-[pressed=true]:scale-[0.97] tap-highlight-transparent"}],defaultVariants:{radius:"lg",shadow:"md",fullWidth:!1,isHoverable:!1,isPressable:!1,isDisabled:!1,isFooterBlurred:!1}})},33548:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},53993:(e,t,r)=>{"use strict";r.d(t,{b:()=>l});var a=r(44470);function l(e,t){let{id:r,"aria-label":l,"aria-labelledby":n}=e;return r=(0,a.Bi)(r),n&&l?n=[...new Set([r,...n.trim().split(/\s+/)])].join(" "):n&&(n=n.trim().split(/\s+/).join(" ")),l||n||!t||(l=t),{id:r,"aria-label":l,"aria-labelledby":n}}},79711:(e,t,r)=>{"use strict";r.d(t,{M:()=>n});var a=r(44470),l=r(53993);function n(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":s,labelElementType:o="label"}=e;t=(0,a.Bi)(t);let i=(0,a.Bi)(),d={};return r&&(n=n?`${i} ${n}`:i,d={id:i,htmlFor:"label"===o?t:void 0}),{labelProps:d,fieldProps:(0,l.b)({id:t,"aria-label":s,"aria-labelledby":n})}}},85060:(e,t,r)=>{"use strict";r.d(t,{U:()=>d});var a=r(11925),l=r(37626),n=r(17333),s=r(90252),o=r(36685),i=(0,l.Rf)((e,t)=>{var r;let{as:l,className:i,children:d,...u}=e,c=(0,n.zD)(t),{slots:f,classNames:p}=(0,a.f)(),b=(0,s.$z)(null==p?void 0:p.body,i);return(0,o.jsx)(l||"div",{ref:c,className:null==(r=f.body)?void 0:r.call(f,{class:b}),...u,children:d})});i.displayName="HeroUI.CardBody";var d=i},87049:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,92586,23)),Promise.resolve().then(r.bind(r,10771)),Promise.resolve().then(r.bind(r,97588))},87847:(e,t,r)=>{"use strict";r.d(t,{z:()=>d});var a=r(36685),l=r(1343),n=r(23967),s=r(93890),o=r(92586),i=r.n(o);let d=e=>{let{posts:t,style:r="cards",forceSubscribeInvite:o=!1}=e,d=o||t.length<3;return(0,a.jsxs)("div",{className:"flex flex-col gap-4 justify-center",children:[(0,a.jsx)("div",{className:"container mx-4 ".concat("cards"===r?"my-4":"my-0"," mx-auto flex flex-wrap gap-4 justify-center"),children:"cards"===r?t.map((e,t)=>(0,a.jsx)(s.default,{post:e,index:t},e.slug)):(0,a.jsx)("div",{className:"flex flex-col gap-2",children:t.map(e=>(0,a.jsxs)("div",{className:"flex flex-row items-center my-0",children:[e.stars>1&&(0,a.jsx)(l.A,{className:"w-4 h-4 mr-2 text-yellow-500 fill-yellow-500"}),(0,a.jsxs)(i(),{href:"/posts/".concat(e.slug),className:"flex flex-row items-center text-gray-600 hover:scale-100 no-underline",children:[e.title,(0,a.jsx)(n.A,{className:"w-4 h-4 ml-2 text-gray-600"})]})]},e.slug))})}),(0,a.jsxs)("footer",{className:"flex flex-col gap-2",children:[d&&(0,a.jsxs)("p",{className:"text-tiny text-gray-400 text-center text-balance !my-0",children:["I will add more posts soon (subscribe to"," ",(0,a.jsx)(i(),{href:"/newsletter",children:"my newsletter"})," to be notified)."]}),(0,a.jsxs)("p",{className:"text-tiny text-gray-400 text-center text-balance !my-0",children:["Click ",(0,a.jsx)(i(),{href:"/blog",children:"here"})," to view all of my posts."]})]})]})}},92586:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return h},useLinkStatus:function(){return g}});let a=r(80180),l=r(36685),n=a._(r(18937)),s=r(15029),o=r(51979),i=r(80522),d=r(16238),u=r(26423),c=r(91193);r(79214);let f=r(16178),p=r(50152),b=r(3642);function m(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}function h(e){let t,r,a,[s,h]=(0,n.useOptimistic)(f.IDLE_LINK_STATUS),g=(0,n.useRef)(null),{href:y,as:v,children:w,prefetch:j=null,passHref:N,replace:k,shallow:C,scroll:P,onClick:L,onMouseEnter:A,onTouchStart:S,legacyBehavior:_=!1,onNavigate:T,ref:M,unstable_dynamicOnHover:E,...I}=e;t=w,_&&("string"==typeof t||"number"==typeof t)&&(t=(0,l.jsx)("a",{children:t}));let D=n.default.useContext(o.AppRouterContext),O=!1!==j,z=null===j?i.PrefetchKind.AUTO:i.PrefetchKind.FULL,{href:R,as:U}=n.default.useMemo(()=>{let e=m(y);return{href:e,as:v?m(v):e}},[y,v]);_&&(r=n.default.Children.only(t));let B=_?r&&"object"==typeof r&&r.ref:M,F=n.default.useCallback(e=>(null!==D&&(g.current=(0,f.mountLinkInstance)(e,R,D,z,O,h)),()=>{g.current&&((0,f.unmountLinkForCurrentNavigation)(g.current),g.current=null),(0,f.unmountPrefetchableInstance)(e)}),[O,R,D,z,h]),H={ref:(0,d.useMergedRef)(F,B),onClick(e){_||"function"!=typeof L||L(e),_&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),D&&(e.defaultPrevented||function(e,t,r,a,l,s,o){let{nodeName:i}=e.currentTarget;if(!("A"===i.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,p.isLocalURL)(t)){l&&(e.preventDefault(),location.replace(t));return}e.preventDefault(),n.default.startTransition(()=>{if(o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}(0,b.dispatchNavigateAction)(r||t,l?"replace":"push",null==s||s,a.current)})}}(e,R,U,g,k,P,T))},onMouseEnter(e){_||"function"!=typeof A||A(e),_&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),D&&O&&(0,f.onNavigationIntent)(e.currentTarget,!0===E)},onTouchStart:function(e){_||"function"!=typeof S||S(e),_&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),D&&O&&(0,f.onNavigationIntent)(e.currentTarget,!0===E)}};return(0,u.isAbsoluteUrl)(U)?H.href=U:_&&!N&&("a"!==r.type||"href"in r.props)||(H.href=(0,c.addBasePath)(U)),a=_?n.default.cloneElement(r,H):(0,l.jsx)("a",{...I,...H,children:t}),(0,l.jsx)(x.Provider,{value:s,children:a})}r(33548);let x=(0,n.createContext)(f.IDLE_LINK_STATUS),g=()=>(0,n.useContext)(x);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},93890:(e,t,r)=>{"use strict";r.d(t,{default:()=>h});var a=r(36685),l=r(15321),n=r(40414),s=r(1834),o=r(85060),i=r(60727),d=r(18937);let u="text-tiny text-nowrap rounded-md px-1 py-0.5",c=(e,t)=>e>=2?{text:"Most popular",className:"".concat(u," text-rose-600 border border-rose-600")}:e>=1||0===t&&e>0?{text:"Popular",className:"".concat(u," text-orange-500 border border-orange-500")}:0===e&&0===t?{text:"Most recent",className:"".concat(u," text-orange-500 border border-orange-500")}:null,f=(0,d.memo)(e=>{let{stars:t,index:r}=e,l=c(t,r);return l?(0,a.jsx)("span",{className:l.className,children:l.text}):null});f.displayName="BlogpostCardTitle";let p={container:"mx-auto w-full md:max-w-[48%] 2xl:max-w-[31%]",card:"no-button-style z-0 p-2 w-full min-w-64 cursor-pointer",header:"py-1 md:py-2 lg:py-3",headerContent:"w-full flex justify-between items-start",title:"text-left text-balance font-semibold",chipContainer:"flex justify-end mt-1 ml-2",body:"py-2",description:"text-sm text-gray-500",footer:"flex justify-between items-center py-1 md:py-2 lg:py-3",date:"text-tiny text-gray-400 min-w-20",tagContainer:"flex flex-wrap space-x-1 justify-end",tag:"text-tiny text-gray-400"},b=(0,d.memo)(e=>{let{tags:t}=e;return(0,a.jsx)("div",{className:p.tagContainer,children:t.map(e=>(0,a.jsxs)("span",{className:p.tag,children:["#",e]},e))})});b.displayName="Tags";let m=(0,d.memo)(e=>{let{post:t,index:r}=e,{title:d,slug:u,stars:c,description:m,date:h,tags:x}=t;return(0,a.jsx)("div",{className:p.container,children:(0,a.jsxs)(l.Z,{as:n.h,href:"/posts/".concat(u),classNames:{base:p.card},children:[(0,a.jsx)(s.d,{className:p.header,children:(0,a.jsxs)("div",{className:p.headerContent,children:[(0,a.jsx)("span",{className:p.title,children:d}),(0,a.jsx)("div",{className:p.chipContainer,children:(0,a.jsx)(f,{stars:c,index:r})})]})}),(0,a.jsx)(o.U,{className:p.body,children:(0,a.jsx)("span",{className:p.description,children:m})}),(0,a.jsxs)(i.Z,{className:p.footer,children:[(0,a.jsx)("span",{className:p.date,children:h}),(0,a.jsx)(b,{tags:x})]})]})})});m.displayName="BlogpostCard";let h=m},96389:(e,t,r)=>{"use strict";r.d(t,{$:()=>o});let a=new Set(["id"]),l=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),n=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),s=/^(data-.*)$/;function o(e,t={}){let{labelable:r,isLink:i,propNames:d}=t,u={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(a.has(t)||r&&l.has(t)||i&&n.has(t)||(null==d?void 0:d.has(t))||s.test(t))&&(u[t]=e[t]);return u}},97588:(e,t,r)=>{"use strict";r.d(t,{LoadingSpinner:()=>n});var a=r(36685),l=r(48856);function n(){return(0,a.jsx)(l.Y,{})}},99807:(e,t,r)=>{"use strict";var a=r(15719);r.o(a,"useParams")&&r.d(t,{useParams:function(){return a.useParams}}),r.o(a,"usePathname")&&r.d(t,{usePathname:function(){return a.usePathname}}),r.o(a,"useRouter")&&r.d(t,{useRouter:function(){return a.useRouter}}),r.o(a,"useSearchParams")&&r.d(t,{useSearchParams:function(){return a.useSearchParams}})}},e=>{var t=t=>e(e.s=t);e.O(0,[9867,1838,414,459,8299,7913,7358],()=>t(87049)),_N_E=e.O()}]);