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AAM2B,SAAUxB,UAAW,IAAW,SAAUH,EAAM2U,IAAK3U,EAAMG,UAAW,CAAEia,QAASpa,EAAMqa,WAAa,CAAEC,KAAMta,EAAMqT,WAAa,CAAEkH,SAAUva,EAAMua,WAAatZ,KAAMjB,EAAMiB,KAAM,aAAcjB,EAAMwa,UAAW,gBAAiBxa,EAAMya,aAAc,gBAAiBza,EAAMwW,aAAc,gBAAiBxW,EAAM0a,aAAc,cAAe1a,EAAM2a,WAAY,eAAgB3a,EAAM4a,YAAa1U,SAAUlG,EAAM6a,eAAiB7a,EAAM6a,oBAAiB/J,EAAWvP,GAAIvB,EAAMuB,GAAI,eAAgBvB,EAAM8a,SAAW9a,EAAM+a,eAAiB/a,EAAMa,SAAW,gBAAoB,OAAQ,KAAMb,EAAMa,WAE5wB6S,EAAOlS,aAAe,CAClBmT,IAAK,CAAC,mBACNxU,UAAW,IAEf,K","sources":["webpack:///./node_modules/final-form-focus/dist/final-form-focus.es.js","webpack:///./assets/common/src/components/common/ErrorBox.tsx","webpack:///./assets/common/src/ui/radioGroup/RadioGroup.tsx","webpack:///./assets/common/src/ui/radioGroup/RadioGroupItem.tsx","webpack:///./assets/common/src/utils/stringUtils.ts","webpack:///./assets/common/src/utils/urlutils.ts","webpack:///./assets/stone/src/components/a11y/A11YMenuAccountBar.tsx","webpack:///./assets/stone/src/components/account/MyAccountSection.tsx","webpack:///./assets/stone/src/components/appointments/BookAnAppointmentStore.tsx","webpack:///./assets/stone/src/components/appointments/BookAnAppointmentStoreSelector.tsx","webpack:///./assets/stone/src/components/appointments/BookAnAppointmentPersonalInfo.tsx","webpack:///./assets/stone/src/components/appointments/BookAnAppointmentConfirmationPage.tsx","webpack:///./assets/stone/src/components/appointments/BookAnAppointmentForm.tsx","webpack:///./assets/stone/src/components/clientService/ClientServiceSection.tsx","webpack:///./assets/stone/src/components/login/LoginModal.tsx","webpack:///./assets/stone/src/hooks/useMediaQueries.tsx","webpack:///./assets/stone/src/ui/button/Button.tsx"],"sourcesContent":["import { getIn } from 'final-form';\n\n// \n\n/**\n * Predicate to identify inputs that can have focus() called on them\n */\nvar isFocusableInput = function isFocusableInput(wtf) {\n return !!(wtf && typeof wtf.focus === 'function');\n};\n\n// \n/**\n * Gets all the inputs inside all forms on the page\n */\n\nvar getAllInputs = function getAllInputs() {\n if (typeof document === 'undefined') {\n return [];\n }\n\n return Array.prototype.slice.call(document.forms).reduce(function (accumulator, form) {\n return accumulator.concat(Array.prototype.slice.call(form).filter(isFocusableInput));\n }, []);\n};\n\n// \n/**\n * Finds the input by looking if the name attribute path is existing in the errors object\n */\n\nvar findInput = function findInput(inputs, errors) {\n return inputs.find(function (input) {\n return input.name && getIn(errors, input.name);\n });\n};\n\n// \n\nvar noop = function noop() {};\n\nvar createDecorator = function createDecorator(getInputs, findInput$$1) {\n return function (form) {\n var focusOnFirstError = function focusOnFirstError(errors) {\n if (!getInputs) {\n getInputs = getAllInputs;\n }\n\n if (!findInput$$1) {\n findInput$$1 = findInput;\n }\n\n var firstInput = findInput$$1(getInputs(), errors);\n\n if (firstInput) {\n firstInput.focus();\n }\n }; // Save original submit function\n\n\n var originalSubmit = form.submit; // Subscribe to errors, and keep a local copy of them\n\n var state = {};\n var unsubscribe = form.subscribe(function (nextState) {\n state = nextState;\n }, {\n errors: true,\n submitErrors: true\n }); // What to do after submit\n\n var afterSubmit = function afterSubmit() {\n var _state = state,\n errors = _state.errors,\n submitErrors = _state.submitErrors;\n\n if (errors && Object.keys(errors).length) {\n focusOnFirstError(errors);\n } else if (submitErrors && Object.keys(submitErrors).length) {\n focusOnFirstError(submitErrors);\n }\n }; // Rewrite submit function\n\n\n form.submit = function () {\n var result = originalSubmit.call(form);\n\n if (result && typeof result.then === 'function') {\n // async\n result.then(afterSubmit, noop);\n } else {\n // sync\n afterSubmit();\n }\n\n return result;\n };\n\n return function () {\n unsubscribe();\n form.submit = originalSubmit;\n };\n };\n};\n\n// \n/**\n * Generates a function to get all the inputs in a form with the specified name\n */\n\nvar getFormInputs = function getFormInputs(name) {\n return function () {\n if (typeof document === 'undefined') {\n return [];\n } // $FlowFixMe\n\n\n var form = document.forms[name];\n return form && form.length ? Array.prototype.slice.call(form).filter(isFocusableInput) : []; // cast cheat to get from HTMLFormElement children to FocusableInput\n };\n};\n\n//\n\nexport default createDecorator;\nexport { getFormInputs };\n","import classNames from 'classnames';\nimport React from 'react';\nconst ErrorBox = (props) => {\n if (!props.errors || props.errors.length === 0 || props.errors.every((err) => err === '')) {\n return React.createElement(React.Fragment, null);\n }\n return (React.createElement(\"div\", { className: classNames('globalerrors', 'invalid-feedback', props.className), role: \"alert\" }, props.errors.map((e, i) => (React.createElement(\"div\", { key: i }, (e || '').toString())))));\n};\nexport default ErrorBox;\n","import classNames from 'classnames';\nimport React, { useMemo } from 'react';\nimport RadioGroupItem from './RadioGroupItem';\nconst isRadioGroupItemComponent = (c) => {\n let isRadioGroup = !!c.props && c.props.__TYPE === 'RadioGroupItem';\n if (!isRadioGroup) {\n // console.warn('Element is not an RadioGroup item. Type name:' + c.type?.name + ' - element ', c);\n return false;\n }\n return true;\n};\nconst RadioGroup = (props) => {\n const radioGroupItems = useMemo(() => props.children.filter((c) => isRadioGroupItemComponent(c)), [props.children]);\n const printItems = () => {\n return radioGroupItems.map((c, i) => (React.createElement(RadioGroupItem, Object.assign({ selected: c.props.selected, setSelected: props.setSelected, groupId: props.id, key: i }, c.props), c.props.children)));\n };\n return (React.createElement(\"div\", { className: classNames('optionbox', props.type != '' ? `optionbox--${props.type}` : null, props.className), \"aria-labelledby\": props.labelId }, radioGroupItems.length > 0 ? printItems() : props.children));\n};\nRadioGroup.defaultProps = {\n type: '',\n};\nexport default RadioGroup;\n","import React from 'react';\nimport classNames from 'classnames';\nconst RadioGroupItem = (props) => {\n const onChange = () => {\n props.setSelected(props.id);\n (props.id === 'new' || props.id === null) && !!props.setAnalytics ? props.setAnalytics() : null;\n };\n return (React.createElement(\"label\", { className: \"optionbox__item\" },\n React.createElement(\"input\", { type: \"radio\", className: classNames('optionbox__item__radio', { 'optionbox__item__radio--centered': props.inputCentered }), disabled: props.disabled, name: props.groupId, value: props.id, onChange: onChange, checked: props.selected }),\n props.content));\n};\n// for type filtering under RadioGroup\nRadioGroupItem.defaultProps = {\n __TYPE: 'RadioGroupItem',\n};\nexport default RadioGroupItem;\n","export const slugify = (text) => text.toLowerCase().split(' ').join('-');\nexport const getElementFromHtmlString = (htmlString, selector) => {\n var _a;\n let textVal = null;\n let div = document.createElement('div');\n div.innerHTML = htmlString;\n textVal = (_a = div.querySelector(selector)) === null || _a === void 0 ? void 0 : _a.innerHTML;\n return textVal;\n};\n// FIXME queste cose vanno fatte a backend, non qui\nexport const calculateDateforJP = (date) => {\n if (!date)\n return;\n const splitted = date.split('.');\n const year = splitted.pop();\n const days = splitted.shift();\n if (year.length == 4 && window.country == 'JP') {\n splitted.splice(0, 0, year);\n splitted.splice(2, 0, days);\n return splitted.join('.');\n }\n else {\n return date;\n }\n};\nexport const validateEmail = (email) => {\n return /^[\\w.%+-]+@[\\w.-]+\\.[\\w]{2,6}$/.test(email);\n};\nexport const capitalizeFirstLetter = (string) => {\n return string.charAt(0).toUpperCase() + string.slice(1);\n};\nexport const getZeroPadNumber = (_number, digits = 2) => {\n return _number.toString().length >= digits ? _number.toString() : _number.toString().padStart(digits, '0');\n};\n// REF :: https://stackoverflow.com/questions/3942878/how-to-decide-font-color-in-white-or-black-depending-on-background-color\nexport const useStringRgbContrast = (rgbCssString, dark = 'rgb(0,0,0)', light = 'rgb(255,255,255)') => {\n if (!rgbCssString)\n return dark;\n //parso la stringa RGB\n let rgb = rgbCssString.replace('rgb(', '').replace(')', '').split(',');\n if (rgb.length < 3)\n return dark;\n //trasformo rgb in srgb\n let srgb = rgb.map((n) => {\n let c = Number(n) / 255;\n if (c <= 0.04045)\n return c / 12.92;\n return Math.pow((c + 0.055) / 1.055, 2.4);\n });\n //calcolo la luminescenza\n const L = 0.2126 * srgb[0] + 0.7152 * srgb[1] + 0.0722 * srgb[2];\n //calcolo se il colore di contrasto รจ light\n const useDark = L > Math.sqrt(1.05 * 0.05) - 0.05;\n // console.log(`%c${rgbCssString}`, `background-color: ${rgbCssString}; color: ${useDark ? '#000' : '#FFF'}; padding:4px; border: solid 1px red;`, L, srgb, rgb);\n //ritorno la stringa passata come parametro\n return useDark ? dark : light;\n};\nexport const getRandomUUID = (prefix) => {\n var _a, _b;\n let uuid = ((_a = window.crypto) === null || _a === void 0 ? void 0 : _a.randomUUID) && ((_b = window.crypto) === null || _b === void 0 ? void 0 : _b.randomUUID());\n if (!uuid)\n uuid = Math.random().toString(26);\n return `${prefix || ''}${uuid}`;\n};\n","/**\n *\n * @function updateURLParameter\n * update url parameter\n *\n * @example\n * //http://localhost:3000?category=primary&page=2\n * const urlParams = new URLSearchParams(location.search);\n * const currentPage = urlParams.get('page');\n * const nextPageUrl = updateURLParameter(location.href, 'page', currentPage++);\n * //http://localhost:3000?category=primary&page=3\n *\n * @param {string} url - url to update\n * @param param - param key\n * @param paramVal - param new value\n *\n * @returns {string} newUrl - newUrl with new value\n */\nexport const addURLParameter = (url, param, paramVal) => {\n if (url.indexOf('?') > -1) {\n return url + '&' + param + '=' + paramVal;\n }\n else {\n return url + '?' + param + '=' + paramVal;\n }\n};\nexport const addURLParameters = (baseUrl, queryParams) => {\n let newUrl = baseUrl;\n for (const [key, value] of Object.entries(queryParams)) {\n newUrl = addURLParameter(newUrl, key, value);\n }\n return newUrl;\n};\nexport const updateURLParameter = (url, param, paramVal) => {\n let newAdditionalURL = '';\n let tempArray = url.split('?');\n let baseURL = tempArray[0];\n let additionalURL = tempArray[1];\n let temp = '';\n if (additionalURL) {\n tempArray = additionalURL.split('&');\n for (let i = 0; i < tempArray.length; i++) {\n if (tempArray[i].split('=')[0] != param) {\n newAdditionalURL += temp + tempArray[i];\n temp = '&';\n }\n }\n }\n let rows_txt = temp + '' + param + '=' + paramVal;\n return baseURL + '?' + newAdditionalURL + rows_txt;\n};\n/**\n *\n * @function siteUrl\n * return the url stored as sirng in window.siteUrls if exists\n *\n * @param {string} urlName - the URL name in `siteUrls`\n *\n * @param {string} params - the params to add on result url\n *\n * @returns {string} urlString - the url or undefined if missing\n */\nexport const siteUrl = (urlName, ...params) => {\n if (!window.siteUrls)\n return undefined;\n let url = window.siteUrls[urlName];\n /* WITH PARAMS */\n if (params && params.length) {\n for (let i = 0; i < params.length / 2; i++) {\n const key = params[i * 2] || '';\n if (!!key) {\n const value = params[i * 2 + 1] || '';\n url = addURLParameter(url, key.toString(), value.toString());\n }\n }\n }\n return url;\n};\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { siteUrl } from '@common/utils/urlutils';\nconst A11YMenuAccountBar = () => {\n const { t } = useTranslation();\n return (React.createElement(\"div\", { className: \"a11y-action-bar\" },\n React.createElement(\"div\", { className: \"container\" }, window.loggedin ? React.createElement(\"a\", { href: siteUrl('myaccount') }, t('navigation.aria.navigatetoaccount')) : React.createElement(\"a\", { href: siteUrl('login') }, t('navigation.aria.navigatetologin')))));\n};\nexport default A11YMenuAccountBar;\n","import classNames from 'classnames';\nimport React, { useEffect, useRef } from 'react';\nimport { useTranslation } from 'react-i18next';\nconst MyAccountSection = (props) => {\n const { t } = useTranslation();\n const { id, title, children, saved } = props;\n const currentSection = useRef();\n const saveBanner = useRef();\n // disabled due to https://jira.industries-group.com/browse/ONE-30046\n useEffect(() => {\n if (saved && saveBanner.current) {\n saveBanner.current.focus();\n }\n }, [saved]);\n return (React.createElement(\"div\", { ref: currentSection, tabIndex: -1, className: classNames('myaccount__section', { short: props.isShort }), id: id },\n (props.title || props.titleAction) && (React.createElement(\"div\", { className: classNames('myaccount__section-header', { 'no-content': !props.children }) },\n props.isTitleMarkup ? props.title : React.createElement(\"h2\", { className: \"title\" }, title),\n props.titleAction)),\n saved && (React.createElement(\"span\", { className: \"alert alert--success alert--temp visually-hidden\", tabIndex: -1, role: \"alert\", ref: saveBanner }, t('label.saved'))),\n props.children));\n};\nexport default MyAccountSection;\n","import StoreAddress from '@components/storelocator/StoreAddress';\nimport React from 'react';\nconst BookAnAppointmentStore = (props) => {\n return (React.createElement(\"div\", { className: \"baa-storelist__item\" },\n React.createElement(\"div\", { className: \"baa-storelist__item-title\" },\n props.index + 1,\n \". \",\n props.store.name),\n React.createElement(StoreAddress, { store: props.store, hidename: true, split: true })));\n};\nexport default BookAnAppointmentStore;\n","import { GoogleMap, Marker } from '@react-google-maps/api';\nimport DwFormField from '@ui/formfield/DwFormField';\nimport RadioGroup from '@ui/radioGroup/RadioGroup';\nimport RadioGroupItem from '@ui/radioGroup/RadioGroupItem';\nimport api from '@utils/api';\nimport { BAA } from '@utils/constants';\nimport maputils from '@utils/maputils';\nimport React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport BookAnAppointmentStore from './BookAnAppointmentStore';\nimport { addURLParameter } from '@common/utils/urlutils';\nconst BookAnAppointmentStoreSelector = (props) => {\n const { t } = useTranslation();\n const [countrySelect, setCountrySelect] = useState();\n const [citySelect, setCitySelect] = useState();\n const [storesByCity, setStoresByCity] = useState([]);\n const [mapZoom, setMapZoom] = useState(10);\n const [mapCenter, setMapCenter] = useState();\n const [stores, setStores] = useState([]);\n const [storeFilter, setStoreFilter] = useState([]);\n const [storesSlotType, setStoresSlotType] = useState([]);\n const [countries, setCountries] = useState([]);\n const [loadingCities, setLoadingCities] = useState(true);\n const mapEl = useRef();\n const cities = useMemo(() => {\n const storesFilterArray = stores.filter((store) => storeFilter.includes(store.ID));\n return [...new Set(storesFilterArray.map((store) => store.city))];\n }, [stores, storeFilter]);\n const filterStore = () => {\n return stores.filter((store) => storeFilter.includes(store.ID));\n };\n useEffect(() => {\n props.resetFields;\n }, [props.resetFields]);\n useEffect(() => {\n let personalizationReason = Number(props.initialValues.reason) == BAA.REASONS.PERSONALIZATION;\n updateCountries(personalizationReason);\n // if (!personalizationReason) {\n // onSelectReason(props.initialValues.reason);\n // }\n }, []);\n useEffect(() => {\n if (!props.liveBoutique && props.store) {\n setMapCenter(new google.maps.LatLng(props.store.latitude, props.store.longitude));\n setMapZoom(18);\n }\n }, [props.store]);\n useEffect(() => {\n if (stores.length > 0 && citySelect) {\n let storeFiltered = filterStore();\n setStoresByCity(storeFiltered.filter((store) => {\n return store.city === citySelect;\n }));\n // on city change\n selectStore(stores.filter((filteredStore) => filteredStore.city === citySelect && (storeFilter === null || storeFilter === void 0 ? void 0 : storeFilter.includes(filteredStore === null || filteredStore === void 0 ? void 0 : filteredStore.ID)))[0]);\n props.mutator({ storeid: stores.filter((store) => store.city === citySelect)[0] });\n }\n }, [citySelect, stores, storeFilter]);\n const countrySelectLabel = useMemo(() => {\n if ((countries === null || countries === void 0 ? void 0 : countries.length) && countrySelect) {\n const country = countries.find((el) => el.value === countrySelect);\n return country.localizedLabel;\n }\n return window.localizedCountryname;\n }, [countries, countrySelect]);\n const storeFilterArray = (country, personalizationReason, reasonSelect) => {\n api.bookAnAppointmentStores(country, personalizationReason ? '861860000' : '', props.appointmentType, reasonSelect).then((data) => {\n let arr = [...storeFilter];\n if (data.stores) {\n arr = data.stores.map((e) => e.code);\n setStoresSlotType(data.stores);\n }\n setStoreFilter(arr);\n });\n return storeFilter;\n };\n const updateStores = async (country, personalizationReason) => {\n setLoadingCities(true);\n // debugger;\n if (props.liveBoutique) {\n api.getLiveBoutiqueStoresForAppointment(country).then((data) => {\n // debugger;\n var _a;\n setStores(data.Store);\n setLoadingCities(false);\n if (props.initialValues.citySelect) {\n const initialCity = (_a = stores.find((el) => el.city == props.initialValues.citySelect)) === null || _a === void 0 ? void 0 : _a.city;\n if (initialCity)\n setCitySelect(initialCity);\n }\n });\n }\n else {\n api.getStoresForAppointment(country).then((data) => {\n // debugger;\n var _a;\n setStores(data.Store);\n setLoadingCities(false);\n if (props.initialValues.citySelect) {\n const initialCity = (_a = stores.find((el) => el.city == props.initialValues.citySelect)) === null || _a === void 0 ? void 0 : _a.city;\n if (initialCity)\n setCitySelect(initialCity);\n }\n });\n }\n };\n const updateCountries = async (personalizationReason, reasonValue) => {\n api.getCountriesWithBAA(personalizationReason).then((data) => {\n setCountries(data);\n let selectedCountry = data.find((el) => el.selected);\n if (props.initialValues.countrySelect) {\n selectedCountry = data.find((el) => el.value == props.initialValues.countrySelect);\n }\n if (selectedCountry) {\n setCountrySelect(selectedCountry.value);\n props.mutator({ countrySelect: selectedCountry.value });\n storeFilterArray(countrySelect, personalizationReason, reasonValue);\n updateStores(selectedCountry.value, personalizationReason);\n }\n else {\n // mostro il messaggio che non ci sono store con BAA per la country corrente\n }\n });\n };\n const selectStore = (store) => {\n var _a;\n let availableSlotsTypes;\n let availableSlotTypes;\n if (store) {\n let storeSlotType = storesSlotType === null || storesSlotType === void 0 ? void 0 : storesSlotType.filter((e) => (e === null || e === void 0 ? void 0 : e.code) == store.ID);\n availableSlotsTypes = (_a = storeSlotType[0]) === null || _a === void 0 ? void 0 : _a.availableSlotTypes;\n if ((availableSlotsTypes === null || availableSlotsTypes === void 0 ? void 0 : availableSlotsTypes.length) > 1 && (availableSlotsTypes === null || availableSlotsTypes === void 0 ? void 0 : availableSlotsTypes.includes(BAA.APPOINTMENT.CARAVAN))) {\n availableSlotTypes = BAA.APPOINTMENT.CARAVAN;\n }\n else {\n availableSlotTypes = availableSlotsTypes[0];\n }\n }\n props.setAvailableSlotTypes && props.setAvailableSlotTypes(availableSlotTypes);\n props.onSelect && props.onSelect(store);\n };\n const onSelectCity = (city) => {\n setCitySelect(city);\n selectStore(null);\n };\n const pickupStores = (virtualAppointment) => {\n return virtualAppointment ? (React.createElement(React.Fragment, null,\n React.createElement(DwFormField, { requiredLabel: true, def: props.formdef, disabled: loadingCities, name: \"storeid\", type: \"select\", onChange: (e) => {\n const store = storesByCity.find((store) => {\n return store.ID == e.target.value;\n });\n selectStore(store);\n }, options: [\n ...[\n {\n value: '',\n selected: false,\n label: t('bookanappointment.selectstore.placeholder'),\n },\n ],\n ...storesByCity.map((store, i) => {\n var _a;\n return {\n value: store.ID,\n selected: store.ID === ((_a = props.store) === null || _a === void 0 ? void 0 : _a.ID),\n label: store.name,\n };\n }),\n ] }))) : (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"baa-storelist\" },\n React.createElement(RadioGroup, { id: \"storelist\", setSelected: (id) => {\n const store = storesByCity.find((store) => {\n return store.ID == id;\n });\n selectStore(store);\n } }, storesByCity.map((store, index) => {\n var _a;\n return (React.createElement(RadioGroupItem, { inputCentered: virtualAppointment, content: React.createElement(BookAnAppointmentStore, { store: store, index: index }), key: store.ID, id: store.ID, selected: store.ID === ((_a = props.store) === null || _a === void 0 ? void 0 : _a.ID) }));\n })))));\n };\n const noStoresMessage = useCallback(() => {\n return (countries === null || countries === void 0 ? void 0 : countries.length) > 0 && !countries.find((el) => el.selected) ? (React.createElement(\"div\", { className: \"row mb-24\" },\n React.createElement(\"div\", { className: \"col-12\" },\n React.createElement(\"p\", null, t('bookanappointment.nostoresincurrentlocation', { country: window.countryname }))))) : (React.createElement(React.Fragment, null));\n }, [countries]);\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-24 col-lg-12\" },\n React.createElement(\"p\", null,\n t('bookanappointment.location.message', { country: countrySelectLabel }),\n \" \"),\n React.createElement(\"a\", { href: addURLParameter(window.location.href, 'countryselector', 'true') }, t('bookanappointment.location.link')))),\n React.createElement(\"div\", { className: \"checkout-pickup bookanappointment-wrapper\" },\n noStoresMessage(),\n !props.showmap ? (React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-24 col-lg-12\" },\n React.createElement(DwFormField, { requiredLabel: true, def: props.formdef, disabled: loadingCities, name: \"citySelect\", type: \"select\", onChange: (e) => onSelectCity(e.target.value), options: [\n ...[\n {\n value: '',\n selected: false,\n label: t('checkout.picking.selectcity'),\n },\n ],\n ...cities.map((city, i) => {\n return {\n value: city,\n selected: city === citySelect,\n label: city,\n };\n }),\n ] })),\n React.createElement(\"div\", { className: \"col-24 col-lg-12 overflow-visible\" },\n stores.length > 0 && citySelect && props.liveBoutique && (React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"p\", { className: \"disclaimer mt-20 mb-32\" }, t('liveboutique.disclaimer')))),\n !props.resetFields && pickupStores(true)))) : (React.createElement(\"div\", { className: \"row row-gap-40\" },\n React.createElement(\"div\", { className: \"col-24 col-lg-10\" },\n React.createElement(DwFormField, { requiredLabel: true, def: props.formdef, disabled: loadingCities, name: \"citySelect\", type: \"select\", onChange: (e) => onSelectCity(e.target.value), options: [\n ...[\n {\n value: '',\n selected: false,\n label: t('checkout.picking.selectcity'),\n },\n ],\n ...cities.map((city, i) => {\n return {\n value: city,\n selected: city === citySelect,\n label: city,\n };\n }),\n ] }),\n (stores === null || stores === void 0 ? void 0 : stores.length) > 0 && citySelect && !props.resetFields && pickupStores(props.appointmentType == BAA.APPOINTMENT.VIRTUAL)),\n React.createElement(\"div\", { className: \"col-24 col-lg-12 offset-lg-2\" }, (stores === null || stores === void 0 ? void 0 : stores.length) > 0 && citySelect && (React.createElement(\"div\", { className: \"checkout-pickup__map\" },\n React.createElement(GoogleMap, { mapContainerStyle: {\n width: '100%',\n height: '100%',\n }, center: mapCenter, zoom: mapZoom, onLoad: (map) => {\n mapEl.current = map;\n }, options: {\n streetViewControl: false,\n mapTypeControl: false,\n maxZoom: 14,\n styles: maputils.style['ST'],\n } },\n React.createElement(React.Fragment, null, stores.map((store, i) => {\n var _a;\n return (React.createElement(Marker, { key: i, position: { lat: store.latitude, lng: store.longitude }, icon: ((_a = props.store) === null || _a === void 0 ? void 0 : _a.ID) === store.ID ? (props.mapmarker || '').replace('.svg', '-selected.svg') : props.mapmarker }));\n })))))))))));\n};\nexport default BookAnAppointmentStoreSelector;\n","import React, { useMemo } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport DwFormField from '@ui/formfield/DwFormField';\nconst BookAnAppointmentPersonalInfo = (props) => {\n const { t } = useTranslation();\n const { formdef, hideTitle } = props;\n const isJp = window.country == 'JP';\n const insideHideTitle = isJp ? isJp : hideTitle;\n const classNames = useMemo(() => (insideHideTitle ? 'col-24 col-lg-12' : 'col-24 col-lg-8'), [insideHideTitle]);\n const renderTitle = () => (React.createElement(\"div\", { className: classNames },\n React.createElement(DwFormField, { def: formdef, name: \"title\", type: formdef['title'].options ? 'select' : 'text', autocomplete: \"honorific-prefix\" })));\n const renderFirstname = () => (React.createElement(\"div\", { className: classNames },\n React.createElement(DwFormField, { def: formdef, name: \"firstname\", autocomplete: \"given-name\", readonly: props.readonly })));\n const renderLastname = () => (React.createElement(\"div\", { className: classNames },\n React.createElement(DwFormField, { def: formdef, name: \"lastname\", autocomplete: \"family-name\", readonly: props.readonly })));\n const renderNames = () => isJp ? (React.createElement(React.Fragment, null,\n renderLastname(),\n renderFirstname())) : (React.createElement(React.Fragment, null,\n renderFirstname(),\n renderLastname()));\n return !insideHideTitle ? (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"row\" },\n renderTitle(),\n renderNames()))) : (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"row\" }, renderNames())));\n};\nexport default BookAnAppointmentPersonalInfo;\n","import StoreAddress from '@components/storelocator/StoreAddress';\nimport formutils from '@utils/formutils';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport MyAccountSection from '../account/MyAccountSection';\nimport StoreGetDirections from '@components/storelocator/StoreGetDirections';\nimport classNames from 'classnames';\nconst BookAnAppointmentConfirmationPage = (props) => {\n var _a, _b, _c, _d;\n const { t } = useTranslation();\n const { requestSent, formdef, days, store } = props;\n const renderThankYouTitle = t('notifyme.thankyou', {\n title: formutils.labelByValue(requestSent === null || requestSent === void 0 ? void 0 : requestSent.title, formdef === null || formdef === void 0 ? void 0 : formdef.title),\n name: requestSent === null || requestSent === void 0 ? void 0 : requestSent.firstname,\n surname: requestSent === null || requestSent === void 0 ? void 0 : requestSent.lastname,\n });\n const BAAContent = (props) => {\n return (React.createElement(\"div\", { className: \"baa-content d-column row-gap-12\" },\n React.createElement(\"h3\", { className: \"font__cta\" }, props.title),\n React.createElement(\"div\", { className: \"baa-content--children d-column row-gap-8\" }, props.children),\n props.footer && React.createElement(\"div\", { className: \"baa-content--footer\" }, props.footer)));\n };\n return (React.createElement(React.Fragment, null,\n React.createElement(MyAccountSection, { id: \"baa-title\", title: t('bookanappointment.bookingcomplete'), isShort: true }),\n React.createElement(MyAccountSection, { id: \"baa-thankyou\", isShort: true },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: classNames('col-24', { 'col-lg-12': props.type === 'page' }) },\n React.createElement(BAAContent, { title: renderThankYouTitle, footer: React.createElement(\"p\", null, t('bookanappointment.bookingno', { 0: (_b = (_a = props.appointmentresponse) === null || _a === void 0 ? void 0 : _a.booking) === null || _b === void 0 ? void 0 : _b.code })) },\n React.createElement(\"p\", null, t('bookanappointment.thankyoupage.thankyoumessage')))))),\n React.createElement(MyAccountSection, { id: \"baa-details\", isShort: true },\n React.createElement(\"div\", { className: \"row row-gap-40\" },\n React.createElement(\"div\", { className: classNames('col-24', { 'col-lg-6': props.type === 'page' }) },\n React.createElement(BAAContent, { title: t('bookanappointment.thankyoupage.store'), footer: store && React.createElement(StoreGetDirections, { store: store }) },\n React.createElement(StoreAddress, { store: store, showdirections: false, showmail: false, showphone: true }))),\n React.createElement(\"div\", { className: classNames('col-24', { 'col-lg-6 offset-lg-2': props.type === 'page' }) },\n React.createElement(BAAContent, { title: t('bookanappointment.thankyoupage.personalinfo') },\n React.createElement(\"p\", { className: \"baa--email\" }, requestSent === null || requestSent === void 0 ? void 0 : requestSent.email),\n React.createElement(\"p\", null, requestSent === null || requestSent === void 0 ? void 0 :\n requestSent.phonePrefix,\n \" \", requestSent === null || requestSent === void 0 ? void 0 :\n requestSent.phone))),\n React.createElement(\"div\", { className: classNames('col-24', { 'col-lg-6 offset-lg-2': props.type === 'page' }) },\n React.createElement(BAAContent, { title: t('bookanappointment.thankyoupage.appointementdetails') },\n React.createElement(\"p\", null, requestSent === null || requestSent === void 0 ? void 0 : requestSent.date),\n React.createElement(\"p\", null, (_d = (_c = days[requestSent === null || requestSent === void 0 ? void 0 : requestSent.date]) === null || _c === void 0 ? void 0 : _c.find((p) => p.value == (requestSent === null || requestSent === void 0 ? void 0 : requestSent.hour))) === null || _d === void 0 ? void 0 : _d.label))))),\n React.createElement(MyAccountSection, { id: \"baa-ctas\" },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: classNames('col-24 container-button', { 'col-lg-8 offset-lg-16': props.type === 'page' }) },\n React.createElement(\"a\", { href: props.manageappointmenturl, className: \"button button--primary full\" },\n React.createElement(\"span\", null, t('bookanappointment.manageappointments'))))))));\n};\nexport default BookAnAppointmentConfirmationPage;\n","import ErrorBox from '@components/common/ErrorBox';\nimport ProductBoutiqueSelected from '@stone/components/reserve/ProductBoutiqueSelected';\nimport Button from '@stone/ui/button/Button';\nimport DwFormField from '@ui/formfield/DwFormField';\nimport DwFormFieldPhoneWithPrefix from '@ui/formfield/DwFormFieldPhoneWithPrefix';\n// import analytics from '@utils/analytics';\nimport api from '@utils/api';\nimport { BAA } from '@utils/constants';\nimport formutils from '@utils/formutils';\nimport createDecorator from 'final-form-focus';\nimport React, { useEffect, useLayoutEffect, useRef, useState } from 'react';\nimport { Form } from 'react-final-form';\nimport { useTranslation } from 'react-i18next';\nimport BookAnAppointmentStoreSelector from '@stone/components/appointments/BookAnAppointmentStoreSelector';\nimport BookAnAppointmentReasonMessage from '@stone/components/appointments/BookAnAppointmentReasonMessage';\nimport BookAnAppointmentDateSelection from '@stone/components/appointments/BookAnAppointmentDateSelection';\nimport BookAnAppointmentPersonalInfo from '@stone/components/appointments/BookAnAppointmentPersonalInfo';\nimport BookAnAppointmentConfirmationPage from '@stone/components/appointments/BookAnAppointmentConfirmationPage';\nimport classNames from 'classnames';\nimport ClientServiceSection from '../clientService/ClientServiceSection';\nimport LoginModal from '../login/LoginModal';\nimport { Tab, TabList, TabPanel, Tabs } from 'react-tabs';\nimport SubmitButton from '@stone/ui/button/SubmitButton';\nconst focusOnError = createDecorator(); // must be outside the component\nconst BookAnAppointmentForm = (props) => {\n const { t } = useTranslation();\n const [requestSent, setRequestSent] = useState();\n const [appointmentresponse, setAppointmentresponse] = useState();\n const [formdef, setFormdef] = useState();\n const [initialValues, setInitialValues] = useState();\n const [errors, setErrors] = useState([]);\n const [days, setDays] = useState({});\n const [store, setStore] = useState(props.store);\n const [appointmentType, setAppointmentType] = useState(BAA.APPOINTMENT.INSTORE);\n const [collections, setCollections] = useState([]);\n const appointmentSection = useRef(null);\n const [resetFields, setResetFields] = useState(false);\n const [loginOpen, setLoginOpen] = useState(false);\n const [reasonSelect, setReasonSelect] = useState();\n const [availableSlotTypes, setAvailableSlotTypes] = useState();\n const tabsMap = {\n '552250000': t('bookanappointment.appointmentinstoreanalytics'),\n '552250001': t('bookanappointment.virtualappointmentanalytics'),\n };\n const lastArg = useRef();\n // ANCHOR - USE EFFECTS --------------------------------------------------------------------\n useEffect(() => {\n let isMounted = true;\n let val = {};\n api.getForm('bookanappointment', val, true).then((data) => {\n var _a;\n if (!val.appointmenttype) {\n val.appointmenttype = BAA.APPOINTMENT.INSTORE;\n }\n // if (props.type == 'mbm' && !val.reason) {\n // val.reason = BAA.REASONS.PERSONALIZATION;\n // }\n // filtra la personalization reason in base alla global preference activateMbmReasonContact\n if (!window.mbmContactReason) {\n data.reason.options = data.reason.options.filter((o) => o.value != BAA.REASONS.PERSONALIZATION);\n }\n // store without personalization room, filter it out from reasons\n if (props.type == 'modal' && !((_a = store === null || store === void 0 ? void 0 : store.storeServices) === null || _a === void 0 ? void 0 : _a.personalizationRoom)) {\n data.reason.options = data.reason.options.filter((o) => o.value != BAA.REASONS.PERSONALIZATION);\n }\n if (props.recipeid) {\n val.recipeid = props.recipeid;\n val.size = props.size;\n }\n if (isMounted) {\n if (appointmentType != val.appointmenttype) {\n setAppointmentType(val.appointmenttype);\n }\n setInitialValues(val);\n setFormdef(data);\n }\n });\n return () => {\n isMounted = false;\n };\n }, []);\n useEffect(() => {\n if (store) {\n api.bookAnAppointmentSlots(store === null || store === void 0 ? void 0 : store.ID, appointmentType != BAA.APPOINTMENT.VIRTUAL ? availableSlotTypes : appointmentType, false, reasonSelect).then((data) => {\n setDays(data.days);\n });\n api.bookAnAppointmentCollections(store === null || store === void 0 ? void 0 : store.ID).then((data) => {\n setCollections(data);\n });\n }\n }, [store, appointmentType]);\n useLayoutEffect(() => {\n if (requestSent && appointmentresponse && props.type === 'modal') {\n const scrollDom = document.querySelector('.modal.bookanappointment .modal__body--right');\n scrollDom.scroll({ top: 0 });\n }\n }, [props.type, requestSent, appointmentresponse]);\n //* ANCHOR - FUNCTIONS --------------------------------------------------------------------\n const prefillValues = (values) => {\n values.storeid = store === null || store === void 0 ? void 0 : store.ID;\n if (appointmentType != BAA.APPOINTMENT.VIRTUAL) {\n values.appointmenttype = availableSlotTypes;\n }\n if (values.appointmenttype == BAA.APPOINTMENT.VIRTUAL && values.reason == BAA.REASONS.PERSONALIZATION) {\n values.reason = undefined;\n }\n };\n const validate = async (values, onSubmit) => {\n // if (window.loggedin) {\n // values.privacyFlag = true;\n // }\n prefillValues(values);\n // In order to keep full validation of all the form and the automatic assignment of the current country in the countrySelect, there are multiple validation calls that occour on re-renderings.\n // When the validation is called with the same values as the last one, nothing is returned. In each and every case of this specific form we will have a subsequential validation that will generate a valid response, so no problems will arise.\n // This code can address the issue described in the ticket OE-17125 only, do not use it elsewhere.\n let different = false;\n if (lastArg.current) {\n new Set([...Object.keys(lastArg.current), ...Object.keys(values)]).forEach((valKey) => {\n if ((values[valKey] || '') !== (lastArg.current[valKey] || ''))\n different = true;\n });\n }\n else {\n different = true;\n }\n if (different || onSubmit) {\n lastArg.current = values;\n return await formutils.validateForm(values, formdef, 'bookanappointment');\n }\n };\n const onSubmit = async (values) => {\n setErrors([]);\n let err = await validate(values, true);\n if (err && Object.keys(err).length > 0) {\n return err;\n }\n await api.bookAnAppointmentSubmit(values, formdef).then((data) => {\n // console.log('after submit: ' + JSON.stringify(data, null, 2));\n if (typeof data === 'undefined') {\n // -- setShowOverlay(false) if same appointment ?\n return;\n }\n if (data.error && data.error.length > 0) {\n setErrors(data.error);\n return;\n }\n // https://jira.industries-group.com/browse/MOM-3264\n // let errors: models.ValidationErrors = {};\n // if (!formutils.checkValidationAfterSubmit(data, errors)) {\n // return errors;\n // }\n // if (props.type != 'mbm') {\n // // -- not mbm\n // // analytics.bookAppointmentSubmit(props.product?.masterId);\n // analytics.storelocatorBookAppointment(['modal', 'mbm'].includes(props.type) ? 'storelocator' : 'footer', `submit-moncler ${store.name}`);\n // }\n // else {\n // if (props.paletteName) {\n // // -- configuration\n // analytics.configuratorAction(props.fromContinueInStore ? 'continue in store' : 'product configuration', props.paletteName() + '-confirm appointment');\n // } else {\n // // -- pdp\n // analytics.bookAppointmentSubmit(props.product?.masterId);\n // }\n // }\n setRequestSent(values);\n setAppointmentresponse(data);\n const SCROLL_SELECTOR = props.variant == 'myaccount' ? '.myaccount-hero' : '.cs-hero';\n document.querySelector(SCROLL_SELECTOR).scrollIntoView({ behavior: 'smooth', inline: 'end' });\n });\n };\n // ANCHOR - CONFIRMATION PAGE --------------------------------------------------------------------\n if (formdef && requestSent && appointmentresponse) {\n return (React.createElement(ClientServiceSection, { title: t('bookanappointment.title'), introSection: true, active: props.variant === 'default' && props.type === 'page' },\n React.createElement(BookAnAppointmentConfirmationPage, Object.assign({ store: store, formdef: formdef, requestSent: requestSent, appointmentresponse: appointmentresponse, days: days }, props))));\n }\n if (!formdef || !initialValues) {\n return React.createElement(React.Fragment, null);\n }\n const renderGuestAdvice = () => (React.createElement(\"div\", { className: \"row client-service__baa-guest-advice\" },\n React.createElement(\"div\", { className: \"col-lg-24\" },\n React.createElement(\"p\", null, t('bookanappointment.boxlogin'))),\n React.createElement(\"div\", { className: \"col-lg-12\" },\n React.createElement(Button, { onClick: () => setLoginOpen(true), type: \"button\", fullWidth: true }, t('checkout.logincta')))));\n const renderTabs = (form) => (React.createElement(Tabs, { className: \"tabs tabs--fluid tabs--capitalize tabs--centered tabs--fit\" },\n React.createElement(TabList, { className: classNames('react-tabs__tab-list client-service__tablist', { 'react-tabs__tab-list--overflow': props.type === 'page' }) },\n React.createElement(Tab, { onClick: () => {\n form.change('appointmenttype', 552250000);\n setAppointmentType(552250000);\n // if (tabsMap) {\n // analytics.clientServiceRedesignAnalytics(`${props.pagetitleforanalytics}`.toLowerCase(), tabsMap['552250000'].toLowerCase());\n // }\n } }, t('bookanappointment.appointmentinstore')),\n !window.faf && !window.appmode && !window.isClothing && props.virtualAppointmentEnabled && (React.createElement(Tab, { onClick: () => {\n form.change('appointmenttype', 552250001);\n setAppointmentType(552250001);\n // if (tabsMap) {\n // analytics.clientServiceRedesignAnalytics(`${props.pagetitleforanalytics}`.toLowerCase(), tabsMap['552250001'].toLowerCase());\n // }\n } }, t('bookanappointment.virtualappointment')))),\n React.createElement(TabPanel, { className: \"client-service__tabpanel--baa\" },\n React.createElement(React.Fragment, null)),\n props.virtualAppointmentEnabled && (React.createElement(TabPanel, { className: \"client-service__tabpanel--baa\" },\n React.createElement(React.Fragment, null)))));\n const renderForm = () => (React.createElement(Form, { initialValues: initialValues, onSubmit: onSubmit, validate: validate, decorators: [focusOnError], mutators: {\n global: formutils.globalMutator,\n resetHours: (args, state, utils) => {\n utils.changeValue(state, 'hour', () => null);\n },\n }, render: ({ handleSubmit, form, submitting, values }) => {\n var _a;\n return (React.createElement(\"form\", { onSubmit: handleSubmit, className: classNames('d-column', { 'row-gap-40 row-gap-lg-60': props.type == 'page' }, { 'row-gap-20': props.type === 'modal' }) },\n props.type == 'page' && props.variant === 'myaccount' ? (React.createElement(\"div\", { className: \"row row-appointmenttype\" },\n React.createElement(\"div\", { className: \"col-24\" },\n React.createElement(DwFormField, { def: formdef, name: \"appointmenttype\", type: \"optionbox\", groupClassName: \"optionbox--tabs\", onChange: (e) => {\n setAppointmentType(e.target.value);\n // if (tabsMap) {\n // analytics.clientServiceRedesignAnalytics(`${props.pagetitleforanalytics}`.toLowerCase(), tabsMap[e.target.value as keyof typeof tabsMap].toLowerCase());\n // }\n } })))) : (renderTabs(form)),\n window.loggedin ? (React.createElement(React.Fragment, null,\n props.type == 'modal' && (React.createElement(React.Fragment, null,\n React.createElement(ProductBoutiqueSelected, { appointmentType: values.appointmenttype, store: store, onArrowBack: props.onArrowBack, type: props.type }),\n React.createElement(\"p\", { className: \"yourdetails-title\" }, t('bookanappointment.yourdetails')))),\n props.type == 'page' && (React.createElement(React.Fragment, null,\n values.appointmenttype == BAA.APPOINTMENT.VIRTUAL && (React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-24 col-lg-12\" },\n React.createElement(\"p\", { className: \"virtual-message\" }, t('bookanappointment.virtualappointmentmsg'))))),\n values.appointmenttype && (React.createElement(BookAnAppointmentStoreSelector, Object.assign({ formdef: formdef, initialValues: initialValues }, props, { mutator: form.mutators.global, store: store, onSelect: setStore, appointmentType: values.appointmenttype, showmap: values.appointmenttype != BAA.APPOINTMENT.VIRTUAL, setReasonSelect: setReasonSelect, setAvailableSlotTypes: setAvailableSlotTypes, resetFields: resetFields }))))),\n React.createElement(\"div\", { className: \"ReserveForm d-column row-gap-40\" },\n React.createElement(BookAnAppointmentDateSelection, { formdef: formdef, days: days, values: values, type: props.type, form: form }),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-24\" },\n React.createElement(DwFormField, { def: formdef, name: \"reason\", type: \"select\", options: values.appointmenttype != BAA.APPOINTMENT.VIRTUAL\n ? formdef.reason.options\n : formdef.reason.options.filter((o) => o.value != BAA.REASONS.PERSONALIZATION) }))),\n values.reason == BAA.REASONS.DISCOVERCOLLECTION && (collections === null || collections === void 0 ? void 0 : collections.length) > 0 && (React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-24\" },\n React.createElement(DwFormField, { def: formdef, name: \"collectionCode\", type: \"select\", options: [{ value: '', label: t('label.select') }].concat(collections) || [] })))),\n values.appointmenttype == BAA.APPOINTMENT.VIRTUAL && props.type == 'page' && (React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-24 col-lg-12\" },\n React.createElement(\"p\", { className: \"yourdetails-title\" }, t('bookanappointment.yourdetails'))))),\n React.createElement(BookAnAppointmentReasonMessage, { formdef: formdef, values: values }),\n React.createElement(BookAnAppointmentPersonalInfo, { formdef: formdef }),\n React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-24\" },\n React.createElement(DwFormField, { def: formdef, name: \"email\", type: \"email\" })))),\n React.createElement(\"div\", null,\n React.createElement(DwFormFieldPhoneWithPrefix, { def: formdef, uniqueLabel: t('profile.phonenumber'), hideValidTick: true }))),\n React.createElement(\"div\", { className: classNames('d-column row-gap-40', { 'row-gap-lg-20': props.type == 'modal' }) },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-24\" },\n React.createElement(DwFormField, { def: formdef, name: \"privacyFlag\", type: \"checkbox\" }))),\n React.createElement(\"div\", { className: \"row button-row align-middle\" },\n React.createElement(\"div\", { className: \"col-fill wrapper-button-arrow\" }, props.type == 'page' && props.variant == 'myaccount' && (React.createElement(\"a\", { href: props.manageappointmenturl, className: \"button button--tertiary\" },\n React.createElement(\"span\", null, t('button.cancel'))))),\n React.createElement(\"div\", { className: classNames('col-24', { 'col-lg-9 col-xxl-8': props.type == 'page' }) },\n React.createElement(SubmitButton, { submitting: submitting, label: props.type == 'page' ? t('bookanappointment.confirmappointment') : props.type == 'modal' && t('button.submit'), fullWidth: true }))),\n React.createElement(ErrorBox, { errors: errors }),\n React.createElement(\"p\", { className: \"product-reserve__detail__form__note\" },\n React.createElement(\"small\", { className: \"note\", dangerouslySetInnerHTML: { __html: t('notifyme.termsandconditions', { 0: (_a = document.getElementById('hidden-cookieurl')) === null || _a === void 0 ? void 0 : _a.href }) } }))))) : (props.variant === 'default' && renderGuestAdvice())));\n } }));\n return (React.createElement(React.Fragment, null,\n React.createElement(ClientServiceSection, { title: t('bookanappointment.title'), introSection: true, active: props.variant === 'default' && props.type === 'page' },\n React.createElement(\"div\", { ref: appointmentSection, className: \"product-reserve__detail__form \" },\n props.variant === 'default' && props.type === 'page' && React.createElement(\"p\", { className: \"mb-60 mb-lg-80\" }, t('bookanappointment.intro')),\n renderForm()),\n React.createElement(LoginModal, Object.assign({}, props, { inCart: true, reloadPageRegisteredInStore: true, modalStatus: loginOpen, analyticsKey: \"modal\", updateStatus: (status) => setLoginOpen(status) })))));\n};\nBookAnAppointmentForm.defaultProps = {\n variant: 'default',\n};\nexport default BookAnAppointmentForm;\n","import Button from '@stone/ui/button/Button';\nimport classNames from 'classnames';\nimport React from 'react';\nconst ClientServiceSection = (props) => {\n const { title, description, introSection, className, buttonLink, buttonText, children, borderBottom, buttonAction, noMargin, noPadding } = props;\n const textHolder = React.createElement(React.Fragment, null, title && React.createElement(\"h2\", { className: \"section__title\" }, title));\n if (!props.active) {\n return React.createElement(React.Fragment, null, props.children);\n }\n const renderTitle = !!title || !!buttonLink || !!buttonAction;\n return (React.createElement(\"section\", { className: classNames('client-service__section', {\n 'section--intro-section': introSection,\n 'section--title-only': !description && !children,\n 'section--little-snippet': buttonLink || buttonAction,\n 'section--border-bottom': borderBottom,\n 'section--no-margin': noMargin,\n 'section--no-padding': noPadding,\n }, className != undefined && className) },\n React.createElement(\"div\", { className: \"container\" },\n React.createElement(\"div\", { className: \"row section__content\" },\n renderTitle && (React.createElement(\"div\", { className: \"col-24 col-lg-5 col-xxl-4 first-col\" }, buttonLink || buttonAction ? (React.createElement(React.Fragment, null,\n React.createElement(\"div\", null, textHolder),\n buttonAction ? (React.createElement(Button, { type: \"button\", cls: ['button--secondary'], onClick: buttonAction },\n React.createElement(\"span\", null, buttonText))) : (React.createElement(\"a\", { href: buttonLink, target: \"_blank\", className: \"button button--secondary\" },\n React.createElement(\"span\", null, buttonText))))) : (textHolder))),\n React.createElement(\"div\", { className: classNames('col-24 col-lg-14 col-xxl-12 last-col', { 'offset-lg-5 offset-xxl-6': !renderTitle }, { 'offset-xxl-2': renderTitle }) }, children)))));\n};\nClientServiceSection.defaultProps = {\n active: true,\n};\nexport default ClientServiceSection;\n","// import analytics from '@utils/analytics';\nimport React, { Suspense, useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport classNames from 'classnames';\nimport Button from '@stone/ui/button/Button';\nimport LoginOrRegisterColumn from '@stone/components/login/LoginOrRegisterColumn';\nimport A11YMenuAccountBar from '@stone/components/a11y/A11YMenuAccountBar';\nimport useMediaQueries from '@stone/hooks/useMediaQueries';\nconst ModalDrawer = React.lazy(() => import('@stone/components/modal/ModalDrawer'));\nconst ModalDialog = React.lazy(() => import('@stone/components/modal/ModalDialog'));\nconst LoginModal = (props) => {\n const { t } = useTranslation();\n const { isMobile } = useMediaQueries();\n const [open, setOpen] = useState(false);\n const [openRegister, setOpenRegister] = useState(false);\n const [forceReload, setForceReload] = useState(false);\n const ModalComponent = props.drawer ? ModalDrawer : ModalDialog;\n const modalProps = (props.drawer && {\n a11yBar: React.createElement(A11YMenuAccountBar, null),\n hideContentLabel: true,\n contentLabel: t('modal.loginregister.title'),\n }) || {\n // colLg: 14,\n // colXxl: 12,\n // innerColClasses: 'col-lg-23',\n fullHeight: true,\n fullWidth: isMobile,\n image: window.globalstaticurl + '/login/' + (props.incontext ? 'bg-' + props.incontext + '.jpg' : 'bg-login.jpg'),\n contentLabel: t('modal.loginregister.title'),\n subtitle: t('modal.loginregister.subtitle'),\n };\n // [ UPDATE EXTERNAL => SYNC INTERNAL ]\n useEffect(() => {\n if ((props === null || props === void 0 ? void 0 : props.modalStatus) != undefined && (props === null || props === void 0 ? void 0 : props.modalStatus) != open) {\n setOpen(props === null || props === void 0 ? void 0 : props.modalStatus);\n }\n }, [props === null || props === void 0 ? void 0 : props.modalStatus]);\n // [ UPDATE INTERNAL => SYNC EXTERNAL ]\n useEffect(() => {\n if ((props === null || props === void 0 ? void 0 : props.updateStatus) != undefined && (props === null || props === void 0 ? void 0 : props.modalStatus) != open) {\n props.updateStatus(open);\n }\n if (!open && forceReload) {\n if (props === null || props === void 0 ? void 0 : props.linkreload) {\n window.location.href = props.linkreload;\n }\n else {\n window.location.reload();\n }\n }\n }, [open]);\n if (window.loggedin) {\n return React.createElement(React.Fragment, null);\n }\n const hideElements = !props.drawer ? ['mainHeading', 'emailHeading', 'wishlistbutton', 'registerHeading', 'benefits'] : [];\n const slots = (!props.drawer && {\n sociallogintext: React.createElement(React.Fragment, null, t('register.fasterwithsocial')),\n emailbottomtext: (React.createElement(\"div\", { className: \"login-modal-bottom\" },\n React.createElement(\"p\", null, t('modal.loginregister.text')))),\n passwordheading: React.createElement(React.Fragment, null), //render nothing\n }) ||\n {};\n const LoginOrRegisterComponent = () => (React.createElement(LoginOrRegisterColumn, { defaultRegister: openRegister, setForceReload: setForceReload, closeModal: () => setOpen(false), onBack: () => setOpen(false), linkreload: props.linkreload, from: 'loginmodal', updateLoggeedStatus: props.updateLoggeedStatus, reloadPageRegisteredInStore: props.reloadPageRegisteredInStore, componentContext: props.drawer ? 'drawer' : 'modal', slots: slots, hideElements: hideElements, rememberme: props.rememberme, inAccountMenu: props.drawer }));\n return (React.createElement(React.Fragment, null,\n (props === null || props === void 0 ? void 0 : props.inWishlist) && (React.createElement(\"div\", { className: \"wishlist-login-box\" },\n React.createElement(\"p\", { dangerouslySetInnerHTML: { __html: t('wishlist.guestmessage') } }),\n React.createElement(\"div\", { className: \"wrapper-buttons\" },\n React.createElement(Button, { cls: ['button--tertiary'], type: \"button\", ariaHaspopup: \"dialog\", onClick: () => {\n setOpen(true);\n // analytics.wishlistInteractionLoginRegister();\n } }, t('login.toyouraccount'))))),\n React.createElement(Suspense, { fallback: React.createElement(React.Fragment, null) },\n React.createElement(ModalComponent, Object.assign({ contentLabel: t('modal.loginregister.title'), isOpen: open, className: classNames('login-modal', { 'in-drawer': props.drawer, 'in-dialog': !props.drawer }), onRequestClose: () => {\n setOpen(false);\n setOpenRegister(false);\n }, visuallyhidden: true }, modalProps), LoginOrRegisterComponent()))));\n};\nexport default LoginModal;\n","import { throttle } from 'lodash';\nimport { useLayoutEffect, useEffect, useRef, useState } from 'react';\nconst REFLOW_CAP = 400;\nconst getInitialBreakpointValue = () => {\n // get initial breakpoint is called before the page is fully loaded and innerWith may be 0. windows.mqObj may not be set\n var _a;\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 getReflowValue = () => {\n var _a;\n const documentHeight = window.innerHeight || ((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.height);\n if (documentHeight == 0) {\n return;\n }\n return documentHeight < REFLOW_CAP ? 399 : REFLOW_CAP;\n};\nconst mediaQueries = Object.assign({ ' {\n const [breakpoint, setBreakpoint] = useState(getInitialBreakpointValue());\n const [breakpointHeight, setBreakpointHeight] = useState(getReflowValue());\n const [isTouch, setIsTouch] = useState(false);\n // const [isMotionReduced, setIsMotionReduced] = useState(false);\n const firstRender = useRef(true);\n function detectTouchscreen() {\n if (window.PointerEvent && 'maxTouchPoints' in navigator) {\n // if Pointer Events are supported, just check maxTouchPoints\n if (navigator.maxTouchPoints > 0) {\n setIsTouch(true);\n }\n }\n else {\n // no Pointer Events...\n if (window.matchMedia && window.matchMedia('(any-pointer:coarse)').matches) {\n // check for any-pointer:coarse which mostly means touchscreen\n setIsTouch(true);\n }\n else if (window.TouchEvent || 'ontouchstart' in window) {\n // last resort - check for exposed touch events API / event handler\n setIsTouch(true);\n }\n }\n }\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 useEffect(() => {\n if (firstRender.current) {\n // setBreakpoint(window.innerWidth);\n firstRender.current = false;\n detectTouchscreen();\n }\n }, []);\n useLayoutEffect(() => {\n const handleResize = throttle(() => {\n const currentBr = getCurrentBreakpoint();\n if (currentBr && currentBr !== breakpoint) {\n setBreakpoint(currentBr);\n }\n const currentHBr = getReflowValue();\n if (currentHBr && currentHBr !== breakpointHeight) {\n setBreakpointHeight(currentHBr);\n }\n }, 200);\n window.addEventListener('resize', handleResize);\n return () => window.removeEventListener('resize', handleResize);\n }, [breakpoint, breakpointHeight]);\n return {\n //@ts-ignore disable-next-line\n isTightMobile: breakpoint <= window.mqObj.xs,\n //@ts-ignore disable-next-line\n isMobile: breakpoint < window.mqObj.lg,\n //@ts-ignore disable-next-line\n isTablet: breakpoint >= window.mqObj.sm && breakpoint < window.mqObj.lg,\n //@ts-ignore disable-next-line\n isSmallDesktop: breakpoint >= window.mqObj.md,\n //@ts-ignore disable-next-line\n isDesktop: breakpoint >= window.mqObj.lg,\n //@ts-ignore disable-next-line\n isWideDesktop: breakpoint >= window.mqObj.xxl,\n isTouch: isTouch,\n isReflow: breakpointHeight < REFLOW_CAP,\n };\n};\nexport default useMediaQueries;\n","import classNames from 'classnames';\nimport React from 'react';\nconst Button = (props) => {\n const handleClick = (e) => {\n if (props.usesDefault != undefined && !props.usesDefault && props.onClick) {\n e.preventDefault();\n }\n props.onClick && props.onClick.call(this, e);\n };\n const handleKeyDown = (e) => {\n if (props.usesDefault != undefined && !props.usesDefault && props.onKeyDown) {\n e.preventDefault();\n }\n props.onKeyDown && props.onKeyDown.call(this, e);\n };\n return (React.createElement(\"button\", { ref: props.reference, onClick: handleClick, onFocus: props === null || props === void 0 ? void 0 : props.onFocus, onKeyDown: handleKeyDown, disabled: props.disabled, className: classNames('button', props.cls, props.className, { loading: props.isLoading }, { full: props.fullWidth }, { inverted: props.inverted }), type: props.type, \"aria-label\": props.ariaLabel, \"aria-expanded\": props.ariaExpanded, \"aria-haspopup\": props.ariaHaspopup, \"aria-controls\": props.ariaControls, \"aria-hidden\": props.ariaHidden, \"aria-pressed\": props.ariaPressed, tabIndex: props.customTabIndex ? props.customTabIndex : undefined, id: props.id, \"data-pressed\": props.pressed }, props.customChildren ? props.children : React.createElement(\"span\", null, props.children)));\n};\nButton.defaultProps = {\n cls: ['button--primary'],\n className: '',\n};\nexport default Button;\n"],"names":["isFocusableInput","wtf","focus","getAllInputs","document","Array","prototype","slice","call","forms","reduce","accumulator","form","concat","filter","findInput","inputs","errors","find","input","name","noop","getInputs","findInput$$1","focusOnFirstError","firstInput","originalSubmit","submit","state","unsubscribe","subscribe","nextState","submitErrors","afterSubmit","_state","Object","keys","length","result","then","props","every","err","className","role","map","e","i","key","toString","RadioGroup","radioGroupItems","useMemo","children","c","__TYPE","isRadioGroupItemComponent","type","labelId","assign","selected","setSelected","groupId","id","defaultProps","RadioGroupItem","inputCentered","disabled","value","onChange","setAnalytics","checked","content","getElementFromHtmlString","htmlString","selector","_a","textVal","div","createElement","innerHTML","querySelector","calculateDateforJP","date","splitted","split","year","pop","days","shift","window","country","splice","join","validateEmail","email","test","capitalizeFirstLetter","string","charAt","toUpperCase","getZeroPadNumber","_number","digits","padStart","getRandomUUID","prefix","_b","uuid","crypto","randomUUID","Math","random","addURLParameter","url","param","paramVal","indexOf","addURLParameters","baseUrl","queryParams","newUrl","entries","siteUrl","urlName","params","siteUrls","t","loggedin","href","title","saved","currentSection","useRef","saveBanner","useEffect","current","ref","tabIndex","short","isShort","titleAction","isTitleMarkup","index","store","StoreAddress","hidename","useTranslation","countrySelect","setCountrySelect","useState","citySelect","setCitySelect","storesByCity","setStoresByCity","mapZoom","setMapZoom","mapCenter","setMapCenter","stores","setStores","storeFilter","setStoreFilter","storesSlotType","setStoresSlotType","countries","setCountries","loadingCities","setLoadingCities","mapEl","cities","storesFilterArray","includes","ID","Set","city","resetFields","personalizationReason","Number","initialValues","reason","updateCountries","liveBoutique","google","maps","LatLng","latitude","longitude","storeFiltered","selectStore","filteredStore","mutator","storeid","countrySelectLabel","el","localizedLabel","localizedCountryname","async","reasonValue","api","data","selectedCountry","reasonSelect","appointmentType","arr","code","storeFilterArray","Store","initialCity","updateStores","availableSlotsTypes","availableSlotTypes","setAvailableSlotTypes","onSelect","onSelectCity","pickupStores","virtualAppointment","DwFormField","requiredLabel","def","formdef","target","options","label","noStoresMessage","useCallback","countryname","location","showmap","mapContainerStyle","width","height","center","zoom","onLoad","streetViewControl","mapTypeControl","maxZoom","styles","maputils","position","lat","lng","icon","mapmarker","replace","hideTitle","isJp","insideHideTitle","classNames","renderFirstname","autocomplete","readonly","renderLastname","renderNames","_c","_d","requestSent","renderThankYouTitle","formutils","firstname","surname","lastname","BAAContent","footer","MyAccountSection","appointmentresponse","booking","StoreGetDirections","showdirections","showmail","showphone","phonePrefix","phone","p","hour","manageappointmenturl","focusOnError","BookAnAppointmentForm","setRequestSent","setAppointmentresponse","setFormdef","setInitialValues","setErrors","setDays","setStore","setAppointmentType","collections","setCollections","appointmentSection","setResetFields","loginOpen","setLoginOpen","setReasonSelect","lastArg","isMounted","val","appointmenttype","mbmContactReason","o","storeServices","personalizationRoom","recipeid","size","useLayoutEffect","scroll","top","validate","values","onSubmit","undefined","prefillValues","different","forEach","valKey","error","SCROLL_SELECTOR","variant","scrollIntoView","behavior","inline","ClientServiceSection","introSection","active","decorators","mutators","global","resetHours","args","utils","changeValue","render","handleSubmit","submitting","groupClassName","onClick","change","faf","appmode","isClothing","virtualAppointmentEnabled","ProductBoutiqueSelected","onArrowBack","BookAnAppointmentDateSelection","BookAnAppointmentReasonMessage","DwFormFieldPhoneWithPrefix","uniqueLabel","hideValidTick","SubmitButton","fullWidth","ErrorBox","dangerouslySetInnerHTML","__html","getElementById","Button","LoginModal","inCart","reloadPageRegisteredInStore","modalStatus","analyticsKey","updateStatus","status","description","buttonLink","buttonText","borderBottom","buttonAction","noMargin","noPadding","textHolder","renderTitle","cls","ModalDrawer","ModalDialog","isMobile","open","setOpen","openRegister","setOpenRegister","forceReload","setForceReload","ModalComponent","drawer","modalProps","a11yBar","hideContentLabel","contentLabel","fullHeight","image","globalstaticurl","incontext","subtitle","linkreload","reload","hideElements","slots","sociallogintext","emailbottomtext","passwordheading","inWishlist","ariaHaspopup","Suspense","fallback","isOpen","onRequestClose","visuallyhidden","defaultRegister","closeModal","onBack","from","updateLoggeedStatus","componentContext","rememberme","inAccountMenu","getReflowValue","documentHeight","innerHeight","visualViewport","mediaQueries","mqObj","breakpoint","setBreakpoint","documentWidth","innerWidth","filtered","getInitialBreakpointValue","breakpointHeight","setBreakpointHeight","isTouch","setIsTouch","firstRender","PointerEvent","navigator","maxTouchPoints","matchMedia","matches","TouchEvent","handleResize","throttle","currentBr","getCurrentBreakpoint","currentHBr","addEventListener","removeEventListener","isTightMobile","xs","lg","isTablet","sm","isSmallDesktop","md","isDesktop","isWideDesktop","xxl","isReflow","reference","usesDefault","preventDefault","onFocus","onKeyDown","loading","isLoading","full","inverted","ariaLabel","ariaExpanded","ariaControls","ariaHidden","ariaPressed","customTabIndex","pressed","customChildren"],"sourceRoot":""}