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]="cfeb03b2-f41b-4512-a201-910d4a6cd7ca",e._sentryDebugIdIdentifier="sentry-dbid-cfeb03b2-f41b-4512-a201-910d4a6cd7ca")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6836],{1343:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(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"}]])},9052:(e,t,r)=>{"use strict";r.d(t,{ReviewCard:()=>p});var n=r(36685),l=r(22962),o=r(65839),a=r(53410),s=r(18937);let c=(0,s.memo)(function(e){var t;let{author:r}=e;if(!r)return null;let l=null==(t=r.image)?void 0:t.trim(),o=(null==l?void 0:l.startsWith("/"))?l:l?"/".concat(l):void 0;return(0,n.jsxs)("div",{className:"flex mx-auto items-center",children:[o&&(0,n.jsx)(a.Q,{size:"sm",src:o,alt:"Avatar of ".concat(r.name),className:"border border-slate-400"}),(0,n.jsxs)("div",{className:"".concat(o?"ml-2":""),children:[(0,n.jsx)("p",{className:"my-0 text-tiny",children:r.name}),r.description&&(0,n.jsx)("p",{className:"my-0 text-[10px] leading-3 text-slate-400",children:r.description})]})]})});var i=r(1343);let u={active:"text-yellow-400 fill-yellow-400",inactive:"text-gray-300",base:"w-5 h-5"},f=(0,s.memo)(function(e){let{rating:t,maxStars:r=5}=e;return(0,n.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,n.jsx)(i.A,{className:"".concat(u.base," ").concat(r{"use strict";r.d(t,{ReviewsCarousel:()=>u});var n=r(36685),l=r(18937),o=r(9052);let a=e=>{let[t,r]=(0,l.useState)(!1),n=(0,l.useRef)({x:0,scrollLeft:0}),o=(0,l.useCallback)(t=>{e.current&&(r(!0),n.current={x:"touches"in t?t.touches[0].clientX:t.clientX,scrollLeft:e.current.scrollLeft})},[e]),a=(0,l.useCallback)(()=>{r(!1)},[]),s=(0,l.useCallback)(r=>{if(!t||!e.current)return;r.preventDefault();let l="touches"in r?r.touches[0].clientX:r.clientX,o=n.current.x-l;e.current.scrollLeft=n.current.scrollLeft+o},[t,e]);return{isDragging:t,handleDragStart:o,handleDragEnd:a,handleDragMove:s}},s={SCROLL_AMOUNT:300},c=(0,l.memo)(function(e){let{review:t,showRating:r,isLast:l}=e;return(0,n.jsx)("div",{className:"w-48 md:w-64 flex-shrink-0 ".concat(l?"":"mr-4 md:mr-8"),children:(0,n.jsx)(o.ReviewCard,{review:t,showRating:r})})}),i=(0,l.memo)(function(e){let{direction:t,show:r,onClick:l}=e;return(0,n.jsx)("button",{onClick:l,className:"absolute ".concat(t,"-0 top-0 bottom-0 w-16 bg-transparent\n no-button-style shadow-none focus:ring-0 focus:outline-none active:bg-transparent \n border-none focus:border-none outline-none\n ").concat(r?"bg-gradient-".concat("left"===t?"to-r":"to-l"," from-white to-transparent"):"pointer-events-none"),"aria-label":"Scroll ".concat(t)})}),u=(0,l.memo)(function(e){let{reviews:t,showRatings:r,title:o="Some reviews",width:u,height:f}=e,d=(0,l.useRef)(null),[m,p]=(0,l.useState)(!1),[h,b]=(0,l.useState)(!0),v=(0,l.useCallback)(()=>{let e=d.current;if(!e)return;let{scrollLeft:t,scrollWidth:r,clientWidth:n}=e;p(t>0),b(t{let t=d.current;if(!t)return;let r="left"===e?-s.SCROLL_AMOUNT:s.SCROLL_AMOUNT;t.scrollBy({left:r,behavior:"smooth"})},[]),{isDragging:x,handleDragStart:w,handleDragEnd:y,handleDragMove:j}=a(d),C=(0,l.useCallback)(e=>{(null==e?void 0:e.currentTarget)&&(null==e?void 0:e.target)&&(e.persist(),j(e))},[j]),N=(0,l.useCallback)(e=>{(null==e?void 0:e.currentTarget)&&(null==e?void 0:e.target)&&(e.persist(),w(e))},[w]),k=(0,l.useCallback)(e=>{(null==e?void 0:e.currentTarget)&&(null==e?void 0:e.target)&&(e.persist(),y())},[y]),L=t.length<2,_=t.length<3&&"lg"===u;return(0,n.jsxs)("section",{className:"".concat("sm"===f?"mt-0 mb-0 p-0":""," section-separator"),children:[(0,n.jsx)("h3",{className:"text-2xl font-bold mb-4",children:o}),(0,n.jsxs)("div",{className:"w-full relative",children:[(0,n.jsx)("div",{className:"mx-auto mb-4 relative overflow-x-auto scrollbar-hide select-none\n max-w-[280px] sm:max-w-[380px] md:max-w-[420px] ".concat("lg"===u?"lg:max-w-[600px]":"","\n cursor-grab active:cursor-grabbing ").concat(L?"flex justify-center":""),ref:d,onScroll:v,onMouseDown:N,onMouseUp:k,onMouseLeave:k,onMouseMove:C,onTouchStart:N,onTouchEnd:k,onTouchMove:C,children:(0,n.jsx)("div",{className:"flex ".concat(_?"md:justify-center":""),children:t.map((e,l)=>(0,n.jsx)(c,{review:e,showRating:r,isLast:l===t.length-1},"review-".concat(l)))})}),(0,n.jsx)(i,{direction:"left",show:m,onClick:()=>g("left")}),(0,n.jsx)(i,{direction:"right",show:h,onClick:()=>g("right")})]})]})})},14213:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(18937);let l=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase()),a=e=>{let t=o(e);return t.charAt(0).toUpperCase()+t.slice(1)},s=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()},c=e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};var i={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,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:a,className:u="",children:f,iconNode:d,...m}=e;return(0,n.createElement)("svg",{ref:t,...i,width:l,height:l,stroke:r,strokeWidth:a?24*Number(o)/Number(l):o,className:s("lucide",u),...!f&&!c(m)&&{"aria-hidden":"true"},...m},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(f)?f:[f]])}),f=(e,t)=>{let r=(0,n.forwardRef)((r,o)=>{let{className:c,...i}=r;return(0,n.createElement)(u,{ref:o,iconNode:t,className:s("lucide-".concat(l(a(e))),"lucide-".concat(e),c),...i})});return r.displayName=a(e),r}},33548:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},38275:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,92586,23)),Promise.resolve().then(r.t.bind(r,84119,23)),Promise.resolve().then(r.bind(r,14141))},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 b},useLinkStatus:function(){return g}});let n=r(80180),l=r(36685),o=n._(r(18937)),a=r(15029),s=r(51979),c=r(80522),i=r(16238),u=r(26423),f=r(91193);r(79214);let d=r(16178),m=r(50152),p=r(3642);function h(e){return"string"==typeof e?e:(0,a.formatUrl)(e)}function b(e){let t,r,n,[a,b]=(0,o.useOptimistic)(d.IDLE_LINK_STATUS),g=(0,o.useRef)(null),{href:x,as:w,children:y,prefetch:j=null,passHref:C,replace:N,shallow:k,scroll:L,onClick:_,onMouseEnter:T,onTouchStart:A,legacyBehavior:M=!1,onNavigate:S,ref:O,unstable_dynamicOnHover:R,...E}=e;t=y,M&&("string"==typeof t||"number"==typeof t)&&(t=(0,l.jsx)("a",{children:t}));let U=o.default.useContext(s.AppRouterContext),P=!1!==j,I=null===j?c.PrefetchKind.AUTO:c.PrefetchKind.FULL,{href:D,as:K}=o.default.useMemo(()=>{let e=h(x);return{href:e,as:w?h(w):e}},[x,w]);M&&(r=o.default.Children.only(t));let W=M?r&&"object"==typeof r&&r.ref:O,X=o.default.useCallback(e=>(null!==U&&(g.current=(0,d.mountLinkInstance)(e,D,U,I,P,b)),()=>{g.current&&((0,d.unmountLinkForCurrentNavigation)(g.current),g.current=null),(0,d.unmountPrefetchableInstance)(e)}),[P,D,U,I,b]),z={ref:(0,i.useMergedRef)(X,W),onClick(e){M||"function"!=typeof _||_(e),M&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),U&&(e.defaultPrevented||function(e,t,r,n,l,a,s){let{nodeName:c}=e.currentTarget;if(!("A"===c.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,m.isLocalURL)(t)){l&&(e.preventDefault(),location.replace(t));return}e.preventDefault(),o.default.startTransition(()=>{if(s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}(0,p.dispatchNavigateAction)(r||t,l?"replace":"push",null==a||a,n.current)})}}(e,D,K,g,N,L,S))},onMouseEnter(e){M||"function"!=typeof T||T(e),M&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),U&&P&&(0,d.onNavigationIntent)(e.currentTarget,!0===R)},onTouchStart:function(e){M||"function"!=typeof A||A(e),M&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),U&&P&&(0,d.onNavigationIntent)(e.currentTarget,!0===R)}};return(0,u.isAbsoluteUrl)(K)?z.href=K:M&&!C&&("a"!==r.type||"href"in r.props)||(z.href=(0,f.addBasePath)(K)),n=M?o.default.cloneElement(r,z):(0,l.jsx)("a",{...E,...z,children:t}),(0,l.jsx)(v.Provider,{value:a,children:n})}r(33548);let v=(0,o.createContext)(d.IDLE_LINK_STATUS),g=()=>(0,o.useContext)(v);("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)}},e=>{var t=t=>e(e.s=t);e.O(0,[9867,2326,4119,6115,8299,7913,7358],()=>t(38275)),_N_E=e.O()}]);