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AA+K,WAAA,MAAAtO,EAAAiF,GAAA,SAAAsD,UAAA,yBAAAE,SAAA,GAAAzI,EAAAiF,GAAA,SAAAsJ,MAAA,cAAA9F,SAAA,GAAAzI,EAAAiF,GAAA,OAAAmG,KAAA,MAAAjH,IAAA,MAAAX,CAAAA,GAAAW,GAAAW,MAAA,SAAArB,CAAAA,GAAAD,GAAA8K,WAAA,SAAA5K,CAAAA,GAAAD,GAAAqB,MAAA,SAAApB,GAAA8K,MAAA,CAAAjD,OAAA,OAAApH,IAAA,MAAAR,CAAAA,GAAAQ,GAAAW,MAAA,SAAAlB,CAAAA,GAAAD,GAAA2K,WAAA,SAAAzK,CAAAA,GAAAD,GAAAkB,MAAA,SAAAjB,GAAA4K,YAAA,cAAAhG,SAAA,GAAAzI,EAAAiF,GAAA,UAAAwD,SAAA,MAAAtE,IAAA,MAAAL,CAAAA,GAAAK,GAAAW,MAAA,SAAAf,CAAAA,GAAAD,GAAAwK,WAAA,SAAAtK,CAAAA,GAAAD,GAAAe,MAAA,SAAAd,GAAA0K,OAAA,gBAAAvK,IAAA,MAAAF,CAAAA,GAAAE,GAAAW,MAAA,SAAAb,GAAA0K,cAAA,MAAA3O,EAAAiF,GAAA,OAAAsD,UAAA,4BAAAQ,wBAAA,CAAAC,OAAA,MAAA7E,IAAA,MAAAD,CAAAA,GAAAC,GAAAW,MAAA,SAAAZ,GAAAyK,cAAA","sources":["webpack://_N_E/./adapters/helpers/Scroll.js","webpack://_N_E/./components/CarouselBlock/CarouselBlock.js","webpack://_N_E/"],"sourcesContent":["let smoothScrollId = null;\nlet smoothScrollStartY = 0;\nlet smoothScrollDeltaY = 0;\nlet smoothScrollStartTime = 0;\nlet smoothScrollDuration = 400;\n\nexport function scrollIntoView(element, options = {}) {\n smoothScrollStartY = window.scrollY || window.pageYOffset || 0;\n smoothScrollDeltaY = element.getBoundingClientRect().top;\n\n const headerElement = document.querySelector('.zone-header');\n const productSubNavElement = document.querySelector('.ob-product-sub-nav');\n\n if (headerElement) {\n smoothScrollDeltaY -= headerElement.getBoundingClientRect().bottom;\n\n if (productSubNavElement) {\n smoothScrollDeltaY -= productSubNavElement.getBoundingClientRect().bottom;\n }\n }\n\n if (options.behavior === 'smooth' && typeof requestAnimationFrame !== 'undefined') {\n smoothScrollStartTime = Date.now();\n\n if (smoothScrollId == null) {\n smoothScrollStep();\n }\n } else {\n if (smoothScrollId != null) {\n cancelAnimationFrame(smoothScrollId);\n smoothScrollId = null;\n }\n\n window.scrollTo(window.scrollX, null);\n }\n}\n\nfunction smoothScrollStep() {\n const elapsed = Date.now() - smoothScrollStartTime;\n const t = elapsed / smoothScrollDuration;\n\n if (t < 1) {\n smoothScrollId = requestAnimationFrame(smoothScrollStep);\n window.scrollTo(window.scrollX, easeInOutQuad(t) * smoothScrollDeltaY + smoothScrollStartY);\n }\n else {\n smoothScrollId = null;\n window.scrollTo(window.scrollX, smoothScrollDeltaY + smoothScrollStartY);\n }\n}\n\nfunction easeInOutQuad(t) {\n return (t < 0.5) ? (2 * t * t) : ((4 - 2 * t) * t - 1);\n}\n","import React, { useEffect, Fragment, useState, useRef } from 'react'\nimport C from \"classnames\";\nimport dynamic from 'next/dynamic';\nimport Slider from 'react-slick';\nimport Modal from 'react-modal';\nimport { mediaQueryHOC } from '../../adapters/helpers/Hooks';\nimport {CarouselBlockConstants, Constants} from '../../adapters/helpers/Constants'\nimport PropTypes from 'prop-types';\nimport Block from '../../adapters/helpers/Block';\nimport { getColorStyle, stripHtml } from \"../../adapters/helpers/Utils\";\nimport { optimizeImage } from '../../adapters/helpers/pagespeedHelper';\nconst Image = dynamic(() => import('../Image/Image'));\nconst Icon = dynamic(() => import('../Icon/Icon'));\nimport VideoPlayer from '../VideoPlayer/VideoPlayer';\nconst YoutubeVideo = dynamic(() => import('../YoutubeVideo/YoutubeVideo'));\nconst ResponsiveImage = dynamic(() => import('../ResponsiveImage/ResponsiveImage'));\nimport { scrollIntoView } from '../../adapters/helpers/Scroll';\nimport { useTabContext } from '../TabContext';\n\nconst CarouselBlock = (props) => {\n const {document : doc , isMedium, isSmall, isXSmall} = props;\n const sliderRef = useRef(null)\n const carouselRef = useRef();\n const videoSettings = {\n ...doc?.fields?.carouselSettings,\n nextArrow: {CarouselBlockConstants.rightArrow}/,\n prevArrow: {CarouselBlockConstants.leftArrow}/\n }\n const anchorId = doc?.fields?.anchorId;\n const handleGAClassName = (ele) => {\n if(ele?.[0]) {\n ele[0].classList.add('event_button_click');\n }\n }\n const handleClickTab = (index) =>{\n sliderRef.current.slickGoTo(index);\n }\n\n const handleClickPageTab = ( index ) => {\n setCurrentSlideIndex( index );\n setActiveTabIndex( index );\n const sliderElement = document.querySelector( '.ob-switch-tab-block' );\n const sliderPosition = sliderElement.getBoundingClientRect().top + window.scrollY;\n const offset = 200;\n const mobileOffset = 70;\n ( isSmall || isXSmall ) ?\n window.scrollTo( { top: sliderPosition - mobileOffset, behavior: 'smooth' } )\n :\n window.scrollTo( { top: sliderPosition - offset, behavior: 'smooth' } )\n setTimeout(() => {\n const tabElement = document.querySelector('.carousel-tab-page.active');\n const parent = tabElement.parentElement;\n parent.scrollLeft = tabElement.offsetLeft - ( parent.offsetWidth / 2 ) + ( tabElement.offsetWidth / 2 );\n }, 1000);\n }\n\n const handleClickPageTabsScroll = ( index ) => {\n sliderRef.current.slickGoTo( index );\n setCurrentSlideIndex( index );\n setActiveTabIndex( index );\n setTimeout(() => {\n const tabElement = document.querySelector('.carousel-tab-page.active');\n const parent = tabElement?.parentElement;\n const scrollOptions = {\n left: tabElement?.offsetLeft - ( parent.offsetWidth / 2 ) + ( tabElement.offsetWidth / 2 ),\n behavior: 'smooth'\n }\n parent.scrollTo(scrollOptions)\n }, 1000);\n }\n\n useEffect(() => {\n handleGAClassName(document.getElementsByClassName('slick-prev'));\n handleGAClassName(document.getElementsByClassName('slick-next'));\n setTimeout( () => {\n const videoButtonId = document?.getElementById( 'button-video' );\n videoButtonId?.addEventListener( 'click', () => {\n return (\n setIsModalOpen(true)\n )\n })\n }, 3000)\n \n if (window?.location?.hash === `#${anchorId}` && carouselRef?.current) {\n let timeout = null;\n window.setTimeout(() => {\n timeout = scrollIntoView(carouselRef.current, {behavior: 'smooth', block: 'nearest'});\n }, 250);\n\n return () => {\n clearTimeout(timeout);\n }\n }\n }, []);\n \n const [selectedVariants, setSelectedVariants] = useState(\n Array( doc?.fields?.carouselItems?.length ).fill( 0 )\n );\n const [currentSlideIndex, setCurrentSlideIndex] = useState( 0 );\n const [isModalOpen, setIsModalOpen] = useState(false);\n const {activeTabIndex, setActiveTabIndex} = useTabContext()\n\n const tabItems = doc?.fields?.carouselItems?.map( ( item, index ) => {\n return (\n
handleClickTab(index)}>{item?.fields?.tabTitle}
\n )\n })\n \n const tabPageItems = doc?.fields?.carouselItems?.map( ( item, index ) => {\n return (\n
handleClickPageTab( index )}>\n
\n
\n )\n })\n useEffect( () => {\n setActiveTabIndex(currentSlideIndex);\n },[currentSlideIndex]);\n\n const closeModal = () => {\n setIsModalOpen(false);\n };\n\n const openModal = event => {\n event.preventDefault();\n setIsModalOpen(true);\n };\n const customStyles = {\n overlay: {\n position: 'fixed',\n top: '0px',\n left: '0px',\n right: '0px',\n bottom: '0px',\n backgroundColor: 'rgba(0, 0, 0, 0.5)'\n },\n content : {\n border : 'none',\n top : '50%',\n left : '50%',\n right : 'auto',\n bottom : 'auto',\n padding : '0',\n marginRight : '-50%',\n transform : 'translate(-50%, -50%)',\n maxWidth : '100rem',\n width : '90%'\n }\n };\n\n const renderVideo = (video) => {\n if(video) {\n if(video?.videoId) {\n return \n } else {\n return \n }\n }\n };\n\n const selectVariants = ( index, i ) => { \n const newSelectedVariants = [\n ...selectedVariants,\n ];\n newSelectedVariants[index] = i;\n setSelectedVariants( newSelectedVariants );\n }\n\n return (\n \n {doc?.fields?.corouselTitle &&

}\n {doc?.fields?.carouselDescription &&
}\n {doc?.fields?.carouselItems?.map((item,index)=>{ \n if(item?.fields?.tabItemShopNowCta && index === activeTabIndex) {\n return(\n
\n )}\n })}\n {doc?.fields?.isCarouselTab && !(isXSmall||isSmall) &&
{tabItems}
}\n {doc?.fields?.isCarouselPageTab &&\n
\n {(currentSlideIndex>0) && }\n
{tabPageItems}
\n {(currentSlideIndex < tabPageItems.length-1) && }\n
\n }\n
\n setCurrentSlideIndex(index)}>\n {doc?.fields?.carouselItems?.map((item,index)=>{\n\n switch (item?.fields?.contentType){\n case CarouselBlockConstants.productCard:\n return(\n \n
\n \n {item?.fields?.productName &&

{item?.fields?.productName}

}\n {item?.fields?.title &&

{item?.fields?.title}

}\n {item?.fields?.cta &&

{item?.fields?.cta}

}\n
\n
\n );\n case CarouselBlockConstants.cloudinaryVideo:\n return(\n
\n \n
\n );\n case CarouselBlockConstants.carouselTabItems: \n return(\n
\n {item?.fields?.carouselHtmlSection &&
}\n {(isMedium||isXSmall||isSmall) && item?.fields?.tabTitle &&
{item?.fields?.tabTitle}
}\n {item?.fields?.tabItemDetailVideo ?
{new Block(item?.fields?.tabItemDetailVideo).renderBlockFromDocument(item?.fields?.tabItemDetailVideo)}
: item?.fields?.tabImage &&
}\n
\n { item?.fields?.tabDescription && }\n { item?.fields?.tabVideoTitle && }\n { item?.fields?.tabLinkNextDescription && }\n
\n { item?.fields?.tabItemLearnMoreCta && \n
\n }\n {isModalOpen && item?.fields?.tabVideo && index === activeTabIndex && \n
\n { renderVideo(item?.fields?.tabVideo?.fields) }\n
\n }\n
\n );\n case CarouselBlockConstants.miniContentBlock:\n return(\n
{new Block(item).renderBlockFromDocument(item)}
\n );\n \n case CarouselBlockConstants.articleProductCard:\n const productVariants = item?.fields?.product?.[0]?.fields?.productVariants;\n const productVariantImage = productVariants[selectedVariants[index]]?.fields?.productGridAsset;\n return (\n
\n
\n \n
\n
\n \n
\n
\n

\n \n {item?.fields?.title}\n \n

\n

{item?.fields?.description}

\n
\n {productVariants?.map( ( variant, i ) => {\n const color = variant?.fields?.color;\n if ( !color ) {\n return null;\n } else {\n return !color?.fields?.colorImage ? (\n selectVariants( index, i )}\n aria-pressed={i === selectedVariants[index]}\n >\n {color?.fields?.name}\n \n ) : (\n selectVariants( index, i )}\n >\n );\n }\n } )}\n
\n
\n
\n \n
\n
\n ); \n case CarouselBlockConstants.htmlBlock:\n return(\n <>\n
\n {isModalOpen && item?.fields?.buttonVideoBlock && \n
\n { renderVideo(item?.fields?.buttonVideoBlock?.fields?.video?.fields) }\n
\n }\n \n );\n case CarouselBlockConstants.contentBlock:\n return(\n
{new Block(doc?.fields?.carouselItems).renderSpecifiedBlock(doc?.fields?.carouselItems)}
\n );\n case CarouselBlockConstants.miniContentBlock:\n return(\n
{new Block(item).renderBlockFromDocument(item)}
\n ); \n default:\n return(\n \n );\n } \n } )} \n
\n
\n {doc?.fields?.carouselCta && (\n \n )}\n {doc?.fields?.imageBelowText && (\n \n )}\n \n \n )\n}\n\nexport default mediaQueryHOC(CarouselBlock);\n\nCarouselBlock.propTypes = {\n document: PropTypes.any,\n isMedium: PropTypes.bool,\n isLarge: PropTypes.bool,\n isXXLarge: PropTypes.bool,\n isSmall: PropTypes.bool,\n isXSmall: PropTypes.bool,\n };","\"use strict\";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5147],{55891:function(l,e,n){n.d(e,{z:function(){return a}});var i=null,t=0,o=0,s=0;function a(l){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=window.scrollY||window.pageYOffset||0,o=l.getBoundingClientRect().top;var n=document.querySelector(\".zone-header\"),a=document.querySelector(\".ob-product-sub-nav\");n&&(o-=n.getBoundingClientRect().bottom,a&&(o-=a.getBoundingClientRect().bottom)),\"smooth\"===e.behavior&&\"undefined\"!=typeof requestAnimationFrame?(s=Date.now(),null==i&&u()):(null!=i&&(cancelAnimationFrame(i),i=null),window.scrollTo(window.scrollX,null))}function u(){var l=(Date.now()-s)/400;l<1?(i=requestAnimationFrame(u),window.scrollTo(window.scrollX,function(l){return l<.5?2*l*l:(4-2*l)*l-1}(l)*o+t)):(i=null,window.scrollTo(window.scrollX,o+t))}},75147:function(l,e,n){n.r(e);var i=n(7980),t=n.n(i),o=n(930),s=n.n(o),a=n(67294),u=n(94184),r=n.n(u),d=n(5152),c=n.n(d),f=n(46066),m=n(83253),v=n.n(m),b=n(71357),h=n(24036),p=n(40483),g=n(8996),x=n(19271),j=n(65509),N=n(55891),w=n(41274),_=n(85893);function I(l,e){var n=Object.keys(l);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(l);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable}))),n.push.apply(n,i)}return n}function T(l){for(var e=1;e0&&(0,_.jsx)(\"button\",{className:\"carousel-page-left-button\",onClick:function(){return Sl(Ll-1)},children:(0,_.jsx)(\"img\",{tabIndex:0,src:(0,x.H)(null==jl||null==(Y=jl.fields)||null==(Q=Y.leftArrowPageTab)||null==(J=Q.fields)||null==(K=J.file)?void 0:K.url),\"data-action-detail\":\"carousel_panel\",alt:h.NM.leftArrow})}),(0,_.jsx)(\"div\",{tabIndex:0,className:\"carousel-page-tabs \".concat((null==jl||null==($=jl.fields)?void 0:$.carouselTabItemsClassName)?null==jl||null==(ll=jl.fields)?void 0:ll.carouselTabItemsClassName:\"\"),children:Gl}),Ll