PageSourceSearch

https://www.samsaranutrition.com/_next/static/chunks/11yxyqfo3ulx7.js?dpl=dpl_8mQCedpf6iMdt63HRNhyn6t5ynjF

js samsaranutrition.com collected 2026-10-05 08:31:03 UTC 26,518 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,27554,e=>{"use strict";var t=e.i(43476);e.s(["SamsaraEmblem",0,function({primaryColor:e="#F5E6D3",accentColor:i="#f9afa2",size:r=200}){let n=r/162.1;return(0,t.jsx)("svg",{width:113.66*n,height:r,viewBox:"0 0 113.66 162.1",fill:"none",children:(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{fill:e,d:"M58.65.75h-3.64C25.09.75.75,25.09.75,55.01v52.08c0,29.92,24.34,54.26,54.26,54.26h3.64c29.92,0,54.26-24.34,54.26-54.26v-52.08C112.92,25.09,88.57.75,58.65.75ZM55.01,158.24c-28.2,0-51.15-22.94-51.15-51.15v-52.08C3.86,26.81,26.81,3.86,55.01,3.86h3.64c28.2,0,51.15,22.94,51.15,51.15v51.12c-7.15-8.4-17.22-16.02-32.23-20.41-38.39-9.92-34.44-28.26-31.91-35.43,9.16,7.86,23.59,4.58,26.69.61,3.3-.31,8.39,1.23,11.16,2.56-.43-1.89-4.2-6.06-10.84-8.27-3.63-9.23-12.36-12.82-21.94-10.71,1.93-6.38,5.39-10.94,8.72-13.94.81-.73.46-2.13-.67-2.45-6.92-1.95-12.53-.96-17.1,1.02-4.51,1.93-9.14,5.34-12.49,11.71-.55,1.04.22,2.26,1.31,2.17,4.32-.34,9.78.22,15.52,2.96-3.09,1.26-6.2,3.09-9.19,5.51-16.37,13.24-26.85,53.44,10.07,83.37,15.09,12.23,27.43,17.56,28.65,26.8.17,1.28-.02,2.59-.53,3.89-5.14,1.74-10.64,2.7-16.37,2.7h-3.64ZM58.37,40.5c1.22-.9,2.84-.78,4.53-.31,1.65.59,3.06,1.41,3.54,2.85-1.22.9-2.84.78-4.53.31-1.65-.59-3.06-1.41-3.54-2.85Z"}),(0,t.jsxs)("g",{opacity:"0.7",children:[(0,t.jsx)("path",{fill:i,d:"M74.35,147.88c.06.12-.06-.12,0,0,2.34-.15,3.65.08,7.25.41,2.09.19,4.19.42,6.27.76,1.38.23,3.25.54,4.18.79-1.08-.29-2.76-.73-4.16-1.01-4.48-.9-9.03-1.2-13.54-.95Z"}),(0,t.jsx)("path",{fill:i,d:"M71.44,143.84c3.45-.03,7.3.69,10.73,1.38,3.9.74,7.76,1.81,11.42,3.36.01,0,.02-.02.04-.03-7.06-3.18-14.62-4.73-22.18-4.71.13.14-.12-.14,0,0Z"}),(0,t.jsx)("path",{fill:i,d:"M66.23,139.22c5.47-.02,11.59,1.29,16.86,3.02,4.1,1.3,8.11,2.98,11.8,5.2,0,0,.01-.01.02-.02-8.7-5.46-18.65-8.21-28.68-8.2.22.17-.21-.17,0,0Z"}),(0,t.jsx)("path",{fill:i,d:"M59.17,134.04c.28.2-.28-.2,0,0,8.34-.3,17.54,1.78,25.2,5.35,4.13,1.87,8.11,4.17,11.65,7.02,0,0,0,0,.01-.01-10.41-8.65-23.57-12.9-36.86-12.36Z"}),(0,t.jsx)("path",{fill:i,d:"M51.59,128.52c.26.2-.26-.19,0,0,11.66-.97,24.35,1.97,34.37,8.2,4.01,2.43,7.81,5.3,11.06,8.7,0,0,0,0,0,0-11.63-12.51-28.51-18.61-45.44-16.9Z"}),(0,t.jsx)("path",{fill:i,d:"M53.41,122c-3.07-.04-6.14.22-9.2.58.23.2.6,0,.97-.05,14.74-1.71,31,2.35,42.69,11.72,3.77,2.95,7.26,6.32,10.11,10.18,0,0,0,0,0,0-10.31-14.3-26.99-22.51-44.58-22.42Z"}),(0,t.jsx)("path",{fill:i,d:"M57.31,115.76c-6.66-.88-13.48-.38-20.21-.42-.05,0-.15-.16,0,0,4.12.07,8.18.33,12.26.41,14.84.06,30.22,5.59,40.72,16.28,3.41,3.4,6.5,7.17,8.87,11.37,0,0,0,0,0,0-8.52-15.46-24.12-25.63-41.63-27.64Z"}),(0,t.jsx)("path",{fill:i,d:"M61.92,110.03c-10.75-2.76-22.36-1.8-32.76-5.71.1.18-.1-.18,0,0,7.93,2.99,16.97,3.82,25.32,4.99,14.73,1.83,28.89,8.91,38.03,20.78,2.95,3.74,5.54,7.81,7.39,12.21,0,0,0,0,0,0-6.64-16.3-20.89-28.2-37.99-32.27Z"}),(0,t.jsx)("path",{fill:i,d:"M67.18,104.89c-11.54-4.48-24.68-4.5-35.18-11.53-2.66-1.72-4.86-3.65-6.69-5.78-.62-.72-1.07-1.16-1.42-1.66.02.07.26.53,1.33,1.82,1.8,2.18,3.96,4.17,6.59,5.91,8.31,5.74,18.52,7.11,28.07,9.65,14.4,3.57,27.62,12.29,35.29,25.16,2.41,3.95,4.45,8.17,5.77,12.61,0,0,0,0,0,0-4.74-16.79-17.4-30.13-33.76-36.16Z"}),(0,t.jsx)("path",{fill:i,d:"M73.01,100.42c-10.92-5.82-23.97-7.41-33.56-15.64-8.38-6.96-11.02-15.75-12.04-26.24.84,10.49,3.51,19.45,11.81,26.5,7.56,6.69,17.54,9.27,26.72,12.92,13.88,5.26,25.96,15.49,32.04,29.19,1.24,2.71,2.31,5.51,3.13,8.38.38,1.34.65,2.41.91,3.78-.12-.39-.46-2.49-.8-3.83-3.85-15.12-14.17-27.88-28.21-35.06Z"}),(0,t.jsx)("path",{fill:i,d:"M79.34,96.67c-10.15-7.08-22.91-10.21-31.45-19.53-7.49-7.91-9.06-16.95-8.83-27.48-.41,10.51,1.16,19.73,8.57,27.72,6.71,7.54,16.31,11.29,24.99,16.01,13.15,6.88,23.93,18.47,28.33,32.79.71,2.23,1.32,4.5,1.77,6.81.31,1.56.54,2.47.7,4.48.01-.02-.27-2.98-.53-4.54-2.47-14.7-11.01-27.82-23.55-36.26Z"}),(0,t.jsx)("path",{fill:i,d:"M86.66,94.21c-1.02-.94-4.1-3.27-6.73-5-1.65-1.08-3.13-1.98-3.82-2.29.38.23,1.9,1.12,3.51,2.31,2.34,1.72,5.03,3.95,6.03,4.8,9.6,8.21,16.69,19.35,18.95,31.89.18.95.6,4.69.73,5.81.06-.21-.32-5.21-.53-6.27-1.39-7.06-4.24-13.74-8.23-19.79-2.78-4.22-6.12-7.97-9.91-11.47Z"}),(0,t.jsx)("path",{fill:i,d:"M93.68,93.2c1.28,1.11,3.19,3.93,4.98,6.74,4.51,7.09,7.49,15.1,8.31,23.52.06.62.35,2.73.4,3.94-.04-1.97-.08-3.81-.12-4.23-.79-8.24-3.47-16.1-8.26-23.26-1.55-2.32-3.32-4.56-5.31-6.72Z"}),(0,t.jsx)("path",{fill:i,d:"M77.04,152.79c3.27-1.76,7.26-2.55,10.93-1.83-3.73-.29-7.47.44-10.93,1.83h0Z"}),(0,t.jsx)("path",{fill:i,d:"M106.22,105.23c2.68,4.86,3.88,10.87,2.56,16.32.88-5.53-.26-11.27-2.56-16.32h0Z"})]})]})})}])},75301,e=>{"use strict";var t=e.i(43476),i=e.i(18566),r=e.i(71645),n=e.i(47030),a=e.i(36962),o=e.i(88237);e.s(["AnnouncementBar",0,function({dismissed:e,onDismiss:s}){let{isOffice:l}=(0,o.useOfficeTier)(),p=(0,i.usePathname)(),d=p.startsWith("/campaigns/")||p.startsWith("/compare/"),[c,x]=(0,r.useState)(0),h=[(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{style:{fontWeight:700,letterSpacing:"0.14em",color:n.PALETTE.marigold},children:"FREE SHIPPING"})," ","on orders of $",a.FREE_SHIPPING_THRESHOLD,"+"]}
1,"free-shipping"),(0,t.jsxs)("span",{children:[(0,t.jsxs)("span",{style:{fontWeight:700,letterSpacing:"0.14em",color:n.PALETTE.marigold},children:["$",a.FLAT_RATE_SHIPPING.toFixed(2)," FLAT RATE"]})," ","below $",a.FREE_SHIPPING_THRESHOLD]},"flat-rate"),d?(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{style:{fontWeight:700,letterSpacing:"0.14em",color:n.PALETTE.marigold},children:"15G PROTEIN"})," ","+ 7g fiber in every bar"]},"campaign-nutrition"):(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{style:{fontWeight:700,letterSpacing:"0.14em",color:n.PALETTE.marigold},children:"10% OFF"})," ","your first order with email"]},"email-offer")];return((0,r.useEffect)(()=>{if(e||l)return;let t=window.setInterval(()=>{x(e=>(e+1)%h.length)},5e3);return()=>window.clearInterval(t)},[e,l,h.length]),e)?null:(0,t.jsxs)("section",{"aria-label":l?"Office pricing: $2.50 per bar with free shipping.":d?`Standard shipping is $${a.FLAT_RATE_SHIPPING.toFixed(2)}. Orders $${a.FREE_SHIPPING_THRESHOLD}+ ship free. Every bar has 15g protein and 7g fiber.`:`Standard shipping is $${a.FLAT_RATE_SHIPPING.toFixed(2)}. Orders $${a.FREE_SHIPPING_THRESHOLD}+ ship free. Email subscribers get 10% off their first order.`,style:{position:"fixed",top:0,left:0,right:0,zIndex:101,background:n.PALETTE.espresso,borderBottom:`2px solid ${n.PALETTE.marigold}`,display:"flex",alignItems:"center",justifyContent:"center",padding:"10px 40px 10px 16px",minHeight:"44px",textAlign:"center"},children:[(0,t.jsx)("p",{style:{fontFamily:n.TYPE.sans,fontSize:"12px",letterSpacing:"0.08em",color:n.PALETTE.bone,margin:0,lineHeight:1.5,fontWeight:500,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:"100%"},children:l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{style:{fontWeight:700,letterSpacing:"0.14em",color:n.PALETTE.marigold},children:"OFFICE PRICING ACTIVE"}),(0,t.jsx)("span",{style:{opacity:.5,margin:"0 8px"},children:"·"}),"$2.50 per bar",(0,t.jsx)("span",{style:{opacity:.5,margin:"0 8px"},children:"·"}),"Free shipping"]}):h[c]}),(0,t.jsx)("button",{type:"button",onClick:s,style:{position:"absolute",right:"12px",to
1p:"50%",transform:"translateY(-50%)",background:"none",border:"none",cursor:"pointer",padding:"4px",color:n.PALETTE.bone,opacity:.5},"aria-label":"Dismiss announcement",children:(0,t.jsx)("svg",{"aria-hidden":"true",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:(0,t.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})})})]})}])},78657,e=>{"use strict";var t=e.i(71645);e.s(["useWindowSize",0,function(){let[e,i]=(0,t.useState)({w:1200,h:800,ready:!1});return(0,t.useEffect)(()=>{let e=()=>i({w:window.innerWidth,h:window.innerHeight,ready:!0});return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}])},44604,e=>{"use strict";var t=e.i(43476),i=e.i(43516),r=e.i(27554),n=e.i(47030),a=e.i(78657);e.s(["Footer",0,function({isMobile:e}){let{w:o,ready:s}=(0,a.useWindowSize)(),l=e??(s&&o<768);return(0,t.jsxs)("footer",{style:{padding:l?"40px 24px":"52px 44px",background:n.PALETTE.clayGreen,borderTop:`2px solid ${n.PALETTE.espresso}`,display:"flex",flexDirection:l?"column":"row",justifyContent:"space-between",alignItems:l?"flex-start":"flex-end",gap:l?"24px":0,position:"relative"},children:[(0,t.jsxs)("div",{style:{position:"relative",zIndex:2},children:[(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"8px"},children:[(0,t.jsx)(r.SamsaraEmblem,{primaryColor:n.PALETTE.marigold,accentColor:n.PALETTE.bone,size:26}),(0,t.jsx)("span",{style:{fontFamily:n.TYPE.brand,fontSize:"21px",fontWeight:400,letterSpacing:"0.04em",color:n.PALETTE.bone},children:"Samsāra"})]}),(0,t.jsx)("p",{style:{fontFamily:n.TYPE.sans,fontSize:"11px",color:n.PALETTE.marigold,fontWeight:700,letterSpacing:"0.18em",textTransform:"uppercase"},children:"Flavor Worth Craving"})]}),(0,t.jsxs)("nav",{"aria-label":"Footer navigation",style:{display:"flex",flexDirection:"column",gap:"14px",position:"relative",zIndex:2},children:[(0,t.jsx)("div",{style:{display:"flex",gap:"28px",flexWrap:"wrap"},children:[{label:"Instagram",href:"https://instagram.com/samsaranutrition"},{label:"TikTok",href:"https://tiktok.com/@samsaranutrition"},{label:"Guides",href:"/guides"},{label:"Wholesale",href:"/office"},{label:"Contact",href:"/contact"}].map(e=>(0,t.jsx)("a",{href:e.href,...e.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{},style:{textDecoration:"none",color:n.PALETTE.bone,fontSize:"11px",letterSpacing:"0.18em",textTransform:"uppercase",fontWeight:700,transition:"color 0.2s",fontFamily:n.TYPE.sans},onMouseEnter:e=>{e.currentTarget.style.color=n.PALETTE.marigold},onMouseLeave:e=>{e.currentTarget.style.color=n.PALETTE.bone},children:e.label},e.label))}),(0,t.jsxs)("div",{style:{display:"flex",gap:"28px",flexWrap:"wrap"},children:[[{label:"Refund Policy",href:"/refund-policy"},{label:"Shipping & Returns",href:"/shipping-returns"},{label:"Privacy Policy",href:"/privacy"},{label:"Terms of Service",href:"/terms"}].map(e=>(0,t.jsx)("a",{href:e.href,style:{textDecoration:"none",color:`${n.PALETTE.bone}99`,fontSize:"10px",letterSpacing:"0.16em",textTransform:"uppercase",fontWeight:600,transition:"color 0.2s",fontFamily:n.TYPE.sans},onMouseEnter:e=>{e.currentTarget.style.color=n.PALETTE.marigold},onMouseLeave:e=>{e.currentTarget.style.color=`${n.PALETTE.bone}99`},children:e.label},e.label)),(0,t.jsx)("button",{type:"button",onClick:i.openCookiePreferences,"aria-haspopup":"dialog",style:{color:`${n.PALETTE.bone}99`,background:"transparent",border:0,padding:0,cursor:"pointer",fontFamily:n.TYPE.sans,fontSize:"10px",letterSpacing:"0.16em",textTransform:"uppercase",fontWeight:600},children:"Cookie preferences"})]})]}),(0,t.jsx)("p",{style:{fontFamily:n.TYPE.sans,fontSize:"10px",color:`${n.PALETTE.bone}66`,position:"relative",zIndex:2,letterSpacing:"0.04em"},children:"© 2026 Samsāra Nutrition"})]})}])},45872,e=>{"use strict";var t=e.i(43476),i=e.i(22016),r=e.i(71645),n=e.i(27554),a=e.i(47030),o=e.i(70640);let s=[{href:"/shop",label:"Shop"},{href:"/ingredients",label:"Ingredients"},{href:"/about",label:"Our Story"},{href:"/office",label:"Wholesale"}];e.s(["Header",0,function({isMobile:e=!1,announcementVisible:l=!1}){let{cart:p,openDrawer:d}=(0,o.useCart)(),c=p?.totalQuantity??0,[x,h]=(0,r.useState)(!1),f=(0,r.useRef)(null);return(0,r.useEffect)(()=>
1{if(!x)return;let e=e=>{f.current&&!f.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[x]),(0,r.useEffect)(()=>{if(!x)return;let e=e=>{"Escape"===e.key&&h(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[x]),(0,t.jsxs)("div",{ref:f,children:[(0,t.jsxs)("nav",{"aria-label":"Main navigation",style:{position:"fixed",top:l?"44px":0,left:0,right:0,zIndex:100,display:"flex",justifyContent:"space-between",alignItems:"center",padding:e?"14px 20px":"18px 44px",background:a.PALETTE.bone,borderBottom:`2px solid ${a.PALETTE.espresso}`,transition:"all 0.4s"},children:[(0,t.jsxs)(i.default,{href:"/","aria-label":"Samsara Nutrition home",style:{display:"flex",alignItems:"center",gap:"10px",flex:"0 0 auto",textDecoration:"none"},children:[(0,t.jsx)(n.SamsaraEmblem,{primaryColor:a.PALETTE.peacock,accentColor:a.PALETTE.marigold,size:e?26:30}),(0,t.jsx)("span",{style:{fontFamily:a.TYPE.brand,fontSize:e?"20px":"23px",fontWeight:400,letterSpacing:"0.04em",color:a.PALETTE.espresso},children:"Samsāra"})]}),(0,t.jsxs)("div",{className:"nav-desktop",style:{display:"flex",gap:"32px",alignItems:"center"},children:[(0,t.jsx)(i.default,{href:"/shop",className:"nav-link",children:"Shop"}),(0,t.jsx)(i.default,{href:"/ingredients",className:"nav-link",children:"Ingredients"}),(0,t.jsx)(i.default,{href:"/about",className:"nav-link",children:"Our Story"}),(0,t.jsx)(i.default,{href:"/office",className:"nav-link",children:"Wholesale"}),(0,t.jsxs)("button",{className:"nav-link","aria-label":`Open cart, ${c} items`,style:{color:c>0?a.PALETTE.terracotta:void 0,cursor:"pointer",background:"none",border:"none",font:"inherit",padding:0,fontWeight:c>0?700:void 0},onClick:d,children:["Cart (",c,")"]})]}),(0,t.jsxs)("div",{className:"nav-mobile-menu",style:{display:"flex",alignItems:"center",gap:"12px"},children:[(0,t.jsxs)("button",{className:"nav-link","aria-label":`Open cart, ${c} items`,style:{color:c>0?a.PALETTE.terracotta:a.PALETTE.espresso,cursor:"pointer",background:"none",border:"none",font:"inherit",padding:0,display:"flex",alignItems:"center",fontWeight:c>0?700:500},onClick:d,children:[(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[(0,t.jsx)("path",{d:"M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z"}),(0,t.jsx)("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),(0,t.jsx)("path",{d:"M16 10a4 4 0 01-8 0"})]}),c>0&&(0,t.jsx)("span",{style:{marginLeft:"4px"},children:c})]}),(0,t.jsxs)("button",{"aria-label":x?"Close menu":"Open menu","aria-expanded":x,onClick:()=>h(e=>!e),style:{cursor:"pointer",background:"none",border:"none",padding:"4px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:x?"0px":"4px",width:"28px",height:"28px"},children:[(0,t.jsx)("span",{style:{display:"block",width:"20px",height:"2px",background:a.PALETTE.espresso,borderRadius:"1px",transition:"all 0.3s ease",transform:x?"translateY(3px) rotate(45deg)":"none"}}),(0,t.jsx)("span",{style:{display:"block",width:"20px",height:"2px",background:a.PALETTE.espresso,borderRadius:"1px",transition:"all 0.3s ease",opacity:+!x}}),(0,t.jsx)("span",{style:{display:"block",width:"20px",height:"2px",background:a.PALETTE.espresso,borderRadius:"1px",transition:"all 0.3s ease",transform:x?"translateY(-3px) rotate(-45deg)":"none"}})]})]})]}),(0,t.jsx)("div",{className:"nav-mobile-menu",style:{position:"fixed",top:l?`${44+(e?58:70)}px`:`${e?58:70}px`,left:0,right:0,zIndex:99,background:a.PALETTE.bone,borderBottom:`2px solid ${a.PALETTE.espresso}`,overflow:"hidden",maxHeight:x?"300px":"0px",opacity:+!!x,transition:"max-height 0.3s ease, opacity 0.25s ease",pointerEvents:x?"auto":"none"},children:(0,t.jsx)("div",{style:{padding:"8px 20px 20px"},children:s.map(e=>(0,t.jsx)(i.default,{href:e.href,onClick:()=>h(!1),style:{display:"block",padding:"14px 0",borderBottom:`1px solid ${a.PALETTE.espresso}1f`,fontFamily:a.TYPE.sans,fontSize:"13px",fontWeight:700,letterSpacing:"0.14em",color:a.PALETTE.espresso,textDecoration:"none",textTransform:"uppercase"},children:e.label},e.href))})})]})}])},43251,e=>{"use strict";var t=e.i(43476),i=e.i(47030),r=e.i(51080),n=e.i(46348);e.s(["PreorderStatusBadge",0,function({compact:e=!1}){return(0,t.jsxs)("span",{style:{position:"relative",display:"inline-flex",alignItems:"stretch",border:r.POP_BORDER,boxShadow:r.POP_SHADOW.xs,borderRadius:"4px",overflow:"hidden",fontFamily:i.TYPE.sans,fontSize:e?"9px":"10px",fontWeight:800,lineHeight:1.15,letterSpacing:e?"0.1em":"0.12em",textTransform:"uppercase"},children:[(0,t.jsxs)("span",{style:{position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},children:["Sold out. ",n.PREORDER_RESTOCK_LABEL,". Preorders are open."]}),(0,t.jsx)("span",{"aria-hidden":"true",style:{display:"flex",alignItems:"center",padding:e?"5px 7px":"6px 9px",background:i.PALETTE.terracotta,color:i.PALETTE.bone,whiteSpace:"nowrap"},children:"Sold out"}),(0,t.jsx)("span",{"aria-hidden":"true",style:{display:"flex",alignItems:"center",padding:e?"5px 7px":"6px 9px",background:i.PALETTE.marigold,color:i.PALETTE.espresso,borderLeft:r.POP_BORDER,whiteSpace:"nowrap"},children:n.PREORDER_RESTOCK_LABEL})]})}])},6670,e=>{"use strict";var t=e.i(43476),i=e.i(57688),r=e.i(22016),n=e.i(71645),a=e.i(75301),o=e.i(44604),s=e.i(45872),l=e.i(43251),p=e.i(45828),d=e.i(47030),c=e.i(51080),x=e.i(70640),h=e.i(93129),f=e.i(78657),g=e.i(46348);let m={mango:{src:"/images/photos/samsara-8-1200.webp",alt:"Hands holding a Golden Mango protein bar",position:"center 65%"},chai:{src:"/images/photos/samsara-10-1200.webp",alt:"Hand holding a Spiced Chai protein bar with a bite taken",position:"center 75%"},peanut:{src:"/images/photos/samsara-7-1200.webp",alt:"Hands holding a Masala Peanut protein bar",position:"center 40%"}},u=[{id:"six",name:"6-Pack",subtitle:"Two of each flavor",variantId:d.VARIETY_PACK.variantId,fallbackPrice:d.VARIETY_PACK.price,pdpUrl:d.VARIETY_PACK.pdpUrl,image:"/images/variety-6pack-box.webp",imageAlt:"Samsara variety 6-pack — box with bars",bg:d.PALETTE.boneLight,badge:{label:"Start here",tone:"olive"}},{id:"twelve",name:"12-Pack",subtitle:"Four of each flavor",variantId:d.VARIETY_12_PACK.variantId,fallbackPrice:d.VARIETY_12_PACK.price,pdpUrl:d.VARIETY_12_PACK.pdpUrl,image:"/images/variety-6pack-box.webp",imageAlt:"Samsara variety 12-pack — box with bars",bg:d.PALETTE.boneLight,badge:{label:"Best value",tone:"marigold"}}],T=d.FLAVORS.map(e=>{let t=m[e.id];return{id:e.id,name:e.name,subtitle:"12-Pack",variantId:e.variantId,fallbackPrice:e.price,pdpUrl:e.pdpUrl,image:t?.src??e.wrapperImage,imageAlt:t?.alt??`${e.name} protein bar`,bg:e.bg,fit:t?"cover":"contain",position:t?.position}});function E({variantId:e,fallback:i}){let r=(0,h.usePrice)(e,i);return(0,t.jsxs)(t.Fragment,{children:["$",r]})}function b({title:e,kicker:i}){return(0,t.jsxs)("div",{style:{textAlign:"left"},children:[(0,t.jsx)("span",{style:{fontFamily:d.TYPE.sans,fontSize:"11px",fontWeight:700,letterSpacing:"0.18em",textTransform:"uppercase",color:d.PALETTE.terracotta},children:i}),(0,t.jsx)("h2",{style:{fontFamily:d.TYPE.serif,fontSize:"clamp(30px, 4vw, 44px)",fontWeight:700,color:d.PALETTE.espresso,lineHeight:1,letterSpacing:"-0.025em",marginTop:"8px",margin:0},children:e})]})}function y({card:e,isMobile:n,onAdd:a,justAdded:o,isPending:s}){let p=(0,g.isPreOrderVariant)(e.variantId),x=(0,g.getLowStockMessage)(e.variantId);return(0,t.jsxs)("div",{style:{background:d.PALETTE.bone,border:c.POP_BORDER,boxShadow:c.POP_SHADOW.md,borderRadius:"6px",overflow:"hidden",display:"flex",flexDirection:"column"},children:[(0,t.jsxs)(r.default,{href:e.pdpUrl,"aria-label":`Learn more about ${e.name}`,style:{position:"relative",width:"100%",aspectRatio:"1 / 1",background:e.bg,borderBottom:`2px solid ${d.PALETTE.espresso}`,display:"block",textDecoration:"none"},children:[p?(0,t.jsx)("span",{style:{position:"absolute",top:"14px",left:"14px",zIndex:2},children:(0,t.jsx)(l.PreorderStatusBadge,{compact:n})}):e.badge?(0,t.jsx)("span",{style:{position:"absolute",top:"14px",left:"14px",padding:"5px 11px",background:"marigold"===e.badge.tone?d.PALETTE.marigold:"terracotta"===e.badge.tone?d.PALETTE.terracotta:d.PALETTE.olive,color:"marigold"===e.badge.tone?d.PALETTE.espresso:d.PALETTE.bone,border:c.POP_BORDER,boxShadow:c.POP_SHADOW.xs,borderRadius:"3px",fontFamily:d.TYPE.sans,fontSize:"10px",fontWeight:700,letterSpacing:"0.14em",textTransform:"uppercase",zIndex:2},children:e.badge.label}):null,(0,t.jsx)(i.default,{src:e.image,alt:e.imageAlt,fill:!0,sizes:n?"100vw":"380px",style:{objectFit:e.fit??"contain",objectPosition:e.position,padding:"cover"===e.fit?0:"24px"}})]}),(0,t.jsxs)("div",{style:{padding:n?"20px 22px 22px":"22px 24px 24px",flex:1,display:"flex",flexDirection:"column"},children:[(0,t.jsxs)("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:"12px",marginBottom:"4px"},children:[(0,t.jsx)("h3",{style:{fontFamily:d.TYPE.serif,fontSize:"24px",fontWeight:700,color:d.PALETTE.espresso,letterSpacing:"-0.02em",lineHeight:1,margin:0},children:e.name}),(0,t.jsx)("span",{style:{fontFamily:d.TYPE.serif,fontSize:"22px",fontWeight:600,color:d.PALETTE.terracotta,letterSpacing:"-0.01em",lineHeight:1,whiteSpace:"nowrap"},children:(0,t.jsx)(E,{variantId:e.variantId,fallback:e.fallbackPrice})})]}),(0,t.jsx)("div",{style:{fontFamily:d.TYPE.sans,fontSize:"12px",fontWeight:500,letterSpacing:"0.04em",color:d.PALETTE.espressoSoft,marginBottom:"4px"}
1,children:e.subtitle}),(p||x)&&(0,t.jsx)("div",{style:{fontFamily:d.TYPE.sans,fontSize:"11px",fontWeight:700,letterSpacing:"0.12em",textTransform:"uppercase",color:p?d.PALETTE.olive:d.PALETTE.terracotta,marginTop:"8px"},children:p?"Preorders open":x}),(0,t.jsx)("div",{style:{flex:1}}),(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"18px",marginTop:"18px"},children:[(0,t.jsx)("button",{type:"button",onClick:()=>a(e.variantId),disabled:s,className:"pop-btn",style:{...(0,c.popButton)(o?"espresso":"marigold"),padding:"12px 22px",fontSize:"12px",width:"100%",opacity:s?.7:1,cursor:s?"wait":"pointer"},children:o?"Added ✓":p?"Preorder":"Add to cart"}),(0,t.jsx)(r.default,{href:e.pdpUrl,style:{fontFamily:d.TYPE.sans,fontSize:"11px",fontWeight:600,letterSpacing:"0.06em",textTransform:"uppercase",color:d.PALETTE.espressoSoft,textDecoration:"underline",textUnderlineOffset:"3px",textAlign:"center"},children:"Learn more →"})]})]})]})}function P({isMobile:e}){return(0,t.jsx)("section",{style:{background:d.PALETTE.clayGreen,color:d.PALETTE.bone,padding:e?"48px 0":"72px 0",borderTop:`2px solid ${d.PALETTE.espresso}`,borderBottom:`2px solid ${d.PALETTE.espresso}`,marginTop:e?"24px":"40px"},children:(0,t.jsxs)("div",{style:{maxWidth:"1180px",margin:"0 auto",padding:e?"0 24px":"0 56px",display:"grid",gridTemplateColumns:e?"1fr":"5fr 6fr",gap:e?"32px":"56px",alignItems:"center"},children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{style:{fontFamily:d.TYPE.sans,fontSize:"11px",fontWeight:700,letterSpacing:"0.18em",textTransform:"uppercase",color:d.PALETTE.marigold},children:"Stocking the snack drawer?"}),(0,t.jsx)("h2",{style:{fontFamily:d.TYPE.serif,fontSize:e?"34px":"48px",fontWeight:700,color:d.PALETTE.bone,lineHeight:1,letterSpacing:"-0.025em",marginTop:"12px",marginBottom:"14px",textWrap:"balance"},children:"Snacks for offices and teams"}),(0,t.jsx)("p",{style:{fontFamily:d.TYPE.sans,fontSize:e?"15px":"16px",lineHeight:1.6,color:`${d.PALETTE.bone}cc`,marginBottom:"24px",maxWidth:"460px"},children:"Recurring delivery for offices, coworking spaces, and wellness programs. Tell us about your team and we’ll send pricing."}),(0,t.jsx)(r.default,{href:"/office",className:"pop-btn",style:{...(0,c.popButton)("marigold"),padding:"14px 28px",fontSize:"13px"},children:"Tell us about your team"})]}),(0,t.jsx)("div",{style:{position:"relative",width:"100%",aspectRatio:"5 / 4",background:d.PALETTE.boneLight,border:c.POP_BORDER,boxShadow:c.POP_SHADOW.lg,borderRadius:"6px",overflow:"hidden"},children:(0,t.jsx)(i.default,{src:"/images/photos/samsara-11-1200.webp",alt:"All three Samsara bars on an office desk with a notebook and yellow rotary phone",fill:!0,sizes:e?"100v
1w":"600px",style:{objectFit:"cover"}})})]})})}e.s(["default",0,function(){let{addItem:e,isPending:i}=(0,x.useCart)(),[r,l]=(0,n.useState)(null),[h,g]=(0,n.useState)(!1),{w:m,ready:E}=(0,f.useWindowSize)(),j=E&&m<768,v=!h,S=t=>{let i=T.find(e=>e.variantId===t);e(t,1,void 0,{source:"shop",placement:i?"flavor_grid":"variety_grid"}),l(t),setTimeout(()=>l(null),1600),(0,p.track)("add_to_cart",{source:"shop",variant_id:t,product:i?.name??"unknown",product_handle:i?.pdpUrl.replace("/products/","")??"unknown",price:i?.fallbackPrice??0,quantity:1})};return(0,t.jsxs)("main",{style:{background:d.PALETTE.bone,...c.POP_DOT_TEXTURE,minHeight:"100vh"},children:[(0,t.jsx)(a.AnnouncementBar,{dismissed:h,onDismiss:()=>g(!0)}),(0,t.jsx)(s.Header,{announcementVisible:v,isMobile:j}),(0,t.jsx)("div",{style:{height:v?116:72}}),(0,t.jsxs)("section",{style:{maxWidth:"880px",margin:"0 auto",padding:j?"24px 24px 16px":"36px 24px 20px",textAlign:"center"},children:[(0,t.jsx)("span",{style:{fontFamily:d.TYPE.sans,fontSize:"11px",fontWeight:700,letterSpacing:"0.18em",textTransform:"uppercase",color:d.PALETTE.terracotta},children:"The whole lineup"}),(0,t.jsx)("h1",{style:{fontFamily:d.TYPE.serif,fontSize:"clamp(28px, 3.6vw, 44px)",fontWeight:700,color:d.PALETTE.espresso,lineHeight:1,letterSpacing:"-0.035em",marginTop:"10px",marginBottom:"14px"},children:"Everything we make, in one place"}),(0,t.jsx)("p",{style:{fontFamily:d.TYPE.sans,fontSize:j?"15px":"16px",color:d.PALETTE.espressoSoft,lineHeight:1.55,maxWidth:"560px",margin:"0 auto"},children:"Variety packs to find your favorite, single-flavor 12-packs once you know. 15g protein, 7g fiber, 2–4g sugar across the lineup."})]}),(0,t.jsxs)("section",{style:{maxWidth:"1180px",margin:"0 auto",padding:j?"12px 24px 48px":"12px 56px 64px"},children:[(0,t.jsx)(b,{title:"Variety packs",kicker:"Start here"}),(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:j?"1fr":"repeat(2, 1fr)",gap:j?"20px":"24px",marginTop:j?"20px":"24px"},children:u.map(e=>(0,t.jsx)(y,{card:e,isMobile:j,onAdd:S,justAdded:r===e.variantId,isPending:i},e.id))})]}),(0,t.jsxs)("section",{style:{maxWidth:"1180px",margin:"0 auto",padding:j?"24px 24px 56px":"24px 56px 72px"},children:[(0,t.jsx)(b,{title:"Single-flavor 12-packs",kicker:"Found your favorite?"}),(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:j?"1fr":"repeat(3, 1fr)",gap:j?"20px":"24px",marginTop:j?"28px":"36px"},children:T.map(e=>(0,t.jsx)(y,{card:e,isMobile:j,onAdd:S,justAdded:r===e.variantId,isPending:i},e.id))})]}),(0,t.jsx)(P,{isMobile:j}),(0,t.jsx)(o.Footer,{isMobile:j})]})}])}]);

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.