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AA3F,EAAA+I,QAAA,OAAAmB,OAAA,CAAAvE,WAAA,GAAA3F,EAAAiJ,SAAA,OAAApH,MAAA,SAAAoI,KAAA,CAAAsC,cAAA,OAAAtC,KAAA,CAAAsC,cAAA,CAAA/O,EAAA+O,cAAA,QAAArC,OAAA,CAAAvE,WAAA,GAAA3F,EAAAgJ,SAAA,OAAAkB,OAAA,CAAAvE,WAAA,GAAA3F,EAAAkJ,UAAA,OAAArH,MAAA,OAAAM,IAAA,uBAAAgG,MAAA,gBAAA8B,KAAA,CAAAuC,SAAA,OAAAvC,KAAA,CAAAuC,SAAA,EAAA7G,YAAA,KAAAgF,KAAA,CAAAhF,WAAA,QAAAuE,OAAA,CAAA4B,OAAA,EAAA/L,EAAA,KAAAmK,OAAA,CAAA4B,OAAA,MAAAtM,CAAA,WAAA3B,EAAA+C,EAAA,gBAAAuE,SAAA,IAAAoG,aAAAtL,EAAAuL,WAAAvL,CAAA,GAAAW,CAAA,EAAAlD,EAAA","sources":["webpack://_N_E/./adapters/helpers/ConstantsGA.js","webpack://_N_E/./components/LanguageSelection/LanguageSelection.js","webpack://_N_E/./node_modules/react-slide-toggle/dist/ReactSlideToggle.umd.js","webpack://_N_E/"],"sourcesContent":["export const AnalyticsConstants = Object.freeze({\n collapseText: 'Collapse Link',\n expandText: 'Expand Link',\n learnMoreText: 'Learn More',\n countrySelectorText: 'Open Country Selector Panel',\n openVideoText: 'Open Video',\n buttonPriceText: 'Open Price Panel',\n contentVideoOverlayText: 'Outside Panel',\n videoPlayText: 'Play',\n videoPauseText: 'Pause',\n videoMuteText: 'Sound: Off',\n videoUnmuteText: 'Sound: On',\n videoCloseCaptionsOnText: 'Caption: On',\n videoCloseCaptionsOffText: 'Caption: Off',\n videoFullscreenOnText: 'Full Screen: On',\n videoFullscreenOffText: 'Full Screen: Off',\n dropdownMenu: 'Dropdown Menu',\n rotationView: '360 View',\n facebook: 'Facebook',\n twitter: 'Twitter',\n openLiveChat: 'Open Live Chat',\n expandFaq: 'Expand FAQ',\n previousPage: 'Previous Page',\n nextPage: 'Next Page',\n promoRedeem: 'Redeem: '\n});","import React, { useCallback, useEffect, useRef, useState } from 'react';\nimport SlideToggle from 'react-slide-toggle';\nimport dynamic from 'next/dynamic';\nimport { getAnchorIdFromEntity, stringifyAnchor, useAnchor } from '../../adapters/helpers/Anchor';\nimport { toggleScroll} from '../../adapters/helpers/Utils';\nimport Block from '../../adapters/helpers/Block';\n\nconst Icon = dynamic(() => import('../Icon/Icon'));\nimport PropTypes from 'prop-types';\nimport { mediaQueryHOC } from '../../adapters/helpers/Hooks'\nimport { LanguageSelectionConstants,MainMenuConstants } from '../../adapters/helpers/Constants'\nimport {Label} from '../Label/Label'\nimport { AnalyticsConstants } from '../../adapters/helpers/ConstantsGA';\n\nconst primaryColor = LanguageSelectionConstants.primaryColor;\n\nfunction LanguageSelection(props) {\n const block = new Block(props);\n\n const anchor = useAnchor();\n const overlayToggleRef = useRef();\n const languageSelectorRef = useRef();\n const linksRef = useRef();\n\n const [isLanguageSelectorOpen, setLanguageSelectorOpen] = useState(false);\n const [lastScroll, setLastScroll] = useState(0);\n\n const handleExpanding = useCallback(\n () => { setLanguageSelectorOpen(true); },\n []\n );\n\n const handleCollapsing = useCallback(\n () => { setLanguageSelectorOpen(false); },\n []\n );\n\n const handleClickOutside = useCallback(\n (event) => {\n if (overlayToggleRef.current && languageSelectorRef.current && !languageSelectorRef.current.contains(event.target)) {\n overlayToggleRef.current.toggle();\n }\n },\n []\n );\n const trapFocusInOverlay = event => {\n if (!isLanguageSelectorOpen) {\n return;\n }\n const element = event.currentTarget;\n const focusableElements = element.querySelectorAll('button:not([disabled]), a[href]:not([disabled])');\n const firstFocusableElement = focusableElements?.[0];\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n const KEYCODE_TAB = 9;\n\n element.addEventListener('keydown', function(e) {\n var isTabPressed = (e.key === 'Tab' || e.keyCode === KEYCODE_TAB);\n \n if (!isTabPressed) { \n return; \n }\n \n if ( e.shiftKey ) /* shift + tab */ {\n if (document.activeElement === firstFocusableElement) {\n lastFocusableElement.focus();\n e.preventDefault();\n }\n } else /* tab */ {\n if (document.activeElement === lastFocusableElement) {\n firstFocusableElement.focus();\n e.preventDefault();\n }\n }\n });\n };\n const handleScroll = useCallback(\n () => {\n if (!document.body.classList.contains('noScroll')) {\n setLastScroll(window.pageYOffset);\n }\n }\n );\n\n useEffect(\n () => {\n if (isLanguageSelectorOpen) {\n window.addEventListener('mousedown', handleClickOutside);\n toggleScroll(isLanguageSelectorOpen, lastScroll);\n\n return () => {\n window.removeEventListener('mousedown', handleClickOutside);\n }\n } else {\n toggleScroll(isLanguageSelectorOpen, lastScroll);\n }\n },\n [isLanguageSelectorOpen]\n );\n\n useEffect(\n () => {\n window.addEventListener('scroll', handleScroll);\n return () => {\n window.removeEventListener('scroll', handleScroll);\n }\n },\n [lastScroll]\n );\n\n useEffect(() => {\n if (languageSelectorRef?.current) {\n languageSelectorRef.current.addEventListener(LanguageSelectionConstants.keydown, trapFocusInOverlay);\n if(isLanguageSelectorOpen){ return () => {\n languageSelectorRef.current.removeEventListener(LanguageSelectionConstants.keydown, trapFocusInOverlay)\n }}\n }\n },[isLanguageSelectorOpen]);\n\n const scrollTo = (event) => {\n event.preventDefault();\n\n if (languageSelectorRef.current) {\n const currentTarget = event.currentTarget;\n const anchorId = currentTarget.dataset.anchorId\n const element = languageSelectorRef.current.querySelector(`[data-id=${anchorId}]`);\n element.scrollIntoView({behavior: LanguageSelectionConstants.smooth});\n }\n };\n\n const calculateHeight = () => {\n const announcementBar = document.querySelector('.ob-announcement-bar');\n const overlay = languageSelectorRef.current.querySelector('.ob-language-overlay');\n const header = document.querySelector('.zone-header');\n\n if (props.isMedium) {\n if (announcementBar && announcementBar.style.display !== 'none') {\n linksRef.current.style.height = `calc(${window.innerHeight}px - ${linksRef.current.offsetTop + announcementBar.offsetHeight}px)`\n overlay.style.height = `calc(${window.innerHeight}px - ${overlay.offsetTop + announcementBar.offsetHeight}px)`\n } else {\n linksRef.current.style.height = `calc(${window.innerHeight}px - ${linksRef.current.offsetTop}px)`\n overlay.style.height = `calc(${window.innerHeight}px - ${overlay.offsetTop}px)`\n }\n } else {\n if (header) {\n overlay.style.height = `calc(${window.innerHeight}px - ${overlay.offsetTop}px)`;\n linksRef.current.style.height = `${window.innerHeight - (linksRef.current.offsetTop + header.offsetHeight)}px`\n }\n }\n };\n\n // This is the label displayed and also serves as the CTA to trigger the language menu\n const currentLanguage = block.getFieldValue(LanguageSelectionConstants.currentLanguage);\n const title = block.getFieldValue(LanguageSelectionConstants.title);\n const regions = block.getFieldValue(LanguageSelectionConstants.regions);\n\n const jumpToCopy = Label({label: block.getFieldValue(LanguageSelectionConstants.jumpToLabel)});\n const closeButtonCopy = Label({label: block.getFieldValue(LanguageSelectionConstants.closeLanguageSelectionLabel)});\n\n const LanguageSelectionAriaLabel = block.getFieldValue(LanguageSelectionConstants.countryLanguageAriaLabel)\n\n return (\n \n {({ onToggle, setCollapsibleElement, toggleState }) => (\n
{\n if (event.key === MainMenuConstants.capEscape && (toggleState === MainMenuConstants.capExpanded || toggleState === MainMenuConstants.capExpanding)) {\n onToggle();\n }\n }}>\n \n\n
\n
\n
\n

