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F,EAAA2L,EAAAzM,EAAA,GAAa,oBAAAqG,GAAA,iBAAAA,EAAArG,GAAAqG,OAA+C,oBAAAA,GAAA,GAAA2F,MAAAC,OAAA,CAAA5F,GAAA,CAAgD,IAAAqG,EAAArG,EAAApF,MAAA,CAAe,IAAAH,EAAA,EAAQA,EAAA4L,EAAI5L,IAAAuF,CAAA,CAAAvF,EAAA,EAAA2L,CAAAA,EAAAE,EAAAtG,CAAA,CAAAvF,EAAA,IAAAd,CAAAA,GAAAA,CAAAA,GAAA,KAAAA,GAAAyM,CAAAA,CAAA,MAA0C,IAAAA,KAAApG,EAAAA,CAAA,CAAAoG,EAAA,EAAAzM,CAAAA,GAAAA,CAAAA,GAAA,KAAAA,GAAAyM,CAAAA,EAAyC,OAAAzM,CAAA,EAA4EqG,EAAA,GAAArG,CAAAA,GAAAA,CAAAA,GAAA,KAAAA,GAAAc,CAAAA,EAAmD,OAAAd,CAAA","sources":["webpack://_N_E/./node_modules/@locmod/intl/dist/index.es.js","webpack://_N_E/./src/components/inputs/index.ts","webpack://_N_E/./src/components/navigation/Href/Href.tsx","webpack://_N_E/./src/components/navigation/index.ts","webpack://_N_E/../client/request-idle-callback.ts","webpack://_N_E/./src/components/inputs/Button/Button.tsx","webpack://_N_E/./src/components/inputs/ButtonBase/ButtonBase.tsx","webpack://_N_E/./public/images/illustrations/404.png","webpack://_N_E/./src/compositions/Error/messages.ts","webpack://_N_E/./src/compositions/Error/Error.tsx","webpack://_N_E/./node_modules/classnames/index.js","webpack://_N_E/./node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["import React,{useState,useMemo,useContext,Fragment}from'react';// @ts-ignore\r\nvar Context = React.createContext(null);/**\r\n * Replace pure {value} variables\r\n *\r\n * message: \"Price - ${value}\"\r\n * values: { value: 100 }\r\n *\r\n * result: Price - $100\r\n */\r\nvar replaceSimpleVariables = function (message, values) {\r\n if (values === void 0) { values = {}; }\r\n // there is no way to math variables first and then iterate by them, coz if we try to find {variable} we match\r\n // variables in variables - {sex, select, female {perfume} male {cologne} unisex {fragrance}}\r\n return Object.keys(values).reduce(function (res, key) {\r\n // @ts-ignore\r\n var value = values[key];\r\n if (value === null || value === undefined) {\r\n return res;\r\n }\r\n // prevent of replacing value in variables (that matching the variable name)\r\n // example message - 'Some {key} with {check, plural, one {key} other {something}}'\r\n // const escapeFormulasRegexp = `{${key}}(?!([^{]+)?(({[^{}]+}([^{}]+)?)+)?})`\r\n //\r\n // here the ductape \"() => values[key]\" to fix Safari 11.* bug - '{value}'.replace(/{value}/g, '$14.95') becomes '4.95'\r\n return res.replace(new RegExp(\"{\".concat(key, \"}\"), 'g'), function () { return value; });\r\n }, message);\r\n};// CLDR - https://www.unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\r\nvar plural = {\r\n en: function (n, ord) {\r\n if (ord === void 0) { ord = false; }\r\n var s = String(n).split('.');\r\n var v0 = !s[1];\r\n var t0 = Number(s[0]) === n;\r\n var n10 = t0 && Number(s[0].slice(-1));\r\n var n100 = t0 && Number(s[0].slice(-2));\r\n if (n === 0) {\r\n return 'zero';\r\n }\r\n if (ord) {\r\n if (n10 === 1 && n100 !== 11) {\r\n return 'one';\r\n }\r\n if (n10 === 2 && n100 !== 12) {\r\n return 'two';\r\n }\r\n if (n10 === 3 && n100 !== 13) {\r\n return 'few';\r\n }\r\n return 'other';\r\n }\r\n if (n === 1 && v0) {\r\n return 'one';\r\n }\r\n if (n === 2 && v0) {\r\n return 'two';\r\n }\r\n return 'other';\r\n },\r\n};/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}/**\r\n * variable: \"{sex, select, female {perfume} male {cologne} unisex {fragrance}}\"\r\n *\r\n * result: { female: 'perfume', male: 'cologne', unisex: 'fragrance' }\r\n */\r\nvar getVariableValues = function (variable) {\r\n // @ts-ignore\r\n return variable\r\n .match(/[^\\s]+ {[^}]*}/g)\r\n .reduce(function (obj, item) {\r\n var _a;\r\n // @ts-ignore\r\n var _b = item.match(/(.+) {(.*)}/); _b[0]; var key = _b[1], value = _b[2];\r\n return __assign(__assign({}, obj), (_a = {}, _a[key] = value, _a));\r\n }, {});\r\n};var variableRegex$1 = /{\\w+, plural,(\\s\\w+ {#?[^#}]+}){2,}}/g;\r\n/**\r\n * Replace variables with value based on passed values\r\n *\r\n * message: \"{count, plural, one {# product} other {# products}}\"\r\n * values: { count: 23 }\r\n *\r\n * result: 23 products\r\n */\r\nvar replacePluralVariables = function (message, values, locale) {\r\n var variables = message.match(variableRegex$1); // [ '{count, plural, one {# product} other {# products}}' ]\r\n if (variables === null || variables === void 0 ? void 0 : variables.length) {\r\n try {\r\n variables.forEach(function (variable) {\r\n var variableValues = getVariableValues(variable);\r\n // @ts-ignore\r\n var valueKey = variable.match(/[^,{]+/)[0]; // count\r\n var value = values ? values[valueKey] : null; // 23\r\n var variableKey;\r\n var result;\r\n // if value not passed set pluralKey value from the variable (first item) - other\r\n if (value === null || value === undefined) {\r\n // TODO trigger error - added on 10/12/20 by pavelivanov\r\n variableKey = 'other' in variableValues ? 'other' : Object.keys(variableValues)[0]; // eslint-disable-line\r\n result = variableValues[variableKey].replace(/#\\s?/g, ''); // products\r\n }\r\n else {\r\n // @ts-ignore\r\n variableKey = plural[locale](value); // other\r\n if (!variableValues[variableKey]) {\r\n variableKey = 'other';\r\n }\r\n result = variableValues[variableKey].replace(/#/g, value); // 23 products\r\n }\r\n message = message.replace(variable, result);\r\n });\r\n }\r\n catch (err) {\r\n }\r\n }\r\n return message;\r\n};var variableRegex = /{\\w+, select,(\\s\\w+ {[^}]+}){2,}}/g;\r\n/**\r\n * Replace variables with value based on passed values\r\n *\r\n * message: \"{sex, select, female {perfume} male {cologne} unisex {fragrance}}\"\r\n * values: { sex: 'female' }\r\n *\r\n * result: perfume\r\n */\r\nvar replaceSelectVariable = function (message, values, variable) {\r\n var variableValues = getVariableValues(variable);\r\n var valueKey = variable.match(/(?!{)\\w+/)[0]; // sex\r\n var variableKey = values ? values[valueKey] : null; // female\r\n // if value not passed set value from the variable (first item) - unisex\r\n if (!variableKey || !variableValues[variableKey]) {\r\n // TODO trigger error - added on 10/12/20 by pavelivanov\r\n variableKey = 'other' in variableValues ? 'other' : Object.keys(variableValues)[0]; // eslint-disable-line\r\n }\r\n var result = variableValues[variableKey]; // perfume\r\n return message.replace(variable, result);\r\n};\r\nvar replaceSelectVariables = function (message, values) {\r\n var variables = message.match(variableRegex); // [ '{sex, select, female {perfume} male {cologne} unisex {fragrance}}' ]\r\n if (variables === null || variables === void 0 ? void 0 : variables.length) {\r\n try {\r\n variables.forEach(function (variable) {\r\n message = replaceSelectVariable(message, values, variable);\r\n });\r\n }\r\n catch (err) {\r\n console.error(err);\r\n }\r\n }\r\n return message;\r\n};var stripSpaces = function (message) { return (message\r\n .replace(/\\s{2,}/g, ' ')\r\n .replace(/\\s+/g, '
')\r\n .replace(/{\\s+/, '{')\r\n .replace(/\\s+}/, '}')\r\n .trim()); };var formatMessage = function (locale, message, values) {\r\n if (locale === void 0) { locale = 'en'; }\r\n if (typeof message === 'string') {\r\n return message;\r\n }\r\n // TODO add error handler - added on 10/9/20 by pavelivanov\r\n if (!message) {\r\n return '{{ missed_translation }}';\r\n }\r\n // @ts-ignore\r\n var fMessage = stripSpaces(message[locale]);\r\n // @ts-ignore\r\n fMessage = replaceSelectVariables(fMessage, values);\r\n // @ts-ignore\r\n fMessage = replacePluralVariables(fMessage, values, locale);\r\n fMessage = replaceSimpleVariables(fMessage, values);\r\n return fMessage || '{{ missed_translation }}';\r\n};// @ts-ignore\r\nvar createIntl = function (_a) {\r\n var locale = _a.locale, setLocale = _a.setLocale; _a.onError;\r\n return ({\r\n formatMessage: formatMessage.bind(null, locale),\r\n setLocale: setLocale,\r\n });\r\n};var IntlProvider = function (props) {\r\n var children = props.children, initialLocale = props.locale, onError = props.onError;\r\n var _a = useState(initialLocale), locale = _a[0], setLocale = _a[1];\r\n var intl = useMemo(function () { return createIntl({ locale: locale, setLocale: setLocale, onError: onError }); }, [locale]);\r\n return (React.createElement(Context.Provider, { value: intl }, children));\r\n};var useIntl = function () { return useContext(Context); };// \r\nvar getComponentProps = function (message) {\r\n var props = {};\r\n if (/<\\w+\\s*\\/>/.test(message)) {\r\n // @ts-ignore\r\n return;\r\n }\r\n var attrsPart = message\r\n .replace(/^<\\w+\\s+([^>]+?)\\/?>.*/, '$1') // leave only part with attributes - 'boolAttr1 valueAttr1=\"/queue\" valueAttr2=\" value \" emptyAttr=\"\" boolAttr2'\r\n .replace(/\\s*=\\s*/g, '='); // strip spaces around `=`\r\n // to match all empty attributes with regex too complex, so\r\n var emptyProps = (attrsPart\r\n .replace(/\\w+\\s*=\\s*[\"'].*?[\"']/g, '') // strip attributes with values - 'boolAttr1 boolAttr2'\r\n .trim()\r\n .split(/\\s+/g) // split empty attributes - [ 'boolAttr1', 'boolAttr2' ]\r\n );\r\n emptyProps.forEach(function (prop) {\r\n if (prop) {\r\n // @ts-ignore\r\n props[prop] = true;\r\n }\r\n });\r\n var valuedProps = attrsPart.trim().match(/\\w+\\s*=\\s*['\"][^\"]*?['\"]/g); // [ 'valueAttr1=\"/queue\"', 'valueAttr2=\" value \"', 'emptyAttr=\"\"' ]\r\n // @ts-ignore\r\n valuedProps.forEach(function (match) {\r\n var _a = match.trim().split('='), key = _a[0], value = _a[1];\r\n if (value) {\r\n value = value.replace(/['\"]/g, '');\r\n }\r\n if (value === 'true') {\r\n value = true;\r\n }\r\n else if (value === 'false') {\r\n value = false;\r\n }\r\n // @ts-ignore\r\n props[key] = value;\r\n });\r\n return props;\r\n};\r\nvar getComponentChildren = function (message) {\r\n // @ts-ignore\r\n var componentName = message.match(/<(\\w+)/)[1];\r\n // \r\n if (/^<[^>]+\\/>$/.test(message)) {\r\n // @ts-ignore\r\n return undefined;\r\n }\r\n // bar\r\n // complex regex to be sure that value be matched properly even if the content is \"< apple>banana\"\r\n // @ts-ignore\r\n return message.match(new RegExp(\"<\\\\s*\".concat(componentName, \"[^>]+?>(.*)\")))[1];\r\n};\r\nvar createComponent = function (message, components) {\r\n try {\r\n // @ts-ignore\r\n var componentName = message.match(/<(\\w+)/)[1];\r\n var component = components[componentName];\r\n var props = getComponentProps(message);\r\n var children = getComponentChildren(message);\r\n return React.createElement(component, props, children);\r\n }\r\n catch (err) {\r\n console.error(err);\r\n // TODO add error handling - added on 10/12/20 by pavelivanov\r\n // @ts-ignore\r\n return null;\r\n }\r\n};\r\n/**\r\n * Replace components in string message with components create with React.createElement\r\n *\r\n * message: \"foo bar zoo baz \"\r\n * components: { Link: Link, Icon: Icon, Button: Button }\r\n *\r\n * result:\r\n *\r\n * [\r\n * \"foo \",\r\n * React.createElement(Link, { to: '/' }, 'bar'),\r\n * \" zoo \",\r\n * React.createElement(Icon),\r\n * \" baz \",\r\n * \"kek\",\r\n * ]\r\n */\r\nvar replaceReactComponents = function (message, components) {\r\n var componentNames = Object.keys(components || {});\r\n if (!componentNames.length) {\r\n return [message];\r\n }\r\n var compoRegexStr = componentNames.join('|'); // Link|Icon|Button\r\n var splitRegex = new RegExp(\"(<\\\\s*(?:\".concat(compoRegexStr, \")(?:[^>]+?/>|.+?(?:\").concat(compoRegexStr, \"\\\\s*)>))\"), 'g');\r\n var messageArr = message.split(splitRegex);\r\n return (messageArr\r\n .map(function (message) {\r\n // check that this message part contains a component\r\n if (new RegExp(\"<\".concat(compoRegexStr)).test(message)) {\r\n return createComponent(message, components);\r\n }\r\n return message;\r\n })\r\n .filter(function (v) { return v; }));\r\n};var Message = function (props) {\r\n var className = props.className, value = props.value, _a = props.tag, tag = _a === void 0 ? 'span' : _a, html = props.html, onClick = props.onClick;\r\n var intl = useIntl();\r\n if (!value) {\r\n // TODO handle error - added on 10/13/20 by pavelivanov\r\n return null;\r\n }\r\n if (typeof value === 'string') {\r\n if (html) {\r\n return React.createElement(tag, {\r\n className: className,\r\n dangerouslySetInnerHTML: { __html: value },\r\n onClick: onClick,\r\n });\r\n }\r\n // TODO handle error - added on 10/13/20 by pavelivanov\r\n return React.createElement(tag, { className: className, onClick: onClick }, value);\r\n }\r\n var values = value.values, components = value.components, message = __rest(value, [\"values\", \"components\"]);\r\n var formattedMessage = intl.formatMessage(message, values);\r\n if (components) {\r\n var formattedMessageArr = replaceReactComponents(formattedMessage, components);\r\n var children = formattedMessageArr.filter(function (messageItem) { return messageItem; }).map(function (messageItem, index) {\r\n if (typeof messageItem === 'object') {\r\n return React.createElement(Fragment, { key: index }, messageItem);\r\n }\r\n return React.createElement(\"span\", { key: index, dangerouslySetInnerHTML: { __html: messageItem } });\r\n });\r\n return React.createElement(tag, { className: className, onClick: onClick }, children);\r\n }\r\n if (html) {\r\n return React.createElement(tag, {\r\n className: className,\r\n dangerouslySetInnerHTML: { __html: formattedMessage },\r\n onClick: onClick,\r\n });\r\n }\r\n return React.createElement(tag, { className: className, onClick: onClick }, formattedMessage);\r\n};export{IntlProvider,Message,useIntl};","\nexport { default as Button } from \"./Button/Button\"","'use client'\nimport cx from 'classnames'\nimport { forwardRef, type AnchorHTMLAttributes } from 'react'\nimport Link from 'next/link'\nimport { Message } from '@locmod/intl'\nimport { closeModal } from '@locmod/modal'\n\nexport type HrefProps = AnchorHTMLAttributes & {\n className?: string\n href?: string\n to?: string\n toTab?: string\n mailto?: string\n message?: Intl.Message | string\n onClick?: (props: any) => void\n}\n\nconst Href = forwardRef((props, ref) => {\n const {\n children,\n className,\n href,\n to,\n toTab,\n mailto,\n message,\n onClick,\n ...rest\n } = props\n\n const rootClassName = cx(className, {\n 'cursor-pointer':\n (to || toTab || mailto || href || onClick) && !rest['aria-disabled'],\n })\n\n const handleClick = (event: React.MouseEvent) => {\n if (onClick) {\n onClick(event)\n }\n closeModal('SearchModal')\n }\n\n rest.tabIndex = rest.tabIndex || 0\n\n const content = message ? : children\n\n if (href) {\n return (\n \n {content}\n \n )\n }\n\n if (to) {\n return (\n \n {content}\n \n )\n }\n\n if (toTab) {\n return (\n \n {content}\n \n )\n }\n\n if (mailto) {\n return (\n \n {content || mailto}\n \n )\n }\n\n return (\n \n {content}\n \n )\n})\n\nexport default Href\n","\nexport { default as Href } from \"./Href/Href\"",null,"'use client'\n\nimport React, { forwardRef } from 'react'\nimport { Message } from '@locmod/intl'\nimport cx from 'classnames'\n\nimport { ButtonBase } from 'components/inputs'\nimport type { ButtonBaseProps } from 'components/inputs'\nimport { Icon } from 'components/ui'\nimport type { IconName } from 'components/ui'\n\nconst iconSizes = {\n 32: 4,\n 40: 5,\n} as const\n\nexport const sizes = [32, 40] as const\nexport const styles = [\n 'primary',\n 'secondary',\n 'tertiary',\n 'quaternary',\n] as const\n\nexport type ButtonSize = (typeof sizes)[number]\nexport type ButtonStyle = (typeof styles)[number]\n\nexport type ButtonProps = ButtonBaseProps &\n OnlyOne<\n {\n children: React.ReactNode | undefined\n title?: string | Intl.Message\n leftIcon?: IconName\n rightIcon?: IconName\n rightNode?: React.ReactElement\n size: ButtonSize\n style?: ButtonStyle\n html?: boolean\n dataTestId?: string\n },\n 'children' | 'title'\n >\n\nconst Button = forwardRef(\n (props, ref) => {\n let {\n children,\n className,\n title,\n size,\n html,\n style = 'primary',\n loading,\n disabled,\n leftIcon,\n rightIcon,\n rightNode,\n ...rest\n } = props\n\n if (loading) {\n if (style !== 'quaternary') {\n rightIcon = 'interface/spinner'\n } else {\n leftIcon = 'interface/spinner'\n }\n }\n const rootClassName = cx(\n className,\n 'flex items-center justify-center whitespace-nowrap uppercase font-bold transition-all border rounded-sm',\n 'text-center align-top cursor-pointer select-none disabled:cursor-not-allowed disabled:transition-none',\n {\n 'text-caption-14 h-10 px-4': size === 40,\n 'text-caption-13 h-8 px-3': size === 32,\n // primary\n 'border-white/20 bg-brand-50 text-black': style === 'primary',\n 'hover:text-black hover:bg-brand-5 hover:border-white':\n style === 'primary',\n 'disabled:text-[#737373] disabled:bg-bg-l1 disabled:border-grey-10':\n style === 'primary' || style === 'secondary',\n // secondary\n 'border-white bg-grey-20 text-white': style === 'secondary',\n 'hover:text-black hover:bg-grey-90 hover:border-grey-90':\n style === 'secondary',\n // tertiary\n 'border-grey-15 bg-transparent text-white':\n style === 'tertiary' || style === 'quaternary',\n 'hover:text-brand-60': style === 'tertiary',\n 'disabled:text-white': style === 'tertiary',\n // quaternary\n 'hover:text-black hover:bg-brand-50': style === 'quaternary',\n 'disabled:text-secondary disabled:bg-transparent':\n style === 'quaternary',\n }\n )\n const contentClassName = cx('relative flex items-center justify-between')\n\n const content = title ? : children\n const iconSize = iconSizes[size]\n\n return (\n \n
\n {leftIcon && (\n \n )}\n {content}\n {rightIcon && (\n \n )}\n {Boolean(rightNode) && rightNode}\n
\n \n )\n }\n)\n\nexport default Button\n","'use client'\n\nimport React, { forwardRef, useCallback } from 'react'\n\nimport { Href } from 'components/navigation'\n\n\nexport type ButtonBaseProps = {\n // basic\n children?: React.ReactNode\n className?: string\n onClick?: React.MouseEventHandler\n onMouseEnter?: React.MouseEventHandler\n // links\n to?: string // router link\n href?: string // external link\n toTab?: string // external link in new tab\n // misc\n disabled?: boolean\n loading?: boolean\n tag?: string\n type?: string\n dataTestId?: string\n rel?: string\n target?: string\n ariaLabel?: string\n}\n\nconst ButtonBase = forwardRef((props, ref) => {\n const {\n children, className,\n disabled, loading,\n to, toTab, href, onClick, onMouseEnter,\n tag = 'button', type = 'button',\n dataTestId,\n rel, target, ariaLabel,\n } = props\n\n const handleClick = useCallback((event: React.MouseEvent) => {\n if (disabled || loading) {\n event.preventDefault()\n\n return\n }\n\n if (typeof onClick === 'function') {\n onClick(event)\n }\n }, [ loading, disabled, onClick ])\n\n let node: string | React.ElementType = tag\n\n let nodeProps: any = {\n ref,\n className,\n disabled,\n onClick: handleClick,\n onMouseEnter,\n 'aria-busy': loading,\n 'aria-label': ariaLabel,\n 'data-testid': dataTestId,\n }\n\n if (to || toTab || href) {\n node = Href\n\n nodeProps = {\n ...nodeProps,\n to,\n href,\n toTab,\n rel,\n target,\n }\n }\n else if (tag === 'button' || tag === 'input') {\n nodeProps.type = type\n }\n else {\n nodeProps.role = 'button'\n }\n\n return React.createElement(\n node,\n nodeProps,\n children\n )\n})\n\n\nexport default ButtonBase\n","export default {\"src\":\"/_next/static/media/404.452a7dd0.png\",\"height\":150,\"width\":222,\"blurDataURL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAJ1BMVEXveRT1bCXvaSTsbCLzbCX5bibybCXzbCX1bCXxaCXxaiXxaSP4ay7cDt6cAAAADXRSTlMBySQUtIRZaXE2ljoL5IvbfQAAAAlwSFlzAAAQnAAAEJwBJs06NAAAAClJREFUeJwFwYcBADAIwzATNv3/30qgU2wXXHSmNR6WFTbgNaZ9gLuADxAEAKBsk0DtAAAAAElFTkSuQmCC\",\"blurWidth\":8,\"blurHeight\":5};","export default {\n title: {\n en: 'Oops... something went wrong',\n },\n text: {\n en: 'Sorry, the page you are looking for doesn’t exist or has been removed.',\n },\n buttonTitle: {\n en: 'Back to top events',\n },\n}\n","'use client'\n\nimport Image from 'next/image'\nimport { Message } from '@locmod/intl'\n\nimport err404Image from 'public/images/illustrations/404.png'\n\nimport { Button } from 'components/inputs'\n\nimport messages from './messages'\n\n\ntype ErrorProps = {\n}\n\nconst Error: React.FC = () => {\n return (\n
\n \"404\n \n \n \n
\n )\n}\n\nexport default Error\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t