PageSourceSearch

https://giftlist.com/_next/static/chunks/07j5tg0e12dpr.js

js giftlist.com collected 2026-10-01 15:14:58 UTC 51,950 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,115057,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);e.s(["ArrowUpRight",0,t],115057)},187378,e=>{"use strict";let t=(0,e.i(475254).default)("banknote",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]]);e.s(["Banknote",0,t],187378)},274457,e=>{"use strict";let t=(0,e.i(475254).default)("cake",[["path",{d:"M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8",key:"1w3rig"}],["path",{d:"M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1",key:"n2jgmb"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M7 8v3",key:"1qtyvj"}],["path",{d:"M12 8v3",key:"hwp4zt"}],["path",{d:"M17 8v3",key:"1i6e5u"}],["path",{d:"M7 4h.01",key:"1bh4kh"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M17 4h.01",key:"1upcoc"}]]);e.s(["Cake",0,t],274457)},270756,e=>{"use strict";let t=(0,e.i(475254).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["Lock",0,t],270756)},124535,e=>{"use strict";let t=(0,e.i(475254).default)("package-x",[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}],["path",{d:"m17 13 5 5m-5 0 5-5",key:"im3w4b"}]]);e.s(["PackageX",0,t],124535)},488844,e=>{"use strict";let t=(0,e.i(475254).default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);e.s(["Package",0,t],488844)},779891,430149,e=>{"use strict";var t=e.i(843476),r=e.i(991142),a=e.i(887753);function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD",r=arguments.length>2?arguments[2]:void 0;try{var a,l;return new Intl.NumberFormat("en-US",{style:"currency",currency:t,minimumFractionDigits:null!=(a=null==r?void 0:r.minimumFractionDigits)?a:2,maximumFractionDigits:null!=(l=null==r?void 0:r.maximumFractionDigits)?l:2}).format(e)}catch(t){return"$".concat(e.toFixed(2))}}e.s(["formatCurrency",0,l,"formatCurrencyShort",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD";return l(e,t,{minimumFractionDigits:0,maximumFractionDigits:2})}],430149),e.s(["FundProgressBar",0,e=>{let{totalContributed:s,goalAmount:i,currency:n="USD",className:o,showLabel:d=!0}=e,c=i&&i>0?i:null,u=c?Math.min(100,s/c*100):0,x=!!c&&s>=c,m=0===s;return(0,t.jsxs)("div",{className:(0,a.cn)("space-y-1.5",o),children:[d&&(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:m?"Be the first to contribute!":c?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"font-semibold text-foreground",children:l(s,n)})," ","of ",l(c,n)," raised"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"font-semibold text-foreground",children:l(s,n)})," ","raised"]})}),c&&!m?(0,t.jsxs)("span",{className:(0,a.cn)("text-xs font-medium",x?"text-[hsl(var(--status-success))]":"text-muted-foreground"),children:[Math.round(u),"%"]}):null]}),c?(0,t.jsx)(r.Progress,{value:u,className:(0,a.cn)("h-2",x&&"[&>div]:bg-[hsl(var(--status-success))]")}):null]})}],779891)},496656,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(887753);let l=(0,r.createContext)("ios"),s=(0,r.createContext)({hideChrome:!1}),i=(0,r.createContext)({showNotificationDot:!1,showGenieButton:!1}),n=[{id:"lists",label:"Lists",icon:(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 18 18",fill:"none",children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.70689 1.07355C5.94241 1.3259 5.92877 1.72139 5.67643 1.95691L2.105 5.29025C1.97824 5.40856 1.80802 5.46889 1.63504 5.45682C1.46206 5.44475 1.30188 5.36136 1.19277 5.22658L0.180869 3.97658C-0.0363167 3.7083 0.00511004 3.31474 0.273398 3.09756C0.541686 2.88037 0.935239 2.9218 1.15242 3.19009L1.74237 3.91884L4.82353 1.04309C5.07588 0.807572 5.47137 0.821209 5.70689 1.07355ZM8.37498 3.16667C8.37498 2.82149 8.6548 2.54167 8.99998 2.54167H17.3333C17.6785 2.54167 17.9583 2.82149 17.9583 3.16667C17.9583 3.51185 17.6785 3.79167 17.3333 3.79167H8.99998C8.6548 3.79167 8.37498 3.51185 8.37498 3.16667ZM5.70689 6.90689C5.94241 7.15923 5.92877 7.55472 5.67643 7.79025L2.105 11.1236C1.97824 11.2419 1.80802 11.3022 1.63504 11.2902C1.46206 11.2781 1.30188 11.1947 1.19277 11.0599L0.180869 9.80992C-0.0363167 9.54163 0.00511004 9.14808 0.273398 8.93089C0.541686 8.71371 0.935239 8.75513 1.15242 9.02342L1.74237 9.75218L4.82353 6.87643C5.07588 6.6409 5.47137 6.65454 5.70689 6.90689ZM8.37498 9C8.37498 8.65482 8.6548 8.375 8.99998 8.375H17.3333C17.6785 8.375 17.9583 8.65482 17.9583 9C17.9583 9.34518 17.6785 9.625 17.3333 9.625H8.99998C8.6548 9.625 8.37498 9.34518 8.37498 9ZM5.70689 12.7402C5.94241 12.9926 5.92877 13.3881 5.67643 13.6236L2.105 16.9569C1.97824 17.0752 1.80802 17.1356 1.63504 17.1235C1.46206 17.1114 1.30188 17.028 1.19277 16.8932L0.180869 15.6433C-0.0363167 15.375 0.00511004 14.9814 0.273398 14.7642C0.541686 14.547 0.935239 14.5885 1.15242 14.8568L1.74237 15.5855L4.82353 12.7098C5.07588 12.4742 5.47137 12.4879 5.70689 12.7402ZM8.37498 14.8333C8.37498 14.4882 8.6548 14.2083 8.99998 14.2083H17.3333C17.6785 14.2083 17.9583 14.4882 17.9583 14.8333C17.9583 15.1785 17.6785 15.4583 17.3333 15.4583H8.99998C8.6548 15.4583 8.37498 15.1785 8.37498 14.8333Z",fill:"currentColor"})})},{id:"gift-ideas",label:"Gift ideas",icon:(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 20 20",fill:"none",children:[(0,t.jsx)("path",{d:"M18.333 10H1.667",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M10 1.668v16.667",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M10.834 10c0 1.841 1.492 3.333 3.333 3.333",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M9.167 10c0 1.841-1.492 3.333-3.334 3.333",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M10 8.361c0-1.242.845-2.324 2.05-2.625 1.336-.334 2.547.876 2.212 2.213-.301 1.204-1.383 2.049-2.625 2.049H10V8.36Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M10 8.361c0-1.242-.845-2.324-2.05-2.625-1.336-.334-2.546.876-2.212 2.213.301 1.204 1.383 2.049 2.625 2.049H10V8.36Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M1.667 10c0-3.928 0-5.893 1.22-7.113C4.108 1.668 
16.072 1.668 10 1.668s5.893 0 7.113 1.22c1.22 1.22 1.22 3.184 1.22 7.113s0 5.893-1.22 7.113c-1.22 1.22-3.184 1.22-7.113 1.22s-5.893 0-7.113-1.22c-1.22-1.22-1.22-3.184-1.22-7.113Z",stroke:"currentColor",strokeWidth:"1.5"})]})},{id:"add-gift",label:"Add gift",iconLarge:!0,icon:(0,t.jsxs)("svg",{width:"17",height:"17",viewBox:"0 0 24 24",fill:"none",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M15 12h-3m0 0H9m3 0V9m0 3v3",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})},{id:"cards",label:"Cards",icon:(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z"}),(0,t.jsx)("path",{d:"m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10"})]})},{id:"friends",label:"Friends",icon:(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 20 20",fill:"none",children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 1.042a3.958 3.958 0 1 0 0 7.916 3.958 3.958 0 0 0 0-7.916Zm-2.708 3.958a2.708 2.708 0 1 1 5.417 0 2.708 2.708 0 0 1-5.417 0Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M12.5 1.875a.625.625 0 0 0 0 1.25 1.875 1.875 0 0 1 0 3.75.625.625 0 0 0 0 1.25 3.125 3.125 0 0 0 0-6.25Z",fill:"currentColor"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.065 11.267C4.231 10.601 5.8 10.208 7.5 10.208s3.269.393 4.435 1.06c1.148.656 2.023 1.658 2.023 2.899s-.875 2.243-2.023 2.9c-1.166.666-2.735 1.058-4.435 1.058s-3.269-.392-4.435-1.059C1.917 16.41 1.042 15.408 1.042 14.167s.875-2.243 2.023-2.9Zm.62 1.085C2.722 12.903 2.292 13.567 2.292 14.167c0 .599.43 1.264 1.393 1.814.945.54 2.293.894 3.815.894s2.87-.354 3.815-.894c.963-.55 1.393-1.215 1.393-1.814 0-.6-.43-1.265-1.393-1.815-.945-.54-2.293-.894-3.815-.894s-2.87.354-3.815.894Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M15.134 11.056a.625.625 0 1 0-.268 1.221c.66.145 1.188.394 1.536.679.349.285.473.564.473.794 0 .209-.1.454-.378.712-.28.26-.71.498-1.262.665a.625.625 0 1 0 .36 1.198c.687-.207 1.3-.527 1.752-.948.454-.422.778-.977.778-1.627 0-.72-.395-1.323-.93-1.762-.536-.438-1.246-.756-2.06-.932Z",fill:"currentColor"})]})}];function o(e){let{activeTab:r,darkMode:l=!1,compact:s=!1}=e;return(0,t.jsx)("div",{className:(0,a.cn)("absolute z-20 flex items-center justify-between",s?"bottom-1.5 left-1.5 right-1.5 rounded-[9px] px-0.5":"bottom-2.5 left-2.5 right-2.5 rounded-[14px] px-1 sm:px-1.5"),style:{background:l?"rgba(39,36,32,0.9)":"rgba(255,255,255,0.88)",backdropFilter:"blur(16px) saturate(160%)",border:l?"0.5px solid rgba(255,255,255,0.08)":"0.5px solid hsl(var(--border))",boxShadow:l?"0 4px 16px rgba(0,0,0,0.2)":"0 4px 16px rgba(15,23,42,0.06), 0 1px 4px rgba(15,23,42,0.03)",height:s?"24px":"36px"},children:n.map(e=>{let i=e.id===r;return(0,t.jsxs)("div",{className:(0,a.cn)("flex flex-col items-center justify-center gap-[1px] flex-1 rounded-lg",s?"h-[18px]":"h-[28px]"),style:i?{background:"rgba(var(--primary-rgb), 0.16)",boxShadow:"inset 0 0 0 0.5px rgba(var(--primary-rgb), 0.12)"}:void 0,children:[(0,t.jsx)("span",{className:(0,a.cn)(i?"text-primary":l?"text-gray-500":"text-muted-foreground",s&&"[&>svg]:w-[9px] [&>svg]:h-[9px]"),children:e.icon}),!s&&(0,t.jsx)("span",{className:(0,a.cn)("text-[5px] leading-none",i?"text-primary font-semibold":l?"text-gray-500 font-medium":"text-muted-foreground font-medium"),children:e.label})]},e.id)})})}e.s(["DesktopFrame",0,function(e){let{children:l,className:i,url:n="giftlist.com",role:o,"aria-label":d,darkMode:c=!1}=e,{hideChrome:u}=(0,r.useContext)(s);return(0,t.jsxs)("div",{className:(0,a.cn)("relative w-full overflow-hidden select-none",u?c?"bg-[#1C1A18]":"bg-white":(0,a.cn)("max-w-[680px] rounded-xl border ring-1 shadow-2xl",c?"border-[#2A2724] bg-[#1C1A18] ring-[#2A2724]":"border-border/60 bg-white ring-border/40"),i),role:o,"aria-label":d,children:[!u&&(0,t.jsxs)("div",{className:(0,a.cn)("flex items-center gap-2 px-3 py-2 border-b",c?"bg-[#1C1A18] border-[#2A2724]":"bg-muted border-border/40"),children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("div",{className:"h-[9px] w-[9px] rounded-full bg-[#ff5f57]"}),(0,t.jsx)("div",{className:"h-[9px] w-[9px] rounded-full bg-[#febc2e]"}),(0,t.jsx)("div",{className:"h-[9px] w-[9px] rounded-full bg-[#28c840]"})]}),(0,t.jsx)("div",{className:"flex-1 flex justify-center",children:(0,t.jsxs)("div",{className:(0,a.cn)("flex items-center gap-1.5 rounded-md px-3 py-[3px] min-w-[200px] max-w-[320px] border",c?"bg-[#272420] border-[#2A2724]":"bg-white border-border/30"),children:[(0,t.jsx)("svg",{className:"w-2.5 h-2.5 text-muted-foreground
1/60 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})}),(0,t.jsx)("span",{className:"text-[8px] text-muted-foreground truncate",children:n})]})})]}),(0,t.jsx)("div",{className:c?"bg-[#100F0E]":"bg-white",children:l})]})},"DesktopFrameContext",0,s,"MockupAppHeader",0,function(e){let{darkMode:l=!1,compact:s=!1,showNotificationDot:n}=e,o=(0,r.useContext)(i),d=null!=n?n:o.showNotificationDot,c=o.showGenieButton,u=s?7:11,x=s?8:12,m=s?3:4;return(0,t.jsxs)("div",{className:(0,a.cn)("flex items-center justify-between",s?"px-2 pt-4 pb-1":"px-3 pt-7 pb-1"),children:[(0,t.jsx)("div",{className:(0,a.cn)("flex items-center justify-center",l?"text-white":"text-foreground"),children:(0,t.jsxs)("svg",{width:u,height:u,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[(0,t.jsx)("path",{d:"M4 7h16"}),(0,t.jsx)("path",{d:"M4 12h16"}),(0,t.jsx)("path",{d:"M4 17h16"})]})}),(0,t.jsxs)("div",{className:(0,a.cn)("flex items-center",s?"gap-1.5":"gap-2"),children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:(0,a.cn)("flex items-center justify-center",l?"text-white":"text-foreground"),children:(0,t.jsxs)("svg",{width:x,height:x,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"}),(0,t.jsx)("path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0"})]})}),d&&(0,t.jsx)("div",{className:"absolute bg-red-500 rounded-full",style:{width:m,height:m,top:0,right:0}})]}),c&&(0,t.jsx)("div",{className:(0,a.cn)("flex items-center justify-center rounded-full bg-primary text-white",s?"h-[16px] w-[16px]":"h-[24px] w-[24px]"),style:{boxShadow:"0 2px 8px rgba(45,141,255,0.3)"},children:(0,t.jsxs)("svg",{width:u,height:u,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z"}),(0,t.jsx)("path",{d:"M5 3v4"}),(0,t.jsx)("path",{d:"M19 17v4"}),(0,t.jsx)("path",{d:"M3 5h4"}),(0,t.jsx)("path",{d:"M17 19h4"})]})})]})]})},"MockupChromeContext",0,i,"MockupSparkleIcon",0,function(e){let{size:r=10}=e;return(0,t.jsxs)("svg",{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"#2D8DFF",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0",children:[(0,t.jsx)("path",{d:"m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z"}),(0,t.jsx)("path",{d:"M5 3v4"}),(0,t.jsx)("path",{d:"M19 17v4"}),(0,t.jsx)("path",{d:"M3 5h4"}),(0,t.jsx)("path",{d:"M17 19h4"})]})},"MockupStarRating",0,function(e){let{rating:r=4,starSize:a=6,textSize:l=5}=e;return(0,t.jsxs)("div",{className:"flex gap-[0.5px] mt-0.5",children:[[1,2,3,4,5].map(e=>(0,t.jsx)("svg",{width:a,height:a,viewBox:"0 0 24 24",fill:e<=r?"#F59E0B":"#E5E7EB",stroke:"none",children:(0,t.jsx)("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})},e)),(0,t.jsx)("span",{className:"text-gray-400 ml-0.5",style:{fontSize:l},children:"(42)"})]})},"PhoneFrame",0,function(e){let{children:s,className:i,showNavBar:n=!0,activeTab:d="lists",darkMode:c=!1,compact:u=!1}=e,x="android"===(0,r.useContext)(l)&&!u,m=u?"rounded-[20px] xl:rounded-[22px]":x?"rounded-[15px]":"rounded-[30px]";return(0,t.jsx)("div",{className:(0,a.cn)("relative mx-auto",u?"w-[140px] xl:w-[155px]":"w-[220px] sm:w-[260px]",i),children:(0,t.jsx)("div",{className:(0,a.cn)("shadow-2xl overflow-hidden",u?"rounded-[24px] xl:rounded-[26px] border-[4px]":x?"rounded-[20px] border-[5px]":"rounded-[36px] border-[6px]",c?"border-black bg-black":"border-gray-800 bg-gray-800"),children:(0,t.jsxs)("div",{className:(0,a.cn)("relative overflow-hidden",m,u?"h-[290px] xl:h-[316px]":"h-[440px] sm:h-[500px]",c?"bg-[#100F0E]":"bg-white"),children:[x?(0,t.jsx)("div",{className:"absolute left-1/2 -translate-x-1/2 z-30 top-[6px]",children:(0,t.jsx)("div",{className:"rounded-full bg-black h-[10px] w-[10px]"})}):(0,t.jsx)("div",{className:(0,a.cn)("absolute left-1/2 -translate-x-1/2 z-30",u?"top-1":"top-1.5"),children:(0,t.jsx)("div",{className:(0,a.cn)("rounded-full bg-black",u?"h-[9px] w-[36px]":"h-[14px] w-[56px]")})}),(0,t.jsx)("div",{className:(0,a.cn)("h-full overflow-hidden isolate",m),style:{contain:"paint"},children:s}),n&&(0,t.jsx)(o,{activeTab:d,darkMode:c,compact:u}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 flex justify-center pb-1 z-20",children:(0,t.jsx)("div",{className:(0,a.cn)("rounded-full",x?"h-[3px] w-[54px]":u?"h-[2px] w-[50px]":"h-[3px] w-[80px]",c?"bg-gray-700":"bg-gray-300")})})]})})})},"PhoneVariantContext",0,l])},991142,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(30030),l=e.i(248425),s=Object.defineProperty,i=(e,t)=>s(e,"name",{value:t,configurable:!0}),n="Progress",[o,d]=(0,a.createContextScope)(n),[c,u]=o(n),x=r.forwardRef(i(function(e,r){let{__scopeProgress:a,value:s=null,max:i,getValueLabel:n=g,...o}=e;(i||0===i)&&!p(i)&&console.error(v("".concat(i),"Progress"));let d=p(i)?i:100;null===s||f(s,d)||console.error(k("".concat(s),"Progress"));let u=f(s,d)?s:null,x=b(u)?n(u,d):void 0;return(0,t.jsx)(c,{scope:a,value:u,max:d,children:(0,t.jsx)(l.Primitive.div,{"aria-valuemax":d,"aria-valuemin":0,"aria-valuenow":b(u)?u:void 0,"aria-valuetext":x,role:"progressbar","data-state":h(u,d),"data-value":null!=u?u:void 0,"data-max":d,...o,ref:r})})},"Progress")),m=r.forwardRef(i(function(e,r){var a;let{__scopeProgress:s,...i}=e,n=u("ProgressIndicator",s);
1return(0,t.jsx)(l.Primitive.div,{"data-state":h(n.value,n.max),"data-value":null!=(a=n.value)?a:void 0,"data-max":n.max,...i,ref:r})},"ProgressIndicator"));function g(e,t){return"".concat(Math.round(e/t*100),"%")}function h(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function b(e){return"number"==typeof e}function p(e){return b(e)&&!isNaN(e)&&e>0}function f(e,t){return b(e)&&!isNaN(e)&&e<=t&&e>=0}function v(e,t){return"Invalid prop `max` of value `".concat(e,"` supplied to `").concat(t,"`. Only numbers greater than 0 are valid max values. Defaulting to `").concat(100,"`.")}function k(e,t){return"Invalid prop `value` of value `".concat(e,"` supplied to `").concat(t,"`. The `value` prop must be:\n  - a positive number\n  - less than the value passed to `max` (or ").concat(100," if no `max` prop is set)\n  - `null` or `undefined` if the progress is indeterminate.\n\nDefaulting to `null`.")}i(g,"defaultGetValueLabel"),i(h,"getProgressState"),i(b,"isNumber"),i(p,"isValidMaxNumber"),i(f,"isValidValueNumber"),i(v,"getInvalidMaxError"),i(k,"getInvalidValueError");var y=e.i(887753);let j=r.forwardRef((e,r)=>{let{className:a,value:l,...s}=e;return(0,t.jsx)(x,{ref:r,className:(0,y.cn)("relative h-2 w-full overflow-hidden rounded-full bg-secondary",a),...s,children:(0,t.jsx)(m,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:"translateX(-".concat(100-(l||0),"%)"),...!(l||0)&&{visibility:"hidden"}}})})});j.displayName=x.displayName,e.s(["Progress",0,j],991142)},313300,e=>{"use strict";let t=(0,e.i(271645).createContext)(null);e.s(["CountryDictionariesContext",0,t])},461886,604583,e=>{"use strict";var t=e.i(843476),r=e.i(887753);let a=[{key:"family",emoji:"🏡",label:"Family",tile:"bg-primary/20 border-primary/30"},{key:"friends",emoji:"🥳",label:"Friends",tile:"bg-amber-500/20 border-amber-500/30"},{key:"heart",emoji:"💖",label:"Loved ones",tile:"bg-rose-500/20 border-rose-500/30"},{key:"kids",emoji:"🧸",label:"Kids",tile:"bg-pink-500/20 border-pink-500/30"},{key:"couple",emoji:"💘",label:"Couple",tile:"bg-fuchsia-500/20 border-fuchsia-500/30"},{key:"work",emoji:"☕",label:"Work",tile:"bg-slate-500/20 border-slate-500/30"},{key:"school",emoji:"🍎",label:"School",tile:"bg-indigo-500/20 border-indigo-500/30"},{key:"team",emoji:"🏅",label:"Team",tile:"bg-lime-500/20 border-lime-600/30"},{key:"holiday",emoji:"🎄",label:"Holidays",tile:"bg-emerald-500/20 border-emerald-500/30"},{key:"birthday",emoji:"🎂",label:"Birthdays",tile:"bg-red-500/20 border-red-500/30"},{key:"travel",emoji:"🌎",label:"Travel",tile:"bg-sky-500/20 border-sky-500/30"},{key:"pets",emoji:"🐶",label:"Pets",tile:"bg-orange-500/20 border-orange-500/30"}],l={key:"family",emoji:"👥",label:"Group",tile:"bg-muted border-border"};function s(e){var t;return null!=(t=a.find(t=>t.key===e))?t:l}e.s(["GROUP_PRESETS",0,a,"STARTER_GROUPS",0,[{name:"Family",preset:"family"},{name:"Best Friends",preset:"friends"}],"resolveGroupPreset",0,s],604583),e.s(["GroupTile",0,function(e){let{preset:a,className:l,emojiClassName:i}=e,n=s(a);return(0,t.jsx)("span",{"aria-hidden":!0,className:(0,r.cn)("inline-flex shrink-0 select-none items-center justify-center rounded-xl border",n.tile,l),children:(0,t.jsx)("span",{className:(0,r.cn)("leading-none",i),children:n.emoji})})}],461886)},845840,724421,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(74191),l=e.i(475650),s=e.i(431305),i=e.i(887753),n=e.i(304210);let o=[{value:"cozy",emoji:"🧸",label:"Cozy & comfy",description:"Blankets, candles, and all things warm"},{value:"adventurous",emoji:"🎒",label:"Adventurous & fun",description:"Experiences, gadgets, and thrills"},{value:"practical",emoji:"🛠️",label:"Practical & useful",description:"Things I'll actually use every day"},{value:"luxe",emoji:"✨",label:"Luxe & indulgent",description:"A little something extra special"}],d=[{value:"safe",emoji:"🎯",label:"Play it safe",description:"Stick close to what I like"},{value:"balanced",emoji:"⚖️",label:"Balanced",description:"A mix of known and new"},{value:"surprise",emoji:"🎲",label:"Surprise me!",description:"Go wild, I love surprises"}],c=[{value:"red",label:"Red",swatch:"bg-red-500"},{value:"orange",label:"Orange",swatch:"bg-orange-500"},{value:"yellow",label:"Yellow",swatch:"bg-yellow-400"},{value:"green",label:"Green",swatch:"bg-green-500"},{value:"teal",label:"Teal",swatch:"bg-teal-500"},{value:"blue",label:"Blue",swatch:"bg-blue-500"},{value:"indigo",label:"Indigo",swatch:"bg-indigo-500"},{value:"purple",label:"Purple",swatch:"bg-purple-500"},{value:"pink",label:"Pink",swatch:"bg-pink-500"},{value:"brown",label:"Brown",swatch:"bg-amber-800"},{value:"black",label:"Black",swatch:"bg-gray-900"},{value:"white",label:"White",swatch:"bg-white border border-border/60"},{value:"gray",label:"Gray",swatch:"bg-gray-400"},{value:"navy",label:"Navy",swatch:"bg-blue-900"},{value:"cream",label:"Cream",swatch:"bg-amber-100"},{value:"gold",label:"Gold",swatch:"bg-yellow-600"}],u=[{key:"shirt",label:"Shirt size",shortLabel:"Shirt",options:["XS","S","M","L","XL","2XL","3XL"]},{key:"pants",label:"Pant size",shortLabel:"Pants",options:["28","29","30","31","32","33","34","36","38","40","42","44","S","M","L","XL"]},{key:"shoe",label:"Shoe size",shortLabel:"Shoe",options:["5","5.5","6","6.5","7","7.5","8","8.5","9","9.5","10","10.5","11","11.5","12","13","14","15"]},{key:"ring",label:"Ring size",shortLabel:"Ring",options:["4","5","6","7","8","9","10","11","12","13"]},{key:"dress",label:"Dress size",shortLabel:"Dress",options:["0","2","4","6","8","10","12","14","16","18","20","XS","S","M","L","XL","2XL","3XL"]}];function x(e,t){var r,a;return t?null!=(r=null==(a=e.find(e=>e.value===t))?void 0:a.label)?r:t:""}function m(e,t){var r,a;return t&&null!=(r=null==(a=e.find(e=>e.value===t))?void 0:a.description)?r:""}let g=[{value:"one-nice",emoji:"🎁",label:"One nice thing",description:"I'd rather have one good item than three small ones"},{value:"bundle",emoji:"🧺",label:"A little bundle",description:"Several small things I'll actually use up"},{value:"experience",emoji:"🍽️",label:"Something to do",description:"Put it toward an experience, not an object"}
1,{value:"giftcard",emoji:"🎟️",label:"A gift card is genuinely great",description:"I like picking my own"}];e.s(["COLOR_OPTIONS",0,c,"SIZE_FIELDS",0,u,"SPEND_SHAPE_OPTIONS",0,g,"STYLE_OPTIONS",0,o,"SURPRISE_OPTIONS",0,d,"descriptionFor",0,m,"labelFor",0,x,"spendShapeQuestion",0,function(e,t){if(!e||e<=0)return"If your Santa has a set budget, what's the best way to spend it on you?";let r=new Intl.NumberFormat("en-US",{style:"currency",currency:t||"USD",maximumFractionDigits:0}).format(e);return"If your Santa has ".concat(r," to spend, what's the best way to spend it on you?")}],724421);var h=e.i(752905),b=e.i(878894),p=e.i(972520),f=e.i(595468),v=e.i(730699),k=e.i(488844),y=e.i(788699),j=e.i(283086);function w(e){var l,s,n,h,p;let{profile:f,assignment:v,onGiftIdeasClick:k,costLimit:y,currency:w}=e,N=!1===f.clothingOk,C=N?[]:u.map(e=>{var t,r;return{...e,value:(null!=(t=null==(r=f.sizes)?void 0:r[e.key])?t:"").trim()}}).filter(e=>e.value),L=N?[]:c.filter(e=>{var t;return(null!=(t=f.favoriteColors)?t:[]).includes(e.value)}),[S,M]=(0,r.useState)(!1),P=Array.isArray(f.allergies),F=(null!=(l=f.allergies)?l:[]).filter(Boolean),_=(null!=(s=f.avoidList)?s:[]).filter(Boolean),A=(null!=(n=f.interests)?n:[]).filter(Boolean),G=(null!=(h=f.dreamGift)?h:"").trim(),D=y&&y>0?"Budget: ".concat(new Intl.NumberFormat("en-US",{style:"currency",currency:w||"USD",maximumFractionDigits:0}).format(y)):"",I=x(g,f.spendShape),B=m(g,f.spendShape),R=(null!=(p=f.funQuestions)?p:[]).filter(e=>e.question&&e.answer);return(0,t.jsxs)("div",{className:"mt-5 space-y-4 rounded-lg border border-border/60 bg-card p-4",children:[(0,t.jsx)("p",{className:"text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Mystery Q&A"}),D||I||G?(0,t.jsxs)("div",{className:"space-y-2 rounded-lg border border-primary/30 bg-primary/5 p-3",children:[D?(0,t.jsxs)("p",{className:"text-sm font-semibold text-foreground",children:[D,I?(0,t.jsxs)("span",{className:"font-normal text-muted-foreground",children:[" · ",I]}):null]}):I?(0,t.jsx)("p",{className:"text-sm font-semibold text-foreground",children:I}):null,B?(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:["“",B,"”"]}):null,G?(0,t.jsxs)("div",{className:"border-t border-primary/20 pt-2",children:[(0,t.jsx)("p",{className:"text-xs font-medium text-muted-foreground",children:"Gift ideas & interests"}),(0,t.jsx)("p",{className:"break-words text-sm font-medium text-foreground",children:G})]}):null]}):null,A.length>0?(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-1.5 text-xs font-medium text-muted-foreground",children:"Interests"}),(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:A.map(e=>(0,t.jsx)("span",{className:"max-w-full break-all rounded-full bg-primary/10 px-2.5 py-0.5 text-xs font-medium text-primary",children:e},e))})]}):null,C.length>0?(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-1.5 text-xs font-medium text-muted-foreground",children:"Sizes"}),(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:C.map(e=>{let{key:r,shortLabel:a,value:l}=e;return(0,t.jsxs)("span",{className:"rounded-md bg-secondary px-2.5 py-1 text-xs font-medium text-foreground",children:[a," ",(0,t.jsx)("span",{className:"font-semibold",children:l})]},r)})})]}):null,L.length>0?(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-1.5 text-xs font-medium text-muted-foreground",children:"Loves wearing"}),(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:L.map(e=>{let{value:r,label:a,swatch:l}=e;return(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-secondary px-2.5 py-0.5 text-xs font-medium text-foreground",children:[(0,t.jsx)("span",{className:(0,i.cn)("h-3 w-3 shrink-0 rounded-full",l),"aria-hidden":!0}),a]},r)})})]}):null,(0,t.jsxs)("div",{className:"flex flex-wrap gap-4",children:[f.style?(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"mb-1 text-xs font-medium text-muted-foreground",children:"Style"}),(0,t.jsx)("span",{className:"inline-block rounded-md bg-secondary px-2.5 py-1 text-xs font-medium text-foreground",children:x(o,f.style)}
1),m(o,f.style)?(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:m(o,f.style)}):null]}):null,f.surpriseLevel?(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"mb-1 text-xs font-medium text-muted-foreground",children:"How adventurous to go"}),(0,t.jsx)("span",{className:"inline-block rounded-md bg-secondary px-2.5 py-1 text-xs font-medium text-foreground",children:x(d,f.surpriseLevel)}),m(d,f.surpriseLevel)?(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:m(d,f.surpriseLevel)}):null]}):null]}),F.length>0?(0,t.jsxs)("div",{className:"rounded-lg border border-destructive/40 bg-destructive/10 p-3",children:[(0,t.jsxs)("p",{className:"mb-1.5 flex items-center gap-1.5 text-xs font-semibold uppercase tracking-wide text-destructive",children:[(0,t.jsx)(b.AlertTriangle,{className:"h-3.5 w-3.5 shrink-0","aria-hidden":!0}),"Allergies & sensitivities"]}),(0,t.jsx)("p",{className:"break-words text-sm font-medium text-destructive",children:F.join(" · ")})]}):null,_.length>0?(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-1.5 text-xs font-medium text-muted-foreground",children:P?"Would rather skip":"Avoid"}),(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:_.map(e=>(0,t.jsx)("span",{className:(0,i.cn)("max-w-full break-all rounded-full px-2.5 py-0.5 text-xs font-medium",P?"bg-muted text-muted-foreground":"bg-destructive/10 text-destructive"),children:e},e))}),P?null:(0,t.jsx)("p",{className:"mt-1.5 text-xs text-muted-foreground",children:"May include allergies — collected before we asked about those separately."})]}):null,R.length>0?(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-1.5 text-xs font-medium text-muted-foreground",children:"Fun answers"}),(0,t.jsx)("div",{className:"divide-y divide-border/60 overflow-hidden rounded-lg border border-border/60 bg-background",children:(S?R:R.slice(0,6)).map(e=>(0,t.jsxs)("div",{className:"min-w-0 px-3 py-2",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e.question}),(0,t.jsx)("p",{className:"break-words text-sm text-foreground",children:e.answer})]},e.questionId))}),R.length>6?(0,t.jsx)("button",{type:"button",onClick:()=>M(e=>!e),className:"mt-1.5 text-xs font-semibold text-primary hover:underline",children:S?"Show fewer":"Show all ".concat(R.length," answers")}):null]}):null,N?(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Prefers non-clothing gifts."}):null,f.shippingAddress?(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-1.5 text-xs font-medium text-muted-foreground",children:"Ships to"}),(0,t.jsx)("p",{className:"break-words text-sm text-foreground",children:f.shippingAddress})]}):null,k?(0,t.jsxs)(a.Button,{className:"w-full gap-2",onClick:()=>k(v),children:[(0,t.jsx)(j.Sparkles,{className:"h-4 w-4"}),"Get gift ideas"]}):null]})}function N(e){let{gift:r,onEdit:l}=e,s=null!=r.price?new Intl.NumberFormat("en-US",{style:"currency",currency:r.currency||"USD",maximumFractionDigits:2}).format(r.price):null;return(0,t.jsxs)("div",{className:"flex items-center gap-3 rounded-lg bg-[hsl(var(--status-success))]/10 p-3",children:[(0,t.jsx)(k.Package,{className:"h-5 w-5 text-[hsl(var(--status-success))] shrink-0"}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-foreground",children:"Gift logged"}),(0,t.jsxs)("p",{className:"truncate text-xs text-muted-foreground",children:[r.name,s?" - ".concat(s):""]})]}),l?(0,t.jsxs)(a.Button,{variant:"ghost",size:"sm",className:"shrink-0 gap-1 text-xs",onClick:l,children:[(0,t.jsx)(y.Pencil,{className:"h-3 w-3"}),"Edit"]}):null]})}e.s(["AssignmentCard",0,function(e){var r,o;let{assignment:d,className:c,onGiftIdeasClick:u,onLogGift:x,costLimit:m,currency:g}=e;if(!d)return(0,t.jsx)(l.Card,{className:(0,i.cn)("border-dashed",c),children:(0,t.jsxs)(l.CardContent,{className:"flex flex-col items-center justify-center p-6 text-center",children:[(0,t.jsx)(v.Gift,{className:"h-8 w-8 text-muted-foreground/50 mb-2"}),(0,t.jsx)("p",{className:"text-sm font-medium text-muted-foreground",children:"Names haven't been drawn yet"}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:"Once the organizer draws names, you'll see your match here."})]})});let b=(d.receiver?"".concat(d.receiver.first_name||""," ").concat(d.receiver.last_name||"").trim():"")||d.receiverName||"Your match",y=null==(r=d.receiverList)?void 0:r.id,C=!!y,L=!!d.receiverPrefersMystery&&!!d.receiverProfile,S=d.giverPurchasedGiftInfo;return(0,t.jsxs)(l.Card,{className:(0,i.cn)("overflow-hidden",c),children:[(0,t.jsx)(n.ExchangeSectionHeader,{title:"Your Secret Santa match"}),(0,t.jsxs)(l.CardContent,{className:"p-6",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)(s.UserAvatar,{userProfile:d.receiver,className:"h-16 w-16 border-2 border-background",textClassName:"text-xl"}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("h3",{className:"break-words text-lg font-semibold text-foreground",children:b}),(null==(o=d.receiver)?void 0:o.username)?(0,t.jsxs)("p",{className:"break-all text-sm text-muted-foreground",children:["@",d.receiver.username]}):null]})]}),u?(0,t.jsxs)("div",{className:"mt-5 rounded-xl border border-primary/20 bg-primary/5 p-4",children:[(0,t.jsx)("h4",{className:"font-semibold",children:"Find a gift they’ll enjoy"}),(0,t.jsx)("p",{className:"mt-1 mb-3 text-sm text-muted-foreground",children:"Get a shortlist based on their hints and your exchange budget. Refine it together."}),(0,t.jsxs)(a.Button,{className:"w-full gap-2",onClick:()=>u(d),children:[(0,t.jsx)(j.Sparkles,{className:"h-4 w-4"}
1),"Help me choose a gift"]})]}):null,L?(0,t.jsx)(w,{profile:d.receiverProfile,assignment:d,onGiftIdeasClick:void 0,costLimit:m,currency:g}):null,C?(0,t.jsx)("div",{className:"mt-4",children:d.giverReservedFromWishlist?(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-md border border-border bg-muted px-3 py-2",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2 text-sm font-medium",children:[(0,t.jsx)(f.CheckCircle2,{className:"h-4 w-4 shrink-0 text-emerald-600"}),"Reserved from their wishlist"]}),(0,t.jsx)(h.Link,{href:"/lists/".concat(y),className:"shrink-0 no-underline",children:(0,t.jsx)(a.Button,{variant:"ghost",size:"sm",children:"View"})})]}):(0,t.jsx)(h.Link,{href:"/lists/".concat(y),className:"no-underline",children:(0,t.jsxs)(a.Button,{className:"w-full gap-2",children:["View wishlist",(0,t.jsx)(p.ArrowRight,{className:"h-4 w-4","aria-hidden":"true"})]})})}):null,C||L?null:(0,t.jsx)("p",{className:"mt-4 text-xs text-muted-foreground text-center",children:"Your match hasn't shared a wishlist or Mystery Q&A answers yet."}),x&&(!C||(null==S?void 0:S.name))?(0,t.jsx)("div",{className:"mt-5 border-t border-border/60 pt-4",children:(null==S?void 0:S.name)?(0,t.jsx)(N,{gift:S,onEdit:x}):(0,t.jsxs)(a.Button,{variant:"outline",className:"w-full gap-2",onClick:x,children:[(0,t.jsx)(k.Package,{className:"h-4 w-4"}),"Log My Gift"]})}):null]})]})}],845840)},304210,e=>{"use strict";var t=e.i(843476),r=e.i(887753);e.s(["ExchangeSectionHeader",0,function(e){let{title:a,action:l,className:s}=e;return(0,t.jsxs)("div",{className:(0,r.cn)("flex items-center justify-between gap-3 border-b border-border bg-[hsl(var(--section-band))] px-5 py-3",s),children:[(0,t.jsx)("p",{className:"text-xs font-semibold uppercase tracking-wider text-foreground",children:a}),l?(0,t.jsx)("div",{className:"shrink-0",children:l}):null]})}])},409320,e=>{"use strict";var t=e.i(843476),r=e.i(475650),a=e.i(887753),l=e.i(321713);e.s(["GiftCardFrame",0,function(e){let{children:r,image:s,badges:i,imageAction:n,className:o,imageSectionClassName:d,layout:c="owner",onOpen:u,openLabel:x}=e;return(0,t.jsxs)("div",{className:(0,a.cn)("relative flex h-full w-full flex-col overflow-hidden rounded-xl border border-border/60 bg-card shadow-sm",u&&"cursor-pointer md:hover:shadow-card-hover",o),onClick:u?e=>{e.preventDefault(),e.stopPropagation(),u()}:void 0,children:[u&&(0,t.jsx)("button",{type:"button","aria-label":x,onClick:e=>{e.preventDefault(),e.stopPropagation(),u()},className:"pointer-events-none absolute inset-0 z-20 rounded-xl opacity-0 focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset"}),(0,t.jsxs)("div",{className:(0,a.cn)("relative w-full shrink-0 rounded-t-xl bg-card p-2",l.GIFT_CARD_LAYOUT[c].imageHeight,d),children:[i&&(0,t.jsx)("div",{className:"absolute left-3 top-3 z-10 flex flex-wrap gap-1.5",children:i}),n,s]}),r]})},"GiftCardTitle",0,function(e){let{title:r,compact:a=!1}=e;return(0,t.jsx)("h2",{className:"mb-1 text-sm leading-5 text-foreground md:text-base",title:r,style:{display:"-webkit-box",WebkitLineClamp:a?1:2,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis"},children:r})},"ListWorkspaceHeader",0,function(e){let{cover:l,children:s,className:i}=e;return(0,t.jsxs)(r.Card,{className:(0,a.cn)("overflow-hidden p-0",i),children:[(0,t.jsx)("div",{className:"relative aspect-[4/1] max-h-[180px] w-full overflow-hidden",children:l}),s]})}])},785220,791657,e=>{"use strict";var t=e.i(843476),r=e.i(157817),a=e.i(262703),l=e.i(698289),s=e.i(881151),i=e.i(411905),n=e.i(901544),o=e.i(731179),d=e.i(876622),c=e.i(176792),u=e.i(271645),x=e.i(887753),m=e.i(280079),g=e.i(689018),h=e.i(690723);function b(e){let{owner:r}=e,{getCurrencySymbol:a}=(0,g.useCountryDictionary)(),l=(0,u.useMemo)(()=>{var e,t;return a((null==r?void 0:r.currency)||(null==(t=h.useUserState.getState())||null==(e=t.userProfile)?void 0:e.currency))},[r,a]);return(0,t.jsx)("span",{children:l})}function p(e){let{CountryDictionariesProvider:r}=(0,m.useComponent)();return(0,t.jsx)(r,{children:(0,t.jsx)(b,{...e})})}function f(e){let{owner:r}=e;return(0,t.jsx)(p,{owner:r})}var v=e.i(404363),k=e.i(643531),y=e.i(107233),j=e.i(870273),w=e.i(187378),N=e.i(124535),C=e.i(779891),L=e.i(239948),S=e.i(409320);
1let M=[{bg:"bg-rose-100 dark:bg-rose-900/30",text:"text-rose-700 dark:text-rose-300"},{bg:"bg-orange-100 dark:bg-orange-900/30",text:"text-orange-700 dark:text-orange-300"},{bg:"bg-amber-100 dark:bg-amber-900/30",text:"text-amber-700 dark:text-amber-300"},{bg:"bg-yellow-100 dark:bg-yellow-900/30",text:"text-yellow-700 dark:text-yellow-300"},{bg:"bg-lime-100 dark:bg-lime-900/30",text:"text-lime-700 dark:text-lime-300"},{bg:"bg-green-100 dark:bg-green-900/30",text:"text-green-700 dark:text-green-300"},{bg:"bg-emerald-100 dark:bg-emerald-900/30",text:"text-emerald-700 dark:text-emerald-300"},{bg:"bg-teal-100 dark:bg-teal-900/30",text:"text-teal-700 dark:text-teal-300"},{bg:"bg-cyan-100 dark:bg-cyan-900/30",text:"text-cyan-700 dark:text-cyan-300"},{bg:"bg-sky-100 dark:bg-sky-900/30",text:"text-sky-700 dark:text-sky-300"},{bg:"bg-blue-100 dark:bg-blue-900/30",text:"text-blue-700 dark:text-blue-300"},{bg:"bg-indigo-100 dark:bg-indigo-900/30",text:"text-indigo-700 dark:text-indigo-300"},{bg:"bg-violet-100 dark:bg-violet-900/30",text:"text-violet-700 dark:text-violet-300"},{bg:"bg-purple-100 dark:bg-purple-900/30",text:"text-purple-700 dark:text-purple-300"},{bg:"bg-fuchsia-100 dark:bg-fuchsia-900/30",text:"text-fuchsia-700 dark:text-fuchsia-300"},{bg:"bg-pink-100 dark:bg-pink-900/30",text:"text-pink-700 dark:text-pink-300"},{bg:"bg-rose-200 dark:bg-rose-800/40",text:"text-rose-800 dark:text-rose-200"},{bg:"bg-orange-200 dark:bg-orange-800/40",text:"text-orange-800 dark:text-orange-200"},{bg:"bg-amber-200 dark:bg-amber-800/40",text:"text-amber-800 dark:text-amber-200"},{bg:"bg-yellow-200 dark:bg-yellow-800/40",text:"text-yellow-800 dark:text-yellow-200"},{bg:"bg-lime-200 dark:bg-lime-800/40",text:"text-lime-800 dark:text-lime-200"},{bg:"bg-green-200 dark:bg-green-800/40",text:"text-green-800 dark:text-green-200"},{bg:"bg-emerald-200 dark:bg-emerald-800/40",text:"text-emerald-800 dark:text-emerald-200"},{bg:"bg-teal-200 dark:bg-teal-800/40",text:"text-teal-800 dark:text-teal-200"},{bg:"bg-cyan-200 dark:bg-cyan-800/40",text:"text-cyan-800 dark:text-cyan-200"},{bg:"bg-sky-200 dark:bg-sky-800/40",text:"text-sky-800 dark:text-sky-200"},{bg:"bg-blue-200 dark:bg-blue-800/40",text:"text-blue-800 dark:text-blue-200"},{bg:"bg-indigo-200 dark:bg-indigo-800/40",text:"text-indigo-800 dark:text-indigo-200"},{bg:"bg-violet-200 dark:bg-violet-800/40",text:"text-violet-800 dark:text-violet-200"},{bg:"bg-purple-200 dark:bg-purple-800/40",text:"text-purple-800 dark:text-purple-200"},{bg:"bg-fuchsia-200 dark:bg-fuchsia-800/40",text:"text-fuchsia-800 dark:text-fuchsia-200"},{bg:"bg-pink-200 dark:bg-pink-800/40",text:"text-pink-800 dark:text-pink-200"}
1,{bg:"bg-rose-50 dark:bg-rose-950/50",text:"text-rose-600 dark:text-rose-400"},{bg:"bg-orange-50 dark:bg-orange-950/50",text:"text-orange-600 dark:text-orange-400"},{bg:"bg-amber-50 dark:bg-amber-950/50",text:"text-amber-600 dark:text-amber-400"},{bg:"bg-yellow-50 dark:bg-yellow-950/50",text:"text-yellow-600 dark:text-yellow-400"},{bg:"bg-lime-50 dark:bg-lime-950/50",text:"text-lime-600 dark:text-lime-400"},{bg:"bg-green-50 dark:bg-green-950/50",text:"text-green-600 dark:text-green-400"},{bg:"bg-emerald-50 dark:bg-emerald-950/50",text:"text-emerald-600 dark:text-emerald-400"},{bg:"bg-teal-50 dark:bg-teal-950/50",text:"text-teal-600 dark:text-teal-400"},{bg:"bg-cyan-50 dark:bg-cyan-950/50",text:"text-cyan-600 dark:text-cyan-400"},{bg:"bg-sky-50 dark:bg-sky-950/50",text:"text-sky-600 dark:text-sky-400"},{bg:"bg-blue-50 dark:bg-blue-950/50",text:"text-blue-600 dark:text-blue-400"},{bg:"bg-indigo-50 dark:bg-indigo-950/50",text:"text-indigo-600 dark:text-indigo-400"},{bg:"bg-violet-50 dark:bg-violet-950/50",text:"text-violet-600 dark:text-violet-400"},{bg:"bg-purple-50 dark:bg-purple-950/50",text:"text-purple-600 dark:text-purple-400"},{bg:"bg-fuchsia-50 dark:bg-fuchsia-950/50",text:"text-fuchsia-600 dark:text-fuchsia-400"},{bg:"bg-pink-50 dark:bg-pink-950/50",text:"text-pink-600 dark:text-pink-400"},{bg:"bg-rose-300/60 dark:bg-rose-700/40",text:"text-rose-900 dark:text-rose-200"},{bg:"bg-orange-300/60 dark:bg-orange-700/40",text:"text-orange-900 dark:text-orange-200"},{bg:"bg-amber-300/60 dark:bg-amber-700/40",text:"text-amber-900 dark:text-amber-200"},{bg:"bg-yellow-300/60 dark:bg-yellow-700/40",text:"text-yellow-900 dark:text-yellow-200"},{bg:"bg-lime-300/60 dark:bg-lime-700/40",text:"text-lime-900 dark:text-lime-200"},{bg:"bg-green-300/60 dark:bg-green-700/40",text:"text-green-900 dark:text-green-200"},{bg:"bg-emerald-300/60 dark:bg-emerald-700/40",text:"text-emerald-900 dark:text-emerald-200"},{bg:"bg-teal-300/60 dark:bg-teal-700/40",text:"text-teal-900 dark:text-teal-200"},{bg:"bg-cyan-300/60 dark:bg-cyan-700/40",text:"text-cyan-900 dark:text-cyan-200"},{bg:"bg-sky-300/60 dark:bg-sky-700/40",text:"text-sky-900 dark:text-sky-200"},{bg:"bg-blue-300/60 dark:bg-blue-700/40",text:"text-blue-900 dark:text-blue-200"},{bg:"bg-indigo-300/60 dark:bg-indigo-700/40",text:"text-indigo-900 dark:text-indigo-200"},{bg:"bg-violet-300/60 dark:bg-violet-700/40",text:"text-violet-900 dark:text-violet-200"},{bg:"bg-purple-300/60 dark:bg-purple-700/40",text:"text-purple-900 dark:text-purple-200"},{bg:"bg-fuchsia-300/60 dark:bg-fuchsia-700/40",text:"text-fuchsia-900 dark:text-fuchsia-200"},{bg:"bg-pink-300/60 dark:bg-pink-700/40",text:"text-pink-900 dark:text-pink-200"}];function P(e){return M[function(e){let t=0;for(let r=0;r<e.length;r++)t=e.charCodeAt(r)+((t<<5)-t);return Math.abs(t)}(e)%M.length]}let F=(0,u.createContext)(P);function _(){return(0,u.useContext)(F)}e.s(["TagColorProvider",0,function(e){let{tags:r,children:a}=e,l=(0,u.useMemo)(()=>Array.from(new Set(r.filter(Boolean))).sort((e,t)=>e.localeCompare(t)).join("\0"),[r]),s=(0,u.useMemo)(()=>{let e,t,r=(e=Array.from(new Set((l?l.split("\0"):[]).filter(Boolean))).sort((e,t)=>e.localeCompare(t)),t=new Map,e.forEach((e,r)=>{t.set(e,M[r%M.length])}),t);return e=>{var t;return null!=(t=r.get(e))?t:P(e)}},[l]);return(0,t.jsx)(F.Provider,{value:s,children:a})},"useTagColor",0,_],791657);let A=(0,u.memo)(function(e){var m,g;let{className:h,imageSectionClassName:b,gift:p,owner:M,showPurchased:P,actionMenu:F,children:A,onClick:G,isOwner:D=!1,index:I,onSaveToList:B}=e,{getMediaUrl:R}=(0,r.useFunctions)(),T=_(),{gift_title:z,price:E,isMostWanted:H,tags:O}=p,W=(0,L.hasDisplayableGiftPrice)(p),U=(0,L.formatExplicitGiftPrice)(p),Z=R({url:(null==p?void 0:p.logo_url)||(null==p?void 0:p.image_url),width:600}),[V,X]=(0,u.useState)(!1);(0,u.useEffect)(()=>X(!1),[Z]);let q=P&&(0,a.isGiftPurchased)(p),Y=q?null:(0,l.getGiftQuantityLabel)(p,D&&!P),Q=(0,i.getGiftUrlHost)(p),K=(0,u.useMemo)(()=>Q?(0,n.getFriendlyStoreName)(Q):"",[Q]),$=(0,u.useMemo)(()=>p.product_url?(0,o.getMerchantFaviconFromUrl)(p.product_url):"",[p.product_url]),J=(0,u.useMemo)(()=>{var e,t;if(!D)return null;let r=Array.from(new Set([...null!=(e=p.purchase_infos)?e:[],...null!=(t=p.reserve_infos)?t:[]].filter(e=>!e.is_mine).map(e=>{var t;return null==(t=e.name)?void 0:t.trim()}).filter(e=>!!e)));return 0===r.length?null:1===r.length?r[0]:"".concat(r.length," people")},[D,p.purchase_infos,p.reserve_infos]),ee=O&&O.length>0,et="cash_fund"===p.fund_type||"group_gift"===p.fund_type,er=et&&"fully_funded"===p.fund_status,ea=[];return er?ea.push((0,t.jsxs)("div",{className:"inline-flex items-center gap-0.5 rounded-md bg-green-soft-bg px-2 py-0.5 text-xs font-semibold text-status-success",children:[(0,t.jsx)(k.Check,{className:"h-3 w-3",strokeWidth:3})," Fully Funded"]},"fully-funded")):q?ea.push((0,t.jsxs)("div",{className:"inline-flex items-center gap-0.5 rounded-md bg-green-soft-bg px-2 py-0.5 text-xs font-semibold text-status-success",children:[(0,t.jsx)(k.Check,{className:"h-3 w-3",strokeWidth:3})," Purchased"]},"purchased")):(et&&ea.push((0,t.jsxs)("div",{className:"inline-flex items-center gap-0.5 rounded-md bg-primary/90 px-2 py-0.5 text-xs font-semibold text-white shadow-sm",children:[(0,t.jsx)(w.Banknote,{className:"h-3 w-3"})," ","cash_fund"===p.fund_type?"Cash fund":"Group gift"]},"fund")),H&&ea.push((0,t.jsxs)("div",{className:"inline-flex items-center gap-0.5 rounded-md px-2 py-0.5 text-xs font-semibold shadow-sm bg-[hsl(var(--status-warning))] text-white",children:[(0,t.jsx)(j.Star,{className:"h-3 w-3"})," Most wanted"]},"most-wanted")),D&&p.out_of_stock_reported_at&&ea.push((0,t.jsxs)("div",{className:"inline-flex items-center gap-0.5 rounded-md bg-[hsl(var(--destructive))] px-2 py-0.5 text-xs font-semibold text-white shadow-sm",children:[(0,t.jsx)(N.PackageX,{className:"h-3 w-3"})," Out of stock?"]},"oos"))),(0,t.jsxs)(S.GiftCardFrame,{className:h,imageSectionClassName:b,layout:D?"owner":"public",onOpen:G,openLabel:"View details for ".concat(z||"gift"),badges:ea.length?ea:void 0,imageAction:B?(0,t.jsx)("button",{type:"button",className:"absolute right-3 top-3 z-10 flex h-8 w-8 items-center justify-center rounded-full bg-card text-muted-foreground shadow-sm ring-1 ring-black/5 transition-colors hover:text-primary dark:ring-white/10",onClick:e=>{e.stopPropagation(),e.preventDefault(),B()},"aria-label":"Save to my list",title:"Save to my list",children:(0,t.jsx)(y.Plus,{className:"h-4 w-4"})}):void 0,image:(0,t.jsx)("div",{className:(0,x.cn)("h-full w-full overflow-hidden rounded-lg",Z&&"bg-[hsl(var(--image-container-bg))]"),children:Z&&!V?(0,t.jsx)(c.Image,{src:Z,alt:z||"Gift image",className:"h-full w-full object-contain",loading:void 0!==I&&I<6?"eager":"lazy",priority:0===I,width:360,height:360,sizes:"(max-width: 768px) 50vw, (max-width: 1200px) 33vw, 25vw",onError:()=>X(!0)}):(0,t.jsx)(v.GiftPlaceholder,{giftId:p.id,index:I,className:"h-full w-full rounded-lg"})}),children:[(0,t.jsxs)("div",{className:"flex flex-col flex-1 px-2 pt-2 pb-2 md:px-3 md:pt-3 md:pb-3",children:[(0,t.jsxs)("div",{className:"min-h-[48px] md:min-
1h-[52px] flex flex-col justify-start",children:[(0,t.jsx)(S.GiftCardTitle,{title:z||"",compact:!!ee}),ee&&(0,t.jsxs)("div",{className:"flex gap-1 flex-wrap mt-0.5 mb-1.5",children:[O.slice(0,2).map(e=>{let r=T(e);return(0,t.jsx)("span",{className:(0,x.cn)("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium",r.bg,r.text),children:e},e)}),O.length>2&&(0,t.jsxs)("span",{className:"inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium bg-muted text-muted-foreground",children:["+",O.length-2]})]})]}),J&&(0,t.jsxs)("p",{className:"mb-1 truncate text-xs text-muted-foreground",title:J,children:["by ",J]}),(0,t.jsx)("div",{className:"flex-1"}),Y&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:Y}),et&&(0,t.jsx)(C.FundProgressBar,{totalContributed:p.fund_total_contributed||0,goalAmount:p.fund_goal_amount,className:"mb-1",showLabel:!1}),(0,t.jsxs)("div",{className:"w-full flex items-center justify-between",children:[(0,t.jsx)("div",{className:"flex items-center gap-1.5",children:et?(0,t.jsx)("p",{className:"font-semibold text-xs md:text-sm",children:p.fund_goal_amount?(0,t.jsxs)(t.Fragment,{children:["Goal: ",(0,t.jsx)(f,{owner:M}),(0,s.numberWithCommas)((+p.fund_goal_amount).toFixed(2))]}):(null!=(m=p.fund_total_contributed)?m:0)>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f,{owner:M}),(0,s.numberWithCommas)((+(null!=(g=p.fund_total_contributed)?g:0)).toFixed(2))," raised"]}):"Open fund"}):(0,t.jsxs)(t.Fragment,{children:[p.product_url&&K&&(0,t.jsx)(d.StoreAvatar,{storeName:K,logoUrl:$||void 0,storeUrl:p.product_url,size:"sm",minResolution:16,className:"!h-4 !w-4 shrink-0 !rounded-sm !text-[8px]"}),(0,t.jsx)("p",{className:"font-semibold text-xs md:text-sm",children:U||(W?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f,{owner:M}),(0,s.numberWithCommas)(Number(E).toFixed(2))]}):null)})]})}),(0,t.jsx)("div",{className:"flex-shrink-0",children:F})]})]}),A&&(0,t.jsx)("div",{className:"px-2 pb-2 md:px-3 md:pb-3",children:A})]})});e.s(["GiftCardDetails",0,A],785220)},239948,e=>{"use strict";function t(e){if(void 0===e.price||null===e.price||""===String(e.price).trim())return!1;let t=Number(e.price);return Number.isFinite(t)&&(t>0||0===t&&!0===e.priceIsExplicit)}function r(e,t){if(null!=e&&""!==e&&t&&/^[A-Z]{3}$/.test(t)&&Number.isFinite(Number(e)))try{return new Intl.NumberFormat("en-US",{style:"currency",currency:t}).format(Number(e))}catch(r){return"".concat(e," ").concat(t)}}e.s(["formatExplicitGiftPrice",0,function(e){if(!t(e))return;let a=r(e.price,e.currency);return a||(!0===e.priceIsExplicit?new Intl.NumberFormat("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}).format(Number(e.price)):void 0)},"formatGiftPrice",0,r,"hasDisplayableGiftPrice",0,t])},321713,e=>{"use strict";e.s(["GIFT_CARD_LAYOUT",0,{owner:{cardMinHeight:"min-h-[260px] md:min-h-[280px]",imageHeight:"h-[160px] md:h-[170px]"},public:{cardMinHeight:"min-h-[292px] md:min-h-[308px]",imageHeight:"h-[170px] md:h-[180px]"},addButtonMinHeight:"min-h-[260px] md:min-h-[280px]"},"GIFT_LIST_GRID_CLASS",0,"grid w-full grid-cols-2 gap-3 md:gap-5 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5","GIFT_LOADING_TILE_CLASS",0,"w-full h-[292px] md:h-[308px] rounded-2xl"])},698289,e=>{"use strict";e.s(["getGiftQuantityLabel",0,function(e,t){var r,a,l;let s=null!=(r=null!=(a=e.quantityTotal)?a:e.quantity)?r:1;if(s<=1)return null;let i=null!=(l=e.quantityRemaining)?l:s;return i<=0?null:t||i===s?"".concat(s," needed"):"".concat(i," of ").concat(s," still needed")}])},262703,e=>{"use strict";e.s(["isGiftPurchased",0,function(e){return"fully_funded"===e.fund_status||(void 0!==e.quantityRemaining?e.quantityRemaining<=0:e.isPurchased||e.isReserved)}])},689018,e=>{"use strict";var t=e.i(313300),r=e.i(271645);e.s(["useCountryDictionary",0,function(){let e=(0,r.useContext)(t.CountryDictionariesContext);if(!e)throw Error("useCountryDictionary must be used within a CountryDictionariesProvider");return e}])}]);

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.