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AMlJ,EAAMkJ,KAAM,aAAclJ,EAAMmS,UAAW,gBAAiBnS,EAAMoS,aAAc,gBAAiBpS,EAAMqS,aAAc,gBAAiBrS,EAAMsS,aAAc,cAAetS,EAAMuS,WAAY,eAAgBvS,EAAMwS,YAAaC,SAAUzS,EAAM0S,eAAiB1S,EAAM0S,oBAAiBpO,EAAWqO,GAAI3S,EAAM2S,GAAI,eAAgB3S,EAAM4S,SAAW5S,EAAM6S,eAAiB7S,EAAM+G,SAAW,gBAAoB,OAAQ,KAAM/G,EAAM+G,WAE5wBqK,EAAO9J,aAAe,CAClBuK,IAAK,CAAC,mBACN9I,UAAW,IAEf,K","sources":["webpack:///./node_modules/prop-types/factoryWithThrowingShims.js","webpack:///./node_modules/prop-types/index.js","webpack:///./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///./node_modules/react-transition-group/esm/config.js","webpack:///./node_modules/react-transition-group/esm/Transition.js","webpack:///./node_modules/react-transition-group/esm/utils/reflow.js","webpack:///./node_modules/react-transition-group/esm/TransitionGroupContext.js","webpack:///./assets/stone/src/components/authenticity/authenticityForm.tsx","webpack:///./assets/stone/src/components/listing/Catalog.tsx","webpack:///./assets/stone/src/components/routerTransitions/AnimatedProvider.tsx","webpack:///./assets/stone/src/components/routerTransitions/AnimatedRoute.tsx","webpack:///./assets/stone/src/components/routerTransitions/transitions.ts","webpack:///./assets/stone/src/ui/button/Button.tsx"],"sourcesContent":["/**\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","export default {\n disabled: false\n};","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { forceReflow } from './utils/reflow';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * \n * {state => (\n *
\n * I'm a fade Transition!\n *
\n * )}\n *
\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n *
\n * \n * {state => (\n * // ...\n * )}\n * \n * \n *
\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * \n * {state => (\n * \n * )}\n * \n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","export var forceReflow = function forceReflow(node) {\n return node.scrollTop;\n};","import React from 'react';\nexport default React.createContext(null);","import React, { useMemo, useRef } from 'react';\nimport { Form } from 'react-final-form';\nimport { useTranslation } from 'react-i18next';\nimport DwFormField from '@common/ui/formfield/DwFormField';\nimport Button from '@stone/ui/button/Button';\nimport '@stone/scss/components/authenticity-form/_authenticity-form.scss';\nconst authenticityForm = (props) => {\n const { t } = useTranslation();\n const formRef = useRef(null);\n const fieldDef = useMemo(() => {\n return {\n 'authenticity-code': {\n htmlValue: '',\n mandatory: false,\n dynamicHtmlName: 'authenticity-code',\n valid: false,\n formType: 'formField',\n label: '',\n placeholder: t('authenticity.input.placeholder'),\n maxLength: 12,\n // error: fieldError,\n // pattern: '\\\\d+',\n },\n };\n }, []);\n return (React.createElement(Form, { target: \"blank\", onSubmit: (values) => {\n let acode = values['authenticity-code'];\n window.open(`https://www.certilogo.com/check/${acode}`, '_blank');\n }, validate: (values) => {\n let acode = values['authenticity-code'];\n if (!acode || acode.length != 12 || !/\\d+/.test(acode)) {\n // setFieldError('missing');\n return {\n 'authenticity-code': t('authenticity.input.error'),\n };\n }\n return null;\n }, render: ({ handleSubmit }) => (React.createElement(\"form\", { onSubmit: handleSubmit, ref: formRef },\n React.createElement(\"div\", null,\n React.createElement(\"label\", { className: \"form-group__label\", htmlFor: \"authenticity-code\" },\n t('authenticity.input.code'),\n React.createElement(\"span\", { \"aria-hidden\": \"true\" }, \"*\"))),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-24 col-lg-14 mb-32\" },\n React.createElement(DwFormField, { def: fieldDef, name: 'authenticity-code' })),\n React.createElement(\"div\", { className: \"col-24 col-lg-10 mb-40 mt-8\" },\n React.createElement(Button, { type: \"submit\", className: \"full mt-4\" }, t('authenticity.cta')))))) }));\n};\nexport default authenticityForm;\n","import { configureCatalogStore } from '@state';\nimport { initQuerySync } from '@utils/search';\nimport React, { Suspense } from 'react';\nimport { Provider } from 'react-redux';\nimport { BrowserRouter } from 'react-router-dom';\nimport AnimatedProvider from '@stone/components/routerTransitions/AnimatedProvider';\nimport AnimatedRoute from '@stone/components/routerTransitions/AnimatedRoute';\nconst Pdp = React.lazy(() => import('@stone/components/product/ProductPage'));\nconst Plp = React.lazy(() => import('@stone/components/listing/Plp'));\nconst store = configureCatalogStore();\ninitQuerySync(store);\nconst Catalog = (props) => {\n var _a;\n const locale = ((_a = document.documentElement.lang) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || 'en';\n const prefix = location.pathname.substr(0, location.pathname.indexOf(locale));\n const basePath = `${prefix}${locale}`;\n return (React.createElement(Provider, { store: store },\n React.createElement(BrowserRouter, { basename: basePath },\n React.createElement(AnimatedProvider, null,\n React.createElement(AnimatedRoute, { path: \"/:path(.*)-:pid.html\", key: \"pdp\" },\n React.createElement(Suspense, { fallback: React.createElement(\"div\", null) },\n React.createElement(Pdp, Object.assign({}, props)))),\n React.createElement(AnimatedRoute, { path: \"/:slug([^.]*)\", key: \"plp\" },\n React.createElement(Suspense, { fallback: React.createElement(\"div\", null) },\n React.createElement(Plp, Object.assign({}, props))))))));\n};\n// const Catalog: React.FC = (props) => {\n// // const locale = document.documentElement.lang?.toLowerCase() || 'en';\n// // const prefix = location.pathname.substr(0, location.pathname.indexOf(locale));\n// // const basePath = `${prefix}${locale}`;\n// return (\n// // \n// // \n// // {/* */}\n// // \n// // }>{/* */}\n// // \n// // {/* tutto tranne path con punto, bisognerebbe riuscire a escludere solo i path con .html */}\n// // \n// // }>{/* */}\n// // \n// // {/* */}\n// // \n// // \n// <>Test\n// );\n// };\nexport default Catalog;\n","import React, { createContext, useContext, useRef, useState } from 'react';\nimport { useLocation } from 'react-router-dom';\nimport { noTransition, transitionIn, transitionOut } from './transitions';\nimport { ScrollTrigger } from 'gsap/ScrollTrigger';\nimport customEventBus from '@common/scripts/libs/eventBus';\nimport gsap from 'gsap';\ngsap.registerPlugin(ScrollTrigger);\nexport const AnimatedContext = createContext({});\nconst AnimatedProvider = (props) => {\n // State\n const [transitionState, setTransitionState] = useState('INITIAL');\n const [fromPLP, setFromPLP] = useState(false);\n const location = useLocation();\n const firstRender = useRef(true);\n const bodyHeight = useRef(null);\n const plpScrollY = useRef(0);\n const headerState = useRef(null);\n const store = {\n enter: null,\n exit: null,\n };\n const playbackHooks = useRef({\n done: [],\n setup: [],\n animate: [],\n appMounted: [],\n });\n // Methods\n const subscribe = (key, cb) => {\n playbackHooks.current[key].push(cb);\n };\n const unsubscribe = (key, cb) => {\n playbackHooks.current[key] = [...playbackHooks.current[key].filter((entry) => entry !== cb)];\n };\n const resetStore = () => {\n store.exit = null;\n store.enter = null;\n };\n const skipAnimation = async (params, TO_PDP, IS_MOBILE) => {\n var _a;\n const { animate, done } = playbackHooks.current;\n const { enter, exit, transition } = params;\n const header = document.getElementsByTagName('header')[0];\n const catalogContainer = document.getElementById('catalog');\n if (TO_PDP) {\n bodyHeight.current = `${catalogContainer.offsetHeight}`;\n plpScrollY.current = window.scrollY;\n }\n else {\n catalogContainer.style.height = `${bodyHeight.current}px`;\n }\n await Promise.all(animate.map(async (cb) => await cb(params)));\n enter.animation.set({\n opacity: 1,\n pointerEvents: 'all',\n y: 0,\n x: 0,\n });\n await Promise.all(done.map(async (cb) => await cb(params)));\n if ((_a = enter === null || enter === void 0 ? void 0 : enter.el) === null || _a === void 0 ? void 0 : _a.current) {\n enter.el.current.style.position = 'static';\n }\n if (TO_PDP) {\n document.documentElement.scrollTop = 0;\n header.classList.add('header--pdp');\n }\n else {\n document.documentElement.scrollTop = plpScrollY.current;\n }\n catalogContainer.style.removeProperty('overflow');\n catalogContainer.style.removeProperty('height');\n exit.done();\n enter.done();\n resetStore();\n if (transition.direction === 'out') {\n header === null || header === void 0 ? void 0 : header.classList.remove('header--pdp');\n }\n };\n //SECTION - TRANSITION ----------------------------------------------------------------------------------------------------------------------------------------\n const transition = async (params) => {\n var _a, _b, _c;\n const { setup, animate, done } = playbackHooks.current;\n const { enter, exit, transition } = params;\n const TO_PDP = transition.direction === 'in';\n //@ts-ignore disable-next-line\n const IS_MOBILE = window.innerWidth < window.mqObj['lg'];\n const header = document.getElementsByTagName('header')[0];\n header.classList.remove('hidden');\n const catalogContainer = document.getElementById('catalog');\n if (TO_PDP) {\n gsap.to(header, {\n y: 0,\n });\n (_a = ScrollTrigger.getById('header-transparency')) === null || _a === void 0 ? void 0 : _a.kill();\n customEventBus.emit('header:setpdp', { isPdp: true });\n bodyHeight.current = `${catalogContainer.offsetHeight}`;\n plpScrollY.current = window.scrollY;\n headerState.current = {\n color: header.dataset.color,\n transparent: header.dataset.transparent,\n };\n //OVERRIDE HEADER COLORS FROM PLP\n customEventBus.emit('header:settrasparency', {\n transparent: false,\n color: 'black',\n });\n }\n else {\n customEventBus.emit('header:setpdp', { isPdp: false });\n catalogContainer.style.height = `${bodyHeight.current}px`;\n }\n const exitScrollTop = window.scrollY;\n //ANCHOR - SETUP ----------------------------------------------------------------------------------------------------------------------------------------\n await Promise.all(setup.map(async (cb) => await cb(params)));\n //check if page is not ready\n if (!((_b = exit === null || exit === void 0 ? void 0 : exit.el) === null || _b === void 0 ? void 0 : _b.current) || !((_c = enter === null || enter === void 0 ? void 0 : enter.el) === null || _c === void 0 ? void 0 : _c.current)) {\n console.warn('ANIMATION SKIPPED FOR AJAX PROBLEM');\n skipAnimation(params, TO_PDP, IS_MOBILE);\n return;\n }\n await Promise.all(animate.map(async (cb) => await cb(params)));\n exit.animation.set({\n top: TO_PDP ? exitScrollTop * -1 + 'px' : 'unset',\n opacity: 1,\n y: 0,\n position: TO_PDP ? 'fixed' : 'relative',\n zIndex: TO_PDP ? 9 : 0,\n backgroundColor: 'white',\n pointerEvents: 'none',\n });\n enter.animation.set({\n opacity: 0,\n y: TO_PDP && !IS_MOBILE ? 0 : 30,\n position: 'relative',\n zIndex: 8,\n pointerEvents: 'none',\n });\n //ANCHOR - ANIMATION ----------------------------------------------------------------------------------------------------------------------------------------\n if (TO_PDP) {\n document.documentElement.scrollTop = 0;\n header.classList.add('header--pdp');\n }\n else {\n document.documentElement.scrollTop = plpScrollY.current;\n }\n if (TO_PDP) {\n exit.animation.start(Object.assign({ opacity: 0 }, transitionOut));\n }\n else {\n exit.animation.start(Object.assign({ opacity: 0, display: 'none' }, noTransition));\n }\n await enter.animation.start(Object.assign({ opacity: 1, y: 0 }, transitionIn));\n // ANCHOR - CLEAN UP ----------------------------------------------------------------------------------------------------------------------------------------\n await Promise.all(done.map(async (cb) => await cb(params)));\n if (!TO_PDP) {\n header.classList.remove('header--pdp');\n }\n catalogContainer.style.height = `auto`;\n // setTransitionState(TO_PDP ? 'END' : 'INITIAL');\n exit.animation.set({\n opacity: 0,\n y: 0,\n position: 'static',\n zIndex: 'unset',\n pointerEvents: 'all',\n });\n enter.animation.set({\n opacity: 1,\n y: 0,\n pointerEvents: 'all',\n position: 'static',\n zIndex: 'unset',\n });\n exit.done();\n enter.done();\n resetStore();\n };\n // !SECTION - END TRANSITION\n const submitEnter = async (enter) => {\n if (firstRender.current) {\n const { appMounted } = playbackHooks.current;\n await Promise.all(appMounted.map(async (cb) => {\n await cb();\n }));\n firstRender.current = false;\n }\n else {\n store.enter = enter;\n ready();\n }\n };\n const submitExit = (exit) => {\n store.exit = exit;\n ready();\n };\n // ANCHOR - Ready --------------------------------------------------------------------\n const ready = async () => {\n const { state } = location;\n const { exit, enter } = store;\n if (!exit || !enter)\n return;\n const animationObject = {\n exit,\n enter,\n viewport: state === null || state === void 0 ? void 0 : state.viewport,\n transition: state === null || state === void 0 ? void 0 : state.transition,\n };\n setTransitionState('TRANSITIONING');\n await transition(animationObject);\n ScrollTrigger.refresh(true);\n setTransitionState('END');\n //@ts-ignore\n if (window.chatObject)\n window.chatObject.value = new Date().getTime();\n };\n const context = {\n submitExit,\n submitEnter,\n subscribe,\n unsubscribe,\n transitionState,\n fromPLP,\n setFromPLP,\n };\n // Render\n return React.createElement(AnimatedContext.Provider, { value: context }, props.children);\n};\nexport const useAnimatedContext = () => {\n return useContext(AnimatedContext);\n};\nexport default AnimatedProvider;\n","import { __rest } from \"tslib\";\nimport { motion, useAnimation } from 'framer-motion';\nimport React, { createContext, useContext, useEffect, useRef, useState } from 'react';\nimport { Route, useLocation } from 'react-router-dom';\nimport { Transition } from 'react-transition-group';\nimport { useAnimatedContext } from './AnimatedProvider';\nexport const AnimatedRouteContext = createContext({\n // Cannot remove default values!\n registerProducts: () => { },\n unregisterProducts: () => { },\n});\nexport const useAnimatedRouteContext = () => useContext(AnimatedRouteContext);\n// Component\nconst AnimatedRoute = (props) => {\n const { path, exact, children } = props, rest = __rest(props, [\"path\", \"exact\", \"children\"]);\n const el = useRef();\n const endListener = useRef(() => { });\n const [products, setProducts] = useState([]);\n const { subscribe, unsubscribe, submitEnter, submitExit, fromPLP, setFromPLP } = useAnimatedContext();\n const { pathname } = useLocation();\n const animation = useAnimation();\n useEffect(() => {\n const onAppMounted = () => {\n animation.set({\n opacity: 1,\n y: 0,\n pointerEvents: 'all',\n });\n };\n subscribe('appMounted', onAppMounted);\n return () => {\n unsubscribe('appMounted', onAppMounted);\n };\n }, []);\n const done = () => {\n endListener.current();\n };\n const handleEntering = () => {\n submitEnter({\n el,\n done,\n animation,\n products,\n });\n };\n const handleExit = () => {\n submitExit({\n el,\n done,\n animation,\n products,\n });\n };\n const methods = {\n registerProducts(product) {\n if (!fromPLP) {\n setFromPLP(true);\n }\n // console.info('%c registerProducts transition', 'background-color: green;', image);\n setProducts((state) => {\n if (typeof state != 'object') {\n return state;\n }\n if (!state.find((el) => el.productUuid == product.productUuid)) {\n state.push(product);\n }\n else if (!state.find((el) => el.productUuid == product.productUuid)) {\n state.push(product);\n }\n return state;\n });\n },\n unregisterProducts(productUuid) {\n setProducts((state) => {\n if (typeof state != 'object') {\n return state;\n }\n return state.filter((product) => {\n return product.productUuid !== productUuid;\n });\n });\n },\n };\n const initialStyle = {\n opacity: 0,\n y: 30,\n pointerEvents: 'none',\n width: '100%',\n top: 0,\n left: 0,\n zIndex: 1,\n backgroundColor: '#fff',\n };\n return (React.createElement(AnimatedRouteContext.Provider, { value: methods },\n React.createElement(Route, Object.assign({ exact: exact, path: path }, rest), (location) => {\n var _a;\n return (React.createElement(Transition, { appear: true, unmountOnExit: true, onEntering: handleEntering, onExit: handleExit, in: pathname === ((_a = location.match) === null || _a === void 0 ? void 0 : _a.url), \n //@ts-ignore\n addEndListener: (node, done) => {\n endListener.current = done;\n } },\n React.createElement(motion.div, { ref: el, animate: animation, initial: initialStyle },\n React.createElement(React.Fragment, null, children))));\n })));\n};\nexport default AnimatedRoute;\n","const DURATION = 0.3;\n// Easings\nexport const Easings = {\n easeIn: 'easeIn',\n easeOut: 'easeOut',\n linear: 'linear',\n};\n// Shorthands\nexport const transitionIn = {\n transition: {\n duration: DURATION,\n ease: Easings.easeOut,\n },\n};\nexport const transitionOut = {\n transition: {\n duration: 0.1,\n ease: Easings.easeIn,\n },\n};\nexport const noTransition = {\n transition: {\n duration: 0,\n },\n};\n","import classNames from 'classnames';\nimport React from 'react';\nconst Button = (props) => {\n const handleClick = (e) => {\n if (props.usesDefault != undefined && !props.usesDefault && props.onClick) {\n e.preventDefault();\n }\n props.onClick && props.onClick.call(this, e);\n };\n const handleKeyDown = (e) => {\n if (props.usesDefault != undefined && !props.usesDefault && props.onKeyDown) {\n e.preventDefault();\n }\n props.onKeyDown && props.onKeyDown.call(this, e);\n };\n return (React.createElement(\"button\", { ref: props.reference, onClick: handleClick, onFocus: props === null || props === void 0 ? void 0 : props.onFocus, onKeyDown: handleKeyDown, disabled: props.disabled, className: classNames('button', props.cls, props.className, { loading: props.isLoading }, { full: props.fullWidth }, { inverted: props.inverted }), type: props.type, \"aria-label\": props.ariaLabel, \"aria-expanded\": props.ariaExpanded, \"aria-haspopup\": props.ariaHaspopup, \"aria-controls\": props.ariaControls, \"aria-hidden\": props.ariaHidden, \"aria-pressed\": props.ariaPressed, tabIndex: props.customTabIndex ? props.customTabIndex : undefined, id: props.id, \"data-pressed\": props.pressed }, props.customChildren ? props.children : React.createElement(\"span\", null, props.children)));\n};\nButton.defaultProps = {\n cls: ['button--primary'],\n className: '',\n};\nexport default Button;\n"],"names":["ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","module","exports","shim","props","propName","componentName","location","propFullName","secret","err","Error","name","getShim","isRequired","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","Transition","_React$Component","context","_this","call","this","initialStatus","appear","isMounting","enter","appearStatus","in","unmountOnExit","mountOnEnter","state","status","nextCallback","getDerivedStateFromProps","_ref","prevState","_proto","prototype","componentDidMount","updateStatus","componentDidUpdate","prevProps","nextStatus","componentWillUnmount","cancelNextCallback","getTimeouts","exit","timeout","undefined","mounting","nodeRef","current","scrollTop","forceReflow","performEnter","performExit","setState","_this2","appearing","_ref2","maybeNode","maybeAppearing","timeouts","enterTimeout","config","safeSetState","onEntered","onEnter","onEntering","onTransitionEnd","_this3","onExit","onExiting","onExited","cancel","nextState","callback","setNextCallback","_this4","active","event","handler","doesNotHaveTimeoutOrListener","addEndListener","_ref3","maybeNextCallback","setTimeout","render","_this$props","children","childProps","TransitionGroupContext","value","noop","contextType","propTypes","defaultProps","t","formRef","useRef","fieldDef","useMemo","htmlValue","mandatory","dynamicHtmlName","valid","formType","label","placeholder","maxLength","target","onSubmit","values","acode","window","open","validate","length","test","handleSubmit","ref","className","htmlFor","def","type","Pdp","Plp","store","_a","locale","document","documentElement","lang","toLowerCase","basePath","pathname","substr","indexOf","basename","path","key","Suspense","fallback","Object","assign","AnimatedContext","createContext","useAnimatedContext","useContext","transitionState","setTransitionState","useState","fromPLP","setFromPLP","firstRender","bodyHeight","plpScrollY","headerState","playbackHooks","done","setup","animate","appMounted","resetStore","transition","async","params","_b","_c","TO_PDP","direction","IS_MOBILE","innerWidth","mqObj","header","getElementsByTagName","classList","remove","catalogContainer","getElementById","y","kill","isPdp","offsetHeight","scrollY","color","dataset","transparent","style","height","exitScrollTop","Promise","all","map","cb","el","console","warn","animation","set","opacity","pointerEvents","x","position","add","removeProperty","skipAnimation","top","zIndex","backgroundColor","start","display","ready","animationObject","viewport","chatObject","Date","getTime","submitExit","submitEnter","subscribe","push","unsubscribe","filter","entry","Provider","AnimatedRouteContext","registerProducts","unregisterProducts","useAnimatedRouteContext","rest","__rest","endListener","products","setProducts","useEffect","onAppMounted","handleEntering","handleExit","methods","product","find","productUuid","initialStyle","width","left","match","url","initial","transitionIn","duration","ease","transitionOut","noTransition","Button","reference","onClick","e","usesDefault","preventDefault","onFocus","onKeyDown","disabled","cls","loading","isLoading","full","fullWidth","inverted","ariaLabel","ariaExpanded","ariaHaspopup","ariaControls","ariaHidden","ariaPressed","tabIndex","customTabIndex","id","pressed","customChildren"],"sourceRoot":""}