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BAAoB,OAAQ,CAAEA,UAAW,QACrC,gBAAoB,WAAgB,KACb,oBAAnB5C,EAAM+b,WAAmC9Z,EAAE,mCACxB,OAAnBjC,EAAM+b,WAAsB,gBAAoB,SAAU,MAAOX,aAAqD,EAASA,EAAcY,OAAS/Z,EAAE,gCAAkCA,EAAE,8BACpM,gBAAoB,EAAAuC,SAAU,CAAEC,SAAU,gBAAoB,WAAgB,QAAU2W,aAAqD,EAASA,EAAcY,QAAW,gBAAoBb,EAAY,CAAEY,UAAW,cAAeE,YAAY,EAAMC,YAAaR,EAAWS,aAAeC,GAAWT,EAAaS,GAASC,WAAYpa,EAAE,mCAAoCqa,YAAa,+BAAkC,C","sources":["webpack:///./assets/common/src/components/aftercare/ColorAndSize.tsx","webpack:///./assets/common/src/components/utils/ThronVideo.tsx","webpack:///./assets/common/src/ui/modal/ModalDialog.tsx","webpack:///./assets/common/src/utils/constants.ts","webpack:///./assets/common/src/utils/imageutils.ts","webpack:///./assets/common/src/utils/useBreakpoint.ts","webpack:///./assets/moncler/src/components/bag/BagItemPreorderinfo.tsx","webpack:///./assets/moncler/src/components/mbm/MbmNotifyMeModal.tsx","webpack:///./assets/moncler/src/components/minibag/MiniBagItem.tsx","webpack:///./assets/moncler/src/components/product/ProductGalleryImage.tsx","webpack:///./assets/moncler/src/components/product/ProductGallery.tsx","webpack:///./assets/moncler/src/components/routerTransitions/useAnimatedImage.tsx","webpack:///./assets/moncler/src/components/product/ProductImage.tsx","webpack:///./assets/moncler/src/components/product/ProductImageButton.tsx","webpack:///./assets/moncler/src/components/product/ProductVideo.tsx","webpack:///./assets/moncler/src/components/product/ShippingDisclaimer.tsx"],"sourcesContent":["import React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst ColorAndSize = (props) => {\n    var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7;\n    const { t } = useTranslation();\n    if (props.type == 'inline') {\n        if (props.invertElements)\n            return (React.createElement(React.Fragment, null,\n                ((_c = (_b = (_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.variationAttributes) === null || _b === void 0 ? void 0 : _b.find((v) => v.id == 'size')) === null || _c === void 0 ? void 0 : _c.displayValue) || ((_d = props === null || props === void 0 ? void 0 : props.item) === null || _d === void 0 ? void 0 : _d.localizedSize),\n                ((_g = (_f = (_e = props === null || props === void 0 ? void 0 : props.item) === null || _e === void 0 ? void 0 : _e.variationAttributes) === null || _f === void 0 ? void 0 : _f.find((v) => v.id == 'color')) === null || _g === void 0 ? void 0 : _g.displayValue) || ((_h = props === null || props === void 0 ? void 0 : props.item) === null || _h === void 0 ? void 0 : _h.localizedColor),\n                \",\"));\n        return (React.createElement(React.Fragment, null,\n            ((_l = (_k = (_j = props === null || props === void 0 ? void 0 : props.item) === null || _j === void 0 ? void 0 : _j.variationAttributes) === null || _k === void 0 ? void 0 : _k.find((v) => v.id == 'color')) === null || _l === void 0 ? void 0 : _l.displayValue) || ((_m = props === null || props === void 0 ? void 0 : props.item) === null || _m === void 0 ? void 0 : _m.localizedColor),\n            \",\",\n            ((_q = (_p = (_o = props === null || props === void 0 ? void 0 : props.item) === null || _o === void 0 ? void 0 : _o.variationAttributes) === null || _p === void 0 ? void 0 : _p.find((v) => v.id == 'size')) === null || _q === void 0 ? void 0 : _q.displayValue) || ((_r = props === null || props === void 0 ? void 0 : props.item) === null || _r === void 0 ? void 0 : _r.localizedSize)));\n    }\n    if (props.invertElements)\n        return (React.createElement(React.Fragment, null,\n            React.createElement(\"p\", { className: \"option-product__color\" },\n                React.createElement(\"span\", { className: \"option-product__label\" }, t('label.color')),\n                \":\",\n                ' ',\n                ((_u = (_t = (_s = props === null || props === void 0 ? void 0 : props.item) === null || _s === void 0 ? void 0 : _s.variationAttributes) === null || _t === void 0 ? void 0 : _t.find((v) => v.id == 'color')) === null || _u === void 0 ? void 0 : _u.displayValue) || ((_v = props === null || props === void 0 ? void 0 : props.item) === null || _v === void 0 ? void 0 : _v.localizedColor)),\n            React.createElement(\"p\", { className: \"option-product__size\" },\n                React.createElement(\"span\", { className: \"option-product__label\" },\n                    t('label.size'),\n                    \":\"),\n                ' ',\n                ((_y = (_x = (_w = props === null || props === void 0 ? void 0 : props.item) === null || _w === void 0 ? void 0 : _w.variationAttributes) === null || _x === void 0 ? void 0 : _x.find((v) => v.id == 'size')) === null || _y === void 0 ? void 0 : _y.displayValue) || ((_z = props === null || props === void 0 ? void 0 : props.item) === null || _z === void 0 ? void 0 : _z.localizedSize))));\n    return (React.createElement(React.Fragment, null,\n        React.createElement(\"p\", { className: \"option-product__size\" },\n            React.createElement(\"span\", { className: \"option-product__label\" },\n                t('label.size'),\n                \":\"),\n            ' ',\n            ((_2 = (_1 = (_0 = props === null || props === void 0 ? void 0 : props.item) === null || _0 === void 0 ? void 0 : _0.variationAttributes) === null || _1 === void 0 ? void 0 : _1.find((v) => v.id == 'size')) === null || _2 === void 0 ? void 0 : _2.displayValue) || ((_3 = props === null || props === void 0 ? void 0 : props.item) === null || _3 === void 0 ? void 0 : _3.localizedSize)),\n        React.createElement(\"p\", { className: \"option-product__color\" },\n            React.createElement(\"span\", { className: \"option-product__label\" }, t('label.color')),\n            \":\",\n            ' ',\n            ((_6 = (_5 = (_4 = props === null || props === void 0 ? void 0 : props.item) === null || _4 === void 0 ? void 0 : _4.variationAttributes) === null || _5 === void 0 ? void 0 : _5.find((v) => v.id == 'color')) === null || _6 === void 0 ? void 0 : _6.displayValue) || ((_7 = props === null || props === void 0 ? void 0 : props.item) === null || _7 === void 0 ? void 0 : _7.localizedColor))));\n};\nexport default ColorAndSize;\n","import classNames from 'classnames';\nimport React, { useEffect, useRef, useState } from 'react';\nimport ThronIntegrationComponent from './../../scripts/components/thronIntegrationComponent';\nconst ThronVideo = (props) => {\n    const videoRef = useRef();\n    const [thronComponent, setThronComponent] = useState(null);\n    useEffect(() => {\n        if (videoRef.current) {\n            if (thronComponent) {\n                thronComponent.changeContent(props.thronID);\n            }\n            else {\n                const options = {};\n                props.onPauseCallback && (options.onPauseCallback = props.onPauseCallback);\n                props.onPlayCallback && (options.onPlayCallback = props.onPlayCallback);\n                props.onCompleteCallback && (options.onCompleteCallback = props.onCompleteCallback);\n                props.onInitCallback && (options.onInitCallback = props.onInitCallback);\n                props.onTimeUpdate && (options.onTimeUpdate = props.onTimeUpdate);\n                typeof props.loopTimes === 'number' && (options.loopTimes = props.loopTimes);\n                const newThronComponent = new ThronIntegrationComponent(videoRef.current, options);\n                setThronComponent(newThronComponent);\n            }\n        }\n    }, [props.thronID]);\n    return (React.createElement(\"div\", { ref: videoRef, \"aria-hidden\": \"true\", className: classNames('video-wrapper', props.className), \"data-option-id\": props.thronID, \"data-option-mobile-id\": props === null || props === void 0 ? void 0 : props.thronMobileID, \"data-option-muted\": props.muted, \"data-option-autoplay\": props.autoplay, \"data-option-loop\": props.loop, \"data-option-lock-bitrate\": props.lockBitrate, \"data-option-no-skin\": props.noskin, \"data-option-sess-id\": props.sessionId }));\n};\nexport default ThronVideo;\n","import React, { Suspense } from 'react';\nimport { autoChooseComponent } from '@common/utils/brandDiffsUtils';\nconst StoneModalDialog = React.lazy(() => import('@stone/components/modal/ModalDialog'));\nconst MocnclerModalDialog = React.lazy(() => import('@moncler/components/modal/ModalDialog'));\nconst ModalDialog = (props) => {\n    return (React.createElement(Suspense, { fallback: React.createElement(React.Fragment, null) }, autoChooseComponent({\n        MO: React.createElement(MocnclerModalDialog, Object.assign({}, props)),\n        ST: React.createElement(StoneModalDialog, Object.assign({}, props, { isLegacy: true })),\n    })));\n};\nexport default ModalDialog;\n","export const chat = {\n    zendesk: 'zendesk',\n    sprinklr: 'sprinklr',\n    none: 'none',\n};\nexport const BAA = {\n    REASONS: {\n        PERSONALIZATION: 552250004,\n        DISCOVERCOLLECTION: 552250000,\n    },\n    APPOINTMENT: {\n        INSTORE: 552250000,\n        VIRTUAL: 552250001,\n        CARAVAN: 552250002,\n    },\n    TREBASELEGHE: {\n        SELF: 'myself',\n        GUEST: 'guest',\n    },\n};\nexport const menu = {\n    overlay: {\n        timeout: 200,\n    },\n};\nexport const freeExpressShippingCustomerGroup = 'FreeExpressShippingForNewMembers';\nexport const contactFormId = 'contact-form';\n","import slugify from 'slugify';\nimport { getId } from './brandDiffsUtils';\nconst imageutils = {\n    // res: {\n    //   HIRES: { width: 1571, height: 2000 },\n    //   LG: { width: 1024, height: 1304 },\n    //   MD: { width: 768, height: 977 },\n    //   SM: { width: 360, height: 458 },\n    //   XS: { width: 73, height: 93 },\n    //   XXS: { width: 15, height: 19 },\n    // },\n    transform: function (url, size, alt, quality, format) {\n        if (!url) {\n            return url;\n        }\n        if (url.indexOf('thron') > -1) {\n            let name = alt ? slugify(alt, { remove: /[*+~.()'\"!:@/]/g, lower: true }) : 'image';\n            let fullurl = url.replace(/\\/0x0\\/.*/, `/${size.width}x${size.height}/${name}.jpg`);\n            let params = [];\n            params.push(['scalemode', 'centered']);\n            params.push(['adjustcrop', 'reduce']);\n            const imgQuality = quality || window.imagequality;\n            if (imgQuality > 0) {\n                params.push(['quality', imgQuality]);\n            }\n            if (format === 'avif' && window.avifsupported) {\n                params.push(['format', 'avif']);\n            }\n            else if (window.webpsupported) {\n                params.push(['format', 'WEBP']);\n            }\n            if (params.length > 0) {\n                fullurl = fullurl + '?' + params.map((i) => i[0] + '=' + i[1]).join('&');\n            }\n            return fullurl;\n        }\n        if (url.includes('fluidconfigure')) {\n            return `${url}?width=${size.width}&height=${size.height}`;\n        }\n        return `${url}?sw=${size.width}&sh=${size.height}`;\n    },\n    hires: function (url, alt) {\n        return this.transform(url, HIRES, alt);\n    },\n    large: function (url, alt) {\n        return this.transform(url, LG, alt);\n    },\n    medium: function (url, alt) {\n        return this.transform(url, MD, alt);\n    },\n    small: function (url, alt) {\n        return this.transform(url, SM, alt);\n    },\n    extraSmall: function (url, alt) {\n        return this.transform(url, XS, alt);\n    },\n};\nexport default imageutils;\n// let aspectratio = 2000 / 1571; // oldimages\nlet aspectratio = {\n    MO: 2880 / 1920,\n    ST: 2880 / 2160,\n};\nconst size = (width) => {\n    return {\n        width: width,\n        height: Math.round(width * aspectratio[getId()]),\n    };\n};\nexport const HIRES = size(1571);\nexport const LG = size(1024);\nexport const MD = size(768);\nexport const SM = size(360);\nexport const XS = size(73);\nexport const XXS = size(30); // servirà per il lazyloading\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({ '<xs': 0 }, window.mqObj);\nconst useBreakpoint = () => {\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 BagItem = (props) => {\n    var _a, _b;\n    const { t } = useTranslation();\n    return (React.createElement(\"div\", { className: \"col-12 bag-product__preorderinfo\" },\n        React.createElement(\"p\", { dangerouslySetInnerHTML: { __html: t('order.preorderinfotitle') } }),\n        React.createElement(\"p\", { className: \"bag-product__preorderinfo__subtitle\", dangerouslySetInnerHTML: { __html: t('order.preorderinfosubtitle') } }),\n        React.createElement(\"p\", { className: \"bag-product__preorderinfo__text\", dangerouslySetInnerHTML: { __html: t('order.preorderinfotext', { date: (_a = props.item.availability) === null || _a === void 0 ? void 0 : _a.inStockDate, currency: props.item.price.sales.currency }) } }),\n        window.preordertoken && (React.createElement(\"p\", { className: \"bag-product__preorderinfo__text\", dangerouslySetInnerHTML: { __html: t('order.preorderinfotoken', { date: (_b = props.item.availability) === null || _b === void 0 ? void 0 : _b.inStockDate, currency: props.item.price.sales.currency }) } }))));\n};\nexport default BagItem;\n","import ErrorBox from '@components/common/ErrorBox';\nimport Button from '@ui/button/Button';\nimport DwFormField from '@ui/formfield/DwFormField';\nimport ModalDialog from '@ui/modal/ModalDialog';\nimport analytics from '@utils/analytics';\nimport api from '@utils/api';\nimport formutils from '@utils/formutils';\nimport createDecorator from 'final-form-focus';\nimport React, { useEffect, useRef, useState } from 'react';\nimport { Form } from 'react-final-form';\nimport { useTranslation } from 'react-i18next';\nconst focusOnError = createDecorator(); // must be outside the component\nconst MbmNotifyMeModal = (props) => {\n    var _a;\n    const { t } = useTranslation();\n    const [formdef, setFormdef] = useState();\n    const [initialValues, setInitialValues] = useState();\n    const [requestSent, setRequestSent] = useState();\n    const [errors, setErrors] = useState([]);\n    // non renderizzare la modale all'apertura della pagina, non fare chiamate se non aperta\n    const firstRender = useRef(true);\n    useEffect(() => {\n        if (props.isOpen && firstRender.current) {\n            firstRender.current = false;\n            let val = {};\n            api.getForm('email', val).then((data) => {\n                setInitialValues(val);\n                setFormdef(data);\n            });\n        }\n    }, [props.isOpen]);\n    const validate = async (values) => {\n        return await formutils.validateForm(values, formdef, 'email');\n    };\n    const onSubmit = async (values) => {\n        setErrors([]);\n        let err = await validate(values);\n        if (err && Object.keys(err).length > 0) {\n            return err;\n        }\n        api.mbmNotifymeSubmit(values, formdef).then((data) => {\n            if (!data.success) {\n                setErrors([t(data === null || data === void 0 ? void 0 : data.message)]);\n            }\n            else {\n                let errors = {};\n                if (!formutils.checkValidationAfterSubmit(data, errors)) {\n                    return errors;\n                }\n                analytics.notifyMeSubmit('', props.productId, 'pdp', true);\n                setRequestSent(values);\n            }\n        });\n    };\n    if (!formdef) {\n        return React.createElement(React.Fragment, null);\n    }\n    return (React.createElement(ModalDialog, { hideHeader: true, noPadding: true, isOpen: props.isOpen, onRequestClose: props.onRequestClose, id: \"mbmNotifymeModal\" },\n        React.createElement(\"div\", { className: \"product-mbm-notify\" },\n            ((props === null || props === void 0 ? void 0 : props.imgs) || (props === null || props === void 0 ? void 0 : props.img)) && (React.createElement(\"div\", { className: \"mbm-notify-image\" },\n                React.createElement(\"img\", { src: (props === null || props === void 0 ? void 0 : props.img) || (props === null || props === void 0 ? void 0 : props.imgs.urls[0]), alt: ((_a = props === null || props === void 0 ? void 0 : props.imgs) === null || _a === void 0 ? void 0 : _a.alt) || '' }))),\n            requestSent ? (React.createElement(React.Fragment, null,\n                React.createElement(\"h3\", { role: \"alert\", className: \"primary-m text-center mb-32\" }, t('mbm.notifyconfirmtitle')),\n                React.createElement(\"p\", { className: \"primary-s text-center\", dangerouslySetInnerHTML: { __html: t('mbm.notifyconfirmtext') } }),\n                React.createElement(\"div\", { className: \"mbm-finish__buttons\" },\n                    React.createElement(Button, { type: \"button\", cls: ['button--secondary'], onClick: () => {\n                            if (props === null || props === void 0 ? void 0 : props.inConfigurator) {\n                                if (props === null || props === void 0 ? void 0 : props.backToShopping) {\n                                    window.location.href = props === null || props === void 0 ? void 0 : props.backToShopping;\n                                }\n                                else {\n                                    window.location.href = window.homeurl;\n                                    // history.back();\n                                }\n                            }\n                            else {\n                                props.onRequestClose();\n                            }\n                        } }, t('button.backtoshopping')),\n                    (props === null || props === void 0 ? void 0 : props.editLink) ? (React.createElement(\"a\", { href: props === null || props === void 0 ? void 0 : props.editLink, className: \"button button--primary\" },\n                        React.createElement(\"span\", null, t('mbm.configureyour')))) : (React.createElement(Button, { type: \"button\", cls: ['button--primary'], onClick: props.onRequestClose }, t('mbm.configureyour')))))) : (React.createElement(React.Fragment, null,\n                React.createElement(\"h3\", { className: \"primary-m text-center mb-32\" }, t('mbm.notifytitle')),\n                React.createElement(\"p\", { className: \"primary-s text-center mbm-notify-text\" }, t('mbm.notifytext')),\n                React.createElement(Form, { onSubmit: onSubmit, initialValues: initialValues, decorators: [focusOnError], validate: (values) => validate(values), render: ({ handleSubmit, form, submitting, pristine, values }) => (React.createElement(\"form\", { onSubmit: handleSubmit },\n                        React.createElement(DwFormField, { def: formdef, name: \"email\" }),\n                        React.createElement(Button, { type: \"submit\", disabled: submitting, cls: ['button--primary'] }, t('button.mbmoos')))) }),\n                React.createElement(ErrorBox, { errors: errors }))))));\n};\nexport default MbmNotifyMeModal;\n","import ColorAndSize from '@common/components/aftercare/ColorAndSize';\nimport BagItemPreorderinfo from '@moncler/components/bag/BagItemPreorderinfo';\nimport MbmNotifyMeModal from '@moncler/components/mbm/MbmNotifyMeModal';\nimport analytics from '@utils/analytics';\nimport api from '@utils/api';\nimport { SM } from '@utils/imageutils';\nimport React, { useCallback, useState, useEffect } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport customEventBus from '@common/scripts/libs/eventBus';\nimport ProductImage from '@moncler/components/product/ProductImage';\nimport ProductGallery from '@moncler/components/product/ProductGallery';\nimport ProductImageButton from '@moncler/components/product/ProductImageButton';\nconst MiniBagItem = (props) => {\n    var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;\n    const { t } = useTranslation();\n    const [mbmNotify, setMbmNotify] = useState(false);\n    const [galleryIsOpen, setGalleryIsOpen] = useState(false);\n    const [media, setMedia] = useState([]);\n    useEffect(() => {\n        var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;\n        if (((_b = (_a = props.item) === null || _a === void 0 ? void 0 : _a.imgs) === null || _b === void 0 ? void 0 : _b.urls) && ((_d = (_c = props.item) === null || _c === void 0 ? void 0 : _c.imgs) === null || _d === void 0 ? void 0 : _d.urls.length) > 0) {\n            let newMedia = (_f = (_e = props.item) === null || _e === void 0 ? void 0 : _e.imgs) === null || _f === void 0 ? void 0 : _f.urls.map((el) => el);\n            // exclude F duplicate of R on standard PDP\n            newMedia = newMedia.filter((el) => !el.includes('_F'));\n            if ((_g = props.item) === null || _g === void 0 ? void 0 : _g.videos) {\n                for (const [key, value] of Object.entries((_h = props.item) === null || _h === void 0 ? void 0 : _h.videos)) {\n                    newMedia.splice(parseInt(key), 0, value);\n                }\n            }\n            // aggiunngo, se presenti, i media del MBM\n            if (((_l = (_k = (_j = props.item) === null || _j === void 0 ? void 0 : _j.mbm) === null || _k === void 0 ? void 0 : _k.palettes) === null || _l === void 0 ? void 0 : _l.length) > 0) {\n                newMedia = newMedia.concat(props.item.mbm.palettes.map((el) => { var _a; return `palette_${el.productVideo || ((_a = el === null || el === void 0 ? void 0 : el.productImage) === null || _a === void 0 ? void 0 : _a.path)}`; }));\n            }\n            setMedia(newMedia.map((el) => (el.startsWith('palette_') ? el.substring(8) : el)));\n        }\n    }, [(_b = (_a = props.item) === null || _a === void 0 ? void 0 : _a.imgs) === null || _b === void 0 ? void 0 : _b.urls, (_d = (_c = props.item) === null || _c === void 0 ? void 0 : _c.mbm) === null || _d === void 0 ? void 0 : _d.palettes]);\n    const removeFromBag = useCallback(() => {\n        const pid = props.item.id;\n        const uuid = props.item.lineUUID;\n        analytics.removeitem(props.item);\n        api.removeFromBag(pid, uuid).then(() => props.onRemove());\n    }, [props.item]);\n    const [showDeliveryLimitations, setShowDeliveryLimitations] = useState(false);\n    const moveToWishlist = useCallback(() => {\n        var _a, _b, _c;\n        if (window.loggedin || !((_a = props.item) === null || _a === void 0 ? void 0 : _a.isMbm)) {\n            api.addToWishlist(props.item.id, (_c = (_b = props.item) === null || _b === void 0 ? void 0 : _b.mbm) === null || _c === void 0 ? void 0 : _c.recipeId).then((data) => {\n                var _a, _b;\n                customEventBus.emit('account:update', { wishlistIds: data.items });\n                customEventBus.emit('wishlist:update', { wishlistIds: data.items });\n                (props === null || props === void 0 ? void 0 : props.updateWishlist) && props.updateWishlist(data.items.length);\n                analytics.saveForLaterAddToWishlist(props.item, (_b = (_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.analyticsAttributes) === null || _b === void 0 ? void 0 : _b.dimension36);\n                analytics.removeitem(props.item);\n                analytics.wishlistInteraction(props.item.id, 'mini bag');\n            });\n            const pid = props.item.id;\n            const uuid = props.item.lineUUID;\n            api.removeFromBag(pid, uuid).then(() => props.onRemove());\n        }\n        else {\n            props.showLoginModal();\n        }\n    }, [props.item]);\n    const moveGiftCardToWishlist = useCallback(() => {\n        var _a, _b;\n        if (!((_a = props.item) === null || _a === void 0 ? void 0 : _a.isGiftCard))\n            return;\n        if (window.loggedin || !((_b = props.item) === null || _b === void 0 ? void 0 : _b.isMbm)) {\n            api.moveToWishlist(props.item.lineUUID).then((data) => {\n                customEventBus.emit('account:update', { wishlistIds: data.items });\n                customEventBus.emit('wishlist:update', { wishlistIds: data.items });\n                (props === null || props === void 0 ? void 0 : props.updateWishlist) && props.updateWishlist(data.items.length);\n                props.onRemove && props.onRemove();\n            });\n        }\n        else {\n            props.showLoginModal();\n        }\n    }, [props.item]);\n    return (React.createElement(\"li\", { className: \"minibag__productcontainer\" },\n        React.createElement(\"div\", { className: \"minibag__product\", \"data-bagid\": props.item.id, tabIndex: -1 },\n            React.createElement(\"div\", { className: \"minibag__product__image\", \"aria-hidden\": \"true\", style: { opacity: ((_e = props.item.availability) === null || _e === void 0 ? void 0 : _e.isOutOfStock) ? 0.5 : undefined } }, props.inOrderSummary ? (\n            // <ProductImage img={props.item.imgs} sizes={[SM]} type=\"F\" tiletype={props.item?.isMbm ? 'mbm' : ''} />\n            React.createElement(React.Fragment, null,\n                React.createElement(ProductImageButton, { onImageClick: () => setGalleryIsOpen(0), clicked: true, ariaLabel: t('button.openProductGallery', { productName: (_g = (_f = props.item) === null || _f === void 0 ? void 0 : _f.imgs) === null || _g === void 0 ? void 0 : _g.alt, index: 0, total: media.length }) },\n                    React.createElement(ProductImage, { img: props.item.imgs, sizes: [SM], type: \"F\", tiletype: ((_h = props.item) === null || _h === void 0 ? void 0 : _h.isMbm) ? 'mbm' : '' })),\n                React.createElement(ProductGallery, { isOpen: galleryIsOpen, onRequestClose: () => setGalleryIsOpen(false), product: props.item, media: media, showPDPLink: true }))) : (React.createElement(\"a\", { className: \"text-decoration-none\", href: props.item.productUrl },\n                React.createElement(ProductImage, { img: props.item.imgs, sizes: [SM], type: \"F\", tiletype: ((_j = props.item) === null || _j === void 0 ? void 0 : _j.isMbm) ? 'mbm' : '' })))),\n            React.createElement(\"div\", { className: \"minibag__product__content\" },\n                React.createElement(\"div\", { className: \"minibag__product__columns\" },\n                    React.createElement(\"div\", { className: \"minibag__product__title\" },\n                        props.inOrderSummary ? (React.createElement(\"h3\", null, props.item.productName)) : (React.createElement(\"a\", { className: \"text-decoration-none\", href: props.item.productUrl },\n                            React.createElement(\"h3\", null, props.item.productName))),\n                        !props.item.isGiftCard && (React.createElement(\"div\", { className: \"minibag__product__info\" },\n                            !props.onRemove && (React.createElement(\"p\", { className: \"option-product__quantity\" },\n                                t('bag.quantity'),\n                                \": \",\n                                props.item.quantity)),\n                            ((_k = props.item) === null || _k === void 0 ? void 0 : _k.isParfum) ? (React.createElement(\"p\", { className: \"option-product__size\" },\n                                t('label.format'),\n                                \" \", (_m = (_l = props.item) === null || _l === void 0 ? void 0 : _l.parfumAttributes.productFamily.find((el) => el.id == props.item.id)) === null || _m === void 0 ? void 0 :\n                                _m.format)) : (React.createElement(ColorAndSize, { item: props.item, invertElements: true }))))),\n                    React.createElement(\"p\", { className: \"minibag__product__price\" }, (_q = (_p = (_o = props.item) === null || _o === void 0 ? void 0 : _o.price) === null || _p === void 0 ? void 0 : _p.sales) === null || _q === void 0 ? void 0 :\n                        _q.formatted,\n                        ((_s = (_r = props.item) === null || _r === void 0 ? void 0 : _r.availability) === null || _s === void 0 ? void 0 : _s.isOutOfStock) && React.createElement(\"small\", { className: \"minibag__product__label--outofstock\" }, t('product.notavailable')),\n                        ((_u = (_t = props.item) === null || _t === void 0 ? void 0 : _t.availability) === null || _u === void 0 ? void 0 : _u.preorder) && React.createElement(\"small\", { className: \"minibag__product__label--preorder\" }, t('button.preorder')))),\n                !!props.onRemove && (React.createElement(React.Fragment, null,\n                    React.createElement(\"div\", { className: \"minibag__product__actions\" },\n                        React.createElement(\"button\", { className: \"cta cta--saveforlater\", onClick: ((_v = props === null || props === void 0 ? void 0 : props.item) === null || _v === void 0 ? void 0 : _v.isGiftCard) ? moveGiftCardToWishlist : moveToWishlist }, t('app.wishlist.add')),\n                        React.createElement(\"p\", { className: \"minibag__product__actions__qty\" },\n                            t('bag.quantity'),\n                            \": \",\n                            props.item.quantity)),\n                    React.createElement(\"div\", { className: \"remove-container-btn\" },\n                        React.createElement(\"button\", { className: \"cta cta--remove\", onClick: removeFromBag }, t('button.remove'))))))),\n        ((_w = props.item) === null || _w === void 0 ? void 0 : _w.isMbm) && !props.item.available && (React.createElement(React.Fragment, null,\n            React.createElement(\"div\", { className: \"bag-disclaimer\" },\n                React.createElement(\"button\", { type: 'button', onClick: () => setMbmNotify(true), dangerouslySetInnerHTML: { __html: t('mbm.highdemandshort') } })),\n            React.createElement(MbmNotifyMeModal, { isOpen: mbmNotify, onRequestClose: () => setMbmNotify(false), imgs: props.item.imgs, editLink: (_y = (_x = props.item) === null || _x === void 0 ? void 0 : _x.mbm) === null || _y === void 0 ? void 0 : _y.editurl }))),\n        ((_z = props.item) === null || _z === void 0 ? void 0 : _z.isMbm) && (React.createElement(\"div\", { className: \"col-12 minibag__product__no_refundable\" },\n            React.createElement(\"p\", { className: \"mb-12\", dangerouslySetInnerHTML: { __html: t('mbm.itemnotreturnable', { 0: props === null || props === void 0 ? void 0 : props.faqurl }) } }),\n            props.inOrderSummary && React.createElement(\"p\", { dangerouslySetInnerHTML: { __html: t('mbm.itemdisclaimer', { 0: props === null || props === void 0 ? void 0 : props.urllegalareareturn }) } }))),\n        props.item.isParfum && (React.createElement(\"div\", { className: \"col-12 minibag__product__no_refundable\" }, (props === null || props === void 0 ? void 0 : props.hazardNotShippable) ? (React.createElement(React.Fragment, null,\n            React.createElement(\"span\", { dangerouslySetInnerHTML: { __html: t('checkout.shipping.deliveyhazarditem') } }),\n            ' ')) : (React.createElement(\"p\", { className: \"primary-xs\" }, window.isClothing ? t('returns.itemnotreturnableparfumclothing') : t('returns.itemnotreturnableparfum'))))),\n        ((_0 = props.item.availability) === null || _0 === void 0 ? void 0 : _0.preorder) && React.createElement(BagItemPreorderinfo, { item: props.item })));\n};\nexport default MiniBagItem;\n","import classNames from 'classnames';\nimport React, { useCallback, useEffect, useRef, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport PinchZoom, { make3dTransformValue } from 'react-quick-pinch-zoom';\nimport ProductVideo from './ProductVideo';\nlet zoomTimerId;\nconst ProductGalleryImage = (props) => {\n    const { t } = useTranslation();\n    const zoomRef = useRef();\n    const imgRef = useRef();\n    const [isDragging, setIsDragging] = useState(false);\n    const [zoomPos, setZoomPos] = useState({\n        x: 0,\n        y: 0,\n        scale: 1,\n    });\n    const onUpdate = useCallback(({ x, y, scale }) => {\n        const { current: img } = imgRef;\n        if (img) {\n            clearTimeout(zoomTimerId);\n            zoomTimerId = setTimeout(() => {\n                setZoomPos({ x, y, scale });\n            }, 100);\n            const value = make3dTransformValue({ x, y, scale });\n            img.style.setProperty('transform', value);\n        }\n    }, []);\n    const zoomOut = () => {\n        zoomRef === null || zoomRef === void 0 ? void 0 : zoomRef.current.scaleTo({\n            x: window.innerWidth / 2,\n            y: window.innerHeight / 2,\n            scale: zoomPos.scale - 0.5,\n        });\n    };\n    const zoomIn = () => {\n        zoomRef === null || zoomRef === void 0 ? void 0 : zoomRef.current.scaleTo({\n            x: window.innerWidth / 2,\n            y: window.innerHeight / 2,\n            scale: zoomPos.scale + 0.5,\n        });\n    };\n    useEffect(() => {\n        if (props.activateIndex) {\n            zoomPos.scale = 1;\n            document.querySelectorAll('.zoom-img-wrapper').forEach((e) => {\n                let img = e;\n                img.style.removeProperty('transform');\n            });\n        }\n    }, [props.activateIndex]);\n    const hasVideo = () => {\n        return ['_V1', '_V2', '_V3', '_V4', '_V5', '_V6', '_V7', '_V8', '_V9', '_V10'].some((e) => props.media[props.index].includes(e));\n    };\n    return (React.createElement(\"div\", { className: classNames('gallery-wrapper', { scaling: zoomPos.scale > 1 }) }, hasVideo() ? (React.createElement(\"div\", { className: \"gallery-wrapper__video\" },\n        React.createElement(ProductVideo, { url: props.media[props.index], inZoomModal: true }),\n        React.createElement(\"button\", { className: \"product-video-pause\", \"aria-label\": t('button.pause'), \"data-pause\": true, \"aria-pressed\": \"false\" }))) : (React.createElement(React.Fragment, null,\n        React.createElement(\"div\", { className: \"modal__zoom-controls\" },\n            React.createElement(\"button\", { \"aria-label\": t('button.zoomout'), disabled: zoomPos.scale <= 1, className: \"modal__zoom-out\", onClick: zoomOut }),\n            React.createElement(\"span\", { className: \"modal__zoom-scale\" },\n                Math.round(zoomPos.scale * 100),\n                \"%\"),\n            React.createElement(\"button\", { \"aria-label\": t('button.zoomin'), disabled: zoomPos.scale >= 2, className: \"modal__zoom-in\", onClick: zoomIn })),\n        React.createElement(PinchZoom, { ref: zoomRef, onUpdate: onUpdate, maxZoom: 2, minZoom: 1, onDragStart: () => setIsDragging(true), onDragEnd: () => setIsDragging(false) },\n            React.createElement(\"div\", { className: \"zoom-img-wrapper\", ref: imgRef },\n                React.createElement(\"img\", { className: classNames('zoom-image-wrapper', { dragging: isDragging }), src: props.src || props.media[props.index], alt: \"\", loading: \"lazy\" })))))));\n};\nexport default ProductGalleryImage;\n","import ModalDialog from '@ui/modal/ModalDialog';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport SwiperCore, { EffectFade, Keyboard, Navigation, Thumbs, FreeMode, Pagination } from 'swiper';\nimport { Swiper as SwiperInstance, SwiperSlide } from 'swiper/react';\nimport imageutils, { XS, SM, LG, MD } from '@utils/imageutils';\nimport { appPostStructuredMessage } from '@common/utils/appUtils';\nimport ProductGalleryImage from './ProductGalleryImage';\nimport useBreakpoint from '@common/utils/useBreakpoint';\nimport ProductVideo from './ProductVideo';\nimport classNames from 'classnames';\nSwiperCore.use([Keyboard, Navigation, EffectFade, Thumbs, FreeMode, Pagination]);\nconst ProductGallery = (props) => {\n    const { t } = useTranslation();\n    const [swiperInstance, setSwiperInstance] = useState();\n    const [thumbsSwiper, setThumbsSwiper] = useState(null);\n    const [activeIndex, setActiveIndex] = useState(0);\n    const [productUrl, setProductUrl] = useState();\n    const [isBeginning, setIsBeginning] = useState(true);\n    const [isEnd, setIsEnd] = useState(false);\n    const currentBreakpoint = useBreakpoint();\n    const handleClose = () => {\n        setThumbsSwiper(null);\n        props.onRequestClose();\n    };\n    const gapMap = {\n        0: 4.7,\n        375: 4.7,\n        600: 4,\n        1024: 8,\n        1200: 16,\n        1440: 16,\n    };\n    const sizeThumbsMap = {\n        0: XS,\n        375: XS,\n        600: SM,\n        1024: XS,\n        1200: XS,\n        1440: XS,\n    };\n    const sizeMainMap = {\n        0: MD,\n        375: MD,\n        600: MD,\n        1024: LG,\n        1200: LG,\n        1440: LG,\n    };\n    //dev level to debug with video on sandbox\n    // const media: string[] = [\n    //   'https://moncler-cdn.thron.com/delivery/public/video/moncler/H209Z1A00001M2904999_V2/dpx6uv/WEBFULLHD/H209Z1A00001M2904999_V2.mp4',\n    //   'https://moncler-cdn.thron.com/delivery/public/video/moncler/H209Z1A00001M2904999_V1/dpx6uv/WEBFULLHD/H209Z1A00001M2904999_V1.mp4',\n    //   'https://moncler-cdn.thron.com/delivery/public/image/moncler/H209Z1A00001M2904999_X/dpx6uv/std/0x0/H209Z1A00001M2904999_X.jpg',\n    //   'https://staging2.cdn.moncler.ows.farm/on/demandware.static/-/Library-Sites-library-global/default/dw400a89ed/mbm/3-vion-special70-v2.jpg',\n    //   'https://staging2.cdn.moncler.ows.farm/on/demandware.static/-/Library-Sites-library-global/default/dw7335a406/mbm/3-vion-iconic-v2.jpg',\n    //   'https://staging2.cdn.moncler.ows.farm/on/demandware.static/-/Library-Sites-library-global/default/dw7335a406/mbm/3-vion-iconic-v2.jpg',\n    //   'https://staging2.cdn.moncler.ows.farm/on/demandware.static/-/Library-Sites-library-global/default/dw7335a406/mbm/3-vion-iconic-v2.jpg',\n    //   'https://staging2.cdn.moncler.ows.farm/on/demandware.static/-/Library-Sites-library-global/default/dw7335a406/mbm/3-vion-iconic-v2.jpg',\n    // ];\n    const media = props.media;\n    // @ts-ignore\n    const direction = useMemo(() => (currentBreakpoint >= window.mqObj.md ? 'vertical' : 'horizontal'), [currentBreakpoint]);\n    const slides = useMemo(() => {\n        //@ts-ignore -- ignoring breakpoint mismatch\n        return currentBreakpoint >= window.mqObj.md ? 5 : 5.5;\n    }, [currentBreakpoint]);\n    const paginationMessage = t('carousel.paginationbulletmessage');\n    useEffect(() => {\n        var _a, _b;\n        // set productUrl in product gallery Minibag / Bag\n        let variationColor = (_b = (_a = props.product) === null || _a === void 0 ? void 0 : _a.variationAttributes) === null || _b === void 0 ? void 0 : _b.find((va) => va.id === 'color');\n        let selectedValue = variationColor === null || variationColor === void 0 ? void 0 : variationColor.values.find((v) => v.value === variationColor.value);\n        let prodUrl = selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.productUrl;\n        setProductUrl(prodUrl);\n    }, [props.product]);\n    const updateProgressThumb = (swiper) => {\n        setIsBeginning(swiper.isBeginning);\n        setIsEnd(swiper.isEnd);\n    };\n    const appPdPLink = () => {\n        appPostStructuredMessage('pdpLink', { pid: props.product.id });\n    };\n    return (React.createElement(ModalDialog, { noPadding: true, hideHeader: true, className: \"product-zoom-modal focus-inverted\", isOpen: typeof props.isOpen === 'number', onRequestClose: handleClose, contentLabel: \"gallery\", overlayClassName: \"mobile-visible\", onAfterClose: () => {\n            if (props.scrollHeight) {\n                window.scrollTo(0, props.scrollHeight);\n            }\n        } },\n        props.showPDPLink &&\n            (window.appmode ? (React.createElement(\"button\", { type: \"button\", className: \"product-gallery__link\", onClick: appPdPLink },\n                React.createElement(\"p\", null, t('carousel.gotoproductpage')))) : (React.createElement(\"a\", { href: props.product.productUrl || productUrl, className: \"product-gallery__link\" },\n                React.createElement(\"p\", null, t('carousel.gotoproductpage'))))),\n        React.createElement(SwiperInstance, { onSwiper: (swipr) => {\n                setSwiperInstance(swipr);\n            }, onSlideChange: (swiper) => {\n                setActiveIndex(swiper.activeIndex);\n            }, keyboard: true, direction: direction, navigation: {\n                nextEl: '.carousel-gallery__arrow--arrow-right',\n                prevEl: '.carousel-gallery__arrow--arrow-left',\n            }, mousewheel: {\n                forceToAxis: true,\n                thresholdDelta: 20,\n            }, allowTouchMove: false, className: \"product-zoom swiper-container swiper-container--gallery\", effect: \"fade\", initialSlide: typeof props.isOpen === 'number' ? props.isOpen : 0, speed: 1000, thumbs: { swiper: thumbsSwiper }, loop: true, loopPreventsSlide: false, slidesPerView: 1 }, media === null || media === void 0 ? void 0 : media.map((url, index) => {\n            var _a, _b, _c;\n            return (React.createElement(SwiperSlide, { key: `${(_a = props.product) === null || _a === void 0 ? void 0 : _a.id}${index}` },\n                React.createElement(ProductGalleryImage, { index: index, media: media, activateIndex: activeIndex, src: imageutils.transform(url, sizeMainMap[currentBreakpoint], (_c = (_b = props.product) === null || _b === void 0 ? void 0 : _b.imgs) === null || _c === void 0 ? void 0 : _c.alt, null, 'avif'), isZoom: true }),\n                React.createElement(\"div\", { className: \"swiper-lazy-preloader\" })));\n        })),\n        React.createElement(\"div\", { className: \"product-zoom-thumbs--wrapper\" },\n            currentBreakpoint >= window.mqObj.md && (React.createElement(\"button\", { className: \"product-zoom-thumbs__navbutton product-zoom-thumbs__navbutton-prev\", onClick: () => thumbsSwiper === null || thumbsSwiper === void 0 ? void 0 : thumbsSwiper.slidePrev(), disabled: isBeginning, \"aria-label\": t('carousel.prevslidemessage') })),\n            React.createElement(SwiperInstance, { onSwiper: (swiper) => {\n                    setThumbsSwiper(swiper);\n                    updateProgressThumb(swiper);\n                }, onTransitionStart: updateProgressThumb, onTransitionEnd: updateProgressThumb, watchOverflow: true, spaceBetween: gapMap[currentBreakpoint] || 4, direction: direction, slidesPerView: slides, watchSlidesProgress: true, modules: [Thumbs, FreeMode, Navigation], className: classNames('product-zoom-thumbs swiper-container', { start: isBeginning }, { end: isEnd }), freeMode: { enabled: true, sticky: true }, slideToClickedSlide: true, centerInsufficientSlides: true, grabCursor: true, \n                // loop\n                // loopPreventsSlide={false}\n                threshold: 20 }, media === null || media === void 0 ? void 0 : media.map((url, index) => {\n                var _a;\n                return (React.createElement(SwiperSlide, { key: `${(_a = props.product) === null || _a === void 0 ? void 0 : _a.id}${index}` },\n                    React.createElement(\"button\", { onClick: () => swiperInstance.slideTo(index + 1), className: \"product-zoom-thumbs__thumb-button\", \"data-index\": activeIndex, \"aria-label\": paginationMessage.replace('INDEX_NUMBER', `${index + 1}`) },\n                        url.includes('_V1') ||\n                            url.includes('_V2') ||\n                            url.includes('_V3') ||\n                            url.includes('_V4') ||\n                            url.includes('_V5') ||\n                            url.includes('_V6') ||\n                            url.includes('_V7') ||\n                            url.includes('_V8') ||\n                            url.includes('_V9') ||\n                            url.includes('_V10') ? (React.createElement(ProductVideo, { url: url, isThumb: true })) : (React.createElement(\"img\", { key: url, src: imageutils.transform(url, sizeThumbsMap[currentBreakpoint], ''), alt: \"\", loading: \"lazy\" })),\n                        React.createElement(\"div\", { className: \"swiper-lazy-preloader\" }))));\n            })),\n            currentBreakpoint >= window.mqObj.md && (React.createElement(\"button\", { className: \"product-zoom-thumbs__navbutton product-zoom-thumbs__navbutton-next\", onClick: () => thumbsSwiper === null || thumbsSwiper === void 0 ? void 0 : thumbsSwiper.slideNext(), disabled: isEnd, \"aria-label\": t('carousel.nextslidemessage') })))));\n};\nexport default ProductGallery;\n","import { useEffect } from 'react';\nimport { useAnimatedRouteContext } from './AnimatedRoute';\nconst useAnimatedImage = (productId, el, productUuid) => {\n    const { registerAnimatedImage, unregisterAnimatedImage } = useAnimatedRouteContext();\n    useEffect(() => {\n        if ((productId || productUuid) && el.current) {\n            registerAnimatedImage({\n                el,\n                productId,\n                productUuid,\n            });\n        }\n        return () => {\n            if (productId || productUuid) {\n                unregisterAnimatedImage(productId, productUuid);\n            }\n        };\n    }, [productId, productUuid]);\n};\nexport default useAnimatedImage;\n","import useAnimatedImage from '@moncler/components/routerTransitions/useAnimatedImage';\nimport imageutils, { LG, MD, SM, XS, XXS } from '@utils/imageutils';\nimport classNames from 'classnames';\nimport React, { useMemo, useRef } from 'react';\nimport useBreakpoint from '@utils/useBreakpoint';\nconst defaultSizes = [XXS, XS, SM, MD];\nconst ProductImage = (props) => {\n    var _a;\n    const el = useRef();\n    const image = useMemo(() => {\n        var _a, _b, _c, _d, _e, _f, _g, _h, _j;\n        if (props.index != undefined) {\n            let url = (_b = (_a = props.img) === null || _a === void 0 ? void 0 : _a.urls) === null || _b === void 0 ? void 0 : _b[props.index];\n            if (props.genderImageSorted) {\n                url = (_d = (_c = props.img) === null || _c === void 0 ? void 0 : _c[props.genderImageSorted]) === null || _d === void 0 ? void 0 : _d[props.index];\n            }\n            return url;\n        }\n        if (props.type) {\n            let imageoldsuffix = '_' + props.type + '.';\n            let imagenewsuffix = '_' + props.type + '1.';\n            let img = (_f = (_e = props.img) === null || _e === void 0 ? void 0 : _e.urls) === null || _f === void 0 ? void 0 : _f.find((u) => u && (u.includes(imageoldsuffix) || u.includes(imagenewsuffix)));\n            if (!img && props.type === 'X') {\n                // fallback su F per vecchie immagini\n                img = (_h = (_g = props.img) === null || _g === void 0 ? void 0 : _g.urls) === null || _h === void 0 ? void 0 : _h.find((u) => u && (u.includes('_F.') || u.includes('_F1.')));\n            }\n            if (img) {\n                return img;\n            }\n        }\n        return (_j = props.img) === null || _j === void 0 ? void 0 : _j.urls[0];\n    }, [props.img, props.index, props.type]);\n    // custom hook per animated image - funziona solo se tutti è tre i parametri sono valorizzati e mi trovo dentro AnimatedRoute\n    if (((props === null || props === void 0 ? void 0 : props.index) == 0 || !(props === null || props === void 0 ? void 0 : props.index)) && el && props.animatedImage) {\n        // useAnimatedImage(props.productId, el);\n        useAnimatedImage(props.productId, el, props.productUuid);\n    }\n    const lowResImg = useMemo(() => { var _a; return imageutils.transform(image, XXS, (_a = props.img) === null || _a === void 0 ? void 0 : _a.alt); }, [image]);\n    const currentBreakpoint = useBreakpoint();\n    const hiResImage = useMemo(() => {\n        var _a, _b;\n        if (currentBreakpoint >= window.mqObj.md) {\n            return imageutils.transform(image, LG, (_a = props.img) === null || _a === void 0 ? void 0 : _a.alt, null, 'avif');\n        }\n        else {\n            return imageutils.transform(image, MD, (_b = props.img) === null || _b === void 0 ? void 0 : _b.alt, null, 'avif');\n        }\n    }, [currentBreakpoint, image]);\n    const multipleSrc = useMemo(() => {\n        let srcs = [];\n        (props.sizes || defaultSizes).forEach((sz, i) => {\n            var _a;\n            srcs.push(`${imageutils.transform(image, sz, (_a = props.img) === null || _a === void 0 ? void 0 : _a.alt, props.imgQuality)} ${sz.width}w`);\n        });\n        return srcs.join(', ');\n    }, [image]);\n    const multipleSrcAvif = useMemo(() => {\n        let srcs = [];\n        (props.sizes || defaultSizes).forEach((sz, i) => {\n            var _a;\n            srcs.push(`${imageutils.transform(image, sz, (_a = props.img) === null || _a === void 0 ? void 0 : _a.alt, props.imgQuality, 'avif')} ${sz.width}w`);\n        });\n        return srcs.join(', ');\n    }, [image]);\n    const lazyPosterImg = useMemo(() => {\n        return props.lazyLowRes ? lowResImg : 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==';\n    }, [image]);\n    const altText = useMemo(() => {\n        var _a, _b;\n        const index = (_a = props.seoIndex) !== null && _a !== void 0 ? _a : props.index;\n        return `${props.alt || ((_b = props.img) === null || _b === void 0 ? void 0 : _b.alt)}${index >= 0 ? ` ${index + 1}` : ''}`;\n    }, [image]);\n    const imageElement = (React.createElement(\"picture\", { className: classNames({ lazyload: !props.lazyDisabled }, props.className) },\n        React.createElement(\"source\", Object.assign({}, (!props.lazyDisabled && { ['data-srcset']: multipleSrcAvif }), { srcSet: props.lazyDisabled ? multipleSrcAvif : lazyPosterImg, type: 'image/avif' })),\n        React.createElement(\"source\", Object.assign({}, (!props.lazyDisabled && { ['data-srcset']: multipleSrc }), { srcSet: props.lazyDisabled ? multipleSrc : lazyPosterImg, type: 'image/webp' })),\n        React.createElement(\"img\", { ref: props.ref || el, alt: altText, src: props.lazyDisabled ? hiResImage : lowResImg, \"data-sizes\": \"auto\", \"data-idx\": props.index || 0, className: classNames({ lazyload: !props.lazyDisabled }, props.className), \"data-quality-img\": hiResImage, \n            //width={\"100%\"}\n            height: XXS.height, style: props.style, \"aria-hidden\": (props === null || props === void 0 ? void 0 : props.ariaHidden) != undefined ? props === null || props === void 0 ? void 0 : props.ariaHidden : !!props.alt || !!((_a = props.img) === null || _a === void 0 ? void 0 : _a.alt) })));\n    if (props.onlyImage) {\n        return imageElement;\n    }\n    if (!props.img) {\n        return (React.createElement(\"div\", { className: \"product-image\", \"data-tiletype\": props.tiletype, \"data-type\": props.type },\n            React.createElement(\"img\", { alt: \"\", src: \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkZmD+DwABGwEHEIRMfwAAAABJRU5ErkJggg==\", \"data-idx\": props.index || 0, className: props.className, width: XXS.width, height: XXS.height, style: props.style })));\n    }\n    return (React.createElement(\"div\", { className: \"product-image\", \"data-tiletype\": props.tiletype, \"data-type\": props.type }, imageElement));\n};\nexport default ProductImage;\n","import React from 'react';\nconst ProductImageButton = (props) => {\n    return (React.createElement(\"button\", { className: \"product-image-button\", \"aria-haspopup\": \"dialog\", onClick: (e) => {\n            //Prevent opening the zoom image when play/pause video\n            if (!e.target.classList.contains('product-video-pause')) {\n                //Prevent opening the zoom image when tapping on hotspots\n                if (!e.target.closest('.spott-marker-box'))\n                    props.onImageClick();\n            }\n        }, \"aria-label\": props.ariaLabel }, props.children));\n};\nexport default ProductImageButton;\n","import ThronVideo from '@components/utils/ThronVideo';\nimport classNames from 'classnames';\nimport React, { useEffect, useRef } from 'react';\nimport { useTranslation } from 'react-i18next';\nconst ProductVideo = (props) => {\n    const { t } = useTranslation();\n    const pdpVideoRef = useRef(null);\n    function findElementWithPauseAttribute(videoElement) {\n        let currentElement = videoElement.parentNode;\n        while (currentElement !== document) {\n            const pauseElement = currentElement.querySelector('[data-pause]');\n            if (pauseElement) {\n                return pauseElement;\n            }\n            currentElement = currentElement.parentNode;\n        }\n        return null; // Se non viene trovato nessun elemento con l'attributo data-pause\n    }\n    useEffect(() => {\n        let pauseButton;\n        const onPause = (e) => {\n            const currentButton = e.target;\n            if (currentButton.ariaPressed === 'true') {\n                currentButton.setAttribute('aria-pressed', 'false');\n                if (props.inZoomModal) {\n                    pdpVideoRef.current\n                        .closest('.product-zoom-modal')\n                        .querySelectorAll('.product-zoom-thumbs--wrapper video')\n                        .forEach((v) => {\n                        if (pdpVideoRef.current.src === v.src) {\n                            v.play();\n                        }\n                    });\n                    pdpVideoRef.current.play();\n                }\n                else {\n                    pdpVideoRef.current.play();\n                }\n            }\n            else {\n                currentButton.setAttribute('aria-pressed', 'true');\n                pdpVideoRef.current.pause();\n                if (props.inZoomModal) {\n                    pdpVideoRef.current\n                        .closest('.product-zoom-modal')\n                        .querySelectorAll('.product-zoom-thumbs--wrapper video')\n                        .forEach((v) => {\n                        if (pdpVideoRef.current.src === v.src) {\n                            v.pause();\n                        }\n                    });\n                    pdpVideoRef.current.pause();\n                }\n                else {\n                    pdpVideoRef.current.pause();\n                }\n            }\n        };\n        if (pdpVideoRef.current) {\n            pauseButton = findElementWithPauseAttribute(pdpVideoRef.current);\n            if (pauseButton && !props.isThumb) {\n                pauseButton.addEventListener('click', onPause);\n            }\n        }\n        return () => pauseButton === null || pauseButton === void 0 ? void 0 : pauseButton.removeEventListener('click', onPause);\n    });\n    const videoElement = props.url ? (React.createElement(\"video\", { ref: pdpVideoRef, className: classNames('wrapper-product-video', { 'is-parfum': props.isParfum }), playsInline: true, autoPlay: true, muted: true, loop: true, src: props.url })) : (React.createElement(ThronVideo, { thronID: props.tronID, autoplay: true, muted: true, className: classNames('product-video-wrapper'), sessionId: props.sessionId, lockBitrate: window.lockBitrateProductVideos }));\n    if (props.inGallery) {\n        return (React.createElement(\"div\", { className: \"wrapper-product-video\" },\n            videoElement,\n            !props.isThumb && React.createElement(\"button\", { className: \"product-video-pause\", \"aria-label\": t('button.pause'), \"data-pause\": true, \"aria-pressed\": \"false\" })));\n    }\n    return videoElement;\n};\nexport default ProductVideo;\n","import React, { Suspense, useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport api from '@utils/api';\nimport { freeExpressShippingCustomerGroup } from '@utils/constants';\nconst LoginModal = React.lazy(() => import('@components/login/LoginModal'));\nconst ShippingDisclaimer = (props) => {\n    const { t } = useTranslation();\n    const [promotionInfo, setPromotionInfo] = useState();\n    const [campaignActive, setCampaingActive] = useState(false);\n    const [hasFreeExpressShipping, setHasFreeExpressShipping] = useState(false);\n    const [loginOpen, setLoginOpen] = useState(false);\n    useEffect(() => {\n        api.getPromotionInfo().then((data) => {\n            var _a, _b;\n            setPromotionInfo(data);\n            if ((_a = data.activeCampaigns) === null || _a === void 0 ? void 0 : _a.includes(window.promoFreeExpressShippingNewMembers)) {\n                setCampaingActive(true);\n            }\n            if ((_b = data.customerGroups) === null || _b === void 0 ? void 0 : _b.includes(freeExpressShippingCustomerGroup)) {\n                setHasFreeExpressShipping(true);\n            }\n        });\n    }, []);\n    if (!promotionInfo || !campaignActive || (window.loggedin && !hasFreeExpressShipping)) {\n        return React.createElement(React.Fragment, null);\n    }\n    return (React.createElement(\"div\", { className: \"product-selection__shipping-disclaimer\" },\n        props.incontext == 'productSelection' && (React.createElement(\"p\", { className: \"shipping-disclaimer__title\" },\n            React.createElement(\"i\", { className: \"icon--members\", \"aria-label\": \"members only\" }),\n            t('expressshippingfree.title'))),\n        React.createElement(\"div\", { className: \"shipping-disclaimer_description\" },\n            React.createElement(\"span\", { className: \"mr-8\" },\n                React.createElement(React.Fragment, null,\n                    props.incontext == 'productSelection' && t('expressshippingfree.description'),\n                    props.incontext == 'bag' && React.createElement(\"strong\", null, (promotionInfo === null || promotionInfo === void 0 ? void 0 : promotionInfo.guest) ? t('bag.freeexpressdeliveryguest') : t('bag.freeexpressdelivery')))),\n            React.createElement(Suspense, { fallback: React.createElement(React.Fragment, null) }, (promotionInfo === null || promotionInfo === void 0 ? void 0 : promotionInfo.guest) && (React.createElement(LoginModal, { incontext: \"membersonly\", reloadPage: true, modalStatus: loginOpen, updateStatus: (status) => setLoginOpen(status), buttonText: t('expressshippingfree.loginbutton'), customClass: \"button--link-button bold\" }))))));\n};\nexport default ShippingDisclaimer;\n"],"names":["props","_a","_b","_c","_d","_e","_f","_g","_h","_j","_k","_l","_m","_o","_p","_q","_r","_s","_t","_u","_v","_w","_x","_y","_z","_0","_1","_2","_3","_4","_5","_6","_7","t","type","invertElements","item","variationAttributes","find","v","id","displayValue","localizedSize","localizedColor","className","videoRef","useRef","thronComponent","setThronComponent","useState","useEffect","current","changeContent","thronID","options","onPauseCallback","onPlayCallback","onCompleteCallback","onInitCallback","onTimeUpdate","loopTimes","newThronComponent","ref","thronMobileID","muted","autoplay","loop","lockBitrate","noskin","sessionId","StoneModalDialog","MocnclerModalDialog","Suspense","fallback","MO","Object","assign","ST","isLegacy","chat","zendesk","sprinklr","none","BAA","REASONS","PERSONALIZATION","DISCOVERCOLLECTION","APPOINTMENT","INSTORE","VIRTUAL","CARAVAN","TREBASELEGHE","SELF","GUEST","menu","overlay","timeout","freeExpressShippingCustomerGroup","contactFormId","imageutils","transform","url","size","alt","quality","format","indexOf","name","remove","lower","fullurl","replace","width","height","params","push","imgQuality","window","imagequality","avifsupported","webpsupported","length","map","i","join","includes","hires","this","HIRES","large","LG","medium","MD","small","SM","extraSmall","XS","aspectratio","Math","round","XXS","mediaQueries","mqObj","currentBreakpoint","setCurrentBreakpoint","documentWidth","innerWidth","visualViewport","filtered","keys","filter","key","getInitialBreakpointValue","handleResize","currentBr","getCurrentBreakpoint","addEventListener","removeEventListener","dangerouslySetInnerHTML","__html","date","availability","inStockDate","currency","price","sales","preordertoken","focusOnError","formdef","setFormdef","initialValues","setInitialValues","requestSent","setRequestSent","errors","setErrors","firstRender","isOpen","val","then","data","validate","async","values","hideHeader","noPadding","onRequestClose","imgs","img","src","urls","role","cls","onClick","inConfigurator","backToShopping","location","href","homeurl","editLink","onSubmit","err","success","productId","message","decorators","render","handleSubmit","form","submitting","pristine","def","disabled","mbmNotify","setMbmNotify","galleryIsOpen","setGalleryIsOpen","media","setMedia","newMedia","el","videos","value","entries","splice","parseInt","mbm","palettes","concat","productVideo","productImage","path","startsWith","substring","removeFromBag","useCallback","pid","uuid","lineUUID","onRemove","showDeliveryLimitations","setShowDeliveryLimitations","moveToWishlist","loggedin","isMbm","recipeId","wishlistIds","items","updateWishlist","analyticsAttributes","dimension36","showLoginModal","moveGiftCardToWishlist","isGiftCard","tabIndex","style","opacity","isOutOfStock","undefined","inOrderSummary","onImageClick","clicked","ariaLabel","productName","index","total","sizes","tiletype","product","showPDPLink","productUrl","quantity","isParfum","parfumAttributes","productFamily","formatted","preorder","available","editurl","faqurl","urllegalareareturn","hazardNotShippable","isClothing","zoomTimerId","useTranslation","zoomRef","imgRef","isDragging","setIsDragging","zoomPos","setZoomPos","x","y","scale","onUpdate","clearTimeout","setTimeout","setProperty","activateIndex","document","querySelectorAll","forEach","e","removeProperty","scaling","some","ProductVideo","inZoomModal","scaleTo","innerHeight","maxZoom","minZoom","onDragStart","onDragEnd","dragging","loading","swiperInstance","setSwiperInstance","thumbsSwiper","setThumbsSwiper","activeIndex","setActiveIndex","setProductUrl","isBeginning","setIsBeginning","isEnd","setIsEnd","useBreakpoint","sizeThumbsMap","sizeMainMap","direction","useMemo","md","slides","paginationMessage","variationColor","va","selectedValue","prodUrl","updateProgressThumb","swiper","ModalDialog","contentLabel","overlayClassName","onAfterClose","scrollHeight","scrollTo","appmode","onSwiper","swipr","onSlideChange","keyboard","navigation","nextEl","prevEl","mousewheel","forceToAxis","thresholdDelta","allowTouchMove","effect","initialSlide","speed","thumbs","loopPreventsSlide","slidesPerView","isZoom","slidePrev","onTransitionStart","onTransitionEnd","watchOverflow","spaceBetween","watchSlidesProgress","modules","start","end","freeMode","enabled","sticky","slideToClickedSlide","centerInsufficientSlides","grabCursor","threshold","slideTo","isThumb","slideNext","productUuid","registerAnimatedImage","unregisterAnimatedImage","defaultSizes","image","genderImageSorted","imageoldsuffix","imagenewsuffix","u","animatedImage","lowResImg","hiResImage","multipleSrc","srcs","sz","multipleSrcAvif","lazyPosterImg","lazyLowRes","altText","seoIndex","imageElement","lazyload","lazyDisabled","srcSet","ariaHidden","onlyImage","target","classList","contains","closest","children","pdpVideoRef","pauseButton","onPause","currentButton","ariaPressed","setAttribute","play","pause","videoElement","currentElement","parentNode","pauseElement","querySelector","findElementWithPauseAttribute","playsInline","autoPlay","tronID","lockBitrateProductVideos","inGallery","LoginModal","promotionInfo","setPromotionInfo","campaignActive","setCampaingActive","hasFreeExpressShipping","setHasFreeExpressShipping","loginOpen","setLoginOpen","activeCampaigns","promoFreeExpressShippingNewMembers","customerGroups","incontext","guest","reloadPage","modalStatus","updateStatus","status","buttonText","customClass"],"sourceRoot":""}