{title}

\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n {({ onToggle, setCollapsibleElement, toggleState }) => (\n
\n \n\n
\n \n
\n
\n )}\n
\n
\n
    \n {regions.map((region, regionIndex) => (\n
  • \n

    \n {region.fields.name}\n

    \n\n \n
  • \n ))}\n
\n
\n\n \n
\n
\n
\n )}\n \n );\n}\n\nexport default mediaQueryHOC(LanguageSelection)\n// This export is for unit testing (do not remove) :\nexport const LanguageSelectionTest = LanguageSelection;\n\nLanguageSelection.propTypes = {\n isMedium: PropTypes.bool,\n};\n","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t(require(\"react\")):\"function\"==typeof define&&define.amd?define([\"react\"],t):(e=e||self).ReactSlideToggle=t(e.React)}(this,function(e){\"use strict\";function t(e,t){for(var a=0;as?s:t.15&&(t>a?o-=.75*s:o+=.75*s),o}},c=function(r){function g(){var e,t,o,r;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,g);for(var l=arguments.length,c=new Array(l),d=0;d=e)t.setExpandedState();else{var o,n=t._state_,r=n.startDirection,i=n.toggleState,l=n.boxHeight,g=u.clamp({value:s/e});o=t.props.whenReversedUseBackwardEase&&r!==i?1-t.props.easeCollapse(1-g):t.props.easeExpand(g),t.props.bestPerformance||t.setState({range:g,progress:o}),t.props.interpolateOnReverse&&t._state_.hasReversed&&(o=u.interpolate({next:o,prev:t._state_.progress}));var c=Math.round(l*o);t._state_.progress=o,t.updateCollapsible(\"height\",\"\".concat(c,\"px\")),t.nextTick(t.expand)}}}}),a(n(t),\"setCollapsedState\",function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).initialState;t._state_.progress=0,t._state_.toggleState=p.COLLAPSED,t.props.noDisplayStyle?t.updateCollapsible(\"height\",\"0px\"):(t.updateCollapsible(\"display\",\"none\"),t.updateCollapsible(\"height\",null)),t.setState({toggleState:p.COLLAPSED,range:0,progress:t._state_.progress}),!e&&t.props.onCollapsed&&t.props.onCollapsed({hasReversed:t.state.hasReversed})}),a(n(t),\"collapse\",function(){if(t._state_.toggleState===p.COLLAPSING){var e=u.sanitizeDuration(t.props.duration);if(e<=0)t.setCollapsedState();else{var a=t._state_.startTime,s=Math.min(e,u.now()-a);if(s>=e)t.setCollapsedState();else{var o,n=t._state_,r=n.startDirection,i=n.boxHeight,l=n.toggleState,g=1-u.clamp({value:s/e}),c=t.props,d=c.whenReversedUseBackwardEase,h=c.easeExpand,_=c.easeCollapse;o=d&&r!==l?h(g):1-_(1-g),t.props.bestPerformance||t.setState({range:g,progress:o}),t.props.interpolateOnReverse&&t._state_.hasReversed&&(o=u.interpolate({next:o,prev:t._state_.progress}));var f=Math.round(i*o);t._state_.progress=o,t._state_.timeout=t.nextTick(t.collapse),t.updateCollapsible(\"height\",\"\".concat(f,\"px\"))}}}}),a(n(t),\"nextTick\",function(e){t._state_.timeout=i(e)}),t}var c,d,h;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(g,e.Component),c=g,(d=[{key:\"render\",value:function(){var e={onToggle:this.toggle,toggle:this.toggle,setCollapsibleElement:this.setCollapsibleElement,toggleState:this.state.toggleState,hasReversed:this.state.hasReversed,isMoving:u.isMoving(this.state.toggleState),range:this.state.range,progress:this.state.progress};return\"function\"==typeof this.props.children?this.props.children(e):this.props.render?this.props.render(e):this.props.children}},{key:\"componentDidMount\",value:function(){this.props.onMount&&this.props.onMount({toggleState:this.state.toggleState,toggle:this.toggle})}},{key:\"componentDidUpdate\",value:function(e,t){this.props.setToCollapsing&&this.props.setToCollapsing>e.setToCollapsing&&(this._state_.toggleState!==p.EXPANDED&&this._state_.toggleState!==p.EXPANDING||this.toggle()),this.props.setToExpanding&&this.props.setToExpanding>e.setToExpanding&&(this._state_.toggleState!==p.COLLAPSED&&this._state_.toggleState!==p.COLLAPSING||this.toggle())}},{key:\"componentWillUnmount\",value:function(){this.props.onUnmount&&this.props.onUnmount({toggleState:this.state.toggleState}),this._state_.timeout&&l(this._state_.timeout)}}])&&t(c.prototype,d),h&&t(c,h),g}();return a(c,\"defaultProps\",{duration:300,easeCollapse:g,easeExpand:g}),c});\n//# sourceMappingURL=ReactSlideToggle.umd.js.map\n","(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8565],{75176:function(e,t,a){\"use strict\";a.d(t,{k:function(){return n}});var n=Object.freeze({collapseText:\"Collapse Link\",expandText:\"Expand Link\",learnMoreText:\"Learn More\",countrySelectorText:\"Open Country Selector Panel\",openVideoText:\"Open Video\",buttonPriceText:\"Open Price Panel\",contentVideoOverlayText:\"Outside Panel\",videoPlayText:\"Play\",videoPauseText:\"Pause\",videoMuteText:\"Sound: Off\",videoUnmuteText:\"Sound: On\",videoCloseCaptionsOnText:\"Caption: On\",videoCloseCaptionsOffText:\"Caption: Off\",videoFullscreenOnText:\"Full Screen: On\",videoFullscreenOffText:\"Full Screen: Off\",dropdownMenu:\"Dropdown Menu\",rotationView:\"360 View\",facebook:\"Facebook\",twitter:\"Twitter\",openLiveChat:\"Open Live Chat\",expandFaq:\"Expand FAQ\",previousPage:\"Previous Page\",nextPage:\"Next Page\",promoRedeem:\"Redeem: \"})},88565:function(e,t,a){\"use strict\";a.r(t),a.d(t,{LanguageSelectionTest:function(){return _}});var n=a(67294),o=a(5021),s=a.n(o),l=a(5152),r=a.n(l),i=a(97020),c=a(8996),u=a(40483),p=a(71357),d=a(24036),g=a(44291),f=a(75176),h=a(85893),v=r()((function(){return Promise.resolve().then(a.bind(a,80713))}),{loadableGenerated:{webpack:function(){return[80713]}}}),b=d.$G.primaryColor;function m(e){var t=new u.Z(e),a=((0,i.Wb)(),(0,n.useRef)()),o=(0,n.useRef)(),l=(0,n.useRef)(),r=(0,n.useState)(!1),p=r[0],m=r[1],_=(0,n.useState)(0),x=_[0],E=_[1],y=(0,n.useCallback)((function(){m(!0)}),[]),S=(0,n.useCallback)((function(){m(!1)}),[]),C=(0,n.useCallback)((function(e){a.current&&o.current&&!o.current.contains(e.target)&&a.current.toggle()}),[]),w=function(e){if(p){var t=e.currentTarget,a=t.querySelectorAll(\"button:not([disabled]), a[href]:not([disabled])\"),n=null==a?void 0:a[0],o=a[a.length-1];t.addEventListener(\"keydown\",(function(e){(\"Tab\"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(o.focus(),e.preventDefault()):document.activeElement===o&&(n.focus(),e.preventDefault()))}))}},L=(0,n.useCallback)((function(){document.body.classList.contains(\"noScroll\")||E(window.pageYOffset)}));(0,n.useEffect)((function(){if(p)return window.addEventListener(\"mousedown\",C),(0,c.a9)(p,x),function(){window.removeEventListener(\"mousedown\",C)};(0,c.a9)(p,x)}),[p]),(0,n.useEffect)((function(){return window.addEventListener(\"scroll\",L),function(){window.removeEventListener(\"scroll\",L)}}),[x]),(0,n.useEffect)((function(){if((null==o?void 0:o.current)&&(o.current.addEventListener(d.$G.keydown,w),p))return function(){o.current.removeEventListener(d.$G.keydown,w)}}),[p]);var N=function(e){if(e.preventDefault(),o.current){var t=e.currentTarget.dataset.anchorId;o.current.querySelector(\"[data-id=\".concat(t,\"]\")).scrollIntoView({behavior:d.$G.smooth})}},O=function(){var t=document.querySelector(\".ob-announcement-bar\"),a=o.current.querySelector(\".ob-language-overlay\"),n=document.querySelector(\".zone-header\");e.isMedium?t&&\"none\"!==t.style.display?(l.current.style.height=\"calc(\".concat(window.innerHeight,\"px - \").concat(l.current.offsetTop+t.offsetHeight,\"px)\"),a.style.height=\"calc(\".concat(window.innerHeight,\"px - \").concat(a.offsetTop+t.offsetHeight,\"px)\")):(l.current.style.height=\"calc(\".concat(window.innerHeight,\"px - \").concat(l.current.offsetTop,\"px)\"),a.style.height=\"calc(\".concat(window.innerHeight,\"px - \").concat(a.offsetTop,\"px)\")):n&&(a.style.height=\"calc(\".concat(window.innerHeight,\"px - \").concat(a.offsetTop,\"px)\"),l.current.style.height=\"\".concat(window.innerHeight-(l.current.offsetTop+n.offsetHeight),\"px\"))},P=t.getFieldValue(d.$G.currentLanguage),T=t.getFieldValue(d.$G.title),k=t.getFieldValue(d.$G.regions),D=(0,g.__)({label:t.getFieldValue(d.$G.jumpToLabel)}),j=(0,g.__)({label:t.getFieldValue(d.$G.closeLanguageSelectionLabel)}),A=t.getFieldValue(d.$G.countryLanguageAriaLabel);return(0,h.jsx)(s(),{ref:a,duration:500,collapsed:!0,onExpanding:y,onCollapsing:S,onExpanded:O,children:function(e){var t=e.onToggle,a=e.setCollapsibleElement,n=e.toggleState;return(0,h.jsxs)(\"div\",{className:\"ob-language-selector\",ref:o,onKeyDown:function(e){e.key!==d.o5.capEscape||n!==d.o5.capExpanded&&n!==d.o5.capExpanding||t()},children:[(0,h.jsxs)(\"button\",{className:\"event_button_click ob-language-selector-toggle\",\"aria-label\":A,\"data-action-detail\":f.k.countrySelectorText,onClick:function(){t(),O()},children:[P,(0,h.jsx)(v,{className:\"ob-language-selector-toggle-icon\",name:d.$G.wideChevronDown,size:\"0.8\"})]}),(0,h.jsx)(\"div\",{className:\"language-overlay ob-language-overlay\",ref:a,style:{display:\"none\"},role:d.o5.menuitem,children:(0,h.jsxs)(\"div\",{className:\"ob-language-overlay-inner\",role:d.o5.menubar,children:[(0,h.jsx)(\"div\",{className:\"ob-language-overlay-header\",role:d.o5.menuitem,children:(0,h.jsx)(\"h2\",{className:\"ob-language-overlay-title\",children:T})}),(0,h.jsx)(\"div\",{role:d.o5.menubar,className:\"ob-language-overlay-tabs\",\"aria-label\":d.o5.menulist,children:(0,h.jsx)(\"div\",{role:d.o5.menuitem,className:\"ob-language-overlay-tabs-desktop\",\"aria-label\":d.o5.menulistDesktop,children:(0,h.jsx)(\"ul\",{className:\"mini-nav-regions ob-language-overlay-tabs\",children:k.map((function(e,t){return(0,h.jsx)(\"li\",{children:(0,h.jsx)(\"h3\",{children:(0,h.jsx)(\"a\",{\"aria-label\":e.fields.name,className:\"event_internal_link\",\"data-action-detail\":(0,i.BO)(e),href:\"#\".concat((0,i.BO)(e),\"-\").concat(t),\"data-anchor-id\":(0,i.BO)(e),onClick:N,children:e.fields.name})})},\"region-nav-\".concat(t))}))})})}),(0,h.jsxs)(\"div\",{role:d.o5.menubar,\"aria-label\":d.o5.languageLink,className:\"ob-language-overlay-links\",ref:l,children:[(0,h.jsx)(\"div\",{role:d.o5.menuitem,\"aria-label\":d.o5.languageLink,className:\"ob-language-overlay-tabs\",children:(0,h.jsx)(s(),{duration:500,collapsed:!0,children:function(e){var t=e.onToggle,a=e.setCollapsibleElement,n=e.toggleState;return(0,h.jsxs)(\"div\",{\"aria-label\":d.o5.languageTabMobile,className:\"ob-language-overlay-tabs-mobile\",children:[(0,h.jsxs)(\"button\",{\"aria-expanded\":n===d.o5.capExpanded||n===d.o5.capExpanding,className:\"ob-language-overlay-tabs-toggle\",\"aria-label\":d.o5.expandingMenu,onClick:t,children:[D,(0,h.jsx)(\"span\",{className:\"ob-language-overlay-tabs-toggle--icon\",children:n===d.o5.capExpanded||n===d.o5.capExpanding?(0,h.jsx)(v,{name:d.o5.chevronTop,color:d.o5.white,size:2}):(0,h.jsx)(v,{name:d.o5.chevronDown,color:d.o5.white,size:2})})]}),(0,h.jsx)(\"div\",{ref:a,role:d.o5.menuitem,className:\"ob-language-overlay-tabs-mobile-inner\",style:{display:\"none\"},children:(0,h.jsx)(\"ul\",{className:\"mini-nav-regions\",children:k.map((function(e,t){return(0,h.jsx)(\"li\",{children:(0,h.jsx)(\"a\",{\"aria-label\":e.fields.name,className:\"event_internal_link\",\"data-action-detail\":(0,i.BO)(e),href:\"#\".concat((0,i.BO)(e),\"-\").concat(t),\"data-anchor-id\":(0,i.BO)(e),onClick:N,children:e.fields.name})},\"region-nav-\"+t)}))})})]})}})}),(0,h.jsx)(\"ul\",{className:\"market-selection\",children:k.map((function(e,t){return(0,h.jsxs)(\"li\",{children:[(0,h.jsx)(\"h2\",{className:\"market-selection-title\",\"data-id\":(0,i.BO)(e),id:\"\".concat((0,i.BO)(e),\"-\").concat(t),children:e.fields.name}),(0,h.jsx)(\"ul\",{children:e.fields.markets.map((function(e,t){return(0,h.jsx)(\"li\",{children:(0,h.jsx)(\"a\",{\"aria-label\":e.fields.nativeLanguageLabel,className:\"event_internal_link\",\"data-action-detail\":e.fields.nativeLanguageLabel,href:e.fields.link,lang:e.fields.languageCode,children:e.fields.nativeLanguageLabel})},\"market-\"+t)}))})]},\"region-\"+t)}))})]}),(0,h.jsx)(\"button\",{className:\"event_close_window ob-language-overlay-close-btn\",onClick:t,\"aria-label\":j,children:(0,h.jsx)(v,{name:d.$G.close,size:\"2.4\",color:b,arialable:j})})]})})]})}})}t.default=(0,p.Ui)(m);var _=m},5021:function(e,t,a){e.exports=function(e){\"use strict\";function t(e,t){for(var a=0;an?n:t.15&&(t>a?o-=.75*n:o+=.75*n),o},b=function(a){function r(){var e,t,a,s;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,r);for(var c=arguments.length,p=new Array(c),b=0;b=e)t.setExpandedState();else{var o,s=t._state_,l=s.startDirection,r=s.toggleState,i=s.boxHeight,c=g({value:n/e});o=t.props.whenReversedUseBackwardEase&&l!==r?1-t.props.easeCollapse(1-c):t.props.easeExpand(c),t.props.bestPerformance||t.setState({range:c,progress:o}),t.props.interpolateOnReverse&&t._state_.hasReversed&&(o=v({next:o,prev:t._state_.progress}));var p=Math.round(i*o);t._state_.progress=o,t.updateCollapsible(\"height\",\"\".concat(p,\"px\")),t.nextTick(t.expand)}}}})),n(l(t),\"setCollapsedState\",(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).initialState;t._state_.progress=0,t._state_.toggleState=u.COLLAPSED,t.props.noDisplayStyle?t.updateCollapsible(\"height\",\"0px\"):(t.updateCollapsible(\"display\",\"none\"),t.updateCollapsible(\"height\",null)),t.setState({toggleState:u.COLLAPSED,range:0,progress:t._state_.progress}),!e&&t.props.onCollapsed&&t.props.onCollapsed({hasReversed:t.state.hasReversed})})),n(l(t),\"collapse\",(function(){if(t._state_.toggleState===u.COLLAPSING){var e=h(t.props.duration);if(e<=0)t.setCollapsedState();else{var a=t._state_.startTime,n=Math.min(e,f()-a);if(n>=e)t.setCollapsedState();else{var o,s=t._state_,l=s.startDirection,r=s.boxHeight,i=s.toggleState,c=1-g({value:n/e}),p=t.props,d=p.whenReversedUseBackwardEase,b=p.easeExpand,m=p.easeCollapse;o=d&&l!==i?b(c):1-m(1-c),t.props.bestPerformance||t.setState({range:c,progress:o}),t.props.interpolateOnReverse&&t._state_.hasReversed&&(o=v({next:o,prev:t._state_.progress}));var _=Math.round(r*o);t._state_.progress=o,t._state_.timeout=t.nextTick(t.collapse),t.updateCollapsible(\"height\",\"\".concat(_,\"px\"))}}}})),n(l(t),\"nextTick\",(function(e){t._state_.timeout=i(e)})),t}var p,b;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(r,e.Component),p=r,(b=[{key:\"render\",value:function(){var e={onToggle:this.toggle,toggle:this.toggle,setCollapsibleElement:this.setCollapsibleElement,toggleState:this.state.toggleState,hasReversed:this.state.hasReversed,isMoving:d(this.state.toggleState),range:this.state.range,progress:this.state.progress};return\"function\"==typeof this.props.children?this.props.children(e):this.props.render?this.props.render(e):this.props.children}},{key:\"componentDidMount\",value:function(){this.props.onMount&&this.props.onMount({toggleState:this.state.toggleState,toggle:this.toggle})}},{key:\"componentDidUpdate\",value:function(e,t){this.props.setToCollapsing&&this.props.setToCollapsing>e.setToCollapsing&&(this._state_.toggleState!==u.EXPANDED&&this._state_.toggleState!==u.EXPANDING||this.toggle()),this.props.setToExpanding&&this.props.setToExpanding>e.setToExpanding&&(this._state_.toggleState!==u.COLLAPSED&&this._state_.toggleState!==u.COLLAPSING||this.toggle())}},{key:\"componentWillUnmount\",value:function(){this.props.onUnmount&&this.props.onUnmount({toggleState:this.state.toggleState}),this._state_.timeout&&c(this._state_.timeout)}}])&&t(p.prototype,b),r}();return n(b,\"defaultProps\",{duration:300,easeCollapse:p,easeExpand:p}),b}(a(67294))}}]);"],"names":["self","webpackChunk_N_E","push","e","t","a","d","k","n","Object","freeze","collapseText","expandText","learnMoreText","countrySelectorText","openVideoText","buttonPriceText","contentVideoOverlayText","videoPlayText","videoPauseText","videoMuteText","videoUnmuteText","videoCloseCaptionsOnText","videoCloseCaptionsOffText","videoFullscreenOnText","videoFullscreenOffText","dropdownMenu","rotationView","facebook","twitter","openLiveChat","expandFaq","previousPage","nextPage","promoRedeem","r","LanguageSelectionTest","_","o","s","l","i","c","u","p","g","f","h","v","Promise","resolve","then","bind","loadableGenerated","webpack","b","$G","primaryColor","m","Z","Wb","useRef","useState","x","E","y","useCallback","S","C","current","contains","target","toggle","w","currentTarget","querySelectorAll","length","addEventListener","key","keyCode","shiftKey","document","activeElement","focus","preventDefault","L","body","classList","window","pageYOffset","useEffect","a9","removeEventListener","keydown","N","dataset","anchorId","querySelector","concat","scrollIntoView","behavior","smooth","O","isMedium","style","display","height","innerHeight","offsetTop","offsetHeight","P","getFieldValue","currentLanguage","T","title","regions","D","__","label","jumpToLabel","j","closeLanguageSelectionLabel","A","countryLanguageAriaLabel","jsx","ref","duration","collapsed","onExpanding","onCollapsing","onExpanded","children","onToggle","setCollapsibleElement","toggleState","jsxs","className","onKeyDown","o5","capEscape","capExpanded","capExpanding","onClick","name","wideChevronDown","size","role","menuitem","menubar","menulist","menulistDesktop","map","fields","BO","href","languageLink","languageTabMobile","expandingMenu","chevronTop","color","white","chevronDown","id","markets","nativeLanguageLabel","link","lang","languageCode","close","arialable","default","Ui","exports","defineProperty","value","enumerable","configurable","writable","setPrototypeOf","getPrototypeOf","__proto__","hasOwnProperty","requestAnimationFrame","setTimeout","cancelAnimationFrame","clearInterval","EXPANDED","COLLAPSED","EXPANDING","COLLAPSING","Math","pow","max","min","Date","now","parseInt","next","prev","abs","arguments","call","apply","collapsibleElement","props","_state_","hasReversed","range","progress","getCollapsible","overflow","setCollapsedState","initialState","irreversible","state","collapse","expand","noDisplayStyle","updateCollapsible","startTime","boxHeight","GET_HEIGHT","startDirection","setState","setExpandedState","whenReversedUseBackwardEase","easeCollapse","easeExpand","bestPerformance","interpolateOnReverse","round","nextTick","onCollapsed","timeout","prototype","create","constructor","Component","isMoving","render","onMount","setToCollapsing","setToExpanding","onUnmount"],"sourceRoot":""}