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":["webpack:///./assets/common/src/components/utils/Lazyimg.tsx","webpack:///./assets/common/src/utils/JsonLd.tsx","webpack:///./assets/moncler/src/components/countdown/countdown.tsx","webpack:///./assets/moncler/src/components/experience/SubscribeForm.tsx","webpack:///./assets/moncler/src/components/listing/EditorialButton.tsx","webpack:///./assets/moncler/src/components/listing/EditorialCard.tsx","webpack:///./assets/moncler/src/components/listing/EditorialText.tsx","webpack:///./assets/moncler/src/components/listing/FeaturedProductsCarousel.tsx","webpack:///./assets/moncler/src/components/listing/HeroBannerSlim.tsx","webpack:///./assets/moncler/src/components/listing/PromoBanner.tsx","webpack:///./assets/moncler/src/components/listing/ListingResults.tsx","webpack:///./assets/moncler/src/components/listing/NewBreadcrumb.tsx","webpack:///./assets/moncler/src/components/listing/PlpIntroBreadcrumb.tsx","webpack:///./assets/moncler/src/components/listing/PlpIntroTags.tsx","webpack:///./assets/moncler/src/components/listing/SortByOption.tsx","webpack:///./assets/moncler/src/components/listing/SortBy.tsx","webpack:///./assets/moncler/src/components/listing/ProductFilterCheckbox.tsx","webpack:///./assets/moncler/src/components/listing/ProductFilters.tsx","webpack:///./assets/moncler/src/components/listing/ProductTileFeatured.tsx","webpack:///./assets/moncler/src/components/listing/ConditionalLock.tsx","webpack:///./assets/moncler/src/components/listing/Promo5050.tsx","webpack:///./assets/moncler/src/components/listing/PromoEditorialCard.tsx","webpack:///./assets/moncler/src/components/listing/PromoShowcase.tsx","webpack:///./assets/moncler/src/components/listing/PromoShowcaseCard.tsx","webpack:///./assets/moncler/src/components/listing/RichVideo.tsx","webpack:///./assets/moncler/src/components/listing/SlimBanner.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport React from 'react';\nconst Lazyimg = (props) => {\n return (React.createElement(\"img\", { src: \"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\", \"data-src\": props.src, className: classNames('lazyload', props.className, { 'not-draggable': !props.draggable }), alt: props.alt, width: props === null || props === void 0 ? void 0 : props.width, height: props === null || props === void 0 ? void 0 : props.height, draggable: props.draggable, \"aria-hidden\": (props === null || props === void 0 ? void 0 : props.ariaHidden) ? true : false }));\n};\nexport default Lazyimg;\n","import React from 'react';\nimport { Helmet } from 'react-helmet';\nconst JsonLd = ({ data }) => (React.createElement(Helmet, null,\n React.createElement(\"script\", { type: \"application/ld+json\" }, JSON.stringify(data))));\nexport default JsonLd;\n","import Button from '@ui/button/Button';\nimport ModalDialog from '@ui/modal/ModalDialog';\nimport analytics from '@utils/analytics';\nimport React, { useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport classNames from 'classnames';\nimport SubscribeForm from '@moncler/components/experience/SubscribeForm';\nconst CountDown = (props) => {\n const { t } = useTranslation();\n const [isOpen, setIsOpen] = useState(false);\n return (React.createElement(React.Fragment, null,\n React.createElement(Button, { type: \"button\", onClick: (e) => {\n setIsOpen(true);\n props.designerName && analytics.geniusExperienceSignUpAction('start', props.designerName);\n }, cls: typeof props.classes === 'string' ? JSON.parse(props.classes) : props.classes, ariaHaspopup: \"dialog\" }, props.text || t('button.submit')),\n React.createElement(ModalDialog, { overlayClassName: \"overlay-visible\", className: classNames('countdown-modal', { black: props.blackVersion }), hideHeader: true, noPadding: true, isOpen: isOpen, onRequestClose: () => {\n !props.designerName && analytics.getNotificationModalAction(props.type, props.title, 'close');\n setIsOpen(false);\n }, contentLabel: t('label.notifyme') },\n React.createElement(SubscribeForm, Object.assign({}, props, { closeCallback: () => setIsOpen(false) }))),\n props.secondCtaLink && (React.createElement(\"a\", { href: props.secondCtaLink, className: props.buttonClasses, \"aria-describedby\": props.uuid }, props.secondCtaText))));\n};\nexport default CountDown;\n","import React, { useEffect, useState } from 'react';\nimport NotifyForm from '@moncler/components/notify/NotifyForm';\nimport analytics from '@utils/analytics';\nimport api from '@utils/api';\nimport { useTranslation } from 'react-i18next';\nimport formutils from '@utils/formutils';\nimport classNames from 'classnames';\nconst StandaloneSubscribeOverlay = (props) => {\n const { t } = useTranslation();\n const [firstRender, setFirstRender] = useState(true);\n const [formSent, setFormSent] = useState(false);\n const [formdef, setFormdef] = useState();\n const [initialValues, setInitialValues] = useState();\n useEffect(() => {\n if (firstRender) {\n setFirstRender(false);\n let val = {};\n api.getForm('notifyme', val).then((data) => {\n setInitialValues(val);\n setFormdef(data);\n });\n }\n }, []);\n const prefillValues = (values) => {\n values.eventcode = props.eventcode;\n values.geniuscode = props.geniuscode;\n };\n const validate = async (values) => {\n prefillValues(values);\n return await formutils.validateForm(values, formdef, 'notifyme');\n };\n const onSubmit = async (values) => {\n prefillValues(values);\n let err = await validate(values);\n if (err && Object.keys(err).length > 0) {\n return err;\n }\n const { success } = await api.notifymeNewsletterSubscription(values, formdef);\n if (success) {\n if (props.buildingName) {\n analytics.geniusImmersiveNotifyAction(props.buildingName);\n }\n else if (props.designerName) {\n analytics.geniusExperienceSignUpAction('submit', props.designerName);\n }\n else {\n analytics.getNotificationModalAction(props.type, props.title, 'submit');\n }\n setFormSent(true);\n }\n };\n if (!formdef) {\n return React.createElement(React.Fragment, null);\n }\n return (React.createElement(\"div\", { className: \"product-notify\" },\n React.createElement(\"div\", { className: \"product-notify__main\", style: { backgroundImage: `url(\"${props.img}\")` } }),\n React.createElement(\"div\", { className: \"product-notify__detail\" }, formSent ? (React.createElement(\"div\", { className: \"modal__header-sticky\" },\n React.createElement(\"h2\", { className: classNames('dialog__title', { 'mt-32': !props.blackVersion }) }, t('label.thankyou')),\n React.createElement(\"p\", { className: \"dialog__message\" }, t('notifyme.success')),\n props.blackVersion && (React.createElement(\"div\", { className: \"modal__separator\" },\n React.createElement(\"button\", { className: \"button button--primary\", onClick: props.closeCallback }, t('button.back')))))) : (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"modal__header-sticky\" },\n React.createElement(\"h2\", { className: \"dialog__title\" }, props.modaltitle || t('label.notifyme')),\n props.modaltext && React.createElement(\"p\", { className: \"modal__intro\" },\n props.modaltext,\n \" \"),\n React.createElement(\"div\", { className: \"modal__separator\" })),\n React.createElement(NotifyForm, { formdef: formdef, onSubmit: onSubmit, initialValues: initialValues, validate: validate, buttonText: props.modalctatext || t('button.submit') }))))));\n};\nexport default StandaloneSubscribeOverlay;\n","import classNames from 'classnames';\nimport React, { useState } from 'react';\nconst LoginModal = React.lazy(() => import('@components/login/LoginModal'));\nconst EditorialText = (props) => {\n const [loginOpen, setLoginOpen] = useState(false);\n if (props.button.type === 'My Area Link') {\n return (React.createElement(\"a\", { href: props.accountUrl, className: classNames('button', `button--${props.button.ctaStyle}`, props.customClass, {\n [`button--${props.button.ctaStyle}-inverted`]: props.button.ctaStyleInverted,\n [`button--arrow-${props.button.ctaArrow}`]: props.button.ctaArrow !== 'none',\n }) }, props.button.title));\n }\n if (props.button.type === 'Login Registration Popup') {\n return (React.createElement(LoginModal, Object.assign({}, props, { reloadPage: true, modalStatus: loginOpen, updateStatus: (status) => setLoginOpen(status), buttonText: props.button.title, customClass: classNames('button', `button--${props.button.ctaStyle}`, props.customClass, {\n [`button--${props.button.ctaStyle}-inverted`]: props.button.ctaStyleInverted,\n [`button--arrow-${props.button.ctaArrow}`]: props.button.ctaArrow !== 'none',\n }), privacypolicy: props.privacypolicy, forgotpasswordform: props.forgotpasswordform, customModalId: props.button.customModalId })));\n }\n return React.createElement(\"div\", null);\n};\nexport default EditorialText;\n","import ProductImage from '@moncler/components/product/ProductImage';\nimport ProductPrice from '@moncler/components/product/ProductPrice';\nimport ProductVideo from '@moncler/components/product/ProductVideo';\nimport Lazyimg from '@components/utils/Lazyimg';\nimport analytics from '@utils/analytics';\nimport { getDefferedTransition } from '@utils/landingAnimations';\nimport useBreakpoint from '@utils/useBreakpoint';\nimport classNames from 'classnames';\nimport { motion } from 'framer-motion';\nimport React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nconst EditorialCard = (props) => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;\n const { t } = useTranslation();\n const currentBreakpoint = useBreakpoint();\n const [isDesktop, setIsDesktop] = useState(false);\n // gestisco hide/show quick buy su mobile\n useEffect(() => {\n if (currentBreakpoint >= window.mqObj.md) {\n setIsDesktop(true);\n }\n else {\n setIsDesktop(false);\n }\n }, [currentBreakpoint]);\n const handleClick = () => {\n var _a, _b;\n if ((_a = props.card.product) === null || _a === void 0 ? void 0 : _a.isMbm) {\n analytics.promoImage('promo tile', (_b = props.card.product) === null || _b === void 0 ? void 0 : _b.productName);\n }\n else if (props.trackingAction) {\n props.trackingAction();\n }\n };\n return (React.createElement(motion.a, { transition: getDefferedTransition(isDesktop ? (props.index < 4 ? 0 : 1) : props.index < 2 ? 0 : props.index < 4 ? 1 : 2, true), initial: { opacity: props.index < 8 ? 0 : 1 }, animate: { opacity: props.hasAnimation && !props.startAnimation ? 0 : 1 }, className: classNames('plppromo__link', { 'plppromo__link--product': !!((_a = props.card) === null || _a === void 0 ? void 0 : _a.product) }), href: ((_b = props.card) === null || _b === void 0 ? void 0 : _b.link) || ((_d = (_c = props.card) === null || _c === void 0 ? void 0 : _c.product) === null || _d === void 0 ? void 0 : _d.productUrl), onClick: () => handleClick() }, ((_e = props.card) === null || _e === void 0 ? void 0 : _e.product) ? (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"product-card-info\" },\n React.createElement(\"div\", { className: \"product-card-info__box\" },\n ((_f = props.card.product) === null || _f === void 0 ? void 0 : _f.unlock) && React.createElement(\"span\", { className: \"product-label\" }, t('tile.membersonly')),\n React.createElement(\"h2\", { className: \"mb-8 primary-m-u\" }, props.card.product.productName),\n React.createElement(\"span\", { className: \"product-tile__price\" },\n React.createElement(ProductPrice, { price: (_g = props.card.product) === null || _g === void 0 ? void 0 : _g.price }))),\n ((_j = (_h = props.card) === null || _h === void 0 ? void 0 : _h.product) === null || _j === void 0 ? void 0 : _j.isMbm) && React.createElement(\"i\", { className: \"icon--mbm-white\" })),\n ((_l = (_k = props.card) === null || _k === void 0 ? void 0 : _k.product) === null || _l === void 0 ? void 0 : _l.videos) && ((_p = Object.values((_o = (_m = props.card) === null || _m === void 0 ? void 0 : _m.product) === null || _o === void 0 ? void 0 : _o.videos)) === null || _p === void 0 ? void 0 : _p.length) > 0 ? (React.createElement(ProductVideo, { tronID: Object.values((_r = (_q = props.card) === null || _q === void 0 ? void 0 : _q.product) === null || _r === void 0 ? void 0 : _r.videos)[0], sessionId: \"dpx6uv\", inGallery: true })) : (React.createElement(ProductImage, { productId: (_s = props.card) === null || _s === void 0 ? void 0 : _s.product.id, img: (_t = props.card) === null || _t === void 0 ? void 0 : _t.product.imgs, index: 0, onlyImage: true, ariaHidden: true })))) : (React.createElement(React.Fragment, null,\n React.createElement(\"span\", { className: props.card.isWhite ? 'plppromo__title white-title' : 'plppromo__title' }, props.card.title),\n React.createElement(\"picture\", null,\n props.card.imageM && React.createElement(\"source\", { media: \"(min-width:600px)\", srcSet: props.card.imageM.path }),\n props.card.imageL && React.createElement(\"source\", { media: \"(min-width:1024px)\", srcSet: props.card.imageL.path }),\n props.card.image && props.card.image.path && (React.createElement(Lazyimg, { src: props.card.image.path, alt: props.card.image_alt || '', width: props.card.image.meta_data.width, height: props.card.image.meta_data.height, ariaHidden: true })))))));\n};\nexport default EditorialCard;\n","import classNames from 'classnames';\nimport React from 'react';\nimport EditorialButton from './EditorialButton';\nimport CountDown from '../countdown/countdown';\nconst EditorialText = (props) => {\n const card = typeof props.card === 'string' ? JSON.parse(props.card) : props.card;\n const buttons = typeof props.buttons === 'string' ? JSON.parse(props.buttons) : props.buttons;\n return (React.createElement(\"div\", { className: classNames('editorial-text__block', card.alignment && `editorial-text__${card.alignment}`, card.image && 'editorial-text__with-logo', card.bg_image && 'editorial-text__with-bg', card.typeid === 'component_quotes' && 'editorial-text__quote', card.slim && 'slim'), style: card.bg_image && { backgroundImage: `url(${card.bg_image.path})` } },\n card.image && (React.createElement(\"picture\", { className: \"editorial-text__picture\" },\n card.imageM && React.createElement(\"source\", { media: \"(min-width:600px)\", srcSet: card.imageM.path }),\n React.createElement(\"img\", { className: \"editorial-text__logo-bg\", src: card.image.path, alt: \"\" }))),\n React.createElement(\"div\", { className: \"editorial-text__text-wrapper container col-12 col-sm-10 col-lg-8\" },\n React.createElement(\"h2\", { className: classNames(card.isWhite ? 'editorial-text__title white-title' : 'editorial-text__title', card.slim && card.alignment == 'center' ? 'primary-l' : 'primary-xxxl') }, card.title),\n React.createElement(\"div\", { className: classNames('editorial-text__description', card.slim ? 'primary-m' : 'primary-xl'), dangerouslySetInnerHTML: { __html: card.description } }),\n (card.author_name || card.author_img) && (React.createElement(\"div\", { className: \"editorial-text__author\" },\n card.author_img && React.createElement(\"img\", { className: \"editorial-text__author-img\", src: card.author_img.path, alt: \"\" }),\n card.author_name && React.createElement(\"p\", { className: \"editorial-text__author-name primary-l\" },\n \"\\u2013 \",\n card.author_name))),\n card.showModal && (React.createElement(CountDown, { modaltitle: props.modaltitle, modalctatext: props.modalctatext, img: card.modalImage, text: card.linkText, title: '', modaltext: props.modaltext, classes: JSON.stringify(card.buttonCls), type: 'flp' })),\n !card.showModal && !(buttons === null || buttons === void 0 ? void 0 : buttons.length) && card.linkText && card.link && (React.createElement(\"a\", { href: card.link, className: classNames('editorial-text__link button--arrow-right primary-xs-u', `button--tertiary${card.bg_image ? '-inverted' : ''}`) }, card.linkText)), buttons === null || buttons === void 0 ? void 0 :\n buttons.map((button) => (React.createElement(EditorialButton, { key: button.ID, button: button, accountUrl: props.accountUrl, privacypolicy: props.privacypolicy, forgotpasswordform: props.forgotpasswordform, customClass: \"editorial-text__link\" }))))));\n};\nexport default EditorialText;\n","import ThronVideo from '@components/utils/ThronVideo';\nimport analytics from '@utils/analytics';\nimport React, { useEffect } from 'react';\nimport SwiperCore, { A11y, Navigation } from 'swiper';\nimport { Swiper as SwiperInstance, SwiperSlide } from 'swiper/react';\nimport ProductTileFeatured from './ProductTileFeatured';\nSwiperCore.use([Navigation, A11y]);\nconst FeaturedProducts = (props) => {\n const videoBg = props.featuredProductsCarousel.thronID || props.featuredProductsCarousel.thronMobileID;\n let carouselClasses = 'product-carousel featured-products-carousel';\n carouselClasses += props.featuredProductsCarousel.simplified ? ' simplified' : '';\n carouselClasses += props.featuredProductsCarousel.inverted ? ' inverted' : '';\n carouselClasses += videoBg ? ' video' : '';\n useEffect(() => {\n let products = [];\n props.featuredProductsCarousel.regions.product_slides.components.map((component, i) => (products[i] = component.product));\n analytics.productImpressionsRecommended(products, `featured products_${props.featuredProductsCarousel.title}_${window.datalayerdata.pageCategory}`);\n }, []);\n return (React.createElement(\"section\", { className: carouselClasses },\n videoBg && (React.createElement(React.Fragment, null,\n React.createElement(ThronVideo, { thronID: props.featuredProductsCarousel.thronID, thronMobileID: props.featuredProductsCarousel.thronMobileID, autoplay: true, muted: true, className: \"controlled\" }))),\n React.createElement(\"h2\", { className: \"product-carousel__title primary-l\", id: props.featuredProductsCarousel.ID }, props.featuredProductsCarousel.title),\n props.featuredProductsCarousel.text && React.createElement(\"div\", { className: \"product-carousel__text\" }, props.featuredProductsCarousel.text),\n React.createElement(\"div\", { className: \"product-carousel__carousel-container container has-gutter\" },\n React.createElement(SwiperInstance, { speed: 1000, wrapperTag: \"ul\", slidesPerView: 1.1, breakpoints: {\n 1200: {\n slidesPerView: 3,\n slidesPerGroup: 1,\n },\n 600: {\n slidesPerView: 3,\n slidesPerGroup: 1,\n },\n }, spaceBetween: 0, initialSlide: 0, pagination: {\n clickable: true,\n }, onInit: (swiper) => {\n swiper.navigation.update();\n }, a11y: {\n slideRole: '',\n slideLabelMessage: '',\n } }, props.featuredProductsCarousel.regions.product_slides.components.map((el, index) => {\n var _a;\n return (React.createElement(SwiperSlide, { key: index, tag: \"li\" },\n React.createElement(ProductTileFeatured, { product: el.product, imgEditorial: (_a = el.img_desktop) === null || _a === void 0 ? void 0 : _a.path, index: index, description: el.description, simplified: props.featuredProductsCarousel.simplified, videoBg: !!videoBg, actionList: `featured products_${props.featuredProductsCarousel.title}_${window.datalayerdata.pageCategory}` })));\n })))));\n};\nexport default FeaturedProducts;\n","import React from 'react';\nconst HeroBannerSlim = (props) => {\n const fontType = props.heroBannerSlim.headlineFont === 'primary' ? 'primary-xxxl' : 'secondary-s';\n return (React.createElement(\"div\", { className: \"hero-banner-slim\" },\n React.createElement(\"picture\", { className: \"hero__hero-column hero-banner-slim__inner-container\" },\n props.heroBannerSlim.img_mobile && React.createElement(\"source\", { media: \"(max-width: 1023px)\", srcSet: props.heroBannerSlim.img_mobile.path }),\n React.createElement(\"img\", { src: props.heroBannerSlim.img_desktop.path, alt: \"\" })),\n React.createElement(\"div\", { className: \"container hero-banner-slim__text-wrapper\" },\n props.heroBannerSlim.logo && React.createElement(\"img\", { src: props.heroBannerSlim.logo.path, alt: \"\", className: \"hero-banner-slim__logo\" }),\n (props.heroBannerSlim.subtitle || props.heroBannerSlim.description) && (React.createElement(\"h1\", null,\n props.heroBannerSlim.subtitle && React.createElement(\"span\", { className: \"hero-banner-slim__subtitle primary-l\" }, props.heroBannerSlim.subtitle),\n React.createElement(\"span\", { className: `hero-banner-slim__headline ${fontType}` }, props.heroBannerSlim.headline))),\n props.heroBannerSlim.description && React.createElement(\"p\", { className: \"hero-banner-slim__description primary-m\" }, props.heroBannerSlim.description))));\n};\nexport default HeroBannerSlim;\n","import ThronVideo from '@components/utils/ThronVideo';\nimport Lazyimg from '@components/utils/Lazyimg';\nimport { getDefferedTransition } from '@utils/landingAnimations';\nimport useBreakpoint from '@utils/useBreakpoint';\nimport classNames from 'classnames';\nimport { motion } from 'framer-motion';\nimport React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport analytics from '@utils/analytics';\nconst PromoEditorialCard = (props) => {\n var _a, _b;\n const card = typeof props.card === 'string' ? JSON.parse(props.card) : props.card;\n const videoBg = card.thronID || card.thronMobileID;\n const { t } = useTranslation();\n const currentBreakpoint = useBreakpoint();\n const cardLinkTypeMap = {\n 'First CTA': card.link_0,\n 'Second CTA': card.link_1,\n 'Card Link': card.link,\n };\n const cardLinkTextTypeMap = {\n 'First CTA': card.linkText_0_analytics || card.linkText_0,\n 'Second CTA': card.linkText_1_analytics || card.linkText_1,\n 'Card Link': card.linkText_analytics || card.linkText,\n };\n const ariaHideImageLink = {\n None: false,\n 'First CTA': true,\n 'Second CTA': true,\n 'Card Link': false,\n };\n const [isDesktop, setIsDesktop] = useState(false);\n // gestisco hide/show quick buy su mobile\n useEffect(() => {\n if (currentBreakpoint >= window.mqObj.md) {\n setIsDesktop(true);\n }\n else {\n setIsDesktop(false);\n }\n }, [currentBreakpoint]);\n const handleClick = (clickedCta) => {\n var _a, _b, _c;\n let analyticsTitle = card.title_analytics || card.title;\n analytics.promoEditorialCardsAnalytics(analyticsTitle, clickedCta);\n if ((_a = card.product) === null || _a === void 0 ? void 0 : _a.isMbm) {\n analytics.promoImage('promo tile', (_b = card.product) === null || _b === void 0 ? void 0 : _b.name);\n }\n else if (props.trackingAction) {\n props.trackingAction();\n }\n else if (card.analytics_type == 'vto') {\n analytics.vtoPlpGeneric((_c = card.linkText_0) === null || _c === void 0 ? void 0 : _c.toLowerCase());\n }\n };\n return (React.createElement(motion.div, { transition: getDefferedTransition(isDesktop ? (props.index < 4 ? 0 : 1) : props.index < 2 ? 0 : props.index < 4 ? 1 : 2, true), initial: { opacity: props.index < 8 ? 0 : 1 }, animate: { opacity: props.hasAnimation && !props.startAnimation ? 0 : 1 }, className: classNames('plppromo__div', videoBg && 'plppromo__video') },\n videoBg && (React.createElement(\"div\", { className: \"video-container\" },\n React.createElement(ThronVideo, { thronID: card.thronID, thronMobileID: card.thronMobileID, autoplay: true, muted: true }),\n React.createElement(\"button\", { className: \"btn--pause btn--pause-white\", \"aria-label\": t('button.pause'), \"data-pause\": true, \"aria-pressed\": \"false\" }))),\n React.createElement(\"div\", { className: classNames('plppromo__text-wrapper container no-pointer', videoBg && 'video-card') },\n card.logo && React.createElement(\"img\", { src: card.logo.path, alt: \"\", className: \"plppromo__logo\" }),\n card.collection_name && React.createElement(\"div\", { className: \"plppromo__collection-name primary-s\", dangerouslySetInnerHTML: { __html: card.collection_name } }),\n React.createElement(\"h3\", { id: `promo-card__title-${card.ID}`, className: classNames(card.isWhite ? 'plppromo__title white-title' : 'plppromo__title') }, card.title),\n React.createElement(\"p\", { className: \"plppromo__description\" }, card.description),\n React.createElement(\"div\", { className: \"plppromo__cta-wrapper\" },\n card.link_0 && (React.createElement(\"a\", { \"aria-describedby\": `promo-card__title-${card.ID}`, href: card.link_0, className: \"button--secondary-inverted plppromo__cta button\", onClick: () => handleClick(card.linkText_0_analytics || card.linkText_0) }, card.linkText_0)),\n card.link_1 && (React.createElement(\"a\", { \"aria-describedby\": `promo-card__title-${card.ID}`, href: card.link_1, className: \"button--secondary-inverted plppromo__cta button\", onClick: () => handleClick(card.linkText_1_analytics || card.linkText_1) }, card.linkText_1)))),\n card.link_2 && (React.createElement(\"a\", { \"aria-describedby\": `promo-card__title-${card.ID}`, href: card.link_2, className: \"button button--tertiary button--tertiary-inverted plppromo__bottom-cta\", onClick: () => handleClick(card.linkText_2_analytics || card.linkText_2) }, card.linkText_2)),\n !videoBg && (React.createElement(\"div\", { className: classNames(cardLinkTypeMap[card.cardLinkType] ? 'plppromo__link' : 'plppromo__picture-container'), \"aria-labelledby\": card.title, \"tab-index\": ariaHideImageLink[card.cardLinkType] ? '-1' : '', \"aria-hidden\": ariaHideImageLink[card.cardLinkType] },\n React.createElement(\"picture\", { className: classNames('plppromo__picture', card.gradient && 'plppromo__picture--gradient') },\n card.imageM && React.createElement(\"source\", { media: \"(min-width:600px)\", srcSet: card.imageM.path }),\n React.createElement(Lazyimg, { src: card.image.path, alt: card.image_alt || '', width: (_a = card.image.meta_data) === null || _a === void 0 ? void 0 : _a.width, height: (_b = card.image.meta_data) === null || _b === void 0 ? void 0 : _b.height }))))));\n};\nexport default PromoEditorialCard;\n","import ProductTile from '@moncler/components/listing/ProductTile';\nimport { ListingActionTypes } from '@state/features/common.types';\nimport analytics from '@utils/analytics';\nimport JsonLd from '@utils/JsonLd';\nimport { getProductAvailability } from '@utils/product';\nimport classNames from 'classnames';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport InfiniteScroll from 'react-infinite-scroll-component';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { getFirstFocusable } from '@common/scripts/utilities/focusableElementUtils';\nimport whatInput from 'what-input';\nimport EditorialCard from './EditorialCard';\nimport PromoEditorialCard from './PromoEditorialCard';\nimport PromoBanner from './PromoBanner';\nimport PromoShowcase from './PromoShowcase';\nimport EditorialText from './EditorialText';\nimport RichVideo from './RichVideo';\nimport Promo5050 from './Promo5050';\nimport SlimBanner from './SlimBanner';\nimport customEventBus from '@common/scripts/libs/eventBus';\nexport const editorialCardTypeMap = {\n component_plp_highlight_product: () => 'plppromo--2x2',\n component_promo_showcase: () => 'plppromo--2x2',\n component_plp_promo_card_large: () => 'plppromo--2x2 plppromo__promo-large',\n component_plp_promo_banner: () => 'plppromo--2x2 plppromo__promo-banner',\n component_plp_promo_card_medium: () => 'plppromo--2x1 plppromo__promo-medium',\n component_plp_promo_card_small: () => 'plppromo plppromo__promo-small',\n component_promo_50_50: () => 'promo-50-50',\n component_plp_editorial_text: () => 'editorial-text--4x1',\n component_rich_video: (dimension) => `rich-video rich-video--${dimension}`,\n component_plppromo: (dimension) => `plppromo--${dimension}`,\n component_slim_banner: () => 'slim-banner editorial-text--4x1',\n};\nexport const EditorialPromoCardTypeMap = {\n component_plp_promo_card_large: PromoEditorialCard,\n component_plp_promo_card_medium: PromoEditorialCard,\n component_plp_promo_card_small: PromoEditorialCard,\n component_plp_promo_banner: PromoBanner,\n component_slim_banner: SlimBanner,\n component_promo_showcase: PromoShowcase,\n component_promo_50_50: Promo5050,\n component_plp_editorial_text: EditorialText,\n component_rich_video: RichVideo,\n};\nexport const editorialCardTextColorMap = {\n component_plp_promo_card_large: 'white-title',\n component_plp_promo_card_medium: 'white-title',\n component_plp_promo_card_small: 'white-title',\n component_plp_promo_banner: 'white-title',\n};\nexport const cardSpace = {\n component_plp_highlight_product: () => 4,\n component_promo_showcase: () => 4,\n component_plp_promo_card_large: () => 4,\n component_slim_banner: () => 4,\n component_plp_promo_card_medium: () => 2,\n component_promo_50_50: () => 4,\n component_plp_editorial_text: () => 4,\n component_rich_video: (dimension) => (dimension === 'landscape' ? 4 : 4),\n component_plppromo: (dimension) => (dimension === '2x2' ? 4 : 2),\n};\nexport const extraAdded = {\n component_plp_highlight_product: () => 2,\n component_promo_showcase: () => 2,\n component_plp_promo_card_large: () => 2,\n component_rich_video: (dimension) => (dimension === 'landscape' ? 0 : 2),\n component_plppromo: (dimension) => (dimension === '2x2' ? 2 : 0),\n};\nconst ListingResults = (props) => {\n const { t } = useTranslation();\n const { results, progress, count, selectedFilters, editorialcards, pageMetaTags, pageSize, pageNumber, category, landingAnimation, productSort, breadcrumbs } = useSelector((state) => state.search);\n const isLoading = useSelector((state) => state.loading).requests.includes('SEARCH');\n const [isKeyboardIntent, setIsKeyboardIntent] = useState(false);\n const { apiErrors } = useSelector((state) => state.errors);\n const loadingError = useMemo(() => {\n return apiErrors.find((error) => {\n return error.code === 'PAGE';\n });\n }, [apiErrors]);\n const dispatch = useDispatch();\n const [startAnimation, setStartAnimation] = useState(window.ssr ? true : false);\n useEffect(() => {\n if (landingAnimation) {\n setTimeout(() => {\n setStartAnimation(true);\n // aspetto 550ms (400 + 150) che è il tempo dell'animazione al dom loaded\n // aggiungo 200ms per assicurarmi che le foto siano caricate\n }, 750);\n }\n }, [landingAnimation]);\n useEffect(() => {\n customEventBus.on('keyboard:mode', (data) => {\n var _a;\n // OE-16266 check input element to avoid autocomplete\n if (data.isKeyboardMode && ((_a = data.target) === null || _a === void 0 ? void 0 : _a.tagName) !== 'INPUT') {\n setIsKeyboardIntent(data.isKeyboardMode);\n }\n });\n }, []);\n const [expandedLook, setExpandedLook] = useState();\n const fetchData = () => {\n dispatch({\n type: ListingActionTypes.FETCH_LISTING,\n payload: {\n resultsType: 'PAGE',\n start: progress,\n selectedFilters,\n },\n });\n };\n const hasMore = useMemo(() => {\n return progress < count;\n }, [progress, count]);\n useEffect(() => {\n if (whatInput.ask() == 'keyboard' && pageNumber > 0 && isKeyboardIntent) {\n // console.info('metto il focus');\n setTimeout(() => getFirstFocusable(document.querySelector(`.grid-container li:nth-child(${pageNumber * pageSize + 1})`)).focus(), 500);\n }\n }, [pageNumber]);\n const totalCards = [...results];\n const toAddMarginIndexes = new Map();\n if ((editorialcards === null || editorialcards === void 0 ? void 0 : editorialcards.length) > 0) {\n // console.info(editorialcards);\n editorialcards.forEach((card) => {\n if ((totalCards === null || totalCards === void 0 ? void 0 : totalCards.length) >= card.index) {\n totalCards.splice(card.index, 0, Object.assign(Object.assign(Object.assign({}, card), { type: editorialCardTypeMap[card.typeid](card.dimension), isEditorial: true }), (editorialCardTextColorMap[card.typeid] && { isWhite: true })));\n }\n });\n let cardsCount = 0;\n let credit = 0;\n totalCards.forEach((card, index) => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;\n if (card.typeid === 'component_plp_promo_card_large') {\n switch (card.paddings) {\n case 'None':\n break;\n case 'Top Bottom Right':\n toAddMarginIndexes.set(index, 'margin-extra-top margin-extra-bottom margin-extra-right');\n break;\n case 'Top Bottom Left':\n toAddMarginIndexes.set(index, 'margin-extra-top margin-extra-bottom margin-extra-left');\n break;\n case 'Top Bottom':\n toAddMarginIndexes.set(index, 'margin-extra-top margin-extra-bottom');\n break;\n }\n if (card.paddings && card.paddings !== 'None') {\n if ((cardsCount - credit) % 4 === 0) {\n if (!(extraAdded[(_a = totalCards[index + 1]) === null || _a === void 0 ? void 0 : _a.typeid] && extraAdded[(_b = totalCards[index + 1]) === null || _b === void 0 ? void 0 : _b.typeid](card.dimension))) {\n if (((_c = totalCards[index + 1]) === null || _c === void 0 ? void 0 : _c.typeid) === 'component_plp_promo_card_medium' && ((_d = totalCards[index + 1]) === null || _d === void 0 ? void 0 : _d.typeid) === 'component_plppromo') {\n toAddMarginIndexes.set(index + 1, 'margin-extra-top');\n }\n else {\n toAddMarginIndexes.set(index + 1, 'margin-extra-top');\n toAddMarginIndexes.set(index + 2, 'margin-extra-top');\n }\n if (((_e = totalCards[index + 2]) === null || _e === void 0 ? void 0 : _e.typeid) === 'component_plp_promo_card_medium' && ((_f = totalCards[index + 2]) === null || _f === void 0 ? void 0 : _f.typeid) === 'component_plppromo') {\n toAddMarginIndexes.set(index + 2, 'margin-extra-bottom');\n }\n else if (((_g = totalCards[index + 3]) === null || _g === void 0 ? void 0 : _g.typeid) === 'component_plp_promo_card_medium' && ((_h = totalCards[index + 3]) === null || _h === void 0 ? void 0 : _h.typeid) === 'component_plppromo') {\n toAddMarginIndexes.set(index + 3, 'margin-extra-bottom');\n }\n else {\n toAddMarginIndexes.set(index + 3, 'margin-extra-bottom');\n toAddMarginIndexes.set(index + 4, 'margin-extra-bottom');\n }\n }\n else {\n toAddMarginIndexes.set(index + 1, 'margin-extra-top margin-extra-bottom');\n }\n }\n else if ((cardsCount - credit) % 2 === 0) {\n if (!(extraAdded[(_j = totalCards[index - 1]) === null || _j === void 0 ? void 0 : _j.typeid] && extraAdded[(_k = totalCards[index - 1]) === null || _k === void 0 ? void 0 : _k.typeid](card.dimension))) {\n if (((_l = totalCards[index - 1]) === null || _l === void 0 ? void 0 : _l.typeid) === 'component_plp_promo_card_medium' && ((_m = totalCards[index - 1]) === null || _m === void 0 ? void 0 : _m.typeid) === 'component_plppromo') {\n toAddMarginIndexes.set(index - 1, 'margin-extra-top');\n }\n else {\n toAddMarginIndexes.set(index - 1, 'margin-extra-top');\n toAddMarginIndexes.set(index - 2, 'margin-extra-top');\n }\n if (((_o = totalCards[index + 1]) === null || _o === void 0 ? void 0 : _o.typeid) === 'component_plp_promo_card_medium' && ((_p = totalCards[index + 1]) === null || _p === void 0 ? void 0 : _p.typeid) === 'component_plppromo') {\n toAddMarginIndexes.set(index + 1, 'margin-extra-bottom');\n }\n else {\n toAddMarginIndexes.set(index + 1, 'margin-extra-bottom');\n toAddMarginIndexes.set(index + 2, 'margin-extra-bottom');\n }\n }\n else {\n toAddMarginIndexes.set(index - 1, 'margin-extra-top margin-extra-bottom');\n }\n }\n }\n }\n if (cardSpace[card.typeid]) {\n cardsCount += cardSpace[card.typeid](card.dimension);\n }\n else {\n cardsCount += 1;\n }\n if (!credit && extraAdded[card.typeid]) {\n credit = extraAdded[card.typeid](card.dimension);\n }\n else if (credit) {\n if ((_q = cardSpace[card.typeid]) === null || _q === void 0 ? void 0 : _q.call(cardSpace, card.dimension)) {\n credit = 0;\n }\n else {\n credit -= 1;\n }\n }\n });\n }\n const loader = () => {\n return (!loadingError &&\n !isKeyboardIntent && (React.createElement(\"div\", { className: \"container\" },\n React.createElement(\"div\", { className: \"plp-loading\", \"aria-live\": \"polite\" },\n React.createElement(\"div\", { className: \"wrapper-loading\" },\n React.createElement(\"span\", null, t('plp.loading')),\n React.createElement(\"i\", { className: \"progress-bar\", style: { width: `${((progress * 100) / count).toFixed(2)}%` } }))))));\n };\n const error = () => {\n if (loadingError && !isLoading) {\n return (React.createElement(\"div\", { className: \"container\" },\n React.createElement(\"span\", { className: \"plp-error\", \"aria-live\": \"polite\" }, t('plp.error'))));\n }\n return React.createElement(React.Fragment, null);\n };\n // const showBreadcrumb = () => {\n // if (results.length && !hasMore) {\n // return (\n //
\n // \n // \n // \n //
\n // );\n // }\n // return <>;\n // };\n const showAccessibleLoadMore = () => {\n if (results.length && hasMore && isKeyboardIntent) {\n return (React.createElement(\"div\", { className: \"container\" },\n React.createElement(\"div\", { className: \"plp-a11y__loadmore\" },\n React.createElement(\"h2\", null,\n \" \",\n t('plp.moreproducts')),\n React.createElement(\"button\", { className: \"button button--secondary\", onClick: fetchData }, t('plp.loadmore')))));\n }\n return React.createElement(React.Fragment, null);\n };\n const schemaDataFc = (totalCards) => {\n // delete all the cards that not have name and description - OE-27154\n totalCards = totalCards.filter((card) => card.productName && card.shortDescription);\n return {\n '@context': 'https://schema.org',\n '@type': 'ItemList',\n url: location.href,\n numberOfItems: totalCards === null || totalCards === void 0 ? void 0 : totalCards.length,\n itemListElement: totalCards === null || totalCards === void 0 ? void 0 : totalCards.map((product) => {\n var _a, _b, _c, _d, _e;\n return ({\n '@type': 'Product',\n name: product.productName,\n image: (_a = product.imgs) === null || _a === void 0 ? void 0 : _a.urls,\n description: product === null || product === void 0 ? void 0 : product.shortDescription,\n brand: {\n '@type': 'Brand',\n name: 'Moncler',\n },\n offers: {\n url: product.productUrl,\n '@type': 'Offer',\n priceCurrency: (_c = (_b = product.price) === null || _b === void 0 ? void 0 : _b.sales) === null || _c === void 0 ? void 0 : _c.currency,\n price: (_e = (_d = product.price) === null || _d === void 0 ? void 0 : _d.sales) === null || _e === void 0 ? void 0 : _e.value,\n itemCondition: 'https://schema.org/NewCondition',\n availability: getProductAvailability(product),\n },\n });\n }),\n };\n };\n const schemaData = useMemo(() => (totalCards ? schemaDataFc(totalCards) : undefined), [totalCards]);\n const getBreadcrumbSchemaData = () => {\n return {\n '@context': 'https://schema.org',\n '@type': 'BreadcrumbList',\n itemListElement: breadcrumbs.map((item, index) => ({\n '@type': 'ListItem',\n position: ++index,\n name: item.htmlValue,\n item: location.origin + item.url,\n })),\n };\n };\n const breadcrumbSchemaData = useMemo(() => (breadcrumbs ? getBreadcrumbSchemaData() : undefined), [breadcrumbs]);\n return (React.createElement(React.Fragment, null,\n schemaData && React.createElement(JsonLd, { data: schemaData }),\n breadcrumbSchemaData && React.createElement(JsonLd, { data: breadcrumbSchemaData }),\n (totalCards === null || totalCards === void 0 ? void 0 : totalCards.length) > 0 ? (React.createElement(InfiniteScroll, { dataLength: results.length, next: fetchData, hasMore: !isKeyboardIntent && hasMore, scrollThreshold: 0.5, loader: loader() },\n React.createElement(\"div\", { role: \"region\" },\n React.createElement(\"ul\", { className: classNames('grid-container', { 'look-expanded': expandedLook != undefined }, { 'has-look': results.find((item) => item.islook) }) }, totalCards === null || totalCards === void 0 ? void 0 : totalCards.map((product, i) => {\n const DynamicCard = EditorialPromoCardTypeMap[product.typeid];\n return (React.createElement(\"li\", Object.assign({ key: i, className: classNames(expandedLook === product ? 'look-expanded' : product.isEditorial ? product.type : undefined, toAddMarginIndexes.has(i) ? toAddMarginIndexes.get(i) : '') }, (product.id && { 'aria-labelledby': product.id + '_link' })), !!DynamicCard ? (React.createElement(DynamicCard, { index: i, card: product, hasAnimation: landingAnimation, startAnimation: startAnimation })) : product.isEditorial ? (React.createElement(EditorialCard, { index: i, card: product, hasAnimation: landingAnimation, startAnimation: startAnimation, trackingAction: () => analytics.promoImage(category.name, product.title) })) : (React.createElement(ProductTile, { index: i, showLook: expandedLook === product, handleShopByLook: (expand) => (expand ? setExpandedLook(product) : setExpandedLook(undefined)), product: product, type: (product === null || product === void 0 ? void 0 : product.islook) ? 'PLPLOOK' : 'PLP', headingLevel: 'h2', hasAnimation: landingAnimation, startAnimation: startAnimation, category: category, isSimplified: true, withCarousel: window.tileCarousel && !(product === null || product === void 0 ? void 0 : product.islook), sortingrule: productSort === null || productSort === void 0 ? void 0 : productSort.ruleId }))));\n }))),\n showAccessibleLoadMore(),\n error())) : (React.createElement(\"p\", { className: \"primary-m text-center mt-48\" }, t('search.noresults.title')))));\n};\nexport default ListingResults;\n","import { ListingActionTypes } from '@state/features/common.types';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useDispatch, useSelector } from 'react-redux';\nconst NewBreadcrumb = (props) => {\n const { t } = useTranslation();\n const dispatch = useDispatch();\n const { breadcrumbs } = useSelector((state) => state.search);\n const baseUrl = location.origin;\n let breadcrumbsList = [...breadcrumbs];\n breadcrumbsList.pop();\n return (React.createElement(React.Fragment, null,\n React.createElement(\"nav\", { \"aria-label\": t('navigation.breadcrumb.aria'), className: \"breadcrumb listing\" },\n React.createElement(\"ol\", null, breadcrumbsList.map((item, i) => (React.createElement(\"li\", { key: i },\n React.createElement(\"a\", { href: `${baseUrl}${item.url}`, onClick: () => {\n dispatch({\n type: ListingActionTypes.FETCH_LISTING,\n payload: {\n cgid: item.categoryId,\n resultsType: 'INIT',\n start: 0,\n },\n });\n }, className: \"breadcrumb__item\", key: item.categoryId }, item.htmlValue))))))));\n};\nexport default NewBreadcrumb;\n","import React from 'react';\nconst PlpIntroBreadcrumb = (props) => {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"intro-plp__breadcrumbs\", id: \"pd-breadcrumbs\" },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-12\" },\n React.createElement(\"nav\", { className: \"breadcrumb listing\", \"aria-label\": \"Breadcrumb\" },\n React.createElement(\"ol\", null, props.breadcrumbs.map((breadcrumb, i) => {\n return (React.createElement(\"li\", { key: i }, breadcrumb.current ? (React.createElement(\"span\", { className: \"breadcrumb__item\" }, breadcrumb.title)) : (React.createElement(\"a\", { href: breadcrumb.link, className: \"breadcrumb__item\" },\n React.createElement(\"span\", null, breadcrumb.title)))));\n }))))))));\n};\nexport default PlpIntroBreadcrumb;\n","import React, { useRef, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport analytics from '@common/utils/analytics';\nconst PlpIntroTags = (props) => {\n const { t } = useTranslation();\n const readMoreText = useRef();\n const [readMoreOpen, setReadMoreOpen] = useState(false);\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"row intro-plp__text-tags-wrapper\", id: \"pd-text-and-tags\" },\n React.createElement(\"div\", { className: \"col-md-6 col-lg-5 intro-plp__text-container\" },\n props.title && React.createElement(\"h1\", { className: \"intro-plp__title\" }, props.title),\n props.description && React.createElement(\"div\", { className: \"intro-plp__description\", dangerouslySetInnerHTML: { __html: props.description } }),\n props.readMore && (React.createElement(React.Fragment, null,\n React.createElement(\"span\", null, \" \"),\n React.createElement(\"div\", { className: \"intro-plp__read-more-container\" },\n React.createElement(\"div\", { className: \"intro-plp__read-more-text\", ref: readMoreText, dangerouslySetInnerHTML: { __html: props.readMore } }),\n React.createElement(\"button\", { className: \"intro-plp__read-more-btn\", onClick: () => {\n readMoreText.current.classList.toggle('open');\n setReadMoreOpen(!readMoreOpen);\n } }, t(readMoreOpen ? 'button.readless' : 'button.readmore')))))),\n props.tags && (React.createElement(\"div\", { className: \"col-md-6 col-lg-7 intro-plp__tags-container\" },\n React.createElement(\"ul\", { className: \"intro-plp__tags-list\" }, props.tags.map((tag, i) => {\n var _a;\n return (React.createElement(\"li\", { key: i, className: \"intro-plp__tag__item\" },\n React.createElement(\"a\", { className: \"tag__link\", href: tag.categoryLink || ((_a = tag.custom) === null || _a === void 0 ? void 0 : _a.categoryLink), onClick: () => analytics.visualFiltersAnalytics(tag.title_analytics || tag.title || tag.displayName) }, tag.title || tag.displayName)));\n })))))));\n};\nexport default PlpIntroTags;\n","import analytics from '@utils/analytics';\nimport React, { useEffect, useRef } from 'react';\nconst SortByOption = (props) => {\n const { index, option, currentSortOption, toggleSort, sortItems, focusOption, focusedOption, fromSearch } = props;\n const optionRef = useRef();\n const fromKeyboard = document.documentElement.getAttribute('data-whatintent') == 'keyboard';\n useEffect(() => {\n if (focusedOption === index && fromKeyboard) {\n setTimeout(() => {\n optionRef.current.focus();\n }, 50);\n }\n }, [focusedOption]);\n return (React.createElement(\"li\", { ref: optionRef, onClick: () => {\n sortItems(option);\n if (option.id != (currentSortOption === null || currentSortOption === void 0 ? void 0 : currentSortOption.id)) {\n fromSearch ? analytics.searchSortBy(option.displayName) : analytics.sortBy(option.displayName);\n }\n }, onKeyDown: (e) => {\n if (e.key == 'Enter') {\n e.preventDefault();\n sortItems(option);\n if (option.id != (currentSortOption === null || currentSortOption === void 0 ? void 0 : currentSortOption.id)) {\n fromSearch ? analytics.searchSortBy(option.displayName) : analytics.sortBy(option.displayName);\n }\n }\n else if (e.key == 'Escape') {\n e.preventDefault();\n toggleSort();\n setTimeout(() => {\n var _a;\n (_a = document.querySelector('#sortButton')) === null || _a === void 0 ? void 0 : _a.focus();\n }, 50);\n }\n else if (e.key == 'Tab') {\n toggleSort();\n }\n else if (e.key == 'ArrowUp') {\n e.preventDefault();\n // console.log('ArrowUp');\n focusOption('prev');\n }\n else if (e.key == 'ArrowDown') {\n e.preventDefault();\n // console.log('ArrowDown');\n focusOption('next');\n }\n }, role: \"option\", id: option.id, key: option.id, \"aria-selected\": option.id === (currentSortOption === null || currentSortOption === void 0 ? void 0 : currentSortOption.id), className: \"sort__option\", tabIndex: -1 },\n React.createElement(\"span\", null, option.displayName)));\n};\nexport default SortByOption;\n","import useBreakpoint from '@utils/useBreakpoint';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport SortByOption from './SortByOption';\nconst SortBy = (props) => {\n const { productSort, sortingExpanded, currentSortOption, toggleSort, sortItems, fromSearch } = props;\n const { t } = useTranslation();\n const [focusedOption, setFocusedOption] = useState();\n const currentBreakpoint = useBreakpoint();\n const isDesktop = useMemo(() => {\n return currentBreakpoint >= window.mqObj.md;\n }, [currentBreakpoint]);\n useEffect(() => {\n if (sortingExpanded) {\n setFocusedOption(0);\n }\n else {\n setFocusedOption(undefined);\n }\n }, [sortingExpanded]);\n const focusOption = (dir) => {\n if (dir == 'next') {\n setFocusedOption(focusedOption + 1 < productSort.options.length ? focusedOption + 1 : focusedOption);\n }\n else {\n setFocusedOption(focusedOption - 1 <= 0 ? 0 : focusedOption - 1);\n }\n };\n const sortingHandler = (forceHide) => {\n toggleSort(forceHide);\n // HOVER EVENTS REMOVAL ON PLP FILTERS [OE-15483]\n // if (!sortingExpanded) {\n // fromSearch ? analytics.searchSortOpen() : analytics.sortOpen();\n // }\n };\n return (React.createElement(\"div\", { className: \"sort\", onMouseEnter: () => {\n if (isDesktop) {\n sortingHandler(false);\n }\n }, onMouseLeave: () => {\n if (isDesktop) {\n sortingHandler(true);\n }\n } },\n React.createElement(\"button\", { \"aria-haspopup\": \"listbox\", id: \"sortButton\", className: \"filters__menuitem sort__button\", onKeyDown: (e) => {\n if ((sortingExpanded && e.key == 'Tab') || e.key == 'ArrowDown') {\n e.preventDefault();\n toggleSort(false);\n }\n }, \"aria-expanded\": sortingExpanded, onClick: () => {\n sortingHandler(false);\n } },\n t('refine.sortby'),\n \" \",\n React.createElement(\"span\", null, currentSortOption === null || currentSortOption === void 0 ? void 0 : currentSortOption.displayName)),\n React.createElement(\"div\", { className: \"sort__list--wrapper\" },\n React.createElement(\"ul\", { id: \"exp_elem_list\", role: \"listbox\", \"aria-labelledby\": \"sortButton\", className: \"none sort__list\" }, productSort === null || productSort === void 0 ? void 0 : productSort.options.map((option, i) => (React.createElement(SortByOption, { key: i, index: i, option: option, currentSortOption: currentSortOption, sortItems: sortItems, toggleSort: () => toggleSort(false), fromSearch: fromSearch, focusOption: focusOption, focusedOption: focusedOption })))))));\n};\nexport default SortBy;\n","import analytics from '@utils/analytics';\nimport classNames from 'classnames';\nimport React, { useEffect, useState } from 'react';\nconst ProductFilterCheckbox = (props) => {\n const { refinement, refinementValue, index } = props;\n const refinementKey = refinementValue.id + '-' + refinementValue.displayValue;\n const [checked, setChecked] = useState();\n useEffect(() => {\n setChecked(refinementValue.selected);\n }, [refinementValue.selected]);\n const onInteract = () => {\n if (refinementValue.selectable || refinementValue.selected) {\n props.addFilterValue(refinement.attributeID, refinementValue.displayValue);\n if (props.fromSearch) {\n analytics.searchRefineSecondLevel(refinement.attributeID, refinementValue.presentationId || refinementValue.displayValue);\n analytics.searchRefineMacrocategory(window.location.search);\n }\n else {\n analytics.refineSecondLevel(refinement.attributeID, refinementValue.presentationId || refinementValue.displayValue);\n analytics.refineMacrocategory(window.location.search);\n }\n }\n };\n return (React.createElement(\"li\", { key: refinementKey, className: classNames('filters__menu__menuitem', { disabled: !refinementValue.selectable }) },\n React.createElement(\"input\", { type: \"checkbox\", name: refinementValue.id, value: refinementValue.displayValue, id: refinementValue.id + '-' + refinementValue.presentationId + '-' + index, onChange: (e) => {\n setChecked(!checked);\n onInteract();\n }, checked: checked, disabled: !refinementValue.selectable && !refinementValue.selected }),\n React.createElement(\"label\", { htmlFor: refinementValue.id + '-' + refinementValue.presentationId + '-' + index }, refinementValue.link ? (React.createElement(\"a\", { onClick: (e) => {\n e.preventDefault();\n onInteract();\n }, href: refinementValue.link },\n refinementValue.type === 'color' && React.createElement(\"span\", { className: `swatch swatch--${refinementValue.presentationId}` }),\n refinementValue.displayValue)) : (React.createElement(React.Fragment, null,\n refinementValue.type === 'color' && React.createElement(\"span\", { className: `swatch swatch--${refinementValue.presentationId}` }),\n refinementValue.displayValue)))));\n};\nexport default ProductFilterCheckbox;\n","import { ListingActionTypes, SearchActionTypes } from '@state/features/common.types';\nimport analytics from '@utils/analytics';\nimport { getDefferedTransition, tranitionDomReady } from '@utils/landingAnimations';\nimport useBreakpoint from '@utils/useBreakpoint';\nimport classNames from 'classnames';\nimport { debounce } from '@utils/functions';\nimport { motion } from 'framer-motion';\nimport React, { useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useDispatch, useSelector } from 'react-redux';\nimport NewBreadcrumb from './NewBreadcrumb';\nimport PlpIntroBreadcrumb from './PlpIntroBreadcrumb';\nimport PlpIntroTags from './PlpIntroTags';\nimport SortBy from './SortBy';\nimport Lazyimg from '@components/utils/Lazyimg';\nimport ProductFilterCheckbox from './ProductFilterCheckbox';\nconst variants = {\n active: {\n opacity: 1,\n },\n inactive: {\n opacity: 0,\n },\n};\nconst ProductFilters = (props) => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;\n const { t } = useTranslation();\n const dispatch = useDispatch();\n const { landingAnimation, productSort, refinements, category, selectedFilters, selectedSort, sizeGroups, inSearch, inputSearch, count, filteredCategory } = useSelector((state) => state.search);\n const [refineExpanded, setRefineExpanded] = useState(false);\n const [selectedRefinement, setSelectedRefinement] = useState('');\n const [sortingExpanded, setSortingExpanded] = useState(false);\n const [startAnimation, setStartAnimation] = useState(false);\n const [categoryRefinement, setCategoryRefinement] = useState();\n const [refineContainerPLPHeight, setRefineContainerPLPHeight] = useState();\n const [lastValidRefinements, setLastValidRefinements] = useState();\n const isFromAPP = window.appmode;\n const getRefinementType = () => {\n return inSearch ? SearchActionTypes.UPDATE_SEARCH_REFINEMENT : ListingActionTypes.UPDATE_LISTING_REFINEMENT;\n };\n useEffect(() => {\n if (props.setFilterExpandedStatus) {\n props.setFilterExpandedStatus(refineExpanded);\n }\n }, [refineExpanded]);\n useEffect(() => {\n if (landingAnimation) {\n setTimeout(() => {\n setStartAnimation(true);\n // aspetto 550ms che è il tempo dell'animazione al dom loaded\n }, 750);\n }\n }, [landingAnimation]);\n const headerRef = useRef(document.querySelector('header')).current;\n const bodyRef = useRef(document.querySelector('body')).current;\n const refineRef = useRef(null);\n const refineContainerPLP = useRef(null);\n const refinePLPHeading = useRef(null);\n const wrapperRefineButton = useRef(null);\n const currentBreakpoint = useBreakpoint();\n const isDesktop = useMemo(() => {\n return currentBreakpoint >= window.mqObj.md;\n }, [currentBreakpoint]);\n const getTopVal = () => {\n const elPaddingTop = parseInt(window.getComputedStyle(refineContainerPLP.current).paddingTop);\n const elPaddingBot = parseInt(window.getComputedStyle(refineContainerPLP.current).paddingBottom);\n const isDesktop = currentBreakpoint >= window.mqObj.md;\n let topVal = headerRef ? headerRef.offsetHeight : 0;\n if (isDesktop) {\n topVal -= refineContainerPLP.current.offsetHeight;\n }\n else if (props.plpintro) {\n topVal -= refinePLPHeading.current.offsetHeight + elPaddingTop - elPaddingBot;\n }\n else if (isFromAPP) {\n topVal = 0;\n }\n else if (wrapperRefineButton.current) {\n topVal -= refineContainerPLP.current.offsetHeight - wrapperRefineButton.current.offsetHeight - elPaddingBot * 2;\n }\n return topVal;\n };\n // willStick used in listing\n useLayoutEffect(() => {\n if (props.willStick) {\n const refineResizeObserver = new ResizeObserver(debounce(() => {\n setRefineContainerPLPHeight(getTopVal());\n }, 300));\n if (refineResizeObserver) {\n refineResizeObserver.observe(refineContainerPLP.current);\n headerRef && refineResizeObserver.observe(headerRef);\n }\n return () => {\n if (refineResizeObserver) {\n refineResizeObserver.unobserve(refineContainerPLP.current);\n headerRef && refineResizeObserver.unobserve(headerRef);\n }\n };\n }\n }, [props.willStick, refineContainerPLP, headerRef, currentBreakpoint]);\n const isMountRef = useRef(true);\n useEffect(() => {\n if (!isMountRef.current) {\n dispatch({\n type: inSearch ? SearchActionTypes.FETCH_SEARCH : ListingActionTypes.FETCH_LISTING,\n payload: {\n resultsType: inSearch ? 'REFINE' : 'INIT',\n },\n });\n // removed for OE-27869 request\n // document.documentElement.scrollTop = 0;\n setTimeout(() => {\n document.documentElement.style.removeProperty('scroll-behavior');\n }, 1000);\n }\n isMountRef.current = false;\n }, [selectedFilters, filteredCategory, selectedSort]);\n // LISTING ONLY effect che ri-esegue la ricerca al cambio filtri/sort\n // useEffect(() => {\n // if (!inSearch && !firstLoad) {\n // dispatch({\n // type: ListingActionTypes.FETCH_LISTING,\n // payload: {\n // resultsType: 'INIT',\n // },\n // });\n // document.documentElement.scrollTop = 0;\n // setTimeout(() => {\n // document.documentElement.style.removeProperty('scroll-behavior');\n // }, 1000);\n // }\n // }, [selectedFilters, selectedSort]);\n const refineIsVisibile = () => {\n return refineExpanded || isDesktop;\n };\n const refineWrapper = useRef();\n const refineContainer = useRef();\n const currentSortOption = useMemo(() => {\n return productSort === null || productSort === void 0 ? void 0 : productSort.options.find((option) => {\n let sortingRuleId_temp = option.sortingRuleId;\n let selectedSort_temp = selectedSort;\n if (sortingRuleId_temp == selectedSort_temp) {\n return true;\n }\n else {\n return false;\n }\n });\n }, [selectedSort, productSort]);\n const openRefineModal = () => {\n var _a;\n //Refine button is now only present in mobile\n // per evitare di rompere la modale dei filtri\n if (headerRef && !!headerRef.style.getPropertyValue('transform')) {\n bodyRef.style.overflowY = 'hidden';\n headerRef.style.removeProperty('transform');\n (_a = refineRef.current) === null || _a === void 0 ? void 0 : _a.style.removeProperty('transform');\n setTimeout(() => {\n setRefineExpanded(!refineExpanded);\n setSelectedRefinement('');\n setSortingExpanded(false);\n bodyRef.style.overflowY = 'auto';\n }, 500);\n }\n else {\n setRefineExpanded(!refineExpanded);\n setSelectedRefinement('');\n setSortingExpanded(false);\n }\n window.sprChat && window.sprChat('disable');\n };\n const closeRefine = () => {\n if (isDesktop) {\n refineContainer.current.style.removeProperty('height');\n }\n else {\n window.sprChat && window.sprChat('enable');\n }\n setRefineExpanded(false);\n setSelectedRefinement('');\n };\n const toggleSelectedRefinement = (refinementID, forceHide) => {\n if (isDesktop) {\n if (forceHide || refinementID === selectedRefinement) {\n closeRefine();\n }\n else {\n //Open panel\n const currentFilter = document.querySelector(`#${refinementID}`).nextElementSibling;\n refineContainer.current.style.height = `${currentFilter.offsetHeight + refineWrapper.current.offsetHeight}px`;\n setSelectedRefinement(refinementID);\n }\n setSortingExpanded(false);\n }\n else {\n setSelectedRefinement(refinementID === selectedRefinement ? '' : refinementID);\n setSortingExpanded(false);\n // scroll to start accordion\n const currentFilter = document.querySelector(`#${refinementID}`);\n if (currentFilter) {\n setTimeout(() => {\n let currentFilterParent = currentFilter.closest('li');\n if (currentFilterParent) {\n let prevCurrentFilterParent = currentFilter.previousElementSibling;\n if (prevCurrentFilterParent) {\n let topPositionPrevCurrentFilterParent = prevCurrentFilterParent.getBoundingClientRect().top;\n let scrollTopRefineContainer = refineContainer.current.scrollTop;\n refineContainer.current.scrollTo({ top: topPositionPrevCurrentFilterParent + scrollTopRefineContainer });\n }\n else {\n currentFilterParent.scrollIntoView();\n }\n }\n }, 50);\n }\n }\n };\n const openSort = () => {\n if (isDesktop) {\n document.querySelector('.sort__list--wrapper').style.height = document.querySelector('.sort__list').offsetHeight.toString() + 'px';\n }\n else {\n // handle resize\n document.querySelector('.sort__list--wrapper').style.removeProperty('height');\n }\n setSortingExpanded(true);\n };\n const closeSort = () => {\n if (isDesktop) {\n document.querySelector('.sort__list--wrapper').style.height = '0';\n }\n else {\n // handle resize\n document.querySelector('.sort__list--wrapper').style.removeProperty('height');\n }\n const sortButton = document.querySelector('#sortButton');\n sortButton === null || sortButton === void 0 ? void 0 : sortButton.classList.add('animate-arrow');\n setSortingExpanded(false);\n setTimeout(() => {\n sortButton === null || sortButton === void 0 ? void 0 : sortButton.classList.remove('animate-arrow');\n }, 200);\n };\n const toggleSort = (forceHide) => {\n if (isDesktop) {\n if (!sortingExpanded && !forceHide) {\n openSort();\n }\n else {\n closeSort();\n }\n }\n else {\n //MOBILE\n setSortingExpanded(!sortingExpanded);\n }\n setSelectedRefinement('');\n };\n const allFiltersCount = useMemo(() => {\n return selectedFilters === null || selectedFilters === void 0 ? void 0 : selectedFilters.reduce((count, filter) => {\n var _a;\n return count + (((_a = filter === null || filter === void 0 ? void 0 : filter.values) === null || _a === void 0 ? void 0 : _a.length) || 0);\n }, 0);\n }, [selectedFilters]);\n // START - Used to retrieve initial refinement tabs (ie. genders filters ) after choosing a refine and navigate into and out PDP\n useEffect(() => {\n const lastSearch = sessionStorage.getItem('lastSearch');\n const lastSearchObj = lastSearch && JSON.parse(lastSearch);\n if (lastSearchObj && lastSearchObj.inputSearch && lastSearchObj.categoryRefinement) {\n const params = new URLSearchParams(window.location.search);\n const queryParam = params.get('query');\n if (!queryParam) {\n return;\n }\n else if (lastSearchObj.inputSearch === queryParam) {\n setCategoryRefinement(lastSearchObj.categoryRefinement);\n }\n else {\n sessionStorage.setItem('lastSearch', '');\n }\n }\n }, []);\n useEffect(() => {\n var _a;\n if (inputSearch && ((_a = categoryRefinement === null || categoryRefinement === void 0 ? void 0 : categoryRefinement.values) === null || _a === void 0 ? void 0 : _a.length)) {\n sessionStorage.setItem('lastSearch', JSON.stringify({ inputSearch: inputSearch, categoryRefinement: categoryRefinement }));\n }\n }, [categoryRefinement]);\n // END - Used to retrieve initial refinement tabs (ie. genders filters ) after choosing a refine and navigate into and out PDP\n useEffect(() => {\n let categoryRefinement = refinements === null || refinements === void 0 ? void 0 : refinements.find((refinement) => refinement.isCategoryRefinement);\n if (categoryRefinement && !categoryRefinement.values.find((v) => v.selected)) {\n setCategoryRefinement(categoryRefinement); // don't change if a category has been selected\n }\n if (!props.fromSearch && refinements.length > 0) {\n setLastValidRefinements(refinements);\n }\n }, [refinements]);\n useEffect(() => {\n if (!isDesktop) {\n document.documentElement.style.setProperty('overflow', refineExpanded ? 'hidden' : '');\n }\n }, [refineExpanded]);\n // const filteredCategory: string = useMemo(() => {\n // return refinements?.find((refinement) => refinement.isCategoryRefinement)?.values?.find((v) => v.selected)?.id;\n // }, [refinements]);\n const getFilter = (filterId) => {\n return selectedFilters.find((filter) => {\n return filter.id === filterId;\n });\n };\n const filterCount = (refinement) => {\n var _a, _b;\n let count = ((_b = (_a = getFilter(refinement.attributeID)) === null || _a === void 0 ? void 0 : _a.values) === null || _b === void 0 ? void 0 : _b.length) || 0;\n // Fallback per back da PDP\n if (!count) {\n refinement.values.map((v) => {\n if (v.selected) {\n count++;\n }\n });\n }\n return !!count && React.createElement(\"sup\", { \"aria-label\": t('refine.currentlyselectedfilters') + ' ' + count }, count);\n };\n const resetFilters = (filterId) => {\n closeRefine();\n dispatch({\n type: getRefinementType(),\n payload: {\n filterAction: 'RESET',\n filterId,\n },\n });\n };\n const sortItems = (option) => {\n dispatch({\n type: getRefinementType(),\n payload: {\n filterAction: 'SORT',\n selectedSort: option.sortingRuleId,\n },\n });\n //setCurrentSortOption(option);\n if (isDesktop) {\n closeRefine();\n }\n };\n const addFilterValue = (filterId, valueId) => {\n dispatch({\n type: getRefinementType(),\n payload: {\n filterAction: 'ADD',\n filterId,\n valueId,\n },\n });\n };\n const sizeGroupFilter = (refinement, key) => {\n const sizeGroup = sizeGroups[key];\n return sizeGroup.length > 0 ? (React.createElement(\"div\", { className: \"filters__menu__group\", key: key },\n React.createElement(\"fieldset\", { className: \"fieldset--plain\" },\n React.createElement(\"legend\", { className: \"filters__menu__group-name\" }, t(`sizegroup.${key}`)),\n React.createElement(\"ul\", null, sizeGroup.map((item, i) => {\n return (React.createElement(ProductFilterCheckbox, { key: i + item.displayValue, refinement: refinement, refinementValue: item, index: i, addFilterValue: addFilterValue, fromSearch: props.fromSearch }));\n }))))) : (React.createElement(React.Fragment, null));\n };\n const onComplete = () => {\n if (!inSearch) {\n setTimeout(() => {\n // aspetto 100ms per evitare microlag\n dispatch({ type: ListingActionTypes.TOGGLE_LANDING_ANIMATION, payload: false });\n }, 100);\n }\n };\n const sendFiltersAnalytics = (refinement) => {\n if (refinement.attributeID != selectedRefinement)\n props.fromSearch\n ? analytics.searchRefineFirstLevel(refinement.attributeID ? refinement.attributeID : refinement.displayName)\n : analytics.refineFirstLevel(refinement.attributeID ? refinement.attributeID : refinement.displayName);\n };\n // HOVER EVENTS REMOVAL ON PLP FILTERS [OE-15483]\n const onFiltersHoverHandler = (refinement, forceHide) => {\n if (isDesktop) {\n toggleSelectedRefinement(refinement.attributeID, forceHide);\n // HOVER EVENTS REMOVAL ON PLP FILTERS [OE-15483]\n // sendFiltersAnalytics(refinement);\n }\n };\n const onFiltersClickHandler = (refinement) => {\n toggleSelectedRefinement(refinement.attributeID, false);\n sendFiltersAnalytics(refinement);\n };\n const subCategoryTitle = () => {\n return React.createElement(\"h1\", { className: \"plp-heading__subcategory-title\" }, (category === null || category === void 0 ? void 0 : category.plpName) || (category === null || category === void 0 ? void 0 : category.name));\n };\n const refineButton = () => {\n return (React.createElement(motion.div, { transition: getDefferedTransition(3), initial: { opacity: 0 }, animate: { opacity: !startAnimation && landingAnimation ? 0 : 1 }, className: \"wrapper-refine-button\", ref: wrapperRefineButton },\n React.createElement(\"button\", { type: \"button\", onClick: () => {\n openRefineModal();\n if (!refineExpanded) {\n props.fromSearch ? analytics.searchRefineOpen() : analytics.refineOpen();\n }\n }, \"aria-expanded\": refineExpanded, \"aria-controls\": \"refineOptions\", className: \"refine__toggle\" },\n React.createElement(\"span\", null, t('refine.title')),\n allFiltersCount > 0 && React.createElement(\"sup\", { \"aria-label\": t('refine.currentlyselectedfilters') + ' ' + allFiltersCount }, allFiltersCount))));\n };\n const appHeaderBar = () => {\n return (React.createElement(\"div\", { className: \"app-header-bar\" },\n React.createElement(\"button\", { className: \"button\", onClick: () => history.back() },\n React.createElement(\"i\", { className: \"icon--arrow-left-black\" })),\n subCategoryTitle(),\n refineButton()));\n };\n const hasRefinements = () => {\n var _a;\n return ((_a = categoryRefinement === null || categoryRefinement === void 0 ? void 0 : categoryRefinement.values) === null || _a === void 0 ? void 0 : _a.length) > 1;\n };\n const shownRefinements = useMemo(() => {\n if (props.fromSearch || refinements.length > 0) {\n return refinements;\n }\n else {\n // If in PLP refinements are empty, we show the last ones to let the user deselect something\n // To avoid weird selections, we only allow to (de)select the already selected ones\n const noResultsFilters = lastValidRefinements.map((r) => {\n return Object.assign(Object.assign({}, r), { values: r.values.map((v) => {\n return Object.assign(Object.assign({}, v), { selectable: v.selected });\n }) });\n });\n return noResultsFilters;\n }\n }, [refinements]);\n return (React.createElement(\"div\", { ref: refineRef, className: classNames('refine', { expanded: refineExpanded }, { 'from-app': isFromAPP }), style: { top: refineContainerPLPHeight } },\n React.createElement(\"div\", { className: classNames('container results-row', !inSearch && 'in-plp', props.plpintro && 'intro-plp', ((_b = (_a = props.plpintro) === null || _a === void 0 ? void 0 : _a.image) === null || _b === void 0 ? void 0 : _b.path) && 'image-bg', hasRefinements() && 'with-refinements'), ref: refineContainerPLP },\n ((_d = (_c = props.plpintro) === null || _c === void 0 ? void 0 : _c.image) === null || _d === void 0 ? void 0 : _d.path) && (React.createElement(\"picture\", { className: \"intro-plp__image\" },\n ((_f = (_e = props.plpintro) === null || _e === void 0 ? void 0 : _e.image_mobile) === null || _f === void 0 ? void 0 : _f.path) && React.createElement(\"source\", { media: \"(max-width: 768px)\", srcSet: (_g = props.plpintro) === null || _g === void 0 ? void 0 : _g.image_mobile.path }),\n React.createElement(Lazyimg, { src: (_j = (_h = props.plpintro) === null || _h === void 0 ? void 0 : _h.image) === null || _j === void 0 ? void 0 : _j.path, alt: \"\" }))),\n !inSearch ? (React.createElement(motion.div, { transition: tranitionDomReady, initial: { opacity: 0 }, animate: { opacity: 1 }, className: \"plp-heading\", ref: refinePLPHeading },\n ((_l = (_k = props.plpintro) === null || _k === void 0 ? void 0 : _k.image) === null || _l === void 0 ? void 0 : _l.path) && props.plpintro.logo && React.createElement(Lazyimg, { className: \"plp-heading__collection-logo\", src: props.plpintro.logo.path, alt: \"logo\" }),\n ((_m = props.plpintro) === null || _m === void 0 ? void 0 : _m.regions.breadcrumbs_area.components.length) ? (React.createElement(PlpIntroBreadcrumb, { logo: props.plpintro.logo, logo_link: props.plpintro.logo_link, breadcrumbs: props.plpintro.regions.breadcrumbs_area.components })) : (React.createElement(NewBreadcrumb, null)),\n props.plpintro ? (React.createElement(PlpIntroTags, { tags: props.plpintro.regions.tags_area.components, title: props.plpintro.title || (category === null || category === void 0 ? void 0 : category.plpName) || (category === null || category === void 0 ? void 0 : category.name), description: props.plpintro.description || (category === null || category === void 0 ? void 0 : category.description), readMore: props.plpintro.read_more || (category === null || category === void 0 ? void 0 : category.descriptionReadMore) })) : (React.createElement(\"div\", { className: \"plp-heading__title-bar\" }, subCategoryTitle())))) : (React.createElement(React.Fragment, null, hasRefinements() && (React.createElement(\"form\", { className: \"search-maincategories\" },\n React.createElement(\"fieldset\", null,\n React.createElement(\"legend\", { className: \"visually-hidden\" }, t('search.category.a11y')),\n React.createElement(\"label\", { key: 'all', className: classNames({ active: !filteredCategory }) },\n React.createElement(\"input\", { type: \"radio\", value: 'all', name: \"search-categories\", onClick: () => {\n analytics.filterByGender('all');\n dispatch({\n type: getRefinementType(),\n payload: {\n filterAction: 'ADD',\n id: 'all',\n },\n });\n } }),\n React.createElement(\"span\", null,\n \" \",\n t(`search.category.all`))), (_o = categoryRefinement === null || categoryRefinement === void 0 ? void 0 : categoryRefinement.values) === null || _o === void 0 ? void 0 :\n _o.filter((v) => v.id != 'genius').map((gender) => (React.createElement(\"label\", { key: gender.id, className: classNames({ active: gender.id == filteredCategory }) },\n React.createElement(\"input\", { type: \"radio\", value: gender.id, name: \"search-categories\", onClick: () => {\n analytics.filterByGender(gender.id);\n dispatch({\n type: getRefinementType(),\n payload: {\n filterAction: 'ADD',\n id: gender.id,\n },\n });\n } }),\n React.createElement(\"span\", null, gender.displayValue))))))))),\n !isDesktop ? (isFromAPP ? appHeaderBar() : refineButton()) : ''),\n !props.fullyEditorialPlp && (React.createElement(motion.div, { transition: getDefferedTransition(3), initial: { opacity: 0 }, animate: { opacity: !startAnimation && landingAnimation ? 0 : 1 }, onAnimationComplete: onComplete, style: { opacity: 0 } },\n React.createElement(\"div\", { ref: refineWrapper, id: \"refineOptions\", className: classNames('refine__options', refineIsVisibile() && 'is-visible') },\n React.createElement(\"div\", { className: \"refine__header\" },\n React.createElement(\"div\", { className: \"container\" },\n React.createElement(\"p\", { className: \"refine__header__title\" },\n t('refine.title'),\n allFiltersCount > 0 && React.createElement(\"sup\", { \"aria-label\": t('refine.currentlyselectedfilters') + ' ' + allFiltersCount }, allFiltersCount)),\n React.createElement(\"button\", { type: \"button\", \"aria-label\": t('button.close'), className: \"modal__close\", onClick: () => {\n closeRefine();\n } }))),\n React.createElement(\"div\", { ref: refineContainer, className: \"container refine__container\" },\n React.createElement(\"ul\", { id: \"filters1\", className: classNames('filters', selectedRefinement != '' && 'expanded'), \"aria-label\": t('refine.title') }, shownRefinements &&\n (shownRefinements === null || shownRefinements === void 0 ? void 0 : shownRefinements\n // ?.filter((refinement) => refinement.values.length > 1 || refinement.values[0].selected)\n .filter((refinement) => refinement.values.length > 1 && !refinement.isCategoryRefinement).map((refinement, i) => (React.createElement(\"li\", { key: i, onMouseLeave: () => {\n onFiltersHoverHandler(refinement, true);\n }, onMouseEnter: () => {\n onFiltersHoverHandler(refinement, false);\n } },\n React.createElement(\"button\", { id: refinement.attributeID, type: \"button\", onClick: () => {\n onFiltersClickHandler(refinement);\n }, \"aria-expanded\": refinement.attributeID === selectedRefinement, \"aria-controls\": 'filters-' + refinement.attributeID, className: classNames('filters__menuitem', selectedRefinement && refinement.attributeID !== selectedRefinement && 'filters__menuitem--off') },\n refinement.displayName,\n filterCount(refinement)),\n React.createElement(\"div\", { id: 'filters-' + refinement.attributeID, className: classNames('filters__menu', 'container', refinement.attributeID === 'size' && sizeGroups && Object.keys(sizeGroups).length > 1\n ? 'filters__menu--size-grouped'\n : 'filters__menu--' + refinement.attributeID) },\n refinement.attributeID === 'size' && sizeGroups && Object.keys(sizeGroups).length > 1 ? (React.createElement(\"div\", { className: \"filters__menu__wrapper-group\" }, Object.keys(sizeGroups).map((groupKey) => {\n return sizeGroupFilter(refinement, groupKey);\n }))) : (React.createElement(\"ul\", null, refinement === null || refinement === void 0 ? void 0 : refinement.values.map((refinementValue, i) => {\n return (React.createElement(ProductFilterCheckbox, { key: i + refinementValue.displayValue, refinement: refinement, refinementValue: refinementValue, index: i, addFilterValue: addFilterValue, fromSearch: props.fromSearch }));\n }))),\n isDesktop && (React.createElement(\"button\", { type: \"button\", className: \"link\", onClick: () => {\n resetFilters();\n props.fromSearch ? analytics.searchRefineClear() : analytics.refineClear();\n } }, t('button.resetall'))))))))),\n React.createElement(SortBy, { productSort: productSort, sortingExpanded: sortingExpanded, fromSearch: props.fromSearch, currentSortOption: currentSortOption || productSort.options[0], sortItems: sortItems, toggleSort: toggleSort })),\n React.createElement(\"div\", { className: \"refine__footer\" },\n React.createElement(\"div\", { className: \"container\" },\n React.createElement(\"button\", { type: \"button\", onClick: () => {\n resetFilters();\n props.fromSearch ? analytics.searchRefineClearAll() : analytics.refineClearAll();\n }, className: \"link\" }, t('button.resetall')),\n React.createElement(\"button\", { type: \"button\", onClick: () => {\n closeRefine();\n props.fromSearch ? analytics.searchRefineShow() : analytics.refineShow();\n }, className: \"button button--arrow-right button--tertiary\" }, t('refine.showresults')))))))));\n};\nexport default ProductFilters;\n","import analytics from '@utils/analytics';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport DwMarker from '@common/components/common/DwMarker';\nimport ProductImage from '@moncler/components/product/ProductImage';\nconst ProductTileFeatured = (props) => {\n if (!props.product) {\n return React.createElement(React.Fragment, null);\n }\n const { t } = useTranslation();\n const product = typeof props.product === 'string' ? JSON.parse(props.product) : props.product;\n const imgEditorial = typeof props.imgEditorial === 'string' ? { path: props.imgEditorial } : props.imgEditorial;\n return (React.createElement(React.Fragment, null, product && (React.createElement(\"div\", { className: \"product-tile product-tile-featured\", \"data-product\": product.id, tabIndex: -1 },\n React.createElement(DwMarker, { type: \"product\", uuid: product.uuid }),\n React.createElement(\"div\", { className: \"product-tile__card\" },\n React.createElement(\"a\", { href: product.productUrl, className: \"product-tile__link\", onClick: () => {\n analytics.productClickTP(product, props.index, props.actionList);\n } },\n React.createElement(\"div\", { className: \"product-tile__image-wrapper\" }, imgEditorial ? (React.createElement(\"img\", { className: \"product-tile__editorial-img\", src: imgEditorial.path, alt: \"\" })) : (React.createElement(ProductImage, { productId: product.id, img: product.imgs, type: 'F', className: \"product-tile__image\", alt: \"\" }))),\n React.createElement(\"div\", { className: \"product-tile__info\" },\n !props.simplified && React.createElement(\"h3\", { className: \"product-tile__pd-name primary-s uppercase\" }, product.productName),\n !props.videoBg && (React.createElement(React.Fragment, null,\n React.createElement(\"p\", { className: \"product-tile__description primary-s\" }, props.description),\n React.createElement(\"p\", { className: \"product-tile__cta uppercase primary-xs\" }, t('button.shopnow')))))))))));\n};\nexport default ProductTileFeatured;\n","import React from 'react';\nconst ConditionalLock = (props) => {\n return (React.createElement(React.Fragment, null,\n (!props.lockCTAs || props.conditionMet) && props.ifUnlock,\n props.lockCTAs && !props.conditionMet && props.ifLock));\n};\nexport default ConditionalLock;\n","import Lazyimg from '@components/utils/Lazyimg';\nimport ThronVideo from '@components/utils/ThronVideo';\nimport analytics from '@utils/analytics';\nimport classNames from 'classnames';\nimport React, { useEffect, useState } from 'react';\nimport LoginModal from '@components/login/LoginModal';\nimport '@arianee/arn-components'; // Register ARN web components\nimport ConditionalLock from '@moncler/components/listing/ConditionalLock';\nimport WalletConnectBtn from '@moncler/components/nft/WalletConnectBtn';\nimport { useTranslation } from 'react-i18next';\nimport { Tab, TabList, TabPanel, Tabs } from 'react-tabs';\nimport ModalDialog from '@ui/modal/ModalDialog';\nimport EditorialButton from './EditorialButton';\nimport useBreakpoint from '@utils/useBreakpoint';\nimport QRCode from 'react-qr-code';\nimport CountDown from '../countdown/countdown';\nimport { BAA } from '@utils/constants';\nconst Promo5050 = (props) => {\n const { t } = useTranslation();\n const card = typeof props.card === 'string' ? JSON.parse(props.card) : props.card;\n const videoBg = card.thronID || card.thronMobileID;\n const componentTitleAnalytics = card.title_analytics || card.title;\n const buttons = typeof props.buttons === 'string' ? JSON.parse(props.buttons) : props.buttons;\n const imageLinks = typeof props.imageLinks === 'string' ? JSON.parse(props.imageLinks) : props.buttons;\n const currentBreakpoint = useBreakpoint();\n const [isDesktop, setIsDesktop] = useState(false);\n useEffect(() => {\n if (currentBreakpoint >= window.mqObj.md) {\n setIsDesktop(true);\n }\n else {\n setIsDesktop(false);\n }\n }, [currentBreakpoint]);\n const [openDownloadDialog, setOpenDownloadDialog] = useState(false);\n useEffect(() => {\n if (document.documentElement.style.scrollBehavior !== 'smooth' && window.pageAction !== 'Search-Show') {\n document.documentElement.style.scrollBehavior = 'smooth';\n }\n }, []);\n // in case of book an appointment form OE-14865\n const focusVirtualAppointmentTab = () => {\n const parentEl = document.querySelector('.clientservice_bookappointment');\n const tabsForm = parentEl.querySelectorAll('.optionbox__item__radio');\n tabsForm.forEach((el) => {\n const tabsValue = Number(el.getAttribute('value'));\n if (tabsValue == BAA.APPOINTMENT.VIRTUAL) {\n return el.click();\n }\n });\n };\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: classNames('promo-50-50__container', `promo-50-50__${(card.padding && 'padded') || 'not-padded'}`, `promo-50-50__bg--${card.backgroundColor || 'white'}`), id: card.componentID },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: classNames(`col-${card.padding ? 'md' : 'sm'}-6 promo-50-50__img-col promo-50-50__img-col--${card.mediaPositionDesktop} promo-50-50__img-col--${card.mediaPositionMobile}`, videoBg ? 'promo-50-50__video-col' : '') }, videoBg ? (React.createElement(\"div\", { className: \"video-container\" },\n React.createElement(\"button\", { className: \"btn--pause btn--pause-white btn-video-pause\", \"aria-label\": t('button.pause'), \"aria-pressed\": \"false\", \"data-pause\": true }),\n React.createElement(ThronVideo, { thronID: card.thronID, thronMobileID: card.thronMobileID, autoplay: true, muted: true, className: \"controlled\", noskin: true }))) : (React.createElement(\"picture\", { className: classNames('promo-50-50__picture', card.gradient && 'promo-50-50__picture--gradient') },\n card.imageM && React.createElement(\"source\", { media: \"(min-width:600px)\", srcSet: card.imageM.path }),\n card.imageL && React.createElement(\"source\", { media: \"(min-width:1024px)\", srcSet: card.imageL.path }),\n React.createElement(Lazyimg, { src: card.image.path, alt: card.image_alt || '', width: card.image.meta_data.width, height: card.image.meta_data.height })))),\n React.createElement(\"div\", { className: classNames(`col-${card.padding ? 'md' : 'sm'}-6 promo-50-50__text-col`, `promo-50-50__text-col--padding-${card.mediaPositionMobile}`) },\n React.createElement(\"div\", { className: classNames('promo-50-50__text-wrapper', { 'left-align': card.textAlignment === 'left' }) },\n card.logo && React.createElement(\"img\", { src: card.logo.path, alt: \"\", className: \"promo-50-50__logo\" }),\n card.title &&\n (card.promo5050_cs ? (React.createElement(\"h2\", { className: \"promo-50-50__title primary-l-u\" },\n card.eyebrows && React.createElement(\"span\", { className: \"promo-50-50__eyebrows\" }, card.eyebrows),\n card.title)) : (React.createElement(\"h3\", { className: \"promo-50-50__title primary-l-u\" }, card.title))),\n (card.promo5050_cs && (React.createElement(\"div\", { className: classNames('promo-50-50__description', `primary-${card.title ? 'xs' : 'l'}`), dangerouslySetInnerHTML: { __html: card.description } }))) || React.createElement(\"p\", { className: \"promo-50-50__description primary-xs\" }, card.description),\n React.createElement(\"div\", { className: \"promo-50-50__cta-wrapper\" },\n card.showModal && (React.createElement(CountDown, { img: card.modalImage, text: card.linkText_0 || card.linkText_1, title: '', modaltitle: props.modaltitle, modaltext: card.modalText, modalctatext: props.modalctatext, classes: card.buttonCls, type: 'flp' })),\n !card.showModal && (React.createElement(React.Fragment, null, (buttons === null || buttons === void 0 ? void 0 : buttons.length) ? (buttons.map((button) => React.createElement(EditorialButton, { key: button.ID, button: button, accountUrl: props.accountUrl }))) : (React.createElement(ConditionalLock, { conditionMet: props.customerGroupsCondition, lockCTAs: card.lockCTAs, ifUnlock: React.createElement(React.Fragment, null,\n card.downloadButton === 'First CTA' && isDesktop && (React.createElement(\"button\", { className: classNames(`button--${card.ctaStyle}`, { 'button--arrow-right': card.ctaStyle === 'tertiary', button: card.ctaStyle === 'primary' }), onClick: () => {\n setOpenDownloadDialog(true);\n } }, card.linkText_0)),\n card.downloadButton !== 'First CTA' && card.link_0 && (React.createElement(\"a\", { href: card.link_0, className: classNames(`button--${card.ctaStyle}`, { 'button--arrow-right': card.ctaStyle === 'tertiary', button: card.ctaStyle === 'primary' }), onClick: () => {\n if (props.virtualAppointmentFocusFirstLink) {\n focusVirtualAppointmentTab();\n }\n else {\n const parentEl = document.querySelector('.clientservice_bookappointment');\n (parentEl === null || parentEl === void 0 ? void 0 : parentEl.querySelector('.optionbox__item__radio')).click();\n }\n if (card.linkText_0) {\n analytics.clientServiceRedesignAnalytics(`${props.pagetitleforanalytics}`.toLowerCase(), (`${componentTitleAnalytics ? componentTitleAnalytics + '-' : ''}` + `${card.linkText_0_analytics || card.linkText_0}`).toLowerCase());\n }\n } }, card.linkText_0)),\n card.downloadButton === 'Second CTA' && isDesktop && (React.createElement(\"button\", { className: classNames(`button--${card.ctaStyle}`, { 'button--arrow-right': card.ctaStyle === 'tertiary', button: card.ctaStyle === 'primary' }), onClick: () => {\n setOpenDownloadDialog(true);\n } }, card.linkText_1)),\n card.downloadButton !== 'Second CTA' && card.link_1 && (React.createElement(\"a\", { href: card.link_1, className: classNames(`button--${card.ctaStyle}`, { 'button--arrow-right': card.ctaStyle === 'tertiary', button: card.ctaStyle === 'primary' }), onClick: () => {\n if (props.virtualAppointmentFocusSecondLink) {\n focusVirtualAppointmentTab();\n }\n else {\n const parentEl = document.querySelector('.clientservice_bookappointment');\n (parentEl === null || parentEl === void 0 ? void 0 : parentEl.querySelector('.optionbox__item__radio')).click();\n }\n if (card.linkText_1) {\n analytics.clientServiceRedesignAnalytics(`${props.pagetitleforanalytics}`.toLowerCase(), (`${componentTitleAnalytics ? componentTitleAnalytics + '-' : ''}` + `${card.linkText_1_analytics || card.linkText_1}`).toLowerCase());\n }\n } }, card.linkText_1))), ifLock: props.lockType === 'walletLock' ? (React.createElement(WalletConnectBtn, { btnClass: \"button button--primary-inverted\" })) : (React.createElement(LoginModal, { reloadPage: true, customLoginBtnLabel: \"checkout.logincta\", customClass: \"button--secondary\" })) }))))),\n !!(imageLinks === null || imageLinks === void 0 ? void 0 : imageLinks.length) && (React.createElement(\"div\", { className: \"promo-50-50__download-cta-wrapper\" }, imageLinks.map((imageLink, i) => (React.createElement(\"a\", { key: `imageLink-${i}`, href: imageLink.link, className: \"image-link\" },\n React.createElement(\"img\", { src: imageLink.image.path, alt: imageLink.image_alt, className: \"download-app-button\" })))))))))),\n React.createElement(ModalDialog, { overlayClassName: \"mobile-visible\", contentLabel: t('label.downloadapp'), className: \"promo-50-50__modal promo-50-50__modal--small\", isOpen: openDownloadDialog, role: \"dialog\", onRequestClose: () => {\n setOpenDownloadDialog(false);\n } },\n React.createElement(Tabs, null,\n React.createElement(TabList, { className: \"react-tabs__tab-list\" },\n React.createElement(Tab, null, t('label.os.ios.title')),\n React.createElement(Tab, null, t('label.os.android.title'))),\n React.createElement(TabPanel, null,\n React.createElement(\"p\", { className: \"primary-xs mt-24 mb-24\" }, t('label.os.ios.download')),\n React.createElement(QRCode, { size: 100, className: \"promo-50-50__download-app-qrcode\", value: \"https://apps.apple.com/app/moncler/id1526276232\" })),\n React.createElement(TabPanel, null,\n React.createElement(\"p\", { className: \"primary-xs mt-24 mb-24\" }, t('label.os.android.download')),\n React.createElement(QRCode, { size: 100, className: \"promo-50-50__download-app-qrcode\", value: \"https://play.google.com/store/apps/details?id=com.moncler.ecommerce.store\" }))))));\n};\nexport default Promo5050;\n","import Lazyimg from '@components/utils/Lazyimg';\nimport ThronVideo from '@components/utils/ThronVideo';\nimport analytics from '@utils/analytics';\nimport { getDefferedTransition } from '@utils/landingAnimations';\nimport useBreakpoint from '@utils/useBreakpoint';\nimport classNames from 'classnames';\nimport { motion } from 'framer-motion';\nimport React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nconst PromoEditorialCard = (props) => {\n var _a, _b, _c, _d, _e, _f, _g;\n const card = typeof props.card === 'string' ? JSON.parse(props.card) : props.card;\n const videoBg = card.thronID || card.thronMobileID;\n const { t } = useTranslation();\n const currentBreakpoint = useBreakpoint();\n const cardLinkTypeMap = {\n 'First CTA': card.link_0,\n 'Second CTA': card.link_1,\n 'Card Link': card.link,\n };\n // const cardLinkTextTypeMap = {\n // 'First CTA': card.linkText_0_analytics || card.linkText_0,\n // 'Second CTA': card.linkText_1_analytics || card.linkText_1,\n // 'Card Link': card.linkText_analytics || card.linkText,\n // };\n const ariaHideImageLink = {\n None: false,\n 'First CTA': true,\n 'Second CTA': true,\n 'Card Link': false,\n };\n const ContainerPictureTag = cardLinkTypeMap[card.cardLinkType] ? 'a' : 'div';\n const [isDesktop, setIsDesktop] = useState(false);\n // gestisco hide/show quick buy su mobile\n useEffect(() => {\n if (currentBreakpoint >= window.mqObj.md) {\n setIsDesktop(true);\n }\n else {\n setIsDesktop(false);\n }\n }, [currentBreakpoint]);\n const handleClick = (clickedCta) => {\n var _a, _b, _c;\n // let analyticsTitle = card.title_analytics || card.title;\n analytics.promoEditorialCardsAnalytics('promo tile', clickedCta);\n if ((_a = card.product) === null || _a === void 0 ? void 0 : _a.isMbm) {\n analytics.promoImage('promo tile', (_b = card.product) === null || _b === void 0 ? void 0 : _b.name);\n }\n else if (props.trackingAction) {\n props.trackingAction();\n }\n else if (card.analytics_type == 'vto') {\n analytics.vtoPlpGeneric((_c = card.linkText_0) === null || _c === void 0 ? void 0 : _c.toLowerCase());\n }\n };\n return (((card.description ||\n card.typeid === 'component_plp_promo_card_small' ||\n (card.typeid === 'component_plp_promo_card_large' && !card.link) ||\n card.linkText_0 ||\n card.linkText_1) && (React.createElement(motion.div, { transition: getDefferedTransition(isDesktop ? (props.index < 4 ? 0 : 1) : props.index < 2 ? 0 : props.index < 4 ? 1 : 2, true), initial: { opacity: props.index < 8 ? 0 : 1 }, animate: { opacity: props.hasAnimation && !props.startAnimation ? 0 : 1 }, className: classNames('plppromo__div', ((_a = card.contentPosition) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '', videoBg && 'plppromo__video', { simplified: card.simplified }) },\n videoBg && (React.createElement(\"div\", { className: \"video-container\" },\n React.createElement(ThronVideo, { thronID: card.thronID, thronMobileID: card.thronMobileID, autoplay: true, muted: true }),\n React.createElement(\"button\", { className: \"btn--pause btn--pause-white\", \"aria-label\": t('button.pause'), \"data-pause\": true, \"aria-pressed\": \"false\" }))),\n React.createElement(\"div\", { className: classNames('plppromo__text-wrapper', 'container', 'no-pointer', `${(_b = card.alignment) === null || _b === void 0 ? void 0 : _b.replace(' ', '-').toLowerCase()}`) },\n card.logo && React.createElement(\"img\", { src: card.logo.path, alt: \"\", className: \"plppromo__logo\" }),\n card.collection_name && React.createElement(\"div\", { className: \"plppromo__collection-name primary-s\", dangerouslySetInnerHTML: { __html: card.collection_name } }),\n React.createElement(\"p\", { id: `promo-card__title-${card.ID}`, className: classNames(card.isWhite ? 'plppromo__title white-title' : 'plppromo__title', card.title_typo === 'BlockGothicRR' ? 'BlockGothicRR' : '') }, card.title),\n React.createElement(\"p\", { className: \"plppromo__description\" }, card.description),\n card.sustainabilityLogo_0 && (React.createElement(\"div\", { className: \"plppromo__badge-logo__wrapper\" },\n card.sustainabilityLogo_0 && (React.createElement(\"div\", { className: \"plppromo__badge-logo__col\" },\n React.createElement(\"img\", { src: card.sustainabilityLogo_0.path, alt: \"\", className: \"plppromo__badge-logo__img\" }),\n React.createElement(\"p\", { className: \"plppromo__badge-logo__text\" }, card.sustainabilityText_0))),\n card.sustainabilityLogo_1 && (React.createElement(\"div\", { className: \"plppromo__badge-logo__col\" },\n React.createElement(\"img\", { src: card.sustainabilityLogo_1.path, alt: \"\", className: \"plppromo__badge-logo__img\" }),\n React.createElement(\"p\", { className: \"plppromo__badge-logo__text\" }, card.sustainabilityText_1))),\n card.sustainabilityLogo_2 && (React.createElement(\"div\", { className: \"plppromo__badge-logo__col\" },\n React.createElement(\"img\", { src: card.sustainabilityLogo_2.path, alt: \"\", className: \"plppromo__badge-logo__img\" }),\n React.createElement(\"p\", { className: \"plppromo__badge-logo__text\" }, card.sustainabilityText_2))))),\n React.createElement(\"div\", { className: \"plppromo__cta-wrapper\" },\n card.typeid === 'component_plp_promo_card_small' && card.link && (React.createElement(\"a\", { \"aria-describedby\": `promo-card__title-${card.ID}`, href: card.link, className: classNames(card.typeid === 'component_plp_promo_card_small' ? 'button--tertiary-inverted button--arrow-right' : 'button--secondary-inverted', 'plppromo__cta button'), onClick: () => handleClick((card.title_analytics || card.title).toLowerCase() + '-' + (card.linkText_analytics || card.linkText).toLowerCase()) }, card.linkText)),\n card.link_0 && (React.createElement(\"a\", { \"aria-describedby\": `promo-card__title-${card.ID}`, href: card.link_0, className: classNames('button--tertiary-inverted button--arrow-right', 'plppromo__cta button'), onClick: () => handleClick((card.title_analytics || card.title).toLowerCase() + '-' + (card.linkText_0_analytics || card.linkText_0).toLowerCase()) }, card.linkText_0)),\n card.link_1 && (React.createElement(\"a\", { \"aria-describedby\": `promo-card__title-${card.ID}`, href: card.link_1, className: classNames('button--tertiary-inverted button--arrow-right', 'plppromo__cta button'), onClick: () => handleClick((card.title_analytics || card.title).toLowerCase() + '-' + (card.linkText_1_analytics || card.linkText_1).toLowerCase()) }, card.linkText_1)))),\n !videoBg && (React.createElement(ContainerPictureTag, { href: cardLinkTypeMap[card.cardLinkType], className: classNames(cardLinkTypeMap[card.cardLinkType] ? 'plppromo__link' : 'plppromo__picture-container'), \"aria-labelledby\": card.title, \"tab-index\": ariaHideImageLink[card.cardLinkType] ? '-1' : '', \"aria-hidden\": ariaHideImageLink[card.cardLinkType], \n // onClick={() => handleClick(cardLinkTextTypeMap[card.cardLinkType as keyof typeof cardLinkTextTypeMap])}\n onClick: () => handleClick((card.title_analytics || card.title || ' ').toLowerCase()) },\n React.createElement(\"picture\", { className: classNames('plppromo__picture', card.gradient && 'plppromo__picture--gradient', `${(_c = card.alignment) === null || _c === void 0 ? void 0 : _c.replace(' ', '-').toLowerCase()}`) },\n card.imageM && React.createElement(\"source\", { media: \"(min-width:600px)\", srcSet: card.imageM.path }),\n React.createElement(Lazyimg, { src: card.image.path, alt: card.image_alt || '', width: (_d = card.image.meta_data) === null || _d === void 0 ? void 0 : _d.width, height: (_e = card.image.meta_data) === null || _e === void 0 ? void 0 : _e.height }))))))) || (React.createElement(motion.a, { transition: getDefferedTransition(isDesktop ? (props.index < 4 ? 0 : 1) : props.index < 2 ? 0 : props.index < 4 ? 1 : 2, true), initial: { opacity: props.index < 8 ? 0 : 1 }, animate: { opacity: props.hasAnimation && !props.startAnimation ? 0 : 1 }, className: classNames('plppromo__link', 'plppromo__promo-medium'), href: card.link || ((_f = card.product) === null || _f === void 0 ? void 0 : _f.productUrl), onClick: () => handleClick('card.title_analytics || card.title_analytics') }, React.createElement(React.Fragment, null,\n React.createElement(\"span\", { className: card.isWhite ? 'plppromo__title white-title' : 'plppromo__title' }, card.title),\n React.createElement(\"picture\", { className: classNames('plppromo__picture', card.gradient && 'plppromo__picture--gradient', `${(_g = card.alignment) === null || _g === void 0 ? void 0 : _g.replace(' ', '-').toLowerCase()}`) },\n card.imageM && React.createElement(\"source\", { media: \"(min-width:600px)\", srcSet: card.imageM.path }),\n card.imageL && React.createElement(\"source\", { media: \"(min-width:1024px)\", srcSet: card.imageL.path }),\n React.createElement(Lazyimg, { src: card.image.path, alt: card.image_alt || '', width: card.image.meta_data.width, height: card.image.meta_data.height, ariaHidden: true }))))));\n};\nexport default PromoEditorialCard;\n","import PromoShowcaseCard from '@moncler/components/listing/PromoShowcaseCard';\nimport React, { useEffect, useRef, useState } from 'react';\nimport SwiperCore, { Autoplay, EffectFade, EffectFlip, Keyboard, Navigation } from 'swiper';\nimport { Swiper as SwiperInstance, SwiperSlide } from 'swiper/react';\nSwiperCore.use([Keyboard, Navigation, Autoplay, EffectFade, EffectFlip]);\nconst PromoShowcase = (props) => {\n const card = typeof props.card === 'string' ? JSON.parse(props.card) : props.card;\n const componentCards = card.regions.promo_showcase_cards_container.components;\n const swiperRef = useRef();\n const [activeSlide, setActiveSlide] = useState();\n const [slidesLength, setSlidesLength] = useState();\n useEffect(() => {\n setSlidesLength(componentCards.length.toString().padStart(2, '0'));\n });\n const swiperConf = {\n // effect: 'fade' as const,\n // fadeEffect: {\n // crossFade: true,\n // },\n // navigation: true,\n pagination: {\n el: '.swiper-pagination',\n type: 'bullets',\n clickable: true,\n },\n mousewheel: {\n forceToAxis: true,\n thresholdDelta: 20,\n },\n roundLengths: true,\n slidesPerView: 1,\n speed: 800,\n autoplay: {\n pauseOnMouseEnter: false,\n disableOnInteraction: false,\n delay: 5000,\n },\n loop: true,\n modules: [Navigation],\n };\n return (React.createElement(\"div\", { className: `promo-showcase promo-showcase__carousel row ${componentCards.length <= 1 && 'single-card'}` },\n React.createElement(\"div\", { className: \"col-md-12 promo-showcase__container\" },\n componentCards.length <= 1 && React.createElement(PromoShowcaseCard, { card: componentCards[0] }),\n componentCards.length > 1 && (React.createElement(React.Fragment, null,\n React.createElement(SwiperInstance, Object.assign({ className: \"promo-showcase__cards-swiper\" }, swiperConf, { onSwiper: (swiper) => {\n swiperRef.current = swiper;\n }, onActiveIndexChange: (swiper) => setActiveSlide((swiper.realIndex + 1).toString().padStart(2, '0')) }),\n componentCards.map((promoCard, i) => {\n return (React.createElement(SwiperSlide, { key: i },\n React.createElement(PromoShowcaseCard, { card: promoCard, slideIndex: i + 1, carouselDescription: card.description_analytics || card.description })));\n }),\n React.createElement(\"div\", { className: \"swiper-pagination swiper-pagination--bars container\" })),\n React.createElement(\"div\", { className: \"promo-showcase__slides-number container\" },\n React.createElement(\"p\", { className: \"primary-s\" },\n card.description,\n ' ',\n React.createElement(\"span\", null,\n activeSlide,\n \"/\",\n slidesLength))))))));\n};\nexport default PromoShowcase;\n","import Lazyimg from '@components/utils/Lazyimg';\nimport analytics from '@utils/analytics';\nimport classNames from 'classnames';\nimport React from 'react';\nconst PromoShowcaseCard = (props) => {\n var _a, _b;\n const card = typeof props.card === 'string' ? JSON.parse(props.card) : props.card;\n return (React.createElement(\"div\", { className: classNames('promo-showcase__link', 'promo-showcase__promo-medium') },\n React.createElement(\"picture\", { className: classNames('promo-showcase__picture', card.gradient && 'promo-showcase__picture--gradient') },\n card.imageM && React.createElement(\"source\", { media: \"(min-width:600px)\", srcSet: card.imageM.path }),\n React.createElement(Lazyimg, { src: card.image.path, alt: card.image_alt || '', width: (_a = card.image.meta_data) === null || _a === void 0 ? void 0 : _a.width, height: (_b = card.image.meta_data) === null || _b === void 0 ? void 0 : _b.height })),\n React.createElement(\"div\", { className: \"promo-showcase__text-wrapper container\" },\n React.createElement(\"h3\", { className: classNames(card.isWhite ? 'promo-showcase__title white-title' : 'promo-showcase__title', card.title_typo === 'BlockGothicRR' ? 'BlockGothicRR' : '') }, card.title),\n card.link && (React.createElement(\"div\", { className: \"promo-showcase__cta-wrapper\" },\n React.createElement(\"a\", { href: card.link, className: \"button--tertiary-inverted button--arrow-right promo-showcase__cta button\", onClick: () => analytics.promoEditorialCardsAnalytics('promo showcase', `${(card.title_analytics || card.title).toLowerCase()}-look ${props.slideIndex}-discover look`) }, card.linkText))))));\n};\nexport default PromoShowcaseCard;\n","import ThronVideo from '@components/utils/ThronVideo';\nimport classNames from 'classnames';\nimport React, { useRef } from 'react';\nimport { useTranslation } from 'react-i18next';\nconst RichVideo = (props) => {\n const card = typeof props.card === 'string' ? JSON.parse(props.card) : props.card;\n const { t } = useTranslation();\n const textWrapper = useRef();\n // const [neverPlayed, setNeverPlayed] = useState(true);\n // const firstPlay\n const onPlayCallback = (isFirstPlay) => {\n var _a, _b, _c;\n if (isFirstPlay) {\n (_a = textWrapper.current) === null || _a === void 0 ? void 0 : _a.classList.add('delay-3000');\n (_b = textWrapper.current) === null || _b === void 0 ? void 0 : _b.classList.remove('aos-init', 'aos-animate');\n // setTimeout(() => (textWrapper.current as HTMLElement)?.classList.remove('aos-init', 'aos-animate'), 3000);\n }\n else {\n (_c = textWrapper.current) === null || _c === void 0 ? void 0 : _c.classList.remove('aos-init', 'aos-animate');\n }\n };\n return (React.createElement(\"div\", { className: classNames('rich-video__block', card.borderStyle, card.volumeToggle && 'no-volume', card.timerailToggle && 'no-timerail') },\n React.createElement(\"div\", { className: \"rich-video__div rich-video__video\" },\n React.createElement(\"div\", { className: \"rich-video__inner-container\" },\n React.createElement(ThronVideo, { thronID: card.thronID, thronMobileID: card.thronMobileID, autoplay: !window.matchMedia('(prefers-reduced-motion: reduce)').matches, muted: !!card.volumeToggle, noskin: false, loop: typeof card.loopTimes !== 'number', loopTimes: card.loopTimes, lockBitrate: card.lockBitrate && 'max', className: `${card.imgGradient ? 'image-background--' + card.imgGradient.toLowerCase() : ''} ${card.gradientSize ? 'image-background--' + card.gradientSize.toLowerCase() : ''}`, onPlayCallback: onPlayCallback, onPauseCallback: () => {\n var _a, _b;\n (_a = textWrapper.current) === null || _a === void 0 ? void 0 : _a.classList.remove('delay-3000');\n (_b = textWrapper.current) === null || _b === void 0 ? void 0 : _b.classList.add('aos-init', 'aos-animate');\n }, onCompleteCallback: (player) => {\n player.play();\n } }))),\n React.createElement(\"div\", { className: \"rich-video__text-wrapper container aos-init aos-animate\", ref: textWrapper, \"data-anim\": \"fade-up\" },\n card.title && React.createElement(\"p\", { className: \"rich-video__title\" }, card.title),\n card.description && React.createElement(\"h3\", { className: \"rich-video__description\" }, card.description))));\n};\nexport default RichVideo;\n","import analytics from '@common/utils/analytics';\nimport useBreakpoint from '@utils/useBreakpoint';\nimport classNames from 'classnames';\nimport React, { useEffect, useState } from 'react';\nconst SlimBanner = (props) => {\n const [isDesktop, setIsDesktop] = useState(false);\n const currentBreakpoint = useBreakpoint();\n const card = typeof props.card === 'string' ? JSON.parse(props.card) : props.card;\n useEffect(() => {\n if (currentBreakpoint >= window.mqObj.sm) {\n setIsDesktop(true);\n }\n else {\n setIsDesktop(false);\n }\n }, [currentBreakpoint]);\n console.log('test', card.imgGradient, card.gradientSize);\n const imageClasses = `${card.imgGradient ? 'image-background--' + card.imgGradient.toLowerCase() : ''} ${card.gradientSize ? 'image-background--' + card.gradientSize.toLowerCase() : ''}`;\n const image = () => {\n var _a;\n return card.img || props.bgimage || ((_a = card.bg_image) === null || _a === void 0 ? void 0 : _a.path) ? (React.createElement(React.Fragment, null, card && card.img ? React.createElement(\"img\", { src: card.img, alt: card.image_alt || '' }) : React.createElement(\"img\", { src: props.bgimage || card.bg_image.path, alt: card.image_alt ? card.image_alt : '' }))) : (React.createElement(React.Fragment, null));\n };\n const info = () => {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"h4\", { className: \"primary-l-u mb-8\" }, card.title),\n React.createElement(\"p\", { className: \"primary-xs mb-32\" }, card.description),\n React.createElement(\"div\", { className: \"row\" },\n card.link_0 && card.linkText_0 && (React.createElement(\"a\", { className: classNames('button button--secondary', { 'button--secondary-inverted': card.backgroundColor == 'black' }), href: card.link_0, onClick: () => analytics.slimBannerAnalytics(card.title_analytics || card.title, card.linkText_0_analytics || card.linkText_0) }, card.linkText_0)),\n card.link_1 && card.linkText_1 && (React.createElement(\"a\", { className: classNames('button button--secondary', { 'button--secondary-inverted': card.backgroundColor == 'black' }), href: card.link_0, onClick: () => analytics.slimBannerAnalytics(card.title_analytics || card.title, card.linkText_1_analytics || card.linkText_1) }, card.linkText_1)))));\n };\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: card.backgroundColor + ' ' + card.imagePosition },\n React.createElement(\"div\", { className: \"col-lg-7 col-md-8 col-sm-10 col-12 wrapper-slim-banner\" },\n React.createElement(\"div\", { className: \"row\" }, card.imagePosition == 'right' && isDesktop ? (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"wrapper-info col-sm-7 col-12\" }, info()),\n React.createElement(\"div\", { className: `wrapper-image col-sm-4 col-6 ${card.imgGradient ? 'image-background--' + card.imgGradient.toLowerCase() : ''} ${card.gradientSize ? 'image-background--' + card.gradientSize.toLowerCase() : ''}` }, image()))) : (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: `wrapper-image col-sm-4 col-6 ${card.imgGradient ? 'image-background--' + card.imgGradient.toLowerCase() : ''} ${card.gradientSize ? 'image-background--' + card.gradientSize.toLowerCase() : ''}` }, image()),\n React.createElement(\"div\", { className: \"wrapper-info col-sm-7 col-12\" }, info()))))))));\n};\nexport default SlimBanner;\n"],"names":["props","src","className","draggable","alt","width","height","ariaHidden","data","type","JSON","stringify","t","isOpen","setIsOpen","useState","onClick","e","designerName","cls","classes","parse","ariaHaspopup","text","overlayClassName","black","blackVersion","hideHeader","noPadding","onRequestClose","title","contentLabel","Object","assign","closeCallback","secondCtaLink","href","buttonClasses","uuid","secondCtaText","firstRender","setFirstRender","formSent","setFormSent","formdef","setFormdef","initialValues","setInitialValues","useEffect","val","then","prefillValues","values","eventcode","geniuscode","validate","async","style","backgroundImage","img","modaltitle","modaltext","onSubmit","err","keys","length","success","buildingName","buttonText","modalctatext","LoginModal","loginOpen","setLoginOpen","button","accountUrl","ctaStyle","customClass","ctaStyleInverted","ctaArrow","reloadPage","modalStatus","updateStatus","status","privacypolicy","forgotpasswordform","customModalId","_a","_b","_c","_d","_e","_f","_g","_h","_j","_k","_l","_m","_o","_p","_q","_r","_s","_t","currentBreakpoint","isDesktop","setIsDesktop","window","mqObj","md","transition","index","initial","opacity","animate","hasAnimation","startAnimation","card","product","link","productUrl","isMbm","productName","trackingAction","handleClick","unlock","price","videos","tronID","sessionId","inGallery","productId","id","imgs","onlyImage","isWhite","imageM","media","srcSet","path","imageL","image","image_alt","meta_data","buttons","alignment","bg_image","typeid","slim","dangerouslySetInnerHTML","__html","description","author_name","author_img","showModal","modalImage","linkText","buttonCls","map","key","ID","videoBg","featuredProductsCarousel","thronID","thronMobileID","carouselClasses","simplified","inverted","products","regions","product_slides","components","component","i","datalayerdata","pageCategory","autoplay","muted","speed","wrapperTag","slidesPerView","breakpoints","slidesPerGroup","spaceBetween","initialSlide","pagination","clickable","onInit","swiper","navigation","update","a11y","slideRole","slideLabelMessage","el","tag","imgEditorial","img_desktop","actionList","fontType","heroBannerSlim","headlineFont","img_mobile","logo","subtitle","headline","useTranslation","useBreakpoint","cardLinkTypeMap","link_0","link_1","ariaHideImageLink","linkText_0_analytics","linkText_0","linkText_1_analytics","linkText_1","linkText_analytics","None","clickedCta","analyticsTitle","title_analytics","analytics","name","analytics_type","toLowerCase","ThronVideo","collection_name","link_2","linkText_2_analytics","linkText_2","cardLinkType","gradient","Lazyimg","editorialCardTypeMap","component_plp_highlight_product","component_promo_showcase","component_plp_promo_card_large","component_plp_promo_banner","component_plp_promo_card_medium","component_plp_promo_card_small","component_promo_50_50","component_plp_editorial_text","component_rich_video","dimension","component_plppromo","component_slim_banner","EditorialPromoCardTypeMap","PromoEditorialCard","PromoBanner","SlimBanner","PromoShowcase","Promo5050","EditorialText","RichVideo","editorialCardTextColorMap","cardSpace","extraAdded","results","progress","count","selectedFilters","editorialcards","pageMetaTags","pageSize","pageNumber","category","landingAnimation","productSort","breadcrumbs","state","search","isLoading","loading","requests","includes","isKeyboardIntent","setIsKeyboardIntent","apiErrors","errors","loadingError","useMemo","find","error","code","dispatch","setStartAnimation","ssr","setTimeout","isKeyboardMode","target","tagName","expandedLook","setExpandedLook","fetchData","payload","resultsType","start","hasMore","document","querySelector","focus","totalCards","toAddMarginIndexes","Map","forEach","splice","isEditorial","cardsCount","credit","paddings","set","call","schemaData","filter","shortDescription","url","location","numberOfItems","itemListElement","urls","brand","offers","priceCurrency","sales","currency","value","itemCondition","availability","schemaDataFc","undefined","breadcrumbSchemaData","item","position","htmlValue","origin","JsonLd","dataLength","next","scrollThreshold","loader","toFixed","role","islook","DynamicCard","has","get","EditorialCard","ProductTile","showLook","handleShopByLook","expand","headingLevel","isSimplified","withCarousel","tileCarousel","sortingrule","ruleId","baseUrl","breadcrumbsList","pop","cgid","categoryId","breadcrumb","current","readMoreText","useRef","readMoreOpen","setReadMoreOpen","readMore","ref","classList","toggle","tags","categoryLink","custom","displayName","option","currentSortOption","toggleSort","sortItems","focusOption","focusedOption","fromSearch","optionRef","fromKeyboard","documentElement","getAttribute","onKeyDown","preventDefault","tabIndex","sortingExpanded","setFocusedOption","dir","options","sortingHandler","forceHide","onMouseEnter","onMouseLeave","refinement","refinementValue","refinementKey","displayValue","checked","setChecked","selected","onInteract","selectable","addFilterValue","attributeID","presentationId","disabled","onChange","htmlFor","refinements","selectedSort","sizeGroups","inSearch","inputSearch","filteredCategory","refineExpanded","setRefineExpanded","selectedRefinement","setSelectedRefinement","setSortingExpanded","categoryRefinement","setCategoryRefinement","refineContainerPLPHeight","setRefineContainerPLPHeight","lastValidRefinements","setLastValidRefinements","isFromAPP","appmode","getRefinementType","setFilterExpandedStatus","headerRef","bodyRef","refineRef","refineContainerPLP","refinePLPHeading","wrapperRefineButton","useLayoutEffect","willStick","refineResizeObserver","ResizeObserver","elPaddingTop","parseInt","getComputedStyle","paddingTop","elPaddingBot","paddingBottom","topVal","offsetHeight","plpintro","getTopVal","observe","unobserve","isMountRef","removeProperty","refineWrapper","refineContainer","sortingRuleId","closeRefine","sprChat","toggleSelectedRefinement","refinementID","currentFilter","nextElementSibling","currentFilterParent","closest","prevCurrentFilterParent","previousElementSibling","topPositionPrevCurrentFilterParent","getBoundingClientRect","top","scrollTopRefineContainer","scrollTop","scrollTo","scrollIntoView","allFiltersCount","reduce","lastSearch","sessionStorage","getItem","lastSearchObj","queryParam","URLSearchParams","setItem","isCategoryRefinement","v","setProperty","filterCount","filterId","resetFilters","filterAction","valueId","onFiltersHoverHandler","onFiltersClickHandler","sendFiltersAnalytics","subCategoryTitle","plpName","refineButton","getPropertyValue","overflowY","openRefineModal","hasRefinements","shownRefinements","r","expanded","image_mobile","active","gender","breadcrumbs_area","logo_link","tags_area","read_more","descriptionReadMore","history","back","fullyEditorialPlp","onAnimationComplete","groupKey","sizeGroup","sizeGroupFilter","sortButton","add","remove","closeSort","toString","lockCTAs","conditionMet","ifUnlock","ifLock","componentTitleAnalytics","imageLinks","openDownloadDialog","setOpenDownloadDialog","scrollBehavior","pageAction","focusVirtualAppointmentTab","querySelectorAll","Number","click","padding","backgroundColor","componentID","mediaPositionDesktop","mediaPositionMobile","noskin","textAlignment","promo5050_cs","eyebrows","modalText","EditorialButton","customerGroupsCondition","downloadButton","virtualAppointmentFocusFirstLink","parentEl","pagetitleforanalytics","virtualAppointmentFocusSecondLink","lockType","WalletConnectBtn","btnClass","customLoginBtnLabel","imageLink","ModalDialog","size","ContainerPictureTag","contentPosition","replace","title_typo","sustainabilityLogo_0","sustainabilityText_0","sustainabilityLogo_1","sustainabilityText_1","sustainabilityLogo_2","sustainabilityText_2","componentCards","promo_showcase_cards_container","swiperRef","activeSlide","setActiveSlide","slidesLength","setSlidesLength","padStart","swiperConf","mousewheel","forceToAxis","thresholdDelta","roundLengths","pauseOnMouseEnter","disableOnInteraction","delay","loop","modules","onSwiper","onActiveIndexChange","realIndex","promoCard","slideIndex","carouselDescription","description_analytics","textWrapper","borderStyle","volumeToggle","timerailToggle","matchMedia","matches","loopTimes","lockBitrate","imgGradient","gradientSize","onPlayCallback","isFirstPlay","onPauseCallback","onCompleteCallback","player","play","sm","console","log","bgimage","info","imagePosition"],"sourceRoot":""}