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,CAAAC,CAAA,WAAAgB,EAAAa,GAAA,QAAAC,UAAA,8BAAA4G,MAAA,CAAA1I,IAAAsE,EAAAnE,EAAA4I,EAAA,CAAAyB,QAAA,CAAArK,EAAA4I,EAAA,CAAA0B,KAAA,EAAA1I,SAAAkD,EAAAgK,SAAA,IAAAjO,EAAAa,GAAA,EAAAoB,EAAA,CAAAkK,MAAAlI,EAAAgK,SAAA,CAAAS,WAAA,QAAA1O,EAAAa,GAAA,EAAAoB,EAAA,CAAAkK,MAAApN,EAAAoF,MAAA,CAAA8J,SAAA,CAAAS,WAAA,MAAA1P,EAAA,MAAAgB,EAAAa,GAAA,QAAAE,SAAA,GAAAf,EAAAa,GAAA,EAAAoB,EAAA,CAAAkK,MAAAlI,EAAAgK,SAAA,CAAAS,WAAA,UAAAxL,GAAA+I,KAAA,KAAA/I,GAAA+I,KAAA,OAAA1M,EAAA,GAAAQ,EAAAoP,EAAA,EAAA7M,GAAAjD,EAAAiD,CAAA","sources":["webpack://_N_E/./components/LegacyProductHighlightsBlock/PdpShowMoreAccordion/PdpShowMoreAccordion.js","webpack://_N_E/./components/LegacyProductHighlightsBlock/LegacyProductHighlightsBlock.js","webpack://_N_E/"],"sourcesContent":["import React, { useState } from 'react'\nimport dynamic from 'next/dynamic'\nimport { Constants } from '../../../adapters/helpers/Constants';\nconst RichText = dynamic(() => import('../../RichText/RichText'))\n\nexport default function PdpShowMoreAccordion({ productHighlights }) {\n const highlightList = productHighlights\n ? Object.keys(productHighlights).map((key) => {\n return (\n
  • \n \n
  • \n )\n })\n : []\n\n const [mobileShowMore, setMobileShowMore] = useState(false)\n return (\n
    \n {\n setMobileShowMore(!mobileShowMore)\n }}\n >\n {Constants.moreInfomation}\n chevron-down\n \n {mobileShowMore &&
      {highlightList}
    }\n
    \n )\n}\n","import React, { useEffect, useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport dynamic from 'next/dynamic';\nconst Heading = dynamic(()=>import('../Heading/Heading'))\nimport { createHtmlFriendlyId, getReviewAndRatingId, onClickBuyNow, stripHtml } from '../../adapters/helpers/Utils'\nconst Image = dynamic(()=>import('../Image/Image'))\nconst ObLink = dynamic(()=>import('../ObLink/ObLink'))\nconst Icon = dynamic(()=>import('../Icon/Icon'))\nconst RichText = dynamic(()=>import('../RichText/RichText'))\nimport { LegacyProductHighlightsConstants, Constants, miniContentBlockConstants } from '../../adapters/helpers/Constants';\nimport { mediaQueryHOC, updateCurrentProductIndex } from '../../adapters/helpers/Hooks';\nimport { getColorStyle } from '../../adapters/helpers/Utils';\nconst Button = dynamic(() => import('../Button/Button'))\nimport { handleColorNameFormat } from '../../adapters/helpers/Utils'\nimport PdpShowMoreAccordion from './PdpShowMoreAccordion/PdpShowMoreAccordion'\nimport { optimizeImage } from '../../adapters/helpers/pagespeedHelper'\nimport DOMPurify from 'isomorphic-dompurify'\nimport C from 'classnames'\n\nfunction LegacyProductHighlights(props) {\n const {extraAttributes, isMedium, document:doc} = props;\n const [selectedVariantIndex, setSelectedVariantIndex] = useState(0);\n const [currentCarouselImageIndex, setCurrentCarouselImageIndex] = useState(0);\n // eslint-disable-next-line no-unused-vars\n const [_, setGlobalState] = updateCurrentProductIndex();\n const entity = extraAttributes.entity;\n const productOverview = entity.productOverview?.fields;\n const productVariants = productOverview?.productVariants;\n const legacyAssets = entity?.legacyAssets || [];\n const [carouselAssets, setCarouselAssets] = useState(legacyAssets);\n const [productHighlights, setProductHighlights] = useState(entity.productHighlights || []);\n const labels = doc?.fields\n const pressQuote = productOverview?.pressQuote?.fields\n const backgroundImage = doc.fields.background\n const findRetailerButtonLabel = productOverview?.buyNowLabel?.fields.text\n const anchorId = doc?.fields.anchorId\n let reviewAndRatingId = getReviewAndRatingId(entity.productOverview)\n const seeLessLabel = doc?.fields?.seeLessLabel?.fields?.text\n const seeMoreLabel = doc?.fields?.seeMoreLabel?.fields?.text\n const nextLabel = doc?.fields?.nextLabel?.fields?.text\n const previousLabel = doc?.fields?.previousLabel?.fields?.text.toUpperCase()\n const productVariantAttributeTypes = entity?.productVariantAttributeTypes || []\n const thumbnailCarouselRef = useRef()\n const comingSoonText = productOverview?.comingSoonLabel?.fields?.text || ''\n const comingSoonLink = productOverview?.comingSoonLink || ''\n const isDisableFindRetailer = productOverview?.deactivateBuyNowButton\n const isEnableCommingSoon = productOverview?.enableComingSoonLabel\n const poweredByLabel = productOverview?.poweredBy\n const [isPageLoaded, setIsPageLoaded] = useState(false)\n\n const TruncatedDescription = ({className, text}) => {\n const [seeLess, setSeeLess] = useState(true);\n const firstPeriodIndex = text.indexOf('.');\n\n // If there is no period or the text contains a single sentence.\n if (firstPeriodIndex === -1 || firstPeriodIndex + 2 === text.length) {\n return
    \n }\n\n return (\n
    \n
    \n\n setSeeLess(!seeLess)}\n tag={LegacyProductHighlightsConstants.button}\n >\n {seeLess ? seeMoreLabel : seeLessLabel}\n chevron-down\n \n
    \n )\n }\n\n const renderHighlightsHeader = (tagType) => {\n let ele = ''\n if (isMedium) {\n ele = document.getElementById('ob-product-subnav-scroll')\n }\n\n let mediumClassName = isMedium ? 'ob-product-highlights__header_mobile' : 'ob-product-highlights__header_desktop'\n return (\n
    \n \n {productOverview.title}\n \n \n {productOverview?.description && }\n
    \n )\n }\n\n useEffect(() => {\n setIsPageLoaded(true)\n setGlobalState({ currentProductId: selectedVariantIndex })\n if (productVariants && productVariants[selectedVariantIndex]?.fields?.legacyAssets) {\n setCarouselAssets(productVariants[selectedVariantIndex]?.fields?.legacyAssets)\n } else if (legacyAssets.length > 1) {\n setCarouselAssets(legacyAssets)\n }\n }, [selectedVariantIndex])\n\n const renderColorButtons = () => {\n return (\n
    \n {productVariants && productVariants.some((variant) => variant?.fields?.color !== undefined) &&

    {labels.colorLabel}

    }\n \n
    \n )\n }\n\n useEffect(() => {\n if (carouselAssets && carouselAssets.length > 0) {\n let carouselAssetsData = carouselAssets\n let arrayOfData = []\n carouselAssetsData.filter((data, index) => {\n let indexVal = productHighlights && productHighlights.length > 0 ? productHighlights.findIndex((x) => x.fields.imageIndex == index) : -1\n if (indexVal === -1) {\n if (data?.fields?.isHighlightHyperlink) {\n data.fields.imageIndex = index\n data.fields.selectedVariantIndex = selectedVariantIndex\n arrayOfData.push(data)\n }\n }\n })\n if (productHighlights && productHighlights.length > 0) {\n setProductHighlights([...productHighlights.filter((obj) => !obj.fields.hasOwnProperty('selectedVariantIndex')), ...arrayOfData])\n } else {\n setProductHighlights([...arrayOfData])\n }\n }\n }, [carouselAssets, selectedVariantIndex])\n\n const [showMore, setShowMore] = useState(false)\n\n const highlightList = productHighlights\n ? Object.keys(productHighlights)\n .slice(0, 1)\n .map((key) => {\n let highLightStatus = productHighlights?.[key]?.fields?.isHighlightHyperlink || false\n return (\n
  • \n {highLightStatus ? (\n

    handleHyperLinkImage(productHighlights?.[key]?.fields?.imageIndex)} className='ob-highlight-hyperlink-list-item'>\n {' '}\n {productHighlights?.[key]?.fields?.highlightHyperlinkTitle || productHighlights?.[key]?.fields?.name}\n

    \n ) : (\n \n )}\n
  • \n )\n })\n : []\n\n const highlightListMore = productHighlights\n ? Object.keys(productHighlights).map((key) => {\n let highLightStatus = productHighlights?.[key]?.fields?.isHighlightHyperlink || false\n return (\n
  • \n {highLightStatus ? (\n

    handleHyperLinkImage(productHighlights?.[key]?.fields?.imageIndex)} className='ob-highlight-hyperlink-list-item'>\n \n {productHighlights?.[key]?.fields?.highlightHyperlinkTitle || productHighlights?.[key]?.fields?.name}\n

    \n ) : (\n \n )}\n
  • \n )\n })\n : []\n\n const handleHyperLinkImage = (imgIndex) => {\n setCurrentCarouselImageIndex(imgIndex)\n if (thumbnailCarouselRef.current) {\n const thumbnailChildren = thumbnailCarouselRef.current.children\n scrollElemIntoView(thumbnailChildren[imgIndex])\n let element = document.getElementById('ob-product-highlights-carousel')\n if (element && props.isSmall) {\n element.scrollIntoView({ behavior: 'smooth', block: 'end', inline: 'nearest' })\n }\n }\n }\n\n const highlightLength = () => {\n // Return true if highlight is superior than 2 to display see more button\n // return true\n return productHighlights && Object.keys(productHighlights).length > 1\n }\n\n const showMoreButton = () => {\n let button\n\n if (showMore) {\n button = (\n \n {seeLessLabel.toUpperCase()}\n {LegacyProductHighlightsConstants.highlights}\n \n \n )\n } else {\n button = (\n \n {seeMoreLabel.toUpperCase()}\n {LegacyProductHighlightsConstants.highlights}\n chevron-down\n \n )\n }\n\n return button\n }\n\n const handleShowMore = () => {\n setShowMore(!showMore)\n }\n\n const renderShopByPack = (productVariants) => {\n return (\n
    \n
      \n {productVariantAttributeTypes.map((productVariantAttributeType, index) => (\n
    • \n \n
      \n {\n if (window && window.dataLayer) {\n window.dataLayer.push({\n event: 'customEvent',\n GAeventCategory: 'event_informational_action',\n GAeventAction: 'event_buy_now_choose_product',\n })\n }\n setSelectedVariantIndex(parseInt(event.currentTarget.value, 10))\n setCurrentCarouselImageIndex(0)\n }}\n >\n {productVariants &&\n productVariants.map((variant, variantIndex) => {\n let productVariantAttributes = variant?.fields?.productVariantAttributes\n\n if (productVariantAttributes != null && productVariantAttributes.length > index) {\n if (productVariantAttributeType?.fields?.name === productVariantAttributes[index]?.fields?.productVariantAttributeTypeReference?.fields?.name) {\n return (\n \n )\n }\n } else {\n console.info('Product Variant Attr Type ' + productVariantAttributeType?.fields?.name + ' missing at index ' + index + ' for variant ' + variant?.fields?.name)\n return ''\n }\n })}\n \n
      \n \n
      \n
      \n
    • \n ))}\n
    \n
    \n )\n }\n\n const handleCarouselSlideChange = ({ position = '', index = -1 }) => {\n if (thumbnailCarouselRef.current) {\n let carouselIndex = currentCarouselImageIndex\n if (position === LegacyProductHighlightsConstants.prev && carouselIndex > 0) {\n carouselIndex--\n } else if (position === LegacyProductHighlightsConstants.next && carouselIndex < carouselAssets?.length - 1) {\n carouselIndex++\n } else if (index > -1) {\n carouselIndex = index\n }\n setCurrentCarouselImageIndex(carouselIndex)\n\n const thumbnailChildren = thumbnailCarouselRef.current.children\n scrollElemIntoView(thumbnailChildren[carouselIndex])\n }\n }\n\n const scrollElemIntoView = (elem) => {\n if (!elem) {\n return\n }\n elem.scrollIntoView({\n behavior: LegacyProductHighlightsConstants.smooth,\n block: LegacyProductHighlightsConstants.nearest,\n inline: LegacyProductHighlightsConstants.center,\n })\n }\n\n let startTouchPoint = null\n let endTouchPoint = null\n\n const onTouchStart = (event) => {\n endTouchPoint = null\n\n if (event.touches) {\n startTouchPoint = event.touches[0]\n }\n }\n\n const onTouchEnd = () => {\n if (endTouchPoint != null && startTouchPoint != null) {\n let deltaX = startTouchPoint.screenX - endTouchPoint.screenX\n let deltaY = startTouchPoint.screenY - endTouchPoint.screenY\n\n if (deltaX > 0 && !isVerticalScroll(deltaX, deltaY)) {\n handleCarouselSlideChange({ position: LegacyProductHighlightsConstants.next })\n } else {\n handleCarouselSlideChange({ position: LegacyProductHighlightsConstants.prev })\n }\n }\n }\n\n const onTouchMove = (event) => {\n if (event.touches) {\n endTouchPoint = event.touches[0]\n }\n }\n\n const isVerticalScroll = (deltaX, deltaY, deltaThreshold = 10) => {\n let moveX = Math.abs(deltaX) > deltaThreshold ? Math.abs(deltaX) : 0\n let moveY = Math.abs(deltaY) > deltaThreshold ? Math.abs(deltaY) : 0\n\n return moveY > moveX\n }\n\n const renderCarousel = () => {\n return (\n \n )\n }\n\n const renderShopNowCTA = () => {\n let comingSoonBtnLink = productVariants[selectedVariantIndex]?.fields?.comingSoonLink ? productVariants[selectedVariantIndex]?.fields?.comingSoonLink : comingSoonLink\n return (\n {\n props.onClickCallback(event)\n onClickBuyNow(comingSoonLink)\n }}\n dataEventBin={true}\n dataProductTitle={stripHtml(productOverview.title)}\n rel='noopener noreferrer'\n >\n {comingSoonText}\n \n )\n }\n\n const renderFindRetailerCTA = () => {\n const btnClassName = isEnableCommingSoon ? 'ob-product-highlights__find-retailer-btn-style-secondary' : ''\n return (\n findRetailerButtonLabel &&\n !isDisableFindRetailer &&\n productVariants &&\n productVariants[selectedVariantIndex]?.fields?.sku && (\n props.onClickCallback(event)}\n sku={productVariants[selectedVariantIndex]?.fields?.sku}\n >\n {findRetailerButtonLabel}\n \n )\n )\n }\n\n const renderTextContent = () => {\n return (\n
    \n {!isMedium && renderHighlightsHeader('h1')}\n {isMedium && productVariants && renderColorButtons()}\n {productOverview?.description && }\n {pressQuote && (\n
    \n {pressQuote.quote}\n \n
    \n )}\n {!isMedium &&\n productVariants &&\n productVariants?.some((variant) => {\n return variant?.fields?.color !== undefined\n }) &&\n renderColorButtons()}\n\n {productVariants && productVariantAttributeTypes.length > 0 && renderShopByPack(productVariants)}\n\n
    \n {isEnableCommingSoon && (\n
    \n {renderShopNowCTA()}\n {poweredByLabel &&

    {poweredByLabel}

    }\n
    \n )}\n {renderFindRetailerCTA()}\n
    \n {productHighlights && productHighlights.length > 0 && (\n
    \n

    {labels.highlightsLabel}

    \n
      \n {!showMore && highlightList}\n {showMore && highlightListMore}\n
    \n {highlightLength() && showMoreButton()}\n
    \n )}\n
    \n \n
    \n
    \n )\n };\n\n if(productVariants && productVariants[0]?.fields?.mainAsset?.fields){\n productVariants[0].fields.mainAsset.fields['isProductPage'] = true;\n }else if(productOverview?.mainAsset?.fields){\n productOverview.mainAsset.fields['isProductPage'] = true;\n }\n return (\n
    \n \n
    \n {/* Below code structure have implemented for pagespeed. */}\n {isPageLoaded ? isMedium && renderHighlightsHeader('h1') :
    {renderHighlightsHeader('h2')}
    }\n {carouselAssets.length > 0 ? (\n renderCarousel()\n ) : (\n
      \n {productVariants ? (\n productVariants.map((variant, index) => (\n
    • \n {productOverview.mainAsset ? : }\n
    • \n ))\n ) : (\n
    • \n \n
    • \n )}\n
    \n )}\n {!isMedium && renderTextContent()}\n
    \n \n {isMedium && renderTextContent()}\n
    \n )\n}\n\nexport default mediaQueryHOC(LegacyProductHighlights);\n// This export is for unit testing (do not remove) :\nexport const LegacyProductHighlightsTest = LegacyProductHighlights;\n\nLegacyProductHighlights.propTypes = {\n extraAttributes: PropTypes.object,\n isMedium: PropTypes.bool,\n document: PropTypes.object,\n onClickCallback: PropTypes.func,\n className: PropTypes.string,\n text: PropTypes.string,\n};\n","\"use strict\";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5892],{75892:function(l,e,i){i.r(e),i.d(e,{LegacyProductHighlightsTest:function(){return T},default:function(){return I}});var n=i(7980),t=i.n(n),o=i(85696),s=i.n(o),a=i(67294),c=i(5152),r=i.n(c),u=i(8996),d=i(24036),h=i(71357),g=i(85893),v=r()((function(){return Promise.all([i.e(5208),i.e(7539)]).then(i.bind(i,67539))}),{loadableGenerated:{webpack:function(){return[67539]}}});function m(l){var e=l.productHighlights,i=e?Object.keys(e).map((function(l){return(0,g.jsx)(\"li\",{className:\"ob-product-highlights__highlights-list-item ob-hyperlink-highlights-li \",children:(0,g.jsx)(v,{document:e[l]})},l)})):[],n=(0,a.useState)(!1),t=n[0],o=n[1];return(0,g.jsxs)(\"div\",{children:[(0,g.jsxs)(\"button\",{onClick:function(){o(!t)},children:[(0,g.jsx)(\"span\",{children:d.gT.moreInfomation}),(0,g.jsx)(\"img\",{src:t?d.gT.upIconPath:d.gT.downIconPath,alt:\"chevron-down\"})]}),t&&(0,g.jsx)(\"ul\",{children:i})]})}var b=i(19271),p=i(29238),f=i.n(p),_=i(94184),x=i.n(_),j=r()((function(){return Promise.resolve().then(i.bind(i,92116))}),{loadableGenerated:{webpack:function(){return[92116]}}}),y=r()((function(){return Promise.resolve().then(i.bind(i,48084))}),{loadableGenerated:{webpack:function(){return[48084]}}}),N=r()((function(){return i.e(1769).then(i.bind(i,61769))}),{loadableGenerated:{webpack:function(){return[61769]}}}),k=r()((function(){return Promise.resolve().then(i.bind(i,80713))}),{loadableGenerated:{webpack:function(){return[80713]}}}),w=r()((function(){return Promise.all([i.e(5208),i.e(7539)]).then(i.bind(i,67539))}),{loadableGenerated:{webpack:function(){return[67539]}}}),P=r()((function(){return i.e(9246).then(i.bind(i,99246))}),{loadableGenerated:{webpack:function(){return[99246]}}});function C(l){var e,i,n,o,c,r,v,p,_,C,I,T,L,A,V,S,H,G,z,E,B,M=l.extraAttributes,O=l.isMedium,R=l.document,D=(0,a.useState)(0),q=D[0],U=D[1],X=(0,a.useState)(0),Y=X[0],F=X[1],Q=(0,h.y3)(),J=s()(Q,2),K=(J[0],J[1]),W=M.entity,Z=null==(e=W.productOverview)?void 0:e.fields,$=null==Z?void 0:Z.productVariants,ll=(null==W?void 0:W.legacyAssets)||[],el=(0,a.useState)(ll),il=el[0],nl=el[1],tl=(0,a.useState)(W.productHighlights||[]),ol=tl[0],sl=tl[1],al=null==R?void 0:R.fields,cl=null==Z||null==(i=Z.pressQuote)?void 0:i.fields,rl=R.fields.background,ul=null==Z||null==(n=Z.buyNowLabel)?void 0:n.fields.text,dl=null==R?void 0:R.fields.anchorId,hl=(0,u.VP)(W.productOverview),gl=null==R||null==(o=R.fields)||null==(c=o.seeLessLabel)||null==(r=c.fields)?void 0:r.text,vl=null==R||null==(v=R.fields)||null==(p=v.seeMoreLabel)||null==(_=p.fields)?void 0:_.text,ml=null==R||null==(C=R.fields)||null==(I=C.nextLabel)||null==(T=I.fields)?void 0:T.text,bl=null==R||null==(L=R.fields)||null==(A=L.previousLabel)||null==(V=A.fields)?void 0:V.text.toUpperCase(),pl=(null==W?void 0:W.productVariantAttributeTypes)||[],fl=(0,a.useRef)(),_l=(null==Z||null==(S=Z.comingSoonLabel)||null==(H=S.fields)?void 0:H.text)||\"\",xl=(null==Z?void 0:Z.comingSoonLink)||\"\",jl=null==Z?void 0:Z.deactivateBuyNowButton,yl=null==Z?void 0:Z.enableComingSoonLabel,Nl=null==Z?void 0:Z.poweredBy,kl=(0,a.useState)(!1),wl=kl[0],Pl=kl[1],Cl=function(l){var e=l.className,i=l.text,n=(0,a.useState)(!0),t=n[0],o=n[1],s=i.indexOf(\".\");return-1===s||s+2===i.length?(0,g.jsx)(\"div\",{className:e,dangerouslySetInnerHTML:{__html:f().sanitize(i)}}):(0,g.jsxs)(\"div\",{className:e,children:[(0,g.jsx)(\"div\",{dangerouslySetInnerHTML:{__html:f().sanitize(t?\"\".concat(i.slice(0,s+1)):i)}}),(0,g.jsxs)(N,{ariaExpanded:!t,dataActionDetail:t?vl:gl,className:\"primaryGrey ob-product-highlights__see-more event_button_click\",onClick:function(){return o(!t)},tag:d.P8.button,children:[t?vl:gl,(0,g.jsx)(\"img\",{alt:\"chevron-down\",className:\"chevron-down\",src:t?d.gT.downIconPath:d.gT.upIconPath})]})]})},Il=function(l){var e,i=\"\";O&&(i=document.getElementById(\"ob-product-subnav-scroll\"));var n=O?\"ob-product-highlights__header_mobile\":\"ob-product-highlights__header_desktop\";return(0,g.jsxs)(\"div\",{className:\"ob-product-highlights__header \".concat(n),style:{marginTop:(null==(e=i)?void 0:e.offsetHeight)+\"px\"},children:[(0,g.jsx)(j,{tag:l,className:\"ob-product-highlights__title\",children:Z.title}),(0,g.jsx)(\"button\",{className:\"ob-scroll-to-review-section event_product_review_view\",\"data-bv-show\":\"inline_rating\",\"data-bv-product-id\":hl?hl.trim():\"\",\"data-bv-seo\":\"false\",id:\"rnrButton\",\"aria-label\":(0,u.Vt)(null==Z?void 0:Z.title)?\"\".concat((0,u.Vt)(null==Z?void 0:Z.title),\" \").concat(d.P8.productRating):d.P8.productRating,\"data-action-detail\":(0,u.Vt)(null==Z?void 0:Z.title)}),(null==Z?void 0:Z.description)&&(0,g.jsx)(Cl,{className:\"ob-product-highlights__description ob-product-highlights__description-mob\",text:Z.description})]})};(0,a.useEffect)((function(){var l,e,i,n;(Pl(!0),K({currentProductId:q}),$&&(null==(l=$[q])||null==(e=l.fields)?void 0:e.legacyAssets))?nl(null==(i=$[q])||null==(n=i.fields)?void 0:n.legacyAssets):ll.length>1&&nl(ll)}),[q]);var Tl=function(){return(0,g.jsxs)(\"div\",{className:\"ob-product-highlights__color-ctn\",children:[$&&$.some((function(l){var e;return void 0!==(null==l||null==(e=l.fields)?void 0:e.color)}))&&(0,g.jsx)(\"p\",{className:\"ob-product-highlights__label\",children:al.colorLabel}),(0,g.jsx)(\"ul\",{className:\"ob-product-highlights__colors\",children:$&&$.filter((function(l){var e,i;return null==l||null==(e=l.fields.color)||null==(i=e.fields)?void 0:i.name})).map((function(l,e){var i,n,t,o,s,a,c,r,h,v,m,p,f,_,x,j,y,N,k,w,P,C;return(0,g.jsxs)(\"li\",{className:\"ob-product-highlights__selected-colors-item\",children:[(null==l||null==(i=l.fields)||null==(n=i.color)||null==(t=n.fields)?void 0:t.colorImage)?(0,g.jsx)(\"img\",{className:\"event_buy_now_choose_product ob-series-product-highlights-color-img \".concat(e===q?\"ob-series__color--active\":\"\"),\"data-action-detail\":\"\".concat(null==l||null==(r=l.fields)||null==(h=r.color)||null==(v=h.fields)?void 0:v.name,\"_\").concat((0,u.Vt)(null==Z?void 0:Z.title)),alt:null==l||null==(m=l.fields)||null==(p=m.color)||null==(f=p.fields)||null==(_=f.colorImage)||null==(x=_.fields)?void 0:x.title,src:(0,b.H)(null==l||null==(j=l.fields)||null==(y=j.color)||null==(N=y.fields)||null==(k=N.colorImage)||null==(w=k.fields)||null==(P=w.file)?void 0:P.url),onClick:function(){return U(e)}}):(0,g.jsx)(\"button\",{style:(0,u.Nt)(null==l?void 0:l.fields.color),className:\"ob-product-highlights__color event_buy_now_choose_product \".concat(e===q?d.P8.isActive:d.P8.empty),onClick:function(){U(e),F(0)},\"data-action-detail\":\"\".concat(null==l||null==(o=l.fields)||null==(s=o.color)||null==(a=s.fields)?void 0:a.name,\"_\").concat((0,u.Vt)(null==Z?void 0:Z.title)),\"aria-pressed\":e===q,children:(0,g.jsx)(\"span\",{className:\"visuallyhidden\",children:null==l||null==(c=l.fields.color)?void 0:c.fields.name})}),l&&(null==l?void 0:l.fields)&&(null==l?void 0:l.fields.color)&&(0,g.jsx)(\"div\",{className:\"color-container-pdp\",children:(0,g.jsx)(\"p\",{className:e===q?\"ob-accessibility-highlighted visuallyhidden\":\"ob-accessibility visuallyhidden\",children:(0,u.CB)(null==l||null==(C=l.fields.color)?void 0:C.fields.name)})})]},e)}))})]})};(0,a.useEffect)((function(){if(il&&il.length>0){var l=[];il.filter((function(e,i){var n;-1===(ol&&ol.length>0?ol.findIndex((function(l){return l.fields.imageIndex==i})):-1)&&((null==e||null==(n=e.fields)?void 0:n.isHighlightHyperlink)&&(e.fields.imageIndex=i,e.fields.selectedVariantIndex=q,l.push(e)))})),ol&&ol.length>0?sl([].concat(t()(ol.filter((function(l){return!l.fields.hasOwnProperty(\"selectedVariantIndex\")}))),l)):sl([].concat(l))}}),[il,q]);var Ll=(0,a.useState)(!1),Al=Ll[0],Vl=Ll[1],Sl=ol?Object.keys(ol).slice(0,1).map((function(l){var e,i,n,t,o,s,a,c,r=(null==ol||null==(e=ol[l])||null==(i=e.fields)?void 0:i.isHighlightHyperlink)||!1;return(0,g.jsx)(\"li\",{className:\"ob-product-highlights__highlights-list-item \".concat(r?\"ob-hyperlink-highlights-li\":\"\"),children:r?(0,g.jsxs)(\"p\",{onClick:function(e){var i,n;return Gl(null==ol||null==(i=ol[l])||null==(n=i.fields)?void 0:n.imageIndex)},className:\"ob-highlight-hyperlink-list-item\",children:[(0,g.jsx)(k,{name:d.gT.chevronRight,size:1.7,color:\"\".concat(Y===(null==ol||null==(n=ol[l])||null==(t=n.fields)?void 0:t.imageIndex)?d.P.blueCtaColor:d.P.highBlackCtaColor)}),\" \",(null==ol||null==(o=ol[l])||null==(s=o.fields)?void 0:s.highlightHyperlinkTitle)||(null==ol||null==(a=ol[l])||null==(c=a.fields)?void 0:c.name)]}):(0,g.jsx)(w,{document:ol[l]})},l)})):[],Hl=ol?Object.keys(ol).map((function(l){var e,i,n,t,o,s,a,c,r=(null==ol||null==(e=ol[l])||null==(i=e.fields)?void 0:i.isHighlightHyperlink)||!1;return(0,g.jsx)(\"li\",{className:\"ob-product-highlights__highlights-list-item more \".concat(Al,\" \").concat(r?\"ob-hyperlink-highlights-li-more\":\"\"),children:r?(0,g.jsxs)(\"p\",{onClick:function(e){var i,n;return Gl(null==ol||null==(i=ol[l])||null==(n=i.fields)?void 0:n.imageIndex)},className:\"ob-highlight-hyperlink-list-item\",children:[(0,g.jsx)(k,{name:\"ovalArrowRight\",size:1.7,color:\"\".concat(Y===(null==ol||null==(n=ol[l])||null==(t=n.fields)?void 0:t.imageIndex)?d.P.blueCtaColor:d.P.highBlackCtaColor)}),(null==ol||null==(o=ol[l])||null==(s=o.fields)?void 0:s.highlightHyperlinkTitle)||(null==ol||null==(a=ol[l])||null==(c=a.fields)?void 0:c.name)]}):(0,g.jsx)(w,{document:ol[l]})},l)})):[],Gl=function(e){if(F(e),fl.current){var i=fl.current.children;Ml(i[e]);var n=document.getElementById(\"ob-product-highlights-carousel\");n&&l.isSmall&&n.scrollIntoView({behavior:\"smooth\",block:\"end\",inline:\"nearest\"})}},zl=function(){Vl(!Al)},El=function(l){return(0,g.jsx)(\"div\",{className:\"ob-product-highlights__dropdown-ctn\",children:(0,g.jsx)(\"ul\",{className:\"ob-product-highlights__dropdown-list\",children:pl.map((function(e,i){var n,t,o,s,a;return(0,g.jsxs)(\"li\",{className:\"ob-product-highlights__dropdown-list-item\",children:[(0,g.jsx)(\"label\",{htmlFor:(0,u.vG)(null==e||null==(n=e.fields)?void 0:n.name),className:\"ob-product-highlights__label ob-product-highlights__dropdown-label\",children:null==e||null==(t=e.fields)||null==(o=t.description)||null==(s=o.fields)?void 0:s.text}),(0,g.jsxs)(\"div\",{className:\"ob-product-highlights__dropdown-list-item-ctn\",children:[(0,g.jsx)(\"select\",{id:(0,u.vG)(null==e||null==(a=e.fields)?void 0:a.name),className:\"ob-product-highlights__dropdown-select\",onChange:function(l){window&&window.dataLayer&&window.dataLayer.push({event:\"customEvent\",GAeventCategory:\"event_informational_action\",GAeventAction:\"event_buy_now_choose_product\"}),U(parseInt(l.currentTarget.value,10)),F(0)},children:l&&l.map((function(l,n){var t,o,s,a,c,r,u,d,h,v,m,b,p,f=null==l||null==(t=l.fields)?void 0:t.productVariantAttributes;return null!=f&&f.length>i?(null==e||null==(a=e.fields)?void 0:a.name)===(null==(c=f[i])||null==(r=c.fields)||null==(u=r.productVariantAttributeTypeReference)||null==(d=u.fields)?void 0:d.name)?(0,g.jsx)(\"option\",{value:n,children:null==l||null==(h=l.fields)||null==(v=h.productVariantAttributes[i])||null==(m=v.fields)||null==(b=m.description)||null==(p=b.fields)?void 0:p.text},n):void 0:(console.info(\"Product Variant Attr Type \"+(null==e||null==(o=e.fields)?void 0:o.name)+\" missing at index \"+i+\" for variant \"+(null==l||null==(s=l.fields)?void 0:s.name)),\"\")}))}),(0,g.jsx)(\"div\",{className:\"ob-product-highlights__dropdown-icon\",children:(0,g.jsx)(k,{name:\"chevronDown\",size:2})})]})]},i)}))})})},Bl=function(l){var e=l.position,i=void 0===e?\"\":e,n=l.index,t=void 0===n?-1:n;if(fl.current){var o=Y;i===d.P8.prev&&o>0?o--:i===d.P8.next&&o<(null==il?void 0:il.length)-1?o++:t>-1&&(o=t),F(o);var s=fl.current.children;Ml(s[o])}},Ml=function(l){l&&l.scrollIntoView({behavior:d.P8.smooth,block:d.P8.nearest,inline:d.P8.center})},Ol=null,Rl=null,Dl=function(l){Rl=null,l.touches&&(Ol=l.touches[0])},ql=function(){if(null!=Rl&&null!=Ol){var l=Ol.screenX-Rl.screenX,e=Ol.screenY-Rl.screenY;l>0&&!Xl(l,e)?Bl({position:d.P8.next}):Bl({position:d.P8.prev})}},Ul=function(l){l.touches&&(Rl=l.touches[0])},Xl=function(l,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,n=Math.abs(l)>i?Math.abs(l):0,t=Math.abs(e)>i?Math.abs(e):0;return t>n},Yl=function(){return(0,g.jsxs)(\"div\",{className:\"ob-product-highlights__text-content\",children:[!O&&Il(\"h1\"),O&&$&&Tl(),(null==Z?void 0:Z.description)&&(0,g.jsx)(Cl,{className:\"ob-product-highlights__description\",text:Z.description}),cl&&(0,g.jsxs)(\"div\",{className:\"ob-product-highlights__quote\",children:[(0,g.jsx)(\"span\",{className:\"ob-product-highlights__quote-text\",children:cl.quote}),(0,g.jsx)(y,{image:cl.pressLogo})]}),!O&&$&&(null==$?void 0:$.some((function(l){var e;return void 0!==(null==l||null==(e=l.fields)?void 0:e.color)})))&&Tl(),$&&pl.length>0&&El($),(0,g.jsxs)(\"div\",{className:\"ob-product-highlights__purchase-btn-section ob-product-highlights__purchase-btn-section--legacy\",children:[yl&&(0,g.jsxs)(\"div\",{children:[(h=(null==(s=$[q])||null==(a=s.fields)?void 0:a.comingSoonLink)?null==(c=$[q])||null==(r=c.fields)?void 0:r.comingSoonLink:xl,(0,g.jsx)(P,{tag:\"a\",disabled:!h,href:h,size:\"medium-long\",target:\"_blank\",className:x()(\"ob-product-highlights__buy-now-btn-style-primary event_buy_now_eretailer_exit\"),dataActionDetail:\"dtc_\".concat((0,u.Vt)(Z.title)),onClick:function(e){l.onClickCallback(e),(0,u.zb)(xl)},dataEventBin:!0,dataProductTitle:(0,u.Vt)(Z.title),rel:\"noopener noreferrer\",children:_l})),Nl&&(0,g.jsx)(\"p\",{className:\"ob-product-highlights__powered-by-label\",children:Nl})]}),(o=yl?\"ob-product-highlights__find-retailer-btn-style-secondary\":\"\",ul&&!jl&&$&&(null==(e=$[q])||null==(i=e.fields)?void 0:i.sku)&&(0,g.jsx)(P,{size:\"medium-long\",tag:yl?\"a\":\"button\",textTheme:yl,className:\"\".concat(o,\" event_buy_now\"),dataActionDetail:\"open_ps_panel_\".concat((0,u.Vt)(Z.title)),onClick:function(e){return l.onClickCallback(e)},sku:null==(n=$[q])||null==(t=n.fields)?void 0:t.sku,children:ul}))]}),ol&&ol.length>0&&(0,g.jsxs)(\"div\",{className:\"ob-product-highlights__highlights-ctn\",children:[(0,g.jsx)(\"h3\",{className:\"ob-product-highlights__label\",children:al.highlightsLabel}),(0,g.jsxs)(\"ul\",{className:\"ob-product-highlights__highlights-list\",id:\"ob-highlights-ctn\",children:[!Al&&Sl,Al&&Hl]}),ol&&Object.keys(ol).length>1&&(Al?(0,g.jsxs)(N,{ariaExpanded:!0,className:\"primaryGrey ob-product-highlights__see-more recheck event_button_click\",tag:d.P8.button,dataActionDetail:gl,onClick:zl,ariaLabel:\"\".concat(gl,\" \").concat(d.P8.highlights),children:[gl.toUpperCase(),(0,g.jsx)(\"span\",{className:\"visuallyhidden\",children:d.P8.highlights}),(0,g.jsx)(\"img\",{src:d.gT.upIconPath})]}):(0,g.jsxs)(N,{ariaExpanded:!1,className:\"primaryGrey ob-product-highlights__see-more event_button_click\",tag:d.P8.button,dataActionDetail:vl,onClick:zl,ariaLabel:\"\".concat(vl,\" \").concat(d.P8.highlights),children:[vl.toUpperCase(),(0,g.jsx)(\"span\",{className:\"visuallyhidden\",children:d.P8.highlights}),(0,g.jsx)(\"img\",{className:\"downimage\",alt:\"chevron-down\",src:d.gT.downIconPath})]}))]}),(0,g.jsx)(\"div\",{className:\"mobile-pdp-showmore\",children:(0,g.jsx)(m,{productHighlights:ol})})]});var e,i,n,t,o,s,a,c,r,h};return $&&(null==(G=$[0])||null==(z=G.fields)||null==(E=z.mainAsset)?void 0:E.fields)?$[0].fields.mainAsset.fields.isProductPage=!0:(null==Z||null==(B=Z.mainAsset)?void 0:B.fields)&&(Z.mainAsset.fields.isProductPage=!0),(0,g.jsxs)(\"div\",{className:\"ob-product-highlights ob-legacy-product-highlights\",id:dl,children:[(0,g.jsx)(y,{image:rl,children:(0,g.jsxs)(\"div\",{className:\"ob-product-highlights__ctn\",children:[wl?O&&Il(\"h1\"):(0,g.jsx)(\"div\",{className:\"ob-mobile-legacy-product-highlights-header\",children:Il(\"h2\")}),il.length>0?(0,g.jsxs)(\"div\",{className:\"ob-product-highlights__carousel\",id:\"ob-product-highlights-carousel\",children:[(0,g.jsx)(\"ul\",{className:\"ob-product-highlights__carousel-main-list\",onTouchStart:Dl,onTouchEnd:ql,onTouchMove:Ul,children:il.map((function(l,e){var i,n;return(0,g.jsx)(\"li\",{\"data-index\":e,className:\"ob-product-highlights__carousel-main-list-item \".concat(Y===e?\"--is-active\":\"\"),children:(0,g.jsx)(y,{image:l,alt:null==il||null==(i=il[e])||null==(n=i.fields)?void 0:n.alternateText,noLazyLoad:!0})},e)}))}),(0,g.jsxs)(\"div\",{className:\"ob-product-highlights__carousel-thumbnail-ctn\",children:[(0,g.jsx)(\"ul\",{className:\"ob-product-highlights__carousel-thumbnail-list\",ref:fl,children:il.map((function(l,e){var i,n,t,o,s,a;return(0,g.jsx)(\"li\",{className:\"ob-product-highlights__carousel-thumbnail-list-item \".concat(1!==(null==l||null==(i=l.imageRendition)?void 0:i.aspectRatio)?\"ob-product-highlights__carousel-thumbnail-list-item--not-square\":\"\"),children:(0,g.jsx)(\"button\",{type:\"button\",\"aria-label\":null==il||null==(n=il[e])||null==(t=n.fields)?void 0:t.alternateText,className:\"ob-product-highlights__carousel-thumbnail-button \".concat(Y===e?\"--is-active\":\"\",\" event_image_click\"),\"data-action-detail\":\"\".concat(null==il||null==(o=il[e])||null==(s=o.fields)?void 0:s.alternateText,\" -\").concat(e,\"-thumbnail\"),onClick:function(){return Bl({index:e})},children:(0,g.jsx)(y,{image:l,altText:(null==l||null==(a=l.fields)?void 0:a.alternateText)?\"\".concat(l.fields.alternateText,\" \").concat(e+1):null})})},e)}))}),(0,g.jsx)(\"button\",{type:\"button\",className:\"ob-product-highlights__carousel-btn ob-product-highlights__carousel-btn--prev \".concat(0===Y?\"--is-disabled\":\"\",\" event_button_click\"),onClick:function(){return Bl({position:d.P8.prev})},\"aria-label\":bl,\"data-action-detail\":\"productCarousel-previous-button\",tabIndex:0===Y?-1:null,disabled:0===Y,children:(0,g.jsx)(\"img\",{className:\"lefticon\",alt:\"ProductCarousel-left-arrow\",src:d.gT.leftIconPath})}),(0,g.jsx)(\"button\",{type:\"button\",className:\"ob-product-highlights__carousel-btn ob-product-highlights__carousel-btn--next \".concat(Y===(null==il?void 0:il.length)-1?\"--is-disabled\":\"\",\" event_button_click\"),onClick:function(){return Bl({position:d.P8.next})},\"aria-label\":ml,\"data-action-detail\":\"productCarousel-next-button\",tabIndex:Y===(null==il?void 0:il.length)-1?-1:null,disabled:Y===(null==il?void 0:il.length)-1,children:(0,g.jsx)(\"img\",{className:\"lefticon\",alt:\"ProductCarousel-right-arrow\",src:d.gT.rightIconPath})})]})]}):(0,g.jsx)(\"ul\",{className:\"ob-product-highlights__img-ctn\",children:$?$.map((function(l,e){return(0,g.jsx)(\"li\",{className:\"ob-product-highlights__img \".concat(e===q?d.P8.isActive:d.P8.empty),children:Z.mainAsset?(0,g.jsx)(y,{image:Z.mainAsset,noLazyLoad:!0}):(0,g.jsx)(y,{image:l.fields.mainAsset,noLazyLoad:!0})},e)})):(0,g.jsx)(\"li\",{children:(0,g.jsx)(y,{image:Z.mainAsset,noLazyLoad:!0})})}),!O&&Yl()]})}),O&&Yl()]})}var I=(0,h.Ui)(C),T=C}}]);"],"names":["self","webpackChunk_N_E","push","l","e","i","r","d","LegacyProductHighlightsTest","T","default","I","n","t","o","s","a","c","u","h","g","v","Promise","all","then","bind","loadableGenerated","webpack","m","productHighlights","Object","keys","map","jsx","className","children","document","useState","jsxs","onClick","gT","moreInfomation","src","upIconPath","downIconPath","alt","b","p","f","_","x","j","resolve","y","N","k","w","P","C","L","A","V","S","H","G","z","E","B","M","extraAttributes","O","isMedium","R","D","q","U","X","Y","F","Q","y3","J","K","W","entity","Z","productOverview","fields","$","productVariants","ll","legacyAssets","el","il","nl","tl","ol","sl","al","cl","pressQuote","rl","background","ul","buyNowLabel","text","dl","anchorId","hl","VP","gl","seeLessLabel","vl","seeMoreLabel","ml","nextLabel","bl","previousLabel","toUpperCase","pl","productVariantAttributeTypes","fl","useRef","_l","comingSoonLabel","xl","comingSoonLink","jl","deactivateBuyNowButton","yl","enableComingSoonLabel","Nl","poweredBy","kl","wl","Pl","Cl","indexOf","length","dangerouslySetInnerHTML","__html","sanitize","concat","slice","ariaExpanded","dataActionDetail","tag","P8","button","Il","getElementById","style","marginTop","offsetHeight","title","trim","id","Vt","productRating","description","useEffect","currentProductId","Tl","some","color","colorLabel","filter","name","colorImage","file","url","Nt","isActive","empty","CB","findIndex","imageIndex","isHighlightHyperlink","selectedVariantIndex","hasOwnProperty","Ll","Al","Vl","Sl","Gl","chevronRight","size","blueCtaColor","highBlackCtaColor","highlightHyperlinkTitle","Hl","current","Ml","isSmall","scrollIntoView","behavior","block","inline","zl","Bl","position","index","prev","next","smooth","nearest","center","Ol","Rl","Xl","arguments","Math","abs","Yl","quote","image","pressLogo","htmlFor","vG","onChange","window","dataLayer","event","GAeventCategory","GAeventAction","parseInt","currentTarget","value","productVariantAttributes","productVariantAttributeTypeReference","console","info","disabled","href","target","onClickCallback","zb","dataEventBin","dataProductTitle","rel","sku","textTheme","highlightsLabel","ariaLabel","highlights","mainAsset","isProductPage","onTouchStart","touches","onTouchEnd","screenX","screenY","onTouchMove","alternateText","noLazyLoad","ref","imageRendition","aspectRatio","type","altText","tabIndex","leftIconPath","rightIconPath","Ui"],"sourceRoot":""}