"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[5],{60:function(e,a,t){var i=this&&this.__awaiter||function(e,a,t,i){return new(t||(t=Promise))((function(s,r){function n(e){try{c(i.next(e))}catch(e){r(e)}}function o(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var a;e.done?s(e.value):(a=e.value,a instanceof t?a:new t((function(e){e(a)}))).then(n,o)}c((i=i.apply(e,a||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.Footer=void 0;const r=t(0),n=s(t(151)),o=t(2),c=t(339),{footer:l,footerSection:d,footerSections:u,footerTitle:m,footerLinks:p,footerSignup:v,signupForm:h,submittedText:g,footerReferences:b,footerTopHalf:y,referenceNumber:j,noFixHeight:f}=n.default;a.Footer=()=>{const[e,a]=(0,o.useState)(""),[t,s]=(0,o.useState)(!1),[n,x]=(0,o.useState)(!1),k={sections:[{title:"STARS + HONEY",links:[{name:"About",url:"https://starsandhoney.com/pages/about"},{name:"Philosophy",url:"https://starsandhoney.com/pages/philosophy"},{name:"Contact Us",url:"https://starsandhoney.com/pages/contact"},{name:"FAQ",url:"https://starsandhoney.com/pages/faq"}]},{title:"ORDERS & SUPPORT",links:[{name:"Shipping",url:"https://starsandhoney.com/pages/faq"},{name:"Returns & Exchanges",url:"https://starsandhoney.com/pages/faq#returns"},{name:"Terms",url:"https://starsandhoney.com/policies/terms-of-service"},{name:"Privacy",url:"https://starsandhoney.com/policies/privacy-policy"}]},{title:"COMMUNITY",links:[{name:"Instagram",url:"https://www.instagram.com/starsandhoney.co/"},{name:"Tik Tok",url:"https://www.tiktok.com/@starsandhoney.co"},{name:"Wholesale",url:"https://starsandhoney.com/pages/wholesale"}]}],references:[{referenceNumber:"†",text:"These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.",url:"https://starsandhoney.com/pages/terms"},{referenceNumber:"1",text:"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8824545/",url:"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8824545/"},{referenceNumber:"2",text:"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3003457/",url:"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3003457/"},{referenceNumber:"3",text:"https://pubmed.ncbi.nlm.nih.gov/31010031/",url:"https://pubmed.ncbi.nlm.nih.gov/31010031/"}]};return(0,r.jsxs)("footer",Object.assign({className:`${l} ${(t||n)&&f}`},{children:[(0,r.jsx)("div",{id:"footer"}),(0,r.jsxs)("div",Object.assign({className:y},{children:[(0,r.jsxs)("div",Object.assign({className:v},{children:[(0,r.jsx)("h4",{children:"Sign Up & Save"}),t&&(0,r.jsx)("p",Object.assign({className:g},{children:"Thank you for joining our mailing list!"})),n&&(0,r.jsx)("p",Object.assign({className:g},{children:"email - can't be blank"})),(0,r.jsxs)("form",Object.assign({className:h,onSubmit:t=>i(void 0,void 0,void 0,(function*(){if(t.preventDefault(),""===e)return void x(!0);if(x(!1),!e.includes("@"))return;s(!0),a("");const i={"Content-Type":"application/json",revision:"2024-07-15",Cookie:"datadome=NUHbZZYaTyx7Sf~D53SPuKf0SrEDOxnvj34v6nylGjdT2169KLYmhKBwgFfjPZoDzw3PNS0oxr3IzkXuEQHGbkqQb6OLnOPw0MHKKrXsnieUi46nP1VXg9sH4J6hBVFw"},r=JSON.stringify({data:{type:"subscription",attributes:{custom_source:"Footer",profile:{data:{type:"profile",attributes:{email:e,anonymous_id:"01GDDKASAP8TKDDA2GRZDSVP4H"},meta:{patch_properties:{append:{newKey:"New Value"},unappend:{newKey:"New Value"},unset:"skus"}}}}},relationships:{list:{data:{type:"list",id:"XgGmh3"}}}}});try{const e=yield fetch("https://a.klaviyo.com/client/subscriptions/?company_id=UetCyK",{method:"POST",headers:i,body:r});e.ok?console.log("Subscription successful!"):console.error("Subscription failed:",e.statusText)}catch(e){console.error("Error during subscription:",e)}})),method:"post",action:"/contact#footer-newsletter",id:"footer-newsletter"},{children:[(0,r.jsx)("input",{type:"email",placeholder:"Enter email address",value:e,onChange:e=>{const t=e.target;a(t.value)}}),(0,r.jsx)("button",Object.assign({type:"submit","aria-label":"Next review"},{children:(0,r.jsx)(c.ArrowRight,{})}))]}))]})),(0,r.jsx)("div",Object.assign({className:u},{children:k.sections.map(((e,a)=>(0,r.jsxs)("div",Object.assign({className:d},{children:[(0,r.jsx)("h4",Object.assign({className:m},{children:e.title})),(0,r.jsx)("ul",Object.assign({className:p},{children:e.links.map(((a,t)=>{const i="COMMUNITY"===e.title&&("Instagram"===a.name||"Tik Tok"===a.name);return(0,r.jsx)("li",{children:(0,r.jsx)("a",Object.assign({href:a.url},i?{target:"_blank",rel:"noopener noreferrer"}:{},{children:a.name}))},t)}))}))]}),a)))}))]})),(0,r.jsx)("div",Object.assign({className:b},{children:k.references.map(((e,a)=>(0,r.jsxs)("a",Object.assign({href:e.url},{children:[(0,r.jsxs)("div",Object.assign({className:j},{children:[e.referenceNumber," ="," "]})),e.text]}),a)))}))]}))}},339:(e,a,t)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.ArrowRight=void 0;const i=t(0);a.ArrowRight=()=>(0,i.jsx)("svg",Object.assign({"aria-hidden":"true",focusable:"false",role:"presentation",class:"icon icon--wide icon-arrow-right-long",viewBox:"0 0 21 10"},{children:(0,i.jsx)("path",{d:"M14.982 1.01l.696-.717 3.803 3.691.011-.01.338.348.359.348-.012.01.012.011-.354.343-.343.353-.011-.011-3.803 3.692-.696-.718 3.266-3.17H.5v-1h17.748z"})}))},63:function(e,a,t){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.Carousel=void 0;const s=t(0);t(38),t(39);const r=t(2),n=i(t(40)),o=t(2),c=i(t(288));t(289),t(290);const l=t(70),{mainContainer:d,arrow:u,arrowPrev:m,arrowNext:p,hidden:v}=c.default;a.Carousel=({className:e="",children:a,carouselSettings:t,arrowStyles:i})=>{const c=(0,r.useRef)(null),[v,h]=(0,o.useState)(0),[g,b]=(0,o.useState)(!0);return(0,r.useEffect)((()=>{b(!1);const e=e=>{var a,t;"ArrowLeft"===e.key?null===(a=c.current)||void 0===a||a.slickPrev():"ArrowRight"===e.key&&(null===(t=c.current)||void 0===t||t.slickNext())};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}}),[]),(0,s.jsxs)("div",Object.assign({className:`${d} mainContainerImageCarousel ${g&&" jsDisabled "}`},{children:[" ",(0,s.jsx)("div",Object.assign({className:`${u} ${m}`,onClick:e=>{var a;e.preventDefault(),null===(a=c.current)||void 0===a||a.slickPrev()}},{children:(0,s.jsx)(l.Arrow,{})}))," ",(0,s.jsx)("div",Object.assign({className:`${u} ${p}`,onClick:e=>{var a;e.preventDefault(),null===(a=c.current)||void 0===a||a.slickNext()}},{children:(0,s.jsx)(l.Arrow,{})})),(0,s.jsx)(n.default,Object.assign({ref:c,arrows:!1,className:`${e}`},t,{afterChange:e=>{h(e)}},{children:a}))]}))}},70:(e,a,t)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.Arrow=void 0;const i=t(0);t(1),a.Arrow=function({}){return(0,i.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:"40",height:"40"},{children:(0,i.jsx)("path",{d:"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z"})}))}},55:function(e,a,t){var i=this&&this.__awaiter||function(e,a,t,i){return new(t||(t=Promise))((function(s,r){function n(e){try{c(i.next(e))}catch(e){r(e)}}function o(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var a;e.done?s(e.value):(a=e.value,a instanceof t?a:new t((function(e){e(a)}))).then(n,o)}c((i=i.apply(e,a||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.ProductDetails=a.mockProductDetailData=void 0;const r=t(0),n=(t(1),s(t(152))),o=t(22),c=t(70),l=t(2),d=t(37),u=t(349),m=t(24),p=t(153),v=t(115),h=t(316),g=t(316),b=t(2),y=t(69),j=t(156),f=t(71),x=t(10);"undefined"!=typeof window&&(window.Buffer=y.Buffer);const{mainContainer:k,mainContainerVarietySet:O,categoryLabel:S,title:N,titleTwelvePack:I,starsContainer:C,starsRating:P,ratingNumber:D,varietySetContainer:w,linkVarietySet:_,varietySetContainerHolidays:T,varietySetContainerForVarietySetPDP:$,description:A,freeFromContainer:L,freeFromContainerVarietySet:B,nutritionContainer:F,nutritionImageContainer:M,bundles:R,selected:E,price:V,priceVarietySet:H,productSubscription:z,productSubscriptionIsVariety:K,subscriptionInfo:U,showContainer:Y,backgroundPopup:G,labelShip:q,labelShipVarietySet:W,addButton:Z,varieryHoverName:X,moreFlavorsAlert:J,disabled:Q,addButtonVarietySet:ee,nutritionArrowContainer:ae,badgesContainer:te,buttonLoading:ie,buttonLoader:se,freeHatContainer:re,plusSymbol:ne,priceContainer:oe,freeBadge:ce,brandHat:le,brandHatItalic:de,hatFlex:ue,limitedEdition:me}=n.default,pe=e=>98===e?98.01:e;a.mockProductDetailData={rating:{reviewsHref:"https://starsandhoney.com/pages/reviews"},varietyData:[{handle:"cacao-salt-caramel-peanut",varietyHref:"/products/cacao-salt-caramel-peanut",varietyImage:"https://cdn.shopify.com/s/files/1/0664/6100/8105/files/product-ser-cscp.webp?v=1679889773",varietyName:"Cacao Salt Caramel Peanut",productId:"7979585765609",variantId20packOneTime:"47528498233577",variantId30packOneTime:"47531487789289",variantId20packSubs:"47531488510185",variantId30packSubs:"47531491033321",sellingPlan:"3311468777",isLimited:!1},{handle:"espresso-vanilla-cinnamon",varietyHref:"/products/espresso-vanilla-cinnamon",varietyImage:"https://cdn.shopify.com/s/files/1/0664/6100/8105/files/product-ser-evc.webp?v=1679889773",varietyName:"Espresso Vanilla Cinnamon",productId:"7979587338473",variantId20packOneTime:"47531592351977",variantId30packOneTime:"47531592679657",variantId20packSubs:"47531592909033",variantId30packSubs:"47531593892073",sellingPlan:"3311599849",isLimited:!1},{handle:"dark-chocolate-coconut",varietyHref:"/products/dark-chocolate-coconut",varietyImage:"https://cdn.shopify.com/s/files/1/0664/6100/8105/files/product-ser-dcc.webp?v=1679889773",varietyName:"Dark Chocolate Coconut",productId:"7974127075561",variantId20packOneTime:"47531585470697",variantId30packOneTime:"47531585732841",variantId20packSubs:"47531586715881",variantId30packSubs:"47531586945257",sellingPlan:"3311567081",isLimited:!1},{handle:"the-raspberry-donut",varietyHref:"/products/the-raspberry-donut",varietyImage:"https://cdn.shopify.com/s/files/1/0664/6100/8105/files/Screenshot_2023-08-28_at_0.08.57.png?v=1693170564",varietyName:"The Raspberry Donut",productId:"8175526805737",variantId20packOneTime:"47531597332713",variantId30packOneTime:"47531597529321",variantId20packSubs:"47531597791465",variantId30packSubs:"47531597889769",sellingPlan:"3397746921",isLimited:!1},{handle:"birthday-cake-chocolate-chip",varietyHref:"/products/birthday-cake-chocolate-chip",varietyImage:"https://cdn.shopify.com/s/files/1/0664/6100/8105/files/Screenshot_2023-08-27_at_23.44.26.png?v=1693169094",varietyName:"Birthday Cake Chocolate Chip",productId:"8175526543593",variantId20packOneTime:"47531549065449",variantId30packOneTime:"47531551555817",variantId20packSubs:"47531552669929",variantId30packSubs:"47531554046185",sellingPlan:"3397517545",isLimited:!1},{handle:"peanut-butter-blackberry",varietyHref:"/products/peanut-butter-blackberry",varietyImage:"https://cdn.shopify.com/s/files/1/0664/6100/8105/files/Screenshot_2023-08-28_at_0.06.22.png?v=1693170402",varietyName:"Peanut Butter Blackberry",productId:"8175527264489",variantId20packOneTime:"47531595399401",variantId30packOneTime:"47531595727081",variantId20packSubs:"47531595792617",variantId30packSubs:"47531595890921",sellingPlan:"3397714153",isLimited:!1},{handle:"cookies-and-cream",varietyHref:"/products/cookies-and-cream",varietyImage:"https://cdn.shopify.com/s/files/1/0664/6100/8105/files/Screenshot_2023-08-27_at_23.41.23.png?v=1693168901",varietyName:"Cookies and Cream",productId:"8175526936809",variantId20packOneTime:"47531582554345",variantId30packOneTime:"47531582750953",variantId20packSubs:"47531583013097",variantId30packSubs:"47531583209705",sellingPlan:"3397681385",isLimited:!1},{handle:"peppermint-mocha",varietyHref:"/products/peppermint-mocha",varietyImage:"https://cdn.shopify.com/s/files/1/0664/6100/8105/files/product-ser-cscp_a786edca-5e00-48b8-9b27-d6a428c27aa4.webp?v=1729177302",varietyName:"Peppermint Mocha",productId:"8215147774185",variantId20packOneTime:"47852450709737",variantId30packOneTime:"47852450742505",variantId20packSubs:"47852450775273",variantId30packSubs:"47852450808041",sellingPlan:"3397681385",isLimited:!0},{handle:"gingerbread-cookie",varietyHref:"/products/gingerbread-cookie",varietyImage:"https://cdn.shopify.com/s/files/1/0664/6100/8105/files/gingerbread-thumb.webp?v=1729264305",varietyName:"Gingerbread Cookie",productId:"8778176594153",variantId20packOneTime:"47852164317417",variantId30packOneTime:"47852164350185",variantId20packSubs:"47852164382953",variantId30packSubs:"47852164415721",sellingPlan:"3397681385",isLimited:!0}],varieryButton:{href:"/products/signature-flavors-variety-set",text:"Variety Set"},clubDiscount:.1,mockTagsForVarierySet:["⃠ GLUTEN","⃠ DAIRY","⃠ SOY","⃠ SUGAR ALCOHOLS"],bundlesIds:{variantId20packOneTime:{variantId:"47421908353257",productId:"8657724834025"},variantId30packOneTime:{variantId:"47460318839017",productId:"8671253332201"},variantId20packSubs:{variantId:"47421908353257",productId:"8657724834025"},variantId30packSubs:{variantId:"47460318839017",productId:"8671253332201"},variantId12PackOneTime:{variantId:"47723161420009",productId:"8747006623977"}},dynamicBundleCollectionId:"427067900137"},a.ProductDetails=function({productPage:e,useSharedState:t,peppermintMocha:s,gingerbreadCookie:n,twelvePack:y,bundleSelected:ve,setBundleSelected:he}){var ge,be,ye,je,fe,xe,ke,Oe,Se,Ne,Ie,Ce,Pe,De;const[we,_e]=(0,l.useState)(!1),[Te,$e]=(0,l.useState)("one-time"),[Ae,Le]=(0,l.useState)(!1),[Be,Fe]=(0,l.useState)(!1),[Me,Re]=(0,l.useState)([]),[Ee,Ve]=(0,l.useState)(!1),[He,ze]=(0,l.useState)(!1),[Ke,Ue]=(0,l.useState)(!1),[Ye,Ge]=(0,l.useState)(!1),[qe,We]=(0,l.useState)(e.title),Ze="signature-flavors-variety-set"===e.handle,Xe=(({productPage:e,selectedSubscription:t,bundleSelected:i,twelvePack:s,isVarietySet:r})=>{var n,o,c,l,d,u;return i===f.BundleSize["12 Pack"]&&r?Number(s?null===(o=null===(n=s.variants[0])||void 0===n?void 0:n.price)||void 0===o?void 0:o.amount:76):"club"===t?Number(null===(l=null===(c=e.variants[i])||void 0===c?void 0:c.price)||void 0===l?void 0:l.amount)*(1-a.mockProductDetailData.clubDiscount):Number(null===(u=null===(d=e.variants[i])||void 0===d?void 0:d.price)||void 0===u?void 0:u.amount)})({productPage:e,selectedSubscription:Te,bundleSelected:ve,twelvePack:y,isVarietySet:Ze}),Je=["club"===Te?Number(null===(be=null===(ge=e.variants[Ze?0:1])||void 0===ge?void 0:ge.price)||void 0===be?void 0:be.amount)*(1-a.mockProductDetailData.clubDiscount)/20:Number(null===(je=null===(ye=e.variants[Ze?0:1])||void 0===ye?void 0:ye.price)||void 0===je?void 0:je.amount)/20,"club"===Te?Number(null===(xe=null===(fe=e.variants[Ze?1:2])||void 0===fe?void 0:fe.price)||void 0===xe?void 0:xe.amount)*(1-a.mockProductDetailData.clubDiscount)/30:Number(null===(Oe=null===(ke=e.variants[Ze?1:2])||void 0===ke?void 0:ke.price)||void 0===Oe?void 0:Oe.amount)/30],Qe=(e,a)=>{if(ra)return null==a||a.preventDefault(),void $e("one-time");$e(e)},ea=()=>{Le(!Ae)},aa=e.tags.includes("limited"),ta=(0,j.limitedProductByVariety)({varietyData:a.mockProductDetailData.varietyData,peppermintMocha:s,gingerbreadCookie:n}),ia=e=>"peppermint-mocha"===e||"gingerbread-cookie"===e,sa=(0,l.useMemo)((()=>ia(e.handle)||(e=>{let t=!1;return e.forEach((e=>{ia(a.mockProductDetailData.varietyData[e].handle)&&(t=!0)})),t})(Me)),[e.handle,Me]),ra=(0,l.useMemo)((()=>ve===f.BundleSize["12 Pack"]&&Ze||sa),[ve,sa]);return(0,b.useEffect)((()=>{t.showCart&&ze(!1)}),[t.showCart]),(0,b.useEffect)((()=>{ra&&$e("one-time")}),[ra]),(0,b.useEffect)((()=>{(0,g.initRecharge)({storeIdentifier:"starsandhoney.com",storefrontAccessToken:"strfnt_ed701156261903dde869c2dfe5e8d4b3f8065f5a7b17a056a93dd15700fa8a94",loginRetryFn:()=>i(this,void 0,void 0,(function*(){return yield(0,g.loginShopifyAppProxy)()}))}),(0,h.loginWithShopifyStorefront)("strfnt_ed701156261903dde869c2dfe5e8d4b3f8065f5a7b17a056a93dd15700fa8a94").then((e=>{console.log("response",e)})).catch((e=>{console.log(e)}))}),[]),(0,b.useEffect)((()=>{if(ve===f.BundleSize["12 Pack"]&&Ze)return $e("one-time"),void(y&&(Ue(null==y?void 0:y.variants[0].currentlyNotInStock),Ge(!(null==y?void 0:y.variants[0].availableForSale)),We("Special Edition 12 Pack | All flavors + Varsity Hat")));Ue(e.variants[ve].currentlyNotInStock),Ge(!e.variants[ve].availableForSale),We(e.title)}),[ve]),(0,r.jsxs)("div",Object.assign({className:`${k} ${Ze&&O}`},{children:[(0,r.jsx)("p",Object.assign({className:S},{children:"Collagen Protein Bar"})),(0,r.jsx)("h1",{className:`${N} title ${I}`,dangerouslySetInnerHTML:{__html:qe}}),!Ze&&!aa&&(0,r.jsxs)("div",Object.assign({className:`starsContainer ${C}`},{children:[(0,r.jsx)("a",Object.assign({className:P,href:a.mockProductDetailData.rating.reviewsHref},{children:(0,r.jsx)(o.RatingStars,{rating:null===(Se=e.reviews)||void 0===Se?void 0:Se.rating_average,numberOfStars:5,starDimension:"20px",starRatedColor:"#000000",starEmptyColor:"#00000055"})})),(0,r.jsxs)("p",Object.assign({className:D},{children:["(",(0,m.truncateOneDecimal)(null===(Ne=null==e?void 0:e.reviews)||void 0===Ne?void 0:Ne.rating_average),")"]}))]})),(0,r.jsxs)("div",Object.assign({className:`varietySetContainer ${w} ${Ze&&$} ${(s||n)&&T}`},{children:[a.mockProductDetailData.varietyData.filter((e=>!e.isLimited)).map(((e,a)=>(0,r.jsx)("div",{children:(0,r.jsxs)("a",Object.assign({href:e.varietyHref},{children:[(0,r.jsx)("img",{src:e.varietyImage,alt:"variety"}),(0,r.jsx)("div",Object.assign({className:X},{children:e.varietyName}))]}))},a))),(0,r.jsx)("button",{children:(0,r.jsx)("a",Object.assign({className:`linkVarietySet ${_}`,href:a.mockProductDetailData.varieryButton.href},{children:a.mockProductDetailData.varieryButton.text}))})]})),s||n?(0,r.jsxs)("div",Object.assign({className:`varietySetContainer ${w} ${Ze&&$} ${(s||n)&&T}`},{children:[ta.map(((e,a)=>(0,r.jsx)("div",{children:(0,r.jsxs)("a",Object.assign({href:e.varietyHref},{children:[(0,r.jsx)("img",{src:e.varietyImage,alt:"variety"}),(0,r.jsx)("div",Object.assign({className:X},{children:e.varietyName}))]}))},a))),(0,r.jsx)("p",Object.assign({class:`limitedEdition ${me}`},{children:"LIMITED EDITION"}))]})):null,(0,r.jsx)("p",Object.assign({className:A,style:{fontSize:Ze?"12px":"14px",lineHeight:Ze?"18px":"21px",letterSpacing:Ze?"normal":"-0.02em;",marginTop:s||n?"8px":"0px"}},{children:e.description})),(0,r.jsx)("div",Object.assign({className:`freeFromContainer ${L} ${Ze&&B}`},{children:Ze?a.mockProductDetailData.mockTagsForVarierySet.map(((e,a)=>(0,r.jsx)("span",{children:e.substring(1).toLowerCase().includes("sugar")?"STEVIA":e.substring(1)},a))):e.tagsBadge.map(((e,a)=>(0,r.jsx)("span",{children:e.substring(1).toLowerCase().includes("sugar")?"STEVIA":e.substring(1)},a)))})),!Ze&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",Object.assign({className:F,onClick:()=>{_e(!we)}},{children:[(0,r.jsx)("span",{children:"NUTRITION & INGREDIENTS"}),(0,r.jsx)("span",Object.assign({className:ae},{children:(0,r.jsx)(c.Arrow,{})}))]})),we&&(0,r.jsxs)("div",Object.assign({className:M},{children:[(0,r.jsx)("img",{src:null===(Ie=null==e?void 0:e.nutritionalImage)||void 0===Ie?void 0:Ie.reference.image.originalSrc,alt:`nutritional info for ${qe} `,height:150,width:400}),(0,r.jsx)("p",{children:null===(Ce=null==e?void 0:e.nutritionalIngredients)||void 0===Ce?void 0:Ce.value}),(0,r.jsx)("div",Object.assign({className:te},{children:null===(De=null===(Pe=null==e?void 0:e.nutritionalBadges)||void 0===Pe?void 0:Pe.references.edges)||void 0===De?void 0:De.map(((e,a)=>(0,r.jsx)("img",{src:e.node.image.originalSrc,alt:e.node.image.altText,style:{height:"30px"}},a)))}))]}))]}),!Ze&&(0,r.jsxs)("div",Object.assign({className:`bundles ${R}`},{children:[(0,r.jsxs)("div",Object.assign({onClick:()=>he(0)},{children:[(0,r.jsx)("button",Object.assign({className:`${0===ve&&E}`},{children:e.options[0].values[0]})),(0,r.jsx)("span",{})]})),(0,r.jsxs)("div",Object.assign({onClick:()=>he(1)},{children:[(0,r.jsx)("button",Object.assign({className:`${1===ve&&E}`},{children:e.options[0].values[1]})),(0,r.jsxs)("span",{children:["$",Je[0].toFixed(2)," EA."]})]})),(0,r.jsxs)("div",Object.assign({onClick:()=>he(2)},{children:[(0,r.jsx)("button",Object.assign({className:`${2===ve&&E}`},{children:e.options[0].values[2]})),(0,r.jsxs)("span",{children:["$",Je[1].toFixed(2)," EA."]})]}))]})),Ze&&(0,r.jsx)(v.StepSelection,{productPage:e,bundleSelected:ve,setBundleSelected:he,bundlePriceEach:Je,varietySetIsComplete:Be,setVarietySetIsComplete:Fe,selectedFlavorSet:Me,setSelectedFlavorSet:Re,peppermintMocha:s,gingerbreadCookie:n,twelvePack:y}),(0,r.jsxs)("div",Object.assign({className:`priceContainer ${oe}`},{children:[(0,r.jsxs)("div",Object.assign({className:`price ${V} ${Ze&&H}`},{children:["$",Xe.toFixed(2)]})),ve===f.BundleSize["12 Pack"]&&Ze&&(0,r.jsx)("div",Object.assign({className:`plusSymbol ${ne}`},{children:"+"})),ve===f.BundleSize["12 Pack"]&&Ze&&(0,r.jsxs)("div",Object.assign({className:`hatFlex ${ue}`},{children:[(0,r.jsx)("div",Object.assign({className:`free ${re}`},{children:(0,r.jsx)("img",{src:(0,x.getFastImage)("https://cdn.shopify.com/s/files/1/0664/6100/8105/files/hat.webp?v=1729711429",150),alt:"brand hat",height:46,width:46})})),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",Object.assign({className:`freeBadge ${ce}`},{children:"FREE"})),(0,r.jsx)("div",Object.assign({className:`brandHat ${le}`},{children:"Varsity Hat"})),(0,r.jsx)("div",Object.assign({className:`brandHat ${de}`},{children:"+ embroidered logo"}))]})]}))]})),(0,r.jsxs)("div",Object.assign({className:`${z} productSubscription ${Ze&&K}`},{children:[(0,r.jsxs)("div",Object.assign({onClick:e=>Qe("one-time",e)},{children:[(0,r.jsx)("input",{type:"radio",id:"one-time",name:"subscription",checked:"one-time"===Te,readOnly:!0}),(0,r.jsx)("span",Object.assign({htmlFor:"one-time"},{children:"ONE-TIME PURCHASE"}))]})),(0,r.jsxs)("div",Object.assign({onClick:e=>{Qe("club",e)},disabled:ra},{children:[(0,r.jsx)("input",{type:"radio",id:"club",name:"subscription",checked:"club"===Te,readOnly:!0}),(0,r.jsx)("span",Object.assign({htmlFor:""},{children:"SUBSCRIPTION CLUB"})),(0,r.jsx)("label",{children:ra?"Not available":`Save ${100*a.mockProductDetailData.clubDiscount}%`}),(0,r.jsxs)("button",Object.assign({onClick:ea},{children:["Details",(0,r.jsxs)("div",Object.assign({className:`subscriptionInfo ${U} ${Ae&&Y}`},{children:[(0,r.jsx)("div",{children:(0,r.jsx)(d.Cross,{})}),(0,r.jsxs)("ul",{children:[(0,r.jsxs)("li",{children:[(0,r.jsx)(u.ArrowRightPopup,{}),"Delivers every 1 month"]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(u.ArrowRightPopup,{}),"Pause, change, or cancel anytime"]}),(0,r.jsxs)("li",Object.assign({style:"margin-bottom:unset;"},{children:[(0,r.jsx)(u.ArrowRightPopup,{}),"Early access to new flavors"]}))]})]}))]}))]})),(0,r.jsx)("div",{className:`backgroundPopup ${G} ${Ae&&Y}`,onClick:ea})]})),(0,r.jsxs)("p",Object.assign({className:`labelShip ${q} ${Ze&&W}`},{children:[(0,r.jsx)("span",{children:"★"})," Always Free Shipping"]})),(0,r.jsxs)("div",Object.assign({onClick:()=>i(this,void 0,void 0,(function*(){var i;if(He)return;if(ze(!0),Ze&&!Be)return Ve(!0),ze(!1),void setTimeout((()=>{Ve(!1)}),2e3);if(Ke||Ye)return void ze(!1);let s=e.variants[ve];ve===f.BundleSize["12 Pack"]&&y&&(s=y.variants[0]);const r={sku:s.sku||"",id:s.id,quantity:1,image:s.image.src,product_title:null==qe?void 0:qe.replace(/<[^>]*>?/gm,""),variant_title:s.title,price:100*Xe,final_price:100*Xe,url:`https://starsandhoney.com/products/${e.handle}`,variant_id:Number(s.id),vendor:e.vendor};"club"===Te&&(r.selling_plan=p.sellingPlans[e.handle]||null);let n=[r];if(Ze&&ve!==f.BundleSize["12 Pack"]){let e;e=0===ve&&"one-time"===Te?"variantId20packOneTime":1===ve&&"one-time"===Te?"variantId30packOneTime":0===ve&&"club"===Te?"variantId20packSubs":1===ve&&"club"===Te?"variantId30packSubs":"variantId20packOneTime";let o={externalVariantId:a.mockProductDetailData.bundlesIds[e].variantId,externalProductId:a.mockProductDetailData.bundlesIds[e].productId,selections:[{collectionId:a.mockProductDetailData.dynamicBundleCollectionId,externalProductId:a.mockProductDetailData.varietyData[Me[0]].productId,externalVariantId:a.mockProductDetailData.varietyData[Me[0]][e],sellingPlan:"club"===Te?Number(a.mockProductDetailData.varietyData[Me[0]].sellingPlan):void 0,quantity:1},{collectionId:a.mockProductDetailData.dynamicBundleCollectionId,externalProductId:a.mockProductDetailData.varietyData[Me[1]].productId,externalVariantId:a.mockProductDetailData.varietyData[Me[1]][e],sellingPlan:"club"===Te?Number(a.mockProductDetailData.varietyData[Me[1]].sellingPlan):void 0,quantity:1}]};1===ve&&o.selections.push({collectionId:a.mockProductDetailData.dynamicBundleCollectionId,externalProductId:a.mockProductDetailData.varietyData[Me[2]].productId,externalVariantId:a.mockProductDetailData.varietyData[Me[2]][e],sellingPlan:"club"===Te?Number(a.mockProductDetailData.varietyData[Me[2]].sellingPlan):void 0,quantity:1});try{n=null===(i=(0,p.convertProductToPayload)({product:Object.assign(Object.assign({},r),{variant_title:1===ve?"30-PACK":"20-PACK",title:"Signature Flavors Variety Set"}),additionalProperties:Object.assign({"Flavor 1":a.mockProductDetailData.varietyData[Me[0]].varietyName,"Flavor 2":a.mockProductDetailData.varietyData[Me[1]].varietyName},1===ve?{"Flavor 3":a.mockProductDetailData.varietyData[Me[2]].varietyName}:{}),quantity:1,variant:Object.assign(Object.assign({},s),{title:1===ve?"30-PACK":"20-PACK",price:Object.assign(Object.assign({},s.price),{amount:pe(Xe).toString()})})}))||void 0===i?void 0:i.items.map((e=>Object.assign(Object.assign({},e),{selling_plan_allocation:!!(null==r?void 0:r.selling_plan)}))),t.addFakeBundle({items:n});const e=yield(0,h.getDynamicBundleItems)(o,"dynamic-bundle");e[0].properties["Flavor 1"]=a.mockProductDetailData.varietyData[Me[0]].varietyName;const c={_rc_bundle_flavor1:a.mockProductDetailData.varietyData[Me[0]].varietyName,_rc_bundle_flavor1_ID:a.mockProductDetailData.varietyData[Me[0]].productId,_rc_bundle_flavor2:a.mockProductDetailData.varietyData[Me[1]].varietyName,_rc_bundle_flavor2_ID:a.mockProductDetailData.varietyData[Me[1]].productId,_rc_bundle_price:Xe.toString(),_rc_bundle_status:"club"===Te?"Subscription":"One-Time",_rc_bundle_size:0===ve?"20-PACK":"30-PACK"};1===ve&&(c._rc_bundle_flavor3=a.mockProductDetailData.varietyData[Me[2]].varietyName,c._rc_bundle_flavor3_ID=a.mockProductDetailData.varietyData[Me[2]].productId),e[0].properties=Object.assign(Object.assign({},e[0].properties),c),e[1].properties["Flavor 2"]=a.mockProductDetailData.varietyData[Me[1]].varietyName,e[1].properties=Object.assign(Object.assign({},e[1].properties),c),1===ve&&(e[2].properties["Flavor 3"]=a.mockProductDetailData.varietyData[Me[2]].varietyName,e[2].properties=Object.assign(Object.assign({},e[2].properties),c)),n=e}catch(e){console.error("getBundleId",e)}}try{t.addToCart({items:n})}catch(e){console.error(e),ze(!1)}})),className:`addButton ${Z} \n\t\t\t\t${Ze&&!Be&&Q}\n\t\t\t\t${(Ke||Ye)&&Q}\n\t\t\t\t${Ze&&ee}\n\t\t\t\t${He&&ie}\n\t\t\t\t`},{children:[(0,r.jsxs)("button",{children:[Ye?"Unavailable":Ke?"Out of Stock":"Add to bag",He&&(0,r.jsx)("span",Object.assign({className:se},{children:(0,r.jsxs)("svg",Object.assign({height:"18",width:"18"},{children:[(0,r.jsx)("circle",{r:"7",cx:"9",cy:"9"}),(0,r.jsx)("circle",{"stroke-dasharray":"87.96459430051421 87.96459430051421",r:"7",cx:"9",cy:"9"})]}))}))]}),Ee&&(0,r.jsx)("div",Object.assign({className:J},{children:"Please add more flavors"}))]}))]}))}},115:function(e,a,t){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.StepSelection=void 0;const s=t(0),r=t(1),n=i(t(154)),o=t(2),c=t(155),l=t(10),d=t(156),u=t(350),m=t(71),{selected:p,bundles:v,step2Container:h,backButton:g,varietySetContainer:b,varietyItem:y,varietyName:j,title:f,selectedOptionsContainer:x,selectedImagesContainer:k,modifyButton:O,stepIndicatorTitleContainer:S,columnDisplay:N,imageContainer:I,yourVarietySet:C,chosenFlavors:P,varietySetLimitedEdition:D,limitedEditionContainer:w,selectedOptionsLimitedEdition:_,bundleSubheading:T,desktopOnly:$,mobileOnly:A}=n.default;(0,l.setConfig)([{folder:"stars-honey",template:"https://cdn.shopify.com/s/files/1/0664/6100/8105/"},{folder:"stars-honey",template:"https://starsandhoney.com/cdn/shop/files/"}]);const L={varietyData:[{key:0,varietyImage:(0,l.getFastImage)("https://cdn.shopify.com/s/files/1/0664/6100/8105/files/product-ser-cscp.webp?v=1679889773"),varietyName:"Cacao Salt Caramel Peanut",isLimited:!1},{key:1,varietyImage:(0,l.getFastImage)("https://cdn.shopify.com/s/files/1/0664/6100/8105/files/product-ser-evc.webp?v=1679889773"),varietyName:"Espresso Vanilla Cinnamon",isLimited:!1},{key:2,varietyImage:(0,l.getFastImage)("https://cdn.shopify.com/s/files/1/0664/6100/8105/files/product-ser-dcc.webp?v=1679889773"),varietyName:"Dark Chocolate Coconut",isLimited:!1},{key:3,varietyImage:(0,l.getFastImage)("https://cdn.shopify.com/s/files/1/0664/6100/8105/files/Screenshot_2023-08-28_at_0.08.57.png?v=1693170564"),varietyName:"The Raspberry Donut",isLimited:!1},{key:4,varietyImage:(0,l.getFastImage)("https://cdn.shopify.com/s/files/1/0664/6100/8105/files/Screenshot_2023-08-27_at_23.44.26.png?v=1693169094"),varietyName:"Birthday Cake Chocolate Chip",varietyNameMobile:"Birthday Cake Choc. Chip",isLimited:!1},{key:5,varietyImage:(0,l.getFastImage)("https://cdn.shopify.com/s/files/1/0664/6100/8105/files/Screenshot_2023-08-28_at_0.06.22.png?v=1693170402"),varietyName:"Peanut Butter Blackberry",isLimited:!1},{key:6,varietyImage:(0,l.getFastImage)("https://cdn.shopify.com/s/files/1/0664/6100/8105/files/Screenshot_2023-08-27_at_23.41.23.png?v=1693168901"),varietyName:"Cookies and Cream",isLimited:!1},{key:7,varietyImage:(0,l.getFastImage)("https://cdn.shopify.com/s/files/1/0664/6100/8105/files/product-ser-cscp_a786edca-5e00-48b8-9b27-d6a428c27aa4.webp?v=1729177302"),varietyName:"Peppermint Mocha",isLimited:!0},{key:8,varietyImage:(0,l.getFastImage)("https://cdn.shopify.com/s/files/1/0664/6100/8105/files/gingerbread-thumb.webp?v=1729264305"),varietyName:"Gingerbread Cookie",isLimited:!0}]};a.StepSelection=({productPage:e,bundleSelected:a,setBundleSelected:t,bundlePriceEach:i,varietySetIsComplete:l,setVarietySetIsComplete:B,selectedFlavorSet:F,setSelectedFlavorSet:M,peppermintMocha:R,gingerbreadCookie:E,twelvePack:V})=>{const H=e=>{M((a=>[...a,e])),[...F,e].length===a+2&&B(!0)},z=(0,d.limitedProductByVariety)({varietyData:L.varietyData,peppermintMocha:R,gingerbreadCookie:E});return(0,o.useEffect)((()=>{M([]);let e=!1;a===m.BundleSize["12 Pack"]&&(e=!0),B(e)}),[a]),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",Object.assign({className:f},{children:[(0,s.jsx)("span",{children:"STEP 1"}),(0,s.jsx)("span",{children:"CHOOSE YOUR PACK SIZE"})]})),(0,s.jsxs)("div",Object.assign({className:v},{children:[V&&(0,s.jsxs)("div",Object.assign({onClick:()=>t(2)},{children:[(0,s.jsx)("button",Object.assign({className:`${a===m.BundleSize["12 Pack"]&&p}`},{children:"12 PACK"})),(0,s.jsx)("span",Object.assign({className:T},{children:"+ Varsity Hat"})),(0,s.jsx)("span",Object.assign({className:T},{children:"ALL 7 FLAVORS"}))]})),(0,s.jsxs)("div",Object.assign({onClick:()=>t(0)},{children:[(0,s.jsx)("button",Object.assign({className:`${a===m.BundleSize["20 Pack"]&&p}`},{children:e.options[0].values[0]})),(0,s.jsxs)("span",{children:["$",i[0].toFixed(2)," EA."]})]})),(0,s.jsxs)("div",Object.assign({onClick:()=>t(1)},{children:[(0,s.jsx)("button",Object.assign({className:`${a===m.BundleSize["30 Pack"]&&p}`},{children:e.options[0].values[1]})),(0,s.jsxs)("span",{children:["$",i[1].toFixed(2)," EA."]})]}))]})),(0,s.jsx)("div",Object.assign({style:{minHeight:"200px"}},{children:a===m.BundleSize["12 Pack"]?(0,s.jsx)(u.TwelvePackDetails,{styles:n.default,mockDataStepper:L}):(0,s.jsxs)("div",Object.assign({className:`step2Container ${h}`},{children:[l?(0,s.jsxs)("div",Object.assign({className:f},{children:[(0,s.jsx)("span",{children:"BUNDLE SUMMARY"}),(0,s.jsx)("span",{})]})):(0,s.jsxs)("div",Object.assign({className:f},{children:[(0,s.jsx)("span",{children:"STEP 2"}),(0,s.jsx)("span",{children:"CHOOSE YOUR FLAVORS"})]})),(0,s.jsxs)("div",Object.assign({className:S},{children:[(0,s.jsx)("div",Object.assign({style:{color:0===F.length?"black":"#a0a0a0"}},{children:"FIRST FLAVOR"})),(0,s.jsx)(c.ArrowRight,{}),(0,s.jsx)("div",Object.assign({style:{color:1===F.length?"black":"#a0a0a0"}},{children:"SECOND FLAVOR"})),(0,s.jsx)(c.ArrowRight,{}),a===m.BundleSize["30 Pack"]&&(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)("div",Object.assign({style:{color:2===F.length?"black":"#a0a0a0"}},{children:"THIRD FLAVOR"})),(0,s.jsx)(c.ArrowRight,{})]}),(0,s.jsx)("div",Object.assign({style:{color:l?"black":"#a0a0a0"}},{children:"SUMMARY"}))]})),F.length>0&&(0,s.jsx)("button",Object.assign({className:g,onClick:()=>{M((e=>e.slice(0,-1))),B(!1)}},{children:"Back"})),!l&&(0,s.jsx)("div",Object.assign({className:`varietySetContainer ${b}`,style:{minHeight:"140px"}},{children:L.varietyData.filter((e=>!e.isLimited)).map((e=>(0,s.jsxs)("div",Object.assign({className:y,onClick:()=>H(e.key)},{children:[(0,s.jsx)("img",{src:e.varietyImage,alt:e.varietyName}),(0,s.jsx)("div",Object.assign({className:j},{children:e.varietyName}))]}),e.key)))})),!l&&z.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsx)("p",Object.assign({className:D},{children:"LIMITED EDITION"})),(0,s.jsx)("div",Object.assign({className:`varietySetContainer ${b} limitedEditionContainer ${w}`},{children:z.map((e=>(0,s.jsxs)("div",Object.assign({className:y,onClick:()=>H(e.key)},{children:[(0,s.jsx)("img",{src:e.varietyImage,alt:e.varietyName}),(0,s.jsx)("div",Object.assign({className:`varietyName ${j} ${$}`},{children:e.varietyName})),(0,s.jsx)("div",Object.assign({className:`varietyName ${j} ${A}`},{children:e.varietyNameMobile||e.varietyName}))]}),e.key)))}))]}),(0,s.jsxs)("div",Object.assign({className:`${x} ${z.length>0?_:""}`,style:{alignItems:l?"flex-start":"center"}},{children:[(0,s.jsx)("h3",{children:l?(0,s.jsx)("div",Object.assign({className:C},{children:"Your Variery Set"})):F.length>0?(0,s.jsx)("div",Object.assign({className:P},{children:"CHOSEN FALVORS"})):""}),(0,s.jsx)("div",Object.assign({className:`${k} ${l&&N}`},{children:F.map(((e,a)=>(0,s.jsxs)("div",Object.assign({className:y},{children:[(0,s.jsx)("div",Object.assign({className:I,"data-index":a+1},{children:(0,s.jsx)("img",{src:L.varietyData[e].varietyImage,alt:L.varietyData[e].varietyName})})),l&&(0,s.jsx)("span",{children:L.varietyData[e].varietyName})]}),a)))})),l&&(0,s.jsx)("button",Object.assign({className:O,onClick:()=>{M([]),B(!1)}},{children:"Modify"}))]}))]}))}))]})}},350:(e,a,t)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.TwelvePackDetails=void 0;const i=t(0),s=(t(1),t(155)),r={"Cacao Salt Caramel Peanut":2,"Espresso Vanilla Cinnamon":1,"Dark Chocolate Coconut":2,"The Raspberry Donut":2,"Birthday Cake Chocolate Chip":1,"Peanut Butter Blackberry":2,"Cookies and Cream":2};a.TwelvePackDetails=({styles:e,mockDataStepper:a})=>(0,i.jsxs)("div",Object.assign({className:e.step2Container},{children:[(0,i.jsxs)("div",Object.assign({className:e.title},{children:[(0,i.jsx)("span",{children:"FLAVORS INCLUDED"}),(0,i.jsx)("span",{})]})),(0,i.jsxs)("div",Object.assign({className:e.stepIndicatorTitleContainer},{children:[(0,i.jsx)("div",Object.assign({style:{color:"black"}},{children:"12 PACK | ALL FLAVORS"})),(0,i.jsx)(s.ArrowRight,{})]})),(0,i.jsx)("div",Object.assign({className:e.varietySetContainer},{children:a.varietyData.filter((e=>!e.isLimited)).map((a=>(0,i.jsxs)("div",Object.assign({className:e.varietyItem},{children:[(0,i.jsx)("img",{src:a.varietyImage,alt:a.varietyName}),(0,i.jsx)("div",Object.assign({className:e.varietyName,style:{cursor:"default"}},{children:`${a.varietyName} X${r[a.varietyName]}`}))]}),a.key)))}))]}))},155:(e,a,t)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.ArrowRight=void 0;const i=t(0);a.ArrowRight=()=>(0,i.jsx)("svg",Object.assign({width:"7",height:"11",viewBox:"0 0 7 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,i.jsx)("path",{d:"M1 10.2002L5 5.6002L1 1.0002",stroke:"black","stroke-width":"2"})}))},349:(e,a,t)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.ArrowRightPopup=void 0;const i=t(0);t(1),a.ArrowRightPopup=function({}){return(0,i.jsx)("svg",Object.assign({"aria-hidden":"true",focusable:"false",role:"presentation",class:"icon icon--wide icon-arrow-right-long",viewBox:"0 0 21 10"},{children:(0,i.jsx)("path",{d:"M14.982 1.01l.696-.717 3.803 3.691.011-.01.338.348.359.348-.012.01.012.011-.354.343-.343.353-.011-.011-3.803 3.692-.696-.718 3.266-3.17H.5v-1h17.748z"})}))}},71:(e,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.BundleSize=void 0,a.BundleSize={"20 Pack":0,"30 Pack":1,"12 Pack":2}},156:(e,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.limitedProductByVariety=void 0,a.limitedProductByVariety=({varietyData:e,peppermintMocha:a,gingerbreadCookie:t})=>e.filter((e=>!(!a&&"Peppermint Mocha"===e.varietyName)&&!(!t&&"Gingerbread Cookie"===e.varietyName)&&e.isLimited))},22:function(e,a,t){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.RatingStars=void 0;const s=t(0),r=i(t(336));a.RatingStars=({rating:e=0,numberOfStars:a,starDimension:t,starRatedColor:i,starEmptyColor:n})=>(0,s.jsx)("div",Object.assign({className:"w-full pb-2"},{children:(0,s.jsx)(r.default,{rating:Number(e||0),starRatedColor:i,starEmptyColor:n,numberOfStars:a,name:"rating",starDimension:t,starSpacing:"1px"})}))},62:function(e,a,t){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.Reviews=void 0;const s=t(0),r=(t(1),i(t(138))),n=t(79),o=t(22),{mainContainer:c,title:l,starsContainer:d,carouselContainer:u,slideContainer:m,slideTitle:p,slideDescription:v,bottomSlideContainer:h,slideProduct:g,slideAuthor:b}=r.default;a.Reviews=function(){const e=[{title:"I’d eat this every day.",description:"Its been hard to find a bar that tastes good and is gluten free, dairy free, and has no whey protein. I know it is a lot to ask haha but this bar is it. There is a more natural feeling to this bar that tastes like I am eating something real.",product:"Cacao Salt Caramel Peanut",author:"Alex M.",ratingNumber:5},{title:"Wow, so good!",description:"This bar isn’t chalky like most protein bars and actually has a great aftertaste.",product:"Espresso Vanilla Cinnamon",author:"Madison V. ",ratingNumber:5},{title:"First protein bar I don’t get sick of.",description:"I usually can’t more than a couple of bites of a protein bar before I get bored and throw it away. This bar tastes elevated and made me want to actually keep eating it.",product:"Cacao Salt Caramel Peanut",author:"Jess B.",ratingNumber:5},{title:"Finally, a perfect bar.",description:"Finally, after so many bars & searching for years... these are the most PERFECT bars especially when you need to get that protein in without the sugar!",product:"Dark Chocolate Coconut",author:"Terra K.",ratingNumber:5},{title:"Best of its kind!",description:"I'm a personal trainer and nutritionist and these are some of the best bars I've found for flavor and nutrition.",product:"Cacao Salt Caramel Peanut",author:"Kara S.",ratingNumber:5},{title:"In truth, truly surprised.",description:"Truly surprised I dig this flavor as much as I do. Admittedly, it took 2. Something about it reminds me of my Favorite cookie as a kid: a Linzer tart.",product:"",author:"Marnie A.",ratingNumber:4},{title:"We ate the entire box in the first week.",description:"Between myself and my 17-year-old son (who is a picky eater) we ate all the bars in one week. Delicious!",product:"Dark Chocolate Coconut",author:"Angela H.",ratingNumber:5},{title:"Pretty good for a protein bar.",description:"I don’t really eat protein bars but was interested in the collagen. Perhaps a little more sugar would make it even better.",product:"Cacao Salt Caramel Peanut",author:"Morgan F.",ratingNumber:3}];return(0,s.jsxs)("div",Object.assign({className:c},{children:[(0,s.jsx)("h2",Object.assign({className:l},{children:"Kind Words"})),(0,s.jsx)("div",Object.assign({className:`${u} carouselContainer `},{children:(0,s.jsx)(n.SlidesCarousel,Object.assign({carouselSettings:{infinite:!0,dots:!0,speed:500,slidesToShow:1,slidesPerRow:1,slidesToScroll:1,centerMode:!1,centerPadding:"0",variableWidth:!0}},{children:null==e?void 0:e.map(((e,a)=>(0,s.jsxs)("div",Object.assign({className:`${m} slideContainer`},{children:[(0,s.jsx)("div",Object.assign({className:d},{children:(0,s.jsx)(o.RatingStars,{rating:e.ratingNumber,numberOfStars:5,starDimension:"20px",starRatedColor:"#000000",starEmptyColor:"white"})})),(0,s.jsx)("label",Object.assign({className:p},{children:e.title})),(0,s.jsx)("p",Object.assign({className:v},{children:e.description})),(0,s.jsxs)("div",Object.assign({className:h},{children:[(0,s.jsx)("p",Object.assign({className:g},{children:e.product})),(0,s.jsx)("p",Object.assign({className:b},{children:e.author}))]}))]}),a)))}))}))]}))}},79:function(e,a,t){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.SlidesCarousel=void 0;const s=t(0);t(38),t(39);const r=t(2),n=i(t(40)),o=t(2),c=i(t(147));t(148);const l=t(335),{mainContainer:d,arrow:u,arrowPrev:m,arrowNext:p,hidden:v}=c.default;a.SlidesCarousel=({className:e="",children:a,carouselSettings:t})=>{const i=(0,r.useRef)(null),[c,m]=(0,o.useState)(0);return(0,s.jsxs)("div",Object.assign({className:`${d} mainContainerReviews `},{children:[(0,s.jsx)("div",Object.assign({className:`${u} ${p}`,onClick:e=>{var a;e.preventDefault(),null===(a=i.current)||void 0===a||a.slickNext()}},{children:(0,s.jsx)(l.Arrow,{})})),(0,s.jsx)(n.default,Object.assign({ref:i,arrows:!1,className:`${e}`},t,{afterChange:e=>{m(e)}},{children:a}))]}))}},335:(e,a,t)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.Arrow=void 0;const i=t(0);t(1),a.Arrow=function({}){return(0,i.jsxs)("svg",Object.assign({viewBox:"0 0 100 100"},{children:[(0,i.jsx)("title",{children:"Next"}),(0,i.jsx)("path",{d:"M24,56L100,56L100,43L24,43L52,15L43,6L0,50L43,94L52,85L24,56Z",class:"arrow",transform:"translate(100, 100) rotate(180)"})]}))}},37:(e,a,t)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.Cross=void 0;const i=t(0);t(1),a.Cross=function({}){return(0,i.jsx)("svg",Object.assign({"aria-hidden":"true",focusable:"false",role:"presentation",class:"icon icon-close",viewBox:"0 0 15 15"},{children:(0,i.jsxs)("g",Object.assign({"fill-rule":"evenodd"},{children:[(0,i.jsx)("path",{d:"M2.06 1l12.02 12.021-1.06 1.061L1 2.062z"}),(0,i.jsx)("path",{d:"M1 13.02L13.022 1l1.061 1.06-12.02 12.02z"})]}))}))}}}]);