(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[297],{48232:function(e,r,t){"use strict";var n=t(67294);let a=(0,n.forwardRef)(function({testId:e="store-banner",children:r,variant:t="vertical",...a},o){return n.createElement("article",Object.assign({ref:o,"data-fs-banner":t,"data-testid":e},a),r)});r.Z=a},98839:function(e,r,t){"use strict";var n=t(67294);let a=(0,n.forwardRef)(function({testId:e="store-banner-content",children:r,...t},a){return n.createElement("div",Object.assign({ref:a,"data-banner-content":!0,"data-testid":e},t),r)});r.Z=a},9349:function(e,r,t){"use strict";var n=t(67294);let a=(0,n.forwardRef)(function({testId:e="store-banner-link",children:r,...t},a){return n.createElement("div",Object.assign({ref:a,"data-banner-link":!0,"data-testid":e},t),r)});r.Z=a},64842:function(e,r,t){"use strict";t.d(r,{Z:function(){return cms_RenderPageSections}});var n=t(59499),a=t(67294);let SectionBoundary=class SectionBoundary extends a.Component{constructor(){super(...arguments),(0,n.Z)(this,"state",{hasError:!1,error:null})}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,r){console.error("Error while rendering section ".concat(this.props.name," with:\n").concat(e.message," ").concat(r.componentStack))}render(){return this.state.hasError?null:this.props.children}};var o=t(70131),i=t(85893),LazyRender=e=>{var{children:r,triggerOnce:t=!1}=e,{ref:n,inView:a}=(0,o.YD)({initialInView:!1,threshold:.45,triggerOnce:t});return(0,i.jsx)("div",{style:{width:"100%"},ref:n,className:"__lazy_block__",children:a?r:(0,i.jsx)(i.Fragment,{})})},SectionLazyLoading_SectionLazyLoading=e=>{var{children:r,lazyload:t=!1,name:n=""}=e;return t?(0,i.jsx)(SectionBoundary,{name:n,children:(0,i.jsx)(LazyRender,{triggerOnce:!0,children:r})}):(0,i.jsx)(SectionBoundary,{name:n,children:r})};function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){(0,n.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var cms_RenderPageSections=e=>{var{sections:r=[],context:t,components:n,lazyload:a=!0,firstLazyItem:o=4}=e;return(0,i.jsx)(i.Fragment,{children:r.map((e,r)=>{var{name:l,data:s}=e,c=n[l];return c?(0,i.jsx)(SectionLazyLoading_SectionLazyLoading,{name:l,lazyload:a&&r>=o,children:(0,i.jsx)(c,_objectSpread(_objectSpread({},s),{},{context:t}))},"".concat(l).concat(r)):null})})}},2055:function(e,r,t){"use strict";var n=t(2261),a=t(70426),o=t(29830),i=t(63917),l=t(83768),s=t(93632),c=t.n(s);t(19360);var d=t(99304),u=t(85893);r.Z=function(e){var{endDate:r,initialDate:t,isActiveDesktop:s,isActiveMobile:m,marginBottom:f,marginBottomMobile:p,marginTop:g,marginTopMobile:h,titleSettings:v,cards:_,autoPlay:y}=e,x=(0,o.dD)(),j=(0,a.A)(t,r);return(!x||m)&&(x||s)&&j?(0,u.jsxs)("div",{className:c().sliderFull,"data-fs-sliderFull":!0,style:{marginTop:x?h:g,marginBottom:x?p:f,marginInline:"auto"},children:[(null==v?void 0:v.text)&&(0,u.jsx)("h2",{style:{color:v.textColor,marginBottom:v.marginBottom},children:null==v?void 0:v.text}),(0,u.jsx)(n.tq,{modules:[d.W_,d.tl,d.pt],autoplay:!!y&&{delay:4e3,disableOnInteraction:!1},loop:!0,slidesPerView:1,"data-fs-swipper":!0,navigation:!x,spaceBetween:x?13:26,pagination:!!x&&{enabled:!0,clickable:!0},children:_.map((e,r)=>{var{imgDesktop:t,imgMobile:a,imgAlt:o,imgTitle:s,redirectLink:c,promotionParams:d,newTab:m}=e;return(0,u.jsx)(n.o5,{children:(0,u.jsx)(i.Z,{href:c,target:m?"_blank":"",onClick:()=>(0,l.i)({promotionParams:d,href:c,categoryName:s,imageUrl:x?a:t}),children:(0,u.jsx)("img",{"data-fs-img-tap":!0,src:x?a:t,alt:o,title:s})})},r)})})]}):(0,u.jsx)(u.Fragment,{})}},94505:function(e,r,t){"use strict";var n=t(59499),a=t(4730),o=t(67294),i=t(34167),l=t(74915),s=t(53634),c=t(89575),d=t(25679),u=t(34853),m=t(91054),f=t(68797),p=t(46642),g=t(30716),h=t(77269),v=t(86035),_=t.n(v),y=t(38772),x=t(66072),j=t(40460),b=t(74288),w=t(20377),S=t(85893),O=["product","index","variant","bordered","ButtonBuy","showWishlist","componentTitle","alliedList","setDataDrawer","setIsDrawerOpen"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){(0,n.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}r.Z=(0,o.memo)(function(e){var r,t,n,v,C,P,I,k,B,Z,D,T,R,N,{product:L,index:A,variant:G="default",bordered:E=!1,ButtonBuy:M,showWishlist:F=!1,componentTitle:z,alliedList:K,setDataDrawer:V,setIsDrawerOpen:q}=e,U=(0,a.Z)(e,O),{sku:W,image:Y,productType:H,isVariantOf:Q,brand:{brandName:X},offers:{lowPrice:J,offers:[{listPrice:$,price:ee,quantity:er}]},productClusters:et}=L,en=(0,h.Ak)(A,z,L),{hasAnGiftCard:ea,showGiftModal:eo}=(0,g.m4)(),ei=(null==H?void 0:H.type)==="FOOD",el=(0,l.Q)({productCluster:et,sku:W,sellers:L.sellers,product:L}),es=(0,d.w)({product:L,index:A,componentTitle:z}),ec=null!==(r=null==L?void 0:null===(t=L.sellers)||void 0===t?void 0:null===(n=t[0])||void 0===n?void 0:n.sellerName)&&void 0!==r?r:"exito",ed=(0,u.ip)(K,W),eu=(null==ed?void 0:null===(v=ed.bestAllied)||void 0===v?void 0:v.totalValue)||0,em=0,ef=(0,j.$)({bestAlliedValue:eu,listPrice:$,unitMultiplier:1,price:ee,sellerName:ec}),ep=null==L?void 0:null===(C=L.sellers)||void 0===C?void 0:C.find(e=>null==e?void 0:e.sellerDefault),eg=(0,f.o)(null==ep?void 0:null===(P=ep.commertialOffer)||void 0===P?void 0:P.teasers)?null==ep?void 0:null===(I=ep.commertialOffer)||void 0===I?void 0:I.teasers:void 0,eh=(0,o.useMemo)(()=>(0,m.$)(eg,ee),[eg,ee]);eh.minimumQuantity&&(em=(1-(eh.minimumQuantity&&(eh.minimumQuantity-1)/eh.minimumQuantity))*100);var ev=(0,p.R)(null==L?void 0:L.offers,null==ep?void 0:ep.sellerId);return(0,S.jsxs)("div",_objectSpread(_objectSpread({"data-fs-product-card":!0,"data-fs-product-card-variant":G,"data-fs-product-card-bordered":E,"data-fs-product-card-actionable":!!M,"data-fs-product-card-sku":W,className:_().fsProductCard},U),{},{children:[(0,S.jsxs)("div",{"data-fs-product-card-image-promotion":!0,children:[(0,S.jsx)(w.Z,{showWishlist:F,productFlag:null,sponsorFlag:null==L?void 0:null===(k=L.relevanc)||void 0===k?void 0:k.tag,image:Y,name:null==Q?void 0:Q.name,sku:W,isFood:ei,linkProps:es,changeImage:!0}),(0,S.jsx)("div",{className:_()["container-promotion"],"data-fs-container-promotion":!0,"data-fs-container-product-promotion":!0,children:(0,b.a)(ef,_())})]}),(0,S.jsxs)("div",{"data-fs-product-card-content":!0,children:[(0,S.jsxs)("div",{"data-fs-product-card-heading":!0,children:[(0,S.jsx)("figure",{"data-fs-product-flag-container":!0,children:null!=el&&el.logo?(0,S.jsx)("img",{src:el?el.logo:"",alt:el?el.name:""}):null}),(0,S.jsx)("h3",{"data-fs-product-card-title":!0,children:(0,S.jsx)(s.Z,_objectSpread(_objectSpread({},es),{},{title:null==Q?void 0:Q.name,children:null==Q?void 0:Q.name}))}),(0,S.jsx)("span",{"data-fs-brandname-title":!0,children:X})]}),(0,S.jsxs)("div",{"data-fs-product-card-prices":!0,children:[(0,S.jsxs)("div",{"data-fs-discount-and-price-container":!0,children:[ef<=em&&(0,S.jsxs)(S.Fragment,{children:[null!==eh.type?(0,S.jsx)(y.Z,{bestPromotion:eh}):null," "]}),(null==ep?void 0:null===(B=ep.commertialOffer)||void 0===B?void 0:B.ListPrice)&&(null==ep?void 0:null===(Z=ep.commertialOffer)||void 0===Z?void 0:Z.Price)&&(0,S.jsx)(S.Fragment,{children:(null==ep?void 0:ep.commertialOffer.ListPrice)>(null==ep?void 0:ep.commertialOffer.Price)&&(0,S.jsx)(c.Z,{value:ep.commertialOffer.ListPrice,testId:"list-price","data-value":ep.commertialOffer.ListPrice,variant:"listing",classes:"text__legend",SRText:"Original price:"})})]}),(null==ed?void 0:ed.bestAllied)&&eu<J&&(null==ep?void 0:ep.sellerId)===(null==ed?void 0:ed.bestAllied.sellerId)&&(0,S.jsx)(i.qI,{allieds:null==ed?void 0:ed.bestAllied}),(0,S.jsxs)("div",{"data-fs-price-container-otros":!0,children:[(0,S.jsx)(c.Z,{value:null!==(D=null==ep?void 0:null===(T=ep.commertialOffer)||void 0===T?void 0:T.Price)&&void 0!==D?D:0,testId:"price","data-value":null==ep?void 0:null===(R=ep.commertialOffer)||void 0===R?void 0:R.Price,variant:"spot","data-fs-teste":!0,classes:"text__body",SRText:"Sale Price:"}),(0,S.jsx)("span",{"data-fs-otros-text":!0,children:"Otros"})]})]}),(null==H?void 0:H.type)!=="GIFT"&&(0,S.jsx)(S.Fragment,{children:(null==H?void 0:H.type)==="TEXTILE"?(0,S.jsx)(S.Fragment,{children:(0,S.jsx)("button",{"data-fs-drawer-button":!0,onClick:()=>{if(ea){eo(!0);return}V&&V({product:L,linkProps:es,bestPromotion:eh,selectedSeller:ep,index:A,pum:ev}),q&&q(!0)},children:"Agregar ya"})}):(0,S.jsx)(x.S,{buttonType:ei?"food":"default",productId:L.id,sellerId:null!==(N=null==ep?void 0:ep.sellerId)&&void 0!==N?N:"1",availableQuantity:er,categories:L.breadcrumbList.itemListElement.map(e=>e.name),productContext:en,index:A,items:[L]})})]})]}))})},61343:function(e,r,t){"use strict";t.d(r,{Z:function(){return BannerText_BannerText}});var n=t(48232),a=t(98839),o=t(9349),i=t(85721),l=t(47595),s=t(41047),c=t.n(s),d=t(85893),BannerText_BannerText=function(e){var{title:r,caption:t,actionPath:s,actionLabel:u,variant:m="primary",colorVariant:f="main"}=e;return(0,d.jsx)(l.Z,{className:"layout__section",children:(0,d.jsx)(n.Z,{className:c().fsBannerText,"data-fs-banner-text":!0,"data-fs-banner-text-variant":m,"data-fs-banner-text-color-variant":f,children:(0,d.jsxs)(a.Z,{"data-fs-banner-text-content":!0,className:"layout__content",children:[(0,d.jsxs)("div",{"data-fs-banner-text-heading":!0,"data-fs-banner-text-color-variant":f,children:[(0,d.jsx)("h2",{children:r}),"secondary"===m&&t&&(0,d.jsx)("p",{children:t})]}),(0,d.jsx)(o.Z,{"data-fs-banner-text-link":!0,children:(0,d.jsx)(i.ZP,{href:s,variant:m,inverse:"main"===f,children:u})})]})})})}},51549:function(e,r,t){"use strict";var n=t(5152),a=t.n(n),o=t(85893),i=a()(()=>Promise.all([t.e(441),t.e(577)]).then(t.bind(t,28577)),{loadableGenerated:{webpack:()=>[28577]}});r.Z=e=>{var{images:r,carouselTitle:t,carouselUrl:n,quantityPerPage:a,showArrowsDesktop:l,showArrowsMobile:s,showDotsDesktop:c,showDotsMobile:d,showComponent:u,background:m,textAlignment:f,promotionParams:p}=e;return(0,o.jsx)(o.Fragment,{children:r&&(0,o.jsx)(i,{images:r,quantityPerPage:a,showComponent:u,showArrowsDesktop:l,showArrowsMobile:s,showDotsDesktop:c,showDotsMobile:d,background:m,carouselTitle:t,carouselUrl:n,textAlignment:f,promotionParams:p})})}},21125:function(e,r,t){"use strict";t.d(r,{Z:function(){return ShelfArrows}});var n=t(59499),a=t(4730),o=t(14467),i=t(74110),l=t.n(i),s=t(85893),c=["direction"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){(0,n.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function ShelfArrows(e){var{direction:r}=e,t=(0,a.Z)(e,c);return(0,s.jsx)("button",_objectSpread(_objectSpread({className:l().buttonArrowShelf,"data-fs-derecha":"derecha"===r},t),{},{"aria-label":"derecha"===r?"button arrow right":"button arrow left",children:(0,s.jsx)(o.Z,{name:"iconOutlinedRightArrow",height:"24px",width:"24px"})}))}},65005:function(e,r,t){"use strict";t.r(r);var n=t(2261),a=t(99304),o=t(94505),i=t(26406),l=t(29830);t(60439),t(7025),t(19360),t(12924);var s=t(85893);r.default=e=>{var{hasImage:r,productEdges:t,alliedList:c,autoPlay:d,AutoScrollDelay:u,componentTitle:m,setDataDrawer:f,setIsDrawerOpen:p}=e,g=(0,l.jW)();return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(n.tq,{breakpoints:{1:{slidesPerView:1.05},480:{slidesPerView:1.4},600:{slidesPerView:1.7},768:{slidesPerView:2.2},950:{slidesPerView:2.6},1280:{slidesPerView:r?2.5:3.5}},navigation:{nextEl:".custom-arrow-next",prevEl:".custom-arrow-prev"},modules:[a.W_,a.tl,a.pt],autoplay:!!d&&{delay:u?1e3*u:2500,disableOnInteraction:!1},spaceBetween:g?13:26,style:{width:"100%"},pagination:!!g&&{clickable:!0},children:[t.map((e,r)=>(0,s.jsx)(n.o5,{children:(0,s.jsx)(o.Z,{ButtonBuy:!0,product:e.node,alliedList:c,index:r+1,componentTitle:m,setDataDrawer:f,setIsDrawerOpen:p},e.node.id)},e.node.id)),(0,s.jsx)("div",{className:"custom-arrow custom-arrow-prev",style:{display:g?"none":"block"},children:(0,s.jsx)(i.Z,{"data-fs-direction":!0,direction:"izquierda"})}),(0,s.jsx)("div",{className:"custom-arrow custom-arrow-next",style:{display:g?"none":"block"},children:(0,s.jsx)(i.Z,{direction:"derecha"})})]})})}},68485:function(e,r,t){"use strict";var n=t(2261),a=t(63917),o=t(29830),i=t(70426),l=t(83768),s=t(55556),c=t.n(s),d=t(85893);r.Z=function(e){var{endDate:r,initialDate:t,isActiveDesktop:s,isActiveMobile:u,marginBottom:m,marginBottomMobile:f,marginTop:p,marginTopMobile:g,titleSettings:h,cards:v,activeGradient:_}=e,y=(0,o.dD)(),x=(0,i.A)(t,r);return(!y||u)&&(y||s)&&x?(0,d.jsxs)("div",{"data-fs-max-width":!0,className:c().CarouselTaps,style:{marginTop:y?g:_?"-20px":p,marginBottom:y?f:m},children:[_&&!y&&(0,d.jsx)("div",{"data-fs-gradient-carousel":!0}),(0,d.jsxs)("div",{"data-fs-swiper":!0,children:[(null==h?void 0:h.text)&&!_&&(0,d.jsx)("h2",{style:{color:h.textColor,marginBottom:h.marginBottom},children:null==h?void 0:h.text}),(0,d.jsx)(n.tq,{slidesPerView:y?1.2:v.length,spaceBetween:y?13:26,navigation:{nextEl:".custom-arrow-next",prevEl:".custom-arrow-prev"},children:v.map((e,r)=>{var{imgDesktop:t,imgMobile:o,imgAlt:i,imgTitle:s,redirectLink:c,promotionParams:u,newTab:m}=e;return(0,d.jsx)(n.o5,{children:(0,d.jsx)(a.Z,{href:c,target:m?"_blank":"",onClick:()=>(0,l.i)({promotionParams:u,href:c,categoryName:s,imageUrl:y?o:t}),children:(0,d.jsx)("img",{"data-fs-img-tap":!0,src:y?o:t,alt:i,title:s})})},r)})})]})]}):(0,d.jsx)(d.Fragment,{})}},55300:function(e,r,t){"use strict";t.d(r,{Z:function(){return Cronometer_Cronometer}});var n=t(65005),a=t(78753),o=t(59499),i=t(4730),l=t(67294),s=t(9008),c=t.n(s),d=t(95932),u=t(85893),m=["preload","fetchPriority"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){(0,o.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var f=(0,l.forwardRef)((e,r)=>{var{preload:t=!1,fetchPriority:n}=e,a=(0,i.Z)(e,m),o=(0,d.d)(a),{src:l,sizes:s="100vw",srcSet:f}=o;return(0,u.jsxs)(u.Fragment,{children:[t&&(0,u.jsx)(c(),{children:(0,u.jsx)("link",{as:"image",rel:"preload",href:l,imageSrcSet:f,imageSizes:s,fetchpriority:n})}),(0,u.jsx)("img",_objectSpread(_objectSpread({ref:r,"data-fs-image":!0},o),{},{alt:o.alt,fetchpriority:n}))]})});f.displayName="Image";var p=(0,l.memo)(f),g=t(44682),h=t(16634),v=t(7104),_=t(29830),y=t(34853),x=t(47595),j=t(2261),b=t(99304),w=t(53634),S=t(21125),O=t(30973),C=t.n(O),Cronometer_Banners=e=>{var{bannerImages:r,isMobile:t}=e;return(0,u.jsx)(u.Fragment,{children:(null==r?void 0:r.length)>0&&(0,u.jsx)("div",{className:C().fsCronometer__BannerImagesContainer,"data-fs-cronometer-banner-images-container":!0,children:(0,u.jsxs)(j.tq,{modules:[b.W_],spaceBetween:t?8:13,navigation:{nextEl:".custom-arrow-next",prevEl:".custom-arrow-prev"},slidesPerView:"auto",className:"carouselimageswiper",children:[r.map((e,r)=>(0,u.jsx)(j.o5,{"data-swiper-slide":!0,style:t?e.isBigger?{width:"calc(100% - 11px)"}:{width:"calc(65.3% - 11px)"}:e.isBigger?{width:"643px"}:{width:"308px"},children:(0,u.jsx)(w.Z,{href:e.redirectLink,"data-cronometer-banner-image-link":!0,children:(0,u.jsx)("img",{"data-cronometer-banner-image":!0,src:t?e.imageMobile:e.image,title:e.imageTitle,alt:e.imageAlt,loading:"lazy"})})},"".concat(e.image,"-").concat(r))),(0,u.jsx)("div",{className:"custom-arrow custom-arrow-prev","data-prev-arrow":!0,children:(0,u.jsx)(S.Z,{"data-fs-direction":!0,direction:"izquierda"})}),(0,u.jsx)("div",{className:"custom-arrow custom-arrow-next","data-next-arrow":!0,children:(0,u.jsx)(S.Z,{direction:"derecha"})})]})})})},Cronometer_Cronometer=e=>{var r,t,o,i,l,s,c=(0,_.hE)(),d=(0,v.au)(e.finalDate),m=(0,h.kN)({first:10,sort:null!==(r=null===(t=e.shelfData)||void 0===t?void 0:t.sortBy)&&void 0!==r?r:"score_desc",term:null===(o=e.shelfData)||void 0===o?void 0:o.term,selectedFacets:[{key:null===(i=e.shelfData)||void 0===i?void 0:i.key,value:null===(l=e.shelfData)||void 0===l?void 0:l.value}]}),f=null!==(s=null==m?void 0:m.edges)&&void 0!==s?s:[],j=f.map(e=>e.node.sku),b=(0,y._P)("sku",j),w=c&&!e.isActiveMobile,S=!c&&!e.isActiveDesktop;if((0,v.lj)(e.initialDate,e.finalDate)||w||S)return null;var CronometerWrapper=()=>(0,u.jsx)("span",{children:(0,u.jsx)("span",{className:C().fsCronometer__Clock,style:{color:""!==e.countdownColor?e.countdownColor:"#551A8B"},children:d})});return(0,u.jsxs)(x.Z,{className:C().fsCronometer,"data-fs-cronometer":!0,children:[(0,u.jsx)(g.Z,{color:e.color,textAlignment:e.textAlignment,title:e.title,fontSize:e.fontSize,children:!c&&(0,u.jsx)(a.Z,{title:e.ctaText,href:e.ctaLink,color:e.ctaTextColor,isBackground:c?e.ctaBGColor:""})}),(0,u.jsxs)("div",{className:C().fsCronometer__Container,style:{backgroundColor:e.bgColor},children:[(0,u.jsx)(p,{src:c?e.imageSettings.bgImageMobile:e.imageSettings.bgImageDesktop,loading:"lazy",alt:"",title:"",height:50,width:75,"data-fs-cronometer-conteiner-bg-img":!0}),(0,u.jsxs)("div",{className:C().fsCronometer__TitleContainer,children:["izquierda"===e.countdownPosition&&!c&&(0,u.jsx)(CronometerWrapper,{}),(0,u.jsx)("h4",{className:C().fsCronometer__Title,style:{color:""!==e.fontColor?e.fontColor:"#262324"},children:e.countdownTitle}),("derecha"===e.countdownPosition||c)&&(0,u.jsx)(CronometerWrapper,{})]}),e.isShelf?(0,u.jsx)("div",{className:C().fsCronometer__ShelfContainer,children:(0,u.jsx)(n.default,{componentTitle:e.title,alliedList:null==b?void 0:b.getTeasersBySku,productEdges:f,disableArrow:!0})}):(0,u.jsx)(Cronometer_Banners,{bannerImages:e.bannerImages,isMobile:c})]}),c&&(0,u.jsx)(a.Z,{title:e.ctaText,href:e.ctaLink,color:e.ctaTextColor,isBackground:e.ctaBGColor})]})}},78753:function(e,r,t){"use strict";var n=t(53634),a=t(44230),o=t.n(a),i=t(85893);r.Z=e=>{var{href:r,title:t,color:a,isBackground:l,isSmall:s=!1,newTab:c=!1}=e;return(0,i.jsx)("button",{className:o().ButtonCtaShelf,"data-fs-button-shelf-cta":!0,"data-fs-is-small":!!s||null,children:(0,i.jsx)(n.Z,{target:c?"_blank":"",style:{color:null!=a?a:"#222222",backgroundColor:null!=l?l:void 0,fontSize:"16px"},href:r,children:t})})}},99281:function(e,r,t){"use strict";t.d(r,{Z:function(){return EmbeddedComponent_EmbeddedComponent}});var n=t(29830),a=t(85893),EmbeddedComponent_EmbeddedComponent=e=>{var{url:r,heightDesktop:t,widthDesktop:o,heightMobile:i,widthMobile:l}=e,s=(0,n.dD)();return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("iframe",{title:"embedded-component",src:r,width:s?"".concat(l,"%"):"".concat(o,"%"),height:s?"".concat(i,"px"):"".concat(t,"px")})})}},97111:function(e,r,t){"use strict";t.d(r,{Z:function(){return GalleryBanner_GalleryBanner}});var n=t(113),a=t(78753),o=t(53634),i=t(44682),l=t(26060),s=t(67665),c=t(47595),d=t(78548),u=t.n(d),m=t(85893),GalleryBanner_GalleryBanner=e=>{var r,t,d,f,p,g=(0,n.Z)("(max-width: 768px)",!1),h=null==e?void 0:null===(r=e.cardsVersions)||void 0===r?void 0:r.find(e=>e.isActive);return e&&null!=e&&null!==(t=e.cardsVersions)&&void 0!==t&&t.length&&null!=h&&null!==(d=h.cards)&&void 0!==d&&d.length?(0,m.jsxs)(c.Z,{className:u().fsGalleryBanner,style:{backgroundColor:e.bgColor,marginTop:e.marginTop,marginBottom:e.marginBottom},"data-fs-max-width":!0,"data-fs-gallery-banner":!0,children:[e.title&&(0,m.jsx)(i.Z,{textAlignment:e.textAlignment,title:e.title,children:!g&&e.ctaText&&(0,m.jsx)(a.Z,{title:e.ctaText,href:e.ctaLink,color:e.ctaTextColor,isBackground:e.ctaBGColor})}),(0,m.jsx)("div",{className:u().fsGalleryBanner__BannerGridContainer,"data-card-quantity":null==h?void 0:null===(f=h.cards)||void 0===f?void 0:f.length,children:null==h?void 0:null===(p=h.cards)||void 0===p?void 0:p.map((r,t)=>{var n,a,i;return(0,m.jsx)("div",{className:u().fsGalleryBanner__BannerGridBanner,"data-is-big":r.isBig,"data-card-quantity":null==h?void 0:null===(n=h.cards)||void 0===n?void 0:n.length,style:{backgroundColor:r.bgColor},children:null!=r&&null!==(a=r.GooglePublisherVideo)&&void 0!==a&&a.activeVideo?(0,m.jsx)(l.Z,{srcBanner:null==r?void 0:null===(i=r.GooglePublisherVideo)||void 0===i?void 0:i.srcVideo,sizeArray:s.DX,position:"Video Banner",active:!0}):(0,m.jsx)(o.Z,{href:r.redirectLink,"data-fs-gallery-banner-item-link-wrappper":!0,variant:"display",promotionParams:r.promotionParams,imageUrl:g?r.imgMobile:r.imgDesktop,"aria-label":"Link para categoria ".concat(e.title),children:(0,m.jsx)("img",{src:g?r.imgMobile:r.imgDesktop,alt:r.imgAlt,title:r.imgTitle,width:230,height:304,"data-fs-gallery-banner-item-image":!0})})},"GalleryBanner_card-".concat(t))})}),g&&e.ctaText&&(0,m.jsx)(a.Z,{title:e.ctaText,href:e.ctaLink,color:e.ctaTextColor,isBackground:e.ctaBGColor})]}):(0,m.jsx)(m.Fragment,{})}},89402:function(e,r,t){"use strict";t.d(r,{q:function(){return ImageGroup}});var n=t(53634),a=t(60103),o=t.n(a),i=t(85893);function ImageGroup(e){var{images:{firstImage:r,altSecondImage:t,hrefSecondImage:a,altFirstImage:l,hrefFirstImage:s,secondImage:c,firstImagePromotionParams:d,secondImagePromotionParams:u}}=e;return r||c?(0,i.jsxs)("div",{className:o()["gallery-layout_image-group"],children:[(0,i.jsx)("div",{className:o()["gallery-layout_image-group_element"],children:(0,i.jsx)(n.Z,{href:s||"/",promotionParams:d,imageUrl:r,children:(0,i.jsx)("img",{fetchpriority:"high",src:r,alt:l,sizes:"(max-width: 1024px) 100vw, 1024px"})})}),(0,i.jsx)("div",{className:o()["gallery-layout_image-group_element"],children:(0,i.jsx)(n.Z,{href:a||"/",promotionParams:u,imageUrl:c,children:(0,i.jsx)("img",{fetchpriority:"high",src:c,alt:t,sizes:"(max-width: 1024px) 100vw, 1024px"})})})]}):(0,i.jsx)(i.Fragment,{})}},58278:function(e,r,t){"use strict";t.d(r,{U:function(){return MainImage}});var n=t(59499),a=t(4730),o=t(53634),i=t(60103),l=t.n(i),s=t(85893),c=["image","type","href","altImage"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){(0,n.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function MainImage(e){var{image:r,type:t,href:n,altImage:i}=e,d=(0,a.Z)(e,c);return r?(0,s.jsx)("div",_objectSpread(_objectSpread({},d),{},{className:"".concat(l()["gallery-layout_main-banner"]," gallery-").concat(t),children:(0,s.jsx)(o.Z,{href:n,imageUrl:r,promotionParams:d.mainpromotionparams,children:(0,s.jsx)("img",{src:r,fetchpriority:"high",sizes:"(max-width: 1024px) 100vw, 1024px",width:643,height:462,alt:i,style:{borderRadius:12}})})})):(0,s.jsx)(s.Fragment,{})}},49699:function(e,r,t){"use strict";t.d(r,{Z:function(){return GalleryLayout}});var n=t(44682),a=t(29830),o=t(78753),i=t(29089),l=t(60103),s=t.n(l),c=t(89402),d=t(58278),u=t(85893),m={left:-1,center:0,right:1};function GalleryLayout(e){var{type:r="left",desktopImages:t,mobileImages:l,backgroundColor:f="#ffffff",title:p,altImage:g="alt",isActiveDesktop:h,isActiveMobile:v,ctaText:_,ctaLink:y,ctaBGColor:x,ctaTextColor:j,textAlignment:b}=e,w=(0,a.dD)();if(w&&!v||!w&&!h)return(0,u.jsx)(u.Fragment,{});var S=w?l:t;if(!S.mainImage)return(0,u.jsx)(u.Fragment,{});var O={firstImage:S.firstImage,altFirstImage:S.altFirstImage,hrefFirstImage:S.hrefFirstImage,altSecondImage:S.altSecondImage,hrefSecondImage:S.hrefSecondImage,secondImage:S.secondImage,titleImage1:S.titleImage1,titleImage2:S.titleImage2,firstImagePromotionParams:S.firstImagePromotionParams,secondImagePromotionParams:S.secondImagePromotionParams},C={firstImage:S.thirdImage,altFirstImage:S.altThirdImage,hrefFirstImage:S.hrefThirdImage,altSecondImage:S.altFourtImage,hrefSecondImage:S.hrefFourtImage,secondImage:S.fourtImage,titleImage1:S.titleImage3,titleImage2:S.titleImage4,firstImagePromotionParams:S.thirdImagePromotionParams,secondImagePromotionParams:S.fourtImagePromotionParams};return(0,u.jsxs)(i.Z,{className:s()["gallery-layout_background"],style:{backgroundColor:f},children:[(0,u.jsx)("header",{className:s()["gallery-layout_header"],children:(0,u.jsx)(n.Z,{title:p,textAlignment:b,children:!w&&(0,u.jsx)(o.Z,{isSmall:!0,title:null!=_?_:"",href:null!=y?y:"/",color:j,isBackground:x})})}),(0,u.jsxs)("div",{className:"".concat(s()["gallery-layout__container"]),children:[(0,u.jsx)(c.q,{images:O}),(0,u.jsx)(d.U,{image:null==S?void 0:S.mainImage,type:r,href:null==S?void 0:S.hrefImage,altImage:g,title:null==S?void 0:S.titleImage,style:{order:m[r]},mainpromotionparams:null==S?void 0:S.mainImagesPromotionParams}),(0,u.jsx)(c.q,{images:C})]}),w&&(0,u.jsx)(o.Z,{isSmall:!0,title:null!=_?_:"",href:null!=y?y:"/",color:j,isBackground:x})]})}},34215:function(e,r,t){"use strict";t.d(r,{Z:function(){return GalleryLayoutTwo}});var n=t(44682),a=t(29830),o=t(70426),i=t(78753),l=t(29089),s=t(60103),c=t.n(s),d=t(89402),u=t(58278),m=t(85893),f={left:-1,center:0,right:1};function GalleryLayoutTwo(e){var{type:r="left",imageMain:t,cards:s,backgroundColor:p="#ffffff",title:g,altImage:h="alt",isActiveDesktop:v,isActiveMobile:_,ctaText:y,ctaLink:x,ctaBGColor:j,ctaTextColor:b,textAlignment:w,initialDate:S,endDate:O}=e,C=(0,a.dD)(),P=(0,o.A)(S,O);if(C&&!_||!C&&!v||!t||!P)return(0,m.jsx)(m.Fragment,{});var I={firstImage:C?s[0].imgMobile:s[0].imgDesktop,altFirstImage:s[0].imgAlt,hrefFirstImage:s[0].redirectLink,titleImage1:s[0].imgTitle,firstImagePromotionParams:s[0].promotionParams,secondImage:C?s[1].imgMobile:s[1].imgDesktop,altSecondImage:s[1].imgAlt,hrefSecondImage:s[1].redirectLink,titleImage2:s[1].imgTitle,secondImagePromotionParams:s[1].promotionParams},k={firstImage:C?s[2].imgMobile:s[2].imgDesktop,altFirstImage:s[2].imgAlt,hrefFirstImage:s[2].redirectLink,altSecondImage:s[3].imgAlt,hrefSecondImage:s[3].redirectLink,secondImage:C?s[3].imgMobile:s[3].imgDesktop,titleImage1:s[2].imgTitle,titleImage2:s[3].imgTitle,firstImagePromotionParams:s[2].promotionParams,secondImagePromotionParams:s[3].promotionParams};return(0,m.jsxs)(l.Z,{className:c()["gallery-layout_background"],style:{backgroundColor:p},children:[(0,m.jsx)("header",{className:c()["gallery-layout_header"],children:(0,m.jsx)(n.Z,{title:g,textAlignment:w,children:!C&&(0,m.jsx)(i.Z,{isSmall:!0,title:null!=y?y:"",href:null!=x?x:"/",color:b,isBackground:j})})}),(0,m.jsxs)("div",{className:"".concat(c()["gallery-layout__container"]),children:[(0,m.jsx)(d.q,{images:I}),(0,m.jsx)(u.U,{image:C?t.imgMobile:t.imgDesktop,type:r,href:t.hrefImage,altImage:h,title:t.titleImage,style:{order:f[r]}}),(0,m.jsx)(d.q,{images:k})]}),C&&(0,m.jsx)(i.Z,{isSmall:!0,title:null!=y?y:"",href:null!=x?x:"/",color:b,isBackground:j})]})}},54069:function(e,r,t){"use strict";var n=t(63921),a=t.n(n),o=t(85893);r.Z=e=>{var{htmlCode:r,activejs:t}=e;return(0,o.jsx)("div",{"data-fs-max-width":!0,style:{width:"100%"},className:a().fsHtmlRenderSeo,dangerouslySetInnerHTML:t?{__html:r}:{__html:r.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"")}})}},53294:function(e,r,t){"use strict";t.d(r,{Z:function(){return Incentives_IncentivesHeader}});var n=t(48164),a=t(67294);let o=(0,a.forwardRef)(function({testId:e="store-incentive",children:r,...t},n){return a.createElement("div",Object.assign({ref:n,"data-fs-incentive":!0,"data-testid":e},t),r)});var i=t(91953),l=t(58042),s=t.n(l),c=t(85893),Incentives_Incentives=function(e){var{incentives:r,variant:t="horizontal",colored:a=!1}=e;return(0,c.jsx)("div",{"data-fs-incentives":!0,"data-fs-incentives-colored":a,"data-fs-incentives-variant":t,className:s().fsIncentives,children:(0,c.jsx)(n.Z,{variant:"unordered",className:"layout__content",children:r.map((e,r)=>(0,c.jsx)("li",{children:(0,c.jsxs)(o,{children:[(0,c.jsx)(i.Z,{"data-fs-incentive-icon":!0,name:e.icon,width:32,height:32}),(0,c.jsxs)("div",{"data-fs-incentive-content":!0,children:[e.title&&(0,c.jsx)("p",{"data-fs-incentive-title":!0,children:e.title}),(0,c.jsx)("span",{"data-fs-incentive-description":!0,children:e.firstLineText}),e.secondLineText&&(0,c.jsx)("span",{"data-fs-incentive-description":!0,children:e.secondLineText})]})]})},String(r)))})})},d=t(47595),Incentives_IncentivesHeader=function(e){var{incentives:r}=e;return(0,c.jsx)(d.Z,{children:(0,c.jsx)(Incentives_Incentives,{incentives:r,colored:!0})})}},20059:function(e,r,t){"use strict";t.d(r,{Z:function(){return LegalText_LegalText}});var n=t(29830),a=t(47595),o=t(37110),i=t.n(o),l=t(85893),LegalText_LegalText=e=>{var{content:r,fontSizeDesktop:t,fontSizeMobile:o}=e,s=(0,n.dD)();return(0,l.jsx)(a.Z,{"data-fs-max-width":!0,children:(0,l.jsx)("div",{className:"".concat(i().fsLegalText),children:(0,l.jsx)("p",{style:{fontSize:s?"".concat(o,"px"):"".concat(t,"px")},"data-fs-legal-text-content":!0,children:r})})})}},93551:function(e,r,t){"use strict";t.d(r,{Z:function(){return _}});var n=t(59499),a=t(4730),o=t(67294),i=t(52223),l=t(886),s=t(91953),c=t(85721),d=t(53634),u=t(48061),m=t(41839),useNewsletter=()=>{var[e,{data:r,error:t,isValidating:n}]=(0,m.t)("SubscribeToNewsletter",{data:{name:"",email:""}});return{subscribeUser:e,data:r,error:t,loading:n}},f=t(47595),p=t(79737),g=t.n(p),h=t(85893),v=["title","description","card","lite"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){(0,n.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var _=(0,o.forwardRef)(function(e,r){var{title:t,description:n,card:m=!1,lite:p=!1}=e,_=(0,a.Z)(e,v),{subscribeUser:y,loading:x,data:j}=useNewsletter(),b=(0,o.useRef)(null),w=(0,o.useRef)(null),{pushToast:S}=(0,l.l)();return(0,h.jsx)(f.Z,{"data-fs-newsletter":m?"card":"",className:"layout__section ".concat(g().fsNewsletter),children:(0,h.jsxs)(i.Z,_objectSpread(_objectSpread({"data-fs-newsletter-form":!0,ref:r,onSubmit:e=>{var r,t,n,a,o;e.preventDefault(),y({data:{name:null!==(r=null===(t=b.current)||void 0===t?void 0:t.value)&&void 0!==r?r:"",email:null!==(n=null===(a=w.current)||void 0===a?void 0:a.value)&&void 0!==n?n:""}}),null!=j&&null!==(o=j.subscribeToNewsletter)&&void 0!==o&&o.id?S({title:"Hooray!",message:"Thank for your subscription.",status:"INFO",icon:"iconOutlinedWarning"}):S({title:"Oops.",message:"Something went wrong. Please Try again.",status:"ERROR",icon:"iconOutlinedAlert"}),e.currentTarget.reset()}},_),{},{className:"layout__content",children:[(0,h.jsxs)("header",{"data-fs-newsletter-header":!0,children:[(0,h.jsxs)("h3",{children:[(0,h.jsx)(s.Z,{name:"Envelop",width:32,height:32}),t]}),n&&(0,h.jsxs)("span",{children:[" ",n]})]}),(0,h.jsx)("div",{"data-fs-newsletter-controls":!0,children:p?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(u.Z,{inputRef:w,id:"newsletter-email",label:"Your Email",type:"email",required:!0,actionable:!0,onSubmit:()=>void 0,onClear:()=>void 0,buttonActionText:"Subscribe",displayClearButton:!1}),(0,h.jsxs)("span",{"data-fs-newsletter-addendum":!0,children:["By subscribing to our newsletter you agree to to our"," ",(0,h.jsx)(d.Z,{href:"/",inverse:!0,variant:"inline",children:"Privacy Policy."})]})]}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(u.Z,{inputRef:b,id:"newsletter-name",label:"Your Name",required:!0}),(0,h.jsx)(u.Z,{inputRef:w,id:"newsletter-email",label:"Your Email",type:"email",required:!0}),(0,h.jsxs)("span",{"data-fs-newsletter-addendum":!0,children:["By subscribing to our newsletter you agree to to our"," ",(0,h.jsx)(d.Z,{href:"/",inverse:!0,variant:"inline",children:"Privacy Policy."})]}),(0,h.jsx)(c.Co,{variant:"secondary",inverse:!0,type:"submit",children:x?"Loading...":"Subscribe"})]})})]}))})})},87196:function(e,r,t){"use strict";t.d(r,{Z:function(){return ProductShelfRotary_ProductShelfRotary}});var n=t(59499),a=t(4730),o=t(67294),i=t(70131),l=t(5152),s=t.n(l),c=t(6414),d=t(16634),u=t(20293),m=t(44682),f=t(34853),p=t(29830),g=t(75756),h=t(78753),v=t(53634),_=t(30063),y=t.n(_),x=t(85893),RotaryUnicSlider_RotaryUnicSlider=e=>{var{images:r,positionImage:t}=e;return r?(0,x.jsx)("div",{"data-fs-unic-slider":!0,style:{paddingRight:"izquierda"===t?"29px":"0",paddingLeft:"derecha"===t?"29px":"0"},className:y().RotaryUnicSlider,children:(0,x.jsx)(v.Z,{href:r.href,"data-fs-button-rotarty-unic-slider":!0,children:(0,x.jsx)("img",{src:r.src,alt:"img"})})}):null},j=t(47595),b=t(94505),w=t(98332),S=t.n(w);t(60439),t(7025),t(19360),t(12924);var ShelfRotaryMobile_ShelfRotaryMobile=e=>{var r,{productEdges:t,image:n,ColorBackground:a,componentTitle:o,alliedList:i,setDataDrawer:l,setIsDrawerOpen:s}=e;return(0,x.jsxs)("div",{style:{backgroundColor:null!=a?a:"transparent"},className:S().ShelfRotaryMobile,children:[(0,x.jsx)("div",{"data-fs-image-container":!0,style:{position:"relative"},children:(0,x.jsx)(v.Z,{href:n.href,"aria-label":"Link to product ".concat(null!==(r=t[0].node.name)&&void 0!==r?r:""),children:(0,x.jsx)("img",{width:334,height:171,src:n.src})})}),t.map((e,r)=>(0,x.jsx)(b.Z,{ButtonBuy:!0,product:e.node,alliedList:i,index:r+1,componentTitle:o,setDataDrawer:l,setIsDrawerOpen:s},e.node.id))]})},O=t(83933),C=t.n(O),P=["title","withDivisor","imagesDesktop","imageMobile","background","isActiveDesktop","isActiveMobile","autoScroll","AutoScrollDelay","ctaText","ctaLink","ctaTextColor","ctaBGColor","textAlignment","positionImage","componentTitle","alliedList"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}var I=s()(()=>Promise.resolve().then(t.bind(t,65005)),{loadableGenerated:{webpack:()=>[65005]}}),ProductShelfRotary_ProductShelfRotary=function(e){var r,t,l,s,v,_,y,b,w,S,O,k,B,{title:Z,withDivisor:D=!1,imagesDesktop:T,imageMobile:R,background:N,isActiveDesktop:L,isActiveMobile:A,autoScroll:G,AutoScrollDelay:E=2.5,ctaText:M,ctaLink:F,ctaTextColor:z,ctaBGColor:K,textAlignment:V,positionImage:q,componentTitle:U,alliedList:W}=e,Y=(0,a.Z)(e,P),{0:H,1:Q}=(0,o.useState)(!1),{0:X,1:J}=(0,o.useState)(),$=(0,o.useRef)(!1),{ref:ee,inView:er}=(0,i.YD)(),et=(0,d.kN)(function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){(0,n.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}({first:10},Y)),en=null!==(r=null==et?void 0:et.edges)&&void 0!==r?r:[],ea=(0,p.jW)(1080),eo=en.map(e=>e.node.sku),ei=(0,f._P)("sku",eo),{sendViewItemListEvent:el}=(0,c.m)({products:en,title:"vitrina ".concat(Z),page:0,pageSize:0}),es="vitrina ".concat(Z);if((0,o.useEffect)(()=>{er&&!$.current&&en.length&&(el(),$.current=!0)},[er,en.length,el]),(null==et?void 0:et.edges.length)===0)return null;var ec="esconder";return L&&A?ec="ambos":A?ec="movil":L&&(ec="escritorio"),(0,x.jsxs)(j.Z,{className:"layout__section ".concat(D?"section__divisor":""," ").concat(C().sectionShelf),"data-rotary-slider":ec,ref:ee,children:[(0,x.jsxs)("div",{"data-fs-background":!0,style:{backgroundColor:ea?"transparent":null!=N?N:"transparent"},children:[(0,x.jsx)(m.Z,{"data-fs-title-desktop":!0,textAlignment:V,title:null!=Z?Z:"",children:(0,x.jsx)(h.Z,{title:null!=M?M:"",href:null!=F?F:"/",color:z,isBackground:K})}),ea?(0,x.jsx)("div",{className:C().fsProductShelf,children:(0,x.jsx)(u.Z,{loading:void 0===et,children:(0,x.jsx)(ShelfRotaryMobile_ShelfRotaryMobile,{ColorBackground:N,image:R,alliedList:null==ei?void 0:ei.getTeasersBySku,productEdges:en,componentTitle:es,setDataDrawer:J,setIsDrawerOpen:Q})})}):(0,x.jsx)("div",{className:C().fsProductShelf,style:{flexDirection:"izquierda"===q?"row":"row-reverse"},children:(0,x.jsxs)(u.Z,{loading:void 0===et,children:[(0,x.jsx)(RotaryUnicSlider_RotaryUnicSlider,{positionImage:q,images:T}),(0,x.jsx)(I,{hasImage:!0,AutoScrollDelay:E,autoPlay:G,productEdges:en,componentTitle:es,alliedList:null==ei?void 0:ei.getTeasersBySku,setDataDrawer:J,setIsDrawerOpen:Q})]})})]}),(0,x.jsx)("div",{"data-fs-space":!0}),H&&(0,x.jsx)(g.Z,{availableQuantity:null!==(t=null==X?void 0:null===(l=X.product)||void 0===l?void 0:null===(s=l.offers)||void 0===s?void 0:null===(v=s.offers[0])||void 0===v?void 0:v.quantity)&&void 0!==t?t:0,alliedList:W,callbackIsOpen:e=>{Q(e)},product:null==X?void 0:X.product,linkProps:null!==(_=null==X?void 0:X.linkProps)&&void 0!==_?_:{href:"","data-testid":"",onClick:()=>null},selectedSeller:null==X?void 0:X.selectedSeller,open:H,componentTitle:null!==(y=null!=U?U:"vitrina ".concat(Z))&&void 0!==y?y:"",index:null!==(b=Y.index)&&void 0!==b?b:1,minorProfit:void 0,unitMultiplier:null!==(w=null==X?void 0:null===(S=X.product)||void 0===S?void 0:null===(O=S.offers)||void 0===O?void 0:null===(k=O.offers[0])||void 0===k?void 0:null===(B=k.itemOffered)||void 0===B?void 0:B.unitMultiplier)&&void 0!==w?w:0})]})}},48157:function(e,r,t){"use strict";t.d(r,{Z:function(){return CardCarousel_CardCarousel}});var n=t(85893),CardCarousel_CardItem=e=>{var{imageCard:r,altImageCard:t,textCard:a,width:o=137,href:i,height:l=133}=e;return(0,n.jsxs)("article",{"data-card-image-container":!0,children:[(0,n.jsx)("a",{href:i,children:(0,n.jsx)("img",{"data-card-image":!0,src:r,alt:t,height:l,width:o})}),a&&(0,n.jsx)("p",{"data-card-image-text":!0,children:a})]})},a=t(31915),o=t.n(a),CardCarousel_CardCarousel=e=>{var{cardItems:r,showSlider:t,width:a,height:i,charactersAllowed:l=85,cardsToDisplay:s=6}=e;if(!t)return null;var shorText=(e,r)=>e.slice(0,r);return(0,n.jsx)("section",{className:o().cardCarousel,children:(0,n.jsx)("div",{"data-cards-container":!0,children:r.slice(0,s).map((e,r)=>{var{imageCard:t,href:o,altImageCard:s,textCard:c}=e;return(0,n.jsx)(CardCarousel_CardItem,{width:a,height:i,imageCard:t,href:o,altImageCard:s,textCard:shorText(c,l)},"".concat(s,"-").concat(r))})})})}},89575:function(e,r,t){"use strict";t.d(r,{Z:function(){return n.Z}});var n=t(3890)},98278:function(e,r,t){"use strict";var n=t(59499),a=t(4730),o=t(67294),i=t(70131),l=t(2261),s=t(99304),c=t(20293),d=t(78753),u=t(16634),m=t(29830),f=t(6414),p=t(70426),g=t(70620),h=t(70757),v=t(4805),_=t.n(v);t(60439),t(7025),t(19360),t(12924);var y=t(34853),x=t(85893),j=["autoScroll","background","ctaSettings","titleSettings","imageSettings","isActiveDesktop","isActiveMobile","componentTitle","initialDate","endDate","marginBottom","marginBottomMobile","marginTop","marginTopMobile"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}r.Z=function(e){var r,t,{autoScroll:v,background:b,ctaSettings:w,titleSettings:S,imageSettings:O,isActiveDesktop:C,isActiveMobile:P,componentTitle:I,initialDate:k,endDate:B,marginBottom:Z,marginBottomMobile:D,marginTop:T,marginTopMobile:R}=e,N=(0,a.Z)(e,j),{0:L,1:A}=(0,o.useState)(!1),{0:G,1:E}=(0,o.useState)(!1),{0:M,1:F}=(0,o.useState)();N.first=null!=N&&N.first&&(null==N?void 0:N.first)<=10?N.first:10;var z=(0,o.useRef)(!1),{ref:K,inView:V}=(0,i.YD)(),q=(0,u.kN)(function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){(0,n.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}({first:10,term:""},N)),U=null!==(r=null==q?void 0:q.edges)&&void 0!==r?r:[],W=(0,m.dD)(),Y={1080:{slidesPerView:O.imageDesktop?4:5}},H=U.map(e=>e.node.sku),Q=(0,y._P)("sku",H),{sendViewItemListEvent:X}=(0,f.m)({products:U,title:"vitrina ".concat(S),page:0,pageSize:0}),J=U.filter(e=>e.node.sellers.length),$="izquierda"===O.positionImage,ee=(0,p.A)(k,B);return((0,o.useEffect)(()=>{V&&!z.current&&U.length&&(X(),z.current=!0)},[V,U.length,X]),(null==q?void 0:q.edges.length)!==0&&(!W||P)&&(W||C)&&ee)?(0,x.jsxs)("section",{"data-fs-max-width":!0,"data-fs-productShelfRotary":!0,className:_().productShelfRotary,style:{marginTop:W?R:T,marginBottom:W?D:Z},ref:K,children:[(0,x.jsx)(c.Z,{loading:void 0===q,children:(0,x.jsxs)("div",{"data-fs-background":!0,style:{backgroundColor:b},children:[(null==S?void 0:S.text)&&(0,x.jsxs)("div",{"data-fs-title":!0,children:[(0,x.jsx)("h2",{style:{color:null==S?void 0:S.textColor,marginBottom:null==S?void 0:S.marginBottom},children:null==S?void 0:S.text}),!O.imageDesktop&&!O.imageMobile&&(0,x.jsx)(d.Z,{newTab:w.newTab,title:w.ctaText||"",href:w.ctaLink||"/",color:w.ctaTextColor,isBackground:w.ctaBGColor})]}),(0,x.jsxs)("div",{className:_().fsProductShelf,style:{flexDirection:W?"column":$?"row":"row-reverse"},children:[O.imageDesktop&&O.imageMobile&&(0,x.jsx)("a",{href:O.href,target:O.newTab?"_blank":"",rel:"noreferrer",children:(0,x.jsx)("img",{alt:"img",src:W?O.imageMobile:O.imageDesktop,"data-fs-ProductShelfBanner":!0})}),(0,x.jsx)(l.tq,{breakpoints:Y,"data-fs-swipper":!0,navigation:!W,modules:[s.W_,s.tl,s.pt],slidesPerView:"auto",autoplay:v,spaceBetween:W?13:26,children:J.map((e,r)=>(0,x.jsx)(l.o5,{"data-fs-slide-item":!0,children:(0,x.jsx)(g.Z,{product:e.node,index:r+1,componentTitle:"vitrina ".concat(S),alliedList:null==Q?void 0:Q.getTeasersBySku,setIsDrawerOpen:E,setDataDrawer:F,setShowSubstitutes:A})},e.node.id))})]})]})}),(0,x.jsx)("div",{"data-fs-space":!0}),(0,x.jsx)(h.Z,{showSubstitutes:L,type:null==M?void 0:M.type,setShowSubstitutes:A,product:null==M?void 0:M.product,isDrawerOpen:G,linkProps:null==M?void 0:M.linkProps,pum:null==M?void 0:M.pum,selectedSeller:null==M?void 0:M.selectedSeller,unitMultiplier:null==M?void 0:M.unitMultiplier,index:null!==(t=N.index)&&void 0!==t?t:1,currentMeat:null==M?void 0:M.currentMeat,setOpenDrawer:E,minorProfit:null==M?void 0:M.minorProfit,alliedList:null==Q?void 0:Q.getTeasersBySku,componentTitle:I,quantity:null==M?void 0:M.quantity})]}):(0,x.jsx)(x.Fragment,{})}},99435:function(e,r,t){"use strict";t.d(r,{Z:function(){return RotarySlider_RotarySlider}});var n=t(67294),a=t(53634),o=t(29830),i=t(85893),l=t(113),s=t(2261),c=t(99304),d=t(59499),u=t(4730),m=t(14467),f=t(67977),p=t.n(f),g=["direction"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){(0,d.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function ShelfArrows(e){var{direction:r}=e,t=(0,u.Z)(e,g);return(0,i.jsx)("button",_objectSpread(_objectSpread({className:p().buttonArrowShelf,"data-fs-derecha":"derecha"===r},t),{},{"aria-label":"derecha"===r?"button arrow right":"button arrow left",children:(0,i.jsx)(m.Z,{name:"iconOutlinedRightArrow",height:"24px",width:"24px"})}))}var h=t(61278),v=t.n(h),_=(0,n.memo)(e=>{var{showBanner:r,bannerItem:t}=e,{promotionParams:n}=t,l=(0,o.jW)();return(0,i.jsx)(i.Fragment,{children:r&&(0,i.jsx)(a.Z,{"data-banner-item":!0,href:null==t?void 0:t.bannerUrl,promotionParams:n,imageUrl:l?null==t?void 0:t.bannerMobileImg:null==t?void 0:t.bannerImg,"aria-label":null==t?void 0:t.bannerAlt,children:(0,i.jsx)("img",{"data-banner-item-image":!0,src:l?null==t?void 0:t.bannerMobileImg:null==t?void 0:t.bannerImg,alt:null==t?void 0:t.bannerAlt,title:null==t?void 0:t.seoTitle})})})}),y=(0,n.memo)(e=>{var{showSlider:r,autoPlay:t,autoScrollDelay:n,sliderItems:o,arrows:d,dots:u}=e,m=(0,l.Z)("(max-width: 768px)",!1);return r?(0,i.jsxs)(s.tq,{autoplay:!!t&&{delay:n?1e3*n:2500,disableOnInteraction:!1},navigation:{nextEl:".custom-arrow-next",prevEl:".custom-arrow-prev"},modules:[c.W_,c.tl,c.pt],pagination:{enabled:u,clickable:!0},slidesPerView:1,className:"carouselimageswiper","data-slider-container":!0,children:[null==o?void 0:o.map((e,r)=>{var{slideAlt:t,slideImg:n,slideMobileImg:o,slideUrl:l,promotionParams:c,seoTitle:d}=e;return(0,i.jsx)(s.o5,{"data-slider-item":!0,children:(0,i.jsx)(a.Z,{href:l,promotionParams:c,imageUrl:m?o:n,"data-slider-item":!0,children:(0,i.jsx)("div",{"data-image-container":!0,children:(0,i.jsx)("img",{"data-slider-item-image":!0,src:m?o:n,title:d,alt:t,loading:"eager"})})})},"".concat(n,"-").concat(r))}),(0,i.jsx)("div",{className:"custom-arrow custom-arrow-prev","data-show-arrows":d,"data-prev-arrow":!0,children:(0,i.jsx)(ShelfArrows,{"data-fs-direction":!0,direction:"izquierda"})}),(0,i.jsx)("div",{className:"custom-arrow custom-arrow-next","data-show-arrows":d,"data-next-arrow":!0,children:(0,i.jsx)(ShelfArrows,{direction:"derecha"})})]}):null}),RotarySlider_RotarySlider=e=>{var{autoPlay:r,autoScrollDelay:t,sliderItems:n,bannerItem:a,showSlider:o,showBanner:l,arrows:s,dots:c,side:d,isActiveDesktop:u,isActiveMobile:m}=e,f="esconder";return(u&&m?f="ambos":m?f="movil":u&&(f="escritorio"),"derecha"===d)?(0,i.jsx)("div",{"data-fs-max-width":!0,className:"".concat(v().RotarySlider," ").concat(l&&v().RotarySliderWithBanner),children:(0,i.jsxs)("div",{"data-rotary-slider":f,"data-show-dots":!c,children:[(0,i.jsx)(_,{"data-banner":!0,bannerItem:a,showBanner:l}),(0,i.jsx)(y,{"data-slider":!0,autoPlay:r,autoScrollDelay:t,showSlider:o,sliderItems:n,arrows:s,dots:c})]})}):(0,i.jsx)("div",{"data-fs-max-width":!0,className:"".concat(v().RotarySlider," ").concat(l&&v().RotarySliderWithBanner),children:(0,i.jsxs)("div",{"data-rotary-slider":f,"data-show-dots":!c,children:[(0,i.jsx)(y,{"data-slider":!0,autoPlay:r,autoScrollDelay:t,showSlider:o,sliderItems:n,arrows:s,dots:c}),(0,i.jsx)(_,{"data-banner":!0,bannerItem:a,showBanner:l})]})})}},26406:function(e,r,t){"use strict";t.d(r,{Z:function(){return ShelfArrows}});var n=t(59499),a=t(4730),o=t(14467),i=t(18059),l=t.n(i),s=t(85893),c=["direction"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){(0,n.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function ShelfArrows(e){var{direction:r}=e,t=(0,a.Z)(e,c);return(0,s.jsx)("button",_objectSpread(_objectSpread({className:l().buttonArrowShelf,"data-fs-derecha":"derecha"===r},t),{},{"aria-label":"derecha"===r?"button arrow right":"button arrow left",children:(0,s.jsx)(o.Z,{name:"iconOutlinedRightArrow",height:"24px",width:"24px"})}))}},69179:function(e,r){"use strict";r.Z={}},93632:function(e){e.exports={sliderFull:"slider-full_sliderFull___LTzS"}},86035:function(e){e.exports={fsProductCard:"productCardVitrina_fsProductCard__Sph4V","container-promotion":"productCardVitrina_container-promotion__7eNPc",containerPromotion:"productCardVitrina_container-promotion__7eNPc","container-promotion_discount":"productCardVitrina_container-promotion_discount__OeqhY",containerPromotionDiscount:"productCardVitrina_container-promotion_discount__OeqhY","container-promotion_price-dashed":"productCardVitrina_container-promotion_price-dashed__baiLB",containerPromotionPriceDashed:"productCardVitrina_container-promotion_price-dashed__baiLB"}},41047:function(e){e.exports={"fs-banner-text":"banner-text_fs-banner-text__d3MSX",fsBannerText:"banner-text_fs-banner-text__d3MSX"}},74110:function(e){e.exports={buttonArrowShelf:"ShelfArrows_buttonArrowShelf__s0Iv4"}},55556:function(e){e.exports={CarouselTaps:"Carousel-taps_CarouselTaps__1nHSU",carouselTaps:"Carousel-taps_CarouselTaps__1nHSU",ActiveGradient:"Carousel-taps_ActiveGradient__CuzXe",activeGradient:"Carousel-taps_ActiveGradient__CuzXe"}},30973:function(e){e.exports={fsCronometer:"Cronometer_fsCronometer__Z0kUY",fsCronometer__Container:"Cronometer_fsCronometer__Container__VSXRn",fsCronometerContainer:"Cronometer_fsCronometer__Container__VSXRn",fsCronometer__TitleContainer:"Cronometer_fsCronometer__TitleContainer__xAuPh",fsCronometerTitleContainer:"Cronometer_fsCronometer__TitleContainer__xAuPh",fsCronometer__Clock:"Cronometer_fsCronometer__Clock__pPcq9",fsCronometerClock:"Cronometer_fsCronometer__Clock__pPcq9",fsCronometer__Title:"Cronometer_fsCronometer__Title__4_9ND",fsCronometerTitle:"Cronometer_fsCronometer__Title__4_9ND",fsCronometer__ShelfContainer:"Cronometer_fsCronometer__ShelfContainer__duSjx",fsCronometerShelfContainer:"Cronometer_fsCronometer__ShelfContainer__duSjx",fsCronometer__BannerImagesContainer:"Cronometer_fsCronometer__BannerImagesContainer__lOoCb",fsCronometerBannerImagesContainer:"Cronometer_fsCronometer__BannerImagesContainer__lOoCb",fsCronometer__BannerImageWrapper:"Cronometer_fsCronometer__BannerImageWrapper__11sgK",fsCronometerBannerImageWrapper:"Cronometer_fsCronometer__BannerImageWrapper__11sgK"}},44230:function(e){e.exports={ButtonCtaShelf:"CtaShelf_ButtonCtaShelf__mWXRn",buttonCtaShelf:"CtaShelf_ButtonCtaShelf__mWXRn"}},78548:function(e){e.exports={fsGalleryBanner:"GalleryBanner_fsGalleryBanner__UMCww",fsGalleryBanner__BannerGridContainer:"GalleryBanner_fsGalleryBanner__BannerGridContainer___0JQ2",fsGalleryBannerBannerGridContainer:"GalleryBanner_fsGalleryBanner__BannerGridContainer___0JQ2",fsGalleryBanner__BannerGridBanner:"GalleryBanner_fsGalleryBanner__BannerGridBanner__iCRay",fsGalleryBannerBannerGridBanner:"GalleryBanner_fsGalleryBanner__BannerGridBanner__iCRay"}},60103:function(e){e.exports={"gallery-layout_background":"Gallery_gallery-layout_background__SHU_s",galleryLayoutBackground:"Gallery_gallery-layout_background__SHU_s","gallery-layout__container":"Gallery_gallery-layout__container__9jg5Y",galleryLayoutContainer:"Gallery_gallery-layout__container__9jg5Y","gallery-layout_header":"Gallery_gallery-layout_header__fcKzc",galleryLayoutHeader:"Gallery_gallery-layout_header__fcKzc","gallery-layout_main-banner":"Gallery_gallery-layout_main-banner__tlbFz",galleryLayoutMainBanner:"Gallery_gallery-layout_main-banner__tlbFz","gallery-layout_image-group":"Gallery_gallery-layout_image-group__zwJk2",galleryLayoutImageGroup:"Gallery_gallery-layout_image-group__zwJk2","gallery-layout_image-group_element":"Gallery_gallery-layout_image-group_element__pkW0U",galleryLayoutImageGroupElement:"Gallery_gallery-layout_image-group_element__pkW0U"}},63921:function(e){e.exports={fsHtmlRenderSeo:"HtmlRenderSeo_fsHtmlRenderSeo__QV5rZ"}},58042:function(e){e.exports={"fs-incentives":"incentives_fs-incentives__xIe5R",fsIncentives:"incentives_fs-incentives__xIe5R"}},37110:function(e){e.exports={fsLegalText:"legalText_fsLegalText__W8v8Y"}},79737:function(e){e.exports={"fs-newsletter":"newsletter_fs-newsletter__9hJOY",fsNewsletter:"newsletter_fs-newsletter__9hJOY"}},83933:function(e){e.exports={sectionShelf:"ProductShelfRotary_sectionShelf__ipuVY","fs-product-shelf":"ProductShelfRotary_fs-product-shelf__kqwkR",fsProductShelf:"ProductShelfRotary_fs-product-shelf__kqwkR"}},30063:function(e){e.exports={RotaryUnicSlider:"RotaryUnicSlider_RotaryUnicSlider__jIlJ0",rotaryUnicSlider:"RotaryUnicSlider_RotaryUnicSlider__jIlJ0"}},98332:function(e){e.exports={ShelfRotaryMobile:"ShelfRotaryMobile_ShelfRotaryMobile__joXz7",shelfRotaryMobile:"ShelfRotaryMobile_ShelfRotaryMobile__joXz7"}},31915:function(e){e.exports={cardCarousel:"cardCarousel_cardCarousel__VFWz3"}},4805:function(e){e.exports={productShelfRotary:"Reach_productShelfRotary__aJ4jR","fs-product-shelf":"Reach_fs-product-shelf__MLD9h",fsProductShelf:"Reach_fs-product-shelf__MLD9h","swiper-wrapper":"Reach_swiper-wrapper__eQCst",swiperWrapper:"Reach_swiper-wrapper__eQCst"}},67977:function(e){e.exports={buttonArrowShelf:"ShelfArrows_buttonArrowShelf__SGKyz"}},61278:function(e){e.exports={RotarySlider:"rotary-slider_RotarySlider__brLNI",rotarySlider:"rotary-slider_RotarySlider__brLNI",RotarySliderWithBanner:"rotary-slider_RotarySliderWithBanner__zVfKM",rotarySliderWithBanner:"rotary-slider_RotarySliderWithBanner__zVfKM"}},18059:function(e){e.exports={buttonArrowShelf:"ShelfArrows_buttonArrowShelf__j5UY9"}},113:function(e,r,t){"use strict";t.d(r,{Z:function(){return esm_useMedia}});var n=t(67294),a="undefined"!=typeof window,esm_useMedia=function(e,r){var t=(0,n.useState)(void 0!==r?r:!!a&&window.matchMedia(e).matches),o=t[0],i=t[1];return(0,n.useEffect)(function(){var r=!0,t=window.matchMedia(e),onChange=function(){r&&i(!!t.matches)};return t.addEventListener("change",onChange),i(t.matches),function(){r=!1,t.removeEventListener("change",onChange)}},[e]),o}}}]);