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9Q,UAAU6B,GACvB,IAAK,IAAIC,KAAOgP,EACVlQ,OAAOf,UAAUkR,eAAerE,KAAKoE,EAAQhP,KAC/C+O,EAAO/O,GAAOgP,EAAOhP,GAG3B,CACA,OAAO+O,CACT,EACOF,EAASK,MAAMC,KAAMjR,UAC9B,qECbe,SAASkR,EAA8BJ,EAAQK,GAC5D,GAAc,MAAVL,EAAgB,MAAO,CAAC,EAC5B,IAEIhP,EAAKD,EAFLgP,EAAS,CAAC,EACVO,EAAaxQ,OAAOa,KAAKqP,GAE7B,IAAKjP,EAAI,EAAGA,EAAIuP,EAAWxR,OAAQiC,IACjCC,EAAMsP,EAAWvP,GACbsP,EAASE,QAAQvP,IAAQ,IAC7B+O,EAAO/O,GAAOgP,EAAOhP,IAEvB,OAAO+O,CACT","sources":["webpack:///./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack:///./node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js","webpack:///./node_modules/hoist-non-react-statics/node_modules/react-is/index.js","webpack:///./node_modules/prop-types/factoryWithThrowingShims.js","webpack:///./node_modules/prop-types/index.js","webpack:///./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///./assets/common/src/components/login/LoginOrRegisterHeader.tsx","webpack:///./assets/common/src/components/login/RegistrationSuccessful.tsx","webpack:///./assets/common/src/ui/modal/ModalDialog.tsx","webpack:///./assets/common/src/ui/modal/ModalDialogWithImage.tsx","webpack:///./assets/moncler/src/components/login/LoginModal.tsx","webpack:///./assets/moncler/src/components/login/LoginOrRegisterColumn.tsx","webpack:///./node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"],"sourcesContent":["'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst LoginOrRegisterHeader = (props) => {\n const { t } = useTranslation();\n return (React.createElement(\"div\", { className: \"login-register-header\" },\n React.createElement(\"button\", { type: \"button\", \"aria-label\": t('button.back'), className: \"modal__back\", onClick: props.onBack }),\n React.createElement(\"h2\", { className: \"mt-20\" }, props.step == 'email' ? t('login.loginregister') : props.step == 'register' ? t('login.registertomymoncler') : t('login.logintomymoncler'))));\n};\nexport default LoginOrRegisterHeader;\n","import customEventBus from '@common/scripts/libs/eventBus';\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nconst RegistrationSuccessful = (props) => {\n const { t } = useTranslation();\n return (React.createElement(\"div\", { className: classNames('login-registration__registration-successful', props.classNames) },\n React.createElement(\"h2\", { className: \"mt-64 mb-8 primary-m\" }, t('modal.loginregister.successfull')),\n React.createElement(\"p\", { className: \"primary-xs\" }, t('modal.loginregister.thankyou1')),\n React.createElement(\"p\", { className: \"mb-24 primary-xs\" }, t('modal.loginregister.thankyou2')),\n React.createElement(\"button\", { type: \"button\", \"aria-label\": t('button.close'), className: \"button button--primary primary-xs\", onClick: () => {\n if (props.reloadPage && !props.reloadComponent) {\n window.location.reload();\n }\n else if (props.reloadComponent) {\n props.updateLoggeedStatus(true);\n window.loggedin = true;\n customEventBus.emit('account:update', {});\n }\n else {\n props.closeModal();\n }\n } }, t('modal.loginregister.keepbrowsing'))));\n};\nexport default RegistrationSuccessful;\n","import React, { Suspense } from 'react';\nimport { autoChooseComponent } from '@common/utils/brandDiffsUtils';\nconst StoneModalDialog = React.lazy(() => import('@stone/components/modal/ModalDialog'));\nconst MocnclerModalDialog = React.lazy(() => import('@moncler/components/modal/ModalDialog'));\nconst ModalDialog = (props) => {\n return (React.createElement(Suspense, { fallback: React.createElement(React.Fragment, null) }, autoChooseComponent({\n MO: React.createElement(MocnclerModalDialog, Object.assign({}, props)),\n ST: React.createElement(StoneModalDialog, Object.assign({}, props, { isLegacy: true })),\n })));\n};\nexport default ModalDialog;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport ModalDialog from './ModalDialog';\nconst ModalDialogWithImage = (props) => {\n const { t } = useTranslation();\n return (React.createElement(ModalDialog, Object.assign({ hideHeader: true, noPadding: true }, props),\n React.createElement(\"div\", { className: \"withimage\" },\n React.createElement(\"div\", { className: \"withimage__body\" },\n props.isBg ? (React.createElement(\"div\", { className: \"withimage__left\", style: { backgroundImage: `url(${props.image})` } })) : (React.createElement(\"div\", { className: \"withimage__left\" },\n React.createElement(\"img\", { src: props.image, alt: props.alt || \"\" }))),\n React.createElement(\"div\", { className: \"withimage__right\" }, props.children)))));\n};\nexport default ModalDialogWithImage;\n","import api from '@utils/api';\nimport Button from '@ui/button/Button';\nimport ModalDialogWithImage from '@ui/modal/ModalDialogWithImage';\nimport analytics from '@utils/analytics';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport classNames from 'classnames';\nimport LoginOrRegisterColumn from './LoginOrRegisterColumn';\nconst LoginModal = (props) => {\n const { t } = useTranslation();\n const defaultData = {\n image: window.loginImageFolder + (props.incontext ? 'bg-' + props.incontext + '.jpg' : props.fromMbm ? 'bg-mbmpurchase.jpg' : 'bg-login.jpg'),\n imageAlt: 'login image',\n title: props.incontext ? t('modal.loginregister.title' + props.incontext) : props.fromMbm ? t('modal.loginregister.titlembmpurchase') : t('modal.loginregister.title'),\n subtitle: props.incontext\n ? t('modal.loginregister.subtitle' + props.incontext)\n : props.fromMbm\n ? t('modal.loginregister.subtitlembmpurchase')\n : t('modal.loginregister.subtitle'),\n cta: t('login.loginregister'),\n paragraph: '',\n };\n const [open, setOpen] = useState(false);\n const [openRegister, setOpenRegister] = useState(false);\n const [forceReload, setForceReload] = useState(false);\n const [modalData, setModalData] = useState();\n // [ UPDATE EXTERNAL => SYNC INTERNAL ]\n useEffect(() => {\n if ((props === null || props === void 0 ? void 0 : props.modalStatus) != undefined && (props === null || props === void 0 ? void 0 : props.modalStatus) != open) {\n setOpen(props === null || props === void 0 ? void 0 : props.modalStatus);\n }\n }, [props === null || props === void 0 ? void 0 : props.modalStatus]);\n // [ UPDATE INTERNAL => SYNC EXTERNAL ]\n useEffect(() => {\n if ((props === null || props === void 0 ? void 0 : props.updateStatus) != undefined && (props === null || props === void 0 ? void 0 : props.modalStatus) != open) {\n props.updateStatus(open);\n }\n if (!open && forceReload) {\n if (props === null || props === void 0 ? void 0 : props.linkreload) {\n window.location.href = props.linkreload;\n }\n else {\n window.location.reload();\n }\n }\n }, [open]);\n useEffect(() => {\n if (open) {\n api\n .getPageJson('login-modal', true)\n .then((data) => {\n var _a, _b, _c, _d;\n const component = (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.regions) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.components) === null || _c === void 0 ? void 0 : _c.filter((el) => el.type_id === 'component_login_modal');\n const customModalData = (_d = component === null || component === void 0 ? void 0 : component.find((el) => {\n var _a;\n if (props.customModalId) {\n return ((_a = el.data) === null || _a === void 0 ? void 0 : _a.customModalId) === props.customModalId;\n }\n })) === null || _d === void 0 ? void 0 : _d.custom;\n if (customModalData) {\n setModalData(customModalData);\n }\n else {\n setModalData(defaultData);\n }\n })\n .catch((err) => {\n setModalData(defaultData);\n });\n }\n }, [open]);\n const values = useMemo(() => {\n return {\n image: modalData === null || modalData === void 0 ? void 0 : modalData.image,\n imageAlt: modalData === null || modalData === void 0 ? void 0 : modalData.imageAlt,\n title: modalData === null || modalData === void 0 ? void 0 : modalData.title,\n subtitle: modalData === null || modalData === void 0 ? void 0 : modalData.subtitle,\n cta: modalData === null || modalData === void 0 ? void 0 : modalData.cta,\n paragraph: modalData === null || modalData === void 0 ? void 0 : modalData.paragraph,\n };\n }, [open, modalData, props.customModalId]);\n if (window.loggedin) {\n return React.createElement(React.Fragment, null);\n }\n return (React.createElement(React.Fragment, null,\n (props === null || props === void 0 ? void 0 : props.inWishlist) && (React.createElement(\"div\", { className: \"row justify-center\" },\n React.createElement(\"div\", { className: \"col-sm-8 col-md-6 col-lg-4\" },\n React.createElement(\"div\", { className: \"wishlist-login-box\" },\n React.createElement(\"h2\", { className: \"primary-s bold mb-16\" }, t('button.signuptoenjoy')),\n React.createElement(\"p\", { dangerouslySetInnerHTML: { __html: t('wishlist.guestmessage') } }),\n React.createElement(\"div\", { className: \"mt-24\" },\n React.createElement(Button, { type: \"button\", ariaHaspopup: \"dialog\", onClick: () => {\n setOpen(true);\n analytics.wishlistInteractionLoginRegister();\n }, cls: ['button--primary'] }, t('login.loginregister'))))))),\n (props === null || props === void 0 ? void 0 : props.incuratorplp) && (React.createElement(\"div\", { className: \"info-box-curator\" },\n React.createElement(\"button\", { className: \"button-underline\", \"aria-haspopup\": \"dialog\", type: \"button\", onClick: () => {\n analytics.curatorsLoginOrRegister();\n setOpen(true);\n } }, t('checkout.logincta')))),\n (props === null || props === void 0 ? void 0 : props.inlookcard) && (React.createElement(\"button\", { className: \"button button--tertiary-inverted locked-button\", \"aria-haspopup\": \"dialog\", onClick: () => setOpen(true) },\n React.createElement(\"i\", { className: \"icon--locked\" }),\n React.createElement(\"p\", null, t('button.locked')))),\n (props === null || props === void 0 ? void 0 : props.mbmFinish) && (React.createElement(\"a\", { className: \"button button--primary\", href: props.linkreload, onClick: (e) => {\n e.preventDefault();\n setOpen(true);\n } },\n React.createElement(\"span\", null, t('button.proceedtopurchase')))),\n (props === null || props === void 0 ? void 0 : props.customLoginBtnLabel) && (React.createElement(\"button\", { className: classNames('button', props.customClass), \"aria-haspopup\": \"dialog\", type: \"button\", onClick: () => {\n var _a;\n (_a = props.customOnClickCB) === null || _a === void 0 ? void 0 : _a.call(props);\n if (props.analyticsKey) {\n analytics[props.analyticsKey]('login to unlock', 'fragment');\n }\n setOpen(true);\n } }, t(props.customLoginBtnLabel))),\n (props === null || props === void 0 ? void 0 : props.buttonText) && !props.linkText && (React.createElement(\"button\", { className: classNames('button', props.customClass), \"aria-haspopup\": \"dialog\", type: \"button\", onClick: () => {\n setOpen(true);\n analytics.bannerModuleLoginRegistrationPopup(props.titleAnalytics, props.buttonTextAnalytics);\n } }, props === null || props === void 0 ? void 0 : props.buttonText)),\n !(props === null || props === void 0 ? void 0 : props.buttonText) && (props === null || props === void 0 ? void 0 : props.linkText) && (\n // eslint-disable-next-line jsx-a11y/anchor-is-valid\n React.createElement(\"a\", { role: \"button\", tabIndex: 0, className: classNames('button', props.customClass), \"aria-haspopup\": \"dialog\", onKeyDown: (e) => {\n if (e.key === 'Enter') {\n e.preventDefault();\n setOpen(true);\n analytics.bannerModuleLoginRegistrationPopup(props.titleAnalytics, props.buttonTextAnalytics);\n }\n }, onClick: (e) => {\n e.preventDefault();\n setOpen(true);\n analytics.bannerModuleLoginRegistrationPopup(props.titleAnalytics, props.buttonTextAnalytics);\n } }, props === null || props === void 0 ? void 0 : props.linkText)),\n React.createElement(ModalDialogWithImage, { image: values.image, alt: values.imageAlt, isOpen: open, className: \"login-modal\", onRequestClose: () => {\n setOpen(false);\n setOpenRegister(false);\n } },\n React.createElement(React.Fragment, null,\n !forceReload && (React.createElement(\"div\", { className: \"login-register-heading\" },\n React.createElement(\"h2\", { className: \"mb-8 primary-m\" }, values.title),\n React.createElement(\"p\", { className: \"mb-24 primary-xs\" }, values.subtitle),\n React.createElement(\"span\", { className: \"border-bottom d-flex mb-24\" }))),\n React.createElement(LoginOrRegisterColumn, { privacypolicy: props.privacypolicy, forgotpasswordform: props.forgotpasswordform, defaultRegister: openRegister, setForceReload: setForceReload, closeModal: () => setOpen(false), linkreload: props.reloadPage ? window.location.href : props.linkreload, reloadComponent: props.reloadComponent, from: props.inCart && 'shopping bag', updateLoggeedStatus: props.updateLoggeedStatus, reloadPageRegisteredInStore: props.reloadPageRegisteredInStore, onForgotPassword: props.onForgotPassword, analyticsKey: props.analyticsKey, reloadAfterSocialLogin: props.reloadAfterSocialLogin, pageContext: props.pageContext, editorialData: { customTitle: values === null || values === void 0 ? void 0 : values.paragraph, cta: values.cta } })))));\n};\nexport default LoginModal;\n","import React, { useState, useEffect } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport LoginEmailForm from '@components/login/LoginEmailForm';\nimport LoginPasswordForm from '@components/login/LoginPasswordForm';\nimport LoginSocial from '@components/login/LoginSocial';\nimport RegisterForm from '@components/login/RegisterForm';\nimport LoginJoinMoncler from '@components/login/LoginJoinMoncler';\nimport LoginOrRegisterSocial from '@components/login/LoginOrRegisterSocial';\nimport LoginOrRegisterHeader from '@components/login/LoginOrRegisterHeader';\nimport RegistrationSuccessful from '@components/login/RegistrationSuccessful';\nimport classNames from 'classnames';\nimport OtherLoginMethods from '@components/login/OtherLoginMethods';\nimport RegisteredInStore from '@components/login/RegisteredInStore';\nimport RegisteredInStoreSendEmail from '@components/login/RegisteredInStoreSendEmail';\nimport WalletConnectBtn from '@moncler/components/nft/WalletConnectBtn';\nimport api from '@common/utils/api';\nconst HeroBanner = (props) => {\n var _a;\n return (React.createElement(\"div\", { className: classNames('myaccount-hero', props.hero.gradientClass), style: { backgroundImage: `url(\"${(_a = props.hero) === null || _a === void 0 ? void 0 : _a.background}\")` } },\n React.createElement(\"div\", { className: \"myaccount-hero-wrapper\" },\n React.createElement(\"div\", { className: \"logoPeaks2\" }))));\n};\nconst WishlistButtonDesktop = ({ wishlistUrl, wishlistCount }) => {\n const { t } = useTranslation();\n return (React.createElement(\"a\", { className: \"wishlist-desktop-button bold border-bottom border-top primary-s mt-32\", href: wishlistUrl },\n t('bag.wishlist'),\n wishlistCount > 0 && (React.createElement(React.Fragment, null,\n ' ',\n \"(\",\n React.createElement(\"span\", { className: \"wishlist-count\" }, wishlistCount),\n \")\"))));\n};\nconst LoginOrRegisterColumn = (props) => {\n var _a, _b;\n const { t } = useTranslation();\n const [loginStep, setLoginStep] = useState(props.defaultRegister ? 'register' : 'email');\n const [loginEmail, setLoginEmail] = useState();\n const [loginMethods, setLoginMethods] = useState([]);\n const [hero, setHero] = useState({\n title: 'My Moncler',\n background: '/on/demandware.static/-/Library-Sites-library-global/default/menu/myaccount-hero.jpg',\n gradientClass: 'gradient-rpy--bright gradient-rpy--whole',\n });\n useEffect(() => {\n api.getPageJson('my_account_hero', true).then((data) => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;\n let mainComponent = (_b = (_a = data === null || data === void 0 ? void 0 : data.regions) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.components;\n (_c = data === null || data === void 0 ? void 0 : data.regions) === null || _c === void 0 ? void 0 : _c.map((e) => {\n if (e.id == 'dropdownTopBanner') {\n mainComponent = e === null || e === void 0 ? void 0 : e.components;\n }\n });\n if (mainComponent && ((_d = mainComponent[0]) === null || _d === void 0 ? void 0 : _d.custom) && ((_e = mainComponent[0]) === null || _e === void 0 ? void 0 : _e.custom.media)) {\n setHero(Object.assign(Object.assign({}, hero), { background: (_f = mainComponent[0]) === null || _f === void 0 ? void 0 : _f.custom.media, gradientClass: 'gradient-rpy--' + ((_j = (_h = (_g = mainComponent[0]) === null || _g === void 0 ? void 0 : _g.data) === null || _h === void 0 ? void 0 : _h.gradientSize) === null || _j === void 0 ? void 0 : _j.toLowerCase()) + ' gradient-rpy--' + ((_m = (_l = (_k = mainComponent[0]) === null || _k === void 0 ? void 0 : _k.data) === null || _l === void 0 ? void 0 : _l.imgGradient) === null || _m === void 0 ? void 0 : _m.toLowerCase()) }));\n }\n });\n }, []);\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"wrapper-header-modal\" },\n loginStep != 'registration-successful' && props.inModal && ((props.inAccountMenu && loginStep != 'email') || !props.inAccountMenu) && (React.createElement(LoginOrRegisterHeader, { onBack: () => {\n if (loginStep == 'email') {\n (props === null || props === void 0 ? void 0 : props.onBack) && props.onBack();\n }\n else if (!window.isClothing && loginStep == 'register' && loginMethods.length > 0) {\n setLoginStep('social-login');\n }\n else {\n setLoginStep('email');\n }\n }, step: loginStep })),\n props.inModal && (React.createElement(\"button\", { type: \"button\", \"aria-label\": t('button.close'), className: classNames('modal__close', { invert: loginStep == 'email' && props.inAccountMenu }), onClick: props.closeModal }))),\n loginStep == 'email' && (React.createElement(React.Fragment, null,\n props.inAccountMenu && React.createElement(HeroBanner, { hero: hero }),\n React.createElement(LoginEmailForm, { setLoginStep: setLoginStep, setLoginEmail: setLoginEmail, setLoginMethods: setLoginMethods, analyticsKey: props.analyticsKey, customTitle: (_a = props.editorialData) === null || _a === void 0 ? void 0 : _a.customTitle, customCtaText: (_b = props.editorialData) === null || _b === void 0 ? void 0 : _b.cta }),\n React.createElement(LoginOrRegisterSocial, { from: props.from, reloadUrl: props.reloadAfterSocialLogin || props.linkreload || location.href, analyticsKey: props.analyticsKey }),\n React.createElement(LoginJoinMoncler, { inModal: props.inModal, showCTA: true }),\n props.inAccountMenu && (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"wallet-connect-btn\" },\n React.createElement(WalletConnectBtn, { btnClass: \"wallet-connect__btn\", analyticsCategory: \"menu\", analyticsAction: \"wallet connect\" })))))),\n loginStep == 'password' && (React.createElement(LoginPasswordForm, { setLoginStep: setLoginStep, loginEmail: loginEmail, rememberme: props.rememberme, privacypolicy: props.privacypolicy, forgotpasswordform: props.forgotpasswordform, singleColumn: true, onForgotPassword: props.onForgotPassword, linkreload: props.linkreload, updateLoggeedStatus: props.updateLoggeedStatus, reloadComponent: props.reloadComponent })),\n loginStep == 'social-login' && React.createElement(LoginSocial, { setLoginStep: setLoginStep, loginEmail: loginEmail, socialUsed: loginMethods[0].ID, singleColumn: true }),\n !window.isClothing && ((loginStep == 'password' && loginMethods.length > 1) || loginStep == 'social-login') && (React.createElement(\"div\", { className: \"mt-32 border-top pt-24\" },\n React.createElement(OtherLoginMethods, { loginMethods: loginMethods, setLoginStep: setLoginStep, loginStep: loginStep }))),\n loginStep == 'register' && (React.createElement(RegisterForm, { loginEmail: loginEmail, setLoginStep: setLoginStep, setForceReload: props.setForceReload, pageContext: props.pageContext, onBack: () => {\n if (!window.isClothing && loginStep == 'register' && loginMethods.length > 0) {\n setLoginStep('social-login');\n }\n else {\n setLoginStep('email');\n }\n }, reloadComponent: props.reloadRegisterComponent })),\n loginStep == 'registration-successful' && (React.createElement(RegistrationSuccessful, { reloadPage: props.reloadPage, updateLoggeedStatus: props.updateLoggedin, reloadComponent: props.reloadComponent, closeModal: props.closeModal })),\n loginStep == 'registeredInStore' && (React.createElement(\"div\", { className: \"login-registration__registration registered-in-store\" },\n React.createElement(RegisteredInStore, { rememberme: true, loginEmail: loginEmail, setLoginStep: setLoginStep, updateLoggeedStatus: props.updateLoggeedStatus, reloadComponent: props.reloadComponent, linkreload: props.linkreload, reloadPageRegisteredInStore: props.reloadPageRegisteredInStore }))),\n loginStep == 'registeredInStoreSendEmail' && (React.createElement(\"div\", { className: \"login-registration__registration registered-in-store-send-email\" },\n React.createElement(RegisteredInStoreSendEmail, { fromMinicart: true, loginEmail: loginEmail, setLoginStep: setLoginStep })))));\n};\nexport default LoginOrRegisterColumn;\n","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}"],"names":["reactIs","REACT_STATICS","childContextTypes","contextType","contextTypes","defaultProps","displayName","getDefaultProps","getDerivedStateFromError","getDerivedStateFromProps","mixins","propTypes","type","KNOWN_STATICS","name","length","prototype","caller","callee","arguments","arity","MEMO_STATICS","compare","TYPE_STATICS","getStatics","component","isMemo","ForwardRef","render","Memo","defineProperty","Object","getOwnPropertyNames","getOwnPropertySymbols","getOwnPropertyDescriptor","getPrototypeOf","objectPrototype","module","exports","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","inheritedComponent","keys","concat","targetStatics","sourceStatics","i","key","descriptor","e","b","Symbol","for","c","d","f","g","h","k","l","m","n","p","q","r","t","v","w","x","y","z","a","u","$$typeof","A","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","Fragment","Lazy","Portal","Profiler","StrictMode","Suspense","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","props","propName","componentName","location","propFullName","secret","err","Error","getShim","isRequired","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","className","onClick","onBack","step","classNames","reloadPage","reloadComponent","window","reload","updateLoggeedStatus","loggedin","closeModal","StoneModalDialog","MocnclerModalDialog","fallback","MO","assign","ST","isLegacy","hideHeader","noPadding","isBg","style","backgroundImage","image","src","alt","children","defaultData","loginImageFolder","incontext","fromMbm","imageAlt","title","subtitle","cta","paragraph","open","setOpen","useState","openRegister","setOpenRegister","forceReload","setForceReload","modalData","setModalData","useEffect","undefined","modalStatus","updateStatus","linkreload","href","then","data","_a","_b","_c","_d","regions","components","filter","el","type_id","customModalData","find","customModalId","custom","catch","values","useMemo","inWishlist","dangerouslySetInnerHTML","__html","ariaHaspopup","cls","incuratorplp","inlookcard","mbmFinish","preventDefault","customLoginBtnLabel","customClass","customOnClickCB","call","analyticsKey","buttonText","linkText","titleAnalytics","buttonTextAnalytics","role","tabIndex","onKeyDown","isOpen","onRequestClose","privacypolicy","forgotpasswordform","defaultRegister","from","inCart","reloadPageRegisteredInStore","onForgotPassword","reloadAfterSocialLogin","pageContext","editorialData","customTitle","HeroBanner","hero","gradientClass","background","loginStep","setLoginStep","loginEmail","setLoginEmail","loginMethods","setLoginMethods","setHero","_e","_f","_g","_h","_j","_k","_l","_m","mainComponent","map","id","media","gradientSize","toLowerCase","imgGradient","inModal","inAccountMenu","isClothing","invert","customCtaText","reloadUrl","showCTA","btnClass","analyticsCategory","analyticsAction","rememberme","singleColumn","socialUsed","ID","reloadRegisterComponent","updateLoggedin","fromMinicart","_extends","bind","target","source","hasOwnProperty","apply","this","_objectWithoutPropertiesLoose","excluded","sourceKeys","indexOf"],"sourceRoot":""}