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C5B,IAAIgN,EAAcf,IAAcjM,QAAYH,EAAYG,EACxDiN,EAASD,GACTd,EAAoBjP,EAAK+P,EAAY,GACtC,CAAC/P,KACGgB,EAAOgP,IAAY,IAAAxG,UAnBE,CAACxJ,IAEzB,IAAIgB,EADW,QAAS8F,OAAOC,SAASmI,QACrBlP,GACnB,OAAOgP,IAAchO,EAAQA,CAAK,EAgBFiP,CAAoBjQ,IAAQ+O,GAChE,MAAO,CAAC/N,EAAO6O,EACnB,C","sources":["webpack:///./node_modules/decode-uri-component/index.js","webpack:///./node_modules/filter-obj/index.js","webpack:///./node_modules/query-string/index.js","webpack:///./node_modules/split-on-first/index.js","webpack:///./node_modules/strict-uri-encode/index.js","webpack:///./assets/src/components/account/LoginForm.tsx","webpack:///./assets/src/components/account/AccountLoginLoader.tsx","webpack:///./assets/src/components/account/SocialLogin.tsx","webpack:///./assets/src/components/common/ErrorBox.tsx","webpack:///./assets/src/ui/button/Button.tsx","webpack:///./assets/src/ui/formfield/FormField.tsx","webpack:///./assets/src/ui/loading/Loading.tsx","webpack:///./assets/src/utils/useQueryString.ts"],"sourcesContent":["'use strict';\nvar token = '%[a-f0-9]{2}';\nvar singleMatcher = new RegExp(token, 'gi');\nvar multiMatcher = new RegExp('(' + token + ')+', 'gi');\n\nfunction decodeComponents(components, split) {\n\ttry {\n\t\t// Try to decode the entire string first\n\t\treturn decodeURIComponent(components.join(''));\n\t} catch (err) {\n\t\t// Do nothing\n\t}\n\n\tif (components.length === 1) {\n\t\treturn components;\n\t}\n\n\tsplit = split || 1;\n\n\t// Split the array in 2 parts\n\tvar left = components.slice(0, split);\n\tvar right = components.slice(split);\n\n\treturn Array.prototype.concat.call([], decodeComponents(left), decodeComponents(right));\n}\n\nfunction decode(input) {\n\ttry {\n\t\treturn decodeURIComponent(input);\n\t} catch (err) {\n\t\tvar tokens = input.match(singleMatcher);\n\n\t\tfor (var i = 1; i < tokens.length; i++) {\n\t\t\tinput = decodeComponents(tokens, i).join('');\n\n\t\t\ttokens = input.match(singleMatcher);\n\t\t}\n\n\t\treturn input;\n\t}\n}\n\nfunction customDecodeURIComponent(input) {\n\t// Keep track of all the replacements and prefill the map with the `BOM`\n\tvar replaceMap = {\n\t\t'%FE%FF': '\\uFFFD\\uFFFD',\n\t\t'%FF%FE': '\\uFFFD\\uFFFD'\n\t};\n\n\tvar match = multiMatcher.exec(input);\n\twhile (match) {\n\t\ttry {\n\t\t\t// Decode as big chunks as possible\n\t\t\treplaceMap[match[0]] = decodeURIComponent(match[0]);\n\t\t} catch (err) {\n\t\t\tvar result = decode(match[0]);\n\n\t\t\tif (result !== match[0]) {\n\t\t\t\treplaceMap[match[0]] = result;\n\t\t\t}\n\t\t}\n\n\t\tmatch = multiMatcher.exec(input);\n\t}\n\n\t// Add `%C2` at the end of the map to make sure it does not replace the combinator before everything else\n\treplaceMap['%C2'] = '\\uFFFD';\n\n\tvar entries = Object.keys(replaceMap);\n\n\tfor (var i = 0; i < entries.length; i++) {\n\t\t// Replace all decoded components\n\t\tvar key = entries[i];\n\t\tinput = input.replace(new RegExp(key, 'g'), replaceMap[key]);\n\t}\n\n\treturn input;\n}\n\nmodule.exports = function (encodedURI) {\n\tif (typeof encodedURI !== 'string') {\n\t\tthrow new TypeError('Expected `encodedURI` to be of type `string`, got `' + typeof encodedURI + '`');\n\t}\n\n\ttry {\n\t\tencodedURI = encodedURI.replace(/\\+/g, ' ');\n\n\t\t// Try the built in decoder first\n\t\treturn decodeURIComponent(encodedURI);\n\t} catch (err) {\n\t\t// Fallback to a more advanced decoder\n\t\treturn customDecodeURIComponent(encodedURI);\n\t}\n};\n","'use strict';\nmodule.exports = function (obj, predicate) {\n\tvar ret = {};\n\tvar keys = Object.keys(obj);\n\tvar isArr = Array.isArray(predicate);\n\n\tfor (var i = 0; i < keys.length; i++) {\n\t\tvar key = keys[i];\n\t\tvar val = obj[key];\n\n\t\tif (isArr ? predicate.indexOf(key) !== -1 : predicate(key, val, obj)) {\n\t\t\tret[key] = val;\n\t\t}\n\t}\n\n\treturn ret;\n};\n","'use strict';\nconst strictUriEncode = require('strict-uri-encode');\nconst decodeComponent = require('decode-uri-component');\nconst splitOnFirst = require('split-on-first');\nconst filterObject = require('filter-obj');\n\nconst isNullOrUndefined = value => value === null || value === undefined;\n\nconst encodeFragmentIdentifier = Symbol('encodeFragmentIdentifier');\n\nfunction encoderForArrayFormat(options) {\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tconst index = result.length;\n\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[', index, ']'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('')\n\t\t\t\t];\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[]'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '[]=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'colon-list-separator':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), ':list='].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), ':list=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\tcase 'bracket-separator': {\n\t\t\tconst keyValueSep = options.arrayFormat === 'bracket-separator' ?\n\t\t\t\t'[]=' :\n\t\t\t\t'=';\n\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\t// Translate null to an empty string so that it doesn't serialize as 'null'\n\t\t\t\tvalue = value === null ? '' : value;\n\n\t\t\t\tif (result.length === 0) {\n\t\t\t\t\treturn [[encode(key, options), keyValueSep, encode(value, options)].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [[result, encode(value, options)].join(options.arrayFormatSeparator)];\n\t\t\t};\n\t\t}\n\n\t\tdefault:\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, encode(key, options)];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '=', encode(value, options)].join('')];\n\t\t\t};\n\t}\n}\n\nfunction parserForArrayFormat(options) {\n\tlet result;\n\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /\\[(\\d*)\\]$/.exec(key);\n\n\t\t\t\tkey = key.replace(/\\[\\d*\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(\\[\\])$/.exec(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'colon-list-separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(:list)$/.exec(key);\n\t\t\t\tkey = key.replace(/:list$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = typeof value === 'string' && value.includes(options.arrayFormatSeparator);\n\t\t\t\tconst isEncodedArray = (typeof value === 'string' && !isArray && decode(value, options).includes(options.arrayFormatSeparator));\n\t\t\t\tvalue = isEncodedArray ? decode(value, options) : value;\n\t\t\t\tconst newValue = isArray || isEncodedArray ? value.split(options.arrayFormatSeparator).map(item => decode(item, options)) : value === null ? value : decode(value, options);\n\t\t\t\taccumulator[key] = newValue;\n\t\t\t};\n\n\t\tcase 'bracket-separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = /(\\[\\])$/.test(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!isArray) {\n\t\t\t\t\taccumulator[key] = value ? decode(value, options) : value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst arrayValue = value === null ?\n\t\t\t\t\t[] :\n\t\t\t\t\tvalue.split(options.arrayFormatSeparator).map(item => decode(item, options));\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = arrayValue;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], arrayValue);\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\t}\n}\n\nfunction validateArrayFormatSeparator(value) {\n\tif (typeof value !== 'string' || value.length !== 1) {\n\t\tthrow new TypeError('arrayFormatSeparator must be single character string');\n\t}\n}\n\nfunction encode(value, options) {\n\tif (options.encode) {\n\t\treturn options.strict ? strictUriEncode(value) : encodeURIComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction decode(value, options) {\n\tif (options.decode) {\n\t\treturn decodeComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction keysSorter(input) {\n\tif (Array.isArray(input)) {\n\t\treturn input.sort();\n\t}\n\n\tif (typeof input === 'object') {\n\t\treturn keysSorter(Object.keys(input))\n\t\t\t.sort((a, b) => Number(a) - Number(b))\n\t\t\t.map(key => input[key]);\n\t}\n\n\treturn input;\n}\n\nfunction removeHash(input) {\n\tconst hashStart = input.indexOf('#');\n\tif (hashStart !== -1) {\n\t\tinput = input.slice(0, hashStart);\n\t}\n\n\treturn input;\n}\n\nfunction getHash(url) {\n\tlet hash = '';\n\tconst hashStart = url.indexOf('#');\n\tif (hashStart !== -1) {\n\t\thash = url.slice(hashStart);\n\t}\n\n\treturn hash;\n}\n\nfunction extract(input) {\n\tinput = removeHash(input);\n\tconst queryStart = input.indexOf('?');\n\tif (queryStart === -1) {\n\t\treturn '';\n\t}\n\n\treturn input.slice(queryStart + 1);\n}\n\nfunction parseValue(value, options) {\n\tif (options.parseNumbers && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) {\n\t\tvalue = Number(value);\n\t} else if (options.parseBooleans && value !== null && (value.toLowerCase() === 'true' || value.toLowerCase() === 'false')) {\n\t\tvalue = value.toLowerCase() === 'true';\n\t}\n\n\treturn value;\n}\n\nfunction parse(query, options) {\n\toptions = Object.assign({\n\t\tdecode: true,\n\t\tsort: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ',',\n\t\tparseNumbers: false,\n\t\tparseBooleans: false\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst formatter = parserForArrayFormat(options);\n\n\t// Create an object with no prototype\n\tconst ret = Object.create(null);\n\n\tif (typeof query !== 'string') {\n\t\treturn ret;\n\t}\n\n\tquery = query.trim().replace(/^[?#&]/, '');\n\n\tif (!query) {\n\t\treturn ret;\n\t}\n\n\tfor (const param of query.split('&')) {\n\t\tif (param === '') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tlet [key, value] = splitOnFirst(options.decode ? param.replace(/\\+/g, ' ') : param, '=');\n\n\t\t// Missing `=` should be `null`:\n\t\t// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters\n\t\tvalue = value === undefined ? null : ['comma', 'separator', 'bracket-separator'].includes(options.arrayFormat) ? value : decode(value, options);\n\t\tformatter(decode(key, options), value, ret);\n\t}\n\n\tfor (const key of Object.keys(ret)) {\n\t\tconst value = ret[key];\n\t\tif (typeof value === 'object' && value !== null) {\n\t\t\tfor (const k of Object.keys(value)) {\n\t\t\t\tvalue[k] = parseValue(value[k], options);\n\t\t\t}\n\t\t} else {\n\t\t\tret[key] = parseValue(value, options);\n\t\t}\n\t}\n\n\tif (options.sort === false) {\n\t\treturn ret;\n\t}\n\n\treturn (options.sort === true ? Object.keys(ret).sort() : Object.keys(ret).sort(options.sort)).reduce((result, key) => {\n\t\tconst value = ret[key];\n\t\tif (Boolean(value) && typeof value === 'object' && !Array.isArray(value)) {\n\t\t\t// Sort object keys, not values\n\t\t\tresult[key] = keysSorter(value);\n\t\t} else {\n\t\t\tresult[key] = value;\n\t\t}\n\n\t\treturn result;\n\t}, Object.create(null));\n}\n\nexports.extract = extract;\nexports.parse = parse;\n\nexports.stringify = (object, options) => {\n\tif (!object) {\n\t\treturn '';\n\t}\n\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ','\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst shouldFilter = key => (\n\t\t(options.skipNull && isNullOrUndefined(object[key])) ||\n\t\t(options.skipEmptyString && object[key] === '')\n\t);\n\n\tconst formatter = encoderForArrayFormat(options);\n\n\tconst objectCopy = {};\n\n\tfor (const key of Object.keys(object)) {\n\t\tif (!shouldFilter(key)) {\n\t\t\tobjectCopy[key] = object[key];\n\t\t}\n\t}\n\n\tconst keys = Object.keys(objectCopy);\n\n\tif (options.sort !== false) {\n\t\tkeys.sort(options.sort);\n\t}\n\n\treturn keys.map(key => {\n\t\tconst value = object[key];\n\n\t\tif (value === undefined) {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (value === null) {\n\t\t\treturn encode(key, options);\n\t\t}\n\n\t\tif (Array.isArray(value)) {\n\t\t\tif (value.length === 0 && options.arrayFormat === 'bracket-separator') {\n\t\t\t\treturn encode(key, options) + '[]';\n\t\t\t}\n\n\t\t\treturn value\n\t\t\t\t.reduce(formatter(key), [])\n\t\t\t\t.join('&');\n\t\t}\n\n\t\treturn encode(key, options) + '=' + encode(value, options);\n\t}).filter(x => x.length > 0).join('&');\n};\n\nexports.parseUrl = (url, options) => {\n\toptions = Object.assign({\n\t\tdecode: true\n\t}, options);\n\n\tconst [url_, hash] = splitOnFirst(url, '#');\n\n\treturn Object.assign(\n\t\t{\n\t\t\turl: url_.split('?')[0] || '',\n\t\t\tquery: parse(extract(url), options)\n\t\t},\n\t\toptions && options.parseFragmentIdentifier && hash ? {fragmentIdentifier: decode(hash, options)} : {}\n\t);\n};\n\nexports.stringifyUrl = (object, options) => {\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\t[encodeFragmentIdentifier]: true\n\t}, options);\n\n\tconst url = removeHash(object.url).split('?')[0] || '';\n\tconst queryFromUrl = exports.extract(object.url);\n\tconst parsedQueryFromUrl = exports.parse(queryFromUrl, {sort: false});\n\n\tconst query = Object.assign(parsedQueryFromUrl, object.query);\n\tlet queryString = exports.stringify(query, options);\n\tif (queryString) {\n\t\tqueryString = `?${queryString}`;\n\t}\n\n\tlet hash = getHash(object.url);\n\tif (object.fragmentIdentifier) {\n\t\thash = `#${options[encodeFragmentIdentifier] ? encode(object.fragmentIdentifier, options) : object.fragmentIdentifier}`;\n\t}\n\n\treturn `${url}${queryString}${hash}`;\n};\n\nexports.pick = (input, filter, options) => {\n\toptions = Object.assign({\n\t\tparseFragmentIdentifier: true,\n\t\t[encodeFragmentIdentifier]: false\n\t}, options);\n\n\tconst {url, query, fragmentIdentifier} = exports.parseUrl(input, options);\n\treturn exports.stringifyUrl({\n\t\turl,\n\t\tquery: filterObject(query, filter),\n\t\tfragmentIdentifier\n\t}, options);\n};\n\nexports.exclude = (input, filter, options) => {\n\tconst exclusionFilter = Array.isArray(filter) ? key => !filter.includes(key) : (key, value) => !filter(key, value);\n\n\treturn exports.pick(input, exclusionFilter, options);\n};\n","'use strict';\n\nmodule.exports = (string, separator) => {\n\tif (!(typeof string === 'string' && typeof separator === 'string')) {\n\t\tthrow new TypeError('Expected the arguments to be of type `string`');\n\t}\n\n\tif (separator === '') {\n\t\treturn [string];\n\t}\n\n\tconst separatorIndex = string.indexOf(separator);\n\n\tif (separatorIndex === -1) {\n\t\treturn [string];\n\t}\n\n\treturn [\n\t\tstring.slice(0, separatorIndex),\n\t\tstring.slice(separatorIndex + separator.length)\n\t];\n};\n","'use strict';\nmodule.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`);\n","import ErrorBox from '@components/common/ErrorBox';\nimport Button from '@ui/button/Button';\nimport FormField from '@ui/formfield/FormField';\nimport micromodalInstance from '../../scripts/libs/micromodalInstance';\nimport api from '@utils/api';\nimport classNames from 'classnames';\nimport React from 'react';\nimport { Form } from 'react-final-form';\nimport { withTranslation } from 'react-i18next';\nimport Icon from '../common/Icon';\nimport Loading from '@ui/loading/Loading';\nimport SocialLogin from './SocialLogin';\nimport analyticsUtils from '../../scripts/utils/analyticsUtils';\nimport customEventBus from '../../scripts/libs/eventBus';\nimport CustomMessages from '../../scripts/constants/customMessages';\nconst LoginForm = (props) => {\n const { t } = props;\n const [errors, setErrors] = React.useState([]);\n const [isSubmitting, setIsSubmitting] = React.useState(false);\n React.useEffect(() => {\n micromodalInstance.init();\n if (props.isglobalecheckout) {\n analyticsUtils.pushCheckoutStepDatalayer('login', '');\n }\n }, []);\n const continueAsGuestCheckout = async () => {\n await analyticsUtils.pushCheckoutSelectDatalayer('login', 'guest checkout');\n window.location.href = props.checkoutguesturl;\n };\n const onSubmit = async (values) => {\n setErrors([]);\n setIsSubmitting(true);\n api\n .login(values, props.actionurl)\n .then(async (data) => {\n if (data.success) {\n if (props.isglobalecheckout) {\n await analyticsUtils.pushCheckoutSelectDatalayer('login', 'logged checkout');\n }\n else {\n customEventBus.emit(CustomMessages.DATALAYER.LOGIN.standard, { loginLocation: 'generic' });\n customEventBus.emit(CustomMessages.SFMC.LOGIN.success, { email: values.loginEmail });\n }\n window.location.replace(data.redirectUrl);\n }\n else {\n setErrors([data.feedback]);\n setIsSubmitting(false);\n }\n })\n .catch((e) => {\n setErrors([e]);\n setIsSubmitting(false);\n });\n };\n const validate = (values) => {\n const validateErrors = {};\n if (values.loginEmail) {\n if (!/^[\\w.%+-]+@[\\w.-]+\\.[\\w]{2,6}$/.test(values.loginEmail)) {\n validateErrors.loginEmail = t('checkout.email.notvalid');\n }\n }\n if (!values.loginPassword) {\n validateErrors.loginPassword = t('required.password.field');\n }\n if (!values.loginEmail) {\n validateErrors.loginEmail = t('required.email.field');\n }\n return validateErrors;\n };\n const renderRegisterValueProposition = () => {\n let valuesToRender = [{ name: \"new\", icon: \"label\" }, { name: \"order\", icon: \"history\" }, { name: \"quick\", icon: \"bag\" }, { name: \"wishlist\", icon: \"wishlist-empty\" }];\n return (React.createElement(React.Fragment, null,\n React.createElement(\"p\", { className: \"value-proposition-title\" }, t('account.valueproposition.title')),\n React.createElement(\"ul\", { className: \"value-proposition-wrapper\" }, valuesToRender.map((value) => (React.createElement(\"li\", { key: value.name, className: \"value-proposition--item\" },\n React.createElement(Icon, { name: value.icon, large: \"m\" }),\n React.createElement(\"p\", { className: 'value-proposition--item-title' }, t(`account.valueproposition.${value.name}.title`)),\n React.createElement(\"p\", { className: 'value-proposition--item-subtitle' }, t(`account.valueproposition.${value.name}.subtitle`))))))));\n };\n const renderLogin = () => {\n return (React.createElement(React.Fragment, null,\n React.createElement(Form, { onSubmit: onSubmit, validate: validate, render: ({ handleSubmit, form, submitting, pristine, values }) => (React.createElement(\"form\", { onSubmit: handleSubmit },\n React.createElement(\"div\", { className: \"formfields\" },\n React.createElement(\"div\", { className: \"field-row\" },\n React.createElement(FormField, { name: \"loginEmail\", label: t('label.email'), type: \"email\", autocomplete: \"email\", required: true, requiredLabel: true })),\n React.createElement(\"div\", { className: \"field-row\" },\n React.createElement(FormField, { name: \"loginPassword\", label: t('label.password'), type: \"password\", autocomplete: \"current-password\", showPassword: true, required: true, requiredLabel: true })),\n React.createElement(\"div\", { className: \"field-row spaced-between\" },\n React.createElement(\"button\", { className: \"cta-inline\", type: \"button\", \"data-modal-trigger\": \"modal-passwordreset\" }, t('account.forgotpassword')),\n React.createElement(FormField, { name: \"loginRememberMe\", label: t('account.rememberme'), type: \"checkbox\" }))),\n React.createElement(Button, { type: \"submit\", disabled: submitting || isSubmitting, cls: ['cta-primary'] }, t('account.button.login')),\n React.createElement(\"div\", { className: \"pw-error\" },\n React.createElement(ErrorBox, { errors: errors })),\n isSubmitting && React.createElement(Loading, null))) }),\n React.createElement(SocialLogin, { context: 'login' })));\n };\n return (React.createElement(\"div\", { className: \"login-container\" },\n React.createElement(\"div\", { className: \"login-side\" },\n React.createElement(\"p\", { className: \"side-title\" }, t('account.registeredcustomer')),\n React.createElement(\"div\", { className: \"form-helper--small\" }, t('required.fieldslogin')),\n renderLogin(),\n props.isglobalecheckout && (React.createElement(React.Fragment, null,\n React.createElement(\"button\", { className: classNames('cta-secondary'), onClick: () => continueAsGuestCheckout() }, t('checkout.login.guest'))))),\n React.createElement(\"div\", { className: \"register-side\" },\n React.createElement(\"p\", { className: \"side-title\" },\n t('account.newcustomer'),\n React.createElement(\"span\", { className: \"side-subtitle\" }, t('account.newcustomerexplain'))),\n React.createElement(\"a\", { className: classNames('cta-primary'), href: props.registerform }, t('account.button.create')),\n renderRegisterValueProposition())));\n};\nexport default withTranslation()(LoginForm);\n","import { configureAccountStore } from '@state';\nimport React from 'react';\nimport { Provider } from 'react-redux';\nimport LoginForm from './LoginForm';\nconst store = configureAccountStore();\nconst AccountLogin = (props) => {\n return (React.createElement(Provider, { store: store },\n React.createElement(LoginForm, Object.assign({ showTitle: true }, props))));\n};\nexport default AccountLogin;\n","import { withTranslation } from 'react-i18next';\nimport React, { useEffect, useState } from 'react';\nimport Icon from '@components/common/Icon';\nimport api from '@utils/api';\nimport useQueryString from '@utils/useQueryString';\nimport Loading from '@ui/loading/Loading';\nimport customEventBus from '../../scripts/libs/eventBus';\nimport CustomMessages from '../../scripts/constants/customMessages';\nconst SocialLogin = (props) => {\n const { t } = props;\n const [socials, setSocials] = useState([]);\n const [disableButtons, setDisableButtons] = useState(false);\n const [rurl] = useQueryString('rurl');\n const [errorMessage] = useQueryString('errorMessage');\n useEffect(() => {\n api.getSocialsData(props.context === 'checkout' ? 2 : rurl).then((data) => {\n setSocials(data);\n });\n }, []);\n if (!socials || socials.length === 0) {\n return React.createElement(React.Fragment, null);\n }\n return (React.createElement(\"div\", { className: \"social-login-section\" },\n React.createElement(\"p\", { className: 'social-login-text' }, t('login.social.title')),\n React.createElement(\"div\", { className: \"social-buttons-container\" }, socials.map((login) => (React.createElement(\"button\", { key: login.id, id: `${login.id.toLocaleLowerCase()}-login-btn`, className: `cta-primary cta-social cta-${login.id.toLocaleLowerCase()}`, disabled: disableButtons, onClick: () => {\n customEventBus.emit(CustomMessages.DATALAYER.LOGIN.social, { loginLocation: props.context === 'checkout' ? 'checkout' : 'generic', social: login.id });\n setDisableButtons(true);\n window.location.href = login.redirectUrl;\n } },\n React.createElement(Icon, { name: `${login.id.toLocaleLowerCase()}-login`, large: 'm' }),\n t(`login.social.${login.id.toLocaleLowerCase()}`),\n disableButtons && React.createElement(Loading, { inline: true }))))),\n React.createElement(\"p\", { className: 'social-invalid-feedback' }, errorMessage)));\n};\nexport default withTranslation()(SocialLogin);\n","import classNames from 'classnames';\nimport React from 'react';\nimport Icon from './Icon';\nconst ErrorBox = (props) => {\n const [closeError, setCloseError] = React.useState(false);\n if (closeError || !props.errors || props.errors.length === 0 || props.errors.every((err) => err === '')) {\n return React.createElement(React.Fragment, null);\n }\n return (React.createElement(\"div\", { className: classNames('globalerrors', { 'is-invalid': props.isInvalidTrigger && !closeError }, 'invalid-feedback', { 'closed': closeError }, props.className), role: \"alert\" },\n props.errors.map((e, i) => (React.createElement(\"div\", { key: i }, (e || '').toString()))),\n props.close &&\n React.createElement(\"button\", { className: \"close-button\", onClick: () => { setCloseError(true); } },\n React.createElement(Icon, { name: 'close' }))));\n};\nexport default ErrorBox;\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, onKeyDown: handleKeyDown, disabled: props.disabled, className: classNames(props.cls, props.className, { loading: props.isLoading }), type: props.type, \"aria-label\": props.ariaLabel }, props.isLoading ? (React.createElement(React.Fragment, null,\n React.createElement(\"div\", null))) : (React.createElement(\"span\", { \"data-label\": props.dataLabel }, props.children))));\n};\nButton.defaultProps = {\n cls: ['cta-primary'],\n className: '',\n};\nexport default Button;\n","import classNames from 'classnames';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { Field } from 'react-final-form';\nimport { withTranslation } from 'react-i18next';\nimport Icon from '@components/common/Icon';\nconst FormField = (props) => {\n const { t } = props;\n const [show, setShow] = useState(false);\n const [labelUp, setLabelUp] = useState(false);\n const [actualValue, setActualValue] = useState('');\n // to fix not empty imput\n useEffect(() => {\n if ((typeof props.htmlValue === 'string' && props.htmlValue.length > 0) || props.type == 'date') {\n setLabelUp(true);\n }\n }, [props.htmlValue]);\n useEffect(() => {\n if (props.type === 'text' && actualValue == '') {\n setLabelUp(false);\n }\n }, [actualValue]);\n const calculatedId = useMemo(() => {\n return props.idSuffix ? `${props.name}_${props.idSuffix}` : props.name;\n }, [props.name, props.idSuffix]);\n const ariaDescribedBy = (helperText, invalid, name) => {\n if (helperText && invalid) {\n return name + '-helpertext' + ' ' + name + '-error';\n }\n else if (helperText && !invalid) {\n return name + '-helpertext';\n }\n else if (!helperText && invalid) {\n return name + '-error';\n }\n else {\n return null;\n }\n };\n function hasTemporaryError(frp) {\n return frp.meta.error && frp.meta.touched; //&& !frp.meta.active\n }\n const field = (input, meta, invalid) => {\n if (props.type === 'textarea') {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"textarea\", Object.assign({ rows: 4 }, input, { id: calculatedId, disabled: props.disabled, readOnly: props.readonly, className: classNames('form-control', props.className, { 'disable-resize': props.type === 'textarea' && props.noResize }, { 'label-up': labelUp }), \"aria-required\": props.required, \"aria-invalid\": invalid, placeholder: props.placeholder, maxLength: props.maxLength, \"aria-describedby\": ariaDescribedBy(props.helperText, invalid, calculatedId), onChange: (e) => {\n input.onChange(e); //final-form's onChange\n setLabelUp(e.currentTarget.value != '');\n setActualValue(e.currentTarget.value);\n if (props.onChange) {\n props.onChange(e);\n }\n }, onFocus: (e) => {\n input.onFocus(e); //final-form's onFocus\n if (props.onFocus) {\n props.onFocus(e);\n }\n }, onBlur: (e) => {\n input.onBlur(e); //final-form's onBlur\n if (props.onBlur) {\n props.onBlur(e);\n }\n } })),\n label()));\n }\n if (props.type === 'select') {\n return (React.createElement(\"div\", { className: `form-select ${props.disabled && 'disabled'}` },\n label(),\n React.createElement(\"select\", Object.assign({}, input, { id: calculatedId, disabled: props.disabled, className: classNames('form-control', props.className), autoComplete: props.autocomplete, \"aria-required\": props.required, \"aria-invalid\": invalid, onChange: (e) => {\n input.onChange(e); //final-form's onChange\n if (props.onChange) {\n props.onChange(e);\n }\n }, \"aria-describedby\": ariaDescribedBy(props.helperText, invalid, calculatedId) }), (props.options || []).map((o) => (React.createElement(\"option\", { key: o.value, value: o.value || '', disabled: o.disabled, selected: o.selected || false }, o.label))))));\n }\n if (props.type === 'checkbox') {\n return (React.createElement(\"input\", Object.assign({}, input, { id: calculatedId, disabled: props.disabled, readOnly: props.readonly, onChange: (e) => {\n input.onChange(e); //final-form's onChange\n if (props.onChange) {\n props.onChange(e);\n }\n }, className: classNames('form-checkbox', props.className), type: props.type, \"aria-required\": props.required, \"aria-invalid\": invalid, \"aria-describedby\": ariaDescribedBy(props.helperText, invalid, calculatedId) })));\n }\n if (props.type === 'password' && props.showPassword) {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"input\", Object.assign({}, input, { id: calculatedId, className: classNames('form-control', { 'label-up': labelUp }), disabled: props.disabled, readOnly: props.readonly, maxLength: props.maxLength, type: show ? null : props.type, \"aria-required\": props.required, \"aria-invalid\": invalid, autoComplete: props.autocomplete, \"aria-describedby\": ariaDescribedBy(props.helperText, invalid, calculatedId), onChange: (e) => {\n input.onChange(e); //final-form's onChange\n setLabelUp(e.currentTarget.value != '');\n setActualValue(e.currentTarget.value);\n if (props.onChange) {\n props.onChange(e);\n }\n }, onFocus: (e) => {\n input.onFocus(e); //final-form's onFocus\n if (props.onFocus) {\n props.onFocus(e);\n }\n }, onBlur: (e) => {\n input.onBlur(e); //final-form's onBlur\n if (props.onBlur) {\n props.onBlur(e);\n }\n } })),\n label(),\n props.validTick && React.createElement(\"span\", { className: \"valid-tick\" }),\n React.createElement(\"button\", { type: 'button', className: 'password-eye-visible', onClick: () => { setShow(!show); } },\n React.createElement(Icon, { name: show ? 'eye-open' : 'eye-close' }))));\n }\n if (props.type === 'date') {\n // console.info(input.value);\n return (React.createElement(\"div\", { className: classNames('form-date') },\n React.createElement(\"input\", Object.assign({}, input, { \n // value={new Date(input.value).toISOString()}\n id: calculatedId, disabled: props.disabled, readOnly: props.readonly, maxLength: props.maxLength, type: \"date\", autoComplete: props.autocomplete, \"aria-required\": props.required, min: props.min, max: props.max, \"aria-invalid\": invalid, placeholder: props.placeholder, \"aria-describedby\": ariaDescribedBy(props.helperText, invalid, calculatedId), onKeyDown: props === null || props === void 0 ? void 0 : props.onKeyDown, onChange: (e) => {\n input.onChange(e); //final-form's onChange\n setLabelUp(e.currentTarget.value != '');\n setActualValue(e.currentTarget.value);\n if (props.onChange) {\n props.onChange(e);\n }\n }, onFocus: (e) => {\n input.onFocus(e); //final-form's onFocus\n if (props.onFocus) {\n props.onFocus(e);\n }\n }, onBlur: (e) => {\n input.onBlur(e); //final-form's onBlur\n if (props.onBlur) {\n props.onBlur(e);\n }\n }, \"aria-autocomplete\": props === null || props === void 0 ? void 0 : props.ariaAutocomplete, \"aria-controls\": props === null || props === void 0 ? void 0 : props.ariaControls, \"aria-activedescendant\": props === null || props === void 0 ? void 0 : props.ariaActivedescendant, className: classNames('form-control', { 'label-up': labelUp }) })),\n label()));\n }\n if (props.type === 'vat') {\n return (React.createElement(React.Fragment, null,\n props.countryCode &&\n React.createElement(\"div\", { className: \"vat-enabled\" }),\n React.createElement(\"input\", Object.assign({}, input, { id: calculatedId, disabled: props.disabled, readOnly: props.readonly, maxLength: props.maxLength, type: props.type, autoComplete: props.autocomplete, \"aria-required\": props.required, \"aria-invalid\": invalid, placeholder: props.placeholder, \"aria-describedby\": ariaDescribedBy(props.helperText, invalid, calculatedId), onKeyDown: props === null || props === void 0 ? void 0 : props.onKeyDown, onChange: (e) => {\n input.onChange(e); //final-form's onChange\n setLabelUp(e.currentTarget.value != '');\n setActualValue(e.currentTarget.value);\n if (props.onChange) {\n props.onChange(e);\n }\n }, onFocus: (e) => {\n input.onFocus(e); //final-form's onFocus\n if (props.onFocus) {\n props.onFocus(e);\n }\n }, role: props.role, \"aria-expanded\": props.ariaExpanded, \"aria-autocomplete\": props === null || props === void 0 ? void 0 : props.ariaAutocomplete, \"aria-controls\": props === null || props === void 0 ? void 0 : props.ariaControls, \"aria-activedescendant\": props === null || props === void 0 ? void 0 : props.ariaActivedescendant, className: classNames('form-control', { 'label-up': labelUp }), autoFocus: props.autoFocus })),\n label(),\n props.countryCode &&\n React.createElement(\"p\", { className: \"vat-country-code\" }, props.countryCode)));\n }\n return (React.createElement(React.Fragment, null,\n props.name === 'phone' && (React.createElement(\"p\", { className: 'phone-info-text' }, t('phone.info.text'))),\n React.createElement(\"input\", Object.assign({}, input, { id: calculatedId, disabled: props.disabled, readOnly: props.readonly, maxLength: props.maxLength, type: props.type, autoComplete: props.autocomplete, \"aria-required\": props.type !== 'hidden' && props.required, \"aria-invalid\": invalid, placeholder: props.type !== 'hidden' ? props.placeholder : null, \"aria-describedby\": ariaDescribedBy(props.helperText, invalid, calculatedId), onKeyDown: props === null || props === void 0 ? void 0 : props.onKeyDown, onChange: (e) => {\n input.onChange(e); //final-form's onChange\n setLabelUp(e.currentTarget.value != '');\n setActualValue(e.currentTarget.value);\n if (props.onChange) {\n props.onChange(e);\n }\n }, onFocus: (e) => {\n input.onFocus(e); //final-form's onFocus\n if (props.onFocus) {\n props.onFocus(e);\n }\n }, role: props.role, \"aria-expanded\": props.ariaExpanded, \"aria-autocomplete\": props === null || props === void 0 ? void 0 : props.ariaAutocomplete, \"aria-controls\": props === null || props === void 0 ? void 0 : props.ariaControls, \"aria-activedescendant\": props === null || props === void 0 ? void 0 : props.ariaActivedescendant, className: classNames('form-control', { 'label-up': labelUp }), autoFocus: props.autoFocus })),\n props.type !== 'hidden' && label(),\n props.type === \"email\" && (React.createElement(\"div\", { className: \"form-group-icon\" },\n React.createElement(Icon, { name: 'mail' })))));\n };\n const label = () => {\n let finalLabel = props.label;\n if (props.requiredLabel && !props.label.includes('*')) {\n finalLabel = finalLabel + '<span aria-hidden=\"true\">*</span>';\n }\n return (React.createElement(\"label\", { id: `${calculatedId}-label`, className: classNames('form-group-label', 'form-control-label', { 'visually-hidden': props.hiddenLabel }, props.labelClassName), htmlFor: calculatedId, dangerouslySetInnerHTML: { __html: finalLabel } }));\n };\n const labelCheckbox = () => {\n let finalLabel = (props.required ? '<span style=\"margin-right:7px\">*</span>' : '') + props.label;\n return (React.createElement(\"label\", { id: `${calculatedId}-label`, className: classNames('form-group-label', 'multiline', { 'visually-hidden': props.hiddenLabel }, props.labelClassName), htmlFor: calculatedId, dangerouslySetInnerHTML: { __html: finalLabel } }));\n };\n const fieldBlock = (frp) => {\n if (props.type === 'checkbox') {\n return (React.createElement(\"div\", { className: classNames('checkbox', { 'is-invalid': (frp.meta.error && frp.meta.touched) || frp.meta.submitError }) },\n React.createElement(\"div\", { className: \"form-control__checkbox\" },\n field(frp.input, frp.meta, (frp.meta.error && frp.meta.touched) || frp.meta.submitError),\n labelCheckbox()),\n (frp.meta.error && frp.meta.touched && (React.createElement(\"div\", { id: calculatedId + '-error', className: \"invalid-feedback\" }, frp.meta.error))) ||\n (frp.meta.submitError && (React.createElement(\"div\", { id: calculatedId + '-error', className: \"invalid-feedback\" }, frp.meta.submitError))),\n props.helperText ? (React.createElement(\"span\", { id: calculatedId + '-helpertext', className: \"form-group__helper-text\" }, props.helperText)) : null));\n }\n return (React.createElement(\"div\", { className: classNames('form-group animated-label', { 'is-invalid': (frp.meta.error && frp.meta.touched) || frp.meta.submitError }, { 'is-valid': !frp.meta.error && frp.meta.touched && frp.input.value != '' }) },\n field(frp.input, frp.meta, hasTemporaryError(frp) || frp.meta.submitError),\n (hasTemporaryError(frp) && !(props.type === 'password' && props.helperText) && (React.createElement(\"div\", { id: calculatedId + '-error', className: \"invalid-feedback\" }, frp.meta.error))) ||\n (frp.meta.submitError && (React.createElement(\"div\", { id: calculatedId + '-error', className: \"invalid-feedback\" }, frp.meta.submitError))),\n props.helperText ? (React.createElement(\"span\", { id: calculatedId + '-helpertext', className: \"form-group__helper-text\" }, props.helperText)) : null));\n };\n if (props.type === 'radio') {\n return (React.createElement(\"div\", { className: classNames('radio-wrapper', props.className) },\n props.label && React.createElement(\"legend\", { className: classNames('form-group-label', { 'visually-hidden': props.hiddenLabel }), dangerouslySetInnerHTML: { __html: props.label } }),\n (props.options || []).map((o, i) => (React.createElement(\"div\", { key: i, className: classNames('form-control__radio', props.groupClassName) },\n React.createElement(Field, { key: i, name: props.name, type: props.type, value: o.value || '' }, ({ input, meta }) => {\n const invalid = (meta.error && meta.touched) || meta.submitError;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: classNames('radio', { selected: input.checked }) },\n React.createElement(\"input\", { name: input.name, id: `${input.name}_${i}`, value: o.value || '', checked: input.checked, onChange: (e) => {\n input.onChange(e); //final-form's onChange\n if (props.onChange) {\n props.onChange(e);\n }\n }, type: props.type, disabled: o.disabled || props.disabled, readOnly: props.readonly, \"aria-invalid\": invalid, \"aria-describedby\": ariaDescribedBy(props.helperText, invalid, props.name) }),\n React.createElement(\"label\", { htmlFor: `${props.name}_${i}` }, o.label),\n input.checked && !!o.content && o.content),\n props.helperText ? (React.createElement(\"span\", { id: props.name + '-helpertext', className: \"form-group__helper-text\" }, props.helperText)) : null,\n i === props.options.length - 1 && // only on last radio element\n ((meta.error && meta.touched && (React.createElement(\"span\", { id: input.name + '-error', className: \"invalid-feedback\" }, meta.error))) ||\n (meta.submitError && (React.createElement(\"span\", { id: input.name + '-error', className: \"invalid-feedback\" }, meta.submitError))))));\n }))))));\n }\n if (props.type === 'radiobox') {\n return (React.createElement(\"div\", { className: \"fieldset--plain fieldset--radiobox radiobox2\" },\n props.label && React.createElement(\"legend\", { className: classNames('form-group__legend', { 'visually-hidden': props.hiddenLabel }), dangerouslySetInnerHTML: { __html: props.label } }),\n (props.options || []).map((o, i) => (React.createElement(Field, { key: i, name: props.name, type: props.type, value: o.value || '' }, ({ input, meta }) => {\n const invalid = (meta.error && meta.touched) || meta.submitError;\n return (React.createElement(\"div\", { className: \"radiobox2__option\" },\n React.createElement(\"input\", { name: input.name, id: `${input.name}_${i}`, value: o.value || '', defaultChecked: o.checked ? o.checked : !props.options.find((op) => op.checked) && i === 0, checked: input.checked, onChange: (e) => {\n input.onChange(e); //final-form's onChange\n if (props.onChange) {\n props.onChange(e);\n }\n }, type: \"radio\", disabled: o.disabled || props.disabled, readOnly: props.readonly, \"aria-describedby\": ariaDescribedBy(props.helperText, invalid, props.name) }),\n React.createElement(\"label\", { htmlFor: `${props.name}_${i}` }, o.label)));\n })))));\n }\n return (React.createElement(Field, { name: props.name, type: props.type }, (frp) => fieldBlock(frp)));\n};\nFormField.defaultProps = {\n type: 'text',\n};\nexport default withTranslation()(FormField);\n","import classNames from 'classnames';\nimport React from 'react';\nconst Loading = (props) => {\n return (React.createElement(React.Fragment, null, props.inline ? (React.createElement(\"div\", { className: classNames('loader', { light: props.lightMode, transparent: props.transparent }, 'visible') },\n React.createElement(\"span\", { className: \"loader__dot\" }),\n React.createElement(\"span\", { className: \"loader__dot\" }),\n React.createElement(\"span\", { className: \"loader__dot\" }))) : (React.createElement(\"div\", { id: \"html-spinner\", className: \"spinner full visible\" },\n React.createElement(\"span\", { className: \"spinner__dot spinner__dot--string_light\" }),\n React.createElement(\"span\", { className: \"spinner__dot spinner__dot--string_dark\" })))));\n};\nexport default Loading;\n","import qs from 'query-string';\nimport { useCallback, useState } from 'react';\nfunction useQueryString(key, initialValue, isboolean) {\n const setQueryStringWithoutPageReload = (qsValue) => {\n const newurl = window.location.protocol + '//' + window.location.host + window.location.pathname + (qsValue ? '?' + qsValue : '');\n window.history.pushState({ path: newurl }, '', newurl);\n };\n const getQueryStringValue = (key) => {\n const values = qs.parse(window.location.search);\n let value = values[key];\n return isboolean ? !!value : value;\n };\n function setQueryStringValue(key, value) {\n const values = qs.parse(window.location.search);\n const newvalues = Object.assign(Object.assign({}, values), { [key]: value });\n if (isboolean && !value) {\n delete newvalues[key];\n }\n const newQsValue = qs.stringify(newvalues);\n setQueryStringWithoutPageReload(newQsValue);\n }\n const onSetValue = useCallback((newValue) => {\n let newvaltyped = isboolean ? !!newValue || undefined : newValue;\n setValue(newvaltyped);\n setQueryStringValue(key, newvaltyped);\n }, [key]);\n const [value, setValue] = useState((getQueryStringValue(key) || initialValue));\n return [value, onSetValue];\n}\nexport default useQueryString;\n"],"names":["token","singleMatcher","RegExp","multiMatcher","decodeComponents","components","split","decodeURIComponent","join","err","length","left","slice","right","Array","prototype","concat","call","decode","input","tokens","match","i","module","exports","encodedURI","TypeError","replace","replaceMap","exec","result","entries","Object","keys","key","customDecodeURIComponent","obj","predicate","ret","isArr","isArray","val","indexOf","strictUriEncode","decodeComponent","splitOnFirst","filterObject","encodeFragmentIdentifier","Symbol","validateArrayFormatSeparator","value","encode","options","strict","encodeURIComponent","keysSorter","sort","a","b","Number","map","removeHash","hashStart","extract","queryStart","parseValue","parseNumbers","isNaN","trim","parseBooleans","toLowerCase","parse","query","assign","arrayFormat","arrayFormatSeparator","formatter","accumulator","undefined","includes","isEncodedArray","newValue","item","test","arrayValue","parserForArrayFormat","create","param","k","reduce","Boolean","stringify","object","shouldFilter","skipNull","skipEmptyString","index","keyValueSep","encoderForArrayFormat","objectCopy","filter","x","parseUrl","url","url_","hash","parseFragmentIdentifier","fragmentIdentifier","stringifyUrl","queryFromUrl","parsedQueryFromUrl","queryString","getHash","pick","exclude","exclusionFilter","string","separator","separatorIndex","str","charCodeAt","toString","toUpperCase","withTranslation","props","t","errors","setErrors","isSubmitting","setIsSubmitting","micromodalInstance","isglobalecheckout","analyticsUtils","onSubmit","async","values","api","actionurl","then","data","success","loginLocation","email","loginEmail","window","location","redirectUrl","feedback","catch","e","validate","validateErrors","loginPassword","className","render","handleSubmit","form","submitting","pristine","FormField","name","label","type","autocomplete","required","requiredLabel","showPassword","Button","disabled","cls","ErrorBox","Loading","SocialLogin","context","onClick","href","checkoutguesturl","continueAsGuestCheckout","registerform","icon","Icon","large","store","showTitle","socials","setSocials","useState","disableButtons","setDisableButtons","rurl","errorMessage","useEffect","login","id","toLocaleLowerCase","social","inline","closeError","setCloseError","every","isInvalidTrigger","role","close","ref","reference","usesDefault","preventDefault","onKeyDown","loading","isLoading","ariaLabel","dataLabel","children","defaultProps","show","setShow","labelUp","setLabelUp","actualValue","setActualValue","htmlValue","calculatedId","useMemo","idSuffix","ariaDescribedBy","helperText","invalid","hasTemporaryError","frp","meta","error","touched","field","rows","readOnly","readonly","noResize","placeholder","maxLength","onChange","currentTarget","onFocus","onBlur","autoComplete","o","selected","validTick","min","max","ariaAutocomplete","ariaControls","ariaActivedescendant","countryCode","ariaExpanded","autoFocus","finalLabel","hiddenLabel","labelClassName","htmlFor","dangerouslySetInnerHTML","__html","fieldBlock","submitError","labelCheckbox","groupClassName","checked","content","defaultChecked","find","op","light","lightMode","transparent","initialValue","isboolean","setQueryStringValue","search","newvalues","qsValue","newurl","protocol","host","pathname","history","pushState","path","setQueryStringWithoutPageReload","onSetValue","useCallback","newvaltyped","setValue","getQueryStringValue"],"sourceRoot":""}