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AAiBwR,GAChC,OAAKA,GAGDD,EAAIhQ,KAAKiQ,EAAIlP,OAAO,MACtBkP,EAAMA,EAAIC,OAAO,IAEfF,EAAIhQ,KAAKiQ,EAAIlP,OAAOkP,EAAIva,OAAS,MACnCua,EAAMA,EAAIC,OAAO,EAAGD,EAAIva,OAAS,IAE5Bua,GARE","sources":["webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-deprecated-strong/src/index.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-deprecated-strong/src/styles/styles.css?a4cf","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-deprecated-strong/src/strong.tsx","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-geo-info/src/context.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-layer/src/base-layer/base-layer.tsx","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-layer/src/context.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-layer/src/base-layer.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-layer/src/base-layer/styles.css?f681","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-link/src/helpers/scroll.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-link/src/components/scroller.tsx","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-link/src/components/link.tsx","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-link/src/link.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-link/src/styles/styles.css","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-link/src/config.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-query-params-provider/src/context.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-use-ssr-promise/src/context/index.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-util-create-widget/src/create-widget.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-util-create-widget/src/styles/common.css","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-util-create-widget/src/generate-style.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-util-create-widget/src/helpers.tsx","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-util-error-boundary/src/index.tsx","webpack://assr-alfaleasing/./node_modules/classnames/index.js","webpack://assr-alfaleasing/./node_modules/js-cookie/src/js.cookie.js","webpack://assr-alfaleasing/./node_modules/markdown-to-jsx/dist/esm.js","webpack://assr-alfaleasing/./node_modules/react-hot-loader/root.js","webpack://assr-alfaleasing/./node_modules/unquote/index.js"],"sourcesContent":["import { createWidget } from '@alfa-bank/site-util-create-widget';\n\nimport { TStrong, IDeps } from './models';\nimport { Strong as Component } from './strong';\nimport styles from './styles/styles.css';\n\nexport const Strong = createWidget({\n styles,\n})(Component);\n","// extracted by mini-css-extract-plugin\nexport default {\"bold\":\"a2jE8\",\"medium\":\"b2jE8\"};","import React, { FC } from 'react';\nimport cn from 'classnames';\n\nimport { TStrong } from './models';\n\nexport const Strong: FC = ({ children, className, styles, weight = 'bold' }) => {\n return {children};\n};\n","import { createContext } from 'react';\n\nimport { IGeoInfo } from './models';\n\nconst { Consumer, Provider } = createContext(undefined);\n\nexport { Provider as GeoInfoProvider, Consumer };\n","import type { ReactNode } from 'react';\nimport React, { PureComponent } from 'react';\n\nimport type { TBaseLayerComponent, IBaseLayerState } from '../models/base-layer';\n\nlet positionBody: number;\n\nexport class BaseLayer extends PureComponent {\n state = {\n queue: [],\n overlays: {},\n };\n\n removeFromOverlay = (id: string) => {\n this.setState(({ overlays, queue }) => ({\n queue: queue.filter(i => i !== id),\n overlays: {\n ...overlays,\n [id]: null,\n },\n }));\n };\n\n renderOnOverlay = ({ id, node }: { id: string; node: ReactNode }) => {\n this.setState(({ overlays, queue }) => ({\n queue: overlays[id] ? queue : [...queue, id],\n overlays: {\n ...overlays,\n [id]: node,\n },\n }));\n };\n\n /*\n * Solution for iPhones so that the body does not \"scroll\" when opening modals\n * Problem and solution https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/\n */\n refArrived = (element: HTMLDivElement) => {\n const { body } = document;\n\n if (element) {\n positionBody = body.scrollTop;\n } else {\n body.scrollTop = positionBody;\n }\n };\n\n render() {\n const { Helmet, Provider, children, dataTestId, styles } = this.props;\n const { overlays, queue } = this.state;\n const isOpened = queue.length > 0;\n const [firstOverlay] = queue;\n\n return (\n \n
\n {children}\n
\n\n {isOpened && (\n <>\n \n \n \n\n
\n {overlays[firstOverlay]}\n
\n \n )}\n \n );\n }\n}\n","import { createContext } from 'react';\n\nimport type { IContextState } from './models';\n\nconst initialState: IContextState = {\n overlays: {},\n queue: [],\n removeFromOverlay: /* istanbul ignore next */ () => {},\n renderOnOverlay: /* istanbul ignore next */ () => {},\n};\n\nexport const { Consumer, Provider } = createContext(initialState);\n","import { Helmet } from 'react-helmet';\nimport { createWidget } from '@alfa-bank/site-util-create-widget/create-widget';\n\nimport { Provider } from './context';\nimport { BaseLayer as Component } from './base-layer/base-layer';\nimport styles from './base-layer/styles.css';\nimport type { IBaseLayerDeps, TBaseLayerComponent } from './models/base-layer';\n\nexport const BaseLayer = createWidget({\n Helmet,\n Provider,\n styles,\n})(Component);\n","// extracted by mini-css-extract-plugin\nexport default {\"blocked\":\"a3psE\",\"blockedBody\":\"b3psE\",\"overlay\":\"c3psE\"};","const getParentZoom = (target: HTMLElement | null): number => {\n if (target === null) {\n return 1;\n }\n\n // TODO: zoom задеприкейчен. Стоит исследовать, нужен ли нам зум.\n const {\n // @ts-ignore\n zoom,\n } = window.getComputedStyle(target);\n\n const isZoomDefaultOrMissing = !zoom || zoom === '1';\n const hasParent = !!target.parentNode;\n const isBody = target.tagName === 'BODY';\n\n const canGoAhead = isZoomDefaultOrMissing && hasParent && !isBody;\n\n if (canGoAhead) {\n return getParentZoom(target.parentElement);\n }\n\n if (!zoom) {\n return 1;\n }\n\n return parseFloat(zoom);\n};\n\ninterface IGetOffsetComponents {\n containerOffset: number;\n offset: number;\n zoom: number;\n}\n\nconst getOffsetComponents = (\n container: HTMLElement | Document,\n target: HTMLElement\n): IGetOffsetComponents => {\n const result = {\n containerOffset: 0,\n zoom: getParentZoom(target),\n offset: target.getBoundingClientRect().top,\n };\n\n if (container instanceof Document) {\n result.containerOffset =\n // not supported by ie11\n window.scrollY ||\n // TODO удалить, когда придет время отказаться от ie11\n // for ie11\n window.pageYOffset;\n\n return result;\n }\n\n // TODO отсюда и ниже не смог попасть тестами. Разобраться, нужен ли код\n if (getComputedStyle(container).position !== 'static') {\n result.offset = target.offsetTop;\n\n return result;\n }\n\n result.containerOffset = container.offsetTop;\n result.offset = target.getBoundingClientRect().top;\n\n return result;\n};\n\nconst calcOffset = (container: HTMLElement | Document, target: HTMLElement): number => {\n const { containerOffset, offset, zoom } = getOffsetComponents(container, target);\n\n return offset * zoom + containerOffset;\n};\n\nconst windowScroller = (offset: number): void => window.scrollTo(0, offset);\n\nconst getElementByHash = (hash: string): HTMLElement | null =>\n document.querySelector(`#${hash}`);\n\nconst scrollBase = ({\n getElement,\n calculateOffset = calcOffset,\n scrollHandler = windowScroller,\n name,\n options,\n}: {\n calculateOffset: typeof calcOffset;\n getElement: typeof getElementByHash;\n name: string;\n options: {\n offset?: number;\n };\n scrollHandler: typeof windowScroller;\n}): void => {\n const { offset = 0 } = options;\n const element = getElement(name);\n\n if (!element) {\n return undefined;\n }\n\n window.location.href = `#${name}`;\n\n return scrollHandler(calculateOffset(document, element) + offset);\n};\n\nexport const scrollToHash = (name: string, options = {}): void =>\n scrollBase({\n getElement: getElementByHash,\n calculateOffset: calcOffset,\n scrollHandler: windowScroller,\n name,\n options,\n });\n","import React, { Children, FC, ReactElement, MouseEvent, MouseEventHandler } from 'react';\n\nimport { scrollToHash } from '../helpers/scroll';\n\nconst onlyHashReg = /^#(.+)/;\n\nconst handleClick =\n (onClick: MouseEventHandler, options: { offset: number }, hash?: string) =>\n (event: MouseEvent) => {\n onClick(event);\n\n if (!hash) {\n return;\n }\n\n event.preventDefault();\n\n const anchorLabel = hash.slice(1);\n\n scrollToHash(anchorLabel, options);\n };\n\ninterface IScroller {\n children: ReactElement<{\n href?: string;\n onClick: MouseEventHandler;\n }>;\n offset?: number;\n}\n\nexport const Scroller: FC = ({ children, offset = 0 }) => {\n const link = Children.only(children);\n\n let hash;\n const {\n props: { href, onClick },\n } = link;\n\n const targetHref = href || '';\n\n const match = targetHref.match(onlyHashReg);\n\n if (match) {\n [hash] = match;\n }\n\n const newProps = {\n ...link.props,\n onClick: handleClick(onClick, { offset }, hash),\n };\n\n return React.cloneElement(link, newProps);\n};\n","import React, { FC, Ref, MouseEvent, useCallback } from 'react';\nimport cn from 'classnames';\n\nimport { DEFAULT_BORDER_LINK, DEFAULT_BORDER_PSEUDO, DEFAULT_THEME, DEFAULT_KIND } from '../config';\nimport { ILinkProps } from '../models';\n\nimport { Scroller } from './scroller';\n\n// Дефолтная ф-ия, чтобы не писать проверок в коде компонента\n// istanbul ignore next\nconst foo = () => {};\n\nexport const Link: FC = ({\n border,\n children,\n className,\n collectorData,\n dataTestId,\n href,\n kind = DEFAULT_KIND,\n linkRef,\n noUnderline = false,\n onClick = foo,\n onMouseEnter,\n pseudo = false,\n rel = 'noopener noreferrer',\n target,\n title,\n scrollOffset,\n styles,\n tabIndex,\n id,\n theme = DEFAULT_THEME,\n urlEqHref = true,\n ...rest\n}) => {\n // Совпадает ли урл страницы с указанным в href\n const isPageUrlEqHref = urlEqHref && href && collectorData?.url === href;\n\n const borderStyleDefault = pseudo ? DEFAULT_BORDER_PSEUDO : DEFAULT_BORDER_LINK;\n\n const borderStyle = border || borderStyleDefault;\n\n const handleClick = useCallback(\n (event: MouseEvent) => onClick({ event }),\n [onClick]\n );\n\n const globalProps = {\n 'data-test-id': dataTestId,\n title,\n id,\n };\n\n const commonProps = {\n onClick: handleClick,\n className: cn(\n styles.link,\n styles[`${theme}Theme_${kind}Kind`],\n styles[`${borderStyle}Border`],\n {\n [styles.noUnderline]: noUnderline,\n },\n className\n ),\n onMouseEnter,\n tabIndex,\n ...globalProps,\n };\n\n if (isPageUrlEqHref) {\n return {children};\n }\n\n const linkContent = pseudo ? (\n \n {children}\n \n ) : (\n }\n href={href}\n rel={rel}\n target={target}\n {...rest}\n >\n {children}\n \n );\n\n return scrollOffset ? {linkContent} : linkContent;\n};\n","import { createWidget } from '@alfa-bank/site-util-create-widget/create-widget';\n\nimport { Link as Component } from './components/link';\nimport { ILinkDependencies, ILinkProps } from './models';\nimport styles from './styles/styles.css';\n\nexport const Link = createWidget({ styles })(Component);\n","// extracted by mini-css-extract-plugin\nexport default {\"link\":\"a1cAc\",\"noUnderline\":\"b1cAc\",\"solidBorder\":\"c1cAc\",\"dashedBorder\":\"d1cAc\",\"hiddenBorder\":\"e1cAc\",\"whiteTheme_primaryKind\":\"f1cAc\",\"whiteThemePrimaryKind\":\"f1cAc\",\"whiteTheme_commonKind\":\"g1cAc\",\"whiteThemeCommonKind\":\"g1cAc\",\"whiteTheme_captionKind\":\"h1cAc\",\"whiteThemeCaptionKind\":\"h1cAc\",\"greyTheme_captionKind\":\"i1cAc\",\"greyThemeCaptionKind\":\"i1cAc\",\"blueTheme_captionKind\":\"j1cAc\",\"blueThemeCaptionKind\":\"j1cAc\",\"blackTheme_captionKind\":\"k1cAc\",\"blackThemeCaptionKind\":\"k1cAc\",\"blueTheme_primaryKind\":\"l1cAc\",\"blueThemePrimaryKind\":\"l1cAc\",\"blueTheme_commonKind\":\"m1cAc\",\"blueThemeCommonKind\":\"m1cAc\",\"blackTheme_primaryKind\":\"n1cAc\",\"blackThemePrimaryKind\":\"n1cAc\",\"blackTheme_commonKind\":\"o1cAc\",\"blackThemeCommonKind\":\"o1cAc\",\"greyTheme_primaryKind\":\"p1cAc\",\"greyThemePrimaryKind\":\"p1cAc\",\"greyTheme_commonKind\":\"q1cAc\",\"greyThemeCommonKind\":\"q1cAc\"};","export const DEFAULT_BORDER_LINK = 'solid';\nexport const DEFAULT_BORDER_PSEUDO = 'dashed';\nexport const BORDERS = ['solid', 'dashed', 'hidden'] as const;\n\nexport const DEFAULT_KIND = 'common';\nexport const KINDS = ['common', 'caption', 'primary'] as const;\n\nexport const DEFAULT_THEME = 'white';\nexport const THEMES = ['white', 'blue', 'grey'] as const;\n","import { createContext } from 'react';\n\nimport type { IQueryContext } from './models';\n\nexport const QueryParamsContext = createContext({});\n","import React from 'react';\n\nimport { ISsrPromiseContext } from '../models';\n\nexport const SsrPromiseContext = React.createContext({});\n","import { ComponentType } from 'react';\n\nimport { ICreateWidget } from './models';\nimport { hoist, createWrapper } from './helpers';\n\n/**\n * Функция hoc, для создания виджета, принимает объект зависимостей\n * и возвращает компонент с внедренными зависимостями\n */\nexport const createWidget: ICreateWidget =\n (dependencies?: T) =>\n (Widget: ComponentType) =>\n hoist(createWrapper(Widget, dependencies), Widget);\n","// extracted by mini-css-extract-plugin\nexport default {\"borderRadius0\":\"aG2mw\",\"borderRadius4\":\"bG2mw\",\"borderRadius8\":\"cG2mw\",\"borderRadius12\":\"dG2mw\",\"marginTop0\":\"eG2mw\",\"marginTop2\":\"fG2mw\",\"marginTop4\":\"gG2mw\",\"marginTop8\":\"hG2mw\",\"marginTop12\":\"iG2mw\",\"marginTop16\":\"jG2mw\",\"marginTop20\":\"kG2mw\",\"marginTop24\":\"lG2mw\",\"marginTop28\":\"mG2mw\",\"marginTop32\":\"nG2mw\",\"marginTop36\":\"oG2mw\",\"marginTop40\":\"pG2mw\",\"marginTop44\":\"qG2mw\",\"marginTop48\":\"rG2mw\",\"marginTop52\":\"sG2mw\",\"marginTop56\":\"tG2mw\",\"marginTop60\":\"uG2mw\",\"marginTop64\":\"vG2mw\",\"marginTop68\":\"wG2mw\",\"marginTop72\":\"xG2mw\",\"marginRight0\":\"yG2mw\",\"marginRight2\":\"zG2mw\",\"marginRight4\":\"AG2mw\",\"marginRight8\":\"BG2mw\",\"marginRight12\":\"CG2mw\",\"marginRight16\":\"DG2mw\",\"marginRight20\":\"EG2mw\",\"marginRight24\":\"FG2mw\",\"marginRight28\":\"GG2mw\",\"marginRight32\":\"HG2mw\",\"marginRight36\":\"IG2mw\",\"marginRight40\":\"JG2mw\",\"marginRight44\":\"KG2mw\",\"marginRight48\":\"LG2mw\",\"marginRight52\":\"MG2mw\",\"marginRight56\":\"NG2mw\",\"marginRight60\":\"OG2mw\",\"marginRight64\":\"PG2mw\",\"marginRight68\":\"QG2mw\",\"marginRight72\":\"RG2mw\",\"marginBottom0\":\"SG2mw\",\"marginBottom2\":\"TG2mw\",\"marginBottom4\":\"UG2mw\",\"marginBottom8\":\"VG2mw\",\"marginBottom12\":\"WG2mw\",\"marginBottom16\":\"XG2mw\",\"marginBottom20\":\"YG2mw\",\"marginBottom24\":\"ZG2mw\",\"marginBottom28\":\"__G2mw\",\"marginBottom32\":\"_0G2mw\",\"marginBottom36\":\"_1G2mw\",\"marginBottom40\":\"_2G2mw\",\"marginBottom44\":\"_3G2mw\",\"marginBottom48\":\"_4G2mw\",\"marginBottom52\":\"_5G2mw\",\"marginBottom56\":\"_6G2mw\",\"marginBottom60\":\"_7G2mw\",\"marginBottom64\":\"_8G2mw\",\"marginBottom68\":\"_9G2mw\",\"marginBottom72\":\"_-G2mw\",\"marginLeft0\":\"aaG2mw\",\"marginLeft2\":\"abG2mw\",\"marginLeft4\":\"acG2mw\",\"marginLeft8\":\"adG2mw\",\"marginLeft12\":\"aeG2mw\",\"marginLeft16\":\"afG2mw\",\"marginLeft20\":\"agG2mw\",\"marginLeft24\":\"ahG2mw\",\"marginLeft28\":\"aiG2mw\",\"marginLeft32\":\"ajG2mw\",\"marginLeft36\":\"akG2mw\",\"marginLeft40\":\"alG2mw\",\"marginLeft44\":\"amG2mw\",\"marginLeft48\":\"anG2mw\",\"marginLeft52\":\"aoG2mw\",\"marginLeft56\":\"apG2mw\",\"marginLeft60\":\"aqG2mw\",\"marginLeft64\":\"arG2mw\",\"marginLeft68\":\"asG2mw\",\"marginLeft72\":\"atG2mw\",\"paddingTop0\":\"auG2mw\",\"paddingTop2\":\"avG2mw\",\"paddingTop4\":\"awG2mw\",\"paddingTop8\":\"axG2mw\",\"paddingTop12\":\"ayG2mw\",\"paddingTop16\":\"azG2mw\",\"paddingTop20\":\"aAG2mw\",\"paddingTop24\":\"aBG2mw\",\"paddingTop28\":\"aCG2mw\",\"paddingTop32\":\"aDG2mw\",\"paddingTop36\":\"aEG2mw\",\"paddingTop40\":\"aFG2mw\",\"paddingTop44\":\"aGG2mw\",\"paddingTop48\":\"aHG2mw\",\"paddingTop52\":\"aIG2mw\",\"paddingTop56\":\"aJG2mw\",\"paddingTop60\":\"aKG2mw\",\"paddingTop64\":\"aLG2mw\",\"paddingTop68\":\"aMG2mw\",\"paddingTop72\":\"aNG2mw\",\"paddingRight0\":\"aOG2mw\",\"paddingRight2\":\"aPG2mw\",\"paddingRight4\":\"aQG2mw\",\"paddingRight8\":\"aRG2mw\",\"paddingRight12\":\"aSG2mw\",\"paddingRight16\":\"aTG2mw\",\"paddingRight20\":\"aUG2mw\",\"paddingRight24\":\"aVG2mw\",\"paddingRight28\":\"aWG2mw\",\"paddingRight32\":\"aXG2mw\",\"paddingRight36\":\"aYG2mw\",\"paddingRight40\":\"aZG2mw\",\"paddingRight44\":\"a_G2mw\",\"paddingRight48\":\"a0G2mw\",\"paddingRight52\":\"a1G2mw\",\"paddingRight56\":\"a2G2mw\",\"paddingRight60\":\"a3G2mw\",\"paddingRight64\":\"a4G2mw\",\"paddingRight68\":\"a5G2mw\",\"paddingRight72\":\"a6G2mw\",\"paddingBottom0\":\"a7G2mw\",\"paddingBottom2\":\"a8G2mw\",\"paddingBottom4\":\"a9G2mw\",\"paddingBottom8\":\"a-G2mw\",\"paddingBottom12\":\"baG2mw\",\"paddingBottom16\":\"bbG2mw\",\"paddingBottom20\":\"bcG2mw\",\"paddingBottom24\":\"bdG2mw\",\"paddingBottom28\":\"beG2mw\",\"paddingBottom32\":\"bfG2mw\",\"paddingBottom36\":\"bgG2mw\",\"paddingBottom40\":\"bhG2mw\",\"paddingBottom44\":\"biG2mw\",\"paddingBottom48\":\"bjG2mw\",\"paddingBottom52\":\"bkG2mw\",\"paddingBottom56\":\"blG2mw\",\"paddingBottom60\":\"bmG2mw\",\"paddingBottom64\":\"bnG2mw\",\"paddingBottom68\":\"boG2mw\",\"paddingBottom72\":\"bpG2mw\",\"paddingLeft0\":\"bqG2mw\",\"paddingLeft2\":\"brG2mw\",\"paddingLeft4\":\"bsG2mw\",\"paddingLeft8\":\"btG2mw\",\"paddingLeft12\":\"buG2mw\",\"paddingLeft16\":\"bvG2mw\",\"paddingLeft20\":\"bwG2mw\",\"paddingLeft24\":\"bxG2mw\",\"paddingLeft28\":\"byG2mw\",\"paddingLeft32\":\"bzG2mw\",\"paddingLeft36\":\"bAG2mw\",\"paddingLeft40\":\"bBG2mw\",\"paddingLeft44\":\"bCG2mw\",\"paddingLeft48\":\"bDG2mw\",\"paddingLeft52\":\"bEG2mw\",\"paddingLeft56\":\"bFG2mw\",\"paddingLeft60\":\"bGG2mw\",\"paddingLeft64\":\"bHG2mw\",\"paddingLeft68\":\"bIG2mw\",\"paddingLeft72\":\"bJG2mw\"};","import isEmpty from 'lodash/isEmpty';\n\nimport styles from './styles/common.css';\nimport { IStyler } from './models';\n\ntype TStyle = keyof typeof styles;\n\nconst RULES: Array<[keyof IStyler, keyof IStyler]> = [\n ['borderRadius', 'borderRadius'],\n ['marginTop', 'margin'],\n ['marginRight', 'margin'],\n ['marginBottom', 'margin'],\n ['marginLeft', 'margin'],\n ['paddingTop', 'padding'],\n ['paddingRight', 'padding'],\n ['paddingBottom', 'padding'],\n ['paddingLeft', 'padding'],\n];\n\nexport const generateStyle = (\n styler: IStyler = {},\n injectedClassName?: string\n): { className: string } | undefined => {\n const classNames: string[] = [];\n\n if (isEmpty(styler)) {\n return injectedClassName ? { className: injectedClassName } : undefined;\n }\n\n for (const [rule, fallback] of RULES) {\n if (styler[rule] !== undefined) {\n classNames.push(styles[`${rule}${styler[rule]}` as TStyle]);\n } else if (styler[fallback] !== undefined) {\n classNames.push(styles[`${rule}${styler[fallback]}` as TStyle]);\n }\n }\n\n if (injectedClassName) {\n classNames.push(injectedClassName);\n }\n\n if (classNames.length) return { className: classNames.join(' ') };\n\n return undefined;\n};\n","import React, { ComponentType } from 'react';\nimport hoistStatics from 'hoist-non-react-statics';\n\nimport { generateStyle } from './generate-style';\nimport { TWrapper } from './models';\n\n/**\n * Вернуть объект с названием виджета\n */\nexport const getDisplayName = (TargetWidget: ComponentType) => ({\n displayName: TargetWidget.displayName || TargetWidget.name || 'UnnamedWidget',\n});\n\n/**\n * Создать обертку, добавляющую стайлер и зависимости\n */\nexport const createWrapper =\n (Widget: ComponentType, dependencies?: T): ComponentType> =>\n ({ className, styler, ...props }) =>\n ;\n\n/**\n * Добавить изначальные свойства виджета, displayName и любые дополнительные\n */\nexport const hoist = (\n Wrapper: ComponentType,\n Widget: ComponentType,\n ...rest: any[]\n): ComponentType =>\n Object.assign(hoistStatics(Wrapper, Widget), getDisplayName(Widget), ...rest);\n","import React, { Component, ComponentType, ErrorInfo } from 'react';\nimport type { Hub } from '@sentry/types';\n\ndeclare global {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n interface Window {\n Sentry: Hub;\n }\n}\n\ninterface IDefaultProps {\n fallbackProps?: Record | null;\n showFallback?: boolean;\n}\n\n/**\n * Функция hoc, для отлова ошибки в компоненте\n * Принимает FallbackCmp, logger\n * Рендерит Fallback, если в компоненте произошла ошибка\n * Пишет ошибку в logger\n *\n * TODO: Подумать над механизмом ререндеринга компонента, после обновления, если изменились пропсы и компонент не упал\n */\nexport const withErrorBoundary = (Widget: ComponentType, FallbackCmp?: ComponentType) => {\n return class WithErrorBoundary extends Component {\n static displayName = Widget.displayName;\n\n static defaultProps: IDefaultProps = {\n fallbackProps: null,\n showFallback: false,\n };\n\n state = {\n hasErrors: false,\n };\n\n static logComponentError(component: Component, error: Error, errorInfo: ErrorInfo) {\n if (!window || !window.Sentry) {\n return;\n }\n\n window.Sentry.withScope(scope => {\n Object.entries(errorInfo).forEach(([key, value]) => {\n scope.setExtra(key, value);\n });\n scope.setExtra('props', component.props);\n scope.setExtra('state', component.state);\n scope.setTag('logger', 'hoc.withErrorBoundary');\n window.Sentry.captureException(error);\n });\n }\n\n componentDidCatch(error: Error, errorInfo: ErrorInfo) {\n console.error(\n `Widget ${WithErrorBoundary.displayName} has not been rendered because of an error occurred within the widget`,\n 'Error ---->',\n error\n );\n\n WithErrorBoundary.logComponentError(this, error, errorInfo);\n\n this.setState({ hasErrors: true });\n }\n\n render() {\n const { fallbackProps, showFallback } = this.props;\n const { hasErrors } = this.state;\n\n // Принудительно перевести в режим заглушки. См. описание примера в сториз.\n if (showFallback && FallbackCmp) {\n return ;\n }\n\n if (!hasErrors) {\n return ;\n }\n\n if (FallbackCmp) {\n return ;\n }\n\n return null;\n }\n };\n};\n","/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://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) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\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","/*!\n * JavaScript Cookie v2.2.1\n * https://github.com/js-cookie/js-cookie\n *\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\n * Released under the MIT license\n */\n;(function (factory) {\n\tvar registeredInModuleLoader;\n\tif (typeof define === 'function' && define.amd) {\n\t\tdefine(factory);\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (typeof exports === 'object') {\n\t\tmodule.exports = factory();\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (!registeredInModuleLoader) {\n\t\tvar OldCookies = window.Cookies;\n\t\tvar api = window.Cookies = factory();\n\t\tapi.noConflict = function () {\n\t\t\twindow.Cookies = OldCookies;\n\t\t\treturn api;\n\t\t};\n\t}\n}(function () {\n\tfunction extend () {\n\t\tvar i = 0;\n\t\tvar result = {};\n\t\tfor (; i < arguments.length; i++) {\n\t\t\tvar attributes = arguments[ i ];\n\t\t\tfor (var key in attributes) {\n\t\t\t\tresult[key] = attributes[key];\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tfunction decode (s) {\n\t\treturn s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n\t}\n\n\tfunction init (converter) {\n\t\tfunction api() {}\n\n\t\tfunction set (key, value, attributes) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tattributes = extend({\n\t\t\t\tpath: '/'\n\t\t\t}, api.defaults, attributes);\n\n\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\tattributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n\t\t\t}\n\n\t\t\t// We're using \"expires\" because \"max-age\" is not supported by IE\n\t\t\tattributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n\t\t\ttry {\n\t\t\t\tvar result = JSON.stringify(value);\n\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\tvalue = result;\n\t\t\t\t}\n\t\t\t} catch (e) {}\n\n\t\t\tvalue = converter.write ?\n\t\t\t\tconverter.write(value, key) :\n\t\t\t\tencodeURIComponent(String(value))\n\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\n\t\t\tkey = encodeURIComponent(String(key))\n\t\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t\t.replace(/[\\(\\)]/g, escape);\n\n\t\t\tvar stringifiedAttributes = '';\n\t\t\tfor (var attributeName in attributes) {\n\t\t\t\tif (!attributes[attributeName]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tstringifiedAttributes += '; ' + attributeName;\n\t\t\t\tif (attributes[attributeName] === true) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Considers RFC 6265 section 5.2:\n\t\t\t\t// ...\n\t\t\t\t// 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n\t\t\t\t// character:\n\t\t\t\t// Consume the characters of the unparsed-attributes up to,\n\t\t\t\t// not including, the first %x3B (\";\") character.\n\t\t\t\t// ...\n\t\t\t\tstringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n\t\t\t}\n\n\t\t\treturn (document.cookie = key + '=' + value + stringifiedAttributes);\n\t\t}\n\n\t\tfunction get (key, json) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar jar = {};\n\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t// in case there are no cookies at all.\n\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\tif (!json && cookie.charAt(0) === '\"') {\n\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tvar name = decode(parts[0]);\n\t\t\t\t\tcookie = (converter.read || converter)(cookie, name) ||\n\t\t\t\t\t\tdecode(cookie);\n\n\t\t\t\t\tif (json) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t}\n\n\t\t\t\t\tjar[name] = cookie;\n\n\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\n\t\t\treturn key ? jar[key] : jar;\n\t\t}\n\n\t\tapi.set = set;\n\t\tapi.get = function (key) {\n\t\t\treturn get(key, false /* read as raw */);\n\t\t};\n\t\tapi.getJSON = function (key) {\n\t\t\treturn get(key, true /* read as json */);\n\t\t};\n\t\tapi.remove = function (key, attributes) {\n\t\t\tset(key, '', extend(attributes, {\n\t\t\t\texpires: -1\n\t\t\t}));\n\t\t};\n\n\t\tapi.defaults = {};\n\n\t\tapi.withConverter = init;\n\n\t\treturn api;\n\t}\n\n\treturn init(function () {});\n}));\n","var _extends=Object.assign||function(a){for(var b,c=1;c=0||Object.prototype.hasOwnProperty.call(a,d)&&(c[d]=a[d]);return c}import React from'react';import unquote from'unquote';var ATTRIBUTE_TO_JSX_PROP_MAP={accesskey:'accessKey',allowfullscreen:'allowFullScreen',allowtransparency:'allowTransparency',autocomplete:'autoComplete',autofocus:'autoFocus',autoplay:'autoPlay',cellpadding:'cellPadding',cellspacing:'cellSpacing',charset:'charSet',class:'className',classid:'classId',colspan:'colSpan',contenteditable:'contentEditable',contextmenu:'contextMenu',crossorigin:'crossOrigin',enctype:'encType',for:'htmlFor',formaction:'formAction',formenctype:'formEncType',formmethod:'formMethod',formnovalidate:'formNoValidate',formtarget:'formTarget',frameborder:'frameBorder',hreflang:'hrefLang',inputmode:'inputMode',keyparams:'keyParams',keytype:'keyType',marginheight:'marginHeight',marginwidth:'marginWidth',maxlength:'maxLength',mediagroup:'mediaGroup',minlength:'minLength',novalidate:'noValidate',radiogroup:'radioGroup',readonly:'readOnly',rowspan:'rowSpan',spellcheck:'spellCheck',srcdoc:'srcDoc',srclang:'srcLang',srcset:'srcSet',tabindex:'tabIndex',usemap:'useMap'},namedCodesToUnicode={amp:'&',apos:'\\'',gt:'>',lt:'<',nbsp:'\\xA0',quot:'\\u201C'},DO_NOT_PROCESS_HTML_ELEMENTS=['style','script'],ATTR_EXTRACTOR_R=/([-A-Z0-9_:]+)(?:\\s*=\\s*(?:(?:\"((?:\\\\.|[^\"])*)\")|(?:'((?:\\\\.|[^'])*)')|(?:\\{((?:\\\\.|{[^}]*?}|[^}])*)\\})))?/gi,AUTOLINK_MAILTO_CHECK_R=/mailto:/i,BLOCK_END_R=/\\n{2,}$/,BLOCKQUOTE_R=/^( *>[^\\n]+(\\n[^\\n]+)*\\n*)+\\n{2,}/,BLOCKQUOTE_TRIM_LEFT_MULTILINE_R=/^ *> ?/gm,BREAK_LINE_R=/^ {2,}\\n/,BREAK_THEMATIC_R=/^(?:( *[-*_]) *){3,}(?:\\n *)+\\n/,CODE_BLOCK_FENCED_R=/^\\s*(`{3,}|~{3,}) *(\\S+)? *\\n([\\s\\S]+?)\\s*\\1 *(?:\\n *)+\\n?/,CODE_BLOCK_R=/^(?: {4}[^\\n]+\\n*)+(?:\\n *)+\\n?/,CODE_INLINE_R=/^(`+)\\s*([\\s\\S]*?[^`])\\s*\\1(?!`)/,CONSECUTIVE_NEWLINE_R=/^(?:\\n *)*\\n/,CR_NEWLINE_R=/\\r\\n?/g,FOOTNOTE_R=/^\\[\\^([^\\]]+)](:.*)\\n/,FOOTNOTE_REFERENCE_R=/^\\[\\^([^\\]]+)]/,FORMFEED_R=/\\f/g,GFM_TASK_R=/^\\s*?\\[(x|\\s)\\]/,HEADING_R=/^ *(#{1,6}) *([^\\n]+)\\n{0,2}/,HEADING_SETEXT_R=/^([^\\n]+)\\n *(=|-){3,} *(?:\\n *)+\\n/,HTML_BLOCK_ELEMENT_R=/^ *(?!<[a-z][^ >/]* ?\\/>)<([a-z][^ >/]*) ?([^>]*)\\/{0}>\\n?(\\s*(?:<\\1[^>]*?>[\\s\\S]*?<\\/\\1>|(?!<\\1)[\\s\\S])*?)<\\/\\1>\\n*/i,HTML_CHAR_CODE_R=/&([a-z]+);/g,HTML_COMMENT_R=/^/,HTML_CUSTOM_ATTR_R=/^(data|aria|x)-[a-z_][a-z\\d_.-]*$/,HTML_SELF_CLOSING_ELEMENT_R=/^ *<([a-z][a-z0-9:]*)(?:\\s+((?:<.*?>|[^>])*))?\\/?>(?!<\\/\\1>)(\\s*\\n)?/i,INTERPOLATION_R=/^\\{.*\\}$/,LINK_AUTOLINK_BARE_URL_R=/^(https?:\\/\\/[^\\s<]+[^<.,:;\"')\\]\\s])/,LINK_AUTOLINK_MAILTO_R=/^<([^ >]+@[^ >]+)>/,LINK_AUTOLINK_R=/^<([^ >]+:\\/[^ >]+)>/,LIST_ITEM_END_R=/ *\\n+$/,LIST_LOOKBEHIND_R=/(?:^|\\n)( *)$/,CAPTURE_LETTER_AFTER_HYPHEN=/-([a-z])?/gi,NP_TABLE_R=/^(.*\\|?.*)\\n *(\\|? *[-:]+ *\\|[-| :]*)\\n((?:.*\\|.*\\n)*)\\n?/,PARAGRAPH_R=/^((?:[^\\n]|\\n(?! *\\n))+)(?:\\n *)+\\n/,REFERENCE_IMAGE_OR_LINK=/^\\[([^\\]]*)\\]:\\s*(\\S+)\\s*(\"([^\"]*)\")?/,REFERENCE_IMAGE_R=/^!\\[([^\\]]*)\\] ?\\[([^\\]]*)\\]/,REFERENCE_LINK_R=/^\\[([^\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/^( *)((?:[*+-]|\\d+\\.)) [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1(?:[*+-]|\\d+\\.) (?!(?:[*+-]|\\d+\\.) ))\\n*|\\s*\\n*$)/,LINK_INSIDE='(?:\\\\[[^\\\\]]*\\\\]|[^\\\\[\\\\]]|\\\\](?=[^\\\\[]*\\\\]))*',LINK_HREF_AND_TITLE='\\\\s*?(?:\\\\s+[\\'\"]([\\\\s\\\\S]*?)[\\'\"])?\\\\s*',LINK_R=/^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)/,IMAGE_R=/^!\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)/,BLOCK_SYNTAXES=[BLOCKQUOTE_R,CODE_BLOCK_R,CODE_BLOCK_FENCED_R,HEADING_R,HEADING_SETEXT_R,HTML_BLOCK_ELEMENT_R,HTML_COMMENT_R,HTML_SELF_CLOSING_ELEMENT_R,LIST_ITEM_R,LIST_R,NP_TABLE_R,PARAGRAPH_R];function containsBlockSyntax(a){return BLOCK_SYNTAXES.some(function(b){return b.test(a)})}function slugify(a){return a.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,'a').replace(/[çÇ]/g,'c').replace(/[ðÐ]/g,'d').replace(/[ÈÉÊËéèêë]/g,'e').replace(/[ÏïÎîÍíÌì]/g,'i').replace(/[Ññ]/g,'n').replace(/[øØœŒÕõÔôÓóÒò]/g,'o').replace(/[ÜüÛûÚúÙù]/g,'u').replace(/[ŸÿÝý]/g,'y').replace(/[^a-z0-9- ]/gi,'').replace(/ /gi,'-').toLowerCase()}function parseTableAlignCapture(a){if(TABLE_RIGHT_ALIGN.test(a))return'right';return TABLE_CENTER_ALIGN.test(a)?'center':TABLE_LEFT_ALIGN.test(a)?'left':null}function parseTableRow(a,b,c){var d=c.inTable;c.inTable=!0;var e=b(a.trim(),c);c.inTable=d;var f=[[]];return e.forEach(function(a,b){a.type==='tableSeparator'?b!==0&&b!==e.length-1&&f.push([]):(a.type==='text'&&(e[b+1]==null||e[b+1].type==='tableSeparator')&&(a.content=a.content.replace(TABLE_CELL_END_TRIM,'')),f[f.length-1].push(a))}),f}function parseTableAlign(a){var b=a.replace(TABLE_TRIM_PIPES,'').split('|');return b.map(parseTableAlignCapture)}function parseTableCells(a,b,c){var d=a.trim().split('\\n');return d.map(function(a){return parseTableRow(a,b,c)})}function parseTable(a,b,c){c.inline=!0;var d=parseTableRow(a[1],b,c),e=parseTableAlign(a[2],b,c),f=parseTableCells(a[3],b,c);return c.inline=!1,{align:e,cells:f,header:d,type:'table'}}function getTableStyle(a,b){return a.align[b]==null?{}:{textAlign:a.align[b]}}function normalizeAttributeKey(a){var b=a.indexOf('-');return b!==-1&&a.match(HTML_CUSTOM_ATTR_R)===null&&(a=a.replace(CAPTURE_LETTER_AFTER_HYPHEN,function(a,b){return b.toUpperCase()})),a}function attributeValueToJSXPropValue(a,b){return a==='style'?b.split(/;\\s?/).reduce(function(a,b){var c=b.slice(0,b.indexOf(':')),d=c.replace(/(-[a-z])/g,function(a){return a[1].toUpperCase()});return a[d]=b.slice(c.length+1).trim(),a},{}):a==='href'?sanitizeUrl(b):(b.match(INTERPOLATION_R)&&(b=b.slice(1,b.length-1)),b==='true'||b!=='false'&&b)}function normalizeWhitespace(a){return a.replace(CR_NEWLINE_R,'\\n').replace(FORMFEED_R,'').replace(TAB_R,' ')}function parserFor(a){function b(d,e){for(var f=[],g='';d;)for(var l=0;l2?e-2:0),h=2;h1?f=c?d('span',{key:'outer'},e):d('div',{key:'outer'},e):e.length===1?(f=e[0],typeof f=='string'&&(f=d('span',{key:'outer'},f))):f=d('span',{key:'outer'}),f}function e(a){var b=a.match(ATTR_EXTRACTOR_R);return b?b.reduce(function(a,b,d){var e=b.indexOf('=');if(e!==-1){var f=normalizeAttributeKey(b.slice(0,e)).trim(),g=unquote(b.slice(e+1).trim()),h=ATTRIBUTE_TO_JSX_PROP_MAP[f]||f,i=a[h]=attributeValueToJSXPropValue(f,g);(HTML_BLOCK_ELEMENT_R.test(i)||HTML_SELF_CLOSING_ELEMENT_R.test(i))&&(a[h]=React.cloneElement(c(i.trim()),{key:d}))}else b!=='style'&&(a[ATTRIBUTE_TO_JSX_PROP_MAP[b]||b]=!0);return a},{}):void 0}b=b||{},b.overrides=b.overrides||{},b.slugify=b.slugify||slugify,b.namedCodesToUnicode=b.namedCodesToUnicode?_extends({},namedCodesToUnicode,b.namedCodesToUnicode):namedCodesToUnicode;var f=b.createElement||React.createElement;if(process.env.NODE_ENV!=='production'){if(typeof a!='string')throw new Error('markdown-to-jsx: the first argument must be\\n a string');if(Object.prototype.toString.call(b.overrides)!=='[object Object]')throw new Error('markdown-to-jsx: options.overrides (second argument property) must be\\n undefined or an object literal with shape:\\n {\\n htmltagname: {\\n component: string|ReactComponent(optional),\\n props: object(optional)\\n }\\n }')}var g=[],h={},i={blockQuote:{match:blockRegex(BLOCKQUOTE_R),order:PARSE_PRIORITY_HIGH,parse:function d(a,b,c){return{content:b(a[0].replace(BLOCKQUOTE_TRIM_LEFT_MULTILINE_R,''),c)}},react:function e(a,b,c){return d('blockquote',{key:c.key},b(a.content,c))}},breakLine:{match:anyScopeRegex(BREAK_LINE_R),order:PARSE_PRIORITY_HIGH,parse:captureNothing,react:function e(a,b,c){return d('br',{key:c.key})}},breakThematic:{match:blockRegex(BREAK_THEMATIC_R),order:PARSE_PRIORITY_HIGH,parse:captureNothing,react:function e(a,b,c){return d('hr',{key:c.key})}},codeBlock:{match:blockRegex(CODE_BLOCK_R),order:PARSE_PRIORITY_MAX,parse:function c(a){var b=a[0].replace(/^ {4}/gm,'').replace(/\\n+$/,'');return{content:b,lang:void 0}},react:function e(a,b,c){return d('pre',{key:c.key},d('code',{className:a.lang?'lang-'+a.lang:''},a.content))}},codeFenced:{match:blockRegex(CODE_BLOCK_FENCED_R),order:PARSE_PRIORITY_MAX,parse:function b(a){return{content:a[3],lang:a[2]||void 0,type:'codeBlock'}}},codeInline:{match:simpleInlineRegex(CODE_INLINE_R),order:PARSE_PRIORITY_LOW,parse:function b(a){return{content:a[2]}},react:function e(a,b,c){return d('code',{key:c.key},a.content)}},footnote:{match:blockRegex(FOOTNOTE_R),order:PARSE_PRIORITY_MAX,parse:function b(a){return g.push({footnote:a[2],identifier:a[1]}),{}},react:renderNothing},footnoteReference:{match:inlineRegex(FOOTNOTE_REFERENCE_R),order:PARSE_PRIORITY_HIGH,parse:function c(a){return{content:a[1],target:'#'+b.slugify(a[1])}},react:function e(a,b,c){return d('a',{key:c.key,href:sanitizeUrl(a.target)},d('sup',{key:c.key},a.content))}},gfmTask:{match:inlineRegex(GFM_TASK_R),order:PARSE_PRIORITY_HIGH,parse:function b(a){return{completed:a[1].toLowerCase()==='x'}},react:function e(a,b,c){return d('input',{checked:a.completed,key:c.key,readOnly:!0,type:'checkbox'})}},heading:{match:blockRegex(HEADING_R),order:PARSE_PRIORITY_HIGH,parse:function e(a,c,d){return{content:parseInline(c,a[2],d),id:b.slugify(a[2]),level:a[1].length}},react:function f(a,b,c){var e='h'+a.level;return d(e,{id:a.id,key:c.key},b(a.content,c))}},headingSetext:{match:blockRegex(HEADING_SETEXT_R),order:PARSE_PRIORITY_MAX,parse:function d(a,b,c){return{content:parseInline(b,a[1],c),level:a[2]==='='?1:2,type:'heading'}}},htmlComment:{match:anyScopeRegex(HTML_COMMENT_R),order:PARSE_PRIORITY_HIGH,parse:function a(){return{}},react:renderNothing},image:{match:simpleInlineRegex(IMAGE_R),order:PARSE_PRIORITY_HIGH,parse:function b(a){return{alt:a[1],target:unescapeUrl(a[2]),title:a[3]}},react:function e(a,b,c){return d('img',{key:c.key,alt:a.alt||void 0,title:a.title||void 0,src:sanitizeUrl(a.target)})}},link:{match:inlineRegex(LINK_R,!1),order:PARSE_PRIORITY_LOW,parse:function d(a,b,c){return{content:parseSimpleInline(b,a[1],c),target:unescapeUrl(a[2]),title:a[3]}},react:function e(a,b,c){return d('a',{key:c.key,href:sanitizeUrl(a.target),title:a.title},b(a.content,c))}},linkAngleBraceStyleDetector:{match:inlineRegex(LINK_AUTOLINK_R),order:PARSE_PRIORITY_MAX,parse:function b(a){return{content:[{content:a[1],type:'text'}],target:a[1],type:'link'}}},linkBareUrlDetector:{match:inlineRegex(LINK_AUTOLINK_BARE_URL_R),order:PARSE_PRIORITY_MAX,parse:function b(a){return{content:[{content:a[1],type:'text'}],target:a[1],title:void 0,type:'link'}}},linkMailtoDetector:{match:inlineRegex(LINK_AUTOLINK_MAILTO_R),order:PARSE_PRIORITY_MAX,parse:function d(a){var b=a[1],c=a[1];return AUTOLINK_MAILTO_CHECK_R.test(c)||(c='mailto:'+c),{content:[{content:b.replace('mailto:',''),type:'text'}],target:c,type:'link'}}},list:{match:function f(a,b,c){var d=LIST_LOOKBEHIND_R.exec(c),e=b._list||!b.inline;return d&&e?(a=d[1]+a,LIST_R.exec(a)):null},order:PARSE_PRIORITY_HIGH,parse:function j(a,b,c){var d=a[2],e=d.length>1,f=e?+d:void 0,g=a[0].replace(BLOCK_END_R,'\\n').match(LIST_ITEM_R),h=!1,i=g.map(function(a,d){var e=LIST_ITEM_PREFIX_R.exec(a)[0].length,f=new RegExp('^ {1,'+e+'}','gm'),i=a.replace(f,'').replace(LIST_ITEM_PREFIX_R,''),j=d===g.length-1,k=i.indexOf('\\n\\n')!==-1,l=k||j&&h;h=l;var m=c.inline,n=c._list;c._list=!0;var o;l?(c.inline=!1,o=i.replace(LIST_ITEM_END_R,'\\n\\n')):(c.inline=!0,o=i.replace(LIST_ITEM_END_R,''));var p=b(o,c);return c.inline=m,c._list=n,p});return{items:i,ordered:e,start:f}},react:function f(a,b,c){var e=a.ordered?'ol':'ul';return d(e,{key:c.key,start:a.start},a.items.map(function(a,e){return d('li',{key:e},b(a,c))}))}},newlineCoalescer:{match:blockRegex(CONSECUTIVE_NEWLINE_R),order:PARSE_PRIORITY_LOW,parse:captureNothing,react:function a(){return'\\n'}},paragraph:{match:blockRegex(PARAGRAPH_R),order:PARSE_PRIORITY_LOW,parse:parseCaptureInline,react:function e(a,b,c){return d('p',{key:c.key},b(a.content,c))}},ref:{match:inlineRegex(REFERENCE_IMAGE_OR_LINK),order:PARSE_PRIORITY_MAX,parse:function b(a){return h[a[1]]={target:a[2],title:a[4]},{}},react:renderNothing},refImage:{match:simpleInlineRegex(REFERENCE_IMAGE_R),order:PARSE_PRIORITY_MAX,parse:function b(a){return{alt:a[1]||void 0,ref:a[2]}},react:function e(a,b,c){return d('img',{key:c.key,alt:a.alt,src:sanitizeUrl(h[a.ref].target),title:h[a.ref].title})}},refLink:{match:inlineRegex(REFERENCE_LINK_R),order:PARSE_PRIORITY_MAX,parse:function d(a,b,c){return{content:b(a[1],c),fallbackContent:b(a[0].replace(SQUARE_BRACKETS_R,'\\\\$1'),c),ref:a[2]}},react:function e(a,b,c){return h[a.ref]?d('a',{key:c.key,href:sanitizeUrl(h[a.ref].target),title:h[a.ref].title},b(a.content,c)):d('span',{key:c.key},b(a.fallbackContent,c))}},table:{match:blockRegex(NP_TABLE_R),order:PARSE_PRIORITY_HIGH,parse:parseTable,react:function f(a,b,e){return d('table',{key:e.key},d('thead',null,d('tr',null,a.header.map(function(c,f){return d('th',{key:f,style:getTableStyle(a,f)},b(c,e))}))),d('tbody',null,a.cells.map(function(c,f){return d('tr',{key:f},c.map(function(f,g){return d('td',{key:g,style:getTableStyle(a,g)},b(f,e))}))})))}},tableSeparator:{match:function c(a,b){return b.inTable?TABLE_SEPARATOR_R.exec(a):null},order:PARSE_PRIORITY_HIGH,parse:function a(){return{type:'tableSeparator'}},react:function a(){return' | '}},text:{match:anyScopeRegex(TEXT_PLAIN_R),order:PARSE_PRIORITY_MIN,parse:function c(a){return{content:a[0].replace(HTML_CHAR_CODE_R,function(a,c){return b.namedCodesToUnicode[c]?b.namedCodesToUnicode[c]:a})}},react:function b(a){return a.content}},textBolded:{match:simpleInlineRegex(TEXT_BOLD_R),order:PARSE_PRIORITY_MED,parse:function d(a,b,c){return{content:b(a[2],c)}},react:function e(a,b,c){return d('strong',{key:c.key},b(a.content,c))}},textEmphasized:{match:simpleInlineRegex(TEXT_EMPHASIZED_R),order:PARSE_PRIORITY_LOW,parse:function d(a,b,c){return{content:b(a[2],c)}},react:function e(a,b,c){return d('em',{key:c.key},b(a.content,c))}},textEscaped:{match:simpleInlineRegex(TEXT_ESCAPED_R),order:PARSE_PRIORITY_HIGH,parse:function b(a){return{content:a[1],type:'text'}}},textStrikethroughed:{match:simpleInlineRegex(TEXT_STRIKETHROUGHED_R),order:PARSE_PRIORITY_LOW,parse:parseCaptureInline,react:function e(a,b,c){return d('del',{key:c.key},b(a.content,c))}}};b.disableParsingRawHTML!==!0&&(i.htmlBlock={match:anyScopeRegex(HTML_BLOCK_ELEMENT_R),order:PARSE_PRIORITY_HIGH,parse:function l(a,b,c){var d=a[3].match(HTML_LEFT_TRIM_AMOUNT_R),f=d[1],g=new RegExp('^'+f,'gm'),h=a[3].replace(g,''),i=containsBlockSyntax(h)?parseBlock:parseInline,j=a[1].toLowerCase(),k=DO_NOT_PROCESS_HTML_ELEMENTS.indexOf(j)!==-1;return{attrs:e(a[2]),content:k?a[3]:i(b,h,c),noInnerParse:k,tag:k?j:a[1]}},react:function e(a,b,c){return d(a.tag,_extends({key:c.key},a.attrs),a.noInnerParse?a.content:b(a.content,c))}},i.htmlSelfClosing={match:anyScopeRegex(HTML_SELF_CLOSING_ELEMENT_R),order:PARSE_PRIORITY_HIGH,parse:function b(a){return{attrs:e(a[2]||''),tag:a[1]}},react:function e(a,b,c){return d(a.tag,_extends({},a.attrs,{key:c.key}))}});var j=parserFor(i),k=reactFor(ruleOutput(i)),l=c(function(a){return a.replace(/)/g,'')}(a));return g.length&&l.props.children.push(d('footer',{key:'footer'},g.map(function(a){return d('div',{id:b.slugify(a.identifier),key:a.identifier},a.identifier,k(j(a.footnote,{inline:!0})))}))),l}export default function Markdown(a){var b=a.children,c=a.options,d=_objectWithoutProperties(a,['children','options']);return React.cloneElement(compiler(b,c),d)}if(process.env.NODE_ENV!=='production'){var PropTypes=require('prop-types');Markdown.propTypes={children:PropTypes.string.isRequired,options:PropTypes.object}}\n\n//# sourceMappingURL=esm.js.map","if (process.env.NODE_ENV !== 'production') {\n var hot = require('./index').hot;\n if (module.hot) {\n var cache = require.cache;\n\n if (!module.parents || module.parents.length === 0) {\n throw new Error(\n 'React-Hot-Loader: `react-hot-loader/root` is not supported on your system. ' +\n 'Please use `import {hot} from \"react-hot-loader\"` instead'\n );\n }\n // access parent\n var parent = cache[module.parents[0]];\n if (!parent) {\n throw new Error(\n 'React-Hot-Loader: `react-hot-loader/root` is not supported on your system. ' +\n 'Please use `import {hot} from \"react-hot-loader\"` instead'\n );\n }\n\n // remove self from a cache\n delete cache[module.id];\n\n // setup hot for caller\n exports.hot = hot(parent);\n } else {\n fallbackHot();\n }\n} else {\n // prod mode\n fallbackHot();\n}\n\nfunction fallbackHot() {\n exports.hot = function (a) {\n return a;\n };\n}\n","var reg = /[\\'\\\"]/\n\nmodule.exports = function unquote(str) {\n if (!str) {\n return ''\n }\n if (reg.test(str.charAt(0))) {\n str = str.substr(1)\n }\n if (reg.test(str.charAt(str.length - 1))) {\n str = str.substr(0, str.length - 1)\n }\n return str\n}\n"],"names":["Strong","createWidget","styles","children","className","weight","cn","createContext","undefined","Consumer","Provider","positionBody","initialState","overlays","queue","removeFromOverlay","renderOnOverlay","BaseLayer","state","id","setState","filter","i","node","refArrived","element","body","document","scrollTop","render","this","props","Helmet","dataTestId","isOpened","length","firstOverlay","value","blocked","blockedBody","ref","overlay","PureComponent","Component","getParentZoom","target","zoom","window","getComputedStyle","isZoomDefaultOrMissing","hasParent","parentNode","isBody","tagName","parentElement","parseFloat","calcOffset","container","result","containerOffset","offset","getBoundingClientRect","top","Document","scrollY","pageYOffset","position","offsetTop","getOffsetComponents","windowScroller","scrollTo","getElementByHash","hash","querySelector","scrollToHash","name","options","getElement","calculateOffset","scrollHandler","location","href","scrollBase","onlyHashReg","handleClick","onClick","event","preventDefault","anchorLabel","slice","Scroller","link","Children","match","newProps","React","foo","Link","border","collectorData","kind","linkRef","noUnderline","onMouseEnter","pseudo","rel","title","scrollOffset","tabIndex","theme","urlEqHref","rest","isPageUrlEqHref","url","borderStyle","useCallback","globalProps","commonProps","linkContent","QueryParamsContext","SsrPromiseContext","dependencies","Widget","hoist","createWrapper","RULES","getDisplayName","TargetWidget","displayName","styler","injectedClassName","classNames","isEmpty","rule","fallback","push","join","generateStyle","Wrapper","Object","assign","hoistStatics","withErrorBoundary","FallbackCmp","hasErrors","logComponentError","component","error","errorInfo","Sentry","withScope","scope","entries","forEach","key","setExtra","setTag","captureException","componentDidCatch","console","WithErrorBoundary","fallbackProps","showFallback","defaultProps","hasOwn","hasOwnProperty","classes","arguments","arg","argType","Array","isArray","inner","apply","toString","prototype","call","module","exports","default","factory","OldCookies","Cookies","api","noConflict","extend","attributes","decode","s","replace","decodeURIComponent","init","converter","set","path","defaults","expires","Date","toUTCString","JSON","stringify","test","e","write","encodeURIComponent","String","escape","stringifiedAttributes","attributeName","split","cookie","get","json","jar","cookies","parts","charAt","read","parse","getJSON","remove","withConverter","_extends","a","b","c","d","_typeof","Symbol","iterator","constructor","ATTRIBUTE_TO_JSX_PROP_MAP","accesskey","allowfullscreen","allowtransparency","autocomplete","autofocus","autoplay","cellpadding","cellspacing","charset","class","classid","colspan","contenteditable","contextmenu","crossorigin","enctype","for","formaction","formenctype","formmethod","formnovalidate","formtarget","frameborder","hreflang","inputmode","keyparams","keytype","marginheight","marginwidth","maxlength","mediagroup","minlength","novalidate","radiogroup","readonly","rowspan","spellcheck","srcdoc","srclang","srcset","tabindex","usemap","namedCodesToUnicode","amp","apos","gt","lt","nbsp","quot","DO_NOT_PROCESS_HTML_ELEMENTS","ATTR_EXTRACTOR_R","AUTOLINK_MAILTO_CHECK_R","BLOCK_END_R","BLOCKQUOTE_R","BLOCKQUOTE_TRIM_LEFT_MULTILINE_R","BREAK_LINE_R","BREAK_THEMATIC_R","CODE_BLOCK_FENCED_R","CODE_BLOCK_R","CODE_INLINE_R","CONSECUTIVE_NEWLINE_R","CR_NEWLINE_R","FOOTNOTE_R","FOOTNOTE_REFERENCE_R","FORMFEED_R","GFM_TASK_R","HEADING_R","HEADING_SETEXT_R","HTML_BLOCK_ELEMENT_R","HTML_CHAR_CODE_R","HTML_COMMENT_R","HTML_CUSTOM_ATTR_R","HTML_SELF_CLOSING_ELEMENT_R","INTERPOLATION_R","LINK_AUTOLINK_BARE_URL_R","LINK_AUTOLINK_MAILTO_R","LINK_AUTOLINK_R","LIST_ITEM_END_R","LIST_LOOKBEHIND_R","CAPTURE_LETTER_AFTER_HYPHEN","NP_TABLE_R","PARAGRAPH_R","REFERENCE_IMAGE_OR_LINK","REFERENCE_IMAGE_R","REFERENCE_LINK_R","SQUARE_BRACKETS_R","SHOULD_RENDER_AS_BLOCK_R","TAB_R","TABLE_SEPARATOR_R","TABLE_TRIM_PIPES","TABLE_CELL_END_TRIM","TABLE_CENTER_ALIGN","TABLE_LEFT_ALIGN","TABLE_RIGHT_ALIGN","TEXT_BOLD_R","TEXT_EMPHASIZED_R","TEXT_STRIKETHROUGHED_R","TEXT_ESCAPED_R","TEXT_PLAIN_R","TRIM_NEWLINES_AND_TRAILING_WHITESPACE_R","HTML_LEFT_TRIM_AMOUNT_R","UNESCAPE_URL_R","LIST_ITEM_PREFIX_R","LIST_ITEM_R","LIST_R","LINK_R","IMAGE_R","BLOCK_SYNTAXES","slugify","toLowerCase","parseTableAlignCapture","parseTableRow","inTable","trim","f","type","content","parseTable","inline","map","parseTableAlign","parseTableCells","align","cells","header","getTableStyle","textAlign","parserFor","g","l","h","j","k","substring","m","keys","sort","order","normalizeWhitespace","inlineRegex","exec","simpleInlineRegex","simple","blockRegex","anyScopeRegex","sanitizeUrl","unescapeUrl","parseInline","parseSimpleInline","parseBlock","parseCaptureInline","captureNothing","renderNothing","cx","Boolean","shift","getTag","compiler","overrides","concat","forceInline","forceBlock","reduce","indexOf","toUpperCase","normalizeAttributeKey","attributeValueToJSXPropValue","createElement","blockQuote","react","breakLine","breakThematic","codeBlock","lang","codeFenced","codeInline","footnote","identifier","footnoteReference","gfmTask","completed","checked","readOnly","heading","level","headingSetext","htmlComment","image","alt","src","linkAngleBraceStyleDetector","linkBareUrlDetector","linkMailtoDetector","list","_list","RegExp","o","n","p","items","ordered","start","newlineCoalescer","paragraph","refImage","refLink","fallbackContent","table","style","tableSeparator","text","textBolded","textEmphasized","textEscaped","textStrikethroughed","disableParsingRawHTML","htmlBlock","some","containsBlockSyntax","attrs","noInnerParse","tag","htmlSelfClosing","reactFor","ruleOutput","reg","str","substr"],"sourceRoot":""}