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]="7123ff60-5af9-4088-b62e-742b995021c6",e._sentryDebugIdIdentifier="sentry-dbid-7123ff60-5af9-4088-b62e-742b995021c6")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1495],{5304:(e,t,r)=>{"use strict";r.d(t,{default:()=>x});var s=r(48958),l=r(15751),a=r(53172),n=r(77668),o=r(24986),i=r(93553),d=r(83982);let c="text-xs text-nowrap rounded-md px-1 py-0.5",m=(0,d.memo)(e=>{let{stars:t,index:r}=e,l=((e,t)=>e>=2?{text:"Most popular",className:"".concat(c," text-rose-600 border border-rose-600")}:e>=1||0===t&&e>0?{text:"Popular",className:"".concat(c," text-orange-500 border border-orange-500")}:0===e&&0===t?{text:"Most recent",className:"".concat(c," text-orange-500 border border-orange-500")}:null)(t,r);return l?(0,s.jsx)("span",{className:l.className,children:l.text}):null});function u(e){let{tags:t}=e;return(0,s.jsx)("div",{className:"flex flex-wrap space-x-1 justify-end",children:t.map(e=>(0,s.jsxs)("span",{className:"text-xs text-muted",children:["#",e]},e))})}function x(e){let{post:t,index:r}=e,{title:d,slug:c,stars:x,description:h,date:f,tags:b}=t;return(0,s.jsx)("div",{className:"mx-auto w-full md:max-w-[48%] 2xl:max-w-[31%]",children:(0,s.jsxs)(l.Z,{as:a.h,href:"/posts/".concat(c),classNames:{base:"no-button-style z-0 p-2 w-full min-w-64 cursor-pointer border border-gray-200 rounded-lg shadow-lg"},children:[(0,s.jsx)(n.d,{className:"py-1 md:py-2 lg:py-3",children:(0,s.jsxs)("div",{className:"w-full flex justify-between items-start",children:[(0,s.jsx)("span",{className:"text-left text-balance font-semibold",children:d}),(0,s.jsx)("div",{className:"flex justify-end mt-1 ml-2",children:(0,s.jsx)(m,{stars:x,index:r})})]})}),(0,s.jsx)(o.U,{className:"py-2",children:(0,s.jsx)("span",{className:"text-sm text-gray-500",children:h})}),(0,s.jsxs)(i.Z,{className:"flex justify-between items-center py-1 md:py-2 lg:py-3",children:[(0,s.jsx)("span",{className:"text-xs text-muted min-w-20",children:f}),(0,s.jsx)(u,{tags:b})]})]})})}m.displayName="BlogpostCardTitle"},8753:(e,t,r)=>{"use strict";r.d(t,{ContactModalButton:()=>o});var s=r(48958),l=r(83982),a=r(53022);let n=(0,r(29769).default)(()=>Promise.all([r.e(5785),r.e(8865),r.e(4917)]).then(r.bind(r,24917)).then(e=>({default:e.ContactModal})),{loadableGenerated:{webpack:()=>[24917]},loading:()=>null}),o=(0,l.memo)(e=>{let{children:t,className:r}=e,[o,i]=(0,l.useState)(!1);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.T,{onPress:()=>i(!0),className:r,color:"primary",size:"lg",children:t}),(0,s.jsx)(n,{isOpen:o,onOpenChange:()=>i(!1)})]})});o.displayName="ContactModalButton"},14916:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var s=r(83982);function l(e){let{maxWidth:t,minScale:r=.1,debounceMs:l=100}=e,[a,n]=(0,s.useState)(1),o=(0,s.useRef)(void 0),i=(0,s.useCallback)(()=>{n(Math.min(.95,Math.max(r,window.innerWidth/t)))},[t,r]);return(0,s.useEffect)(()=>{let e=()=>o.current&&clearTimeout(o.current),t=()=>{e(),o.current=setTimeout(i,l)};return i(),window.addEventListener("resize",t,{passive:!0}),()=>{e(),window.removeEventListener("resize",t)}},[i,l]),a}},32866:(e,t,r)=>{"use strict";r.d(t,{BookImage:()=>a});var s=r(83982),l=r(62467);let a=(0,s.memo)(e=>{let{maxRetries:t=3,retryDelay:r=1e3,priority:a=!1,sizes:n="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",placeholder:o="empty",blurDataURL:i,...d}=e,[c,m]=(0,s.useState)(0),u=c{if(!u||0===c)return;let e=setTimeout(()=>m(0),r);return()=>clearTimeout(e)},[c,r,u]);let x=(0,s.useCallback)(()=>{u&&m(e=>e+1)},[u]);return(0,s.createElement)(l.default,{...d,key:c,onError:x,priority:a,sizes:n,placeholder:o,blurDataURL:i,alt:d.alt||"Book cover image",quality:85})});a.displayName="BookImage"},42997:(e,t,r)=>{"use strict";r.d(t,{ReviewCard:()=>u});var s=r(48958),l=r(62467),a=r(83982);let n=(0,a.memo)(function(e){var t;let{author:r}=e;if(!r)return null;let a=null==(t=r.image)?void 0:t.trim(),n=(null==a?void 0:a.startsWith("/"))?a:a?"/".concat(a):void 0;return(0,s.jsxs)("div",{className:"flex mx-auto items-center",children:[n&&(0,s.jsx)("div",{className:"w-8 h-8 rounded-full border border-slate-400 overflow-hidden shrink-0",children:(0,s.jsx)(l.default,{src:n,alt:"Avatar of ".concat(r.name),width:30,height:30,sizes:"32px",quality:85,className:"w-full h-full object-cover"})}),(0,s.jsxs)("div",{className:"".concat(n?"ml-2":""),children:[(0,s.jsx)("p",{className:"my-0 text-xs",children:r.name}),r.description&&(0,s.jsx)("p",{className:"my-0 text-[10px] leading-3 text-slate-500",children:r.description})]})]})});var o=r(90048);let i={active:"text-yellow-400 fill-yellow-400",inactive:"text-gray-300",base:"w-5 h-5"},d=(0,a.memo)(function(e){let{rating:t,maxStars:r=5}=e;return(0,s.jsx)("div",{className:"flex mx-auto mb-2",role:"img","aria-label":"".concat(t," out of ").concat(r," stars"),children:Array.from({length:r},(e,r)=>(0,s.jsx)(o.A,{className:"".concat(i.base," ").concat(r{if("carousel"!==a)return"text-xs";let t=e.length;return t>200?"text-[10px]":t>150?"text-[11px]":"text-xs"})(x);return(0,s.jsx)("div",{className:u,children:(0,s.jsxs)("div",{className:"flex flex-col gap-4 justify-center h-full",children:[r&&"number"==typeof t.rating&&(0,s.jsx)("div",{className:"mx-auto justify-center",role:"complementary","aria-label":"Review rating: ".concat(t.rating," stars"),children:(0,s.jsx)(d,{rating:t.rating})}),(0,s.jsx)("blockquote",{className:"text-center ".concat(h," font-bold m-0 leading-tight"),children:x?'"'.concat(x,'"'):""}),t.author&&(0,s.jsx)(n,{author:t.author})]})})})},51499:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,72807,23)),Promise.resolve().then(r.t.bind(r,44320,23)),Promise.resolve().then(r.bind(r,5304)),Promise.resolve().then(r.bind(r,32866)),Promise.resolve().then(r.bind(r,45984)),Promise.resolve().then(r.bind(r,8753)),Promise.resolve().then(r.bind(r,88480)),Promise.resolve().then(r.bind(r,35982))},88480:(e,t,r)=>{"use strict";r.d(t,{LogoReel:()=>m});var s=r(48958),l=r(83982);let a=e=>{let{side:t,className:r,width:l}=e;return(0,s.jsx)("div",{className:"".concat(r," ").concat(l," ").concat(t,"-0 bg-gradient-to-").concat("left"===t?"r":"l"," from-white to-transparent"),"aria-hidden":"true"})},n=(0,l.memo)(function(e){let{width:t}=e,r="absolute top-0 bottom-0 pointer-events-none";return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a,{side:"left",className:r,width:t}),(0,s.jsx)(a,{side:"right",className:r,width:t})]})});var o=r(62467),i=r(14916);let d={width:100,height:50},c=(0,l.memo)(function(e){let{logo:t,index:r}=e;return(0,s.jsx)("div",{className:"shrink-0 mx-4",children:(0,s.jsx)(o.default,{src:t.src,alt:t.alt,width:d.width,height:d.height,sizes:"(max-width: 768px) 100px, 100px",quality:85,className:"h-12 w-auto object-contain",onError:e=>{e.target.style.display="none"}})})}),m=(0,l.memo)(function(e){let{logos:t}=e,r=(0,l.useRef)(null),a=Array.isArray(t)&&t.length>0,o=a?Array.from({length:4},()=>t).flat():[],m=a?d.width*t.length*4:0,u=(0,i.A)({maxWidth:m}),x=(0,l.useCallback)(()=>{let e=r.current;if(!e)return;let t=e.scrollWidth;e.style.setProperty("--scroll-width","".concat(t,"px"))},[]);return((0,l.useEffect)(()=>{var e;if(!a)return;x();let t=()=>{requestAnimationFrame(x)};window.addEventListener("resize",t);let s=null==(e=r.current)?void 0:e.getElementsByTagName("img");return s&&Promise.all(Array.from(s).map(e=>e.complete||new Promise(t=>{e.onload=t,e.onerror=t}))).then(x),()=>window.removeEventListener("resize",t)},[x,a]),a)?(0,s.jsxs)("div",{className:"w-[95vw] max-w-full overflow-hidden bg-white mt-4 relative",children:[(0,s.jsx)("div",{className:"flex animate-scroll max-w-full",ref:r,style:{transform:"scale(".concat(u,")"),transformOrigin:"left center"},role:"marquee","aria-label":"Logo reel",children:o.map((e,t)=>(0,s.jsx)(c,{logo:e,index:t},"logo-".concat(e.alt,"-").concat(t)))}),(0,s.jsx)(n,{width:"w-24"})]}):null})}}]);