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AzC,IAAA,MAAAc,GAAAJ,SAAA,CAAAF,GAAA,GAAAnB,EAAAV,GAAA,UAAA0F,KAAA,mBAAA7D,EAAA,uBAAAG,EAAA,OAAArE,EAAAgI,OAAA,IAAA9H,EAAAG,EAAA,EAAA6C,GAAAA,EAAAiF,YAAA,EAAAzB,gBAAA,UAAA0B,UAAA,EAAAC,SAAA,EAAAC,KAAA,IAAAxD,mBAAA","sources":["webpack://_N_E/./adapters/helpers/Hooks.js","webpack://_N_E/./components/Image/BackgroundImage/BackgroundImage.js","webpack://_N_E/"],"sourcesContent":["import React, { useState, useEffect, useLayoutEffect } from 'react';\n\n// https://github.com/streamich/react-use/blob/master/docs/useIsomorphicLayoutEffect.md\nexport const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;\n\nexport function useMatchMedia(mediaQueryString, initialValue = null) {\n const [match, setMatch] = useState(initialValue);\n\n useEffect(\n () => {\n if(!window.matchMedia) {\n return;\n }\n\n function handleMatch(event) {\n setMatch(event.matches);\n }\n\n const matchMedia = window.matchMedia(mediaQueryString);\n\n setMatch(matchMedia.matches);\n matchMedia.addListener(handleMatch);\n\n return () => {\n matchMedia.removeListener(handleMatch);\n };\n },\n [mediaQueryString]\n );\n\n return match;\n}\n\nexport const mediaQueryHOC = (Component) => {\n function MediaQueryHOC(props) {\n const isXSmall = useMatchMedia('(max-width: 375px)');\n const isSmall = useMatchMedia('(max-width: 479px)');\n const isMedium = useMatchMedia('(max-width: 767px)');\n const isLarge = useMatchMedia('(max-width: 991px)');\n const isXLarge = useMatchMedia('(max-width: 1023px)');\n return (\n \n );\n }\n return MediaQueryHOC;\n};\n\nlet listeners = [];\nlet state = { currentProductIndex: 0};\n\n\nconst setState = (newState) => {\n state = { ...state, ...newState };\n listeners.forEach((listener) => {\n listener(state);\n });\n};\n\nexport const updateCurrentProductIndex = () => {\n const newListener = useState()[1];\n useEffect(() => {\n listeners.push(newListener);\n }, []);\n return [state, setState];\n};\n","import React, { useEffect, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport LazyLoad from \"react-lazyload\";\nimport throttle from \"lodash/throttle\";\nimport Head from \"next/head\";\nimport { useIsomorphicLayoutEffect } from \"../../../adapters/helpers/Hooks\";\nimport { getBackgroundImage, roundUpTheSize } from \"./BackgroundImage.helpers\";\nimport { mediaQueryHOC } from \"../../../adapters/helpers/Hooks\";\nimport { ImageConstants } from \"../../../adapters/helpers/Constants\";\nimport { optimizeImage } from \"../../../adapters/helpers/PageSpeedHelper\";\n\nimport ImageFactory from \"../../../adapters/cloudinary/ImageFactory\";\n\nfunction BackgroundImage(props) {\n const mobileBackgroundImageId =\n props?.mobileBackgroundImage?.asset?.fields?.file?.url ||\n props.contentImageId;\n const desktopBackgroundImageId =\n props?.desktopBackgroundImage?.asset?.fields?.file?.url ||\n props.contentImageId;\n const {\n backgroundOffsetTop: marginTop,\n backgroundPosition,\n alt = null,\n children = null,\n customStyles = null,\n ariaHidden = false,\n } = props;\n const paddingTop = `${100 / props.widthToHeightRatio}%`;\n const isPreload = props.isPreload ? props.isPreload : false;\n const isBannerImage = props.isBannerImage ? props.isBannerImage : false;\n const nodeRef = useRef(null);\n const placeholderRef = useRef(null);\n const [width, setWidth] = useState(ImageConstants.defaultImageWindWidth);\n const [isPageLoaded, setIsPageLoaded] = useState(false);\n const [customClassName, setCustomClassName] = useState(\"\");\n const [url, setUrl] = useState(\n `url(${optimizeImage(\n ImageFactory.buildContentfullImageUrl(props.contentImageId)\n )})`\n );\n function updateWidth() {\n const node = nodeRef.current || placeholderRef.current;\n if (node) {\n setWidth(roundUpTheSize(node.getBoundingClientRect().width));\n }\n }\n\n useEffect(() => {\n setIsPageLoaded(true);\n if (width != 0) {\n // Set background width*2 for mobile because the background is larger than the with parent\n setUrl(\n getBackgroundImage(\n props.contentImageId,\n isPreload && isBannerImage && window.innerWidth < 400\n ? 450\n : props.isMedium\n ? width * 2\n : width,\n props.transformations,\n props.format,\n props.isMedium\n )\n );\n }\n }, [width, props.imageId, props.isMedium, isPageLoaded]);\n\n useEffect(() => {\n const handleResize = throttle(updateWidth, 100);\n\n window.addEventListener(\"resize\", handleResize);\n\n return () => {\n window.removeEventListener(\"resize\", handleResize);\n handleResize.cancel();\n };\n }, []);\n\n useEffect(() => {\n setCustomClassName(props.customClassName);\n }, [props.customClassName]);\n\n useIsomorphicLayoutEffect(updateWidth, []);\n\n return (\n \n {isPreload && isBannerImage ? (\n \n \n \n \n \n {/* Below code structure have implemented for pagespeed. */}\n {isPageLoaded ? (\n \n {alt && (\n \n )}\n {children}\n \n ) : (\n \n \n {alt && (\n \n )}\n {children}\n \n \n {alt && (\n \n )}\n {children}\n \n \n )}\n \n ) : (\n \n }\n >\n \n {alt && (\n \n )}\n {children}\n \n \n )}\n \n );\n}\n\nexport default mediaQueryHOC(BackgroundImage);\n\nBackgroundImage.defaultProps = {\n transformations: \"c_limit\",\n fragments: [{ minWidth: 0, size: 1 }],\n widthToHeightRatio: 1,\n};\n\nBackgroundImage.propTypes = {\n imageId: PropTypes.string,\n transformations: PropTypes.string,\n className: PropTypes.string,\n customClassName: PropTypes.string,\n fragments: PropTypes.array,\n widthToHeightRatio: PropTypes.number,\n children: PropTypes.node,\n backgroundOffsetTop: PropTypes.string,\n backgroundPosition: PropTypes.string,\n customStyles: PropTypes.object,\n format: PropTypes.any,\n isMedium: PropTypes.bool,\n ariaHidden: PropTypes.bool,\n alt: PropTypes.string,\n isPreload: PropTypes.bool,\n isBannerImage: PropTypes.bool,\n preloadImage: PropTypes.any,\n desktopBackgroundImage: PropTypes.any,\n mobileBackgroundImage: PropTypes.any,\n};\n","\"use strict\";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9837],{71357:function(e,n,t){t.d(n,{LI:function(){return s},Ui:function(){return d},ag:function(){return u},y3:function(){return p}});var r=t(930),a=t.n(r),i=t(67294),o=t(85893);function c(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:null,t=(0,i.useState)(n),r=t[0],a=t[1];return(0,i.useEffect)((function(){if(window.matchMedia){var n=window.matchMedia(e);return a(n.matches),n.addListener(t),function(){n.removeListener(t)}}function t(e){a(e.matches)}}),[e]),r}var d=function(e){return function(n){var t=u(\"(max-width: 375px)\"),r=u(\"(max-width: 479px)\"),a=u(\"(max-width: 767px)\"),i=u(\"(max-width: 991px)\"),c=u(\"(max-width: 1023px)\");return(0,o.jsx)(e,l({isXSmall:t,isSmall:r,isMedium:a,isLarge:i,isXLarge:c},n))}},m=[],f={currentProductIndex:0},g=function(e){f=l(l({},f),e),m.forEach((function(e){e(f)}))},p=function(){var e=(0,i.useState)()[1];return(0,i.useEffect)((function(){m.push(e)}),[]),[f,g]}},89837:function(e,n,t){t.r(n);var r=t(930),a=t.n(r),i=t(67294),o=t(1216),c=t(23493),l=t.n(c),s=t(9008),u=t.n(s),d=t(71357),m=t(53633),f=t(24036),g=t(88726),p=t(42456),b=t(85893);function h(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function w(e){for(var n=1;n