"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[5],{60:function(e,t,a){var i=this&&this.__awaiter||function(e,t,a,i){return new(a||(a=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 t;e.done?s(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(n,o)}c((i=i.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Footer=void 0;const r=a(0),n=s(a(150)),o=a(2),c=a(337),{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;t.Footer=()=>{const[e,t]=(0,o.useState)(""),[a,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} ${(a||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"}),a&&(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:a=>i(void 0,void 0,void 0,(function*(){if(a.preventDefault(),""===e)return void x(!0);if(x(!1),!e.includes("@"))return;s(!0),t("");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 a=e.target;t(a.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,t)=>(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(((t,a)=>{const i="COMMUNITY"===e.title&&("Instagram"===t.name||"Tik Tok"===t.name);return(0,r.jsx)("li",{children:(0,r.jsx)("a",Object.assign({href:t.url},i?{target:"_blank",rel:"noopener noreferrer"}:{},{children:t.name}))},a)}))}))]}),t)))}))]})),(0,r.jsx)("div",Object.assign({className:b},{children:k.references.map(((e,t)=>(0,r.jsxs)("a",Object.assign({href:e.url},{children:[(0,r.jsxs)("div",Object.assign({className:j},{children:[e.referenceNumber," ="," "]})),e.text]}),t)))}))]}))}},337:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowRight=void 0;const i=a(0);t.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,t,a){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Carousel=void 0;const s=a(0);a(37),a(38);const r=a(2),n=i(a(39)),o=a(2),c=i(a(286));a(287),a(288);const l=a(70),{mainContainer:d,arrow:u,arrowPrev:m,arrowNext:p,hidden:v}=c.default;t.Carousel=({className:e="",children:t,carouselSettings:a,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 t,a;"ArrowLeft"===e.key?null===(t=c.current)||void 0===t||t.slickPrev():"ArrowRight"===e.key&&(null===(a=c.current)||void 0===a||a.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 t;e.preventDefault(),null===(t=c.current)||void 0===t||t.slickPrev()}},{children:(0,s.jsx)(l.Arrow,{})}))," ",(0,s.jsx)("div",Object.assign({className:`${u} ${p}`,onClick:e=>{var t;e.preventDefault(),null===(t=c.current)||void 0===t||t.slickNext()}},{children:(0,s.jsx)(l.Arrow,{})})),(0,s.jsx)(n.default,Object.assign({ref:c,arrows:!1,className:`${e}`},a,{afterChange:e=>{h(e)}},{children:t}))]}))}},70:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Arrow=void 0;const i=a(0);a(1),t.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,t,a){var i=this&&this.__awaiter||function(e,t,a,i){return new(a||(a=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 t;e.done?s(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(n,o)}c((i=i.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ProductDetails=t.mockProductDetailData=void 0;const r=a(0),n=(a(1),s(a(151))),o=a(22),c=a(70),l=a(2),d=a(36),u=a(347),m=a(40),p=a(152),v=a(114),h=a(314),g=a(314),b=a(2),y=a(69),j=a(154),f=a(366);"undefined"!=typeof window&&(window.Buffer=y.Buffer);const{mainContainer:x,mainContainerVarietySet:k,categoryLabel:O,title:N,starsContainer:I,starsRating:S,ratingNumber:D,varietySetContainer:C,varietySetContainerHolidays:P,varietySetContainerForVarietySetPDP:w,description:_,freeFromContainer:T,freeFromContainerVarietySet:$,nutritionContainer:A,nutritionImageContainer:M,bundles:F,selected:L,price:E,priceVarietySet:R,productSubscription:B,productSubscriptionIsVariety:V,subscriptionInfo:H,showContainer:K,backgroundPopup:U,labelShip:z,labelShipVarietySet:Y,addButton:G,varieryHoverName:q,moreFlavorsAlert:W,disabled:Z,addButtonVarietySet:X,nutritionArrowContainer:J,badgesContainer:Q,buttonLoading:ee,buttonLoader:te,limitedEdition:ae}=n.default,ie=e=>98===e?98.01:e;t.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"}},dynamicBundleCollectionId:"427067900137"},t.ProductDetails=function({productPage:e,useSharedState:a,peppermintMocha:s,gingerbreadCookie:n}){var y,se,re,ne,oe,ce,le,de,ue,me,pe,ve,he,ge,be,ye,je,fe;const[xe,ke]=(0,l.useState)(!1),[Oe,Ne]=(0,l.useState)(0),[Ie,Se]=(0,l.useState)("one-time"),[De,Ce]=(0,l.useState)(!1),[Pe,we]=(0,l.useState)(!1),[_e,Te]=(0,l.useState)([]),[$e,Ae]=(0,l.useState)(!1),[Me,Fe]=(0,l.useState)(!1),[Le,Ee]=(0,l.useState)(!1),[Re,Be]=(0,l.useState)(!1),Ve="signature-flavors-variety-set"===e.handle,He="club"===Ie?Number(null===(se=null===(y=e.variants[Oe])||void 0===y?void 0:y.price)||void 0===se?void 0:se.amount)*(1-t.mockProductDetailData.clubDiscount):Number(null===(ne=null===(re=e.variants[Oe])||void 0===re?void 0:re.price)||void 0===ne?void 0:ne.amount),Ke=["club"===Ie?Number(null===(ce=null===(oe=e.variants[Ve?0:1])||void 0===oe?void 0:oe.price)||void 0===ce?void 0:ce.amount)*(1-t.mockProductDetailData.clubDiscount)/20:Number(null===(de=null===(le=e.variants[Ve?0:1])||void 0===le?void 0:le.price)||void 0===de?void 0:de.amount)/20,"club"===Ie?Number(null===(me=null===(ue=e.variants[Ve?1:2])||void 0===ue?void 0:ue.price)||void 0===me?void 0:me.amount)*(1-t.mockProductDetailData.clubDiscount)/30:Number(null===(ve=null===(pe=e.variants[Ve?1:2])||void 0===pe?void 0:pe.price)||void 0===ve?void 0:ve.amount)/30],Ue=(e,t)=>{if(Ze)return null==t||t.preventDefault(),void Se("one-time");Se(e)},ze=()=>{Ce(!De)},Ye=e.tags.includes("limited"),Ge=(0,j.limitedProductByVariety)({varietyData:t.mockProductDetailData.varietyData,peppermintMocha:s,gingerbreadCookie:n}),qe=e=>"peppermint-mocha"===e||"gingerbread-cookie"===e,We=(0,l.useMemo)((()=>qe(e.handle)||(e=>{let a=!1;return e.forEach((e=>{qe(t.mockProductDetailData.varietyData[e].handle)&&(a=!0)})),a})(_e)),[e.handle,_e]),Ze=(0,l.useMemo)((()=>Oe===f.BundleSize["12 Pack"]&&Ve||We),[Oe,We]);return(0,b.useEffect)((()=>{a.showCart&&Fe(!1)}),[a.showCart]),(0,b.useEffect)((()=>{a.showCart&&Fe(!1)}),[a.showCart]),(0,b.useEffect)((()=>{Ze&&Se("one-time")}),[Ze]),(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)((()=>{e.variants[Oe].currentlyNotInStock?Ee(!0):Ee(!1),e.variants[Oe].availableForSale?Be(!1):Be(!0)}),[Oe]),(0,r.jsxs)("div",Object.assign({className:`${x} ${Ve&&k}`},{children:[(0,r.jsx)("p",Object.assign({className:O},{children:"Collagen Protein Bar"})),(0,r.jsx)("h1",Object.assign({className:N},{children:e.title})),!Ve&&!Ye&&(0,r.jsxs)("div",Object.assign({className:`starsContainer ${I}`},{children:[(0,r.jsx)("a",Object.assign({className:S,href:t.mockProductDetailData.rating.reviewsHref},{children:(0,r.jsx)(o.RatingStars,{rating:null===(he=e.reviews)||void 0===he?void 0:he.rating_average,numberOfStars:5,starDimension:"20px",starRatedColor:"#000000",starEmptyColor:"#00000055"})})),(0,r.jsxs)("p",Object.assign({className:D},{children:["(",(0,m.truncateOneDecimal)(null===(ge=null==e?void 0:e.reviews)||void 0===ge?void 0:ge.rating_average),")"]}))]})),(0,r.jsxs)("div",Object.assign({className:`varietySetContainer ${C} ${Ve&&w} ${(s||n)&&P}`},{children:[t.mockProductDetailData.varietyData.filter((e=>!e.isLimited)).map(((e,t)=>(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:q},{children:e.varietyName}))]}))},t))),(0,r.jsx)("button",{children:(0,r.jsx)("a",Object.assign({href:t.mockProductDetailData.varieryButton.href},{children:t.mockProductDetailData.varieryButton.text}))})]})),s||n?(0,r.jsxs)("div",Object.assign({className:`varietySetContainer ${C} ${Ve&&w} ${(s||n)&&P}`},{children:[Ge.map(((e,t)=>(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:q},{children:e.varietyName}))]}))},t))),(0,r.jsx)("p",Object.assign({class:`limitedEdition ${ae}`},{children:"LIMITED EDITION"}))]})):null,(0,r.jsx)("p",Object.assign({className:_,style:{fontSize:Ve?"12px":"14px",lineHeight:Ve?"18px":"21px",letterSpacing:Ve?"normal":"-0.02em;",marginTop:s||n?"8px":"0px"}},{children:e.description})),(0,r.jsx)("div",Object.assign({className:`freeFromContainer ${T} ${Ve&&$}`},{children:Ve?t.mockProductDetailData.mockTagsForVarierySet.map(((e,t)=>(0,r.jsx)("span",{children:e.substring(1).toLowerCase().includes("sugar")?"STEVIA":e.substring(1)},t))):e.tagsBadge.map(((e,t)=>(0,r.jsx)("span",{children:e.substring(1).toLowerCase().includes("sugar")?"STEVIA":e.substring(1)},t)))})),!Ve&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",Object.assign({className:A,onClick:()=>{ke(!xe)}},{children:[(0,r.jsx)("span",{children:"NUTRITION & INGREDIENTS"}),(0,r.jsx)("span",Object.assign({className:J},{children:(0,r.jsx)(c.Arrow,{})}))]})),xe&&(0,r.jsxs)("div",Object.assign({className:M},{children:[(0,r.jsx)("img",{src:null===(be=null==e?void 0:e.nutritionalImage)||void 0===be?void 0:be.reference.image.originalSrc,alt:`nutritional info for ${e.title} `,height:150,width:400}),(0,r.jsx)("p",{children:null===(ye=null==e?void 0:e.nutritionalIngredients)||void 0===ye?void 0:ye.value}),(0,r.jsx)("div",Object.assign({className:Q},{children:null===(fe=null===(je=null==e?void 0:e.nutritionalBadges)||void 0===je?void 0:je.references.edges)||void 0===fe?void 0:fe.map(((e,t)=>(0,r.jsx)("img",{src:e.node.image.originalSrc,alt:e.node.image.altText,style:{height:"30px"}},t)))}))]}))]}),!Ve&&(0,r.jsxs)("div",Object.assign({className:`bundles ${F}`},{children:[(0,r.jsxs)("div",Object.assign({onClick:()=>Ne(0)},{children:[(0,r.jsx)("button",Object.assign({className:`${0===Oe&&L}`},{children:e.options[0].values[0]})),(0,r.jsx)("span",{})]})),(0,r.jsxs)("div",Object.assign({onClick:()=>Ne(1)},{children:[(0,r.jsx)("button",Object.assign({className:`${1===Oe&&L}`},{children:e.options[0].values[1]})),(0,r.jsxs)("span",{children:["$",Ke[0].toFixed(2)," EA."]})]})),(0,r.jsxs)("div",Object.assign({onClick:()=>Ne(2)},{children:[(0,r.jsx)("button",Object.assign({className:`${2===Oe&&L}`},{children:e.options[0].values[2]})),(0,r.jsxs)("span",{children:["$",Ke[1].toFixed(2)," EA."]})]}))]})),Ve&&(0,r.jsx)(v.StepSelection,{productPage:e,bundleSelected:Oe,setBundleSelected:Ne,bundlePriceEach:Ke,varietySetIsComplete:Pe,setVarietySetIsComplete:we,selectedFlavorSet:_e,setSelectedFlavorSet:Te,peppermintMocha:s,gingerbreadCookie:n}),(0,r.jsxs)("div",Object.assign({className:`${E} ${Ve&&R}`},{children:["$",He.toFixed(2)]})),(0,r.jsxs)("div",Object.assign({className:`${B} ${Ve&&V}`},{children:[(0,r.jsxs)("div",Object.assign({onClick:e=>Ue("one-time",e)},{children:[(0,r.jsx)("input",{type:"radio",id:"one-time",name:"subscription",checked:"one-time"===Ie,readOnly:!0}),(0,r.jsx)("span",Object.assign({htmlFor:"one-time"},{children:"ONE-TIME PURCHASE"}))]})),(0,r.jsxs)("div",Object.assign({onClick:e=>{Ue("club",e)},disabled:Ze},{children:[(0,r.jsx)("input",{type:"radio",id:"club",name:"subscription",checked:"club"===Ie,readOnly:!0}),(0,r.jsx)("span",Object.assign({htmlFor:""},{children:"SUBSCRIPTION CLUB"})),(0,r.jsx)("label",{children:Ze?"Not available":`Save ${100*t.mockProductDetailData.clubDiscount}%`}),(0,r.jsxs)("button",Object.assign({onClick:ze},{children:["Details",(0,r.jsxs)("div",Object.assign({className:`${H} ${De&&K}`},{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:`${U} ${De&&K}`,onClick:ze})]})),(0,r.jsxs)("p",Object.assign({className:`${z} ${Ve&&Y}`},{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(Me)return;if(Fe(!0),Ve&&!Pe)return Ae(!0),Fe(!1),void setTimeout((()=>{Ae(!1)}),2e3);if(Le||Re)return void Fe(!1);const s={sku:e.variants[Oe].sku||"",id:e.variants[Oe].id,quantity:1,image:e.variants[Oe].image.src,product_title:e.title,variant_title:e.variants[Oe].title,price:100*He,final_price:100*He,url:`https://starsandhoney.com/products/${e.handle}`,variant_id:Number(e.variants[Oe].id),vendor:e.vendor};"club"===Ie&&(s.selling_plan=p.sellingPlans[e.handle]||null);let r=[s];if(Ve){let n;n=0===Oe&&"one-time"===Ie?"variantId20packOneTime":1===Oe&&"one-time"===Ie?"variantId30packOneTime":0===Oe&&"club"===Ie?"variantId20packSubs":1===Oe&&"club"===Ie?"variantId30packSubs":"variantId20packOneTime";let o={externalVariantId:t.mockProductDetailData.bundlesIds[n].variantId,externalProductId:t.mockProductDetailData.bundlesIds[n].productId,selections:[{collectionId:t.mockProductDetailData.dynamicBundleCollectionId,externalProductId:t.mockProductDetailData.varietyData[_e[0]].productId,externalVariantId:t.mockProductDetailData.varietyData[_e[0]][n],sellingPlan:"club"===Ie?Number(t.mockProductDetailData.varietyData[_e[0]].sellingPlan):void 0,quantity:1},{collectionId:t.mockProductDetailData.dynamicBundleCollectionId,externalProductId:t.mockProductDetailData.varietyData[_e[1]].productId,externalVariantId:t.mockProductDetailData.varietyData[_e[1]][n],sellingPlan:"club"===Ie?Number(t.mockProductDetailData.varietyData[_e[1]].sellingPlan):void 0,quantity:1}]};1===Oe&&o.selections.push({collectionId:t.mockProductDetailData.dynamicBundleCollectionId,externalProductId:t.mockProductDetailData.varietyData[_e[2]].productId,externalVariantId:t.mockProductDetailData.varietyData[_e[2]][n],sellingPlan:"club"===Ie?Number(t.mockProductDetailData.varietyData[_e[2]].sellingPlan):void 0,quantity:1});try{r=null===(i=(0,p.convertProductToPayload)({product:Object.assign(Object.assign({},s),{variant_title:1===Oe?"30-PACK":"20-PACK",title:"Signature Flavors Variety Set"}),additionalProperties:Object.assign({"Flavor 1":t.mockProductDetailData.varietyData[_e[0]].varietyName,"Flavor 2":t.mockProductDetailData.varietyData[_e[1]].varietyName},1===Oe?{"Flavor 3":t.mockProductDetailData.varietyData[_e[2]].varietyName}:{}),quantity:1,variant:Object.assign(Object.assign({},e.variants[Oe]),{title:1===Oe?"30-PACK":"20-PACK",price:Object.assign(Object.assign({},e.variants[Oe].price),{amount:ie(He).toString()})})}))||void 0===i?void 0:i.items.map((e=>Object.assign(Object.assign({},e),{selling_plan_allocation:!!(null==s?void 0:s.selling_plan)}))),a.addFakeBundle({items:r});const n=yield(0,h.getDynamicBundleItems)(o,"dynamic-bundle");n[0].properties["Flavor 1"]=t.mockProductDetailData.varietyData[_e[0]].varietyName;const c={_rc_bundle_flavor1:t.mockProductDetailData.varietyData[_e[0]].varietyName,_rc_bundle_flavor1_ID:t.mockProductDetailData.varietyData[_e[0]].productId,_rc_bundle_flavor2:t.mockProductDetailData.varietyData[_e[1]].varietyName,_rc_bundle_flavor2_ID:t.mockProductDetailData.varietyData[_e[1]].productId,_rc_bundle_price:He.toString(),_rc_bundle_status:"club"===Ie?"Subscription":"One-Time",_rc_bundle_size:0===Oe?"20-PACK":"30-PACK"};1===Oe&&(c._rc_bundle_flavor3=t.mockProductDetailData.varietyData[_e[2]].varietyName,c._rc_bundle_flavor3_ID=t.mockProductDetailData.varietyData[_e[2]].productId),n[0].properties=Object.assign(Object.assign({},n[0].properties),c),n[1].properties["Flavor 2"]=t.mockProductDetailData.varietyData[_e[1]].varietyName,n[1].properties=Object.assign(Object.assign({},n[1].properties),c),1===Oe&&(n[2].properties["Flavor 3"]=t.mockProductDetailData.varietyData[_e[2]].varietyName,n[2].properties=Object.assign(Object.assign({},n[2].properties),c)),r=n}catch(e){console.error("getBundleId",e)}}try{a.addToCart({items:r})}catch(e){console.error(e),Fe(!1)}})),className:`${G} \n\t\t\t\t${Ve&&!Pe&&Z}\n\t\t\t\t${(Le||Re)&&Z}\n\t\t\t\t${Ve&&X}\n\t\t\t\t${Me&&ee}\n\t\t\t\t`},{children:[(0,r.jsxs)("button",{children:[Re?"Unavailable":Le?"Out of Stock":"Add to bag",Me&&(0,r.jsx)("span",Object.assign({className:te},{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"})]}))}))]}),$e&&(0,r.jsx)("div",Object.assign({className:W},{children:"Please add more flavors"}))]}))]}))}},114:function(e,t,a){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.StepSelection=void 0;const s=a(0),r=a(1),n=i(a(153)),o=a(2),c=a(348),l=a(11),d=a(154),{selected:u,bundles:m,step2Container:p,backButton:v,varietySetContainer:h,varietyItem:g,varietyName:b,title:y,selectedOptionsContainer:j,selectedImagesContainer:f,modifyButton:x,stepIndicatorTitleContainer:k,columnDisplay:O,imageContainer:N,yourVarietySet:I,chosenFlavors:S,varietySetLimitedEdition:D,limitedEditionContainer:C,selectedOptionsLimitedEdition:P,desktopOnly:w,mobileOnly:_}=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 T={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}]};t.StepSelection=({productPage:e,bundleSelected:t,setBundleSelected:a,bundlePriceEach:i,varietySetIsComplete:n,setVarietySetIsComplete:l,selectedFlavorSet:$,setSelectedFlavorSet:A,peppermintMocha:M,gingerbreadCookie:F})=>{const L=e=>{A((t=>[...t,e])),[...$,e].length===t+2&&l(!0)},E=(0,d.limitedProductByVariety)({varietyData:T.varietyData,peppermintMocha:M,gingerbreadCookie:F});return(0,o.useEffect)((()=>{A([]),l(!1)}),[t]),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",Object.assign({className:y},{children:[(0,s.jsx)("span",{children:"STEP 1"}),(0,s.jsx)("span",{children:"CHOOSE YOUR PACK SIZE"})]})),(0,s.jsxs)("div",Object.assign({className:m},{children:[(0,s.jsxs)("div",Object.assign({onClick:()=>a(0)},{children:[(0,s.jsx)("button",Object.assign({className:`${0===t&&u}`},{children:e.options[0].values[0]})),(0,s.jsxs)("span",{children:["$",i[0].toFixed(2)," EA."]})]})),(0,s.jsxs)("div",Object.assign({onClick:()=>a(1)},{children:[(0,s.jsx)("button",Object.assign({className:`${1===t&&u}`},{children:e.options[0].values[1]})),(0,s.jsxs)("span",{children:["$",i[1].toFixed(2)," EA."]})]}))]})),(0,s.jsxs)("div",Object.assign({className:p},{children:[n?(0,s.jsxs)("div",Object.assign({className:y},{children:[(0,s.jsx)("span",{children:"BUNDLE SUMMARY"}),(0,s.jsx)("span",{})]})):(0,s.jsxs)("div",Object.assign({className:y},{children:[(0,s.jsx)("span",{children:"STEP 2"}),(0,s.jsx)("span",{children:"CHOOSE YOUR FLAVORS"})]})),(0,s.jsxs)("div",Object.assign({className:k},{children:[(0,s.jsx)("div",Object.assign({style:{color:0===$.length?"black":"#a0a0a0"}},{children:"FIRST FLAVOR"})),(0,s.jsx)(c.ArrowRight,{}),(0,s.jsx)("div",Object.assign({style:{color:1===$.length?"black":"#a0a0a0"}},{children:"SECOND FLAVOR"})),(0,s.jsx)(c.ArrowRight,{}),1===t&&(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)("div",Object.assign({style:{color:2===$.length?"black":"#a0a0a0"}},{children:"THIRD FLAVOR"})),(0,s.jsx)(c.ArrowRight,{})]}),(0,s.jsx)("div",Object.assign({style:{color:n?"black":"#a0a0a0"}},{children:"SUMMARY"}))]})),$.length>0&&(0,s.jsx)("button",Object.assign({className:v,onClick:()=>{A((e=>e.slice(0,-1))),l(!1)}},{children:"Back"})),!n&&(0,s.jsx)("div",Object.assign({className:h},{children:T.varietyData.filter((e=>!e.isLimited)).map((e=>(0,s.jsxs)("div",Object.assign({className:g,onClick:()=>L(e.key)},{children:[(0,s.jsx)("img",{src:e.varietyImage,alt:e.varietyName}),(0,s.jsx)("div",Object.assign({className:`varietyName ${b} ${w}`},{children:e.varietyName})),(0,s.jsx)("div",Object.assign({className:`varietyName ${b} ${_}`},{children:e.varietyNameMobile||e.varietyName}))]}),e.key)))})),!n&&E.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 ${h} limitedEditionContainer ${C}`},{children:E.map((e=>(0,s.jsxs)("div",Object.assign({className:g,onClick:()=>L(e.key)},{children:[(0,s.jsx)("img",{src:e.varietyImage,alt:e.varietyName}),(0,s.jsx)("div",Object.assign({className:b},{children:e.varietyName}))]}),e.key)))}))]}),(0,s.jsxs)("div",Object.assign({className:`${j} ${E.length>0?P:""}`,style:{alignItems:n?"flex-start":"center"}},{children:[(0,s.jsx)("h3",{children:n?(0,s.jsx)("div",Object.assign({className:I},{children:"Your Variery Set"})):$.length>0?(0,s.jsx)("div",Object.assign({className:S},{children:"CHOSEN FALVORS"})):""}),(0,s.jsx)("div",Object.assign({className:`${f} ${n&&O}`},{children:$.map(((e,t)=>(0,s.jsxs)("div",Object.assign({className:g},{children:[(0,s.jsx)("div",Object.assign({className:N,"data-index":t+1},{children:(0,s.jsx)("img",{src:T.varietyData[e].varietyImage,alt:T.varietyData[e].varietyName})})),n&&(0,s.jsx)("span",{children:T.varietyData[e].varietyName})]}),t)))})),n&&(0,s.jsx)("button",Object.assign({className:x,onClick:()=>{A([]),l(!1)}},{children:"Modify"}))]}))]}))]})}},348:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowRight=void 0;const i=a(0);t.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"})}))},347:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowRightPopup=void 0;const i=a(0);a(1),t.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"})}))}},366:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BundleSize=void 0,t.BundleSize={"20 Pack":0,"30 Pack":1,"12 Pack":2}},154:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.limitedProductByVariety=void 0,t.limitedProductByVariety=({varietyData:e,peppermintMocha:t,gingerbreadCookie:a})=>e.filter((e=>!(!t&&"Peppermint Mocha"===e.varietyName)&&!(!a&&"Gingerbread Cookie"===e.varietyName)&&e.isLimited))},22:function(e,t,a){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RatingStars=void 0;const s=a(0),r=i(a(334));t.RatingStars=({rating:e=0,numberOfStars:t,starDimension:a,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:t,name:"rating",starDimension:a,starSpacing:"1px"})}))},62:function(e,t,a){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Reviews=void 0;const s=a(0),r=(a(1),i(a(137))),n=a(78),o=a(22),{mainContainer:c,title:l,starsContainer:d,carouselContainer:u,slideContainer:m,slideTitle:p,slideDescription:v,bottomSlideContainer:h,slideProduct:g,slideAuthor:b}=r.default;t.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,t)=>(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}))]}))]}),t)))}))}))]}))}},78:function(e,t,a){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SlidesCarousel=void 0;const s=a(0);a(37),a(38);const r=a(2),n=i(a(39)),o=a(2),c=i(a(146));a(147);const l=a(333),{mainContainer:d,arrow:u,arrowPrev:m,arrowNext:p,hidden:v}=c.default;t.SlidesCarousel=({className:e="",children:t,carouselSettings:a})=>{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 t;e.preventDefault(),null===(t=i.current)||void 0===t||t.slickNext()}},{children:(0,s.jsx)(l.Arrow,{})})),(0,s.jsx)(n.default,Object.assign({ref:i,arrows:!1,className:`${e}`},a,{afterChange:e=>{m(e)}},{children:t}))]}))}},333:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Arrow=void 0;const i=a(0);a(1),t.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)"})]}))}},36:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Cross=void 0;const i=a(0);a(1),t.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"})]}))}))}}}]);