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,EAAO,GAAGvY,EAAM+H,UAAU/H,EAAMY,OAAOZ,EAAMoiB,SAAW,SAAW,KACzE,OAAO,gBAAoB,OAAQ,CAAE,aAAcpiB,EAAMqiB,UAAW,eAAe,EAAMvgB,UAAW,cAAcyW,KAAQvY,EAAMsiB,SAAW,YAAc,MAAO,EAEpKxa,EAAK/D,aAAe,CAChBgE,OAAQ,KACRqa,UAAU,EACVG,YAAY,GAEhB,K","sources":["webpack:///./assets/common/src/components/common/Metatags.tsx","webpack:///./assets/common/src/components/storelocator/StoreAddress.tsx","webpack:///./assets/common/src/components/storelocator/StoreAvailableServices.tsx","webpack:///./assets/common/src/components/storelocator/StoreBoutiqueCollections.tsx","webpack:///./assets/common/src/components/storelocator/StoreBoutiqueInformation.tsx","webpack:///./assets/common/src/components/storelocator/StoreBreadcrumb.tsx","webpack:///./assets/common/src/components/storelocator/StoreGetDirections.tsx","webpack:///./assets/common/src/components/storelocator/StoreInfoBox.tsx","webpack:///./assets/common/src/components/storelocator/StoreDetails.tsx","webpack:///./assets/common/src/components/storelocator/StoreLocatorGeo.tsx","webpack:///./assets/common/src/components/storelocator/StoreLocatorFilters.tsx","webpack:///./assets/common/src/components/storelocator/StoreLocatorRegions.tsx","webpack:///./assets/common/src/components/storelocator/StoreLocatorResults.tsx","webpack:///./assets/common/src/components/storelocator/StoreLocatorSearch.tsx","webpack:///./assets/common/src/components/storelocator/StoreLocator.tsx","webpack:///./assets/common/src/components/storelocator/StoreLocatorContainer.tsx","webpack:///./assets/common/src/utils/storelocator.ts","webpack:///./assets/common/src/components/storelocator/StoreLocatorApp.tsx","webpack:///./assets/common/src/components/storelocator/StoreLocatorMap.tsx","webpack:///./assets/common/src/components/storelocator/StoreSummary.tsx","webpack:///./assets/common/src/utils/arrayUtils.ts","webpack:///./assets/common/src/state/features/storelocator.selectors.ts","webpack:///./assets/common/src/ui/accordion/Accordion.tsx","webpack:///./assets/common/src/ui/accordion/AccordionItem.tsx","webpack:///./assets/common/src/utils/GoogleMapScript.tsx","webpack:///./assets/common/src/utils/brandDiffsUtils.ts","webpack:///./assets/common/src/utils/landingAnimations.ts","webpack:///./assets/common/src/utils/maputils.ts","webpack:///./assets/common/src/utils/ui.ts","webpack:///./assets/common/src/utils/useBreakpoint.ts","webpack:///./assets/moncler/src/components/experience/DigitalFlagshipSmallPromoCard.tsx","webpack:///./assets/stone/src/ui/icon/Icon.tsx"],"sourcesContent":["import React from 'react';\nimport { Helmet } from 'react-helmet';\nconst Metatags = (props) => {\n var _a, _b, _c;\n return (React.createElement(Helmet, null,\n props.pageMetaTags &&\n ((_a = Object.keys(props === null || props === void 0 ? void 0 : props.pageMetaTags)) === null || _a === void 0 ? void 0 : _a.map((key) => {\n if (key == 'title') {\n return React.createElement(\"title\", { key: key }, props === null || props === void 0 ? void 0 : props.pageMetaTags[key]);\n }\n if (key.startsWith('og:')) {\n return React.createElement(\"meta\", { key: key, property: key, content: props === null || props === void 0 ? void 0 : props.pageMetaTags[key] });\n }\n return React.createElement(\"meta\", { key: key, name: key, content: props === null || props === void 0 ? void 0 : props.pageMetaTags[key] });\n })), (_c = (_b = props.meta) === null || _b === void 0 ? void 0 : _b.hreflangs) === null || _c === void 0 ? void 0 :\n _c.map((key) => {\n return React.createElement(\"link\", { key: key, rel: \"alternate\", hrefLang: key.substring(0, key.indexOf(' ')), href: key.substring(key.indexOf(' ') + 1) });\n }),\n props.additionalMeta || []));\n};\nexport default Metatags;\n","import { getId } from '@common/utils/brandDiffsUtils';\nimport StoreGetDirections from '@components/storelocator/StoreGetDirections';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst StoreAddress = (props) => {\n var _a, _b, _c, _d;\n const { t } = useTranslation();\n const brandId = getId();\n const { store, hidename, showphone, showmail, showdirections, showHours } = props;\n if (!store) {\n return React.createElement(React.Fragment, null);\n }\n return (React.createElement(\"address\", { className: \"store-details\", \"data-boutiqueid\": store.ID },\n !hidename && React.createElement(\"span\", { className: \"name\" }, store.name),\n brandId === 'MO' ? (React.createElement(React.Fragment, null,\n store.countryCode.value != 'JP' && React.createElement(\"span\", { className: \"address\" }, `${store.address1 || ''} ${store.address2 || ''} `),\n React.createElement(\"span\", { className: \"address2\" },\n store.postalCode,\n \" \",\n store.countryCode.value === 'JP' ? (_a = store.countryCode) === null || _a === void 0 ? void 0 : _a.displayValue : '',\n \" \",\n store.city,\n ' ',\n store.countryCode.value === 'US' || store.countryCode.value === 'CA' ? store === null || store === void 0 ? void 0 : store.stateCode : '',\n \" \",\n store.countryCode.value != 'JP' ? (_b = store.countryCode) === null || _b === void 0 ? void 0 : _b.displayValue : ''),\n store.countryCode.value === 'JP' && React.createElement(\"span\", { className: \"address\" }, `${store.address1 || ''} ${store.address2 || ''} `))) : (React.createElement(React.Fragment, null,\n React.createElement(\"span\", { className: \"address\" },\n React.createElement(React.Fragment, null,\n store.countryCode.value != 'JP' && `${store.address1 || ''} ${store.address2 || ''} `,\n props.split && React.createElement(\"br\", null),\n store.postalCode,\n \" \",\n store.countryCode.value === 'JP' ? (_c = store.countryCode) === null || _c === void 0 ? void 0 : _c.displayValue : '',\n \" \",\n store.city,\n ' ',\n store.countryCode.value === 'US' || store.countryCode.value === 'CA' ? store === null || store === void 0 ? void 0 : store.stateCode : '',\n ' ',\n store.countryCode.value != 'JP' ? (_d = store.countryCode) === null || _d === void 0 ? void 0 : _d.displayValue : '')))),\n showphone && store.phone && (React.createElement(\"a\", { href: `tel:${store.phone}`, className: \"telephone\" }, store.phone)),\n showmail && store.email && (React.createElement(\"a\", { target: \"_blank\", rel: \"noreferrer\", href: `mailto:${store.email}`, className: \"email\" }, store.email)),\n showdirections && React.createElement(StoreGetDirections, { store: store }),\n showHours && store.storeHours && (React.createElement(\"div\", { className: \"store-details__hours\" },\n React.createElement(\"span\", { className: \"store-details__title\" }, t('label.storeHours')),\n React.createElement(\"dl\", null, store.storeHours.map((sh) => (React.createElement(React.Fragment, { key: sh.day },\n React.createElement(\"dt\", null, sh.day),\n React.createElement(\"dd\", null, sh.text)))))))));\n};\nexport default StoreAddress;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst StoreAvailableServices = (props) => {\n const { t } = useTranslation();\n const { services, inPage } = props;\n const serviceLength = Object.keys(services).length;\n return (React.createElement(\"div\", { className: inPage ? 'instore-services' : 'store__moreinfo__section' },\n inPage ? React.createElement(\"h2\", { className: \"section-title\" }, t('store.storeservices')) : React.createElement(\"h2\", { className: \"store__moreinfo__section__title\" }, t('store.availableservices')),\n React.createElement(\"ul\", { className: 'instore-service-wrapper ' + (serviceLength == 1 ? 'only-child' : '') },\n services.clickAndReserve && (React.createElement(\"li\", null,\n React.createElement(\"h3\", { className: \"instore-service-title\" }, t('store.clickAndReserve.title')),\n React.createElement(\"p\", { className: \"instore-service-desc\" }, t('store.clickAndReserve.desc')))),\n services.clickFromStore && (React.createElement(\"li\", null,\n React.createElement(\"h3\", { className: \"instore-service-title\" }, t('store.clickFromStore.title')),\n React.createElement(\"p\", { className: \"instore-service-desc\" }, t('store.clickFromStore.desc')))),\n services.pickUpInStore && (React.createElement(\"li\", null,\n React.createElement(\"h3\", { className: \"instore-service-title\" }, t('store.pickUpInStore.title')),\n React.createElement(\"p\", { className: \"instore-service-desc\" }, t('store.pickUpInStore.desc')))),\n services.returnInStore && (React.createElement(\"li\", null,\n React.createElement(\"h3\", { className: \"instore-service-title\" }, t('store.returnInStore.title')),\n React.createElement(\"p\", { className: \"instore-service-desc\" }, t('store.returnInStore.desc')))),\n services.exchangeInStore && (React.createElement(\"li\", null,\n React.createElement(\"h3\", { className: \"instore-service-title\" }, t('store.exchangeinstore.title')),\n React.createElement(\"p\", { className: \"instore-service-desc\" }, t('store.exchangeinstore.desc')))),\n services.bookAnAppointment && (React.createElement(\"li\", null,\n React.createElement(\"h3\", { className: \"instore-service-title\" }, t('store.bookanappointment.title')),\n React.createElement(\"p\", { className: \"instore-service-desc\" }, t('store.bookanappointment.desc')))),\n services.distantSale && (React.createElement(\"li\", null,\n React.createElement(\"h3\", { className: \"instore-service-title\" }, t('store.distantSale.title')),\n React.createElement(\"p\", { className: \"instore-service-desc\" }, t('store.distantSale.desc')))),\n services.GarmentKit && (React.createElement(\"li\", null,\n React.createElement(\"h3\", { className: \"instore-service-title\" }, t('store.GarmentKit.title')),\n React.createElement(\"p\", { className: \"instore-service-desc\" }, t('store.GarmentKit.desc')))),\n services.personalizationRoom && (React.createElement(\"li\", null,\n React.createElement(\"h3\", { className: \"instore-service-title\" }, t('store.personalizationRoom.title')),\n React.createElement(\"p\", { className: \"instore-service-desc\" }, t('store.personalizationRoom.desc')))),\n services.liveBoutique && (React.createElement(\"li\", null,\n React.createElement(\"h3\", { className: \"instore-service-title\" }, t('store.liveBoutique.title')),\n React.createElement(\"p\", { className: \"instore-service-desc\" }, t('store.liveBoutique.desc')))))));\n};\nStoreAvailableServices.defaultProps = {\n inPage: false,\n};\nexport default StoreAvailableServices;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst COLLECTIONS = ['men', 'women', 'children'];\nconst COLLECTIONSCODES = ['01', '02', '03'];\nconst StoreBoutiqueCollections = (props) => {\n const { t } = useTranslation();\n const { collections } = props;\n if (!collections) {\n return React.createElement(React.Fragment, null);\n }\n return (React.createElement(\"div\", { className: \"store__moreinfo__section\" },\n React.createElement(\"h2\", { className: \"store__moreinfo__section__title\" }, t('store.collectionsinboutique')),\n React.createElement(\"ul\", { className: \"boutique-collections\" }, collections.split(' ').map((collection, i) => {\n if (COLLECTIONSCODES.indexOf(collection) != -1) {\n return React.createElement(\"li\", { key: i }, t(`storelocator.${COLLECTIONS[COLLECTIONSCODES.indexOf(collection)]}`));\n }\n else {\n // fallback\n return React.createElement(\"li\", { key: i }, collection);\n }\n }))));\n};\nexport default StoreBoutiqueCollections;\n","import api from '@utils/api';\nimport React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport StoreInfoBox from './StoreInfoBox';\nimport { getId } from '@common/utils/brandDiffsUtils';\nconst BAAActionMoncler = React.lazy(() => import('@moncler/components/appointments/BookAnAppointmentAction'));\nconst BAAActionStone = React.lazy(() => import('@stone/components/appointments/BookAnAppointmentAction'));\nconst StoreBoutiqueInformation = (props) => {\n var _a, _b;\n const { t } = useTranslation();\n const [storeFilter, setStoreFilter] = useState([]);\n useEffect(() => {\n api.bookAnAppointmentStores(props.store.countryCode.value, '', 552250000).then((data) => {\n let arr = [...storeFilter];\n arr = data.stores.map((e) => e.code);\n setStoreFilter(arr);\n });\n }, []);\n return (React.createElement(\"div\", { className: \"store__moreinfo__section\" },\n React.createElement(\"h2\", { className: \"store__moreinfo__section__title\" }, t('store.boutiqueinformation')),\n React.createElement(StoreInfoBox, { store: props.store, className: \"store__moreinfo__section__address\" }),\n ((_b = (_a = props === null || props === void 0 ? void 0 : props.store) === null || _a === void 0 ? void 0 : _a.storeServices) === null || _b === void 0 ? void 0 : _b.bookAnAppointment) && (React.createElement(React.Fragment, null, getId() === 'MO' ? (React.createElement(BAAActionMoncler, Object.assign({ disabled: !storeFilter.includes(props.store.ID), store: props.store }, props))) : (React.createElement(BAAActionStone, Object.assign({ disabled: !storeFilter.includes(props.store.ID), store: props.store }, props)))))));\n};\nexport default StoreBoutiqueInformation;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useSelector } from 'react-redux';\nconst StoreBreadcrumb = (props) => {\n const { t } = useTranslation();\n const { store, currentCity, currentCountry, inStoreLocator, hideStoreName } = props;\n const { baseUrl } = useSelector((state) => state.storelocator);\n return (React.createElement(\"nav\", { \"aria-label\": t('navigation.breadcrumb.aria'), className: \"breadcrumb\" },\n React.createElement(\"ol\", null,\n React.createElement(\"li\", null,\n React.createElement(\"a\", { href: `${baseUrl}/storelocator` }, t('storelocator.label'))),\n React.createElement(\"li\", null,\n React.createElement(\"a\", { href: `${baseUrl}/storelocator/${store.slugcountry}`, \"aria-current\": currentCountry && !currentCity ? 'page' : undefined }, store.countryCode.displayValue)),\n (!inStoreLocator || currentCity) && (React.createElement(\"li\", null,\n React.createElement(\"a\", { href: `${baseUrl}/storelocator/${store.slugcity}`, \"aria-current\": currentCity ? 'page' : undefined }, store.city))),\n !inStoreLocator && !hideStoreName && (React.createElement(\"li\", null,\n React.createElement(\"a\", { href: `${baseUrl}/storelocator/${store.slug}`, \"aria-current\": \"page\" }, store.name))))));\n};\nexport default StoreBreadcrumb;\n","import classNames from 'classnames';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst StoreGetDirections = (props) => {\n const { t } = useTranslation();\n const { store, className, trackingAction } = props;\n return (React.createElement(\"a\", { href: `https://www.google.com/maps/dir/?api=1&destination=${store.latitude},${store.longitude}`, target: \"_blank\", rel: \"noreferrer\", className: classNames('get-directions', className), onClick: trackingAction ? trackingAction : undefined },\n React.createElement(\"span\", null, t('button.getdirections'))));\n};\nexport default StoreGetDirections;\n","import classNames from 'classnames';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport StoreAddress from './StoreAddress';\nimport { getId } from '@common/utils/brandDiffsUtils';\nconst StoreInfoBox = (props) => {\n const { t } = useTranslation();\n const { store, className } = props;\n if (!store) {\n return React.createElement(React.Fragment, null);\n }\n return (React.createElement(\"dl\", { className: classNames('store-info', className) },\n React.createElement(\"dt\", null, t('label.address')),\n React.createElement(\"dd\", null,\n React.createElement(StoreAddress, { store: store, hidename: true })),\n store.phone && (React.createElement(React.Fragment, null,\n React.createElement(\"dt\", null, t('label.phone')),\n React.createElement(\"dd\", null,\n React.createElement(\"a\", { href: `tel:${store.phone}` }, store.phone)),\n store.hasDOSService && (React.createElement(React.Fragment, null,\n React.createElement(\"dt\", null),\n React.createElement(\"dd\", { className: \"hasDOSService-disclaimer\" }, t('storelocator.hasDOSService')))))),\n store.email && (React.createElement(React.Fragment, null,\n React.createElement(\"dt\", null, t('label.email')),\n React.createElement(\"dd\", null,\n React.createElement(\"a\", { target: \"_blank\", rel: \"noreferrer\", href: `mailto:${store.email}` }, store.email)))),\n store.storeHours && (React.createElement(React.Fragment, null,\n React.createElement(\"dt\", null, t('label.openinghours')),\n React.createElement(\"dd\", null, store.storeHours.map((sh) => (React.createElement(\"p\", { key: sh.day },\n sh.day,\n React.createElement(\"br\", null),\n sh.text)))))),\n store.hasInStoreServices && getId() === 'MO' && (React.createElement(React.Fragment, null,\n React.createElement(\"dt\", null, t('label.availableservices')),\n React.createElement(\"dd\", { className: \"store-services\" },\n store.storeServices.clickAndReserve && React.createElement(\"p\", null, t('storelocator.clickAndReserve')),\n store.storeServices.clickFromStore && React.createElement(\"p\", null, t('storelocator.clickFromStore')),\n store.storeServices.pickUpInStore && React.createElement(\"p\", null, t('storelocator.pickUpInStore')),\n store.storeServices.returnInStore && React.createElement(\"p\", null, t('storelocator.returnInStore')),\n store.storeServices.exchangeInStore && React.createElement(\"p\", null, t('storelocator.exchangeInStore')),\n store.storeServices.distantSale && React.createElement(\"p\", null, t('storelocator.distantSale')),\n store.storeServices.bookAnAppointment && React.createElement(\"p\", null, t('storelocator.bookAnAppointment')),\n store.storeServices.GarmentKit && React.createElement(\"p\", null, t('storelocator.GarmentKit')),\n store.storeServices.personalizationRoom && React.createElement(\"p\", null, t('storelocator.personalizationRoom')),\n store.storeServices.liveBoutique && React.createElement(\"p\", null, t('storelocator.liveBoutique')))))));\n};\nexport default StoreInfoBox;\n","import { setCurrentStore, setOpenClusterDetail, setAddress } from '@state/features/storelocator.slice';\nimport analytics from '@utils/analytics';\nimport classNames from 'classnames';\nimport React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useSwipeable } from 'react-swipeable';\nimport StoreAvailableServices from './StoreAvailableServices';\nimport StoreBoutiqueCollections from './StoreBoutiqueCollections';\nimport StoreBoutiqueInformation from './StoreBoutiqueInformation';\nimport StoreSummary from './StoreSummary';\nimport Icon from '@stone/ui/icon/Icon';\nimport { autoChooseClassnames, getId } from '@common/utils/brandDiffsUtils';\nconst StoreDetails = (props) => {\n console.log(props.store);\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const { store, filteredStores } = props;\n const { baseUrl, openClusterDetail, storesInMap } = useSelector((state) => state.storelocator);\n const [storeOpen, setStoreOpen] = useState(false);\n const [clusterStores, setClusterStores] = useState(filteredStores);\n const handlers = useSwipeable({\n trackMouse: true,\n preventScrollOnSwipe: true,\n onSwipedDown: () => setStoreOpen(false),\n onSwipedUp: () => setStoreOpen(true),\n });\n const findCommonStoreName = (str1 = '', str2 = '') => {\n const common = [];\n let i, j, part;\n for (i = 0; i < str1.length - 1; i++) {\n for (j = i + 1; j <= str1.length; j++) {\n part = str1.slice(i, j);\n if (str2.indexOf(part) !== -1) {\n common.push(part);\n }\n }\n }\n return common.reduce((prev, current) => (prev.length > current.length ? prev : current));\n };\n useEffect(() => {\n if (openClusterDetail) {\n setClusterStores(filteredStores);\n setStoreOpen(true);\n }\n }, [openClusterDetail]);\n const handleStoreClosed = () => {\n dispatch(setCurrentStore(undefined));\n dispatch(setOpenClusterDetail(false));\n if (storesInMap.includes(store)) {\n dispatch(setAddress(store.address1));\n }\n else {\n dispatch(setAddress(undefined));\n }\n };\n return (React.createElement(\"div\", { role: \"dialog\", \"aria-modal\": \"false\", className: classNames('store', { open: storeOpen }), onKeyDown: (e) => {\n if (e.key == 'Escape') {\n handleStoreClosed();\n }\n }, \"aria-describedby\": \"storeDetailTitle\" },\n React.createElement(\"button\", { className: autoChooseClassnames({\n MO: 'icon--close',\n ST: 'button--close',\n }), type: \"button\", \"aria-label\": t('button.close'), autoFocus: true, onClick: () => {\n handleStoreClosed();\n } }, getId() === 'ST' && React.createElement(Icon, { name: \"close\", family: \"16\" })),\n React.createElement(\"div\", { className: \"store-wrapper\" },\n React.createElement(\"div\", Object.assign({ className: \"store__summary\" }, handlers),\n React.createElement(\"div\", { className: \"container\" },\n React.createElement(\"h1\", { className: \"store__summary__name\", id: \"storeDetailTitle\" },\n openClusterDetail && store && (React.createElement(\"button\", { className: \"back-to-cluster icon--arrow-left-black\", \"aria-label\": t('storelocator.backtocluster'), onClick: () => {\n dispatch(setCurrentStore(undefined));\n setStoreOpen(true);\n } })),\n store ? store === null || store === void 0 ? void 0 : store.name : openClusterDetail && (findCommonStoreName(clusterStores[0].name, clusterStores[1].name) || t('storelocator.samebuilding'))),\n (store === null || store === void 0 ? void 0 : store.notificationBanner) && React.createElement(\"div\", { className: \"store__summary__notification-banner\" }, store.notificationBanner),\n store && (React.createElement(React.Fragment, null,\n React.createElement(StoreSummary, { store: store }),\n React.createElement(\"a\", { href: `${baseUrl}/storelocator/${store.slug}`, onClick: () => analytics.storelocatorAction(store.name, 'view detail'), className: \"button button--link button--arrow-right store__summary__viewmore\" }, t('button.viewdetails')))))),\n React.createElement(\"div\", { className: \"store__moreinfo\" },\n React.createElement(\"div\", { className: \"container\" }, store ? (React.createElement(React.Fragment, null,\n React.createElement(StoreBoutiqueInformation, Object.assign({ store: store }, props)),\n store.storeCollections && React.createElement(StoreBoutiqueCollections, { collections: store.storeCollections }),\n store.hasInStoreServices && React.createElement(StoreAvailableServices, { services: store.storeServices }))) : (openClusterDetail &&\n clusterStores.map((store, i) => (React.createElement(\"div\", { key: i, className: \"store-in-cluster\" },\n React.createElement(\"h2\", { className: \"store__summary__name\" }, store.name),\n React.createElement(\"button\", { className: \"button button--secondary\", onClick: () => {\n analytics.storelocatorSelect(store.name);\n dispatch(setCurrentStore(store.ID));\n setStoreOpen(false);\n } }, t('storelocator.choose')))))))))));\n};\nexport default StoreDetails;\n","import { getId } from '@common/utils/brandDiffsUtils';\nimport { StoreLocatorActionTypes } from '@state/features/common.types';\nimport analytics from '@utils/analytics';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useDispatch } from 'react-redux';\nconst GeoOptions = {\n enableHighAccuracy: false,\n timeout: 5000,\n maximumAge: 0,\n};\nconst StoreLocatorGeo = (props) => {\n const { t } = useTranslation();\n const dispatch = useDispatch();\n const successLocalization = (pos) => {\n let crd = pos.coords;\n console.log('Your current position is:');\n console.log(`Latitude : ${crd.latitude}`);\n console.log(`Longitude: ${crd.longitude}`);\n console.log(`More or less ${crd.accuracy} meters.`);\n dispatch({ type: StoreLocatorActionTypes.USE_LOCATION, payload: { lat: pos.coords.latitude, lng: pos.coords.longitude } });\n };\n const errorLocalization = (err) => {\n console.warn(`ERROR(${err.code}): ${err.message}`);\n };\n return (React.createElement(\"button\", { type: \"button\", className: \"use-location\", \"aria-label\": t('storelocator.usemylocation'), onClick: (e) => {\n if (navigator.geolocation) {\n analytics.storelocatorMyLocation();\n navigator.geolocation.getCurrentPosition(successLocalization, errorLocalization, GeoOptions);\n }\n else {\n console.warn('Geolocation is not supported by this browser.');\n }\n } }, getId() === 'ST' && React.createElement(\"span\", null, t('storelocator.usemylocation'))));\n};\nexport default StoreLocatorGeo;\n","import { getId } from '@common/utils/brandDiffsUtils';\nimport { toggleCollection, toggleService } from '@state/features/storelocator.slice';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useDispatch, useSelector } from 'react-redux';\nimport StoreLocatorGeo from './StoreLocatorGeo';\nconst SERVICES_MONCLER = [\n 'pickUpInStore',\n 'clickAndReserve',\n 'returnInStore',\n 'bookAnAppointment',\n 'exchangeInStore',\n 'distantSale',\n 'clickFromStore',\n 'GarmentKit',\n 'personalizationRoom',\n];\nconst SERVICES_STONE = ['pickUpInStore', 'clickAndReserve', 'returnInStore', 'bookAnAppointment', 'exchangeInStore', 'clickFromStore'];\nconst COLLECTIONS_MONCLER = ['men', 'women', 'children'];\nconst COLLECTIONS_STONE = ['men', 'junior', 'collaboration'];\nconst COLLECTIONSCODES_MONCLER = ['01', '02', '03'];\nconst COLLECTIONSCODES_STONE = ['01', '02', '03'];\nconst SERVICES = {\n MO: SERVICES_MONCLER,\n ST: SERVICES_STONE,\n};\nconst COLLECTIONS = {\n MO: COLLECTIONS_MONCLER,\n ST: COLLECTIONS_STONE,\n};\nconst COLLECTIONSCODES = {\n MO: COLLECTIONSCODES_MONCLER,\n ST: COLLECTIONSCODES_STONE,\n};\nconst StoreLocatorFilters = (props) => {\n const { t } = useTranslation();\n const dispatch = useDispatch();\n const { filters } = useSelector((state) => state.storelocator);\n const isCollectionSelected = (collection) => {\n return filters.collections.find((el) => el === collection);\n };\n const isServiceSelected = (serviceItem) => {\n return filters.services.find((service) => service === serviceItem);\n };\n return (\n // eslint-disable-next-line jsx-a11y/no-static-element-interactions\n React.createElement(\"div\", { className: \"search-store__filters\", id: \"refineOptions\", onKeyDown: (e) => {\n if (e.key == 'Escape') {\n e.preventDefault();\n props.close();\n }\n } },\n React.createElement(\"div\", { className: \"search-store__filters__container\" },\n React.createElement(\"ul\", { className: \"storelocator-filters\", \"aria-label\": t('storelocator.refinemenu.label') },\n COLLECTIONS[getId()].map((col, i) => (React.createElement(\"li\", { key: i },\n React.createElement(\"input\", { type: \"checkbox\", checked: isCollectionSelected(COLLECTIONSCODES[getId()][i]) ? true : false, onChange: () => {\n dispatch(toggleCollection(COLLECTIONSCODES[getId()][i]));\n }, id: 'filter-collection-' + i }),\n React.createElement(\"label\", { htmlFor: 'filter-collection-' + i }, t(`storelocator.${col}`))))),\n SERVICES[getId()].map((service, i) => (React.createElement(\"li\", { key: i },\n React.createElement(\"input\", { type: \"checkbox\", checked: isServiceSelected(service) ? true : false, onChange: () => {\n dispatch(toggleService(service));\n }, id: 'filter-service-' + i }),\n React.createElement(\"label\", { htmlFor: 'filter-service-' + i }, t(`storelocator.${service}`)))))),\n getId() === 'ST' && React.createElement(StoreLocatorGeo, null))));\n};\nexport default StoreLocatorFilters;\n","import { autoChooseClassnames, getId } from '@common/utils/brandDiffsUtils';\nimport { StoreLocatorActionTypes } from '@state/features/common.types';\nimport { setAddress } from '@state/features/storelocator.slice';\nimport Accordion from '@ui/accordion/Accordion';\nimport AccordionItem from '@ui/accordion/AccordionItem';\nimport analytics from '@utils/analytics';\nimport useBreakpoint from '@utils/useBreakpoint';\nimport FocusTrap from 'focus-trap-react';\nimport React, { useMemo, useRef } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useDispatch } from 'react-redux';\nconst StoreLocatorRegions = (props) => {\n const { t } = useTranslation();\n const { filteredStores, close } = props;\n const dispatch = useDispatch();\n const currentBreakpoint = useBreakpoint();\n const regions = useRef();\n const breakpointToAccordion = getId() === 'MO' ? window.mqObj.sm : window.mqObj.lg;\n const countryStores = useMemo(() => {\n if (filteredStores.length) {\n let arr = {};\n filteredStores.forEach((store) => {\n if (arr[store.countryCode.value]) {\n arr[store.countryCode.value].count += 1;\n }\n else {\n arr[store.countryCode.value] = {\n count: 1,\n countryName: store.countryCode.displayValue,\n region: store.region,\n };\n }\n });\n console.info('countries: ', arr);\n return arr;\n }\n }, [filteredStores]);\n const getCountryBounds = (countryName) => {\n const request = {\n query: countryName,\n fields: ['name', 'geometry'],\n };\n props.placeService.findPlaceFromQuery(request, (results, status) => {\n if (status === google.maps.places.PlacesServiceStatus.OK) {\n results.map((el) => console.info(el.name));\n dispatch(setAddress(results[0].name));\n analytics.storelocatorSelect(results[0].name);\n dispatch({ type: StoreLocatorActionTypes.UPDATE_BOUNDS, payload: { newBounds: results[0].geometry.viewport.toJSON(), fromSearch: true } });\n close(true);\n }\n });\n };\n const getRegionColumn = (region, noTitle) => {\n let currentRegions = [];\n switch (region) {\n case 'Europe':\n currentRegions = ['EU'];\n break;\n case 'Americas':\n currentRegions = ['NA', 'SA'];\n break;\n case 'Asia & Oceania':\n currentRegions = ['AS', 'OC'];\n break;\n default:\n break;\n }\n const regionalCountries = Object.values(countryStores).filter((el) => currentRegions.includes(el.region.value));\n if (regionalCountries.length > 0) {\n return (React.createElement(\"div\", { className: \"region-col\" },\n !noTitle && React.createElement(\"h3\", null, region),\n regionalCountries.map((country, i) => (React.createElement(\"button\", { type: \"button\", onClick: () => getCountryBounds(country.countryName), key: i },\n country.countryName,\n \" (\",\n country.count,\n React.createElement(\"span\", { className: \"visually-hidden\" }, t('storelocator.label')),\n \")\")))));\n }\n };\n return (React.createElement(FocusTrap, { focusTrapOptions: {\n onDeactivate: close,\n allowOutsideClick: (e) => {\n if (!regions.current.contains(e.target)) {\n const isAnchor = e.target;\n if (isAnchor === null || isAnchor === void 0 ? void 0 : isAnchor.href) {\n window.location.href = isAnchor.href;\n }\n else {\n close();\n }\n }\n return true;\n },\n } },\n React.createElement(\"div\", { role: \"dialog\", \"aria-modal\": \"true\", ref: regions, className: \"search-store__regions\", id: \"allLocationsOptions\", \"aria-describedby\": \"allLocationsOptionsTitle\" },\n React.createElement(\"button\", { className: autoChooseClassnames({\n MO: 'icon--close',\n ST: 'button__close icon--16-close',\n }), type: \"button\", \"aria-label\": t('button.close'), onClick: () => {\n close();\n } }),\n React.createElement(\"h2\", { className: \"search-store__regions__title\", id: \"allLocationsOptionsTitle\" }, t('storelocator.allboutiques')),\n React.createElement(\"div\", { className: \"wrapper-regions\" }, currentBreakpoint < breakpointToAccordion ? (React.createElement(Accordion, null,\n React.createElement(AccordionItem, { title: \"Europe\", accordionId: \"region1\" }, getRegionColumn('Europe', true)),\n React.createElement(AccordionItem, { title: \"Americas\", accordionId: \"region2\" }, getRegionColumn('Americas', true)),\n React.createElement(AccordionItem, { title: \"Asia & Oceania\", accordionId: \"region3\" }, getRegionColumn('Asia & Oceania', true)))) : (React.createElement(React.Fragment, null,\n getRegionColumn('Europe'),\n getRegionColumn('Americas'),\n getRegionColumn('Asia & Oceania')))))));\n};\nexport default StoreLocatorRegions;\n","import { setCurrentStore } from '@state/features/storelocator.slice';\nimport analytics from '@utils/analytics';\nimport FocusTrap from 'focus-trap-react';\nimport React, { useRef } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useDispatch, useSelector } from 'react-redux';\nimport StoreAddress from './StoreAddress';\nimport { autoChooseClassnames, getId } from '@common/utils/brandDiffsUtils';\nconst COLLECTIONS = ['men', 'women', 'children'];\nconst COLLECTIONSCODES = ['01', '02', '03'];\nconst StoreLocatorResults = (props) => {\n const { t } = useTranslation();\n const { filteredStores, close } = props;\n const dispatch = useDispatch();\n const results = useRef();\n const { baseUrl, address } = useSelector((state) => state.storelocator);\n const printCollections = (collections) => {\n const list = collections.split(' ');\n const listnames = list.map((el) => {\n if (COLLECTIONSCODES.indexOf(el) != -1) {\n return t(`storelocator.${COLLECTIONS[COLLECTIONSCODES.indexOf(el)]}`);\n }\n else {\n // fallback\n return el;\n }\n });\n return listnames.join(' ');\n };\n return (React.createElement(FocusTrap, { focusTrapOptions: {\n onDeactivate: close,\n allowOutsideClick: (e) => {\n if (!results.current.contains(e.target)) {\n const isAnchor = e.target;\n if (isAnchor === null || isAnchor === void 0 ? void 0 : isAnchor.href) {\n window.location.href = isAnchor.href;\n }\n else {\n close();\n }\n }\n return true;\n },\n fallbackFocus: () => {\n return results.current;\n },\n } },\n React.createElement(\"div\", { role: \"dialog\", \"aria-modal\": \"true\", ref: results, className: \"search-store__resultslist\", id: \"resultsOptions\", tabIndex: -1, \"aria-describedby\": \"resultsOptions_title\" },\n React.createElement(\"button\", { className: autoChooseClassnames({\n MO: 'icon--close',\n ST: 'button__close icon--16-close',\n }), type: \"button\", \"aria-label\": t('button.close'), onClick: () => {\n close();\n } }),\n React.createElement(\"h2\", { className: \"visually-hidden\", id: \"resultsOptions_title\" }, t('storelocator.nboutiquesnear', { 0: filteredStores.length, 1: address })),\n getId() === 'ST' && React.createElement(\"div\", { className: \"search-store__resultslist__title\" }, address),\n React.createElement(\"ul\", null, filteredStores.map((store, i) => (React.createElement(\"li\", { key: i, className: \"search-store__resultslist__menuitem\" },\n React.createElement(\"a\", { className: \"visually-hidden\", href: `${baseUrl}/storelocator/${store.slug}`, tabIndex: -1, \"aria-hidden\": \"true\" }, store.name),\n React.createElement(\"h3\", { className: \"search-store__resultslist__menuitem__name\" },\n React.createElement(\"button\", { onClick: () => {\n analytics.storelocatorSelect(store.name);\n dispatch(setCurrentStore(store.ID));\n }, \"aria-expanded\": \"false\", \"aria-haspopup\": \"dialog\", \"aria-label\": store.name, onKeyDown: (e) => {\n if (e.key == 'Escape') {\n e.preventDefault();\n close();\n }\n } }, store.name)),\n store.storeCollections && getId() === 'MO' && React.createElement(\"span\", { className: \"search-store__resultslist__menuitem__collection\" }, printCollections(store.storeCollections)),\n React.createElement(StoreAddress, { store: store, hidename: true }),\n store.phone && React.createElement(\"p\", { className: \"search-store__resultslist__menuitem__phone\" }, store.phone))))))));\n};\nexport default StoreLocatorResults;\n","import { StandaloneSearchBox } from '@react-google-maps/api';\nimport { StoreLocatorActionTypes } from '@state/features/common.types';\nimport { setAddress } from '@state/features/storelocator.slice';\nimport analytics from '@utils/analytics';\nimport classNames from 'classnames';\nimport React, { useEffect, useLayoutEffect, useRef, useState, useMemo } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useDispatch, useSelector } from 'react-redux';\nimport whatInput from 'what-input';\nimport StoreLocatorFilters from './StoreLocatorFilters';\nimport StoreLocatorGeo from './StoreLocatorGeo';\nimport StoreLocatorRegions from './StoreLocatorRegions';\nimport StoreLocatorResults from './StoreLocatorResults';\nimport { autoChooseClassnames, autoChooseProps, getId } from '@common/utils/brandDiffsUtils';\nimport { useElementSize } from 'usehooks-ts';\nconst StoreLocatorSearch = (props) => {\n const { t } = useTranslation();\n const { filteredStores } = props;\n const dispatch = useDispatch();\n const { stores, address, filters, zoom } = useSelector((state) => state.storelocator);\n const initalSearchValue = props.initialSearch ? props.initialSearch : address;\n const inputRef = useRef(null);\n const showResultslistRef = useRef(null);\n const [showResultslist, setShowResultslist] = useState(false);\n const [showRegions, setShowRegions] = useState(false);\n const [showFilters, setShowFilters] = useState(false);\n const [inputFocus, setInputFocus] = useState(false);\n const toggleFilters = () => {\n setShowFilters(!showFilters);\n };\n const [filtersRef, { width }] = useElementSize();\n const placeService = useMemo(() => new google.maps.places.PlacesService(document.createElement('div')), []);\n const [focusType, setFocusType] = useState('keyboard');\n const handleFocus = () => {\n if (whatInput.ask() === 'keyboard') {\n setFocusType('keyboard');\n }\n else {\n setFocusType('mouse');\n }\n };\n useEffect(() => {\n // siamo nella city o country page\n // mostra la lista per avere gli url in pagina x SEO internal linking\n if (props.initialSearch) {\n setShowResultslist(true);\n }\n }, []);\n useLayoutEffect(() => {\n // Set a CSS variable used by input to make SI input layout responsive\n if (getId() === 'ST') {\n document.documentElement.style.setProperty(`--storelocator-filters-width`, `${width / 10}rem`);\n }\n }, [width]);\n const onLoad = (autocomplete) => {\n inputRef.current = autocomplete;\n };\n const onPlaceChanged = async () => {\n var _a, _b, _c;\n if (inputRef.current) {\n const selectedPlaces = inputRef.current.getPlaces();\n if (selectedPlaces.length == 0) {\n dispatch(setAddress(undefined));\n return;\n }\n const bounds = new google.maps.LatLngBounds();\n selectedPlaces.forEach((place) => {\n if (!place.geometry || !place.geometry.location) {\n console.log('Returned place contains no geometry');\n return;\n }\n if (place.geometry.viewport) {\n // Only geocodes have viewport.\n bounds.union(place.geometry.viewport);\n }\n else {\n bounds.extend(place.geometry.location);\n }\n });\n if (!!selectedPlaces[0].formatted_address) {\n analytics.storelocatorSearch(selectedPlaces[0].formatted_address);\n if (selectedPlaces[0].name === '') {\n dispatch(setAddress(undefined));\n }\n else {\n if (selectedPlaces[0].address_components) {\n // se è una città\n // props.searchedCity(undefined);\n // if (selectedPlaces[0].address_components[0]?.types.includes('locality')) {\n // props.searchedCity(selectedPlaces[0].address_components[0]?.short_name);\n // }\n // se è una country\n props.searchedCountry(undefined);\n if ((_a = selectedPlaces[0].address_components[0]) === null || _a === void 0 ? void 0 : _a.types.includes('country')) {\n props.searchedCountry((_b = selectedPlaces[0].address_components[0]) === null || _b === void 0 ? void 0 : _b.short_name);\n }\n }\n else if ((_c = selectedPlaces[0].types) === null || _c === void 0 ? void 0 : _c.includes('country')) {\n await new Promise((resolve) => {\n placeService.getDetails(selectedPlaces[0], (result, status) => {\n var _a;\n if (status === google.maps.places.PlacesServiceStatus.OK) {\n console.log('result ', result);\n props.searchedCountry((_a = result.address_components[0]) === null || _a === void 0 ? void 0 : _a.short_name);\n }\n resolve(status);\n });\n });\n }\n dispatch(setAddress(selectedPlaces[0].formatted_address));\n dispatch({ type: StoreLocatorActionTypes.UPDATE_BOUNDS, payload: { newBounds: bounds.toJSON(), fromSearch: true } });\n setTimeout(() => {\n var _a;\n (_a = showResultslistRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n }, 2000);\n }\n }\n }\n else {\n console.log('Autocomplete is not loaded yet!');\n }\n };\n return (React.createElement(\"div\", { className: \"container container--search\" },\n React.createElement(\"div\", { className: \"row justify-center\" },\n React.createElement(\"div\", { className: autoChooseClassnames({\n /* eslint-disable prettier/prettier */\n MO: \"col-12 col-sm-10 col-md-8 col-lg-6\",\n ST: \"col-24 col-lg-20 col-xxl-12\"\n }) },\n React.createElement(\"div\", { role: \"search\", className: \"search-store\" },\n React.createElement(\"div\", { \n // eslint-disable-next-line jsx-a11y/role-has-required-aria-props\n role: \"combobox\", \"aria-haspopup\": \"grid\", \"aria-expanded\": \"false\", className: classNames('search-store__autocomplete', { 'show-list': showResultslist }) },\n React.createElement(StandaloneSearchBox, { onLoad: onLoad, onPlacesChanged: onPlaceChanged },\n React.createElement(React.Fragment, null,\n React.createElement(\"input\", { type: \"text\", defaultValue: initalSearchValue, placeholder: t('storelocator.field.label'), \"aria-label\": t('storelocator.field.label'), autoFocus: !props.initialSearch, autoComplete: \"off\", \"aria-autocomplete\": \"list\", onFocus: () => {\n setShowFilters(false);\n setShowResultslist(false);\n setShowRegions(false);\n getId() === 'ST' ? setInputFocus(true) : handleFocus();\n }, onBlur: () => getId() === 'ST' ? setInputFocus(false) : undefined, className: focusType === 'keyboard' ? 'pac-target-input' : 'no-outline pac-target-input' }))),\n getId() === 'ST' && (React.createElement(\"span\", { className: classNames('search-store__autocomplete--after', { focus: inputFocus }) }))),\n React.createElement(\"div\", { className: \"search-store__results-filters\", ref: filtersRef },\n React.createElement(\"div\", { className: \"search-store__resultslabel\" }, filteredStores.length ? (address || filters.collections.length > 0 || filters.services.length > 0 || zoom > 5 || initalSearchValue ? (React.createElement(\"button\", { type: \"button\", \"aria-controls\": \"resultsOptions\", className: \"alllocations__toggle\", onClick: () => {\n setShowFilters(false);\n setShowRegions(false);\n setShowResultslist(true);\n }, \"aria-expanded\": showResultslist ? 'true' : 'false', \"aria-haspopup\": \"dialog\", ref: showResultslistRef }, t('storelocator.nboutiques', { 0: filteredStores.length }))) : (React.createElement(\"button\", { type: \"button\", \"aria-controls\": \"allLocationsOptions\", className: \"alllocations__toggle allocations__toggle--nosearch\", onClick: () => {\n setShowFilters(false);\n setShowResultslist(false);\n setShowRegions(true);\n }, \"aria-expanded\": showRegions ? 'true' : 'false', \"aria-haspopup\": \"dialog\" }, autoChooseProps({\n MO: t('storelocator.allnboutiques', { 0: stores.length }),\n ST: t('storelocator.allboutiques')\n })))) : (React.createElement(\"i\", null, t('storelocator.noresults')))),\n showResultslist ? React.createElement(StoreLocatorResults, { filteredStores: filteredStores, close: () => setShowResultslist(false) }) : React.createElement(\"div\", { id: \"resultsOptions\" }),\n showRegions ? (React.createElement(StoreLocatorRegions, { placeService: placeService, filteredStores: stores, close: (selectedCountry) => {\n setShowRegions(false);\n if (selectedCountry && whatInput.ask() == 'keyboard') {\n setShowResultslist(true);\n }\n } })) : (React.createElement(\"div\", { id: \"allLocationsOptions\" })),\n getId() === 'MO' && React.createElement(StoreLocatorGeo, null),\n React.createElement(\"button\", { className: \"refine__toggle\", type: \"button\", \"aria-expanded\": showFilters, \"aria-controls\": \"refineOptions\", onClick: () => {\n if (!showFilters) {\n analytics.storelocatorOpenRefine();\n }\n toggleFilters();\n } }, t('refine.title')),\n showFilters ? React.createElement(StoreLocatorFilters, { close: toggleFilters }) : React.createElement(\"div\", { id: \"refineOptions\" })))))));\n};\nexport default StoreLocatorSearch;\n","import Metatags from '@components/common/Metatags';\nimport StoreDetails from '@components/storelocator/StoreDetails';\nimport StoreLocatorMap from '@components/storelocator/StoreLocatorMap';\nimport StoreLocatorSearch from '@components/storelocator/StoreLocatorSearch';\nimport { StoreLocatorActionTypes } from '@state/features/common.types';\nimport { currentStoreSelector } from '@state/features/storelocator.selectors';\nimport analytics from '@utils/analytics';\nimport { tranitionDomReady } from '@utils/landingAnimations';\nimport { motion } from 'framer-motion';\nimport React, { useCallback, useEffect, useMemo, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useParams } from 'react-router';\nimport StoreBreadcrumb from './StoreBreadcrumb';\nimport { autoChooseClassnames } from '@common/utils/brandDiffsUtils';\nconst COLLECTIONS = ['men', 'women', 'children'];\nconst COLLECTIONSCODES = ['01', '02', '03'];\nconst StoreLocator = (props) => {\n const { t } = useTranslation();\n const dispatch = useDispatch();\n const { country, city } = useParams();\n const { stores, storesInMap, filters, zoom, center, updateBounds, currentLocation, address, metadata, openClusterDetail } = useSelector((state) => state.storelocator);\n const currentStore = useSelector(currentStoreSelector);\n const [searchedCity, setSearchedCity] = useState();\n const [searchedCountry, setSearchedCountry] = useState();\n const [filteredStores, setFilteredStores] = useState(stores);\n const [showLeftBar, setShowLeftBar] = useState(false);\n useEffect(() => {\n if (openClusterDetail || currentStore) {\n setShowLeftBar(true);\n }\n else {\n setShowLeftBar(false);\n }\n }, [currentStore, openClusterDetail]);\n useEffect(() => {\n dispatch({\n type: StoreLocatorActionTypes.FETCH_STORES,\n payload: {\n city,\n country,\n },\n });\n }, []);\n useEffect(() => {\n if (storesInMap) {\n if (storesInMap.length > 0) {\n // filtro i servizi\n const filteredServices = storesInMap.filter((el) => {\n let filtersMatch = true;\n const storeServices = Object.assign({}, el.storeServices);\n filters.services.forEach((service) => {\n if (!storeServices[service]) {\n filtersMatch = false;\n }\n });\n return filtersMatch;\n });\n // filtro le collections\n const filteredCollections = filteredServices.filter((el) => {\n var _a;\n let filtersMatch = true;\n if (filters.collections.length > 0) {\n const collections = (_a = el.storeCollections) === null || _a === void 0 ? void 0 : _a.toLowerCase().split(' ');\n if (collections && collections.length) {\n filters.collections.forEach((col) => {\n // added fallback for filters\n if (!collections.includes(col) && !collections.includes(t(`storelocator.${COLLECTIONS[COLLECTIONSCODES.indexOf(col)]}`).toLowerCase())) {\n filtersMatch = false;\n }\n });\n }\n else {\n filtersMatch = false;\n }\n }\n return filtersMatch;\n });\n // filtro country & city\n let filteredCityCountry = filteredCollections;\n if (searchedCity) {\n filteredCityCountry = filteredCollections.filter((store) => store.city === searchedCity);\n }\n else if (searchedCountry) {\n //Filtro custom x OE-9856 - Province of China\n if (searchedCountry == 'CN') {\n filteredCityCountry = filteredCollections.filter((store) => store.countryCode.value === 'CN' || store.countryCode.value === 'MO' || store.countryCode.value === 'HK' || store.countryCode.value === 'TW');\n }\n else {\n filteredCityCountry = filteredCollections.filter((store) => store.countryCode.value === searchedCountry);\n }\n }\n setFilteredStores(filteredCityCountry);\n }\n else {\n analytics.storelocatorSearchNotFound(address);\n // console.info('stores: ' + storesInMap);\n setFilteredStores(storesInMap);\n }\n }\n }, [storesInMap, filters, searchedCity, searchedCountry]);\n const escapedCity = useMemo(() => {\n var _a;\n return (_a = city === null || city === void 0 ? void 0 : city.split('-')) === null || _a === void 0 ? void 0 : _a.join(' ');\n }, [city]);\n const escapedCountry = useMemo(() => {\n var _a;\n return (_a = country === null || country === void 0 ? void 0 : country.split('-')) === null || _a === void 0 ? void 0 : _a.join(' ');\n }, [country]);\n const storeLocatorTitle = useCallback(() => {\n let title = t('store.title');\n if (city || country) {\n title = `${t('store.localizedTitle')} ${escapedCity || escapedCountry}`;\n }\n return (React.createElement(motion.h1, { transition: tranitionDomReady, initial: { opacity: 0 }, animate: { opacity: 1 }, className: \"editorial-page-title\" }, title));\n }, []);\n return (React.createElement(React.Fragment, null,\n metadata && React.createElement(Metatags, { pageMetaTags: metadata.pageMetaTags, meta: metadata }),\n filteredStores && (React.createElement(\"div\", { className: \"store-locator\" },\n storeLocatorTitle(),\n React.createElement(\"div\", { className: \"store-locator__wrapper\" },\n !showLeftBar && (React.createElement(StoreLocatorSearch, { filteredStores: filteredStores, initialSearch: escapedCity || escapedCountry, searchedCity: (e) => setSearchedCity(e), searchedCountry: (e) => setSearchedCountry(e) })),\n React.createElement(\"div\", { className: \"row row--full-bleed\" },\n showLeftBar && (React.createElement(\"div\", { className: autoChooseClassnames({\n MO: 'col-12 col-sm-6 col-md-5 col-lg-4',\n ST: 'col-24 col-lg-5',\n }) },\n React.createElement(StoreDetails, Object.assign({ store: currentStore, filteredStores: filteredStores }, props)))),\n React.createElement(\"div\", { className: showLeftBar\n ? autoChooseClassnames({\n /* eslint-disable prettier/prettier */\n MO: 'col-12 col-sm-6 col-md-7 col-lg-8',\n ST: 'col-24 col-lg-19',\n })\n : autoChooseClassnames({\n /* eslint-disable prettier/prettier */\n MO: 'col-12',\n ST: 'col-24',\n }) },\n React.createElement(StoreLocatorMap, Object.assign({}, props, { zoom: zoom, center: center, updatedMapBounds: updateBounds, updateFromLocation: currentLocation, stores: stores, filteredStores: filteredStores, currentStore: currentStore }))))),\n (city || country) && stores.length > 0 && (React.createElement(\"div\", { className: \"container\" },\n React.createElement(StoreBreadcrumb, { store: stores[0], currentCity: city, currentCountry: country, inStoreLocator: true })))))));\n};\nexport default StoreLocator;\n","import { getId } from '@common/utils/brandDiffsUtils';\nimport StoreLocator from '@components/storelocator/StoreLocator';\nimport GoogleMapScript from '@utils/GoogleMapScript';\nimport React from 'react';\nimport { BrowserRouter as Router, Route, Switch } from 'react-router-dom';\nconst StorePageMoncler = React.lazy(() => import('@components/storelocator/StorePage'));\nconst StorePageStone = React.lazy(() => import('@stone/components/storelocator/StorePage'));\nconst StoreLocatorContainer = (props) => {\n return (React.createElement(GoogleMapScript, null,\n React.createElement(Router, { basename: window.basePath },\n React.createElement(Switch, null,\n React.createElement(Route, { path: \"/:lang/storelocator/:country/:city/:store\" }, getId() == 'MO' ? React.createElement(StorePageMoncler, Object.assign({}, props)) : React.createElement(StorePageStone, Object.assign({}, props))),\n React.createElement(Route, { path: \"/:lang/storelocator/:country/:city\" },\n React.createElement(StoreLocator, Object.assign({}, props))),\n React.createElement(Route, { path: \"/:lang/storelocator/:country\" },\n React.createElement(StoreLocator, Object.assign({}, props))),\n React.createElement(Route, { path: \"/:lang/storelocator\" },\n React.createElement(StoreLocator, Object.assign({}, props)))))));\n};\nexport default StoreLocatorContainer;\n","import ReduxQuerySync from 'redux-query-sync';\nexport const initQuerySync = (store) => {\n ReduxQuerySync({\n store,\n params: {\n address: {\n selector: (state) => { var _a; return (_a = state.storelocator) === null || _a === void 0 ? void 0 : _a.address; },\n action: (value) => ({ type: 'storelocator/setAddress', payload: value }),\n },\n location: {\n selector: (state) => {\n var _a, _b, _c, _d;\n if (((_a = state.storelocator) === null || _a === void 0 ? void 0 : _a.center) && ((_b = state.storelocator) === null || _b === void 0 ? void 0 : _b.zoom)) {\n return `${(_c = state.storelocator.center) === null || _c === void 0 ? void 0 : _c.lat},${(_d = state.storelocator.center) === null || _d === void 0 ? void 0 : _d.lng},${state.storelocator.zoom}`;\n }\n else {\n return '';\n }\n },\n action: (value) => ({ type: 'storelocator/updateLocationFromQuery', payload: value }),\n defaultValue: '',\n },\n storeId: {\n selector: (state) => { var _a; return (_a = state.storelocator) === null || _a === void 0 ? void 0 : _a.currentStoreId; },\n action: (value) => ({ type: 'storelocator/setCurrentStore', payload: value }),\n },\n services: {\n selector: (state) => {\n var _a, _b;\n return ((_a = state.storelocator) === null || _a === void 0 ? void 0 : _a.filters.services.length) > 0 ? (_b = state.storelocator) === null || _b === void 0 ? void 0 : _b.filters.services.reduce((result, service) => `${result},${service}`, '') : '';\n },\n action: (value) => ({ type: 'storelocator/updateServiceFromQuery', payload: value }),\n defaultValue: '',\n },\n collections: {\n selector: (state) => {\n var _a, _b;\n return ((_a = state.storelocator) === null || _a === void 0 ? void 0 : _a.filters.collections.length) > 0 ? (_b = state.storelocator) === null || _b === void 0 ? void 0 : _b.filters.collections.reduce((result, service) => `${result},${service}`, '') : '';\n },\n action: (value) => ({ type: 'storelocator/updateCollectionsFromQuery', payload: value }),\n defaultValue: '',\n },\n },\n // Initially set the store's state to the current location.\n initialTruth: 'location',\n });\n};\n","import StoreLocatorContainer from '@components/storelocator/StoreLocatorContainer';\nimport { configureStoreLocatorStore } from '@state';\nimport { initQuerySync } from '@utils/storelocator';\nimport React from 'react';\nimport { Provider } from 'react-redux';\nconst store = configureStoreLocatorStore();\nif (location.pathname.split('/').length < 6) {\n initQuerySync(store);\n}\nconst StoreLocatorApp = (props) => {\n return (React.createElement(Provider, { store: store },\n React.createElement(StoreLocatorContainer, Object.assign({}, props))));\n};\nexport default StoreLocatorApp;\n","import { autoChooseProps, getId } from '@common/utils/brandDiffsUtils';\nimport { GoogleMap, MarkerF, MarkerClusterer } from '@react-google-maps/api';\nimport { StoreLocatorActionTypes } from '@state/features/common.types';\nimport { setCenter, setCurrentStore, setOpenClusterDetail, setZoom } from '@state/features/storelocator.slice';\nimport analytics from '@utils/analytics';\nimport { debounce } from '@utils/functions';\nimport maputils from '@utils/maputils';\nimport React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { useDispatch } from 'react-redux';\nconst StoreLocatorMap = (props) => {\n // TODO needs some performance improvements, too many re-renders causing map lag\n const reRendersCount = useRef(0);\n reRendersCount.current++;\n console.info('StoreLocatorMap re-render: ', reRendersCount.current);\n const dispatch = useDispatch();\n const { stores, filteredStores, currentStore, zoom, center, updatedMapBounds, updateFromLocation } = props;\n const initialZoom = useRef(zoom).current;\n const initialCenter = useRef(center).current;\n const [map, setMap] = useState();\n const [isOver, setIsOver] = useState(false);\n const [markerOvered, setMarkerOvered] = useState(null);\n useEffect(() => {\n if (updatedMapBounds && map) {\n const currentBounds = map.getBounds();\n if (!currentBounds.equals(updatedMapBounds)) {\n console.info('mapBounds updated', updatedMapBounds);\n map.fitBounds(updatedMapBounds);\n }\n }\n }, [updatedMapBounds, map]);\n useEffect(() => {\n if (updateFromLocation && map) {\n console.info('setting current location on map');\n map.setCenter(updateFromLocation);\n // 12 come valore di zoom mi sembra abbastanza ampio\n map.setZoom(12);\n }\n }, [updateFromLocation, map]);\n const fitToStores = () => {\n var _a;\n console.info('eseguo fitToStores');\n let bounds = new google.maps.LatLngBounds();\n (_a = (filteredStores ? filteredStores : stores)) === null || _a === void 0 ? void 0 : _a.forEach((store) => {\n bounds.extend({ lat: store.latitude, lng: store.longitude });\n });\n map.fitBounds(bounds);\n };\n useEffect(() => {\n // for nearbystores\n if (map && props.localMap && !currentStore) {\n fitToStores();\n }\n }, [map, props.localMap]);\n useEffect(() => {\n if (map) {\n // se non ho zoom e center sono appena atterrato, calcolo fitToStores\n if ((filteredStores === null || filteredStores === void 0 ? void 0 : filteredStores.length) && (!zoom || !center))\n fitToStores();\n }\n }, [map, filteredStores]);\n useEffect(() => {\n if (map && currentStore) {\n console.info('[StoreLocatorMap] updated currentStore', currentStore);\n map.setZoom(18);\n map.setCenter(new google.maps.LatLng(currentStore.latitude, currentStore.longitude));\n }\n }, [map, currentStore]);\n const markerStyle = useMemo(() => [\n autoChooseProps({\n MO: {\n anchorText: [-9, 0],\n height: 50,\n width: 30,\n url: props.mapcluster,\n },\n ST: {\n textColor: 'white',\n fontFamily: `\"MonumentGroteskMono\", Arial, sans-serif;`,\n fontSize: 14,\n fontWeight: 500,\n height: 40,\n width: 40,\n url: props.mapcluster,\n },\n }),\n ], []);\n const delayedZoomChanged = useCallback(debounce(() => {\n if (map) {\n !props.localMap && dispatch(setZoom(map.getZoom()));\n }\n }, 500), [map]);\n const delayedCenterChanged = useCallback(debounce(() => {\n if (map) {\n !props.localMap && dispatch(setCenter(map.getCenter().toJSON()));\n }\n }, 500), [map]);\n const delayedBoundsChanged = useCallback(debounce(() => {\n if (map) {\n const bounds = map.getBounds();\n bounds && !props.localMap && dispatch({ type: StoreLocatorActionTypes.UPDATE_BOUNDS, payload: { newBounds: bounds.toJSON() } });\n }\n }, 500), [map]);\n const handleClusterClick = (cluster) => {\n setIsOver(false);\n // console.info('filteredStores: ', filteredStores);\n // console.info('cluster: ', cluster);\n if (cluster.markerClusterer.clusters.length == 1 && filteredStores.length == cluster.markerClusterer.clusters[0].markers.length) {\n // console.info('Store Locator - DepARTMENT store corners overlay');\n dispatch(setOpenClusterDetail(true));\n dispatch(setCurrentStore(undefined));\n }\n };\n const renderMarkerCluster = () => {\n return (React.createElement(MarkerClusterer, { averageCenter: true, styles: markerStyle, onClick: handleClusterClick }, (clusterer) => (filteredStores || stores).map((store, i) => (React.createElement(MarkerF, { key: store.ID, opacity: currentStore && currentStore.ID != store.ID ? 0.2 : 1, clusterer: clusterer, position: { lat: store.latitude, lng: store.longitude }, visible: filteredStores === null || filteredStores === void 0 ? void 0 : filteredStores.includes(store), onClick: () => {\n if (props.localMap) {\n props.setCurrentStore && props.setCurrentStore(store.ID);\n }\n else {\n dispatch(setOpenClusterDetail(false));\n dispatch(setCurrentStore(store.ID));\n analytics.storelocatorSelect(store.name);\n }\n }, icon: (currentStore === null || currentStore === void 0 ? void 0 : currentStore.ID) === store.ID ? (props.mapmarker || '').replace('.svg', '-selected.svg') : props.mapmarker })))));\n };\n const handleClusterHover = (type, cluster) => {\n cluster.clusterIcon.div.className = type === 'over' ? 'cluster cluster--hover' : 'cluster';\n if (type === 'over') {\n setIsOver(true);\n }\n else if ('out') {\n setIsOver(false);\n }\n };\n const handleMarkerOver = (type, markerId) => {\n if (type === 'over') {\n setIsOver(true);\n setMarkerOvered(markerId);\n }\n else if ('out') {\n setIsOver(false);\n setMarkerOvered(null);\n }\n };\n const checkMarkerOver = (id) => getId() === 'ST' && markerOvered !== id && isOver;\n return ((stores === null || stores === void 0 ? void 0 : stores.length) > 0 && (React.createElement(\"div\", { className: \"store-locator__map\", \"data-marker-over\": isOver },\n React.createElement(GoogleMap, { mapContainerClassName: 'google-map', zoom: initialZoom, center: initialCenter, onLoad: (map) => {\n console.info('map loaded', map);\n setMap(map);\n }, onZoomChanged: delayedZoomChanged, onCenterChanged: delayedCenterChanged, onBoundsChanged: delayedBoundsChanged, options: {\n streetViewControl: false,\n fullscreenControl: false,\n mapTypeControl: false,\n minZoom: 2,\n styles: maputils.style[getId()],\n restriction: {\n strictBounds: true,\n latLngBounds: {\n east: 180,\n north: 85,\n south: -85,\n west: -180,\n },\n },\n } },\n renderMarkerCluster(),\n React.createElement(MarkerClusterer, { averageCenter: true, styles: markerStyle, onClick: handleClusterClick, onMouseOver: (e) => !window.isMobile() && handleClusterHover('over', e), onMouseOut: (e) => !window.isMobile() && handleClusterHover('out', e) }, (clusterer) => (filteredStores || stores).map((store, i) => (React.createElement(MarkerF, { key: store.ID, opacity: currentStore && currentStore.ID != store.ID ? 0.2 : 1, clusterer: clusterer, position: { lat: store.latitude, lng: store.longitude }, visible: filteredStores === null || filteredStores === void 0 ? void 0 : filteredStores.includes(store), onMouseOver: () => handleMarkerOver('over', store.ID), onMouseOut: () => handleMarkerOver('out', store.ID), onClick: () => {\n if (props.localMap) {\n props.setCurrentStore && props.setCurrentStore(store.ID);\n }\n else {\n dispatch(setOpenClusterDetail(false));\n dispatch(setCurrentStore(store.ID));\n analytics.storelocatorSelect(store.name);\n }\n }, icon: (currentStore === null || currentStore === void 0 ? void 0 : currentStore.ID) === store.ID\n ? (props.mapmarker || '').replace('.svg', '-selected.svg')\n : checkMarkerOver(store.ID)\n ? (props.mapmarker || '').replace('.svg', '-inverted.svg')\n : props.mapmarker }))))))));\n};\nexport default StoreLocatorMap;\n","import analytics from '@utils/analytics';\nimport React from 'react';\nimport StoreGetDirections from './StoreGetDirections';\nimport { useTranslation } from 'react-i18next';\nimport classNames from 'classnames';\nimport DigitalFlagshipSmallPromoCard from '@moncler/components/experience/DigitalFlagshipSmallPromoCard';\nconst StoreSummary = (props) => {\n const { store, inPage } = props;\n const { t } = useTranslation();\n return (React.createElement(\"div\", { className: classNames({ store__moreinfo__section: inPage }, { section_with_flagship: (store === null || store === void 0 ? void 0 : store.isFlagship) && (store === null || store === void 0 ? void 0 : store.interactiveStoreModule) && inPage }) },\n React.createElement(StoreGetDirections, { store: store, className: classNames('button button--secondary', { store__summary__directions: !(store === null || store === void 0 ? void 0 : store.interactiveStoreModule) }), trackingAction: () => (props.inPage ? analytics.storelocatorStoreCta(store.name, 'get directions') : analytics.storelocatorAction(store.name, 'get direction')) }),\n (store === null || store === void 0 ? void 0 : store.interactiveStoreModule) && (React.createElement(\"div\", { className: `store__summary__directions ${inPage ? 'mt-32' : 'mt-8'}` }, inPage ? (React.createElement(DigitalFlagshipSmallPromoCard, { store: store, trackingAction: () => analytics.storelocatorSmallPromoInteraction(store.name, t('storelocator.digitalflagship.explorebtn')) })) : (React.createElement(\"a\", { href: `${window.digitalFlagshipUrl}?storeId=${store.ID}`, className: \"button button--primary\", onClick: () => analytics.storelocatorCtaInteraction(store.name, t('storelocator.digitalflagship.explorebtn')) }, t('storelocator.digitalflagship.explorebtn')))))));\n};\nexport default StoreSummary;\n","const arrayUtils = {\n groupBy: (items, key) => {\n return items.reduce(function (result, item) {\n const idValue = key.split('.').reduce((acc, part) => acc && acc[part], item);\n (result[idValue] = result[idValue] || []).push(item);\n return result;\n }, {});\n },\n standardGroupBy: (xs, key) => {\n return xs.reduce((rv, x) => {\n (rv[x[key]] = rv[x[key]] || []).push(x);\n return rv;\n }, {});\n },\n buildInputsValueMap: (rows) => {\n let inputsMap = [];\n rows.forEach((htmlInput, idx) => {\n let inputs = htmlInput.getElementsByTagName('input');\n let selects = htmlInput.getElementsByTagName('select');\n let currentInput = {};\n Object.values(inputs).forEach((input) => {\n if (input.type === 'checkbox') {\n currentInput[input.name] = input.checked;\n }\n if (input.type === 'text') {\n currentInput[input.name] = input.value;\n }\n });\n Object.values(selects).forEach((select) => {\n currentInput[select.name] = select.value;\n });\n inputsMap.push(currentInput);\n });\n return inputsMap;\n },\n};\nexport default arrayUtils;\n","import { createSelector } from '@reduxjs/toolkit';\nimport arrayUtils from '@utils/arrayUtils';\nconst getStores = (state) => state.storelocator.stores;\nconst getCurrentStoreId = (state) => state.storelocator.currentStoreId;\nexport const storesCount = createSelector([getStores], (stores) => stores === null || stores === void 0 ? void 0 : stores.length);\nexport const currentStoreSelector = createSelector([getStores, getCurrentStoreId], (stores, currentStoreId) => {\n return stores === null || stores === void 0 ? void 0 : stores.find((store) => store.ID === currentStoreId);\n});\nexport const storesCitiesSelector = createSelector([getStores], (stores) => {\n return [...new Set(stores.map((store) => store.city))];\n});\nexport const storesGroupByCountrySelector = createSelector([getStores], (stores) => {\n return arrayUtils.groupBy(stores, 'countryCode.value');\n});\n","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 { useJsApiLoader } from '@react-google-maps/api';\nimport React from 'react';\nconst mapsLibraries = ['places'];\nconst GoogleMapScript = (props) => {\n console.log('Initialize Google API');\n let useVersion = window.MAPS_VER ? window.MAPS_VER : 'weekly';\n const { isLoaded } = useJsApiLoader(Object.assign({ googleMapsApiKey: window.atob(window.MAPS_DATA), version: useVersion, libraries: mapsLibraries, region: window.country, language: props.language ? props.language : window.language, id: 'maps-api' }, props));\n return isLoaded ? props.children : React.createElement(React.Fragment, null);\n};\nexport default GoogleMapScript;\n","import classNames from 'classnames';\nconst gridClassMultiplier = {\n MO: 1,\n ST: 2,\n};\nconst getGridColNumber = (colnumnber) => {\n return colnumnber * (gridClassMultiplier[getId()] || gridClassMultiplier.MO);\n};\nconst getId = () => {\n return window.brandId;\n};\nconst getName = () => {\n return window.brand;\n};\nconst is = (brandId) => {\n return getId() === brandId;\n};\nconst nameIs = (brand) => {\n return getName() === brand;\n};\nconst autoChooseClassnames = (classesObj, commonclasses) => {\n return classNames(classesObj[getId()], commonclasses);\n};\nconst gridClassname = (monclerColumn = 12, brackpoint, type, commonclasses) => {\n let result = [(type || 'col')];\n brackpoint && result.push(brackpoint);\n result.push(getGridColNumber(monclerColumn) + '');\n return result.join('-');\n};\nconst gridClassnames = (configs, commonclasses) => {\n return (configs\n .map((args) => {\n return gridClassname.apply(this, [...args]);\n })\n .join(' ') + (commonclasses ? ' ' + commonclasses : ''));\n};\nconst autoChooseComponent = (componentsObj) => {\n return componentsObj[getId()];\n};\nconst autoChooseProps = (props) => {\n return props[getId()];\n};\nexport { autoChooseClassnames, autoChooseComponent, autoChooseProps, getGridColNumber, getId, getName, gridClassname, gridClassnames, is, nameIs };\n","const easeQuartInOut = [0.76, 0, 0.24, 1];\nexport const tranitionDomReady = { ease: easeQuartInOut, duration: 0.4, delay: 0.15 };\nexport const getDefferedTransition = (order, thumbnail = false) => {\n const deferredTransition = Object.assign({}, tranitionDomReady);\n if (thumbnail) {\n deferredTransition.duration = 0.5;\n deferredTransition.delay = 0.1 * order;\n }\n else {\n deferredTransition.delay = 0.25 + 0.1 * order;\n }\n return deferredTransition;\n};\n","const maputils = {\n style: {\n MO: [\n {\n elementType: 'geometry',\n stylers: [\n {\n color: '#eaecec',\n },\n ],\n },\n {\n elementType: 'labels.icon',\n stylers: [\n {\n visibility: 'off',\n },\n ],\n },\n {\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#616161',\n },\n ],\n },\n {\n elementType: 'labels.text.stroke',\n stylers: [\n {\n color: '#f5f5f5',\n },\n ],\n },\n {\n featureType: 'administrative.land_parcel',\n elementType: 'labels',\n stylers: [\n {\n visibility: 'on',\n },\n ],\n },\n {\n featureType: 'administrative.land_parcel',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#bdbdbd',\n },\n ],\n },\n {\n featureType: 'poi',\n elementType: 'geometry',\n stylers: [\n {\n color: '#eeeeee',\n },\n ],\n },\n {\n featureType: 'poi',\n elementType: 'labels.text',\n stylers: [\n {\n visibility: 'off',\n },\n ],\n },\n {\n featureType: 'poi',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#757575',\n },\n ],\n },\n {\n featureType: 'poi.park',\n elementType: 'geometry',\n stylers: [\n {\n color: '#e5e5e5',\n },\n ],\n },\n {\n featureType: 'poi.park',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#9e9e9e',\n },\n ],\n },\n {\n featureType: 'road',\n elementType: 'geometry',\n stylers: [\n {\n color: '#ffffff',\n },\n ],\n },\n {\n featureType: 'road.arterial',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#757575',\n },\n ],\n },\n {\n featureType: 'road.highway',\n elementType: 'geometry',\n stylers: [\n {\n color: '#dadada',\n },\n ],\n },\n {\n featureType: 'road.highway',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#616161',\n },\n ],\n },\n {\n featureType: 'road.local',\n elementType: 'labels',\n stylers: [\n {\n visibility: 'off',\n },\n ],\n },\n {\n featureType: 'road.local',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#9e9e9e',\n },\n ],\n },\n {\n featureType: 'transit.line',\n elementType: 'geometry',\n stylers: [\n {\n color: '#e5e5e5',\n },\n ],\n },\n {\n featureType: 'transit.station',\n elementType: 'geometry',\n stylers: [\n {\n color: '#eeeeee',\n },\n ],\n },\n {\n featureType: 'water',\n elementType: 'geometry',\n stylers: [\n {\n color: '#D2D5D5',\n },\n ],\n },\n {\n featureType: 'water',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#898F90',\n },\n ],\n },\n ],\n ST: [\n {\n elementType: 'geometry',\n stylers: [\n {\n color: '#eaecec',\n },\n ],\n },\n {\n elementType: 'labels.icon',\n stylers: [\n {\n visibility: 'off',\n },\n ],\n },\n {\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#616161',\n },\n ],\n },\n {\n elementType: 'labels.text.stroke',\n stylers: [\n {\n color: '#f5f5f5',\n },\n ],\n },\n {\n featureType: 'administrative.land_parcel',\n elementType: 'labels',\n stylers: [\n {\n visibility: 'on',\n },\n ],\n },\n {\n featureType: 'administrative.land_parcel',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#bdbdbd',\n },\n ],\n },\n {\n featureType: 'poi',\n elementType: 'geometry',\n stylers: [\n {\n color: '#eeeeee',\n },\n ],\n },\n {\n featureType: 'poi',\n elementType: 'labels.text',\n stylers: [\n {\n visibility: 'off',\n },\n ],\n },\n {\n featureType: 'poi',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#757575',\n },\n ],\n },\n {\n featureType: 'poi.park',\n elementType: 'geometry',\n stylers: [\n {\n color: '#e5e5e5',\n },\n ],\n },\n {\n featureType: 'poi.park',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#9e9e9e',\n },\n ],\n },\n {\n featureType: 'road',\n elementType: 'geometry',\n stylers: [\n {\n color: '#ffffff',\n },\n ],\n },\n {\n featureType: 'road.arterial',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#757575',\n },\n ],\n },\n {\n featureType: 'road.highway',\n elementType: 'geometry',\n stylers: [\n {\n color: '#dadada',\n },\n ],\n },\n {\n featureType: 'road.highway',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#616161',\n },\n ],\n },\n {\n featureType: 'road.local',\n elementType: 'labels',\n stylers: [\n {\n visibility: 'off',\n },\n ],\n },\n {\n featureType: 'road.local',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#9e9e9e',\n },\n ],\n },\n {\n featureType: 'transit.line',\n elementType: 'geometry',\n stylers: [\n {\n color: '#e5e5e5',\n },\n ],\n },\n {\n featureType: 'transit.station',\n elementType: 'geometry',\n stylers: [\n {\n color: '#eeeeee',\n },\n ],\n },\n {\n featureType: 'water',\n elementType: 'geometry',\n stylers: [\n {\n color: '#D2D5D5',\n },\n ],\n },\n {\n featureType: 'water',\n elementType: 'labels.text.fill',\n stylers: [\n {\n color: '#898F90',\n },\n ],\n },\n ],\n },\n};\nexport default maputils;\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 { useEffect, useState } from 'react';\nconst getInitialBreakpointValue = () => {\n var _a;\n // get initial breakpoint is called before the page is fully loaded and innerWith may be 0. windows.mqObj may not be set\n const mediaQueries = window.mqObj;\n const documentWidth = window.innerWidth || ((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.width);\n if (documentWidth == 0 || !mediaQueries) {\n return;\n }\n const filtered = Object.keys(mediaQueries).filter((key) => mediaQueries[key] <= documentWidth);\n const initalBr = filtered.length ? mediaQueries[filtered[filtered.length - 1]] : mediaQueries['xs'];\n // console.info('[getInitialBreakpointValue]: ', documentWidth, initalBr);\n return initalBr;\n};\nconst mediaQueries = Object.assign({ ' {\n const [currentBreakpoint, setCurrentBreakpoint] = useState(getInitialBreakpointValue());\n const getCurrentBreakpoint = () => {\n var _a;\n const documentWidth = window.innerWidth || ((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.width);\n if (documentWidth == 0) {\n return;\n }\n const filtered = Object.keys(mediaQueries).filter((key) => mediaQueries[key] <= documentWidth);\n return mediaQueries[filtered[filtered.length - 1]];\n };\n const handleResize = () => {\n const currentBr = getCurrentBreakpoint();\n if (currentBr && currentBr !== currentBreakpoint) {\n // console.info('%c[React - Breakpoint change] ', 'color: green;font-weight: bold;', currentBr);\n setCurrentBreakpoint(currentBr);\n }\n };\n // const debounceResize = () => {\n // handleResize();\n // };\n useEffect(() => {\n window.addEventListener('resize', handleResize);\n return () => {\n window.removeEventListener('resize', handleResize);\n };\n });\n return currentBreakpoint;\n};\nexport default useBreakpoint;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst DigitalFlagshipSmallPromoCard = ({ store, image, trackingAction }) => {\n const { t } = useTranslation();\n return (React.createElement(\"div\", { className: 'digitalflagship-promocard-small' },\n React.createElement(\"div\", { className: 'digitalflagship-promocard-small__image' },\n React.createElement(\"img\", { src: image || `${window.globalstaticurl}/stores/flagship_small_promo_card.jpg`, alt: store.name })),\n React.createElement(\"div\", { className: 'digitalflagship-promocard-small__content' },\n React.createElement(\"div\", { className: \"digitalflagship-promocard-small__content__details\" },\n React.createElement(\"h3\", null, t('flagship.smallpromobanner.title', { defaultValue: \"Step inside the boutique\" })),\n React.createElement(\"p\", null, t('flagship.smallpromobanner.description', { defaultValue: 'Experience the flagship digitally.' }))),\n React.createElement(\"a\", { className: \"digitalflagship-promocard-small__content__cta\", href: `${window.digitalFlagshipUrl}?storeId=${store.ID}`, onClick: () => trackingAction === null || trackingAction === void 0 ? void 0 : trackingAction() }, t('button.explore', { defaultValue: \"Explore\" })))));\n};\nexport default DigitalFlagshipSmallPromoCard;\n","import React from 'react';\nconst Icon = (props) => {\n const icon = `${props.family}-${props.name}${props.inverted ? '-white' : ''}`;\n return React.createElement(\"span\", { \"aria-label\": props.ariaLabel, \"aria-hidden\": true, className: `icon icon--${icon} ${props.autoSize ? 'auto-size' : ''}` });\n};\nIcon.defaultProps = {\n family: '10',\n inverted: false,\n ariaHidden: false,\n};\nexport default Icon;\n"],"names":["props","_a","_b","_c","pageMetaTags","Object","keys","map","key","startsWith","property","content","name","meta","hreflangs","rel","hrefLang","substring","indexOf","href","additionalMeta","_d","t","brandId","store","hidename","showphone","showmail","showdirections","showHours","className","ID","countryCode","value","address1","address2","postalCode","displayValue","city","stateCode","split","phone","email","target","storeHours","sh","day","text","StoreAvailableServices","services","inPage","serviceLength","length","clickAndReserve","clickFromStore","pickUpInStore","returnInStore","exchangeInStore","bookAnAppointment","distantSale","GarmentKit","personalizationRoom","liveBoutique","defaultProps","COLLECTIONS","COLLECTIONSCODES","collections","collection","i","BAAActionMoncler","BAAActionStone","storeFilter","setStoreFilter","useState","useEffect","then","data","arr","stores","e","code","storeServices","assign","disabled","includes","currentCity","currentCountry","inStoreLocator","hideStoreName","baseUrl","state","storelocator","slugcountry","undefined","slugcity","slug","trackingAction","latitude","longitude","onClick","hasDOSService","hasInStoreServices","console","log","dispatch","useTranslation","filteredStores","openClusterDetail","storesInMap","storeOpen","setStoreOpen","clusterStores","setClusterStores","handlers","trackMouse","preventScrollOnSwipe","onSwipedDown","onSwipedUp","handleStoreClosed","role","open","onKeyDown","MO","ST","type","autoFocus","Icon","family","id","str1","str2","common","j","part","slice","push","reduce","prev","current","findCommonStoreName","notificationBanner","StoreSummary","analytics","StoreBoutiqueInformation","storeCollections","StoreBoutiqueCollections","GeoOptions","enableHighAccuracy","timeout","maximumAge","successLocalization","pos","crd","coords","accuracy","payload","lat","lng","errorLocalization","err","warn","message","navigator","geolocation","getCurrentPosition","SERVICES","filters","preventDefault","close","col","checked","find","el","onChange","htmlFor","service","serviceItem","currentBreakpoint","useBreakpoint","regions","useRef","breakpointToAccordion","window","mqObj","sm","lg","countryStores","useMemo","forEach","count","countryName","region","info","getRegionColumn","noTitle","currentRegions","regionalCountries","values","filter","country","request","query","fields","placeService","findPlaceFromQuery","results","status","google","maps","places","PlacesServiceStatus","OK","newBounds","geometry","viewport","toJSON","fromSearch","getCountryBounds","focusTrapOptions","onDeactivate","allowOutsideClick","contains","isAnchor","location","ref","Accordion","AccordionItem","title","accordionId","address","fallbackFocus","tabIndex","join","StoreAddress","zoom","initalSearchValue","initialSearch","inputRef","showResultslistRef","showResultslist","setShowResultslist","showRegions","setShowRegions","showFilters","setShowFilters","inputFocus","setInputFocus","toggleFilters","filtersRef","width","PlacesService","document","createElement","focusType","setFocusType","useLayoutEffect","documentElement","style","setProperty","onLoad","autocomplete","onPlacesChanged","async","selectedPlaces","getPlaces","bounds","LatLngBounds","place","union","extend","formatted_address","address_components","searchedCountry","types","short_name","Promise","resolve","getDetails","result","setTimeout","focus","defaultValue","placeholder","autoComplete","onFocus","onBlur","selectedCountry","center","updateBounds","currentLocation","metadata","currentStore","searchedCity","setSearchedCity","setSearchedCountry","setFilteredStores","showLeftBar","setShowLeftBar","filteredCollections","filtersMatch","toLowerCase","filteredCityCountry","escapedCity","escapedCountry","storeLocatorTitle","useCallback","transition","initial","opacity","animate","Metatags","StoreLocatorMap","updatedMapBounds","updateFromLocation","StoreBreadcrumb","StorePageMoncler","StorePageStone","GoogleMapScript","basename","basePath","path","pathname","params","selector","action","storeId","currentStoreId","initialTruth","initQuerySync","reRendersCount","initialZoom","initialCenter","setMap","isOver","setIsOver","markerOvered","setMarkerOvered","getBounds","equals","fitBounds","setCenter","setZoom","fitToStores","localMap","LatLng","markerStyle","anchorText","height","url","mapcluster","textColor","fontFamily","fontSize","fontWeight","delayedZoomChanged","getZoom","delayedCenterChanged","getCenter","delayedBoundsChanged","handleClusterClick","cluster","markerClusterer","clusters","markers","handleClusterHover","clusterIcon","div","handleMarkerOver","markerId","mapContainerClassName","onZoomChanged","onCenterChanged","onBoundsChanged","options","streetViewControl","fullscreenControl","mapTypeControl","minZoom","styles","restriction","strictBounds","latLngBounds","east","north","south","west","averageCenter","clusterer","position","visible","setCurrentStore","icon","mapmarker","replace","onMouseOver","isMobile","onMouseOut","store__moreinfo__section","section_with_flagship","isFlagship","interactiveStoreModule","store__summary__directions","digitalFlagshipUrl","groupBy","items","item","idValue","acc","standardGroupBy","xs","rv","x","buildInputsValueMap","rows","inputsMap","htmlInput","idx","inputs","getElementsByTagName","selects","currentInput","input","select","getStores","currentStoreSelector","Set","timeoutId","expandedCard","setExpandedCard","setHeight","groupRef","setOpen","isOpen","scrollToElement","container","opener","clearTimeout","scrollPosition","scrollY","containerScrollPosition","getBoundingClientRect","top","header","querySelector","scrollPositionFinal","offsetHeight","defaultOpen","children","c","isInitialOpen","clientHeight","childrenLength","counter","flex","gap","child","cloneElement","onSelect","onChildSelect","expanded","loading","initiallyClosed","parentHeight","accordionPanel","updateHeight","autoHeight","firstElementChild","scrollHeight","miniAccordion","itemClass","callbackOnOpen","accordion__panel_open","elementActive","headerClass","isTitleMarkup","hideToggleButtons","contentClass","mapsLibraries","useVersion","MAPS_VER","isLoaded","googleMapsApiKey","atob","MAPS_DATA","version","libraries","language","gridClassMultiplier","getId","is","autoChooseClassnames","classesObj","commonclasses","gridClassname","monclerColumn","brackpoint","gridClassnames","configs","args","apply","autoChooseComponent","componentsObj","autoChooseProps","tranitionDomReady","ease","duration","delay","getDefferedTransition","order","thumbnail","deferredTransition","elementType","stylers","color","visibility","featureType","isInViewport","elem","bounding","left","bottom","innerHeight","right","innerWidth","clientWidth","scrollToPx","endPosition","scrollTo","behavior","direction","int","setInterval","clearInterval","mediaQueries","setCurrentBreakpoint","documentWidth","visualViewport","filtered","getInitialBreakpointValue","handleResize","currentBr","getCurrentBreakpoint","addEventListener","removeEventListener","image","src","globalstaticurl","alt","inverted","ariaLabel","autoSize","ariaHidden"],"sourceRoot":""}