1!function(){try{var 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]="28ee976b-f16f-4d42-bdb9-c14cace72aca",e._sentryDebugIdIdentifier="sentry-dbid-28ee976b-f16f-4d42-bdb9-c14cace72aca")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[330],{2487:(e,t,n)=>{n.d(t,{s:()=>p});var a=n(95155),r=n(41538),l=n(28387),i=n(30244),s=n(5917),o=n(65229),c=n(12115),d=n(41212),u=n(28981),h=n(82706),m=n(25016);let x=["#F8371A","#F97C1B","#FAC81C","#3FD0B6","#2CADF6","#6462FC"];function f(){return(0,a.jsx)("div",{className:"h-px w-full bg-border","aria-hidden":"true"})}function p(e){var t;let{value:n,children:s,type:o="hsl",swatches:p=[],hideContrastRatio:b,hideDefaultSwatches:w,onValueChange:y,className:j}=e,[N,k]=c.useState(o),[C,z]=c.useState(n?"string"==typeof(t=n)?(0,r.RV)(t):"h"in t&&"s"in t&&"v"in t?t:"r"in t?(0,r.SX)(t):(0,r.YA)(t):{h:0,s:0,v:0,a:1}),S=e=>{z(e),null==y||y({hex:(0,r.D9)(e),hsl:(0,r.E_)(e),rgb:(0,r.ss)(e)})};return(0,a.jsxs)(h.AM,{children:[(0,a.jsx)(h.Wv,{asChild:!0,children:s}),(0,a.jsx)(h.hl,{className:(0,m.cn)("w-[350px] overflow-hidden p-0",j),style:{"--selected-color":(0,r.QC)(C)},children:(0,a.jsxs)("div",{className:"space-y-2 bg-popover p-4",children:[(0,a.jsx)(i.A,{hsva:C,onChange:e=>S(e),style:{width:"100%",height:"auto",aspectRatio:"4/2",borderRadius:"0.3rem"},className:"border border-border"}),(0,a.jsx)(l.A,{hue:C.h,onChange:e=>S({...C,...e}),className:"[&>div:first-child]:overflow-hidden [&>div:first-child]:!rounded",style:{width:"100%",height:"0.9rem",borderRadius:"0.3rem"}}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"inline-flex shrink-0 overflow-hidden rounded-md border border-input",children:["hex","hsl","rgb"].map(e=>(0,a.jsx)(d.$,{type:"button",size:"sm",variant:N===e?"primary":"simple",className:"rounded-none uppercase",onClick:()=>k(e),children:e},e))}),(0,a.jsxs)("div",{className:"flex grow",children:["hsl"===N&&(0,a.jsx)(v,{value:(0,r.E_)(C),label:"hsl",onValueChange:e=>S((0,r.YA)(e))}),"rgb"===N&&(0,a.jsx)(v,{value:(0,r.ss)(C),label:"rgb",onValueChange:e=>S((0,r.SX)(e))}),"hex"===N&&(0,a.jsx)(u.p,{className:"flex",value:(0,r.D9)(C),onChange:e=>S((0,r.RV)(e.target.value))})]})]}),!w&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f,{}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-start gap-2",children:[[...x].sort((e,t)=>(0,r.RV)(e).h-(0,r.RV)(t).h).map(e=>(0,a.jsx)("button",{type:"button",style:{backgroundColor:e},onClick:()=>S((0,r.RV)(e)),"aria-label":"Set color to ".concat(e),className:"size-5 cursor-pointer rounded ring-2 ring-transparent ring-offset-1 ring-offset-background transition-all duration-100 hover:ring-current"},"".concat(e,"-swatch"))),p.length>0&&(0,a.jsx)("span",{"aria-hidden":!0,className:"mx-0.5 h-5 w-px shrink-0 bg-border"}),[...p].sort((e,t)=>(0,r.RV)(e).h-(0,r.RV)(t).h).map(e=>(0,a.jsx)("button",{type:"button",style:{backgroundColor:e},onClick:()=>S((0,r.RV)(e)),"aria-label":"Set color to ".concat(e),className:"size-5 cursor-pointer rounded ring-2 ring-transparent ring-offset-1 ring-offset-background transition-all duration-100 hover:ring-current"},"".concat(e,"-swatch")))]})]}),!b&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f,{}),(0,a.jsx)(g,{color:C})]})]})})]})}function g(e){let{color:t}=e,[n,l]=c.useState(0),[i,d]=c.useState(0);c.useEffect(()=>{let e=(0,r.ss)(t),n=e=>{let t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4},a=n(e.r),i=.2126*a+.7152*n(e.g)+.0722*n(e.b);l(Number((1.05/(i+.05)).toFixed(2))),d(Number(((i+.05)/.05).toFixed(2)))},[t]);let u=e=>{let{ratio:t,ratioLimit:n,className:r,children:l}=e;return(0,a.jsxs)("span",{className:(0,m.cn)("inline-flex items-center gap-1 rounded-full border border-border px-2 py-0.5 text-xs text-muted-foreground",t>n&&"border-transparent bg-success/20 text-success-text",r),children:[t>4.5?(0,a.jsx)(s.A,{size:14}):(0,a.jsx)(o.A,{size:14}),l]})};return(0,a.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("div",{className:"flex size-10 items-center justify-center rounded bg-[var(--selected-color)]",children:(0,a.jsx)("span",{className:"font-medium text-black dark:text-white",children:"A"})}),(0,a.jsxs)("div",{className:"flex flex-col justify-between",children:[(0,a.jsx)("span",{className:"whitespace-nowrap text-xs text-muted-foreground",children:"Contrast ratio"}),(0,a.jsx)("span",{className:"hidden text-sm dark:flex",children:n}),(0,a.jsx)("span",{className:"text-sm dark:hidden",children:i})]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-1",children:[(0,a.jsx)(u,{className:"dark:hidden",ratio:i,ratioLimit:4.5,
1children:"AA"}),(0,a.jsx)(u,{className:"dark:hidden",ratio:i,ratioLimit:7,children:"AAA"}),(0,a.jsx)(u,{className:"hidden dark:flex",ratio:n,ratioLimit:4.5,children:"AA"}),(0,a.jsx)(u,{className:"hidden dark:flex",ratio:n,ratioLimit:7,children:"AAA"})]})]})}function v(e){let{value:t,label:n,onValueChange:r}=e,l="hsl"===n?[["h",t.h.toFixed(0)],["s",t.s.toFixed(0)],["l",t.l.toFixed(0)]]:[["r",t.r],["g",t.g],["b",t.b]];return(0,a.jsx)("div",{className:"-mt-px flex",children:l.map((e,n)=>{let[i,s]=e;return(0,a.jsx)("div",{className:(0,m.cn)("relative min-w-0 flex-1 focus-within:z-10",n>0&&"-ms-px"),children:(0,a.jsx)(u.p,{className:(0,m.cn)("peer shadow-none [direction:inherit]",0===n?"rounded-e-none":n===l.length-1?"rounded-s-none":"rounded-none"),value:s,onChange:e=>{var n;return n={...t,[i]:Number(e.target.value)||0},void(null==r||r(n))}})},i)})})}},4014:(e,t,n)=>{n.d(t,{M:()=>d});var a=n(95155),r=n(12115),l=n(47522),i=n(26195),s=n(71408),o=n(61527),c=n(25016);function d(e){let{text:t,disabled:n=!1,copyLabel:d="Copy",copiedLabel:u="Copied",className:h,surfaceClassName:m,onCopy:x,onCopied:f,onCopyFailed:p}=e,[g,v]=(0,r.useState)(!1),b=!n&&(!!x||!!t);(0,r.useEffect)(()=>{if(!g)return;let e=window.setTimeout(()=>v(!1),2e3);return()=>window.clearTimeout(e)},[g]);let w=async()=>{if(!b){null==p||p();return}try{if(x)await x();else if(t)await navigator.clipboard.writeText(t);else{null==p||p();return}v(!0),null==f||f()}catch(e){v(!1),null==p||p()}};return(0,a.jsx)("button",{type:"button",onClick:()=>void w(),disabled:!b,className:(0,c.cn)("inline-flex h-8 w-8 shrink-0 cursor-pointer items-center justify-center rounded-lg text-muted-foreground shadow-elevation-1 transition-colors duration-200",m,"hover:brightness-95 disabled:cursor-not-allowed disabled:opacity-40 dark:hover:brightness-110","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",h),"aria-label":g?u:d,title:g?u:d,children:(0,a.jsx)(s.N,{mode:"wait",initial:!1,children:g?(0,a.jsx)(o.P.span,{initial:{opacity:0,scale:.75,rotate:-20},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.75,rotate:20},transition:{duration:.16},className:"text-success-text",children:(0,a.jsx)(l.A,{className:"h-4 w-4",stroke:2})},"check"):(0,a.jsx)(o.P.span,{initial:{opacity:0,scale:.75},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.75},transition:{duration:.16},children:(0,a.jsx)(i.A,{className:"h-4 w-4",stroke:2})},"copy")})})}},7587:(e,t,n)=>{n.d(t,{U:()=>s});var a=n(95155);n(12115);var r=n(15239),l=n(25016);let i=Array.from({length:4},(e,t)=>({src:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Crect width='100' height='40' rx='6' fill='%23888' opacity='0.25'/%3E%3Crect x='14' y='16' width='72' height='8' rx='4' fill='%23888'/%3E%3C/svg%3E",alt:"Logo ".concat(t+1)}));function s(e){let{label:t="Powered by the best",logos:n=i,className:s}=e;return(0,a.jsxs)("div",{className:(0,l.cn)("flex w-full flex-col items-center gap-6",s),children:[(0,a.jsx)("span",{className:"text-sm font-medium tracking-wide text-muted-foreground uppercase",children:t}),(0,a.jsx)("div",{className:"mx-auto flex w-full max-w-[50rem] flex-wrap items-center justify-center gap-10 md:flex-nowrap md:justify-between",children:n.map((e,t)=>(0,a.jsx)(r.default,{src:e.src,alt:e.alt,height:100,width:100,className:"h-auto w-[5.5rem] object-contain"},"".concat(e.alt,"-").concat(t)))})]})}},15886:(e,t,n)=>{n.d(t,{A:()=>o,w:()=>s});var a=n(95155);n(12115);var r=n(41212),l=n(35022),i=n(25016);function s(e){let{className:t,label:n="Share",url:s,title:o,text:c}=e,d=async()=>{try{var e;let t=null!=s?s:window.location.href,n=null!=o?o:"undefined"!=typeof document?document.title:void 0;if(navigator.share)return void await navigator.share({title:n,url:t,...null!=c?{text:c}:null});t&&(null==(e=navigator.clipboard)?void 0:e.writeText)&&await navigator.clipboard.writeText(t)}catch(e){}};return(0,a.jsx)(r.$,{variant:"ghost",size:"icon","aria-label":n,onClick:d,className:(0,i.cn)("rounded-full hover:bg-foreground
1/5",t),children:(0,a.jsx)(l.A,{className:"h-5 w-5 text-foreground",strokeWidth:1.8})})}let o=s},16633:(e,t,n)=>{n.r(t),n.d(t,{LinkPreview:()=>m,default:()=>x});var a=n(95155),r=n(21270),l=n(38591),i=n(12115),s=n(53350),o=n(53615),c=n(71408),d=n(61527),u=n(15239),h=n(25016);let m=e=>{let{children:t,url:n,className:m,width:x=200,height:f=125,quality:p=50,layout:g="fixed",isStatic:v=!1,imageSrc:b="",asChild:w=!0,allowLocal:y=!1,previewClassName:j}=e,[N,k]=i.useState(n),[C,z]=i.useState(void 0),[S,L]=i.useState(!1);i.useEffect(()=>L(!1),[C]),i.useEffect(()=>{try{let e=/^https?:\/\//.test(n)?n:new URL(n,window.location.origin).href;k(e);let t=new URL(e).hostname,a="localhost"===t||"127.0.0.1"===t||t.endsWith(".local")||/^10\./.test(t)||/^192\.168\./.test(t)||/^(172\.(1[6-9]|2[0-9]|3[0-1])\.)/.test(t);if(v)z(b);else if(!a||y){let t=(0,l.l)({url:e,screenshot:!0,meta:!1,embed:"screenshot.url",colorScheme:"dark","viewport.isMobile":!0,"viewport.deviceScaleFactor":1,"viewport.width":3*x,"viewport.height":3*f});z("https://api.microlink.io/?".concat(t))}else z(void 0)}catch(e){k(n),z(v?b:void 0)}},[n,v,b,x,f,y]);let[A,P]=i.useState(!1),[M,E]=i.useState(!1);i.useEffect(()=>{E(!0)},[]);let T=(0,s.d)(0);return(0,o.z)(T,{stiffness:70,damping:22}),(0,a.jsxs)(a.Fragment,{children:[M&&C&&!S?(0,a.jsx)("span",{"aria-hidden":"true",className:"hidden",children:(0,a.jsx)(u.default,{src:C,width:x,height:f,alt:"",onError:()=>L(!0)})}):null,(0,a.jsxs)(r.bL,{openDelay:50,closeDelay:100,onOpenChange:e=>P(e),children:[(0,a.jsx)(r.l9,{asChild:!0,onMouseMove:e=>{let t=e.target.getBoundingClientRect(),n=(e.clientX-t.left-t.width/2)/2;T.set(n)},children:(()=>{if(i.isValidElement(t)&&"string"==typeof t.type&&"a"===t.type.toLowerCase()){var e,n,r,l,s;return i.cloneElement(t,{href:new URL(N,window.location.origin).toString(),target:null!=(l=null==(e=t.props)?void 0:e.target)?l:"_blank",rel:null!=(s=null==(n=t.props)?void 0:n.rel)?s:"noopener noreferrer",className:(0,h.cn)("text-foreground",m,null==(r=t.props)?void 0:r.className)})}return(0,a.jsx)("a",{href:N,className:(0,h.cn)("text-foreground",m),target:"_blank",rel:"noopener noreferrer",children:t})})()}),C&&!S&&(0,a.jsx)(r.ZL,{children:(0,a.jsx)(r.UC,{className:"z-[80] [transform-origin:var(--radix-hover-card-content-transform-origin)]",side:"top",align:"center",sideOffset:10,collisionPadding:8,children:(0,a.jsx)(c.N,{children:A&&(0,a.jsx)(d.P.div,{initial:{opacity:0,y:14,scale:.9},animate:{opacity:1,y:0,scale:1,transition:{type:"spring",stiffness:180,damping:26}},exit:{opacity:0,y:14,scale:.9},className:(0,h.cn)("shadow-elevation-3 rounded-xl transform",j),children:(0,a.jsx)("a",{href:N,className:"block p-1 bg-background border-2 border-transparent shadow-elevation-1 rounded-xl hover:border-border text-xs",target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)(u.default,{src:v?b:C,width:x,height:f,className:"rounded-lg",alt:"preview image",onError:()=>L(!0)})})})})})})]})]})},x=m},23338:(e,t,n)=>{n.d(t,{K:()=>u});var a=n(95155),r=n(12115),l=n(61527),i=n(25016),s=n(2487);let o=["hsl(var(--brand-300))","hsl(var(--brand-400))","hsl(var(--brand-500))","hsl(var(--brand-600))","hsl(var(--brand-700))"],c={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.4,ease:"easeOut",when:"beforeChildren",staggerChildren:.1}}},d={hidden:{opacity:0,scale:.8},visible:{opacity:1,scale:1,transition:{duration:.3,ease:"easeOut"}}},u=r.forwardRef((e,t)=>{let{className:n,classNames:r,category:u="Brand",title:h="Identity",subtitle:m="Palette",displayElement:x="Aa",colors:f=o,renderSwatch:p,onColorsChange:g,...v}=e,b=null!=p?p:g?e=>{let{color:t,index:n,style:r,className:l}=e;return(0,a.jsx)(s.s,{value:t.startsWith("#")?t:void 0,onValueChange:e=>g(f.map((t,a)=>a===n?e.hex:t)),children:(0,a.jsx)("button",{type:"button",className:(0,i.cn)(l,"block cursor-pointer transition hover:brightness-110"),style:r,"aria-label":"Edit color ".concat(n+1,": ").concat(t)})})}:void 0;return(0,a.jsxs)(l.P.div,{ref:t,className:(0,i.cn)("w-full max-w-sm overflow-hidden rounded-xl border border-border bg-card text-foreground shadow-elevation-1 transition-shadow duration-300 hover:shadow-elevation-3",n,null==r?void 0:r.card),variants:c,initial:"hidden",animate:"visible",whileHover:{y:-5,transition:{duration:.2}},"aria-label":"".concat(u,": ").concat(h),role:"group",...v,children:[(0,a.jsxs)("div",{className:(0,i.cn)("p-6",null==r?void 0:r.header),children:[(0,a.jsx)("p",{className:"mb-4 text-xs font-medium uppercase tracking-widest text-muted-foreground",children:u}),(0,a.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h3",{className:"break-words text-xl font-semibold tracking-tight",children:h}),(0,a.jsx)("p",{className:"break-words text-lg text-muted-foreground",children:m})]}),(0,a.jsx)("div",{className:"shrink-0 text-5xl font-bold tracking-tighter",children:x})]})]}),(0,a.jsx)("div",{className:"flex h-24 w-full",children:f.map((e,t)=>(0,a.jsx)(l.P.div,{className:(0,i.cn)("relative h-full flex-1",null==r?void 0:r.swatch),variants:d,children:b?b({color:e,index:t,style:{backgroundColor:e},className:"h-full w-full"}):(0,a.jsx)("div",{className:"h-full w-full",style:{backgroundColor:e},"aria-label":"Color swatch ".concat(t+1,": ").concat(e)})},t))})]})});u.displayName="BrandingCard"},29707:(e,t,n)=>{n.d(t,{l:()=>g});var a=n(95155),r=n(12115),l=n(61527),i=n(71408),s=n(6191),o=n(10512),c=n(65229),d=n(7125),u=n(78519),h=n(12781),m=n(41212),x=n(25016);
1let f={cartLabel:"Cart",totalLabel:"Total",currency:"$",addLabel:"Add to cart",checkoutLabel:"Checkout",removeItemLabel:"Remove",decreaseLabel:"Decrease",increaseLabel:"Increase"},p=[{id:"1",name:"Item one",price:12,category:"Category",color:"hsl(0 0% 70%)"},{id:"2",name:"Item two",price:18,category:"Category",color:"hsl(0 0% 55%)"},{id:"3",name:"Item three",price:24,category:"Category",color:"hsl(0 0% 40%)"}];function g(e){let{className:t,classNames:n,products:g=p,labels:v,onCheckout:b,cartLabel:w,totalLabel:y,currency:j,addLabel:N,checkoutLabel:k,removeItemLabel:C,decreaseLabel:z,increaseLabel:S}=e,[L,A]=(0,r.useState)([]),P={...f,...v,...null!=w&&{cartLabel:w},...null!=y&&{totalLabel:y},...null!=j&&{currency:j},...null!=N&&{addLabel:N},...null!=k&&{checkoutLabel:k},...null!=C&&{removeItemLabel:C},...null!=z&&{decreaseLabel:z},...null!=S&&{increaseLabel:S}},M=(e,t)=>{A(n=>n.map(n=>{if(n.id===e){let e=n.quantity+t;return e>0?{...n,quantity:e}:n}return n}))},E=L.reduce((e,t)=>e+t.quantity,0),T=L.reduce((e,t)=>e+t.price*t.quantity,0);return(0,a.jsx)("div",{className:(0,x.cn)("mx-auto w-full max-w-4xl",t,null==n?void 0:n.container),children:(0,a.jsxs)("div",{className:"flex flex-col gap-6 sm:flex-row",children:[(0,a.jsx)("div",{className:"flex-1 space-y-3",children:g.map(e=>(0,a.jsx)(l.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.2},className:(0,x.cn)("group rounded-xl border border-zinc-200 bg-white p-4 transition-all duration-200","hover:border-zinc-300 dark:border-zinc-800 dark:bg-zinc-900 dark:hover:border-zinc-700",null==n?void 0:n.productCard),children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"h-12 w-12 shrink-0 rounded-lg ring-1 ring-black/5 dark:ring-white/10",style:{backgroundColor:e.color},"aria-hidden":"true"}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("h3",{className:"text-sm font-medium text-zinc-900 dark:text-zinc-100",children:e.name}),(0,a.jsx)("span",{className:"rounded-full bg-zinc-100 px-2 py-0.5 text-xs text-zinc-500 dark:bg-zinc-800 dark:text-zinc-400",children:e.category})]}),(0,a.jsx)("div",{className:"flex items-center gap-2 text-sm text-zinc-500 dark:text-zinc-400",children:(0,a.jsxs)("span",{children:[P.currency,e.price]})})]})]}),(0,a.jsxs)(m.$,{size:"sm",variant:"outline",onClick:()=>{A(t=>t.find(t=>t.id===e.id)?t.map(t=>t.id===e.id?{...t,quantity:t.quantity+1}:t):[...t,{...e,quantity:1}])},className:"gap-1.5",children:[(0,a.jsx)(s.A,{className:"h-3.5 w-3.5"}),P.addLabel]})]})},e.id))}),(0,a.jsxs)(l.P.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},className:(0,x.cn)("flex max-h-[32rem] w-full flex-col rounded-xl border border-zinc-200 bg-white p-4 sm:w-80","dark:border-zinc-800 dark:bg-zinc-900",null==n?void 0:n.cart),children:[(0,a.jsxs)("div",{className:"mb-3 flex items-center gap-2",children:[(0,a.jsx)(o.A,{className:"h-4 w-4 text-zinc-500"}),(0,a.jsxs)("h2",{className:"text-sm font-medium text-zinc-900 dark:text-zinc-100",children:[P.cartLabel," (",E,")"]})]}),(0,a.jsx)(l.P.div,{className:"-mx-4 min-h-0 flex-1 space-y-3 overflow-y-auto px-4",children:(0,a.jsx)(i.N,{initial:!1,mode:"popLayout",children:L.map(e=>(0,a.jsx)(l.P.div,{layout:!0,initial:{opacity:0,scale:.96},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.96},transition:{opacity:{duration:.2},layout:{duration:.2}},className:"mb-3 flex items-center gap-3 rounded-lg bg-zinc-50 p-2 dark:bg-zinc-800/50",children:(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"truncate text-sm font-medium text-zinc-900 dark:text-zinc-100",children:e.name}),(0,a.jsx)(l.P.button,{type:"button","aria-label":P.removeItemLabel,whileHover:{scale:1.1},whileTap:{scale:.95},onClick:()=>{var t;return t=e.id,void A(e=>e.filter(e=>e.id!==t))},className:"rounded-md p-1 hover:bg-zinc-200 dark:hover:bg-zinc-700",children:(0,a.jsx)(c.A,{className:"h-3 w-3 text-zinc-400"})})]}),(0,a.jsxs)("div",{className:"mt-1 flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(l.P.button,{type:"button","aria-label":P.decreaseLabel,whileHover:{scale:1.1},whileTap:{scale:.95},onClick:()=>M(e.id,-1),className:"rounded-md p-1 hover:bg-zinc-200 dark:hover:bg-zinc-700",children:(0,a.jsx)(d.A,{className:"h-3 w-3"})}),(0,a.jsx)(l.P.span,{layout:!0,className:"w-4 text-center text-xs text-zinc-600 dark:text-zinc-400",children:e.quantity}),(0,a.jsx)(l.P.button,{type:"button","aria-label":P.increaseLabel,whileHover:{scale:1.1},whileTap:{scale:.95},onClick:()=>M(e.id,1),className:"rounded-md p-1 hover:bg-zinc-200 dark:hover:bg-zinc-700",children:(0,a.jsx)(s.A,{className:"h-3 w-3"})})]}),(0,a.jsxs)(l.P.span,{layout:!0,className:"text-xs text-zinc-500 dark:text-zinc-400",children:[P.currency,(e.price*e.quantity).toFixed(2)]})]})]})},e.id))})}),(0,a.jsxs)(l.P.div,{layout:!0,className:"mt-3 border-t border-zinc-200 bg-white pt-3 dark:border-zinc-800 dark:bg-zinc-900",children:[(0,a.jsxs)("div",{className:"mb-3 flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-sm font-medium text-zinc-900 dark:text-zinc-100",children:P.totalLabel}),(0,a.jsx)(l.P.span,{layout:!0,className:"text-sm font-semibold text-zinc-900 dark:text-zinc-100",children:(0,a.jsx)(h.Ay,{value:T,prefix:P.currency})})]}),(0,a.jsxs)(m.$,{size:"sm",className:(0,x.cn)("w-full gap-2",null==n?void 0:n.checkoutButton),onClick:()=>null==b?void 0:b(L),children:[(0,a.jsx)(u.A,{className:"h-4 w-4"}),P.checkoutLabel]})]})]})]})})}},33359:(e,t,n)=>{n.d(t,{r:()=>l});var a=n(12115),r=n(45250);function l(e){var t;let n=null==(t=null==e?void 0:e.enableSwipeReveal)||t,l=function(){let[e,t]=(0,a.useState)(!0);return(0,a.useEffect)(()=>
1{if(!window.matchMedia)return;let e=window.matchMedia("(hover: hover) and (pointer: fine)"),n=()=>t(e.matches);return n(),e.addEventListener("change",n),()=>e.removeEventListener("change",n)},[]),e}(),[i,s]=(0,a.useState)(!1),[o,c]=(0,a.useState)(!1),d=(0,a.useRef)(null),u=(0,a.useRef)(null),h=(0,a.useRef)({x:0,y:0}),m=(0,a.useRef)("none"),x=(0,a.useRef)(!1),f=(0,a.useCallback)(()=>{u.current=null,h.current={x:0,y:0},m.current="none",c(!1)},[]),p=(0,a.useCallback)(()=>{if(!l){if(x.current){x.current=!1;return}s(e=>!e)}},[l]),g=(0,a.useCallback)(()=>{s(!1),f()},[f]);(0,r.j)(d,()=>{(i||o)&&g()});let v=(0,a.useCallback)(e=>{if(l)return;let t=e.touches[0];t&&(u.current={x:t.clientX,y:t.clientY},h.current={x:0,y:0},m.current="none",x.current=!1,c(!1))},[l]),b=(0,a.useCallback)(e=>{if(l||!u.current)return;let t=e.touches[0];if(!t)return;let n=t.clientX-u.current.x,a=t.clientY-u.current.y;h.current={x:n,y:a};let r=Math.abs(n),i=Math.abs(a),s=Math.hypot(n,a);if(i>48&&i>1.75*r){m.current="scroll",c(!1);return}s>=10&&(m.current="swipe",c(!0))},[l]),w=(0,a.useCallback)(()=>{if(l||!u.current)return;let{x:e,y:t}=h.current,a=Math.hypot(e,t);"swipe"===m.current&&a>=28&&n&&(s(!0),x.current=!0),f()},[n,l,f]),y=(0,a.useCallback)(()=>{f()},[f]),j=i||o,N=!l&&j?"hover":"rest",k=l?"hover":void 0;return{hasFinePointer:l,revealed:i,touchPreview:o,isActive:j,toggleReveal:p,dismiss:g,containerRef:d,motionAnimate:N,motionWhileHover:k,onTouchStart:v,onTouchMove:b,onTouchEnd:w,onTouchCancel:y}}}
1,35428:(e,t,n)=>{n.d(t,{U:()=>N});var a=n(95155);n(12115);var r=n(15239),l=n(52619),i=n.n(l),s=n(61527),o=n(44591),c=n(33359),d=n(25016);let u="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Crect width='400' height='300' fill='%23e5e5e5'/%3E%3C/svg%3E",h={title:"Project title",description:"A short description of the project.",image:u,category:"Category",viewLabel:"View project"},m={title:"Product title",description:"A short description of the product.",image:u,viewLabel:"View project"},x={rest:{opacity:0,transitionEnd:{visibility:"hidden"}},hover:{opacity:1,visibility:"visible",transition:{type:"spring",stiffness:260,damping:30,staggerChildren:.08,delayChildren:.05}}},f={rest:{opacity:0,y:18},hover:{opacity:1,y:0,transition:{type:"spring",stiffness:300,damping:24}}},p={rest:{height:0,opacity:0,transition:{opacity:{duration:.05},height:{duration:.18,delay:.02}}},hover:{height:"auto",opacity:1,transition:{height:{duration:.15},opacity:{duration:.1,delay:.08}}}},g={rest:{opacity:0},hover:{opacity:1,transition:{duration:.2}}},v={rest:{},hover:{}};function b(e){e.stopPropagation()}function w(e,t){return!e||t?{}:{role:"button",tabIndex:0,onClick:e,onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),e())}}}function y(e){let{item:t,className:n,classNames:l,onClick:u,imageAspect:h}=e,m=(0,c.r)(),p=(0,a.jsxs)(s.P.div,{"data-slot":"card","data-revealed":m.isActive?"true":void 0,variants:v,initial:"rest",animate:m.motionAnimate,whileHover:m.motionWhileHover,onClick:m.hasFinePointer?void 0:m.toggleReveal,onTouchStart:m.onTouchStart,onTouchMove:m.onTouchMove,onTouchEnd:m.onTouchEnd,onTouchCancel:m.onTouchCancel,className:(0,d.cn)("group/project relative block overflow-hidden rounded-3xl text-left",!m.hasFinePointer&&"cursor-pointer touch-pan-y",t.className,n,null==l?void 0:l.card),children:[(0,a.jsx)("div",{className:(0,d.cn)("relative w-full",!h&&"min-h-[280px] md:min-h-[360px]"),style:h?{aspectRatio:h}:void 0,children:(0,a.jsx)(r.default,{src:t.image,alt:t.title,fill:!0,sizes:"(min-width: 1024px) 68vw, 100vw",className:(0,d.cn)("rounded-3xl object-cover object-center",null==l?void 0:l.image)})}),(0,a.jsxs)(s.P.div,{variants:x,className:(0,d.cn)("absolute inset-0 flex flex-col justify-between rounded-3xl p-6 backdrop-blur-md md:p-8","bg-white/55 text-foreground dark:bg-black/50 dark:text-white"),children:[(0,a.jsxs)(s.P.div,{variants:f,className:"space-y-2",children:[(0,a.jsx)("div",{className:(0,d.cn)("text-2xl font-medium tracking-tight",null==l?void 0:l.title),children:t.title}),(0,a.jsx)("p",{className:(0,d.cn)("text-base font-medium text-foreground/80 dark:text-white/80",null==l?void 0:l.description),children:t.description})]}),(0,a.jsxs)(s.P.div,{variants:f,className:"flex w-full items-end justify-between gap-4",children:[t.href?m.hasFinePointer?(0,a.jsx)(o.C,{as:"span",variant:"ghost",size:"auto",parentGroup:"project",className:(0,d.cn)("pointer-events-none border-0 bg-transparent p-0 text-inherit shadow-none hover:bg-transparent",null==l?void 0:l.cta),children:t.viewLabel}):(0,a.jsx)(o.C,{as:i(),href:t.href,variant:"ghost",size:"auto",parentGroup:"project",onClick:b,className:(0,d.cn)("border-0 bg-transparent p-0 text-inherit shadow-none hover:bg-transparent",null==l?void 0:l.cta),children:t.viewLabel}):(0,a.jsx)(o.C,{as:"span",variant:"ghost",size:"auto",parentGroup:"project",className:(0,d.cn)("pointer-events-none border-0 bg-transparent p-0 text-inherit shadow-none",null==l?void 0:l.cta),children:t.viewLabel}),(0,a.jsx)("span",{className:"text-right text-sm font-medium text-foreground/80 dark:text-white/80",children:t.category})]})]})]}),g=(0,a.jsx)("div",{ref:m.containerRef,className:"block",...w(u,t.href),children:p});return t.href&&m.hasFinePointer?(0,a.jsx)(i(),{href:t.href,className:"block",children:p}):g}function j(e){var t;let{item:n,className:l,classNames:u,onClick:h,imageAspect:m}=e,x=null!=(t=n.viewLabel)?t:"View project",f=(0,c.r)();return(0,a.jsx)("div",{ref:f.containerRef,className:"block",...w(h,n.href),children:(0,a.jsxs)(s.P.div,{"data-slot":"card","data-revealed":f.isActive?"true":void 0,variants:v,initial:"rest",animate:f.motionAnimate,whileHover:f.motionWhileHover,onClick:f.hasFinePointer?void 0:f.toggleReveal,onTouchStart:f.onTouchStart,onTouchMove:f.onTouchMove,onTouchEnd:f.onTouchEnd,onTouchCancel:f.onTouchCancel,className:(0,d.cn)("group/project relative flex flex-col justify-end overflow-hidden rounded-3xl p-6 md:p-7",!m&&"min-h-[440px]",!f.hasFinePointer&&"curs
1or-pointer touch-pan-y",l,null==u?void 0:u.card),style:m?{aspectRatio:m}:void 0,children:[(0,a.jsx)(r.default,{src:n.image,alt:n.title,fill:!0,className:(0,d.cn)("absolute inset-0 object-cover",null==u?void 0:u.image),sizes:"(min-width: 1024px) 50vw, 100vw"}),n.badge?(0,a.jsx)("div",{className:"absolute top-6 left-6 z-10 rounded-full bg-[hsl(var(--neutral-950))] px-3 py-2 text-sm font-medium text-[hsl(var(--neutral-50))]",children:n.badge}):null,(0,a.jsxs)(s.P.div,{className:"relative z-10 flex w-full flex-col overflow-hidden rounded-2xl bg-popover px-6 py-4 text-popover-foreground shadow-elevation-2",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2.5",children:[n.logo?(0,a.jsx)(r.default,{src:n.logo,alt:"",width:32,height:32,className:"size-8 rounded-md object-cover"}):null,(0,a.jsx)("div",{className:(0,d.cn)("text-lg font-semibold text-foreground",null==u?void 0:u.title),children:n.title})]}),(0,a.jsx)("div",{className:(0,d.cn)("text-base font-medium text-muted-foreground",null==u?void 0:u.description),children:n.description})]}),n.features&&n.features.length>0||n.href?(0,a.jsx)(s.P.div,{variants:p,initial:!1,className:"overflow-hidden",children:(0,a.jsxs)("div",{className:"min-h-0",children:[n.features&&n.features.length>0?(0,a.jsx)("div",{className:"mt-6 flex flex-col gap-4 pb-3",children:n.features.map((e,t)=>(0,a.jsxs)(s.P.div,{variants:g,transition:{duration:.2,delay:.05*t},className:"flex items-center gap-2 text-sm font-medium text-muted-foreground",children:[(0,a.jsx)("div",{className:"size-2.5 rounded-full bg-muted-foreground/50"}),e]},"".concat(e,"-").concat(t)))}):null,n.href?(0,a.jsx)(s.P.div,{variants:g,className:"pt-4 pr-1",children:(0,a.jsx)(o.C,{as:i(),href:n.href,variant:"solid",size:"lg",onClick:b,className:(0,d.cn)("border-foreground bg-foreground text-background hover:bg-foreground
1/90",null==u?void 0:u.cta),children:x})}):null]})}):null]})]})})}function N(e){var t,n;return"product"===e.variant?(0,a.jsx)(j,{item:null!=(t=e.item)?t:m,className:e.className,classNames:e.classNames,onClick:e.onClick,imageAspect:e.imageAspect}):(0,a.jsx)(y,{item:null!=(n=e.item)?n:h,className:e.className,classNames:e.classNames,onClick:e.onClick,imageAspect:e.imageAspect})}},35457:(e,t,n)=>{n.d(t,{D:()=>d});var a=n(95155);n(12115);var r=n(25016);let l=["#54707e","#dce3e6","#6e6076","#e4deda","#5e7a66","#e0e2d8"];function i(e){let t=0;for(let n=0;n<e.length;n+=1)t=(t<<5)-t+e.charCodeAt(n),t&=t;return Math.abs(t)}function s(e,t){return Math.floor(e/Math.pow(10,t)%10)}function o(e,t,n){let a=e%t;return n&&s(e,n)%2==0?-a:a}function c(e,t){var n;return null!=(n=t[e%t.length])?n:"#000000"}function d(e){let{name:t,variant:n="beam",colors:s=l,size:o=40,square:c=!1,label:d,className:m}=e,x=s.length>0?s:l,f="pa-".concat(n,"-").concat(i("".concat(t,"|").concat(x.join(","))).toString(36)),p="beam"===n?36:80;return(0,a.jsxs)("svg",{...d?{role:"img","aria-label":d}:{"aria-hidden":!0},focusable:"false",viewBox:"0 0 ".concat(p," ").concat(p),width:o,height:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,r.cn)("shrink-0 select-none",m),children:[(0,a.jsx)("mask",{id:f,maskUnits:"userSpaceOnUse",x:0,y:0,width:p,height:p,children:(0,a.jsx)("rect",{width:p,height:p,rx:c?void 0:2*p,fill:"#ffffff"})}),"beam"===n?(0,a.jsx)(u,{name:t,colors:x,uid:f}):(0,a.jsx)(h,{name:t,colors:x,uid:f})]})}function u(e){let{name:t,colors:n,uid:r}=e,l=function(e,t){let n=i(e),a=c(n,t),r=o(n,10,1),l=r<5?r+4:r,d=o(n,10,2),u=d<5?d+4:d;return{wrapperColor:a,faceColor:function(e){let t=e.startsWith("#")?e.slice(1):e,n=parseInt(t.slice(0,2),16),a=parseInt(t.slice(2,4),16);return(299*n+587*a+114*parseInt(t.slice(4,6),16))/1e3>=128?"#000000":"#ffffff"}(a),backgroundColor:c(n+13,t),wrapperTranslateX:l,wrapperTranslateY:u,wrapperRotate:o(n,360),wrapperScale:1+o(n,3)/10,isMouthOpen:!(s(n,2)%2),isCircle:!(s(n,1)%2),eyeSpread:o(n,5),mouthSpread:o(n,3),faceRotate:o(n,10,3),faceTranslateX:l>6?l/2:o(n,8,1),faceTranslateY:u>6?u/2:o(n,7,2)}}(t,n);return(0,a.jsxs)("g",{mask:"url(#".concat(r,")"),children:[(0,a.jsx)("rect",{width:36,height:36,fill:l.backgroundColor}),(0,a.jsx)("rect",{x:0,y:0,width:36,height:36,transform:"translate(".concat(l.wrapperTranslateX," ").concat(l.wrapperTranslateY,") rotate(").concat(l.wrapperRotate," ").concat(18," ").concat(18,") scale(").concat(l.wrapperScale,")"),fill:l.wrapperColor,rx:l.isCircle?36:6}),(0,a.jsxs)("g",{transform:"translate(".concat(l.faceTranslateX," ").concat(l.faceTranslateY,") rotate(").concat(l.faceRotate," ").concat(18," ").concat(18,")"),children:[l.isMouthOpen?(0,a.jsx)("path",{d:"M15 ".concat(19+l.mouthSpread,"c2 1 4 1 6 0"),stroke:l.faceColor,fill:"none",strokeLinecap:"round"}):(0,a.jsx)("path",{d:"M13,".concat(19+l.mouthSpread," a1,0.75 0 0,0 10,0"),fill:l.faceColor}),(0,a.jsx)("rect",{x:14-l.eyeSpread,y:14,width:1.5,height:2,rx:1,stroke:"none",fill:l.faceColor}),(0,a.jsx)("rect",{x:20+l.eyeSpread,y:14,width:1.5,height:2,rx:1,stroke:"none",fill:l.faceColor})]})]})}function h(e){let{name:t,colors:n,uid:r}=e,l=function(e,t){let n=i(e);return Array.from({length:3},(e,a)=>({color:c(n+a,t),translateX:o(n*(a+1),8,1),translateY:o(n*(a+1),8,2),scale:1.2+o(n*(a+1),4)/10,rotate:o(n*(a+1),360,1)}))}(t,n),s="".concat(r,"-blur");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("g",{mask:"url(#".concat(r,")"),children:[(0,a.jsx)("rect",{width:80,height:80,fill:l[0].color}),(0,a.jsx)("path",{filter:"url(#".concat(s,")"),d:"M32.414 59.35L50.376 70.5H72.5v-71H33.728L26.5 13.381l19.057 27.08L32.414 59.35z",fill:l[1].color,transform:"translate(".concat(l[1].translateX," ").concat(l[1].translateY,") rotate(").concat(l[1].rotate," ").concat(40," ").concat(40,") scale(").concat(l[2].scale,")")}),(0,a.jsx)("path",{filter:"url(#".concat(s,")"),style:{mixBlendMode:"overlay"},d:"M22.216 24L0 46.75l14.108 38.129L78 86l-3.081-59.276-22.378 4.005 12.972 20.186-23.35 27.395L22.215 24z",fill:l[2].color,transform:"translate(".concat(l[2].translateX," ").concat(l[2].translateY,") rotate(").concat(l[2].rotate," ").concat(40," ").concat(40,") scale(").concat(l[2].scale,")")})]}),(0,a.jsx)("defs",{children:(0,a.jsxs)("filter",{id:s,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,a.jsx)("feFlood",{floodOpacity:0,result:"Backgroun
1dImageFix"}),(0,a.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,a.jsx)("feGaussianBlur",{stdDeviation:7,result:"effect1_foregroundBlur"})]})})]})}},44001:(e,t,n)=>{n.d(t,{e:()=>i});var a=n(95155),r=n(25016);let l={xs:"h-6 w-6 text-[10px]",sm:"h-8 w-8 text-xs",md:"h-9 w-9 text-sm",lg:"h-11 w-11 text-base"};function i(e){let{name:t="",email:n="",src:i,color:s,size:o="md",className:c}=e,d=(n||t).toLowerCase();return i?(0,a.jsx)("img",{src:i,alt:"","aria-hidden":!0,className:(0,r.cn)("shrink-0 rounded-full object-cover",l[o],c)}):(0,a.jsx)("span",{"aria-hidden":!0,className:(0,r.cn)("flex shrink-0 select-none items-center justify-center rounded-full font-semibold leading-none",l[o],c),style:function(e,t){if(t)return{backgroundColor:"color-mix(in srgb, ".concat(t," 18%, transparent)"),color:t};let n=function(e){let t=0;for(let n=0;n<e.length;n+=1)t=(t<<5)-t+e.charCodeAt(n);return Math.abs(t)%360}(e);return{backgroundColor:"hsl(".concat(n," 60% 50% / 0.18)"),color:"hsl(".concat(n," 62% 52%)")}}(d,s),children:function(e,t){let n=(e||t||"").trim();if(!n)return"?";let a=n.split(/[\s._-]+/).filter(Boolean);return a.length>=2?(a[0][0]+a[1][0]).toUpperCase():n.slice(0,2).toUpperCase()}(t,n)})}},45250:(e,t,n)=>{n.d(t,{j:()=>r});var a=n(12115);let r=(e,t)=>{(0,a.useEffect)(()=>{let n=n=>{!e.current||e.current.contains(n.target)||t(n)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[e,t])}},45634:(e,t,n)=>{n.d(t,{y:()=>u});var a=n(95155);n(12115);var r=n(83101),l=n(25016);let i={400:"--brand-400",500:"--brand-500",600:"--brand-600",700:"--brand-700",800:"--brand-800"},s={b:"to bottom",r:"to right",tr:"to top right"},o=(0,r.F)("inline-block pb-[0.08em] font-sans font-bold tracking-tight",{variants:{size:{sm:"text-sm",md:"text-base",lg:"text-lg",h1:"text-h1",h2:"text-h2",h3:"text-h3",hero:"text-fluid-3xl",inherit:"text-[length:inherit] leading-[inherit] tracking-[inherit]"}},defaultVariants:{size:"h2"}}),c={calm:"animate-[gradient-text-pan_8s_ease-in-out_infinite_alternate] motion-reduce:animate-none",vivid:"animate-[gradient-text-pan_7s_ease-in-out_infinite_alternate] motion-reduce:animate-none"},d={calm:"200% 200%",vivid:"175% 100%"};function u(e){let{children:t="Gradient",as:n="span",className:r,variant:u="brand",brandShade:h=500,direction:m="b",size:x,from:f,to:p,via:g,animate:v=!1,intensity:b="calm"}=e,w="custom"===u?{from:null!=f?f:"hsl(var(--brand-500))",to:null!=p?p:"hsl(var(--foreground))"}:{from:"hsl(var(".concat(i[h],"))"),to:"hsl(var(--foreground))"},y=g?"".concat(w.from,", ").concat(g,", ").concat(w.to):"".concat(w.from,", ").concat(w.to);return(0,a.jsx)(n,{className:(0,l.cn)(o({size:x}),v&&c[b],r),style:{backgroundImage:"linear-gradient(".concat(s[m],", ").concat(y,")"),backgroundSize:v?d[b]:void 0,WebkitBackgroundClip:"text",backgroundClip:"text",color:"transparent",WebkitTextFillColor:"transparent"},children:t})}},48645:(e,t,n)=>{n.d(t,{Z:()=>l,h:()=>r});var a=n(95155);function r(e){let t=null==e?void 0:e.thumbnail,n="string"==typeof(null==t?void 0:t.dataURL)?t.dataURL.slice(23):"",a=3*n.length/4-(n.endsWith("==")?2:+!!n.endsWith("="));return t&&Number.isSafeInteger(t.width)&&Number.isSafeInteger(t.height)&&t.width>0&&t.height>0&&t.width<=384&&t.height<=384&&"string"==typeof t.dataURL&&n.length%4==0&&a>0&&a<=16e3&&/^data:image\/webp;base64,[A-Za-z0-9+/]+={0,2}$/.test(t.dataURL)?t:void 0}function l(){var e;let{preview:t,intrinsic:n={width:1,height:1},fit:l="contain",solidOnly:i=!1,className:s,style:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!t||!Number.isSafeInteger(t.columns)||!Number.isSafeInteger(t.rows)||t.columns<1||t.rows<1||t.columns>16||t.rows>16||"string"!=typeof t.rgba||!/^[\da-f]+$/i.test(t.rgba)||t.rgba.length!==t.columns*t.rows*8||!n||!Number.isFinite(n.width)||!Number.isFinite(n.height)||n.width<=0||n.height<=0)return null;let c=t.columns*t.rows;if(void 0!==t.solidCells&&(!Array.isArray(t.solidCells)||t.solidCells.length>c||new Set(t.solidCells).size!==t.solidCells.length||!Array.from(t.solidCells).every(e=>Number.isSafeInteger(e)&&e>=0&&e<c)))return null;let d=i?void 0:r(t),u=new Set(null!=(e=t.solidCells)?e:[]);if(i&&0===u.size)return null;let h=[];for(let e=0;e<t.columns*t.rows;e++){if(i&&!u.has(e))continue;let n=t.rgba.slice(8*e,8*e+8);0!==parseInt(n.slice(6),16)&&h.push((0,a.jsx)("span",{style:{position:"absolute",left:"".concat(e%t.columns*100/t.columns,"%"),top:"".concat(100*Math.floor(e/t.columns)/t.rows,"%"),width:"".concat(100/t.columns,"%"),height:"".concat(100/t.rows,"%"),backgroundColor:"#".concat(n)}},e))}let m=n.width/n.height,x="cover"===l?"max":"min",f="fill"===l?{width:"100%",height:"100%"}:{width:"".concat(x,"(100cqw, ").concat(100*m,"cqh)"),height:"".concat(x,"(").concat(100/m,"cqw, 100cqh)")};return(0,a.jsx)("span",{"aria-hidden":"true",className:s,style:{display:"block",width:"100%",height:"100%",position:"relative",overflow:"hidden",containerType:"size",...o,pointerEvents:"none"},children:(0,a.jsx)("span",{style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",...f},children:d?(0,a.jsx)("img",{src:d.dataURL,alt:"",draggable:!1,width:d.width,height:d.height,style:{width:"100%",height:"100%",display:"block"}}):h})})}}
1,49439:(e,t,n)=>{n.d(t,{Cp:()=>h,Gi:()=>v,yv:()=>u});var a=n(95155),r=n(12115),l=n(41407),i=n(22706),s=n(25016);let o={days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds"},c=["days","hours","minutes","seconds"],d={"total-days":["days","hours"],"total-hours":["hours","minutes"],"total-minutes":["minutes","seconds"],"total-seconds":["seconds"]};function u(e){if(null==e)return null;if(e instanceof Date){let t=e.getTime();return Number.isFinite(t)?t:null}if("number"==typeof e)return Number.isFinite(e)?e:null;let t=Date.parse(e);return Number.isFinite(t)?t:null}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),n=Math.max(0,e-t);return n<=0?{remainingMs:0,ended:!0,days:0,hours:0,minutes:0,seconds:0}:{remainingMs:n,ended:!1,days:Math.floor(n/864e5),hours:Math.floor(n%864e5/36e5),minutes:Math.floor(n%36e5/6e4),seconds:Math.floor(n%6e4/1e3)}}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"auto",r=function(e,t){if("auto"===t)return e.days>0?["days","hours"]:e.hours>0?["hours","minutes"]:["minutes","seconds"];if("string"==typeof t)return d[t];let n=t.filter((e,t,n)=>n.indexOf(e)===t);return c.filter(e=>n.includes(e))}(e,t),l=function(e,t){let n=Math.max(0,e),a={},r=new Set(t);return r.has("days")&&(a.days=Math.floor(n/864e5),n%=864e5),r.has("hours")&&(a.hours=Math.floor(n/36e5),n%=36e5),r.has("minutes")&&(a.minutes=Math.floor(n/6e4),n%=6e4),r.has("seconds")&&(a.seconds=Math.floor(n/1e3)),a}(e.remainingMs,r),i=!1===n?null:{...o,...n};return r.map(e=>{var t;let n=null!=(t=l[e])?t:0;return{unit:e,value:n,text:!0===a||!1!==a&&"days"!==e?String(n).padStart(2,"0"):String(n),label:i?i[e]:null}})}let x={sm:"text-sm font-semibold leading-none tracking-tight",md:"text-xl font-semibold leading-none tracking-tight",lg:"text-[1.75rem] font-semibold leading-none tracking-tight sm:text-[2rem]"},f={sm:"text-[0.5625rem] font-semibold uppercase tracking-[0.14em]",md:"text-[0.625rem] font-semibold uppercase tracking-[0.16em]",lg:"text-[0.625rem] font-semibold uppercase tracking-[0.16em]"},p={sm:"text-xs font-light text-muted-foreground/50",md:"text-base font-light text-muted-foreground/50",lg:"translate-y-[-0.15em] text-xl font-light leading-none text-muted-foreground/50"},g={sm:"gap-1",md:"gap-1.5",lg:"gap-2.5"};function v(e){var t,n;let{target:l,granularity:i="auto",format:c="stacked",labels:d=o,size:x="md",separator:f=":",pad:v="auto",onComplete:w,pauseWhenHidden:y=!0,className:j,digitClassName:N,labelClassName:k,...C}=e,z=r.useRef(null),[S,L]=r.useState(()=>Date.now()),[A,P]=r.useState(null!=l),M=r.useRef(!1);r.useEffect(()=>{if(null!=l)return void P(!0);null==z.current&&(z.current=Date.now()+936e5+204e4+56e3),P(!0),L(Date.now())},[l]);let E=null!=(n=null!=(t=u(l))?t:z.current)?n:0,T=A&&0!==E?h(E,S):{remainingMs:0,ended:!1,days:0,hours:0,minutes:0,seconds:0},R=m(T,i,d,v);r.useEffect(()=>{M.current=!1},[E]),r.useEffect(()=>{A&&T.ended&&!M.current&&(M.current=!0,null==w||w())},[T.ended,w,A]);let F=Array.isArray(i)?i.join(","):i;r.useEffect(()=>{if(!A||0===E||T.ended)return;let e=!1,t=0,n=()=>{var a;if(e)return;if(y&&"undefined"!=typeof document&&document.hidden){t=window.setTimeout(n,1e3);return}let r=m(h(E),i,!1!==d&&void 0,v);t=window.setTimeout(()=>{e||(L(Date.now()),n())},(a=r.map(e=>e.unit)).includes("seconds")?1e3:a.includes("minutes")?3e4:6e4)};return n(),()=>{e=!0,window.clearTimeout(t)}},[E,F,v,y,T.ended,A]);let I=R.map(e=>e.label?"".concat(e.value," ").concat(e.label):e.text).join(" ");return(0,a.jsx)("span",{...C,role:"timer","aria-live":"polite","aria-atomic":"true","aria-label":I,suppressHydrationWarning:!0,className:(0,s.cn)("inline-flex items-baseline tabular-nums","stacked"===c?"items-end":"items-baseline",g[x],j),children:R.map((e,t)=>(0,a.jsxs)(r.Fragment,{children:[t>0&&"units"!==c?(0,a.jsx)("span",{className:(0,s.cn)(p[x]),"aria-hidden":!0,children:f}):null,t>0&&"units"===c?(0,a.jsx)("span",{className:"sr-only",children:" "}):null,(0,a.jsx)(b,{segment:e,format:c,size:x,digitClassName:N,labelClassName:k})]},e.unit))})}function b(e){let{segment:t,format:n,size:r,digitClassName:l,labelClassName:i}=e,o=(0,a.jsx)(w,{value:t.text,className:(0,s.cn)("font-mono tabular-nums text-foreground",x[r],l)});return"units"===n?null==t.label?(0,a.jsx)("span",{className:"inline-flex","aria-hidden":!0,
1children:o}):(0,a.jsxs)("span",{className:"inline-flex items-baseline gap-0.5","aria-hidden":!0,children:[o,(0,a.jsx)("span",{className:(0,s.cn)("font-medium text-muted-foreground","sm"===r?"text-xs":"lg"===r?"text-base":"text-sm",i),children:t.label})]}):"colon"===n?(0,a.jsx)("span",{className:"inline-flex","aria-hidden":!0,children:o}):(0,a.jsxs)("span",{className:"flex flex-col items-center gap-0.5","aria-hidden":!0,children:[o,null!=t.label?(0,a.jsx)("span",{className:(0,s.cn)("text-muted-foreground/80",f[r],i),children:t.label}):null]})}function w(e){let{value:t,className:n}=e,o=(0,l.I)(),[c,d]=(0,i.l)(),u=r.useRef(t),[h,m]=r.useState(null),x=r.useRef(0);return r.useEffect(()=>{if(t===u.current)return;let e=u.current;if(u.current=t,o)return void m(null);x.current+=1;let n=x.current;m(e);let a=!1;return(async()=>{if(await new Promise(e=>requestAnimationFrame(()=>e())),!a&&n===x.current){try{await d([["[data-cd-out]",{y:"-55%",opacity:0},{duration:.28,ease:"easeIn"}],["[data-cd-in]",{y:["55%","0%"],opacity:[0,1]},{duration:.28,ease:"easeOut",at:"<"}]],{defaultTransition:{type:"tween"}})}catch(e){}a||n!==x.current||m(null)}})(),()=>{a=!0}},[t,o,d]),(0,a.jsxs)("span",{ref:c,className:(0,s.cn)("relative inline-block overflow-hidden",n),children:[(0,a.jsx)("span",{className:"invisible block","aria-hidden":!0,children:t}),(0,a.jsx)("span",{"data-cd-in":!0,className:"absolute inset-0 flex items-center justify-center","aria-hidden":!0,children:t}),null!=h?(0,a.jsx)("span",{"data-cd-out":!0,className:"absolute inset-0 flex items-center justify-center","aria-hidden":!0,children:h}):null]})}},51724:(e,t,n)=>{n.d(t,{J:()=>c});var a=n(95155),r=n(12115),l=n(15239),i=n(53350),s=n(68),o=n(61527);function c(e){let{src:t="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Crect width='400' height='300' fill='%23e5e5e5'/%3E%3C/svg%3E",alt:n="",shift:c=12,className:d="",container:u,priority:h=!1}=e,m=r.useRef(null),x=r.useRef(null),[f,p]=r.useState(!1);r.useEffect(()=>{let e=x.current;e&&e.complete&&e.naturalWidth>0&&p(!0)},[t]);let g=(0,i.d)(.5),v=r.useCallback(()=>{var e;let t=m.current;if(!t)return;let n=null!=(e=null==u?void 0:u.current)?e:null,a=n?n.getBoundingClientRect().top:0,r=n?n.clientHeight:window.innerHeight,l=t.getBoundingClientRect(),i=r+l.height,s=i>0?(a+r-l.top)/i:.5;g.set(Math.min(1,Math.max(0,s)))},[u,g]);r.useLayoutEffect(()=>{var e;v();let t=null!=(e=null==u?void 0:u.current)?e:window,n=0,a=()=>{n||(n=requestAnimationFrame(()=>{n=0,v()}))};return t.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a,{passive:!0}),()=>{n&&cancelAnimationFrame(n),t.removeEventListener("scroll",a),window.removeEventListener("resize",a)}},[v,u]);let b=(0,s.G)(g,[0,1],["-".concat(c,"%"),"".concat(c,"%")]),w="string"==typeof t&&t.startsWith("data:"),y="string"!=typeof t;return(0,a.jsx)("div",{ref:m,className:"relative w-full overflow-hidden bg-muted ".concat(d),style:d?void 0:{aspectRatio:"4 / 3"},children:(0,a.jsx)(o.P.div,{className:"absolute inset-0 will-change-transform",style:{y:b,scale:1+2*c/100+.01},children:(0,a.jsx)(l.default,{ref:x,src:t,alt:n,fill:!0,sizes:"(min-width: 1024px) 1024px, 100vw",className:"object-cover select-none pointer-events-none transition duration-500 ".concat(f?"blur-0 scale-100":"blur-md scale-105"),draggable:!1,priority:h,placeholder:y?"blur":"empty",onLoad:()=>p(!0),unoptimized:w})})})}},54670:(e,t,n)=>{n.d(t,{i:()=>i});var a=n(95155);n(12115);var r=n(15239),l=n(25016);function i(e){let{title:t,classNames:n,trafficLights:i=!0,src:s="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Crect width='400' height='300' fill='%23e5e5e5'/%3E%3C/svg%3E",alt:o="",className:c,aspectRatio:d,imageWidth:u,imageHeight:h,imageFit:m="contain",children:x,theme:f,url:p}=e,g=null!=u&&null!=h&&u>0&&h>0,v=g&&!d?{aspectRatio:"".concat(u," / ").concat(h)}:void 0,b={frame:"dark"===f?"border-white/10 bg-zinc-900/70":"light"===f?"border-black/10 bg-white/70":"border-border/50 bg-card/70",headerBorder:"dark"===f?"border-white/10":"light"===f?"border-black/10":"border-border/50",mutedText:"dark"===f?"text-zinc-400":"light"===f?"text-zinc-500":"text-muted-foreground",addressBar:"dark"===f?"bg-white/10":"light"===f?"bg-black/5":"bg-muted/60",viewport:"dark"===f?"bg-zinc-800/40":"light"===f?"bg-zinc-100/60":"bg-muted/30"};return(0,a.jsx)("div",{className:(0,l.cn)("relative mx-auto max-w-full",c),children:(0,a.jsxs)("div",{className:(0,l.cn)("overflow-hidden rounded-xl border backdrop-blur-sm",b.frame,null==n?void 0:n.chrome),children:[(0,a.jsxs)("div",{className:(0,l.cn)("flex items-center gap-2 border-b px-4 py-3",b.headerBorder,null==n?void 0:n.titleBar),children:[i?(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("div",{className:"size-3 rounded-full bg-red-500"}),(0,a.jsx)("div",{className:"size-3 rounded-full bg-yellow-500"}),(0,a.jsx)("div",{className:"size-3 rounded-full bg-green-500"})]}):null,p?(0,a.jsx)("div",{className:"flex flex-1 justify-center",children:(0,a.jsx)("span",{className:(0,l.cn)("max-w-full truncate rounded-md px-3 py-0.5 text-xs",b.addressBar,b.mutedText),children:p})}):t?(0,a.jsx)("div",{className:"flex-1 text-center",children:(0,a.jsx)("span",{className:(0,l.cn)("text-xs",b.mutedText),children:t})}):(0,a.jsx)("div",{className:"flex-1"}),(0,a.jsx)("div",{className:"w-12"})]}),(0,a.jsx)("div",{className:(0,l.cn)("relative w-full",b.viewport,null!=d?d:g?void 0:"aspect-[16/10]",null==n?void 0:n.viewport),style:v,children:null!=x?x:(0,a.jsx)(r.default,{src:s,alt:o,fill:!0,className:(0,l.cn)("cover"===m?"object-cover object-top":"object-contain object-center"),sizes:"(max-width: 768px) 100vw, 80vw"})})]})})}},58484:(e,t,n)=>{n.d(t,{U6:()=>i});var a=n(95155);n(12115);var r=n(21873),l=n(25016);function i(e){let{location:t,className:n,children:i,icon:s=(0,a.jsx)(r.A,{className:"size-4 shrink-0","aria-hidden":!0}),...o}=e,c=function(e){let t=new URLSearchParams({api:"1",query:e});return"".concat("https://www.google.com/maps/search/","?").concat(t.toString())}(t);return(0,a.jsxs)("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:(0,l.cn)("inline-flex items-center gap-2",n),...o,children:[s,null!=i?i:t]})}},68170:(e,t,n)=>{n.d(t,{J:()=>i});var a=n(95155),r=n(25016),l=n(12115);let i=e=>{let{className:t,...n}=e,i=(0,l.useId)();return(0,a.jsxs)("svg",{width:"1595",height:"2",viewBox:"0 0 1595 2",preserveAspectRatio:"none",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,r.cn)("block h-px w-full pointer-events-none",t),...n,children:[(0,a.jsx)("path",{d:"M0 1H1594.5",stroke:"url
1(#line-path-gradient-".concat(i,")"),strokeDasharray:"8 8"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"line-path-gradient-".concat(i),x1:"0",y1:"1.5",x2:"1594.5",y2:"1.5",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"currentColor",stopOpacity:"0"}),(0,a.jsx)("stop",{offset:"0.2",stopColor:"hsl(var(--neutral-400, 0 0% 68%))"}),(0,a.jsx)("stop",{offset:"0.8",stopColor:"hsl(var(--neutral-400, 0 0% 68%))"}),(0,a.jsx)("stop",{offset:"1",stopColor:"currentColor",stopOpacity:"0"})]})})]})}},77771:(e,t,n)=>{n.d(t,{FN:()=>v,P4:()=>w,Yc:()=>p,Zp:()=>b});var a=n(95155),r=n(12115),l=n(15239),i=n(20063),s=n(61527),o=n(71408),c=n(52619),d=n.n(c),u=n(11043),h=n(52292),m=n(2186),x=n(25016),f=n(45250);let p=(0,r.createContext)({onCardClose:()=>{},currentIndex:0}),g=["One","Two","Three","Four"].map((e,t)=>(0,a.jsxs)("div",{"data-carousel-card":!0,className:"flex h-56 w-72 shrink-0 flex-col justify-end rounded-3xl bg-gradient-to-br from-muted to-card p-6 text-foreground",children:[(0,a.jsx)("span",{className:"text-sm text-muted-foreground",children:"Sample"}),(0,a.jsx)("span",{className:"text-2xl font-semibold",children:e})]},t)),v=e=>{let{items:t=g,initialScroll:n=0,noStartPadding:l=!1,noEndPadding:i=!1,showArrows:o=!0,dense:c=!1,previousLabel:d="Previous slide",nextLabel:m="Next slide"}=e,f=r.useRef(null),[v,b]=r.useState(!1),[w,y]=r.useState(!0),[j,N]=(0,r.useState)(0);(0,r.useEffect)(()=>{f.current&&(f.current.scrollLeft=n,k())},[n]);let k=()=>{if(f.current){let{scrollLeft:e,scrollWidth:t,clientWidth:n}=f.current;b(e>1),y(e<t-n-1)}},C=e=>{if(!f.current)return;let t=f.current,n=t.querySelector("[data-carousel-track]"),a=t.querySelector("[data-carousel-card]"),r=n?parseFloat(getComputedStyle(n).columnGap||getComputedStyle(n).gap||"0"):16,l=a?a.getBoundingClientRect().width+r:300,i=t.scrollWidth-t.clientWidth,s=Math.max(0,Math.min(t.scrollLeft+e*l,i));t.scrollTo({left:s,behavior:"smooth"})},z=()=>window&&window.innerWidth<768;return(0,a.jsx)(p.Provider,{value:{onCardClose:e=>{if(f.current){let t=z()?230:384,n=z()?4:8;f.current.scrollTo({left:(t+n)*(e+1),behavior:"smooth"}),N(e)}},currentIndex:j},children:(0,a.jsxs)("div",{className:"relative w-full @container",children:[(0,a.jsxs)("div",{className:(0,x.cn)("flex w-full overflow-x-scroll overscroll-x-auto scroll-smooth [scrollbar-width:none]",c?"py-1.5":"py-4 md:py-6",i?"pr-0":c?"pr-[4%]":"pr-[5%] md:pr-[15%]"),ref:f,onScroll:k,children:[!i&&(0,a.jsx)("div",{className:(0,x.cn)("absolute right-0 z-[1000] h-auto w-[5%] overflow-hidden bg-gradient-to-l")}),(0,a.jsx)("div",{"data-carousel-track":!0,className:(0,x.cn)("flex flex-row justify-start gap-4",l?"pl-0":"pl-4",l?"mx-0 max-w-none":"mx-auto max-w-7xl"),children:t.map((e,t)=>(0,a.jsx)(s.P.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0,transition:{duration:.5,delay:.2*t,ease:"easeOut"}},"data-carousel-card":!0,className:"rounded-xl flex-none min-w-0 min-h-0",children:e},"card"+t))})]}),o?(0,a.jsxs)("div",{className:(0,x.cn)("flex justify-end gap-2",c?"mr-1 mt-1":"mr-6 mt-2"),children:[(0,a.jsx)("button",{className:"relative z-40 flex h-10 w-10 items-center justify-center rounded-full bg-muted disabled:opacity-50",onClick:()=>C(-1),disabled:!v,"aria-label":d,children:(0,a.jsx)(u.A,{className:"h-6 w-6 text-muted-foreground"})}),(0,a.jsx)("button",{className:"relative z-40 flex h-10 w-10 items-center justify-center rounded-full bg-muted disabled:opacity-50",onClick:()=>C(1),disabled:!w,"aria-label":m,children:(0,a.jsx)(h.A,{className:"h-6 w-6 text-muted-foreground"})})]}):null]})})},b=e=>{var t,n;let{card:l,index:c,layout:u=!1,compact:h=!1,className:g}=e,[v,b]=(0,r.useState)(!1),y=(0,r.useRef)(null),{onCardClose:j,currentIndex:N}=(0,r.useContext)(p),k=(0,i.useRouter)(),C=(0,r.useCallback)(()=>{b(!1),j(c)},[j,c]);return(0,r.useEffect)(()=>{function e(e){"Escape"===e.key&&C()}return document.body.style.overflow=v?"hidden":"",window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e),document.body.style.overflow=""}},[v,C]),(0,f.j)(y,C),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.N,{children:v&&(0,a.jsxs)("div",{className:"fixed inset-0 z-50 h-[100dvh] overflow-auto",children:[(0,a.jsx)(s.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 h-full w-full bg-foreground/80 backdrop-blur-lg"}),(0,a.jsxs)(s.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},ref:y,layoutId:u?"card-".concat(l.title):void 0,className:"relative z-[60] mx-auto my-10 h-fit max-w-5xl rounded-xl bg-background p-4 font-sans md:p-10",children:[(0,a.jsx)("button",{className:"sticky top-4 right-0 ml-auto flex h-8 w-8 items-center justify-center rounded-full bg-foreground",onClick:C,children:(0,a.jsx)(m.A,{className:"h-6 w-6 text-background"})}),(0,a.jsx)(s.P.p,{layoutId:u?"category-".concat(l.title):void 0,className:"text-base font-medium text-foreground",children:l.category}),(0,a.jsx)(s.P.p,{layoutId:u?"title-".concat(l.title):void 0,className:"mt-3 text-2xl font-semibold text-foreground md:text-5xl",children:l.title}),(0,a.jsx)("div",{className:"py-8",children:l.content})]})]})}),l.href?(0,a.jsx)(d(),{href:l.href,className:(0,x.cn)("group relative z-10 flex flex-col items-start justify-start overflow-hidden rounded-xl",h?"w-[clamp(7.5rem,26cqw,12rem)] aspect-[3/4]":"w-[clamp(9rem,32cqw,18rem)] aspect-[3/5]",l.customComponent||l.src?"bg-transparent":"bg-muted",g),children:(0,a.jsxs)("div",{className:"absolute inset-0 transition-transform duration-300 ease-out will-change-transform transform-gpu group-hover:scale-[1.03]",children:[(0,a.jsx)("div",{className:"pointer-events-none absolute inset-x-0 top-0 z-30 h-full bg-gradient-to-b from-black/80 via-black/25 to-transparent"}),(0,a.jsxs)("div",{className:(0,x.cn)("pointer-events-none absolute inset-x-0 top-0 z-50 text-white isolate",h?"p-4 md:p-5":"p-6 md:p-8"),children:[(0,a.jsx)(s.P.div,{layoutId:u?"category-".concat(l.title):void 0,className:"inline-flex",children:(0,a.jsx)("span",{className:(0,x.cn)("inline-block text-white",h&&"text-xs"),children:null!=(t=l.categoryNode)?t:l.category})}),(0,a.jsx)(s.P.p,{layoutId:u?"title-".concat(l.title):void 0,className:(0,x.cn)("mt-1 md:mt-2 max-w-xs text-left font-sans font-semibold [text-wrap:balance] text-white",h?"text-base md:text-lg":"text-xl md:text-2xl"),children:l.title})]}),l.customComponent?(0,a.jsx)("div",{className:"absolute inset-0 z-10",children:l.customComponent}):l.src?(0,a.jsx)(w,{src:l.src,alt:l.title,className:"absolute -inset-px z-10 object-cover transform-gpu will-change-transform"}):null]})}):(0,a.jsx)(s.P.button,{layoutId:u?"card-".concat(l.title):void 0,onClick:()=>{l.href?k.push(l.href):b(!0)},className:(0,x.cn)("group relative z-10 flex w-[clamp(10rem,40cqw,22rem)] aspect-[3/5] flex-col items-start justify-start overflow-hidden rounded-xl",l.customComponent||l.src?"bg-transparent":"bg-muted"),children:(0,a.jsxs)("div",{className:"absolute inset-0 transition-transform duration-300 ease-out will-change-transform transform-gpu group-hover:scale-[1.03]",children:[(0,a.jsx)("div",{className:"pointer-events-none absolute inset-x-0 top-0 z-30 h-full bg-gradient-to-b from-black/80 via-black/25 to-transparent"}),(0,a.jsxs)("div",{className:"pointer-events-none absolute inset-x-0 top-0 z-50 p-6 md:p-8 text-white isolate",children:[(0,a.jsx)(s.P.div,{layoutId:u?"category-".concat(l.title):void 0,className:"inline-flex",children:(0,a.jsx)("span",{className:"inline-block text-white",children:null!=(n=l.categoryNode)?n:l.category})}),(0,a.jsx)(s.P.p,{layoutId:u?"title-".concat(l.title):void 0,className:"mt-1 md:mt-2 max-w-xs text-left font-sans text-xl font-semibold [text-wrap:balance] md:text-3xl text-white",children:l.title})]}),l.customComponent?(0,a.jsx)("div",{className:"absolute inset-0 z-10",children:l.customComponent}):l.src?(0,a.jsx)(w,{src:l.src,alt:l.title,className:"absolute -inset-px z-10 object-cover transform-gpu will-change-transform"}):null]})})]})},w=e=>{let{height:t,width:n,src:i,className:s,alt:o,...c}=e,[d,u]=(0,r.useState)(!0);return(0,a.jsx)(l.default,{className:(0,x.cn)("h-full w-full transition duration-300",d?"blur-sm":"blur-0",s),onLoad:()=>u(!1),src:i,...(null==n||null==t)&&!(null==c?void 0:c.fill)?{fill:!0}:{width:n,height:t},loading:"lazy",decoding:"async",blurDataURL:"string"==typeof i?i:void 0,alt:o||"Image",quality:90,sizes:"(max-width: 768px) 224px, 384px",...c})}},81784:(e,t,n)=>{function a(e,t){var n,a;if("string"!=typeof t||""===t)return"";if(/^(https?:)?\/\//i.test(t)||t.startsWith("/"))return t;let r="".concat(e.replace(/\/$/,""),"/").concat(t),[,l,i]=RegExp("^([^?#]*)(.*)$","s").exec(r);if(!/(^|\/)(?:\.|%2e){1,2}(?=\/|$)/i.test(l))return r;let s=null!=(a=null==(n=/^(?:https?:)?\/\/[^/]+/i.exec(l))?void 0:n[0])?a:"",o=l.slice(s.length),c=o.startsWith("/"),d=[];for(let e of(c?o.slice(1):o).split("/")){let t=e.replace(/%2e/ig,".");"."!==t&&(".."===t?d.length&&".."!==d.at(-1)?d.pop():c||d.push(".."):d.push(e))}let u=(c?"/":"")+d.join("/");return/(?:\/|(?:^|\/)(?:\.|%2e){1,2})$/i.test(o)&&u&&!u.endsWith("/")&&(u+="/"),s||c||u||(u="./"),!s&&!c&&/^[^/]*:/.test(u)&&(u="./".concat(u)),s+u+i}n.d(t,{RP:()=>r,LP:()=>s,AT:()=>g,Xx:()=>f,xs:()=>m,sd:()=>i,Sr:()=>a,Xf:()=>v});let r={x:.2,y:.2,width:.6,height:.6},l=[9/16,.8,1,4/3,1.5,16/9,21/9];function i(e,t,n){return"string"==typeof t&&/%(0\d+)?d/.test(t)?a(e,t.replace(/%(0(\d+))?d/g,(e,t,a)=>{let r=Number(a);return a&&Number.isFinite(r)&&!(r>12)?String(n).padStart(r,"0"):String(n)})):""}function s(e,t){let n=Number.isFinite(t)?Math.floor(t):0;return n<1||!Number.isFinite(e)?1:Math.min(n,Math.max(1,Math.round(e)))}let o={scale:1,objectPosition:"50% 50%",clamped:!1},c=(e,t)=>Number.isFinite(e)?Math.min(1,Math.max(0,e)):t;function d(e){let t=e&&"object"==typeof e?e:r,n=c(t.x,r.x),a=c(t.y,r.y);return{x:n,y:a,width:Math.min(c(t.width,r.width),1-n),height:Math.min(c(t.height,r.height),1-a)}}function u(e,t){let n=1-e;return n>0?Math.min(1,Math.max(0,(t-e/2)/n)):.5}let h=e=>"".concat(Number((100*e).toFixed(4)),"%");function m(e,t,n){if(![null==e?void 0:e.width,null==e?void 0:e.he
1ight,null==t?void 0:t.width,null==t?void 0:t.height].every(e=>Number.isFinite(e)&&e>0))return{...o};let a=t.width/t.height/(e.width/e.height);if(!Number.isFinite(a)||a<=0)return{...o};let r=d(n),l=Math.min(1,a),i=Math.min(1,1/a),s=r.width>0?l/r.width:1/0,c=r.height>0?i/r.height:1/0,m=Math.min(s,c),x=m>=.999999999?1:m,f={scale:x,objectPosition:[h(u(l/x,r.x+r.width/2)),h(u(i/x,r.y+r.height/2))].join(" "),clamped:x<1};return f.clamped&&(f.shrink=s<=c?"height":"width"),f}let x=e=>"number"==typeof e&&Number.isFinite(e)&&e>0;function f(e,t){if(!x(e))return{x:.5,y:.5,width:0,height:0};let n=(Array.isArray(t)?t:l).filter(x),a=n.length?n:[...l],r=Math.min(1,Math.min(...a)/e),i=Math.min(1,e/Math.max(...a));return{x:(1-r)/2,y:(1-i)/2,width:r,height:i}}let p=e=>String(Number(e.toFixed(6)));function g(e,t){let n=x(null==e?void 0:e.width)&&x(null==e?void 0:e.height)?e.width/e.height:1,a=d(t),r=a.x+a.width/2,l=a.y+a.height/2,i=["max(100cqw, ".concat(p(100*n),"cqh)")],s=["max(100cqh, ".concat(p(100/n),"cqw)")];a.width>0&&(i.push("".concat(p(100/a.width),"cqw")),s.push("".concat(p(100/(n*a.width)),"cqw"))),a.height>0&&(i.push("".concat(p(100*n/a.height),"cqh")),s.push("".concat(p(100/a.height),"cqh")));let o=e=>1===e.length?e[0]:"min(".concat(e.join(", "),")"),c=o(i),u=o(s),m=(e,t,n)=>{let a="(100".concat(e," - ").concat(t,")");return"clamp(min(calc".concat(a,", calc(").concat(a," / 2)), calc(50").concat(e," - ").concat(p(n)," * ").concat(t,"), max(0px, calc(").concat(a," / 2)))")};return{wrapper:{width:c,height:u,left:m("cqw",c,r),top:m("cqh",u,l)},fallbackObjectPosition:"".concat(h(r)," ").concat(h(l))}}function v(e,t,n){if(![null==e?void 0:e.width,null==e?void 0:e.height,null==t?void 0:t.width,null==t?void 0:t.height].every(x))return{width:0,height:0,left:0,top:0};let a=e.width/e.height,r=d(n),l=t.width,i=t.height,s=[Math.max(l,a*i)];r.width>0&&s.push(l/r.width),r.height>0&&s.push(a*i/r.height);let o=Math.min(...s),c=o/a,u=(e,t,n)=>{let a=e-t;return Math.max(Math.min(a,a/2),Math.min(e/2-n*t,Math.max(0,a/2)))};return{width:o,height:c,left:u(l,o,r.x+r.width/2),top:u(i,c,r.y+r.height/2)}}},83231:(e,t,n)=>{n.d(t,{CodeBlock:()=>f});var a=n(95155),r=n(12115),l=n(31627),i=n(33305),s=n(1003);l.A.registerLanguage("python",i.A),l.A.registerLanguage("markup",s.A);let o=new Set(["python","py","markup","html","xml","svg","mathml","ssml","atom","rss","text","plain","plaintext","none"]),c=(0,r.lazy)(()=>n.e(9653).then(n.bind(n,59653)));var d=n(98397),u=n(571),h=n(25016),m=n(48644),x=n(4014);function f(e){var t,n,i,s,f,p;let{language:g="python",theme:v,chrome:b="overlay",classNames:w,filename:y,highlightLines:j=[],code:N='print("Hello, world!")',tabs:k,showLineNumbers:C=!1,copyButton:z=!0,wrap:S=!1,className:L}=e,[A,P]=(0,r.useState)(0),{isDark:M}=(0,m.Y)("dark");(0,r.useEffect)(()=>{P(0)},[k]);let E=null==k?void 0:k[A],T=null!=(n=null!=(t=null==E?void 0:E.code)?t:N)?n:"",R=null!=(i=null==E?void 0:E.language)?i:g,F=o.has(R.toLowerCase())?l.A:c,I=null!=(f=null!=(s=null==E?void 0:E.filename)?s:y)?f:null==E?void 0:E.name,q=null!=(p=null==E?void 0:E.highlightLines)?p:j,B=(0,r.useMemo)(()=>new Set(q),[q]),U=(v?"dark"===v:M)?d.A:u.A,D=!!(I||(null==k?void 0:k.length)),_="bar"===b,W=_?"":"surface surface-glass-subtle";return(0,a.jsx)(r.Suspense,{fallback:null,children:(0,a.jsxs)("figure",{className:(0,h.cn)("not-prose relative my-6 overflow-hidden rounded-2xl text-foreground shadow-elevation-1",_?"":"surface surface-glass-dramatic",L,null==w?void 0:w.container),children:[_&&(D||z)?(0,a.jsxs)("figcaption",{className:(0,h.cn)("flex items-center justify-between gap-2 px-3 py-2",null==w?void 0:w.header),children:[(0,a.jsx)("div",{className:"flex min-w-0 flex-1 items-center",children:(null==k?void 0:k.length)?(0,a.jsx)("div",{className:"flex min-w-0 flex-wrap items-center gap-1",children:k.map((e,t)=>(0,a.jsx)("button",{type:"button",onClick:()=>(0,r.startTransition)(()=>P(t)),className:(0,h.cn)("rounded-lg px-2.5 py-1 text-xs font-medium transition-colors duration-200","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",t===A?"bg-muted text-foreground shadow-elevation-1 dark:bg-white/10":"text-muted-foreground hover:bg-muted/70 hover:text-foreground dark:hover:bg-white/10"),children:e.name},"".concat(e.name,"-").concat(t)))}):I?(0,a.jsx)("span",{className:"truncate rounded-lg px-2.5 py-1 font-mono text-xs font-medium text-inherit opacity-80",children:I}):null}),z?(0,a.jsx)(x.M,{text:T,surfaceClassName:"bg-transparent shadow-none"}):null]}):null,!_&&D?(0,a.jsx)("figcaption",{className:(0,h.cn)("pointer-events-none absolute left-3 right-14 top-3 z-10 flex min-w-0 items-center",null==w?void 0:w.header),children:(null==k?void 0:k.length)?(0,a.jsx)("div",{className:(0,h.cn)("pointer-events-auto flex min-w-0 flex-wrap items-center gap-1 rounded-xl p-1 shadow-elevation-1",W),children:k.map((e,t)=>(0,a.jsx)("button",{type:"button",onClick:()=>(0,r.startTransition)(()=>P(t)),className:(0,h.cn)("rounded-lg px-2.5 py-1 text-xs font-medium transition-colors duration-200","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",t===A?"bg-muted text-foreground shadow-elevation-1 dark:bg-white/10":"text-muted-foreground hover:bg-muted/70 hover:text-foreground dark:hover:bg-white/10"),children:e.name},"".concat(e.name,"-").concat(t)))}):(0,a.jsx)("span",{className:(0,h.cn)("pointer-events-auto truncate rounded-lg px-2.5 py-1 font-mono text-xs font-medium text-muted-foreground shadow-elevation-1",W),children:I})}):null,!_&&z?(0,a.jsx)("div",{className:"absolute right-3 top-3 z-10",children:(0,a.jsx)(x.M,{text:T,surfaceClassName:W})}):null,(0,a.jsx)("div",{className:(0,h.cn)("overflow-x-auto",_&&"[&_pre]:!bg-transparent [&_code]:!bg-transparent",null==w?void 0:w.code),children:(0,a.jsx)(F,{language:R,style:U,showLineNumbers:C,wrapLongLines:S,wrapLines:!0,lineProps:e=>({className:B.has(e)?"block bg-primary/10 border-l-2 border-primary":"block border-l-2 border-transparent"}),customStyle:{margin:0,padding:_?"1rem":D?"3.75rem 3.75rem 1rem 1rem":"1rem 3.75rem 1rem 1rem",background:"transparent",backgroundColor:"transparent",fontSize:"0.875rem",lineHeight:"1.7"},codeTagProps:{className:"font-mono",style:{background:"transparent",backgroundColor:"transparent"}},children:T})})]})})}},92141:(e,t,n)=>{n.d(t,{p:()=>o});var a=n(95155),r=n(15239),l=n(81784),i=n(25016);let s={containerType:"size"};function o(e){let{intrinsic:t,safeRegion:n,className:o,imageClassName:c,alt:d,...u}=e,h=(0,l.AT)(t,n);return(0,a.jsx)("div",{className:(0,i.cn)("relative overflow-hidden",o),style:s,children:(0,a.jsx)("div",{className:"absolute inset-0",style:h.wrapper,children:(0,a.jsx)(r.default,{...u,alt:d,fill:!0,style:{objectPosition:h.fallbackObjectPosition},className:(0,i.cn)("object-cover",c)})})})}},94667:(e,t,n)=>{n.d(t,{C:()=>o,j:()=>s});var a=n(95155),r=n(25016);let l={bottom:"inset-x-0 bottom-0",top:"inset-x-0 top-0"},i={bottom:"to top",top:"to bottom"};function s(e){let{className:t,position:n="bottom",mode:s="darken",intensity:o="medium",blur:c=2,size:d,color:u}=e,h=i[n],m={};m["--scrim-direction"]=h,d&&(m["--scrim-size"]=d),u&&(m["--scrim-color"]=u);let x="linear-gradient(".concat(h,", transparent 0, black 8px, black 30%, transparent), ")+"linear-gradient(to right, transparent 0, black 32px, black calc(100% - 32px), transparent 100%)";return(0,a.jsx)("div",{"aria-hidden":!0,style:m,className:(0,r.cn)("media-scrim pointer-events-none absolute z-10",l[n],"lighten"===s&&"media-scrim-lighten","medium"!==o&&"media-scrim-".concat(o),t),children:c>0?(0,a.jsx)("div",{className:"absolute inset-0",style:{backdropFilter:"blur(".concat(c,"px)"),WebkitBackdropFilter:"blur(".concat(c,"px)"),maskImage:x,maskComposite:"intersect"}}):null})}function o(e){return(0,a.jsx)(s,{...e})}}
1,97693:(e,t,n)=>{n.d(t,{dH:()=>s});var a=n(95155);n(12115);var r=n(16485),l=n(25016);function i(e){if(!e)return;let t=new Date(e);if(Number.isNaN(t.getTime()))return;let n=e=>String(e).padStart(2,"0"),a=t.getUTCFullYear(),r=n(t.getUTCMonth()+1),l=n(t.getUTCDate()),i=n(t.getUTCHours()),s=n(t.getUTCMinutes()),o=n(t.getUTCSeconds());return"".concat(a).concat(r).concat(l,"T").concat(i).concat(s).concat(o,"Z")}function s(e){let{title:t,start_at:n,end_at:s,location:o,location_search:c,description:d,className:u,children:h,icon:m=(0,a.jsx)(r.A,{className:"size-4 shrink-0","aria-hidden":!0}),...x}=e,f=function(e){let{title:t,start_at:n,end_at:a,location:r,location_search:l,description:s}=e,o=i(n),c=i(a),d=new URLSearchParams;d.set("action","TEMPLATE"),d.set("text",t),o&&c?d.set("dates","".concat(o,"/").concat(c)):o&&d.set("dates",o),s&&d.set("details",s);let u=l||r;return u&&d.set("location",u),"".concat("https://www.google.com/calendar/render","?").concat(d.toString())}({title:t,start_at:n,end_at:s,location:o,location_search:c,description:d});return(0,a.jsxs)("a",{href:f,target:"_blank",rel:"noopener noreferrer",className:(0,l.cn)("inline-flex items-center gap-2",u),...x,children:[m,null!=h?h:t]})}},97731:(e,t,n)=>{n.d(t,{v:()=>c});var a=n(95155),r=n(12115),l=n(12781),i=n(25016);let s={monthlyLabel:"Monthly",yearlyLabel:"Yearly",perPeriodSuffix:"/mo",currencyPrefix:"$",ctaLabel:"Get started"},o=[{id:"starter",name:"Starter",monthlyPrice:9,annualPrice:90},{id:"pro",name:"Pro",badge:"Popular",monthlyPrice:29,annualPrice:290}];function c(e){let{className:t,classNames:n,plans:c=o,labels:d,onSelect:u,defaultPeriod:h="monthly",highlightPlanId:m,monthlyLabel:x,yearlyLabel:f,perPeriodSuffix:p,currencyPrefix:g,ctaLabel:v}=e,[b,w]=r.useState(0),[y,j]=r.useState(+("yearly"===h)),N={...s,...d,...null!=x&&{monthlyLabel:x},...null!=f&&{yearlyLabel:f},...null!=p&&{perPeriodSuffix:p},...null!=g&&{currencyPrefix:g},...null!=v&&{ctaLabel:v}},k=0===y?"monthly":"yearly";return(0,a.jsxs)("div",{className:(0,i.cn)("flex w-full max-w-sm flex-col items-center gap-3 rounded-[32px] border-2 border-border bg-card p-3 text-foreground shadow-elevation-2",t,null==n?void 0:n.container),children:[(0,a.jsxs)("div",{className:(0,i.cn)("relative flex w-full items-center rounded-full bg-muted p-1.5",null==n?void 0:n.toggle),children:[(0,a.jsx)("button",{type:"button",className:"z-20 w-full rounded-full p-1.5 font-semibold text-foreground",onClick:()=>j(0),children:N.monthlyLabel}),(0,a.jsx)("button",{type:"button",className:"z-20 w-full rounded-full p-1.5 font-semibold text-foreground",onClick:()=>j(1),children:N.yearlyLabel}),(0,a.jsx)("div",{className:"absolute inset-0 z-10 flex w-1/2 items-center justify-center p-1.5",style:{transform:"translateX(".concat(100*y,"%)"),transition:"transform 0.3s"},children:(0,a.jsx)("div",{className:"h-full w-full rounded-full bg-background shadow-elevation-1"})})]}),(0,a.jsxs)("div",{className:"relative flex w-full flex-col items-center justify-center gap-3",children:[c.map((e,t)=>{let r=0===y?e.monthlyPrice:e.annualPrice;return(0,a.jsxs)("button",{type:"button",className:(0,i.cn)("flex w-full cursor-pointer justify-between rounded-2xl border-2 border-border p-4 text-left",m===e.id&&"border-primary/60",null==n?void 0:n.plan,b===t&&(null==n?void 0:n.planActive)),onClick:()=>{var e;w(t),null==u||u(null==(e=c[t])?void 0:e.id,k)},children:[(0,a.jsxs)("div",{className:"flex flex-col items-start",children:[(0,a.jsxs)("p",{className:"flex items-center gap-2 text-xl font-semibold text-foreground",children:[e.name,e.badge?(0,a.jsx)("span",{className:"block rounded-lg bg-primary/15 px-2 py-1 text-sm text-primary",children:e.badge}):null]}),(0,a.jsxs)("p",{className:"text-md flex text-muted-foreground",children:[(0,a.jsxs)("span",{className:"flex items-center font-medium text-foreground",children:[N.currencyPrefix,(0,a.jsx)(l.Ay,{className:"font-medium text-foreground",value:r})]}),N.perPeriodSuffix]})]}),(0,a.jsx)("div",{className:"mt-0.5 flex size-6 items-center justify-center rounded-full border-2 p-1",style:{borderColor:b===t?"hsl(var(--foreground))":"hsl(var(--border))",transition:"border-color 0.3s"},children:(0,a.jsx)("div",{className:"size-3 rounded-full bg-foreground",style:{opacity:+(b===t),transition:"opacity 0.3s"}})})]},e.id)}),(0,a.jsx)("div",{className:"pointer-events-none absolute top-0 rounded-2xl border-[3px] border-foreground",style:{width:"100%",height:"".concat(88,"px"),transform:"translateY(".concat(88*b+12*b,"px)"),transition:"transform 0.3s"}})]}),(0,a.jsx)("button",{type:"button",className:(0,i.cn)("w-full rounded-full bg-primary p-3 text-lg text-primary-foreground transition-transform duration-300 active:scale-95",null==n?void 0:n.cta),onClick:()=>{var e;return null==u?void 0:u(null==(e=c[b])?void 0:e.id,k)},children:N.ctaLabel})]})}}}]);
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.