1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="122b4bb2-54b9-bf3e-bbd0-914e0a0d3ff8")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,570046,e=>{"use strict";var t=e.i(843476),a=e.i(975157),l=e.i(626102),s=e.i(632729),r=e.i(247984);function i(e){let{badge:s,className:i}=e;if(!s)return null;switch((0,r.stegaClean)(s).name){case"top-seller":return(0,t.jsx)(n,{className:(0,a.cn)("bg-rush-blue-900 text-white",i),children:"Top Seller"});case"staff-favorite":return(0,t.jsx)(n,{className:(0,a.cn)("bg-rush-blue-900 text-white",i),children:"Staff Favorite"});case"best-seller":return(0,t.jsx)(n,{className:(0,a.cn)("bg-rush-blue-900 text-white",i),children:"Best Seller"});case"eco-friendly":return(0,t.jsxs)(n,{className:(0,a.cn)("flex items-center gap-1 bg-green-200 text-green-900",i),children:[(0,t.jsx)(l.Leaf,{className:"size-4"}),"Eco-Friendly"]});case"budget":return(0,t.jsx)(n,{className:(0,a.cn)("bg-rush-blue-900 text-white",i),children:"Budget"});case"classic":return(0,t.jsx)(n,{className:(0,a.cn)("bg-rush-blue-900 text-white",i),children:"Classic"});case"premium":return(0,t.jsx)(n,{className:(0,a.cn)("bg-rush-blue-900 text-white",i),children:"Premium"});case"everyday-low-price":return(0,t.jsx)(n,{className:(0,a.cn)("bg-green-200 text-green-900",i),children:"Everyday Low Price"})}}function n(e){let{children:l,className:s}=e;return(0,t.jsx)("div",{className:(0,a.cn)("max-h-22px relative px-2 py-1 text-sm leading-4 font-semibold tracking-[.25px] whitespace-nowrap",s),children:l})}e.s(["PrimaryBadge",0,function(e){let{badge:a,publishedAt:l}=e,r=s.DateTime.fromISO(l),o=r.isValid&&s.DateTime.now().diff(r,"days").days<=90;return(0,t.jsx)("div",{className:"absolute top-0 left-0 group-data-stacked/product-card:right-0 group-data-stacked/product-card:left-auto md:right-0 md:left-auto",children:o?(0,t.jsx)(n,{className:"rounded-br-2xl bg-[#85074b] text-white group-data-stacked/product-card:rounded-br-none group-data-stacked/product-card:rounded-bl-2xl md:rounded-br-none md:rounded-bl-2xl",children:"New"}):(0,t.jsx)(i,{badge:a,className:"rounded-br-2xl px-4 py-2 group-data-stacked/product-card:rounded-br-none group-data-stacked/product-card:rounded-bl-2xl md:rounded-br-none md:rounded-bl-2xl"})})},"ProductPageBadge",0,function(e){let{badge:a}=e;return(0,t.jsx)(i,{badge:a,className:"w-fit rounded-2xl px-3 py-1.5"})},"SecondaryBadge",0,function(e){let{badge:a}=e;return(0,t.jsx)("div",{className:"absolute bottom-0 left-0 group-data-stacked/product-card:right-0 group-data-stacked/product-card:left-auto md:right-0 md:left-auto",children:(0,t.jsx)(i,{badge:a,className:"rounded-tr-2xl px-4 py-2 group-data-stacked/product-card:rounded-tl-2xl group-data-stacked/product-card:rounded-tr-none md:rounded-tl-2xl md:rounded-tr-none"})})}])},76808,e=>{"use strict";var t=e.i(843476),a=e.i(776639),l=e.i(746798),s=e.i(975157),r=e.i(634282),i=e.i(959411),n=e.i(588207),o=e.i(689664),c=e.i(810818),d=e.i(271645);function u(e){let{data:a,className:l}=e;return(0,t.jsxs)("div",{className:(0,s.cn)("flex w-72 flex-col",l),children:[(0,t.jsxs)("table",{children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{scope:"col",className:"py-2.5 pr-3 pl-4 text-left text-sm font-semibold sm:pl-3",children:"Quantity"}),(0,t.jsx)("th",{scope:"col",className:"px-3 py-2.5 text-left text-sm font-semibold whitespace-nowrap",colSpan:2,children:"Price per Item"}),(0,t.jsx)("th",{scope:"col",className:"sr-only",children:"Discount Percent"})]})}),(0,t.jsx)("tbody",{className:"bg-white",children:a.map((e,a)=>(0,t.jsxs)("tr",{className:"w-full odd:bg-slate-100",children:[(0,t.jsxs)("td",{className:"flex items-center gap-1 px-4 py-2 text-sm whitespace-nowrap",children:[e.quantity," ",0===a&&(0,t.jsx)("span",{className:"text-slate-500",children:"(minimum)"})]}),(0,t.jsx)("td",{className:"px-3 py-2 text-sm font-semibold whitespace-nowrap",children:(0,n.default)(e.price,{fromCents:!0}).format()}),(0,t.jsx)("td",{className:"flex justify-center py-2 pr-4 pl-3 text-sm font-medium whitespace-nowrap sm:pr-3",children:(0,t.jsxs)("span",{className:(0,s.cn)("rounded-full border border-green-200 bg-green-100 px-2 py-0.5 text-sm text-green-800",{invisible:0===a}),children:[e.discount,"% off"]})})]},e._key))})]}),(0,t.jsxs)("div",{className:"flex grow-0 flex-col items-start gap-2 pt-3",children:[(0,t.jsx)("p",{className:"text-sm text-slate-600",children:"Pricing for a 1-color, 1-side design. Final price may vary."}),(0,t.jsxs)("div",{className:"flex flex-col items-start space-y-2",children:[(0,t.jsx)("p",{className:"font-medium",children:"Includes:"}),(0,t.jsx)("ul",{className:"space-y-1",children:["Free shipping","Industry-leading turnaround","S
2atisfaction guarantee"].map(e=>(0,t.jsxs)("li",{className:"flex items-center gap-2",children:[(0,t.jsx)(o.Check,{className:"size-4 text-green-600"}),e]},e))})]})]})]})}e.s(["PricingData",0,function(e){let{data:s,productStyle:o}=e,[m,x]=(0,d.useState)(!1),h=s.find(e=>e.isDefault);return h?(0,t.jsxs)("div",{"data-test":"pricing",className:"flex items-center gap-1 group-data-stacked/product-card:justify-center md:justify-center",onClick:e=>{e.preventDefault(),e.stopPropagation(),x(!1)},children:[(0,t.jsxs)("div",{className:"text-sm",children:[(0,t.jsx)("span",{className:"font-semibold",children:(0,n.default)(h.price,{fromCents:!0}).format()})," ","each for ",h.quantity," items"]}),(0,t.jsxs)(l.Tooltip,{delayDuration:300,onOpenChange:e=>{e&&(0,r.sendPricingTableOpenedEvent)(h,o)},children:[(0,t.jsx)(l.TooltipTrigger,{"aria-label":"Quote Details",children:(0,t.jsx)(c.Info,{className:"hidden size-5 cursor-help text-slate-400 hover:text-slate-600 md:block"})}),(0,t.jsx)(l.TooltipContent,{className:"cursor-default",children:(0,t.jsx)(u,{data:s})})]}),(0,t.jsxs)(a.Dialog,{open:m,onOpenChange:x,children:[(0,t.jsx)(a.DialogTrigger,{"aria-label":"Open quote pricing details",onClick:e=>{e.preventDefault(),e.stopPropagation(),(0,r.sendPricingTableOpenedEvent)(h,o),x(!0)},children:(0,t.jsx)(c.Info,{strokeWidth:2,className:"hover:text-rush-blue-600 size-5 text-slate-500 md:hidden"})}),(0,t.jsx)(a.DialogContent,{"aria-describedby":void 0,children:(0,t.jsxs)(a.DialogHeader,{children:[(0,t.jsx)(i.VisuallyHidden,{asChild:!0,children:(0,t.jsx)(a.DialogTitle,{children:"Quote Pricing Data"})}),(0,t.jsx)(u,{data:s})]})})]})]}):null}])},254974,e=>{"use strict";var t=e.i(843476),a=e.i(570046),l=e.i(76808),s=e.i(639041),r=e.i(519455),i=e.i(491960),n=e.i(721832),o=e.i(975157),c=e.i(768877),d=e.i(522016),u=e.i(271645);e.s(["RichTextProduct",0,function(e){let{value:{title:m,description:x,productDetails:h}}=e,[f,p]=(0,u.useState)(h.defaultColor),[g,v]=(0,u.useState)(null),j=h.totalProductColors-h.featuredProductColors.length;return(0,t.jsxs)("article",{className:"not-prose my-8 flex flex-col gap-6 overflow-hidden rounded-2xl border bg-slate-50 p-4 lg:flex-row lg:p-6",children:[(0,t.jsx)("div",{className:"flex shrink-0 items-center justify-center rounded-2xl lg:basis-2/5 lg:bg-transparent",children:(0,t.jsx)(n.ImgixProductImage,{style:h.productImageData.style,colorCode:g?g.code:f.code,template:h.productImageData.template,className:"aspect-square w-full max-w-xs object-contain mix-blend-multiply"})}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 lg:basis-3/5 lg:justify-center",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)(a.ProductPageBadge,{badge:h.primaryBadge}),(0,t.jsx)(a.ProductPageBadge,{badge:h.secondaryBadge})]}),(0,t.jsx)("h3",{className:"text-2xl font-bold text-balance lg:text-3xl",children:m}),(0,t.jsxs)("ul",{className:"flex flex-wrap items-center gap-1",children:[h.featuredProductColors.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(i.ColorButton,{title:e.name,colors:e.palette,className:"m-0 h-6 w-6",isSelected:f.id===e.id,onClick:()=>{p(e)},onMouseEnter:()=>v(e),onMouseLeave:()=>v(null)})},e.id)),j>0&&(0,t.jsxs)("li",{className:"pl-1 text-sm text-slate-500",children:["+",j," colors"]})]}),(0,t.jsx)("p",{className:"text-slate-600",children:x}),(h.totalReviews>0||h.priceQuotes.length>0)&&(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-4 gap-y-1",children:[h.totalReviews>0&&(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(s.RatingStars,{rating:h.averageScore,className:"md:text-lg"}),(0,t.jsx)("p",{className:"text-sm",children:(0,o.formatReviews)(h.totalReviews)})]}),(0,t.jsx)(l.PricingData,{data:h.priceQuotes})]}),(0,t.jsx)(r.Button,{asChild:!0,className:"mt-2 self-start",children:(0,t.jsxs)(d.default,{href:"/design/?item=".concat(h.id,"&color=").concat(f.id),children:["Design now",(0,t.jsx)(c.ArrowRight,{className:"ml-2 size-4"})]})})]})]})}])},997889,e=>{"use strict";let t;var a=e.i(271645);let l=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,s=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,r=/\.(m3u8)($|\?)/i,i=/\.(mpd)($|\?)/i,n=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,o=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|wat
2ch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,c=/vimeo\.com\/(?!progressive_redirect).+/,d=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,u=/open\.spotify\.com\/(\w+)\/(\w+)/i,m=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,x=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,h=(e,t)=>{if(Array.isArray(e)){for(let a of e)if("string"==typeof a&&h(a,t)||h(a.src,t))return!0;return!1}return t(e)};var f=e.i(480388),p=e.i(181788);let g=a.default.forwardRef((e,t)=>{let s=l.test("".concat(e.src))?"audio":"video";return a.default.createElement(s,(0,p._)((0,f._)({},e),{ref:t}),e.children)}),v=[{key:"hls",name:"hls.js",canPlay:e=>h(e,e=>r.test(e)),canEnablePIP:()=>!0,player:(0,a.lazy)(()=>e.A(852953))},{key:"dash",name:"dash.js",canPlay:e=>h(e,e=>i.test(e)),canEnablePIP:()=>!0,player:(0,a.lazy)(()=>e.A(264594))},{key:"mux",name:"Mux",canPlay:e=>n.test(e),canEnablePIP:()=>!0,player:(0,a.lazy)(()=>e.A(794375))},{key:"youtube",name:"YouTube",canPlay:e=>o.test(e),player:(0,a.lazy)(()=>e.A(641554))},{key:"vimeo",name:"Vimeo",canPlay:e=>c.test(e)&&!s.test(e)&&!r.test(e),player:(0,a.lazy)(()=>e.A(409705))},{key:"wistia",name:"Wistia",canPlay:e=>d.test(e),canEnablePIP:()=>!0,player:(0,a.lazy)(()=>e.A(364603))},{key:"spotify",name:"Spotify",canPlay:e=>u.test(e),canEnablePIP:()=>!1,player:(0,a.lazy)(()=>e.A(699195))},{key:"twitch",name:"Twitch",canPlay:e=>m.test(e),canEnablePIP:()=>!1,player:(0,a.lazy)(()=>e.A(478449))}
2,{key:"tiktok",name:"TikTok",canPlay:e=>x.test(e),canEnablePIP:()=>!1,player:(0,a.lazy)(()=>e.A(296152))},{key:"html",name:"html",canPlay:e=>h(e,e=>l.test(e)||s.test(e)),canEnablePIP:()=>!0,player:g}],j={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},y=a.default.forwardRef((e,t)=>{let{playing:l,pip:s}=e,r=e.activePlayer,i=(0,a.useRef)(null),n=(0,a.useRef)(!0);if((0,a.useEffect)(()=>{var t,a;i.current&&(i.current.paused&&!0===l&&i.current.play(),i.current.paused||!1!==l||i.current.pause(),i.current.playbackRate=null!=(t=e.playbackRate)?t:1,i.current.volume=null!=(a=e.volume)?a:1)}),(0,a.useEffect)(()=>{var e,t,a,l,r;if(i.current&&globalThis.document){if(s&&!document.pictureInPictureElement)try{null==(t=(e=i.current).requestPictureInPicture)||t.call(e)}catch(e){}if(!s&&document.pictureInPictureElement)try{null==(l=(a=i.current).exitPictureInPicture)||l.call(a),null==(r=document.exitPictureInPicture)||r.call(document)}catch(e){}}},[s]),!r)return null;let o={},c=["onReady","onStart"];for(let t in e)t.startsWith("on")&&!c.includes(t)&&(o[t]=e[t]);return a.default.createElement(r,(0,p._)((0,f._)({},o),{style:e.style,className:e.className,slot:e.slot,ref:(0,a.useCallback)(e=>{i.current=e,"function"==typeof t?t(e):null!==t&&(t.current=e)},[t]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:t=>{var a,l;n.current=!0,null==(a=e.onReady)||a.call(e),null==(l=e.onLoadStart)||l.call(e,t)},onPlay:t=>{var a,l;n.current&&(n.current=!1,null==(a=e.onStart)||a.call(e,t)),null==(l=e.onPlay)||l.call(e,t)}}),e.children)});y.displayName="Player";let w=(0,a.lazy)(()=>e.A(165165)),b=[],N=e=>{let{children:t}=e;return t},C=v[v.length-1];var S=((t=a.default.forwardRef((e,t)=>{let l=(0,f._)({},j,e),{src:s,slot:r,className:i,style:n,width:o,height:c,fallback:d,wrapper:u}=l,[m,x]=(0,a.useState)(!!l.light);(0,a.useEffect)(()=>{l.light?x(!0):x(!1)},[l.light]);let h=e=>{var t;x(!1),null==(t=l.onClickPreview)||t.call(l,e)},g=null==u?N:u,S=!1===d?N:a.Suspense;return a.default.createElement(g,{slot:r,className:i,style:(0,f._)({width:o,height:c},n)},a.default.createElement(S,{fallback:d},m?(e=>{if(!e)return null;let{light:t,playIcon:s,previewTabIndex:r,oEmbedUrl:i,previewAriaLabel:n}=l;return a.default.createElement(w,{src:e,light:t,playIcon:s,previewTabIndex:r,previewAriaLabel:n,oEmbedUrl:i,onClickPreview:h})})(s):(e=>{var s,n;let o=(e=>{for(let t of[...b,...v])if(e&&t.canPlay(e))return t;return C||null})(e);if(!o)return null;let{style:c,width:d,height:u,wrapper:m}=l,x=null==(s=l.config)?void 0:s[o.key];return a.default.createElement(y,(0,p._)((0,f._)({},l),{ref:t,activePlayer:null!=(n=o.player)?n:o,slot:m?void 0:r,className:m?void 0:i,style:m?{display:"block",width:"100%",height:"100%"}:(0,f._)({display:"block",width:d,height:u},c),config:x}))})(s)))})).displayName="ReactPlayer",t.addCustomPlayer=e=>{b.push(e)},t.removeCustomPlayers=()=>{b.length=0},t.canPlay=e=>{if(e){for(let t of[...b,...v])if(t.canPlay(e))return!0}return!1},t.canEnablePIP=e=>{var t;if(e){for(let a of[...b,...v])if(a.canPlay(e)&&(null==(t=a.canEnablePIP)?void 0:t.call(a)))return!0}return!1},t);e.s(["default",0,S],997889)},748281,e=>{"use strict";var t=e.i(843476),a=e.i(718485),l=e.i(519455),s=e.i(624687),r=e.i(536604),i=e.i(328623),n=e.i(399847),o=e.i(271645),c=e.i(846932),d=e.i(88653),u=e.i(347938),m=e.i(634282),x=e.i(302747),h=e.i(611568);function f(){return(0,t.jsxs)("div",{className:"space-y-2 rounded-2xl bg-white p-2 shadow-md",children:[(0,t.jsxs)("div",{className:"relative overflow-hidden rounded-2xl",children:[(0,t.jsx)(x.Skeleton,{className:"aspect-square w-full"}),(0,t.jsx)(h.LoaderCircle,{className:"text-primary absolute inset-0 m-auto animate-spin"})]}),(0,t.jsx)("div",{className:"overflow-hidden rounded-2xl",children:(0,t.jsx)(x.Skeleton,{className:"h-10 w-full"})})]})}var p=e.i(51029),g=e.i(842935),v=e.i(657688);let j=new p.default,y=function(e){let{image:a,data:s}=e,[r,i]=(0,o.useState)(s.product.colors[0]),n=new URLSearchParams({method:s.method,item:"".concat(s.product.item),color:"".concat(r.id),designTemplate:s.designTemplate,uploadFileName:a.uploadFileName,uploadRemoveBackgroun
2d:(!0).toString()});return(0,t.jsxs)("div",{className:"space-y-2 rounded-2xl bg-white p-2 shadow-md",children:[(0,t.jsx)("div",{className:"overflow-hidden rounded-2xl",children:(0,t.jsx)(v.default,{src:a.imgix_url,alt:a.alt,title:a.alt,className:"aspect-square w-full object-cover",unoptimized:!0,width:500,height:500,onLoad:e=>{var t;let a=j.getColor(e.currentTarget,10);i((t=null!=a?a:[0,0,0],s.product.colors.reduce((e,a)=>{let l=g.default.deltaE((0,g.default)(t),(0,g.default)(e.hex));return g.default.deltaE((0,g.default)(t),(0,g.default)(a.hex))<l?a:e})))},crossOrigin:"anonymous"})}),(0,t.jsx)(l.Button,{className:"w-full",asChild:!0,children:(0,t.jsx)("a",{href:"/design/?".concat(n.toString()),onClick:e=>{e.preventDefault(),(0,m.sendSegmentEvent)("Clicked AI Image",{imageId:a.id},{},()=>{window.location.href="/design/?".concat(n.toString())})},children:s.title})})]})};var w=e.i(434179);e.s(["AIPromptGeneratorComponent",0,function(e){var x;let{data:h}=e,[p,g]=(0,o.useState)(!1),[v,j]=(0,o.useState)(""),b=(0,w.useAi)();return h?(0,t.jsx)("section",{children:(0,t.jsxs)("div",{className:"grid items-center gap-8 md:grid-cols-2",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4 text-center md:items-start md:text-left",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("h2",{className:"text-5xl font-bold tracking-tighter sm:text-6xl md:text-7xl",children:h.title}),(0,t.jsx)("p",{className:"max-w-[700px] text-lg text-slate-500 md:text-2xl/relaxed lg:text-xl/relaxed xl:text-2xl/relaxed dark:text-slate-400",children:h.description})]}),(0,t.jsxs)("form",{className:"w-full max-w-lg space-y-4 md:min-h-[200px]",onSubmit:e=>{e.preventDefault(),v.trim()&&((0,m.sendSegmentEvent)("Generated AI Images",{prompt:v.trim()}),b.mutate(new FormData(e.currentTarget)))},children:[(0,t.jsx)(d.AnimatePresence,{mode:"wait",children:p?(0,t.jsxs)(c.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3,ease:"easeInOut"},className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)("label",{htmlFor:"prompt",className:"sr-only",children:"Describe your design idea"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(s.Textarea,{id:"prompt",name:"prompt",value:v,onChange:e=>j(e.target.value),placeholder:"e.g., A vintage-style coffee shop logo with mountains in the background",maxLength:500,rows:4,className:"pr-36"}),(0,t.jsxs)(l.Button,{type:"button",variant:"outline",className:"absolute top-2 right-2",size:"sm",onClick:()=>{let e=h.suggestions[Math.floor(Math.random()*h.suggestions.length)];(0,m.sendSegmentEvent)("Clicked AI Suggestions",{suggestion:e}),j(e)},children:[(0,t.jsx)(i.Sparkles,{className:"mr-2 size-4"}),"Suggestions"]})]}),(0,t.jsx)("p",{className:"text-xs text-slate-500",children:"Do not use trademarked logos, brand names, or copyrighted materials."})]}),(0,t.jsx)("div",{className:"relative h-[52px] w-full",children:(0,t.jsx)(d.AnimatePresence,{mode:"wait",children:b.isPending?(0,t.jsx)(c.motion.div,{initial:{opacity:0}
2,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2,ease:"easeInOut"},className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)(a.LoadingIndicator,{isLoading:b.isPending})},"loading"):(0,t.jsx)(c.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2,ease:"easeInOut"},className:"absolute inset-0",children:(0,t.jsxs)(l.Button,{type:"submit",disabled:!v.trim(),className:"h-full w-full",size:"lg",children:["Generate Images",(0,t.jsx)(i.Sparkles,{className:"ml-2 size-4"})]})},"button")})})]},"active"):(0,t.jsxs)(c.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3,ease:"easeInOut"},className:"flex flex-wrap justify-center gap-4 md:justify-start",children:[(0,t.jsxs)(l.Button,{size:"cta",onClick:()=>g(!0),children:[(0,t.jsx)(i.Sparkles,{className:"mr-4 size-5"}),"Start Designing"]}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-4 md:justify-start",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-slate-600",children:[(0,t.jsx)(r.CircleCheckBig,{className:"size-4 text-slate-600"}),(0,t.jsx)("span",{children:"100% Free"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-slate-600",children:[(0,t.jsx)(r.CircleCheckBig,{className:"size-4 text-slate-600"}),(0,t.jsx)("span",{children:"Ready in Seconds"})]})]})]},"initial")}),b.error&&(0,t.jsx)("div",{className:"space-y-3 rounded-lg border border-red-200 bg-red-50 p-4",children:(0,t.jsxs)("div",{className:"flex items-start space-x-2",children:[(0,t.jsx)(n.AlertCircle,{className:"mt-0.5 size-5 shrink-0 text-red-600"}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-red-800",children:"Generation Error"}),(0,t.jsx)("p",{className:"text-sm text-red-700",children:b.error.message})]})]})})]})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-4 lg:max-w-lg lg:gap-3 xl:max-w-xl",children:(0,t.jsxs)(d.AnimatePresence,{mode:"wait",children:[!b.data&&!b.isPending&&(0,t.jsx)(c.motion.div,{initial:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:"easeInOut"},className:"col-span-2 grid grid-cols-2 gap-4 lg:gap-3",children:null==(x=h.placeholderImages)?void 0:x.map(e=>(0,t.jsx)("div",{className:"overflow-hidden rounded-lg shadow-md",children:(0,t.jsx)(u.SanityImage,{src:e})},e._key))},"starter-images"),b.isPending&&(0,t.jsxs)(c.motion.div,{initial:{opacity:0}
2,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:"easeInOut"},className:"col-span-2 grid grid-cols-2 gap-4 lg:gap-3",children:[(0,t.jsx)(f,{}),(0,t.jsx)(f,{}),(0,t.jsx)(f,{}),(0,t.jsx)(f,{})]},"skeleton-loading"),b.data&&(0,t.jsx)(c.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.3,ease:"easeInOut"},className:"col-span-2 grid grid-cols-2 gap-4 lg:gap-3",children:b.data.data.images.map(e=>(0,t.jsx)(y,{image:e,data:h.callToAction},e.id))},"generated-images")]})})]})}):null}],748281)},457111,e=>{"use strict";e.i(247167);var t,a=e.i(843476),l=e.i(271645),s="basil",r="https://js.stripe.com",i="".concat(r,"/").concat(s,"/stripe.js"),n=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,o=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,c=function(){for(var e=document.querySelectorAll('script[src^="'.concat(r,'"]')),t=0;t<e.length;t++){var a,l=e[t];if(a=l.src,n.test(a)||o.test(a))return l}return null},d=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",a=document.createElement("script");a.src="".concat(i).concat(t);var l=document.head||document.body;if(!l)throw Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return l.appendChild(a),a},u=function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"7.9.0",startTime:t})},m=null,x=null,h=null,f=function(e,t,a){if(null===e)return null;var l,r=t[0].match(/^pk_test/),i=3===(l=e.version)?"v3":l;r&&i!==s&&console.warn("Stripe.js@".concat(i," was loaded on the page, but @stripe/stripe-js@").concat("7.9.0"," expected Stripe.js@").concat(s,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var n=e.apply(void 0,t);return u(n,a),n},p=!1,g=function(){return t||(t=(null!==m?m:(m=new Promise(function(e,t){if("u"<typeof window||"u"<typeof document)return void e(null);if(window.Stripe,window.Stripe)return void e(window.Stripe);try{var a,l=c();l?l&&null!==h&&null!==x&&(l.removeEventListener("load",h),l.removeEventListener("error",x),null==(a=l.parentNode)||a.removeChild(l),l=d(null)):l=d(null),h=function(){window.Stripe?e(window.Stripe):t(Error("Stripe.js not available"))},x=function(e){t(Error("Failed to load Stripe.js",{cause:e}))},l.addEventListener("load",h),l.addEventListener("error",x)}catch(e){t(e);return}})).catch(function(e){return m=null,Promise.reject(e)})).catch(function(e){return t=null,Promise.reject(e)}))};Promise.resolve().then(function(){return g()}).catch(function(e){p||console.warn(e)});var v=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];p=!0;var l=Date.now();return g().then(function(e){return f(e,t,l)})};function j(e){let{fullscreen:t,title:s,subtitle:r,children:i}=e;return((0,l.useEffect)(()=>{if(t){let e=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}},[t]),t)?(0,a.jsx)("div",{className:"fixed inset-0 z-50 h-full bg-white",children:i}):(0,a.jsxs)("div",{className:"mb-4 flex flex-col gap-8",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center gap-2",children:[(0,a.jsx)("h1",{className:"text-4xl font-semibold",children:s}),(0,a.jsx)("p",{className:"text-xl font-light text-slate-500",children:r})]}),(0,a.jsx)("div",{className:"min-h-[1500px] rounded bg-white p-2",children:i})]})}e.s(["Augusta",0,function(e){let{url:t,title:s,subtitle:r}=e,[i,n]=(0,l.useState)("100%"),[o,c]=(0,l.useState)(!1),[d,u]=(0,l.useState)(null),[m,x]=(0,l.useState)(null),[h,f]=(0,l.useState)(null),[p,g]=(0,l.useState)(null),y=(0,l.useRef)(null),w=(0,l.useCallback)(e=>{let{data:a}=e;if(a.indexOf){if(-1!==a.indexOf("asgIframeSrc")){let[e,t]=a.split("|");u(t)}else if(-1!==a.indexOf("asgOrderTotal")){let[e,t]=a.split(":");g(parseFloat(t))}else if(-1!==a.indexOf("asgSNumber")){let[e,t]=a.split(":");f(t)}else if(-1!==a.indexOf("asgIframeHeight")){let[e,t]=a.split(":");n("".concat(t,"px"))}else if(-1!==a.indexOf("reLoadIframe")){if(!y.current)return;y.current.src=t}else if(-1!==a.indexOf("scrollToTop")){if(!y.current)return}else if(-1!==a.indexOf("asgPageName")){var l;
2if(!y.current)return;let[e,t]=a.split(":");"configurator"===t?c(!0):"CategoryPage"===t&&c(!1);let s=document.domain;null==(l=y.current.contentWindow)||l.postMessage("parentDomain:".concat(s),"*"),y.current.scrolling="configurator"===t?"yes":"no"}}},[t]),b=(0,l.useCallback)(()=>{if(!y.current)return;let{bottom:e}=y.current.getBoundingClientRect(),t=(window.pageYOffset||document.documentElement.scrollTop)+e;if(window.scrollY>t-window.innerHeight){var a;if(!y.current)return;null==(a=y.current.contentWindow)||a.postMessage("loadNextPageIframe","*")}},[]);return(0,l.useEffect)(()=>{if(y.current){let e=y.current;return e.onload=function(){var t,a;let{height:l}=e.getBoundingClientRect();null==(t=e.contentWindow)||t.postMessage("parentHeight:".concat(l),"*");let s=document.domain;null==(a=e.contentWindow)||a.postMessage("parentDomain:".concat(s),"*")},window.addEventListener("message",w),()=>{window.removeEventListener("message",w)}}},[y,o,w]),(0,l.useEffect)(()=>{h&&p&&fetch("/api/augusta/checkout",{method:"POST",body:JSON.stringify({id:h,amount:p})}).then(function(e){return e.json()}).then(function(e){let{sessionId:t}=e;return null==m?void 0:m.redirectToCheckout({sessionId:t})}).then(function(e){(null==e?void 0:e.error)&&alert(e.error.message)})},[h,p,m]),(0,l.useEffect)(()=>(v("pk_live_LJy7YsTdu88TgXOx4UotN3Yx").then(e=>{x(e)}),window.addEventListener("scroll",b,!0),()=>{window.removeEventListener("scroll",b)}),[b]),(0,a.jsx)(j,{fullscreen:o,title:s,subtitle:r,children:(0,a.jsx)("iframe",{ref:y,src:o&&d?d:t,style:{width:"100%",height:i,border:"none"},onLoad:()=>{if(y.current){var e;let t=document.domain;null==(e=y.current.contentWindow)||e.postMessage("parentDomain:".concat(t),"*"),window.addEventListener("message",w)}}})})}],457111)},620148,e=>{"use strict";var t=e.i(843476),a=e.i(519455),l=e.i(636370);e.s(["CallToAction",0,function(e){let{target:s,variants:r,children:i,onClickAction:n}=e;return(0,t.jsx)(l.LinkRender,{target:s,className:(0,a.buttonVariants)(r),onClick:n,children:i})}])},593362,e=>{"use strict";var t=e.i(96296),a=e.i(414212);e.i(247167);var l=e.i(480388),s=e.i(181788),r=e.i(869230),i=e.i(469637),n=e.i(254440);async function o(e){try{let l=await t.graphQLClient.request(a.DESIGN_QUERY,{designId:e});if(!l.node)return null;return{design:l.node,shippingDates:l.viewer}}catch(e){return console.error("Error fetching design data:",e),null}}e.s(["useSuspenseDesignData",0,function(e){var t;return t={queryKey:["designs",e],queryFn:()=>o(e)},(0,i.useBaseQuery)((0,s._)((0,l._)({},t),{enabled:!0,suspense:!0,throwOnError:n.defaultThrowOnError,placeholderData:void 0}),r.QueryObserver,void 0)}],593362)},784227,e=>{"use strict";var t=e.i(467034),a=e.i(618566);function l(e){try{let a=t.Buffer.from(decodeURIComponent(e),"base64").toString("utf8").trim();if(a.startsWith("Design:"))return s(a.substring(7));return s(a)}catch(e){return console.error("Error extracting design number:",e),null}}function s(e){return{asGraphQLParam:t.Buffer.from("Design:".concat(e)).toString("base64"),asNumber:Number(e),asString:e,asDesignStudioParam:t.Buffer.from(e).toString("base64")}}e.s(["useDesignIdentifier",0,function(){let e=(0,a.useSearchParams)().get("design"),{design:t}=(0,a.useParams)();return e?l(e):t?l(t):null}])},238058,e=>{"use strict";var t=e.i(843476),a=e.i(639041),l=e.i(620148),s=e.i(677572),r=e.i(128836),i=e.i(593362),n=e.i(784227),o=e.i(975157),c=e.i(634282);function d(e){var l;let{items:s,design:n,firstTab:d}=e,{data:u}=(0,i.useSuspenseDesignData)(n.asGraphQLParam),m=null!=(l=null==u?void 0:u.design.products.map(e=>e.style))?l:[];return 0===s.length?null:(0,t.jsx)("ul",{className:"my-4 grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-4 lg:grid-cols-4 lg:gap-8",children:s.flatMap(e=>{if(m.includes(e.style))return[];let l=new URLSearchParams({method:e.defaultDecorationMethod,color:"auto",colorCode:"auto",style:e.style,autoPlaceDesign:"true",forceNewSave:"true",design:n.asDesignStudioParam});return(0,t.jsx)("li",{children:(0,t.jsx)("article",{className:"flex h-full flex-col overflow-hidden rounded-2xl border bg-white hover:shadow-md",children:(0,t.jsxs)("a",{href:"/design/?".concat(l.toString()),className:"flex md:grow md:flex-col",onClick:()=>{(0,c.sendSegmentEvent)("Cross Sell Click",{label:e.style})},children:[(0,t.jsx)("div",{className:"relative flex basis-2/5 items-center md:w-full md:max-w-none md:justify-center md:p-4",children:(0,t.jsx)(r.ZoomImageClient,{className:"aspect-square rounded-2xl",direction:"fr",style:e.style,template:n.asString,colorCode:"auto",hideProduct:!1,priority:d,autoInvertDesign:!1,autoPlaceDesign:!0},e._id)}),(0,t.jsxs)("div",{className:"flex basis-3/5 flex-col justify-center gap-2 px-2 py-3 md:w-full md:grow md:items-center md:justify-between md:px-4 md:pb-4 md:text-center",children:[(0,t.jsx)("h3",{className:"text-lg font-bold text-balance md:text-center",children:e.title}),e.totalReviews>0&&(0,t.jsxs)("div",{className:"flex items-center gap-2 md:justify-center",children:[(0,t.jsx)(a.RatingStars,{rating:e.averageScore}),(0,t.jsx)("p",{className:"text-sm",children:(0,o.formatReviews)(e.totalReviews)})]})]})]})})},e._id)}).slice(0,4)})}e.s(["DesignShowcaseComponentClient",0,function(e){let{data:a}=e,r=(0,n.useDesignIdentifier)();return r?(0,t.jsxs)("section",{className:"flex flex-col items-center justify-center gap-4 py-4",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-1 text-center",children:[(0,t.jsx)("h2",{className:"text-3xl font-bold",children:a.title}),a.subtitle&&(0,t.jsx)("p",{children:a.subtitle})]}),(0,t.jsxs)(s.Tabs,{defaultValue:a.tabs[0]._key,className:"flex w-full flex-col items-center justify-center",children:[(0,t.jsx)(s.TabsList,{className:"h-auto w-fit flex-wrap gap-4 bg-transparent",children:a.tabs.map(e=>(0,t.jsx)(s.TabsTrigger,{value:e._key,className:"rounded-xl hover:bg-slate-50 hover:text-slate-700 data-[state=active]:bg-white data-[state=active]:font-bold data-[state=active]:text-slate-900",children:e.title},e._key))}),a.tabs.map((e,a)=>(0,t.jsxs)(s.TabsContent,{value:e._key,children:[(0,t.jsx)(d,{items:e.items,design:r,firstTab:0===a}),e.callToAction&&(0,t.jsx)("div",{className:"flex justify-center pb-8",children:(0,t.jsx)(l.CallToAction,{target:e.callToAction,variants:{size:"lg"}})})]},e._key))]})]}):null}])},424273,e=>{"use strict";
2var t=e.i(843476),a=e.i(273443),l=e.i(636370),s=e.i(975157),r=e.i(618566),i=e.i(271645);e.s(["HelpCenterSideMenu",0,function(e){let{data:n}=e,[o,c]=(0,i.useState)(),d=(0,r.usePathname)();return((0,i.useEffect)(()=>{var e;let t=null==n||null==(e=n.groups)?void 0:e.find(e=>{var t;return null==(t=e.groupItems)?void 0:t.some(e=>(0,l.isActiveLink)(e,d))});t&&t.groupTitle&&c([t.groupTitle])},[d,n]),n&&n.groups)?(0,t.jsxs)("div",{className:"mt-1 mb-2 flex w-full flex-col self-start rounded-lg md:sticky md:top-0 md:mt-0 md:mb-6 md:w-72 md:overflow-hidden",children:[(0,t.jsx)("h2",{className:"mt-6 mb-2 text-2xl font-bold md:my-2 md:text-xl",children:n.title}),(0,t.jsx)("div",{className:"mt-3 border-b border-slate-200 md:hidden"}),(0,t.jsx)("div",{className:"grow space-y-3 md:overflow-x-hidden md:overflow-y-auto",children:(0,t.jsx)(a.Accordion,{type:"multiple",className:"w-full",value:o,onValueChange:c,children:n.groups.map(e=>e.groupTitle&&e.groupItems?(0,t.jsxs)(a.AccordionItem,{value:e.groupTitle,children:[(0,t.jsx)(a.AccordionTrigger,{className:"hover:text-primary text-lg font-semibold hover:no-underline",children:e.groupTitle}),(0,t.jsx)(a.AccordionContent,{children:(0,t.jsx)("ul",{className:"flex flex-col space-y-2 px-4",children:e.groupItems.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(l.LinkRender,{target:e,className:(0,s.cn)("hover:text-primary text-base text-slate-900",{"text-primary font-bold":(0,l.isActiveLink)(e,d)})})},e._key))})})]},e._key):null)})})]}):null}])},364569,e=>{"use strict";let t=(0,e.i(456420).default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);e.s(["Zap",0,t],364569)},497557,e=>{"use strict";var t=e.i(843476),a=e.i(519455),l=e.i(347938),s=e.i(367363),r=e.i(364569),i=e.i(522016),n=e.i(96296),o=e.i(414212),c=e.i(266027),d=e.i(632729);let u={scr:"SCREEN_PRINTING",emb:"EMBROIDERY",dtg:"DIRECT_TO_GARMENT",vin:"CUT_VINYL",pvn:"PRINTED_VINYL",hep:"HEAT_PRESS",sub:"SUBLIMATION",tac:"TACKLE_TWILL",hdd:"HIGH_DEFINITION_DIGITAL",nts:"TRANSFER_STANDARD",ntg:"TRANSFER_GLITTER",ntu:"TRANSFER_UV"};e.s(["HeroPanelComponentClient",0,function(e){var m,x;let{data:h}=e,{data:f,isLoading:p}=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ccc, LLL d",l=!!e;if(l&&!t)throw Error("useDeliveryDates: method is required when productId is provided");if(!l&&t)throw Error("useDeliveryDates: productId is required when method is provided");let s=async()=>{if(l){let l=await n.graphQLClient.request(o.PRODUCT_DELIVERY_DATES_QUERY,{productId:btoa("Product:".concat(e)),customizationMethod:u[t]||"SCREEN_PRINTING"});return{rushDeliveryDate:d.DateTime.fromISO(l.node.earliestDeliveryDate).toFormat(a),freeDeliveryDate:d.DateTime.fromISO(l.node.freeDeliveryDate).toFormat(a)}}let s=await n.graphQLClient.request(o.GENERIC_DELIVERY_DATES_QUERY);return{rushDeliveryDate:d.DateTime.fromSQL(s.viewer.earliestDeliveryDate).toFormat(a),freeDeliveryDate:d.DateTime.fromSQL(s.viewer.freeDeliveryDate).toFormat(a)}};return(0,c.useQuery)({queryKey:l?["delivery-dates","product",e,t,a]:["delivery-dates","generic",a],queryFn:s})}(null==(m=h.productReference)?void 0:m.productId,null==(x=h.decorationMethod)?void 0:x.designStudioReference);return(0,t.jsxs)("section",{className:"flex flex-col overflow-hidden rounded-2xl bg-linear-to-r from-[#0679CB] to-[#2AA5FF]/90 text-white md:flex-row",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4 px-4 py-6 md:max-w-1/2 md:justify-center md:px-12",children:[(0,t.jsx)("h1",{className:"text-4xl font-extrabold md:text-5xl",children:h.title}),(0,t.jsx)("p",{className:"text-lg font-semibold text-slate-200",children:h.description}),h.links&&h.links.length>0&&(0,t.jsx)("ul",{className:"flex flex-col gap-2 text-lg",children:h.links.map((e,l)=>0===l?(0,t.jsx)("li",{children:(0,t.jsx)(a.Button,{size:"lg",className:"border-rush-blue-900 bg-rush-blue-900 hover:bg-rush-blue-900 w-full justify-center py-3 font-bold transition-opacity duration-200 hover:opacity-75",asChild:!0,children:(0,t.jsx)(i.default,{href:e.slug,children:e.title})})},e._key):(0,t.jsx)("li",{children:(0,t.jsx)(a.Button,{size:"lg",className:"w-full font-bold text-white hover:border-white",asChild:!0,variant:"ghost",children:(0,t.jsx)(i.default,{href:e.slug,children:e.title})})},e._key))}),(0,t.jsxs)("div",{className:"relative flex w-full flex-col gap-4 lg:flex-row",children:[(0,t.jsxs)("div",{className:"flex w-full flex-row gap-4 lg:basis-1/2",children:[(0,t.jsx)(s.Truck,{className:"size-10 shrink-0 rounded-full bg-slate-200/25 p-2"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-bold text-white",children:"Free Delivery"}),(0,t.jsx)("p",{className:"text-sm text-slate-200 md:text-nowrap",children:(0,t.jsx)("span",{className:"text-nowrap",children:p?"...":null==f?void 0:f.freeDeliveryDate})})]})]}),(null==f?void 0:f.rushDeliveryDate)&&(0,t.jsxs)("div",{className:"flex w-full flex-row gap-4 lg:basis-1/2",children:[(0,t.jsx)(r.Zap,{className:"size-10 shrink-0 rounded-full bg-slate-200/25 p-2"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-bold text-white",children:"Rush Delivery"}),(0,t.jsx)("p",{className:"text-sm text-slate-200 md:text-nowrap",children:(0,t.jsx)("span",{className:"text-nowrap",children:p?"...":null==f?void 0:f.rushDeliveryDate})})]})]})]})]}),(0,t.jsx)("div",{className:"flex justify-center md:w-full md:max-w-1/2",children:(0,t.jsx)(l.SanityImage,{src:h.image,className:"object-top sm:w-full sm:object-cover",width:900,preload:!0,fetchPriority:"high",sizes:"(max-width: 768px) 100vw, 500px"})})]})}],497557)},423952,e=>{"use strict";var t=e.i(843476),a=e.i(772436),l=e.i(975157),s=e.i(901115),r=e.i(96296),i=e.i(414212),n=e.i(266027),o=e.i(632729);e.s(["DeliveryDates",0,function(e){let{variant:c}=e,{data:d,isLoading:u,isError:m}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ccc, LLL d";return(0,n.useQuery)({queryKey:["generic-delivery-dates"],queryFn:async()=>{let t=await r.graphQLClient.request(i.GENERIC_DELIVERY_DATES_QUERY);return{rushDeliveryDate:o.DateTime.fromSQL(t.viewer.earliestDeliveryDate).toFormat(e),freeDeliveryDate:o.DateTime.fromSQL(t.viewer.freeDeliveryDate).toFormat(e)}}})}();return(0,t.jsxs)("div",{className:"mt-10",children:[(0,t.jsxs)("div",{className:"flex w-full",children:[(0,t.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center lg:items-start xl:flex-none",children:[(0,t.jsx)("h3",{className:(0,l.cn)("mb-2 text-xl font-medium whitespace-nowrap text-slate-950",{"text-slate-50":"black-friday"===c}),children:"Free Delivery"}),(0,t.jsx)("p",{className:(0,l.cn)("text-center leading-4 text-slate-600 lg:text-left",{"text-slate-300":"black-friday"===c}),children:(0,t.jsxs)("span",{className:(0,l.cn)("whitespace-nowrap",{"blur-sm":u}),children:[u?"Loading...":null==d?void 0:d.freeDeliveryDate,m&&"Error loading date"]})})]}),(0,t.jsx)(a.Separator,{orientation:"vertical",className:"bg-primary mx-4 h-auto"}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center lg:items-start xl:flex-none",children:[(0,t.jsx)("h3",{className:(0,l.cn)("mb-2 text-xl whitespace-nowrap text-slate-950",{"text-slate-50":"black-friday"===c}),children:"Rush Delivery"}),(0,t.jsx)("p",{className:(0,l.cn)("text-center leading-4 text-slate-600 lg:text-left",{"text-slate-300":"black-friday"===c}),children:(0,t.jsxs)("span",{className:(0,l.cn)("whitespace-nowrap",{"blur-sm":u}),children:[u?"Loading...":null==d?void 0:d.rushDeliveryDate,m&&"Error loading date"]})})]}),(0,t.jsx)(a.Separator,{orientation:"vertical",className:"bg-primary mx-4 hidden h-auto lg:block"}),(0,t.jsxs)("div",{className:"hidden flex-1 flex-col items-center justify-center lg:flex lg:flex-col lg:items-start xl:flex-none",children:[(0,t.jsx)("h3",{className:(0,l.cn)("mb-2 text-xl text-slate-950",{"text-slate-50":"black-friday"===c}),children:"Need it Sooner?"}),(0,t.jsxs)("p",{className:(0,l.cn)("leading-4 text-slate-600",{"text-slate-300":"black-friday"===c}),children:["Call",(0,t.jsx)("a",{href:"tel:8006201233",className:"pl-1 whitespace-nowrap",children:"1-800-620-1233"}),(0,t.jsx)(s.CustomAction,{className:"pl-1 hover:underline",data:{_type:"customAction",title:"Live Chat",action:"openChat"},children:"or Live Chat"})]})]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-4 px-6 pt-10 pb-6 lg:hidden",children:[(0,t.jsx)("h3",{className:(0,l.cn)("text-slate-950",{"text-slate-50":"black-friday"===c}),children:"Need it Sooner?"}),(0,t.jsxs)("p",{className:(0,l.cn)("leading-4 text-slate-600",{"text-slate-300":"black-friday"===c}),children:[(0,t.jsx)("a",{href:"tel:8006201233",children:"Call Now"})," or ",(0,t.jsx)("a",{href:"#",children:"Live Chat"})]})]})]})}],423952)},853939,e=>{"use strict";var t=e.i(843476),a=e.i(519455),l=e.i(323211),s=e.i(370010),r=e.i(379868),i=e.i(975157),n=e.i(634282),o=e.i(632729),c=e.i(522016);e.s(["SavedDesignCard",0,function(e){let{source:d}=e,u=(0,r.useRecentDesign)();return"saved"!==u.type?null:(0,t.jsxs)("div",{className:"mt-10 flex max-w-lg flex-col items-center gap-6 rounded-md border bg-slate-50 p-3 md:flex-row",children:[(0,t.jsx)("p",{className:"text-lg font-semibold text-slate-950 md:hidden",children:"Your Latest Save"}),(0,t.jsx)("div",{children:(0,t.jsxs)(l.Carousel,{children:[(0,t.jsxs)(l.CarouselContent,{children:[(0,t.jsx)(l.CarouselItem,{children:(0,t.jsx)(s.ZoomImage,{template:u.id,className:"h-auto w-full"})}),(0,t.jsx)(l.CarouselItem,{children:(0,t.jsx)(s.ZoomImage,{template:u.id,direction:"bk",className:"h-auto w-full"})})]}),(0,t.jsx)(l.CarouselPrevious,{className:"top-1/2 left-0.5"}),(0,t.jsx)(l.CarouselNext,{className:"top-1/2 right-0.5"})]})}),(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center gap-1 md:items-start md:justify-start md:pl-4",children:[(0,t.jsx)("p",{className:"hidden text-lg font-semibold text-slate-950 md:block",children:"Your Latest Save"}),(0,t.jsx)("p",{className:"text-sm text-slate-900",children:u.name}),(0,t.jsxs)("p",{className:"flex items-center gap-1 text-sm text-slate-600",children:["Last Saved:",(0,t.jsx)("time",{children:o.DateTime.fromSQL(u.saved).toLocaleStr
2ing(o.DateTime.DATE_SHORT)})]}),(0,t.jsxs)("div",{className:"mt-2 flex gap-2",children:[(0,t.jsx)("a",{href:"/design/?design=".concat(u.id),className:(0,i.cn)((0,a.buttonVariants)({variant:"outline",size:"sm"})),onClick:()=>(0,n.sendClickSavedDesignCardEvent)("Edit Design",d),children:"Edit Design"}),(0,t.jsx)(c.default,{href:"/my-account/designs/",className:(0,i.cn)((0,a.buttonVariants)({variant:"ghost",size:"sm"})),onClick:()=>(0,n.sendClickSavedDesignCardEvent)("My Designs",d),children:"My Designs"})]})]})]})}])},550386,e=>{"use strict";var t=e.i(843476),a=e.i(423952),l=e.i(853939),s=e.i(620148),r=e.i(237918),i=e.i(347938),n=e.i(634282),o=e.i(522016);function c(e){var c;let{data:d}=e;return(0,t.jsx)("section",{children:(0,t.jsx)(r.Container,{children:(0,t.jsxs)("div",{id:"hero-wrapper",className:"mx-auto flex flex-col md:flex-row",children:[(0,t.jsx)(i.SanityImage,{className:"object-cover md:hidden",src:d.image,preload:!0}),(0,t.jsxs)("div",{className:"flex flex-col py-4 md:w-3/5 md:py-24 lg:w-1/2",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsx)("h1",{className:"text-center text-[2.75rem] leading-12 font-extrabold md:text-left md:text-[3.5rem] md:leading-[3.6rem]",children:d.title}),(0,t.jsx)("h2",{className:"text-center text-xl md:text-left",children:d.subtitle}),(0,t.jsxs)("div",{className:"flex flex-col gap-4 md:items-start lg:flex-row",children:[(0,t.jsx)(s.CallToAction,{target:d.callToAction,variants:{size:"cta"},onClickAction:()=>{var e;
2(null==(e=d.callToAction)?void 0:e._type)==="internalLink"&&(0,n.sendSegmentEvent)("Hero CTA Clicked",{category:d.callToAction.href,label:"test"})}}),d.secondaryCallToAction&&(0,t.jsx)(s.CallToAction,{target:d.secondaryCallToAction,variants:{size:"cta",variant:"outline"},onClickAction:()=>{var e;(null==(e=d.secondaryCallToAction)?void 0:e._type)==="internalLink"&&(0,n.sendSegmentEvent)("Hero CTA Clicked",{category:d.secondaryCallToAction.href,label:"test"})}})]})]}),(0,t.jsx)(a.DeliveryDates,{}),(0,t.jsx)(l.SavedDesignCard,{source:"Homepage Hero"})]}),(0,t.jsx)("div",{className:"flex items-center justify-center md:w-2/5 lg:w-1/2",children:(0,t.jsx)("ul",{className:"hidden gap-6 p-6 md:grid md:grid-cols-3",children:null==(c=d.pages)?void 0:c.slice(0,6).map(e=>(0,t.jsx)("li",{className:"flex",children:(0,t.jsxs)(o.default,{href:e.href,className:"flex flex-col items-start overflow-hidden rounded-2xl border bg-white transition-opacity duration-200 hover:shadow-md",onClick:()=>{(0,n.sendSegmentEvent)("Hero CTA Clicked",{category:e.href,label:"test"})},children:[(0,t.jsx)(i.SanityImage,{src:e.image,preload:!0}),(0,t.jsx)("h3",{className:"flex w-full flex-1 items-start justify-center px-2 py-4 text-center text-lg font-bold",children:e.title})]})},e._key))})})]})})})}function d(e){let{data:n,code:o}=e;return(0,t.jsx)("section",{children:(0,t.jsx)(r.Container,{className:"bg-linear-to-r from-[rgba(34,37,44,1)] to-[rgba(60,71,93,1)]",children:(0,t.jsxs)("div",{id:"hero-wrapper",className:"mx-auto flex flex-col md:flex-row",children:[(0,t.jsx)(i.SanityImage,{className:"object-cover md:hidden",src:n.image,priority:!0}),(0,t.jsxs)("div",{className:"flex flex-col py-4 md:w-3/5 md:py-24 lg:w-1/2",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsxs)("h1",{className:"font-bungee-inline text-center text-[2.75rem] leading-12 text-white md:text-left md:text-[3.8rem] md:leading-[3.6rem]",children:["Black Friday ",(0,t.jsx)("span",{className:"text-[#fb3353]",children:"Super Sale"})]}),(0,t.jsxs)("h2",{className:"font-bungee-inline text-center text-2xl text-white md:text-left",children:["10% Off w/code ",(0,t.jsx)("span",{className:"text-[#fb3353]",children:o})," at Checkout"]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4 md:items-start lg:flex-row",children:[(0,t.jsx)(s.CallToAction,{target:n.callToAction,variants:{size:"cta"}}),n.secondaryCallToAction&&(0,t.jsx)(s.CallToAction,{target:n.secondaryCallToAction,variants:{size:"cta",variant:"outline"}})]})]}),(0,t.jsx)(a.DeliveryDates,{variant:"black-friday"}),(0,t.jsx)(l.SavedDesignCard,{source:"Homepage Hero"})]}),(0,t.jsx)("div",{className:"relative hidden overflow-y-clip md:flex md:w-2/5 lg:w-1/2",children:(0,t.jsx)(i.SanityImage,{width:800,className:"overflow-visible object-cover object-left",src:n.image,priority:!0,disablePlaceholder:!0})})]})})})}function u(e){let{data:n,code:o}=e;return(0,t.jsx)("section",{children:(0,t.jsx)(r.Container,{className:"bg-linear-to-r from-[rgba(0,31,69,1)] to-[rgba(0,91,181,1)]",children:(0,t.jsxs)("div",{id:"hero-wrapper",className:"mx-auto flex flex-col md:flex-row",children:[(0,t.jsx)(i.SanityImage,{className:"object-cover md:hidden",src:n.image,priority:!0}),(0,t.jsxs)("div",{className:"flex flex-col py-4 md:w-3/5 md:py-24 lg:w-1/2",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsxs)("h1",{className:"font-bungee-inline text-center text-[2.75rem] leading-12 text-white md:text-left md:text-[3.8rem] md:leading-[3.6rem]",children:["Cyber Monday ",(0,t.jsx)("span",{className:"text-[#0cfeff]",children:"Super Sale"})]}),(0,t.jsxs)("h2",{className:"font-bungee-inline text-center text-2xl text-white md:text-left",children:["10% Off w/code ",(0,t.jsx)("span",{className:"text-[#0cfeff]",children:o})," at Checkout"]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4 md:items-start lg:flex-row",children:[(0,t.jsx)(s.CallToAction,{target:n.callToAction,variants:{size:"cta"}}),n.secondaryCallToAction&&(0,t.jsx)(s.CallToAction,{target:n.secondaryCallToAction,variants:{size:"cta",variant:"outline"}})]})]}),(0,t.jsx)(a.DeliveryDates,{variant:"black-friday"}),(0,t.jsx)(l.SavedDesignCard,{source:"Homepage Hero"})]}),(0,t.jsx)("div",{className:"relative hidden overflow-y-clip md:flex md:w-2/5 lg:w-1/2",children:(0,t.jsx)(i.SanityImage,{width:800,className:"overflow-visible object-cover object-left",src:n.image,priority:!0,disablePlaceholder:!0})})]})})})}var m=e.i(146625);e.s(["HomepageHeroComponentClient",0,function(e){let{data:a,siteSettings:l}=e,s=(0,m.usePromos)(null==l?void 0:l.promos);switch(null==s?void 0:s.name){case"black-friday":return(0,t.jsx)(d,{data:a,code:s.code});case"cyber-monday":return(0,t.jsx)(u,{data:a,code:s.code});default:return(0,t.jsx)(c,{data:a})}}],550386)},39148,e=>{"use strict";var t=e.i(843476),a=e.i(271645);e.s(["YotpoGallery",0,function(e){let{galleryId:l}=e;return((0,a.useEffect)(()=>{var e;(null==(e=window.yotpo)?void 0:e.refreshWidgets)&&window.yotpo.refreshWidgets()},[]),l)?(0,t.jsx)("div",{className:"flex flex-wrap",children:(0,t.jsx)("div",{className:"w-full max-w-full",children:(0,t.jsx)("div",{className:"yotpo yotpo-pictures-widget","data-gallery-id":l})})}):null}])},126408,e=>{"use strict";var t=e.i(843476),a=e.i(570046),l=e.i(772436);function s(e){var a;let{sizeRange:s,minimumQuantity:r}=e,i=function(e){let{smallest:t,largest:a}=e;return t||a?t&&!a?t.name:!t&&a?a.name:t&&a?t._id===a._id?t.name:"".concat(t.name," - ").concat(a.name):null:null}(s),n=(a=r)?a>1?"Minimum ".concat(a):"No Minimum":null;return!i&&n?(0,t.jsx)("div",{className:"flex items-center text-sm group-data-stacked/product-card:justify-center md:justify-center",children:(0,t.jsx)("p",{children:n})}):i&&!n?(0,t.jsx)("div",{className:"flex items-center text-sm group-data-stacked/product-card:justify-center md:justify-center",children:(0,t.jsx)("p",{children:i})}):i&&n?(0,t.jsxs)("div",{className:"flex items-center text-sm group-data-stacked/product-card:justify-center md:justify-center",children:[(0,t.jsx)("p",{children:i}),(0,t.jsx)(l.Separator,{orientation:"vertical",className:"mx-2 h-3 bg-slate-400"}),(0,t.jsx)("p",{children:n})]}):null}var r=e.i(76808),i=e.i(491960);function n(e){let{fallbackColorCode:a,activeColors:l,truncatedColors:s,productC
2olors:r,setColorCode:n}=e;return(0,t.jsx)("div",{className:"flex flex-col group-data-stacked/product-card:items-center md:items-center",children:(0,t.jsxs)("ul",{className:"flex flex-wrap items-center gap-1 group-data-stacked/product-card:justify-center md:justify-center",children:[l.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(i.ColorButton,{title:e.name,colors:e.palette,className:"m-0 h-6 w-6",onMouseEnter:()=>n(e.code),onMouseLeave:()=>n(a)})},e.id)),s&&(0,t.jsxs)("li",{className:"flex justify-end text-sm text-slate-500",children:["+",r.length-l.length," colors"]})]})})}var o=e.i(639041),c=e.i(721832),d=e.i(975157),u=e.i(247984),m=e.i(522016),x=e.i(271645);e.s(["ProductCard",0,function(e){var l,i,h,f,p;let{aboveFold:g,averageScore:v,defaultColorCode:j,matchingColors:y,minimumQuantity:w,onClickAction:b,primaryBadge:N,productColors:C=[],featuredProductColors:S=[],publishedAt:D,secondaryBadge:P,sizeRange:T,slug:k,stacked:I=!1,style:E,template:A,title:R,totalReviews:z,priceQuotes:_}=e,L=null!=(l=null==y||null==(p=y.at(0))?void 0:p.code)?l:j,[V,O]=(0,x.useState)(L),[M,F]=(0,x.useState)(L);M!==L&&(F(L),O(L));let H=V===j?k:"".concat(k,"?").concat(new URLSearchParams({color:V}));return(0,t.jsx)("article",{"data-stacked":I||void 0,className:"group/product-card flex h-full flex-col overflow-hidden rounded-2xl border bg-white hover:shadow-md",children:(0,t.jsxs)(m.default,{href:H,className:(0,d.cn)("flex md:grow md:flex-col",{"grow flex-col":I}),onClick:b,children:[(0,t.jsxs)("div",{className:(0,d.cn)("relative flex aspect-square basis-2/5 items-center md:w-full md:max-w-none","min-w-0",{"w-full max-w-none":I}),children:[(0,t.jsx)(a.PrimaryBadge,{badge:N,publishedAt:D}),(0,t.jsx)(a.SecondaryBadge,{badge:P}),(0,t.jsx)(c.ImgixProductImage,{className:"w-full",style:E,colorCode:V,template:A,priority:g})]}),(0,t.jsxs)("div",{className:(0,d.cn)("flex min-w-0 basis-3/5 flex-col justify-center gap-2 px-2 py-3 md:w-full md:grow md:justify-between",{"w-full grow justify-between":I}),children:[(0,t.jsx)("h3",{className:(0,d.cn)("text-lg font-bold text-balance md:text-center",{"text-center":I}),children:R}),E&&(0,t.jsxs)("p",{className:"-mt-2.5 text-center text-sm text-slate-500",children:["Style: ",E]}),(0,t.jsxs)("div",{className:(0,d.cn)("flex flex-col gap-1 md:items-center",{"items-center":I}),children:[(0,t.jsx)(n,{fallbackColorCode:L,activeColors:null!=(i=null!=(h=(0,u.stegaClean)(y))?h:(0,u.stegaClean)(S))?i:[],productColors:(0,u.stegaClean)(C),truncatedColors:C.length>(null!=(f=null==S?void 0:S.length)?f:0),setColorCode:O}),z>0&&(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(o.RatingStars,{rating:v}),(0,t.jsx)("p",{className:"text-sm",children:(0,d.formatReviews)(z)})]}),(0,t.jsx)(s,{sizeRange:T,minimumQuantity:w}),(0,t.jsx)(r.PricingData,{data:_,productStyle:E})]})]})]})})}],126408)},857211,e=>{"use strict";var t=e.i(843476),a=e.i(986230),l=e.i(271645);let s=()=>()=>{};e.s(["AlgoliaProductCollectionClient",0,function(e){let{fallback:r,collection:i,featuredProductFacets:n,allProductFacets:o,initialProducts:c}=e;return(0,l.useSyncExternalStore)(s,()=>!0,()=>!1)?(0,t.jsx)(a.AlgoliaProductCollection,{collection:i,allProductFacets:o,featuredProductFacets:n,initialProducts:c}):r}])},883169,e=>{"use strict";var t=e.i(843476),a=e.i(347938),l=e.i(634282),s=e.i(975157),r=e.i(618566);e.s(["FeaturedPages",0,function(e){let{featuredPages:i}=e,n=(0,r.useRouter)(),o=(0,r.usePathname)();return i?(0,t.jsx)("ul",{className:"flex w-full gap-6 overflow-auto",children:i.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)("a",{href:e.slug,className:"group mt-4 flex flex-col items-center justify-center gap-2 text-center text-sm font-bold",onClick:t=>{t.preventDefault(),(0,l.sendSegmentEvent)("Rel Cat Click",{label:e.slug},{},()=>{n.push(e.slug)})},children:[(0,t.jsx)("div",{className:(0,s.cn)("flex size-24 items-center justify-center overflow-hidden rounded-full border bg-white group-hover:border-slate-400",o===e.slug?"border-slate-400":"border-transparent"),children:(0,t.jsx)(a.SanityImage,{src:e.image,className:"object-contain p-4",disablePlaceholder:!0,width:150,sizes:"150px"})}),(0,t.jsx)("p",{className:"max-w-24",children:e.title})]})},e._key))}):null}])},558978,e=>{"use strict";var t=e.i(843476),a=e.i(519455),l=e.i(634282);e.s(["ProductCTA",0,function(e){let{designStudioParams:s}=e;return(0,t.jsx)("a",{"data-toggle-portal":!0,href:"/design/?".concat(s),className:(0,a.buttonVariants)({size:"cta",className:"w-full md:w-fit"}),onClick:()=>{(0,l.sendSegmentEvent)("Click CTA",{category:"Product Hero Component",label:"CTA Button"})},children:"Start Designing"})}])},909474,e=>{"use strict";var t=e.i(96296),a=e.i(414212),l=e.i(266027),s=e.i(632729);let r={scr:"SCREEN_PRINTING",emb:"EMBROIDERY",dtg:"DIRECT_TO_GARMENT",vin:"CUT_VINYL",pvn:"PRINTED_VINYL",hep:"HEAT_PRESS",sub:"SUBLIMATION",tac:"TACKLE_TWILL",hdd:"HIGH_DEFINITION_DIGITAL",nts:"TRANSFER_STANDARD",ntg:"TRANSFER_GLITTER",ntu:"TRANSFER_UV"};e.s(["useProductDeliveryDates",0,function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"scr",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ccc LLL dd";return(0,l.useQuery)({queryKey:["product-delivery-dates",e,i,n],queryFn:async()=>{let l=await t.graphQLClient.request(a.PRODUCT_DELIVERY_DATES_QUERY,{productId:btoa("Product:".concat(e)),customizationMethod:r[i]||"SCREEN_PRINTING"});return{rushDeliveryDate:s.DateTime.fromISO(l.node.earliestDeliveryDate).toMillis()===s.DateTime.fromISO(l.node.freeDeliveryDate).toMillis()?null:s.DateTime.fromISO(l.node.earliestDeliveryDate).toFormat(n),freeDeliveryDate:s.DateTime.fromISO(l.node.freeDeliveryDate).toFormat(n)}}})}])},8444,e=>{"use strict";var t=e.i(843476),a=e.i(909474);e.s(["ProductHeroShippingDetails",0,function(e){let{productId:l,decorationMethod:s}=e,{data:r,isLoading:i}
vendor: 4,205 bytes, line 2
2=(0,a.useProductDeliveryDates)(l,s);return(0,t.jsxs)("div",{className:"flex flex-wrap gap-8 lg:flex-nowrap",children:[(0,t.jsxs)("div",{className:"flex w-full items-center rounded-md bg-slate-100 p-6 lg:basis-1/2",children:[(0,t.jsx)("svg",{className:"mr-4 h-12 w-12",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{fill:"#252525",d:"M6.538 18.086c-.645 0-1.17.525-1.17 1.17 0 .645.525 1.17 1.17 1.17a1.17 1.17 0 0 0 0-2.34zm0 1.56a.39.39 0 1 1 .001-.781.39.39 0 0 1-.001.781zm14.279-1.56h-.624V9.659a.39.39 0 0 0-.39-.39h-1.951V3.963a.39.39 0 0 0-.39-.39H9.659a.39.39 0 0 0-.39.39v14.122h-.263a2.714 2.714 0 0 0-1.297-1.297V3.183c0-.645-.525-1.17-1.17-1.17H3.183c-.645 0-1.17.525-1.17 1.17 0 .645.525 1.17 1.17 1.17h2.185v12.435a2.736 2.736 0 0 0-1.56 2.468 2.734 2.734 0 0 0 2.731 2.731c1.061 0 2.02-.617 2.468-1.56h11.811a1.172 1.172 0 0 0-.001-2.341zm-1.405 0h-9.363v-8.037h2.731v4.135a.39.39 0 0 0 .625.312l1.326-.995 1.326.995a.39.39 0 0 0 .625-.312v-4.135h2.731v8.037zm-5.852-8.037h2.341v3.355l-.936-.702a.39.39 0 0 0-.468 0l-.936.702v-3.355zm-.78-5.695h1.56V6.59l-.564-.376a.386.386 0 0 0-.432 0l-.564.376V4.354zm-.78 0v2.965a.39.39 0 0 0 .607.325l.954-.636.954.636a.389.389 0 0 0 .606-.325V4.354h1.951V9.27H10.05V4.354H12zm-8.817-.781a.39.39 0 0 1 0-.78h3.355a.39.39 0 0 1 .39.39v13.37a2.82 2.82 0 0 0-.78 0V3.963a.39.39 0 0 0-.39-.39H3.183zm3.355 17.634a1.952 1.952 0 1 1 .001-3.9 1.952 1.952 0 0 1-.001 3.9zm14.279-1.561H9.241a2.82 2.82 0 0 0 0-.78h11.576a.39.39 0 0 1 0 .78zm-2.575-2.34a.39.39 0 0 0 .39-.39v-.78a.39.39 0 1 0-.78 0v.78c0 .215.174.39.39.39zm0-3.121a.39.39 0 1 1-.001.781.39.39 0 0 1 .001-.781zm-1.561 1.56a.39.39 0 0 0-.39.39v.78a.39.39 0 0 0 .78 0v-.78a.39.39 0 0 0-.39-.39zm0 0"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-lg font-bold",children:"Free Shipping"}),(0,t.jsx)("p",{className:"font-normal",children:(0,t.jsx)("span",{className:"font-semibold whitespace-nowrap",children:i?"...":null==r?void 0:r.freeDeliveryDate})})]})]}),(0,t.jsxs)("div",{className:"flex w-full items-center rounded-md bg-slate-100 p-6 lg:basis-1/2",children:[(0,t.jsx)("svg",{className:"mr-4 h-12 w-12",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{fill:"#252525",d:"M12.771 13.932a.39.39 0 1 0 0 .78.39.39 0 0 0 0-.78zm-.779-4.675a.39.39 0 1 0 0 .78.39.39 0 0 0 0-.78zm0-1.558c-1.074 0-1.948.874-1.948 1.948s.874 1.948 1.948 1.948 1.948-.874 1.948-1.948-.874-1.948-1.948-1.948zm0 3.117a1.17 1.17 0 0 1-1.169-1.169 1.17 1.17 0 0 1 1.169-1.169 1.17 1.17 0 0 1 1.169 1.169c0 .644-.525 1.169-1.169 1.169zm7.518 6.465c-1.031 0-1.979.662-2.317 1.563a1.932 1.932 0 0 0-.668.069 2.32 2.32 0 0 0-1.806-.853c-.269 0-.532.045-.779.132V15.97l.438-.875 1.186 1.779a.39.39 0 0 0 .704-.13l.541-2.395c.383-1.177-.013-2.439-.967-3.077a2.728 2.728 0 0 0-.624-.309l.149-1.009.001-.008c.223-1.79-.085-3.815-.981-5.356-.941-1.614-2.153-2.496-2.165-2.504a.392.392 0 0 0-.482.021l-.033.026c-1.464 1.184-2.603 2.874-3.03 4.779-.208.924-.179 2.076-.082 2.846l.001.008.175 1.197a2.712 2.712 0 0 0-.627.31c-.954.637-1.35 1.9-.967 3.076l.541 2.395a.388.388 0 0 0 .704.13l1.186-1.779.438.875v2.223a2.314 2.314 0 0 0-.779-.133 2.32 2.32 0 0 0-1.806.853 1.956 1.956 0 0 0-.668-.069c-.338-.901-1.286-1.563-2.318-1.563-1.33 0-2.454 1.07-2.454 2.337s1.124 2.337 2.454 2.337H19.51c1.33 0 2.454-1.07 2.454-2.337 0-1.266-1.124-2.337-2.454-2.337zm-4.409-5.528c.107.046.21.102.308.167.658.439.933 1.365.654 2.201a.254.254 0 0 0-.01.037l-.345 1.527-.971-1.457.364-2.475zm-3.104-8.848a8.288 8.288 0 0 1 1.833 2.29c-.5.455-1.156.713-1.837.713-.683 0-1.34-.258-1.841-.716a8.345 8.345 0 0 1 1.845-2.287zm-3.72 12.781-.345-1.527a.4.4 0 0 0-.01-.037c-.279-.836-.003-1.762.654-2.201.099-.066.203-.122.311-.168l.362 2.477-.972 1.456zm1.715-1.754-.625-4.275c-.11-.885-.084-1.895.068-2.574.088-.395.212-.784.368-1.163a3.515 3.515 0 0 0 2.188.767c.79 0 1.553-.269 2.166-.75.436 1.175.598 2.596.435 3.909l-.641 4.358-.643 1.287h-2.635l-.39-.779h.928a.39.39 0 1 0 0-.78H9.992zm9.518 7.245H4.475c-.892 0-1.675-.728-1.675-1.558s.783-1.558 1.675-1.558c.676 0 1.316.425 1.563.995a1.94 1.94 0 0 0-.486.355.389.389 0 1 0 .552.55c.142-.143.319-.246.512-.3h.001a1.
2165 1.165 0 0 1 1.139.3.39.39 0 0 0 .552-.55 1.728 1.728 0 0 0-.135-.122 1.549 1.549 0 0 1 1.094-.448c.278 0 .544.072.779.209v.959a.39.39 0 1 0 .78 0V16.27h2.337v3.739a.39.39 0 1 0 .78 0v-.96c.235-.137.501-.208.779-.208.418 0 .806.163 1.094.448a2.217 2.217 0 0 0-.135.122.39.39 0 0 0 .552.55 1.166 1.166 0 0 1 1.652.001.39.39 0 0 0 .552-.55 1.99 1.99 0 0 0-.486-.355c.247-.57.887-.995 1.563-.995.892 0 1.675.728 1.675 1.558s-.787 1.557-1.679 1.557z"})}),(null==r?void 0:r.rushDeliveryDate)&&(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-lg font-bold",children:"Rush Shipping"}),(0,t.jsx)("p",{className:"font-normal",children:(0,t.jsx)("span",{className:"font-semibold whitespace-nowrap",children:i?"...":null==r?void 0:r.rushDeliveryDate})})]})]})]})}])},793479,e=>{"use strict";var t=e.i(480388),a=e.i(499092),l=e.i(843476),s=e.i(975157);let r=e.i(271645).forwardRef((e,r)=>{let[i,...n]=[e,r],{className:o,type:c}=i,d=(0,a._)(i,["className","type"]),[u]=n;return(0,l.jsx)("input",(0,t._)({type:c,className:(0,s.cn)("border-input ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring aria-invalid:focus:border-input flex h-10 w-full rounded-md border bg-transparent px-3 py-2 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-red-500 aria-invalid:outline-red-500",o),ref:u},d))});r.displayName="Input",e.s(["Input",0,r])},578748,e=>{"use strict";var t=e.i(843476),a=e.i(519455),l=e.i(227766),s=e.i(776639),r=e.i(793479),i=e.i(110204),n=e.i(337822),o=e.i(624687),c=e.i(975157),d=e.i(954616),u=e.i(460573),u=u,m=e.i(632729),x=e.i(271645),h=e.i(846696);e.s(["ProductQuoteRequest",0,function(e){let{title:f,style:p,color:g,className:v}=e,j=(0,x.useRef)(null),y=(0,d.useMutation)({mutationFn:e=>{var t,a,l,s,r,i,n;let o=new FormData;return o.set("tfa_40",null!=(t=e.get("name"))?t:""),o.set("tfa_1874",null!=(a=e.get("phone"))?a:""),o.set("tfa_1873",null!=(l=e.get("email"))?l:""),o.set("tfa_46",null!=(s=e.get("quantity"))?s:""),o.set("tfa_1885",null!=(r=e.get("date"))?r:""),o.set("tfa_1875",null!=(i=e.get("design"))?i:""),o.set("tfa_1881",null!=(n=e.get("notes"))?n:""),o.set("tfa_1887",f),o.set("tfa_1882",window.location.href),o.set("tfa_1883",p),o.set("tfa_1888",g),o.set("tfa_1889","RushOrderTees"),o.set("tfa_dbFormId","5053173"),o.set("tfa_dbResponseId",""),o.set("tfa_dbControl","59aadc31a484fad503581e32c81173e2"),o.set("tfa_dbWorkflowSessionUuid",""),o.set("tfa_dbVersionId","9"),o.set("tfa_switchedoff",""),fetch("https://www.tfaforms.com/api_v2/workflow/processor",{method:"POST",body:o,mode:"no-cors"})},onSuccess:()=>{b(!1),h.toast.success("Received",{description:"Thanks! We've received your quote request and one of our project specialists will follow up with you within the next business day."}),j.current&&j.current.reset()}}),[w,b]=(0,x.useState)(!1),[N,C]=(0,x.useState)(),[S,D]=(0,x.useState)(""),[P,T]=(0,x.useState)(!1);return(0,t.jsxs)(s.Dialog,{open:w,onOpenChange:b,children:[(0,t.jsx)(s.DialogTrigger,{asChild:!0,children:(0,t.jsx)(a.Button,{size:"cta",className:v,children:"Get A Quote"})}),(0,t.jsxs)(s.DialogContent,{className:"max-w-2xl",children:[(0,t.jsxs)(s.DialogHeader,{children:[(0,t.jsx)(s.DialogTitle,{children:"Quote Request"}),(0,t.jsx)(s.DialogDescription,{children:"Receive a custom price quote. Just fill out the quick form below."})]}),(0,t.jsxs)("form",{id:"quote-request",method:"POST",encType:"multipart/form-data",ref:j,className:(0,c.cn)("grid grid-cols-2 gap-4",{"opacity-20":y.isPending}),onSubmit:function(e){e.preventDefault();let t=new FormData(e.currentTarget);y.mutate(t)},children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(i.Label,{htmlFor:"name",children:"Name"}),(0,t.jsx)(r.Input,{id:"name",name:"name",required:!0}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:"Required"})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(i.Label,{htmlFor:"email",children:"Email"}),(0,t.jsx)(r.Input,{id:"email",name:"email",type:"email",required:!0}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:"Required"})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(i.Label,{htmlFor:"quantity",children:"Quantity"}),(0,t.jsx)(r.Input,{id:"quantity",name:"quantity",type:"number",required:!0,min:1}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:"Required"})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(i.Label,{htmlFor:"phone",children:"Phone"}),(0,t.jsx)(r.Input,{id:"phone",name:"phone",type:"tel"})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(i.Label,{htmlFor:"date",children:"Due Date"}),(0,t.jsx)(r.Input,{id:"date",name:"date",type:"text",value:S,readOnly:!0,hidden:!0,className:"sr-only",tabIndex:-1}),(0,t.jsxs)(n.Popover,{open:P,onOpenChange:T,children:[(0,t.jsx)(n.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(a.Button,{variant:"outline",className:(0,
2c.cn)("border-input ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring aria-invalid:focus:border-input flex h-10 w-[280px] justify-start rounded-md border bg-transparent px-3 py-2 text-left text-sm font-normal text-slate-900 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-red-500 aria-invalid:outline-red-500",!N&&"text-muted-foreground"),children:[(0,t.jsx)(u.default,{className:"mr-2 h-4 w-4"}),N?m.DateTime.fromJSDate(N).toLocaleString(m.DateTime.DATE_SHORT):(0,t.jsx)("span",{children:"Pick a date"})]})}),(0,t.jsx)(n.PopoverContent,{className:"w-auto p-0",children:(0,t.jsx)(l.Calendar,{mode:"single",selected:N,onSelect:e=>{let t=e&&m.DateTime.fromJSDate(e).toISODate();C(e),D(t||""),T(!1)}})})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(i.Label,{htmlFor:"design",children:"Design/Logo"}),(0,t.jsx)(r.Input,{id:"design",name:"design",type:"file"})]}),(0,t.jsxs)("div",{className:"col-span-2 space-y-2",children:[(0,t.jsx)(i.Label,{htmlFor:"notes",children:"Design Notes or Additional Information"}),(0,t.jsx)(o.Textarea,{id:"notes",name:"notes"})]})]}),(0,t.jsx)(s.DialogFooter,{children:(0,t.jsx)(a.Button,{type:"submit",form:"quote-request",disabled:y.isPending,children:"Get Price Quote"})})]})]})}],578748)},952716,e=>{"use strict";var t=e.i(618566),a=e.i(271645);e.s(["useDecorationMethods",0,function(e){let l="decoration",s=(0,t.useRouter)(),r=(0,t.usePathname)(),i=(0,t.useSearchParams)(),n=i.get(l);return{changeSelectedDecorationMethod:(0,a.useCallback)(e=>{let t=new URLSearchParams(i.toString());t.set(l,e.decorationMethod.designStudioReference),s.replace("".concat(r,"?").concat(t.toString()))},[s,i,r]),selectedDecorationMethod:(0,a.useMemo)(()=>{let t=(e=>{if(void 0===e[0])throw Error("No decoration methods found");return e[0]})(e);if(!n)return t;let a=e.find(e=>e.decorationMethod.designStudioReference===n);return void 0===a?t:a},[e,n])}}])},270533,e=>{"use strict";var t=e.i(618566),a=e.i(271645);e.s(["useVariantColor",0,(e,l)=>{let s="color",r=(0,t.useRouter)(),i=(0,t.usePathname)(),n=(0,t.useSearchParams)(),o=n.get(s);return{selectedVariant:(0,a.useMemo)(()=>e.find(e=>e.variantColor.code===o)||l,[o,e,l]),changeSelectedVariant:(0,a.useCallback)(e=>{let t=new URLSearchParams(n.toString());t.set(s,e.variantColor.code),r.replace("".concat(i,"?").concat(t.toString()),{scroll:!1}),window.scrollTo({top:0,behavior:"smooth"})},[r,n,i])}}])},323436,e=>{"use strict";var t=e.i(843476),a=e.i(578748),l=e.i(519455),s=e.i(952716),r=e.i(270533),i=e.i(975157);e.s(["ProductCallToAction",0,function(e){let{data:n,className:o,togglePortal:c=!1,onClick:d}=e,{selectedVariant:u}=(0,r.useVariantColor)(n.productVariants,n.defaultVariant),{selectedDecorationMethod:m}=(0,s.useDecorationMethods)(n.decorationMethods),x=new URLSearchParams({method:m.decorationMethod.designStudioReference,item:"".concat(n.id),color:"".concat(u.variantColor.id)});if(n.requiresQuote){var h;return(0,t.jsx)(a.ProductQuoteRequest,{className:o,title:null!=(h=n.pageData.altTitle)?h:"",style:n.style,color:u.variantColor.name})}return(0,t.jsx)("a",{"data-toggle-portal":c,href:"/design/?".concat(x),className:(0,i.cn)((0,l.buttonVariants)({className:o,size:"cta"})),onClick:d,children:"Start Designing"})}])},120246,e=>{"use strict";e.i(843476),e.i(491960);var t=e.i(842935);let a=new Map([[[330,360],"red"],[[0,16],"red"],[[16,42],"orange"],[[42,65],"yellow"],[[65,165],"green"],[[165,190],"cyan"],[[190,255],"blue"],[[255,295],"violet"],[[295,330],"magenta"]]);e.s(["sortProductVariants",0,function(e){let l={grayscale:[],red:[],orange:[],yellow:[],green:[],cyan:[],blue:[],violet:[],magenta:[],other:[]};return e.forEach(e=>{if(t.default.valid(e.variantColor.palette[0])){let[s,r]=(0,t.default)(e.variantColor.palette[0]).hsl(),i=function(e){for(let[[t,l],s]of a.entries())if(e>=t&&e<=l)return s;return"other"}(s);r<.2&&(i="grayscale"),l[i].push(e)}}),Object.values(l).flatMap(e=>e.sort((e,a)=>{let[l,s,r]=(0,t.default)(e.variantColor.palette[0]).hsl(),[i,n,o]=(0,t.default)(a.variantColor.palette[0]).hsl();return o-r}))}])},284468,e=>{"use strict";var t=e.i(843476),a=e.i(323436),l=e.i(120246),s=e.i(491960),r=e.i(721832),i=e.i(337822),n=e.i(774606),o=e.i(271645);let c=e=>{let{children:a,className:l}=e,[s,r]=(0,o.useState)(!1);return((0,o.useEffect)(()=>{r(!0)},[]),s)?(0,t.jsx)(n.Root,{className:l,children:a}):null};c.displayName="Portal";var d=e.i(746798),u=e.i(270533),m=e.i(975157),x=e.i(634282),h=e.i(867228),f=e.i(456539);e.s(["ProductCTAPortal",0,function(e){var n;let{data:p,eventCategory:g}=e,{selectedVariant:v,changeSelectedVariant:j}=(0,u.useVariantColor)(p.productVariants,p.defaultVariant),[y,w]=(0,o.useState)(null),[b,N]=(0,o.useState)(!1),[C,S]=(0,o.useState)(!0),[D,P]=(0,o.useState)(!1),T=(0,h.useMediaQuery)("(max-width: 767px)"),k=y?y.variantColor.name:v.variantColor.name,I=y?y.variantColor.code:v.variantColor.code,E=(0,o.useMemo)(()=>(0,l.sortProductVariants)(p.productVariants),[p.productVariants]);return((0,o.useEffect)(()=>{let e=document.querySelectorAll('[data-toggle-portal="true"]');if(0===e.length)return void S(!1);let t=new IntersectionObserver(e=>{let t=e.some(e=>e.isIntersecting);t&&P(!0),S(t)},{threshold:0});
2return e.forEach(e=>t.observe(e)),()=>t.disconnect()},[]),T||!C&&D)?(0,t.jsx)(c,{children:(0,t.jsxs)("div",{className:(0,m.cn)("fixed inset-x-0 bottom-0 z-30 flex","w-full items-center justify-center gap-4","border-t-2 border-slate-200 bg-white px-6 py-3","shadow-[0_-4px_6px_-1px_rgba(0,0,0,0.1)]"),children:[p.productImageData.front&&(0,t.jsx)("div",{className:"hidden h-14 w-14 items-center justify-center overflow-hidden rounded-lg border-2 border-slate-200 bg-slate-50 md:flex",children:(0,t.jsx)(r.ImgixProductImage,{className:"mix-blend-multiply",style:p.style,colorCode:I,direction:"fr",template:p.productImageData.template,width:70})}),(0,t.jsxs)(i.Popover,{open:b,onOpenChange:N,children:[(0,t.jsx)(i.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)("button",{className:"hidden h-14 items-center gap-2 rounded-lg border-2 border-slate-200 bg-white px-3 transition-all duration-200 hover:border-slate-300 md:flex","aria-label":"Select color",children:[(0,t.jsx)("div",{className:"relative m-0 flex h-8 w-8 items-center justify-center overflow-hidden rounded-md border border-black/15",children:(0,t.jsx)("div",{className:"flex h-full w-full",children:null==(n=y?y.variantColor.palette:v.variantColor.palette)?void 0:n.map((e,a)=>(0,t.jsx)("span",{className:"h-full w-full",style:{backgroundColor:e}},"".concat(e,"-").concat(a)))})}),(0,t.jsxs)("div",{className:"hidden min-w-32 flex-col items-start md:flex",children:[(0,t.jsx)("span",{className:"text-xs text-slate-500",children:"Color"}),(0,t.jsx)("span",{className:"text-sm font-medium text-slate-600",children:k})]}),(0,t.jsx)(f.ChevronUp,{className:"ml-1 h-4 w-4 text-slate-500"})]})}),(0,t.jsx)(i.PopoverContent,{side:"top",align:"center",className:"w-screen md:max-w-xl",children:(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("p",{className:"text-sm font-bold",children:"Select Color:"}),(0,t.jsx)(d.TooltipProvider,{delayDuration:300,children:(0,t.jsx)("div",{className:"flex flex-wrap",children:E.map(e=>(0,t.jsxs)(d.Tooltip,{children:[(0,t.jsx)(d.TooltipTrigger,{asChild:!0,children:(0,t.jsx)(s.ColorButton,{className:"outline-2","aria-label":e.variantColor.name,isSelected:e.variantColor.code===v.variantColor.code,colors:e.variantColor.palette,onClick:()=>{j(e),w(null),N(!1),(0,x.sendSegmentEvent)("Change Sticky Color",{category:g})},onMouseEnter:()=>w(e),onMouseLeave:()=>w(null)})}),(0,t.jsx)(d.TooltipContent,{className:"border-black bg-black text-white",children:e.variantColor.name})]},e.id))})})]})})]}),(0,t.jsx)(a.ProductCallToAction,{data:p,className:"h-14 px-8 text-lg",onClick:()=>{(0,x.sendSegmentEvent)("Click Sticky CTA",{category:g})}})]})}):null}],284468)},208796,788434,e=>{"use strict";var t=e.i(843476),a=e.i(323211),l=e.i(721832),s=e.i(347938);let r={src:e.i(493490).default,width:1255,height:1075,blurWidth:8,blurHeight:7,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAYAAAA1WQxeAAAAfklEQVR42n1OsQ2FIBTk/0E0hFAyAJNo7QYU0FOhpQNoYUcLI8kC1gaQR6KdvuReLneXy6GcM/pCfSGE1jnXW2sHAHDQaiCl9DPGTJTSk3O+M8YO4GM58FCM8S+lXDHGWWs9CyE2QkhUSi3g1YYSfm+4N3jvu3sD8KI1z8gvXNtciv6SoUahAAAAAElFTkSuQmCC"};var i=e.i(975157),n=e.i(657688),o=e.i(997889);function c(e,a){var l,i;let c=[];return e.front&&c.push({preview:(0,t.jsx)(d,{template:e.template,style:e.style,colorCode:a.variantColor.code,direction:"fr",className:"size-12",width:50}),full:(0,t.jsx)(d,{template:e.template,style:e.style,colorCode:a.variantColor.code,direction:"fr",width:550})}),e.back&&c.push({preview:(0,t.jsx)(d,{template:e.template,style:e.style,colorCode:a.variantColor.code,direction:"bk",className:"size-12",width:50}),full:(0,t.jsx)(d,{template:e.template,style:e.style,colorCode:a.variantColor.code,direction:"bk",width:550})}),e.side&&c.push({preview:(0,t.jsx)(d,{template:e.template,style:e.style,colorCode:a.variantColor.code,direction:"sd",className:"size-12",width:50}),full:(0,t.jsx)(d,{template:e.template,style:e.style,colorCode:a.variantColor.code,direction:"sd",width:550})}),null==(l=e.productImages)||l.forEach(e=>{c.push({preview:(0,t.jsx)(s.SanityImage,{src:e,width:50,height:50}),full:(0,t.jsx)(s.SanityImage,{src:e})})}
2),null==(i=e.productVideos)||i.forEach(e=>{c.push({preview:(0,t.jsx)("div",{children:(0,t.jsx)(n.default,{src:r,alt:"Video Thumbnail",className:"aspect-square size-12",width:50,height:50})}),full:(0,t.jsx)("div",{className:"flex h-full items-center",children:(0,t.jsx)("div",{className:"aspect-video w-full overflow-hidden rounded-md",children:(0,t.jsx)(o.default,{src:e.url,width:"100%",height:"100%"})})})})}),c}function d(e){let{template:a,style:s,colorCode:r,direction:n,className:o,width:c}=e;return(0,t.jsx)("div",{className:"w-fit min-w-12 rounded-xl bg-slate-100",children:(0,t.jsx)(l.ImgixProductImage,{className:(0,i.cn)("mix-blend-multiply",o),style:s,colorCode:r,direction:n,template:a,priority:"fr"===n,width:c})})}e.s(["getProductImageSlides",0,c],208796);var u=e.i(746798),m=e.i(736200),x=e.i(91961),h=e.i(270533),f=e.i(668109),p=e.i(618566),g=e.i(271645);function v(e){let{id:a}=e,{data:l}=(0,m.useAlgoliaProduct)(a);return l?(0,t.jsx)(j,{product:l}):(0,t.jsx)("div",{className:"absolute top-3 left-6 z-10 md:left-16",children:(0,t.jsx)(f.Heart,{className:"size-7 text-black opacity-50"})})}function j(e){let{product:a}=e,{isFavorited:l,toggleFavorite:s}=(0,x.useCustomerMetaData)("PDP");return(0,t.jsx)("div",{className:"absolute top-3 left-6 z-10 md:left-16","data-favorites":!0,children:(0,t.jsx)(u.TooltipProvider,{delayDuration:300,children:(0,t.jsxs)(u.Tooltip,{children:[(0,t.jsx)(u.TooltipTrigger,{asChild:!0,children:(0,t.jsx)("button",{className:"group cursor-pointer rounded-full bg-white p-1.5 shadow-sm",onClick:()=>s(a.objectID,a["product-style"]),children:(0,t.jsx)(f.Heart,{className:(0,i.cn)("size-7 text-black group-hover:fill-red-500 group-hover:text-red-500",{"fill-red-600 text-red-600 group-hover:fill-red-500 group-hover:text-red-500":l(a.objectID)})})})}),(0,t.jsx)(u.TooltipContent,{className:"border-black bg-black text-white",children:l(a.objectID)?"Remove from Favorites":"Add to Favorites"})]})})})}e.s(["ProductImageCarousel",0,function(e){let{data:l}=e,{selectedVariant:s}=(0,h.useVariantColor)(l.productVariants,l.defaultVariant),[r,n]=(0,g.useState)(),[o,d]=(0,g.useState)(0),u="true"===(0,p.useSearchParams)().get("shopping");(0,g.useEffect)(()=>{r&&(d(r.selectedScrollSnap()),r.on("select",()=>{d(r.selectedScrollSnap())}))},[r]),(0,g.useEffect)(()=>{r&&r.scrollTo(0)},[r,s]);let m=c(l.productImageData,s);return(0,t.jsx)("div",{className:(0,i.cn)("md:col-start-1 md:row-start-1",{"md:row-span-3":!u,"md:row-span-4":u}),children:(0,t.jsxs)("div",{className:"md:flex md:gap-4",children:[(0,t.jsx)("div",{className:"hidden flex-col gap-2 md:flex",children:m.map((e,a)=>(0,t.jsx)("button",{className:(0,i.cn)("relative cursor-pointer overflow-hidden rounded border border-slate-100 bg-slate-100 shadow hover:border-slate-400",o===a&&"ring-primary ring-2"),onClick:()=>{null==r||r.scrollTo(a)},children:e.preview},a))}),(0,t.jsxs)(a.Carousel,{setApi:n,className:"overflow-hidden",children:[(0,t.jsx)(a.CarouselContent,{children:m.map((e,l)=>(0,t.jsx)(a.CarouselItem,{children:e.full},l))}),(0,t.jsx)(a.CarouselPrevious,{className:"top-1/2 left-0.5"}),(0,t.jsx)(a.CarouselNext,{className:"top-1/2 right-0.5"}),(0,t.jsx)(v,{id:l.algoliaObjectID})]})]})})}],788434)},383719,e=>{"use strict";var t=e.i(843476),a=e.i(120246),l=e.i(491960),s=e.i(746798),r=e.i(270533),i=e.i(271645);e.s(["ProductColorSwatches",0,function(e){let{data:n}=e,{selectedVariant:o,changeSelectedVariant:c}=(0,r.useVariantColor)(n.productVariants,n.defaultVariant),[d,u]=(0,i.useState)(null),m=(0,i.useMemo)(()=>(0,a.sortProductVariants)(n.productVariants),[n.productVariants]);return(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{className:"font-bold",children:"Selected Color:"})," ",d?d.variantColor.name:o.variantColor.name]}),(0,t.jsx)(s.TooltipProvider,{delayDuration:300,children:(0,t.jsx)("div",{className:"flex flex-wrap",children:m.map(e=>(0,t.jsxs)(s.Tooltip,{children:[(0,t.jsx)(s.TooltipTrigger,{asChild:!0,children:(0,t.jsx)(l.ColorButton,{className:"outline-2","aria-label":e.variantColor.name,isSelected:e.variantColor.code===o.variantColor.code,colors:e.variantColor.palette,onClick:()=>c(e),onMouseEnter:()=>u(e),onMouseLeave:()=>u(null)})}),(0,t.jsx)(s.TooltipContent,{className:"border-black bg-black text-white",children:e.variantColor.name})]},e.id))})})]})}])},270855,e=>{"use strict";var t=e.i(843476),a=e.i(588207);function l(e){let{data:l}=e,s=l.find(e=>e.isDefault);return s?(0,t.jsx)("div",{"data-test":"pricing",className:"flex items-center gap-1 md:justify-center",children:(0,t.jsxs)("div",{className:"text-sm whitespace-nowrap",children:[(0,t.jsx)("span",{className:"font-semibold",children:(0,a.default)(s.price,{fromCents:!0}).format()})," ","for ",s.quantity," units"]})}):null}let s=(0,e.i(456420).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);function r(e){let{title:a,subtitle:l,showReview:r}=e;return(0,t.jsxs)("div",{className:"flex flex-col items-center md:items-start",children:[r&&(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(s,{className:"size-4 fill-yellow-400 stroke-yellow-400 md:size-6"}),(0,t.jsx)(s,{className:"size-4 fill-yellow-400 stroke-yellow-400 md:size-6"}),(0,t.jsx)(s,{className:"size-4 fill-yellow-400 stroke-yellow-400 md:size-6"}),(0,t.jsx)(s,{className:"size-4 fill-yellow-400 stroke-yellow-400 md:size-6"}),(0,t.jsx)(s,{className:"mr-2 size-4 fill-yellow-400 stroke-yellow-400 md:size-6"}),(0,t.jsx)("p",{className:"font-medium md:text-xl",children:"28,000+ 5-star reviews"})]}),(0,t.jsx)("h1",{className:"m-0 text-center text-3xl font-bold md:text-left md:text-5xl/[3.5rem]",children:a}),(0,t.jsx)("h2",{className:"m-0 text-center text-xl font-medium text-slate-500 md:text-left md:text-2xl",children:l})]})}var i=e.i(909474);function n(e){let{productId:a,decorationMethod:l}=e,{data:s,isLoading:r}=(0,i.useProductDeliveryDates)(a,l);return(0,t.jsxs)("div",{className:"flex flex-wrap gap-8 lg:flex-nowrap",children:[(0,t.jsxs)("div",{className:"flex w-full items-center rounded-md bg-slate-100 p-6 lg:basis-1/2",children:[(0,t.jsx)("svg",{className:"mr-4 h-12 w-12",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{fill:"#252525",d:"M6.538 18.086c-.645 0-1.17.525-1.17 1.17 0 .645.525 1.17 1.17 1.17a1.17 1.17 0 0 0 0-2.34zm0 1.56a.39.39 0 1 1 .001-.781.39.39 0 0 1-.001.781zm14.279-1.56h-.624V9.659a.39.39 0 0 0-.39-.39h-1.951V3.963a.39.39 0 0 0-.39-.39H9.659a.39.39 0 0 0-.39.39v14.122h-.263a2.714 2.714 0 0 0-1.297-1.297V3.183c0-.645-.525-1.17-1.17-1.17H3.183c-.645 0-1.17.525-1.17 1.17 0 .645.525 1.17 1.17 1.17h2.185v12.435a2.736 2.736 0 0 0-1.56 2.468 2.734 2.734 0 0 0 2.731 2.731c1.061 0 2.02-.617 2.468-1.56h11.811a1.172 1.172 0 0 0-.001-2.341zm-1.405 0h-9.363v-8.037h2.731v4.135a.39.39 0 0 0 .625.312l1.326-.995 1.326.995a.39.39 0 0 0 .625-.312v-4.135h2.731v8.037zm-5.852-8.037h2.341v3.355l-.936-.702a.39.39 0 0 0-.468 0l-.936.702v-3.355zm-.78-5.695h1.56V6.59l-.564-.376a.386.386 0 0 0-.432 0l-.564.376V4.354zm-.78 0v2.965a.39.39 0 0 0 .607.325l.954-.636.954.636a.389.389 0 0 0 .606-.325V4.354h1.951V9.27H10.05V4.354H12zm-8.817-.781a.39.39 0 0 1 0-.78h3.355a.39.39 0 0 1 .39.39v13.37a2.82 2.82 0 0 0-.78 0V3.963a.39.39 0 0 0-.39-.39H3.183zm3.355 17.634a1.952 1.952 0 1 1 .001-3.9 1.952 1.952 0 0 1-.001 3.9zm14.279-1.561H9.241a2.82 2.82 0 0 0 0-.78h11.576a.39.39 0 0 1 0 .78zm-2.575-2.34a.39.39 0 0 0 .39-.39v-.78a.39.39 0 1 0-.78 0v.78c0 .215.174.39.39.39zm0-3.121a.39.39 0 1 1-.001.781.39.39 0 0 1 .001-.781zm-1.561 1.56a.39.39 0 0 0-.39.39v.78a.39.39 0 0 0 .78 0v-.78a.39.39 0 0 0-.39-.39zm0 0"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-lg font-bold",children:"Free Shipping"}),(0,t.jsx)("p",{className:"font-normal",children:(0,t.jsx)("span",{className:"font-semibold whitespace-nowrap",children:r?"...":null==s?void 0:s.freeDeliveryDate})})]})]}),(0,t.jsxs)("div",{className:"flex w-full items-center rounded-md bg-slate-100 p-6 lg:basis-1/2",children:[(0,t.jsx)("svg",{className:"mr-4 h-12 w-12",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{fill:"#252525",d:"M12.771 13.932a.39.39 0 1 0 0 .78.39.39 0 0 0 0-.78zm-.779-4.675a.39.39 0 1 0 0 .78.39.39 0 0 0 0-.78zm0-1.558c-1.074 0-1.948.874-1.948 1.948s.874 1.948 1.948 1.948 1.948-.874 1.948-1.948-.874-1.948-1.948-1.948zm0 3.117a1.17 1.17 0 0 1-1.169-1.169 1.17 1.17 0 0 1 1.169-1.169 1.17 1.17 0 0 1 1.169 1.169c0 .644-.525 1.169-1.169 1.169zm7.518 6.465c-1.031 0-1.979.662-2.317 1.563a1.932 1.932 0 0 0-.668.069 2.32 2.32 0 0 0-1.806-.853c-.269 0-.532.045-.779.132V15.97l.438-.875 1.186 1.779a.39.39 0 0 0 .704-.13l.541-2.395c.383-1.177-.013-2.439-.967-3.077a2.728 2.728 0 0 0-.624-.309l.149-1.009.001-.008c.223-1.79-.085-3.815-.981-5.356-.941-1.614-2.153-2.496-2.165-2.504a.392.392 0 0 0-.482.021l-.033.026c-1.464 1.184-2.603 2.874-3.03 4.779-.208.924-.179 2.076-.082 2.846l.001.008.175 1.197a2.712 2.712 0 0 0-.627.31c-.954.637-1.35 1.9-.967 3.076l.541 2.395a.388.388 0 0 0 .704.13l1.186-1.779.438.875v2.223a2.314 2.314 0 0 0-.779-.133 2.32 2.32 0 0 0-1.806.853 1.956 1.956 0 0 0-.668-.069c-.338-.901-1.286-1.563-2.318-1.563-1.33 0-2.454 1.07-2.454 2.337s1.124 2.337 2.454 2.337H19.51c1.33 0 2.454-1.07 2.454-2.337 0-1.266-1.124-2.337-2.454-2.337zm-4.409-5.528c.107.046.21.102.308.167.658.439.933 1.365.654 2.201a.254.254 0 0 0-.01.037l-.345 1.527-.971-1.457.364-2.475zm-3.104-8.848a8.288 8.288 0 0 1 1.833 2.29c-.5.455-1.156.713-1.837.713-.683 0-1.34-.258-1.841-.716a8.345 8.345 0 0 1 1.845-2.287zm-3.72 12.781-.345-1.527a.4.4 0 0 0-.01-.037c-.279-.836-.003-1.762.654-2.201.099-.066.203-.122.311-.168l.362 2.477-.972 1.456zm1.715-1.754-.625-4.275c-.11-.885-.084-1.895.068-2.574.088-.395.212-.784.368-1.163a3.515 3.515 0 0 0 2.188.767c.79 0 1.553-.269 2.166-.75.436 1.175.598 2.596.435 3.909l-.641 4.358-.643 1.287h-2.635l-.39-.779h.928a.39.39 0 1 0 0-.78H9.992zm9.518 7.245H4.475c-.892 0-1.675-.728-1.675-1.558s.783-1.558 1.675-1.558c.676 0 1.316.425 1.563.995a1.94 1.94 0 0 0-.486.355.389.389 0 1 0 .552.55c.142-.143.319-.246.512-.3h.001a1.
2165 1.165 0 0 1 1.139.3.39.39 0 0 0 .552-.55 1.728 1.728 0 0 0-.135-.122 1.549 1.549 0 0 1 1.094-.448c.278 0 .544.072.779.209v.959a.39.39 0 1 0 .78 0V16.27h2.337v3.739a.39.39 0 1 0 .78 0v-.96c.235-.137.501-.208.779-.208.418 0 .806.163 1.094.448a2.217 2.217 0 0 0-.135.122.39.39 0 0 0 .552.55 1.166 1.166 0 0 1 1.652.001.39.39 0 0 0 .552-.55 1.99 1.99 0 0 0-.486-.355c.247-.57.887-.995 1.563-.995.892 0 1.675.728 1.675 1.558s-.787 1.557-1.679 1.557z"})}),(null==s?void 0:s.rushDeliveryDate)&&(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-lg font-bold",children:"Rush Shipping"}),(0,t.jsx)("p",{className:"font-normal",children:(0,t.jsx)("span",{className:"font-semibold whitespace-nowrap",children:r?"...":null==s?void 0:s.rushDeliveryDate})})]})]})]})}e.i(208796),e.i(120246);var o=e.i(853939),c=e.i(519455),d=e.i(237918),u=e.i(284468),m=e.i(788434),x=e.i(383719),h=e.i(270533),f=e.i(975157),p=e.i(634282),g=e.i(271645);e.s(["ProductSelectorHeroComponent",0,function(e){let{data:a}=e,[s,i]=(0,g.useState)(a.products[0]),{selectedVariant:v,changeSelectedVariant:j}=(0,h.useVariantColor)(s.product.productVariants,s.product.defaultVariant),y=new URLSearchParams({method:"scr",item:"".concat(s.product.id),color:"".concat(v.variantColor.id)});return(0,t.jsxs)(d.Container,{className:"bg-white py-8",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-2",children:[(0,t.jsx)(r,{title:a.title,subtitle:a.subtitle,showReview:a.showReview}),(0,t.jsxs)("div",{className:"md:col-start-1 md:row-span-5 md:row-start-1",children:[(0,t.jsx)(m.ProductImageCarousel,{data:s.product}),(0,t.jsx)("div",{className:"flex items-center justify-center",children:(0,t.jsx)(o.SavedDesignCard,{source:"Product Selector Hero"})})]}),(0,t.jsxs)("section",{className:"flex flex-col gap-2",children:[(0,t.jsx)("h2",{className:"font-bold",children:"Choose Your Style:"}),(0,t.jsx)("ul",{className:"flex flex-col gap-4 md:flex-row",children:a.products.map(e=>{var a;return(0,t.jsx)("li",{className:(0,f.cn)("grid cursor-pointer grid-cols-5 overflow-hidden rounded-xl border-2 border-slate-200 hover:shadow md:w-72 md:auto-rows-min md:grid-cols-1",{"border-rush-blue-500 hover:border-rush-blue-500":s.product.id===e.product.id,"hover:border-slate-300":s.product.id!==e.product.id}),onClick:()=>{j(e.product.defaultVariant),i(e)},children:(0,t.jsxs)("div",{className:"col-span-5 flex flex-col justify-center gap-1 p-2 md:col-span-1",children:[(0,t.jsxs)("dl",{className:"flex flex-col text-center",children:[(0,t.jsx)("dt",{className:"text-2xl font-bold",children:e.title}
2),(0,t.jsx)("dd",{children:e.subtitle})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center text-sm text-slate-500",children:[(a=e.product.minimumQuantity)?a>1?"Minimum ".concat(a):"No Minimum":null,(0,t.jsx)(l,{data:e.product.priceQuotes})]})]})},e._key)})})]}),(0,t.jsx)(x.ProductColorSwatches,{data:s.product}),(0,t.jsx)("a",{"data-toggle-portal":!0,href:"/design/?".concat(y),className:(0,c.buttonVariants)({size:"cta",className:"w-full md:w-fit"}),onClick:()=>{(0,p.sendSegmentEvent)("Click CTA",{category:"Product Selector Hero Component",label:"CTA Button"})},children:"Start Designing"}),(0,t.jsx)(n,{productId:s.product.id,decorationMethod:s.product.defaultDecorationMethod})]}),(0,t.jsx)(g.Suspense,{children:(0,t.jsx)(u.ProductCTAPortal,{data:s.product,eventCategory:"productSelectorHeroComponent"})})]})}],270855)},843214,e=>{"use strict";var t=e.i(480388),a=e.i(181788),l=e.i(843476),s=e.i(347938),r=e.i(522016);function i(e){var t;let{title:a,slug:i,image:n,aboveFold:o,sizes:c="(max-width: 768px) 50vw, (max-width: 1024px) 33vw, 300px"}=e;return(0,l.jsx)("li",{className:"flex",children:(0,l.jsxs)(r.default,{href:i,className:"flex flex-col items-start overflow-hidden rounded-2xl border bg-white transition-opacity duration-200 hover:shadow-md",children:[(0,l.jsx)(s.SanityImage,{src:n,alt:(null==n||null==(t=n.asset)?void 0:t.altText)||a,priority:o,sizes:c}),(0,l.jsx)("h3",{className:"flex w-full flex-1 items-start justify-center p-4 text-center text-lg font-bold",children:a})]})})}var n=e.i(126408),o=e.i(620148),c=e.i(677572),d=e.i(975157),u=e.i(784227);e.s(["TabbedPageShowcaseComponentClient",0,function(e){let{data:s}=e;return(0,u.useDesignIdentifier)()?null:(0,l.jsxs)("section",{className:(0,d.cn)("flex flex-col gap-4 py-4",{"items-center justify-center":"center"===s.alignment}),children:[(0,l.jsxs)("div",{className:(0,d.cn)("flex flex-col gap-1",{"text-center":"center"===s.alignment}),children:[(0,l.jsx)("h2",{className:"text-3xl font-bold",children:s.title}),s.subtitle&&(0,l.jsx)("p",{children:s.subtitle})]}),(0,l.jsxs)(c.Tabs,{defaultValue:s.tabs[0]._key,className:(0,d.cn)("flex w-full flex-col",{"items-center justify-center":"center"===s.alignment}),children:[(0,l.jsx)(c.TabsList,{className:"h-auto w-fit flex-wrap gap-4 bg-transparent",children:s.tabs.map(e=>(0,l.jsx)(c.TabsTrigger,{value:e._key,className:"rounded-xl hover:bg-slate-50 hover:text-slate-700 data-[state=active]:bg-white data-[state=active]:font-bold data-[state=active]:text-slate-900",children:e.title},e._key))}),s.tabs.map(e=>(0,l.jsxs)(c.TabsContent,{value:e._key,children:[(0,l.jsx)("ul",{className:"my-4 grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-4 lg:grid-cols-4 lg:gap-8",children:e.pages.map(e=>"page"===e._type?(0,l.jsx)(i,(0,a._)((0,t._)({},e),{aboveFold:!1,sizes:"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 300px"}),e._id):"product"===e._type?(0,l.jsx)(n.ProductCard,(0,a._)((0,t._)({},e),{aboveFold:!1}),e._id):null)}),e.callToAction&&(0,l.jsx)("div",{className:(0,d.cn)("flex pb-8",{"justify-center":"center"===s.alignment}),children:(0,l.jsx)(o.CallToAction,{target:e.callToAction,variants:{size:"lg"}})})]},e._key))]})]})}],843214)},988898,e=>{"use strict";var t=e.i(843476),a=e.i(247984),l=e.i(271645);e.s(["YotpoImageGalleryComponent",0,function(e){let{data:s}=e,r=(0,a.stegaClean)(s.galleryId);return(0,l.useEffect)(()=>{window.yotpo&&window.yotpo.initialized&&window.yotpo.refreshWidgets()},[]),(0,t.jsxs)("section",{className:"flex flex-col",children:[(0,t.jsx)("div",{className:"flex flex-col gap-1",children:(0,t.jsx)("h2",{className:"text-3xl font-bold",children:s.title})}),(0,t.jsx)("div",{className:"yotpo yotpo-pictures-widget w-full","data-gallery-id":r})]})}])}]); 3 4//# debugId=122b4bb2-54b9-bf3e-bbd0-914e0a0d3ff8
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.