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,KAAMpB,EAAQiB,KAAKC,GAAY,gBAAoB,MAAO,CAAE5H,UAAW,gBAAkC,WAAlB4H,EAAOA,OAAsB,KAAO,OAAQtI,IAAKsI,EAAOA,QACpO,gBAAoB,KAAM,CAAE5H,UAAW,kBAAoB4H,EAAOA,QAClEK,EAAYL,UAET,IAGuI,C","sources":["webpack:///./assets/common/src/ui/accordion/Accordion.tsx","webpack:///./assets/common/src/utils/ui.ts","webpack:///./assets/common/src/ui/accordion/AccordionItem.tsx","webpack:///./assets/common/src/utils/useQueryStringBoolean.ts","webpack:///./assets/stone/src/components/countryselector/SuggestedCountryModal.tsx","webpack:///./assets/stone/src/components/countryselector/ConfirmCountryModal.tsx","webpack:///./assets/stone/src/components/countryselector/CountryModal.tsx","webpack:///./assets/stone/src/components/countryselector/CountrySelectorList.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' }, props.className),\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","/**\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 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 qs from 'query-string';\nimport { useCallback, useState } from 'react';\nfunction useQueryStringBoolean(key, initialValue) {\n const setQueryStringWithoutPageReload = (qsValue) => {\n const newurl = window.location.protocol + '//' + window.location.host + window.location.pathname + (qsValue ? '?' + qsValue : '');\n window.history.pushState({ path: newurl }, '', newurl);\n };\n const getQueryStringValue = (key) => {\n const values = qs.parse(window.location.search);\n let value = values[key];\n return !!value;\n };\n function setQueryStringValue(key, value) {\n const values = qs.parse(window.location.search);\n const newvalues = Object.assign(Object.assign({}, values), { [key]: value });\n if (!value) {\n delete newvalues[key];\n }\n const newQsValue = qs.stringify(newvalues);\n setQueryStringWithoutPageReload(newQsValue);\n }\n const onSetValue = useCallback((newValue) => {\n setValue(newValue);\n setQueryStringValue(key, newValue);\n }, [key]);\n const [value, setValue] = useState(getQueryStringValue(key) || initialValue);\n return [value, onSetValue];\n}\nexport default useQueryStringBoolean;\n","import ModalDialog from '@ui/modal/ModalDialog';\nimport Button from '@ui/button/Button';\nimport api from '@utils/api';\nimport React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport customEventBus from '@common/scripts/libs/eventBus';\nconst SuggestedCountryModal = (props) => {\n const { t } = useTranslation();\n const [open, setOpen] = useState(false);\n const [modalData, setModalData] = useState();\n useEffect(() => {\n if (sessionStorage.getItem('suggested-country') != 'closed') {\n api.checkGeolocationCountryMatch(window.country.toLowerCase()).then((data) => {\n if (data.error) {\n return;\n }\n if (!data.countryMatch) {\n setOpen(true);\n setModalData(data);\n }\n else {\n customEventBus.emit('suggestedCountry:close', {});\n }\n });\n }\n else {\n customEventBus.emit('suggestedCountry:close', {});\n }\n }, []);\n const onCloseModal = () => {\n sessionStorage.setItem('suggested-country', 'closed');\n // Manage newsletter popup Show\n customEventBus.emit('suggestedCountry:close', {});\n };\n if (!modalData) {\n return React.createElement(React.Fragment, null);\n }\n return (React.createElement(React.Fragment, null,\n React.createElement(ModalDialog, { isOpen: open, onRequestClose: () => {\n setOpen(false);\n onCloseModal();\n }, overlayClassName: \"mobile-visible\", contentLabel: t('modal.suggestedcountry.title'), className: \"suggested-country-modal\" },\n React.createElement(React.Fragment, null,\n React.createElement(\"p\", null, t('modal.suggestedcountry.description1', { 0: modalData.IPCountryName })),\n React.createElement(\"p\", { className: \"mb-28\" }, t('modal.suggestedcountry.description2')),\n React.createElement(Button, { type: \"button\", cls: ['button--primary'], onClick: () => {\n onCloseModal();\n window.location.href = `${window.location.origin}/${modalData.defaultLanguage}-${modalData.IPCountryCode.toLowerCase()}`;\n } }, t('modal.suggestedcountry.changelocation')),\n React.createElement(\"div\", { className: \"text-center\" },\n React.createElement(Button, { type: \"button\", cls: ['button--secondary'], onClick: () => {\n onCloseModal();\n setOpen(false);\n } }, t('modal.suggestedcountry.remaininthe', { 0: window.countryname })),\n React.createElement(Button, { type: \"button\", cls: ['button--tertiary', 'button--arrow-right'], onClick: () => {\n setOpen(false);\n onCloseModal();\n props.setCountrySelectorOpen(true);\n } }, t('modal.suggestedcountry.chose')))))));\n};\nexport default SuggestedCountryModal;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport ModalDialog from '@stone/components/modal/ModalDialog';\nimport Button from '@stone/ui/button/Button';\nconst ConfirmCountryModal = (props) => {\n const { t } = useTranslation();\n const { onFeeback } = props;\n return (React.createElement(React.Fragment, null,\n React.createElement(ModalDialog, { isOpen: props.open, onRequestClose: () => {\n onFeeback(false);\n }, overlayClassName: \"mobile-visible\", contentLabel: t('checkout.shipping.selectlocation'), className: \"confirmation-country-modal\" },\n React.createElement(\"div\", { className: \"row countryselector-modal\" },\n React.createElement(\"div\", { className: 'col-24' },\n React.createElement(\"p\", { className: \"countryselector-modal__description\" }, t('checkout.shipping.changecountrydescription')))),\n React.createElement(\"div\", { className: \"divider divider--small\" }),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-24\" },\n React.createElement(\"p\", { className: \"countryselector-modal__description\" }, t('checkout.shipping.changecountryproceed'))),\n React.createElement(\"div\", { className: \"col-lg-12 col-24 mt-20\" },\n React.createElement(Button, { type: \"button\", cls: ['button--secondary'], className: \"full\", onClick: () => {\n onFeeback(false);\n } }, t('label.no'))),\n React.createElement(\"div\", { className: \"col-lg-12 col-24 mt-20\" },\n React.createElement(Button, { type: \"button\", cls: ['button--primary'], className: \"full\", onClick: () => {\n onFeeback(true);\n } }, t('label.yes')))))));\n};\nexport default ConfirmCountryModal;\n","import Button from '@ui/button/Button';\nimport ModalDialog from '@stone/components/modal/ModalDialog';\nimport api from '@utils/api';\nimport useQueryStringBoolean from '@utils/useQueryStringBoolean';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport SuggestedCountryModal from './SuggestedCountryModal';\nimport ConfirmCountryModal from './ConfirmCountryModal';\nimport Icon from '@stone/ui/icon/Icon';\nimport '@stone/scss/components/country-selector/_countryselector.scss';\nimport CountrySelectorList from './CountrySelectorList';\nimport { useLangChecker } from '@common/utils/i18n';\nconst CountryModal = (props) => {\n const { t } = useTranslation();\n const [open, setOpen] = (props.fromCheckout && useState(false)) || useQueryStringBoolean('countryselector');\n const [data, setData] = useState();\n const [confirmed, setConfirmed] = useState();\n const [requireconfirm, setRequireconfirm] = useState();\n const [openConfirmation, setOpenConfirmation] = useState(false);\n const fromClass = useMemo(() => (props.fromHeader ? 'header' : 'footer'), [props.fromHeader]);\n useEffect(() => {\n if (!props.fromCheckout) {\n if (open) {\n api.getMiniCart().then((cart) => {\n setRequireconfirm(cart.isExchange || false);\n api.countrySelectorJson().then((data) => {\n setData(data);\n });\n });\n }\n }\n else {\n api.countrySelectorJson().then((data) => {\n setData(data);\n });\n }\n }, [open]);\n const confirmationDialog = () => (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"row row--inner countryselector-modal\" },\n React.createElement(\"div\", { className: \"col-12\" },\n React.createElement(\"div\", { className: \"countryselector-modal__description\" }, t('exchange.changecountrywarning')),\n React.createElement(\"div\", { className: \"countryselector-modal__description\" }, t('checkout.shipping.changecountryproceed')))),\n React.createElement(\"div\", { className: \"row--inner\" },\n React.createElement(\"div\", { className: \"col-6 col-lg-3\" },\n React.createElement(Button, { type: \"button\", cls: ['button--secondary'], onClick: () => {\n setOpen(false);\n } }, t('label.no'))),\n React.createElement(\"div\", { className: \"col-6 col-lg-3\" },\n React.createElement(Button, { type: \"button\", cls: ['button--primary'], onClick: () => {\n setConfirmed(true);\n } }, t('label.yes'))))));\n const modal = () => (React.createElement(ModalDialog, { isOpen: open, onRequestClose: () => {\n setOpen(false);\n // analytics.countryselectorClose();\n }, hasDivisor: !requireconfirm || confirmed, contentLabel: t('modal.country.title'), subtitle: requireconfirm && !confirmed ? '' : t('modal.country.description'), className: \"country-modal\", fullWidth: true, fullHeight: true }, requireconfirm && !confirmed ? (React.createElement(React.Fragment, null, confirmationDialog())) : (React.createElement(React.Fragment, null,\n React.createElement(CountrySelectorList, { regions: data, isModal: true })))));\n if (props.children && !props.fromCheckout) {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"p\", { className: \"countryselector\" },\n React.createElement(\"button\", { type: \"button\", onClick: () => {\n setOpen(true);\n }, dangerouslySetInnerHTML: { __html: props.children } })),\n data && modal()));\n }\n if (props.fromBookAnAppointment) {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"p\", { className: \"countryselector\" },\n t('bookanappointment.location.message', { country: window.countryname }),\n ' ',\n React.createElement(\"button\", { className: \"link-button\", type: \"button\", onClick: () => {\n setOpen(true);\n } }, t('bookanappointment.differentlocation'))),\n data && modal()));\n }\n if (props.fromCheckout) {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"button\", { className: \"link-button\", type: \"button\", \"aria-haspopup\": 'dialog', onClick: () => {\n setOpenConfirmation(true);\n } }, props.children),\n data && modal(),\n React.createElement(ConfirmCountryModal, { open: openConfirmation, onFeeback: (confirm) => {\n setOpenConfirmation(false);\n if (confirm) {\n setOpen(true);\n }\n } })));\n }\n if (window.ssr && fromClass === 'footer') {\n return (React.createElement(\"a\", { href: window.basePath + 'country-selector', className: \"footer-countrybutton\" },\n React.createElement(\"span\", { className: `${fromClass}-countrybutton__content` },\n React.createElement(\"span\", { className: `${fromClass}-countrybutton__title`, ref: useLangChecker }, t('label.shoppingcountry')),\n ' ',\n window.countryname),\n React.createElement(Icon, { name: \"open\", family: \"10\", inverted: true })));\n }\n return (React.createElement(React.Fragment, null,\n React.createElement(\"button\", { className: `${fromClass}-countrybutton`, onClick: (e) => {\n e.preventDefault();\n setOpen(true);\n }, \"aria-haspopup\": \"dialog\" },\n React.createElement(\"span\", { className: `${fromClass}-countrybutton__content` },\n React.createElement(\"span\", { className: `${fromClass}-countrybutton__title`, ref: useLangChecker }, t('label.shoppingcountry')),\n ' ',\n window.countryname),\n React.createElement(Icon, { name: \"open\", family: \"10\", inverted: !props.fromHeader })),\n data && modal(),\n !props.editMode && React.createElement(SuggestedCountryModal, { setCountrySelectorOpen: setOpen })));\n};\nexport default CountryModal;\n","import Accordion from '@common/ui/accordion/Accordion';\nimport AccordionItem from '@common/ui/accordion/AccordionItem';\nimport useBreakpoint from '@common/utils/useBreakpoint';\nimport React, { useMemo } from 'react';\nconst CountrySelectorList = (props) => {\n const currentBreakpoint = useBreakpoint();\n const regions = useMemo(() => {\n if (!props.regions) {\n return [];\n }\n return Object.keys(props.regions).map((key) => {\n return {\n region: key,\n countries: props.regions[key],\n };\n });\n }, [props.regions]);\n const returnRegion = (region) => {\n return regions.find((r) => r.region === region);\n };\n const countryList = (region) => (React.createElement(\"ol\", { className: `country-selector--country-list country-selector--country-list--${region.region.toLowerCase()} ${props.isModal ? 'is-modal' : ''}` }, region.countries.map((country, i) => {\n var _a;\n return (React.createElement(\"li\", { key: country.countryCode },\n React.createElement(\"p\", { className: \"font__cta\" },\n React.createElement(\"span\", null, country.name),\n country.external ? (React.createElement(\"a\", { href: country.link },\n React.createElement(\"span\", { className: \"visually-hidden\" }, country.name),\n React.createElement(\"span\", null, country.countryCode))) : (React.createElement(React.Fragment, null, (_a = country.languagesMap) === null || _a === void 0 ? void 0 : _a.map((language, i) => (React.createElement(\"a\", { key: language.seo, href: country.links[i], \"aria-current\": window.country === country.countryCode && window.language === language.base ? 'location' : undefined },\n React.createElement(\"span\", { className: \"visually-hidden\" }, country.name),\n React.createElement(\"span\", null, language.seo)))))))));\n })));\n const mobileLayout = () => (React.createElement(React.Fragment, null,\n React.createElement(Accordion, { className: \"country-selector--accordion\" }, regions.map((region) => (React.createElement(AccordionItem, { title: region.region, accordionId: `region_${region.region.toLowerCase()}`, headerClass: \"country-selector--accordion-title\", itemClass: \"country-selector--accordion-item\", key: region.region }, countryList(region)))))));\n const desktopLayout = () => (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"row\" }, props.isModal ? (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"inner-col-lg-8 inner-col-xxl-6\" },\n React.createElement(\"h3\", { className: \"font__title\" }, returnRegion('EUROPE').region),\n countryList(returnRegion('EUROPE'))),\n React.createElement(\"div\", { className: \"inner-col-lg-4 inner-offset-lg-2 inner-col-xxl-3 inner-offset-xxl-1\" },\n React.createElement(\"div\", { className: \"region\" },\n React.createElement(\"h3\", { className: \"font__title\" }, returnRegion('AMERICAS').region),\n countryList(returnRegion('AMERICAS'))),\n React.createElement(\"div\", { className: \"region\", style: { marginTop: '6rem' } },\n React.createElement(\"h3\", { className: \"font__title\" }, returnRegion('ASIA').region),\n countryList(returnRegion('ASIA')))))) : (React.createElement(React.Fragment, null, regions.map((region) => (React.createElement(\"div\", { className: `inner-col-lg-${region.region === 'EUROPE' ? '10' : '5'} `, key: region.region },\n React.createElement(\"h3\", { className: \"font__subtitle\" }, region.region),\n countryList(region)))))))));\n if (!(regions === null || regions === void 0 ? void 0 : regions.length)) {\n return null;\n }\n // @ts-ignore\n return React.createElement(\"div\", { className: \"country-selector--list\" }, currentBreakpoint < window.mqObj.lg ? mobileLayout() : desktopLayout());\n};\nexport default CountrySelectorList;\n"],"names":["timeoutId","Accordion","props","expandedCard","setExpandedCard","useState","height","setHeight","groupRef","setOpen","i","isOpen","useEffect","results","length","scrollToElement","container","opener","clearTimeout","setTimeout","elem","bounding","getBoundingClientRect","top","left","bottom","window","innerHeight","document","documentElement","clientHeight","right","innerWidth","clientWidth","isInViewport","scrollPosition","scrollY","containerScrollPosition","header","querySelector","endPosition","style","scrollTo","behavior","gap","direction","int","setInterval","clearInterval","scrollToPx","offsetHeight","defaultOpen","children","c","isInitialOpen","key","console","warn","log","current","childrenLength","useMemo","counter","createElement","type","className","flex","ref","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","initialValue","setQueryStringValue","value","values","location","search","newvalues","qsValue","newurl","protocol","host","pathname","history","pushState","path","setQueryStringWithoutPageReload","onSetValue","useCallback","newValue","setValue","getQueryStringValue","useTranslation","open","modalData","setModalData","sessionStorage","getItem","api","country","toLowerCase","then","data","error","countryMatch","onCloseModal","setItem","onRequestClose","overlayClassName","contentLabel","IPCountryName","Button","cls","href","origin","defaultLanguage","IPCountryCode","countryname","setCountrySelectorOpen","onFeeback","ModalDialog","fromCheckout","useQueryStringBoolean","setData","confirmed","setConfirmed","requireconfirm","setRequireconfirm","openConfirmation","setOpenConfirmation","fromClass","fromHeader","cart","isExchange","modal","hasDivisor","subtitle","fullWidth","fullHeight","CountrySelectorList","regions","isModal","dangerouslySetInnerHTML","__html","fromBookAnAppointment","confirm","ssr","basePath","Icon","name","family","inverted","e","preventDefault","editMode","currentBreakpoint","keys","map","region","countries","returnRegion","find","r","countryList","_a","countryCode","external","link","languagesMap","language","seo","links","base","undefined","mqObj","lg","marginTop"],"sourceRoot":""}