1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7060],{20640:function(e,i,t){t.d(i,{Z:function(){return x}});var n=t(85893),o=t(41672),a=t(79418),r=t(67629),l=t(85444),d=t(36393),c=t(20050),s=t(41664),m=t.n(s),g=t(70552);let u=l.ZP.div.withConfig({componentId:"sc-b89b7fd-0"})([""]),h=l.ZP.ul.withConfig({componentId:"sc-b89b7fd-1"})(["width:100%;display:flex;gap:20px;margin-bottom:23px;padding:0 20px 20px 15px;overflow-x:auto;align-items:center;list-style:none;@media ","{padding:0;justify-content:flex-start;}&::-webkit-scrollbar{width:0;}&::-webkit-scrollbar-track{background-color:transparent;width:0;}&::-webkit-scrollbar{height:3px;}&::-webkit-scrollbar-track{background:white;border-radius:8px;}&::-webkit-scrollbar-thumb{background:rgba(181,181,181,0.4);}"],g.Ak.tablet),f=(0,l.ZP)(m()).withConfig({componentId:"sc-b89b7fd-2"})(["display:flex;flex-direction:column;align-items:center;margin-right:32px;max-width:72px;cursor:pointer;text-decoration:none;&:last-child{margin-right:0;}"]),p=l.ZP.p.withConfig({componentId:"sc-b89b7fd-3"})(["font-weight:400;font-size:16px;min-height:40px;line-height:20px;color:",";text-transform:capitalize;text-align:center;"],c.Z.Black),b=(0,l.ZP)(d.Ee).withConfig({componentId:"sc-b89b7fd-4"})(["display:block;width:48px;height:48px;margin-bottom:16px;border:",";object-fit:cover;border-radius:50%;@media ","{width:72px;height:72px;}"],e=>{let{$isBorder:i}=e;return i?"none":"0.2px solid ".concat(c.Z.Silver)},g.Ak.tablet);var x=e=>{let{tasting:i=[],roastType:t,isDecaf:l,isOrganic:d,beanType:c,isScg:s}=e,m=[t?{label:"".concat(t.split("_").join(" ")," ").concat(l?"(decaf)":""),value:"roastType",image:"roast.jpg",href:{pathname:(0,r.Z)(),query:{roast_type:"".concat("".concat(o.f[t].filterValue).concat(l?",decaf":"")),page:1,sort:""}}}:void 0,d?{label:"Organic",value:"organic",image:"organic.svg",href:{pathname:(0,r.Z)(),query:{organic:"organic",page:1,sort:""}}}:void 0,"single_origin"===c?{label:c.split("_").join(" "),value:"origin",image:"origin.svg",href:{pathname:(0,r.Z)(),query:{single_origin:"true",page:1,sort:""}}}:void 0,s?{label:"SCG",value:"scg",image:"scg.png",href:{pathname:(0,r.Z)(),query:{scg:"true",page:1,sort:""}}}:void 0,...i].filter(e=>e);return(0,n.jsx)(u,{children:(0,n.jsx)(h,{"aria-label":"tasting notes",children:m.map(e=>{var i;return(0,n.jsx)("li",{children:(0,n.jsxs)(f,{"aria-label":null==e?void 0:e.label,href:(null==e?void 0:e.href)||{pathname:(0,r.Z)(),query:{sort:"",page:1,tasting:null==e?void 0:e.value}},children:[(0,n.jsx)(b,{width:160,height:160,$isBorder:(null==e?void 0:e.value)==="roastType"||(null==e?void 0:e.value)==="organic",alt:"".concat(null==e?void 0:e.value," taste"),src:(0,a.Z)("img/tastes/".concat(null!==(i=null==e?void 0:e.image)&&void 0!==i?i:"default.jpg"))}),(0,n.jsx)(p,{children:null==e?void 0:e.label})]})},null==e?void 0:e.value)})})})}},40403:function(e,i,t){t.d(i,{MC:function(){return c},NZ:function(){return l},i_:function(){return d},q1:function(){return r}});var n=t(85444),o=t(36393),a=t(70552);let r=n.ZP.section.withConfig({componentId:"sc-1b8aa043-0"})(["width:100%;display:flex;flex-direction:column;overflow-x:hidden;"]),l=(0,n.ZP)(o.ZT).withConfig({componentId:"sc-1b8aa043-1"})(["text-align:center;margin-bottom:1.75rem;@media ","{margin-bottom:3.125rem;text-align:left;}"],a.Ak.tablet),d=n.ZP.div.withConfig({componentId:"sc-1b8aa043-2"})(["display:flex;flex-direction:column;gap:1.25rem;margin-bottom:1.88rem;"]),c=n.ZP.div.withConfig({componentId:"sc-1b8aa043-3"})(["display:flex;flex-direction:column;"])},67060:function(e,i,t){t.d(i,{Z:function(){return $}});var n=t(85893),o=t(40403),a=t(67294),r=t(52849),l=t(95438),d=t(36393),c=t(55719),s=t(75829),m=t(14416),g=t(83571),u=t(93561),h=t(20640),f=t(13773),p=t(20050),b=t(3364),x=t(85444),v=t(41664),w=t.n(v),Z=t(344),y=t(70552),j=t(50682);let k=x.ZP.div.withConfig({componentId:"sc-6a361c51-0"})(["display:flex;flex-direction:column;align-items:center;width:100%;gap:1.25rem;padding:1.25rem 0;border-radius:0.75rem;border:1px solid ",";@media ","{flex-direction:row;padding:2.5rem 1.88rem;}"],p.Z.SilverLight,y.Ak.tablet),C=(0,x.ZP)(d.Ee).withConfig({componentId:"sc-6a361c51-1"})(["width:100%;height:100%;max-width:9.375rem;max-height:9.375rem;object-fit:contain;@media ","{max-width:19rem;max-height:19rem;}"],y.Ak.tablet),I=x.ZP.div.withConfig({componentId:"sc-6a361c51-2"})(["width:100%;display:flex;flex-direction:column;overflow-x:hidden;"]),_=(0,x.ZP)(w()).withConfig({componentId:"sc-6a361c51-3"})(["margin-bottom:0.5rem;",";@media ","{margin-bottom:0.75rem;","}"],(0,Z.L)({size:"0.75rem",lineHeight:"1rem",color:p.Z.Silver,align:"center"}),y.Ak.tablet,(0,Z.L)({size:"1rem",lineHeight:"1.5rem",color:p.Z.Silver})),P=(0,x.ZP)(d.ZT).withConfig({componentId:"sc-6a361c51-4"})(["margin-bottom:0.5rem;text-align:center;@media ","{margin-bottom:0.75rem;text-align:left;}"],y.Ak.tablet),A=x.ZP.div.withConfig({componentId:"sc-6a361c51-5"})(["display:flex;width:100%;max-width:25.8rem;gap:0.7rem;padding:0 1.25rem;a{width:100%;}@media ","{gap:1.25rem;padding:0;}"],y.Ak.tablet),z=x.ZP.div.withConfig({componentId:"sc-6a361c51-6"})(["display:flex;justify-content:center;@media ","{justify-content:flex-start;}"],y.Ak.tablet),T=x.ZP.div.withConfig({componentId:"sc-6a361c51-7"})(["display:flex;align-items:center;justify-content:center;gap:1.25rem;margin-bottom:1rem;@media ","{justify-content:flex-start;margin-bottom:1.875rem;}"],y.Ak.tablet),R=x.ZP.div.withConfig({componentId:"sc-6a361c51-8"})(["display:flex;align-items:center;gap:0.75rem;"]),S=x.ZP.div.withConfig({componentId:"sc-6a361c51-9"})(["display:flex;flex-direction:column;"]),E=(0,x.ZP)(j.Z).withConfig({componentId:"sc-6a361c51-10"})(["margin-bottom:1.25rem;span{font-size:1.125rem;@media ","{font-size:1.5rem;}}"],y.Ak.tablet);var M=function(e){var i,t,o,x,v,w,Z,y,j,M,D,N,q;let{product:L}=e,V=(0,m.useDispatch)(),{showCartInfo:O}=(0,a.useContext)(g.Il),{primaryProduct:H}=(0,u.qq)(L),B=async()=>{(null==L?void 0:L.id)&&(await V((0,s.dm)({productId:L.id,variantId:null==H?void 0:H.id,type:L.type,compatibility:L.compatibility}
1)),O())};return(0,n.jsxs)(k,{children:[(0,n.jsx)(C,{src:(0,r.Z)(null===(o=L.images)||void 0===o?void 0:null===(t=o[0])||void 0===t?void 0:null===(i=t.file)||void 0===i?void 0:i.url,304),alt:L.name}),(0,n.jsxs)(I,{children:[(0,n.jsx)(_,{target:"_blank",href:(0,l.Z)({path:null===(x=L.roaster)||void 0===x?void 0:x.path}),children:null===(v=L.roaster)||void 0===v?void 0:v.name}),(0,n.jsx)(P,{variant:"medium",sizes:{mobile:"body-1",laptop:"h3"},forwardedAs:"h2",children:L.name}),(0,n.jsxs)(T,{children:[(0,n.jsxs)(R,{children:[(null!==(N=L.review_rating)&&void 0!==N?N:0)>0&&(0,n.jsx)(d.ZT,{variant:"regular",sizes:{mobile:"body-1",laptop:"h4"},children:null===(w=L.review_rating)||void 0===w?void 0:w.toLocaleString("en",{minimumFractionDigits:1})}),(0,n.jsxs)(S,{children:[(0,n.jsx)(f.i,{fillColor:p.Z.CleanCoral,size:14,initialValue:null!==(q=L.review_rating)&&void 0!==q?q:0,allowFraction:!0,readonly:!0}),(0,n.jsx)(d.ZT,{variant:"regular",color:p.Z.Silver,sizes:{mobile:"body-4"},children:"".concat(L.reviews_approved_count||"no"," review").concat(1===L.reviews_approved_count?"":"s")})]})]}),L&&(0,n.jsx)(d.ZT,{variant:"regular",color:p.Z.Silver,sizes:{mobile:"body-4",laptop:"body-2"},children:(0,b.T7)(null==L?void 0:null===(y=L.roaster)||void 0===y?void 0:null===(Z=y.shipping)||void 0===Z?void 0:Z.city,null==L?void 0:null===(M=L.roaster)||void 0===M?void 0:null===(j=M.shipping)||void 0===j?void 0:j.state)})]}),(0,n.jsxs)(z,{children:[(0,n.jsx)(E,{price:H.price,salePrice:H.sale_price}),(0,n.jsxs)(d.ZT,{variant:"regular",sizes:{mobile:"body-4",laptop:"body-2"},color:p.Z.Silver,children:["/ ","".concat(H.shipment_weight," ").concat(H.measure)]})]}),(0,n.jsx)(h.Z,{tasting:L.tasting,roastType:L.roast.type,beanType:L.bean.type,isDecaf:null==L?void 0:null===(D=L.roast)||void 0===D?void 0:D.is_decaf,isOrganic:L.bean.is_organic,isScg:L.bean.scg}),(0,n.jsxs)(A,{children:[(0,n.jsx)(d.zx,{onClick:B,theme:d.jM.PRIMARY,children:"Add to Cart"}),(0,n.jsx)(d.zx,{href:(0,c.Z)({slug:L.slug}),target:"_blank",theme:d.jM.SECONDARY_TRANSPARENT,children:"View Product"})]})]})]})},D=t(18618),N=t(11163),q=t(48332);let L=x.ZP.section.withConfig({componentId:"sc-6a390bf4-0"})(["display:flex;flex-direction:column;"]),V=(0,x.ZP)(d.JO).withConfig({componentId:"sc-6a390bf4-1"})(["margin-bottom:0.75rem;"]),O=(0,x.ZP)(d.ZT).withConfig({componentId:"sc-6a390bf4-2"})(["margin-bottom:0.75rem;text-align:center;"]),H=(0,x.ZP)(d.ZT).withConfig({componentId:"sc-6a390bf4-3"})(["margin-bottom:3.25rem;text-align:center;"]),B=(0,x.ZP)(d.zx).withConfig({componentId:"sc-6a390bf4-4"})(["max-width:14.4rem;margin:0 auto;"]);var F=function(){let{push:e}=(0,N.useRouter)(),i=async()=>{localStorage.removeItem(D.$d),e((0,q.Z)())};return(0,n.jsxs)(L,{children:[(0,n.jsx)(V,{name:"empty-cup",size:"custom",width:96,height:96}),(0,n.jsx)(O,{variant:"medium",sizes:{mobile:"body-1"},children:"Have your preferences changed?"}),(0,n.jsx)(H,{variant:"regular",sizes:{mobile:"body-2"},children:"Take the quiz again to get matched with other great coffee."}),(0,n.jsx)(B,{onClick:i,theme:d.jM.SECONDARY_TRANSPARENT,children:"Take the Coffee Quiz"})]})};let Y=x.ZP.section.withConfig({componentId:"sc-6a390bf4-0"})(["display:flex;flex-direction:column;"]),G=(0,x.ZP)(d.JO).withConfig({componentId:"sc-6a390bf4-1"})(["margin-bottom:0.75rem;"]),U=(0,x.ZP)(d.ZT).withConfig({componentId:"sc-6a390bf4-2"})(["margin-bottom:0.75rem;text-align:center;"]),J=(0,x.ZP)(d.ZT).withConfig({componentId:"sc-6a390bf4-3"})(["margin-bottom:3.25rem;text-align:center;"]),K=(0,x.ZP)(d.zx).withConfig({componentId:"sc-6a390bf4-4"})(["max-width:14.4rem;margin:0 auto;"]);var Q=function(){return(0,n.jsxs)(Y,{children:[(0,n.jsx)(G,{name:"empty-cup",size:"custom",width:96,height:96}),(0,n.jsx)(U,{variant:"medium",sizes:{mobile:"body-1"},children:"What coffee do you prefer?"}),(0,n.jsx)(J,{variant:"regular",sizes:{mobile:"body-2"},children:"Take a quiz to get matched with great coffee."}),(0,n.jsx)(K,{href:(0,q.Z)(),theme:d.jM.SECONDARY_TRANSPARENT,children:"Take the Coffee Quiz"})]})},$=function(e){let{coffeeQuizResults:i}=e;return(null==i?void 0:i.length)>0?(0,n.jsxs)(o.MC,{children:[(0,n.jsx)(o.i_,{children:i.map(e=>(0,n.jsx)(M,{product:e},e.id))}),(0,n.jsx)(F,{})]}):(0,n.jsx)(Q,{})}},41672:function(e,i,t){var n,o;t.d(i,{f:function(){return a}});let a={light:{color:"#B7A68E",similarRoasts:["light","light_medium"],name:"Light Roast",filterValue:"light"},light_medium:{color:"#B7A68E",similarRoasts:["light","light_medium"],name:"Medium Light Roast",filterValue:"light,medium"},medium_dark:{color:"#765F53",similarRoasts:["medium","medium_dark"],name:"Medium Dark Roast",filterValue:"medium,dark"},medium:{color:"#765F53",similarRoasts:["medium","medium_dark"],name:"Medium Roast",filterValue:"medium"},dark:{color:"#3A2E27",similarRoasts:["dark","medium_dark"],name:"Dark Roast",filterValue:"dark"}};(o=n||(n={})).DARK="dark",o.LIGHT="light",o.LIGHT_MEDIUM="light_medium",o.MEDIUM="medium",o.MEDIUM_DARK="medium_dark"},55719:function(e,i,t){var n=t(59493);i.Z=e=>(0,n.Z)("/products/".concat(e.slug),{section:e.section})},48332:function(e,i,t){var n=t(59493);i.Z=()=>(0,n.Z)("/quiz")},95438:function(e,i,t){var n=t(59493);i.Z=e=>(0,n.Z)("/@".concat(e.path))}}]);
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.