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2C4M,EAAmB,4CAA6C,MAAO,C","sources":["webpack:///./assets/common/src/ui/accordion/Accordion.tsx","webpack:///./assets/common/src/ui/accordion/AccordionItem.tsx","webpack:///./assets/common/src/ui/accordion/AccordionMini.tsx","webpack:///./assets/common/src/utils/useClickAway.ts","webpack:///./assets/common/src/ui/tooltip/Tooltip.tsx","webpack:///./assets/common/src/utils/addressutils.ts","webpack:///./assets/common/src/utils/ui.ts","webpack:///./assets/moncler/src/components/clientService/ContactUs.tsx","webpack:///./assets/moncler/src/components/clientService/ClientServiceContactUsLoader.tsx","webpack:///./assets/moncler/src/components/clientService/TfnForAllCountries.tsx","webpack:///./assets/moncler/src/components/contacts/ContactChatBox.tsx","webpack:///./assets/moncler/src/components/contacts/ContactPhoneBox.tsx","webpack:///./assets/moncler/src/components/contacts/InstantMessageBox.tsx"],"sourcesContent":["import React, { cloneElement, useEffect, useMemo, useState, createElement } from 'react';\nimport { isInViewport, scrollToPx } from '../../utils/ui';\nimport classNames from 'classnames';\nlet timeoutId;\nconst Accordion = (props) => {\n const [expandedCard, setExpandedCard] = useState();\n const [height, setHeight] = useState(0);\n const groupRef = React.createRef();\n const setOpen = (i) => {\n setExpandedCard(i);\n };\n const isOpen = (i) => {\n return expandedCard === i;\n };\n const onChildSelect = (i) => {\n setOpen(isOpen(i) ? null : i);\n };\n // OE-14667 set the accordion close if there is a new result in the search input\n useEffect(() => {\n if (props.results && props.results.length > 0) {\n setOpen(-1);\n }\n }, [props.results]);\n const scrollToElement = (container, opener) => {\n clearTimeout(timeoutId);\n timeoutId = setTimeout(() => {\n if (!isInViewport(opener)) {\n const scrollPosition = window.scrollY;\n const containerScrollPosition = container.getBoundingClientRect().top;\n let header = document.querySelector('header');\n const headerHeight = header && header.offsetHeight;\n const gap = 100;\n const scrollPositionFinal = scrollPosition + containerScrollPosition - headerHeight - gap;\n scrollToPx(scrollPositionFinal);\n }\n }, 500);\n };\n useEffect(() => {\n let defaultOpen;\n React.Children.forEach(props.children, (c, i) => {\n if (!!c) {\n if (React.isValidElement(c)) {\n if (c.props.isInitialOpen) {\n defaultOpen = c.key || i;\n }\n }\n else {\n console.warn('Element is not an accordion item.', c);\n }\n }\n });\n setOpen(defaultOpen);\n }, []);\n useEffect(() => {\n console.log('set accordion height');\n setHeight(groupRef.current.clientHeight);\n }, []);\n const childrenLength = useMemo(() => {\n let counter = 0;\n React.Children.map(props.children, () => {\n counter += 1;\n });\n return counter;\n }, []);\n // causava sfarfallamenti\n // const disableScroll = () => {\n // if (timeout) {\n // clearTimeout(timeout);\n // }\n // document.documentElement.classList.add('initial-scroll');\n // const scrollTop = window.pageYOffset || document.documentElement.scrollTop;\n // const scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;\n // window.onscroll = () => {\n // window.scrollTo(scrollLeft, scrollTop);\n // };\n // };\n // const enableScroll = () => {\n // document.documentElement.classList.remove('initial-scroll');\n // window.onscroll = () => {};\n // };\n return createElement(props.type, {\n className: classNames('accordion__group', { 'accordion__group--flex': props.flex, 'accordion__group--list': props.type === 'ul' }),\n ref: groupRef,\n style: { gap: props.gap || 0 },\n }, React.Children.map(props.children, (child, i) => {\n if (React.isValidElement(child)) {\n return cloneElement(child, Object.assign({ onSelect: () => onChildSelect(child.key || i), expanded: isOpen(child.key || i), loading: isOpen(child.key || i) && child.props.initiallyClosed, scrollToElement: scrollToElement, flex: props.flex, gap: props.gap, parentHeight: height, childrenLength: childrenLength, type: (props.type === 'ul' && 'li') || 'div' }, child.props));\n }\n }));\n};\nAccordion.defaultProps = {\n type: 'div',\n};\nexport default Accordion;\n","import classNames from 'classnames';\nimport React, { useEffect, useRef } from 'react';\nimport { useTranslation } from 'react-i18next';\nconst AccordionItem = (props) => {\n const { t } = useTranslation();\n const accordionPanel = useRef();\n const container = useRef();\n const opener = useRef();\n // const firstChildMargin = window.getComputedStyle(props?.parentRef?.firstChild as Element).getPropertyValue('margin-bottom');\n // useEffect(() => {\n // let heightForFlex;\n // if (props.flex && props.gap && props.parentHeight) {\n // heightForFlex =\n // console.log('children total height', heightForFlex);\n // }\n // }, [props.parentHeight]);\n useEffect(() => {\n console.log('Update Height: ', props.accordionId, props.updateHeight);\n // actual animation\n if (props.flex && props.gap && props.parentHeight) {\n accordionPanel.current.style.height = props.expanded\n ? props.autoHeight\n ? 'auto'\n : `${(props === null || props === void 0 ? void 0 : props.parentHeight) - (container.current.clientHeight * props.childrenLength + props.gap * (props.childrenLength - 1))}px`\n : '0px';\n }\n else {\n accordionPanel.current.style.height = props.expanded ? (props.autoHeight ? 'auto' : `${accordionPanel.current.firstElementChild.scrollHeight}px`) : '0px';\n }\n }, [props.expanded, props.children, props.updateHeight, props.parentHeight]);\n return (React.createElement(\"div\", { ref: container, className: (!props.miniAccordion ? 'accordion__item' : '') + (props.itemClass ? ' ' + props.itemClass : '') },\n React.createElement(\"button\", { ref: opener, type: \"button\", id: props.accordionId, onClick: () => {\n props.onClick && props.onClick();\n props.onSelect();\n if (props.callbackOnOpen && !props.expanded) {\n props.callbackOnOpen();\n }\n if (props.scrollToElement) {\n props.scrollToElement(container.current, opener.current);\n }\n }, className: classNames(props.miniAccordion ? 'accordion__header--mini' : 'accordion__header', { accordion__panel_open: props.expanded, 'header--selected': props.elementActive }, props.headerClass ? props.headerClass : ''), \"aria-expanded\": props.expanded, \"aria-controls\": props.accordionId + '-panel', tabIndex: props.tabIndex || null },\n props.isTitleMarkup ? props.title : React.createElement(\"span\", { className: \"primary-s\" + (props.miniAccordion ? ' accordion__header--underline' : '') }, props.title),\n !props.hideToggleButtons && !props.miniAccordion && (React.createElement(React.Fragment, null,\n React.createElement(\"i\", { className: \"header__open\" },\n React.createElement(\"span\", { className: \"text\" }, t('button.show'))),\n React.createElement(\"i\", { className: \"header__close\" },\n React.createElement(\"span\", { className: \"text\" }, t('button.hide'))))),\n props.miniAccordion &&\n React.createElement(React.Fragment, null,\n !props.expanded && React.createElement(\"div\", { className: \"accordion__header--arrow-down\" }),\n props.expanded && React.createElement(\"div\", { className: \"accordion__header--arrow-up\" }))),\n React.createElement(\"div\", { ref: accordionPanel, className: classNames(`accordion__panel${!!props.contentClass ? ' ' + props.contentClass : ''}`, { accordion__panel_open: props.expanded }), role: \"region\", id: props.accordionId + '-panel', \"aria-labelledby\": props.accordionId },\n React.createElement(\"div\", null,\n React.createElement(React.Fragment, null,\n props.loading && React.createElement(\"p\", { className: \"pb-12\" }, t('label.loading')),\n props.children)))));\n};\nAccordionItem.defaultProps = {\n isTitleMarkup: false,\n type: 'div',\n};\nexport default AccordionItem;\n","import React, { useState } from 'react';\nconst AccordionMini = (props) => {\n const [expanded, setExpanded] = useState(props.initialOpen);\n return (React.createElement(\"div\", { className: \"accordion-mini\" },\n React.createElement(\"button\", { type: \"button\", className: \"accordion-mini__header\", \"aria-expanded\": expanded, \"aria-controls\": props.id, onClick: () => {\n let newvalue = !expanded;\n setExpanded(newvalue);\n props.onExpand && props.onExpand(newvalue);\n } }, props.title),\n React.createElement(\"div\", { id: props.id, className: \"accordion-mini__panel\" }, props.children)));\n};\nAccordionMini.defaultProps = {\n initialOpen: false,\n};\nexport default AccordionMini;\n","import { useEffect } from 'react';\n/**\n * custom hook in order to watch given html element and\n * check if user click outside it\n *\n * @param {refType} ref html element to watch focus\n * @param {callbackFunction} callback callback function to fired when clicked/touched away\n *\n */\nconst useClickAway = (ref, callback) => {\n useEffect(() => {\n const listener = (event) => {\n if (!ref.current || ref.current.contains(event.target)) {\n return;\n }\n callback(event);\n };\n document.addEventListener('mousedown', listener);\n document.addEventListener('touchstart', listener);\n return () => {\n document.removeEventListener('mousedown', listener);\n document.removeEventListener('touchstart', listener);\n };\n }, [ref, callback]);\n};\nexport default useClickAway;\n","import classNames from 'classnames';\nimport React, { useEffect, useRef, useState } from 'react';\nimport whatInput from 'what-input';\nimport useClickAway from '../../utils/useClickAway';\nconst Tooltip = (props) => {\n const [showTooltip, setShowTooltip] = useState(false);\n const button = useRef();\n const tootltipRef = useRef();\n const boxRef = useRef();\n const [offset, setOffset] = useState(0);\n useEffect(() => {\n setTimeout(() => {\n var _a;\n if (((_a = props === null || props === void 0 ? void 0 : props.containerRef) === null || _a === void 0 ? void 0 : _a.current) && boxRef.current) {\n let tempOffset = 0;\n tempOffset = props.containerRef.current.getBoundingClientRect().right - boxRef.current.getBoundingClientRect().right;\n if (tempOffset < 0 && tempOffset != offset) {\n setOffset(tempOffset);\n return;\n }\n tempOffset = props.containerRef.current.getBoundingClientRect().left - boxRef.current.getBoundingClientRect().left;\n if (tempOffset > 0 && tempOffset != offset) {\n setOffset(tempOffset);\n }\n }\n }, 100);\n }, []);\n const toggleOpen = () => {\n console.info('open tooltip');\n if (window.innerWidth > window.mqObj.md && props.checkout) {\n setShowTooltip(false);\n }\n else {\n console.log(showTooltip);\n setShowTooltip(!showTooltip);\n }\n console.log(showTooltip);\n setShowTooltip(!showTooltip);\n };\n const focusOpen = () => {\n setShowTooltip(true);\n };\n const handleBlur = () => {\n // console.info('blur tooltip');\n setShowTooltip(false);\n };\n useClickAway(button, () => {\n // console.info('clickaway tooltip');\n setShowTooltip(false);\n });\n useEffect(() => {\n // OE-20308 - temporary fix to checkout HK and KR tooltip overflowing outside the viewport\n const tooltipElements = document.querySelectorAll('.checkout-packaging__options .tooltip__box');\n const lastTooltipElement = tooltipElements[tooltipElements.length - 1];\n if (lastTooltipElement && (window.country == 'HK' || window.country == 'KR')) {\n lastTooltipElement.classList.add('last-tooltip');\n }\n }, []);\n return (React.createElement(\"div\", { ref: tootltipRef, className: classNames('tooltip', props.className && props.className), onBlur: (e) => {\n // console.info('blur: ', e.relatedTarget, tootltipRef.current.contains(e.relatedTarget as Node));\n if (e.relatedTarget && !tootltipRef.current.contains(e.relatedTarget) && !e.relatedTarget.matches('[aria-modal]')) {\n whatInput.ask() == 'keyboard' ? handleBlur() : undefined;\n }\n }, style: { '--tooltip-offset': `${offset}px` } },\n React.createElement(\"button\", { type: \"button\", ref: button, onClick: toggleOpen, onFocus: () => (whatInput.ask() == 'keyboard' ? focusOpen() : undefined), onKeyDown: (e) => {\n if (e.key == 'Escape') {\n setShowTooltip(false);\n }\n }, className: `icon--${props.icon ? props.icon : 'tooltip'}`, \"aria-expanded\": showTooltip, \"aria-controls\": props.id, \"aria-label\": props.ariaLabel }),\n props.text && React.createElement(\"div\", { ref: boxRef, id: props.id, role: \"tooltip\", className: \"tooltip__box\", dangerouslySetInnerHTML: { __html: props.text } }),\n props.markup && (React.createElement(\"div\", { ref: boxRef, role: \"tooltip\", id: props.id, className: \"tooltip__box\" }, props.markup()))));\n};\nexport default Tooltip;\n","import api from '@utils/api';\nimport formutils from './formutils';\nconst addressutils = {\n saveAddress: async (values, formdef, onServerError, onSuccess) => {\n let errors = await formutils.validateForm(values, formdef, 'address');\n if (errors && Object.keys(errors).length > 0) {\n return errors;\n }\n return api\n .saveAddress(values, formdef)\n .then((data) => {\n if (data.error && data.error.length > 0) {\n }\n if (data.fields && Object.keys(data.fields).length > 0) {\n Object.keys(data.fields).forEach((f) => {\n errors[f.substring(f.lastIndexOf('_') + 1, f.length)] = data.fields[f];\n });\n return errors;\n }\n onSuccess();\n })\n .catch((e) => onServerError(e));\n },\n salutation: (fistname, lastname, title) => {\n if (window.language == 'ja') {\n return `${lastname} ${fistname} 様`;\n }\n if (window.language == 'ch' || window.language == 'zh') {\n return `${lastname} ${fistname}${title || ''}`;\n }\n return `${title || ''} ${fistname} ${lastname}`;\n },\n};\nexport default addressutils;\n","/**\n *\n * check if given element is in viewpot\n * @param elem - element to check\n *\n * @returns return true if is in viewport\n */\nexport const isInViewport = (elem) => {\n const bounding = elem.getBoundingClientRect();\n return (bounding.top >= 0 &&\n bounding.left >= 0 &&\n bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&\n bounding.right <= (window.innerWidth || document.documentElement.clientWidth));\n};\nexport const scrollToPx = (endPosition) => {\n if ('scrollBehavior' in document.documentElement.style) {\n window.scrollTo({\n top: endPosition,\n left: 0,\n behavior: 'smooth',\n });\n }\n else {\n let gap = window.scrollY;\n const direction = gap > endPosition ? 'up' : 'down';\n const int = setInterval(function () {\n if (direction === 'up') {\n gap -= 10;\n if (gap <= endPosition)\n clearInterval(int);\n }\n else {\n gap += 10;\n if (gap >= endPosition)\n clearInterval(int);\n }\n window.scrollTo(0, gap);\n }, 10);\n }\n};\n// for PLP tiles check\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst findDuplicates = () => {\n const tiles = new Map();\n document.querySelectorAll('[data-id]').forEach((tile) => {\n // @ts-ignore\n let currentId = tile.dataset.id;\n if (tiles.has(currentId)) {\n tiles.set(currentId, Number(tiles.get(currentId)) + 1);\n }\n else {\n tiles.set(currentId, 1);\n }\n });\n let duplicateCounter = 0;\n for (const [key, value] of tiles) {\n if (value > 1) {\n duplicateCounter++;\n console.info(`found ${value} duplicates for ${key}`);\n }\n }\n console.info(`%cfound a total of ${duplicateCounter} duplicates!`, 'color:purple;background-color:white;font-weight:bold;');\n};\n","import ContactChatBox from '@moncler/components/contacts/ContactChatBox';\nimport React, { useEffect } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport ContactPhoneBox from '@moncler/components/contacts/ContactPhoneBox';\nimport InstantMessageBox from '@moncler/components/contacts/InstantMessageBox';\nimport ContactUsForm from './ContactUsForm';\nimport { contactFormId } from '@utils/constants';\nimport customEventBus from '@common/scripts/libs/eventBus';\nconst ContactUs = (props) => {\n const { t } = useTranslation();\n const scrollToAnchor = () => {\n if (window.location.hash === `#${contactFormId}`) {\n const contactForm = document.getElementById(contactFormId);\n contactForm && contactForm.scrollIntoView();\n }\n };\n useEffect(() => {\n window.addEventListener('load', scrollToAnchor);\n customEventBus.on('contacts:selected-country', scrollToAnchor);\n return () => {\n window.removeEventListener('load', scrollToAnchor);\n };\n }, []);\n return (React.createElement(\"div\", { className: \"contact-us\" },\n React.createElement(ContactUsForm, { mbmReasonActive: props.mbmReasonActive, giftCardActive: props.giftCardActive }),\n !props.removeContactMethods && (React.createElement(\"div\", { className: \"contact-us__other\" },\n (window.instantmessage || window.contactphone || (!window.appmode && window.chatenabled)) && (React.createElement(\"h2\", { className: \"contact-us__title\" }, t('contactus.talktoaclientadvisor'))),\n window.instantmessage && (React.createElement(InstantMessageBox, { type: \"box\", instantMessage: window.instantmessage, instantMessageNumber: window.instantMessageNumber, instantMessageRegion: window.instantMessageRegion })),\n window.instantmessage2 && (React.createElement(InstantMessageBox, { type: \"box\", instantMessage: window.instantmessage2, instantMessageNumber: window.instantMessageNumber2, instantMessageRegion: window.instantMessageRegion })),\n window.contactphone && React.createElement(ContactPhoneBox, { type: \"box\" }),\n !window.appmode && React.createElement(ContactChatBox, { type: \"box\" })))));\n};\nexport default ContactUs;\n","import { configureAccountStore } from '@state';\nimport React from 'react';\nimport { Provider } from 'react-redux';\nimport ContactUs from './ContactUs';\nconst store = configureAccountStore();\nconst ClientServiceContactUs = (props) => {\n return (React.createElement(Provider, { store: store },\n React.createElement(ContactUs, Object.assign({}, props))));\n};\nexport default ClientServiceContactUs;\n","import AccordionMini from '@ui/accordion/AccordionMini';\nimport ModalDialog from '@ui/modal/ModalDialog';\nimport api from '@utils/api';\nimport React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nconst TfnForAllCountries = (props) => {\n const { t } = useTranslation();\n const [openTfnModal, setOpenTfnModal] = useState(false);\n const [tfnConfig, setTfnConfig] = useState();\n const [countries, setCountries] = useState([]);\n const [selectedCountry, setSelectedCountry] = useState();\n useEffect(() => {\n api.getTfnForAllCountries().then((data) => {\n if (!data.error) {\n setTfnConfig(data.configuration);\n const regionNamesInEnglish = new Intl.DisplayNames([window.language || 'en'], { type: 'region' });\n let coutryNameOverride = {\n HK: t('select.option.country.hongkong'),\n MO: t('select.option.country.macau'),\n TW: t('select.option.country.taiwan'),\n };\n let countries = Object.keys(data.configuration).map((coutryCode) => {\n return { code: coutryCode, name: coutryNameOverride[coutryCode] ? coutryNameOverride[coutryCode] : regionNamesInEnglish.of(coutryCode) };\n });\n countries.sort((a, b) => {\n let textA = a.name.toUpperCase();\n let textB = b.name.toUpperCase();\n return textA.localeCompare(textB);\n });\n countries.unshift({ code: 'select', name: t('label.select') });\n setCountries(countries);\n }\n });\n }, []);\n const tfnCommonSection = (inAccordion) => (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"row spacing\" },\n React.createElement(\"div\", { className: inAccordion ? 'col-lg-6 col-md-5 col-sm-6' : 'col-sm-6' },\n React.createElement(\"div\", { className: \"form-group\" },\n React.createElement(\"label\", { id: \"location-label\", className: \"form-group__label\", htmlFor: \"location\" }, t('tfn.location')),\n React.createElement(\"div\", { className: \"form-select\" },\n React.createElement(\"select\", { id: \"location\", name: \"location\", className: \"form-control\", value: selectedCountry, onChange: (e) => {\n setSelectedCountry(e.target.value);\n }, onBlur: (e) => {\n setSelectedCountry(e.target.value);\n } }, (countries || []).map((c, i) => (React.createElement(\"option\", { key: i, value: c.code }, c.name)))))))),\n selectedCountry && tfnConfig[selectedCountry] && (React.createElement(\"div\", { className: \"row spacing\" },\n React.createElement(\"div\", { className: inAccordion ? 'col-lg-6 col-md-5 col-sm-6' : 'col-sm-6' },\n React.createElement(\"p\", null, t('tfn.availability', {\n 0: t(`weekdays.${tfnConfig[selectedCountry].from_day.toLowerCase()}`),\n 1: t(`weekdays.${tfnConfig[selectedCountry].to_day.toLowerCase()}`),\n 2: tfnConfig[selectedCountry].from_hour,\n 3: tfnConfig[selectedCountry].to_hour,\n }))),\n React.createElement(\"div\", { className: inAccordion ? 'col-lg-4 offset-lg-2 col-md-6 col-sm-5 offset-sm-1' : 'col-sm-6 col-md-5 offset-md-1' },\n React.createElement(\"a\", { className: \"button button--secondary call\", href: `tel:${tfnConfig[selectedCountry].phone}` }, tfnConfig[selectedCountry].phone))))));\n return (props === null || props === void 0 ? void 0 : props.accordion) ? (React.createElement(AccordionMini, { id: \"tfn-accordion\", title: t('contacts.tfnforallcountries') },\n React.createElement(\"p\", null, t('tfn.chooselocationshort')),\n tfnCommonSection(true))) : (React.createElement(React.Fragment, null,\n React.createElement(\"button\", { className: \"tfn-toggle\", \"aria-haspopup\": \"dialog\", onClick: () => {\n setOpenTfnModal(true);\n } }, t('contacts.tfnforallcountries')),\n React.createElement(ModalDialog, { role: \"dialog\", isOpen: openTfnModal && !!tfnConfig, onRequestClose: () => setOpenTfnModal(false), hasDivisor: true, contentLabel: t('clientservice.callus'), className: \"tfn-modal\" },\n React.createElement(React.Fragment, null,\n React.createElement(\"p\", null, t('tfn.chooselocation')),\n tfnCommonSection()))));\n};\nexport default TfnForAllCountries;\n","import Button from '@ui/button/Button';\nimport analytics from '@utils/analytics';\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst ContactChatBox = (props) => {\n const { t } = useTranslation();\n const buttonEnabled = window.chatenabled && window.sprChat;\n if (props.type == 'footer') {\n return (React.createElement(\"div\", null,\n React.createElement(Button, { type: \"button\", disabled: !buttonEnabled, cls: ['button--tertiary'], className: classNames('chat chat-button'), onClick: () => {\n window.sprChat && window.sprChat('open');\n analytics.contactUsOne('live chat');\n if (props.onClickCallback) {\n props.onClickCallback();\n }\n } }, t('footer.clientservice.startchat'))));\n }\n return (React.createElement(\"div\", { className: \"row link-box line\" },\n React.createElement(\"div\", { className: \"col-lg-8 col-md-6 col-sm-7 col-xs-12\" },\n React.createElement(\"h3\", { className: \"link-box__title\" }, t('clientservice.livechat')),\n React.createElement(\"p\", { className: \"col-sm-10\" },\n t('clientservice.livechatintro'),\n \" \")),\n React.createElement(\"div\", { className: \"col-lg-4 col-md-6 col-sm-5 col-xs-12 \" },\n React.createElement(Button, { type: \"button\", disabled: !buttonEnabled, cls: ['button--secondary'], className: classNames('link-box__button chat-button'), onClick: () => {\n window.sprChat && window.sprChat('open');\n analytics.contactUsOne('live chat');\n if (props.onClickCallback) {\n props.onClickCallback();\n }\n } }, t('clientservice.startchat')))));\n};\nexport default ContactChatBox;\n","import { appPostStructuredMessage } from '@common/utils/appUtils';\nimport TfnForAllCountries from '@moncler/components/clientService/TfnForAllCountries';\nimport analytics from '@utils/analytics';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst ContactPhoneBox = (props) => {\n const { t } = useTranslation();\n if (!window.contactphone || (window.country == 'JP' && window.faf)) {\n return React.createElement(React.Fragment, null);\n }\n if (props.type == 'footer') {\n return (React.createElement(\"div\", null, window.appmode ? (React.createElement(\"button\", { type: \"button\", className: \"call custom-link\", onClick: () => {\n appPostStructuredMessage('contactbyphone', {\n tel: `tel://${window.contactphone}`,\n });\n analytics.contactUsOne('phone');\n } }, t('footer.clientservice.callusat', { 0: window.contactphone }))) : (React.createElement(\"a\", { className: \"call\", href: `tel:${window.contactphone}`, onClick: () => {\n analytics.contactUsOne('phone');\n } }, t('footer.clientservice.callusat', { 0: window.contactphone })))));\n }\n return (React.createElement(\"div\", { className: \"row link-box line\" },\n React.createElement(\"div\", { className: \"col-lg-8 col-md-6 col-sm-7 col-xs-12\" },\n React.createElement(\"h3\", { className: \"link-box__title\" }, t('clientservice.callus')),\n React.createElement(\"p\", { className: \"col-sm-10\" },\n t('clientservice.clientadvisorsavailable'),\n \" \")),\n React.createElement(\"div\", { className: \"col-lg-4 col-md-6 col-sm-5 col-xs-12 \" }, window.appmode ? (React.createElement(\"button\", { type: \"button\", className: \"link-box__button button button--secondary call custom-link\", onClick: () => {\n appPostStructuredMessage('contactbyphone', {\n tel: `tel://${window.contactphone}`,\n });\n analytics.contactUsOne('phone');\n } },\n React.createElement(\"span\", null, window.contactphone))) : (React.createElement(\"a\", { className: \"link-box__button button button--secondary call\", href: `tel:${window.contactphone}`, onClick: () => {\n analytics.contactUsOne('phone');\n } },\n React.createElement(\"span\", null, window.contactphone)))),\n React.createElement(\"div\", { className: \"col-12\" },\n React.createElement(TfnForAllCountries, { accordion: true }))));\n};\nexport default ContactPhoneBox;\n","import analytics from '@utils/analytics';\nimport classNames from 'classnames';\nimport React, { useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport ModalDialog from '@ui/modal/ModalDialog';\nconst InstantMessageBox = (props) => {\n const { t } = useTranslation();\n const [offlinePopup, setOfflinePopup] = useState(false);\n const [openModal, setOpenModal] = useState(false);\n if (!props.instantMessage || (window.country == 'JP' && window.faf)) {\n return React.createElement(React.Fragment, null);\n }\n const instantMessageLink = (classname, labelkey) => {\n if (props.instantMessage == 'whatsapp') {\n let whatsappnumber = props.instantMessageNumber;\n return (React.createElement(\"a\", { className: classNames(classname, 'whatsapp'), href: `https://wa.me/${whatsappnumber}`, target: \"_blank\", onClick: () => {\n analytics.contactUsOne('instantmessage');\n } },\n React.createElement(\"span\", null,\n labelkey ? t(labelkey, { 0: 'WhatsApp' }) : 'WhatsApp',\n \" \")));\n }\n if (props.instantMessage == 'kakao') {\n return (React.createElement(\"a\", { className: classNames(classname, 'kakao'), href: \"http://pf.kakao.com/_TQLDC/chat\", target: \"_blank\", onClick: () => {\n analytics.contactUsOne('instantmessage');\n } },\n React.createElement(\"span\", null,\n labelkey ? t(labelkey, { 0: 'KAKAO TALK' }) : 'KAKAO TALK',\n \" \")));\n }\n if (props.instantMessage == 'line') {\n return (React.createElement(\"a\", { className: classNames(classname, 'linechat'), href: \"https://line.me/R/ti/p/@545ncrrm\", target: \"_blank\", onClick: () => {\n analytics.contactUsOne('instantmessage');\n } },\n React.createElement(\"span\", null,\n labelkey ? t(labelkey, { 0: 'Line' }) : 'Line',\n \" \")));\n }\n if (props.instantMessage == 'wechat') {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"button\", { className: classNames(classname, 'wechat'), type: \"button\", onClick: (e) => {\n setOpenModal(true);\n analytics.contactUsOne('instantmessage');\n } },\n React.createElement(\"span\", null, labelkey ? t(labelkey, { 0: 'WeChat' }) : 'Line'))));\n }\n if (props.instantMessage == 'sms') {\n let smsNumber = props.instantMessageNumber;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"a\", { className: classNames(classname, 'sms'), href: `sms:${smsNumber}`, target: \"_blank\", onClick: (e) => {\n analytics.contactUsOne('instantmessage');\n } },\n React.createElement(\"span\", null, labelkey ? t(labelkey, { 0: 'iMessage/SMS/MMS' }) : 'iMessage/SMS/MMS'))));\n }\n };\n if (props.type == 'footer') {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", null, instantMessageLink('', 'footer.clientservice.instantmessagecontact')),\n props.instantMessage && props.instantMessage == 'wechat' && (React.createElement(React.Fragment, null,\n React.createElement(ModalDialog, { overlayClassName: \"mobile-visible\", isOpen: openModal, onRequestClose: () => {\n setOpenModal(false);\n }, className: \"client-service__modal--small client-service__modal--offline modal--small\", role: \"dialog\", contentLabel: t(`clientservice.contactsdetails.qr.title.wechat`) },\n React.createElement(\"p\", null, t(`clientservice.contactsdetails.qr.subtitle.wechat`)),\n React.createElement(\"div\", { className: \"contacts-image-container\" },\n React.createElement(\"img\", { src: window.socialQrImageFolder + props.instantMessageRegion + '-' + props.instantMessage + '-qrcode.jpg', alt: \"\", width: \"152\", height: \"152\" }))),\n React.createElement(ModalDialog, { overlayClassName: \"mobile-visible\", contentLabel: t('clientservice.contactsdetails.offlinechannel.title'), className: \"client-service__modal--small client-service__modal--offline modal--small\", isOpen: offlinePopup, role: \"dialog\", onRequestClose: () => {\n setOfflinePopup(false);\n } },\n React.createElement(\"p\", null, t('clientservice.contactsdetails.offlinechannel.description')))))));\n }\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"row link-box line\" },\n React.createElement(\"div\", { className: \"col-lg-8 col-md-6 col-sm-7 col-xs-12\" },\n React.createElement(\"h3\", { className: \"link-box__title\" }, t('clientservice.instantmessages')),\n React.createElement(\"p\", { className: \"col-sm-10\" },\n t('contacts.instantmessagetime'),\n \" \")),\n React.createElement(\"div\", { className: \"col-lg-4 col-md-6 col-sm-5 col-xs-12 \" }, instantMessageLink('link-box__button button button--secondary', '')))));\n};\nexport default InstantMessageBox;\n"],"names":["timeoutId","Accordion","props","expandedCard","setExpandedCard","useState","height","setHeight","groupRef","setOpen","i","isOpen","useEffect","results","length","scrollToElement","container","opener","clearTimeout","setTimeout","scrollPosition","window","scrollY","containerScrollPosition","getBoundingClientRect","top","header","document","querySelector","scrollPositionFinal","offsetHeight","defaultOpen","children","c","isInitialOpen","key","console","warn","log","current","clientHeight","childrenLength","useMemo","counter","createElement","type","className","flex","ref","style","gap","child","cloneElement","Object","assign","onSelect","onChildSelect","expanded","loading","initiallyClosed","parentHeight","defaultProps","AccordionItem","t","accordionPanel","useRef","accordionId","updateHeight","autoHeight","firstElementChild","scrollHeight","miniAccordion","itemClass","id","onClick","callbackOnOpen","accordion__panel_open","elementActive","headerClass","tabIndex","isTitleMarkup","title","hideToggleButtons","contentClass","role","AccordionMini","setExpanded","initialOpen","newvalue","onExpand","callback","listener","event","contains","target","addEventListener","removeEventListener","showTooltip","setShowTooltip","button","tootltipRef","boxRef","offset","setOffset","_a","containerRef","tempOffset","right","left","tooltipElements","querySelectorAll","lastTooltipElement","country","classList","add","onBlur","e","relatedTarget","matches","info","innerWidth","mqObj","md","checkout","onFocus","undefined","onKeyDown","icon","ariaLabel","text","dangerouslySetInnerHTML","__html","markup","addressutils","saveAddress","async","values","formdef","onServerError","onSuccess","errors","keys","then","data","error","fields","forEach","f","substring","lastIndexOf","catch","salutation","fistname","lastname","language","isInViewport","elem","bounding","bottom","innerHeight","documentElement","clientWidth","scrollToPx","endPosition","scrollTo","behavior","direction","int","setInterval","clearInterval","useTranslation","scrollToAnchor","location","hash","contactForm","getElementById","scrollIntoView","ContactUsForm","mbmReasonActive","giftCardActive","removeContactMethods","instantmessage","contactphone","appmode","chatenabled","InstantMessageBox","instantMessage","instantMessageNumber","instantMessageRegion","instantmessage2","instantMessageNumber2","ContactPhoneBox","ContactChatBox","store","openTfnModal","setOpenTfnModal","tfnConfig","setTfnConfig","countries","setCountries","selectedCountry","setSelectedCountry","configuration","regionNamesInEnglish","Intl","DisplayNames","coutryNameOverride","HK","MO","TW","map","coutryCode","code","name","of","sort","a","b","textA","toUpperCase","textB","localeCompare","unshift","tfnCommonSection","inAccordion","htmlFor","value","onChange","from_day","toLowerCase","to_day","from_hour","to_hour","href","phone","accordion","onRequestClose","hasDivisor","contentLabel","buttonEnabled","sprChat","disabled","cls","onClickCallback","faf","tel","offlinePopup","setOfflinePopup","openModal","setOpenModal","instantMessageLink","classname","labelkey","whatsappnumber","smsNumber","overlayClassName","src","socialQrImageFolder","alt","width"],"sourceRoot":""}